aboutsummaryrefslogtreecommitdiff
path: root/libexec/flua/libucl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/flua/libucl/Makefile')
-rw-r--r--libexec/flua/libucl/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/libexec/flua/libucl/Makefile b/libexec/flua/libucl/Makefile
index 32d76d1ea1ad..a88c8bda6bfc 100644
--- a/libexec/flua/libucl/Makefile
+++ b/libexec/flua/libucl/Makefile
@@ -1,4 +1,14 @@
SHLIB_NAME= ucl.so
-.include "Makefile.inc"
+WARNS= 2
+
+UCLSRC?= ${SRCTOP}/contrib/libucl
+.PATH: ${UCLSRC}/lua
+SRCS+= lua_ucl.c
+CFLAGS+= \
+ -I${UCLSRC}/include \
+ -I${UCLSRC}/src \
+ -I${UCLSRC}/uthash
+LIBADD+= ucl
+
.include <bsd.lib.mk>