]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - gnu/usr.bin/cpio/Makefile
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / gnu / usr.bin / cpio / Makefile
1 # $FreeBSD$
2
3 CPIODIR= ${.CURDIR}/../../../contrib/cpio
4 .PATH: ${CPIODIR}/lib ${CPIODIR}/src ${CPIODIR}/doc
5
6 SUBDIR= doc
7
8 PROG=   cpio
9 SRCS=   copyin.c \
10         copyout.c \
11         copypass.c \
12         defer.c \
13         dstring.c \
14         filemode.c \
15         global.c \
16         idcache.c \
17         main.c \
18         makepath.c \
19         tar.c \
20         userspec.c \
21         util.c \
22         argp-ba.c \
23         argp-eexst.c \
24         argp-fmtstream.c \
25         argp-fs-xinl.c \
26         argp-help.c \
27         argp-parse.c \
28         argp-pv.c \
29         argp-pvh.c \
30         argp-xinl.c \
31         basename.c \
32         dirname.c \
33         error.c \
34         exitfail.c \
35         full-write.c \
36         getopt.c \
37         getopt1.c \
38         mempcpy.c \
39         rtapelib.c \
40         safe-read.c \
41         safe-write.c \
42         strchrnul.c \
43         stripslash.c \
44         strndup.c \
45         strnlen.c \
46         xalloc-die.c \
47         xmalloc.c \
48         alloca.h \
49         getopt.h
50
51 CLEANFILES+= alloca.h getopt.h
52
53 getopt.h: getopt_.h
54         ln -fs ${.ALLSRC} ${.TARGET}
55
56 alloca.h: alloca_.h
57         ln -fs ${.ALLSRC} ${.TARGET}
58
59 CFLAGS+=-I${.OBJDIR} -I${.CURDIR} -I${CPIODIR}/lib -DHAVE_CONFIG_H \
60         -DHAVE_MKFIFO -DHAVE_SETLOCALE -DHAVE_LSTAT
61
62 .include <bsd.prog.mk>