1994-02-25 05:52:45 +03:00
|
|
|
# from: @(#)Makefile 8.2 (Berkeley) 12/15/93
|
Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.
* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)
* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.
As discussed on tech-toolchain.
2002-03-22 21:10:19 +03:00
|
|
|
# $NetBSD: Makefile,v 1.15 2002/03/22 18:10:21 thorpej Exp $
|
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}
|
|
|
|
|
2002-01-29 20:58:36 +03:00
|
|
|
# XXX See doc/HACKS gcc-3-libtelnet
|
|
|
|
.if defined(HAVE_GCC3)
|
|
|
|
COPTS+= -O0
|
|
|
|
.endif
|
|
|
|
|
Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.
* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
of the infratsructure (libraries, support programs, etc.)
* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
building of support for using the corresponding API
in various libraries/programs that can use it.
As discussed on tech-toolchain.
2002-03-22 21:10:19 +03:00
|
|
|
.if (${USE_KERBEROS} != "no")
|
2000-06-22 10:47:42 +04:00
|
|
|
SRCS+= enc_des.c kerberos.c
|
|
|
|
SRCS+= kerberos5.c
|
1994-02-25 05:52:45 +03:00
|
|
|
|
2000-06-22 10:47:42 +04:00
|
|
|
CPPFLAGS+= -DENCRYPTION -DAUTHENTICATION
|
|
|
|
CPPFLAGS+= -DKRB4 -DDES_ENCRYPTION
|
|
|
|
CPPFLAGS+= -DKRB5
|
2000-06-20 10:00:24 +04:00
|
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include/krb5
|
2000-06-22 10:47:42 +04:00
|
|
|
CPPFLAGS+= -I${DESTDIR}/usr/include/kerberosIV
|
2000-06-23 10:01:10 +04:00
|
|
|
.endif
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|