1 1.4 cgd # from: @(#)Makefile 8.2 (Berkeley) 12/15/93 2 1.29 lukem # $NetBSD: Makefile,v 1.29 2008/05/03 14:48:31 lukem 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.11 thorpej CPPFLAGS+= -I${DESTDIR}/usr/include/krb5 26 1.12 thorpej .endif 27 1.17 itojun 28 1.27 mrg .if ${USE_PAM} != "no" && ${MKCRYPTO} != "no" 29 1.24 christos SRCS+= sra.c pk.c 30 1.23 christos CPPFLAGS+= -DSRA 31 1.23 christos .endif 32 1.23 christos 33 1.26 mrg .if ${HAVE_GCC} == 4 34 1.26 mrg .for f in auth enc_des kerberos5 pk 35 1.26 mrg COPTS.${f}.c+= -Wno-pointer-sign 36 1.26 mrg .endfor 37 1.26 mrg .endif 38 1.26 mrg 39 1.1 cgd .include <bsd.lib.mk> 40