aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas/ml/mkfile
blob: 5142e56f45d3dd97bee0646cc3992839f0596585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
</$objtype/mkfile

TARG=ml\
	mlowner\
	mlmgr\

OFILES=\
	common.$O\

LIB=../common/libcommon.av\

UHFILES= ../common/common.h\
	../common/sys.h\
	dat.h\

HFILES=$UHFILES\
	../smtp/y.tab.h\

LIB=../common/libcommon.a$O\

BIN=/$objtype/bin/upas

UPDATE=\
	mkfile\
	$UHFILES\
	${TARG:%=%.c}\
	${OFILES:%.$O=%.c}\
	../smtp/rfc822.y\

</sys/src/cmd/mkmany
CFLAGS=$CFLAGS -I../common

$O.ml: ../smtp/rfc822.tab.$O
$O.mlowner: ../smtp/rfc822.tab.$O

../smtp/y.tab.h ../smtp/rfc822.tab.$O:
	@{
		cd ../smtp
		mk rfc822.tab.$O
	}