39 lines
738 B
Makefile
39 lines
738 B
Makefile
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
|
# $NetBSD: Makefile,v 1.20 2003/07/23 13:35:14 itojun Exp $
|
|
|
|
NOPIC= # defined
|
|
NOPROFILE= # defined
|
|
NOLINT= # defined
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
WARNS?= 1
|
|
|
|
LIB= telnet
|
|
SRCS= auth.c encrypt.c genget.c getent.c misc.c
|
|
|
|
CPPFLAGS+= -DHAS_CGETENT
|
|
CPPFLAGS+= -I${.CURDIR}
|
|
|
|
.if (${USE_KERBEROS4} != "no") || (${USE_KERBEROS} != "no")
|
|
SRCS+= enc_des.c
|
|
CPPFLAGS+= -DENCRYPTION -DAUTHENTICATION
|
|
CPPFLAGS+= -DDES_ENCRYPTION
|
|
|
|
.if (${USE_KERBEROS4} != "no")
|
|
SRCS+= kerberos.c
|
|
CPPFLAGS+= -DKRB4
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include/kerberosIV
|
|
.endif
|
|
|
|
.if (${USE_KERBEROS} != "no")
|
|
SRCS+= kerberos5.c
|
|
CPPFLAGS+= -DKRB5
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include/krb5
|
|
.endif
|
|
.endif
|
|
|
|
libinstall::
|
|
|
|
.include <bsd.lib.mk>
|