Makefile.am revision e739ac0589b4fb43561f801c4faba8c1b89f8680
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	vfp.stdout.exp vfp.stderr.exp vfp.vgtest
13
14check_PROGRAMS = \
15	neon128 \
16	neon64 \
17	v6intARM \
18	v6intThumb \
19	v6media \
20	vfp
21
22AM_CFLAGS    += @FLAG_M32@
23AM_CXXFLAGS  += @FLAG_M32@
24AM_CCASFLAGS += @FLAG_M32@
25
26# These two are specific to their ARM/Thumb respectively and so we
27# hardwire -marm/-mthumb.  neon64 and neon128 are compilable on both,
28# however, ask for them to be compiled on thumb, as that looks
29# like that's going to be the more common use case.  They also
30# need special helping w.r.t -mfpu and -mfloat-abi, though.
31# Also force -O0 since -O takes hundreds of MB of memory 
32# for v6intThumb.c.
33v6intARM_CFLAGS   = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -marm
34v6intThumb_CFLAGS = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mthumb
35
36v6media_CFLAGS    = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 -mthumb
37
38vfp_CFLAGS        = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
39			-mfpu=neon -mfloat-abi=softfp \
40			-mthumb
41
42
43neon128_CFLAGS    = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
44			-mfpu=neon -mfloat-abi=softfp \
45			-mthumb
46
47neon64_CFLAGS     = $(AM_CFLAGS) -g -O0 -mcpu=cortex-a8 \
48			-mfpu=neon -mfloat-abi=softfp \
49			-mthumb
50