2004-04-05 21:32:18 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= bsdtar
|
2008-07-05 02:09:54 +00:00
|
|
|
BSDTAR_VERSION_STRING=2.5.5
|
2008-05-26 17:10:10 +00:00
|
|
|
SRCS= bsdtar.c getdate.y matching.c read.c siginfo.c subst.c tree.c util.c write.c
|
2005-03-13 23:49:53 +00:00
|
|
|
WARNS?= 5
|
2004-04-12 18:06:07 +00:00
|
|
|
DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
|
|
|
|
LDADD= -larchive -lbz2 -lz
|
2008-01-02 00:27:14 +00:00
|
|
|
CFLAGS+= -DBSDTAR_VERSION_STRING=\"${BSDTAR_VERSION_STRING}\"
|
2007-04-12 04:45:32 +00:00
|
|
|
CFLAGS+= -DPLATFORM_CONFIG_H=\"config_freebsd.h\"
|
2005-03-13 19:55:53 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}
|
2004-11-12 13:28:42 +00:00
|
|
|
SYMLINKS= bsdtar ${BINDIR}/tar
|
2004-04-19 22:09:04 +00:00
|
|
|
MLINKS= bsdtar.1 tar.1
|
|
|
|
|
2008-05-26 17:10:10 +00:00
|
|
|
.PHONY: check test
|
|
|
|
check test: $(PROG) bsdtar.1.gz
|
2008-01-02 00:27:14 +00:00
|
|
|
cd ${.CURDIR}/test && make clean test
|
|
|
|
|
2004-08-07 03:24:49 +00:00
|
|
|
.include <bsd.prog.mk>
|