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