Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
</$objtype/mkfile
2
 
3
TARG=send\
4
	filter
5
 
6
UOFILES=message.$O\
7
	dest.$O\
8
	log.$O\
9
	skipequiv.$O\
10
 
11
OFILES=\
12
	$UOFILES\
13
	../smtp/rfc822.tab.$O\
14
 
15
SMOBJ=main.$O\
16
	bind.$O\
17
	rewrite.$O\
18
	local.$O\
19
	translate.$O\
20
	authorize.$O\
21
	gateway.$O\
22
	cat_mail.$O\
23
 
24
LIB=../common/libcommon.av\
25
 
26
HFILES=send.h\
27
	../common/common.h\
28
	../common/sys.h\
29
 
30
LIB=../common/libcommon.a$O\
31
 
32
BIN=/$objtype/bin/upas
33
UPDATE=\
34
	mkfile\
35
	$HFILES\
36
	${UOFILES:%.$O=%.c}\
37
	${SMOBJ:%.$O=%.c}\
38
	${TARG:%=%.c}\
39
 
40
</sys/src/cmd/mkmany
41
CFLAGS=$CFLAGS -I../common
42
 
43
$O.send: $SMOBJ $OFILES
44
	$LD $LDFLAGS -o $target $prereq $LIB
45
 
46
message.$O:	../smtp/y.tab.h
47
 
48
../smtp/y.tab.h ../smtp/rfc822.tab.$O: ../smtp/rfc822.y
49
	@{
50
		cd ../smtp
51
		mk rfc822.tab.$O
52
	}