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