- previous Cachegrind rearrangement broke "make distcheck"; this commit
fixed it again.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2699
## Need $(top_builddir)/include because tool.h is built from tool.h.base;
## otherwise it will not work if builddir != srcdir.
add_includes = -I$(top_builddir)/include -I$(top_srcdir)/include \
- -I$(top_srcdir)/include/$(VG_ARCH) \
- -I./$(VG_ARCH)
+ -I$(top_srcdir)/include/$(VG_ARCH)
AM_CPPFLAGS = $(add_includes)
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -O -fomit-frame-pointer \
SUBDIRS = $(VG_ARCH) . tests docs
+AM_CPPFLAGS += -I$(top_srcdir)/cachegrind/$(VG_ARCH)
+
bin_SCRIPTS = cg_annotate
EXTRA_DIST = cg_sim.c
include $(top_srcdir)/Makefile.tool-flags.am
-AM_CPPFLAGS += -I..
+AM_CPPFLAGS += -I$(top_srcdir)/cachegrind
noinst_LIBRARIES = libcgarch.a