xref: /netbsd/external/bsd/libarchive/bin/cpio/Makefile (revision 9840e43c)
1*9840e43cSchristos# $NetBSD: Makefile,v 1.6 2011/09/19 01:45:15 christos Exp $
2fc01aacdSjoerg
322c838d3SjoergPROG=	cpio
4966b72abSjoergSRCS=	cmdline.c cpio.c
5fc01aacdSjoerg
6fc01aacdSjoerg.include <bsd.init.mk>
7fc01aacdSjoerg
8fc01aacdSjoerg.PATH:		${LIBARCHIVEDIR}/cpio
9fc01aacdSjoerg
1022c838d3SjoergCLEANFILES+=	cpio.1
1122c838d3Sjoerg
1222c838d3Sjoergcpio.1: ${LIBARCHIVEDIR}/cpio/bsdcpio.1
1322c838d3Sjoerg	${TOOL_CAT} ${LIBARCHIVEDIR}/cpio/bsdcpio.1 > $@
1422c838d3Sjoerg
1522c838d3SjoergSYMLINKS+=${BINDIR}/cpio /usr/bin/cpio
1622c838d3Sjoerg
17*9840e43cSchristosCOPTS.cpio.c += -Wno-format-nonliteral
18609ae56eSchristos
19fc01aacdSjoerg.include <bsd.prog.mk>
20