freebsd-dev/usr.bin/tar/Makefile
Tim Kientzle 16847ae6c0 Make bsdtar the default system tar. This makes /usr/bin/tar a symlink
pointing to /usr/bin/bsdtar by default.  To make it point to /usr/bin/gtar,
you can define WITH_GTAR.
2004-07-17 06:03:47 +00:00

16 lines
271 B
Makefile

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