blob: 5abbeb1ed225ab1d288123a07694dc8f40186c1a (
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$
.include <bsd.own.mk>
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
LIB_BIND_REL= ..
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
SRCDIR= ${BIND_DIR}/lib/bind9
.include "${LIB_BIND_DIR}/config.mk"
LIB= bind9
.PATH: ${SRCDIR}
SRCS= check.c getaddresses.c version.c
CFLAGS+= -I${SRCDIR}/include
CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include
DPADD= ${PTHREAD_DPADD}
LDADD= ${PTHREAD_LDADD}
.if ${MK_BIND_LIBS} != "no"
INCS= ${SRCDIR}/include/bind9/check.h \
${SRCDIR}/include/bind9/getaddresses.h \
${SRCDIR}/include/bind9/version.h
INCSDIR= ${INCLUDEDIR}/bind9
.endif
.include <bsd.lib.mk>
|