plan9port

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

mkfile (485B)


      1 <$PLAN9/src/mkhdr
      2 
      3 TARG=\
      4 	lpdsend \
      5 	lpsend \
      6 	LOCK \
      7 	lpdaemon
      8 
      9 OFILES=
     10 
     11 HFILES=
     12 
     13 BIN=$PLAN9/lp/bin
     14 <$PLAN9/src/mkmany
     15 CFLAGS=-Dplan9
     16 
     17 install:V:	$PLAN9/lp/bin/lpsend.rc $PLAN9/bin/lp
     18 
     19 $PLAN9/lp/bin/lpsend.rc:	lpsend.rc
     20 	cp $prereq $target
     21 
     22 lpdsend.$O:	lpdsend.c
     23 	$CC $CFLAGS -D_POSIX_SOURCE -D_BSD_EXTENSION -D_NET_EXTENSION -DPLAN9 -'DMAXHOSTNAMELEN=64' lpdsend.c
     24 
     25 lpdaemon.$O:	lpdaemon.c
     26 	$CC $CFLAGS -D_POSIX_SOURCE -DPLAN9  lpdaemon.c
     27 
     28 $PLAN9/bin/lp:	lp.rc
     29 	cp $prereq $target
     30