1 include $(top_srcdir)/Makefile.tool.am
5 docs/ms_print-manpage.xml
7 #----------------------------------------------------------------------------
9 #----------------------------------------------------------------------------
11 bin_SCRIPTS = ms_print
13 #----------------------------------------------------------------------------
15 #----------------------------------------------------------------------------
17 noinst_PROGRAMS = massif-@VGCONF_ARCH_PRI@-@VGCONF_OS@
18 if VGCONF_HAVE_PLATFORM_SEC
19 noinst_PROGRAMS += massif-@VGCONF_ARCH_SEC@-@VGCONF_OS@
22 MASSIF_SOURCES_COMMON = ms_main.c
24 massif_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = \
25 $(MASSIF_SOURCES_COMMON)
26 massif_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS = \
27 $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
28 massif_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = \
29 $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
30 massif_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES = \
31 $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@)
32 massif_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD = \
33 $(TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@)
34 massif_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS = \
35 $(TOOL_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
36 massif_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LINK = \
37 $(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \
38 @VALT_LOAD_ADDRESS_PRI@ \
40 $(massif_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) \
41 $(massif_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS)
43 if VGCONF_HAVE_PLATFORM_SEC
44 massif_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES = \
45 $(MASSIF_SOURCES_COMMON)
46 massif_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS = \
47 $(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
48 massif_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS = \
49 $(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
50 massif_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES = \
51 $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@)
52 massif_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD = \
53 $(TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@)
54 massif_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS = \
55 $(TOOL_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
56 massif_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LINK = \
57 $(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \
58 @VALT_LOAD_ADDRESS_SEC@ \
60 $(massif_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) \
61 $(massif_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS)
64 #----------------------------------------------------------------------------
65 # vgpreload_massif-<platform>.so
66 #----------------------------------------------------------------------------
68 noinst_PROGRAMS += vgpreload_massif-@VGCONF_ARCH_PRI@-@VGCONF_OS@.so
69 if VGCONF_HAVE_PLATFORM_SEC
70 noinst_PROGRAMS += vgpreload_massif-@VGCONF_ARCH_SEC@-@VGCONF_OS@.so
73 if VGCONF_OS_IS_DARWIN
74 noinst_DSYMS = $(noinst_PROGRAMS)
77 vgpreload_massif_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_SOURCES =
78 vgpreload_massif_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CPPFLAGS = \
79 $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
80 vgpreload_massif_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CFLAGS = \
81 $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) $(AM_CFLAGS_PIC)
82 vgpreload_massif_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_DEPENDENCIES = \
83 $(LIBREPLACEMALLOC_@VGCONF_PLATFORM_PRI_CAPS@)
84 vgpreload_massif_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_LDFLAGS = \
85 $(PRELOAD_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) \
86 $(LIBREPLACEMALLOC_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
88 if VGCONF_HAVE_PLATFORM_SEC
89 vgpreload_massif_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_SOURCES =
90 vgpreload_massif_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_CPPFLAGS = \
91 $(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
92 vgpreload_massif_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_CFLAGS = \
93 $(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) $(AM_CFLAGS_PIC)
94 vgpreload_massif_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_DEPENDENCIES = \
95 $(LIBREPLACEMALLOC_@VGCONF_PLATFORM_SEC_CAPS@)
96 vgpreload_massif_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_LDFLAGS = \
97 $(PRELOAD_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) \
98 $(LIBREPLACEMALLOC_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)