1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1997-09-24 20:37:15 +00:00
|
|
|
|
|
|
|
# Do not define -DKLUDGELINEMODE, as it does not interact well with many
|
|
|
|
# telnet implementations.
|
|
|
|
|
|
|
|
PROG= telnetd
|
2001-03-27 13:58:21 +00:00
|
|
|
MAN= telnetd.8
|
1997-09-24 20:37:15 +00:00
|
|
|
|
|
|
|
SRCS= global.c slc.c state.c sys_term.c telnetd.c \
|
|
|
|
termstat.c utility.c authenc.c
|
|
|
|
|
2001-11-30 21:14:44 +00:00
|
|
|
CFLAGS+= -DLINEMODE -DUSE_TERMIO -DDIAGNOSTICS -DOLD_ENVIRON \
|
|
|
|
-DENV_HACK -DAUTHENTICATION -DENCRYPTION \
|
|
|
|
-I${TELNETDIR} -DINET6
|
2003-03-06 13:41:53 +00:00
|
|
|
CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write
|
2001-11-01 03:16:03 +00:00
|
|
|
|
2001-11-30 21:14:44 +00:00
|
|
|
WARNS?= 2
|
2001-11-01 03:16:03 +00:00
|
|
|
|
2003-03-09 21:56:55 +00:00
|
|
|
DPADD= ${LIBUTIL} ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} ${LIBCRYPTO} \
|
2001-11-30 21:14:44 +00:00
|
|
|
${LIBKRB5} ${LIBASN1} ${LIBROKEN} ${LIBCOM_ERR} \
|
2001-08-03 16:03:26 +00:00
|
|
|
${LIBCRYPT} ${LIBPAM}
|
2003-03-09 21:56:55 +00:00
|
|
|
LDADD= -lutil -ltermcap ${LIBTELNET} -lmp -lcrypto \
|
2001-12-03 17:45:25 +00:00
|
|
|
-L${KRB5OBJDIR} -lkrb5 -L${ASN1OBJDIR} -lasn1 \
|
|
|
|
-L${ROKENOBJDIR} -lroken -lcom_err \
|
2001-08-03 16:03:26 +00:00
|
|
|
-lcrypt ${MINUSLPAM}
|
1997-09-24 20:37:15 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
|
|
|
.PATH: ${TELNETDIR}/telnetd
|