1 # from: @(#)Makefile 8.2 (Berkeley) 12/15/93 2 # $NetBSD: Makefile,v 1.26 2006/05/11 23:16:29 mrg 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 SRCS+= kerberos5.c 22 CPPFLAGS+= -DKRB5 23 CPPFLAGS+= -I${DESTDIR}/usr/include/krb5 24 .endif 25 26 .if (${USE_PAM} != "no") 27 SRCS+= sra.c pk.c 28 CPPFLAGS+= -DSRA 29 .endif 30 31 .if ${HAVE_GCC} == 4 32 .for f in auth enc_des kerberos5 pk 33 COPTS.${f}.c+= -Wno-pointer-sign 34 .endfor 35 .endif 36 37 .include <bsd.lib.mk> 38