Initial import from FreeBSD RELENG_4:
[dragonfly.git] / gnu / usr.bin / cpio / Makefile
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/...
3
4 # $FreeBSD: src/gnu/usr.bin/cpio/Makefile,v 1.7.2.1 2001/04/25 12:03:30 ru Exp $
5
6 .PATH:  ${.CURDIR}/../../../contrib/cpio
7
8 SUBDIR= doc
9
10 PROG=   cpio
11
12 CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../../../contrib/cpio 
13 CFLAGS+= -DRETSIGTYPE=void -DHAVE_SYS_MTIO_H=1 -DSTDC_HEADERS=1 \
14          -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_UTIME_H=1 \
15          -DHAVE_STRERROR=1 -DHAVE_VPRINTF=1 -DDIRENT=1 -DHAVE_LCHOWN \
16          -DHAVE_SYS_PARAM_H=1
17
18 SRCS =  copyin.c copyout.c copypass.c defer.c dirname.c dstring.c error.c \
19         filemode.c getopt.c getopt1.c global.c idcache.c main.c makepath.c \
20         rtapelib.c stripslash.c tar.c userspec.c util.c version.c \
21         xmalloc.c xstrdup.c
22
23 .include <bsd.prog.mk>