Helgrind: add suppression for libnss from getaddrinfo
[valgrind.git] / callgrind / Makefile.am
blob7cecb44b3e788a8dc34b39676470fca25dc66f07
1 include $(top_srcdir)/Makefile.tool.am
3 EXTRA_DIST =  \
4         docs/callgrind_annotate-manpage.xml \
5         docs/callgrind_control-manpage.xml \
6         docs/cl-manual.xml \
7         docs/cl-format.xml
9 #----------------------------------------------------------------------------
10 # Headers, etc
11 #----------------------------------------------------------------------------
13 pkginclude_HEADERS = callgrind.h
15 bin_SCRIPTS = \
16         callgrind_annotate \
17         callgrind_control
19 noinst_HEADERS = \
20         costs.h \
21         events.h \
22         global.h
24 #----------------------------------------------------------------------------
25 # callgrind-<platform>
26 #----------------------------------------------------------------------------
28 noinst_PROGRAMS  = callgrind-@VGCONF_ARCH_PRI@-@VGCONF_OS@
29 if VGCONF_HAVE_PLATFORM_SEC
30 noinst_PROGRAMS += callgrind-@VGCONF_ARCH_SEC@-@VGCONF_OS@
31 endif
33 CALLGRIND_SOURCES_COMMON = \
34         bb.c \
35         bbcc.c \
36         callstack.c \
37         clo.c \
38         context.c \
39         costs.c \
40         debug.c \
41         dump.c \
42         events.c \
43         fn.c \
44         jumps.c \
45         main.c \
46         sim.c \
47         threads.c
49 # We sneakily include "cg_branchpred.c" and "cg_arch.c" from cachegrind
50 CALLGRIND_CFLAGS_COMMON = -I$(top_srcdir)/cachegrind
52 callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES      = \
53         $(CALLGRIND_SOURCES_COMMON)
54 callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS     = \
55         $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
56 callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS       = $(LTO_CFLAGS) \
57         $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) $(CALLGRIND_CFLAGS_COMMON)
58 callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES = \
59         $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@)
60 callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD        = \
61         $(TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@)
62 callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS      = \
63         $(TOOL_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
64 callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LINK = \
65         $(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \
66         @VALT_LOAD_ADDRESS_PRI@ \
67         $(LINK) \
68         $(callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) \
69         $(callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS)
71 if VGCONF_HAVE_PLATFORM_SEC
72 callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES      = \
73         $(CALLGRIND_SOURCES_COMMON)
74 callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS     = \
75         $(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
76 callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS       = $(LTO_CFLAGS) \
77         $(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) $(CALLGRIND_CFLAGS_COMMON)
78 callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES = \
79         $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@)
80 callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD        = \
81         $(TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@)
82 callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS      = \
83         $(TOOL_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
84 callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LINK = \
85         $(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \
86         @VALT_LOAD_ADDRESS_SEC@ \
87         $(LINK) \
88         $(callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) \
89         $(callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS)
90 endif