xref: /freebsd/contrib/bmake/mk/ChangeLog (revision 06b9b3e0ad0dc3f0166b3e8f26ced68c271cf527)
1*06b9b3e0SSimon J. Gerraty2021-01-06  Simon J Gerraty  <sjg@beast.crufty.net>
2*06b9b3e0SSimon J. Gerraty
3*06b9b3e0SSimon J. Gerraty	* install-mk (MK_VERSION): 20210101
4*06b9b3e0SSimon J. Gerraty
5*06b9b3e0SSimon J. Gerraty	* dirdeps.mk: first time we are read, just use TARGET_SPEC for
6*06b9b3e0SSimon J. Gerraty	_DEP_TARGET_SPEC
7*06b9b3e0SSimon J. Gerraty
8*06b9b3e0SSimon J. Gerraty2020-12-22  Simon J Gerraty  <sjg@beast.crufty.net>
9*06b9b3e0SSimon J. Gerraty
10*06b9b3e0SSimon J. Gerraty	* sys.mk (MAKE_SHELL): use ${.SHELL:Ush}
11*06b9b3e0SSimon J. Gerraty	and use := when setting SHELL
12*06b9b3e0SSimon J. Gerraty
13*06b9b3e0SSimon J. Gerraty2020-12-21  Simon J Gerraty  <sjg@beast.crufty.net>
14*06b9b3e0SSimon J. Gerraty
15*06b9b3e0SSimon J. Gerraty	* install-mk (MK_VERSION): 20201221
16*06b9b3e0SSimon J. Gerraty
17*06b9b3e0SSimon J. Gerraty	* dirdeps-options.mk: latest bmake allows only one arg to .undef
18*06b9b3e0SSimon J. Gerraty
19*06b9b3e0SSimon J. Gerraty2020-12-11  Simon J Gerraty  <sjg@beast.crufty.net>
20*06b9b3e0SSimon J. Gerraty
21*06b9b3e0SSimon J. Gerraty	* dirdeps-targets.mk: allow for "." in DIRDEPS_TARGETS_DIRS
22*06b9b3e0SSimon J. Gerraty	so that any directory can be treated as a target.
23*06b9b3e0SSimon J. Gerraty
24*06b9b3e0SSimon J. Gerraty2020-11-26  Simon J Gerraty  <sjg@beast.crufty.net>
25*06b9b3e0SSimon J. Gerraty
26*06b9b3e0SSimon J. Gerraty	* install-mk (MK_VERSION): 20201126
27*06b9b3e0SSimon J. Gerraty
28*06b9b3e0SSimon J. Gerraty	* own.mk: use .MAKE.{UID,GID} if available.
29*06b9b3e0SSimon J. Gerraty
30*06b9b3e0SSimon J. Gerraty	* init.mk: suppress _SKIP_BUILD warning if doing -V
31*06b9b3e0SSimon J. Gerraty
32*06b9b3e0SSimon J. Gerraty2020-11-20  Simon J Gerraty  <sjg@beast.crufty.net>
33*06b9b3e0SSimon J. Gerraty
34*06b9b3e0SSimon J. Gerraty	* install-mk (MK_VERSION): 20201120
35*06b9b3e0SSimon J. Gerraty
36*06b9b3e0SSimon J. Gerraty	* init.mk: rename LEVEL0_TARGETS to DIRDEPS_BUILD_LEVEL0_TARGETS
37*06b9b3e0SSimon J. Gerraty
38*06b9b3e0SSimon J. Gerraty	* dirdeps-targets.mk: fix typo in comment
39*06b9b3e0SSimon J. Gerraty
40e2eeea75SSimon J. Gerraty2020-11-06  Simon J Gerraty  <sjg@beast.crufty.net>
41e2eeea75SSimon J. Gerraty
42e2eeea75SSimon J. Gerraty	* install-mk (MK_VERSION): 20201106
43e2eeea75SSimon J. Gerraty
44e2eeea75SSimon J. Gerraty	* meta.autodep.mk: use OBJ_EXTENSIONS rather than hardcode sed
45e2eeea75SSimon J. Gerraty	args to tweak extensions for local deps.
46e2eeea75SSimon J. Gerraty
47956e45f6SSimon J. Gerraty2020-11-01  Simon J Gerraty  <sjg@beast.crufty.net>
48956e45f6SSimon J. Gerraty
49956e45f6SSimon J. Gerraty	* install-mk (MK_VERSION): 20201101
50956e45f6SSimon J. Gerraty
51956e45f6SSimon J. Gerraty	* dirdeps.mk: most leaf makefiles are not suitable for building
52956e45f6SSimon J. Gerraty	dirdeps.cache so if RELDIR is not "." use dirdeps.mk
53956e45f6SSimon J. Gerraty
54956e45f6SSimon J. Gerraty2020-10-28  Simon J Gerraty  <sjg@beast.crufty.net>
55956e45f6SSimon J. Gerraty
56956e45f6SSimon J. Gerraty	* install-mk (MK_VERSION): 20201028
57956e45f6SSimon J. Gerraty
58956e45f6SSimon J. Gerraty	* dirdeps.mk: if we don't have :range use equivalent of M_RANGE
59956e45f6SSimon J. Gerraty	when building dirdeps.cache for leaf directory use -f dirdeps.mk
60956e45f6SSimon J. Gerraty
61956e45f6SSimon J. Gerraty	* sys.vars.mk: add M_JOT and M_RANGE
62956e45f6SSimon J. Gerraty
63956e45f6SSimon J. Gerraty2020-10-01  Simon J Gerraty  <sjg@beast.crufty.net>
64956e45f6SSimon J. Gerraty
65956e45f6SSimon J. Gerraty	* install-mk (MK_VERSION): 20201001
66956e45f6SSimon J. Gerraty
67956e45f6SSimon J. Gerraty	* meta2deps.{py,sh}: throw an error if we don't see filemon version
68956e45f6SSimon J. Gerraty
69956e45f6SSimon J. Gerraty2020-09-09  Simon J Gerraty  <sjg@beast.crufty.net>
70956e45f6SSimon J. Gerraty
71956e45f6SSimon J. Gerraty	* install-mk (MK_VERSION): 20200909
72956e45f6SSimon J. Gerraty
73956e45f6SSimon J. Gerraty	* dirdeps-cache-update.mk: use cache_update_dirdep as guard target
74956e45f6SSimon J. Gerraty
752c3632d1SSimon J. Gerraty2020-08-26  Simon J Gerraty  <sjg@beast.crufty.net>
762c3632d1SSimon J. Gerraty
772c3632d1SSimon J. Gerraty	* dirdeps.mk: ensure we cannot confuse a static cache for dynamic
782c3632d1SSimon J. Gerraty	(even more rare that use of static cache is playing clever tricks
792c3632d1SSimon J. Gerraty	with it)
802c3632d1SSimon J. Gerraty
812c3632d1SSimon J. Gerraty2020-08-16  Simon J Gerraty  <sjg@beast.crufty.net>
822c3632d1SSimon J. Gerraty
832c3632d1SSimon J. Gerraty	* dirdeps-cache-update.mk: allow
842c3632d1SSimon J. Gerraty	MK_STATIC_DIRDEPS_CACHE_UPDATE_IMMEDIATE to control when we
852c3632d1SSimon J. Gerraty	actually update STATIC_DIRDEPS_CACHE.
862c3632d1SSimon J. Gerraty
872c3632d1SSimon J. Gerraty	* stage-install.sh: create dest directory if needed
882c3632d1SSimon J. Gerraty	before running install(1)
892c3632d1SSimon J. Gerraty
902c3632d1SSimon J. Gerraty2020-08-10  Simon J Gerraty  <sjg@beast.crufty.net>
912c3632d1SSimon J. Gerraty
922c3632d1SSimon J. Gerraty	* dirdeps-targets.mk: include Makefile.dirdeps.options
932c3632d1SSimon J. Gerraty
942c3632d1SSimon J. Gerraty	* dirdeps.mk: use _TARGETS if defined for DIRDEPS_CACHE
952c3632d1SSimon J. Gerraty
962c3632d1SSimon J. Gerraty2020-08-09  Simon J Gerraty  <sjg@beast.crufty.net>
972c3632d1SSimon J. Gerraty
982c3632d1SSimon J. Gerraty	* dirdeps.mk: default BUILD_DIRDEPS_MAKEFILE to empty
992c3632d1SSimon J. Gerraty
1002c3632d1SSimon J. Gerraty	* dirdeps-cache-update.mk: building parallel cache update
1012c3632d1SSimon J. Gerraty	under the context of dirdeps-cached would be ideal, but
1022c3632d1SSimon J. Gerraty	is problematic, so it runs as a sibling.
1032c3632d1SSimon J. Gerraty	Use cache-built target to ensure we wait for it to complete if
1042c3632d1SSimon J. Gerraty	necessary.
1052c3632d1SSimon J. Gerraty
1062c3632d1SSimon J. Gerraty2020-08-06  Simon J Gerraty  <sjg@beast.crufty.net>
1072c3632d1SSimon J. Gerraty
1082c3632d1SSimon J. Gerraty	* install-mk (MK_VERSION): 20200806
1092c3632d1SSimon J. Gerraty
1102c3632d1SSimon J. Gerraty	* dirdeps-options: allow TARGET_SPEC to affect option values.
1112c3632d1SSimon J. Gerraty	Use DIRDEPS_OPTIONS_QUALIFIER_LIST before using bare MK_*
1122c3632d1SSimon J. Gerraty
1132c3632d1SSimon J. Gerraty	* dirdeps-targets.mk: check for MK_STATIC_DIRDEPS_CACHE defined
1142c3632d1SSimon J. Gerraty	before looking for STATIC_DIRDEPS_CACHE
1152c3632d1SSimon J. Gerraty
1162c3632d1SSimon J. Gerraty2020-08-05  Simon J Gerraty  <sjg@beast.crufty.net>
1172c3632d1SSimon J. Gerraty
1182c3632d1SSimon J. Gerraty	* host-target.mk: Darwin use MACHINE for HOST_ARCH too
1192c3632d1SSimon J. Gerraty
1202c3632d1SSimon J. Gerraty	* dirdeps-options.mk: improve debug output
1212c3632d1SSimon J. Gerraty
1222c3632d1SSimon J. Gerraty2020-07-22  Simon J Gerraty  <sjg@beast.crufty.net>
1232c3632d1SSimon J. Gerraty
1242c3632d1SSimon J. Gerraty	* dirdeps.mk: set and export DYNAMIC_DIRDEPS_CACHE
1252c3632d1SSimon J. Gerraty	for use by dirdeps-cache-update.mk
1262c3632d1SSimon J. Gerraty
1272c3632d1SSimon J. Gerraty	* dirdeps-targets.mk: set and export STATIC_DIRDEPS_CACHE
1282c3632d1SSimon J. Gerraty	for use by dirdeps-cache-update.mk even if we don't use it.
1292c3632d1SSimon J. Gerraty
1302c3632d1SSimon J. Gerraty	* dirdeps-cache-update.mk: we only need worry about the background
1312c3632d1SSimon J. Gerraty	update case, with the above, the update from DIRDEPS_CACHE is
1322c3632d1SSimon J. Gerraty	simple.
1332c3632d1SSimon J. Gerraty
1342c3632d1SSimon J. Gerraty	* meta2deps.py: R 1234 . is not interesting
1352c3632d1SSimon J. Gerraty
1362c3632d1SSimon J. Gerraty2020-07-20  Simon J Gerraty  <sjg@beast.crufty.net>
1372c3632d1SSimon J. Gerraty
1382c3632d1SSimon J. Gerraty	* sys.mk: default MK_STATIC_DIRDEPS_CACHE from MK_DIRDEPS_CACHE
1392c3632d1SSimon J. Gerraty
1402c3632d1SSimon J. Gerraty	* dirdeps-options.mk: do not :tu DIRDEPS_OPTIONS
1412c3632d1SSimon J. Gerraty	allows use of lower case for pseudo options.
1422c3632d1SSimon J. Gerraty
1432c3632d1SSimon J. Gerraty	* dirdeps-cache-update.mk: magic to deal with STATIC_DIRDEPS_CACHE
1442c3632d1SSimon J. Gerraty
1452c3632d1SSimon J. Gerraty2020-07-18  Simon J Gerraty  <sjg@beast.crufty.net>
1462c3632d1SSimon J. Gerraty
1472c3632d1SSimon J. Gerraty	* dirdeps-targets.mk: Look for Makefile.dirdeps.cache
1482c3632d1SSimon J. Gerraty	which allows us to have a static cache for expensive targets.
1492c3632d1SSimon J. Gerraty	Use -DWITHOUT_STATIC_DIRDEPS_CACHE -DWITH_DIRDEPS_CACHE
1502c3632d1SSimon J. Gerraty	to regenerate the dirdeps.cache it is a copy of.
1512c3632d1SSimon J. Gerraty
1522c3632d1SSimon J. Gerraty2020-07-17  Simon J Gerraty  <sjg@beast.crufty.net>
1532c3632d1SSimon J. Gerraty
1542c3632d1SSimon J. Gerraty	* Get rid of BUILD_AT_LEVEL0, MK_DIRDEPS_BUILD makes more sense.
1552c3632d1SSimon J. Gerraty
1562c3632d1SSimon J. Gerraty2020-07-16  Simon J Gerraty  <sjg@beast.crufty.net>
1572c3632d1SSimon J. Gerraty
1582c3632d1SSimon J. Gerraty	* dirdeps.mk (DIRDEP_LOADAVG_REPORT): make it easy to record
1592c3632d1SSimon J. Gerraty	load averages at intervals during build.
1602c3632d1SSimon J. Gerraty
1612c3632d1SSimon J. Gerraty2020-07-15  Simon J Gerraty  <sjg@beast.crufty.net>
1622c3632d1SSimon J. Gerraty
1632c3632d1SSimon J. Gerraty	* install-mk (MK_VERSION): 20200715
1642c3632d1SSimon J. Gerraty
1652c3632d1SSimon J. Gerraty	* dirdeps.mk: tweak Checking line to make matching Finished
1662c3632d1SSimon J. Gerraty	lines for post-build analysis easier.
1672c3632d1SSimon J. Gerraty
1682c3632d1SSimon J. Gerraty	* meta.autodep.mk: use !defined(WITHOUT_META_STATS)
1692c3632d1SSimon J. Gerraty
1702c3632d1SSimon J. Gerraty	* progs.mk: avoid prog.mk outputting multiple Finished lines
1712c3632d1SSimon J. Gerraty
1722c3632d1SSimon J. Gerraty2020-07-11  Simon J Gerraty  <sjg@beast.crufty.net>
1732c3632d1SSimon J. Gerraty
1742c3632d1SSimon J. Gerraty	* dirdeps.mk: further optimize dirdeps.cache
1752c3632d1SSimon J. Gerraty	generate a DIRDEPS.${.TARGET} list for other purposes
1762c3632d1SSimon J. Gerraty	and improve the layout.
1772c3632d1SSimon J. Gerraty
1783841c287SSimon J. Gerraty2020-07-10  Simon J Gerraty  <sjg@beast.crufty.net>
1793841c287SSimon J. Gerraty
1803841c287SSimon J. Gerraty	* dirdeps.mk: optimize content of dirdeps.cache
1813841c287SSimon J. Gerraty
1823841c287SSimon J. Gerraty2020-06-28  Simon J Gerraty  <sjg@beast.crufty.net>
1833841c287SSimon J. Gerraty
1843841c287SSimon J. Gerraty	* sys/*.mk: make it easier for local*sys.mk to customize by
1853841c287SSimon J. Gerraty	using ?=
1863841c287SSimon J. Gerraty
1873841c287SSimon J. Gerraty2020-06-22  Simon J Gerraty  <sjg@beast.crufty.net>
1883841c287SSimon J. Gerraty
1893841c287SSimon J. Gerraty	* gendirdeps.mk (LOCAL_DEPENDS_GUARD): if we don't build at level 0
1903841c287SSimon J. Gerraty	it is much safer to guard local depends with a simple check for
1913841c287SSimon J. Gerraty	.MAKE.LEVEL > 0
1923841c287SSimon J. Gerraty
1933841c287SSimon J. Gerraty2020-06-10  Simon J Gerraty  <sjg@beast.crufty.net>
1943841c287SSimon J. Gerraty
1953841c287SSimon J. Gerraty	* install-mk (MK_VERSION): 20200610
1963841c287SSimon J. Gerraty
1973841c287SSimon J. Gerraty	* mkopt.sh: this needs posix shell so #!/bin/sh should be ok
1983841c287SSimon J. Gerraty
199ef0b2538SSimon J. Gerraty2020-06-06  Simon J Gerraty  <sjg@beast.crufty.net>
200ef0b2538SSimon J. Gerraty
201ef0b2538SSimon J. Gerraty	* install-mk (MK_VERSION): 20200606
202ef0b2538SSimon J. Gerraty
203ef0b2538SSimon J. Gerraty	* dirdeps-targets.mk: allow for filtering of .TARGETS
204ef0b2538SSimon J. Gerraty
205ef0b2538SSimon J. Gerraty	* meta2deps.py: fix bug in processing 'L'ink and 'M'ove
206ef0b2538SSimon J. Gerraty	entries - and we don't care about 'W'rite entries.
207ef0b2538SSimon J. Gerraty	Also ignore absolute paths that do not exist.
208ef0b2538SSimon J. Gerraty
209ef0b2538SSimon J. Gerraty2020-05-25  Simon J Gerraty  <sjg@beast.crufty.net>
210ef0b2538SSimon J. Gerraty
211ef0b2538SSimon J. Gerraty	* install-mk (MK_VERSION): 20200525
212ef0b2538SSimon J. Gerraty
213ef0b2538SSimon J. Gerraty	* init.mk: expand and simplify handling of qualified vars
214ef0b2538SSimon J. Gerraty	like CPPFLAGS.${.TARGET:T}
215ef0b2538SSimon J. Gerraty
21649caa483SSimon J. Gerraty2020-05-15  Simon J Gerraty  <sjg@beast.crufty.net>
21749caa483SSimon J. Gerraty
21849caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20200515
21949caa483SSimon J. Gerraty
22049caa483SSimon J. Gerraty	* dirdeps.mk: set _debug_* earlier and allow passing -d*
22149caa483SSimon J. Gerraty	flags to submake when building DIRDEPS_CACHE
22249caa483SSimon J. Gerraty
22349caa483SSimon J. Gerraty2020-05-09  Simon J Gerraty  <sjg@beast.crufty.net>
22449caa483SSimon J. Gerraty
22549caa483SSimon J. Gerraty	* whats.mk: more easily extensible
22649caa483SSimon J. Gerraty
22749caa483SSimon J. Gerraty2020-05-02  Simon J Gerraty  <sjg@beast.crufty.net>
22849caa483SSimon J. Gerraty
22949caa483SSimon J. Gerraty	* whats.mk: greatly simplify by adding what.c to SRCS
23049caa483SSimon J. Gerraty
23149caa483SSimon J. Gerraty2020-05-01  Simon J Gerraty  <sjg@beast.crufty.net>
23249caa483SSimon J. Gerraty
23349caa483SSimon J. Gerraty	* whats.mk: for libs take care how we add to *OBJS
23449caa483SSimon J. Gerraty
23549caa483SSimon J. Gerraty	* lib.mk: : works better with whats.mk
23649caa483SSimon J. Gerraty
23749caa483SSimon J. Gerraty2020-04-25  Simon J Gerraty  <sjg@beast.crufty.net>
23849caa483SSimon J. Gerraty
23949caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20200420
24049caa483SSimon J. Gerraty
24149caa483SSimon J. Gerraty	* meta.stage.mk: it is not a STAGE_CONFLICT if some-target.dirdep
24249caa483SSimon J. Gerraty	contains the same ${RELDIR} and a prefix match for our ${TARGET_SPEC}
24349caa483SSimon J. Gerraty
24449caa483SSimon J. Gerraty2020-04-16  Simon J Gerraty  <sjg@beast.crufty.net>
24549caa483SSimon J. Gerraty
24649caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20200416
24749caa483SSimon J. Gerraty
24849caa483SSimon J. Gerraty	* sys/*.mk: set MAKE_SHELL rather than SHELL so as not to
24949caa483SSimon J. Gerraty	  interfere with user env.
25049caa483SSimon J. Gerraty
25149caa483SSimon J. Gerraty	* sys.mk: default MAKE_SHELL to sh and SHELL to MAKE_SHELL
25249caa483SSimon J. Gerraty
25349caa483SSimon J. Gerraty	* autodep.mk: use MAKE_SHELL.
25449caa483SSimon J. Gerraty
25549caa483SSimon J. Gerraty2019-11-21  Simon J Gerraty  <sjg@beast.crufty.net>
25649caa483SSimon J. Gerraty
25749caa483SSimon J. Gerraty	* gendirdeps.mk: clear .SUFFIXES to avoid a lot of
25849caa483SSimon J. Gerraty	  wasted effort, and unexport _meta_files when no longer needed as
25949caa483SSimon J. Gerraty	  it consumes space we need for command line.
26049caa483SSimon J. Gerraty
26149caa483SSimon J. Gerraty2019-11-11  Simon J Gerraty  <sjg@beast.crufty.net>
26249caa483SSimon J. Gerraty
26349caa483SSimon J. Gerraty	* dirdeps.mk _DIRDEP_USE: use DIRDEP_DIR and add
26449caa483SSimon J. Gerraty	  DIRDEP_USE_PRELUDE at start - facilitates job distribution
26549caa483SSimon J. Gerraty
26649caa483SSimon J. Gerraty2019-10-04  Simon J Gerraty  <sjg@beast.crufty.net>
26749caa483SSimon J. Gerraty
26849caa483SSimon J. Gerraty	* dirdeps-targets.mk: Use TARGET_SPEC_LAST_LIST
26949caa483SSimon J. Gerraty	defaults to ${${TARGET_SPEC_VARS:[-1]}_LIST} to match valid
27049caa483SSimon J. Gerraty	TARGET_SPEC qualified depend files.
27149caa483SSimon J. Gerraty
27249caa483SSimon J. Gerraty2019-10-02  Simon J Gerraty  <sjg@beast.crufty.net>
27349caa483SSimon J. Gerraty
27449caa483SSimon J. Gerraty	* dirdeps-targets.mk: encapsulate logic for finding top-level
27549caa483SSimon J. Gerraty	  targets to set initial DIRDEPS for DIRDEPS_BUILD
27649caa483SSimon J. Gerraty
27749caa483SSimon J. Gerraty2019-09-27  Simon J Gerraty  <sjg@beast.crufty.net>
27849caa483SSimon J. Gerraty
27949caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20190911
28049caa483SSimon J. Gerraty
28149caa483SSimon J. Gerraty	* compiler.mk: set COMPILER_TYPE
28249caa483SSimon J. Gerraty
28349caa483SSimon J. Gerraty2019-07-17  Simon J Gerraty  <sjg@beast.crufty.net>
28449caa483SSimon J. Gerraty
28549caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20190704
28649caa483SSimon J. Gerraty
28749caa483SSimon J. Gerraty	* sys/Darwin.mk: support for Objective-C and clang
28849caa483SSimon J. Gerraty
28949caa483SSimon J. Gerraty2019-05-30  Simon J Gerraty  <sjg@beast.crufty.net>
29049caa483SSimon J. Gerraty
29149caa483SSimon J. Gerraty	* dirdeps.mk: avoid insanely long command line when generating cache
29249caa483SSimon J. Gerraty
29349caa483SSimon J. Gerraty2019-05-23  Simon J Gerraty  <sjg@beast.crufty.net>
29449caa483SSimon J. Gerraty
29549caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20190505
29649caa483SSimon J. Gerraty
29749caa483SSimon J. Gerraty	* whats.mk: handle corner case SHLIB defined but not LIB
29849caa483SSimon J. Gerraty
2992eae894cSSimon J. Gerraty2018-09-19  Simon J Gerraty  <sjg@beast.crufty.net>
3002eae894cSSimon J. Gerraty
3012eae894cSSimon J. Gerraty	* install-mk (MK_VERSION): 20180919
3022eae894cSSimon J. Gerraty
3032eae894cSSimon J. Gerraty	* dirdeps-options.mk: .undef cannot handle var that expands to
3042eae894cSSimon J. Gerraty	  more than one var.
3052eae894cSSimon J. Gerraty
3062eae894cSSimon J. Gerraty2018-07-08  Simon J Gerraty  <sjg@beast.crufty.net>
3072eae894cSSimon J. Gerraty
3082eae894cSSimon J. Gerraty	* meta.stage.mk: allow wildcards in STAGE_FILES.* etc.
3092eae894cSSimon J. Gerraty
3102eae894cSSimon J. Gerraty2018-06-01  Simon J Gerraty  <sjg@beast.crufty.net>
3112eae894cSSimon J. Gerraty
3122eae894cSSimon J. Gerraty	* meta.autodep.mk: export META_FILES to avoid command line limit
3132eae894cSSimon J. Gerraty	* gendirdeps.mk: if we have lots of .meta files put them in
3142eae894cSSimon J. Gerraty	  an @list
3152eae894cSSimon J. Gerraty
3162eae894cSSimon J. Gerraty2018-05-28  Simon J Gerraty  <sjg@beast.crufty.net>
3172eae894cSSimon J. Gerraty
3182eae894cSSimon J. Gerraty	* dirdeps-options.mk: use local.dirdeps-options.mk
3192eae894cSSimon J. Gerraty	  not local.dirdeps-option.mk
3202eae894cSSimon J. Gerraty
321494f7191SSimon J. Gerraty2018-04-20  Simon J Gerraty  <sjg@beast.crufty.net>
322494f7191SSimon J. Gerraty
323494f7191SSimon J. Gerraty	* install-mk (MK_VERSION): 20180420
324494f7191SSimon J. Gerraty	* dirdeps.mk: include local.dirdeps-build.mk when .MAKE.LEVEL > 0
325494f7191SSimon J. Gerraty	  ie. we are building something.
326494f7191SSimon J. Gerraty
327494f7191SSimon J. Gerraty2018-04-14  Simon J Gerraty  <sjg@beast.crufty.net>
328494f7191SSimon J. Gerraty
329494f7191SSimon J. Gerraty	* FILES: add dirdeps-options.mk to deal with optional DIRDEPS.
330494f7191SSimon J. Gerraty
331494f7191SSimon J. Gerraty2018-04-05  Simon J Gerraty  <sjg@beast.crufty.net>
332494f7191SSimon J. Gerraty
333494f7191SSimon J. Gerraty	* install-mk (MK_VERSION): 20180405
334494f7191SSimon J. Gerraty
335494f7191SSimon J. Gerraty	* ldorder.mk: describe how to use LDORDER_EXTERN_BARRIER
336494f7191SSimon J. Gerraty	  if needed.
337494f7191SSimon J. Gerraty
33850d2e745SSimon J. Gerraty2018-01-18  Simon J Gerraty  <sjg@beast.crufty.net>
33950d2e745SSimon J. Gerraty
34050d2e745SSimon J. Gerraty	* install-mk (MK_VERSION): 20180118
34150d2e745SSimon J. Gerraty
34250d2e745SSimon J. Gerraty	* ldorder.mk: let make compute correct link order
34350d2e745SSimon J. Gerraty
34450d2e745SSimon J. Gerraty2017-12-12  Simon J Gerraty  <sjg@beast.crufty.net>
34550d2e745SSimon J. Gerraty
34650d2e745SSimon J. Gerraty	* install-mk (MK_VERSION): 20171212
34750d2e745SSimon J. Gerraty
34850d2e745SSimon J. Gerraty	* gendirdeps.mk: guard against bogus entries in GENDIRDEPS_FILTER
34950d2e745SSimon J. Gerraty
35050d2e745SSimon J. Gerraty2017-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
35150d2e745SSimon J. Gerraty
35250d2e745SSimon J. Gerraty	* install-mk (MK_VERSION): 20171111
35350d2e745SSimon J. Gerraty
35450d2e745SSimon J. Gerraty	* lib.mk: ensure META_NOECHO is set
35550d2e745SSimon J. Gerraty
356e22fef7dSSimon J. Gerraty2017-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
357e22fef7dSSimon J. Gerraty
358e22fef7dSSimon J. Gerraty	* Allow for host32 on rare occasions.
359e22fef7dSSimon J. Gerraty
360e22fef7dSSimon J. Gerraty2017-10-18  Simon J. Gerraty  <sjg@bad.crufty.net>
361e22fef7dSSimon J. Gerraty
362e22fef7dSSimon J. Gerraty	* install-mk (MK_VERSION): 20171018
363e22fef7dSSimon J. Gerraty
364e22fef7dSSimon J. Gerraty	* whats.mk: include what_thing in what_uuid to avoid problem
365e22fef7dSSimon J. Gerraty	  when building multiple apps in the same directory.
366e22fef7dSSimon J. Gerraty
367e22fef7dSSimon J. Gerraty2017-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
368e22fef7dSSimon J. Gerraty
369e22fef7dSSimon J. Gerraty	* install-mk (MK_VERSION): 20170812
370e22fef7dSSimon J. Gerraty
371e22fef7dSSimon J. Gerraty	* autoconf.mk: Use CONFIGURE_DEPS so Makefile can
372e22fef7dSSimon J. Gerraty	  add dependencies for config.recheck and config.gen
373e22fef7dSSimon J. Gerraty
3748695518cSSimon J. Gerraty2017-06-30  Simon J. Gerraty  <sjg@bad.crufty.net>
3758695518cSSimon J. Gerraty
3768695518cSSimon J. Gerraty	* install-mk (MK_VERSION): 20170630
3778695518cSSimon J. Gerraty
3788695518cSSimon J. Gerraty	* meta.stage.mk: avoid triggering stage_* targets with nothing to do.
3798695518cSSimon J. Gerraty
3808695518cSSimon J. Gerraty2017-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
3818695518cSSimon J. Gerraty
3828695518cSSimon J. Gerraty	* meta2deps.py: take special care of '..'
3838695518cSSimon J. Gerraty
3848695518cSSimon J. Gerraty2017-05-15  Simon J. Gerraty  <sjg@bad.crufty.net>
3858695518cSSimon J. Gerraty
3868695518cSSimon J. Gerraty	* install-mk (MK_VERSION): 20170515
3878695518cSSimon J. Gerraty
3888695518cSSimon J. Gerraty	* dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is
3898695518cSSimon J. Gerraty	useful/necessary for a Makefile.depend file to export some knobs.
3908695518cSSimon J. Gerraty	This is complicated when we are doing DIRDEPS_CACHE, so we will
3918695518cSSimon J. Gerraty	handle export of any variables listed in DEP_EXPORT_VARS.
3928695518cSSimon J. Gerraty
393cac6fd11SSimon J. Gerraty2017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>
394cac6fd11SSimon J. Gerraty
395cac6fd11SSimon J. Gerraty	* install-mk (MK_VERSION): 20170505
396cac6fd11SSimon J. Gerraty
397cac6fd11SSimon J. Gerraty	* meta2deps.py: fix botched indenation.
398cac6fd11SSimon J. Gerraty
399cac6fd11SSimon J. Gerraty2017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
400cac6fd11SSimon J. Gerraty
401cac6fd11SSimon J. Gerraty	* sys/*.mk: Remove setting of MAKE it is unnecessary and
402cac6fd11SSimon J. Gerraty	  in many cases wrong (basname rather than full path)
403cac6fd11SSimon J. Gerraty
404cac6fd11SSimon J. Gerraty	* scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk
405cac6fd11SSimon J. Gerraty
406cac6fd11SSimon J. Gerraty	* init.mk: define realbuild to simplify logic in {lib,prog}.mk etc
407cac6fd11SSimon J. Gerraty
408cac6fd11SSimon J. Gerraty2017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
409cac6fd11SSimon J. Gerraty
410cac6fd11SSimon J. Gerraty	* install-mk (MK_VERSION): 20170501
411cac6fd11SSimon J. Gerraty
412cac6fd11SSimon J. Gerraty	* doc.mk: fix typo in DOC_INSTALL_OWN
413cac6fd11SSimon J. Gerraty
414cac6fd11SSimon J. Gerraty	* inc.mk: handle INCGROUPS similar to freebsd
415cac6fd11SSimon J. Gerraty
416cac6fd11SSimon J. Gerraty	* files.mk: add something for files too
417cac6fd11SSimon J. Gerraty
418cac6fd11SSimon J. Gerraty	* add staging logic to lib.mk prog.mk etc.
419cac6fd11SSimon J. Gerraty
420cac6fd11SSimon J. Gerraty2017-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
421cac6fd11SSimon J. Gerraty
422cac6fd11SSimon J. Gerraty	* install-mk (MK_VERSION): 20170424
423cac6fd11SSimon J. Gerraty
424cac6fd11SSimon J. Gerraty	* dirdeps.mk: set NO_DIRDEPS when bootstrapping.
425cac6fd11SSimon J. Gerraty	  also target of bootstrap-this when sed is needed should be ${_want:T}
426cac6fd11SSimon J. Gerraty
427e1cee40dSSimon J. Gerraty2017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
428e1cee40dSSimon J. Gerraty
429e1cee40dSSimon J. Gerraty	* install-mk (MK_VERSION): 20170418
430e1cee40dSSimon J. Gerraty
431e1cee40dSSimon J. Gerraty	* auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a
432e1cee40dSSimon J. Gerraty	  prefix match for .CURDIR - in which case .CURDIR *is* __objdir.
433e1cee40dSSimon J. Gerraty
434b46b9039SSimon J. Gerraty2017-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
435b46b9039SSimon J. Gerraty
436b46b9039SSimon J. Gerraty	* install-mk (MK_VERSION): 20170401
437b46b9039SSimon J. Gerraty
438b46b9039SSimon J. Gerraty	* meta2deps.py: add is_src so we can check if obj dependency
439b46b9039SSimon J. Gerraty	  is also a src dependency.
440b46b9039SSimon J. Gerraty
441b46b9039SSimon J. Gerraty2017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
442b46b9039SSimon J. Gerraty
443b46b9039SSimon J. Gerraty	* install-mk (MK_VERSION): 20170326
444b46b9039SSimon J. Gerraty
445b46b9039SSimon J. Gerraty	* meta.stage.mk: do nothing if NO_STAGING is defined.
446b46b9039SSimon J. Gerraty
447b46b9039SSimon J. Gerraty2017-03-24  Simon J. Gerraty  <sjg@bad.crufty.net>
448b46b9039SSimon J. Gerraty
449b46b9039SSimon J. Gerraty	* auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc.
450b46b9039SSimon J. Gerraty
451b46b9039SSimon J. Gerraty2017-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
452b46b9039SSimon J. Gerraty
453b46b9039SSimon J. Gerraty	* mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_*
454b46b9039SSimon J. Gerraty
4551ce939a7SSimon J. Gerraty2017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
4561ce939a7SSimon J. Gerraty
4571ce939a7SSimon J. Gerraty	* install-mk (MK_VERSION): 20170301
4581ce939a7SSimon J. Gerraty
4591ce939a7SSimon J. Gerraty	* dirdeps.mk (_build_all_dirs): update this outside test for empty
4601ce939a7SSimon J. Gerraty	  DIRDEPS.
4611ce939a7SSimon J. Gerraty
4621ce939a7SSimon J. Gerraty	* meta.stage.mk: allow multiple inclusion to the extent it makes
4631ce939a7SSimon J. Gerraty	  sense.
4641ce939a7SSimon J. Gerraty
4651ce939a7SSimon J. Gerraty2017-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
4661ce939a7SSimon J. Gerraty
4671ce939a7SSimon J. Gerraty	* prog.mk (install_links): depends on realinstall
4681ce939a7SSimon J. Gerraty
4691ce939a7SSimon J. Gerraty2017-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>
4701ce939a7SSimon J. Gerraty
4711ce939a7SSimon J. Gerraty	* install-mk (MK_VERSION): 20170212
4721ce939a7SSimon J. Gerraty
4731ce939a7SSimon J. Gerraty	* dpadd.mk: avoid applying :T:R twice to DPLIBS entries
4741ce939a7SSimon J. Gerraty
4751ce939a7SSimon J. Gerraty2017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>
4761ce939a7SSimon J. Gerraty
4771ce939a7SSimon J. Gerraty	* install-mk (MK_VERSION): 20170130
4781ce939a7SSimon J. Gerraty
4791ce939a7SSimon J. Gerraty	* dirdeps.mk: use :range if we can.
4801ce939a7SSimon J. Gerraty
4811ce939a7SSimon J. Gerraty	* sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130
4821ce939a7SSimon J. Gerraty
4831ce939a7SSimon J. Gerraty	* meta2deps.py: clean paths without using realpath() where possible.
4841ce939a7SSimon J. Gerraty	  fix sort_unique.
4851ce939a7SSimon J. Gerraty
48645447996SSimon J. Gerraty2016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
48745447996SSimon J. Gerraty
48845447996SSimon J. Gerraty	* install-mk (MK_VERSION): 20161212
48945447996SSimon J. Gerraty
49045447996SSimon J. Gerraty	* meta2deps.py: set pid_cwd[pid] when we process 'C'hdir,
49145447996SSimon J. Gerraty	rather than when we detect pid change.
49245447996SSimon J. Gerraty
49345447996SSimon J. Gerraty2016-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>
49445447996SSimon J. Gerraty
49545447996SSimon J. Gerraty	* install-mk (MK_VERSION): 20161207
49645447996SSimon J. Gerraty
49745447996SSimon J. Gerraty	* meta.stage.mk: add stage_as_and_symlink for staging packages.
49845447996SSimon J. Gerraty	  We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able
49945447996SSimon J. Gerraty	  to use foo.tgz to reference the latest staged version - so we
50045447996SSimon J. Gerraty	  make foo.tgz a symlink to it.
50145447996SSimon J. Gerraty	  Using a target to do both operations ensures we stay in sync.
50245447996SSimon J. Gerraty
50345447996SSimon J. Gerraty2016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
50445447996SSimon J. Gerraty
50545447996SSimon J. Gerraty	* install-mk (MK_VERSION): 20161126
50645447996SSimon J. Gerraty
50745447996SSimon J. Gerraty	* dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk
50845447996SSimon J. Gerraty	  so it can add dependencies.
50945447996SSimon J. Gerraty
51045447996SSimon J. Gerraty2016-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
51145447996SSimon J. Gerraty
51245447996SSimon J. Gerraty	* dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE
51345447996SSimon J. Gerraty	  do that they can influence the result correctly.
51445447996SSimon J. Gerraty
51545447996SSimon J. Gerraty	* dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC
51645447996SSimon J. Gerraty
51745447996SSimon J. Gerraty	* dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST
51845447996SSimon J. Gerraty	  similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST
51945447996SSimon J. Gerraty
52045447996SSimon J. Gerraty2016-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>
52145447996SSimon J. Gerraty
52245447996SSimon J. Gerraty	* dirdeps.mk: remove dependence on jot (normal situations anyway).
52345447996SSimon J. Gerraty	  Before we read another Makefile.depend* set DEP_* vars from
52445447996SSimon J. Gerraty	  _DEP_TARGET_SPEC in case it uses any of them with :=
52545447996SSimon J. Gerraty	  When bootstrapping, trim any ,* from extention of chosen _src
52645447996SSimon J. Gerraty	  Makefile.depend* to get the machine value we subst for.
52745447996SSimon J. Gerraty
52845447996SSimon J. Gerraty2016-09-30  Simon J. Gerraty  <sjg@bad.crufty.net>
52945447996SSimon J. Gerraty
53045447996SSimon J. Gerraty	* dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to
53145447996SSimon J. Gerraty	  DEP_SKIP_DIR and DEP_DIRDEPS_FILTER
53245447996SSimon J. Gerraty
53345447996SSimon J. Gerraty	* sys.mk: extract some bits to sys.{debug,vars}.mk
53445447996SSimon J. Gerraty	  for easier re-use by others.
53545447996SSimon J. Gerraty
53645447996SSimon J. Gerraty2016-09-23  Simon Gerraty  <sjg@sjg-mba13>
53745447996SSimon J. Gerraty
53845447996SSimon J. Gerraty	* lib.mk: Use ${PICO} for extension for PIC objects.
53945447996SSimon J. Gerraty	  default to .pico (like NetBSD) safe on case insensitive filesystem.
54045447996SSimon J. Gerraty
54145447996SSimon J. Gerraty2016-08-19  Simon J. Gerraty  <sjg@bad.crufty.net>
54245447996SSimon J. Gerraty
54345447996SSimon J. Gerraty	* meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default
54445447996SSimon J. Gerraty
54595e3ed2cSSimon J. Gerraty2016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
54695e3ed2cSSimon J. Gerraty
54795e3ed2cSSimon J. Gerraty	* install-mk (MK_VERSION): 20160815
54895e3ed2cSSimon J. Gerraty
54995e3ed2cSSimon J. Gerraty	* dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only
55095e3ed2cSSimon J. Gerraty	consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date.
55195e3ed2cSSimon J. Gerraty
55295e3ed2cSSimon J. Gerraty2016-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>
55395e3ed2cSSimon J. Gerraty
55495e3ed2cSSimon J. Gerraty	* meta.sys.mk (.MAKE.META.IGNORE_PATHS):
55595e3ed2cSSimon J. Gerraty	  in meta mode we can ignore the mtime of makefiles
55695e3ed2cSSimon J. Gerraty
55795e3ed2cSSimon J. Gerraty2016-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
55895e3ed2cSSimon J. Gerraty
55995e3ed2cSSimon J. Gerraty	* install-mk (MK_VERSION): 20160802
56095e3ed2cSSimon J. Gerraty
56195e3ed2cSSimon J. Gerraty	* lib.mk (libinstall): depends on beforinstall
56295e3ed2cSSimon J. Gerraty
56395e3ed2cSSimon J. Gerraty	* prog.mk (proginstall): depends on beforinstall
56495e3ed2cSSimon J. Gerraty	  patch from Lauri Tirkkonen
56595e3ed2cSSimon J. Gerraty
56695e3ed2cSSimon J. Gerraty	* dirdeps.mk (bootstrap): When bootstrapping; creat
56795e3ed2cSSimon J. Gerraty	.MAKE.DEPENDFILE_DEFAULT and allow additional filtering via
56895e3ed2cSSimon J. Gerraty	.MAKE.DEPENDFILE_BOOTSTRAP_SED
56995e3ed2cSSimon J. Gerraty
57095e3ed2cSSimon J. Gerraty	* dirdeps.mk: move some comments to where they make sense.
57195e3ed2cSSimon J. Gerraty
57295e3ed2cSSimon J. Gerraty2016-07-27  Simon J. Gerraty  <sjg@bad.crufty.net>
57395e3ed2cSSimon J. Gerraty
57495e3ed2cSSimon J. Gerraty	* dirdeps.mk (DIRDEPS_CACHE): no dirname.
57595e3ed2cSSimon J. Gerraty
576b778b302SSimon J. Gerraty2016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
577b778b302SSimon J. Gerraty
578b778b302SSimon J. Gerraty	* install-mk (MK_VERSION): 20160602
579b778b302SSimon J. Gerraty	* meta.autodep.mk: when passing META_FILES to gendirdeps.mk
580b778b302SSimon J. Gerraty	  do not apply :T to META_XTRAS
581b778b302SSimon J. Gerraty	  patch from Bryan Drewery at FreeBSD.org.
582b778b302SSimon J. Gerraty
583b778b302SSimon J. Gerraty2016-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
584b778b302SSimon J. Gerraty
585b778b302SSimon J. Gerraty	* install-mk (MK_VERSION): 20160530
586b778b302SSimon J. Gerraty	* meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH
587b778b302SSimon J. Gerraty	  make it so.
588b778b302SSimon J. Gerraty
589e48f47ddSSimon J. Gerraty2016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
590e48f47ddSSimon J. Gerraty
591e48f47ddSSimon J. Gerraty	* install-mk (MK_VERSION): 20160512
592e48f47ddSSimon J. Gerraty
593e48f47ddSSimon J. Gerraty	* dpadd.mk: always include local.dpadd.mk if it exists
594e48f47ddSSimon J. Gerraty	  remove some things that better belong in local.dpadd.mk
595e48f47ddSSimon J. Gerraty	  skip INCLUDES_* for staged libs unless SRC_* defined.
596e48f47ddSSimon J. Gerraty
597e48f47ddSSimon J. Gerraty	* own.mk: add INCLUDEDIR
598e48f47ddSSimon J. Gerraty
599e48f47ddSSimon J. Gerraty2016-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
600e48f47ddSSimon J. Gerraty
601e48f47ddSSimon J. Gerraty	* dirdeps.mk: when doing -f dirdeps.mk if target suppies no
602e48f47ddSSimon J. Gerraty	  TARGET_MACHINE - :E will be empty or match part of path, use
603e48f47ddSSimon J. Gerraty	  ${MACHINE}
604e48f47ddSSimon J. Gerraty
605e48f47ddSSimon J. Gerraty2016-04-07  Simon J. Gerraty  <sjg@bad.crufty.net>
606e48f47ddSSimon J. Gerraty
607e48f47ddSSimon J. Gerraty	* meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
608e48f47ddSSimon J. Gerraty	  NO_FILEMON_COOKIE
609e48f47ddSSimon J. Gerraty
610e48f47ddSSimon J. Gerraty	* dirdeps.mk: move the logic that allows for
611e48f47ddSSimon J. Gerraty	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
612e48f47ddSSimon J. Gerraty	  inside the check for !target(_DIRDEP_USE)
613e48f47ddSSimon J. Gerraty
614e48f47ddSSimon J. Gerraty2016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
615e48f47ddSSimon J. Gerraty
616e48f47ddSSimon J. Gerraty	* Use <> when including local*.mk and others which may exist
617e48f47ddSSimon J. Gerraty	  elsewhere so that user can better control what they get.
618e48f47ddSSimon J. Gerraty
619e48f47ddSSimon J. Gerraty	* meta.autodep.mk (NO_FILEMON_COOKIE):
620e48f47ddSSimon J. Gerraty	  create a cookie if we ever build dir with nofilemon
621e48f47ddSSimon J. Gerraty	  so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
622e48f47ddSSimon J. Gerraty
623e48f47ddSSimon J. Gerraty2016-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
624e48f47ddSSimon J. Gerraty
625e48f47ddSSimon J. Gerraty	* install-mk (MK_VERSION): 20160401
626e48f47ddSSimon J. Gerraty
627e48f47ddSSimon J. Gerraty	* meta2deps.py: fix old print statement when debugging.
628e48f47ddSSimon J. Gerraty
629e48f47ddSSimon J. Gerraty	* gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
630e48f47ddSSimon J. Gerraty	  patch from Bryan Drewery
631e48f47ddSSimon J. Gerraty
632e48f47ddSSimon J. Gerraty2016-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
633e48f47ddSSimon J. Gerraty
634e48f47ddSSimon J. Gerraty	* install-mk (MK_VERSION): 20160317 (St. Pats)
635e48f47ddSSimon J. Gerraty
636e48f47ddSSimon J. Gerraty	* warnings.mk: g++ does not like -Wimplicit
637e48f47ddSSimon J. Gerraty
638e48f47ddSSimon J. Gerraty	* sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
639e48f47ddSSimon J. Gerraty	  pelthora of common suffixes for C++
640e48f47ddSSimon J. Gerraty
641e48f47ddSSimon J. Gerraty	* lib.mk: use .So for shared objects
642e48f47ddSSimon J. Gerraty
6433bebe729SSimon J. Gerraty2016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
6443bebe729SSimon J. Gerraty
6453bebe729SSimon J. Gerraty	* install-mk (MK_VERSION): 20160315
6463bebe729SSimon J. Gerraty
6473bebe729SSimon J. Gerraty	* meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
6483bebe729SSimon J. Gerraty	  normally only applies to scripts.
6493bebe729SSimon J. Gerraty
6503bebe729SSimon J. Gerraty	* dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
6513bebe729SSimon J. Gerraty	  well as outside it.
6523bebe729SSimon J. Gerraty
6533bebe729SSimon J. Gerraty2016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
6543bebe729SSimon J. Gerraty
6553bebe729SSimon J. Gerraty	* install-mk (MK_VERSION): 20160310
6563bebe729SSimon J. Gerraty
6573bebe729SSimon J. Gerraty	* dirdeps.mk: use targets rather than a list to track DIRDEPS that
6583bebe729SSimon J. Gerraty	  we have processed; the list gets very inefficient as number of
6593bebe729SSimon J. Gerraty	  DIRDEPS gets large.
6603bebe729SSimon J. Gerraty
6613bebe729SSimon J. Gerraty	* sys.dependfile.mk: fix comment wrt MACHINE
6623bebe729SSimon J. Gerraty
6633bebe729SSimon J. Gerraty	* meta.autodep.mk: ignore staged DPADDs when bootstrapping.
6643bebe729SSimon J. Gerraty	  patch from Bryan Drewery
6653bebe729SSimon J. Gerraty
666be19d90bSSimon J. Gerraty2016-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
667be19d90bSSimon J. Gerraty
668be19d90bSSimon J. Gerraty	* meta2deps.sh: don't ignore subdirs.
669be19d90bSSimon J. Gerraty	  patch from Bryan Drewery
670be19d90bSSimon J. Gerraty
671be19d90bSSimon J. Gerraty2016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
672be19d90bSSimon J. Gerraty
673be19d90bSSimon J. Gerraty	* install-mk (MK_VERSION): 20160226
674be19d90bSSimon J. Gerraty
675be19d90bSSimon J. Gerraty	* gendirdeps.mk: mark _DEPENDFILE .NOMETA
676be19d90bSSimon J. Gerraty
677be19d90bSSimon J. Gerraty2016-02-20  Simon J. Gerraty  <sjg@bad.crufty.net>
678be19d90bSSimon J. Gerraty
679be19d90bSSimon J. Gerraty	* dirdeps.mk: we shouldn't normally include .depend but if we do
680be19d90bSSimon J. Gerraty	  use .dinclude if we can.
681be19d90bSSimon J. Gerraty
682be19d90bSSimon J. Gerraty2016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
683be19d90bSSimon J. Gerraty
684be19d90bSSimon J. Gerraty	* install-mk (MK_VERSION): 20160218
685be19d90bSSimon J. Gerraty	* sys.clean-env.mk: with recent change to Var_Subst()
686be19d90bSSimon J. Gerraty	  we cannot use the '$$' trick, but .export-literal does the job
687be19d90bSSimon J. Gerraty	  we need.
688be19d90bSSimon J. Gerraty	* auto.dep.mk: make use .dinclude if we can.
689be19d90bSSimon J. Gerraty
690be19d90bSSimon J. Gerraty
691be19d90bSSimon J. Gerraty2016-02-05  Simon J. Gerraty  <sjg@bad.crufty.net>
692be19d90bSSimon J. Gerraty
693be19d90bSSimon J. Gerraty	* dirdeps.mk:
694be19d90bSSimon J. Gerraty	  Add _build_all_dirs such that local.dirdeps.mk can
695be19d90bSSimon J. Gerraty	  add fully qualified dirs to it.
696be19d90bSSimon J. Gerraty	  These will be built normally but the current
697be19d90bSSimon J. Gerraty	  DEP_RELDIR will not depend on then (to avoid cycles).
698be19d90bSSimon J. Gerraty	  This makes it easy to hook things like unit-tests into build.
699be19d90bSSimon J. Gerraty
700be19d90bSSimon J. Gerraty
701be19d90bSSimon J. Gerraty2016-01-21  Simon J. Gerraty  <sjg@bad.crufty.net>
702be19d90bSSimon J. Gerraty
703be19d90bSSimon J. Gerraty	* dirdeps.mk: add bootstrap-empty
704be19d90bSSimon J. Gerraty
7056e050540SSimon J. Gerraty2015-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
7066e050540SSimon J. Gerraty
7076e050540SSimon J. Gerraty	* install-mk (MK_VERSION): 20151212
7086e050540SSimon J. Gerraty	* auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
7096e050540SSimon J. Gerraty	  only apply :tA to __objdir when comparing to .OBJDIR
7106e050540SSimon J. Gerraty
711ac3446e9SSimon J. Gerraty2015-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
712ac3446e9SSimon J. Gerraty
713ac3446e9SSimon J. Gerraty	* install-mk (MK_VERSION): 20151111
714ac3446e9SSimon J. Gerraty
715ac3446e9SSimon J. Gerraty	* meta.sys.mk: include sys.dependfile.mk
716ac3446e9SSimon J. Gerraty
717ac3446e9SSimon J. Gerraty	* sys.mk (OPTIONS_DEFAULT_NO): use options.mk
718ac3446e9SSimon J. Gerraty	  to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
719ac3446e9SSimon J. Gerraty	  include local.sys.env.mk early
720ac3446e9SSimon J. Gerraty	  include local.sys.mk later
721ac3446e9SSimon J. Gerraty
722ac3446e9SSimon J. Gerraty	* own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
723ac3446e9SSimon J. Gerraty
724ac3446e9SSimon J. Gerraty2015-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
725ac3446e9SSimon J. Gerraty
726ac3446e9SSimon J. Gerraty	* meta.sys.mk (META_COOKIE_TOUCH):
727ac3446e9SSimon J. Gerraty	  add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
728ac3446e9SSimon J. Gerraty
729ac3446e9SSimon J. Gerraty	* meta.stage.mk: stage_libs should ignore SYMLINKS.
730ac3446e9SSimon J. Gerraty
731ac3446e9SSimon J. Gerraty2015-10-23  Simon J. Gerraty  <sjg@bad.crufty.net>
732ac3446e9SSimon J. Gerraty
733ac3446e9SSimon J. Gerraty	* install-mk (MK_VERSION): 20151022
734ac3446e9SSimon J. Gerraty
735ac3446e9SSimon J. Gerraty	* sys.mk: BSD/OS does not have 'type' as a shell builtin.
736ac3446e9SSimon J. Gerraty
7374c620fe5SSimon J. Gerraty2015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
7384c620fe5SSimon J. Gerraty
7394c620fe5SSimon J. Gerraty	* install-mk (MK_VERSION): 20151020
7404c620fe5SSimon J. Gerraty
7414c620fe5SSimon J. Gerraty	* dirdeps.mk: Add logic for
7424c620fe5SSimon J. Gerraty	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
7434c620fe5SSimon J. Gerraty
7444c620fe5SSimon J. Gerraty2015-10-14  Simon J. Gerraty  <sjg@bad.crufty.net>
7454c620fe5SSimon J. Gerraty
7464c620fe5SSimon J. Gerraty	* install-mk (MK_VERSION): 20151010
7474c620fe5SSimon J. Gerraty
7484c620fe5SSimon J. Gerraty2015-10-02  Simon J. Gerraty  <sjg@bad.crufty.net>
7494c620fe5SSimon J. Gerraty
7504c620fe5SSimon J. Gerraty	* meta.stage.mk: use staging: ${STAGE_TARGETS:...
7514c620fe5SSimon J. Gerraty	  to have stage_lins run last in non-jobs mode.
7524c620fe5SSimon J. Gerraty	  Use .ORDER only for jobs mode.
7534c620fe5SSimon J. Gerraty
7544c620fe5SSimon J. Gerraty2015-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
7554c620fe5SSimon J. Gerraty
7564c620fe5SSimon J. Gerraty	* rst2htm.mk: allow for per target flags etc.
7574c620fe5SSimon J. Gerraty
7584c620fe5SSimon J. Gerraty2015-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
7594c620fe5SSimon J. Gerraty
7604c620fe5SSimon J. Gerraty	* install-mk (MK_VERSION): 20150901
7614c620fe5SSimon J. Gerraty
7624c620fe5SSimon J. Gerraty	* doc.mk: create dir if needed use DOC_INSTALL_OWN
7634c620fe5SSimon J. Gerraty
7644c620fe5SSimon J. Gerraty2015-06-15  Simon J. Gerraty  <sjg@bad.crufty.net>
7654c620fe5SSimon J. Gerraty
7664c620fe5SSimon J. Gerraty	* install-mk (MK_VERSION): 20150615
7674c620fe5SSimon J. Gerraty
7684c620fe5SSimon J. Gerraty	* auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
7694c620fe5SSimon J. Gerraty	  Follow make's normal precedence rules.
7704c620fe5SSimon J. Gerraty
7714c620fe5SSimon J. Gerraty	* gendirdeps.mk: allow customization of the header.
7724c620fe5SSimon J. Gerraty	  eg. for FreeBSD:
7734c620fe5SSimon J. Gerraty	  GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
7744c620fe5SSimon J. Gerraty
7754c620fe5SSimon J. Gerraty	* meta.autodep.mk: ignore dirdeps.cache*
7764c620fe5SSimon J. Gerraty
7774c620fe5SSimon J. Gerraty	* meta.stage.mk: when bootstrapping options it can be handy to
7784c620fe5SSimon J. Gerraty	  throw warnings rather than errors for staging conflicts.
7794c620fe5SSimon J. Gerraty
7804c620fe5SSimon J. Gerraty	* meta.sys.mk: include local.meta.sys.mk for customization
7814c620fe5SSimon J. Gerraty
782128a4105SSimon J. Gerraty2015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
783128a4105SSimon J. Gerraty
784128a4105SSimon J. Gerraty	* install-mk (MK_VERSION): 20150606
785128a4105SSimon J. Gerraty
786128a4105SSimon J. Gerraty	* dirdeps.mk: don't rely on manually maintained Makefile.depend
787128a4105SSimon J. Gerraty	  to set DEP_RELDIR and reset DIRDEPS.
788128a4105SSimon J. Gerraty	  By setting DEP_RELDIR ourselves we can skip :tA
789128a4105SSimon J. Gerraty
790128a4105SSimon J. Gerraty	* gendirdeps.mk: skip setting DEP_RELDIR.
791128a4105SSimon J. Gerraty
792128a4105SSimon J. Gerraty2015-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
793128a4105SSimon J. Gerraty
794128a4105SSimon J. Gerraty	* dirdeps.mk: avoid wildcards like make(bootstrap*)
795128a4105SSimon J. Gerraty
796128a4105SSimon J. Gerraty2015-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
797128a4105SSimon J. Gerraty
798128a4105SSimon J. Gerraty	* install-mk (MK_VERSION): 20150520
799128a4105SSimon J. Gerraty
800128a4105SSimon J. Gerraty	* dirdeps.mk: when we are building dirdeps cache file we *want*
801128a4105SSimon J. Gerraty	  meta_oodate to look at all the Makefile.depend files, so
802128a4105SSimon J. Gerraty	  set .MAKE.DEPENDFILE to something that won't match.
803128a4105SSimon J. Gerraty
804128a4105SSimon J. Gerraty	* meta.stage.mk: for STAGE_AS_* basename of file may not be unique
805128a4105SSimon J. Gerraty	  so first use absolute path as key.
806128a4105SSimon J. Gerraty	  Also skip staging at level 0.
807128a4105SSimon J. Gerraty
80828a6bc81SSimon J. Gerraty2015-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
80928a6bc81SSimon J. Gerraty
81028a6bc81SSimon J. Gerraty	* install-mk (MK_VERSION): 20150430
81128a6bc81SSimon J. Gerraty
81228a6bc81SSimon J. Gerraty	* dirdeps.mk: fix _count_dirdeps for non-cache case.
81328a6bc81SSimon J. Gerraty
814db29cad8SSimon J. Gerraty2015-04-16  Simon J. Gerraty  <sjg@bad.crufty.net>
815db29cad8SSimon J. Gerraty
816db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20150411
817db29cad8SSimon J. Gerraty	  bump version
818db29cad8SSimon J. Gerraty
819db29cad8SSimon J. Gerraty	* own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
820db29cad8SSimon J. Gerraty	  it is here mainly for documentation purposes, since
821db29cad8SSimon J. Gerraty	  if using auto.obj.mk it is better done via sys.mk
822db29cad8SSimon J. Gerraty
823db29cad8SSimon J. Gerraty2015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
824db29cad8SSimon J. Gerraty
825db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20150401
826db29cad8SSimon J. Gerraty
827db29cad8SSimon J. Gerraty	* meta2deps.sh: support @list
828db29cad8SSimon J. Gerraty
829db29cad8SSimon J. Gerraty	* meta2deps.py: updates from Juniper
830db29cad8SSimon J. Gerraty	  o add EXCLUDES
831db29cad8SSimon J. Gerraty	  o skip bogus input files.
832db29cad8SSimon J. Gerraty	  o treat 'M' and 'L' as both an 'R' and a 'W'
833db29cad8SSimon J. Gerraty
834db29cad8SSimon J. Gerraty2015-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
835db29cad8SSimon J. Gerraty
836db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20150303
837db29cad8SSimon J. Gerraty
838db29cad8SSimon J. Gerraty	* dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
839db29cad8SSimon J. Gerraty	  which is built via sub-make so we have a .meta file to tell if
840db29cad8SSimon J. Gerraty	  it is out-of-date.
841db29cad8SSimon J. Gerraty	  The dirdeps-cache contains the same dependency rules that we
842db29cad8SSimon J. Gerraty	  normaly construct on the fly.
843db29cad8SSimon J. Gerraty	  This adds a few seconds overhead when the cache is out of date,
844db29cad8SSimon J. Gerraty	  but for a large target, the savings can be significant (10-20min).
845db29cad8SSimon J. Gerraty
846db29cad8SSimon J. Gerraty2014-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
847db29cad8SSimon J. Gerraty
848db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20141118
849db29cad8SSimon J. Gerraty
850db29cad8SSimon J. Gerraty	* meta.stage.mk: add stale_staged
851db29cad8SSimon J. Gerraty
852db29cad8SSimon J. Gerraty	* dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
853db29cad8SSimon J. Gerraty	  only useful under very rare conditions such as
854db29cad8SSimon J. Gerraty	  FreeBSD's make universe.
855db29cad8SSimon J. Gerraty
856db29cad8SSimon J. Gerraty	* auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
857db29cad8SSimon J. Gerraty
858db29cad8SSimon J. Gerraty2014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
859db29cad8SSimon J. Gerraty
860db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20141111
861db29cad8SSimon J. Gerraty
862db29cad8SSimon J. Gerraty	* mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
863db29cad8SSimon J. Gerraty
864db29cad8SSimon J. Gerraty2014-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
865db29cad8SSimon J. Gerraty
866db29cad8SSimon J. Gerraty	* FILES: include mkopt.sh which allows handling options in shell
867db29cad8SSimon J. Gerraty	  scripts in a manner compatible with options.mk
868db29cad8SSimon J. Gerraty
869db29cad8SSimon J. Gerraty2014-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
870db29cad8SSimon J. Gerraty
871db29cad8SSimon J. Gerraty	* meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
872db29cad8SSimon J. Gerraty	  for GENDIRDEPS_FILTER to avoid surprises.
873db29cad8SSimon J. Gerraty
874db29cad8SSimon J. Gerraty2014-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
875db29cad8SSimon J. Gerraty
876db29cad8SSimon J. Gerraty	* dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
877db29cad8SSimon J. Gerraty	  the time it is applied to __depdirs they have.
878db29cad8SSimon J. Gerraty
879db29cad8SSimon J. Gerraty	* dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
880db29cad8SSimon J. Gerraty	  expects patterns like *.${MACHINE}
881db29cad8SSimon J. Gerraty
882db29cad8SSimon J. Gerraty	* cython.mk (pyprefix?): use pyprefix to find python bits
883db29cad8SSimon J. Gerraty	  since prefix might be something else (where we install our
884db29cad8SSimon J. Gerraty	  stuff)
885db29cad8SSimon J. Gerraty
886db29cad8SSimon J. Gerraty2014-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
887db29cad8SSimon J. Gerraty
888db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20140911
889db29cad8SSimon J. Gerraty
890db29cad8SSimon J. Gerraty	* dirdeps.mk: add bootstrap target to simplify adding support for
891db29cad8SSimon J. Gerraty	  new MACHINE.
892db29cad8SSimon J. Gerraty
893db29cad8SSimon J. Gerraty2014-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
894db29cad8SSimon J. Gerraty
895db29cad8SSimon J. Gerraty	* gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
896db29cad8SSimon J. Gerraty	  GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
897db29cad8SSimon J. Gerraty	  Makefile.depend files.
898db29cad8SSimon J. Gerraty
899db29cad8SSimon J. Gerraty2014-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
900db29cad8SSimon J. Gerraty
901db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20140828
902db29cad8SSimon J. Gerraty
903db29cad8SSimon J. Gerraty	* cython.mk: capture logic for building python extension modules
904db29cad8SSimon J. Gerraty	  with Cython.
905db29cad8SSimon J. Gerraty
906db29cad8SSimon J. Gerraty2014-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
907db29cad8SSimon J. Gerraty
908db29cad8SSimon J. Gerraty	* meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
909db29cad8SSimon J. Gerraty
910db29cad8SSimon J. Gerraty2014-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
911db29cad8SSimon J. Gerraty
912db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20140801
913db29cad8SSimon J. Gerraty
914db29cad8SSimon J. Gerraty	* dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
915db29cad8SSimon J. Gerraty	identify the autodep.mk variant.
916db29cad8SSimon J. Gerraty
917db29cad8SSimon J. Gerraty	* sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
918db29cad8SSimon J. Gerraty	initial value does not match .MAKE.DEPENDFILE_PREFIX
919db29cad8SSimon J. Gerraty
920db29cad8SSimon J. Gerraty	* meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
921db29cad8SSimon J. Gerraty
9225bcb7424SSimon J. Gerraty2014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
9235bcb7424SSimon J. Gerraty
9245bcb7424SSimon J. Gerraty	* install-mk (MK_VERSION): 20140522
9255bcb7424SSimon J. Gerraty
9265bcb7424SSimon J. Gerraty	* lib.mk: use CC to link shlib for linux too
9275bcb7424SSimon J. Gerraty	  patch from Brendan MacDonell
9285bcb7424SSimon J. Gerraty
9295bcb7424SSimon J. Gerraty2014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
9305bcb7424SSimon J. Gerraty
9315bcb7424SSimon J. Gerraty	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
9325bcb7424SSimon J. Gerraty	  if WITH_META_STATS is defined.
9335bcb7424SSimon J. Gerraty
9345bcb7424SSimon J. Gerraty2014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
9355bcb7424SSimon J. Gerraty
9365bcb7424SSimon J. Gerraty	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
9375bcb7424SSimon J. Gerraty	  to supress dirdeps outside of .CURDIR.
9385bcb7424SSimon J. Gerraty
9395bcb7424SSimon J. Gerraty2014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
9405bcb7424SSimon J. Gerraty
9415bcb7424SSimon J. Gerraty	* Fix spelling errors - patch from Pedro Giffuni
9425bcb7424SSimon J. Gerraty
9435bcb7424SSimon J. Gerraty2014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>
9445bcb7424SSimon J. Gerraty
9455bcb7424SSimon J. Gerraty	* install-mk (MK_VERSION): 20140314
9465bcb7424SSimon J. Gerraty
9475bcb7424SSimon J. Gerraty	* dirdeps.mk (beforedirdeps): a handy hook
9485bcb7424SSimon J. Gerraty
9495bcb7424SSimon J. Gerraty	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
9505bcb7424SSimon J. Gerraty	  to visit leaf dirs to be intercepted (eg. for distributed
9515bcb7424SSimon J. Gerraty	  build).
9525bcb7424SSimon J. Gerraty
9535bcb7424SSimon J. Gerraty	* dirdeps.mk (__depdirs): ensure // don't sneak in
9545bcb7424SSimon J. Gerraty
9555bcb7424SSimon J. Gerraty	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in
9565bcb7424SSimon J. Gerraty
9575bcb7424SSimon J. Gerraty
9585bcb7424SSimon J. Gerraty2014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>
9595bcb7424SSimon J. Gerraty
9605bcb7424SSimon J. Gerraty	* rst2htm.mk (RST2PDF): add support for rst2pdf
9615bcb7424SSimon J. Gerraty
9625bcb7424SSimon J. Gerraty2014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
9635bcb7424SSimon J. Gerraty
9645bcb7424SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
9655bcb7424SSimon J. Gerraty	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
9665bcb7424SSimon J. Gerraty	  available.
9675bcb7424SSimon J. Gerraty
9685bcb7424SSimon J. Gerraty2014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
9695bcb7424SSimon J. Gerraty
9705bcb7424SSimon J. Gerraty	* options.mk: avoid :U so this isn't bmake dependent
9715bcb7424SSimon J. Gerraty
9725bcb7424SSimon J. Gerraty2014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>
9735bcb7424SSimon J. Gerraty
9745bcb7424SSimon J. Gerraty	* options.mk: cleanup and simplify semanitcs
9755bcb7424SSimon J. Gerraty	  NO_* dominates all, if both WITH_* and WITHOUT_*
9765bcb7424SSimon J. Gerraty	  are defined then result is DOMINATE_* which defaults to "no".
9775bcb7424SSimon J. Gerraty	  Ie. WITHOUT_ normally wins.
9785bcb7424SSimon J. Gerraty
9790dede8b0SSimon J. Gerraty2013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
9800dede8b0SSimon J. Gerraty
9810dede8b0SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
9820dede8b0SSimon J. Gerraty	* meta2deps.py: convert to print function for python3 compat.
9830dede8b0SSimon J. Gerraty	  we also need to open files with mode 'r' rather than 'rb'
9840dede8b0SSimon J. Gerraty	  otherwise we get bytes instead of strings.
9850dede8b0SSimon J. Gerraty
9860dede8b0SSimon J. Gerraty2013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
9870dede8b0SSimon J. Gerraty
9880dede8b0SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
9890dede8b0SSimon J. Gerraty
9900dede8b0SSimon J. Gerraty	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
9910dede8b0SSimon J. Gerraty	  apply the same filtering (M_dep_qual_fixes) when setting _machines
9920dede8b0SSimon J. Gerraty	  as _build_dirs.
9930dede8b0SSimon J. Gerraty	  Also fix the filtering of Makefile.depend files - for reporting
9940dede8b0SSimon J. Gerraty	  what we are looking for (M_dep_qual_fixes can get confused by
9950dede8b0SSimon J. Gerraty	  Makefile.depend)
9960dede8b0SSimon J. Gerraty	  Add some more debug info.
9970dede8b0SSimon J. Gerraty
9981bbe5942SSimon J. Gerraty2013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
9991bbe5942SSimon J. Gerraty
10001bbe5942SSimon J. Gerraty	* gendirdeps.mk (_objtops): fix typo also
10011bbe5942SSimon J. Gerraty	  while processing M2D_OBJROOTS to gather qualdir_list
10021bbe5942SSimon J. Gerraty	  qualify $ql with loop iterator to ensure correct results.
10031bbe5942SSimon J. Gerraty
10041bbe5942SSimon J. Gerraty2013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
10051bbe5942SSimon J. Gerraty
10061bbe5942SSimon J. Gerraty	* install-mk (MK_VERSION): 20130801
10071bbe5942SSimon J. Gerraty	* libs.mk: update to match progs.mk
10081bbe5942SSimon J. Gerraty
100951ee2c1cSSimon J. Gerraty2013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>
101051ee2c1cSSimon J. Gerraty
101151ee2c1cSSimon J. Gerraty	* install-mk (MK_VERSION): 20130726
101251ee2c1cSSimon J. Gerraty	  some updates from Juniper and FreeBSD
101351ee2c1cSSimon J. Gerraty	  o meta2deps.py: indicate file and line number when we hit parse
101451ee2c1cSSimon J. Gerraty	    errors
101551ee2c1cSSimon J. Gerraty	    also allow @file to provide huge list of .meta files.
101651ee2c1cSSimon J. Gerraty	* meta2deps.py: add try_parse() to cleanup the above.
101751ee2c1cSSimon J. Gerraty
101851ee2c1cSSimon J. Gerraty2013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
101951ee2c1cSSimon J. Gerraty
102051ee2c1cSSimon J. Gerraty	* install-mk (MK_VERSION): 20130716
102151ee2c1cSSimon J. Gerraty	* own.mk: add GPROG as an option
102251ee2c1cSSimon J. Gerraty	* prog.mk: honor MK_GPROF==yes
102351ee2c1cSSimon J. Gerraty
102452d86256SSimon J. Gerraty2013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
102552d86256SSimon J. Gerraty
102652d86256SSimon J. Gerraty	* install-mk (MK_VERSION): 20130505
102752d86256SSimon J. Gerraty	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
102852d86256SSimon J. Gerraty	  for when $MACHINE isn't enough for objdir distinction.
102952d86256SSimon J. Gerraty	  Bring meta2deps.sh closer to par with meta2deps.py.
103052d86256SSimon J. Gerraty
103152d86256SSimon J. Gerraty2013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
103252d86256SSimon J. Gerraty
103352d86256SSimon J. Gerraty	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
103452d86256SSimon J. Gerraty	  also if the target 'beforeinstall' exists, make it depend on
103552d86256SSimon J. Gerraty	  .dirdep (incase it uses STAGE_INSTALL).
103652d86256SSimon J. Gerraty
103752d86256SSimon J. Gerraty2013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
103852d86256SSimon J. Gerraty
103952d86256SSimon J. Gerraty	* install-mk (MK_VERSION): 20130401 ;-)
104052d86256SSimon J. Gerraty	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
104152d86256SSimon J. Gerraty	  wrapper around install(1).
104252d86256SSimon J. Gerraty	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
104352d86256SSimon J. Gerraty
10441748de26SSimon J. Gerraty2013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
10451748de26SSimon J. Gerraty
10461748de26SSimon J. Gerraty	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
10471748de26SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
10481748de26SSimon J. Gerraty
10491748de26SSimon J. Gerraty2013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>
10501748de26SSimon J. Gerraty
10511748de26SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
10521748de26SSimon J. Gerraty	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
10531748de26SSimon J. Gerraty	  any trailing /., rather apply :tA only when needed.
10541748de26SSimon J. Gerraty	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
10551748de26SSimon J. Gerraty	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
10561748de26SSimon J. Gerraty	  consistently.
10571748de26SSimon J. Gerraty	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
10581748de26SSimon J. Gerraty
10591748de26SSimon J. Gerraty2013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
10601748de26SSimon J. Gerraty
10611748de26SSimon J. Gerraty	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
10621748de26SSimon J. Gerraty	  it is simpler to just not update when say building for "host"
10631748de26SSimon J. Gerraty	  (where we know we apply filters to DIRDEPS), and using a
10641748de26SSimon J. Gerraty	  non-machine qualified dependfile.
10651748de26SSimon J. Gerraty
10661748de26SSimon J. Gerraty2013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
10671748de26SSimon J. Gerraty
10681748de26SSimon J. Gerraty	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
10691748de26SSimon J. Gerraty	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
10701748de26SSimon J. Gerraty	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
10711748de26SSimon J. Gerraty	* meta2deps.py: if machine is "host", then also trim
10721748de26SSimon J. Gerraty	  self.host_target from any OBJROOTS.
10731748de26SSimon J. Gerraty
10741748de26SSimon J. Gerraty
10751748de26SSimon J. Gerraty2013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
10761748de26SSimon J. Gerraty
10771748de26SSimon J. Gerraty	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
10781748de26SSimon J. Gerraty	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
10791748de26SSimon J. Gerraty	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
10801748de26SSimon J. Gerraty	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.
10811748de26SSimon J. Gerraty
10821748de26SSimon J. Gerraty2013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>
10831748de26SSimon J. Gerraty
10841748de26SSimon J. Gerraty	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
10851748de26SSimon J. Gerraty	  and hook to all: via staging:
10861748de26SSimon J. Gerraty
10871748de26SSimon J. Gerraty2013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
10881748de26SSimon J. Gerraty
10891748de26SSimon J. Gerraty	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
10901748de26SSimon J. Gerraty	  use a separate variable for the default .MAKE.DEPENDFILE value
10911748de26SSimon J. Gerraty	  so that it can be controlled independently of
10921748de26SSimon J. Gerraty	  .MAKE.DEPENDFILE_PREFERENCE
10931748de26SSimon J. Gerraty
10941748de26SSimon J. Gerraty	* meta.stage.mk: throw error if cp fails etc.
10951748de26SSimon J. Gerraty	  Stage*() return early if passed no args.
10961748de26SSimon J. Gerraty	  .ORDER stage_*
10971748de26SSimon J. Gerraty
10981748de26SSimon J. Gerraty2013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
10991748de26SSimon J. Gerraty
11001748de26SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
11011748de26SSimon J. Gerraty	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
11021748de26SSimon J. Gerraty
11031748de26SSimon J. Gerraty2013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
11041748de26SSimon J. Gerraty
11051748de26SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20130210
11061748de26SSimon J. Gerraty	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
11071748de26SSimon J. Gerraty	  from Juniper.
11081748de26SSimon J. Gerraty	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
11091748de26SSimon J. Gerraty	    than just MACHINE.
11101748de26SSimon J. Gerraty	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.
11111748de26SSimon J. Gerraty
11123cbdda60SSimon J. Gerraty2013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>
11133cbdda60SSimon J. Gerraty
11143cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20130123
11153cbdda60SSimon J. Gerraty	* meta.stage.mk: add stage_links (hard links).
11163cbdda60SSimon J. Gerraty	  if doing hard links, we add dest to link as well.
11173cbdda60SSimon J. Gerraty	  Default the stage dir for [sym]links to STAGE_OBJTOP since
11183cbdda60SSimon J. Gerraty	  these are typically specified as absolute paths.
11193cbdda60SSimon J. Gerraty	  Add -m "mode" flag to StageFiles and StageAs.
11203cbdda60SSimon J. Gerraty
11213cbdda60SSimon J. Gerraty2012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
11223cbdda60SSimon J. Gerraty
11233cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20121111
11243cbdda60SSimon J. Gerraty	* autoconf.mk: avoid meta mode seeing changed commands for config.status
11253cbdda60SSimon J. Gerraty	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
11263cbdda60SSimon J. Gerraty	  in case we were found via .../mk
11273cbdda60SSimon J. Gerraty	* sys.clean-env.mk: move it from examples, we and others use it
11283cbdda60SSimon J. Gerraty	  "as is".
11293cbdda60SSimon J. Gerraty	* FILES: add srctop.mk and options.mk
11303cbdda60SSimon J. Gerraty	* own.mk: convert to using options.mk
11313cbdda60SSimon J. Gerraty	  which is modeled after FreeBSD's handling of MK_*
11323cbdda60SSimon J. Gerraty	  but more flexible.
11333cbdda60SSimon J. Gerraty	  This allows MK_* for boolean knobs to not be confused
11343cbdda60SSimon J. Gerraty	  with MK* which can be commands.
11353cbdda60SSimon J. Gerraty
11363cbdda60SSimon J. Gerraty	* examples/sys.clean-env.mk: add WITH[OUT]_ to
11373cbdda60SSimon J. Gerraty	  MAKE_ENV_SAVE_PREFIX_LIST.
11383cbdda60SSimon J. Gerraty	  Mention that HOME=/var/empty might be a good idea.
11393cbdda60SSimon J. Gerraty
11403cbdda60SSimon J. Gerraty2012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>
11413cbdda60SSimon J. Gerraty
11423cbdda60SSimon J. Gerraty	* sys.dependfile.mk: if not depend file exists, $MACHINE
11433cbdda60SSimon J. Gerraty	  specific ones are supported but not the default,
11443cbdda60SSimon J. Gerraty	  check if any exist and follow suit.
11453cbdda60SSimon J. Gerraty
11463cbdda60SSimon J. Gerraty2012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>
11473cbdda60SSimon J. Gerraty
11483cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20121106
11493cbdda60SSimon J. Gerraty
11503cbdda60SSimon J. Gerraty2012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
11513cbdda60SSimon J. Gerraty
11523cbdda60SSimon J. Gerraty	* import latest dirdeps.mk and meta2deps.py from Juniper.
11533cbdda60SSimon J. Gerraty	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
11543cbdda60SSimon J. Gerraty	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
11553cbdda60SSimon J. Gerraty	  appropriate.
11563cbdda60SSimon J. Gerraty
11573cbdda60SSimon J. Gerraty2012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>
11583cbdda60SSimon J. Gerraty
11593cbdda60SSimon J. Gerraty	* meta.stage.mk: update CLEANFILES
11603cbdda60SSimon J. Gerraty	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
11613cbdda60SSimon J. Gerraty	* progs.mk: Add LDADD to PROG_VARS
11623cbdda60SSimon J. Gerraty
11633cbdda60SSimon J. Gerraty2012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
11643cbdda60SSimon J. Gerraty
11653cbdda60SSimon J. Gerraty	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
11663cbdda60SSimon J. Gerraty	  _STAGED_DIRS so that these can be turned into filters for
11673cbdda60SSimon J. Gerraty	  GENDIRDEPS_FILTER.
11683cbdda60SSimon J. Gerraty
11693cbdda60SSimon J. Gerraty2012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
11703cbdda60SSimon J. Gerraty
11713cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20121010
11723cbdda60SSimon J. Gerraty	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
11733cbdda60SSimon J. Gerraty	target.dirdep matches .dirdep
11743cbdda60SSimon J. Gerraty
11753cbdda60SSimon J. Gerraty2012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
11763cbdda60SSimon J. Gerraty
11773cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120808
11783cbdda60SSimon J. Gerraty	* import latest meta2deps.py from Juniper.
11793cbdda60SSimon J. Gerraty
11803cbdda60SSimon J. Gerraty2012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
11813cbdda60SSimon J. Gerraty
11823cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120711
11833cbdda60SSimon J. Gerraty	* dep.mk: add explicit dependencies on SRCS after applying
11843cbdda60SSimon J. Gerraty	  SRCS_DEP_FILTER
11853cbdda60SSimon J. Gerraty	* meta.autodep.mk: add explicit dependencies on SRCS after
11863cbdda60SSimon J. Gerraty	  applying SRCS_DEP_FILTER
11873cbdda60SSimon J. Gerraty	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
11883cbdda60SSimon J. Gerraty
11893cbdda60SSimon J. Gerraty2012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
11903cbdda60SSimon J. Gerraty
11913cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120626
11923cbdda60SSimon J. Gerraty	* meta.sys.mk: ignore PYTHON if it does not exist
11933cbdda60SSimon J. Gerraty	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
11943cbdda60SSimon J. Gerraty	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
11953cbdda60SSimon J. Gerraty	  entries ending in .${MACHINE} to decide if qualified _dirdep is
11963cbdda60SSimon J. Gerraty	  needed.
11973cbdda60SSimon J. Gerraty	* gendirdeps.mk: only produce unqualified deps if no
11983cbdda60SSimon J. Gerraty	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
1199ac3446e9SSimon J. Gerraty	* meta.subdir.mk: apply SUBDIRDEPS_FILTER
12003cbdda60SSimon J. Gerraty
12013cbdda60SSimon J. Gerraty2012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
12023cbdda60SSimon J. Gerraty
12033cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120420
12043cbdda60SSimon J. Gerraty	* add sys.dependfile.mk so we can experiment with
12053cbdda60SSimon J. Gerraty	  .MAKE.DEPENDFILE_PREFERENCE
12063cbdda60SSimon J. Gerraty	* meta.autodep.mk: _DEPENDFILE is precious!
12073cbdda60SSimon J. Gerraty
12083cbdda60SSimon J. Gerraty2012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
12093cbdda60SSimon J. Gerraty
12103cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120315
12113cbdda60SSimon J. Gerraty	* install-new.mk: avoid being interrupted
12123cbdda60SSimon J. Gerraty
12133cbdda60SSimon J. Gerraty2012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
12143cbdda60SSimon J. Gerraty
12153cbdda60SSimon J. Gerraty	* man.mk: MAN might have multiple values so be careful with exists().
12163cbdda60SSimon J. Gerraty
12173cbdda60SSimon J. Gerraty2012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>
12183cbdda60SSimon J. Gerraty
12193cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120112
12203cbdda60SSimon J. Gerraty	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
12213cbdda60SSimon J. Gerraty	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
12223cbdda60SSimon J. Gerraty
12233cbdda60SSimon J. Gerraty2011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>
12243cbdda60SSimon J. Gerraty
12253cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION):  bump version to 20111201
12263cbdda60SSimon J. Gerraty	* import dirdeps.mk from Juniper sjg@
12273cbdda60SSimon J. Gerraty	  o more consistent handling of DEP_MACHINE, especially when
12283cbdda60SSimon J. Gerraty	    dealing with an odd Makefile.depend, when normally using
12293cbdda60SSimon J. Gerraty	    Makefile.depend.${MACHINE}
12303cbdda60SSimon J. Gerraty
12313cbdda60SSimon J. Gerraty2011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>
12323cbdda60SSimon J. Gerraty
12333cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111122
12343cbdda60SSimon J. Gerraty	* meta.autodep.mk: add some debug output, be more crisp about
12353cbdda60SSimon J. Gerraty	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend
12363cbdda60SSimon J. Gerraty
12373cbdda60SSimon J. Gerraty2011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
12383cbdda60SSimon J. Gerraty
12393cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111111
12403cbdda60SSimon J. Gerraty	  it's too cool to miss
12413cbdda60SSimon J. Gerraty	* import meta* updates from Juniper sjg@
12423cbdda60SSimon J. Gerraty	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
12433cbdda60SSimon J. Gerraty	    normally using Makefile.depend.${MACHINE}), handy for
12443cbdda60SSimon J. Gerraty	    read-only manually maintained dependencies.
12453cbdda60SSimon J. Gerraty	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
12463cbdda60SSimon J. Gerraty	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
12473cbdda60SSimon J. Gerraty	    anything.
12483cbdda60SSimon J. Gerraty
12493cbdda60SSimon J. Gerraty2011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>
12503cbdda60SSimon J. Gerraty
12513cbdda60SSimon J. Gerraty	* install-new.mk separate the cmp and copy logic to its own function.
12523cbdda60SSimon J. Gerraty
12533cbdda60SSimon J. Gerraty2011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
12543cbdda60SSimon J. Gerraty
12553cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111028
12563cbdda60SSimon J. Gerraty	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
12573cbdda60SSimon J. Gerraty	* subdir.mk: ensure _SUBDIRUSE is provided
12583cbdda60SSimon J. Gerraty	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
12593cbdda60SSimon J. Gerraty	* meta.subdir.mk: always allow for Makefile.depend
12603cbdda60SSimon J. Gerraty
12613cbdda60SSimon J. Gerraty2011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
12623cbdda60SSimon J. Gerraty
12633cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111010
12643cbdda60SSimon J. Gerraty	  o minor tweak to *dirdeps.mk from Juniper sjg@
12653cbdda60SSimon J. Gerraty
12663cbdda60SSimon J. Gerraty2011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
12673cbdda60SSimon J. Gerraty
12683cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111001
12693cbdda60SSimon J. Gerraty	  o add meta2deps.py from Juniper sjg@
12703cbdda60SSimon J. Gerraty	  o tweak gendirdeps.mk to work with meta2deps.py when not
12713cbdda60SSimon J. Gerraty	    cross-building
12723cbdda60SSimon J. Gerraty	* autoconf.mk: add autoconf-input as a hook for regenerating
12733cbdda60SSimon J. Gerraty	  AUTOCONF_INPUTS (configure).
12743cbdda60SSimon J. Gerraty
12753cbdda60SSimon J. Gerraty2011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>
12763cbdda60SSimon J. Gerraty
12773cbdda60SSimon J. Gerraty	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
12783cbdda60SSimon J. Gerraty	  trigger for updating Makefile.depend*
12793cbdda60SSimon J. Gerraty
12803cbdda60SSimon J. Gerraty2011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
12813cbdda60SSimon J. Gerraty
12823cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110808
12833cbdda60SSimon J. Gerraty	* obj.mk: minor cleanup
12843cbdda60SSimon J. Gerraty	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
12853cbdda60SSimon J. Gerraty
12863cbdda60SSimon J. Gerraty2011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
12873cbdda60SSimon J. Gerraty
12883cbdda60SSimon J. Gerraty	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
12893cbdda60SSimon J. Gerraty	  specified dir.
12903cbdda60SSimon J. Gerraty
12913cbdda60SSimon J. Gerraty2011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
12923cbdda60SSimon J. Gerraty
12933cbdda60SSimon J. Gerraty	* meta.autodep.mk: if XMAKE_META_FILE is set
12943cbdda60SSimon J. Gerraty	  the makefile uses a foreign make, and so dependencies
12953cbdda60SSimon J. Gerraty	  can only be gathered from a clean tree build.
12963cbdda60SSimon J. Gerraty
12973cbdda60SSimon J. Gerraty2011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>
12983cbdda60SSimon J. Gerraty
12993cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110622
13003cbdda60SSimon J. Gerraty	* meta.autodep.mk: improve bootstraping
13013cbdda60SSimon J. Gerraty
13023cbdda60SSimon J. Gerraty2011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
13033cbdda60SSimon J. Gerraty
13043cbdda60SSimon J. Gerraty	* yacc.mk: handle the corner case of .c being removed
13053cbdda60SSimon J. Gerraty	  while .h remains.
13063cbdda60SSimon J. Gerraty
13073cbdda60SSimon J. Gerraty2011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
13083cbdda60SSimon J. Gerraty
13093cbdda60SSimon J. Gerraty	* yacc.mk: do .y.h and .y.c separately
13103cbdda60SSimon J. Gerraty
13113cbdda60SSimon J. Gerraty2011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
13123cbdda60SSimon J. Gerraty
13133cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110606
13143cbdda60SSimon J. Gerraty	* don't store SRC_DIRDEPS in Makefile.depend* by default
13153cbdda60SSimon J. Gerraty	  not everyone needs it.
13163cbdda60SSimon J. Gerraty
13173cbdda60SSimon J. Gerraty2011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
13183cbdda60SSimon J. Gerraty
13193cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110505
13203cbdda60SSimon J. Gerraty	  first release including meta mode makefiles
13213cbdda60SSimon J. Gerraty
13223cbdda60SSimon J. Gerraty2011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
13233cbdda60SSimon J. Gerraty
13243cbdda60SSimon J. Gerraty	* meta.stage.mk: add STAGE_AS_SETS and stage_as
13253cbdda60SSimon J. Gerraty	  for things that need to be staged with different names.
13263cbdda60SSimon J. Gerraty
13273cbdda60SSimon J. Gerraty2011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
13283cbdda60SSimon J. Gerraty
13293cbdda60SSimon J. Gerraty	* meta.stage.mk: add notion of STAGE_SETS
13303cbdda60SSimon J. Gerraty	  so a makefile can stage to multiple dirs
13313cbdda60SSimon J. Gerraty
13323cbdda60SSimon J. Gerraty2011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>
13333cbdda60SSimon J. Gerraty
13343cbdda60SSimon J. Gerraty	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
13353cbdda60SSimon J. Gerraty	  on target name.
13363cbdda60SSimon J. Gerraty
13373cbdda60SSimon J. Gerraty2011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
13383cbdda60SSimon J. Gerraty
13393cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110330
13403cbdda60SSimon J. Gerraty
13413cbdda60SSimon J. Gerraty2011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
13423cbdda60SSimon J. Gerraty
13433cbdda60SSimon J. Gerraty	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
13443cbdda60SSimon J. Gerraty	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
13453cbdda60SSimon J. Gerraty	* sys.mk: re-define M_whence in terms of M_type.
13463cbdda60SSimon J. Gerraty	  M_type is useful for checking if something is a builtin.
13473cbdda60SSimon J. Gerraty
13483cbdda60SSimon J. Gerraty2011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
13493cbdda60SSimon J. Gerraty
13503cbdda60SSimon J. Gerraty	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
13513cbdda60SSimon J. Gerraty	  stage_libs
13523cbdda60SSimon J. Gerraty
13533cbdda60SSimon J. Gerraty2011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
13543cbdda60SSimon J. Gerraty
13553cbdda60SSimon J. Gerraty	* dirdeps.mk: correct value for _depdir_files depends on
13563cbdda60SSimon J. Gerraty	  .MAKE.DEPENDFILE
13573cbdda60SSimon J. Gerraty	  Add our copyright - just to make it clear we have frobbed this
13583cbdda60SSimon J. Gerraty	  quite a bit.
13593cbdda60SSimon J. Gerraty	  DEP_MACHINE needs to be set to MACHINE each time, if using only
13603cbdda60SSimon J. Gerraty	  Makefile.depend (cf. Makefile.depend.${MACHINE})
13613cbdda60SSimon J. Gerraty
13623cbdda60SSimon J. Gerraty	* meta.stage.mk: meta mode version of staging
13633cbdda60SSimon J. Gerraty
13643cbdda60SSimon J. Gerraty	* init.mk, final.mk: include local.*.mk to simplify customization
13653cbdda60SSimon J. Gerraty
13663cbdda60SSimon J. Gerraty2011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
13673cbdda60SSimon J. Gerraty
13683cbdda60SSimon J. Gerraty	* auto.obj.mk: just because we are doing mk destroy, we should
13693cbdda60SSimon J. Gerraty	  still set .OBJDIR correctly if it exists.
13703cbdda60SSimon J. Gerraty
13713cbdda60SSimon J. Gerraty	* install-mk (mksrc): do not exclude meta.sys.mk
13723cbdda60SSimon J. Gerraty
13733cbdda60SSimon J. Gerraty2011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
13743cbdda60SSimon J. Gerraty
13753cbdda60SSimon J. Gerraty	* host-target.mk: set/export _HOST_ARCH etc separately,
13763cbdda60SSimon J. Gerraty	  catch junk resulting from uname -p, so we can find sys/Linux.mk
13773cbdda60SSimon J. Gerraty	  correctly.
13783cbdda60SSimon J. Gerraty
13793cbdda60SSimon J. Gerraty2011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
13803cbdda60SSimon J. Gerraty
13813cbdda60SSimon J. Gerraty	* meta.sys.mk: throw an error if /dev/filemon is missing and we
13823cbdda60SSimon J. Gerraty	  expected to be updating Makefile.depend*
13833cbdda60SSimon J. Gerraty
13843cbdda60SSimon J. Gerraty2011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
13853cbdda60SSimon J. Gerraty
13863cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110214
13873cbdda60SSimon J. Gerraty	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
13883cbdda60SSimon J. Gerraty
13893cbdda60SSimon J. Gerraty2010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>
13903cbdda60SSimon J. Gerraty
13913cbdda60SSimon J. Gerraty	* meta.sys.mk: not valid for older bmake
13923cbdda60SSimon J. Gerraty
13933cbdda60SSimon J. Gerraty2010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>
13943cbdda60SSimon J. Gerraty
13953cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100919
13963cbdda60SSimon J. Gerraty	include dirdeps.mk et al from Juniper Networks,
13973cbdda60SSimon J. Gerraty	for meta mode - requires filemon(9).
13983cbdda60SSimon J. Gerraty	* sys.mk, subdir.mk: Add hooks for meta mode.
13993cbdda60SSimon J. Gerraty	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
14003cbdda60SSimon J. Gerraty	to make turning it on/off simple.
14013cbdda60SSimon J. Gerraty
14023cbdda60SSimon J. Gerraty2010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
14033cbdda60SSimon J. Gerraty
14043cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100616
14053cbdda60SSimon J. Gerraty	* fix typo in sys.mk
14063cbdda60SSimon J. Gerraty
14073cbdda60SSimon J. Gerraty2010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>
14083cbdda60SSimon J. Gerraty
14093cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100612
14103cbdda60SSimon J. Gerraty	* lib.mk: remove duplicate addition to SOBJS
14113cbdda60SSimon J. Gerraty
14123cbdda60SSimon J. Gerraty2010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
14133cbdda60SSimon J. Gerraty
14143cbdda60SSimon J. Gerraty	* sys.mk: Add a means of selectively turning on debug flags.
14153cbdda60SSimon J. Gerraty	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
14163cbdda60SSimon J. Gerraty	  will act as if we did make -dv if .CURDIR ends in lib/sjg
14173cbdda60SSimon J. Gerraty	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
14183cbdda60SSimon J. Gerraty	  the start of sys.mk rather than the end.
14193cbdda60SSimon J. Gerraty	  This only makes sense for leaf dirs, so we check that
14203cbdda60SSimon J. Gerraty	  .MAKE.LEVEL > 0
14213cbdda60SSimon J. Gerraty
14223cbdda60SSimon J. Gerraty2010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>
14233cbdda60SSimon J. Gerraty
14243cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100608
14253cbdda60SSimon J. Gerraty	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
14263cbdda60SSimon J. Gerraty	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
14273cbdda60SSimon J. Gerraty	  also make it easier for folk to tweak
14283cbdda60SSimon J. Gerraty
14293cbdda60SSimon J. Gerraty2010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
14303cbdda60SSimon J. Gerraty
14313cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100606
14323cbdda60SSimon J. Gerraty	  do not install examples/*
14333cbdda60SSimon J. Gerraty	* FILES: add examples/sys.clean-env.mk
14343cbdda60SSimon J. Gerraty	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
14353cbdda60SSimon J. Gerraty	  this requires bmake-20100606 or later to work.
14363cbdda60SSimon J. Gerraty
14373cbdda60SSimon J. Gerraty2010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>
14383cbdda60SSimon J. Gerraty
14393cbdda60SSimon J. Gerraty	* sys.mk (M_tA): better simulate the result of :tA if not available.
14403cbdda60SSimon J. Gerraty
14413cbdda60SSimon J. Gerraty2010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
14423cbdda60SSimon J. Gerraty
14433cbdda60SSimon J. Gerraty	* sys.mk: canonicalize MAKE_VERSION
14443cbdda60SSimon J. Gerraty	  old versions reported bmake-<src-date> build-<build-date>
14453cbdda60SSimon J. Gerraty	  whereas we only care about <src-date>
14463cbdda60SSimon J. Gerraty
14473cbdda60SSimon J. Gerraty2010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>
14483cbdda60SSimon J. Gerraty
14493cbdda60SSimon J. Gerraty	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
14503cbdda60SSimon J. Gerraty	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
14513cbdda60SSimon J. Gerraty	  is !empty
14523cbdda60SSimon J. Gerraty
14533cbdda60SSimon J. Gerraty2010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
14543cbdda60SSimon J. Gerraty
14553cbdda60SSimon J. Gerraty	* dpadd.mk: use LDADD_* if defined.
14563cbdda60SSimon J. Gerraty
14573cbdda60SSimon J. Gerraty2010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
14583cbdda60SSimon J. Gerraty
14593cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100420
14603cbdda60SSimon J. Gerraty	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
14613cbdda60SSimon J. Gerraty	* autoconf.mk allow AUTO_AUTOCONF
14623cbdda60SSimon J. Gerraty
14633cbdda60SSimon J. Gerraty2010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>
14643cbdda60SSimon J. Gerraty
14653cbdda60SSimon J. Gerraty	* obj.mk: add objwarn to keep freebsd makefiles happy
14663cbdda60SSimon J. Gerraty	* auto.obj.mk: ensure Mkdirs is available.
14673cbdda60SSimon J. Gerraty	* FILES: add auto.dep.mk - a simpler version of autodep.mk
14683cbdda60SSimon J. Gerraty	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
14693cbdda60SSimon J. Gerraty	  asked to do that.
14703cbdda60SSimon J. Gerraty	  fix/simplify the tests for when to run mkdep.
14715bcb7424SSimon J. Gerraty	* auto.dep.mk: add some explanation of how/what we do.
14723cbdda60SSimon J. Gerraty	* autodep.mk: skip the .OPTIONAL frobbing of .depend
14733cbdda60SSimon J. Gerraty	  bmake's FROM_DEPEND flag makes it redundant.
14743cbdda60SSimon J. Gerraty
14753cbdda60SSimon J. Gerraty2010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
14763cbdda60SSimon J. Gerraty
14773cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100404
14783cbdda60SSimon J. Gerraty	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
14793cbdda60SSimon J. Gerraty	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
14803cbdda60SSimon J. Gerraty	Also create a target _SUBDIRUSE so that we can  be used without
14813cbdda60SSimon J. Gerraty	subdir.mk
14823cbdda60SSimon J. Gerraty
14833cbdda60SSimon J. Gerraty2010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>
14843cbdda60SSimon J. Gerraty
14853cbdda60SSimon J. Gerraty	* dep.mk: use <> when .including so can override.
14863cbdda60SSimon J. Gerraty
14873cbdda60SSimon J. Gerraty2010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>
14883cbdda60SSimon J. Gerraty
14893cbdda60SSimon J. Gerraty	* lib.mk (SHLIB_LINKS): ensure a string comparison.
14903cbdda60SSimon J. Gerraty
14913cbdda60SSimon J. Gerraty2010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
14923cbdda60SSimon J. Gerraty
14933cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100102
14943cbdda60SSimon J. Gerraty	* own.mk: ensure PRINTOBJDIR works
14953cbdda60SSimon J. Gerraty	* autoconf.mk: pass on CONFIGURE_ARGS
14963cbdda60SSimon J. Gerraty	* init.mk: handle COPTS.${.IMPSRC:T} etc.
14973cbdda60SSimon J. Gerraty	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
14983cbdda60SSimon J. Gerraty	  fix handling of symlinks for darwin
14993cbdda60SSimon J. Gerraty	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
15003cbdda60SSimon J. Gerraty	* man.mk: suppress chown when not root.
15013cbdda60SSimon J. Gerraty	* rst2htm.mk: allow srcs from multiple locations.
15023cbdda60SSimon J. Gerraty	* sys.mk: M_whence, stop after 1st line of output.
15033cbdda60SSimon J. Gerraty	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
15043cbdda60SSimon J. Gerraty	* sys/SunOS.mk: we need to export PATH
15053cbdda60SSimon J. Gerraty
15063cbdda60SSimon J. Gerraty2009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>
15073cbdda60SSimon J. Gerraty
15083cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
15093cbdda60SSimon J. Gerraty	  include rst2htm.mk
15103cbdda60SSimon J. Gerraty
15113cbdda60SSimon J. Gerraty2009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>
15123cbdda60SSimon J. Gerraty
15133cbdda60SSimon J. Gerraty	* sys.mk,libnames.mk add .-include <local.*>
15143cbdda60SSimon J. Gerraty	  this allows local customization without the need to edit the
15153cbdda60SSimon J. Gerraty	  distributed files.
15163cbdda60SSimon J. Gerraty
15173cbdda60SSimon J. Gerraty2009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>
15183cbdda60SSimon J. Gerraty
15193cbdda60SSimon J. Gerraty	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
15203cbdda60SSimon J. Gerraty	  older versions already installed.
15213cbdda60SSimon J. Gerraty
15223cbdda60SSimon J. Gerraty2009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>
15233cbdda60SSimon J. Gerraty
15243cbdda60SSimon J. Gerraty	* stage.mk (.stage-install): generalize lib.mk's .libinstall
15253cbdda60SSimon J. Gerraty	* rules.mk rules for generic Makefile.
15263cbdda60SSimon J. Gerraty	* inc.mk install for includes.
15273cbdda60SSimon J. Gerraty
15283cbdda60SSimon J. Gerraty2009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>
15293cbdda60SSimon J. Gerraty
15303cbdda60SSimon J. Gerraty	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
15313cbdda60SSimon J. Gerraty	  this, so provide it if using native make.
15323cbdda60SSimon J. Gerraty
15333cbdda60SSimon J. Gerraty2009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>
15343cbdda60SSimon J. Gerraty
15353cbdda60SSimon J. Gerraty	* FILES: move all the platform *.sys.mk files to sys/*.mk
15363cbdda60SSimon J. Gerraty	* Rename Generic.sys.mk to sys.mk - we always want it.
15373cbdda60SSimon J. Gerraty
15383cbdda60SSimon J. Gerraty2009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>
15393cbdda60SSimon J. Gerraty
15403cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
15413cbdda60SSimon J. Gerraty	* host-target.mk: only export the expensive stuff
15423cbdda60SSimon J. Gerraty	* Generic.sys.mk (sys_mk): for SunOS we need to look for
15433cbdda60SSimon J. Gerraty	  ${HOST_OS}.${HOST_OSMAJOR} too!
15443cbdda60SSimon J. Gerraty
15453cbdda60SSimon J. Gerraty2009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>
15463cbdda60SSimon J. Gerraty
15473cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
15483cbdda60SSimon J. Gerraty	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
15493cbdda60SSimon J. Gerraty	  based on patch from Greg Olszewski.
15503cbdda60SSimon J. Gerraty	* Generic.sys.mk: if we have nothing to work with
15513cbdda60SSimon J. Gerraty	set LORDER etc only if we can find it.
15523cbdda60SSimon J. Gerraty
15533cbdda60SSimon J. Gerraty2009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
15543cbdda60SSimon J. Gerraty
15553cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
15563cbdda60SSimon J. Gerraty	* man.mk: cleanman: remove CLEANMAN if defined.
15573cbdda60SSimon J. Gerraty
15583cbdda60SSimon J. Gerraty2009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>
15593cbdda60SSimon J. Gerraty
15603cbdda60SSimon J. Gerraty	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
15613cbdda60SSimon J. Gerraty
15623cbdda60SSimon J. Gerraty2009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>
15633cbdda60SSimon J. Gerraty
15643cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
15653cbdda60SSimon J. Gerraty	include auto.obj.mk
15663cbdda60SSimon J. Gerraty
15673cbdda60SSimon J. Gerraty
15683cbdda60SSimon J. Gerraty2009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
15693cbdda60SSimon J. Gerraty
15703cbdda60SSimon J. Gerraty	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
15713cbdda60SSimon J. Gerraty
15723cbdda60SSimon J. Gerraty2008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
15733cbdda60SSimon J. Gerraty
15743cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
15753cbdda60SSimon J. Gerraty	man.mk: ensure we generate *.cat1 etc in .
15763cbdda60SSimon J. Gerraty
15773cbdda60SSimon J. Gerraty2008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>
15783cbdda60SSimon J. Gerraty
15793cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
15803cbdda60SSimon J. Gerraty	add prlist.mk
15813cbdda60SSimon J. Gerraty
15823cbdda60SSimon J. Gerraty2007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
15833cbdda60SSimon J. Gerraty
15843cbdda60SSimon J. Gerraty	* Generic.sys.mk: Allow os specific sys.mk to be in a
15853cbdda60SSimon J. Gerraty	subdir of ${.PARSEDIR}
15863cbdda60SSimon J. Gerraty
15873cbdda60SSimon J. Gerraty2007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>
15883cbdda60SSimon J. Gerraty
15893cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
15903cbdda60SSimon J. Gerraty	* general cleanup
15913cbdda60SSimon J. Gerraty	* dpadd.mk introduce DPMAGIC_LIBS_*
15923cbdda60SSimon J. Gerraty
15933cbdda60SSimon J. Gerraty2007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>
15943cbdda60SSimon J. Gerraty
15953cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
15963cbdda60SSimon J. Gerraty
15973cbdda60SSimon J. Gerraty	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
15983cbdda60SSimon J. Gerraty	depend files and ensure clean is called for each lib/prog.
15993cbdda60SSimon J. Gerraty
16003cbdda60SSimon J. Gerraty2007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>
16013cbdda60SSimon J. Gerraty
16023cbdda60SSimon J. Gerraty	* autodep.mk (.depend): delete lines that do not start with
16033cbdda60SSimon J. Gerraty	space and do not contain ':'
16043cbdda60SSimon J. Gerraty
16053cbdda60SSimon J. Gerraty2007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>
16063cbdda60SSimon J. Gerraty
16073cbdda60SSimon J. Gerraty	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
16083cbdda60SSimon J. Gerraty	so make sure the transform for .OPTIONAL copes.
16093cbdda60SSimon J. Gerraty
16103cbdda60SSimon J. Gerraty2007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
16113cbdda60SSimon J. Gerraty
16123cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
16133cbdda60SSimon J. Gerraty
16143cbdda60SSimon J. Gerraty	* own.mk: make sure RM and LN are defined.
16153cbdda60SSimon J. Gerraty
16163cbdda60SSimon J. Gerraty	* obj.mk: fix a typo, and objlink target.
16173cbdda60SSimon J. Gerraty
16183cbdda60SSimon J. Gerraty2006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>
16193cbdda60SSimon J. Gerraty
16203cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
16215bcb7424SSimon J. Gerraty	* added libs.mk - analogous to progs.mk
16223cbdda60SSimon J. Gerraty	  make both of them always inlcude {lib,prog}.mk
16233cbdda60SSimon J. Gerraty
16243cbdda60SSimon J. Gerraty2006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>
16253cbdda60SSimon J. Gerraty
16263cbdda60SSimon J. Gerraty	* progs.mk: add a means of building multiple apps in one dir.
16273cbdda60SSimon J. Gerraty
16283cbdda60SSimon J. Gerraty2006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
16293cbdda60SSimon J. Gerraty
16303cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20061126
16313cbdda60SSimon J. Gerraty
16323cbdda60SSimon J. Gerraty	* warnings.mk: detect invalid WARNINGS_SET
16333cbdda60SSimon J. Gerraty
16343cbdda60SSimon J. Gerraty	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
16353cbdda60SSimon J. Gerraty	specific warnings.
16363cbdda60SSimon J. Gerraty
16373cbdda60SSimon J. Gerraty	* For .cc sources, turn off warnings that g++ vomits on.
16383cbdda60SSimon J. Gerraty
16393cbdda60SSimon J. Gerraty2006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>
16403cbdda60SSimon J. Gerraty
16413cbdda60SSimon J. Gerraty	* own.mk: if __initialized__ target doesn't exist and we are
16423cbdda60SSimon J. Gerraty	FreeBSD we got here directly from sys.mk
16433cbdda60SSimon J. Gerraty
16443cbdda60SSimon J. Gerraty2006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>
16453cbdda60SSimon J. Gerraty
16463cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20061106
16473cbdda60SSimon J. Gerraty	add scripts.mk
16483cbdda60SSimon J. Gerraty
16493cbdda60SSimon J. Gerraty2006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
16503cbdda60SSimon J. Gerraty
16513cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20060318
16523cbdda60SSimon J. Gerraty
16533cbdda60SSimon J. Gerraty	* autodep.mk: avoid := when modifying OBJS into __dependsrcs
16543cbdda60SSimon J. Gerraty
16553cbdda60SSimon J. Gerraty2006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>
16563cbdda60SSimon J. Gerraty
16573cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20060302
16583cbdda60SSimon J. Gerraty	* autodep.mk: use -MF et al to help gcc+ccache DTRT.
16593cbdda60SSimon J. Gerraty
16603cbdda60SSimon J. Gerraty2006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
16613cbdda60SSimon J. Gerraty
16623cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20060301
16633cbdda60SSimon J. Gerraty	* autodep.mk (.depend):
16643cbdda60SSimon J. Gerraty	if MAKE_VERSION is newer than  20050530 we can make .END depend on
16653cbdda60SSimon J. Gerraty	.depend and make .depend depend on __depsrcs that exist.
16663cbdda60SSimon J. Gerraty	* dpadd.mk: add SRC_PATHADD
16673cbdda60SSimon J. Gerraty
16683cbdda60SSimon J. Gerraty2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
16693cbdda60SSimon J. Gerraty
16703cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20051104
16713cbdda60SSimon J. Gerraty	* prog.mk: remove all the LIBC?= junk, use
16723cbdda60SSimon J. Gerraty	.-include libnames.mk instead (none by default).
16733cbdda60SSimon J. Gerraty	also if USE_DPADD_MK is set, include that.
16743cbdda60SSimon J. Gerraty
16753cbdda60SSimon J. Gerraty2005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
16763cbdda60SSimon J. Gerraty
16773cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20051001
16783cbdda60SSimon J. Gerraty	Add UnixWare.sys.mk from Klaus Heinz.
16793cbdda60SSimon J. Gerraty
16803cbdda60SSimon J. Gerraty2005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>
16813cbdda60SSimon J. Gerraty
16823cbdda60SSimon J. Gerraty	* install-mk: always install *.sys.mk and if need be symlink one
16833cbdda60SSimon J. Gerraty	to sys.mk
16843cbdda60SSimon J. Gerraty
16853cbdda60SSimon J. Gerraty2005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
16863cbdda60SSimon J. Gerraty
16873cbdda60SSimon J. Gerraty	* subdir.mk, own.mk: use .MAKE rather than MAKE
16883cbdda60SSimon J. Gerraty
16893cbdda60SSimon J. Gerraty2004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
16903cbdda60SSimon J. Gerraty
16913cbdda60SSimon J. Gerraty	* own.mk: don't use NetBSD's _SRC_TOP_ it can
16923cbdda60SSimon J. Gerraty	cause confusion.  Also don't take just 'mk' as a
16933cbdda60SSimon J. Gerraty	srctop indicator.
16943cbdda60SSimon J. Gerraty
16953cbdda60SSimon J. Gerraty2004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
16963cbdda60SSimon J. Gerraty
16973cbdda60SSimon J. Gerraty	* warnings.mk: overhauled, now very powerful.
16983cbdda60SSimon J. Gerraty
16993cbdda60SSimon J. Gerraty2004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
17003cbdda60SSimon J. Gerraty
17013cbdda60SSimon J. Gerraty	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
17023cbdda60SSimon J. Gerraty
17033cbdda60SSimon J. Gerraty2004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>
17043cbdda60SSimon J. Gerraty
17053cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20040201
17063cbdda60SSimon J. Gerraty	* extract HOST_TARGET stuff to host-target.mk so own.mk and
17073cbdda60SSimon J. Gerraty	Generic.sys.mk can share.
17083cbdda60SSimon J. Gerraty	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
17093cbdda60SSimon J. Gerraty
17103cbdda60SSimon J. Gerraty2003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>
17113cbdda60SSimon J. Gerraty
17123cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): 20030930
17133cbdda60SSimon J. Gerraty	* rename generic.sys.mk to Generic.sys.mk
17143cbdda60SSimon J. Gerraty	so that it does not get installed (unless being used as sys.mk)
17153cbdda60SSimon J. Gerraty	* set OS and ROOT_GROUP for those that we know the value.
17163cbdda60SSimon J. Gerraty	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
17173cbdda60SSimon J. Gerraty	we don't do it again for each sub-make.
17183cbdda60SSimon J. Gerraty
17193cbdda60SSimon J. Gerraty2003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
17203cbdda60SSimon J. Gerraty
17213cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): 20030928
17223cbdda60SSimon J. Gerraty	Add some extra *.sys.mk from bootstrap-pkgsrc
17233cbdda60SSimon J. Gerraty	some of these likely still need work.
17243cbdda60SSimon J. Gerraty	Make everything default to root:wheel ownership,
17253cbdda60SSimon J. Gerraty	sys.mk can set ROOT_GROUP accordingly.
17263cbdda60SSimon J. Gerraty
17273cbdda60SSimon J. Gerraty2003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>
17283cbdda60SSimon J. Gerraty
17293cbdda60SSimon J. Gerraty	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
17303cbdda60SSimon J. Gerraty	not the portable ones.
17313cbdda60SSimon J. Gerraty
17323cbdda60SSimon J. Gerraty2003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
17333cbdda60SSimon J. Gerraty
17343cbdda60SSimon J. Gerraty	* install-mk: add ability to use cp -f when updating
17353cbdda60SSimon J. Gerraty	destination .mk files.  Also now possible to play games with
17363cbdda60SSimon J. Gerraty	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
17373cbdda60SSimon J. Gerraty	into dest - not recommended unless you seriously want to.
17383cbdda60SSimon J. Gerraty
17393cbdda60SSimon J. Gerraty2003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
17403cbdda60SSimon J. Gerraty
17413cbdda60SSimon J. Gerraty	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
17423cbdda60SSimon J. Gerraty	for semi-compatability with NetBSD.
17433cbdda60SSimon J. Gerraty
17443cbdda60SSimon J. Gerraty2003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
17453cbdda60SSimon J. Gerraty
17463cbdda60SSimon J. Gerraty	* install-mk: add a version indicator
17473cbdda60SSimon J. Gerraty
17483cbdda60SSimon J. Gerraty2003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>
17493cbdda60SSimon J. Gerraty
17503cbdda60SSimon J. Gerraty	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
17513cbdda60SSimon J. Gerraty
17523cbdda60SSimon J. Gerraty	* install-mk: Allow FORCE_SYS_MK to come from env
17533cbdda60SSimon J. Gerraty
17543cbdda60SSimon J. Gerraty
17553cbdda60SSimon J. Gerraty
1756