summaryrefslogtreecommitdiffstats
path: root/eBones/libexec
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-07-24 22:55:59 +0000
committerache <ache@FreeBSD.org>1995-07-24 22:55:59 +0000
commit5bd836c1906dd3093a764605dcfb280dc1da2939 (patch)
tree4358b272f75a2eec625b8487651b9e60974626e9 /eBones/libexec
parent6496fec897c7d9bbcc903cd2c2d50a8da7d60aae (diff)
downloadFreeBSD-src-5bd836c1906dd3093a764605dcfb280dc1da2939.zip
FreeBSD-src-5bd836c1906dd3093a764605dcfb280dc1da2939.tar.gz
Final cleanup pass through Makefiles, now this stuff
autodetect kerberos/eBones and work even with eBones, but with reduced functionality (don't pick up des/krb stuff in this case)
Diffstat (limited to 'eBones/libexec')
-rw-r--r--eBones/libexec/telnetd/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/eBones/libexec/telnetd/Makefile b/eBones/libexec/telnetd/Makefile
index 3b341ad..4fc6042 100644
--- a/eBones/libexec/telnetd/Makefile
+++ b/eBones/libexec/telnetd/Makefile
@@ -18,14 +18,19 @@ MAN8= telnetd.8
#ifdef ENCRYPTION
CFLAGS+=-DAUTHENTICATION -DENCRYPTION
-LDADD+= -ldescrypt
.ifdef MAKE_KERBEROS
.if exists(/usr/lib/libkrb.a)
-LDADD+= -lkrb -ldes
+LDADD+= -ldes -lkrb
+.endif
.endif
+
+.if exists(/usr/lib/libkrb5.a)
+LDADD+= -ldes -lkrb5
.endif
+LDADD+= -ldescrypt
+
#endif /* ENCRYPTION */
# These are the sources that have encryption stuff in them.
OpenPOWER on IntegriCloud