1# From: @(#)Makefile 8.2 (Berkeley) 12/15/93 2# $FreeBSD$ 3 4TELNETDIR= ${.CURDIR}/../../contrib/telnet 5.PATH: ${TELNETDIR}/libtelnet 6 7LIB= telnet 8 9INTERNALLIB= 10 11SRCS= genget.c getent.c misc.c 12CFLAGS+= -I${TELNETDIR} 13 14WARNS?= 0 15 16.if !defined(RELEASE_CRUNCH) 17.if !defined(NO_CRYPT) && !defined(NO_OPENSSL) 18SRCS+= encrypt.c auth.c enc_des.c sra.c pk.c 19CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA 20.if !defined(NO_KERBEROS) 21SRCS+= kerberos5.c 22CFLAGS+= -DKRB5 -I${KRB5DIR}/lib/krb5 -I${KRB5OBJDIR} -I${ASN1OBJDIR} 23CFLAGS+= -DFORWARD -Dnet_write=telnet_net_write 24.endif 25.endif 26.endif 27 28INCS= ${TELNETDIR}/arpa/telnet.h 29INCSDIR= ${INCLUDEDIR}/arpa 30 31.include <bsd.lib.mk> 32