plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

mkfile (568B)


      1 <$PLAN9/src/mkhdr
      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 HFILES=send.h\
     25 	../common/common.h\
     26 	../common/sys.h\
     27 
     28 LIB=../common/libcommon.a
     29 
     30 BIN=$BIN/upas
     31 <$PLAN9/src/mkmany
     32 CFLAGS=$CFLAGS -I../common
     33 
     34 $O.send: $SMOBJ $OFILES
     35 	$LD $LDFLAGS -o $target $prereq $LIB
     36 
     37 message.$O:	../smtp/y.tab.h
     38 
     39 ../smtp/y.tab.h ../smtp/rfc822.tab.$O: ../smtp/rfc822.y
     40 	cd ../smtp
     41 	mk rfc822.tab.$O
     42