mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 06:42:45 +00:00
536613bc35
WITH_BIND_IDN WITH_BIND_LARGE_FILE WITH_BIND_SIGCHASE WITH_BIND_XML
27 lines
607 B
Makefile
27 lines
607 B
Makefile
# $FreeBSD$
|
|
|
|
BIND_DIR= ${.CURDIR}/../../contrib/bind9
|
|
LIB_BIND_REL= ../../lib/bind
|
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
|
SRCDIR= ${BIND_DIR}/bin/dig
|
|
|
|
.include "${LIB_BIND_DIR}/config.mk"
|
|
|
|
PROG= dig
|
|
|
|
.PATH: ${SRCDIR}
|
|
SRCS+= dig.c dighost.c
|
|
|
|
CFLAGS+= -I${SRCDIR}/include
|
|
CFLAGS+= -I${BIND_DIR}/lib/isc/${ISC_ATOMIC_ARCH}/include
|
|
|
|
.if ${MK_BIND_IDN} == "yes"
|
|
CFLAGS+= -DWITH_IDN -I/usr/local/include
|
|
CFLAGS+= -L/usr/local/lib -lidnkit -R/usr/local/lib -liconv
|
|
.endif
|
|
|
|
DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
|
|
LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
|
|
|
|
.include <bsd.prog.mk>
|