telnetd: filter potentially dangerous env vars passed from telnet client
[dragonfly.git] / usr.bin / tar / Makefile
blob316a6d617eb23a1ff834a844c376e2d071a84a26
1 # $DragonFly: src/usr.bin/tar/Makefile,v 1.16 2008/07/12 14:57:33 pavalos Exp $
3 PROG= bsdtar
4 SRCS= bsdtar.c getdate.y matching.c read.c siginfo.c subst.c \
5 tree.c util.c write.c
6 DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
7 LDADD= -larchive -lbz2 -lz
9 CONTRIBDIR= ${.CURDIR}/../../contrib/libarchive-2/tar
10 .PATH: ${CONTRIBDIR}
11 LIBARCHIVE_VERSION!= cat ${CONTRIBDIR}/../version
12 VERSION!= echo $$((${LIBARCHIVE_VERSION} / 1000000)).$$((${LIBARCHIVE_VERSION} / 1000 % 1000)).$$((${LIBARCHIVE_VERSION} % 1000))
13 CFLAGS+= -I${.OBJDIR} -I${.CURDIR}/../../lib/libarchive -I${CONTRIBDIR}
14 CFLAGS+= -DPLATFORM_CONFIG_H=\"config.h\"
15 CFLAGS+= -DBSDTAR_VERSION_STRING=\"${VERSION}\"
17 SYMLINKS= ${BINDIR}/bsdtar ${BINDIR}/tar
18 MLINKS= bsdtar.1 tar.1
20 .include <bsd.prog.mk>