summaryrefslogtreecommitdiffstats
path: root/lib/libucl
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-02-23 21:49:21 +0000
committerbapt <bapt@FreeBSD.org>2014-02-23 21:49:21 +0000
commit0a425cf1e3faed8eecf0106bfb85374928444fc6 (patch)
tree1312e87adddce2910d122bb00b6c8317b22b228e /lib/libucl
parent6647417a808dd7d031f6509b44035983283fb532 (diff)
parent099f74c08841892dacaea126a3a8c312883bfed0 (diff)
downloadFreeBSD-src-0a425cf1e3faed8eecf0106bfb85374928444fc6.zip
FreeBSD-src-0a425cf1e3faed8eecf0106bfb85374928444fc6.tar.gz
Import libucl into head
UCL is heavily infused by nginx configuration as the example of a convenient configuration system. However, UCL is fully compatible with JSON format and is able to parse json files. UCL is used by pkg(8) for its configuration file as well for the manifest format in packages, it will be used in base for the pkg boostrap (signature checking and configuration file parsing.) libucl has been developped and is maintained by vsevolod@
Diffstat (limited to 'lib/libucl')
-rw-r--r--lib/libucl/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/libucl/Makefile b/lib/libucl/Makefile
new file mode 100644
index 0000000..8e7bee5
--- /dev/null
+++ b/lib/libucl/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+LIBUCL= ${.CURDIR}/../../contrib/libucl
+
+LIB= ucl
+PRIVATELIB= true
+SHLIB_MAJOR= 1
+SRCS= ucl_emitter.c \
+ ucl_hash.c \
+ ucl_parser.c \
+ ucl_util.c \
+ xxhash.c
+
+.PATH: ${LIBUCL}/src
+
+WARNS= 2
+CFLAGS+= -I${LIBUCL}/include \
+ -I${LIBUCL}/src \
+ -I${LIBUCL}/uthash
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud