njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 1 | |
mueller | 531d34d | 2004-01-03 12:47:32 +0000 | [diff] [blame] | 2 | AUTOMAKE_OPTIONS = foreign 1.6 dist-bzip2 |
sewardj | 31f6cb5 | 2003-03-01 01:26:55 +0000 | [diff] [blame] | 3 | |
njn | 3e986b2 | 2004-11-30 10:43:45 +0000 | [diff] [blame] | 4 | include $(top_srcdir)/Makefile.all.am |
nethercote | 4388a40 | 2004-09-01 23:20:49 +0000 | [diff] [blame] | 5 | |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 6 | ## addrcheck must come after memcheck, for mac_*.o |
njn | 86f12dc | 2005-03-14 01:16:05 +0000 | [diff] [blame] | 7 | TOOLS = memcheck \ |
njn | 6a3009b | 2005-03-20 00:20:06 +0000 | [diff] [blame] | 8 | cachegrind \ |
njn | 6a3009b | 2005-03-20 00:20:06 +0000 | [diff] [blame] | 9 | massif \ |
| 10 | lackey \ |
| 11 | none |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 12 | |
sewardj | d0469f7 | 2005-04-20 14:30:19 +0000 | [diff] [blame] | 13 | ## addrcheck \ |
| 14 | |
njn | 5db3212 | 2005-08-12 15:23:57 +0000 | [diff] [blame] | 15 | # Temporary: we want to compile Helgrind and Addrcheck, but not regtest it. |
njn | c7e1071 | 2005-06-24 13:45:56 +0000 | [diff] [blame] | 16 | # And we want to include Addrcheck in the distro, but not compile/test it. |
njn | 3f7e911 | 2005-06-19 05:43:21 +0000 | [diff] [blame] | 17 | # Put docs last because building the HTML is slow and we want to get |
| 18 | # everything else working before we try it. |
njn | 5db3212 | 2005-08-12 15:23:57 +0000 | [diff] [blame] | 19 | SUBDIRS = include coregrind . tests auxprogs $(TOOLS) helgrind addrcheck docs |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 20 | |
njn | a63e2d7 | 2003-06-12 14:13:05 +0000 | [diff] [blame] | 21 | SUPP_FILES = \ |
njn | b882402 | 2005-07-03 17:10:04 +0000 | [diff] [blame] | 22 | glibc-2.2.supp glibc-2.3.supp glibc-2.4.supp \ |
njn | a63e2d7 | 2003-06-12 14:13:05 +0000 | [diff] [blame] | 23 | xfree-3.supp xfree-4.supp |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 24 | |
nethercote | 537e894 | 2004-08-25 11:40:07 +0000 | [diff] [blame] | 25 | dist_val_DATA = $(SUPP_FILES) default.supp |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 26 | |
mueller | bddd607 | 2003-11-19 21:50:07 +0000 | [diff] [blame] | 27 | pkgconfigdir = $(libdir)/pkgconfig |
| 28 | pkgconfig_DATA = valgrind.pc |
| 29 | |
njn | 541e50e | 2005-07-26 23:06:18 +0000 | [diff] [blame] | 30 | incincdir = $(includedir)/valgrind |
tom | 9724520 | 2005-07-27 09:25:08 +0000 | [diff] [blame] | 31 | nodist_incinc_HEADERS = $(VEX_PUBLIC_HDRS) |
njn | 541e50e | 2005-07-26 23:06:18 +0000 | [diff] [blame] | 32 | |
mueller | bddd607 | 2003-11-19 21:50:07 +0000 | [diff] [blame] | 33 | BUILT_SOURCES = default.supp valgrind.pc |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 34 | |
njn | da762d4 | 2003-09-29 20:50:49 +0000 | [diff] [blame] | 35 | DISTCLEANFILES = default.supp |
daywalker | f5ef185 | 2003-02-25 01:48:15 +0000 | [diff] [blame] | 36 | |
gobry | 3b77789 | 2002-04-04 09:18:39 +0000 | [diff] [blame] | 37 | default.supp: $(SUPP_FILES) |
sewardj | de4a1d0 | 2002-03-22 01:27:54 +0000 | [diff] [blame] | 38 | |
njn | 71fe3e6 | 2003-04-23 21:48:20 +0000 | [diff] [blame] | 39 | ## Preprend @PERL@ because tests/vg_regtest isn't executable |
daywalker | c60b3a1 | 2003-04-23 16:39:31 +0000 | [diff] [blame] | 40 | regtest: check |
sewardj | b5f6f51 | 2005-03-10 23:59:00 +0000 | [diff] [blame] | 41 | @PERL@ tests/vg_regtest $(TOOLS) |
njn | 55b98e9 | 2003-04-08 10:29:13 +0000 | [diff] [blame] | 42 | |
nethercote | 537e894 | 2004-08-25 11:40:07 +0000 | [diff] [blame] | 43 | EXTRA_DIST = \ |
njn | 4e59bd9 | 2003-04-22 20:58:47 +0000 | [diff] [blame] | 44 | FAQ.txt \ |
fitzhardinge | cf826ad | 2004-01-07 08:47:44 +0000 | [diff] [blame] | 45 | ACKNOWLEDGEMENTS \ |
nethercote | 16b59ee | 2004-10-09 15:59:05 +0000 | [diff] [blame] | 46 | README_DEVELOPERS \ |
nethercote | 5da1e17 | 2003-12-03 21:44:45 +0000 | [diff] [blame] | 47 | README_PACKAGERS \ |
njn | f7c00b1 | 2005-07-19 21:46:19 +0000 | [diff] [blame] | 48 | README_MISSING_SYSCALL_OR_IOCTL \ |
njn | 22ae5c0 | 2005-07-24 23:21:28 +0000 | [diff] [blame] | 49 | valgrind.spec.in valgrind.pc.in \ |
njn | 73dc2c7 | 2005-08-28 04:48:12 +0000 | [diff] [blame] | 50 | Makefile.all.am Makefile.tool.am Makefile.core.am \ |
sewardj | 85a9dca | 2005-07-26 10:42:57 +0000 | [diff] [blame] | 51 | Makefile.tool-inplace.am \ |
tom | ab568f6 | 2005-07-27 07:36:22 +0000 | [diff] [blame] | 52 | $(VEX_PRIMARY_SOURCES) |
sewardj | fed4dd0 | 2002-04-14 14:32:54 +0000 | [diff] [blame] | 53 | |
gobry | b0a955e | 2002-04-14 15:31:19 +0000 | [diff] [blame] | 54 | install-exec-hook: |
daywalker | 47160d6 | 2002-04-15 00:54:13 +0000 | [diff] [blame] | 55 | $(mkinstalldirs) $(DESTDIR)$(valdir) |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 56 | |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame] | 57 | all-local: |
nethercote | b7dceef | 2004-08-25 11:50:46 +0000 | [diff] [blame] | 58 | mkdir -p $(inplacedir) |
| 59 | rm -f $(addprefix $(inplacedir)/,default.supp $(SUPP_FILES)) |
| 60 | ln -s ../default.supp $(inplacedir) |
| 61 | ln -s $(addprefix ../$(top_srcdir)/,$(SUPP_FILES)) $(inplacedir) |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame] | 62 | |
thughes | 734160c | 2004-06-28 21:52:40 +0000 | [diff] [blame] | 63 | distclean-local: |
nethercote | b7dceef | 2004-08-25 11:50:46 +0000 | [diff] [blame] | 64 | rm -rf $(inplacedir) |
sewardj | 85a9dca | 2005-07-26 10:42:57 +0000 | [diff] [blame] | 65 | |
tom | ab568f6 | 2005-07-27 07:36:22 +0000 | [diff] [blame] | 66 | # These list the bits of vex we need to install |
sewardj | 85a9dca | 2005-07-26 10:42:57 +0000 | [diff] [blame] | 67 | |
njn | 541e50e | 2005-07-26 23:06:18 +0000 | [diff] [blame] | 68 | VEX_PUBLIC_HDRS = \ |
tom | ab568f6 | 2005-07-27 07:36:22 +0000 | [diff] [blame] | 69 | @VEX_DIR@/pub/libvex_guest_amd64.h \ |
| 70 | @VEX_DIR@/pub/libvex_ir.h \ |
| 71 | @VEX_DIR@/pub/libvex_guest_ppc32.h \ |
| 72 | @VEX_DIR@/pub/libvex_basictypes.h \ |
| 73 | @VEX_DIR@/pub/libvex_guest_offsets.h \ |
| 74 | @VEX_DIR@/pub/libvex_emwarn.h \ |
| 75 | @VEX_DIR@/pub/libvex.h \ |
| 76 | @VEX_DIR@/pub/libvex_trc_values.h \ |
| 77 | @VEX_DIR@/pub/libvex_guest_arm.h \ |
| 78 | @VEX_DIR@/pub/libvex_guest_x86.h |
| 79 | |
| 80 | # These list the bits of vex we need to copy into the tarball |
| 81 | |
| 82 | VEX_PRIMARY_SOURCES = \ |
sewardj | b191672 | 2005-08-03 16:39:44 +0000 | [diff] [blame] | 83 | VEX/HACKING.README \ |
| 84 | VEX/LICENSE.README \ |
| 85 | VEX/LICENSE.GPL \ |
tom | ab568f6 | 2005-07-27 07:36:22 +0000 | [diff] [blame] | 86 | VEX/Makefile \ |
| 87 | VEX/auxprogs/genoffsets.c \ |
sewardj | 85a9dca | 2005-07-26 10:42:57 +0000 | [diff] [blame] | 88 | VEX/pub/libvex_guest_amd64.h \ |
| 89 | VEX/pub/libvex_ir.h \ |
| 90 | VEX/pub/libvex_guest_ppc32.h \ |
| 91 | VEX/pub/libvex_basictypes.h \ |
| 92 | VEX/pub/libvex_guest_offsets.h \ |
| 93 | VEX/pub/libvex_emwarn.h \ |
| 94 | VEX/pub/libvex.h \ |
| 95 | VEX/pub/libvex_trc_values.h \ |
| 96 | VEX/pub/libvex_guest_arm.h \ |
tom | ab568f6 | 2005-07-27 07:36:22 +0000 | [diff] [blame] | 97 | VEX/pub/libvex_guest_x86.h \ |
sewardj | 85a9dca | 2005-07-26 10:42:57 +0000 | [diff] [blame] | 98 | VEX/priv/ir/irmatch.c \ |
| 99 | VEX/priv/ir/irmatch.h \ |
| 100 | VEX/priv/ir/irdefs.c \ |
| 101 | VEX/priv/ir/iropt.c \ |
| 102 | VEX/priv/ir/iropt.h \ |
| 103 | VEX/priv/host-ppc32/isel.c \ |
| 104 | VEX/priv/host-ppc32/hdefs.c \ |
| 105 | VEX/priv/host-ppc32/hdefs.h \ |
| 106 | VEX/priv/main/vex_svnversion.h \ |
| 107 | VEX/priv/main/vex_globals.c \ |
| 108 | VEX/priv/main/vex_globals.h \ |
| 109 | VEX/priv/main/vex_main.c \ |
| 110 | VEX/priv/main/vex_util.c \ |
| 111 | VEX/priv/main/vex_util.h \ |
| 112 | VEX/priv/guest-arm/ghelpers.c \ |
| 113 | VEX/priv/guest-arm/gdefs.h \ |
| 114 | VEX/priv/guest-arm/toIR.c \ |
| 115 | VEX/priv/guest-x86/ghelpers.c \ |
| 116 | VEX/priv/guest-x86/gdefs.h \ |
| 117 | VEX/priv/guest-x86/toIR.c \ |
| 118 | VEX/priv/guest-generic/g_generic_x87.c \ |
| 119 | VEX/priv/guest-generic/g_generic_x87.h \ |
| 120 | VEX/priv/guest-generic/bb_to_IR.c \ |
| 121 | VEX/priv/guest-generic/bb_to_IR.h \ |
| 122 | VEX/priv/host-arm/isel.c \ |
| 123 | VEX/priv/host-arm/hdefs.c \ |
| 124 | VEX/priv/host-arm/hdefs.h \ |
| 125 | VEX/priv/host-x86/isel.c \ |
| 126 | VEX/priv/host-x86/hdefs.c \ |
| 127 | VEX/priv/host-x86/hdefs.h \ |
| 128 | VEX/priv/guest-amd64/ghelpers.c \ |
| 129 | VEX/priv/guest-amd64/gdefs.h \ |
| 130 | VEX/priv/guest-amd64/toIR.c \ |
| 131 | VEX/priv/guest-ppc32/ghelpers.c \ |
| 132 | VEX/priv/guest-ppc32/gdefs.h \ |
| 133 | VEX/priv/guest-ppc32/toIR.c \ |
| 134 | VEX/priv/host-generic/reg_alloc2.c \ |
| 135 | VEX/priv/host-generic/h_generic_regs.c \ |
| 136 | VEX/priv/host-generic/h_generic_regs.h \ |
| 137 | VEX/priv/host-generic/h_generic_simd64.c \ |
| 138 | VEX/priv/host-generic/h_generic_simd64.h \ |
| 139 | VEX/priv/host-amd64/isel.c \ |
| 140 | VEX/priv/host-amd64/hdefs.c \ |
| 141 | VEX/priv/host-amd64/hdefs.h |