summaryrefslogtreecommitdiffstats
path: root/usr.bin/nsupdate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/nsupdate/Makefile')
-rw-r--r--usr.bin/nsupdate/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/usr.bin/nsupdate/Makefile b/usr.bin/nsupdate/Makefile
new file mode 100644
index 0000000..9073c12
--- /dev/null
+++ b/usr.bin/nsupdate/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+BIND_DIR= ${.CURDIR}/../../contrib/bind9
+LIB_BIND_DIR= ${.CURDIR}/../../lib/bind
+SRCDIR= ${BIND_DIR}/bin/nsupdate
+
+.include "${LIB_BIND_DIR}/config.mk"
+
+PROG= nsupdate
+
+.PATH: ${SRCDIR}
+SRCS+= nsupdate.c
+
+CFLAGS+= -I${SRCDIR}/include
+
+DPADD+= ${BIND_DPADD}
+LDADD+= ${BIND_LDADD}
+
+MAN= nsupdate.8
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud