mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-23 11:18:54 +00:00
56216f685b
but have a knob (WANT_BIND_LIBS) to build and install them in /usr/lib and /usr/include. Rumors are that this may be useful at a later point, let's see. What this really means is that all BIND libraries are now internal to buildworld (by default, unless WANT_BIND_LIBS is defined), and linked statically into various BIND executables. While here, removed redundant -I's from CFLAGS in lib/bind makefiles. Sponsored by: des OK'ed by: dougb
23 lines
425 B
Makefile
23 lines
425 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
|
|
|
|
DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
|
|
LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
|
|
|
|
MAN= dig.1
|
|
|
|
.include <bsd.prog.mk>
|