1 TARGETS
=/tmp
/sc1
/tmp
/sc2
/tmp
/sc3
/tmp
/sc4
/tmp
/sc5
/tmp
/sc6
/tmp
/sc7 \
2 /tmp
/loop1
/tmp
/loop2
/tmp
/loop3
/tmp
/loop4 \
3 /tmp
/call1
/tmp
/call2
/tmp
/call3
/tmp
/cmp \
4 /tmp
/mt2
/tmp
/mt3
/tmp
/mt4 \
5 /tmp
/fork1
/tmp
/pipe1
/tmp
/pipe2
/tmp
/pipe3 \
8 /tmp
/sw1
/tmp
/sw2
/tmp
/sw3 \
10 /tmp
/exec1
/tmp
/exec2 \
14 /tmp
/lockmgr1
/tmp
/lockmgr2
/tmp
/lockmgr3 \
15 /tmp
/loop900k
/tmp
/pipe900k
/tmp
/sleep900k
17 .if defined
(NO_OPTIMIZE
)
22 CFLAGS
= ${COPTFLAGS} -g
-I
/usr
/src
/sys
26 /tmp
/cld1
: cld1.c blib.c
27 $(CC
) $(CFLAGS
) cld1.c blib.c
-o
/tmp
/cld1
29 /tmp
/sc1
: syscall1.c blib.c
30 $(CC
) $(CFLAGS
) syscall1.c blib.c
-o
/tmp
/sc1
32 /tmp
/sc2
: syscall2.c blib.c
33 $(CC
) $(CFLAGS
) syscall2.c blib.c
-o
/tmp
/sc2
35 /tmp
/sc3
: syscall3.c blib.c
36 $(CC
) $(CFLAGS
) syscall3.c blib.c
-o
/tmp
/sc3
38 /tmp
/sc4
: syscall4.c blib.c
39 $(CC
) $(CFLAGS
) syscall4.c blib.c
-o
/tmp
/sc4
41 /tmp
/sc5
: syscall5.c blib.c
42 $(CC
) $(CFLAGS
) syscall5.c blib.c
-o
/tmp
/sc5
44 /tmp
/sc6
: syscall6.c blib.c
45 $(CC
) $(CFLAGS
) syscall6.c blib.c
-o
/tmp
/sc6
47 /tmp
/sc7
: syscall7.c blib.c
48 $(CC
) $(CFLAGS
) syscall7.c blib.c
-o
/tmp
/sc7
50 /tmp
/fork1
: fork1.c blib.c
51 $(CC
) $(CFLAGS
) fork1.c blib.c
-o
/tmp
/fork1
53 /tmp
/pipe1
: pipe1.c blib.c
54 $(CC
) $(CFLAGS
) pipe1.c blib.c
-o
/tmp
/pipe1
56 /tmp
/pipe2
: pipe2.c blib.c
57 $(CC
) $(CFLAGS
) pipe2.c blib.c
-o
/tmp
/pipe2
59 /tmp
/pipe3
: pipe3.c blib.c
60 $(CC
) $(CFLAGS
) pipe3.c blib.c
-pthread
-o
/tmp
/pipe3
62 /tmp
/umtx1
: umtx1.c blib.c
63 $(CC
) $(CFLAGS
) umtx1.c blib.c
-pthread
-o
/tmp
/umtx1
65 /tmp
/sp1
: socketpair.c blib.c
66 $(CC
) $(CFLAGS
) socketpair.c blib.c
-o
/tmp
/sp1
68 /tmp
/loop1
: loop1.c blib.c
69 $(CC
) $(CFLAGS
) loop1.c blib.c
-o
/tmp
/loop1
71 /tmp
/loop2
: loop2.c blib.c
72 $(CC
) $(CFLAGS
) loop2.c blib.c
-o
/tmp
/loop2
74 /tmp
/loop3
: loop3.c blib.c
75 $(CC
) $(CFLAGS
) loop3.c blib.c
-o
/tmp
/loop3
77 /tmp
/loop4
: loop4.c blib.c
78 $(CC
) $(CFLAGS
) loop4.c blib.c
-o
/tmp
/loop4
80 /tmp
/call1
: call1.c blib.c
81 $(CC
) $(CFLAGS
) call1.c blib.c
-o
/tmp
/call1
83 /tmp
/call2
: call2.c blib.c
84 $(CC
) $(CFLAGS
) call2.c blib.c
-o
/tmp
/call2
86 /tmp
/call3
: call3.c blib.c
87 $(CC
) $(CFLAGS
) call3.c blib.c
-o
/tmp
/call3
89 /tmp
/cmp
: cmp.c blib.c
90 $(CC
) $(CFLAGS
) cmp.c blib.c
-o
/tmp
/cmp
93 $(CC
) -O mbwtest.c
-o
/tmp
/mbw1
95 /tmp
/mt1
: mutex1.c blib.c mtx.s
96 $(CC
) $(CFLAGS
) mutex1.c blib.c mtx.s
-o
/tmp
/mt1
98 /tmp
/mt2
: mutex2.c blib.c mtx.s
99 $(CC
) $(CFLAGS
) mutex2.c blib.c mtx.s
-o
/tmp
/mt2
101 /tmp
/mt3
: mutex3.c blib.c mtx.s
102 $(CC
) $(CFLAGS
) mutex3.c blib.c mtx.s
-o
/tmp
/mt3
104 /tmp
/mt4
: mutex4.c blib.c mtx.s
105 $(CC
) $(CFLAGS
) mutex4.c blib.c mtx.s
-o
/tmp
/mt4
107 /tmp
/sw1
: quicksw1.c blib.c sw.S
108 $(CC
) $(CFLAGS
) -DUSE_ALL quicksw1.c blib.c sw.S
-o
/tmp
/sw1
110 /tmp
/sw2
: quicksw1.c blib.c sw.S
111 $(CC
) $(CFLAGS
) -DUSE_CALLU1 quicksw1.c blib.c sw.S
-o
/tmp
/sw2
113 /tmp
/sw3
: quicksw1.c blib.c sw.S
114 $(CC
) $(CFLAGS
) -DUSE_CALLU2 quicksw1.c blib.c sw.S
-o
/tmp
/sw3
116 /tmp
/exec1
: exec1.c blib.c
117 $(CC
) $(CFLAGS
) -static
-DISSTATIC exec1.c blib.c
-o
/tmp
/exec1
119 /tmp
/exec2
: exec1.c blib.c
120 $(CC
) $(CFLAGS
) exec1.c blib.c
-o
/tmp
/exec2
122 /tmp
/mem1
: memcpy.c blib.c
123 $(CC
) $(CFLAGS
) memcpy.c blib.c
-o
/tmp
/mem1
125 /tmp
/mem2
: memzero.c blib.c
126 $(CC
) $(CFLAGS
) memzero.c blib.c
-o
/tmp
/mem2
128 /tmp
/read1
: read1.c blib.c
129 $(CC
) $(CFLAGS
) read1.c blib.c
-o
/tmp
/read1
131 /tmp
/rr1
: randread.c blib.c
132 $(CC
) $(CFLAGS
) randread.c blib.c
-o
/tmp
/rr1
134 /tmp
/lockmgr1
: lockmgr1.c blib.c
135 $(CC
) lockmgr1.c blib.c
-o
/tmp
/lockmgr1
137 /tmp
/lockmgr2
: lockmgr2.c blib.c
138 $(CC
) lockmgr2.c blib.c
-o
/tmp
/lockmgr2
140 /tmp
/lockmgr3
: lockmgr3.c blib.c
141 $(CC
) lockmgr3.c blib.c
-o
/tmp
/lockmgr3
143 /tmp
/loop900k
: loop900k.c
144 $(CC
) $(CFLAGS
) loop900k.c
-o
/tmp
/loop900k
-static
146 /tmp
/pipe900k
: pipe900k.c
147 $(CC
) $(CFLAGS
) pipe900k.c
-o
/tmp
/pipe900k
-static
149 /tmp
/sleep900k
: sleep900k.c
150 $(CC
) $(CFLAGS
) sleep900k.c
-o
/tmp
/sleep900k
-static