2003-07-23 12:01:24 +04:00
|
|
|
# $NetBSD: Makefile,v 1.22 2003/07/23 08:01:24 itojun Exp $
|
1995-03-21 11:18:58 +03:00
|
|
|
# @(#)Makefile 8.1 (Berkeley) 7/19/93
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2001-12-12 03:07:45 +03:00
|
|
|
.include <bsd.own.mk>
|
2000-06-20 10:00:24 +04:00
|
|
|
|
2001-12-12 03:07:45 +03:00
|
|
|
PROG= rcp
|
|
|
|
SRCS= rcp.c util.c
|
2000-06-20 10:00:24 +04:00
|
|
|
|
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
|
|
|
# XXX Kerberos support broken right now.
|
2003-07-23 12:01:24 +04:00
|
|
|
USE_KERBEROS4= no
|
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
|
|
|
|
2003-07-23 12:01:24 +04:00
|
|
|
.if (${USE_KERBEROS4} != "no")
|
2002-08-19 13:56:00 +04:00
|
|
|
RLOGIN= ${NETBSDSRCDIR}/usr.bin/rlogin
|
2001-12-12 03:07:45 +03:00
|
|
|
.PATH: ${RLOGIN}
|
2000-06-20 10:00:24 +04:00
|
|
|
|
2001-12-12 03:07:45 +03:00
|
|
|
SRCS+= krcmd.c kcmd.c
|
|
|
|
CPPFLAGS+= -DKERBEROS -DCRYPT -I${RLOGIN}
|
|
|
|
LDADD+= -lkrb -ldes
|
|
|
|
DPADD+= ${LIBKRB} ${LIBDES}
|
2000-06-23 10:01:10 +04:00
|
|
|
.endif
|
1999-07-13 02:04:09 +04:00
|
|
|
|
1993-03-21 12:45:37 +03:00
|
|
|
.include <bsd.prog.mk>
|