aboutsummaryrefslogtreecommitdiff
path: root/secure/usr.bin
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-07-24 20:40:03 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-07-24 20:40:03 +0000
commitf8e556c37ddb4bea8aaaf3890d4840db526cf095 (patch)
treecd1ca0d6834c979512deb446d73892bfbc14b41e /secure/usr.bin
parent2c178baa511d72cac18a22213c8a44178f53d18f (diff)
Notes
Diffstat (limited to 'secure/usr.bin')
-rw-r--r--secure/usr.bin/telnet/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/secure/usr.bin/telnet/Makefile b/secure/usr.bin/telnet/Makefile
index 1f4b2882d4472..77280e02d32de 100644
--- a/secure/usr.bin/telnet/Makefile
+++ b/secure/usr.bin/telnet/Makefile
@@ -38,6 +38,7 @@ PROG= telnet
CFLAGS+=-DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO
CFLAGS+=-DENV_HACK
CFLAGS+=-I${.CURDIR}/../../lib
+LDADD+= -ltermcap -ltelnet
#ifdef ENCRYPTION
@@ -45,17 +46,18 @@ CFLAGS+=-DAUTHENTICATION -DENCRYPTION
.if exists(/usr/lib/libkrb.a)
CFLAGS+= -DKRB4
-LDADD+= -lkrb -ldes
+LDADD+= -lkrb
.endif
-.if exists(/usr/lib/libkrb4.a)
+.if exists(/usr/lib/libkrb5.a)
CFLAGS+= -DKRB5 -DFORWARD
-LDADD+= -lkrb5 -ldes
+LDADD+= -lkrb5
.endif
+LDADD+= -ldes
+
#endif /* ENCRYPTION */
-LDADD= -ltermcap -ltelnet
DPADD= ${LIBTERMCAP}
SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \