1# From: @(#)Makefile 8.2 (Berkeley) 12/15/93 2# $FreeBSD$ 3 4.include <bsd.own.mk> 5 6TELNETDIR= ${.CURDIR}/../../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 !defined(RELEASE_CRUNCH) 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.endif 30 31INCS= ${TELNETDIR}/arpa/telnet.h 32INCSDIR= ${INCLUDEDIR}/arpa 33 34.include <bsd.lib.mk> 35