mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
25630ba729
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.
29 lines
638 B
Makefile
29 lines
638 B
Makefile
# $FreeBSD$
|
|
|
|
BIND_DIR= ${.CURDIR}/../../contrib/bind9
|
|
LIB_BIND_REL= ../../lib/bind
|
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
|
SRCDIR= ${BIND_DIR}/bin/rndc
|
|
|
|
.include "${LIB_BIND_DIR}/config.mk"
|
|
|
|
PROG= rndc
|
|
|
|
.PATH: ${SRCDIR}
|
|
SRCS+= rndc.c util.c
|
|
|
|
CFLAGS+= -I${SRCDIR}/include -I${LIB_BIND_DIR}
|
|
CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include
|
|
|
|
WARNS?= 3
|
|
|
|
DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
|
|
LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
|
|
|
|
MAN= rndc.8 rndc.conf.5
|
|
|
|
MANFILTER= sed -e "s@/etc/rndc\.conf@/etc/namedb/rndc.conf@g" \
|
|
-e "s@/etc/rndc\.key@/etc/namedb/rndc.key@g"
|
|
|
|
.include <bsd.prog.mk>
|