2017-04-15 22:05:22 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= zstd
|
|
|
|
SRCS= bench.c \
|
|
|
|
datagen.c \
|
|
|
|
dibio.c \
|
|
|
|
fileio.c \
|
|
|
|
zstdcli.c
|
|
|
|
|
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
|
|
|
|
|
|
|
WARNS= 2
|
|
|
|
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>
|