xref: /plan9/sys/src/ape/cmd/pdksh/mkfile (revision fb7f0c934c48abaed6040d054ef636408c3c522d)
1</$objtype/mkfile
2
3BIN=/$objtype/bin/ape
4TARG=sh
5
6OFILES=\
7	alloc.$O\
8	c_ksh.$O\
9	c_sh.$O\
10	c_test.$O\
11	c_ulimit.$O\
12	eval.$O\
13	exec.$O\
14	expr.$O\
15	history.$O\
16	io.$O\
17	jobs.$O\
18	lex.$O\
19	mail.$O\
20	main.$O\
21	misc.$O\
22	path.$O\
23	shf.$O\
24	syn.$O\
25	table.$O\
26	trap.$O\
27	tree.$O\
28	tty.$O\
29	var.$O\
30	version.$O
31
32# Autolib doesn't get this right on the alpha, and I don't understand why. -rsc
33LIB=/$objtype/lib/ape/libap.a /$objtype/lib/ape/libbsd.a
34
35</sys/src/cmd/mkone
36
37CC=pcc
38CFLAGS=-I. -DHAVE_CONFIG_H -c
39
40$O.out: $OFILES $LIB
41	$LD -o $target $prereq
42