1 1.4 cgd # from: @(#)Makefile 8.2 (Berkeley) 12/15/93 2 1.15 thorpej # $NetBSD: Makefile,v 1.15 2002/03/22 18:10:21 thorpej Exp $ 3 1.12 thorpej 4 1.12 thorpej .include <bsd.own.mk> 5 1.13 lukem 6 1.13 lukem WARNS?= 1 7 1.8 thorpej 8 1.11 thorpej LIB= telnet 9 1.11 thorpej SRCS= auth.c encrypt.c genget.c getent.c misc.c 10 1.1 cgd 11 1.12 thorpej CPPFLAGS+= -DHAS_CGETENT 12 1.12 thorpej CPPFLAGS+= -I${.CURDIR} 13 1.14 thorpej 14 1.14 thorpej # XXX See doc/HACKS gcc-3-libtelnet 15 1.14 thorpej .if defined(HAVE_GCC3) 16 1.14 thorpej COPTS+= -O0 17 1.14 thorpej .endif 18 1.12 thorpej 19 1.15 thorpej .if (${USE_KERBEROS} != "no") 20 1.11 thorpej SRCS+= enc_des.c kerberos.c 21 1.11 thorpej SRCS+= kerberos5.c 22 1.10 thorpej 23 1.11 thorpej CPPFLAGS+= -DENCRYPTION -DAUTHENTICATION 24 1.11 thorpej CPPFLAGS+= -DKRB4 -DDES_ENCRYPTION 25 1.11 thorpej CPPFLAGS+= -DKRB5 26 1.11 thorpej CPPFLAGS+= -I${DESTDIR}/usr/include/krb5 27 1.10 thorpej CPPFLAGS+= -I${DESTDIR}/usr/include/kerberosIV 28 1.12 thorpej .endif 29 1.1 cgd 30 1.1 cgd .include <bsd.lib.mk> 31