aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/named-journalprint/Makefile
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2011-07-16 11:20:54 +0000
committerDoug Barton <dougb@FreeBSD.org>2011-07-16 11:20:54 +0000
commit25630ba729c2d175add02aae3bf5bc66a89d2e3e (patch)
tree3215a62144f0dff34bb0f666e3526778f7f62937 /usr.sbin/named-journalprint/Makefile
parent7afecc12f4d7b56f03438d5f41b837b9696f0a94 (diff)
downloadsrc-25630ba729c2d175add02aae3bf5bc66a89d2e3e.tar.gz
src-25630ba729c2d175add02aae3bf5bc66a89d2e3e.zip
bmake and other updates necessary for the BIND 9.8.x upgrade.
This includes a structural change regarding atomic ops. Previously they were enabled on all platforms unless we had knowledge that they did not work. However both work performed by marius@ on sparc64 and the fact that the 9.8.x branch is fussier in this area has demonstrated that this is not a safe approach. So I've modified a patch provided by marius to enable them for i386, amd64, and ia64 only.
Notes
Notes: svn path=/head/; revision=224093
Diffstat (limited to 'usr.sbin/named-journalprint/Makefile')
-rw-r--r--usr.sbin/named-journalprint/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/usr.sbin/named-journalprint/Makefile b/usr.sbin/named-journalprint/Makefile
new file mode 100644
index 000000000000..cdf40164c093
--- /dev/null
+++ b/usr.sbin/named-journalprint/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+BIND_DIR= ${.CURDIR}/../../contrib/bind9
+LIB_BIND_REL= ../../lib/bind
+LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
+SRCDIR= ${BIND_DIR}/bin/tools
+
+.include "${LIB_BIND_DIR}/config.mk"
+
+PROG= named-journalprint
+
+.PATH: ${SRCDIR}
+SRCS+= named-journalprint.c
+
+CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include
+
+DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
+LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
+
+WARNS?= 3
+
+MAN= named-journalprint.8
+
+.include <bsd.prog.mk>