Files
ftmemsim-valgrind/include/Makefile.am
Nicholas Nethercote bf0340373c Arch-abstraction: fix up valgrind.h for future inclusion of other
architectures.  Had to recast it as valgrind.h.in;  now at configure time the
appropriate #define is set so that the appropriate snippet of assembly code is
chosen.  It's done this way rather than with x86/ etc. directories like the
rest of Valgrind, because this header file must stand alone for inclusion by
other programs.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2794
2004-10-18 18:07:49 +00:00

27 lines
663 B
Makefile

SUBDIRS = $(VG_ARCH) .
EXTRA_DIST = \
tool.h.base \
valgrind.h.in \
vg_profile.c
incincdir = $(includedir)/valgrind
incinc_HEADERS = \
tool.h \
tool_asm.h \
valgrind.h \
vg_kerneliface.h \
vg_skin.h
BUILT_SOURCES = tool.h valgrind.h
CLEANFILES = tool.h valgrind.h
tool.h: $(srcdir)/tool.h.base \
$(top_srcdir)/coregrind/gen_toolint.pl $(top_srcdir)/coregrind/toolfuncs.def
rm -f $@
cat $(srcdir)/tool.h.base > $@
$(PERL) $(top_srcdir)/coregrind/gen_toolint.pl toolproto < $(top_srcdir)/coregrind/toolfuncs.def >> $@ || rm -f $@
$(PERL) $(top_srcdir)/coregrind/gen_toolint.pl initproto < $(top_srcdir)/coregrind/toolfuncs.def >> $@ || rm -f $@