NetBSD/gnu/usr.bin/cpio/Makefile
frueauf 40a0bc2475 Add -DHAVE_LCHOWN=1 to CPPFLAGS to ensure that owner/group of symlinks
are properly keept. Closes pr 5595 by Thomas A. Goldthorpe
1998-09-12 21:53:30 +00:00

15 lines
590 B
Makefile

# $NetBSD: Makefile,v 1.6 1998/09/12 21:53:30 frueauf Exp $
PROG= cpio
CPPFLAGS+= -I${.CURDIR} -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 -DHAVE_LCHOWN=1 -DDIRENT=1
SRCS = copyin.c copyout.c copypass.c defer.c dstring.c fnmatch.c global.c \
main.c tar.c util.c error.c filemode.c getopt.c getopt1.c version.c \
rtapelib.c dirname.c idcache.c makepath.c xmalloc.c stripslash.c \
userspec.c xstrdup.c
LDADD+= -lgnumalloc
DPADD+= ${LIBGNUMALLOC}
.include <bsd.prog.mk>