mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-12 06:11:37 +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
22 lines
680 B
Makefile
22 lines
680 B
Makefile
|
|
noinst_SCRIPTS = filter_stderr
|
|
|
|
EXTRA_DIST = $(noinst_SCRIPTS) \
|
|
lsw.stderr.exp lsw.stdout.exp lsw.vgtest \
|
|
jm-int.stderr.exp jm-int.stdout.exp jm-int.vgtest \
|
|
jm-fp.stderr.exp jm-fp.stdout.exp jm-fp.vgtest \
|
|
jm-vmx.stderr.exp jm-vmx.stdout.exp jm-vmx.vgtest \
|
|
testVMX.stderr.exp testVMX.stdout.exp testVMX.vgtest
|
|
|
|
check_PROGRAMS = \
|
|
lsw jm-insns testVMX
|
|
|
|
AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g -I$(top_srcdir)/include \
|
|
@FLAG_M32@
|
|
AM_CXXFLAGS = $(AM_CFLAGS) @FLAG_M32@
|
|
|
|
jm_insns_CFLAGS = -Winline -Wall -O -mregnames \
|
|
-DHAS_ALTIVEC -maltivec @FLAG_M32@
|
|
testVMX_CFLAGS = -O -g -Wall -maltivec -mabi=altivec -DALTIVEC \
|
|
-DGCC_COMPILER @FLAG_M32@
|