blob: 6680b586a28f0ed7ba5db299ec4bfa086b27e42a [file] [log] [blame]
nethercotec06e2132004-09-03 13:45:29 +00001
2SUBDIRS = $(VG_ARCH) .
3
njn25ab726032002-09-23 16:24:41 +00004EXTRA_DIST = \
fitzhardinge98abfc72003-12-16 02:05:15 +00005 vg_profile.c \
nethercote46063202004-09-02 08:51:43 +00006 tool.h.base
njn25ab726032002-09-23 16:24:41 +00007
njn683c6ee2002-11-12 10:53:31 +00008incincdir = $(includedir)/valgrind
9
10incinc_HEADERS = \
nethercote46063202004-09-02 08:51:43 +000011 tool.h \
nethercote5a2664c2004-09-02 15:37:39 +000012 tool_asm.h \
13 valgrind.h \
nethercote46063202004-09-02 08:51:43 +000014 vg_kerneliface.h \
15 vg_skin.h
fitzhardinge98abfc72003-12-16 02:05:15 +000016
nethercote46063202004-09-02 08:51:43 +000017BUILT_SOURCES = tool.h
18CLEANFILES = tool.h
fitzhardinge98abfc72003-12-16 02:05:15 +000019
nethercote46063202004-09-02 08:51:43 +000020tool.h: $(srcdir)/tool.h.base \
fitzhardinge98abfc72003-12-16 02:05:15 +000021 $(top_srcdir)/coregrind/gen_toolint.pl $(top_srcdir)/coregrind/toolfuncs.def
22 rm -f $@
nethercote46063202004-09-02 08:51:43 +000023 cat $(srcdir)/tool.h.base > $@
fitzhardinge98abfc72003-12-16 02:05:15 +000024 $(PERL) $(top_srcdir)/coregrind/gen_toolint.pl toolproto < $(top_srcdir)/coregrind/toolfuncs.def >> $@ || rm -f $@
25 $(PERL) $(top_srcdir)/coregrind/gen_toolint.pl initproto < $(top_srcdir)/coregrind/toolfuncs.def >> $@ || rm -f $@