mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
27 lines
684 B
Makefile
27 lines
684 B
Makefile
|
|
SUBDIRS = $(VG_ARCH) $(VG_OS) $(VG_PLATFORM) .
|
|
|
|
EXTRA_DIST = \
|
|
tool.h.base \
|
|
valgrind.h.in \
|
|
vg_profile.c
|
|
|
|
incincdir = $(includedir)/valgrind
|
|
|
|
incinc_HEADERS = \
|
|
basic_types.h \
|
|
tool.h \
|
|
tool_asm.h \
|
|
valgrind.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 $@
|