nethercote | 4388a40 | 2004-09-01 23:20:49 +0000 | [diff] [blame] | 1 | include $(top_srcdir)/Makefile.tool.am |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 2 | |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame] | 3 | noinst_PROGRAMS = |
sewardj | 1eff82b | 2006-10-17 00:56:43 +0000 | [diff] [blame] | 4 | if VGP_X86_LINUX |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame] | 5 | noinst_PROGRAMS += helgrind-x86-linux vgpreload_helgrind-x86-linux.so |
| 6 | endif |
sewardj | 1eff82b | 2006-10-17 00:56:43 +0000 | [diff] [blame] | 7 | if VGP_AMD64_LINUX |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame] | 8 | noinst_PROGRAMS += helgrind-amd64-linux vgpreload_helgrind-amd64-linux.so |
| 9 | endif |
sewardj | 1eff82b | 2006-10-17 00:56:43 +0000 | [diff] [blame] | 10 | if VGP_PPC32_LINUX |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame] | 11 | noinst_PROGRAMS += helgrind-ppc32-linux vgpreload_helgrind-ppc32-linux.so |
| 12 | endif |
sewardj | 1eff82b | 2006-10-17 00:56:43 +0000 | [diff] [blame] | 13 | if VGP_PPC64_LINUX |
sewardj | 2c48c7b | 2005-11-29 13:05:56 +0000 | [diff] [blame] | 14 | noinst_PROGRAMS += helgrind-ppc64-linux vgpreload_helgrind-ppc64-linux.so |
| 15 | endif |
sewardj | 1eff82b | 2006-10-17 00:56:43 +0000 | [diff] [blame] | 16 | if VGP_PPC32_AIX5 |
| 17 | noinst_PROGRAMS += helgrind-ppc32-aix5 vgpreload_helgrind-ppc32-aix5.so |
| 18 | endif |
| 19 | if VGP_PPC64_AIX5 |
| 20 | noinst_PROGRAMS += helgrind-ppc64-aix5 vgpreload_helgrind-ppc64-aix5.so |
| 21 | endif |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 22 | |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame] | 23 | vgpreload_helgrind_x86_linux_so_SOURCES = |
| 24 | vgpreload_helgrind_x86_linux_so_CPPFLAGS = $(AM_CPPFLAGS_X86_LINUX) |
| 25 | vgpreload_helgrind_x86_linux_so_CFLAGS = $(AM_CFLAGS_X86_LINUX) $(AM_CFLAGS_PIC) |
| 26 | vgpreload_helgrind_x86_linux_so_DEPENDENCIES = $(LIBREPLACEMALLOC_X86_LINUX) |
| 27 | vgpreload_helgrind_x86_linux_so_LDFLAGS = \ |
| 28 | $(PRELOAD_LDFLAGS_X86_LINUX) \ |
| 29 | $(LIBREPLACEMALLOC_LDFLAGS_X86_LINUX) |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 30 | |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame] | 31 | vgpreload_helgrind_amd64_linux_so_SOURCES = |
| 32 | vgpreload_helgrind_amd64_linux_so_CPPFLAGS = $(AM_CPPFLAGS_AMD64_LINUX) |
| 33 | vgpreload_helgrind_amd64_linux_so_CFLAGS = $(AM_CFLAGS_AMD64_LINUX) $(AM_CFLAGS_PIC) |
| 34 | vgpreload_helgrind_amd64_linux_so_DEPENDENCIES = $(LIBREPLACEMALLOC_AMD64_LINUX) |
| 35 | vgpreload_helgrind_amd64_linux_so_LDFLAGS = \ |
| 36 | $(PRELOAD_LDFLAGS_AMD64_LINUX) \ |
| 37 | $(LIBREPLACEMALLOC_LDFLAGS_AMD64_LINUX) |
| 38 | |
| 39 | vgpreload_helgrind_ppc32_linux_so_SOURCES = |
| 40 | vgpreload_helgrind_ppc32_linux_so_CPPFLAGS = $(AM_CPPFLAGS_PPC32_LINUX) |
| 41 | vgpreload_helgrind_ppc32_linux_so_CFLAGS = $(AM_CFLAGS_PPC32_LINUX) $(AM_CFLAGS_PIC) |
| 42 | vgpreload_helgrind_ppc32_linux_so_DEPENDENCIES = $(LIBREPLACEMALLOC_PPC32_LINUX) |
| 43 | vgpreload_helgrind_ppc32_linux_so_LDFLAGS = \ |
| 44 | $(PRELOAD_LDFLAGS_PPC32_LINUX) \ |
| 45 | $(LIBREPLACEMALLOC_LDFLAGS_PPC32_LINUX) |
| 46 | |
sewardj | 2c48c7b | 2005-11-29 13:05:56 +0000 | [diff] [blame] | 47 | vgpreload_helgrind_ppc64_linux_so_SOURCES = |
| 48 | vgpreload_helgrind_ppc64_linux_so_CPPFLAGS = $(AM_CPPFLAGS_PPC64_LINUX) |
| 49 | vgpreload_helgrind_ppc64_linux_so_CFLAGS = $(AM_CFLAGS_PPC64_LINUX) $(AM_CFLAGS_PIC) |
| 50 | vgpreload_helgrind_ppc64_linux_so_DEPENDENCIES = $(LIBREPLACEMALLOC_PPC64_LINUX) |
| 51 | vgpreload_helgrind_ppc64_linux_so_LDFLAGS = \ |
| 52 | $(PRELOAD_LDFLAGS_PPC64_LINUX) \ |
| 53 | $(LIBREPLACEMALLOC_LDFLAGS_PPC64_LINUX) |
| 54 | |
sewardj | 1eff82b | 2006-10-17 00:56:43 +0000 | [diff] [blame] | 55 | vgpreload_helgrind_ppc32_aix5_so_SOURCES = |
| 56 | vgpreload_helgrind_ppc32_aix5_so_CPPFLAGS = $(AM_CPPFLAGS_PPC32_AIX5) |
| 57 | vgpreload_helgrind_ppc32_aix5_so_CFLAGS = $(AM_CFLAGS_PPC32_AIX5) $(AM_CFLAGS_PIC) |
| 58 | vgpreload_helgrind_ppc32_aix5_so_DEPENDENCIES = $(LIBREPLACEMALLOC_PPC32_AIX5) |
| 59 | vgpreload_helgrind_ppc32_aix5_so_LDFLAGS = \ |
| 60 | $(PRELOAD_LDFLAGS_PPC32_AIX5) \ |
| 61 | $(LIBREPLACEMALLOC_LDFLAGS_PPC32_AIX5) |
| 62 | |
| 63 | vgpreload_helgrind_ppc64_aix5_so_SOURCES = |
| 64 | vgpreload_helgrind_ppc64_aix5_so_CPPFLAGS = $(AM_CPPFLAGS_PPC64_AIX5) |
| 65 | vgpreload_helgrind_ppc64_aix5_so_CFLAGS = $(AM_CFLAGS_PPC64_AIX5) $(AM_CFLAGS_PIC) |
| 66 | vgpreload_helgrind_ppc64_aix5_so_DEPENDENCIES = $(LIBREPLACEMALLOC_PPC64_AIX5) |
| 67 | vgpreload_helgrind_ppc64_aix5_so_LDFLAGS = \ |
| 68 | $(PRELOAD_LDFLAGS_PPC64_AIX5) \ |
| 69 | $(LIBREPLACEMALLOC_LDFLAGS_PPC64_AIX5) |
| 70 | |
tom | fb7bcde | 2005-11-07 15:24:38 +0000 | [diff] [blame] | 71 | HELGRIND_SOURCES_COMMON = hg_main.c |
| 72 | |
| 73 | helgrind_x86_linux_SOURCES = $(HELGRIND_SOURCES_COMMON) |
| 74 | helgrind_x86_linux_CPPFLAGS = $(AM_CPPFLAGS_X86_LINUX) |
| 75 | helgrind_x86_linux_CFLAGS = $(AM_CFLAGS_X86_LINUX) |
| 76 | helgrind_x86_linux_DEPENDENCIES = $(COREGRIND_LIBS_X86_LINUX) |
| 77 | helgrind_x86_linux_LDADD = $(TOOL_LDADD_X86_LINUX) |
| 78 | helgrind_x86_linux_LDFLAGS = $(TOOL_LDFLAGS_X86_LINUX) |
| 79 | |
| 80 | helgrind_amd64_linux_SOURCES = $(HELGRIND_SOURCES_COMMON) |
| 81 | helgrind_amd64_linux_CPPFLAGS = $(AM_CPPFLAGS_AMD64_LINUX) |
| 82 | helgrind_amd64_linux_CFLAGS = $(AM_CFLAGS_AMD64_LINUX) |
| 83 | helgrind_amd64_linux_DEPENDENCIES = $(COREGRIND_LIBS_AMD64_LINUX) |
| 84 | helgrind_amd64_linux_LDADD = $(TOOL_LDADD_AMD64_LINUX) |
| 85 | helgrind_amd64_linux_LDFLAGS = $(TOOL_LDFLAGS_AMD64_LINUX) |
| 86 | |
| 87 | helgrind_ppc32_linux_SOURCES = $(HELGRIND_SOURCES_COMMON) |
| 88 | helgrind_ppc32_linux_CPPFLAGS = $(AM_CPPFLAGS_PPC32_LINUX) |
| 89 | helgrind_ppc32_linux_CFLAGS = $(AM_CFLAGS_PPC32_LINUX) |
| 90 | helgrind_ppc32_linux_DEPENDENCIES = $(COREGRIND_LIBS_PPC32_LINUX) |
| 91 | helgrind_ppc32_linux_LDADD = $(TOOL_LDADD_PPC32_LINUX) |
| 92 | helgrind_ppc32_linux_LDFLAGS = $(TOOL_LDFLAGS_PPC32_LINUX) |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame] | 93 | |
sewardj | 2c48c7b | 2005-11-29 13:05:56 +0000 | [diff] [blame] | 94 | helgrind_ppc64_linux_SOURCES = $(HELGRIND_SOURCES_COMMON) |
| 95 | helgrind_ppc64_linux_CPPFLAGS = $(AM_CPPFLAGS_PPC64_LINUX) |
| 96 | helgrind_ppc64_linux_CFLAGS = $(AM_CFLAGS_PPC64_LINUX) |
| 97 | helgrind_ppc64_linux_DEPENDENCIES = $(COREGRIND_LIBS_PPC64_LINUX) |
| 98 | helgrind_ppc64_linux_LDADD = $(TOOL_LDADD_PPC64_LINUX) |
| 99 | helgrind_ppc64_linux_LDFLAGS = $(TOOL_LDFLAGS_PPC64_LINUX) |
| 100 | |
sewardj | 1eff82b | 2006-10-17 00:56:43 +0000 | [diff] [blame] | 101 | helgrind_ppc32_aix5_SOURCES = $(HELGRIND_SOURCES_COMMON) |
| 102 | helgrind_ppc32_aix5_CPPFLAGS = $(AM_CPPFLAGS_PPC32_AIX5) |
| 103 | helgrind_ppc32_aix5_CFLAGS = $(AM_CFLAGS_PPC32_AIX5) |
| 104 | helgrind_ppc32_aix5_DEPENDENCIES = $(COREGRIND_LIBS_PPC32_AIX5) |
| 105 | helgrind_ppc32_aix5_LDADD = $(TOOL_LDADD_PPC32_AIX5) |
| 106 | helgrind_ppc32_aix5_LDFLAGS = $(TOOL_LDFLAGS_PPC32_AIX5) |
| 107 | |
| 108 | helgrind_ppc64_aix5_SOURCES = $(HELGRIND_SOURCES_COMMON) |
| 109 | helgrind_ppc64_aix5_CPPFLAGS = $(AM_CPPFLAGS_PPC64_AIX5) |
| 110 | helgrind_ppc64_aix5_CFLAGS = $(AM_CFLAGS_PPC64_AIX5) |
| 111 | helgrind_ppc64_aix5_DEPENDENCIES = $(COREGRIND_LIBS_PPC64_AIX5) |
| 112 | helgrind_ppc64_aix5_LDADD = $(TOOL_LDADD_PPC64_AIX5) |
| 113 | helgrind_ppc64_aix5_LDFLAGS = $(TOOL_LDFLAGS_PPC64_AIX5) |
| 114 | |
njn | 36a60c0 | 2002-11-14 13:54:04 +0000 | [diff] [blame] | 115 | hgincludedir = $(includedir)/valgrind |
| 116 | |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 117 | hginclude_HEADERS = helgrind.h |