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