Change the kernel dev_t, representing a pointer to a specinfo structure,
[dragonfly.git] / test / sysperf / Makefile
CommitLineData
6b055cd4 1#
b13267a5 2# $DragonFly: src/test/sysperf/Makefile,v 1.16 2006/09/10 01:26:41 dillon Exp $
6b055cd4
MD
3#
4
b372da35 5TARGETS=/tmp/sc1 /tmp/sc2 /tmp/sc3 /tmp/sc4 /tmp/sc5 \
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 \
3885a8e0 10 /tmp/sw1 /tmp/sw2 /tmp/sw3 \
3eb3763b 11 /tmp/mbw1 \
6157d9fc 12 /tmp/upc1 \
ab4bc20f
MD
13 /tmp/exec1 /tmp/exec2 \
14 /tmp/mem1 /tmp/mem2
6b055cd4 15
f6fe9cae
HP
16.if defined(NO_OPTIMIZE)
17COPTFLAGS= -O
18.else
19COPTFLAGS= -O2
20.endif
21CFLAGS= ${COPTFLAGS} -g -I/usr/src/sys
6b055cd4
MD
22
23all: $(TARGETS)
24
9ee18353 25/tmp/sc1: syscall1.c blib.c
6b055cd4
MD
26 $(CC) $(CFLAGS) syscall1.c blib.c -o /tmp/sc1
27
28/tmp/sc2: syscall2.c getuid_msg.c blib.c
29 $(CC) $(CFLAGS) syscall2.c getuid_msg.c blib.c -o /tmp/sc2
30
31/tmp/sc3: syscall3.c getuid_msg.c blib.c
32 $(CC) $(CFLAGS) syscall3.c getuid_msg.c blib.c -o /tmp/sc3
33
6dd7c9c5
MD
34/tmp/sc4: syscall4.c blib.c
35 $(CC) $(CFLAGS) syscall4.c blib.c -o /tmp/sc4
36
b372da35
MD
37/tmp/sc5: syscall5.c blib.c
38 $(CC) $(CFLAGS) syscall5.c blib.c -o /tmp/sc5
39
6b055cd4
MD
40/tmp/fork1: fork1.c blib.c
41 $(CC) $(CFLAGS) fork1.c blib.c -o /tmp/fork1
42
43/tmp/pipe1: pipe1.c blib.c
44 $(CC) $(CFLAGS) pipe1.c blib.c -o /tmp/pipe1
45
54e0874d
MD
46/tmp/pipe2: pipe2.c blib.c
47 $(CC) $(CFLAGS) pipe2.c blib.c -o /tmp/pipe2
48
6b055cd4
MD
49/tmp/loop1: loop1.c blib.c
50 $(CC) $(CFLAGS) loop1.c blib.c -o /tmp/loop1
51
52/tmp/loop2: loop2.c blib.c
53 $(CC) $(CFLAGS) loop2.c blib.c -o /tmp/loop2
54
55/tmp/loop3: loop3.c blib.c
56 $(CC) $(CFLAGS) loop3.c blib.c -o /tmp/loop3
57
b13267a5
MD
58/tmp/loop4: loop4.c blib.c
59 $(CC) $(CFLAGS) loop4.c blib.c -o /tmp/loop4
60
e4e0c22c
MD
61/tmp/call1: call1.c blib.c
62 $(CC) $(CFLAGS) call1.c blib.c -o /tmp/call1
63
64/tmp/call2: call2.c blib.c
65 $(CC) $(CFLAGS) call2.c blib.c -o /tmp/call2
66
67/tmp/call3: call3.c blib.c
68 $(CC) $(CFLAGS) call3.c blib.c -o /tmp/call3
69
a99bca8e
HP
70/tmp/cmp: cmp.c blib.c
71 $(CC) $(CFLAGS) cmp.c blib.c -o /tmp/cmp
72
3885a8e0
MD
73/tmp/mbw1: mbwtest.c
74 $(CC) -O mbwtest.c -o /tmp/mbw1
75
8faadb75
MD
76/tmp/mt1: mutex1.c blib.c mtx.s
77 $(CC) $(CFLAGS) mutex1.c blib.c mtx.s -o /tmp/mt1
78
6b055cd4
MD
79/tmp/mt2: mutex2.c blib.c mtx.s
80 $(CC) $(CFLAGS) mutex2.c blib.c mtx.s -o /tmp/mt2
81
5359b6c9
MD
82/tmp/mt3: mutex3.c blib.c mtx.s
83 $(CC) $(CFLAGS) mutex3.c blib.c mtx.s -o /tmp/mt3
84
b13267a5
MD
85/tmp/mt4: mutex4.c blib.c mtx.s
86 $(CC) $(CFLAGS) mutex4.c blib.c mtx.s -o /tmp/mt4
87
6b055cd4
MD
88/tmp/sw1: quicksw1.c blib.c sw.S
89 $(CC) $(CFLAGS) -DUSE_ALL quicksw1.c blib.c sw.S -o /tmp/sw1
90
91/tmp/sw2: quicksw1.c blib.c sw.S
92 $(CC) $(CFLAGS) -DUSE_CALLU1 quicksw1.c blib.c sw.S -o /tmp/sw2
93
94/tmp/sw3: quicksw1.c blib.c sw.S
95 $(CC) $(CFLAGS) -DUSE_CALLU2 quicksw1.c blib.c sw.S -o /tmp/sw3
96
3eb3763b
MD
97/tmp/upc1: upcall.S upcall1.c blib.c
98 $(CC) $(CFLAGS) -DUSE_CALLU2 upcall.S upcall1.c blib.c -o /tmp/upc1
99
6157d9fc
MD
100/tmp/exec1: exec1.c blib.c
101 $(CC) $(CFLAGS) -static -DISSTATIC exec1.c blib.c -o /tmp/exec1
102
103/tmp/exec2: exec1.c blib.c
104 $(CC) $(CFLAGS) exec1.c blib.c -o /tmp/exec2
105
ab4bc20f
MD
106/tmp/mem1: memcpy.c memcpy.S blib.c
107 $(CC) $(CFLAGS) memcpy.c memcpy.S blib.c -o /tmp/mem1
108
109/tmp/mem2: memzero.c memzero.S blib.c
110 $(CC) $(CFLAGS) memzero.c memzero.S blib.c -o /tmp/mem2
111
830da309
MD
112/tmp/read1: read1.c blib.c
113 $(CC) $(CFLAGS) read1.c blib.c -o /tmp/read1
114
6b055cd4
MD
115clean:
116 rm -f $(TARGETS)