freebsd-skq/usr.bin/zstd/Makefile
imp e8941f3440 Move zstd from contrib to sys/contrib so it can be used in the
kernel. Adjust the Makefiles that referenced it to the new path.

Sponsored by: Netflix
OK'd by: cem@ and AllanJude@
2017-11-14 05:03:38 +00:00

31 lines
663 B
Makefile

# $FreeBSD$
PROG= zstd
SRCS= bench.c \
datagen.c \
dibio.c \
fileio.c \
zstdcli.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
SCRIPTS= zstdgrep
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
WARNS= 2
LIBADD= zstd
.PATH: ${SRCTOP}/sys/contrib/zstd/programs
.include <bsd.prog.mk>