From 5bd836c1906dd3093a764605dcfb280dc1da2939 Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 24 Jul 1995 22:55:59 +0000 Subject: 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) --- eBones/libexec/telnetd/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'eBones/libexec') diff --git a/eBones/libexec/telnetd/Makefile b/eBones/libexec/telnetd/Makefile index 3b341ad..4fc6042 100644 --- a/eBones/libexec/telnetd/Makefile +++ b/eBones/libexec/telnetd/Makefile @@ -18,14 +18,19 @@ MAN8= telnetd.8 #ifdef ENCRYPTION CFLAGS+=-DAUTHENTICATION -DENCRYPTION -LDADD+= -ldescrypt .ifdef MAKE_KERBEROS .if exists(/usr/lib/libkrb.a) -LDADD+= -lkrb -ldes +LDADD+= -ldes -lkrb +.endif .endif + +.if exists(/usr/lib/libkrb5.a) +LDADD+= -ldes -lkrb5 .endif +LDADD+= -ldescrypt + #endif /* ENCRYPTION */ # These are the sources that have encryption stuff in them. -- cgit v1.1