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