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