plan9port

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

mkfile (606B)


      1 <$PLAN9/src/mkhdr
      2 
      3 <../config
      4 
      5 COMMONDIR=../common
      6 
      7 SHORTLIB=bio 9
      8 TARG=tr2post
      9 
     10 OFILES=tr2post.$O\
     11 	chartab.$O\
     12 	Bgetfield.$O\
     13 	conv.$O\
     14 	utils.$O\
     15 	devcntl.$O\
     16 	draw.$O\
     17 	readDESC.$O\
     18 	ps_include.$O\
     19 	pictures.$O\
     20 	common.$O\
     21 
     22 HFILES=tr2post.h\
     23 	ps_include.h\
     24 	$COMMONDIR/common.h\
     25 	$COMMONDIR/comments.h\
     26 	$COMMONDIR/path.h\
     27 	$COMMONDIR/ext.h\
     28 
     29 BIN=$POSTBIN
     30 
     31 LIB=../common/libcom.a
     32 
     33 <$PLAN9/src/mkone
     34 
     35 CFLAGS=$CFLAGS -c -D'PROGRAMVERSION="0.1"' -D'DOROUND=1' -I$COMMONDIR
     36 
     37 %.$O:	$COMMONDIR/%.c
     38 	$CC $CFLAGS $COMMONDIR/$stem.c
     39 
     40 test.ps:V: $O.tr2post
     41 	9 troff -ms test.tr | $O.tr2post | psfonts >test.ps
     42