WARNS?= 6 and style(9) cleanup.
[dragonfly.git] / test / sysperf / Makefile
CommitLineData
6b055cd4 1#
b372da35 2# $DragonFly: src/test/sysperf/Makefile,v 1.11 2005/03/28 03:13:24 dillon Exp $
6b055cd4
MD
3#
4
b372da35 5TARGETS=/tmp/sc1 /tmp/sc2 /tmp/sc3 /tmp/sc4 /tmp/sc5 \
6b055cd4 6 /tmp/loop1 /tmp/loop2 /tmp/loop3 \
e4e0c22c 7 /tmp/call1 /tmp/call2 /tmp/call3 \
6b055cd4 8 /tmp/mt2 \
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
MD
15
16CFLAGS= -O2 -g -I/usr/src/sys
17
18all: $(TARGETS)
19
9ee18353 20/tmp/sc1: syscall1.c blib.c
6b055cd4
MD
21 $(CC) $(CFLAGS) syscall1.c blib.c -o /tmp/sc1
22
23/tmp/sc2: syscall2.c getuid_msg.c blib.c
24 $(CC) $(CFLAGS) syscall2.c getuid_msg.c blib.c -o /tmp/sc2
25
26/tmp/sc3: syscall3.c getuid_msg.c blib.c
27 $(CC) $(CFLAGS) syscall3.c getuid_msg.c blib.c -o /tmp/sc3
28
6dd7c9c5
MD
29/tmp/sc4: syscall4.c blib.c
30 $(CC) $(CFLAGS) syscall4.c blib.c -o /tmp/sc4
31
b372da35
MD
32/tmp/sc5: syscall5.c blib.c
33 $(CC) $(CFLAGS) syscall5.c blib.c -o /tmp/sc5
34
6b055cd4
MD
35/tmp/fork1: fork1.c blib.c
36 $(CC) $(CFLAGS) fork1.c blib.c -o /tmp/fork1
37
38/tmp/pipe1: pipe1.c blib.c
39 $(CC) $(CFLAGS) pipe1.c blib.c -o /tmp/pipe1
40
54e0874d
MD
41/tmp/pipe2: pipe2.c blib.c
42 $(CC) $(CFLAGS) pipe2.c blib.c -o /tmp/pipe2
43
6b055cd4
MD
44/tmp/loop1: loop1.c blib.c
45 $(CC) $(CFLAGS) loop1.c blib.c -o /tmp/loop1
46
47/tmp/loop2: loop2.c blib.c
48 $(CC) $(CFLAGS) loop2.c blib.c -o /tmp/loop2
49
50/tmp/loop3: loop3.c blib.c
51 $(CC) $(CFLAGS) loop3.c blib.c -o /tmp/loop3
52
e4e0c22c
MD
53/tmp/call1: call1.c blib.c
54 $(CC) $(CFLAGS) call1.c blib.c -o /tmp/call1
55
56/tmp/call2: call2.c blib.c
57 $(CC) $(CFLAGS) call2.c blib.c -o /tmp/call2
58
59/tmp/call3: call3.c blib.c
60 $(CC) $(CFLAGS) call3.c blib.c -o /tmp/call3
61
3885a8e0
MD
62/tmp/mbw1: mbwtest.c
63 $(CC) -O mbwtest.c -o /tmp/mbw1
64
6b055cd4
MD
65/tmp/mt2: mutex2.c blib.c mtx.s
66 $(CC) $(CFLAGS) mutex2.c blib.c mtx.s -o /tmp/mt2
67
68/tmp/sw1: quicksw1.c blib.c sw.S
69 $(CC) $(CFLAGS) -DUSE_ALL quicksw1.c blib.c sw.S -o /tmp/sw1
70
71/tmp/sw2: quicksw1.c blib.c sw.S
72 $(CC) $(CFLAGS) -DUSE_CALLU1 quicksw1.c blib.c sw.S -o /tmp/sw2
73
74/tmp/sw3: quicksw1.c blib.c sw.S
75 $(CC) $(CFLAGS) -DUSE_CALLU2 quicksw1.c blib.c sw.S -o /tmp/sw3
76
3eb3763b
MD
77/tmp/upc1: upcall.S upcall1.c blib.c
78 $(CC) $(CFLAGS) -DUSE_CALLU2 upcall.S upcall1.c blib.c -o /tmp/upc1
79
6157d9fc
MD
80/tmp/exec1: exec1.c blib.c
81 $(CC) $(CFLAGS) -static -DISSTATIC exec1.c blib.c -o /tmp/exec1
82
83/tmp/exec2: exec1.c blib.c
84 $(CC) $(CFLAGS) exec1.c blib.c -o /tmp/exec2
85
ab4bc20f
MD
86/tmp/mem1: memcpy.c memcpy.S blib.c
87 $(CC) $(CFLAGS) memcpy.c memcpy.S blib.c -o /tmp/mem1
88
89/tmp/mem2: memzero.c memzero.S blib.c
90 $(CC) $(CFLAGS) memzero.c memzero.S blib.c -o /tmp/mem2
91
830da309
MD
92/tmp/read1: read1.c blib.c
93 $(CC) $(CFLAGS) read1.c blib.c -o /tmp/read1
94
6b055cd4
MD
95clean:
96 rm -f $(TARGETS)