Modularised the core/tool interface ('details', 'needs' and VG_(tdict))
into a new module m_tooliface.  Pretty straightforward.  Touches a lot
of files because many files use this interface and so need to include
the headers for the new module.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3652 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/Makefile.am b/coregrind/Makefile.am
index 4a9ddc9..0d01f4b 100644
--- a/coregrind/Makefile.am
+++ b/coregrind/Makefile.am
@@ -46,6 +46,7 @@
 	pub_core_sigframe.h	\
 	pub_core_stacktrace.h	\
 	pub_core_syscalls.h	\
+	pub_core_tooliface.h	\
 	ume.h			\
 	vg_symtab2.h		\
 	vg_symtypes.h
@@ -65,11 +66,12 @@
 valgrind_LDADD=
 
 stage2_SOURCES = \
+	m_debuglog.c \
 	m_errormgr.c \
 	m_execontext.c \
 	m_mallocfree.c \
 	m_stacktrace.c \
-	m_debuglog.c \
+	m_tooliface.c \
 	ume.c \
 	\
 	vg_scheduler.c \
@@ -78,7 +80,6 @@
 	vg_main.c \
 	vg_messages.c \
 	vg_mylibc.c \
-	vg_needs.c \
 	vg_dummy_profile.c \
 	vg_signals.c \
 	vg_symtab2.c \