weidendo | a17f2a3 | 2006-03-20 10:27:30 +0000 | [diff] [blame] | 1 | include $(top_srcdir)/Makefile.tool.am |
| 2 | |
njn | 7375de3 | 2009-08-05 08:08:18 +0000 | [diff] [blame] | 3 | EXTRA_DIST = \ |
njn | efd7ef7 | 2009-08-07 07:44:31 +0000 | [diff] [blame] | 4 | docs/callgrind_annotate-manpage.xml \ |
| 5 | docs/callgrind_control-manpage.xml \ |
njn | 7375de3 | 2009-08-05 08:08:18 +0000 | [diff] [blame] | 6 | docs/cl-manual.xml \ |
njn | efd7ef7 | 2009-08-07 07:44:31 +0000 | [diff] [blame] | 7 | docs/cl-format.xml |
njn | 7375de3 | 2009-08-05 08:08:18 +0000 | [diff] [blame] | 8 | |
njn | 8b68b64 | 2009-06-24 00:37:09 +0000 | [diff] [blame] | 9 | #---------------------------------------------------------------------------- |
| 10 | # Headers, etc |
| 11 | #---------------------------------------------------------------------------- |
weidendo | a17f2a3 | 2006-03-20 10:27:30 +0000 | [diff] [blame] | 12 | |
njn | 8b68b64 | 2009-06-24 00:37:09 +0000 | [diff] [blame] | 13 | pkginclude_HEADERS = callgrind.h |
weidendo | a17f2a3 | 2006-03-20 10:27:30 +0000 | [diff] [blame] | 14 | |
njn | 8b68b64 | 2009-06-24 00:37:09 +0000 | [diff] [blame] | 15 | bin_SCRIPTS = \ |
| 16 | callgrind_annotate \ |
| 17 | callgrind_control |
| 18 | |
| 19 | noinst_HEADERS = \ |
| 20 | costs.h \ |
| 21 | events.h \ |
| 22 | global.h |
| 23 | |
| 24 | #---------------------------------------------------------------------------- |
| 25 | # callgrind-<platform> |
| 26 | #---------------------------------------------------------------------------- |
| 27 | |
| 28 | noinst_PROGRAMS = callgrind-@VGCONF_ARCH_PRI@-@VGCONF_OS@ |
| 29 | if VGCONF_HAVE_PLATFORM_SEC |
| 30 | noinst_PROGRAMS += callgrind-@VGCONF_ARCH_SEC@-@VGCONF_OS@ |
njn | f76d27a | 2009-05-28 01:53:07 +0000 | [diff] [blame] | 31 | endif |
weidendo | a17f2a3 | 2006-03-20 10:27:30 +0000 | [diff] [blame] | 32 | |
njn | 8b68b64 | 2009-06-24 00:37:09 +0000 | [diff] [blame] | 33 | CALLGRIND_SOURCES_COMMON = \ |
| 34 | bb.c \ |
| 35 | bbcc.c \ |
| 36 | callstack.c \ |
| 37 | clo.c \ |
| 38 | command.c \ |
| 39 | context.c \ |
| 40 | costs.c \ |
| 41 | debug.c \ |
| 42 | dump.c \ |
| 43 | events.c \ |
| 44 | fn.c \ |
| 45 | jumps.c \ |
| 46 | main.c \ |
| 47 | sim.c \ |
| 48 | threads.c \ |
| 49 | ../cachegrind/cg-x86-amd64.c \ |
| 50 | ../cachegrind/cg-ppc32.c \ |
| 51 | ../cachegrind/cg-ppc64.c |
| 52 | |
weidendo | e572755 | 2007-06-02 21:36:26 +0000 | [diff] [blame] | 53 | CALLGRIND_CFLAGS_COMMON = -I$(top_srcdir)/cachegrind |
weidendo | a17f2a3 | 2006-03-20 10:27:30 +0000 | [diff] [blame] | 54 | |
njn | 8b68b64 | 2009-06-24 00:37:09 +0000 | [diff] [blame] | 55 | callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = \ |
| 56 | $(CALLGRIND_SOURCES_COMMON) |
| 57 | callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS = \ |
| 58 | $(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
| 59 | callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = \ |
| 60 | $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) $(CALLGRIND_CFLAGS_COMMON) |
| 61 | callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES = \ |
| 62 | $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@) |
| 63 | callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD = \ |
| 64 | $(TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@) |
| 65 | callgrind_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS = \ |
| 66 | $(TOOL_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) |
| 67 | if VGCONF_HAVE_PLATFORM_SEC |
| 68 | callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES = \ |
| 69 | $(CALLGRIND_SOURCES_COMMON) |
| 70 | callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS = \ |
| 71 | $(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) |
| 72 | callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS = \ |
| 73 | $(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) $(CALLGRIND_CFLAGS_COMMON) |
| 74 | callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES = \ |
| 75 | $(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@) |
| 76 | callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD = \ |
| 77 | $(TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@) |
| 78 | callgrind_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS = \ |
| 79 | $(TOOL_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) |
| 80 | endif |
sewardj | b34485c | 2006-10-17 21:06:58 +0000 | [diff] [blame] | 81 | |