add option -v
[dfdiff.git] / usr.bin / tar / Makefile
blob47bd07c93db32311de57501c9ae05d52fe4f01e7
1 # $DragonFly: src/usr.bin/tar/Makefile,v 1.13 2007/09/24 02:43:45 pavalos Exp $
3 PROG= bsdtar
4 SRCS= bsdtar.c getdate.y matching.c read.c tree.c util.c write.c
5 DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
6 LDADD= -larchive -lbz2 -lz
7 NOSHARED?= yes
9 CONTRIBDIR= ${.CURDIR}/../../contrib/libarchive-2/tar
10 .PATH: ${CONTRIBDIR}
11 VERSION!= cat ${CONTRIBDIR}/../version
12 CFLAGS+= -I${.OBJDIR} -I${.CURDIR}/../../lib/libarchive -I${CONTRIBDIR} -I-
13 CFLAGS+= -DPLATFORM_CONFIG_H=\"config.h\"
14 CFLAGS+= -DBSDTAR_VERSION_STRING=\"${VERSION}\"
16 SYMLINKS= ${BINDIR}/bsdtar ${BINDIR}/tar
17 MLINKS= bsdtar.1 tar.1
19 .include <bsd.prog.mk>