11d9d041cf
POSIX threads libraries are not available. Add crypto support if the crypto libraries are available. Build dnssec-{keygen,signzone} if crypto is available. Submitted by: (in part) dougb@
34 lines
849 B
Makefile
34 lines
849 B
Makefile
# $FreeBSD$
|
|
|
|
BIND_DIR= ${.CURDIR}/../../contrib/bind9
|
|
LIB_BIND_DIR= ${.CURDIR}/../../lib/bind
|
|
SRCDIR= ${BIND_DIR}/bin/named
|
|
|
|
.include "${LIB_BIND_DIR}/config.mk"
|
|
|
|
PROG= named
|
|
|
|
.PATH: ${SRCDIR}/unix
|
|
SRCS+= os.c
|
|
|
|
.PATH: ${SRCDIR}
|
|
SRCS+= aclconf.c builtin.c client.c config.c control.c \
|
|
controlconf.c interfacemgr.c \
|
|
listenlist.c log.c logconf.c main.c notify.c \
|
|
query.c server.c sortlist.c \
|
|
tkeyconf.c tsigconf.c update.c xfrout.c \
|
|
zoneconf.c \
|
|
lwaddr.c lwresd.c lwdclient.c lwderror.c lwdgabn.c \
|
|
lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c
|
|
|
|
CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include -I${LIB_BIND_DIR}
|
|
|
|
DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
|
|
LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
|
|
|
|
MAN= named.8 lwresd.8 named.conf.5
|
|
|
|
LINKS= ${BINDIR}/named ${BINDIR}/lwresd
|
|
|
|
.include <bsd.prog.mk>
|