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