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 21.endif 22 23.if ${MK_KERBEROS_SUPPORT} != "no" 24SRCS+= kerberos5.c 25CFLAGS+= -DKRB5 -DFORWARD -Dnet_write=telnet_net_write 26.endif 27 28.include <bsd.lib.mk> 29