Nicholas Nethercote 7a04aed730 Introduced build variables VG_ARCH_ALL, VG_OS_ALL, and VG_PLATFORM_ALL,
which list all the arches/OSes/platforms supported.  These are used by
several newly added DIST_SUBDIRS automake commands, which specify that
although when you are building you only want to build for the current
arch/OS/platform, when you do 'make dist' you want every
arch/OS/platform to get included.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3127
2004-11-27 16:47:42 +00:00

23 lines
564 B
Makefile

##include $(top_srcdir)/Makefile.tool.am
include $(top_srcdir)/Makefile.all.am
include $(top_srcdir)/Makefile.tool-flags.am
include $(top_srcdir)/Makefile.tool-inplace.am
SUBDIRS = $(VG_ARCH) . tests docs
DIST_SUBDIRS = $(VG_ARCH_ALL) . tests docs
AM_CPPFLAGS += -I$(top_srcdir)/cachegrind/$(VG_ARCH)
bin_SCRIPTS = cg_annotate
EXTRA_DIST = cg_sim.c
noinst_HEADERS = cg_arch.h
val_PROGRAMS = vgtool_cachegrind.so
vgtool_cachegrind_so_SOURCES = cg_main.c
vgtool_cachegrind_so_LDFLAGS = -shared
vgtool_cachegrind_so_LDADD = ${VG_ARCH}/libcgarch.a