NetBSD/lib/libtelnet/Makefile

38 lines
688 B
Makefile
Raw Normal View History

# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
2006-06-25 07:02:19 +04:00
# $NetBSD: Makefile,v 1.27 2006/06/25 03:02:19 mrg Exp $
2003-07-16 23:35:34 +04:00
MKPRIVATELIB= yes
.include <bsd.own.mk>
1993-03-21 12:45:37 +03:00
2001-11-05 18:22:23 +03:00
WARNS?= 1
1993-03-21 12:45:37 +03:00
LIB= telnet
SRCS= auth.c encrypt.c genget.c getent.c misc.c
CPPFLAGS+= -DHAS_CGETENT
CPPFLAGS+= -I${.CURDIR}
.if (${USE_KERBEROS} != "no")
SRCS+= enc_des.c
CPPFLAGS+= -DENCRYPTION -DAUTHENTICATION
CPPFLAGS+= -DDES_ENCRYPTION
SRCS+= kerberos5.c
CPPFLAGS+= -DKRB5
CPPFLAGS+= -I${DESTDIR}/usr/include/krb5
.endif
1993-03-21 12:45:37 +03:00
2006-06-25 07:02:19 +04:00
.if ${USE_PAM} != "no" && ${MKCRYPTO} != "no"
2005-02-20 01:47:10 +03:00
SRCS+= sra.c pk.c
2005-02-20 00:55:52 +03:00
CPPFLAGS+= -DSRA
.endif
.if ${HAVE_GCC} == 4
.for f in auth enc_des kerberos5 pk
COPTS.${f}.c+= -Wno-pointer-sign
.endfor
.endif
1993-03-21 12:45:37 +03:00
.include <bsd.lib.mk>