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