Fix many bogus things, typing error, dependance errors, etc.,
now it compiles. Note: this stuff requires original libdes, not libdes from Eric Yang which we have in eBones.
This commit is contained in:
parent
59929500b4
commit
bfdd0041fc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=9683
@ -1,24 +1,33 @@
|
|||||||
# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
||||||
# $Id: Makefile,v 1.1.1.1 1994/08/12 22:02:57 csgr Exp $
|
# $Id: Makefile,v 1.2 1995/07/20 11:39:16 pst Exp $
|
||||||
|
|
||||||
LIB= telnet
|
LIB= telnet
|
||||||
SRCS= auth.c encrypt.c genget.c getent.c misc.c
|
SRCS= auth.c encrypt.c genget.c getent.c misc.c
|
||||||
SRCS+= kerberos.c enc_des.c
|
SRCS+= enc_des.c
|
||||||
SRCS+= spx.c rsaencpwd.c read_password.c
|
SRCS+= spx.c rsaencpwd.c read_password.c
|
||||||
CFLAGS+= -DHAS_CGETENT
|
CFLAGS+= -DHAS_CGETENT
|
||||||
|
|
||||||
#ifdef ENCRYPTION
|
#ifdef ENCRYPTION
|
||||||
CFLAGS+= -DENCRYPTION -DAUTHENTICATION
|
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DDES_ENCRYPTION
|
||||||
|
|
||||||
.if exists(/usr/lib/libkrb.a)
|
.if exists(/usr/lib/libkrb.a)
|
||||||
CFLAGS+= -DKRB4 -DKRB4_ENCPWD -DDES_ENCRYPTION -I/usr/include/kerberosIV
|
CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
|
||||||
SRCS+= krb4encpwd.c
|
# KRB4_ENCPWD not yet defined
|
||||||
|
#CFLAGS+= -DKRB4_ENCPWD
|
||||||
|
SRCS+= kerberos.c
|
||||||
|
# KRB4_ENCPWD not yet defined
|
||||||
|
#SRCS+= krb4encpwd.c
|
||||||
|
LDADD+= -lkrb
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if exists(/usr/lib/libkrb5.a)
|
.if exists(/usr/lib/libkrb5.a)
|
||||||
CFLAGS+= -DKRB5 -DDES_ENCRYPTION -DFORWARD
|
CFLAGS+= -DKRB5 -DFORWARD
|
||||||
SRCS+= kerberos5.c forward.c
|
SRCS+= kerberos5.c forward.c
|
||||||
|
LDADD+= -lkrb5
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
LDADD+= -ldes
|
||||||
|
|
||||||
#endif /* ENCRYPTION */
|
#endif /* ENCRYPTION */
|
||||||
|
|
||||||
# These are the sources that have encryption stuff in them.
|
# These are the sources that have encryption stuff in them.
|
||||||
|
@ -1,24 +1,33 @@
|
|||||||
# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
||||||
# $Id: Makefile,v 1.1.1.1 1994/08/12 22:02:57 csgr Exp $
|
# $Id: Makefile,v 1.2 1995/07/20 11:39:16 pst Exp $
|
||||||
|
|
||||||
LIB= telnet
|
LIB= telnet
|
||||||
SRCS= auth.c encrypt.c genget.c getent.c misc.c
|
SRCS= auth.c encrypt.c genget.c getent.c misc.c
|
||||||
SRCS+= kerberos.c enc_des.c
|
SRCS+= enc_des.c
|
||||||
SRCS+= spx.c rsaencpwd.c read_password.c
|
SRCS+= spx.c rsaencpwd.c read_password.c
|
||||||
CFLAGS+= -DHAS_CGETENT
|
CFLAGS+= -DHAS_CGETENT
|
||||||
|
|
||||||
#ifdef ENCRYPTION
|
#ifdef ENCRYPTION
|
||||||
CFLAGS+= -DENCRYPTION -DAUTHENTICATION
|
CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DDES_ENCRYPTION
|
||||||
|
|
||||||
.if exists(/usr/lib/libkrb.a)
|
.if exists(/usr/lib/libkrb.a)
|
||||||
CFLAGS+= -DKRB4 -DKRB4_ENCPWD -DDES_ENCRYPTION -I/usr/include/kerberosIV
|
CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
|
||||||
SRCS+= krb4encpwd.c
|
# KRB4_ENCPWD not yet defined
|
||||||
|
#CFLAGS+= -DKRB4_ENCPWD
|
||||||
|
SRCS+= kerberos.c
|
||||||
|
# KRB4_ENCPWD not yet defined
|
||||||
|
#SRCS+= krb4encpwd.c
|
||||||
|
LDADD+= -lkrb
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if exists(/usr/lib/libkrb5.a)
|
.if exists(/usr/lib/libkrb5.a)
|
||||||
CFLAGS+= -DKRB5 -DDES_ENCRYPTION -DFORWARD
|
CFLAGS+= -DKRB5 -DFORWARD
|
||||||
SRCS+= kerberos5.c forward.c
|
SRCS+= kerberos5.c forward.c
|
||||||
|
LDADD+= -lkrb5
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
LDADD+= -ldes
|
||||||
|
|
||||||
#endif /* ENCRYPTION */
|
#endif /* ENCRYPTION */
|
||||||
|
|
||||||
# These are the sources that have encryption stuff in them.
|
# These are the sources that have encryption stuff in them.
|
||||||
|
Loading…
Reference in New Issue
Block a user