1# $FreeBSD$ 2 3LIB= zstd 4SRCS= entropy_common.c \ 5 error_private.c \ 6 fse_decompress.c \ 7 pool.c \ 8 threading.c \ 9 xxhash.c \ 10 zstd_common.c \ 11 fse_compress.c \ 12 huf_compress.c \ 13 zstd_compress.c \ 14 zstdmt_compress.c \ 15 huf_decompress.c \ 16 zstd_decompress.c \ 17 zbuff_common.c \ 18 zbuff_compress.c \ 19 zbuff_decompress.c \ 20 cover.c \ 21 divsufsort.c \ 22 zdict.c 23WARNS= 2 24INCS= zstd.h 25CFLAGS+= -I${ZSTDDIR}/lib -I${ZSTDDIR}/lib/common -DXXH_NAMESPACE=ZSTD_ \ 26 -DZSTD_MULTITHREAD=1 27LIBADD= pthread 28 29PRIVATELIB= yes 30 31ZSTDDIR= ${SRCTOP}/contrib/zstd 32.PATH: ${ZSTDDIR}/lib/common ${ZSTDDIR}/lib/compress \ 33 ${ZSTDDIR}/lib/decompress ${ZSTDDIR}/lib/deprecated \ 34 ${ZSTDDIR}/lib/dictBuilder ${ZSTDDIR}/lib 35 36.include <bsd.lib.mk> 37