kernel: fpu_init: only enable OSXMMEXCPT in CR4 on at least SSE1 machines.
[minix.git] / test / Makefile
blob0d471dcd9dc9f3c50c1a1c00e32f85441782d654
1 # Makefile for the tests.
3 CC = exec cc
4 GCC = /usr/gnu/bin/gcc
5 CFLAGS= -O -D_MINIX -D_POSIX_SOURCE
6 CFLAGS-GCC= $(CFLAGS) -Wall
7 CFLAGS-GCCFPU= $(CFLAGS-GCC) -W -mhard-float
9 OBJ= test1 test2 test3 test4 test5 test6 test7 test8 test9 \
10 test10 test12 test13 test14 test15 test16 test17 test18 test19 \
11 test21 test22 test23 test25 test26 test27 test28 test29 \
12 test30 test31 test32 test34 test35 test36 test37 test38 \
13 test39 t10a t11a t11b test40 t40a t40b t40c t40d t40e t40f test41 \
14 test42 test44 test45 test47 test48 test49 test50 test51
16 BIGOBJ= test20 test24
17 ROOTOBJ= test11 test33 test43 test46
18 GCCOBJ= test45-gcc test49-gcc
19 GCCFPUOBJ= test51-gcc
21 all: $(OBJ) $(BIGOBJ) $(GCCOBJ) $(GCCFPUOBJ) $(ROOTOBJ)
22 chmod 755 *.sh run
24 $(OBJ):
25 $(CC) $(CFLAGS) -o $@ $@.c
27 $(BIGOBJ):
28 $(CC) $(CFLAGS) -o $@ $@.c
30 $(GCCOBJ):
31 [ ! -x $(GCC) ] || $(GCC) $(CFLAGS-GCC) -o $@ ${@:S/-gcc//}.c
33 $(GCCFPUOBJ):
34 [ ! -x $(GCC) ] || $(GCC) $(CFLAGS-GCCFPU) -o $@ ${@:S/-gcc//}.c
36 $(ROOTOBJ):
37 $(CC) $(CFLAGS) $@.c
38 @install -c -o root -m 4755 a.out $@
39 @rm a.out
41 clean:
42 cd select && make clean
43 -rm -rf *.o *.s *.bak test? test?? test??-gcc t10a t11a t11b \
44 t40a t40b t40c t40d t40e t40f t43 DIR*
46 test1: test1.c
47 test2: test2.c
48 test3: test3.c
49 test4: test4.c
50 test5: test5.c
51 test6: test6.c
52 test7: test7.c
53 test8: test8.c
54 test9: test9.c
55 test10: test10.c
56 t10a: t10a.c
57 test11: test11.c
58 t11a: t11a.c
59 t11b: t11b.c
60 test12: test12.c
61 test13: test13.c
62 test14: test14.c
63 test15: test15.c
64 test16: test16.c
65 test17: test17.c
66 test18: test18.c
67 test19: test19.c
68 test20: test20.c
69 test21: test21.c
70 test22: test22.c
71 test23: test23.c
72 test24: test24.c
73 test25: test25.c
74 test26: test26.c
75 test27: test27.c
76 test28: test28.c
77 test29: test29.c
78 test30: test30.c
79 test31: test31.c
80 test32: test32.c
81 test33: test33.c
82 test34: test34.c
83 test35: test35.c
84 test36: test36.c
85 test37: test37.c
86 test38: test38.c
87 test39: test39.c
88 test40: test40.c
89 t40a: t40a.c
90 t40b: t40b.c
91 t40c: t40c.c
92 t40d: t40d.c
93 t40e: t40e.c
94 t40f: t40f.c
95 test41: test41.c
96 test42: test42.c
97 test43: test43.c
98 test44: test44.c
99 test45: test45.c test45.h
100 test45-gcc: test45.c test45.h
101 test46: test46.c
102 test47: test47.c
103 test48: test48.c
104 test49: test49.c
105 test49-gcc: test49.c
106 test50: test50.c
107 test51: test51.c
108 test51-gcc: test51.c