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