Do some minor critical path performance improvements in the scheduler
[dragonfly.git] / test / sysperf / Makefile
CommitLineData
6b055cd4 1#
54e0874d 2# $DragonFly: src/test/sysperf/Makefile,v 1.6 2004/03/28 09:21:53 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 8 /tmp/mt2 \
54e0874d 9 /tmp/fork1 /tmp/pipe1 /tmp/pipe2 \
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
54e0874d
MD
36/tmp/pipe2: pipe2.c blib.c
37 $(CC) $(CFLAGS) pipe2.c blib.c -o /tmp/pipe2
38
6b055cd4
MD
39/tmp/loop1: loop1.c blib.c
40 $(CC) $(CFLAGS) loop1.c blib.c -o /tmp/loop1
41
42/tmp/loop2: loop2.c blib.c
43 $(CC) $(CFLAGS) loop2.c blib.c -o /tmp/loop2
44
45/tmp/loop3: loop3.c blib.c
46 $(CC) $(CFLAGS) loop3.c blib.c -o /tmp/loop3
47
e4e0c22c
MD
48/tmp/call1: call1.c blib.c
49 $(CC) $(CFLAGS) call1.c blib.c -o /tmp/call1
50
51/tmp/call2: call2.c blib.c
52 $(CC) $(CFLAGS) call2.c blib.c -o /tmp/call2
53
54/tmp/call3: call3.c blib.c
55 $(CC) $(CFLAGS) call3.c blib.c -o /tmp/call3
56
3885a8e0
MD
57/tmp/mbw1: mbwtest.c
58 $(CC) -O mbwtest.c -o /tmp/mbw1
59
6b055cd4
MD
60/tmp/mt2: mutex2.c blib.c mtx.s
61 $(CC) $(CFLAGS) mutex2.c blib.c mtx.s -o /tmp/mt2
62
63/tmp/sw1: quicksw1.c blib.c sw.S
64 $(CC) $(CFLAGS) -DUSE_ALL quicksw1.c blib.c sw.S -o /tmp/sw1
65
66/tmp/sw2: quicksw1.c blib.c sw.S
67 $(CC) $(CFLAGS) -DUSE_CALLU1 quicksw1.c blib.c sw.S -o /tmp/sw2
68
69/tmp/sw3: quicksw1.c blib.c sw.S
70 $(CC) $(CFLAGS) -DUSE_CALLU2 quicksw1.c blib.c sw.S -o /tmp/sw3
71
3eb3763b
MD
72/tmp/upc1: upcall.S upcall1.c blib.c
73 $(CC) $(CFLAGS) -DUSE_CALLU2 upcall.S upcall1.c blib.c -o /tmp/upc1
74
6b055cd4
MD
75clean:
76 rm -f $(TARGETS)