aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/zstd/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-04-15 20:05:22 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-04-15 20:05:22 +0000
commite229090553472c042d962d09de7046d625ef8df5 (patch)
treee7e756f944e42fddc570c9aa2444b667916cf401 /usr.bin/zstd/Makefile
parentf027ee38b7a1c914667952d1abc738d1f94a2370 (diff)
parenta19eddc34b6e8db043dbf6180c90e9bbe531dc03 (diff)
downloadsrc-e229090553472c042d962d09de7046d625ef8df5.tar.gz
src-e229090553472c042d962d09de7046d625ef8df5.zip
Import zstandard 1.1.4 in base
zstandard is a new compression library/tool which is very fast at compression/decompression For now import as a private library
Notes
Notes: svn path=/head/; revision=316978
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>