m68k isa fixes. (NicJA)
[AROS.git] / arch / m68k-all / stdc / mmakefile.src
blob7a8c1754e5bab8c45a10198eee1e9a3278e41fc3
1 # $Id$
4 include $(SRCDIR)/config/aros.cfg
6 USER_AFLAGS  := -I$(GENINCDIR)
7 USER_CPPFLAGS := -DDEBUG=0
8 USER_INCLUDES := -I$(SRCDIR)/compiler/stdc
9 ISA_FLAGS := $(ISA_MC68020_FLAGS)
11 STDC_M68K_FILES := \
12     fenv
14 STDC_M68K_ASMFILES := \
15     longjmp \
16     setjmp
18 # Add FPU based runtime-replacement math functions ..
19 STDC_M68K_ASMFILES += \
20     math/e_acos-881 \
21     math/e_asin-881 \
22     math/e_atanh-881 \
23     math/e_cosh-881 \
24     math/e_exp-881 \
25     math/e_fmod-881 \
26     math/e_hypot-881 \
27     math/e_log-881 \
28     math/e_log10-881 \
29     math/e_log2-881 \
30     math/e_remainder-881 \
31     math/e_sinh-881 \
32     math/e_sqrt-881 \
33     math/s_atan-881 \
34     math/s_ceil-881 \
35     math/s_copysign-881 \
36     math/s_cos-881 \
37     math/s_exp2-881 \
38     math/s_fabs-881 \
39     math/s_fdim-881 \
40     math/s_floor-881 \
41     math/s_fma-881 \
42     math/s_fmax-881 \
43     math/s_fmin-881 \
44     math/s_fpclassify-881 \
45     math/s_isfinite-881 \
46     math/s_isinf-881 \
47     math/s_isnan-881 \
48     math/s_isnormal-881 \
49     math/s_lround-881 \
50     math/s_nearbyint-881 \
51     math/s_round-881 \
52     math/s_signbit-881 \
53     math/s_sin-881 \
54     math/s_tan-881 \
55     math/s_tanh-881 \
56     math/s_trunc-881
58 STDC_M68K_FILES += \
59     __stdc_fpumath
61 %build_archspecific \
62   mainmmake=compiler-stdc \
63   modname=stdc maindir=compiler/stdc \
64   arch=m68k \
65   files="$(STDC_M68K_FILES)" asmfiles="$(STDC_M68K_ASMFILES)"
67 #MM- compiler-stdc-m68k : includes-asm_h-m68k
73 #MM- test-clib-m68k: includes-asm_h-m68k test-clib-m68k-jmptests
75 USER_AFLAGS := -I$(GENINCDIR) # -DDEBUG_MAGIC=0x40506070 -DDEBUG=1
76 AFILES:=jmptests setjmp longjmp ../posixc/vfork ../posixc/vfork_longjmp
78 %build_prog mmake=test-clib-m68k-jmptests files= asmfiles=$(AFILES) \
79             progname=jmptests targetdir=$(AROS_TESTS)/clib \
80             usestartup=no