Makefile revision 1.10 1 # $NetBSD: Makefile,v 1.10 2000/09/26 16:49:23 phil Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
3
4 # To install on versions prior to BSD 4.4 the following may have to be
5 # defined with CPPFLAGS +=
6 #
7 # -DNET2_STAT Use NET2 or older stat structure. The version of the
8 # stat structure is easily determined by looking at the
9 # basic type of an off_t (often defined in the file:
10 # /usr/include/sys/types.h). If off_t is a long (and is
11 # NOT A quad) then you must define NET2_STAT.
12 # This define is important, as if you do have a quad_t
13 # off_t and define NET2_STAT, pax will compile but will
14 # NOT RUN PROPERLY.
15 #
16 # -DNET2_FTS Use the older NET2 fts. To identify the version,
17 # examine the file: /usr/include/fts.h. If FTS_COMFOLLOW
18 # is not defined then you must define NET2_FTS.
19 # Pax may not compile if this not (un)defined properly.
20 #
21 # -DNET2_REGEX Use the older regexp.h not regex.h. The regex version
22 # is determined by looking at the value returned by
23 # regexec() (man 3 regexec). If regexec return a 1 for
24 # success (and NOT a 0 for success) you have the older
25 # regex routines and must define NET2_REGEX.
26 # Pax may not compile if this not (un)defined properly.
27
28 PROG= pax
29 SRCS= ar_io.c ar_subs.c buf_subs.c cpio.c file_subs.c ftree.c\
30 gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c tables.c\
31 tar.c tty_subs.c
32 # XXX not yet!
33 # MAN= pax.1 tar.1 cpio.1
34 # LINKS+= ${BINDIR}/pax ${BINDIR}/tar
35 # LINKS+= ${BINDIR}/pax ${BINDIR}/cpio
36
37 NOHTML=doc2html-error
38
39 .include <bsd.prog.mk>
40