aboutsummaryrefslogtreecommitdiff
path: root/secure/libexec/telnetd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'secure/libexec/telnetd/Makefile')
-rw-r--r--secure/libexec/telnetd/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/secure/libexec/telnetd/Makefile b/secure/libexec/telnetd/Makefile
new file mode 100644
index 000000000000..230e4e79bf53
--- /dev/null
+++ b/secure/libexec/telnetd/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+# Do not define -DKLUDGELINEMODE, as it does not interact well with many
+# telnet implementations.
+
+PROG= telnetd
+MAN8= telnetd.8
+
+CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
+ -DENV_HACK -DAUTHENTICATION -DENCRYPTION \
+ -I${TELNETDIR}
+
+SRCS= global.c slc.c state.c sys_term.c telnetd.c \
+ termstat.c utility.c authenc.c
+
+DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBDES} ${LIBMP} \
+ ${LIBCRYPT}
+LDADD= -lutil -ltermcap -L${TELNETOBJDIR} -ltelnet -ldes -lcrypt -lmp
+
+.include <bsd.prog.mk>
+
+.PATH: ${TELNETDIR}/telnetd