Tiresome build-system hacks to connect to the VEX includes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3052 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/Makefile.tool-flags.am b/Makefile.tool-flags.am
index 01b2a8e..6b47ff6 100644
--- a/Makefile.tool-flags.am
+++ b/Makefile.tool-flags.am
@@ -3,7 +3,8 @@
add_includes = -I$(top_builddir)/include -I$(top_srcdir)/include \
-I$(top_srcdir)/include/$(VG_ARCH) \
-I$(top_srcdir)/include/$(VG_OS) \
- -I$(top_srcdir)/include/$(VG_PLATFORM)
+ -I$(top_srcdir)/include/$(VG_PLATFORM) \
+ -I@VEX_DIR@/pub
AM_CPPFLAGS = $(add_includes)
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -O -g @ARCH_TOOL_AM_CFLAGS@