2010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20100612
	* lib.mk: remove duplicate addition to SOBJS

2010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>

	* sys.mk: Add a means of selectively turning on debug flags.
	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
	  will act as if we did make -dv if .CURDIR ends in lib/sjg
	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
	  the start of sys.mk rather than the end.
	  This only makes sense for leaf dirs, so we check that
	  .MAKE.LEVEL > 0

2010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20100608
	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
	  also make it easier for folk to tweak

2010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20100606
	  do not install examples/*
	* FILES: add examples/sys.clean-env.mk
	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
	  this requires bmake-20100606 or later to work.

2010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>

	* sys.mk (M_tA): better simulate the result of :tA if not available.

2010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* sys.mk: canonicalize MAKE_VERSION
	  old versions reported bmake-<src-date> build-<build-date>
	  whereas we only care about <src-date>

2010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
	  is !empty

2010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dpadd.mk: use LDADD_* if defined.

2010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20100420
	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
	* autoconf.mk allow AUTO_AUTOCONF
	
2010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>

	* obj.mk: add objwarn to keep freebsd makefiles happy
	* auto.obj.mk: ensure Mkdirs is available.
	* FILES: add auto.dep.mk - a simpler version of autodep.mk
	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
	  asked to do that.
	  fix/simplify the tests for when to run mkdep.
	* auto.dep.mk: add some explaination of how/what we do.
	* autodep.mk: skip the .OPTIONAL frobbing of .depend
	  bmake's FROM_DEPEND flag makes it redundant.
	
2010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20100404
	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
	Also create a target _SUBDIRUSE so that we can  be used without
	subdir.mk

2010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>

	* dep.mk: use <> when .including so can override.

2010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>

	* lib.mk (SHLIB_LINKS): ensure a string comparison.

2010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>

	* install-mk (MK_VERSION): bump version to 20100102
	* own.mk: ensure PRINTOBJDIR works
	* autoconf.mk: pass on CONFIGURE_ARGS
	* init.mk: handle COPTS.${.IMPSRC:T} etc.
	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
	  fix handling of symlinks for darwin
	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
	* man.mk: suppress chown when not root.
	* rst2htm.mk: allow srcs from multiple locations.
	* sys.mk: M_whence, stop after 1st line of output.
	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
	* sys/SunOS.mk: we need to export PATH

2009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	  include rst2htm.mk

2009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>

	* sys.mk,libnames.mk add .-include <local.*>
	  this allows local customization without the need to edit the
	  distributed files. 

2009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>

	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
	  older versions already installed.

2009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>

	* stage.mk (.stage-install): generalize lib.mk's .libinstall
	* rules.mk rules for generic Makefile.
	* inc.mk install for includes.

2009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>

	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
	  this, so provide it if using native make.

2009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>

	* FILES: move all the platform *.sys.mk files to sys/*.mk
	* Rename Generic.sys.mk to sys.mk - we always want it.

2009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	* host-target.mk: only export the expensive stuff 
	* Generic.sys.mk (sys_mk): for SunOS we need to look for
	  ${HOST_OS}.${HOST_OSMAJOR} too!

2009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
	  based on patch from Greg Olszewski.
	* Generic.sys.mk: if we have nothing to work with
	set LORDER etc only if we can find it.

2009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	* man.mk: cleanman: remove CLEANMAN if defined.

2009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>

	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk

2009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	include auto.obj.mk


2009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>

	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.

2008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	man.mk: ensure we generate *.cat1 etc in .

2008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	add prlist.mk

2007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>

	* Generic.sys.mk: Allow os specific sys.mk to be in a
	subdir of ${.PARSEDIR}

2007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	* general cleanup
	* dpadd.mk introduce DPMAGIC_LIBS_* 

2007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version

	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
	depend files and ensure clean is called for each lib/prog.

2007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>

	* autodep.mk (.depend): delete lines that do not start with
	space and do not contain ':'

2007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>

	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
	so make sure the transform for .OPTIONAL copes.

2007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version

	* own.mk: make sure RM and LN are defined.

	* obj.mk: fix a typo, and objlink target.

2006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version
	* added libs.mk - analagous to progs.mk
	  make both of them always inlcude {lib,prog}.mk

2006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>

	* progs.mk: add a means of building multiple apps in one dir.

2006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20061126

	* warnings.mk: detect invalid WARNINGS_SET
	
	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
	specific warnings. 
	
	* For .cc sources, turn off warnings that g++ vomits on.

2006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>

	* own.mk: if __initialized__ target doesn't exist and we are
	FreeBSD we got here directly from sys.mk

2006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20061106
	add scripts.mk

2006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20060318

	* autodep.mk: avoid := when modifying OBJS into __dependsrcs

2006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20060302
	* autodep.mk: use -MF et al to help gcc+ccache DTRT.

2006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20060301
	* autodep.mk (.depend): 
	if MAKE_VERSION is newer than  20050530 we can make .END depend on
	.depend and make .depend depend on __depsrcs that exist.
	* dpadd.mk: add SRC_PATHADD
	
2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20051104
	* prog.mk: remove all the LIBC?= junk, use
	.-include libnames.mk instead (none by default).
	also if USE_DPADD_MK is set, include that.

2005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20051001
	Add UnixWare.sys.mk from Klaus Heinz.

2005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk: always install *.sys.mk and if need be symlink one
	to sys.mk

2005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>

	* subdir.mk, own.mk: use .MAKE rather than MAKE

2004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>

	* own.mk: don't use NetBSD's _SRC_TOP_ it can
	cause confusion.  Also don't take just 'mk' as a 
	srctop indicator.

2004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>

	* warnings.mk: overhauled, now very powerful.

2004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>

	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().

2004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): bump version to 20040201
	* extract HOST_TARGET stuff to host-target.mk so own.mk and
	Generic.sys.mk can share.
	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.

2003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): 20030930
	* rename generic.sys.mk to Generic.sys.mk
	so that it does not get installed (unless being used as sys.mk)
	* set OS and ROOT_GROUP for those that we know the value.
	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
	we don't do it again for each sub-make.
	
2003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk (MK_VERSION): 20030928
	Add some extra *.sys.mk from bootstrap-pkgsrc
	some of these likely still need work.
	Make everything default to root:wheel ownership,
	sys.mk can set ROOT_GROUP accordingly.

2003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
	not the portable ones.

2003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk: add ability to use cp -f when updating 
	destination .mk files.  Also now possible to play games with 
	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
	into dest - not recommended unless you seriously want to.

2003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>

	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
	for semi-compatability with NetBSD.

2003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>

	* install-mk: add a version indicator

2003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>

	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null

	* install-mk: Allow FORCE_SYS_MK to come from env


	
