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
|
|
|
|
2001-11-30 21:10:58 +00:00
|
|
|
SRCS= global.c slc.c state.c sys_term.c telnetd.c \
|
|
|
|
termstat.c utility.c authenc.c
|
|
|
|
|
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
|
|
|
|
2001-11-30 21:10:58 +00:00
|
|
|
WARNS?= 2
|
2002-02-06 11:07:55 +00:00
|
|
|
WFORMAT?= 0
|
1999-10-07 19:47:09 +00:00
|
|
|
|
2001-07-30 14:36:19 +00:00
|
|
|
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} ${LIBCRYPTO} \
|
|
|
|
${LIBCRYPT} ${LIBPAM}
|
|
|
|
LDADD= -lutil -ltermcap ${LIBTELNET} -lmp -lcrypto \
|
|
|
|
-lcrypt ${MINUSLPAM}
|
1999-10-07 19:47:09 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
|
|
|
.PATH: ${TELNETDIR}/telnetd
|