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