1994-02-25 05:52:45 +03:00
|
|
|
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
2005-02-20 01:47:10 +03:00
|
|
|
# $NetBSD: Makefile,v 1.24 2005/02/19 22:47:10 christos Exp $
|
2003-07-16 23:35:34 +04:00
|
|
|
|
2004-05-23 06:24:50 +04:00
|
|
|
MKPRIVATELIB= yes
|
2000-06-23 10:01:10 +04:00
|
|
|
|
|
|
|
.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
|
2000-06-22 10:47:42 +04:00
|
|
|
SRCS= auth.c encrypt.c genget.c getent.c misc.c
|
|
|
|
|
2000-06-23 10:01:10 +04:00
|
|
|
CPPFLAGS+= -DHAS_CGETENT
|
|
|
|
CPPFLAGS+= -I${.CURDIR}
|
|
|
|
|
2003-12-11 12:46:26 +03:00
|
|
|
.if (${USE_KERBEROS} != "no")
|
2003-07-23 12:01:24 +04:00
|
|
|
SRCS+= enc_des.c
|
|
|
|
CPPFLAGS+= -DENCRYPTION -DAUTHENTICATION
|
|
|
|
CPPFLAGS+= -DDES_ENCRYPTION
|
|
|
|
|
|
|
|
.if (${USE_KERBEROS4} != "no")
|
|
|
|
SRCS+= kerberos.c
|
|
|
|
CPPFLAGS+= -DKRB4
|
2003-07-23 17:35:13 +04:00
|
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include/kerberosIV
|
2003-07-23 12:01:24 +04:00
|
|
|
.endif
|
|
|
|
|
2000-06-22 10:47:42 +04:00
|
|
|
SRCS+= kerberos5.c
|
|
|
|
CPPFLAGS+= -DKRB5
|
2000-06-20 10:00:24 +04:00
|
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include/krb5
|
2003-07-23 12:01:24 +04:00
|
|
|
.endif
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2005-02-20 00:55:52 +03:00
|
|
|
.if (${USE_PAM} != "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
|
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.lib.mk>
|