2004-09-21 19:01:48 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
BIND_DIR= ${.CURDIR}/../../../contrib/bind9
|
2004-09-24 13:42:00 +00:00
|
|
|
LIB_BIND_REL= ..
|
|
|
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
2004-09-21 19:01:48 +00:00
|
|
|
SRCDIR= ${BIND_DIR}/lib/isccfg
|
|
|
|
|
|
|
|
.include "${LIB_BIND_DIR}/config.mk"
|
|
|
|
|
|
|
|
LIB= isccfg
|
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|
|
|
|
SRCS= log.c namedconf.c parser.c version.c
|
|
|
|
|
2004-09-24 13:42:00 +00:00
|
|
|
CFLAGS+= -I${SRCDIR}/include -I${.CURDIR}
|
2004-09-21 19:01:48 +00:00
|
|
|
|
2004-09-22 12:13:58 +00:00
|
|
|
DPADD= ${PTHREAD_DPADD}
|
|
|
|
LDADD= ${PTHREAD_LDADD}
|
2004-09-21 19:01:48 +00:00
|
|
|
|
2004-09-24 18:42:05 +00:00
|
|
|
.if defined(WITH_BIND_LIBS)
|
2004-09-21 19:01:48 +00:00
|
|
|
INCS= ${SRCDIR}/include/isccfg/cfg.h \
|
|
|
|
${SRCDIR}/include/isccfg/grammar.h \
|
|
|
|
${SRCDIR}/include/isccfg/log.h \
|
|
|
|
${SRCDIR}/include/isccfg/namedconf.h \
|
|
|
|
${SRCDIR}/include/isccfg/version.h
|
|
|
|
|
|
|
|
INCSDIR= ${INCLUDEDIR}/isccfg
|
2004-09-24 13:42:00 +00:00
|
|
|
.endif
|
2004-09-21 19:01:48 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|