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