a38d1d4c8b
* Implement --use-compress-program using new libarchive feature. * Minor portability improvement by adjusting casts used to print out uids, gids, and device numbers. Thanks to: Joerg Sonnenberger for the --use-compress-program implementation. MFC after: 15 days
16 lines
374 B
Makefile
16 lines
374 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= bsdtar
|
|
VERSION= 2.2.3
|
|
SRCS= bsdtar.c getdate.y matching.c read.c tree.c util.c write.c
|
|
WARNS?= 5
|
|
DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
|
|
LDADD= -larchive -lbz2 -lz
|
|
CFLAGS+= -DPACKAGE_VERSION=\"${VERSION}\"
|
|
CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\"
|
|
CFLAGS+= -I${.CURDIR}
|
|
SYMLINKS= bsdtar ${BINDIR}/tar
|
|
MLINKS= bsdtar.1 tar.1
|
|
|
|
.include <bsd.prog.mk>
|