Merge commit 'b3392d84da5bf2162baf937c77e0557f3fd8a52b' into zstd_1.5.2 full changelog: https://github.com/facebook/zstd/compare/v1.4.8...v1.5.2 Updated sys/kern/subr_compressor.c to new API MFC after: 3 days Relnotes: yes Sponsored by: Klara, Inc.
36 lines
716 B
Makefile
36 lines
716 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= zstd
|
|
SRCS= \
|
|
benchfn.c \
|
|
benchzstd.c \
|
|
datagen.c \
|
|
dibio.c \
|
|
fileio.c \
|
|
timefn.c \
|
|
util.c \
|
|
zstdcli.c \
|
|
zstdcli_trace.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
|
|
|
|
CSTD=c11
|
|
WARNS?= 2
|
|
LIBADD= zstd
|
|
.PATH: ${SRCTOP}/sys/contrib/zstd/programs
|
|
|
|
.include <bsd.prog.mk>
|