Remove building with NOCRYPTO option
[minix3.git] / lib / libtelnet / Makefile
blobfde8b8dc08aaca4749b7fea7c16ae2178cef2ad1
1 # from: @(#)Makefile 8.2 (Berkeley) 12/15/93
2 # $NetBSD: Makefile,v 1.36 2012/08/10 12:20:10 joerg Exp $
4 USE_FORT?= yes # network protocol library
6 LIBISPRIVATE= yes
8 .include <bsd.own.mk>
10 WARNS?= 5
12 LIB= telnet
13 SRCS= auth.c encrypt.c genget.c getent.c misc.c
15 CPPFLAGS+= -DHAS_CGETENT
16 CPPFLAGS+= -I${.CURDIR}
18 .if ${MKCRYPTO} != "no"
19 SRCS+= enc_des.c
20 CPPFLAGS+= -DENCRYPTION -DAUTHENTICATION
21 CPPFLAGS+= -DDES_ENCRYPTION
22 .endif
24 .if ${USE_KERBEROS} != "no"
25 SRCS+= kerberos5.c
26 CPPFLAGS+= -DKRB5
27 .endif
29 .if ${USE_PAM} != "no" && ${MKCRYPTO} != "no"
30 SRCS+= sra.c pk.c
31 CPPFLAGS+= -DSRA
32 .endif
34 .for f in auth enc_des kerberos5 pk
35 COPTS.${f}.c+= -Wno-pointer-sign
36 .endfor
38 .include <bsd.lib.mk>