changeset 430:383fa2304170

Add small dig like tool.
author Aleksandr Rybalko <ray@ddteam.net>
date Thu, 20 Sep 2012 00:31:33 +0300
parents 6fd9c97c2c66
children 207e16371a08
files target/sbin/dig/Makefile
diffstat 1 files changed, 27 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/target/sbin/dig/Makefile	Thu Sep 20 00:31:33 2012 +0300
@@ -0,0 +1,27 @@
+
+CDIR=${.CURDIR}/../../../contrib/spcdns/src
+.PATH: ${CDIR}
+
+
+BINDIR?=	/sbin/
+PROG=		dig
+NO_MAN=
+
+CFLAGS+=	-I. -I${CDIR} 
+CFLAGS+=	-DNDEBUG
+
+SRCS+= 			\
+	codec.c		\
+	mappings.c	\
+	netsimple.c	\
+	test.c
+
+LDADD+=		-lm
+DPADD+=		${LIBM}
+
+ZROUTER_OBJDIR=	${.OBJDIR:C/target\/sbin\/dig//}
+
+.include <bsd.prog.mk>
+
+
+