4 noinst_PROGRAMS = testmemprof
5 pkgdata_DATA = memprof.glade leak.xpm leak.png memprof.png
7 pkglib_LTLIBRARIES = libmemintercept.la libspeedintercept.la
9 testmemprof_SOURCES = \
38 memprof_LDADD = $(MEMPROF_LIBS)
39 memprof_LDFLAGS = -export-dynamic
44 lib/memintercept-utils.c\
45 lib/memintercept-utils.h\
50 libmemintercept_la_SOURCES = \
51 $(intercept_sources) \
55 libmemintercept_la_LDFLAGS = -module -avoid-version
56 libmemintercept_la_LIBADD = -ldl
58 libspeedintercept_la_SOURCES = \
59 $(intercept_sources) \
65 libspeedintercept_la_LDFLAGS = -module -avoid-version
66 libspeedintercept_la_LIBADD = -ldl
71 -DDATADIR=\"$(pkgdatadir)\" \
72 -DPKGLIBDIR=\"$(pkglibdir)\" \
73 -DLOCALEDIR=\""$(datadir)/locale"\"
87 Developmentdir = $(datadir)/applications
88 Development_DATA = memprof.desktop
90 pixmapsdir = $(datadir)/pixmaps
91 pixmaps_DATA = memprof.png
99 cd $(DESTDIR)$(bindir) && ln -sf memprof speedprof
104 FILES="$(memprof_SOURCES) $(libmemintercept_la_SOURCES)"; \
105 for i in $$FILES ; do \
107 cat copyright-header > $$i; \
108 if grep "/\*====\*/" $$i.bak ; then \
109 perl -ne 'print if m!/\*====\*/!..0' $$i.bak >> $$i; \
111 echo "/*====*/" >> $$ i; \
112 cat $$i.bak >> $$i; \
116 dist-hook: memprof.spec
117 if grep '^- Version @VERSION@' $(srcdir)/memprof.spec.in ; then : ; else \
119 'print; if (/^%changelog/) { chomp ($$date = `date +"%a %b %d %Y"`); print "* $$date Owen Taylor <otaylor\@redhat.com>\n- Version @VERSION@\n\n"; }' \
120 $(srcdir)/memprof.spec.in ; \
121 ( CONFIG_FILES=memprof.spec CONFIG_HEADERS= $(SHELL) ./config.status ) ; \
122 cp -p $(srcdir)/memprof.spec.in $(distdir) ; \
124 cp memprof.spec $(distdir)