1 # Note that this files is under a "BSD" copyright (c) by David O'Brien 1997,
2 # even though it may live in src/gnu/...
4 # $FreeBSD: src/gnu/usr.bin/cpio/Makefile,v 1.7.2.1 2001/04/25 12:03:30 ru Exp $
5 # $DragonFly: src/gnu/usr.bin/cpio/Makefile,v 1.4 2008/07/26 16:25:31 pavalos Exp $
7 .PATH
: ${.CURDIR
}/..
/..
/..
/contrib
/cpio
13 CFLAGS
+= -I
${.CURDIR
} -I
${.CURDIR
}/..
/..
/..
/contrib
/cpio
14 CFLAGS
+= -DRETSIGTYPE
=void
-DHAVE_SYS_MTIO_H
=1 -DSTDC_HEADERS
=1 \
15 -DHAVE_UNISTD_H
=1 -DHAVE_STRING_H
=1 -DHAVE_FCNTL_H
=1 -DHAVE_UTIME_H
=1 \
16 -DHAVE_STRERROR
=1 -DHAVE_VPRINTF
=1 -DDIRENT
=1 -DHAVE_LCHOWN \
19 SRCS
= copyin.c copyout.c copypass.c defer.c dirname.c dstring.c error.c \
20 filemode.c getopt.c getopt1.c global.c idcache.c main.c makepath.c \
21 rtapelib.c stripslash.c
tar.c userspec.c util.c version.c \
25 cp
${.CURDIR
}/..
/..
/..
/contrib
/cpio
/cpio
.1 ${.TARGET
}
29 .if defined
(WITH_GCPIO
)
30 SYMLINKS
= ${BINDIR}/gcpio
${BINDIR}/cpio
31 MLINKS
= gcpio
.1 cpio
.1
34 .
include <bsd.prog.mk
>