2 CFLAGS
+= -Wall
-Werror
-D_NETBSD_SOURCE
-fno-builtin
-D_MINIX
-D_POSIX_SOURCE
3 LDADD
+= -lm
-lcompat_minix
5 # Tests have no manpages
8 # They are all bin-owned; by default normal executable mode
11 # Some have special flags compiling
12 CFLAGS.test51
=-mhard-float
13 CFLAGS.test52
=-mhard-float
15 # Some have special libraries
16 LDADD.test59
= -lmthread
17 LDFLAGS.mod
= -shared
# make shared object
19 # Some have an extra file
20 OBJS.test57
=test57loop.o
23 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 \
24 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 \
25 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 \
30 PROG
+= t10a t11a t11b t40a t40b t40c t40d t40e t40f t60a t60b
35 # Build them as dynamic executables by default if shared libraries
36 # are available; so that the building and executing of dynamic
37 # executables is tested
40 # Add test that must be linked dynamically, and its dynamically loaded
45 .
include <bsd.prog.mk
>
49 chmod
4755 test11 test33 test43 test44 test46 test56 test60 test61 \
53 $(MAKE
) -C select
clean
54 rm -rf
*.o
*.s
*.bak
test?
test?? t10a t11a t11b \
55 t40a t40b t40c t40d t40e t40f \