summaryrefslogtreecommitdiffstats
path: root/libexec/telnetd/Makefile
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-08-20 12:12:27 +0000
committermarkm <markm@FreeBSD.org>2001-08-20 12:12:27 +0000
commit162b7bf01cdec6fdf0f84d400df0f67c2a0d35c0 (patch)
tree4d7561d04274e34e61f214475d7604ce09ffe37d /libexec/telnetd/Makefile
parent600042995ae97655a86cbb858298dc63ffca800f (diff)
downloadFreeBSD-src-162b7bf01cdec6fdf0f84d400df0f67c2a0d35c0.zip
FreeBSD-src-162b7bf01cdec6fdf0f84d400df0f67c2a0d35c0.tar.gz
Feature merging and diff reduction between this code and crypto telnet.
Also remove conditional (AUTHENTICATION) code as we have never compiled it here, and it is doubtful that it even works in this scenario.
Diffstat (limited to 'libexec/telnetd/Makefile')
-rw-r--r--libexec/telnetd/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/libexec/telnetd/Makefile b/libexec/telnetd/Makefile
index f366f53..b6ac1e0 100644
--- a/libexec/telnetd/Makefile
+++ b/libexec/telnetd/Makefile
@@ -1,14 +1,17 @@
-# @(#)Makefile 8.2 (Berkeley) 12/15/93
# $FreeBSD$
-PROG= telnetd
-CFLAGS+=-DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS
-#CFLAGS+=-DKLUDGELINEMODE
-CFLAGS+=-DOLD_ENVIRON -DENV_HACK
-CFLAGS+=-I${.CURDIR}/../../lib
-CFLAGS+=-DINET6
-SRCS= global.c slc.c state.c sys_term.c telnetd.c \
- termstat.c utility.c
+# Do not define -DKLUDGELINEMODE, as it does not interact well with many
+# telnet implementations.
+
+PROG= telnetd
+MAN= telnetd.8
+
+CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
+ -DENV_HACK \
+ -I${.CURDIR}/../../lib -DINET6
+
+SRCS= global.c slc.c state.c sys_term.c telnetd.c \
+ termstat.c utility.c
.if exists(${.OBJDIR}/../../lib/libtelnet)
LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
@@ -16,8 +19,7 @@ LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
LIBTELNET= ${.CURDIR}/../../lib/libtelnet/libtelnet.a
.endif
-DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
-LDADD= -lutil -ltermcap ${LIBTELNET}
-MAN= telnetd.8
+DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET}
+LDADD= -lutil -ltermcap ${LIBTELNET}
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud