diff options
Diffstat (limited to 'src/cmd/lp/mkfile')
-rw-r--r-- | src/cmd/lp/mkfile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/cmd/lp/mkfile b/src/cmd/lp/mkfile new file mode 100644 index 00000000..7400e8d5 --- /dev/null +++ b/src/cmd/lp/mkfile @@ -0,0 +1,30 @@ +<$PLAN9/src/mkhdr + +TARG=\ + lpdsend \ + lpsend \ + LOCK \ + lpdaemon + +OFILES= + +HFILES= + +BIN=$PLAN9/lp/bin +<$PLAN9/src/mkmany +CFLAGS=-Dplan9 + +install:V: $PLAN9/lp/bin/lpsend.rc $PLAN9/bin/lp + +$PLAN9/lp/bin/lpsend.rc: lpsend.rc + cp $prereq $target + +lpdsend.$O: lpdsend.c + $CC $CFLAGS -D_POSIX_SOURCE -D_BSD_EXTENSION -D_NET_EXTENSION -DPLAN9 -'DMAXHOSTNAMELEN=64' lpdsend.c + +lpdaemon.$O: lpdaemon.c + $CC $CFLAGS -D_POSIX_SOURCE -DPLAN9 lpdaemon.c + +$PLAN9/bin/lp: lp.rc + cp $prereq $target + |