freebsd-nq/usr.bin/tar/Makefile
Tim Kientzle 556d6e605e Add a --version option to bsdtar that prints the versions of
both bsdtar and libarchive.  Of course, this requires that bsdtar
have a version number.  Let's call this 1.00, shall we? ;-)
2004-07-26 03:21:41 +00:00

18 lines
327 B
Makefile

# $FreeBSD$
PROG= bsdtar
VERSION= 1.00
SRCS= bsdtar.c matching.c read.c util.c write.c
WARNS?= 6
DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
LDADD= -larchive -lbz2 -lz
CFLAGS+= -DPACKAGE_VERSION=\"${VERSION}\"
.if !defined(WITH_GTAR)
SYMLINKS= ${BINDIR}/bsdtar ${BINDIR}/tar
MLINKS= bsdtar.1 tar.1
.endif
.include <bsd.prog.mk>