aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/lp/mkfile
blob: 7400e8d5aedad67d216d76c51733535f7049598c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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