]> git.lizzy.rs Git - plan9front.git/blob - sys/src/cmd/lp/mkfile
audiohda: fix syntax error
[plan9front.git] / sys / src / cmd / lp / mkfile
1 </$objtype/mkfile
2
3 TARG=lpdsend \
4         lpsend \
5         LOCK \
6         lpdaemon
7
8 OFILES=
9
10 HFILES=
11
12 BIN=/$objtype/bin/aux
13 </sys/src/cmd/mkmany
14 CFLAGS=-Dplan9
15
16 installall:V:   /sys/lib/lp/bin/lpsend.rc
17
18 /sys/lib/lp/bin/lpsend.rc:      lpsend.rc
19         cp $target $prereq
20         
21 $O.lpdsend:     lpdsend.$O
22         pcc -o $target lpdsend.$O
23
24 lpdsend.$O:     lpdsend.c
25         pcc -c -D_POSIX_SOURCE -D_BSD_EXTENSION -D_NET_EXTENSION -DPLAN9  -'DMAXHOSTNAMELEN=64' lpdsend.c
26
27 $O.lpdaemon:    lpdaemon.$O
28         pcc -o $target lpdaemon.$O
29
30 lpdaemon.$O:    lpdaemon.c
31         pcc -c -D_POSIX_SOURCE -DPLAN9  lpdaemon.c