summaryrefslogtreecommitdiffstats
path: root/lib/bind/bind9/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bind/bind9/Makefile')
-rw-r--r--lib/bind/bind9/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/bind/bind9/Makefile b/lib/bind/bind9/Makefile
new file mode 100644
index 0000000..d470ed6
--- /dev/null
+++ b/lib/bind/bind9/Makefile
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+BIND_DIR= ${.CURDIR}/../../../contrib/bind9
+LIB_BIND_REL= ..
+LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
+SRCDIR= ${BIND_DIR}/lib/bind9
+
+.include "${LIB_BIND_DIR}/config.mk"
+
+LIB= bind9
+
+.PATH: ${SRCDIR}
+SRCS= check.c getaddresses.c version.c
+
+CFLAGS+= -I${SRCDIR}/include
+
+DPADD= ${PTHREAD_DPADD}
+LDADD= ${PTHREAD_LDADD}
+
+.if defined(WITH_BIND_LIBS)
+INCS= ${SRCDIR}/include/bind9/check.h \
+ ${SRCDIR}/include/bind9/getaddresses.h \
+ ${SRCDIR}/include/bind9/version.h
+
+INCSDIR= ${INCLUDEDIR}/bind9
+.endif
+
+.include <bsd.lib.mk>
OpenPOWER on IntegriCloud