97c4c5308b
default "tar" command by defining WITH_BSDTAR. Note: "gtar" and "bsdtar" commands both exist regardless.
16 lines
269 B
Makefile
16 lines
269 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_BSDTAR)
|
|
LINKS= ${BINDIR}/bsdtar ${BINDIR}/tar
|
|
MLINKS= bsdtar.1 tar.1
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|
|
|