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