Since this stuff not works with eBones, ifdef kerberos stuff

with MAKE_KERBEROS to allow other things to live
Reviewed by:
Submitted by:
Obtained from:
This commit is contained in:
Andrey A. Chernov 1995-07-24 21:47:30 +00:00
parent 3b901a0b79
commit e74d115547
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9689
4 changed files with 22 additions and 8 deletions

View File

@ -1,5 +1,9 @@
# @(#)Makefile 8.2 (Berkeley) 12/15/93
# This stuff need original libdes to run (new_rnd_key.c module),
# current eBones/des lib don't have it
# Kerberos4 stuff ifdefed by MAKE_KERBEROS (make.conf) because of it
PROG= telnetd
CFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS
CFLAGS+=-DOLD_ENVIRON -DENV_HACK
@ -15,9 +19,11 @@ MAN8= telnetd.8
CFLAGS+=-DAUTHENTICATION -DENCRYPTION
.ifdef MAKE_KERBEROS
.if exists(/usr/lib/libkrb.a)
LDADD+= -lkrb -ldes
.endif
.endif
#endif /* ENCRYPTION */

View File

@ -35,6 +35,7 @@
# This stuff need original libdes to run (new_rnd_key.c module),
# current eBones/des lib don't have it
# Kerberos4 stuff ifdefed by MAKE_KERBEROS (make.conf) because of it
PROG= telnet
@ -47,18 +48,18 @@ LDADD+= -ltermcap -ltelnet
CFLAGS+=-DAUTHENTICATION -DENCRYPTION
.ifdef MAKE_KERBEROS
.if exists(/usr/lib/libkrb.a)
CFLAGS+= -DKRB4
LDADD+= -lkrb
LDADD+= -lkrb -ldes
.endif
.endif
.if exists(/usr/lib/libkrb5.a)
CFLAGS+= -DKRB5 -DFORWARD
LDADD+= -lkrb5
LDADD+= -lkrb5 -ldes
.endif
LDADD+= -ldes
#endif /* ENCRYPTION */
DPADD= ${LIBTERMCAP}

View File

@ -1,5 +1,9 @@
# @(#)Makefile 8.2 (Berkeley) 12/15/93
# This stuff need original libdes to run (new_rnd_key.c module),
# current eBones/des lib don't have it
# Kerberos4 stuff ifdefed by MAKE_KERBEROS (make.conf) because of it
PROG= telnetd
CFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS
CFLAGS+=-DOLD_ENVIRON -DENV_HACK
@ -15,9 +19,11 @@ MAN8= telnetd.8
CFLAGS+=-DAUTHENTICATION -DENCRYPTION
.ifdef MAKE_KERBEROS
.if exists(/usr/lib/libkrb.a)
LDADD+= -lkrb -ldes
.endif
.endif
#endif /* ENCRYPTION */

View File

@ -35,6 +35,7 @@
# This stuff need original libdes to run (new_rnd_key.c module),
# current eBones/des lib don't have it
# Kerberos4 stuff ifdefed by MAKE_KERBEROS (make.conf) because of it
PROG= telnet
@ -47,18 +48,18 @@ LDADD+= -ltermcap -ltelnet
CFLAGS+=-DAUTHENTICATION -DENCRYPTION
.ifdef MAKE_KERBEROS
.if exists(/usr/lib/libkrb.a)
CFLAGS+= -DKRB4
LDADD+= -lkrb
LDADD+= -lkrb -ldes
.endif
.endif
.if exists(/usr/lib/libkrb5.a)
CFLAGS+= -DKRB5 -DFORWARD
LDADD+= -lkrb5
LDADD+= -lkrb5 -ldes
.endif
LDADD+= -ldes
#endif /* ENCRYPTION */
DPADD= ${LIBTERMCAP}