From 11d9d041cf4420b02b7f18cece6478888e386b2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 22 Sep 2004 12:13:58 +0000 Subject: Clean up and comment config.mk. Centralize more stuff. Bitch if POSIX threads libraries are not available. Add crypto support if the crypto libraries are available. Build dnssec-{keygen,signzone} if crypto is available. Submitted by: (in part) dougb@ --- usr.bin/dig/Makefile | 4 ++-- usr.bin/host/Makefile | 4 ++-- usr.bin/nslookup/Makefile | 4 ++-- usr.bin/nsupdate/Makefile | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/dig/Makefile b/usr.bin/dig/Makefile index 3e45ca566db7..0d5b4ca7d1ce 100644 --- a/usr.bin/dig/Makefile +++ b/usr.bin/dig/Makefile @@ -13,8 +13,8 @@ SRCS+= dig.c dighost.c CFLAGS+= -I${SRCDIR}/include -DPADD+= ${BIND_DPADD} -LDADD+= ${BIND_LDADD} +DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} +LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} MAN= dig.1 diff --git a/usr.bin/host/Makefile b/usr.bin/host/Makefile index b4d07ad96455..e3a034d66bcd 100644 --- a/usr.bin/host/Makefile +++ b/usr.bin/host/Makefile @@ -13,8 +13,8 @@ SRCS+= dighost.c host.c CFLAGS+= -I${SRCDIR}/include -DPADD+= ${BIND_DPADD} -LDADD+= ${BIND_LDADD} +DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} +LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} MAN= host.1 diff --git a/usr.bin/nslookup/Makefile b/usr.bin/nslookup/Makefile index a7bf65ef8a16..e59c71459d9b 100644 --- a/usr.bin/nslookup/Makefile +++ b/usr.bin/nslookup/Makefile @@ -13,8 +13,8 @@ SRCS+= dighost.c nslookup.c CFLAGS+= -I${SRCDIR}/include -DPADD+= ${BIND_DPADD} -LDADD+= ${BIND_LDADD} +DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} +LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} MAN= nslookup.1 diff --git a/usr.bin/nsupdate/Makefile b/usr.bin/nsupdate/Makefile index 9073c12c2f58..8612a0d20464 100644 --- a/usr.bin/nsupdate/Makefile +++ b/usr.bin/nsupdate/Makefile @@ -13,8 +13,8 @@ SRCS+= nsupdate.c CFLAGS+= -I${SRCDIR}/include -DPADD+= ${BIND_DPADD} -LDADD+= ${BIND_LDADD} +DPADD+= ${BIND_DPADD} ${CRYPTO_DPADD} ${PTHREAD_DPADD} +LDADD+= ${BIND_LDADD} ${CRYPTO_LDADD} ${PTHREAD_LDADD} MAN= nsupdate.8 -- cgit v1.2.3