bd64f29b37
1. Install man files and links for the lwres library. 2. Fix the path in various files to say /etc/namedb/ instead of just /etc. 3. Correctly install the conf file man pages for named and rndc.
38 lines
952 B
Makefile
38 lines
952 B
Makefile
# $FreeBSD$
|
|
|
|
BIND_DIR= ${.CURDIR}/../../contrib/bind9
|
|
LIB_BIND_REL= ../../lib/bind
|
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
|
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}
|
|
|
|
MAN5= named.conf.5
|
|
MAN8= named.8 lwresd.8
|
|
|
|
MANFILTER= sed -e "s@/etc/named\.conf@/etc/namedb/named.conf@g"
|
|
|
|
LINKS= ${BINDIR}/named ${BINDIR}/lwresd
|
|
|
|
.include <bsd.prog.mk>
|