1# From: @(#)Makefile 8.2 (Berkeley) 12/15/93 2# $FreeBSD$ 3 4.include <src.opts.mk> 5 6PACKAGE=lib${LIB} 7TELNETDIR= ${.CURDIR}/../../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 22.endif 23 24.if ${MK_KERBEROS_SUPPORT} != "no" 25SRCS+= kerberos5.c 26CFLAGS+= -DKRB5 -I${KRB5DIR}/lib/krb5 -I${KRB5OBJDIR} -I${ASN1OBJDIR} 27CFLAGS+= -DFORWARD -Dnet_write=telnet_net_write 28.endif 29 30.include <bsd.lib.mk> 31