kernel: Remove the FFS_ROOT option. It was a no-op since 4.9.
[dragonfly.git] / usr.bin / tar / Makefile
bloba8f9a29399da9c7e0361aab65ad18b2d9e257174
1 PROG= bsdtar
2 SRCS= bsdtar.c cmdline.c creation_set.c read.c subst.c util.c write.c
3 SRCS+= err.c line_reader.c passphrase.c
4 DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBLZMA} ${LIBMD} ${LIBCRYPTO} ${LIBZ}
5 LDADD= -larchive -lbz2 -llzma -lmd -lprivate_crypto -lz
6 LDFLAGS+= ${PRIVATELIB_LDFLAGS}
8 CONTRIBDIR= ${.CURDIR}/../../contrib/libarchive/tar
9 .PATH: ${CONTRIBDIR} ${CONTRIBDIR}/../libarchive_fe
10 LIBARCHIVE_VERSION!= cat ${CONTRIBDIR}/../build/version
11 VERSION!= echo $$((${LIBARCHIVE_VERSION} / 1000000)).$$((${LIBARCHIVE_VERSION} / 1000 % 1000)).$$((${LIBARCHIVE_VERSION} % 1000))
12 CFLAGS+= -I${.CURDIR}/../../lib/libarchive -I${CONTRIBDIR} -I${CONTRIBDIR}/../libarchive_fe
13 CFLAGS+= -DPLATFORM_CONFIG_H=\"config.h\"
14 CFLAGS+= -DBSDTAR_VERSION_STRING=\"${VERSION}\"
16 SYMLINKS= bsdtar ${BINDIR}/tar
17 MLINKS= bsdtar.1 tar.1
19 .include <bsd.prog.mk>