2004-04-05 21:32:18 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= bsdtar
|
2009-04-17 03:45:15 +00:00
|
|
|
BSDTAR_VERSION_STRING=2.7.0
|
2009-03-08 06:03:15 +00:00
|
|
|
SRCS= bsdtar.c cmdline.c getdate.c 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}
|
2009-04-17 03:45:15 +00:00
|
|
|
LDADD= -larchive -lbz2 -lz -lmd -lcrypto
|
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-11-08 04:43:24 +00:00
|
|
|
DEBUG_FLAGS=-g
|
2004-04-19 22:09:04 +00:00
|
|
|
|
2008-05-26 17:10:10 +00:00
|
|
|
.PHONY: check test
|
|
|
|
check test: $(PROG) bsdtar.1.gz
|
2008-08-22 01:31:13 +00:00
|
|
|
cd ${.CURDIR}/test && make test
|
2008-01-02 00:27:14 +00:00
|
|
|
|
2004-08-07 03:24:49 +00:00
|
|
|
.include <bsd.prog.mk>
|