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 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