xref: /freebsd/contrib/bmake/mk/ChangeLog (revision 9f45a3c8c82ffead7044ae836d9257113c630d3b)
1*9f45a3c8SSimon J. Gerraty2022-02-04  Simon J Gerraty  <sjg@beast.crufty.net>
2*9f45a3c8SSimon J. Gerraty
3*9f45a3c8SSimon J. Gerraty	* install-mk (MK_VERSION): 20220204
4*9f45a3c8SSimon J. Gerraty
5*9f45a3c8SSimon J. Gerraty	* host-target.mk: use .MAKE.OS if available
6*9f45a3c8SSimon J. Gerraty
7*9f45a3c8SSimon J. Gerraty2022-02-02  Simon J Gerraty  <sjg@beast.crufty.net>
8*9f45a3c8SSimon J. Gerraty
9*9f45a3c8SSimon J. Gerraty	* install-mk (MK_VERSION): 20220202
10*9f45a3c8SSimon J. Gerraty
11*9f45a3c8SSimon J. Gerraty	* cc-wrap.mk: allow other entries in CC_WRAP_FILTER
12*9f45a3c8SSimon J. Gerraty	We add our filter on extensions last, so prior filters
13*9f45a3c8SSimon J. Gerraty	can apply to the whole value of .IMPSRC
14*9f45a3c8SSimon J. Gerraty
15*9f45a3c8SSimon J. Gerraty2022-02-01  Simon J Gerraty  <sjg@beast.crufty.net>
16*9f45a3c8SSimon J. Gerraty
17*9f45a3c8SSimon J. Gerraty	* cc-wrap.mk: take advantage of target local variables to
18*9f45a3c8SSimon J. Gerraty	wrap compilers like CC CXX with wrappers like ccache distcc etc
19*9f45a3c8SSimon J. Gerraty
20*9f45a3c8SSimon J. Gerraty2022-01-28  Simon J Gerraty  <sjg@beast.crufty.net>
21*9f45a3c8SSimon J. Gerraty
22*9f45a3c8SSimon J. Gerraty	* meta2deps: we do not expect any trace data for setid apps
23*9f45a3c8SSimon J. Gerraty
24*9f45a3c8SSimon J. Gerraty2022-01-26  Simon J Gerraty  <sjg@beast.crufty.net>
25*9f45a3c8SSimon J. Gerraty
26*9f45a3c8SSimon J. Gerraty	* dirdeps.mk: ensure TARGET_SPEC and TARGET_SPEC_VARS are passed
27*9f45a3c8SSimon J. Gerraty	to sub-make using DIRDEPS_CACHE
28*9f45a3c8SSimon J. Gerraty
29*9f45a3c8SSimon J. Gerraty2022-01-07  Simon J Gerraty  <sjg@beast.crufty.net>
30*9f45a3c8SSimon J. Gerraty
31*9f45a3c8SSimon J. Gerraty	* dirdeps.mk: use _cache_script to minimize the number of shells
32*9f45a3c8SSimon J. Gerraty	forked when generating dirdeps.cache
33*9f45a3c8SSimon J. Gerraty
34*9f45a3c8SSimon J. Gerraty2022-01-02  Simon J Gerraty  <sjg@beast.crufty.net>
35*9f45a3c8SSimon J. Gerraty
36*9f45a3c8SSimon J. Gerraty	* install-mk (MK_VERSION): 20220101
37*9f45a3c8SSimon J. Gerraty
38*9f45a3c8SSimon J. Gerraty	* dirdeps.mk: initialize DEP_* and _debug_reldir earlier.
39*9f45a3c8SSimon J. Gerraty	If initial DIRDEPS are from command line, create the target
40*9f45a3c8SSimon J. Gerraty	_dirdeps_cmdline as an indication.
41*9f45a3c8SSimon J. Gerraty
42*9f45a3c8SSimon J. Gerraty2022-01-01  Simon J Gerraty  <sjg@beast.crufty.net>
43*9f45a3c8SSimon J. Gerraty
44*9f45a3c8SSimon J. Gerraty	* init.mk (_SKIP_BUILD): when doing DIRDEPS_BUILD
45*9f45a3c8SSimon J. Gerraty	at top-level only some targets are allowed at level 0,
46*9f45a3c8SSimon J. Gerraty	for leaf makefiles only the default (all) target is restricted
47*9f45a3c8SSimon J. Gerraty
48*9f45a3c8SSimon J. Gerraty2021-12-28  Simon J Gerraty  <sjg@beast.crufty.net>
49*9f45a3c8SSimon J. Gerraty
50*9f45a3c8SSimon J. Gerraty	* install-mk (MK_VERSION): 20211228
51*9f45a3c8SSimon J. Gerraty
52*9f45a3c8SSimon J. Gerraty	* meta2deps.py: filemon on Linux is not as reliable as we might
53*9f45a3c8SSimon J. Gerraty	like, we do not want to update DIRDEPS if filemon output is
54*9f45a3c8SSimon J. Gerraty	incomplete.   Track pids that we 'E'xec and make sure we see an
55*9f45a3c8SSimon J. Gerraty	e'X'it for each one.  Throw an error if we are missing any 'X'
56*9f45a3c8SSimon J. Gerraty	records.
57*9f45a3c8SSimon J. Gerraty
5812904384SSimon J. Gerraty2021-12-12  Simon J Gerraty  <sjg@beast.crufty.net>
5912904384SSimon J. Gerraty
6012904384SSimon J. Gerraty	* sys.mk: simplify; include meta.sys.mk if MK_META_MODE is yes.
6112904384SSimon J. Gerraty
6212904384SSimon J. Gerraty	* meta.sys.mk: do not check for /dev/filemon if .MAKE.PATH_FILEMON
6312904384SSimon J. Gerraty	is something else.
6412904384SSimon J. Gerraty
6512904384SSimon J. Gerraty	* meta.autodep.mk: we can now reference ${.SUFFIXES}
6612904384SSimon J. Gerraty
6712904384SSimon J. Gerraty	* meta2deps.py: derive a list of dirdep extensions from
6812904384SSimon J. Gerraty	TARGET_SPEC to trim from dirdeps.
6912904384SSimon J. Gerraty
7012904384SSimon J. Gerraty	* dirdeps.mk: flip the computation of qualified vs unqualified
7112904384SSimon J. Gerraty	dirdeps - it is much simpler to check for unqualified first.
7212904384SSimon J. Gerraty
7312904384SSimon J. Gerraty2021-12-11  Simon J Gerraty  <sjg@beast.crufty.net>
7412904384SSimon J. Gerraty
7512904384SSimon J. Gerraty	* install-mk (MK_VERSION): 20211212
7612904384SSimon J. Gerraty
7712904384SSimon J. Gerraty	* auto.dep.mk: rearrange so that the trivial implementation
7812904384SSimon J. Gerraty	for recent bmake is more obvious.
7912904384SSimon J. Gerraty
8012904384SSimon J. Gerraty2021-12-07  Simon J Gerraty  <sjg@beast.crufty.net>
8112904384SSimon J. Gerraty
8212904384SSimon J. Gerraty	* install-mk (MK_VERSION): 20211207
8312904384SSimon J. Gerraty
8412904384SSimon J. Gerraty	* Ensure guard targets are .NOTMAIN
8512904384SSimon J. Gerraty
8612904384SSimon J. Gerraty	* meta.sys.mk: check for nofilemon support when we skip level 0
8712904384SSimon J. Gerraty
8812904384SSimon J. Gerraty	* auto.dep.mk: make this usable in meta mode
8912904384SSimon J. Gerraty	for platforms that cannot use meta.autodep.mk
9012904384SSimon J. Gerraty
9112904384SSimon J. Gerraty	* meta2deps.py: avoid confusion if MACHINE and another
9212904384SSimon J. Gerraty	TARGET_SPEC_VAR have same value.
9312904384SSimon J. Gerraty
9412904384SSimon J. Gerraty2021-11-27  Simon J Gerraty  <sjg@beast.crufty.net>
9512904384SSimon J. Gerraty
9612904384SSimon J. Gerraty	* dirdeps.mk: when building dirdeps.cache, minimize the amount of
9712904384SSimon J. Gerraty	data put into env, by stripping ${SRCTOP}/ from each entry.
9812904384SSimon J. Gerraty	A long sandbox name can double the amount of memory consumed and
9912904384SSimon J. Gerraty	in extreme cases cause failure.
10012904384SSimon J. Gerraty	While we are at it, strip ${SRCTOP}/ from a lot of the debug output.
10112904384SSimon J. Gerraty
10212904384SSimon J. Gerraty2021-11-11  Simon J Gerraty  <sjg@beast.crufty.net>
10312904384SSimon J. Gerraty
10412904384SSimon J. Gerraty	* install-mk (MK_VERSION): 20211111
10512904384SSimon J. Gerraty
10612904384SSimon J. Gerraty	* meta.stage.mk (LN_CP_SCRIPT): if staging to NFS cp -p can fail
10712904384SSimon J. Gerraty	so fallback to cp if necessary.
10812904384SSimon J. Gerraty
10912904384SSimon J. Gerraty2021-10-30  Simon J Gerraty  <sjg@beast.crufty.net>
11012904384SSimon J. Gerraty
11112904384SSimon J. Gerraty	* man.mk (CMT2DOC): use cmt2doc.py rather than the 30 year
11212904384SSimon J. Gerraty	old cmt2doc.pl
11312904384SSimon J. Gerraty
11412904384SSimon J. Gerraty2021-10-24  Simon J Gerraty  <sjg@beast.crufty.net>
11512904384SSimon J. Gerraty
11612904384SSimon J. Gerraty	* meta.stage.mk: stage_as_and_symlink use ${STAGE_LINK_AS_$f:U$f}
11712904384SSimon J. Gerraty	as the symlink (rare)
11812904384SSimon J. Gerraty
11912904384SSimon J. Gerraty2021-10-16  Simon J Gerraty  <sjg@beast.crufty.net>
12012904384SSimon J. Gerraty
12112904384SSimon J. Gerraty	* autoconf.mk: if AUTOCONF_GENERATED_MAKEFILE is set and has not
12212904384SSimon J. Gerraty	been read, throw an error after running configure telling user to
12312904384SSimon J. Gerraty	restart.
12412904384SSimon J. Gerraty
12512904384SSimon J. Gerraty2021-10-13  Simon J Gerraty  <sjg@beast.crufty.net>
12612904384SSimon J. Gerraty
12712904384SSimon J. Gerraty	* install-mk (MK_VERSION): 20211011
12812904384SSimon J. Gerraty
12912904384SSimon J. Gerraty	* Add support for SCO_SV
13012904384SSimon J. Gerraty
13112904384SSimon J. Gerraty2021-10-01  Simon J Gerraty  <sjg@beast.crufty.net>
13212904384SSimon J. Gerraty
13312904384SSimon J. Gerraty	* install-mk (MK_VERSION): 20211001
13412904384SSimon J. Gerraty
13512904384SSimon J. Gerraty	* man.mk: use MAN_SUFFIXES and CMT2DOC_SUFFIXES for more
13612904384SSimon J. Gerraty	flexibility
13712904384SSimon J. Gerraty
13812904384SSimon J. Gerraty2021-09-13  Simon J Gerraty  <sjg@beast.crufty.net>
13912904384SSimon J. Gerraty
14012904384SSimon J. Gerraty	* options.mk (describe-options): print options and their values
14112904384SSimon J. Gerraty	  and optional description
14212904384SSimon J. Gerraty
14312904384SSimon J. Gerraty2021-09-11  Simon J Gerraty  <sjg@beast.crufty.net>
14412904384SSimon J. Gerraty
14512904384SSimon J. Gerraty	* install-mk (MK_VERSION): 20210911
14612904384SSimon J. Gerraty
14712904384SSimon J. Gerraty	* options.mk (show-options): print options and their values
14812904384SSimon J. Gerraty
14912904384SSimon J. Gerraty2021-09-08  Simon J Gerraty  <sjg@beast.crufty.net>
15012904384SSimon J. Gerraty
15112904384SSimon J. Gerraty	* install-mk (MK_VERSION): 20210909
15212904384SSimon J. Gerraty
15312904384SSimon J. Gerraty	* lib.mk: apply patch from <daniel@octaforge.org>
15412904384SSimon J. Gerraty	to fix shared libs on Linux
15512904384SSimon J. Gerraty
15612904384SSimon J. Gerraty2021-08-08  Simon J Gerraty  <sjg@beast.crufty.net>
15712904384SSimon J. Gerraty
15812904384SSimon J. Gerraty	* install-mk (MK_VERSION): 20210808
15912904384SSimon J. Gerraty
16012904384SSimon J. Gerraty	* options.mk: issue warning for WITH_*=no
16112904384SSimon J. Gerraty
162b0c40a00SSimon J. Gerraty2021-06-16  Simon J Gerraty  <sjg@beast.crufty.net>
163b0c40a00SSimon J. Gerraty
164b0c40a00SSimon J. Gerraty	* install-mk (MK_VERSION): 20210616
165b0c40a00SSimon J. Gerraty
166b0c40a00SSimon J. Gerraty	* dirdeps.mk: when using .MAKE.DEPENDFILE_PREFERENCE to find
167b0c40a00SSimon J. Gerraty	depend files to read, anchor MACHINE at , or end of string
168b0c40a00SSimon J. Gerraty	to avoid prefix match.
169b0c40a00SSimon J. Gerraty
170b0c40a00SSimon J. Gerraty2021-05-04  Simon J Gerraty  <sjg@beast.crufty.net>
171b0c40a00SSimon J. Gerraty
172b0c40a00SSimon J. Gerraty	* install-mk (MK_VERSION): 20210504
173b0c40a00SSimon J. Gerraty
174b0c40a00SSimon J. Gerraty	* dirdeps.mk: re-implement ALL_MACHINES support to better
175b0c40a00SSimon J. Gerraty	cater for local complexities, when ONLY_TARGET_SPEC_LIST
176b0c40a00SSimon J. Gerraty	is not set. local.dirdeps.mk can set
177b0c40a00SSimon J. Gerraty	DIRDEPS_ALL_MACHINES_FILTER and/or
178b0c40a00SSimon J. Gerraty	DIRDEPS_ALL_MACHINES_FILTER_XTRAS to filter the results we get
179b0c40a00SSimon J. Gerraty	from listing all existing Makefile.depend.*
180b0c40a00SSimon J. Gerraty
181b0c40a00SSimon J. Gerraty2021-04-20  Simon J Gerraty  <sjg@beast.crufty.net>
182b0c40a00SSimon J. Gerraty
183b0c40a00SSimon J. Gerraty	* install-mk (MK_VERSION): 20210420
184b0c40a00SSimon J. Gerraty
185b0c40a00SSimon J. Gerraty	* dirdeps.mk: revert previous - not always safe.
186b0c40a00SSimon J. Gerraty
187b0c40a00SSimon J. Gerraty2021-03-20  Simon J Gerraty  <sjg@beast.crufty.net>
188b0c40a00SSimon J. Gerraty
189b0c40a00SSimon J. Gerraty	* install-mk (MK_VERSION): 20210321
190b0c40a00SSimon J. Gerraty
191b0c40a00SSimon J. Gerraty	* dirdeps.mk: when generating dirdeps.cache
192b0c40a00SSimon J. Gerraty	we only need to hook the initial DIRDEPS to the
193b0c40a00SSimon J. Gerraty	dirdeps target.  That and any _build_xtra_dirs (like tests which
194b0c40a00SSimon J. Gerraty	should not be hooked directly to the dependency graph - to avoid
195b0c40a00SSimon J. Gerraty	cycles)
196b0c40a00SSimon J. Gerraty
197dba7b0efSSimon J. Gerraty2021-01-30  Simon J Gerraty  <sjg@beast.crufty.net>
198dba7b0efSSimon J. Gerraty
199dba7b0efSSimon J. Gerraty	* install-mk (MK_VERSION): 20210130
200dba7b0efSSimon J. Gerraty
201dba7b0efSSimon J. Gerraty	* dirdeps.mk: expr 2 - 1 - 1 exits with a bad status
202dba7b0efSSimon J. Gerraty	  we need to  guard against this in DIRDEP_LOADAVG_REPORT.
203dba7b0efSSimon J. Gerraty
204dba7b0efSSimon J. Gerraty	* dirdeps.mk: restore respect for TARGET_MACHINE
205dba7b0efSSimon J. Gerraty
20606b9b3e0SSimon J. Gerraty2021-01-06  Simon J Gerraty  <sjg@beast.crufty.net>
20706b9b3e0SSimon J. Gerraty
20806b9b3e0SSimon J. Gerraty	* install-mk (MK_VERSION): 20210101
20906b9b3e0SSimon J. Gerraty
21006b9b3e0SSimon J. Gerraty	* dirdeps.mk: first time we are read, just use TARGET_SPEC for
21106b9b3e0SSimon J. Gerraty	_DEP_TARGET_SPEC
21206b9b3e0SSimon J. Gerraty
21306b9b3e0SSimon J. Gerraty2020-12-22  Simon J Gerraty  <sjg@beast.crufty.net>
21406b9b3e0SSimon J. Gerraty
21506b9b3e0SSimon J. Gerraty	* sys.mk (MAKE_SHELL): use ${.SHELL:Ush}
21606b9b3e0SSimon J. Gerraty	and use := when setting SHELL
21706b9b3e0SSimon J. Gerraty
21806b9b3e0SSimon J. Gerraty2020-12-21  Simon J Gerraty  <sjg@beast.crufty.net>
21906b9b3e0SSimon J. Gerraty
22006b9b3e0SSimon J. Gerraty	* install-mk (MK_VERSION): 20201221
22106b9b3e0SSimon J. Gerraty
22206b9b3e0SSimon J. Gerraty	* dirdeps-options.mk: latest bmake allows only one arg to .undef
22306b9b3e0SSimon J. Gerraty
22406b9b3e0SSimon J. Gerraty2020-12-11  Simon J Gerraty  <sjg@beast.crufty.net>
22506b9b3e0SSimon J. Gerraty
22606b9b3e0SSimon J. Gerraty	* dirdeps-targets.mk: allow for "." in DIRDEPS_TARGETS_DIRS
22706b9b3e0SSimon J. Gerraty	so that any directory can be treated as a target.
22806b9b3e0SSimon J. Gerraty
22906b9b3e0SSimon J. Gerraty2020-11-26  Simon J Gerraty  <sjg@beast.crufty.net>
23006b9b3e0SSimon J. Gerraty
23106b9b3e0SSimon J. Gerraty	* install-mk (MK_VERSION): 20201126
23206b9b3e0SSimon J. Gerraty
23306b9b3e0SSimon J. Gerraty	* own.mk: use .MAKE.{UID,GID} if available.
23406b9b3e0SSimon J. Gerraty
23506b9b3e0SSimon J. Gerraty	* init.mk: suppress _SKIP_BUILD warning if doing -V
23606b9b3e0SSimon J. Gerraty
23706b9b3e0SSimon J. Gerraty2020-11-20  Simon J Gerraty  <sjg@beast.crufty.net>
23806b9b3e0SSimon J. Gerraty
23906b9b3e0SSimon J. Gerraty	* install-mk (MK_VERSION): 20201120
24006b9b3e0SSimon J. Gerraty
24106b9b3e0SSimon J. Gerraty	* init.mk: rename LEVEL0_TARGETS to DIRDEPS_BUILD_LEVEL0_TARGETS
24206b9b3e0SSimon J. Gerraty
24306b9b3e0SSimon J. Gerraty	* dirdeps-targets.mk: fix typo in comment
24406b9b3e0SSimon J. Gerraty
245e2eeea75SSimon J. Gerraty2020-11-06  Simon J Gerraty  <sjg@beast.crufty.net>
246e2eeea75SSimon J. Gerraty
247e2eeea75SSimon J. Gerraty	* install-mk (MK_VERSION): 20201106
248e2eeea75SSimon J. Gerraty
249e2eeea75SSimon J. Gerraty	* meta.autodep.mk: use OBJ_EXTENSIONS rather than hardcode sed
250e2eeea75SSimon J. Gerraty	args to tweak extensions for local deps.
251e2eeea75SSimon J. Gerraty
252956e45f6SSimon J. Gerraty2020-11-01  Simon J Gerraty  <sjg@beast.crufty.net>
253956e45f6SSimon J. Gerraty
254956e45f6SSimon J. Gerraty	* install-mk (MK_VERSION): 20201101
255956e45f6SSimon J. Gerraty
256956e45f6SSimon J. Gerraty	* dirdeps.mk: most leaf makefiles are not suitable for building
257956e45f6SSimon J. Gerraty	dirdeps.cache so if RELDIR is not "." use dirdeps.mk
258956e45f6SSimon J. Gerraty
259956e45f6SSimon J. Gerraty2020-10-28  Simon J Gerraty  <sjg@beast.crufty.net>
260956e45f6SSimon J. Gerraty
261956e45f6SSimon J. Gerraty	* install-mk (MK_VERSION): 20201028
262956e45f6SSimon J. Gerraty
263956e45f6SSimon J. Gerraty	* dirdeps.mk: if we don't have :range use equivalent of M_RANGE
264956e45f6SSimon J. Gerraty	when building dirdeps.cache for leaf directory use -f dirdeps.mk
265956e45f6SSimon J. Gerraty
266956e45f6SSimon J. Gerraty	* sys.vars.mk: add M_JOT and M_RANGE
267956e45f6SSimon J. Gerraty
268956e45f6SSimon J. Gerraty2020-10-01  Simon J Gerraty  <sjg@beast.crufty.net>
269956e45f6SSimon J. Gerraty
270956e45f6SSimon J. Gerraty	* install-mk (MK_VERSION): 20201001
271956e45f6SSimon J. Gerraty
272956e45f6SSimon J. Gerraty	* meta2deps.{py,sh}: throw an error if we don't see filemon version
273956e45f6SSimon J. Gerraty
274956e45f6SSimon J. Gerraty2020-09-09  Simon J Gerraty  <sjg@beast.crufty.net>
275956e45f6SSimon J. Gerraty
276956e45f6SSimon J. Gerraty	* install-mk (MK_VERSION): 20200909
277956e45f6SSimon J. Gerraty
278956e45f6SSimon J. Gerraty	* dirdeps-cache-update.mk: use cache_update_dirdep as guard target
279956e45f6SSimon J. Gerraty
2802c3632d1SSimon J. Gerraty2020-08-26  Simon J Gerraty  <sjg@beast.crufty.net>
2812c3632d1SSimon J. Gerraty
2822c3632d1SSimon J. Gerraty	* dirdeps.mk: ensure we cannot confuse a static cache for dynamic
2832c3632d1SSimon J. Gerraty	(even more rare that use of static cache is playing clever tricks
2842c3632d1SSimon J. Gerraty	with it)
2852c3632d1SSimon J. Gerraty
2862c3632d1SSimon J. Gerraty2020-08-16  Simon J Gerraty  <sjg@beast.crufty.net>
2872c3632d1SSimon J. Gerraty
2882c3632d1SSimon J. Gerraty	* dirdeps-cache-update.mk: allow
2892c3632d1SSimon J. Gerraty	MK_STATIC_DIRDEPS_CACHE_UPDATE_IMMEDIATE to control when we
2902c3632d1SSimon J. Gerraty	actually update STATIC_DIRDEPS_CACHE.
2912c3632d1SSimon J. Gerraty
2922c3632d1SSimon J. Gerraty	* stage-install.sh: create dest directory if needed
2932c3632d1SSimon J. Gerraty	before running install(1)
2942c3632d1SSimon J. Gerraty
2952c3632d1SSimon J. Gerraty2020-08-10  Simon J Gerraty  <sjg@beast.crufty.net>
2962c3632d1SSimon J. Gerraty
2972c3632d1SSimon J. Gerraty	* dirdeps-targets.mk: include Makefile.dirdeps.options
2982c3632d1SSimon J. Gerraty
2992c3632d1SSimon J. Gerraty	* dirdeps.mk: use _TARGETS if defined for DIRDEPS_CACHE
3002c3632d1SSimon J. Gerraty
3012c3632d1SSimon J. Gerraty2020-08-09  Simon J Gerraty  <sjg@beast.crufty.net>
3022c3632d1SSimon J. Gerraty
3032c3632d1SSimon J. Gerraty	* dirdeps.mk: default BUILD_DIRDEPS_MAKEFILE to empty
3042c3632d1SSimon J. Gerraty
3052c3632d1SSimon J. Gerraty	* dirdeps-cache-update.mk: building parallel cache update
3062c3632d1SSimon J. Gerraty	under the context of dirdeps-cached would be ideal, but
3072c3632d1SSimon J. Gerraty	is problematic, so it runs as a sibling.
3082c3632d1SSimon J. Gerraty	Use cache-built target to ensure we wait for it to complete if
3092c3632d1SSimon J. Gerraty	necessary.
3102c3632d1SSimon J. Gerraty
3112c3632d1SSimon J. Gerraty2020-08-06  Simon J Gerraty  <sjg@beast.crufty.net>
3122c3632d1SSimon J. Gerraty
3132c3632d1SSimon J. Gerraty	* install-mk (MK_VERSION): 20200806
3142c3632d1SSimon J. Gerraty
3152c3632d1SSimon J. Gerraty	* dirdeps-options: allow TARGET_SPEC to affect option values.
3162c3632d1SSimon J. Gerraty	Use DIRDEPS_OPTIONS_QUALIFIER_LIST before using bare MK_*
3172c3632d1SSimon J. Gerraty
3182c3632d1SSimon J. Gerraty	* dirdeps-targets.mk: check for MK_STATIC_DIRDEPS_CACHE defined
3192c3632d1SSimon J. Gerraty	before looking for STATIC_DIRDEPS_CACHE
3202c3632d1SSimon J. Gerraty
3212c3632d1SSimon J. Gerraty2020-08-05  Simon J Gerraty  <sjg@beast.crufty.net>
3222c3632d1SSimon J. Gerraty
3232c3632d1SSimon J. Gerraty	* host-target.mk: Darwin use MACHINE for HOST_ARCH too
3242c3632d1SSimon J. Gerraty
3252c3632d1SSimon J. Gerraty	* dirdeps-options.mk: improve debug output
3262c3632d1SSimon J. Gerraty
3272c3632d1SSimon J. Gerraty2020-07-22  Simon J Gerraty  <sjg@beast.crufty.net>
3282c3632d1SSimon J. Gerraty
3292c3632d1SSimon J. Gerraty	* dirdeps.mk: set and export DYNAMIC_DIRDEPS_CACHE
3302c3632d1SSimon J. Gerraty	for use by dirdeps-cache-update.mk
3312c3632d1SSimon J. Gerraty
3322c3632d1SSimon J. Gerraty	* dirdeps-targets.mk: set and export STATIC_DIRDEPS_CACHE
3332c3632d1SSimon J. Gerraty	for use by dirdeps-cache-update.mk even if we don't use it.
3342c3632d1SSimon J. Gerraty
3352c3632d1SSimon J. Gerraty	* dirdeps-cache-update.mk: we only need worry about the background
3362c3632d1SSimon J. Gerraty	update case, with the above, the update from DIRDEPS_CACHE is
3372c3632d1SSimon J. Gerraty	simple.
3382c3632d1SSimon J. Gerraty
3392c3632d1SSimon J. Gerraty	* meta2deps.py: R 1234 . is not interesting
3402c3632d1SSimon J. Gerraty
3412c3632d1SSimon J. Gerraty2020-07-20  Simon J Gerraty  <sjg@beast.crufty.net>
3422c3632d1SSimon J. Gerraty
3432c3632d1SSimon J. Gerraty	* sys.mk: default MK_STATIC_DIRDEPS_CACHE from MK_DIRDEPS_CACHE
3442c3632d1SSimon J. Gerraty
3452c3632d1SSimon J. Gerraty	* dirdeps-options.mk: do not :tu DIRDEPS_OPTIONS
3462c3632d1SSimon J. Gerraty	allows use of lower case for pseudo options.
3472c3632d1SSimon J. Gerraty
3482c3632d1SSimon J. Gerraty	* dirdeps-cache-update.mk: magic to deal with STATIC_DIRDEPS_CACHE
3492c3632d1SSimon J. Gerraty
3502c3632d1SSimon J. Gerraty2020-07-18  Simon J Gerraty  <sjg@beast.crufty.net>
3512c3632d1SSimon J. Gerraty
3522c3632d1SSimon J. Gerraty	* dirdeps-targets.mk: Look for Makefile.dirdeps.cache
3532c3632d1SSimon J. Gerraty	which allows us to have a static cache for expensive targets.
3542c3632d1SSimon J. Gerraty	Use -DWITHOUT_STATIC_DIRDEPS_CACHE -DWITH_DIRDEPS_CACHE
3552c3632d1SSimon J. Gerraty	to regenerate the dirdeps.cache it is a copy of.
3562c3632d1SSimon J. Gerraty
3572c3632d1SSimon J. Gerraty2020-07-17  Simon J Gerraty  <sjg@beast.crufty.net>
3582c3632d1SSimon J. Gerraty
3592c3632d1SSimon J. Gerraty	* Get rid of BUILD_AT_LEVEL0, MK_DIRDEPS_BUILD makes more sense.
3602c3632d1SSimon J. Gerraty
3612c3632d1SSimon J. Gerraty2020-07-16  Simon J Gerraty  <sjg@beast.crufty.net>
3622c3632d1SSimon J. Gerraty
3632c3632d1SSimon J. Gerraty	* dirdeps.mk (DIRDEP_LOADAVG_REPORT): make it easy to record
3642c3632d1SSimon J. Gerraty	load averages at intervals during build.
3652c3632d1SSimon J. Gerraty
3662c3632d1SSimon J. Gerraty2020-07-15  Simon J Gerraty  <sjg@beast.crufty.net>
3672c3632d1SSimon J. Gerraty
3682c3632d1SSimon J. Gerraty	* install-mk (MK_VERSION): 20200715
3692c3632d1SSimon J. Gerraty
3702c3632d1SSimon J. Gerraty	* dirdeps.mk: tweak Checking line to make matching Finished
3712c3632d1SSimon J. Gerraty	lines for post-build analysis easier.
3722c3632d1SSimon J. Gerraty
3732c3632d1SSimon J. Gerraty	* meta.autodep.mk: use !defined(WITHOUT_META_STATS)
3742c3632d1SSimon J. Gerraty
3752c3632d1SSimon J. Gerraty	* progs.mk: avoid prog.mk outputting multiple Finished lines
3762c3632d1SSimon J. Gerraty
3772c3632d1SSimon J. Gerraty2020-07-11  Simon J Gerraty  <sjg@beast.crufty.net>
3782c3632d1SSimon J. Gerraty
3792c3632d1SSimon J. Gerraty	* dirdeps.mk: further optimize dirdeps.cache
3802c3632d1SSimon J. Gerraty	generate a DIRDEPS.${.TARGET} list for other purposes
3812c3632d1SSimon J. Gerraty	and improve the layout.
3822c3632d1SSimon J. Gerraty
3833841c287SSimon J. Gerraty2020-07-10  Simon J Gerraty  <sjg@beast.crufty.net>
3843841c287SSimon J. Gerraty
3853841c287SSimon J. Gerraty	* dirdeps.mk: optimize content of dirdeps.cache
3863841c287SSimon J. Gerraty
3873841c287SSimon J. Gerraty2020-06-28  Simon J Gerraty  <sjg@beast.crufty.net>
3883841c287SSimon J. Gerraty
3893841c287SSimon J. Gerraty	* sys/*.mk: make it easier for local*sys.mk to customize by
3903841c287SSimon J. Gerraty	using ?=
3913841c287SSimon J. Gerraty
3923841c287SSimon J. Gerraty2020-06-22  Simon J Gerraty  <sjg@beast.crufty.net>
3933841c287SSimon J. Gerraty
3943841c287SSimon J. Gerraty	* gendirdeps.mk (LOCAL_DEPENDS_GUARD): if we don't build at level 0
3953841c287SSimon J. Gerraty	it is much safer to guard local depends with a simple check for
3963841c287SSimon J. Gerraty	.MAKE.LEVEL > 0
3973841c287SSimon J. Gerraty
3983841c287SSimon J. Gerraty2020-06-10  Simon J Gerraty  <sjg@beast.crufty.net>
3993841c287SSimon J. Gerraty
4003841c287SSimon J. Gerraty	* install-mk (MK_VERSION): 20200610
4013841c287SSimon J. Gerraty
4023841c287SSimon J. Gerraty	* mkopt.sh: this needs posix shell so #!/bin/sh should be ok
4033841c287SSimon J. Gerraty
404ef0b2538SSimon J. Gerraty2020-06-06  Simon J Gerraty  <sjg@beast.crufty.net>
405ef0b2538SSimon J. Gerraty
406ef0b2538SSimon J. Gerraty	* install-mk (MK_VERSION): 20200606
407ef0b2538SSimon J. Gerraty
408ef0b2538SSimon J. Gerraty	* dirdeps-targets.mk: allow for filtering of .TARGETS
409ef0b2538SSimon J. Gerraty
410ef0b2538SSimon J. Gerraty	* meta2deps.py: fix bug in processing 'L'ink and 'M'ove
411ef0b2538SSimon J. Gerraty	entries - and we don't care about 'W'rite entries.
412ef0b2538SSimon J. Gerraty	Also ignore absolute paths that do not exist.
413ef0b2538SSimon J. Gerraty
414ef0b2538SSimon J. Gerraty2020-05-25  Simon J Gerraty  <sjg@beast.crufty.net>
415ef0b2538SSimon J. Gerraty
416ef0b2538SSimon J. Gerraty	* install-mk (MK_VERSION): 20200525
417ef0b2538SSimon J. Gerraty
418ef0b2538SSimon J. Gerraty	* init.mk: expand and simplify handling of qualified vars
419ef0b2538SSimon J. Gerraty	like CPPFLAGS.${.TARGET:T}
420ef0b2538SSimon J. Gerraty
42149caa483SSimon J. Gerraty2020-05-15  Simon J Gerraty  <sjg@beast.crufty.net>
42249caa483SSimon J. Gerraty
42349caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20200515
42449caa483SSimon J. Gerraty
42549caa483SSimon J. Gerraty	* dirdeps.mk: set _debug_* earlier and allow passing -d*
42649caa483SSimon J. Gerraty	flags to submake when building DIRDEPS_CACHE
42749caa483SSimon J. Gerraty
42849caa483SSimon J. Gerraty2020-05-09  Simon J Gerraty  <sjg@beast.crufty.net>
42949caa483SSimon J. Gerraty
43049caa483SSimon J. Gerraty	* whats.mk: more easily extensible
43149caa483SSimon J. Gerraty
43249caa483SSimon J. Gerraty2020-05-02  Simon J Gerraty  <sjg@beast.crufty.net>
43349caa483SSimon J. Gerraty
43449caa483SSimon J. Gerraty	* whats.mk: greatly simplify by adding what.c to SRCS
43549caa483SSimon J. Gerraty
43649caa483SSimon J. Gerraty2020-05-01  Simon J Gerraty  <sjg@beast.crufty.net>
43749caa483SSimon J. Gerraty
43849caa483SSimon J. Gerraty	* whats.mk: for libs take care how we add to *OBJS
43949caa483SSimon J. Gerraty
44049caa483SSimon J. Gerraty	* lib.mk: : works better with whats.mk
44149caa483SSimon J. Gerraty
44249caa483SSimon J. Gerraty2020-04-25  Simon J Gerraty  <sjg@beast.crufty.net>
44349caa483SSimon J. Gerraty
44449caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20200420
44549caa483SSimon J. Gerraty
44649caa483SSimon J. Gerraty	* meta.stage.mk: it is not a STAGE_CONFLICT if some-target.dirdep
44749caa483SSimon J. Gerraty	contains the same ${RELDIR} and a prefix match for our ${TARGET_SPEC}
44849caa483SSimon J. Gerraty
44949caa483SSimon J. Gerraty2020-04-16  Simon J Gerraty  <sjg@beast.crufty.net>
45049caa483SSimon J. Gerraty
45149caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20200416
45249caa483SSimon J. Gerraty
45349caa483SSimon J. Gerraty	* sys/*.mk: set MAKE_SHELL rather than SHELL so as not to
45449caa483SSimon J. Gerraty	  interfere with user env.
45549caa483SSimon J. Gerraty
45649caa483SSimon J. Gerraty	* sys.mk: default MAKE_SHELL to sh and SHELL to MAKE_SHELL
45749caa483SSimon J. Gerraty
45849caa483SSimon J. Gerraty	* autodep.mk: use MAKE_SHELL.
45949caa483SSimon J. Gerraty
46049caa483SSimon J. Gerraty2019-11-21  Simon J Gerraty  <sjg@beast.crufty.net>
46149caa483SSimon J. Gerraty
46249caa483SSimon J. Gerraty	* gendirdeps.mk: clear .SUFFIXES to avoid a lot of
46349caa483SSimon J. Gerraty	  wasted effort, and unexport _meta_files when no longer needed as
46449caa483SSimon J. Gerraty	  it consumes space we need for command line.
46549caa483SSimon J. Gerraty
46649caa483SSimon J. Gerraty2019-11-11  Simon J Gerraty  <sjg@beast.crufty.net>
46749caa483SSimon J. Gerraty
46849caa483SSimon J. Gerraty	* dirdeps.mk _DIRDEP_USE: use DIRDEP_DIR and add
46949caa483SSimon J. Gerraty	  DIRDEP_USE_PRELUDE at start - facilitates job distribution
47049caa483SSimon J. Gerraty
47149caa483SSimon J. Gerraty2019-10-04  Simon J Gerraty  <sjg@beast.crufty.net>
47249caa483SSimon J. Gerraty
47349caa483SSimon J. Gerraty	* dirdeps-targets.mk: Use TARGET_SPEC_LAST_LIST
47449caa483SSimon J. Gerraty	defaults to ${${TARGET_SPEC_VARS:[-1]}_LIST} to match valid
47549caa483SSimon J. Gerraty	TARGET_SPEC qualified depend files.
47649caa483SSimon J. Gerraty
47749caa483SSimon J. Gerraty2019-10-02  Simon J Gerraty  <sjg@beast.crufty.net>
47849caa483SSimon J. Gerraty
47949caa483SSimon J. Gerraty	* dirdeps-targets.mk: encapsulate logic for finding top-level
48049caa483SSimon J. Gerraty	  targets to set initial DIRDEPS for DIRDEPS_BUILD
48149caa483SSimon J. Gerraty
48249caa483SSimon J. Gerraty2019-09-27  Simon J Gerraty  <sjg@beast.crufty.net>
48349caa483SSimon J. Gerraty
48449caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20190911
48549caa483SSimon J. Gerraty
48649caa483SSimon J. Gerraty	* compiler.mk: set COMPILER_TYPE
48749caa483SSimon J. Gerraty
48849caa483SSimon J. Gerraty2019-07-17  Simon J Gerraty  <sjg@beast.crufty.net>
48949caa483SSimon J. Gerraty
49049caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20190704
49149caa483SSimon J. Gerraty
49249caa483SSimon J. Gerraty	* sys/Darwin.mk: support for Objective-C and clang
49349caa483SSimon J. Gerraty
49449caa483SSimon J. Gerraty2019-05-30  Simon J Gerraty  <sjg@beast.crufty.net>
49549caa483SSimon J. Gerraty
49649caa483SSimon J. Gerraty	* dirdeps.mk: avoid insanely long command line when generating cache
49749caa483SSimon J. Gerraty
49849caa483SSimon J. Gerraty2019-05-23  Simon J Gerraty  <sjg@beast.crufty.net>
49949caa483SSimon J. Gerraty
50049caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20190505
50149caa483SSimon J. Gerraty
50249caa483SSimon J. Gerraty	* whats.mk: handle corner case SHLIB defined but not LIB
50349caa483SSimon J. Gerraty
5042eae894cSSimon J. Gerraty2018-09-19  Simon J Gerraty  <sjg@beast.crufty.net>
5052eae894cSSimon J. Gerraty
5062eae894cSSimon J. Gerraty	* install-mk (MK_VERSION): 20180919
5072eae894cSSimon J. Gerraty
5082eae894cSSimon J. Gerraty	* dirdeps-options.mk: .undef cannot handle var that expands to
5092eae894cSSimon J. Gerraty	  more than one var.
5102eae894cSSimon J. Gerraty
5112eae894cSSimon J. Gerraty2018-07-08  Simon J Gerraty  <sjg@beast.crufty.net>
5122eae894cSSimon J. Gerraty
5132eae894cSSimon J. Gerraty	* meta.stage.mk: allow wildcards in STAGE_FILES.* etc.
5142eae894cSSimon J. Gerraty
5152eae894cSSimon J. Gerraty2018-06-01  Simon J Gerraty  <sjg@beast.crufty.net>
5162eae894cSSimon J. Gerraty
5172eae894cSSimon J. Gerraty	* meta.autodep.mk: export META_FILES to avoid command line limit
5182eae894cSSimon J. Gerraty	* gendirdeps.mk: if we have lots of .meta files put them in
5192eae894cSSimon J. Gerraty	  an @list
5202eae894cSSimon J. Gerraty
5212eae894cSSimon J. Gerraty2018-05-28  Simon J Gerraty  <sjg@beast.crufty.net>
5222eae894cSSimon J. Gerraty
5232eae894cSSimon J. Gerraty	* dirdeps-options.mk: use local.dirdeps-options.mk
5242eae894cSSimon J. Gerraty	  not local.dirdeps-option.mk
5252eae894cSSimon J. Gerraty
526494f7191SSimon J. Gerraty2018-04-20  Simon J Gerraty  <sjg@beast.crufty.net>
527494f7191SSimon J. Gerraty
528494f7191SSimon J. Gerraty	* install-mk (MK_VERSION): 20180420
529494f7191SSimon J. Gerraty	* dirdeps.mk: include local.dirdeps-build.mk when .MAKE.LEVEL > 0
530494f7191SSimon J. Gerraty	  ie. we are building something.
531494f7191SSimon J. Gerraty
532494f7191SSimon J. Gerraty2018-04-14  Simon J Gerraty  <sjg@beast.crufty.net>
533494f7191SSimon J. Gerraty
534494f7191SSimon J. Gerraty	* FILES: add dirdeps-options.mk to deal with optional DIRDEPS.
535494f7191SSimon J. Gerraty
536494f7191SSimon J. Gerraty2018-04-05  Simon J Gerraty  <sjg@beast.crufty.net>
537494f7191SSimon J. Gerraty
538494f7191SSimon J. Gerraty	* install-mk (MK_VERSION): 20180405
539494f7191SSimon J. Gerraty
540494f7191SSimon J. Gerraty	* ldorder.mk: describe how to use LDORDER_EXTERN_BARRIER
541494f7191SSimon J. Gerraty	  if needed.
542494f7191SSimon J. Gerraty
54350d2e745SSimon J. Gerraty2018-01-18  Simon J Gerraty  <sjg@beast.crufty.net>
54450d2e745SSimon J. Gerraty
54550d2e745SSimon J. Gerraty	* install-mk (MK_VERSION): 20180118
54650d2e745SSimon J. Gerraty
54750d2e745SSimon J. Gerraty	* ldorder.mk: let make compute correct link order
54850d2e745SSimon J. Gerraty
54950d2e745SSimon J. Gerraty2017-12-12  Simon J Gerraty  <sjg@beast.crufty.net>
55050d2e745SSimon J. Gerraty
55150d2e745SSimon J. Gerraty	* install-mk (MK_VERSION): 20171212
55250d2e745SSimon J. Gerraty
55350d2e745SSimon J. Gerraty	* gendirdeps.mk: guard against bogus entries in GENDIRDEPS_FILTER
55450d2e745SSimon J. Gerraty
55550d2e745SSimon J. Gerraty2017-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
55650d2e745SSimon J. Gerraty
55750d2e745SSimon J. Gerraty	* install-mk (MK_VERSION): 20171111
55850d2e745SSimon J. Gerraty
55950d2e745SSimon J. Gerraty	* lib.mk: ensure META_NOECHO is set
56050d2e745SSimon J. Gerraty
561e22fef7dSSimon J. Gerraty2017-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
562e22fef7dSSimon J. Gerraty
563e22fef7dSSimon J. Gerraty	* Allow for host32 on rare occasions.
564e22fef7dSSimon J. Gerraty
565e22fef7dSSimon J. Gerraty2017-10-18  Simon J. Gerraty  <sjg@bad.crufty.net>
566e22fef7dSSimon J. Gerraty
567e22fef7dSSimon J. Gerraty	* install-mk (MK_VERSION): 20171018
568e22fef7dSSimon J. Gerraty
569e22fef7dSSimon J. Gerraty	* whats.mk: include what_thing in what_uuid to avoid problem
570e22fef7dSSimon J. Gerraty	  when building multiple apps in the same directory.
571e22fef7dSSimon J. Gerraty
572e22fef7dSSimon J. Gerraty2017-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
573e22fef7dSSimon J. Gerraty
574e22fef7dSSimon J. Gerraty	* install-mk (MK_VERSION): 20170812
575e22fef7dSSimon J. Gerraty
576e22fef7dSSimon J. Gerraty	* autoconf.mk: Use CONFIGURE_DEPS so Makefile can
577e22fef7dSSimon J. Gerraty	  add dependencies for config.recheck and config.gen
578e22fef7dSSimon J. Gerraty
5798695518cSSimon J. Gerraty2017-06-30  Simon J. Gerraty  <sjg@bad.crufty.net>
5808695518cSSimon J. Gerraty
5818695518cSSimon J. Gerraty	* install-mk (MK_VERSION): 20170630
5828695518cSSimon J. Gerraty
5838695518cSSimon J. Gerraty	* meta.stage.mk: avoid triggering stage_* targets with nothing to do.
5848695518cSSimon J. Gerraty
5858695518cSSimon J. Gerraty2017-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
5868695518cSSimon J. Gerraty
5878695518cSSimon J. Gerraty	* meta2deps.py: take special care of '..'
5888695518cSSimon J. Gerraty
5898695518cSSimon J. Gerraty2017-05-15  Simon J. Gerraty  <sjg@bad.crufty.net>
5908695518cSSimon J. Gerraty
5918695518cSSimon J. Gerraty	* install-mk (MK_VERSION): 20170515
5928695518cSSimon J. Gerraty
5938695518cSSimon J. Gerraty	* dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is
5948695518cSSimon J. Gerraty	useful/necessary for a Makefile.depend file to export some knobs.
5958695518cSSimon J. Gerraty	This is complicated when we are doing DIRDEPS_CACHE, so we will
5968695518cSSimon J. Gerraty	handle export of any variables listed in DEP_EXPORT_VARS.
5978695518cSSimon J. Gerraty
598cac6fd11SSimon J. Gerraty2017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>
599cac6fd11SSimon J. Gerraty
600cac6fd11SSimon J. Gerraty	* install-mk (MK_VERSION): 20170505
601cac6fd11SSimon J. Gerraty
602cac6fd11SSimon J. Gerraty	* meta2deps.py: fix botched indenation.
603cac6fd11SSimon J. Gerraty
604cac6fd11SSimon J. Gerraty2017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
605cac6fd11SSimon J. Gerraty
606cac6fd11SSimon J. Gerraty	* sys/*.mk: Remove setting of MAKE it is unnecessary and
607cac6fd11SSimon J. Gerraty	  in many cases wrong (basname rather than full path)
608cac6fd11SSimon J. Gerraty
609cac6fd11SSimon J. Gerraty	* scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk
610cac6fd11SSimon J. Gerraty
611cac6fd11SSimon J. Gerraty	* init.mk: define realbuild to simplify logic in {lib,prog}.mk etc
612cac6fd11SSimon J. Gerraty
613cac6fd11SSimon J. Gerraty2017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
614cac6fd11SSimon J. Gerraty
615cac6fd11SSimon J. Gerraty	* install-mk (MK_VERSION): 20170501
616cac6fd11SSimon J. Gerraty
617cac6fd11SSimon J. Gerraty	* doc.mk: fix typo in DOC_INSTALL_OWN
618cac6fd11SSimon J. Gerraty
619cac6fd11SSimon J. Gerraty	* inc.mk: handle INCGROUPS similar to freebsd
620cac6fd11SSimon J. Gerraty
621cac6fd11SSimon J. Gerraty	* files.mk: add something for files too
622cac6fd11SSimon J. Gerraty
623cac6fd11SSimon J. Gerraty	* add staging logic to lib.mk prog.mk etc.
624cac6fd11SSimon J. Gerraty
625cac6fd11SSimon J. Gerraty2017-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
626cac6fd11SSimon J. Gerraty
627cac6fd11SSimon J. Gerraty	* install-mk (MK_VERSION): 20170424
628cac6fd11SSimon J. Gerraty
629cac6fd11SSimon J. Gerraty	* dirdeps.mk: set NO_DIRDEPS when bootstrapping.
630cac6fd11SSimon J. Gerraty	  also target of bootstrap-this when sed is needed should be ${_want:T}
631cac6fd11SSimon J. Gerraty
632e1cee40dSSimon J. Gerraty2017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
633e1cee40dSSimon J. Gerraty
634e1cee40dSSimon J. Gerraty	* install-mk (MK_VERSION): 20170418
635e1cee40dSSimon J. Gerraty
636e1cee40dSSimon J. Gerraty	* auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a
637e1cee40dSSimon J. Gerraty	  prefix match for .CURDIR - in which case .CURDIR *is* __objdir.
638e1cee40dSSimon J. Gerraty
639b46b9039SSimon J. Gerraty2017-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
640b46b9039SSimon J. Gerraty
641b46b9039SSimon J. Gerraty	* install-mk (MK_VERSION): 20170401
642b46b9039SSimon J. Gerraty
643b46b9039SSimon J. Gerraty	* meta2deps.py: add is_src so we can check if obj dependency
644b46b9039SSimon J. Gerraty	  is also a src dependency.
645b46b9039SSimon J. Gerraty
646b46b9039SSimon J. Gerraty2017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
647b46b9039SSimon J. Gerraty
648b46b9039SSimon J. Gerraty	* install-mk (MK_VERSION): 20170326
649b46b9039SSimon J. Gerraty
650b46b9039SSimon J. Gerraty	* meta.stage.mk: do nothing if NO_STAGING is defined.
651b46b9039SSimon J. Gerraty
652b46b9039SSimon J. Gerraty2017-03-24  Simon J. Gerraty  <sjg@bad.crufty.net>
653b46b9039SSimon J. Gerraty
654b46b9039SSimon J. Gerraty	* auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc.
655b46b9039SSimon J. Gerraty
656b46b9039SSimon J. Gerraty2017-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
657b46b9039SSimon J. Gerraty
658b46b9039SSimon J. Gerraty	* mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_*
659b46b9039SSimon J. Gerraty
6601ce939a7SSimon J. Gerraty2017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
6611ce939a7SSimon J. Gerraty
6621ce939a7SSimon J. Gerraty	* install-mk (MK_VERSION): 20170301
6631ce939a7SSimon J. Gerraty
6641ce939a7SSimon J. Gerraty	* dirdeps.mk (_build_all_dirs): update this outside test for empty
6651ce939a7SSimon J. Gerraty	  DIRDEPS.
6661ce939a7SSimon J. Gerraty
6671ce939a7SSimon J. Gerraty	* meta.stage.mk: allow multiple inclusion to the extent it makes
6681ce939a7SSimon J. Gerraty	  sense.
6691ce939a7SSimon J. Gerraty
6701ce939a7SSimon J. Gerraty2017-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
6711ce939a7SSimon J. Gerraty
6721ce939a7SSimon J. Gerraty	* prog.mk (install_links): depends on realinstall
6731ce939a7SSimon J. Gerraty
6741ce939a7SSimon J. Gerraty2017-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>
6751ce939a7SSimon J. Gerraty
6761ce939a7SSimon J. Gerraty	* install-mk (MK_VERSION): 20170212
6771ce939a7SSimon J. Gerraty
6781ce939a7SSimon J. Gerraty	* dpadd.mk: avoid applying :T:R twice to DPLIBS entries
6791ce939a7SSimon J. Gerraty
6801ce939a7SSimon J. Gerraty2017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>
6811ce939a7SSimon J. Gerraty
6821ce939a7SSimon J. Gerraty	* install-mk (MK_VERSION): 20170130
6831ce939a7SSimon J. Gerraty
6841ce939a7SSimon J. Gerraty	* dirdeps.mk: use :range if we can.
6851ce939a7SSimon J. Gerraty
6861ce939a7SSimon J. Gerraty	* sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130
6871ce939a7SSimon J. Gerraty
6881ce939a7SSimon J. Gerraty	* meta2deps.py: clean paths without using realpath() where possible.
6891ce939a7SSimon J. Gerraty	  fix sort_unique.
6901ce939a7SSimon J. Gerraty
69145447996SSimon J. Gerraty2016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
69245447996SSimon J. Gerraty
69345447996SSimon J. Gerraty	* install-mk (MK_VERSION): 20161212
69445447996SSimon J. Gerraty
69545447996SSimon J. Gerraty	* meta2deps.py: set pid_cwd[pid] when we process 'C'hdir,
69645447996SSimon J. Gerraty	rather than when we detect pid change.
69745447996SSimon J. Gerraty
69845447996SSimon J. Gerraty2016-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>
69945447996SSimon J. Gerraty
70045447996SSimon J. Gerraty	* install-mk (MK_VERSION): 20161207
70145447996SSimon J. Gerraty
70245447996SSimon J. Gerraty	* meta.stage.mk: add stage_as_and_symlink for staging packages.
70345447996SSimon J. Gerraty	  We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able
70445447996SSimon J. Gerraty	  to use foo.tgz to reference the latest staged version - so we
70545447996SSimon J. Gerraty	  make foo.tgz a symlink to it.
70645447996SSimon J. Gerraty	  Using a target to do both operations ensures we stay in sync.
70745447996SSimon J. Gerraty
70845447996SSimon J. Gerraty2016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
70945447996SSimon J. Gerraty
71045447996SSimon J. Gerraty	* install-mk (MK_VERSION): 20161126
71145447996SSimon J. Gerraty
71245447996SSimon J. Gerraty	* dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk
71345447996SSimon J. Gerraty	  so it can add dependencies.
71445447996SSimon J. Gerraty
71545447996SSimon J. Gerraty2016-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
71645447996SSimon J. Gerraty
71745447996SSimon J. Gerraty	* dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE
71845447996SSimon J. Gerraty	  do that they can influence the result correctly.
71945447996SSimon J. Gerraty
72045447996SSimon J. Gerraty	* dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC
72145447996SSimon J. Gerraty
72245447996SSimon J. Gerraty	* dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST
72345447996SSimon J. Gerraty	  similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST
72445447996SSimon J. Gerraty
72545447996SSimon J. Gerraty2016-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>
72645447996SSimon J. Gerraty
72745447996SSimon J. Gerraty	* dirdeps.mk: remove dependence on jot (normal situations anyway).
72845447996SSimon J. Gerraty	  Before we read another Makefile.depend* set DEP_* vars from
72945447996SSimon J. Gerraty	  _DEP_TARGET_SPEC in case it uses any of them with :=
73045447996SSimon J. Gerraty	  When bootstrapping, trim any ,* from extention of chosen _src
73145447996SSimon J. Gerraty	  Makefile.depend* to get the machine value we subst for.
73245447996SSimon J. Gerraty
73345447996SSimon J. Gerraty2016-09-30  Simon J. Gerraty  <sjg@bad.crufty.net>
73445447996SSimon J. Gerraty
73545447996SSimon J. Gerraty	* dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to
73645447996SSimon J. Gerraty	  DEP_SKIP_DIR and DEP_DIRDEPS_FILTER
73745447996SSimon J. Gerraty
73845447996SSimon J. Gerraty	* sys.mk: extract some bits to sys.{debug,vars}.mk
73945447996SSimon J. Gerraty	  for easier re-use by others.
74045447996SSimon J. Gerraty
74145447996SSimon J. Gerraty2016-09-23  Simon Gerraty  <sjg@sjg-mba13>
74245447996SSimon J. Gerraty
74345447996SSimon J. Gerraty	* lib.mk: Use ${PICO} for extension for PIC objects.
74445447996SSimon J. Gerraty	  default to .pico (like NetBSD) safe on case insensitive filesystem.
74545447996SSimon J. Gerraty
74645447996SSimon J. Gerraty2016-08-19  Simon J. Gerraty  <sjg@bad.crufty.net>
74745447996SSimon J. Gerraty
74845447996SSimon J. Gerraty	* meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default
74945447996SSimon J. Gerraty
75095e3ed2cSSimon J. Gerraty2016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
75195e3ed2cSSimon J. Gerraty
75295e3ed2cSSimon J. Gerraty	* install-mk (MK_VERSION): 20160815
75395e3ed2cSSimon J. Gerraty
75495e3ed2cSSimon J. Gerraty	* dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only
75595e3ed2cSSimon J. Gerraty	consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date.
75695e3ed2cSSimon J. Gerraty
75795e3ed2cSSimon J. Gerraty2016-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>
75895e3ed2cSSimon J. Gerraty
75995e3ed2cSSimon J. Gerraty	* meta.sys.mk (.MAKE.META.IGNORE_PATHS):
76095e3ed2cSSimon J. Gerraty	  in meta mode we can ignore the mtime of makefiles
76195e3ed2cSSimon J. Gerraty
76295e3ed2cSSimon J. Gerraty2016-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
76395e3ed2cSSimon J. Gerraty
76495e3ed2cSSimon J. Gerraty	* install-mk (MK_VERSION): 20160802
76595e3ed2cSSimon J. Gerraty
76695e3ed2cSSimon J. Gerraty	* lib.mk (libinstall): depends on beforinstall
76795e3ed2cSSimon J. Gerraty
76895e3ed2cSSimon J. Gerraty	* prog.mk (proginstall): depends on beforinstall
76995e3ed2cSSimon J. Gerraty	  patch from Lauri Tirkkonen
77095e3ed2cSSimon J. Gerraty
77195e3ed2cSSimon J. Gerraty	* dirdeps.mk (bootstrap): When bootstrapping; creat
77295e3ed2cSSimon J. Gerraty	.MAKE.DEPENDFILE_DEFAULT and allow additional filtering via
77395e3ed2cSSimon J. Gerraty	.MAKE.DEPENDFILE_BOOTSTRAP_SED
77495e3ed2cSSimon J. Gerraty
77595e3ed2cSSimon J. Gerraty	* dirdeps.mk: move some comments to where they make sense.
77695e3ed2cSSimon J. Gerraty
77795e3ed2cSSimon J. Gerraty2016-07-27  Simon J. Gerraty  <sjg@bad.crufty.net>
77895e3ed2cSSimon J. Gerraty
77995e3ed2cSSimon J. Gerraty	* dirdeps.mk (DIRDEPS_CACHE): no dirname.
78095e3ed2cSSimon J. Gerraty
781b778b302SSimon J. Gerraty2016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
782b778b302SSimon J. Gerraty
783b778b302SSimon J. Gerraty	* install-mk (MK_VERSION): 20160602
784b778b302SSimon J. Gerraty	* meta.autodep.mk: when passing META_FILES to gendirdeps.mk
785b778b302SSimon J. Gerraty	  do not apply :T to META_XTRAS
786b778b302SSimon J. Gerraty	  patch from Bryan Drewery at FreeBSD.org.
787b778b302SSimon J. Gerraty
788b778b302SSimon J. Gerraty2016-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
789b778b302SSimon J. Gerraty
790b778b302SSimon J. Gerraty	* install-mk (MK_VERSION): 20160530
791b778b302SSimon J. Gerraty	* meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH
792b778b302SSimon J. Gerraty	  make it so.
793b778b302SSimon J. Gerraty
794e48f47ddSSimon J. Gerraty2016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
795e48f47ddSSimon J. Gerraty
796e48f47ddSSimon J. Gerraty	* install-mk (MK_VERSION): 20160512
797e48f47ddSSimon J. Gerraty
798e48f47ddSSimon J. Gerraty	* dpadd.mk: always include local.dpadd.mk if it exists
799e48f47ddSSimon J. Gerraty	  remove some things that better belong in local.dpadd.mk
800e48f47ddSSimon J. Gerraty	  skip INCLUDES_* for staged libs unless SRC_* defined.
801e48f47ddSSimon J. Gerraty
802e48f47ddSSimon J. Gerraty	* own.mk: add INCLUDEDIR
803e48f47ddSSimon J. Gerraty
804e48f47ddSSimon J. Gerraty2016-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
805e48f47ddSSimon J. Gerraty
806e48f47ddSSimon J. Gerraty	* dirdeps.mk: when doing -f dirdeps.mk if target suppies no
807e48f47ddSSimon J. Gerraty	  TARGET_MACHINE - :E will be empty or match part of path, use
808e48f47ddSSimon J. Gerraty	  ${MACHINE}
809e48f47ddSSimon J. Gerraty
810e48f47ddSSimon J. Gerraty2016-04-07  Simon J. Gerraty  <sjg@bad.crufty.net>
811e48f47ddSSimon J. Gerraty
812e48f47ddSSimon J. Gerraty	* meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
813e48f47ddSSimon J. Gerraty	  NO_FILEMON_COOKIE
814e48f47ddSSimon J. Gerraty
815e48f47ddSSimon J. Gerraty	* dirdeps.mk: move the logic that allows for
816e48f47ddSSimon J. Gerraty	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
817e48f47ddSSimon J. Gerraty	  inside the check for !target(_DIRDEP_USE)
818e48f47ddSSimon J. Gerraty
819e48f47ddSSimon J. Gerraty2016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
820e48f47ddSSimon J. Gerraty
821e48f47ddSSimon J. Gerraty	* Use <> when including local*.mk and others which may exist
822e48f47ddSSimon J. Gerraty	  elsewhere so that user can better control what they get.
823e48f47ddSSimon J. Gerraty
824e48f47ddSSimon J. Gerraty	* meta.autodep.mk (NO_FILEMON_COOKIE):
825e48f47ddSSimon J. Gerraty	  create a cookie if we ever build dir with nofilemon
826e48f47ddSSimon J. Gerraty	  so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
827e48f47ddSSimon J. Gerraty
828e48f47ddSSimon J. Gerraty2016-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
829e48f47ddSSimon J. Gerraty
830e48f47ddSSimon J. Gerraty	* install-mk (MK_VERSION): 20160401
831e48f47ddSSimon J. Gerraty
832e48f47ddSSimon J. Gerraty	* meta2deps.py: fix old print statement when debugging.
833e48f47ddSSimon J. Gerraty
834e48f47ddSSimon J. Gerraty	* gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
835e48f47ddSSimon J. Gerraty	  patch from Bryan Drewery
836e48f47ddSSimon J. Gerraty
837e48f47ddSSimon J. Gerraty2016-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
838e48f47ddSSimon J. Gerraty
839e48f47ddSSimon J. Gerraty	* install-mk (MK_VERSION): 20160317 (St. Pats)
840e48f47ddSSimon J. Gerraty
841e48f47ddSSimon J. Gerraty	* warnings.mk: g++ does not like -Wimplicit
842e48f47ddSSimon J. Gerraty
843e48f47ddSSimon J. Gerraty	* sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
844e48f47ddSSimon J. Gerraty	  pelthora of common suffixes for C++
845e48f47ddSSimon J. Gerraty
846e48f47ddSSimon J. Gerraty	* lib.mk: use .So for shared objects
847e48f47ddSSimon J. Gerraty
8483bebe729SSimon J. Gerraty2016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
8493bebe729SSimon J. Gerraty
8503bebe729SSimon J. Gerraty	* install-mk (MK_VERSION): 20160315
8513bebe729SSimon J. Gerraty
8523bebe729SSimon J. Gerraty	* meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
8533bebe729SSimon J. Gerraty	  normally only applies to scripts.
8543bebe729SSimon J. Gerraty
8553bebe729SSimon J. Gerraty	* dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
8563bebe729SSimon J. Gerraty	  well as outside it.
8573bebe729SSimon J. Gerraty
8583bebe729SSimon J. Gerraty2016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
8593bebe729SSimon J. Gerraty
8603bebe729SSimon J. Gerraty	* install-mk (MK_VERSION): 20160310
8613bebe729SSimon J. Gerraty
8623bebe729SSimon J. Gerraty	* dirdeps.mk: use targets rather than a list to track DIRDEPS that
8633bebe729SSimon J. Gerraty	  we have processed; the list gets very inefficient as number of
8643bebe729SSimon J. Gerraty	  DIRDEPS gets large.
8653bebe729SSimon J. Gerraty
8663bebe729SSimon J. Gerraty	* sys.dependfile.mk: fix comment wrt MACHINE
8673bebe729SSimon J. Gerraty
8683bebe729SSimon J. Gerraty	* meta.autodep.mk: ignore staged DPADDs when bootstrapping.
8693bebe729SSimon J. Gerraty	  patch from Bryan Drewery
8703bebe729SSimon J. Gerraty
871be19d90bSSimon J. Gerraty2016-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
872be19d90bSSimon J. Gerraty
873be19d90bSSimon J. Gerraty	* meta2deps.sh: don't ignore subdirs.
874be19d90bSSimon J. Gerraty	  patch from Bryan Drewery
875be19d90bSSimon J. Gerraty
876be19d90bSSimon J. Gerraty2016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
877be19d90bSSimon J. Gerraty
878be19d90bSSimon J. Gerraty	* install-mk (MK_VERSION): 20160226
879be19d90bSSimon J. Gerraty
880be19d90bSSimon J. Gerraty	* gendirdeps.mk: mark _DEPENDFILE .NOMETA
881be19d90bSSimon J. Gerraty
882be19d90bSSimon J. Gerraty2016-02-20  Simon J. Gerraty  <sjg@bad.crufty.net>
883be19d90bSSimon J. Gerraty
884be19d90bSSimon J. Gerraty	* dirdeps.mk: we shouldn't normally include .depend but if we do
885be19d90bSSimon J. Gerraty	  use .dinclude if we can.
886be19d90bSSimon J. Gerraty
887be19d90bSSimon J. Gerraty2016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
888be19d90bSSimon J. Gerraty
889be19d90bSSimon J. Gerraty	* install-mk (MK_VERSION): 20160218
890be19d90bSSimon J. Gerraty	* sys.clean-env.mk: with recent change to Var_Subst()
891be19d90bSSimon J. Gerraty	  we cannot use the '$$' trick, but .export-literal does the job
892be19d90bSSimon J. Gerraty	  we need.
893be19d90bSSimon J. Gerraty	* auto.dep.mk: make use .dinclude if we can.
894be19d90bSSimon J. Gerraty
895be19d90bSSimon J. Gerraty
896be19d90bSSimon J. Gerraty2016-02-05  Simon J. Gerraty  <sjg@bad.crufty.net>
897be19d90bSSimon J. Gerraty
898be19d90bSSimon J. Gerraty	* dirdeps.mk:
899be19d90bSSimon J. Gerraty	  Add _build_all_dirs such that local.dirdeps.mk can
900be19d90bSSimon J. Gerraty	  add fully qualified dirs to it.
901be19d90bSSimon J. Gerraty	  These will be built normally but the current
902be19d90bSSimon J. Gerraty	  DEP_RELDIR will not depend on then (to avoid cycles).
903be19d90bSSimon J. Gerraty	  This makes it easy to hook things like unit-tests into build.
904be19d90bSSimon J. Gerraty
905be19d90bSSimon J. Gerraty
906be19d90bSSimon J. Gerraty2016-01-21  Simon J. Gerraty  <sjg@bad.crufty.net>
907be19d90bSSimon J. Gerraty
908be19d90bSSimon J. Gerraty	* dirdeps.mk: add bootstrap-empty
909be19d90bSSimon J. Gerraty
9106e050540SSimon J. Gerraty2015-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
9116e050540SSimon J. Gerraty
9126e050540SSimon J. Gerraty	* install-mk (MK_VERSION): 20151212
9136e050540SSimon J. Gerraty	* auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
9146e050540SSimon J. Gerraty	  only apply :tA to __objdir when comparing to .OBJDIR
9156e050540SSimon J. Gerraty
916ac3446e9SSimon J. Gerraty2015-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
917ac3446e9SSimon J. Gerraty
918ac3446e9SSimon J. Gerraty	* install-mk (MK_VERSION): 20151111
919ac3446e9SSimon J. Gerraty
920ac3446e9SSimon J. Gerraty	* meta.sys.mk: include sys.dependfile.mk
921ac3446e9SSimon J. Gerraty
922ac3446e9SSimon J. Gerraty	* sys.mk (OPTIONS_DEFAULT_NO): use options.mk
923ac3446e9SSimon J. Gerraty	  to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
924ac3446e9SSimon J. Gerraty	  include local.sys.env.mk early
925ac3446e9SSimon J. Gerraty	  include local.sys.mk later
926ac3446e9SSimon J. Gerraty
927ac3446e9SSimon J. Gerraty	* own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
928ac3446e9SSimon J. Gerraty
929ac3446e9SSimon J. Gerraty2015-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
930ac3446e9SSimon J. Gerraty
931ac3446e9SSimon J. Gerraty	* meta.sys.mk (META_COOKIE_TOUCH):
932ac3446e9SSimon J. Gerraty	  add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
933ac3446e9SSimon J. Gerraty
934ac3446e9SSimon J. Gerraty	* meta.stage.mk: stage_libs should ignore SYMLINKS.
935ac3446e9SSimon J. Gerraty
936ac3446e9SSimon J. Gerraty2015-10-23  Simon J. Gerraty  <sjg@bad.crufty.net>
937ac3446e9SSimon J. Gerraty
938ac3446e9SSimon J. Gerraty	* install-mk (MK_VERSION): 20151022
939ac3446e9SSimon J. Gerraty
940ac3446e9SSimon J. Gerraty	* sys.mk: BSD/OS does not have 'type' as a shell builtin.
941ac3446e9SSimon J. Gerraty
9424c620fe5SSimon J. Gerraty2015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
9434c620fe5SSimon J. Gerraty
9444c620fe5SSimon J. Gerraty	* install-mk (MK_VERSION): 20151020
9454c620fe5SSimon J. Gerraty
9464c620fe5SSimon J. Gerraty	* dirdeps.mk: Add logic for
9474c620fe5SSimon J. Gerraty	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
9484c620fe5SSimon J. Gerraty
9494c620fe5SSimon J. Gerraty2015-10-14  Simon J. Gerraty  <sjg@bad.crufty.net>
9504c620fe5SSimon J. Gerraty
9514c620fe5SSimon J. Gerraty	* install-mk (MK_VERSION): 20151010
9524c620fe5SSimon J. Gerraty
9534c620fe5SSimon J. Gerraty2015-10-02  Simon J. Gerraty  <sjg@bad.crufty.net>
9544c620fe5SSimon J. Gerraty
9554c620fe5SSimon J. Gerraty	* meta.stage.mk: use staging: ${STAGE_TARGETS:...
9564c620fe5SSimon J. Gerraty	  to have stage_lins run last in non-jobs mode.
9574c620fe5SSimon J. Gerraty	  Use .ORDER only for jobs mode.
9584c620fe5SSimon J. Gerraty
9594c620fe5SSimon J. Gerraty2015-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
9604c620fe5SSimon J. Gerraty
9614c620fe5SSimon J. Gerraty	* rst2htm.mk: allow for per target flags etc.
9624c620fe5SSimon J. Gerraty
9634c620fe5SSimon J. Gerraty2015-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
9644c620fe5SSimon J. Gerraty
9654c620fe5SSimon J. Gerraty	* install-mk (MK_VERSION): 20150901
9664c620fe5SSimon J. Gerraty
9674c620fe5SSimon J. Gerraty	* doc.mk: create dir if needed use DOC_INSTALL_OWN
9684c620fe5SSimon J. Gerraty
9694c620fe5SSimon J. Gerraty2015-06-15  Simon J. Gerraty  <sjg@bad.crufty.net>
9704c620fe5SSimon J. Gerraty
9714c620fe5SSimon J. Gerraty	* install-mk (MK_VERSION): 20150615
9724c620fe5SSimon J. Gerraty
9734c620fe5SSimon J. Gerraty	* auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
9744c620fe5SSimon J. Gerraty	  Follow make's normal precedence rules.
9754c620fe5SSimon J. Gerraty
9764c620fe5SSimon J. Gerraty	* gendirdeps.mk: allow customization of the header.
9774c620fe5SSimon J. Gerraty	  eg. for FreeBSD:
9784c620fe5SSimon J. Gerraty	  GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
9794c620fe5SSimon J. Gerraty
9804c620fe5SSimon J. Gerraty	* meta.autodep.mk: ignore dirdeps.cache*
9814c620fe5SSimon J. Gerraty
9824c620fe5SSimon J. Gerraty	* meta.stage.mk: when bootstrapping options it can be handy to
9834c620fe5SSimon J. Gerraty	  throw warnings rather than errors for staging conflicts.
9844c620fe5SSimon J. Gerraty
9854c620fe5SSimon J. Gerraty	* meta.sys.mk: include local.meta.sys.mk for customization
9864c620fe5SSimon J. Gerraty
987128a4105SSimon J. Gerraty2015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
988128a4105SSimon J. Gerraty
989128a4105SSimon J. Gerraty	* install-mk (MK_VERSION): 20150606
990128a4105SSimon J. Gerraty
991128a4105SSimon J. Gerraty	* dirdeps.mk: don't rely on manually maintained Makefile.depend
992128a4105SSimon J. Gerraty	  to set DEP_RELDIR and reset DIRDEPS.
993128a4105SSimon J. Gerraty	  By setting DEP_RELDIR ourselves we can skip :tA
994128a4105SSimon J. Gerraty
995128a4105SSimon J. Gerraty	* gendirdeps.mk: skip setting DEP_RELDIR.
996128a4105SSimon J. Gerraty
997128a4105SSimon J. Gerraty2015-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
998128a4105SSimon J. Gerraty
999128a4105SSimon J. Gerraty	* dirdeps.mk: avoid wildcards like make(bootstrap*)
1000128a4105SSimon J. Gerraty
1001128a4105SSimon J. Gerraty2015-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
1002128a4105SSimon J. Gerraty
1003128a4105SSimon J. Gerraty	* install-mk (MK_VERSION): 20150520
1004128a4105SSimon J. Gerraty
1005128a4105SSimon J. Gerraty	* dirdeps.mk: when we are building dirdeps cache file we *want*
1006128a4105SSimon J. Gerraty	  meta_oodate to look at all the Makefile.depend files, so
1007128a4105SSimon J. Gerraty	  set .MAKE.DEPENDFILE to something that won't match.
1008128a4105SSimon J. Gerraty
1009128a4105SSimon J. Gerraty	* meta.stage.mk: for STAGE_AS_* basename of file may not be unique
1010128a4105SSimon J. Gerraty	  so first use absolute path as key.
1011128a4105SSimon J. Gerraty	  Also skip staging at level 0.
1012128a4105SSimon J. Gerraty
101328a6bc81SSimon J. Gerraty2015-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
101428a6bc81SSimon J. Gerraty
101528a6bc81SSimon J. Gerraty	* install-mk (MK_VERSION): 20150430
101628a6bc81SSimon J. Gerraty
101728a6bc81SSimon J. Gerraty	* dirdeps.mk: fix _count_dirdeps for non-cache case.
101828a6bc81SSimon J. Gerraty
1019db29cad8SSimon J. Gerraty2015-04-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1020db29cad8SSimon J. Gerraty
1021db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20150411
1022db29cad8SSimon J. Gerraty	  bump version
1023db29cad8SSimon J. Gerraty
1024db29cad8SSimon J. Gerraty	* own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
1025db29cad8SSimon J. Gerraty	  it is here mainly for documentation purposes, since
1026db29cad8SSimon J. Gerraty	  if using auto.obj.mk it is better done via sys.mk
1027db29cad8SSimon J. Gerraty
1028db29cad8SSimon J. Gerraty2015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1029db29cad8SSimon J. Gerraty
1030db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20150401
1031db29cad8SSimon J. Gerraty
1032db29cad8SSimon J. Gerraty	* meta2deps.sh: support @list
1033db29cad8SSimon J. Gerraty
1034db29cad8SSimon J. Gerraty	* meta2deps.py: updates from Juniper
1035db29cad8SSimon J. Gerraty	  o add EXCLUDES
1036db29cad8SSimon J. Gerraty	  o skip bogus input files.
1037db29cad8SSimon J. Gerraty	  o treat 'M' and 'L' as both an 'R' and a 'W'
1038db29cad8SSimon J. Gerraty
1039db29cad8SSimon J. Gerraty2015-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1040db29cad8SSimon J. Gerraty
1041db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20150303
1042db29cad8SSimon J. Gerraty
1043db29cad8SSimon J. Gerraty	* dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
1044db29cad8SSimon J. Gerraty	  which is built via sub-make so we have a .meta file to tell if
1045db29cad8SSimon J. Gerraty	  it is out-of-date.
1046db29cad8SSimon J. Gerraty	  The dirdeps-cache contains the same dependency rules that we
1047db29cad8SSimon J. Gerraty	  normaly construct on the fly.
1048db29cad8SSimon J. Gerraty	  This adds a few seconds overhead when the cache is out of date,
1049db29cad8SSimon J. Gerraty	  but for a large target, the savings can be significant (10-20min).
1050db29cad8SSimon J. Gerraty
1051db29cad8SSimon J. Gerraty2014-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
1052db29cad8SSimon J. Gerraty
1053db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20141118
1054db29cad8SSimon J. Gerraty
1055db29cad8SSimon J. Gerraty	* meta.stage.mk: add stale_staged
1056db29cad8SSimon J. Gerraty
1057db29cad8SSimon J. Gerraty	* dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
1058db29cad8SSimon J. Gerraty	  only useful under very rare conditions such as
1059db29cad8SSimon J. Gerraty	  FreeBSD's make universe.
1060db29cad8SSimon J. Gerraty
1061db29cad8SSimon J. Gerraty	* auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
1062db29cad8SSimon J. Gerraty
1063db29cad8SSimon J. Gerraty2014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1064db29cad8SSimon J. Gerraty
1065db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20141111
1066db29cad8SSimon J. Gerraty
1067db29cad8SSimon J. Gerraty	* mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
1068db29cad8SSimon J. Gerraty
1069db29cad8SSimon J. Gerraty2014-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
1070db29cad8SSimon J. Gerraty
1071db29cad8SSimon J. Gerraty	* FILES: include mkopt.sh which allows handling options in shell
1072db29cad8SSimon J. Gerraty	  scripts in a manner compatible with options.mk
1073db29cad8SSimon J. Gerraty
1074db29cad8SSimon J. Gerraty2014-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1075db29cad8SSimon J. Gerraty
1076db29cad8SSimon J. Gerraty	* meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
1077db29cad8SSimon J. Gerraty	  for GENDIRDEPS_FILTER to avoid surprises.
1078db29cad8SSimon J. Gerraty
1079db29cad8SSimon J. Gerraty2014-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1080db29cad8SSimon J. Gerraty
1081db29cad8SSimon J. Gerraty	* dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
1082db29cad8SSimon J. Gerraty	  the time it is applied to __depdirs they have.
1083db29cad8SSimon J. Gerraty
1084db29cad8SSimon J. Gerraty	* dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
1085db29cad8SSimon J. Gerraty	  expects patterns like *.${MACHINE}
1086db29cad8SSimon J. Gerraty
1087db29cad8SSimon J. Gerraty	* cython.mk (pyprefix?): use pyprefix to find python bits
1088db29cad8SSimon J. Gerraty	  since prefix might be something else (where we install our
1089db29cad8SSimon J. Gerraty	  stuff)
1090db29cad8SSimon J. Gerraty
1091db29cad8SSimon J. Gerraty2014-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1092db29cad8SSimon J. Gerraty
1093db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20140911
1094db29cad8SSimon J. Gerraty
1095db29cad8SSimon J. Gerraty	* dirdeps.mk: add bootstrap target to simplify adding support for
1096db29cad8SSimon J. Gerraty	  new MACHINE.
1097db29cad8SSimon J. Gerraty
1098db29cad8SSimon J. Gerraty2014-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1099db29cad8SSimon J. Gerraty
1100db29cad8SSimon J. Gerraty	* gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
1101db29cad8SSimon J. Gerraty	  GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
1102db29cad8SSimon J. Gerraty	  Makefile.depend files.
1103db29cad8SSimon J. Gerraty
1104db29cad8SSimon J. Gerraty2014-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
1105db29cad8SSimon J. Gerraty
1106db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20140828
1107db29cad8SSimon J. Gerraty
1108db29cad8SSimon J. Gerraty	* cython.mk: capture logic for building python extension modules
1109db29cad8SSimon J. Gerraty	  with Cython.
1110db29cad8SSimon J. Gerraty
1111db29cad8SSimon J. Gerraty2014-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1112db29cad8SSimon J. Gerraty
1113db29cad8SSimon J. Gerraty	* meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
1114db29cad8SSimon J. Gerraty
1115db29cad8SSimon J. Gerraty2014-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
1116db29cad8SSimon J. Gerraty
1117db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20140801
1118db29cad8SSimon J. Gerraty
1119db29cad8SSimon J. Gerraty	* dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
1120db29cad8SSimon J. Gerraty	identify the autodep.mk variant.
1121db29cad8SSimon J. Gerraty
1122db29cad8SSimon J. Gerraty	* sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
1123db29cad8SSimon J. Gerraty	initial value does not match .MAKE.DEPENDFILE_PREFIX
1124db29cad8SSimon J. Gerraty
1125db29cad8SSimon J. Gerraty	* meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
1126db29cad8SSimon J. Gerraty
11275bcb7424SSimon J. Gerraty2014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
11285bcb7424SSimon J. Gerraty
11295bcb7424SSimon J. Gerraty	* install-mk (MK_VERSION): 20140522
11305bcb7424SSimon J. Gerraty
11315bcb7424SSimon J. Gerraty	* lib.mk: use CC to link shlib for linux too
11325bcb7424SSimon J. Gerraty	  patch from Brendan MacDonell
11335bcb7424SSimon J. Gerraty
11345bcb7424SSimon J. Gerraty2014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
11355bcb7424SSimon J. Gerraty
11365bcb7424SSimon J. Gerraty	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
11375bcb7424SSimon J. Gerraty	  if WITH_META_STATS is defined.
11385bcb7424SSimon J. Gerraty
11395bcb7424SSimon J. Gerraty2014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
11405bcb7424SSimon J. Gerraty
11415bcb7424SSimon J. Gerraty	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
11425bcb7424SSimon J. Gerraty	  to supress dirdeps outside of .CURDIR.
11435bcb7424SSimon J. Gerraty
11445bcb7424SSimon J. Gerraty2014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
11455bcb7424SSimon J. Gerraty
11465bcb7424SSimon J. Gerraty	* Fix spelling errors - patch from Pedro Giffuni
11475bcb7424SSimon J. Gerraty
11485bcb7424SSimon J. Gerraty2014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>
11495bcb7424SSimon J. Gerraty
11505bcb7424SSimon J. Gerraty	* install-mk (MK_VERSION): 20140314
11515bcb7424SSimon J. Gerraty
11525bcb7424SSimon J. Gerraty	* dirdeps.mk (beforedirdeps): a handy hook
11535bcb7424SSimon J. Gerraty
11545bcb7424SSimon J. Gerraty	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
11555bcb7424SSimon J. Gerraty	  to visit leaf dirs to be intercepted (eg. for distributed
11565bcb7424SSimon J. Gerraty	  build).
11575bcb7424SSimon J. Gerraty
11585bcb7424SSimon J. Gerraty	* dirdeps.mk (__depdirs): ensure // don't sneak in
11595bcb7424SSimon J. Gerraty
11605bcb7424SSimon J. Gerraty	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in
11615bcb7424SSimon J. Gerraty
11625bcb7424SSimon J. Gerraty
11635bcb7424SSimon J. Gerraty2014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>
11645bcb7424SSimon J. Gerraty
11655bcb7424SSimon J. Gerraty	* rst2htm.mk (RST2PDF): add support for rst2pdf
11665bcb7424SSimon J. Gerraty
11675bcb7424SSimon J. Gerraty2014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
11685bcb7424SSimon J. Gerraty
11695bcb7424SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
11705bcb7424SSimon J. Gerraty	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
11715bcb7424SSimon J. Gerraty	  available.
11725bcb7424SSimon J. Gerraty
11735bcb7424SSimon J. Gerraty2014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
11745bcb7424SSimon J. Gerraty
11755bcb7424SSimon J. Gerraty	* options.mk: avoid :U so this isn't bmake dependent
11765bcb7424SSimon J. Gerraty
11775bcb7424SSimon J. Gerraty2014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>
11785bcb7424SSimon J. Gerraty
11795bcb7424SSimon J. Gerraty	* options.mk: cleanup and simplify semanitcs
11805bcb7424SSimon J. Gerraty	  NO_* dominates all, if both WITH_* and WITHOUT_*
11815bcb7424SSimon J. Gerraty	  are defined then result is DOMINATE_* which defaults to "no".
11825bcb7424SSimon J. Gerraty	  Ie. WITHOUT_ normally wins.
11835bcb7424SSimon J. Gerraty
11840dede8b0SSimon J. Gerraty2013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
11850dede8b0SSimon J. Gerraty
11860dede8b0SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
11870dede8b0SSimon J. Gerraty	* meta2deps.py: convert to print function for python3 compat.
11880dede8b0SSimon J. Gerraty	  we also need to open files with mode 'r' rather than 'rb'
11890dede8b0SSimon J. Gerraty	  otherwise we get bytes instead of strings.
11900dede8b0SSimon J. Gerraty
11910dede8b0SSimon J. Gerraty2013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
11920dede8b0SSimon J. Gerraty
11930dede8b0SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
11940dede8b0SSimon J. Gerraty
11950dede8b0SSimon J. Gerraty	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
11960dede8b0SSimon J. Gerraty	  apply the same filtering (M_dep_qual_fixes) when setting _machines
11970dede8b0SSimon J. Gerraty	  as _build_dirs.
11980dede8b0SSimon J. Gerraty	  Also fix the filtering of Makefile.depend files - for reporting
11990dede8b0SSimon J. Gerraty	  what we are looking for (M_dep_qual_fixes can get confused by
12000dede8b0SSimon J. Gerraty	  Makefile.depend)
12010dede8b0SSimon J. Gerraty	  Add some more debug info.
12020dede8b0SSimon J. Gerraty
12031bbe5942SSimon J. Gerraty2013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
12041bbe5942SSimon J. Gerraty
12051bbe5942SSimon J. Gerraty	* gendirdeps.mk (_objtops): fix typo also
12061bbe5942SSimon J. Gerraty	  while processing M2D_OBJROOTS to gather qualdir_list
12071bbe5942SSimon J. Gerraty	  qualify $ql with loop iterator to ensure correct results.
12081bbe5942SSimon J. Gerraty
12091bbe5942SSimon J. Gerraty2013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
12101bbe5942SSimon J. Gerraty
12111bbe5942SSimon J. Gerraty	* install-mk (MK_VERSION): 20130801
12121bbe5942SSimon J. Gerraty	* libs.mk: update to match progs.mk
12131bbe5942SSimon J. Gerraty
121451ee2c1cSSimon J. Gerraty2013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>
121551ee2c1cSSimon J. Gerraty
121651ee2c1cSSimon J. Gerraty	* install-mk (MK_VERSION): 20130726
121751ee2c1cSSimon J. Gerraty	  some updates from Juniper and FreeBSD
121851ee2c1cSSimon J. Gerraty	  o meta2deps.py: indicate file and line number when we hit parse
121951ee2c1cSSimon J. Gerraty	    errors
122051ee2c1cSSimon J. Gerraty	    also allow @file to provide huge list of .meta files.
122151ee2c1cSSimon J. Gerraty	* meta2deps.py: add try_parse() to cleanup the above.
122251ee2c1cSSimon J. Gerraty
122351ee2c1cSSimon J. Gerraty2013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
122451ee2c1cSSimon J. Gerraty
122551ee2c1cSSimon J. Gerraty	* install-mk (MK_VERSION): 20130716
122651ee2c1cSSimon J. Gerraty	* own.mk: add GPROG as an option
122751ee2c1cSSimon J. Gerraty	* prog.mk: honor MK_GPROF==yes
122851ee2c1cSSimon J. Gerraty
122952d86256SSimon J. Gerraty2013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
123052d86256SSimon J. Gerraty
123152d86256SSimon J. Gerraty	* install-mk (MK_VERSION): 20130505
123252d86256SSimon J. Gerraty	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
123352d86256SSimon J. Gerraty	  for when $MACHINE isn't enough for objdir distinction.
123452d86256SSimon J. Gerraty	  Bring meta2deps.sh closer to par with meta2deps.py.
123552d86256SSimon J. Gerraty
123652d86256SSimon J. Gerraty2013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
123752d86256SSimon J. Gerraty
123852d86256SSimon J. Gerraty	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
123952d86256SSimon J. Gerraty	  also if the target 'beforeinstall' exists, make it depend on
124052d86256SSimon J. Gerraty	  .dirdep (incase it uses STAGE_INSTALL).
124152d86256SSimon J. Gerraty
124252d86256SSimon J. Gerraty2013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
124352d86256SSimon J. Gerraty
124452d86256SSimon J. Gerraty	* install-mk (MK_VERSION): 20130401 ;-)
124552d86256SSimon J. Gerraty	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
124652d86256SSimon J. Gerraty	  wrapper around install(1).
124752d86256SSimon J. Gerraty	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
124852d86256SSimon J. Gerraty
12491748de26SSimon J. Gerraty2013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
12501748de26SSimon J. Gerraty
12511748de26SSimon J. Gerraty	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
12521748de26SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
12531748de26SSimon J. Gerraty
12541748de26SSimon J. Gerraty2013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>
12551748de26SSimon J. Gerraty
12561748de26SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
12571748de26SSimon J. Gerraty	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
12581748de26SSimon J. Gerraty	  any trailing /., rather apply :tA only when needed.
12591748de26SSimon J. Gerraty	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
12601748de26SSimon J. Gerraty	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
12611748de26SSimon J. Gerraty	  consistently.
12621748de26SSimon J. Gerraty	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
12631748de26SSimon J. Gerraty
12641748de26SSimon J. Gerraty2013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
12651748de26SSimon J. Gerraty
12661748de26SSimon J. Gerraty	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
12671748de26SSimon J. Gerraty	  it is simpler to just not update when say building for "host"
12681748de26SSimon J. Gerraty	  (where we know we apply filters to DIRDEPS), and using a
12691748de26SSimon J. Gerraty	  non-machine qualified dependfile.
12701748de26SSimon J. Gerraty
12711748de26SSimon J. Gerraty2013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
12721748de26SSimon J. Gerraty
12731748de26SSimon J. Gerraty	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
12741748de26SSimon J. Gerraty	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
12751748de26SSimon J. Gerraty	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
12761748de26SSimon J. Gerraty	* meta2deps.py: if machine is "host", then also trim
12771748de26SSimon J. Gerraty	  self.host_target from any OBJROOTS.
12781748de26SSimon J. Gerraty
12791748de26SSimon J. Gerraty
12801748de26SSimon J. Gerraty2013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
12811748de26SSimon J. Gerraty
12821748de26SSimon J. Gerraty	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
12831748de26SSimon J. Gerraty	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
12841748de26SSimon J. Gerraty	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
12851748de26SSimon J. Gerraty	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.
12861748de26SSimon J. Gerraty
12871748de26SSimon J. Gerraty2013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>
12881748de26SSimon J. Gerraty
12891748de26SSimon J. Gerraty	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
12901748de26SSimon J. Gerraty	  and hook to all: via staging:
12911748de26SSimon J. Gerraty
12921748de26SSimon J. Gerraty2013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
12931748de26SSimon J. Gerraty
12941748de26SSimon J. Gerraty	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
12951748de26SSimon J. Gerraty	  use a separate variable for the default .MAKE.DEPENDFILE value
12961748de26SSimon J. Gerraty	  so that it can be controlled independently of
12971748de26SSimon J. Gerraty	  .MAKE.DEPENDFILE_PREFERENCE
12981748de26SSimon J. Gerraty
12991748de26SSimon J. Gerraty	* meta.stage.mk: throw error if cp fails etc.
13001748de26SSimon J. Gerraty	  Stage*() return early if passed no args.
13011748de26SSimon J. Gerraty	  .ORDER stage_*
13021748de26SSimon J. Gerraty
13031748de26SSimon J. Gerraty2013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
13041748de26SSimon J. Gerraty
13051748de26SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
13061748de26SSimon J. Gerraty	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
13071748de26SSimon J. Gerraty
13081748de26SSimon J. Gerraty2013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
13091748de26SSimon J. Gerraty
13101748de26SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20130210
13111748de26SSimon J. Gerraty	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
13121748de26SSimon J. Gerraty	  from Juniper.
13131748de26SSimon J. Gerraty	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
13141748de26SSimon J. Gerraty	    than just MACHINE.
13151748de26SSimon J. Gerraty	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.
13161748de26SSimon J. Gerraty
13173cbdda60SSimon J. Gerraty2013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>
13183cbdda60SSimon J. Gerraty
13193cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20130123
13203cbdda60SSimon J. Gerraty	* meta.stage.mk: add stage_links (hard links).
13213cbdda60SSimon J. Gerraty	  if doing hard links, we add dest to link as well.
13223cbdda60SSimon J. Gerraty	  Default the stage dir for [sym]links to STAGE_OBJTOP since
13233cbdda60SSimon J. Gerraty	  these are typically specified as absolute paths.
13243cbdda60SSimon J. Gerraty	  Add -m "mode" flag to StageFiles and StageAs.
13253cbdda60SSimon J. Gerraty
13263cbdda60SSimon J. Gerraty2012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
13273cbdda60SSimon J. Gerraty
13283cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20121111
13293cbdda60SSimon J. Gerraty	* autoconf.mk: avoid meta mode seeing changed commands for config.status
13303cbdda60SSimon J. Gerraty	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
13313cbdda60SSimon J. Gerraty	  in case we were found via .../mk
13323cbdda60SSimon J. Gerraty	* sys.clean-env.mk: move it from examples, we and others use it
13333cbdda60SSimon J. Gerraty	  "as is".
13343cbdda60SSimon J. Gerraty	* FILES: add srctop.mk and options.mk
13353cbdda60SSimon J. Gerraty	* own.mk: convert to using options.mk
13363cbdda60SSimon J. Gerraty	  which is modeled after FreeBSD's handling of MK_*
13373cbdda60SSimon J. Gerraty	  but more flexible.
13383cbdda60SSimon J. Gerraty	  This allows MK_* for boolean knobs to not be confused
13393cbdda60SSimon J. Gerraty	  with MK* which can be commands.
13403cbdda60SSimon J. Gerraty
13413cbdda60SSimon J. Gerraty	* examples/sys.clean-env.mk: add WITH[OUT]_ to
13423cbdda60SSimon J. Gerraty	  MAKE_ENV_SAVE_PREFIX_LIST.
13433cbdda60SSimon J. Gerraty	  Mention that HOME=/var/empty might be a good idea.
13443cbdda60SSimon J. Gerraty
13453cbdda60SSimon J. Gerraty2012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>
13463cbdda60SSimon J. Gerraty
13473cbdda60SSimon J. Gerraty	* sys.dependfile.mk: if not depend file exists, $MACHINE
13483cbdda60SSimon J. Gerraty	  specific ones are supported but not the default,
13493cbdda60SSimon J. Gerraty	  check if any exist and follow suit.
13503cbdda60SSimon J. Gerraty
13513cbdda60SSimon J. Gerraty2012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>
13523cbdda60SSimon J. Gerraty
13533cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20121106
13543cbdda60SSimon J. Gerraty
13553cbdda60SSimon J. Gerraty2012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
13563cbdda60SSimon J. Gerraty
13573cbdda60SSimon J. Gerraty	* import latest dirdeps.mk and meta2deps.py from Juniper.
13583cbdda60SSimon J. Gerraty	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
13593cbdda60SSimon J. Gerraty	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
13603cbdda60SSimon J. Gerraty	  appropriate.
13613cbdda60SSimon J. Gerraty
13623cbdda60SSimon J. Gerraty2012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>
13633cbdda60SSimon J. Gerraty
13643cbdda60SSimon J. Gerraty	* meta.stage.mk: update CLEANFILES
13653cbdda60SSimon J. Gerraty	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
13663cbdda60SSimon J. Gerraty	* progs.mk: Add LDADD to PROG_VARS
13673cbdda60SSimon J. Gerraty
13683cbdda60SSimon J. Gerraty2012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
13693cbdda60SSimon J. Gerraty
13703cbdda60SSimon J. Gerraty	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
13713cbdda60SSimon J. Gerraty	  _STAGED_DIRS so that these can be turned into filters for
13723cbdda60SSimon J. Gerraty	  GENDIRDEPS_FILTER.
13733cbdda60SSimon J. Gerraty
13743cbdda60SSimon J. Gerraty2012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
13753cbdda60SSimon J. Gerraty
13763cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20121010
13773cbdda60SSimon J. Gerraty	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
13783cbdda60SSimon J. Gerraty	target.dirdep matches .dirdep
13793cbdda60SSimon J. Gerraty
13803cbdda60SSimon J. Gerraty2012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
13813cbdda60SSimon J. Gerraty
13823cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120808
13833cbdda60SSimon J. Gerraty	* import latest meta2deps.py from Juniper.
13843cbdda60SSimon J. Gerraty
13853cbdda60SSimon J. Gerraty2012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
13863cbdda60SSimon J. Gerraty
13873cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120711
13883cbdda60SSimon J. Gerraty	* dep.mk: add explicit dependencies on SRCS after applying
13893cbdda60SSimon J. Gerraty	  SRCS_DEP_FILTER
13903cbdda60SSimon J. Gerraty	* meta.autodep.mk: add explicit dependencies on SRCS after
13913cbdda60SSimon J. Gerraty	  applying SRCS_DEP_FILTER
13923cbdda60SSimon J. Gerraty	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
13933cbdda60SSimon J. Gerraty
13943cbdda60SSimon J. Gerraty2012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
13953cbdda60SSimon J. Gerraty
13963cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120626
13973cbdda60SSimon J. Gerraty	* meta.sys.mk: ignore PYTHON if it does not exist
13983cbdda60SSimon J. Gerraty	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
13993cbdda60SSimon J. Gerraty	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
14003cbdda60SSimon J. Gerraty	  entries ending in .${MACHINE} to decide if qualified _dirdep is
14013cbdda60SSimon J. Gerraty	  needed.
14023cbdda60SSimon J. Gerraty	* gendirdeps.mk: only produce unqualified deps if no
14033cbdda60SSimon J. Gerraty	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
1404ac3446e9SSimon J. Gerraty	* meta.subdir.mk: apply SUBDIRDEPS_FILTER
14053cbdda60SSimon J. Gerraty
14063cbdda60SSimon J. Gerraty2012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
14073cbdda60SSimon J. Gerraty
14083cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120420
14093cbdda60SSimon J. Gerraty	* add sys.dependfile.mk so we can experiment with
14103cbdda60SSimon J. Gerraty	  .MAKE.DEPENDFILE_PREFERENCE
14113cbdda60SSimon J. Gerraty	* meta.autodep.mk: _DEPENDFILE is precious!
14123cbdda60SSimon J. Gerraty
14133cbdda60SSimon J. Gerraty2012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
14143cbdda60SSimon J. Gerraty
14153cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120315
14163cbdda60SSimon J. Gerraty	* install-new.mk: avoid being interrupted
14173cbdda60SSimon J. Gerraty
14183cbdda60SSimon J. Gerraty2012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
14193cbdda60SSimon J. Gerraty
14203cbdda60SSimon J. Gerraty	* man.mk: MAN might have multiple values so be careful with exists().
14213cbdda60SSimon J. Gerraty
14223cbdda60SSimon J. Gerraty2012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>
14233cbdda60SSimon J. Gerraty
14243cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120112
14253cbdda60SSimon J. Gerraty	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
14263cbdda60SSimon J. Gerraty	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
14273cbdda60SSimon J. Gerraty
14283cbdda60SSimon J. Gerraty2011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>
14293cbdda60SSimon J. Gerraty
14303cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION):  bump version to 20111201
14313cbdda60SSimon J. Gerraty	* import dirdeps.mk from Juniper sjg@
14323cbdda60SSimon J. Gerraty	  o more consistent handling of DEP_MACHINE, especially when
14333cbdda60SSimon J. Gerraty	    dealing with an odd Makefile.depend, when normally using
14343cbdda60SSimon J. Gerraty	    Makefile.depend.${MACHINE}
14353cbdda60SSimon J. Gerraty
14363cbdda60SSimon J. Gerraty2011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>
14373cbdda60SSimon J. Gerraty
14383cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111122
14393cbdda60SSimon J. Gerraty	* meta.autodep.mk: add some debug output, be more crisp about
14403cbdda60SSimon J. Gerraty	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend
14413cbdda60SSimon J. Gerraty
14423cbdda60SSimon J. Gerraty2011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
14433cbdda60SSimon J. Gerraty
14443cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111111
14453cbdda60SSimon J. Gerraty	  it's too cool to miss
14463cbdda60SSimon J. Gerraty	* import meta* updates from Juniper sjg@
14473cbdda60SSimon J. Gerraty	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
14483cbdda60SSimon J. Gerraty	    normally using Makefile.depend.${MACHINE}), handy for
14493cbdda60SSimon J. Gerraty	    read-only manually maintained dependencies.
14503cbdda60SSimon J. Gerraty	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
14513cbdda60SSimon J. Gerraty	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
14523cbdda60SSimon J. Gerraty	    anything.
14533cbdda60SSimon J. Gerraty
14543cbdda60SSimon J. Gerraty2011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>
14553cbdda60SSimon J. Gerraty
14563cbdda60SSimon J. Gerraty	* install-new.mk separate the cmp and copy logic to its own function.
14573cbdda60SSimon J. Gerraty
14583cbdda60SSimon J. Gerraty2011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
14593cbdda60SSimon J. Gerraty
14603cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111028
14613cbdda60SSimon J. Gerraty	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
14623cbdda60SSimon J. Gerraty	* subdir.mk: ensure _SUBDIRUSE is provided
14633cbdda60SSimon J. Gerraty	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
14643cbdda60SSimon J. Gerraty	* meta.subdir.mk: always allow for Makefile.depend
14653cbdda60SSimon J. Gerraty
14663cbdda60SSimon J. Gerraty2011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
14673cbdda60SSimon J. Gerraty
14683cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111010
14693cbdda60SSimon J. Gerraty	  o minor tweak to *dirdeps.mk from Juniper sjg@
14703cbdda60SSimon J. Gerraty
14713cbdda60SSimon J. Gerraty2011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
14723cbdda60SSimon J. Gerraty
14733cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111001
14743cbdda60SSimon J. Gerraty	  o add meta2deps.py from Juniper sjg@
14753cbdda60SSimon J. Gerraty	  o tweak gendirdeps.mk to work with meta2deps.py when not
14763cbdda60SSimon J. Gerraty	    cross-building
14773cbdda60SSimon J. Gerraty	* autoconf.mk: add autoconf-input as a hook for regenerating
14783cbdda60SSimon J. Gerraty	  AUTOCONF_INPUTS (configure).
14793cbdda60SSimon J. Gerraty
14803cbdda60SSimon J. Gerraty2011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>
14813cbdda60SSimon J. Gerraty
14823cbdda60SSimon J. Gerraty	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
14833cbdda60SSimon J. Gerraty	  trigger for updating Makefile.depend*
14843cbdda60SSimon J. Gerraty
14853cbdda60SSimon J. Gerraty2011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
14863cbdda60SSimon J. Gerraty
14873cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110808
14883cbdda60SSimon J. Gerraty	* obj.mk: minor cleanup
14893cbdda60SSimon J. Gerraty	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
14903cbdda60SSimon J. Gerraty
14913cbdda60SSimon J. Gerraty2011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
14923cbdda60SSimon J. Gerraty
14933cbdda60SSimon J. Gerraty	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
14943cbdda60SSimon J. Gerraty	  specified dir.
14953cbdda60SSimon J. Gerraty
14963cbdda60SSimon J. Gerraty2011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
14973cbdda60SSimon J. Gerraty
14983cbdda60SSimon J. Gerraty	* meta.autodep.mk: if XMAKE_META_FILE is set
14993cbdda60SSimon J. Gerraty	  the makefile uses a foreign make, and so dependencies
15003cbdda60SSimon J. Gerraty	  can only be gathered from a clean tree build.
15013cbdda60SSimon J. Gerraty
15023cbdda60SSimon J. Gerraty2011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>
15033cbdda60SSimon J. Gerraty
15043cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110622
15053cbdda60SSimon J. Gerraty	* meta.autodep.mk: improve bootstraping
15063cbdda60SSimon J. Gerraty
15073cbdda60SSimon J. Gerraty2011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
15083cbdda60SSimon J. Gerraty
15093cbdda60SSimon J. Gerraty	* yacc.mk: handle the corner case of .c being removed
15103cbdda60SSimon J. Gerraty	  while .h remains.
15113cbdda60SSimon J. Gerraty
15123cbdda60SSimon J. Gerraty2011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
15133cbdda60SSimon J. Gerraty
15143cbdda60SSimon J. Gerraty	* yacc.mk: do .y.h and .y.c separately
15153cbdda60SSimon J. Gerraty
15163cbdda60SSimon J. Gerraty2011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
15173cbdda60SSimon J. Gerraty
15183cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110606
15193cbdda60SSimon J. Gerraty	* don't store SRC_DIRDEPS in Makefile.depend* by default
15203cbdda60SSimon J. Gerraty	  not everyone needs it.
15213cbdda60SSimon J. Gerraty
15223cbdda60SSimon J. Gerraty2011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
15233cbdda60SSimon J. Gerraty
15243cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110505
15253cbdda60SSimon J. Gerraty	  first release including meta mode makefiles
15263cbdda60SSimon J. Gerraty
15273cbdda60SSimon J. Gerraty2011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
15283cbdda60SSimon J. Gerraty
15293cbdda60SSimon J. Gerraty	* meta.stage.mk: add STAGE_AS_SETS and stage_as
15303cbdda60SSimon J. Gerraty	  for things that need to be staged with different names.
15313cbdda60SSimon J. Gerraty
15323cbdda60SSimon J. Gerraty2011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
15333cbdda60SSimon J. Gerraty
15343cbdda60SSimon J. Gerraty	* meta.stage.mk: add notion of STAGE_SETS
15353cbdda60SSimon J. Gerraty	  so a makefile can stage to multiple dirs
15363cbdda60SSimon J. Gerraty
15373cbdda60SSimon J. Gerraty2011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>
15383cbdda60SSimon J. Gerraty
15393cbdda60SSimon J. Gerraty	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
15403cbdda60SSimon J. Gerraty	  on target name.
15413cbdda60SSimon J. Gerraty
15423cbdda60SSimon J. Gerraty2011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
15433cbdda60SSimon J. Gerraty
15443cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110330
15453cbdda60SSimon J. Gerraty
15463cbdda60SSimon J. Gerraty2011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
15473cbdda60SSimon J. Gerraty
15483cbdda60SSimon J. Gerraty	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
15493cbdda60SSimon J. Gerraty	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
15503cbdda60SSimon J. Gerraty	* sys.mk: re-define M_whence in terms of M_type.
15513cbdda60SSimon J. Gerraty	  M_type is useful for checking if something is a builtin.
15523cbdda60SSimon J. Gerraty
15533cbdda60SSimon J. Gerraty2011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
15543cbdda60SSimon J. Gerraty
15553cbdda60SSimon J. Gerraty	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
15563cbdda60SSimon J. Gerraty	  stage_libs
15573cbdda60SSimon J. Gerraty
15583cbdda60SSimon J. Gerraty2011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
15593cbdda60SSimon J. Gerraty
15603cbdda60SSimon J. Gerraty	* dirdeps.mk: correct value for _depdir_files depends on
15613cbdda60SSimon J. Gerraty	  .MAKE.DEPENDFILE
15623cbdda60SSimon J. Gerraty	  Add our copyright - just to make it clear we have frobbed this
15633cbdda60SSimon J. Gerraty	  quite a bit.
15643cbdda60SSimon J. Gerraty	  DEP_MACHINE needs to be set to MACHINE each time, if using only
15653cbdda60SSimon J. Gerraty	  Makefile.depend (cf. Makefile.depend.${MACHINE})
15663cbdda60SSimon J. Gerraty
15673cbdda60SSimon J. Gerraty	* meta.stage.mk: meta mode version of staging
15683cbdda60SSimon J. Gerraty
15693cbdda60SSimon J. Gerraty	* init.mk, final.mk: include local.*.mk to simplify customization
15703cbdda60SSimon J. Gerraty
15713cbdda60SSimon J. Gerraty2011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
15723cbdda60SSimon J. Gerraty
15733cbdda60SSimon J. Gerraty	* auto.obj.mk: just because we are doing mk destroy, we should
15743cbdda60SSimon J. Gerraty	  still set .OBJDIR correctly if it exists.
15753cbdda60SSimon J. Gerraty
15763cbdda60SSimon J. Gerraty	* install-mk (mksrc): do not exclude meta.sys.mk
15773cbdda60SSimon J. Gerraty
15783cbdda60SSimon J. Gerraty2011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
15793cbdda60SSimon J. Gerraty
15803cbdda60SSimon J. Gerraty	* host-target.mk: set/export _HOST_ARCH etc separately,
15813cbdda60SSimon J. Gerraty	  catch junk resulting from uname -p, so we can find sys/Linux.mk
15823cbdda60SSimon J. Gerraty	  correctly.
15833cbdda60SSimon J. Gerraty
15843cbdda60SSimon J. Gerraty2011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
15853cbdda60SSimon J. Gerraty
15863cbdda60SSimon J. Gerraty	* meta.sys.mk: throw an error if /dev/filemon is missing and we
15873cbdda60SSimon J. Gerraty	  expected to be updating Makefile.depend*
15883cbdda60SSimon J. Gerraty
15893cbdda60SSimon J. Gerraty2011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
15903cbdda60SSimon J. Gerraty
15913cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110214
15923cbdda60SSimon J. Gerraty	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
15933cbdda60SSimon J. Gerraty
15943cbdda60SSimon J. Gerraty2010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>
15953cbdda60SSimon J. Gerraty
15963cbdda60SSimon J. Gerraty	* meta.sys.mk: not valid for older bmake
15973cbdda60SSimon J. Gerraty
15983cbdda60SSimon J. Gerraty2010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>
15993cbdda60SSimon J. Gerraty
16003cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100919
16013cbdda60SSimon J. Gerraty	include dirdeps.mk et al from Juniper Networks,
16023cbdda60SSimon J. Gerraty	for meta mode - requires filemon(9).
16033cbdda60SSimon J. Gerraty	* sys.mk, subdir.mk: Add hooks for meta mode.
16043cbdda60SSimon J. Gerraty	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
16053cbdda60SSimon J. Gerraty	to make turning it on/off simple.
16063cbdda60SSimon J. Gerraty
16073cbdda60SSimon J. Gerraty2010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
16083cbdda60SSimon J. Gerraty
16093cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100616
16103cbdda60SSimon J. Gerraty	* fix typo in sys.mk
16113cbdda60SSimon J. Gerraty
16123cbdda60SSimon J. Gerraty2010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>
16133cbdda60SSimon J. Gerraty
16143cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100612
16153cbdda60SSimon J. Gerraty	* lib.mk: remove duplicate addition to SOBJS
16163cbdda60SSimon J. Gerraty
16173cbdda60SSimon J. Gerraty2010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
16183cbdda60SSimon J. Gerraty
16193cbdda60SSimon J. Gerraty	* sys.mk: Add a means of selectively turning on debug flags.
16203cbdda60SSimon J. Gerraty	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
16213cbdda60SSimon J. Gerraty	  will act as if we did make -dv if .CURDIR ends in lib/sjg
16223cbdda60SSimon J. Gerraty	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
16233cbdda60SSimon J. Gerraty	  the start of sys.mk rather than the end.
16243cbdda60SSimon J. Gerraty	  This only makes sense for leaf dirs, so we check that
16253cbdda60SSimon J. Gerraty	  .MAKE.LEVEL > 0
16263cbdda60SSimon J. Gerraty
16273cbdda60SSimon J. Gerraty2010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>
16283cbdda60SSimon J. Gerraty
16293cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100608
16303cbdda60SSimon J. Gerraty	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
16313cbdda60SSimon J. Gerraty	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
16323cbdda60SSimon J. Gerraty	  also make it easier for folk to tweak
16333cbdda60SSimon J. Gerraty
16343cbdda60SSimon J. Gerraty2010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
16353cbdda60SSimon J. Gerraty
16363cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100606
16373cbdda60SSimon J. Gerraty	  do not install examples/*
16383cbdda60SSimon J. Gerraty	* FILES: add examples/sys.clean-env.mk
16393cbdda60SSimon J. Gerraty	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
16403cbdda60SSimon J. Gerraty	  this requires bmake-20100606 or later to work.
16413cbdda60SSimon J. Gerraty
16423cbdda60SSimon J. Gerraty2010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>
16433cbdda60SSimon J. Gerraty
16443cbdda60SSimon J. Gerraty	* sys.mk (M_tA): better simulate the result of :tA if not available.
16453cbdda60SSimon J. Gerraty
16463cbdda60SSimon J. Gerraty2010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
16473cbdda60SSimon J. Gerraty
16483cbdda60SSimon J. Gerraty	* sys.mk: canonicalize MAKE_VERSION
16493cbdda60SSimon J. Gerraty	  old versions reported bmake-<src-date> build-<build-date>
16503cbdda60SSimon J. Gerraty	  whereas we only care about <src-date>
16513cbdda60SSimon J. Gerraty
16523cbdda60SSimon J. Gerraty2010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>
16533cbdda60SSimon J. Gerraty
16543cbdda60SSimon J. Gerraty	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
16553cbdda60SSimon J. Gerraty	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
16563cbdda60SSimon J. Gerraty	  is !empty
16573cbdda60SSimon J. Gerraty
16583cbdda60SSimon J. Gerraty2010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
16593cbdda60SSimon J. Gerraty
16603cbdda60SSimon J. Gerraty	* dpadd.mk: use LDADD_* if defined.
16613cbdda60SSimon J. Gerraty
16623cbdda60SSimon J. Gerraty2010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
16633cbdda60SSimon J. Gerraty
16643cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100420
16653cbdda60SSimon J. Gerraty	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
16663cbdda60SSimon J. Gerraty	* autoconf.mk allow AUTO_AUTOCONF
16673cbdda60SSimon J. Gerraty
16683cbdda60SSimon J. Gerraty2010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>
16693cbdda60SSimon J. Gerraty
16703cbdda60SSimon J. Gerraty	* obj.mk: add objwarn to keep freebsd makefiles happy
16713cbdda60SSimon J. Gerraty	* auto.obj.mk: ensure Mkdirs is available.
16723cbdda60SSimon J. Gerraty	* FILES: add auto.dep.mk - a simpler version of autodep.mk
16733cbdda60SSimon J. Gerraty	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
16743cbdda60SSimon J. Gerraty	  asked to do that.
16753cbdda60SSimon J. Gerraty	  fix/simplify the tests for when to run mkdep.
16765bcb7424SSimon J. Gerraty	* auto.dep.mk: add some explanation of how/what we do.
16773cbdda60SSimon J. Gerraty	* autodep.mk: skip the .OPTIONAL frobbing of .depend
16783cbdda60SSimon J. Gerraty	  bmake's FROM_DEPEND flag makes it redundant.
16793cbdda60SSimon J. Gerraty
16803cbdda60SSimon J. Gerraty2010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
16813cbdda60SSimon J. Gerraty
16823cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100404
16833cbdda60SSimon J. Gerraty	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
16843cbdda60SSimon J. Gerraty	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
16853cbdda60SSimon J. Gerraty	Also create a target _SUBDIRUSE so that we can  be used without
16863cbdda60SSimon J. Gerraty	subdir.mk
16873cbdda60SSimon J. Gerraty
16883cbdda60SSimon J. Gerraty2010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>
16893cbdda60SSimon J. Gerraty
16903cbdda60SSimon J. Gerraty	* dep.mk: use <> when .including so can override.
16913cbdda60SSimon J. Gerraty
16923cbdda60SSimon J. Gerraty2010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>
16933cbdda60SSimon J. Gerraty
16943cbdda60SSimon J. Gerraty	* lib.mk (SHLIB_LINKS): ensure a string comparison.
16953cbdda60SSimon J. Gerraty
16963cbdda60SSimon J. Gerraty2010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
16973cbdda60SSimon J. Gerraty
16983cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100102
16993cbdda60SSimon J. Gerraty	* own.mk: ensure PRINTOBJDIR works
17003cbdda60SSimon J. Gerraty	* autoconf.mk: pass on CONFIGURE_ARGS
17013cbdda60SSimon J. Gerraty	* init.mk: handle COPTS.${.IMPSRC:T} etc.
17023cbdda60SSimon J. Gerraty	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
17033cbdda60SSimon J. Gerraty	  fix handling of symlinks for darwin
17043cbdda60SSimon J. Gerraty	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
17053cbdda60SSimon J. Gerraty	* man.mk: suppress chown when not root.
17063cbdda60SSimon J. Gerraty	* rst2htm.mk: allow srcs from multiple locations.
17073cbdda60SSimon J. Gerraty	* sys.mk: M_whence, stop after 1st line of output.
17083cbdda60SSimon J. Gerraty	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
17093cbdda60SSimon J. Gerraty	* sys/SunOS.mk: we need to export PATH
17103cbdda60SSimon J. Gerraty
17113cbdda60SSimon J. Gerraty2009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>
17123cbdda60SSimon J. Gerraty
17133cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
17143cbdda60SSimon J. Gerraty	  include rst2htm.mk
17153cbdda60SSimon J. Gerraty
17163cbdda60SSimon J. Gerraty2009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>
17173cbdda60SSimon J. Gerraty
17183cbdda60SSimon J. Gerraty	* sys.mk,libnames.mk add .-include <local.*>
17193cbdda60SSimon J. Gerraty	  this allows local customization without the need to edit the
17203cbdda60SSimon J. Gerraty	  distributed files.
17213cbdda60SSimon J. Gerraty
17223cbdda60SSimon J. Gerraty2009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>
17233cbdda60SSimon J. Gerraty
17243cbdda60SSimon J. Gerraty	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
17253cbdda60SSimon J. Gerraty	  older versions already installed.
17263cbdda60SSimon J. Gerraty
17273cbdda60SSimon J. Gerraty2009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>
17283cbdda60SSimon J. Gerraty
17293cbdda60SSimon J. Gerraty	* stage.mk (.stage-install): generalize lib.mk's .libinstall
17303cbdda60SSimon J. Gerraty	* rules.mk rules for generic Makefile.
17313cbdda60SSimon J. Gerraty	* inc.mk install for includes.
17323cbdda60SSimon J. Gerraty
17333cbdda60SSimon J. Gerraty2009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>
17343cbdda60SSimon J. Gerraty
17353cbdda60SSimon J. Gerraty	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
17363cbdda60SSimon J. Gerraty	  this, so provide it if using native make.
17373cbdda60SSimon J. Gerraty
17383cbdda60SSimon J. Gerraty2009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>
17393cbdda60SSimon J. Gerraty
17403cbdda60SSimon J. Gerraty	* FILES: move all the platform *.sys.mk files to sys/*.mk
17413cbdda60SSimon J. Gerraty	* Rename Generic.sys.mk to sys.mk - we always want it.
17423cbdda60SSimon J. Gerraty
17433cbdda60SSimon J. Gerraty2009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>
17443cbdda60SSimon J. Gerraty
17453cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
17463cbdda60SSimon J. Gerraty	* host-target.mk: only export the expensive stuff
17473cbdda60SSimon J. Gerraty	* Generic.sys.mk (sys_mk): for SunOS we need to look for
17483cbdda60SSimon J. Gerraty	  ${HOST_OS}.${HOST_OSMAJOR} too!
17493cbdda60SSimon J. Gerraty
17503cbdda60SSimon J. Gerraty2009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>
17513cbdda60SSimon J. Gerraty
17523cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
17533cbdda60SSimon J. Gerraty	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
17543cbdda60SSimon J. Gerraty	  based on patch from Greg Olszewski.
17553cbdda60SSimon J. Gerraty	* Generic.sys.mk: if we have nothing to work with
17563cbdda60SSimon J. Gerraty	set LORDER etc only if we can find it.
17573cbdda60SSimon J. Gerraty
17583cbdda60SSimon J. Gerraty2009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
17593cbdda60SSimon J. Gerraty
17603cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
17613cbdda60SSimon J. Gerraty	* man.mk: cleanman: remove CLEANMAN if defined.
17623cbdda60SSimon J. Gerraty
17633cbdda60SSimon J. Gerraty2009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>
17643cbdda60SSimon J. Gerraty
17653cbdda60SSimon J. Gerraty	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
17663cbdda60SSimon J. Gerraty
17673cbdda60SSimon J. Gerraty2009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>
17683cbdda60SSimon J. Gerraty
17693cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
17703cbdda60SSimon J. Gerraty	include auto.obj.mk
17713cbdda60SSimon J. Gerraty
17723cbdda60SSimon J. Gerraty
17733cbdda60SSimon J. Gerraty2009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
17743cbdda60SSimon J. Gerraty
17753cbdda60SSimon J. Gerraty	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
17763cbdda60SSimon J. Gerraty
17773cbdda60SSimon J. Gerraty2008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
17783cbdda60SSimon J. Gerraty
17793cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
17803cbdda60SSimon J. Gerraty	man.mk: ensure we generate *.cat1 etc in .
17813cbdda60SSimon J. Gerraty
17823cbdda60SSimon J. Gerraty2008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>
17833cbdda60SSimon J. Gerraty
17843cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
17853cbdda60SSimon J. Gerraty	add prlist.mk
17863cbdda60SSimon J. Gerraty
17873cbdda60SSimon J. Gerraty2007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
17883cbdda60SSimon J. Gerraty
17893cbdda60SSimon J. Gerraty	* Generic.sys.mk: Allow os specific sys.mk to be in a
17903cbdda60SSimon J. Gerraty	subdir of ${.PARSEDIR}
17913cbdda60SSimon J. Gerraty
17923cbdda60SSimon J. Gerraty2007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>
17933cbdda60SSimon J. Gerraty
17943cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
17953cbdda60SSimon J. Gerraty	* general cleanup
17963cbdda60SSimon J. Gerraty	* dpadd.mk introduce DPMAGIC_LIBS_*
17973cbdda60SSimon J. Gerraty
17983cbdda60SSimon J. Gerraty2007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>
17993cbdda60SSimon J. Gerraty
18003cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
18013cbdda60SSimon J. Gerraty
18023cbdda60SSimon J. Gerraty	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
18033cbdda60SSimon J. Gerraty	depend files and ensure clean is called for each lib/prog.
18043cbdda60SSimon J. Gerraty
18053cbdda60SSimon J. Gerraty2007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>
18063cbdda60SSimon J. Gerraty
18073cbdda60SSimon J. Gerraty	* autodep.mk (.depend): delete lines that do not start with
18083cbdda60SSimon J. Gerraty	space and do not contain ':'
18093cbdda60SSimon J. Gerraty
18103cbdda60SSimon J. Gerraty2007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>
18113cbdda60SSimon J. Gerraty
18123cbdda60SSimon J. Gerraty	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
18133cbdda60SSimon J. Gerraty	so make sure the transform for .OPTIONAL copes.
18143cbdda60SSimon J. Gerraty
18153cbdda60SSimon J. Gerraty2007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
18163cbdda60SSimon J. Gerraty
18173cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
18183cbdda60SSimon J. Gerraty
18193cbdda60SSimon J. Gerraty	* own.mk: make sure RM and LN are defined.
18203cbdda60SSimon J. Gerraty
18213cbdda60SSimon J. Gerraty	* obj.mk: fix a typo, and objlink target.
18223cbdda60SSimon J. Gerraty
18233cbdda60SSimon J. Gerraty2006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>
18243cbdda60SSimon J. Gerraty
18253cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
18265bcb7424SSimon J. Gerraty	* added libs.mk - analogous to progs.mk
18273cbdda60SSimon J. Gerraty	  make both of them always inlcude {lib,prog}.mk
18283cbdda60SSimon J. Gerraty
18293cbdda60SSimon J. Gerraty2006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>
18303cbdda60SSimon J. Gerraty
18313cbdda60SSimon J. Gerraty	* progs.mk: add a means of building multiple apps in one dir.
18323cbdda60SSimon J. Gerraty
18333cbdda60SSimon J. Gerraty2006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
18343cbdda60SSimon J. Gerraty
18353cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20061126
18363cbdda60SSimon J. Gerraty
18373cbdda60SSimon J. Gerraty	* warnings.mk: detect invalid WARNINGS_SET
18383cbdda60SSimon J. Gerraty
18393cbdda60SSimon J. Gerraty	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
18403cbdda60SSimon J. Gerraty	specific warnings.
18413cbdda60SSimon J. Gerraty
18423cbdda60SSimon J. Gerraty	* For .cc sources, turn off warnings that g++ vomits on.
18433cbdda60SSimon J. Gerraty
18443cbdda60SSimon J. Gerraty2006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>
18453cbdda60SSimon J. Gerraty
18463cbdda60SSimon J. Gerraty	* own.mk: if __initialized__ target doesn't exist and we are
18473cbdda60SSimon J. Gerraty	FreeBSD we got here directly from sys.mk
18483cbdda60SSimon J. Gerraty
18493cbdda60SSimon J. Gerraty2006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>
18503cbdda60SSimon J. Gerraty
18513cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20061106
18523cbdda60SSimon J. Gerraty	add scripts.mk
18533cbdda60SSimon J. Gerraty
18543cbdda60SSimon J. Gerraty2006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
18553cbdda60SSimon J. Gerraty
18563cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20060318
18573cbdda60SSimon J. Gerraty
18583cbdda60SSimon J. Gerraty	* autodep.mk: avoid := when modifying OBJS into __dependsrcs
18593cbdda60SSimon J. Gerraty
18603cbdda60SSimon J. Gerraty2006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>
18613cbdda60SSimon J. Gerraty
18623cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20060302
18633cbdda60SSimon J. Gerraty	* autodep.mk: use -MF et al to help gcc+ccache DTRT.
18643cbdda60SSimon J. Gerraty
18653cbdda60SSimon J. Gerraty2006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
18663cbdda60SSimon J. Gerraty
18673cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20060301
18683cbdda60SSimon J. Gerraty	* autodep.mk (.depend):
18693cbdda60SSimon J. Gerraty	if MAKE_VERSION is newer than  20050530 we can make .END depend on
18703cbdda60SSimon J. Gerraty	.depend and make .depend depend on __depsrcs that exist.
18713cbdda60SSimon J. Gerraty	* dpadd.mk: add SRC_PATHADD
18723cbdda60SSimon J. Gerraty
18733cbdda60SSimon J. Gerraty2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
18743cbdda60SSimon J. Gerraty
18753cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20051104
18763cbdda60SSimon J. Gerraty	* prog.mk: remove all the LIBC?= junk, use
18773cbdda60SSimon J. Gerraty	.-include libnames.mk instead (none by default).
18783cbdda60SSimon J. Gerraty	also if USE_DPADD_MK is set, include that.
18793cbdda60SSimon J. Gerraty
18803cbdda60SSimon J. Gerraty2005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
18813cbdda60SSimon J. Gerraty
18823cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20051001
18833cbdda60SSimon J. Gerraty	Add UnixWare.sys.mk from Klaus Heinz.
18843cbdda60SSimon J. Gerraty
18853cbdda60SSimon J. Gerraty2005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>
18863cbdda60SSimon J. Gerraty
18873cbdda60SSimon J. Gerraty	* install-mk: always install *.sys.mk and if need be symlink one
18883cbdda60SSimon J. Gerraty	to sys.mk
18893cbdda60SSimon J. Gerraty
18903cbdda60SSimon J. Gerraty2005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
18913cbdda60SSimon J. Gerraty
18923cbdda60SSimon J. Gerraty	* subdir.mk, own.mk: use .MAKE rather than MAKE
18933cbdda60SSimon J. Gerraty
18943cbdda60SSimon J. Gerraty2004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
18953cbdda60SSimon J. Gerraty
18963cbdda60SSimon J. Gerraty	* own.mk: don't use NetBSD's _SRC_TOP_ it can
18973cbdda60SSimon J. Gerraty	cause confusion.  Also don't take just 'mk' as a
18983cbdda60SSimon J. Gerraty	srctop indicator.
18993cbdda60SSimon J. Gerraty
19003cbdda60SSimon J. Gerraty2004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
19013cbdda60SSimon J. Gerraty
19023cbdda60SSimon J. Gerraty	* warnings.mk: overhauled, now very powerful.
19033cbdda60SSimon J. Gerraty
19043cbdda60SSimon J. Gerraty2004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
19053cbdda60SSimon J. Gerraty
19063cbdda60SSimon J. Gerraty	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
19073cbdda60SSimon J. Gerraty
19083cbdda60SSimon J. Gerraty2004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>
19093cbdda60SSimon J. Gerraty
19103cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20040201
19113cbdda60SSimon J. Gerraty	* extract HOST_TARGET stuff to host-target.mk so own.mk and
19123cbdda60SSimon J. Gerraty	Generic.sys.mk can share.
19133cbdda60SSimon J. Gerraty	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
19143cbdda60SSimon J. Gerraty
19153cbdda60SSimon J. Gerraty2003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>
19163cbdda60SSimon J. Gerraty
19173cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): 20030930
19183cbdda60SSimon J. Gerraty	* rename generic.sys.mk to Generic.sys.mk
19193cbdda60SSimon J. Gerraty	so that it does not get installed (unless being used as sys.mk)
19203cbdda60SSimon J. Gerraty	* set OS and ROOT_GROUP for those that we know the value.
19213cbdda60SSimon J. Gerraty	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
19223cbdda60SSimon J. Gerraty	we don't do it again for each sub-make.
19233cbdda60SSimon J. Gerraty
19243cbdda60SSimon J. Gerraty2003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
19253cbdda60SSimon J. Gerraty
19263cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): 20030928
19273cbdda60SSimon J. Gerraty	Add some extra *.sys.mk from bootstrap-pkgsrc
19283cbdda60SSimon J. Gerraty	some of these likely still need work.
19293cbdda60SSimon J. Gerraty	Make everything default to root:wheel ownership,
19303cbdda60SSimon J. Gerraty	sys.mk can set ROOT_GROUP accordingly.
19313cbdda60SSimon J. Gerraty
19323cbdda60SSimon J. Gerraty2003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>
19333cbdda60SSimon J. Gerraty
19343cbdda60SSimon J. Gerraty	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
19353cbdda60SSimon J. Gerraty	not the portable ones.
19363cbdda60SSimon J. Gerraty
19373cbdda60SSimon J. Gerraty2003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
19383cbdda60SSimon J. Gerraty
19393cbdda60SSimon J. Gerraty	* install-mk: add ability to use cp -f when updating
19403cbdda60SSimon J. Gerraty	destination .mk files.  Also now possible to play games with
19413cbdda60SSimon J. Gerraty	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
19423cbdda60SSimon J. Gerraty	into dest - not recommended unless you seriously want to.
19433cbdda60SSimon J. Gerraty
19443cbdda60SSimon J. Gerraty2003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
19453cbdda60SSimon J. Gerraty
19463cbdda60SSimon J. Gerraty	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
19473cbdda60SSimon J. Gerraty	for semi-compatability with NetBSD.
19483cbdda60SSimon J. Gerraty
19493cbdda60SSimon J. Gerraty2003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
19503cbdda60SSimon J. Gerraty
19513cbdda60SSimon J. Gerraty	* install-mk: add a version indicator
19523cbdda60SSimon J. Gerraty
19533cbdda60SSimon J. Gerraty2003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>
19543cbdda60SSimon J. Gerraty
19553cbdda60SSimon J. Gerraty	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
19563cbdda60SSimon J. Gerraty
19573cbdda60SSimon J. Gerraty	* install-mk: Allow FORCE_SYS_MK to come from env
19583cbdda60SSimon J. Gerraty
19593cbdda60SSimon J. Gerraty
19603cbdda60SSimon J. Gerraty
1961