mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 11:14:18 +01:00
e9ac41698b
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
34 lines
703 B
Makefile
34 lines
703 B
Makefile
PROG= zstd
|
|
SRCS= \
|
|
benchfn.c \
|
|
benchzstd.c \
|
|
datagen.c \
|
|
dibio.c \
|
|
fileio.c \
|
|
timefn.c \
|
|
util.c \
|
|
zstdcli.c \
|
|
zstdcli_trace.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
|
|
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
|
|
|
|
CSTD=c11
|
|
WARNS?= 2
|
|
LIBADD= zstd
|
|
.PATH: ${SRCTOP}/sys/contrib/zstd/programs
|
|
|
|
.include <bsd.prog.mk>
|