aboutsummaryrefslogtreecommitdiff
path: root/lib/libucl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libucl')
-rw-r--r--lib/libucl/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/libucl/Makefile b/lib/libucl/Makefile
new file mode 100644
index 000000000000..62b0d28b886c
--- /dev/null
+++ b/lib/libucl/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+LIBUCL= ${.CURDIR}/../../contrib/libucl
+
+LIB= ucl
+PRIVATELIB= true
+SHLIB_MAJOR= 1
+SRCS= ucl_emitter_streamline.c \
+ ucl_emitter_utils.c \
+ ucl_emitter.c \
+ ucl_hash.c \
+ ucl_parser.c \
+ ucl_schema.c \
+ ucl_util.c \
+ xxhash.c
+
+.PATH: ${LIBUCL}/src
+
+LIBADD= m
+
+WARNS= 2
+CFLAGS+= -I${LIBUCL}/include \
+ -I${LIBUCL}/src \
+ -I${LIBUCL}/uthash \
+ -I${LIBUCL}/klib
+
+.include <bsd.lib.mk>