2017-04-15 20:05:22 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= zstd
|
|
|
|
SRCS= bench.c \
|
|
|
|
datagen.c \
|
|
|
|
dibio.c \
|
|
|
|
fileio.c \
|
|
|
|
zstdcli.c
|
|
|
|
|
|
|
|
CFLAGS+= -I${SRCTOP}/contrib/zstd/programs \
|
|
|
|
-I${SRCTOP}/contrib/zstd/lib/common \
|
|
|
|
-I${SRCTOP}/contrib/zstd/lib/compress \
|
|
|
|
-I${SRCTOP}/contrib/zstd/lib/dictBuilder \
|
|
|
|
-I${SRCTOP}/contrib/zstd/lib \
|
2017-05-06 10:26:40 +00:00
|
|
|
-DXXH_NAMESPACE=ZSTD_ \
|
|
|
|
-DHAVE_THREAD=1
|
2017-04-15 21:12:11 +00:00
|
|
|
SCRIPTS= zstdgrep
|
2017-04-15 20:53:51 +00:00
|
|
|
LINKS= ${BINDIR}/zstd ${BINDIR}/unzstd \
|
|
|
|
${BINDIR}/zstd ${BINDIR}/zstdcat
|
|
|
|
MLINKS= zstd.1 unzstd.1 \
|
|
|
|
zstd.1 zstdcat.1
|
2017-04-15 20:05:22 +00:00
|
|
|
|
|
|
|
WARNS= 2
|
|
|
|
LIBADD= zstd
|
|
|
|
.PATH: ${SRCTOP}/contrib/zstd/programs
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|