mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-28 14:24:09 +01:00
31 lines
639 B
Makefile
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>
|