]> git.lizzy.rs Git - plan9front.git/blob - sys/src/ape/cmd/pax/mkfile
?a: getc() needs to increment lineno if it gets \n from peekc
[plan9front.git] / sys / src / ape / cmd / pax / mkfile
1 APE=/sys/src/ape
2 <$APE/config
3
4 TARG=pax
5 OFILES=pax.$O\
6         append.$O\
7         buffer.$O\
8         cpio.$O\
9         create.$O\
10         extract.$O\
11         fileio.$O\
12         link.$O\
13         list.$O\
14         mem.$O\
15         namelist.$O\
16         names.$O\
17         pass.$O\
18         pathname.$O\
19         port.$O\
20         regexp.$O\
21         replace.$O\
22         tar.$O\
23         ttyio.$O\
24         warn.$O\
25         wildmat.$O\
26
27 HFILES=config.h\
28         func.h\
29         limits.h\
30         port.h\
31         pax.h\
32
33 BIN=$APEBIN
34 </sys/src/cmd/mkone
35
36 CFLAGS =-c -D_POSIX_SOURCE -B -DPATH_MAX=1024
37
38 $O.out: $OFILES $LIB
39         $LD $LDFLAGS -o $target $prereq -lv