summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ntp/ntp-keygen
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2004-07-22 09:10:52 +0000
committerroberto <roberto@FreeBSD.org>2004-07-22 09:10:52 +0000
commite80d2e4a5eb4ac0ec5caaad9d858a9fd22f67a2e (patch)
treefa62f1aa1cb06535b0ecbf1a002f34c32fb35ec5 /usr.sbin/ntp/ntp-keygen
parent6b42bd1f49d5f20a3a8682a36de2625dd76e0aab (diff)
downloadFreeBSD-src-e80d2e4a5eb4ac0ec5caaad9d858a9fd22f67a2e.zip
FreeBSD-src-e80d2e4a5eb4ac0ec5caaad9d858a9fd22f67a2e.tar.gz
Include support for NOCRYPT & NO_OPENSSL world.
It does survive « make release ». Uses an upcoming patch from the vendor branch (ntp-stable) of ntp-keygen. Submitted by: Marius Strobl <marius@alchemy.franken.de>
Diffstat (limited to 'usr.sbin/ntp/ntp-keygen')
-rw-r--r--usr.sbin/ntp/ntp-keygen/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/ntp/ntp-keygen/Makefile b/usr.sbin/ntp/ntp-keygen/Makefile
index 891d6be..ebb3933 100644
--- a/usr.sbin/ntp/ntp-keygen/Makefile
+++ b/usr.sbin/ntp/ntp-keygen/Makefile
@@ -9,7 +9,12 @@ SRCS= ntp-keygen.c
CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../
-DPADD= ${LIBNTP} ${LIBMD} ${LIBCRYPTO}
-LDADD= ${LIBNTP} -lmd -lcrypto
+DPADD= ${LIBNTP}
+LDADD= ${LIBNTP}
+
+.if !defined(NOCRYPT) && !defined(NO_OPENSSL) && !defined(RELEASE_CRUNCH)
+DPADD+= ${LIBMD} ${LIBCRYPTO}
+LDADD+= -lmd -lcrypto
+.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud