Remove libraries libtermcap and libcompat from the linking.
[dragonfly.git] / test / sysperf / Makefile
... / ...
CommitLineData
1#
2# $DragonFly: src/test/sysperf/Makefile,v 1.12 2005/08/03 13:29:45 hmp Exp $
3#
4
5TARGETS=/tmp/sc1 /tmp/sc2 /tmp/sc3 /tmp/sc4 /tmp/sc5 \
6 /tmp/loop1 /tmp/loop2 /tmp/loop3 \
7 /tmp/call1 /tmp/call2 /tmp/call3 \
8 /tmp/mt2 \
9 /tmp/fork1 /tmp/pipe1 /tmp/pipe2 \
10 /tmp/sw1 /tmp/sw2 /tmp/sw3 \
11 /tmp/mbw1 \
12 /tmp/upc1 \
13 /tmp/exec1 /tmp/exec2 \
14 /tmp/mem1 /tmp/mem2
15
16.if defined(NO_OPTIMIZE)
17COPTFLAGS= -O
18.else
19COPTFLAGS= -O2
20.endif
21CFLAGS= ${COPTFLAGS} -g -I/usr/src/sys
22
23all: $(TARGETS)
24
25/tmp/sc1: syscall1.c blib.c
26 $(CC) $(CFLAGS) syscall1.c blib.c -o /tmp/sc1
27
28/tmp/sc2: syscall2.c getuid_msg.c blib.c
29 $(CC) $(CFLAGS) syscall2.c getuid_msg.c blib.c -o /tmp/sc2
30
31/tmp/sc3: syscall3.c getuid_msg.c blib.c
32 $(CC) $(CFLAGS) syscall3.c getuid_msg.c blib.c -o /tmp/sc3
33
34/tmp/sc4: syscall4.c blib.c
35 $(CC) $(CFLAGS) syscall4.c blib.c -o /tmp/sc4
36
37/tmp/sc5: syscall5.c blib.c
38 $(CC) $(CFLAGS) syscall5.c blib.c -o /tmp/sc5
39
40/tmp/fork1: fork1.c blib.c
41 $(CC) $(CFLAGS) fork1.c blib.c -o /tmp/fork1
42
43/tmp/pipe1: pipe1.c blib.c
44 $(CC) $(CFLAGS) pipe1.c blib.c -o /tmp/pipe1
45
46/tmp/pipe2: pipe2.c blib.c
47 $(CC) $(CFLAGS) pipe2.c blib.c -o /tmp/pipe2
48
49/tmp/loop1: loop1.c blib.c
50 $(CC) $(CFLAGS) loop1.c blib.c -o /tmp/loop1
51
52/tmp/loop2: loop2.c blib.c
53 $(CC) $(CFLAGS) loop2.c blib.c -o /tmp/loop2
54
55/tmp/loop3: loop3.c blib.c
56 $(CC) $(CFLAGS) loop3.c blib.c -o /tmp/loop3
57
58/tmp/call1: call1.c blib.c
59 $(CC) $(CFLAGS) call1.c blib.c -o /tmp/call1
60
61/tmp/call2: call2.c blib.c
62 $(CC) $(CFLAGS) call2.c blib.c -o /tmp/call2
63
64/tmp/call3: call3.c blib.c
65 $(CC) $(CFLAGS) call3.c blib.c -o /tmp/call3
66
67/tmp/mbw1: mbwtest.c
68 $(CC) -O mbwtest.c -o /tmp/mbw1
69
70/tmp/mt2: mutex2.c blib.c mtx.s
71 $(CC) $(CFLAGS) mutex2.c blib.c mtx.s -o /tmp/mt2
72
73/tmp/sw1: quicksw1.c blib.c sw.S
74 $(CC) $(CFLAGS) -DUSE_ALL quicksw1.c blib.c sw.S -o /tmp/sw1
75
76/tmp/sw2: quicksw1.c blib.c sw.S
77 $(CC) $(CFLAGS) -DUSE_CALLU1 quicksw1.c blib.c sw.S -o /tmp/sw2
78
79/tmp/sw3: quicksw1.c blib.c sw.S
80 $(CC) $(CFLAGS) -DUSE_CALLU2 quicksw1.c blib.c sw.S -o /tmp/sw3
81
82/tmp/upc1: upcall.S upcall1.c blib.c
83 $(CC) $(CFLAGS) -DUSE_CALLU2 upcall.S upcall1.c blib.c -o /tmp/upc1
84
85/tmp/exec1: exec1.c blib.c
86 $(CC) $(CFLAGS) -static -DISSTATIC exec1.c blib.c -o /tmp/exec1
87
88/tmp/exec2: exec1.c blib.c
89 $(CC) $(CFLAGS) exec1.c blib.c -o /tmp/exec2
90
91/tmp/mem1: memcpy.c memcpy.S blib.c
92 $(CC) $(CFLAGS) memcpy.c memcpy.S blib.c -o /tmp/mem1
93
94/tmp/mem2: memzero.c memzero.S blib.c
95 $(CC) $(CFLAGS) memzero.c memzero.S blib.c -o /tmp/mem2
96
97/tmp/read1: read1.c blib.c
98 $(CC) $(CFLAGS) read1.c blib.c -o /tmp/read1
99
100clean:
101 rm -f $(TARGETS)