[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.sbin / rpc.bootparamd

File: [cvs.NetBSD.org] / src / usr.sbin / rpc.bootparamd / Makefile (download)

Revision 1.21, Fri Mar 22 18:10:25 2002 UTC (17 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.20: +6 -1 lines

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.

#	$NetBSD: Makefile,v 1.21 2002/03/22 18:10:25 thorpej Exp $

.include <bsd.own.mk>

PROG=	rpc.bootparamd
SRCS=	bootparamd.c bootparam_prot_svc.c
MAN=	bootparams.5 rpc.bootparamd.8
MLINKS=	rpc.bootparamd.8 bootparamd.8

.if (${USE_YP} != "no")
CPPFLAGS+=-DYP
.endif

DPADD=	${LIBRPCSVC} ${LIBUTIL}
LDADD=	-lrpcsvc -lutil

CLEANFILES += bootparam_prot_svc.c bootparam_prot.x bootparam_prot.h

.include <bsd.prog.mk>

bootparam_prot.x: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
	rm -f ${.TARGET}
	ln -s ${.ALLSRC} ${.TARGET}

bootparam_prot.h: ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.h
	rm -f ${.TARGET}
	ln -s ${.ALLSRC} ${.TARGET}

bootparam_prot_svc.c: bootparam_prot.x bootparam_prot.h
	${RPCGEN} -C -L -m -o ${.TARGET} bootparam_prot.x