minix/external/bsd/libarchive/bin/tar/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
406 B
Makefile

# $NetBSD: Makefile,v 1.4 2011/09/09 12:43:14 christos Exp $
PROG= tar
SRCS= bsdtar.c cmdline.c getdate.c read.c subst.c tree.c util.c write.c
.include <bsd.init.mk>
.PATH: ${LIBARCHIVEDIR}/tar
CLEANFILES+= tar.1
tar.1: ${LIBARCHIVEDIR}/tar/bsdtar.1
${TOOL_CAT} ${LIBARCHIVEDIR}/tar/bsdtar.1 > $@
SYMLINKS+=${BINDIR}/tar /usr/bin/tar
COPTS.read.c += -Wno-format-nonliteral
.include <bsd.prog.mk>