nethercote | c06e213 | 2004-09-03 13:45:29 +0000 | [diff] [blame] | 1 | |
| 2 | SUBDIRS = $(VG_ARCH) . |
| 3 | |
njn25 | ab72603 | 2002-09-23 16:24:41 +0000 | [diff] [blame] | 4 | EXTRA_DIST = \ |
nethercote | e90c683 | 2004-10-18 18:07:49 +0000 | [diff] [blame^] | 5 | tool.h.base \ |
| 6 | valgrind.h.in \ |
| 7 | vg_profile.c |
njn25 | ab72603 | 2002-09-23 16:24:41 +0000 | [diff] [blame] | 8 | |
njn | 683c6ee | 2002-11-12 10:53:31 +0000 | [diff] [blame] | 9 | incincdir = $(includedir)/valgrind |
| 10 | |
| 11 | incinc_HEADERS = \ |
nethercote | 4606320 | 2004-09-02 08:51:43 +0000 | [diff] [blame] | 12 | tool.h \ |
nethercote | 5a2664c | 2004-09-02 15:37:39 +0000 | [diff] [blame] | 13 | tool_asm.h \ |
| 14 | valgrind.h \ |
nethercote | 4606320 | 2004-09-02 08:51:43 +0000 | [diff] [blame] | 15 | vg_kerneliface.h \ |
| 16 | vg_skin.h |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame] | 17 | |
nethercote | e90c683 | 2004-10-18 18:07:49 +0000 | [diff] [blame^] | 18 | BUILT_SOURCES = tool.h valgrind.h |
| 19 | CLEANFILES = tool.h valgrind.h |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame] | 20 | |
nethercote | 4606320 | 2004-09-02 08:51:43 +0000 | [diff] [blame] | 21 | tool.h: $(srcdir)/tool.h.base \ |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame] | 22 | $(top_srcdir)/coregrind/gen_toolint.pl $(top_srcdir)/coregrind/toolfuncs.def |
| 23 | rm -f $@ |
nethercote | 4606320 | 2004-09-02 08:51:43 +0000 | [diff] [blame] | 24 | cat $(srcdir)/tool.h.base > $@ |
fitzhardinge | 98abfc7 | 2003-12-16 02:05:15 +0000 | [diff] [blame] | 25 | $(PERL) $(top_srcdir)/coregrind/gen_toolint.pl toolproto < $(top_srcdir)/coregrind/toolfuncs.def >> $@ || rm -f $@ |
| 26 | $(PERL) $(top_srcdir)/coregrind/gen_toolint.pl initproto < $(top_srcdir)/coregrind/toolfuncs.def >> $@ || rm -f $@ |