]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/valgrind/src/valgrind-3.6.0-svn/none/tests/ppc32/Makefile.am
update
[l4.git] / l4 / pkg / valgrind / src / valgrind-3.6.0-svn / none / tests / ppc32 / Makefile.am
1
2 include $(top_srcdir)/Makefile.tool-tests.am
3
4 dist_noinst_SCRIPTS = filter_stderr
5
6 EXTRA_DIST = \
7         bug129390-ppc32.stdout.exp bug129390-ppc32.stderr.exp \
8         bug129390-ppc32.vgtest \
9         bug139050-ppc32.stdout.exp bug139050-ppc32.stderr.exp \
10         bug139050-ppc32.vgtest \
11         ldstrev.stderr.exp ldstrev.stdout.exp ldstrev.vgtest \
12         lsw.stderr.exp lsw.stdout.exp lsw.vgtest \
13         jm-int.stderr.exp jm-int.stdout.exp jm-int.vgtest \
14         jm-fp.stderr.exp jm-fp.stdout.exp jm-fp.vgtest \
15         jm-vmx.stderr.exp jm-vmx.stdout.exp jm-vmx.stdout.exp_Minus_nan \
16         jm-vmx.vgtest \
17         mftocrf.stderr.exp mftocrf.stdout.exp mftocrf.vgtest \
18         mcrfs.stderr.exp mcrfs.stdout.exp mcrfs.vgtest \
19         round.stderr.exp round.stdout.exp round.vgtest \
20         test_fx.stderr.exp test_fx.stdout.exp test_fx.stdout.exp_Minus_nan \
21         test_fx.vgtest \
22         test_gx.stderr.exp test_gx.stdout.exp test_gx.stdout.exp_Minus_nan \
23         test_gx.vgtest \
24         testVMX.stderr.exp  testVMX.stdout.exp  testVMX.vgtest \
25         twi.stderr.exp twi.stdout.exp twi.vgtest \
26         tw.stderr.exp tw.stdout.exp tw.vgtest \
27         xlc_dbl_u32.stderr.exp xlc_dbl_u32.stdout.exp xlc_dbl_u32.vgtest \
28         power5+_round.stderr.exp power5+_round.stdout.exp power5+_round.vgtest \
29         power6_bcmp.stderr.exp power6_bcmp.stdout.exp power6_bcmp.vgtest \
30         test_isa_2_06_part1.stderr.exp  test_isa_2_06_part1.stdout.exp  test_isa_2_06_part1.vgtest
31
32 check_PROGRAMS = \
33         bug129390-ppc32 \
34         bug139050-ppc32 \
35         ldstrev lsw jm-insns mftocrf mcrfs round test_fx test_gx \
36         testVMX twi tw xlc_dbl_u32 power5+_round power6_bcmp \
37         test_isa_2_06_part1
38
39 AM_CFLAGS    += @FLAG_M32@
40 AM_CXXFLAGS  += @FLAG_M32@
41 AM_CCASFLAGS += @FLAG_M32@
42
43 if HAS_ALTIVEC
44 ALTIVEC_FLAG = -DHAS_ALTIVEC
45 else
46 ALTIVEC_FLAG =
47 endif
48
49 if HAS_VSX
50 BUILD_FLAG_VSX = -mvsx
51 VSX_FLAG = -DHAS_VSX
52 else
53 BUILD_FLAG_VSX =
54 VSX_FLAG =
55 endif
56
57 jm_insns_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames -maltivec \
58                         @FLAG_M32@ $(ALTIVEC_FLAG)
59
60 testVMX_CFLAGS  = $(AM_CFLAGS) -O -g -Wall -maltivec -mabi=altivec -DALTIVEC \
61                         -DGCC_COMPILER @FLAG_M32@
62
63 test_isa_2_06_part1_CFLAGS = $(AM_CFLAGS) -Winline -Wall -O -g -mregnames $(VSX_FLAG) \
64                         @FLAG_M32@ $(ALTIVEC_FLAG) $(BUILD_FLAG_VSX)
65