blob: 94df249e600a796e19a31b30959934dde3908160 [file] [log] [blame]
njn528b07e2005-06-10 04:46:19 +00001include $(top_srcdir)/Makefile.tool.am
nethercoteb030c6c2004-09-11 18:27:43 +00002
njnc206a812009-08-07 07:56:20 +00003EXTRA_DIST = \
4 docs/cg-manual.xml \
5 docs/cg_annotate-manpage.xml
njn7375de32009-08-05 08:08:18 +00006
njn8b68b642009-06-24 00:37:09 +00007#----------------------------------------------------------------------------
8# Headers, etc
9#----------------------------------------------------------------------------
10
njn25cac76cb2002-09-23 11:21:57 +000011bin_SCRIPTS = cg_annotate
sewardjde4a1d02002-03-22 01:27:54 +000012
njn8b68b642009-06-24 00:37:09 +000013noinst_HEADERS = \
14 cg_arch.h \
15 cg_branchpred.c \
16 cg_sim.c
sewardjde4a1d02002-03-22 01:27:54 +000017
njn8b68b642009-06-24 00:37:09 +000018#----------------------------------------------------------------------------
19# cg_merge (built for the primary target only)
20#----------------------------------------------------------------------------
nethercoteb35a8b92004-09-11 16:45:27 +000021
sewardj94dc5082007-02-08 11:31:03 +000022bin_PROGRAMS = cg_merge
njn8b68b642009-06-24 00:37:09 +000023
sewardj94dc5082007-02-08 11:31:03 +000024cg_merge_SOURCES = cg_merge.c
25cg_merge_CPPFLAGS = $(AM_CPPFLAGS_PRI)
26cg_merge_CFLAGS = $(AM_CFLAGS_PRI)
27cg_merge_CCASFLAGS = $(AM_CCASFLAGS_PRI)
28cg_merge_LDFLAGS = $(AM_CFLAGS_PRI)
29
njn8b68b642009-06-24 00:37:09 +000030#----------------------------------------------------------------------------
31# cachegrind-<platform>
32#----------------------------------------------------------------------------
sewardj94dc5082007-02-08 11:31:03 +000033
njn8b68b642009-06-24 00:37:09 +000034noinst_PROGRAMS = cachegrind-@VGCONF_ARCH_PRI@-@VGCONF_OS@
35if VGCONF_HAVE_PLATFORM_SEC
36noinst_PROGRAMS += cachegrind-@VGCONF_ARCH_SEC@-@VGCONF_OS@
37endif
sewardjde4a1d02002-03-22 01:27:54 +000038
njn8b68b642009-06-24 00:37:09 +000039CACHEGRIND_SOURCES_COMMON = \
40 cg_main.c \
41 cg-x86-amd64.c \
42 cg-ppc32.c \
43 cg-ppc64.c
tomfb7bcde2005-11-07 15:24:38 +000044
njn8b68b642009-06-24 00:37:09 +000045cachegrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = \
46 $(CACHEGRIND_SOURCES_COMMON)
47cachegrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS = \
48 $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
49cachegrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = \
50 $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
51cachegrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES = \
52 $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@)
53cachegrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD = \
54 $(TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@)
55cachegrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS = \
56 $(TOOL_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
57if VGCONF_HAVE_PLATFORM_SEC
58cachegrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES = \
59 $(CACHEGRIND_SOURCES_COMMON)
60cachegrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS = \
61 $(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
62cachegrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS = \
63 $(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
64cachegrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES = \
65 $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@)
66cachegrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD = \
67 $(TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@)
68cachegrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS = \
69 $(TOOL_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
70endif
tomfb7bcde2005-11-07 15:24:38 +000071
sewardj2c48c7b2005-11-29 13:05:56 +000072