16847ae6c0
pointing to /usr/bin/bsdtar by default. To make it point to /usr/bin/gtar, you can define WITH_GTAR.
16 lines
271 B
Makefile
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>
|
|
|