From f8e556c37ddb4bea8aaaf3890d4840db526cf095 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Mon, 24 Jul 1995 20:40:03 +0000 Subject: [PATCH] Fix dependances, typing errors, etc. Note: this thing need original libdes not Eric Young libdes from eBones Submitted by: Obtained from: --- eBones/usr.bin/telnet/Makefile | 10 ++++++---- secure/usr.bin/telnet/Makefile | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/eBones/usr.bin/telnet/Makefile b/eBones/usr.bin/telnet/Makefile index 1f4b2882d447..77280e02d32d 100644 --- a/eBones/usr.bin/telnet/Makefile +++ b/eBones/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 \ diff --git a/secure/usr.bin/telnet/Makefile b/secure/usr.bin/telnet/Makefile index 1f4b2882d447..77280e02d32d 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 \