pnpinfo(8): Oops, add missing semicolons.
[dragonfly.git] / gnu / usr.bin / cpio / Makefile
blob4c64d0b7e76cccd2d2680fc7e7f1b628a45bda10
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
9 SUBDIR= doc
11 PROG= gcpio
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 \
17 -DHAVE_SYS_PARAM_H=1
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 \
22 xmalloc.c xstrdup.c
24 gcpio.1: cpio.1
25 cp ${.CURDIR}/../../../contrib/cpio/cpio.1 ${.TARGET}
27 CLEANFILES+= gcpio.1
29 .if defined(WITH_GCPIO)
30 SYMLINKS= ${BINDIR}/gcpio ${BINDIR}/cpio
31 MLINKS= gcpio.1 cpio.1
32 .endif
34 .include <bsd.prog.mk>