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