blob: a895cd4a49b3984c33aa1b31b56febee19c842da (
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
|
</$objtype/mkfile
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$O\
BIN=/$objtype/bin/upas
UPDATE=\
mkfile\
$HFILES\
${UOFILES:%.$O=%.c}\
${SMOBJ:%.$O=%.c}\
${TARG:%=%.c}\
</sys/src/cmd/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
}
|