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
486 B
Makefile
23 lines
486 B
Makefile
# $FreeBSD$
|
|
|
|
BIND_DIR= ${.CURDIR}/../../contrib/bind9
|
|
LIB_BIND_REL= ../../lib/bind
|
|
LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
|
|
SRCDIR= ${BIND_DIR}/bin/dnssec
|
|
|
|
.include "${LIB_BIND_DIR}/config.mk"
|
|
|
|
PROG= dnssec-keygen
|
|
|
|
.PATH: ${SRCDIR}
|
|
SRCS+= dnssec-keygen.c dnssectool.c
|
|
|
|
CFLAGS+= -I${SRCDIR}/unix/include -I${SRCDIR}/include
|
|
|
|
DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD}
|
|
LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD}
|
|
|
|
MAN= dnssec-keygen.8
|
|
|
|
.include <bsd.prog.mk>
|