summaryrefslogtreecommitdiffstats
path: root/usr.sbin/unbound
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-11-25 16:57:27 +0000
committerbapt <bapt@FreeBSD.org>2014-11-25 16:57:27 +0000
commita191ba5195ecb988c5e5c3b13fc364bde87bd41c (patch)
tree41890d809d5cd369a149d9fe8cd22b45310c700a /usr.sbin/unbound
parenta755ca9f3133785c8638591a5f79e27878062707 (diff)
downloadFreeBSD-src-a191ba5195ecb988c5e5c3b13fc364bde87bd41c.zip
FreeBSD-src-a191ba5195ecb988c5e5c3b13fc364bde87bd41c.tar.gz
Convert usr.sbin to LIBADD
Reduce overlinking
Diffstat (limited to 'usr.sbin/unbound')
-rw-r--r--usr.sbin/unbound/anchor/Makefile4
-rw-r--r--usr.sbin/unbound/checkconf/Makefile4
-rw-r--r--usr.sbin/unbound/control/Makefile4
-rw-r--r--usr.sbin/unbound/daemon/Makefile4
4 files changed, 4 insertions, 12 deletions
diff --git a/usr.sbin/unbound/anchor/Makefile b/usr.sbin/unbound/anchor/Makefile
index 970fb70..64e01d2 100644
--- a/usr.sbin/unbound/anchor/Makefile
+++ b/usr.sbin/unbound/anchor/Makefile
@@ -10,9 +10,7 @@ EXPATDIR= ${.CURDIR}/../../../contrib/expat
PROG= unbound-anchor
SRCS= unbound-anchor.c
CFLAGS= -I${UNBOUNDDIR} -I${LDNSDIR} -I${EXPATDIR}/lib
-DPADD= ${LIBUNBOUND} ${LIBLDNS} ${LIBUTIL} ${LIBBSDXML} ${LIBSSL} ${LIBCRYPTO} ${LIBPTHREAD}
-LDADD= ${LDUNBOUND} ${LDLDNS} -lutil -lbsdxml -lssl -lcrypto -lpthread
-USEPRIVATELIB= ldns
+LIBADD= unbound bsdxml ssl crypto pthread
MAN= unbound-anchor.8
.include <bsd.prog.mk>
diff --git a/usr.sbin/unbound/checkconf/Makefile b/usr.sbin/unbound/checkconf/Makefile
index 0993d3d..884465b 100644
--- a/usr.sbin/unbound/checkconf/Makefile
+++ b/usr.sbin/unbound/checkconf/Makefile
@@ -9,9 +9,7 @@ UNBOUNDDIR= ${.CURDIR}/../../../contrib/unbound
PROG= unbound-checkconf
SRCS= unbound-checkconf.c worker_cb.c
CFLAGS= -I${UNBOUNDDIR} -I${LDNSDIR}
-DPADD= ${LIBUNBOUND} ${LIBLDNS} ${LIBUTIL} ${LIBSSL} ${LIBCRYPTO} ${LIBPTHREAD}
-LDADD= ${LDUNBOUND} ${LDLDNS} -lutil -lssl -lcrypto -lpthread
-USEPRIVATELIB= ldns
+LIBADD= unbound pthread
MAN= unbound-checkconf.8
.include <bsd.prog.mk>
diff --git a/usr.sbin/unbound/control/Makefile b/usr.sbin/unbound/control/Makefile
index 2989e73..1614127 100644
--- a/usr.sbin/unbound/control/Makefile
+++ b/usr.sbin/unbound/control/Makefile
@@ -10,9 +10,7 @@ PROG= unbound-control
SCRIPTS= unbound-control-setup.sh
SRCS= unbound-control.c worker_cb.c
CFLAGS= -I${UNBOUNDDIR} -I${LDNSDIR}
-DPADD= ${LIBUNBOUND} ${LIBLDNS} ${LIBUTIL} ${LIBSSL} ${LIBCRYPTO} ${LIBPTHREAD}
-LDADD= ${LDUNBOUND} ${LDLDNS} -lutil -lssl -lcrypto -lpthread
-USEPRIVATELIB= ldns
+LIBADD= unbound crypto ssl pthread
MAN= unbound-control.8
.include <bsd.prog.mk>
diff --git a/usr.sbin/unbound/daemon/Makefile b/usr.sbin/unbound/daemon/Makefile
index a8b1bb2..f90e06e 100644
--- a/usr.sbin/unbound/daemon/Makefile
+++ b/usr.sbin/unbound/daemon/Makefile
@@ -9,9 +9,7 @@ UNBOUNDDIR= ${.CURDIR}/../../../contrib/unbound
PROG= unbound
SRCS= acl_list.c cachedump.c daemon.c remote.c stats.c unbound.c worker.c
CFLAGS= -I${UNBOUNDDIR} -I${LDNSDIR}
-DPADD= ${LIBUNBOUND} ${LIBLDNS} ${LIBUTIL} ${LIBSSL} ${LIBCRYPTO} ${LIBPTHREAD}
-LDADD= ${LDUNBOUND} ${LDLDNS} -lutil -lssl -lcrypto -lpthread
-USEPRIVATELIB= ldns
+LIBADD= unbound util ssl crypto pthread
MAN= unbound.8 unbound.conf.5
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud