389acf125b
to match how similar syntax is used in the ports system. Thanks to kris for pointing out my mistake here. Install the lwres library unless the user defines NO_BIND, or the new knob, NO_BIND_LIBS_LWRES. There is at least one potential customer for this library in the wings. Thanks to nectar for the reminder.
29 lines
546 B
Makefile
29 lines
546 B
Makefile
# $FreeBSD$
|
|
|
|
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
|
|
|
|
DPADD= ${PTHREAD_DPADD}
|
|
LDADD= ${PTHREAD_LDADD}
|
|
|
|
.if defined(WITH_BIND_LIBS)
|
|
INCS= ${SRCDIR}/include/bind9/check.h \
|
|
${SRCDIR}/include/bind9/getaddresses.h \
|
|
${SRCDIR}/include/bind9/version.h
|
|
|
|
INCSDIR= ${INCLUDEDIR}/bind9
|
|
.endif
|
|
|
|
.include <bsd.lib.mk>
|