test 2
[dragonfly.git] / test / sysperf / Makefile
CommitLineData
6b055cd4 1#
9ee18353 2# $DragonFly: src/test/sysperf/Makefile,v 1.10 2004/10/31 20:19:23 eirikn 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 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
6b055cd4
MD
32/tmp/fork1: fork1.c blib.c
33 $(CC) $(CFLAGS) fork1.c blib.c -o /tmp/fork1
34
35/tmp/pipe1: pipe1.c blib.c
36 $(CC) $(CFLAGS) pipe1.c blib.c -o /tmp/pipe1
37
54e0874d
MD
38/tmp/pipe2: pipe2.c blib.c
39 $(CC) $(CFLAGS) pipe2.c blib.c -o /tmp/pipe2
40
6b055cd4
MD
41/tmp/loop1: loop1.c blib.c
42 $(CC) $(CFLAGS) loop1.c blib.c -o /tmp/loop1
43
44/tmp/loop2: loop2.c blib.c
45 $(CC) $(CFLAGS) loop2.c blib.c -o /tmp/loop2
46
47/tmp/loop3: loop3.c blib.c
48 $(CC) $(CFLAGS) loop3.c blib.c -o /tmp/loop3
49
e4e0c22c
MD
50/tmp/call1: call1.c blib.c
51 $(CC) $(CFLAGS) call1.c blib.c -o /tmp/call1
52
53/tmp/call2: call2.c blib.c
54 $(CC) $(CFLAGS) call2.c blib.c -o /tmp/call2
55
56/tmp/call3: call3.c blib.c
57 $(CC) $(CFLAGS) call3.c blib.c -o /tmp/call3
58
3885a8e0
MD
59/tmp/mbw1: mbwtest.c
60 $(CC) -O mbwtest.c -o /tmp/mbw1
61
6b055cd4
MD
62/tmp/mt2: mutex2.c blib.c mtx.s
63 $(CC) $(CFLAGS) mutex2.c blib.c mtx.s -o /tmp/mt2
64
65/tmp/sw1: quicksw1.c blib.c sw.S
66 $(CC) $(CFLAGS) -DUSE_ALL quicksw1.c blib.c sw.S -o /tmp/sw1
67
68/tmp/sw2: quicksw1.c blib.c sw.S
69 $(CC) $(CFLAGS) -DUSE_CALLU1 quicksw1.c blib.c sw.S -o /tmp/sw2
70
71/tmp/sw3: quicksw1.c blib.c sw.S
72 $(CC) $(CFLAGS) -DUSE_CALLU2 quicksw1.c blib.c sw.S -o /tmp/sw3
73
3eb3763b
MD
74/tmp/upc1: upcall.S upcall1.c blib.c
75 $(CC) $(CFLAGS) -DUSE_CALLU2 upcall.S upcall1.c blib.c -o /tmp/upc1
76
6157d9fc
MD
77/tmp/exec1: exec1.c blib.c
78 $(CC) $(CFLAGS) -static -DISSTATIC exec1.c blib.c -o /tmp/exec1
79
80/tmp/exec2: exec1.c blib.c
81 $(CC) $(CFLAGS) exec1.c blib.c -o /tmp/exec2
82
ab4bc20f
MD
83/tmp/mem1: memcpy.c memcpy.S blib.c
84 $(CC) $(CFLAGS) memcpy.c memcpy.S blib.c -o /tmp/mem1
85
86/tmp/mem2: memzero.c memzero.S blib.c
87 $(CC) $(CFLAGS) memzero.c memzero.S blib.c -o /tmp/mem2
88
830da309
MD
89/tmp/read1: read1.c blib.c
90 $(CC) $(CFLAGS) read1.c blib.c -o /tmp/read1
91
6b055cd4
MD
92clean:
93 rm -f $(TARGETS)