1.include <src.opts.mk> 2 3TELNETDIR= ${SRCTOP}/contrib/telnet 4.PATH: ${TELNETDIR}/libtelnet 5 6LIB= telnet 7 8INTERNALLIB= 9 10SRCS= genget.c getent.c misc.c 11CFLAGS+= -I${TELNETDIR} 12 13WARNS?= 2 14 15.if ${MK_OPENSSL} != "no" 16SRCS+= encrypt.c auth.c enc_des.c sra.c pk.c 17CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA 18CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L 19.endif 20 21.if ${MK_KERBEROS_SUPPORT} != "no" && ${MK_MITKRB5} != "yes" 22# MIT KRB5 deprecated and removed 3DES. Therefore no telnet support. 23SRCS+= kerberos5.c 24CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write 25.endif 26 27.include <bsd.lib.mk> 28