]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - lib/bind/bind9/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / lib / bind / bind9 / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 BIND_DIR=       ${.CURDIR}/../../../contrib/bind9
6 LIB_BIND_REL=   ..
7 LIB_BIND_DIR=   ${.CURDIR}/${LIB_BIND_REL}
8 SRCDIR=         ${BIND_DIR}/lib/bind9
9
10 .include        "${LIB_BIND_DIR}/config.mk"
11
12 LIB=            bind9
13
14 .PATH:          ${SRCDIR}
15 SRCS=           check.c getaddresses.c version.c
16
17 CFLAGS+=        -I${SRCDIR}/include
18 CFLAGS+=        -I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include
19
20 DPADD=          ${PTHREAD_DPADD}
21 LDADD=          ${PTHREAD_LDADD}
22
23 .if ${MK_BIND_LIBS} != "no"
24 INCS=           ${SRCDIR}/include/bind9/check.h \
25                 ${SRCDIR}/include/bind9/getaddresses.h \
26                 ${SRCDIR}/include/bind9/version.h
27
28 INCSDIR=        ${INCLUDEDIR}/bind9
29 .endif
30
31 .include <bsd.lib.mk>