Clean up the code in bin/ to reduce warnings from GCC3.
[dragonfly.git] / test / sysperf / Makefile
CommitLineData
6b055cd4 1#
3eb3763b 2# $DragonFly: src/test/sysperf/Makefile,v 1.4 2003/11/21 06:58:28 dillon Exp $
6b055cd4
MD
3#
4
6dd7c9c5 5TARGETS=/tmp/sc1 /tmp/sc2 /tmp/sc3 /tmp/sc4 \
6b055cd4
MD
6 /tmp/loop1 /tmp/loop2 /tmp/loop3 \
7 /tmp/mt2 \
8 /tmp/fork1 /tmp/pipe1 \
3885a8e0 9 /tmp/sw1 /tmp/sw2 /tmp/sw3 \
3eb3763b
MD
10 /tmp/mbw1 \
11 /tmp/upc1
6b055cd4
MD
12
13CFLAGS= -O2 -g -I/usr/src/sys
14
15all: $(TARGETS)
16
17/tmp/sc1: syscall1.c getuid_msg.c blib.c
18 $(CC) $(CFLAGS) syscall1.c blib.c -o /tmp/sc1
19
20/tmp/sc2: syscall2.c getuid_msg.c blib.c
21 $(CC) $(CFLAGS) syscall2.c getuid_msg.c blib.c -o /tmp/sc2
22
23/tmp/sc3: syscall3.c getuid_msg.c blib.c
24 $(CC) $(CFLAGS) syscall3.c getuid_msg.c blib.c -o /tmp/sc3
25
6dd7c9c5
MD
26/tmp/sc4: syscall4.c blib.c
27 $(CC) $(CFLAGS) syscall4.c blib.c -o /tmp/sc4
28
6b055cd4
MD
29/tmp/fork1: fork1.c blib.c
30 $(CC) $(CFLAGS) fork1.c blib.c -o /tmp/fork1
31
32/tmp/pipe1: pipe1.c blib.c
33 $(CC) $(CFLAGS) pipe1.c blib.c -o /tmp/pipe1
34
35/tmp/loop1: loop1.c blib.c
36 $(CC) $(CFLAGS) loop1.c blib.c -o /tmp/loop1
37
38/tmp/loop2: loop2.c blib.c
39 $(CC) $(CFLAGS) loop2.c blib.c -o /tmp/loop2
40
41/tmp/loop3: loop3.c blib.c
42 $(CC) $(CFLAGS) loop3.c blib.c -o /tmp/loop3
43
3885a8e0
MD
44/tmp/mbw1: mbwtest.c
45 $(CC) -O mbwtest.c -o /tmp/mbw1
46
6b055cd4
MD
47/tmp/mt2: mutex2.c blib.c mtx.s
48 $(CC) $(CFLAGS) mutex2.c blib.c mtx.s -o /tmp/mt2
49
50/tmp/sw1: quicksw1.c blib.c sw.S
51 $(CC) $(CFLAGS) -DUSE_ALL quicksw1.c blib.c sw.S -o /tmp/sw1
52
53/tmp/sw2: quicksw1.c blib.c sw.S
54 $(CC) $(CFLAGS) -DUSE_CALLU1 quicksw1.c blib.c sw.S -o /tmp/sw2
55
56/tmp/sw3: quicksw1.c blib.c sw.S
57 $(CC) $(CFLAGS) -DUSE_CALLU2 quicksw1.c blib.c sw.S -o /tmp/sw3
58
3eb3763b
MD
59/tmp/upc1: upcall.S upcall1.c blib.c
60 $(CC) $(CFLAGS) -DUSE_CALLU2 upcall.S upcall1.c blib.c -o /tmp/upc1
61
6b055cd4
MD
62clean:
63 rm -f $(TARGETS)