1 1.4 cgd # from: @(#)Makefile 8.2 (Berkeley) 12/15/93 2 1.37 riastrad # $NetBSD: Makefile,v 1.37 2017/05/21 15:28:41 riastradh 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.35 matt WARNS?= 5 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.18 itojun SRCS+= enc_des.c 19 1.18 itojun CPPFLAGS+= -DENCRYPTION -DAUTHENTICATION 20 1.18 itojun CPPFLAGS+= -DDES_ENCRYPTION 21 1.18 itojun 22 1.34 christos .if ${USE_KERBEROS} != "no" 23 1.11 thorpej SRCS+= kerberos5.c 24 1.11 thorpej CPPFLAGS+= -DKRB5 25 1.12 thorpej .endif 26 1.17 itojun 27 1.37 riastrad .if ${USE_PAM} != "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.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 36 1.1 cgd .include <bsd.lib.mk> 37