freebsd-nq/libexec/telnetd/Makefile

44 lines
825 B
Makefile
Raw Normal View History

1999-08-28 00:22:10 +00:00
# $FreeBSD$
1994-05-27 12:39:25 +00:00
# Do not define -DKLUDGELINEMODE, as it does not interact well with many
# telnet implementations.
.include <src.opts.mk>
TELNETDIR= ${SRCTOP}/contrib/telnet
.PATH: ${TELNETDIR}/telnetd
PROG= telnetd
MAN= telnetd.8
SRCS= global.c slc.c state.c sys_term.c telnetd.c \
termstat.c utility.c
WARNS?= 2
WFORMAT?= 0
CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
-DENV_HACK -DSTREAMSPTY
.if ${MK_INET6_SUPPORT} != "no"
CFLAGS+= -DINET6
.endif
CFLAGS+= -I${TELNETDIR}
CFLAGS+= -I${TELNETDIR}/telnet
2014-11-25 21:18:18 +00:00
LIBADD= telnet util ncursesw
1994-05-27 12:39:25 +00:00
.if ${MK_OPENSSL} != "no"
SRCS+= authenc.c
CFLAGS+= -DAUTHENTICATION -DENCRYPTION
2014-11-25 21:18:18 +00:00
LIBADD+= mp crypto pam
.endif
.if ${MK_KERBEROS_SUPPORT} != "no"
CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write
2014-11-25 21:18:18 +00:00
LIBADD+= krb5 roken
.endif
1994-05-27 12:39:25 +00:00
.include <bsd.prog.mk>