Add UPC_CRITADD, the value that crit_count must be increased or decreased
[dragonfly.git] / test / sysperf / Makefile
CommitLineData
6b055cd4 1#
6dd7c9c5 2# $DragonFly: src/test/sysperf/Makefile,v 1.3 2003/11/19 00:59:19 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
MD
9 /tmp/sw1 /tmp/sw2 /tmp/sw3 \
10 /tmp/mbw1
6b055cd4
MD
11
12CFLAGS= -O2 -g -I/usr/src/sys
13
14all: $(TARGETS)
15
16/tmp/sc1: syscall1.c getuid_msg.c blib.c
17 $(CC) $(CFLAGS) syscall1.c blib.c -o /tmp/sc1
18
19/tmp/sc2: syscall2.c getuid_msg.c blib.c
20 $(CC) $(CFLAGS) syscall2.c getuid_msg.c blib.c -o /tmp/sc2
21
22/tmp/sc3: syscall3.c getuid_msg.c blib.c
23 $(CC) $(CFLAGS) syscall3.c getuid_msg.c blib.c -o /tmp/sc3
24
6dd7c9c5
MD
25/tmp/sc4: syscall4.c blib.c
26 $(CC) $(CFLAGS) syscall4.c blib.c -o /tmp/sc4
27
6b055cd4
MD
28/tmp/fork1: fork1.c blib.c
29 $(CC) $(CFLAGS) fork1.c blib.c -o /tmp/fork1
30
31/tmp/pipe1: pipe1.c blib.c
32 $(CC) $(CFLAGS) pipe1.c blib.c -o /tmp/pipe1
33
34/tmp/loop1: loop1.c blib.c
35 $(CC) $(CFLAGS) loop1.c blib.c -o /tmp/loop1
36
37/tmp/loop2: loop2.c blib.c
38 $(CC) $(CFLAGS) loop2.c blib.c -o /tmp/loop2
39
40/tmp/loop3: loop3.c blib.c
41 $(CC) $(CFLAGS) loop3.c blib.c -o /tmp/loop3
42
3885a8e0
MD
43/tmp/mbw1: mbwtest.c
44 $(CC) -O mbwtest.c -o /tmp/mbw1
45
6b055cd4
MD
46/tmp/mt2: mutex2.c blib.c mtx.s
47 $(CC) $(CFLAGS) mutex2.c blib.c mtx.s -o /tmp/mt2
48
49/tmp/sw1: quicksw1.c blib.c sw.S
50 $(CC) $(CFLAGS) -DUSE_ALL quicksw1.c blib.c sw.S -o /tmp/sw1
51
52/tmp/sw2: quicksw1.c blib.c sw.S
53 $(CC) $(CFLAGS) -DUSE_CALLU1 quicksw1.c blib.c sw.S -o /tmp/sw2
54
55/tmp/sw3: quicksw1.c blib.c sw.S
56 $(CC) $(CFLAGS) -DUSE_CALLU2 quicksw1.c blib.c sw.S -o /tmp/sw3
57
58clean:
59 rm -f $(TARGETS)