freebsd-dev/gnu/usr.bin/cpio/Makefile

63 lines
970 B
Makefile
Raw Normal View History

1999-08-27 23:37:10 +00:00
# $FreeBSD$
1997-04-03 11:20:09 +00:00
2005-10-01 04:57:01 +00:00
CPIODIR= ${.CURDIR}/../../../contrib/cpio
.PATH: ${CPIODIR}/lib ${CPIODIR}/src ${CPIODIR}/doc
1997-04-03 11:20:09 +00:00
SUBDIR= doc
PROG= cpio
2005-10-01 04:57:01 +00:00
SRCS= copyin.c \
copyout.c \
copypass.c \
defer.c \
dstring.c \
filemode.c \
global.c \
idcache.c \
main.c \
makepath.c \
tar.c \
userspec.c \
util.c \
argp-ba.c \
argp-eexst.c \
argp-fmtstream.c \
argp-fs-xinl.c \
argp-help.c \
argp-parse.c \
argp-pv.c \
argp-pvh.c \
argp-xinl.c \
basename.c \
dirname.c \
error.c \
exitfail.c \
full-write.c \
getopt.c \
getopt1.c \
mempcpy.c \
rtapelib.c \
safe-read.c \
safe-write.c \
strchrnul.c \
stripslash.c \
strndup.c \
strnlen.c \
xalloc-die.c \
xmalloc.c \
alloca.h \
getopt.h
CLEANFILES+= alloca.h getopt.h
getopt.h: getopt_.h
ln -fs ${.ALLSRC} ${.TARGET}
1997-04-03 11:20:09 +00:00
2005-10-01 04:57:01 +00:00
alloca.h: alloca_.h
ln -fs ${.ALLSRC} ${.TARGET}
1997-04-03 11:20:09 +00:00
CFLAGS+=-I${.OBJDIR} -I${.CURDIR} -I${CPIODIR}/lib -DHAVE_CONFIG_H \
-DHAVE_MKFIFO -DHAVE_SETLOCALE -DHAVE_LSTAT
1997-04-03 11:20:09 +00:00
.include <bsd.prog.mk>