1 # $NetBSD: Makefile,v 1.39 2010/04/23 19:41:02 joerg Exp $
2 # @(#)Makefile 8.1 (Berkeley) 5/31/93
7 SRCS
= ar_io.c ar_subs.c buf_subs.c file_subs.c ftree.c\
8 gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c tables.c\
11 .if defined
(SMALLPROG
)
12 CPPFLAGS
+= -DSMALL
-DNO_CPIO
14 SRCS
+= getid.c spec.c misc.c pack_dev.c cpio.c
15 CPPFLAGS
+= -I
${NETBSDSRCDIR}/usr.sbin
/mtree \
16 -I
${NETBSDSRCDIR}/sbin
/mknod
17 .PATH
: ${NETBSDSRCDIR}/usr.sbin
/mtree \
18 ${NETBSDSRCDIR}/sbin
/mknod
20 .if
(${HOSTPROG
:U
} == "")
26 MAN
= pax
.1 tar.1 cpio
.1
32 # XXX: Interix does not have it; we need a conditional for it.
33 CPPFLAGS
+= -DHAVE_SYS_MTIO_H
35 .if
${MKBSDTAR} == "no"
36 LINKS
+= ${BINDIR}/pax
${BINDIR}/tar
37 SYMLINKS
+=${BINDIR}/tar /usr
/bin
/tar
39 SYMLINKS
+=${BINDIR}/tar /usr
/bin
/bsdtar
42 LINKS
+= ${BINDIR}/pax
${BINDIR}/cpio
43 SYMLINKS
+=${BINDIR}/cpio
/usr
/bin
/cpio
47 .if
!defined
(HOSTPROG
) && !defined
(SMALLPROG
)
48 CPPFLAGS
+= -DSUPPORT_RMT
57 MLINKS
+= pax
.1 bsdtar
.1
58 .
endif # defined(__MINIX)
60 .
include <bsd.prog.mk
>