Expand PMF_FN_* macros.
[netbsd-mini2440.git] / lib / libtelnet / Makefile
blobdc61b3f14cc1708fda33dfe2b23b72378f6ce8e9
1 # from: @(#)Makefile 8.2 (Berkeley) 12/15/93
2 # $NetBSD: Makefile,v 1.30 2008/07/12 12:29:42 gmcgarry Exp $
4 USE_FORT?= yes # network protocol library
6 LIBISPRIVATE= yes
8 .include <bsd.own.mk>
10 WARNS?= 1
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 (${USE_KERBEROS} != "no")
19 SRCS+= enc_des.c
20 CPPFLAGS+= -DENCRYPTION -DAUTHENTICATION
21 CPPFLAGS+= -DDES_ENCRYPTION
23 SRCS+= kerberos5.c
24 CPPFLAGS+= -DKRB5
25 CPPFLAGS+= -I${DESTDIR}/usr/include/krb5
26 .endif
28 .if ${USE_PAM} != "no" && ${MKCRYPTO} != "no"
29 SRCS+= sra.c pk.c
30 CPPFLAGS+= -DSRA
31 .endif
33 .if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
34 .for f in auth enc_des kerberos5 pk
35 COPTS.${f}.c+= -Wno-pointer-sign
36 .endfor
37 .endif
39 .include <bsd.lib.mk>