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