freebsd-nq/usr.bin/zstd/Makefile
2017-05-06 10:59:10 +00:00

31 lines
639 B
Makefile

# $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 \
-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}/contrib/zstd/programs
.include <bsd.prog.mk>