Fix dependances, typing errors, etc.

Note: this thing need original libdes not Eric Young libdes from eBones
Submitted by:
Obtained from:
This commit is contained in:
Andrey A. Chernov 1995-07-24 20:40:03 +00:00
parent 2c178baa51
commit f8e556c37d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9685
2 changed files with 12 additions and 8 deletions

View File

@ -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 \

View File

@ -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 \