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