changeset 429:6fd9c97c2c66

Add luadns.
author Aleksandr Rybalko <ray@ddteam.net>
date Thu, 20 Sep 2012 00:30:49 +0300
parents 3dd16388bd10
children 383fa2304170
files target/usr.bin/lua/luadns/Makefile
diffstat 1 files changed, 28 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/target/usr.bin/lua/luadns/Makefile	Thu Sep 20 00:30:49 2012 +0300
@@ -0,0 +1,28 @@
+CDIR=${.CURDIR}/../../../../contrib/spcdns/src
+.PATH: ${CDIR}
+
+LUA_VERSION_NUM= 500
+
+NAME=		dns
+SHLIB_NAME?=	dns.so
+LIBDIR?= 	/usr/lib/lua
+SRCS+= 			\
+	codec.c		\
+	luadns.c	\
+	mappings.c	\
+	netsimple.c	\
+	test.c
+CFLAGS+=	-I. -I${CDIR} -I${.CURDIR}/../lua/
+CFLAGS+=	-DNDEBUG
+NO_MAN=
+
+.include <bsd.lib.mk>
+
+
+
+
+#LDADD+=		-lm
+#DPADD+=		${LIBM}
+
+#ZROUTER_OBJDIR=	${.OBJDIR:C/target\/sbin\/dig//}
+