HardenedBSD/usr.bin/zstd/Makefile

31 lines
639 B
Makefile
Raw Normal View History

# $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_ \
2017-05-06 12:59:10 +02:00
-DHAVE_THREAD=1 \
-DZSTD_MULTITHREAD=1
2017-04-15 23:12:11 +02:00
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>