1# $FreeBSD$ 2 3PROG= zstd 4SRCS= \ 5 benchfn.c \ 6 benchzstd.c \ 7 datagen.c \ 8 dibio.c \ 9 fileio.c \ 10 timefn.c \ 11 util.c \ 12 zstdcli.c 13 14CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/programs \ 15 -I${SRCTOP}/sys/contrib/zstd/lib/common \ 16 -I${SRCTOP}/sys/contrib/zstd/lib/compress \ 17 -I${SRCTOP}/sys/contrib/zstd/lib/dictBuilder \ 18 -I${SRCTOP}/sys/contrib/zstd/lib \ 19 -DXXH_NAMESPACE=ZSTD_ \ 20 -DHAVE_THREAD=1 \ 21 -DZSTD_MULTITHREAD=1 22LINKS= ${BINDIR}/zstd ${BINDIR}/unzstd \ 23 ${BINDIR}/zstd ${BINDIR}/zstdcat \ 24 ${BINDIR}/zstd ${BINDIR}/zstdmt 25MLINKS= zstd.1 unzstd.1 \ 26 zstd.1 zstdcat.1 \ 27 zstd.1 zstdmt.1 28 29WARNS= 2 30LIBADD= zstd 31.PATH: ${SRCTOP}/sys/contrib/zstd/programs 32 33.include <bsd.prog.mk> 34