NetBSD/bin/rcp/Makefile
thorpej 9c33b55e7c 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 18:10:19 +00:00

23 lines
450 B
Makefile

# $NetBSD: Makefile,v 1.20 2002/03/22 18:10:19 thorpej Exp $
# @(#)Makefile 8.1 (Berkeley) 7/19/93
.include <bsd.own.mk>
PROG= rcp
SRCS= rcp.c util.c
# XXX Kerberos support broken right now.
USE_KERBEROS= no
.if (${USE_KERBEROS} != "no")
RLOGIN= ${.CURDIR}/../../usr.bin/rlogin
.PATH: ${RLOGIN}
SRCS+= krcmd.c kcmd.c
CPPFLAGS+= -DKERBEROS -DCRYPT -I${RLOGIN}
LDADD+= -lkrb -ldes
DPADD+= ${LIBKRB} ${LIBDES}
.endif
.include <bsd.prog.mk>