Nicholas Nethercote 5446180661 Renamed vg_errcontext.c as errormgr.c, and carved off the relevant parts of
core.h and tool.h into pub_core_errormgr.h and pub_tool_errormgr.h.  All
just to improve general modularity.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3532
2005-04-19 04:10:25 +00:00

30 lines
835 B
Makefile

SUBDIRS = $(VG_ARCH) $(VG_OS) $(VG_PLATFORM) .
DIST_SUBDIRS = $(VG_ARCH_ALL) $(VG_OS_ALL) $(VG_PLATFORM_ALL) .
EXTRA_DIST = \
tool.h.base \
valgrind.h.in \
vg_profile.c
incincdir = $(includedir)/valgrind
incinc_HEADERS = \
basic_types.h \
tool.h \
tool_asm.h \
pub_tool_errormgr.h \
pub_tool_execontext.h \
pub_tool_stacktrace.h \
valgrind.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 $@