minix/external/bsd/libarchive/bin/cpio/Makefile
Ben Gras 543adbed3a libarchive import
. clean and nbsd_ports managed import
	. also makes it shared
2012-05-02 13:31:48 +02:00

19 lines
367 B
Makefile

# $NetBSD: Makefile,v 1.6 2011/09/19 01:45:15 christos Exp $
PROG= cpio
SRCS= cmdline.c cpio.c
.include <bsd.init.mk>
.PATH: ${LIBARCHIVEDIR}/cpio
CLEANFILES+= cpio.1
cpio.1: ${LIBARCHIVEDIR}/cpio/bsdcpio.1
${TOOL_CAT} ${LIBARCHIVEDIR}/cpio/bsdcpio.1 > $@
SYMLINKS+=${BINDIR}/cpio /usr/bin/cpio
COPTS.cpio.c += -Wno-format-nonliteral
.include <bsd.prog.mk>