1999-08-28 01:35:59 +00:00
|
|
|
# $FreeBSD$
|
1997-09-24 20:37:15 +00:00
|
|
|
|
|
|
|
PROG= telnet
|
|
|
|
|
2001-11-30 21:12:31 +00:00
|
|
|
SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c \
|
|
|
|
telnet.c terminal.c utilities.c
|
|
|
|
|
2001-08-20 12:32:45 +00:00
|
|
|
CFLAGS+= -DKLUDGELINEMODE -DUSE_TERMIO -DENV_HACK -DOPIE \
|
2001-08-03 16:03:26 +00:00
|
|
|
-DENCRYPTION -DAUTHENTICATION -DIPSEC -DINET6 \
|
2001-11-30 21:12:31 +00:00
|
|
|
-I${TELNETDIR} -I${TELNETDIR}/libtelnet/
|
|
|
|
|
2001-08-03 16:03:26 +00:00
|
|
|
CFLAGS+= -DKRB4
|
1997-09-24 20:37:15 +00:00
|
|
|
|
2001-11-30 21:12:31 +00:00
|
|
|
WARNS?= 2
|
1997-09-24 20:37:15 +00:00
|
|
|
|
2001-11-30 21:12:31 +00:00
|
|
|
DPADD= ${LIBTERMCAP} ${LIBTELNET} ${LIBMP} \
|
|
|
|
${LIBKRB} ${LIBCOM_ERR} \
|
|
|
|
${LIBCRYPTO} ${LIBCRYPT} ${LIBIPSEC} ${LIBPAM}
|
|
|
|
LDADD= -ltermcap ${LIBTELNET} -lmp \
|
2001-12-03 17:45:25 +00:00
|
|
|
-L${KRBOBJDIR} -lkrb -lcom_err \
|
2001-11-30 21:12:31 +00:00
|
|
|
-lcrypto -lcrypt -lipsec ${MINUSLPAM}
|
1997-09-24 20:37:15 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
|
|
|
.PATH: ${TELNETDIR}/telnet
|