Since this stuff not works with eBones, ifdef kerberos stuff

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

View file

@ -1,8 +1,9 @@
# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
# $Id: Makefile,v 1.3 1995/07/24 20:29:12 ache Exp $
# $Id: Makefile,v 1.4 1995/07/24 21:10:47 ache Exp $
# 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
LIB= telnet
SRCS= auth.c encrypt.c genget.c getent.c misc.c
@ -13,6 +14,7 @@ CFLAGS+= -DHAS_CGETENT
#ifdef ENCRYPTION
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DDES_ENCRYPTION
.ifdef MAKE_KERBEROS
.if exists(/usr/lib/libkrb.a)
CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
# KRB4_ENCPWD not yet defined
@ -22,6 +24,7 @@ SRCS+= kerberos.c
#SRCS+= krb4encpwd.c
LDADD+= -lkrb
.endif
.endif
.if exists(/usr/lib/libkrb5.a)
CFLAGS+= -DKRB5 -DFORWARD

View file

@ -1,8 +1,9 @@
# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
# $Id: Makefile,v 1.3 1995/07/24 20:29:12 ache Exp $
# $Id: Makefile,v 1.4 1995/07/24 21:10:47 ache Exp $
# 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
LIB= telnet
SRCS= auth.c encrypt.c genget.c getent.c misc.c
@ -13,6 +14,7 @@ CFLAGS+= -DHAS_CGETENT
#ifdef ENCRYPTION
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DDES_ENCRYPTION
.ifdef MAKE_KERBEROS
.if exists(/usr/lib/libkrb.a)
CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
# KRB4_ENCPWD not yet defined
@ -22,6 +24,7 @@ SRCS+= kerberos.c
#SRCS+= krb4encpwd.c
LDADD+= -lkrb
.endif
.endif
.if exists(/usr/lib/libkrb5.a)
CFLAGS+= -DKRB5 -DFORWARD