mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 19:52:44 +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
26 lines
529 B
Makefile
26 lines
529 B
Makefile
# $FreeBSD$
|
|
|
|
BIND_DIR= ${.CURDIR}/../../contrib/bind9
|
|
LIB_BIND_REL= ../../lib/bind
|
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
|
SRCDIR= ${BIND_DIR}/bin/rndc
|
|
|
|
.include "${LIB_BIND_DIR}/config.mk"
|
|
|
|
PROG= rndc-confgen
|
|
|
|
.PATH: ${SRCDIR}/unix
|
|
SRCS+= os.c
|
|
|
|
.PATH: ${SRCDIR}
|
|
SRCS+= rndc-confgen.c util.c
|
|
|
|
CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include -I${LIB_BIND_DIR}
|
|
|
|
DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
|
|
LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
|
|
|
|
MAN= rndc-confgen.8
|
|
|
|
.include <bsd.prog.mk>
|