mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
distinction between primary and secondary build targets, and (2) make
it independent of the default behaviour of gcc (iow, what gcc does
when you specify neither -m32 nor -m64).
As a result, an out-of-the-box build on ppc64-linux now builds a
system which is basically for 64-bit PowerPC, but also has the ability
to run 32-bit ppc-linux binaries (exactly the same arrangement as you
get when building on amd64-linux).
There are various twists and turns. multiple-architectures.txt is
updated all the gory details.
This will break amd64 builds until such time as
<tool>/tests/{amd64,x86}/Makefile.am are fixed up (shortly).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5493
32 lines
616 B
Makefile
32 lines
616 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)__
|
|
cputest_DEPENDENCIES =
|
|
cputest_LDADD =
|
|
toobig_allocs_SOURCES = toobig-allocs.c
|
|
true_SOURCES = true.c
|