1 2PROG= zstd 3SRCS= \ 4 benchfn.c \ 5 benchzstd.c \ 6 datagen.c \ 7 dibio.c \ 8 fileio.c \ 9 timefn.c \ 10 util.c \ 11 zstdcli.c \ 12 zstdcli_trace.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 29CSTD=c11 30WARNS?= 2 31LIBADD= zstd 32.PATH: ${SRCTOP}/sys/contrib/zstd/programs 33 34.include <bsd.prog.mk> 35