2017-04-15 20:05:22 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= zstd
|
2018-12-29 21:18:01 +00:00
|
|
|
SRCS= \
|
|
|
|
benchfn.c \
|
|
|
|
benchzstd.c \
|
2017-04-15 20:05:22 +00:00
|
|
|
datagen.c \
|
|
|
|
dibio.c \
|
|
|
|
fileio.c \
|
2019-04-19 02:54:13 +00:00
|
|
|
timefn.c \
|
2018-12-29 21:18:01 +00:00
|
|
|
util.c \
|
2017-04-15 20:05:22 +00:00
|
|
|
zstdcli.c
|
|
|
|
|
2017-11-14 05:03:38 +00:00
|
|
|
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 \
|
2017-05-06 10:26:40 +00:00
|
|
|
-DXXH_NAMESPACE=ZSTD_ \
|
2017-05-06 10:59:10 +00:00
|
|
|
-DHAVE_THREAD=1 \
|
|
|
|
-DZSTD_MULTITHREAD=1
|
2017-04-15 20:53:51 +00:00
|
|
|
LINKS= ${BINDIR}/zstd ${BINDIR}/unzstd \
|
2017-05-06 10:28:57 +00:00
|
|
|
${BINDIR}/zstd ${BINDIR}/zstdcat \
|
|
|
|
${BINDIR}/zstd ${BINDIR}/zstdmt
|
2017-04-15 20:53:51 +00:00
|
|
|
MLINKS= zstd.1 unzstd.1 \
|
2017-05-06 10:28:57 +00:00
|
|
|
zstd.1 zstdcat.1 \
|
|
|
|
zstd.1 zstdmt.1
|
2017-04-15 20:05:22 +00:00
|
|
|
|
|
|
|
WARNS= 2
|
|
|
|
LIBADD= zstd
|
2017-11-14 05:03:38 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/contrib/zstd/programs
|
2017-04-15 20:05:22 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|