diff options
author | rsc <devnull@localhost> | 2005-08-31 02:18:29 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-08-31 02:18:29 +0000 |
commit | 262ecfed9f7e39811f34517d82e848b8ec20f863 (patch) | |
tree | b9947441be3e7b6a3d7c5e944854591e1b027bfb /src/cmd/lp/mkfile | |
parent | 2863ba101f0c9fec34756948e263cd534a3634ee (diff) | |
download | plan9port-262ecfed9f7e39811f34517d82e848b8ec20f863.tar.gz plan9port-262ecfed9f7e39811f34517d82e848b8ec20f863.tar.bz2 plan9port-262ecfed9f7e39811f34517d82e848b8ec20f863.zip |
Initial lp.
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 + |