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