aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/zstd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/zstd/Makefile')
-rw-r--r--usr.bin/zstd/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/usr.bin/zstd/Makefile b/usr.bin/zstd/Makefile
new file mode 100644
index 000000000000..ec269807d134
--- /dev/null
+++ b/usr.bin/zstd/Makefile
@@ -0,0 +1,21 @@
+# $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_
+
+WARNS= 2
+LIBADD= zstd
+.PATH: ${SRCTOP}/contrib/zstd/programs
+
+.include <bsd.prog.mk>