2000-02-24 18:59:34 +00:00
|
|
|
# $FreeBSD$
|
1999-10-07 19:47:09 +00:00
|
|
|
|
|
|
|
# Do not define -DKLUDGELINEMODE, as it does not interact well with many
|
|
|
|
# telnet implementations.
|
|
|
|
|
|
|
|
PROG= telnetd
|
2001-03-26 14:53:33 +00:00
|
|
|
MAN= telnetd.8
|
1999-10-07 19:47:09 +00:00
|
|
|
|
|
|
|
CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
|
|
|
|
-DENV_HACK -DAUTHENTICATION -DENCRYPTION \
|
2000-01-27 09:28:38 +00:00
|
|
|
-I${TELNETDIR} -DINET6
|
1999-10-07 19:47:09 +00:00
|
|
|
|
|
|
|
SRCS= global.c slc.c state.c sys_term.c telnetd.c \
|
|
|
|
termstat.c utility.c authenc.c
|
|
|
|
|
2000-02-24 18:59:34 +00:00
|
|
|
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBCRYPTO} ${LIBMP} \
|
1999-12-18 16:42:33 +00:00
|
|
|
${LIBCRYPT}
|
2001-03-26 14:53:33 +00:00
|
|
|
LDADD= -lutil -ltermcap -ltelnet -lcrypto -lcrypt -lmp
|
1999-10-07 19:47:09 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
|
|
|
.PATH: ${TELNETDIR}/telnetd
|