summaryrefslogtreecommitdiffstats
path: root/secure/lib
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-07-24 20:29:12 +0000
committerache <ache@FreeBSD.org>1995-07-24 20:29:12 +0000
commit2bad985464be49cf8faebe4a3b0d69724d5b60ff (patch)
tree0100caa5491c886eaccd06c09c97d83687d832e2 /secure/lib
parent9fcb833ae60e2324aac06b1ade13d5cb45a85353 (diff)
downloadFreeBSD-src-2bad985464be49cf8faebe4a3b0d69724d5b60ff.zip
FreeBSD-src-2bad985464be49cf8faebe4a3b0d69724d5b60ff.tar.gz
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.
Diffstat (limited to 'secure/lib')
-rw-r--r--secure/lib/libtelnet/Makefile23
1 files changed, 16 insertions, 7 deletions
diff --git a/secure/lib/libtelnet/Makefile b/secure/lib/libtelnet/Makefile
index 9e7df0b..ba31b6b 100644
--- a/secure/lib/libtelnet/Makefile
+++ b/secure/lib/libtelnet/Makefile
@@ -1,24 +1,33 @@
# 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
-SRCS= auth.c encrypt.c genget.c getent.c misc.c
-SRCS+= kerberos.c enc_des.c
+SRCS= auth.c encrypt.c genget.c getent.c misc.c
+SRCS+= enc_des.c
SRCS+= spx.c rsaencpwd.c read_password.c
CFLAGS+= -DHAS_CGETENT
#ifdef ENCRYPTION
-CFLAGS+= -DENCRYPTION -DAUTHENTICATION
+CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DDES_ENCRYPTION
.if exists(/usr/lib/libkrb.a)
-CFLAGS+= -DKRB4 -DKRB4_ENCPWD -DDES_ENCRYPTION -I/usr/include/kerberosIV
-SRCS+= krb4encpwd.c
+CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
+# KRB4_ENCPWD not yet defined
+#CFLAGS+= -DKRB4_ENCPWD
+SRCS+= kerberos.c
+# KRB4_ENCPWD not yet defined
+#SRCS+= krb4encpwd.c
+LDADD+= -lkrb
.endif
.if exists(/usr/lib/libkrb5.a)
-CFLAGS+= -DKRB5 -DDES_ENCRYPTION -DFORWARD
+CFLAGS+= -DKRB5 -DFORWARD
SRCS+= kerberos5.c forward.c
+LDADD+= -lkrb5
.endif
+
+LDADD+= -ldes
+
#endif /* ENCRYPTION */
# These are the sources that have encryption stuff in them.
OpenPOWER on IntegriCloud