aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas/send/mkfile
blob: a49fde1762c2aaf323fcda25732192a4f92e7247 (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
41
42
43
44
45
46
47
48
49
50
51
52
<$PLAN9/src/mkhdr

TARG=send\
	filter

UOFILES=message.$O\
	dest.$O\
	log.$O\
	skipequiv.$O\

OFILES=\
	$UOFILES\
	../smtp/rfc822.tab.$O\

SMOBJ=main.$O\
	bind.$O\
	rewrite.$O\
	local.$O\
	translate.$O\
	authorize.$O\
	gateway.$O\
	cat_mail.$O\

LIB=../common/libcommon.av\

HFILES=send.h\
	../common/common.h\
	../common/sys.h\

LIB=../common/libcommon.a\

BIN=$PLAN9/bin/upas
UPDATE=\
	mkfile\
	$HFILES\
	${UOFILES:%.$O=%.c}\
	${SMOBJ:%.$O=%.c}\
	${TARG:%=%.c}\

<$PLAN9/src/mkmany
CFLAGS=$CFLAGS -I../common

$O.send: $SMOBJ $OFILES
	$LD $LDFLAGS -o $target $prereq $LIB

message.$O:	../smtp/y.tab.h

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