head	1.14;
access;
symbols
	netbsd-11-0-RC3:1.14
	netbsd-11-0-RC2:1.14
	netbsd-11-0-RC1:1.14
	perseant-exfatfs-base-20250801:1.14
	netbsd-11:1.14.0.40
	netbsd-11-base:1.14
	netbsd-10-1-RELEASE:1.14
	perseant-exfatfs-base-20240630:1.14
	perseant-exfatfs:1.14.0.38
	perseant-exfatfs-base:1.14
	netbsd-8-3-RELEASE:1.14
	netbsd-9-4-RELEASE:1.14
	netbsd-10-0-RELEASE:1.14
	netbsd-10-0-RC6:1.14
	netbsd-10-0-RC5:1.14
	netbsd-10-0-RC4:1.14
	netbsd-10-0-RC3:1.14
	netbsd-10-0-RC2:1.14
	netbsd-10-0-RC1:1.14
	netbsd-10:1.14.0.36
	netbsd-10-base:1.14
	netbsd-9-3-RELEASE:1.14
	cjep_sun2x-base1:1.14
	cjep_sun2x:1.14.0.34
	cjep_sun2x-base:1.14
	cjep_staticlib_x-base1:1.14
	netbsd-9-2-RELEASE:1.14
	cjep_staticlib_x:1.14.0.32
	cjep_staticlib_x-base:1.14
	netbsd-9-1-RELEASE:1.14
	phil-wifi-20200421:1.14
	phil-wifi-20200411:1.14
	is-mlppp:1.14.0.30
	is-mlppp-base:1.14
	phil-wifi-20200406:1.14
	netbsd-8-2-RELEASE:1.14
	netbsd-9-0-RELEASE:1.14
	netbsd-9-0-RC2:1.14
	netbsd-9-0-RC1:1.14
	phil-wifi-20191119:1.14
	netbsd-9:1.14.0.28
	netbsd-9-base:1.14
	phil-wifi-20190609:1.14
	netbsd-8-1-RELEASE:1.14
	netbsd-8-1-RC1:1.14
	pgoyette-compat-merge-20190127:1.14
	pgoyette-compat-20190127:1.14
	pgoyette-compat-20190118:1.14
	pgoyette-compat-1226:1.14
	pgoyette-compat-1126:1.14
	pgoyette-compat-1020:1.14
	pgoyette-compat-0930:1.14
	pgoyette-compat-0906:1.14
	netbsd-7-2-RELEASE:1.14
	pgoyette-compat-0728:1.14
	netbsd-8-0-RELEASE:1.14
	phil-wifi:1.14.0.26
	phil-wifi-base:1.14
	pgoyette-compat-0625:1.14
	netbsd-8-0-RC2:1.14
	pgoyette-compat-0521:1.14
	pgoyette-compat-0502:1.14
	pgoyette-compat-0422:1.14
	netbsd-8-0-RC1:1.14
	pgoyette-compat-0415:1.14
	pgoyette-compat-0407:1.14
	pgoyette-compat-0330:1.14
	pgoyette-compat-0322:1.14
	pgoyette-compat-0315:1.14
	netbsd-7-1-2-RELEASE:1.14
	pgoyette-compat:1.14.0.24
	pgoyette-compat-base:1.14
	netbsd-7-1-1-RELEASE:1.14
	matt-nb8-mediatek:1.14.0.22
	matt-nb8-mediatek-base:1.14
	perseant-stdc-iso10646:1.14.0.20
	perseant-stdc-iso10646-base:1.14
	netbsd-8:1.14.0.18
	netbsd-8-base:1.14
	prg-localcount2-base3:1.14
	prg-localcount2-base2:1.14
	prg-localcount2-base1:1.14
	prg-localcount2:1.14.0.16
	prg-localcount2-base:1.14
	pgoyette-localcount-20170426:1.14
	bouyer-socketcan-base1:1.14
	pgoyette-localcount-20170320:1.14
	netbsd-7-1:1.14.0.14
	netbsd-7-1-RELEASE:1.14
	netbsd-7-1-RC2:1.14
	netbsd-7-nhusb-base-20170116:1.14
	bouyer-socketcan:1.14.0.12
	bouyer-socketcan-base:1.14
	pgoyette-localcount-20170107:1.14
	netbsd-7-1-RC1:1.14
	pgoyette-localcount-20161104:1.14
	netbsd-7-0-2-RELEASE:1.14
	localcount-20160914:1.14
	netbsd-7-nhusb:1.14.0.10
	netbsd-7-nhusb-base:1.14
	pgoyette-localcount-20160806:1.14
	pgoyette-localcount-20160726:1.14
	pgoyette-localcount:1.14.0.8
	pgoyette-localcount-base:1.14
	netbsd-7-0-1-RELEASE:1.14
	netbsd-7-0:1.14.0.6
	netbsd-7-0-RELEASE:1.14
	netbsd-7-0-RC3:1.14
	netbsd-7-0-RC2:1.14
	netbsd-7-0-RC1:1.14
	netbsd-5-2-3-RELEASE:1.13
	netbsd-5-1-5-RELEASE:1.13
	netbsd-6-0-6-RELEASE:1.13
	netbsd-6-1-5-RELEASE:1.13
	netbsd-7:1.14.0.4
	netbsd-7-base:1.14
	yamt-pagecache-base9:1.14
	yamt-pagecache-tag8:1.13
	netbsd-6-1-4-RELEASE:1.13
	netbsd-6-0-5-RELEASE:1.13
	tls-earlyentropy:1.14.0.2
	tls-earlyentropy-base:1.14
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.14
	riastradh-drm2-base3:1.14
	netbsd-6-1-3-RELEASE:1.13
	netbsd-6-0-4-RELEASE:1.13
	netbsd-5-2-2-RELEASE:1.13
	netbsd-5-1-4-RELEASE:1.13
	netbsd-6-1-2-RELEASE:1.13
	netbsd-6-0-3-RELEASE:1.13
	netbsd-5-2-1-RELEASE:1.13
	netbsd-5-1-3-RELEASE:1.13
	netbsd-6-1-1-RELEASE:1.13
	riastradh-drm2-base2:1.13
	riastradh-drm2-base1:1.13
	riastradh-drm2:1.13.0.66
	riastradh-drm2-base:1.13
	netbsd-6-1:1.13.0.70
	netbsd-6-0-2-RELEASE:1.13
	netbsd-6-1-RELEASE:1.13
	netbsd-6-1-RC4:1.13
	netbsd-6-1-RC3:1.13
	agc-symver:1.13.0.68
	agc-symver-base:1.13
	netbsd-6-1-RC2:1.13
	netbsd-6-1-RC1:1.13
	yamt-pagecache-base8:1.13
	netbsd-5-2:1.13.0.64
	netbsd-6-0-1-RELEASE:1.13
	yamt-pagecache-base7:1.13
	netbsd-5-2-RELEASE:1.13
	netbsd-5-2-RC1:1.13
	matt-nb6-plus-nbase:1.13
	yamt-pagecache-base6:1.13
	netbsd-6-0:1.13.0.62
	netbsd-6-0-RELEASE:1.13
	netbsd-6-0-RC2:1.13
	tls-maxphys:1.13.0.60
	tls-maxphys-base:1.14
	matt-nb6-plus:1.13.0.58
	matt-nb6-plus-base:1.13
	netbsd-6-0-RC1:1.13
	yamt-pagecache-base5:1.13
	yamt-pagecache-base4:1.13
	netbsd-6:1.13.0.56
	netbsd-6-base:1.13
	netbsd-5-1-2-RELEASE:1.13
	netbsd-5-1-1-RELEASE:1.13
	yamt-pagecache-base3:1.13
	yamt-pagecache-base2:1.13
	yamt-pagecache:1.13.0.54
	yamt-pagecache-base:1.13
	cherry-xenmp:1.13.0.52
	cherry-xenmp-base:1.13
	bouyer-quota2-nbase:1.13
	bouyer-quota2:1.13.0.50
	bouyer-quota2-base:1.13
	matt-mips64-premerge-20101231:1.13
	matt-nb5-mips64-premerge-20101231:1.13
	matt-nb5-pq3:1.13.0.48
	matt-nb5-pq3-base:1.13
	netbsd-5-1:1.13.0.46
	netbsd-5-1-RELEASE:1.13
	netbsd-5-1-RC4:1.13
	matt-nb5-mips64-k15:1.13
	netbsd-5-1-RC3:1.13
	netbsd-5-1-RC2:1.13
	netbsd-5-1-RC1:1.13
	netbsd-5-0-2-RELEASE:1.13
	matt-nb5-mips64-premerge-20091211:1.13
	matt-premerge-20091211:1.13
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.13
	matt-nb4-mips64-k7-u2a-k9b:1.13
	matt-nb5-mips64-u1-k1-k5:1.13
	matt-nb5-mips64:1.13.0.44
	netbsd-5-0-1-RELEASE:1.13
	jym-xensuspend-nbase:1.13
	netbsd-5-0:1.13.0.42
	netbsd-5-0-RELEASE:1.13
	netbsd-5-0-RC4:1.13
	netbsd-5-0-RC3:1.13
	netbsd-5-0-RC2:1.13
	jym-xensuspend:1.13.0.40
	jym-xensuspend-base:1.13
	netbsd-5-0-RC1:1.13
	netbsd-5:1.13.0.38
	netbsd-5-base:1.13
	matt-mips64-base2:1.13
	matt-mips64:1.13.0.36
	mjf-devfs2:1.13.0.34
	mjf-devfs2-base:1.13
	netbsd-4-0-1-RELEASE:1.13
	wrstuden-revivesa-base-3:1.13
	wrstuden-revivesa-base-2:1.13
	wrstuden-fixsa-newbase:1.13
	wrstuden-revivesa-base-1:1.13
	yamt-pf42-base4:1.13
	yamt-pf42-base3:1.13
	hpcarm-cleanup-nbase:1.13
	yamt-pf42-baseX:1.13
	yamt-pf42-base2:1.13
	wrstuden-revivesa:1.13.0.32
	wrstuden-revivesa-base:1.13
	yamt-pf42:1.13.0.30
	yamt-pf42-base:1.13
	keiichi-mipv6-nbase:1.13
	keiichi-mipv6:1.13.0.28
	keiichi-mipv6-base:1.13
	matt-armv6-nbase:1.13
	matt-armv6-prevmlocking:1.13
	wrstuden-fixsa-base-1:1.13
	netbsd-4-0:1.13.0.26
	netbsd-4-0-RELEASE:1.13
	cube-autoconf:1.13.0.24
	cube-autoconf-base:1.13
	netbsd-4-0-RC5:1.13
	netbsd-4-0-RC4:1.13
	netbsd-4-0-RC3:1.13
	netbsd-4-0-RC2:1.13
	netbsd-4-0-RC1:1.13
	matt-armv6:1.13.0.22
	matt-armv6-base:1.13
	matt-mips64-base:1.13
	hpcarm-cleanup:1.13.0.20
	hpcarm-cleanup-base:1.13
	netbsd-3-1-1-RELEASE:1.13
	netbsd-3-0-3-RELEASE:1.13
	wrstuden-fixsa:1.13.0.18
	wrstuden-fixsa-base:1.13
	abandoned-netbsd-4-base:1.13
	abandoned-netbsd-4:1.13.0.12
	netbsd-3-1:1.13.0.14
	netbsd-3-1-RELEASE:1.13
	netbsd-3-0-2-RELEASE:1.13
	netbsd-3-1-RC4:1.13
	netbsd-3-1-RC3:1.13
	netbsd-3-1-RC2:1.13
	netbsd-3-1-RC1:1.13
	netbsd-4:1.13.0.16
	netbsd-4-base:1.13
	netbsd-3-0-1-RELEASE:1.13
	netbsd-3-0:1.13.0.10
	netbsd-3-0-RELEASE:1.13
	netbsd-3-0-RC6:1.13
	netbsd-3-0-RC5:1.13
	netbsd-3-0-RC4:1.13
	netbsd-3-0-RC3:1.13
	netbsd-3-0-RC2:1.13
	netbsd-3-0-RC1:1.13
	netbsd-2-0-3-RELEASE:1.13
	netbsd-2-1:1.13.0.8
	netbsd-2-1-RELEASE:1.13
	netbsd-2-1-RC6:1.13
	netbsd-2-1-RC5:1.13
	netbsd-2-1-RC4:1.13
	netbsd-2-1-RC3:1.13
	netbsd-2-1-RC2:1.13
	netbsd-2-1-RC1:1.13
	netbsd-2-0-2-RELEASE:1.13
	netbsd-3:1.13.0.6
	netbsd-3-base:1.13
	netbsd-2-0-1-RELEASE:1.13
	netbsd-2:1.13.0.4
	netbsd-2-base:1.13
	netbsd-2-0-RELEASE:1.13
	netbsd-2-0-RC5:1.13
	netbsd-2-0-RC4:1.13
	netbsd-2-0-RC3:1.13
	netbsd-2-0-RC2:1.13
	netbsd-2-0-RC1:1.13
	netbsd-2-0:1.13.0.2
	netbsd-2-0-base:1.13
	netbsd-1-6-PATCH002-RELEASE:1.9
	netbsd-1-6-PATCH002:1.9
	netbsd-1-6-PATCH002-RC4:1.9
	netbsd-1-6-PATCH002-RC3:1.9
	netbsd-1-6-PATCH002-RC2:1.9
	netbsd-1-6-PATCH002-RC1:1.9
	netbsd-1-6-PATCH001:1.9
	netbsd-1-6-PATCH001-RELEASE:1.9
	netbsd-1-6-PATCH001-RC3:1.9
	netbsd-1-6-PATCH001-RC2:1.9
	netbsd-1-6-PATCH001-RC1:1.9
	fvdl_fs64_base:1.10
	netbsd-1-6-RELEASE:1.9
	netbsd-1-6-RC3:1.9
	netbsd-1-6-RC2:1.9
	netbsd-1-6-RC1:1.9
	netbsd-1-6:1.9.0.2
	netbsd-1-6-base:1.9
	netbsd-1-5-PATCH003:1.5
	netbsd-1-5-PATCH002:1.5
	netbsd-1-5-PATCH001:1.5
	netbsd-1-5-RELEASE:1.5
	netbsd-1-5-BETA2:1.5
	netbsd-1-5-BETA:1.5
	netbsd-1-4-PATCH003:1.5
	netbsd-1-5-ALPHA2:1.5
	netbsd-1-5:1.5.0.10
	netbsd-1-5-base:1.5
	minoura-xpg4dl-base:1.5
	minoura-xpg4dl:1.5.0.8
	netbsd-1-4-PATCH002:1.5
	wrstuden-devbsize-19991221:1.5
	wrstuden-devbsize:1.5.0.6
	wrstuden-devbsize-base:1.5
	comdex-fall-1999:1.5.0.4
	comdex-fall-1999-base:1.5
	netbsd-1-4-PATCH001:1.5
	netbsd-1-4-RELEASE:1.5
	netbsd-1-4:1.5.0.2
	netbsd-1-4-base:1.5
	netbsd-1-3-PATCH003:1.3.4.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.3.4.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.3.4.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.3.4.1
	netbsd-1-3-PATCH002:1.3.4.1
	netbsd-1-3-PATCH001:1.3.4.1
	netbsd-1-3-RELEASE:1.3.4.1
	netbsd-1-3-BETA:1.3.4.1
	netbsd-1-3:1.3.0.4
	netbsd-1-3-base:1.3
	netbsd-1-2-PATCH001:1.3
	netbsd-1-2-RELEASE:1.3
	netbsd-1-2-BETA:1.3
	netbsd-1-2:1.3.0.6
	netbsd-1-2-base:1.3
	netbsd-1-1-PATCH001:1.3
	netbsd-1-1-RELEASE:1.3
	netbsd-1-1:1.3.0.2
	netbsd-1-1-base:1.3;
locks; strict;
comment	@# @;


1.14
date	2013.12.15.06.10.33;	author christos;	state Exp;
branches;
next	1.13;
commitid	A0vfFTUFPzv41chx;

1.13
date	2003.08.01.17.04.07;	author lukem;	state Exp;
branches
	1.13.54.1
	1.13.60.1;
next	1.12;

1.12
date	2003.07.28.15.25.07;	author lukem;	state Exp;
branches;
next	1.11;

1.11
date	2003.07.10.10.34.48;	author lukem;	state Exp;
branches;
next	1.10;

1.10
date	2002.09.18.13.31.56;	author lukem;	state Exp;
branches;
next	1.9;

1.9
date	2002.03.22.18.10.26;	author thorpej;	state Exp;
branches;
next	1.8;

1.8
date	2001.12.12.01.48.55;	author tv;	state Exp;
branches;
next	1.7;

1.7
date	2000.09.10.23.21.50;	author erh;	state Exp;
branches;
next	1.6;

1.6
date	2000.07.25.06.29.46;	author cgd;	state Exp;
branches;
next	1.5;

1.5
date	99.02.13.02.55.00;	author lukem;	state Exp;
branches;
next	1.4;

1.4
date	97.10.25.06.58.39;	author lukem;	state Exp;
branches;
next	1.3;

1.3
date	95.07.25.22.20.19;	author gwr;	state Exp;
branches
	1.3.4.1;
next	1.2;

1.2
date	95.07.24.19.12.48;	author cgd;	state Exp;
branches;
next	1.1;

1.1
date	95.07.24.04.02.58;	author jtc;	state Exp;
branches;
next	;

1.13.54.1
date	2014.05.22.11.43.09;	author yamt;	state Exp;
branches;
next	;
commitid	wmvImESqVQCgMwBx;

1.13.60.1
date	2014.08.20.00.05.13;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.3.4.1
date	97.11.08.15.12.33;	author lukem;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Add extra rpcgen flags.
@
text
@#	$NetBSD: Makefile.clnt,v 1.13 2003/08/01 17:04:07 lukem Exp $

#	This Makefile builds a client used for testing.

NOMAN=	# defined

.include <bsd.own.mk>

PROG=	clnt.pcnfsd
SRCS=	pcnfsd_test.c pcnfsd_clnt.c pcnfsd_xdr.c

CPPFLAGS+= -DUSER_CACHE -DWTMP -I.

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

DPADD=	${LIBRPCSVC}
LDADD=	-lrpcsvc

# Special rules for the generated C code...

.ifnmake getrpcgen
XRPCGEN != (cd ${.CURDIR} && ${MAKE} getrpcgen)
.endif

getrpcgen:
	@@set -- X `type ${TOOL_RPCGEN}` && shift $$(($$# - 1)) && echo "$$1"

pcnfsd_clnt.c: pcnfsd.x ${XRPCGEN}
	${TOOL_RPCGEN} ${RPCGEN_FLAGS} -l ${.CURDIR}/pcnfsd.x -o $@@

pcnfsd_xdr.c: pcnfsd.x ${XRPCGEN}
	${TOOL_RPCGEN} ${RPCGEN_FLAGS} -c ${.CURDIR}/pcnfsd.x -o $@@

pcnfsd.h: pcnfsd.x ${XRPCGEN}
	${TOOL_RPCGEN} ${RPCGEN_FLAGS} -h ${.CURDIR}/pcnfsd.x -o $@@

DPSRCS+=	pcnfsd.h
CLEANFILES+=	pcnfsd_clnt.c pcnfsd_xdr.c pcnfsd.h

.include <bsd.prog.mk>
@


1.13
log
@Rework how dependency generation is performed:

* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.clnt,v 1.12 2003/07/28 15:25:07 lukem Exp $
d31 1
a31 1
	${TOOL_RPCGEN} -l ${.CURDIR}/pcnfsd.x -o $@@
d34 1
a34 1
	${TOOL_RPCGEN} -c ${.CURDIR}/pcnfsd.x -o $@@
d37 1
a37 1
	${TOOL_RPCGEN} -h ${.CURDIR}/pcnfsd.x -o $@@
@


1.13.60.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
d31 1
a31 1
	${TOOL_RPCGEN} ${RPCGEN_FLAGS} -l ${.CURDIR}/pcnfsd.x -o $@@
d34 1
a34 1
	${TOOL_RPCGEN} ${RPCGEN_FLAGS} -c ${.CURDIR}/pcnfsd.x -o $@@
d37 1
a37 1
	${TOOL_RPCGEN} ${RPCGEN_FLAGS} -h ${.CURDIR}/pcnfsd.x -o $@@
@


1.13.54.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.clnt,v 1.13 2003/08/01 17:04:07 lukem Exp $
d31 1
a31 1
	${TOOL_RPCGEN} ${RPCGEN_FLAGS} -l ${.CURDIR}/pcnfsd.x -o $@@
d34 1
a34 1
	${TOOL_RPCGEN} ${RPCGEN_FLAGS} -c ${.CURDIR}/pcnfsd.x -o $@@
d37 1
a37 1
	${TOOL_RPCGEN} ${RPCGEN_FLAGS} -h ${.CURDIR}/pcnfsd.x -o $@@
@


1.12
log
@Use ${DEPENDSRCS} as a target instead of .depend, now that
<bsd.dep.mk> builds .depend from .dep files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.clnt,v 1.11 2003/07/10 10:34:48 lukem Exp $
d39 2
a40 1
CLEANFILES += pcnfsd_clnt.c pcnfsd_xdr.c pcnfsd.h
a42 2

${DEPENDSRCS} ${OBJS}: pcnfsd.h
@


1.11
log
@Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.clnt,v 1.10 2002/09/18 13:31:56 lukem Exp $
d43 1
a43 1
.depend ${OBJS}: pcnfsd.h
@


1.10
log
@minor makefile delint
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.clnt,v 1.9 2002/03/22 18:10:26 thorpej Exp $
d28 1
a28 1
	@@set -- X `type ${RPCGEN}` && shift $$(($$# - 1)) && echo "$$1"
d31 1
a31 1
	${RPCGEN} -l ${.CURDIR}/pcnfsd.x -o $@@
d34 1
a34 1
	${RPCGEN} -c ${.CURDIR}/pcnfsd.x -o $@@
d37 1
a37 1
	${RPCGEN} -h ${.CURDIR}/pcnfsd.x -o $@@
@


1.9
log
@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.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.clnt,v 1.8 2001/12/12 01:48:55 tv Exp $
d5 2
a10 1
NOMAN=	# defined
@


1.8
log
@MKfoo=no -> NOfoo
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.clnt,v 1.7 2000/09/10 23:21:50 erh Exp $
d5 1
a5 1
CPPFLAGS += -DUSER_CACHE -DWTMP -DUSE_YP -I${.OBJDIR}
d10 6
@


1.7
log
@Make targets which are generated with rpcgen depend on the rpcgen binary.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.clnt,v 1.6 2000/07/25 06:29:46 cgd Exp $
d9 1
a9 1
MKMAN=	no
@


1.6
log
@${RPCGEN}, not hard-coded rpcgen
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.clnt,v 1.5 1999/02/13 02:55:00 lukem Exp $
d16 8
a23 1
pcnfsd_clnt.c: pcnfsd.x
d26 1
a26 1
pcnfsd_xdr.c: pcnfsd.x
d29 1
a29 1
pcnfsd.h: pcnfsd.x
@


1.5
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.clnt,v 1.4 1997/10/25 06:58:39 lukem Exp $
d17 1
a17 1
	rpcgen -l ${.CURDIR}/pcnfsd.x -o $@@
d20 1
a20 1
	rpcgen -c ${.CURDIR}/pcnfsd.x -o $@@
d23 1
a23 1
	rpcgen -h ${.CURDIR}/pcnfsd.x -o $@@
@


1.4
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.clnt,v 1.3 1995/07/25 22:20:19 gwr Exp $
d9 1
a9 1
NOMAN=	noman
@


1.3
log
@Add the NetBSD ID strings.
@
text
@d1 1
a1 1
#	$NetBSD$
d5 1
a5 1
CFLAGS += -DUSER_CACHE -DWTMP -DUSE_YP -I${.OBJDIR}
@


1.3.4.1
log
@sync with trunk (approved by thorpej)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.clnt,v 1.4 1997/10/25 06:58:39 lukem Exp $
d5 1
a5 1
CPPFLAGS += -DUSER_CACHE -DWTMP -DUSE_YP -I${.OBJDIR}
@


1.2
log
@make work regardless of 'obj', do dependencies a bit better
@
text
@d1 1
a1 1
#	$Id: Makefile.clnt,v 1.1 1995/07/24 04:02:58 jtc Exp $
@


1.1
log
@gwr's port of pcnfsd
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1995/06/24 15:03:49 pk Exp $
d5 1
a5 1
CFLAGS += -DUSER_CACHE -DWTMP -DUSE_YP
d8 1
a8 1
SRCS=	pcnfsd_test.c
a13 2
OBJS= pcnfsd_clnt.o pcnfsd_xdr.o

a15 6
pcnfsd_clnt.o : pcnfsd_clnt.c pcnfsd.h
	$(CC) $(CFLAGS) -c $*.c

pcnfsd_xdr.o : pcnfsd_xdr.c pcnfsd.h
	$(CC) $(CFLAGS) -c $*.c

d17 1
a17 1
	rpcgen -l pcnfsd.x -o $@@
d20 1
a20 1
	rpcgen -c pcnfsd.x -o $@@
d23 1
a23 1
	rpcgen -h pcnfsd.x -o $@@
d28 2
@
