Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/cmd/lp/mkfile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


</$objtype/mkfile

TARG=\
	LOCK \
	lpdaemon \
	lpdsend \
	lpsend \
	tonet \

OFILES=
HFILES=

BIN=/$objtype/bin/aux
</sys/src/cmd/mkmany
CFLAGS=$CFLAGS -Dplan9

installall:V:	/sys/lib/lp/bin/lpsend.rc

/sys/lib/lp/bin/lpsend.rc:	lpsend.rc
	cp $prereq $target

$O.lpdsend:	lpdsend.$O
	pcc -o $target lpdsend.$O

lpdsend.$O:	lpdsend.c
	pcc -c -D_POSIX_SOURCE -D_BSD_EXTENSION -D_NET_EXTENSION -DPLAN9  -'DMAXHOSTNAMELEN=64' lpdsend.c

$O.lpdaemon:	lpdaemon.$O
	pcc -o $target lpdaemon.$O

lpdaemon.$O:	lpdaemon.c
	pcc -c -D_POSIX_SOURCE -DPLAN9  lpdaemon.c

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.