aboutsummaryrefslogtreecommitdiff
path: root/secure/lib/libtelnet
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-07-24 20:29:12 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-07-24 20:29:12 +0000
commitbfdd0041fc29f866a8af5fd879e131e71a41d546 (patch)
tree0100caa5491c886eaccd06c09c97d83687d832e2 /secure/lib/libtelnet
parent59929500b4cecdfd00443c10e39a8a7592206c68 (diff)
Notes
Diffstat (limited to 'secure/lib/libtelnet')
-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 9e7df0b9e661..ba31b6b809dd 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.