summaryrefslogtreecommitdiffstats
path: root/eBones/libexec/telnetd/Makefile
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1995-07-20 11:40:06 +0000
committerpst <pst@FreeBSD.org>1995-07-20 11:40:06 +0000
commitd6b93135e2743f89332a3ea7f97d682dd40c7b85 (patch)
tree16908c200b05bff2e4532927f105621ae791d795 /eBones/libexec/telnetd/Makefile
parentb8e783516fe93f74be3f95b44fbeb5719a33d819 (diff)
downloadFreeBSD-src-d6b93135e2743f89332a3ea7f97d682dd40c7b85.zip
FreeBSD-src-d6b93135e2743f89332a3ea7f97d682dd40c7b85.tar.gz
Update telnet to the 95.05.31 release.
Obtained from: Dave Borman <dab@cray.com>
Diffstat (limited to 'eBones/libexec/telnetd/Makefile')
-rw-r--r--eBones/libexec/telnetd/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/eBones/libexec/telnetd/Makefile b/eBones/libexec/telnetd/Makefile
index 0bfa3c3..79dbb75 100644
--- a/eBones/libexec/telnetd/Makefile
+++ b/eBones/libexec/telnetd/Makefile
@@ -4,14 +4,23 @@ PROG= telnetd
CFLAGS+=-DLINEMODE -DKLUDGELINEMODE -DUSE_TERMIO -DDIAGNOSTICS
CFLAGS+=-DOLD_ENVIRON -DENV_HACK
CFLAGS+=-I${.CURDIR}/../../lib
-#CFLAGS+=-DAUTHENTICATION -DENCRYPTION
SRCS= authenc.c global.c slc.c state.c sys_term.c telnetd.c \
termstat.c utility.c
DPADD= ${LIBUTIL} ${LIBTERMCAP}
LDADD= -lutil -ltermcap -ltelnet
-#LDADD+= -lkrb -ldes
+
MAN8= telnetd.8
+#ifdef ENCRYPTION
+
+CFLAGS+=-DAUTHENTICATION -DENCRYPTION
+
+.if exists(/usr/lib/libkrb.a)
+LDADD+= -lkrb -ldes
+.endif
+
+#endif /* ENCRYPTION */
+
# These are the sources that have encryption stuff in them.
CRYPT_SRC= authenc.c ext.h state.c telnetd.c termstat.c
CRYPT_SRC+= utility.c Makefile
OpenPOWER on IntegriCloud