ftmemsim-valgrind/tests/Makefile.am
Julian Seward 40399aab00 Fix longstanding bug in dual-arch support, which originated in
memcheck/tests/Makefile.am and was copied into drd/tests/Makefile.am.

When building regtests for a 32-bit only build on a 64-bit CPU, the
use of $(VG_ARCH) in these Makefiles is incorrect, because VG_ARCH
will be set to the 64-bit architecture, not the 32-bit architecture.

See comments on VG_ARCH_PRI and VG_ARCH_MAX in configure.in for more
details.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8623
2008-09-19 09:02:19 +00:00

32 lines
620 B
Makefile

# For AM_FLAG_M3264_PRI
include $(top_srcdir)/Makefile.flags.am
noinst_SCRIPTS = \
vg_regtest \
filter_addresses \
filter_discards \
filter_libc \
filter_numbers \
filter_stderr_basic \
filter_sink \
filter_test_paths
EXTRA_DIST = $(noinst_SCRIPTS)
check_PROGRAMS = \
cputest \
toobig-allocs \
true
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI)
AM_CXXFLAGS = $(AM_CFLAGS)
# generic C ones
cputest_SOURCES = cputest.c
cputest_CFLAGS = $(AM_CFLAGS) -D__$(VG_ARCH_MAX)__
cputest_DEPENDENCIES =
cputest_LDADD =
toobig_allocs_SOURCES = toobig-allocs.c
true_SOURCES = true.c