minix/external/bsd/libarchive/bin/tar/Makefile

20 lines
406 B
Makefile
Raw Normal View History

# $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>