summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ddns-confgen/Makefile
blob: a33bea33ea756cb4b6cc70a9e64f769a5f3f5dfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $FreeBSD$

BIND_DIR=	${.CURDIR}/../../contrib/bind9
LIB_BIND_REL=	../../lib/bind
LIB_BIND_DIR=	${.CURDIR}/${LIB_BIND_REL}
SRCDIR=		${BIND_DIR}/bin/confgen

.include	"${LIB_BIND_DIR}/config.mk"

PROG=		ddns-confgen

.PATH: ${SRCDIR}/unix
SRCS+=		os.c

.PATH: ${SRCDIR}
SRCS+=		ddns-confgen.c keygen.c util.c

CFLAGS+=	-I${SRCDIR}/unix/include -I${SRCDIR}/include -I${LIB_BIND_DIR}

WARNS?=		3

DPADD+=		${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
LDADD+=		${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}

MAN=		ddns-confgen.8

MANFILTER=	sed -e 's@fI/etc\\fR.*@fI/etc/namedb\\fR@' \
		-e '/^sysconfdir$$/d' \
		-e '/was specified as when BIND was built)/d'

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud