4 noinst_PROGRAMS = testmemprof
5 pkgdata_DATA = memprof.glade leak.xpm leak.png memprof.png
7 pkglib_LTLIBRARIES = libmemintercept.la libspeedintercept.la
35 memprof_LDADD = $(MEMPROF_LIBS)
36 memprof_LDFLAGS = -export-dynamic
41 memintercept-utils.c \
42 memintercept-utils.h \
47 libmemintercept_la_SOURCES = \
48 $(intercept_sources) \
52 libmemintercept_la_LDFLAGS = -module -avoid-version
53 libmemintercept_la_LIBADD = -ldl
55 libspeedintercept_la_SOURCES = \
56 $(intercept_sources) \
62 libspeedintercept_la_LDFLAGS = -module -avoid-version
63 libspeedintercept_la_LIBADD = -ldl
67 -DDATADIR=\"$(pkgdatadir)\" \
68 -DPKGLIBDIR=\"$(pkglibdir)\" \
69 -DLOCALEDIR=\""$(datadir)/locale"\"
83 Developmentdir = $(datadir)/applications
84 Development_DATA = memprof.desktop
86 pixmapsdir = $(datadir)/pixmaps
87 pixmaps_DATA = memprof.png
95 cd $(DESTDIR)$(bindir) && ln -sf memprof speedprof
100 FILES="$(memprof_SOURCES) $(libmemintercept_la_SOURCES)"; \
101 for i in $$FILES ; do \
103 cat copyright-header > $$i; \
104 if grep "/\*====\*/" $$i.bak ; then \
105 perl -ne 'print if m!/\*====\*/!..0' $$i.bak >> $$i; \
107 echo "/*====*/" >> $$ i; \
108 cat $$i.bak >> $$i; \
112 dist-hook: memprof.spec
113 if grep '^- Version @VERSION@' $(srcdir)/memprof.spec.in ; then : ; else \
115 'print; if (/^%changelog/) { chomp ($$date = `date +"%a %b %d %Y"`); print "* $$date Owen Taylor <otaylor\@redhat.com>\n- Version @VERSION@\n\n"; }' \
116 $(srcdir)/memprof.spec.in ; \
117 ( CONFIG_FILES=memprof.spec CONFIG_HEADERS= $(SHELL) ./config.status ) ; \
118 cp -p $(srcdir)/memprof.spec.in $(distdir) ; \
120 cp memprof.spec $(distdir)