freebsd-nq/usr.bin/zstd/Makefile
Conrad Meyer 2b9c00cb6b Update to Zstandard 1.4.0
The full release notes can be found on Github:

  https://github.com/facebook/zstd/releases/tag/v1.4.0

Relnotes:	yes
2019-04-19 02:54:13 +00:00

34 lines
687 B
Makefile

# $FreeBSD$
PROG= zstd
SRCS= \
benchfn.c \
benchzstd.c \
datagen.c \
dibio.c \
fileio.c \
timefn.c \
util.c \
zstdcli.c
CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/programs \
-I${SRCTOP}/sys/contrib/zstd/lib/common \
-I${SRCTOP}/sys/contrib/zstd/lib/compress \
-I${SRCTOP}/sys/contrib/zstd/lib/dictBuilder \
-I${SRCTOP}/sys/contrib/zstd/lib \
-DXXH_NAMESPACE=ZSTD_ \
-DHAVE_THREAD=1 \
-DZSTD_MULTITHREAD=1
LINKS= ${BINDIR}/zstd ${BINDIR}/unzstd \
${BINDIR}/zstd ${BINDIR}/zstdcat \
${BINDIR}/zstd ${BINDIR}/zstdmt
MLINKS= zstd.1 unzstd.1 \
zstd.1 zstdcat.1 \
zstd.1 zstdmt.1
WARNS= 2
LIBADD= zstd
.PATH: ${SRCTOP}/sys/contrib/zstd/programs
.include <bsd.prog.mk>