aboutsummaryrefslogtreecommitdiff
path: root/secure/usr.bin/telnet/Makefile
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-07-24 22:55:59 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-07-24 22:55:59 +0000
commit9ed77b336f2238a643f3e9781059ef6ebba85c7e (patch)
tree4358b272f75a2eec625b8487651b9e60974626e9 /secure/usr.bin/telnet/Makefile
parent3fbfb0f2813be9774f6c1a721ced07efc6e129cf (diff)
downloadsrc-9ed77b336f2238a643f3e9781059ef6ebba85c7e.tar.gz
src-9ed77b336f2238a643f3e9781059ef6ebba85c7e.zip
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)
Notes
Notes: svn path=/head/; revision=9694
Diffstat (limited to 'secure/usr.bin/telnet/Makefile')
-rw-r--r--secure/usr.bin/telnet/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/secure/usr.bin/telnet/Makefile b/secure/usr.bin/telnet/Makefile
index 7e59c78ec351..b03c00677d21 100644
--- a/secure/usr.bin/telnet/Makefile
+++ b/secure/usr.bin/telnet/Makefile
@@ -47,20 +47,21 @@ LDADD+= -ltermcap -ltelnet
#ifdef ENCRYPTION
CFLAGS+=-DAUTHENTICATION -DENCRYPTION
-LDADD+= -ldescrypt
.ifdef MAKE_KERBEROS
.if exists(/usr/lib/libkrb.a)
CFLAGS+= -DKRB4
-LDADD+= -lkrb -ldes
+LDADD+= -ldes -lkrb
.endif
.endif
.if exists(/usr/lib/libkrb5.a)
CFLAGS+= -DKRB5 -DFORWARD
-LDADD+= -lkrb5 -ldes
+LDADD+= -ldes -lkrb5
.endif
+LDADD+= -ldescrypt
+
#endif /* ENCRYPTION */
DPADD= ${LIBTERMCAP}