summaryrefslogtreecommitdiffstats
path: root/usr.sbin/arpaname
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2011-07-16 11:20:54 +0000
committerdougb <dougb@FreeBSD.org>2011-07-16 11:20:54 +0000
commit264979c9d1dc6f5cacff8dc9ec89d787dfa80612 (patch)
tree3215a62144f0dff34bb0f666e3526778f7f62937 /usr.sbin/arpaname
parentf4894c219c9f0fee1e1d5d793748161bba7d4111 (diff)
downloadFreeBSD-src-264979c9d1dc6f5cacff8dc9ec89d787dfa80612.zip
FreeBSD-src-264979c9d1dc6f5cacff8dc9ec89d787dfa80612.tar.gz
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.
Diffstat (limited to 'usr.sbin/arpaname')
-rw-r--r--usr.sbin/arpaname/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/usr.sbin/arpaname/Makefile b/usr.sbin/arpaname/Makefile
new file mode 100644
index 0000000..145d18a
--- /dev/null
+++ b/usr.sbin/arpaname/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= arpaname
+
+.PATH: ${SRCDIR}
+SRCS+= arpaname.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= arpaname.1
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud