Makefile.am revision 663860b1408516d02ebfcb3a9999a134e6cfb223
1
2include $(top_srcdir)/Makefile.tool-tests.am
3
4dist_noinst_SCRIPTS = filter_stderr
5
6EXTRA_DIST = \
7	neon128.stdout.exp neon128.stderr.exp neon128.vgtest \
8	neon64.stdout.exp neon64.stderr.exp neon64.vgtest \
9	v6intARM.stdout.exp v6intARM.stderr.exp v6intARM.vgtest \
10	v6intThumb.stdout.exp v6intThumb.stderr.exp v6intThumb.vgtest \
11	v6media.stdout.exp v6media.stderr.exp v6media.vgtest \
12	vcvt_fixed_float_VFP.stdout.exp vcvt_fixed_float_VFP.stderr.exp \
13		vcvt_fixed_float_VFP.vgtest \
14	vfp.stdout.exp vfp.stderr.exp vfp.vgtest
15
16check_PROGRAMS = \
17	allexec \
18	neon128 \
19	neon64 \
20	v6intARM \
21	v6intThumb \
22	v6media \
23	vcvt_fixed_float_VFP \
24	vfp
25
26AM_CFLAGS    += @FLAG_M32@
27AM_CXXFLAGS  += @FLAG_M32@
28AM_CCASFLAGS += @FLAG_M32@
29
30allexec_CFLAGS		= $(AM_CFLAGS) @FLAG_W_NO_NONNULL@
31
32# These two are specific to their ARM/Thumb respectively and so we
33# hardwire -marm/-mthumb.  neon64 and neon128 are compilable on both,
34# however, ask for them to be compiled on thumb, as that looks
35# like that's going to be the more common use case.  They also
36# need special helping w.r.t -mfpu and -mfloat-abi, though.
37# Also force -O0 since -O takes hundreds of MB of memory 
38# for v6intThumb.c.
39v6intARM_CFLAGS   = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -marm
40v6intThumb_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mthumb
41
42v6media_CFLAGS    = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mthumb
43
44vfp_CFLAGS        = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
45			-mfpu=neon \
46			-mthumb
47
48
49neon128_CFLAGS    = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
50			-mfpu=neon \
51			-mthumb
52
53neon64_CFLAGS     = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
54			-mfpu=neon \
55			-mthumb
56