sysperf - Add tests for clock_gettime(CLOCK_*_FAST...) modes
[dragonfly.git] / test / sysperf / Makefile
CommitLineData
6b055cd4 1#
bb6aee91 2# $DragonFly: src/test/sysperf/Makefile,v 1.17 2008/05/09 15:49:42 dillon Exp $
6b055cd4
MD
3#
4
179efaf0 5TARGETS=/tmp/sc1 /tmp/sc2 /tmp/sc3 /tmp/sc4 /tmp/sc5 /tmp/sc6 /tmp/sc7 \
b13267a5 6 /tmp/loop1 /tmp/loop2 /tmp/loop3 /tmp/loop4 \
a99bca8e 7 /tmp/call1 /tmp/call2 /tmp/call3 /tmp/cmp \
b13267a5 8 /tmp/mt2 /tmp/mt3 /tmp/mt4 \
54e0874d 9 /tmp/fork1 /tmp/pipe1 /tmp/pipe2 \
d93c720c 10 /tmp/sp1 \
3885a8e0 11 /tmp/sw1 /tmp/sw2 /tmp/sw3 \
3eb3763b 12 /tmp/mbw1 \
6157d9fc 13 /tmp/upc1 \
ab4bc20f 14 /tmp/exec1 /tmp/exec2 \
bb6aee91 15 /tmp/mem1 /tmp/mem2 \
75a0ef5d
MD
16 /tmp/cld1 \
17 /tmp/rr1
6b055cd4 18
f6fe9cae
HP
19.if defined(NO_OPTIMIZE)
20COPTFLAGS= -O
21.else
22COPTFLAGS= -O2
23.endif
24CFLAGS= ${COPTFLAGS} -g -I/usr/src/sys
6b055cd4
MD
25
26all: $(TARGETS)
27
bb6aee91
MD
28/tmp/cld1: cld1.c blib.c
29 $(CC) $(CFLAGS) cld1.c blib.c -o /tmp/cld1
30
9ee18353 31/tmp/sc1: syscall1.c blib.c
6b055cd4
MD
32 $(CC) $(CFLAGS) syscall1.c blib.c -o /tmp/sc1
33
34/tmp/sc2: syscall2.c getuid_msg.c blib.c
35 $(CC) $(CFLAGS) syscall2.c getuid_msg.c blib.c -o /tmp/sc2
36
37/tmp/sc3: syscall3.c getuid_msg.c blib.c
38 $(CC) $(CFLAGS) syscall3.c getuid_msg.c blib.c -o /tmp/sc3
39
6dd7c9c5
MD
40/tmp/sc4: syscall4.c blib.c
41 $(CC) $(CFLAGS) syscall4.c blib.c -o /tmp/sc4
42
b372da35
MD
43/tmp/sc5: syscall5.c blib.c
44 $(CC) $(CFLAGS) syscall5.c blib.c -o /tmp/sc5
45
179efaf0
MD
46/tmp/sc6: syscall6.c blib.c
47 $(CC) $(CFLAGS) syscall6.c blib.c -o /tmp/sc6
48
49/tmp/sc7: syscall7.c blib.c
50 $(CC) $(CFLAGS) syscall7.c blib.c -o /tmp/sc7
51
6b055cd4
MD
52/tmp/fork1: fork1.c blib.c
53 $(CC) $(CFLAGS) fork1.c blib.c -o /tmp/fork1
54
55/tmp/pipe1: pipe1.c blib.c
56 $(CC) $(CFLAGS) pipe1.c blib.c -o /tmp/pipe1
57
54e0874d
MD
58/tmp/pipe2: pipe2.c blib.c
59 $(CC) $(CFLAGS) pipe2.c blib.c -o /tmp/pipe2
60
d93c720c
MD
61/tmp/sp1: socketpair.c blib.c
62 $(CC) $(CFLAGS) socketpair.c blib.c -o /tmp/sp1
63
6b055cd4
MD
64/tmp/loop1: loop1.c blib.c
65 $(CC) $(CFLAGS) loop1.c blib.c -o /tmp/loop1
66
67/tmp/loop2: loop2.c blib.c
68 $(CC) $(CFLAGS) loop2.c blib.c -o /tmp/loop2
69
70/tmp/loop3: loop3.c blib.c
71 $(CC) $(CFLAGS) loop3.c blib.c -o /tmp/loop3
72
b13267a5
MD
73/tmp/loop4: loop4.c blib.c
74 $(CC) $(CFLAGS) loop4.c blib.c -o /tmp/loop4
75
e4e0c22c
MD
76/tmp/call1: call1.c blib.c
77 $(CC) $(CFLAGS) call1.c blib.c -o /tmp/call1
78
79/tmp/call2: call2.c blib.c
80 $(CC) $(CFLAGS) call2.c blib.c -o /tmp/call2
81
82/tmp/call3: call3.c blib.c
83 $(CC) $(CFLAGS) call3.c blib.c -o /tmp/call3
84
a99bca8e
HP
85/tmp/cmp: cmp.c blib.c
86 $(CC) $(CFLAGS) cmp.c blib.c -o /tmp/cmp
87
3885a8e0
MD
88/tmp/mbw1: mbwtest.c
89 $(CC) -O mbwtest.c -o /tmp/mbw1
90
8faadb75
MD
91/tmp/mt1: mutex1.c blib.c mtx.s
92 $(CC) $(CFLAGS) mutex1.c blib.c mtx.s -o /tmp/mt1
93
6b055cd4
MD
94/tmp/mt2: mutex2.c blib.c mtx.s
95 $(CC) $(CFLAGS) mutex2.c blib.c mtx.s -o /tmp/mt2
96
5359b6c9
MD
97/tmp/mt3: mutex3.c blib.c mtx.s
98 $(CC) $(CFLAGS) mutex3.c blib.c mtx.s -o /tmp/mt3
99
b13267a5
MD
100/tmp/mt4: mutex4.c blib.c mtx.s
101 $(CC) $(CFLAGS) mutex4.c blib.c mtx.s -o /tmp/mt4
102
6b055cd4
MD
103/tmp/sw1: quicksw1.c blib.c sw.S
104 $(CC) $(CFLAGS) -DUSE_ALL quicksw1.c blib.c sw.S -o /tmp/sw1
105
106/tmp/sw2: quicksw1.c blib.c sw.S
107 $(CC) $(CFLAGS) -DUSE_CALLU1 quicksw1.c blib.c sw.S -o /tmp/sw2
108
109/tmp/sw3: quicksw1.c blib.c sw.S
110 $(CC) $(CFLAGS) -DUSE_CALLU2 quicksw1.c blib.c sw.S -o /tmp/sw3
111
3eb3763b
MD
112/tmp/upc1: upcall.S upcall1.c blib.c
113 $(CC) $(CFLAGS) -DUSE_CALLU2 upcall.S upcall1.c blib.c -o /tmp/upc1
114
6157d9fc
MD
115/tmp/exec1: exec1.c blib.c
116 $(CC) $(CFLAGS) -static -DISSTATIC exec1.c blib.c -o /tmp/exec1
117
118/tmp/exec2: exec1.c blib.c
119 $(CC) $(CFLAGS) exec1.c blib.c -o /tmp/exec2
120
7141674d
MD
121/tmp/mem1: memcpy.c blib.c
122 $(CC) $(CFLAGS) memcpy.c blib.c -o /tmp/mem1
ab4bc20f 123
7141674d
MD
124/tmp/mem2: memzero.c blib.c
125 $(CC) $(CFLAGS) memzero.c blib.c -o /tmp/mem2
ab4bc20f 126
830da309
MD
127/tmp/read1: read1.c blib.c
128 $(CC) $(CFLAGS) read1.c blib.c -o /tmp/read1
129
75a0ef5d
MD
130/tmp/rr1: randread.c blib.c
131 $(CC) $(CFLAGS) randread.c blib.c -o /tmp/rr1
132
6b055cd4
MD
133clean:
134 rm -f $(TARGETS)