Subject: CVS commit: sharesrc/share/mk
To: None <source-changes@netbsd.org>
From: Todd Vierling <tv@netbsd.org>
List: source-changes
Date: 01/04/2002 00:45:27
Module Name:	sharesrc
Committed By:	tv
Date:		Thu Jan  3 22:45:27 UTC 2002

Modified Files:
	basesrc/tools/mkdep: Makefile
	sharesrc/share/mk: bsd.hostlib.mk bsd.hostprog.mk bsd.own.mk
Added Files:
	basesrc/tools/mkdep: configure configure.ac host-mkdep.in

Log Message:
Add more tolerant script-based implementation of mkdep for host tool
compiles.  Based loosely on mkdep.old.compiler (so CSRG license copied),
but now uses just one rewrite (awk) process per cpp invocation and
determines the proper way to run cpp and awk via a "configure" script.

Use HOST_MKDEP in bsd.hostlib/hostprog.mk (defaulting to the old override
value of MKDEP), and give it a TOOLDIR equivalent in bsd.own.mk.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 basesrc/tools/mkdep/Makefile
cvs rdiff -r0 -r1.1 basesrc/tools/mkdep/configure \
    basesrc/tools/mkdep/configure.ac basesrc/tools/mkdep/host-mkdep.in
cvs rdiff -r1.1 -r1.2 sharesrc/share/mk/bsd.hostlib.mk
cvs rdiff -r1.22 -r1.23 sharesrc/share/mk/bsd.hostprog.mk
cvs rdiff -r1.247 -r1.248 sharesrc/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.