summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-09-24 13:42:00 +0000
committerru <ru@FreeBSD.org>2004-09-24 13:42:00 +0000
commit03cf2e6303ec5e66663f310806fbcaceffcb6ad6 (patch)
tree0a66d80ecf04f2810c88e41bc729d46e0caa066f /usr.sbin
parent41902e813dab25f45bfc1cb38fc6afdc300a6303 (diff)
downloadFreeBSD-src-03cf2e6303ec5e66663f310806fbcaceffcb6ad6.zip
FreeBSD-src-03cf2e6303ec5e66663f310806fbcaceffcb6ad6.tar.gz
Don't expose BIND libraries and their headers to the public by default,
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
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/dnssec-keygen/Makefile3
-rw-r--r--usr.sbin/dnssec-signzone/Makefile3
-rw-r--r--usr.sbin/named-checkconf/Makefile3
-rw-r--r--usr.sbin/named-checkzone/Makefile3
-rw-r--r--usr.sbin/named/Makefile3
-rw-r--r--usr.sbin/rndc-confgen/Makefile3
-rw-r--r--usr.sbin/rndc/Makefile3
7 files changed, 14 insertions, 7 deletions
diff --git a/usr.sbin/dnssec-keygen/Makefile b/usr.sbin/dnssec-keygen/Makefile
index 0c357df..3ac9005 100644
--- a/usr.sbin/dnssec-keygen/Makefile
+++ b/usr.sbin/dnssec-keygen/Makefile
@@ -1,7 +1,8 @@
# $FreeBSD$
BIND_DIR= ${.CURDIR}/../../contrib/bind9
-LIB_BIND_DIR= ${.CURDIR}/../../lib/bind
+LIB_BIND_REL= ../../lib/bind
+LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
SRCDIR= ${BIND_DIR}/bin/dnssec
.include "${LIB_BIND_DIR}/config.mk"
diff --git a/usr.sbin/dnssec-signzone/Makefile b/usr.sbin/dnssec-signzone/Makefile
index c8dd6a9..7c4ca65 100644
--- a/usr.sbin/dnssec-signzone/Makefile
+++ b/usr.sbin/dnssec-signzone/Makefile
@@ -1,7 +1,8 @@
# $FreeBSD$
BIND_DIR= ${.CURDIR}/../../contrib/bind9
-LIB_BIND_DIR= ${.CURDIR}/../../lib/bind
+LIB_BIND_REL= ../../lib/bind
+LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
SRCDIR= ${BIND_DIR}/bin/dnssec
.include "${LIB_BIND_DIR}/config.mk"
diff --git a/usr.sbin/named-checkconf/Makefile b/usr.sbin/named-checkconf/Makefile
index a478ba0..6a48669 100644
--- a/usr.sbin/named-checkconf/Makefile
+++ b/usr.sbin/named-checkconf/Makefile
@@ -1,7 +1,8 @@
# $FreeBSD$
BIND_DIR= ${.CURDIR}/../../contrib/bind9
-LIB_BIND_DIR= ${.CURDIR}/../../lib/bind
+LIB_BIND_REL= ../../lib/bind
+LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
SRCDIR= ${BIND_DIR}/bin/check
.include "${LIB_BIND_DIR}/config.mk"
diff --git a/usr.sbin/named-checkzone/Makefile b/usr.sbin/named-checkzone/Makefile
index 0531457..39384e5 100644
--- a/usr.sbin/named-checkzone/Makefile
+++ b/usr.sbin/named-checkzone/Makefile
@@ -1,7 +1,8 @@
# $FreeBSD$
BIND_DIR= ${.CURDIR}/../../contrib/bind9
-LIB_BIND_DIR= ${.CURDIR}/../../lib/bind
+LIB_BIND_REL= ../../lib/bind
+LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
SRCDIR= ${BIND_DIR}/bin/check
.include "${LIB_BIND_DIR}/config.mk"
diff --git a/usr.sbin/named/Makefile b/usr.sbin/named/Makefile
index 12c7c8f..820b7fd 100644
--- a/usr.sbin/named/Makefile
+++ b/usr.sbin/named/Makefile
@@ -1,7 +1,8 @@
# $FreeBSD$
BIND_DIR= ${.CURDIR}/../../contrib/bind9
-LIB_BIND_DIR= ${.CURDIR}/../../lib/bind
+LIB_BIND_REL= ../../lib/bind
+LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
SRCDIR= ${BIND_DIR}/bin/named
.include "${LIB_BIND_DIR}/config.mk"
diff --git a/usr.sbin/rndc-confgen/Makefile b/usr.sbin/rndc-confgen/Makefile
index e69cb46..ab5b379 100644
--- a/usr.sbin/rndc-confgen/Makefile
+++ b/usr.sbin/rndc-confgen/Makefile
@@ -1,7 +1,8 @@
# $FreeBSD$
BIND_DIR= ${.CURDIR}/../../contrib/bind9
-LIB_BIND_DIR= ${.CURDIR}/../../lib/bind
+LIB_BIND_REL= ../../lib/bind
+LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
SRCDIR= ${BIND_DIR}/bin/rndc
.include "${LIB_BIND_DIR}/config.mk"
diff --git a/usr.sbin/rndc/Makefile b/usr.sbin/rndc/Makefile
index 0fd49c1..d236b5d 100644
--- a/usr.sbin/rndc/Makefile
+++ b/usr.sbin/rndc/Makefile
@@ -1,7 +1,8 @@
# $FreeBSD$
BIND_DIR= ${.CURDIR}/../../contrib/bind9
-LIB_BIND_DIR= ${.CURDIR}/../../lib/bind
+LIB_BIND_REL= ../../lib/bind
+LIB_BIND_DIR= ${.CURDIR}/${LIB_BIND_REL}
SRCDIR= ${BIND_DIR}/bin/rndc
.include "${LIB_BIND_DIR}/config.mk"
OpenPOWER on IntegriCloud