1 # from: @(#)Makefile 8.2 (Berkeley) 12/15/93 2 # $NetBSD: Makefile,v 1.23 2005/02/19 21:55:52 christos Exp $ 3 4 MKPRIVATELIB= yes 5 6 .include <bsd.own.mk> 7 8 WARNS?= 1 9 10 LIB= telnet 11 SRCS= auth.c encrypt.c genget.c getent.c misc.c 12 13 CPPFLAGS+= -DHAS_CGETENT 14 CPPFLAGS+= -I${.CURDIR} 15 16 .if (${USE_KERBEROS} != "no") 17 SRCS+= enc_des.c 18 CPPFLAGS+= -DENCRYPTION -DAUTHENTICATION 19 CPPFLAGS+= -DDES_ENCRYPTION 20 21 .if (${USE_KERBEROS4} != "no") 22 SRCS+= kerberos.c 23 CPPFLAGS+= -DKRB4 24 CPPFLAGS+= -I${DESTDIR}/usr/include/kerberosIV 25 .endif 26 27 SRCS+= kerberos5.c 28 CPPFLAGS+= -DKRB5 29 CPPFLAGS+= -I${DESTDIR}/usr/include/krb5 30 .endif 31 32 .if (${USE_PAM} != "no") 33 SRCS+= sra.c 34 CPPFLAGS+= -DSRA 35 .endif 36 37 .include <bsd.lib.mk> 38