## include must be first for tool.h
## addrcheck must come after memcheck, for mac_*.o
+#SUBDIRS = include coregrind . docs tests auxprogs \
+# memcheck \
+# addrcheck \
+# cachegrind \
+# corecheck \
+# helgrind \
+# massif \
+# lackey \
+# none
SUBDIRS = include coregrind . docs tests auxprogs \
memcheck \
addrcheck \
- cachegrind \
corecheck \
- helgrind \
massif \
lackey \
none
-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_CCASFLAGS = $(add_includes) @ARCH_CORE_AM_CCASFLAGS@
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@
AM_MAINTAINER_MODE
+# Where is VEX ? ToDo: --with-vex=
+VEX_DIR=/home/sewardj/Vex/vex/trunk
+AC_SUBST(VEX_DIR)
+
# Checks for programs.
CFLAGS=""