summaryrefslogtreecommitdiffstats
path: root/secure/lib
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-07-24 22:55:59 +0000
committerache <ache@FreeBSD.org>1995-07-24 22:55:59 +0000
commit5bd836c1906dd3093a764605dcfb280dc1da2939 (patch)
tree4358b272f75a2eec625b8487651b9e60974626e9 /secure/lib
parent6496fec897c7d9bbcc903cd2c2d50a8da7d60aae (diff)
downloadFreeBSD-src-5bd836c1906dd3093a764605dcfb280dc1da2939.zip
FreeBSD-src-5bd836c1906dd3093a764605dcfb280dc1da2939.tar.gz
Final cleanup pass through Makefiles, now this stuff
autodetect kerberos/eBones and work even with eBones, but with reduced functionality (don't pick up des/krb stuff in this case)
Diffstat (limited to 'secure/lib')
-rw-r--r--secure/lib/libtelnet/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/secure/lib/libtelnet/Makefile b/secure/lib/libtelnet/Makefile
index 2764bca..5b700e6 100644
--- a/secure/lib/libtelnet/Makefile
+++ b/secure/lib/libtelnet/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.2 (Berkeley) 12/15/93
-# $Id: Makefile,v 1.6 1995/07/24 21:49:06 ache Exp $
+# $Id: Makefile,v 1.7 1995/07/24 21:57:58 ache Exp $
# This stuff need original libdes to run (new_rnd_key.c module),
# current eBones/des lib don't have it
@@ -12,27 +12,29 @@ SRCS+= spx.c rsaencpwd.c read_password.c
CFLAGS+= -DHAS_CGETENT
#ifdef ENCRYPTION
-CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DDES_ENCRYPTION
-LDADD+= -ldescrypt
+
+CFLAGS+= -DENCRYPTION -DAUTHENTICATION
.ifdef MAKE_KERBEROS
.if exists(/usr/lib/libkrb.a)
-CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
+CFLAGS+= -DKRB4 -I/usr/include/kerberosIV -DDES_ENCRYPTION
# KRB4_ENCPWD not yet defined
#CFLAGS+= -DKRB4_ENCPWD
SRCS+= kerberos.c
# KRB4_ENCPWD not yet defined
#SRCS+= krb4encpwd.c
-LDADD+= -lkrb -ldes
+LDADD+= -ldes -lkrb
.endif
.endif
.if exists(/usr/lib/libkrb5.a)
-CFLAGS+= -DKRB5 -DFORWARD
+CFLAGS+= -DKRB5 -DFORWARD -DDES_ENCRYPTION
SRCS+= kerberos5.c forward.c
-LDADD+= -lkrb5 -ldes
+LDADD+= -ldes -lkrb5
.endif
+LDADD+= -ldescrypt
+
#endif /* ENCRYPTION */
# These are the sources that have encryption stuff in them.
OpenPOWER on IntegriCloud