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 | |
nethercote | 4388a40 | 2004-09-01 23:20:49 +0000 | [diff] [blame] | 4 | include $(top_srcdir)/Makefile.all.am |
5 | |||||
6 | ## include must be first for tool.h | ||||
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 7 | ## addrcheck must come after memcheck, for mac_*.o |
sewardj | 50629ec | 2004-11-22 13:44:11 +0000 | [diff] [blame] | 8 | #SUBDIRS = include coregrind . docs tests auxprogs \ |
9 | # memcheck \ | ||||
10 | # addrcheck \ | ||||
11 | # cachegrind \ | ||||
12 | # corecheck \ | ||||
13 | # helgrind \ | ||||
14 | # massif \ | ||||
15 | # lackey \ | ||||
16 | # none | ||||
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame] | 17 | SUBDIRS = include coregrind . docs tests auxprogs \ |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 18 | memcheck \ |
njn | 3e88418 | 2003-04-15 13:03:23 +0000 | [diff] [blame] | 19 | addrcheck \ |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 20 | corecheck \ |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 21 | lackey \ |
22 | none | ||||
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 = \ |
25 | glibc-2.1.supp glibc-2.2.supp glibc-2.3.supp \ | ||||
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 | |||||
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 |
njn | 71fe3e6 | 2003-04-23 21:48:20 +0000 | [diff] [blame] | 41 | @PERL@ tests/vg_regtest --all |
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 \ |
njn25 | cac76cb | 2002-09-23 11:21:57 +0000 | [diff] [blame] | 48 | README_MISSING_SYSCALL_OR_IOCTL TODO \ |
nethercote | 4388a40 | 2004-09-01 23:20:49 +0000 | [diff] [blame] | 49 | valgrind.spec.in valgrind.pc.in \ |
50 | Makefile.all.am Makefile.tool.am Makefile.core-AM_CPPFLAGS.am \ | ||||
51 | Makefile.tool-inplace.am | ||||
sewardj | fed4dd0 | 2002-04-14 14:32:54 +0000 | [diff] [blame] | 52 | |
gobry | b0a955e | 2002-04-14 15:31:19 +0000 | [diff] [blame] | 53 | install-exec-hook: |
daywalker | 47160d6 | 2002-04-15 00:54:13 +0000 | [diff] [blame] | 54 | $(mkinstalldirs) $(DESTDIR)$(valdir) |
gobry | b0a955e | 2002-04-14 15:31:19 +0000 | [diff] [blame] | 55 | rm -f $(DESTDIR)$(valdir)/libpthread.so.0 |
daywalker | 47160d6 | 2002-04-15 00:54:13 +0000 | [diff] [blame] | 56 | $(LN_S) libpthread.so $(DESTDIR)$(valdir)/libpthread.so.0 |
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 57 | |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame] | 58 | all-local: |
nethercote | b7dceef | 2004-08-25 11:50:46 +0000 | [diff] [blame] | 59 | mkdir -p $(inplacedir) |
60 | rm -f $(addprefix $(inplacedir)/,default.supp $(SUPP_FILES)) | ||||
61 | ln -s ../default.supp $(inplacedir) | ||||
62 | ln -s $(addprefix ../$(top_srcdir)/,$(SUPP_FILES)) $(inplacedir) | ||||
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame] | 63 | |
thughes | 734160c | 2004-06-28 21:52:40 +0000 | [diff] [blame] | 64 | distclean-local: |
nethercote | b7dceef | 2004-08-25 11:50:46 +0000 | [diff] [blame] | 65 | rm -rf $(inplacedir) |