2 # $DragonFly: src/test/sysperf/Makefile,v 1.15 2006/05/18 04:22:46 dillon Exp $
5 TARGETS
=/tmp
/sc1
/tmp
/sc2
/tmp
/sc3
/tmp
/sc4
/tmp
/sc5 \
6 /tmp
/loop1
/tmp
/loop2
/tmp
/loop3 \
7 /tmp
/call1
/tmp
/call2
/tmp
/call3
/tmp
/cmp \
9 /tmp
/fork1
/tmp
/pipe1
/tmp
/pipe2 \
10 /tmp
/sw1
/tmp
/sw2
/tmp
/sw3 \
13 /tmp
/exec1
/tmp
/exec2 \
16 .if defined
(NO_OPTIMIZE
)
21 CFLAGS
= ${COPTFLAGS} -g
-I
/usr
/src
/sys
25 /tmp
/sc1
: syscall1.c blib.c
26 $(CC
) $(CFLAGS
) syscall1.c blib.c
-o
/tmp
/sc1
28 /tmp
/sc2
: syscall2.c getuid_msg.c blib.c
29 $(CC
) $(CFLAGS
) syscall2.c getuid_msg.c blib.c
-o
/tmp
/sc2
31 /tmp
/sc3
: syscall3.c getuid_msg.c blib.c
32 $(CC
) $(CFLAGS
) syscall3.c getuid_msg.c blib.c
-o
/tmp
/sc3
34 /tmp
/sc4
: syscall4.c blib.c
35 $(CC
) $(CFLAGS
) syscall4.c blib.c
-o
/tmp
/sc4
37 /tmp
/sc5
: syscall5.c blib.c
38 $(CC
) $(CFLAGS
) syscall5.c blib.c
-o
/tmp
/sc5
40 /tmp
/fork1
: fork1.c blib.c
41 $(CC
) $(CFLAGS
) fork1.c blib.c
-o
/tmp
/fork1
43 /tmp
/pipe1
: pipe1.c blib.c
44 $(CC
) $(CFLAGS
) pipe1.c blib.c
-o
/tmp
/pipe1
46 /tmp
/pipe2
: pipe2.c blib.c
47 $(CC
) $(CFLAGS
) pipe2.c blib.c
-o
/tmp
/pipe2
49 /tmp
/loop1
: loop1.c blib.c
50 $(CC
) $(CFLAGS
) loop1.c blib.c
-o
/tmp
/loop1
52 /tmp
/loop2
: loop2.c blib.c
53 $(CC
) $(CFLAGS
) loop2.c blib.c
-o
/tmp
/loop2
55 /tmp
/loop3
: loop3.c blib.c
56 $(CC
) $(CFLAGS
) loop3.c blib.c
-o
/tmp
/loop3
58 /tmp
/call1
: call1.c blib.c
59 $(CC
) $(CFLAGS
) call1.c blib.c
-o
/tmp
/call1
61 /tmp
/call2
: call2.c blib.c
62 $(CC
) $(CFLAGS
) call2.c blib.c
-o
/tmp
/call2
64 /tmp
/call3
: call3.c blib.c
65 $(CC
) $(CFLAGS
) call3.c blib.c
-o
/tmp
/call3
67 /tmp
/cmp
: cmp.c blib.c
68 $(CC
) $(CFLAGS
) cmp.c blib.c
-o
/tmp
/cmp
71 $(CC
) -O mbwtest.c
-o
/tmp
/mbw1
73 /tmp
/mt1
: mutex1.c blib.c mtx.s
74 $(CC
) $(CFLAGS
) mutex1.c blib.c mtx.s
-o
/tmp
/mt1
76 /tmp
/mt2
: mutex2.c blib.c mtx.s
77 $(CC
) $(CFLAGS
) mutex2.c blib.c mtx.s
-o
/tmp
/mt2
79 /tmp
/mt3
: mutex3.c blib.c mtx.s
80 $(CC
) $(CFLAGS
) mutex3.c blib.c mtx.s
-o
/tmp
/mt3
82 /tmp
/sw1
: quicksw1.c blib.c sw.S
83 $(CC
) $(CFLAGS
) -DUSE_ALL quicksw1.c blib.c sw.S
-o
/tmp
/sw1
85 /tmp
/sw2
: quicksw1.c blib.c sw.S
86 $(CC
) $(CFLAGS
) -DUSE_CALLU1 quicksw1.c blib.c sw.S
-o
/tmp
/sw2
88 /tmp
/sw3
: quicksw1.c blib.c sw.S
89 $(CC
) $(CFLAGS
) -DUSE_CALLU2 quicksw1.c blib.c sw.S
-o
/tmp
/sw3
91 /tmp
/upc1
: upcall.S upcall1.c blib.c
92 $(CC
) $(CFLAGS
) -DUSE_CALLU2 upcall.S upcall1.c blib.c
-o
/tmp
/upc1
94 /tmp
/exec1
: exec1.c blib.c
95 $(CC
) $(CFLAGS
) -static
-DISSTATIC exec1.c blib.c
-o
/tmp
/exec1
97 /tmp
/exec2
: exec1.c blib.c
98 $(CC
) $(CFLAGS
) exec1.c blib.c
-o
/tmp
/exec2
100 /tmp
/mem1
: memcpy.c memcpy.S blib.c
101 $(CC
) $(CFLAGS
) memcpy.c memcpy.S blib.c
-o
/tmp
/mem1
103 /tmp
/mem2
: memzero.c memzero.S blib.c
104 $(CC
) $(CFLAGS
) memzero.c memzero.S blib.c
-o
/tmp
/mem2
106 /tmp
/read1
: read1.c blib.c
107 $(CC
) $(CFLAGS
) read1.c blib.c
-o
/tmp
/read1