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