xref: /freebsd/contrib/bmake/mk/ChangeLog (revision b0c40a00a67f611868fc0f10bde6b28eb75931be)
1*b0c40a00SSimon J. Gerraty2021-06-16  Simon J Gerraty  <sjg@beast.crufty.net>
2*b0c40a00SSimon J. Gerraty
3*b0c40a00SSimon J. Gerraty	* install-mk (MK_VERSION): 20210616
4*b0c40a00SSimon J. Gerraty
5*b0c40a00SSimon J. Gerraty	* dirdeps.mk: when using .MAKE.DEPENDFILE_PREFERENCE to find
6*b0c40a00SSimon J. Gerraty	depend files to read, anchor MACHINE at , or end of string
7*b0c40a00SSimon J. Gerraty	to avoid prefix match.
8*b0c40a00SSimon J. Gerraty
9*b0c40a00SSimon J. Gerraty2021-05-04  Simon J Gerraty  <sjg@beast.crufty.net>
10*b0c40a00SSimon J. Gerraty
11*b0c40a00SSimon J. Gerraty	* install-mk (MK_VERSION): 20210504
12*b0c40a00SSimon J. Gerraty
13*b0c40a00SSimon J. Gerraty	* dirdeps.mk: re-implement ALL_MACHINES support to better
14*b0c40a00SSimon J. Gerraty	cater for local complexities, when ONLY_TARGET_SPEC_LIST
15*b0c40a00SSimon J. Gerraty	is not set. local.dirdeps.mk can set
16*b0c40a00SSimon J. Gerraty	DIRDEPS_ALL_MACHINES_FILTER and/or
17*b0c40a00SSimon J. Gerraty	DIRDEPS_ALL_MACHINES_FILTER_XTRAS to filter the results we get
18*b0c40a00SSimon J. Gerraty	from listing all existing Makefile.depend.*
19*b0c40a00SSimon J. Gerraty
20*b0c40a00SSimon J. Gerraty2021-04-20  Simon J Gerraty  <sjg@beast.crufty.net>
21*b0c40a00SSimon J. Gerraty
22*b0c40a00SSimon J. Gerraty	* install-mk (MK_VERSION): 20210420
23*b0c40a00SSimon J. Gerraty
24*b0c40a00SSimon J. Gerraty	* dirdeps.mk: revert previous - not always safe.
25*b0c40a00SSimon J. Gerraty
26*b0c40a00SSimon J. Gerraty2021-03-20  Simon J Gerraty  <sjg@beast.crufty.net>
27*b0c40a00SSimon J. Gerraty
28*b0c40a00SSimon J. Gerraty	* install-mk (MK_VERSION): 20210321
29*b0c40a00SSimon J. Gerraty
30*b0c40a00SSimon J. Gerraty	* dirdeps.mk: when generating dirdeps.cache
31*b0c40a00SSimon J. Gerraty	we only need to hook the initial DIRDEPS to the
32*b0c40a00SSimon J. Gerraty	dirdeps target.  That and any _build_xtra_dirs (like tests which
33*b0c40a00SSimon J. Gerraty	should not be hooked directly to the dependency graph - to avoid
34*b0c40a00SSimon J. Gerraty	cycles)
35*b0c40a00SSimon J. Gerraty
36dba7b0efSSimon J. Gerraty2021-01-30  Simon J Gerraty  <sjg@beast.crufty.net>
37dba7b0efSSimon J. Gerraty
38dba7b0efSSimon J. Gerraty	* install-mk (MK_VERSION): 20210130
39dba7b0efSSimon J. Gerraty
40dba7b0efSSimon J. Gerraty	* dirdeps.mk: expr 2 - 1 - 1 exits with a bad status
41dba7b0efSSimon J. Gerraty	  we need to  guard against this in DIRDEP_LOADAVG_REPORT.
42dba7b0efSSimon J. Gerraty
43dba7b0efSSimon J. Gerraty	* dirdeps.mk: restore respect for TARGET_MACHINE
44dba7b0efSSimon J. Gerraty
4506b9b3e0SSimon J. Gerraty2021-01-06  Simon J Gerraty  <sjg@beast.crufty.net>
4606b9b3e0SSimon J. Gerraty
4706b9b3e0SSimon J. Gerraty	* install-mk (MK_VERSION): 20210101
4806b9b3e0SSimon J. Gerraty
4906b9b3e0SSimon J. Gerraty	* dirdeps.mk: first time we are read, just use TARGET_SPEC for
5006b9b3e0SSimon J. Gerraty	_DEP_TARGET_SPEC
5106b9b3e0SSimon J. Gerraty
5206b9b3e0SSimon J. Gerraty2020-12-22  Simon J Gerraty  <sjg@beast.crufty.net>
5306b9b3e0SSimon J. Gerraty
5406b9b3e0SSimon J. Gerraty	* sys.mk (MAKE_SHELL): use ${.SHELL:Ush}
5506b9b3e0SSimon J. Gerraty	and use := when setting SHELL
5606b9b3e0SSimon J. Gerraty
5706b9b3e0SSimon J. Gerraty2020-12-21  Simon J Gerraty  <sjg@beast.crufty.net>
5806b9b3e0SSimon J. Gerraty
5906b9b3e0SSimon J. Gerraty	* install-mk (MK_VERSION): 20201221
6006b9b3e0SSimon J. Gerraty
6106b9b3e0SSimon J. Gerraty	* dirdeps-options.mk: latest bmake allows only one arg to .undef
6206b9b3e0SSimon J. Gerraty
6306b9b3e0SSimon J. Gerraty2020-12-11  Simon J Gerraty  <sjg@beast.crufty.net>
6406b9b3e0SSimon J. Gerraty
6506b9b3e0SSimon J. Gerraty	* dirdeps-targets.mk: allow for "." in DIRDEPS_TARGETS_DIRS
6606b9b3e0SSimon J. Gerraty	so that any directory can be treated as a target.
6706b9b3e0SSimon J. Gerraty
6806b9b3e0SSimon J. Gerraty2020-11-26  Simon J Gerraty  <sjg@beast.crufty.net>
6906b9b3e0SSimon J. Gerraty
7006b9b3e0SSimon J. Gerraty	* install-mk (MK_VERSION): 20201126
7106b9b3e0SSimon J. Gerraty
7206b9b3e0SSimon J. Gerraty	* own.mk: use .MAKE.{UID,GID} if available.
7306b9b3e0SSimon J. Gerraty
7406b9b3e0SSimon J. Gerraty	* init.mk: suppress _SKIP_BUILD warning if doing -V
7506b9b3e0SSimon J. Gerraty
7606b9b3e0SSimon J. Gerraty2020-11-20  Simon J Gerraty  <sjg@beast.crufty.net>
7706b9b3e0SSimon J. Gerraty
7806b9b3e0SSimon J. Gerraty	* install-mk (MK_VERSION): 20201120
7906b9b3e0SSimon J. Gerraty
8006b9b3e0SSimon J. Gerraty	* init.mk: rename LEVEL0_TARGETS to DIRDEPS_BUILD_LEVEL0_TARGETS
8106b9b3e0SSimon J. Gerraty
8206b9b3e0SSimon J. Gerraty	* dirdeps-targets.mk: fix typo in comment
8306b9b3e0SSimon J. Gerraty
84e2eeea75SSimon J. Gerraty2020-11-06  Simon J Gerraty  <sjg@beast.crufty.net>
85e2eeea75SSimon J. Gerraty
86e2eeea75SSimon J. Gerraty	* install-mk (MK_VERSION): 20201106
87e2eeea75SSimon J. Gerraty
88e2eeea75SSimon J. Gerraty	* meta.autodep.mk: use OBJ_EXTENSIONS rather than hardcode sed
89e2eeea75SSimon J. Gerraty	args to tweak extensions for local deps.
90e2eeea75SSimon J. Gerraty
91956e45f6SSimon J. Gerraty2020-11-01  Simon J Gerraty  <sjg@beast.crufty.net>
92956e45f6SSimon J. Gerraty
93956e45f6SSimon J. Gerraty	* install-mk (MK_VERSION): 20201101
94956e45f6SSimon J. Gerraty
95956e45f6SSimon J. Gerraty	* dirdeps.mk: most leaf makefiles are not suitable for building
96956e45f6SSimon J. Gerraty	dirdeps.cache so if RELDIR is not "." use dirdeps.mk
97956e45f6SSimon J. Gerraty
98956e45f6SSimon J. Gerraty2020-10-28  Simon J Gerraty  <sjg@beast.crufty.net>
99956e45f6SSimon J. Gerraty
100956e45f6SSimon J. Gerraty	* install-mk (MK_VERSION): 20201028
101956e45f6SSimon J. Gerraty
102956e45f6SSimon J. Gerraty	* dirdeps.mk: if we don't have :range use equivalent of M_RANGE
103956e45f6SSimon J. Gerraty	when building dirdeps.cache for leaf directory use -f dirdeps.mk
104956e45f6SSimon J. Gerraty
105956e45f6SSimon J. Gerraty	* sys.vars.mk: add M_JOT and M_RANGE
106956e45f6SSimon J. Gerraty
107956e45f6SSimon J. Gerraty2020-10-01  Simon J Gerraty  <sjg@beast.crufty.net>
108956e45f6SSimon J. Gerraty
109956e45f6SSimon J. Gerraty	* install-mk (MK_VERSION): 20201001
110956e45f6SSimon J. Gerraty
111956e45f6SSimon J. Gerraty	* meta2deps.{py,sh}: throw an error if we don't see filemon version
112956e45f6SSimon J. Gerraty
113956e45f6SSimon J. Gerraty2020-09-09  Simon J Gerraty  <sjg@beast.crufty.net>
114956e45f6SSimon J. Gerraty
115956e45f6SSimon J. Gerraty	* install-mk (MK_VERSION): 20200909
116956e45f6SSimon J. Gerraty
117956e45f6SSimon J. Gerraty	* dirdeps-cache-update.mk: use cache_update_dirdep as guard target
118956e45f6SSimon J. Gerraty
1192c3632d1SSimon J. Gerraty2020-08-26  Simon J Gerraty  <sjg@beast.crufty.net>
1202c3632d1SSimon J. Gerraty
1212c3632d1SSimon J. Gerraty	* dirdeps.mk: ensure we cannot confuse a static cache for dynamic
1222c3632d1SSimon J. Gerraty	(even more rare that use of static cache is playing clever tricks
1232c3632d1SSimon J. Gerraty	with it)
1242c3632d1SSimon J. Gerraty
1252c3632d1SSimon J. Gerraty2020-08-16  Simon J Gerraty  <sjg@beast.crufty.net>
1262c3632d1SSimon J. Gerraty
1272c3632d1SSimon J. Gerraty	* dirdeps-cache-update.mk: allow
1282c3632d1SSimon J. Gerraty	MK_STATIC_DIRDEPS_CACHE_UPDATE_IMMEDIATE to control when we
1292c3632d1SSimon J. Gerraty	actually update STATIC_DIRDEPS_CACHE.
1302c3632d1SSimon J. Gerraty
1312c3632d1SSimon J. Gerraty	* stage-install.sh: create dest directory if needed
1322c3632d1SSimon J. Gerraty	before running install(1)
1332c3632d1SSimon J. Gerraty
1342c3632d1SSimon J. Gerraty2020-08-10  Simon J Gerraty  <sjg@beast.crufty.net>
1352c3632d1SSimon J. Gerraty
1362c3632d1SSimon J. Gerraty	* dirdeps-targets.mk: include Makefile.dirdeps.options
1372c3632d1SSimon J. Gerraty
1382c3632d1SSimon J. Gerraty	* dirdeps.mk: use _TARGETS if defined for DIRDEPS_CACHE
1392c3632d1SSimon J. Gerraty
1402c3632d1SSimon J. Gerraty2020-08-09  Simon J Gerraty  <sjg@beast.crufty.net>
1412c3632d1SSimon J. Gerraty
1422c3632d1SSimon J. Gerraty	* dirdeps.mk: default BUILD_DIRDEPS_MAKEFILE to empty
1432c3632d1SSimon J. Gerraty
1442c3632d1SSimon J. Gerraty	* dirdeps-cache-update.mk: building parallel cache update
1452c3632d1SSimon J. Gerraty	under the context of dirdeps-cached would be ideal, but
1462c3632d1SSimon J. Gerraty	is problematic, so it runs as a sibling.
1472c3632d1SSimon J. Gerraty	Use cache-built target to ensure we wait for it to complete if
1482c3632d1SSimon J. Gerraty	necessary.
1492c3632d1SSimon J. Gerraty
1502c3632d1SSimon J. Gerraty2020-08-06  Simon J Gerraty  <sjg@beast.crufty.net>
1512c3632d1SSimon J. Gerraty
1522c3632d1SSimon J. Gerraty	* install-mk (MK_VERSION): 20200806
1532c3632d1SSimon J. Gerraty
1542c3632d1SSimon J. Gerraty	* dirdeps-options: allow TARGET_SPEC to affect option values.
1552c3632d1SSimon J. Gerraty	Use DIRDEPS_OPTIONS_QUALIFIER_LIST before using bare MK_*
1562c3632d1SSimon J. Gerraty
1572c3632d1SSimon J. Gerraty	* dirdeps-targets.mk: check for MK_STATIC_DIRDEPS_CACHE defined
1582c3632d1SSimon J. Gerraty	before looking for STATIC_DIRDEPS_CACHE
1592c3632d1SSimon J. Gerraty
1602c3632d1SSimon J. Gerraty2020-08-05  Simon J Gerraty  <sjg@beast.crufty.net>
1612c3632d1SSimon J. Gerraty
1622c3632d1SSimon J. Gerraty	* host-target.mk: Darwin use MACHINE for HOST_ARCH too
1632c3632d1SSimon J. Gerraty
1642c3632d1SSimon J. Gerraty	* dirdeps-options.mk: improve debug output
1652c3632d1SSimon J. Gerraty
1662c3632d1SSimon J. Gerraty2020-07-22  Simon J Gerraty  <sjg@beast.crufty.net>
1672c3632d1SSimon J. Gerraty
1682c3632d1SSimon J. Gerraty	* dirdeps.mk: set and export DYNAMIC_DIRDEPS_CACHE
1692c3632d1SSimon J. Gerraty	for use by dirdeps-cache-update.mk
1702c3632d1SSimon J. Gerraty
1712c3632d1SSimon J. Gerraty	* dirdeps-targets.mk: set and export STATIC_DIRDEPS_CACHE
1722c3632d1SSimon J. Gerraty	for use by dirdeps-cache-update.mk even if we don't use it.
1732c3632d1SSimon J. Gerraty
1742c3632d1SSimon J. Gerraty	* dirdeps-cache-update.mk: we only need worry about the background
1752c3632d1SSimon J. Gerraty	update case, with the above, the update from DIRDEPS_CACHE is
1762c3632d1SSimon J. Gerraty	simple.
1772c3632d1SSimon J. Gerraty
1782c3632d1SSimon J. Gerraty	* meta2deps.py: R 1234 . is not interesting
1792c3632d1SSimon J. Gerraty
1802c3632d1SSimon J. Gerraty2020-07-20  Simon J Gerraty  <sjg@beast.crufty.net>
1812c3632d1SSimon J. Gerraty
1822c3632d1SSimon J. Gerraty	* sys.mk: default MK_STATIC_DIRDEPS_CACHE from MK_DIRDEPS_CACHE
1832c3632d1SSimon J. Gerraty
1842c3632d1SSimon J. Gerraty	* dirdeps-options.mk: do not :tu DIRDEPS_OPTIONS
1852c3632d1SSimon J. Gerraty	allows use of lower case for pseudo options.
1862c3632d1SSimon J. Gerraty
1872c3632d1SSimon J. Gerraty	* dirdeps-cache-update.mk: magic to deal with STATIC_DIRDEPS_CACHE
1882c3632d1SSimon J. Gerraty
1892c3632d1SSimon J. Gerraty2020-07-18  Simon J Gerraty  <sjg@beast.crufty.net>
1902c3632d1SSimon J. Gerraty
1912c3632d1SSimon J. Gerraty	* dirdeps-targets.mk: Look for Makefile.dirdeps.cache
1922c3632d1SSimon J. Gerraty	which allows us to have a static cache for expensive targets.
1932c3632d1SSimon J. Gerraty	Use -DWITHOUT_STATIC_DIRDEPS_CACHE -DWITH_DIRDEPS_CACHE
1942c3632d1SSimon J. Gerraty	to regenerate the dirdeps.cache it is a copy of.
1952c3632d1SSimon J. Gerraty
1962c3632d1SSimon J. Gerraty2020-07-17  Simon J Gerraty  <sjg@beast.crufty.net>
1972c3632d1SSimon J. Gerraty
1982c3632d1SSimon J. Gerraty	* Get rid of BUILD_AT_LEVEL0, MK_DIRDEPS_BUILD makes more sense.
1992c3632d1SSimon J. Gerraty
2002c3632d1SSimon J. Gerraty2020-07-16  Simon J Gerraty  <sjg@beast.crufty.net>
2012c3632d1SSimon J. Gerraty
2022c3632d1SSimon J. Gerraty	* dirdeps.mk (DIRDEP_LOADAVG_REPORT): make it easy to record
2032c3632d1SSimon J. Gerraty	load averages at intervals during build.
2042c3632d1SSimon J. Gerraty
2052c3632d1SSimon J. Gerraty2020-07-15  Simon J Gerraty  <sjg@beast.crufty.net>
2062c3632d1SSimon J. Gerraty
2072c3632d1SSimon J. Gerraty	* install-mk (MK_VERSION): 20200715
2082c3632d1SSimon J. Gerraty
2092c3632d1SSimon J. Gerraty	* dirdeps.mk: tweak Checking line to make matching Finished
2102c3632d1SSimon J. Gerraty	lines for post-build analysis easier.
2112c3632d1SSimon J. Gerraty
2122c3632d1SSimon J. Gerraty	* meta.autodep.mk: use !defined(WITHOUT_META_STATS)
2132c3632d1SSimon J. Gerraty
2142c3632d1SSimon J. Gerraty	* progs.mk: avoid prog.mk outputting multiple Finished lines
2152c3632d1SSimon J. Gerraty
2162c3632d1SSimon J. Gerraty2020-07-11  Simon J Gerraty  <sjg@beast.crufty.net>
2172c3632d1SSimon J. Gerraty
2182c3632d1SSimon J. Gerraty	* dirdeps.mk: further optimize dirdeps.cache
2192c3632d1SSimon J. Gerraty	generate a DIRDEPS.${.TARGET} list for other purposes
2202c3632d1SSimon J. Gerraty	and improve the layout.
2212c3632d1SSimon J. Gerraty
2223841c287SSimon J. Gerraty2020-07-10  Simon J Gerraty  <sjg@beast.crufty.net>
2233841c287SSimon J. Gerraty
2243841c287SSimon J. Gerraty	* dirdeps.mk: optimize content of dirdeps.cache
2253841c287SSimon J. Gerraty
2263841c287SSimon J. Gerraty2020-06-28  Simon J Gerraty  <sjg@beast.crufty.net>
2273841c287SSimon J. Gerraty
2283841c287SSimon J. Gerraty	* sys/*.mk: make it easier for local*sys.mk to customize by
2293841c287SSimon J. Gerraty	using ?=
2303841c287SSimon J. Gerraty
2313841c287SSimon J. Gerraty2020-06-22  Simon J Gerraty  <sjg@beast.crufty.net>
2323841c287SSimon J. Gerraty
2333841c287SSimon J. Gerraty	* gendirdeps.mk (LOCAL_DEPENDS_GUARD): if we don't build at level 0
2343841c287SSimon J. Gerraty	it is much safer to guard local depends with a simple check for
2353841c287SSimon J. Gerraty	.MAKE.LEVEL > 0
2363841c287SSimon J. Gerraty
2373841c287SSimon J. Gerraty2020-06-10  Simon J Gerraty  <sjg@beast.crufty.net>
2383841c287SSimon J. Gerraty
2393841c287SSimon J. Gerraty	* install-mk (MK_VERSION): 20200610
2403841c287SSimon J. Gerraty
2413841c287SSimon J. Gerraty	* mkopt.sh: this needs posix shell so #!/bin/sh should be ok
2423841c287SSimon J. Gerraty
243ef0b2538SSimon J. Gerraty2020-06-06  Simon J Gerraty  <sjg@beast.crufty.net>
244ef0b2538SSimon J. Gerraty
245ef0b2538SSimon J. Gerraty	* install-mk (MK_VERSION): 20200606
246ef0b2538SSimon J. Gerraty
247ef0b2538SSimon J. Gerraty	* dirdeps-targets.mk: allow for filtering of .TARGETS
248ef0b2538SSimon J. Gerraty
249ef0b2538SSimon J. Gerraty	* meta2deps.py: fix bug in processing 'L'ink and 'M'ove
250ef0b2538SSimon J. Gerraty	entries - and we don't care about 'W'rite entries.
251ef0b2538SSimon J. Gerraty	Also ignore absolute paths that do not exist.
252ef0b2538SSimon J. Gerraty
253ef0b2538SSimon J. Gerraty2020-05-25  Simon J Gerraty  <sjg@beast.crufty.net>
254ef0b2538SSimon J. Gerraty
255ef0b2538SSimon J. Gerraty	* install-mk (MK_VERSION): 20200525
256ef0b2538SSimon J. Gerraty
257ef0b2538SSimon J. Gerraty	* init.mk: expand and simplify handling of qualified vars
258ef0b2538SSimon J. Gerraty	like CPPFLAGS.${.TARGET:T}
259ef0b2538SSimon J. Gerraty
26049caa483SSimon J. Gerraty2020-05-15  Simon J Gerraty  <sjg@beast.crufty.net>
26149caa483SSimon J. Gerraty
26249caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20200515
26349caa483SSimon J. Gerraty
26449caa483SSimon J. Gerraty	* dirdeps.mk: set _debug_* earlier and allow passing -d*
26549caa483SSimon J. Gerraty	flags to submake when building DIRDEPS_CACHE
26649caa483SSimon J. Gerraty
26749caa483SSimon J. Gerraty2020-05-09  Simon J Gerraty  <sjg@beast.crufty.net>
26849caa483SSimon J. Gerraty
26949caa483SSimon J. Gerraty	* whats.mk: more easily extensible
27049caa483SSimon J. Gerraty
27149caa483SSimon J. Gerraty2020-05-02  Simon J Gerraty  <sjg@beast.crufty.net>
27249caa483SSimon J. Gerraty
27349caa483SSimon J. Gerraty	* whats.mk: greatly simplify by adding what.c to SRCS
27449caa483SSimon J. Gerraty
27549caa483SSimon J. Gerraty2020-05-01  Simon J Gerraty  <sjg@beast.crufty.net>
27649caa483SSimon J. Gerraty
27749caa483SSimon J. Gerraty	* whats.mk: for libs take care how we add to *OBJS
27849caa483SSimon J. Gerraty
27949caa483SSimon J. Gerraty	* lib.mk: : works better with whats.mk
28049caa483SSimon J. Gerraty
28149caa483SSimon J. Gerraty2020-04-25  Simon J Gerraty  <sjg@beast.crufty.net>
28249caa483SSimon J. Gerraty
28349caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20200420
28449caa483SSimon J. Gerraty
28549caa483SSimon J. Gerraty	* meta.stage.mk: it is not a STAGE_CONFLICT if some-target.dirdep
28649caa483SSimon J. Gerraty	contains the same ${RELDIR} and a prefix match for our ${TARGET_SPEC}
28749caa483SSimon J. Gerraty
28849caa483SSimon J. Gerraty2020-04-16  Simon J Gerraty  <sjg@beast.crufty.net>
28949caa483SSimon J. Gerraty
29049caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20200416
29149caa483SSimon J. Gerraty
29249caa483SSimon J. Gerraty	* sys/*.mk: set MAKE_SHELL rather than SHELL so as not to
29349caa483SSimon J. Gerraty	  interfere with user env.
29449caa483SSimon J. Gerraty
29549caa483SSimon J. Gerraty	* sys.mk: default MAKE_SHELL to sh and SHELL to MAKE_SHELL
29649caa483SSimon J. Gerraty
29749caa483SSimon J. Gerraty	* autodep.mk: use MAKE_SHELL.
29849caa483SSimon J. Gerraty
29949caa483SSimon J. Gerraty2019-11-21  Simon J Gerraty  <sjg@beast.crufty.net>
30049caa483SSimon J. Gerraty
30149caa483SSimon J. Gerraty	* gendirdeps.mk: clear .SUFFIXES to avoid a lot of
30249caa483SSimon J. Gerraty	  wasted effort, and unexport _meta_files when no longer needed as
30349caa483SSimon J. Gerraty	  it consumes space we need for command line.
30449caa483SSimon J. Gerraty
30549caa483SSimon J. Gerraty2019-11-11  Simon J Gerraty  <sjg@beast.crufty.net>
30649caa483SSimon J. Gerraty
30749caa483SSimon J. Gerraty	* dirdeps.mk _DIRDEP_USE: use DIRDEP_DIR and add
30849caa483SSimon J. Gerraty	  DIRDEP_USE_PRELUDE at start - facilitates job distribution
30949caa483SSimon J. Gerraty
31049caa483SSimon J. Gerraty2019-10-04  Simon J Gerraty  <sjg@beast.crufty.net>
31149caa483SSimon J. Gerraty
31249caa483SSimon J. Gerraty	* dirdeps-targets.mk: Use TARGET_SPEC_LAST_LIST
31349caa483SSimon J. Gerraty	defaults to ${${TARGET_SPEC_VARS:[-1]}_LIST} to match valid
31449caa483SSimon J. Gerraty	TARGET_SPEC qualified depend files.
31549caa483SSimon J. Gerraty
31649caa483SSimon J. Gerraty2019-10-02  Simon J Gerraty  <sjg@beast.crufty.net>
31749caa483SSimon J. Gerraty
31849caa483SSimon J. Gerraty	* dirdeps-targets.mk: encapsulate logic for finding top-level
31949caa483SSimon J. Gerraty	  targets to set initial DIRDEPS for DIRDEPS_BUILD
32049caa483SSimon J. Gerraty
32149caa483SSimon J. Gerraty2019-09-27  Simon J Gerraty  <sjg@beast.crufty.net>
32249caa483SSimon J. Gerraty
32349caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20190911
32449caa483SSimon J. Gerraty
32549caa483SSimon J. Gerraty	* compiler.mk: set COMPILER_TYPE
32649caa483SSimon J. Gerraty
32749caa483SSimon J. Gerraty2019-07-17  Simon J Gerraty  <sjg@beast.crufty.net>
32849caa483SSimon J. Gerraty
32949caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20190704
33049caa483SSimon J. Gerraty
33149caa483SSimon J. Gerraty	* sys/Darwin.mk: support for Objective-C and clang
33249caa483SSimon J. Gerraty
33349caa483SSimon J. Gerraty2019-05-30  Simon J Gerraty  <sjg@beast.crufty.net>
33449caa483SSimon J. Gerraty
33549caa483SSimon J. Gerraty	* dirdeps.mk: avoid insanely long command line when generating cache
33649caa483SSimon J. Gerraty
33749caa483SSimon J. Gerraty2019-05-23  Simon J Gerraty  <sjg@beast.crufty.net>
33849caa483SSimon J. Gerraty
33949caa483SSimon J. Gerraty	* install-mk (MK_VERSION): 20190505
34049caa483SSimon J. Gerraty
34149caa483SSimon J. Gerraty	* whats.mk: handle corner case SHLIB defined but not LIB
34249caa483SSimon J. Gerraty
3432eae894cSSimon J. Gerraty2018-09-19  Simon J Gerraty  <sjg@beast.crufty.net>
3442eae894cSSimon J. Gerraty
3452eae894cSSimon J. Gerraty	* install-mk (MK_VERSION): 20180919
3462eae894cSSimon J. Gerraty
3472eae894cSSimon J. Gerraty	* dirdeps-options.mk: .undef cannot handle var that expands to
3482eae894cSSimon J. Gerraty	  more than one var.
3492eae894cSSimon J. Gerraty
3502eae894cSSimon J. Gerraty2018-07-08  Simon J Gerraty  <sjg@beast.crufty.net>
3512eae894cSSimon J. Gerraty
3522eae894cSSimon J. Gerraty	* meta.stage.mk: allow wildcards in STAGE_FILES.* etc.
3532eae894cSSimon J. Gerraty
3542eae894cSSimon J. Gerraty2018-06-01  Simon J Gerraty  <sjg@beast.crufty.net>
3552eae894cSSimon J. Gerraty
3562eae894cSSimon J. Gerraty	* meta.autodep.mk: export META_FILES to avoid command line limit
3572eae894cSSimon J. Gerraty	* gendirdeps.mk: if we have lots of .meta files put them in
3582eae894cSSimon J. Gerraty	  an @list
3592eae894cSSimon J. Gerraty
3602eae894cSSimon J. Gerraty2018-05-28  Simon J Gerraty  <sjg@beast.crufty.net>
3612eae894cSSimon J. Gerraty
3622eae894cSSimon J. Gerraty	* dirdeps-options.mk: use local.dirdeps-options.mk
3632eae894cSSimon J. Gerraty	  not local.dirdeps-option.mk
3642eae894cSSimon J. Gerraty
365494f7191SSimon J. Gerraty2018-04-20  Simon J Gerraty  <sjg@beast.crufty.net>
366494f7191SSimon J. Gerraty
367494f7191SSimon J. Gerraty	* install-mk (MK_VERSION): 20180420
368494f7191SSimon J. Gerraty	* dirdeps.mk: include local.dirdeps-build.mk when .MAKE.LEVEL > 0
369494f7191SSimon J. Gerraty	  ie. we are building something.
370494f7191SSimon J. Gerraty
371494f7191SSimon J. Gerraty2018-04-14  Simon J Gerraty  <sjg@beast.crufty.net>
372494f7191SSimon J. Gerraty
373494f7191SSimon J. Gerraty	* FILES: add dirdeps-options.mk to deal with optional DIRDEPS.
374494f7191SSimon J. Gerraty
375494f7191SSimon J. Gerraty2018-04-05  Simon J Gerraty  <sjg@beast.crufty.net>
376494f7191SSimon J. Gerraty
377494f7191SSimon J. Gerraty	* install-mk (MK_VERSION): 20180405
378494f7191SSimon J. Gerraty
379494f7191SSimon J. Gerraty	* ldorder.mk: describe how to use LDORDER_EXTERN_BARRIER
380494f7191SSimon J. Gerraty	  if needed.
381494f7191SSimon J. Gerraty
38250d2e745SSimon J. Gerraty2018-01-18  Simon J Gerraty  <sjg@beast.crufty.net>
38350d2e745SSimon J. Gerraty
38450d2e745SSimon J. Gerraty	* install-mk (MK_VERSION): 20180118
38550d2e745SSimon J. Gerraty
38650d2e745SSimon J. Gerraty	* ldorder.mk: let make compute correct link order
38750d2e745SSimon J. Gerraty
38850d2e745SSimon J. Gerraty2017-12-12  Simon J Gerraty  <sjg@beast.crufty.net>
38950d2e745SSimon J. Gerraty
39050d2e745SSimon J. Gerraty	* install-mk (MK_VERSION): 20171212
39150d2e745SSimon J. Gerraty
39250d2e745SSimon J. Gerraty	* gendirdeps.mk: guard against bogus entries in GENDIRDEPS_FILTER
39350d2e745SSimon J. Gerraty
39450d2e745SSimon J. Gerraty2017-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
39550d2e745SSimon J. Gerraty
39650d2e745SSimon J. Gerraty	* install-mk (MK_VERSION): 20171111
39750d2e745SSimon J. Gerraty
39850d2e745SSimon J. Gerraty	* lib.mk: ensure META_NOECHO is set
39950d2e745SSimon J. Gerraty
400e22fef7dSSimon J. Gerraty2017-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
401e22fef7dSSimon J. Gerraty
402e22fef7dSSimon J. Gerraty	* Allow for host32 on rare occasions.
403e22fef7dSSimon J. Gerraty
404e22fef7dSSimon J. Gerraty2017-10-18  Simon J. Gerraty  <sjg@bad.crufty.net>
405e22fef7dSSimon J. Gerraty
406e22fef7dSSimon J. Gerraty	* install-mk (MK_VERSION): 20171018
407e22fef7dSSimon J. Gerraty
408e22fef7dSSimon J. Gerraty	* whats.mk: include what_thing in what_uuid to avoid problem
409e22fef7dSSimon J. Gerraty	  when building multiple apps in the same directory.
410e22fef7dSSimon J. Gerraty
411e22fef7dSSimon J. Gerraty2017-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
412e22fef7dSSimon J. Gerraty
413e22fef7dSSimon J. Gerraty	* install-mk (MK_VERSION): 20170812
414e22fef7dSSimon J. Gerraty
415e22fef7dSSimon J. Gerraty	* autoconf.mk: Use CONFIGURE_DEPS so Makefile can
416e22fef7dSSimon J. Gerraty	  add dependencies for config.recheck and config.gen
417e22fef7dSSimon J. Gerraty
4188695518cSSimon J. Gerraty2017-06-30  Simon J. Gerraty  <sjg@bad.crufty.net>
4198695518cSSimon J. Gerraty
4208695518cSSimon J. Gerraty	* install-mk (MK_VERSION): 20170630
4218695518cSSimon J. Gerraty
4228695518cSSimon J. Gerraty	* meta.stage.mk: avoid triggering stage_* targets with nothing to do.
4238695518cSSimon J. Gerraty
4248695518cSSimon J. Gerraty2017-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
4258695518cSSimon J. Gerraty
4268695518cSSimon J. Gerraty	* meta2deps.py: take special care of '..'
4278695518cSSimon J. Gerraty
4288695518cSSimon J. Gerraty2017-05-15  Simon J. Gerraty  <sjg@bad.crufty.net>
4298695518cSSimon J. Gerraty
4308695518cSSimon J. Gerraty	* install-mk (MK_VERSION): 20170515
4318695518cSSimon J. Gerraty
4328695518cSSimon J. Gerraty	* dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is
4338695518cSSimon J. Gerraty	useful/necessary for a Makefile.depend file to export some knobs.
4348695518cSSimon J. Gerraty	This is complicated when we are doing DIRDEPS_CACHE, so we will
4358695518cSSimon J. Gerraty	handle export of any variables listed in DEP_EXPORT_VARS.
4368695518cSSimon J. Gerraty
437cac6fd11SSimon J. Gerraty2017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>
438cac6fd11SSimon J. Gerraty
439cac6fd11SSimon J. Gerraty	* install-mk (MK_VERSION): 20170505
440cac6fd11SSimon J. Gerraty
441cac6fd11SSimon J. Gerraty	* meta2deps.py: fix botched indenation.
442cac6fd11SSimon J. Gerraty
443cac6fd11SSimon J. Gerraty2017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
444cac6fd11SSimon J. Gerraty
445cac6fd11SSimon J. Gerraty	* sys/*.mk: Remove setting of MAKE it is unnecessary and
446cac6fd11SSimon J. Gerraty	  in many cases wrong (basname rather than full path)
447cac6fd11SSimon J. Gerraty
448cac6fd11SSimon J. Gerraty	* scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk
449cac6fd11SSimon J. Gerraty
450cac6fd11SSimon J. Gerraty	* init.mk: define realbuild to simplify logic in {lib,prog}.mk etc
451cac6fd11SSimon J. Gerraty
452cac6fd11SSimon J. Gerraty2017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
453cac6fd11SSimon J. Gerraty
454cac6fd11SSimon J. Gerraty	* install-mk (MK_VERSION): 20170501
455cac6fd11SSimon J. Gerraty
456cac6fd11SSimon J. Gerraty	* doc.mk: fix typo in DOC_INSTALL_OWN
457cac6fd11SSimon J. Gerraty
458cac6fd11SSimon J. Gerraty	* inc.mk: handle INCGROUPS similar to freebsd
459cac6fd11SSimon J. Gerraty
460cac6fd11SSimon J. Gerraty	* files.mk: add something for files too
461cac6fd11SSimon J. Gerraty
462cac6fd11SSimon J. Gerraty	* add staging logic to lib.mk prog.mk etc.
463cac6fd11SSimon J. Gerraty
464cac6fd11SSimon J. Gerraty2017-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
465cac6fd11SSimon J. Gerraty
466cac6fd11SSimon J. Gerraty	* install-mk (MK_VERSION): 20170424
467cac6fd11SSimon J. Gerraty
468cac6fd11SSimon J. Gerraty	* dirdeps.mk: set NO_DIRDEPS when bootstrapping.
469cac6fd11SSimon J. Gerraty	  also target of bootstrap-this when sed is needed should be ${_want:T}
470cac6fd11SSimon J. Gerraty
471e1cee40dSSimon J. Gerraty2017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
472e1cee40dSSimon J. Gerraty
473e1cee40dSSimon J. Gerraty	* install-mk (MK_VERSION): 20170418
474e1cee40dSSimon J. Gerraty
475e1cee40dSSimon J. Gerraty	* auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a
476e1cee40dSSimon J. Gerraty	  prefix match for .CURDIR - in which case .CURDIR *is* __objdir.
477e1cee40dSSimon J. Gerraty
478b46b9039SSimon J. Gerraty2017-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
479b46b9039SSimon J. Gerraty
480b46b9039SSimon J. Gerraty	* install-mk (MK_VERSION): 20170401
481b46b9039SSimon J. Gerraty
482b46b9039SSimon J. Gerraty	* meta2deps.py: add is_src so we can check if obj dependency
483b46b9039SSimon J. Gerraty	  is also a src dependency.
484b46b9039SSimon J. Gerraty
485b46b9039SSimon J. Gerraty2017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
486b46b9039SSimon J. Gerraty
487b46b9039SSimon J. Gerraty	* install-mk (MK_VERSION): 20170326
488b46b9039SSimon J. Gerraty
489b46b9039SSimon J. Gerraty	* meta.stage.mk: do nothing if NO_STAGING is defined.
490b46b9039SSimon J. Gerraty
491b46b9039SSimon J. Gerraty2017-03-24  Simon J. Gerraty  <sjg@bad.crufty.net>
492b46b9039SSimon J. Gerraty
493b46b9039SSimon J. Gerraty	* auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc.
494b46b9039SSimon J. Gerraty
495b46b9039SSimon J. Gerraty2017-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
496b46b9039SSimon J. Gerraty
497b46b9039SSimon J. Gerraty	* mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_*
498b46b9039SSimon J. Gerraty
4991ce939a7SSimon J. Gerraty2017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
5001ce939a7SSimon J. Gerraty
5011ce939a7SSimon J. Gerraty	* install-mk (MK_VERSION): 20170301
5021ce939a7SSimon J. Gerraty
5031ce939a7SSimon J. Gerraty	* dirdeps.mk (_build_all_dirs): update this outside test for empty
5041ce939a7SSimon J. Gerraty	  DIRDEPS.
5051ce939a7SSimon J. Gerraty
5061ce939a7SSimon J. Gerraty	* meta.stage.mk: allow multiple inclusion to the extent it makes
5071ce939a7SSimon J. Gerraty	  sense.
5081ce939a7SSimon J. Gerraty
5091ce939a7SSimon J. Gerraty2017-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
5101ce939a7SSimon J. Gerraty
5111ce939a7SSimon J. Gerraty	* prog.mk (install_links): depends on realinstall
5121ce939a7SSimon J. Gerraty
5131ce939a7SSimon J. Gerraty2017-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>
5141ce939a7SSimon J. Gerraty
5151ce939a7SSimon J. Gerraty	* install-mk (MK_VERSION): 20170212
5161ce939a7SSimon J. Gerraty
5171ce939a7SSimon J. Gerraty	* dpadd.mk: avoid applying :T:R twice to DPLIBS entries
5181ce939a7SSimon J. Gerraty
5191ce939a7SSimon J. Gerraty2017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>
5201ce939a7SSimon J. Gerraty
5211ce939a7SSimon J. Gerraty	* install-mk (MK_VERSION): 20170130
5221ce939a7SSimon J. Gerraty
5231ce939a7SSimon J. Gerraty	* dirdeps.mk: use :range if we can.
5241ce939a7SSimon J. Gerraty
5251ce939a7SSimon J. Gerraty	* sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130
5261ce939a7SSimon J. Gerraty
5271ce939a7SSimon J. Gerraty	* meta2deps.py: clean paths without using realpath() where possible.
5281ce939a7SSimon J. Gerraty	  fix sort_unique.
5291ce939a7SSimon J. Gerraty
53045447996SSimon J. Gerraty2016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
53145447996SSimon J. Gerraty
53245447996SSimon J. Gerraty	* install-mk (MK_VERSION): 20161212
53345447996SSimon J. Gerraty
53445447996SSimon J. Gerraty	* meta2deps.py: set pid_cwd[pid] when we process 'C'hdir,
53545447996SSimon J. Gerraty	rather than when we detect pid change.
53645447996SSimon J. Gerraty
53745447996SSimon J. Gerraty2016-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>
53845447996SSimon J. Gerraty
53945447996SSimon J. Gerraty	* install-mk (MK_VERSION): 20161207
54045447996SSimon J. Gerraty
54145447996SSimon J. Gerraty	* meta.stage.mk: add stage_as_and_symlink for staging packages.
54245447996SSimon J. Gerraty	  We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able
54345447996SSimon J. Gerraty	  to use foo.tgz to reference the latest staged version - so we
54445447996SSimon J. Gerraty	  make foo.tgz a symlink to it.
54545447996SSimon J. Gerraty	  Using a target to do both operations ensures we stay in sync.
54645447996SSimon J. Gerraty
54745447996SSimon J. Gerraty2016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
54845447996SSimon J. Gerraty
54945447996SSimon J. Gerraty	* install-mk (MK_VERSION): 20161126
55045447996SSimon J. Gerraty
55145447996SSimon J. Gerraty	* dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk
55245447996SSimon J. Gerraty	  so it can add dependencies.
55345447996SSimon J. Gerraty
55445447996SSimon J. Gerraty2016-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
55545447996SSimon J. Gerraty
55645447996SSimon J. Gerraty	* dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE
55745447996SSimon J. Gerraty	  do that they can influence the result correctly.
55845447996SSimon J. Gerraty
55945447996SSimon J. Gerraty	* dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC
56045447996SSimon J. Gerraty
56145447996SSimon J. Gerraty	* dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST
56245447996SSimon J. Gerraty	  similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST
56345447996SSimon J. Gerraty
56445447996SSimon J. Gerraty2016-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>
56545447996SSimon J. Gerraty
56645447996SSimon J. Gerraty	* dirdeps.mk: remove dependence on jot (normal situations anyway).
56745447996SSimon J. Gerraty	  Before we read another Makefile.depend* set DEP_* vars from
56845447996SSimon J. Gerraty	  _DEP_TARGET_SPEC in case it uses any of them with :=
56945447996SSimon J. Gerraty	  When bootstrapping, trim any ,* from extention of chosen _src
57045447996SSimon J. Gerraty	  Makefile.depend* to get the machine value we subst for.
57145447996SSimon J. Gerraty
57245447996SSimon J. Gerraty2016-09-30  Simon J. Gerraty  <sjg@bad.crufty.net>
57345447996SSimon J. Gerraty
57445447996SSimon J. Gerraty	* dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to
57545447996SSimon J. Gerraty	  DEP_SKIP_DIR and DEP_DIRDEPS_FILTER
57645447996SSimon J. Gerraty
57745447996SSimon J. Gerraty	* sys.mk: extract some bits to sys.{debug,vars}.mk
57845447996SSimon J. Gerraty	  for easier re-use by others.
57945447996SSimon J. Gerraty
58045447996SSimon J. Gerraty2016-09-23  Simon Gerraty  <sjg@sjg-mba13>
58145447996SSimon J. Gerraty
58245447996SSimon J. Gerraty	* lib.mk: Use ${PICO} for extension for PIC objects.
58345447996SSimon J. Gerraty	  default to .pico (like NetBSD) safe on case insensitive filesystem.
58445447996SSimon J. Gerraty
58545447996SSimon J. Gerraty2016-08-19  Simon J. Gerraty  <sjg@bad.crufty.net>
58645447996SSimon J. Gerraty
58745447996SSimon J. Gerraty	* meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default
58845447996SSimon J. Gerraty
58995e3ed2cSSimon J. Gerraty2016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
59095e3ed2cSSimon J. Gerraty
59195e3ed2cSSimon J. Gerraty	* install-mk (MK_VERSION): 20160815
59295e3ed2cSSimon J. Gerraty
59395e3ed2cSSimon J. Gerraty	* dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only
59495e3ed2cSSimon J. Gerraty	consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date.
59595e3ed2cSSimon J. Gerraty
59695e3ed2cSSimon J. Gerraty2016-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>
59795e3ed2cSSimon J. Gerraty
59895e3ed2cSSimon J. Gerraty	* meta.sys.mk (.MAKE.META.IGNORE_PATHS):
59995e3ed2cSSimon J. Gerraty	  in meta mode we can ignore the mtime of makefiles
60095e3ed2cSSimon J. Gerraty
60195e3ed2cSSimon J. Gerraty2016-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
60295e3ed2cSSimon J. Gerraty
60395e3ed2cSSimon J. Gerraty	* install-mk (MK_VERSION): 20160802
60495e3ed2cSSimon J. Gerraty
60595e3ed2cSSimon J. Gerraty	* lib.mk (libinstall): depends on beforinstall
60695e3ed2cSSimon J. Gerraty
60795e3ed2cSSimon J. Gerraty	* prog.mk (proginstall): depends on beforinstall
60895e3ed2cSSimon J. Gerraty	  patch from Lauri Tirkkonen
60995e3ed2cSSimon J. Gerraty
61095e3ed2cSSimon J. Gerraty	* dirdeps.mk (bootstrap): When bootstrapping; creat
61195e3ed2cSSimon J. Gerraty	.MAKE.DEPENDFILE_DEFAULT and allow additional filtering via
61295e3ed2cSSimon J. Gerraty	.MAKE.DEPENDFILE_BOOTSTRAP_SED
61395e3ed2cSSimon J. Gerraty
61495e3ed2cSSimon J. Gerraty	* dirdeps.mk: move some comments to where they make sense.
61595e3ed2cSSimon J. Gerraty
61695e3ed2cSSimon J. Gerraty2016-07-27  Simon J. Gerraty  <sjg@bad.crufty.net>
61795e3ed2cSSimon J. Gerraty
61895e3ed2cSSimon J. Gerraty	* dirdeps.mk (DIRDEPS_CACHE): no dirname.
61995e3ed2cSSimon J. Gerraty
620b778b302SSimon J. Gerraty2016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
621b778b302SSimon J. Gerraty
622b778b302SSimon J. Gerraty	* install-mk (MK_VERSION): 20160602
623b778b302SSimon J. Gerraty	* meta.autodep.mk: when passing META_FILES to gendirdeps.mk
624b778b302SSimon J. Gerraty	  do not apply :T to META_XTRAS
625b778b302SSimon J. Gerraty	  patch from Bryan Drewery at FreeBSD.org.
626b778b302SSimon J. Gerraty
627b778b302SSimon J. Gerraty2016-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
628b778b302SSimon J. Gerraty
629b778b302SSimon J. Gerraty	* install-mk (MK_VERSION): 20160530
630b778b302SSimon J. Gerraty	* meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH
631b778b302SSimon J. Gerraty	  make it so.
632b778b302SSimon J. Gerraty
633e48f47ddSSimon J. Gerraty2016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
634e48f47ddSSimon J. Gerraty
635e48f47ddSSimon J. Gerraty	* install-mk (MK_VERSION): 20160512
636e48f47ddSSimon J. Gerraty
637e48f47ddSSimon J. Gerraty	* dpadd.mk: always include local.dpadd.mk if it exists
638e48f47ddSSimon J. Gerraty	  remove some things that better belong in local.dpadd.mk
639e48f47ddSSimon J. Gerraty	  skip INCLUDES_* for staged libs unless SRC_* defined.
640e48f47ddSSimon J. Gerraty
641e48f47ddSSimon J. Gerraty	* own.mk: add INCLUDEDIR
642e48f47ddSSimon J. Gerraty
643e48f47ddSSimon J. Gerraty2016-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
644e48f47ddSSimon J. Gerraty
645e48f47ddSSimon J. Gerraty	* dirdeps.mk: when doing -f dirdeps.mk if target suppies no
646e48f47ddSSimon J. Gerraty	  TARGET_MACHINE - :E will be empty or match part of path, use
647e48f47ddSSimon J. Gerraty	  ${MACHINE}
648e48f47ddSSimon J. Gerraty
649e48f47ddSSimon J. Gerraty2016-04-07  Simon J. Gerraty  <sjg@bad.crufty.net>
650e48f47ddSSimon J. Gerraty
651e48f47ddSSimon J. Gerraty	* meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
652e48f47ddSSimon J. Gerraty	  NO_FILEMON_COOKIE
653e48f47ddSSimon J. Gerraty
654e48f47ddSSimon J. Gerraty	* dirdeps.mk: move the logic that allows for
655e48f47ddSSimon J. Gerraty	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
656e48f47ddSSimon J. Gerraty	  inside the check for !target(_DIRDEP_USE)
657e48f47ddSSimon J. Gerraty
658e48f47ddSSimon J. Gerraty2016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
659e48f47ddSSimon J. Gerraty
660e48f47ddSSimon J. Gerraty	* Use <> when including local*.mk and others which may exist
661e48f47ddSSimon J. Gerraty	  elsewhere so that user can better control what they get.
662e48f47ddSSimon J. Gerraty
663e48f47ddSSimon J. Gerraty	* meta.autodep.mk (NO_FILEMON_COOKIE):
664e48f47ddSSimon J. Gerraty	  create a cookie if we ever build dir with nofilemon
665e48f47ddSSimon J. Gerraty	  so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
666e48f47ddSSimon J. Gerraty
667e48f47ddSSimon J. Gerraty2016-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
668e48f47ddSSimon J. Gerraty
669e48f47ddSSimon J. Gerraty	* install-mk (MK_VERSION): 20160401
670e48f47ddSSimon J. Gerraty
671e48f47ddSSimon J. Gerraty	* meta2deps.py: fix old print statement when debugging.
672e48f47ddSSimon J. Gerraty
673e48f47ddSSimon J. Gerraty	* gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
674e48f47ddSSimon J. Gerraty	  patch from Bryan Drewery
675e48f47ddSSimon J. Gerraty
676e48f47ddSSimon J. Gerraty2016-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
677e48f47ddSSimon J. Gerraty
678e48f47ddSSimon J. Gerraty	* install-mk (MK_VERSION): 20160317 (St. Pats)
679e48f47ddSSimon J. Gerraty
680e48f47ddSSimon J. Gerraty	* warnings.mk: g++ does not like -Wimplicit
681e48f47ddSSimon J. Gerraty
682e48f47ddSSimon J. Gerraty	* sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
683e48f47ddSSimon J. Gerraty	  pelthora of common suffixes for C++
684e48f47ddSSimon J. Gerraty
685e48f47ddSSimon J. Gerraty	* lib.mk: use .So for shared objects
686e48f47ddSSimon J. Gerraty
6873bebe729SSimon J. Gerraty2016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
6883bebe729SSimon J. Gerraty
6893bebe729SSimon J. Gerraty	* install-mk (MK_VERSION): 20160315
6903bebe729SSimon J. Gerraty
6913bebe729SSimon J. Gerraty	* meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
6923bebe729SSimon J. Gerraty	  normally only applies to scripts.
6933bebe729SSimon J. Gerraty
6943bebe729SSimon J. Gerraty	* dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
6953bebe729SSimon J. Gerraty	  well as outside it.
6963bebe729SSimon J. Gerraty
6973bebe729SSimon J. Gerraty2016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
6983bebe729SSimon J. Gerraty
6993bebe729SSimon J. Gerraty	* install-mk (MK_VERSION): 20160310
7003bebe729SSimon J. Gerraty
7013bebe729SSimon J. Gerraty	* dirdeps.mk: use targets rather than a list to track DIRDEPS that
7023bebe729SSimon J. Gerraty	  we have processed; the list gets very inefficient as number of
7033bebe729SSimon J. Gerraty	  DIRDEPS gets large.
7043bebe729SSimon J. Gerraty
7053bebe729SSimon J. Gerraty	* sys.dependfile.mk: fix comment wrt MACHINE
7063bebe729SSimon J. Gerraty
7073bebe729SSimon J. Gerraty	* meta.autodep.mk: ignore staged DPADDs when bootstrapping.
7083bebe729SSimon J. Gerraty	  patch from Bryan Drewery
7093bebe729SSimon J. Gerraty
710be19d90bSSimon J. Gerraty2016-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
711be19d90bSSimon J. Gerraty
712be19d90bSSimon J. Gerraty	* meta2deps.sh: don't ignore subdirs.
713be19d90bSSimon J. Gerraty	  patch from Bryan Drewery
714be19d90bSSimon J. Gerraty
715be19d90bSSimon J. Gerraty2016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
716be19d90bSSimon J. Gerraty
717be19d90bSSimon J. Gerraty	* install-mk (MK_VERSION): 20160226
718be19d90bSSimon J. Gerraty
719be19d90bSSimon J. Gerraty	* gendirdeps.mk: mark _DEPENDFILE .NOMETA
720be19d90bSSimon J. Gerraty
721be19d90bSSimon J. Gerraty2016-02-20  Simon J. Gerraty  <sjg@bad.crufty.net>
722be19d90bSSimon J. Gerraty
723be19d90bSSimon J. Gerraty	* dirdeps.mk: we shouldn't normally include .depend but if we do
724be19d90bSSimon J. Gerraty	  use .dinclude if we can.
725be19d90bSSimon J. Gerraty
726be19d90bSSimon J. Gerraty2016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
727be19d90bSSimon J. Gerraty
728be19d90bSSimon J. Gerraty	* install-mk (MK_VERSION): 20160218
729be19d90bSSimon J. Gerraty	* sys.clean-env.mk: with recent change to Var_Subst()
730be19d90bSSimon J. Gerraty	  we cannot use the '$$' trick, but .export-literal does the job
731be19d90bSSimon J. Gerraty	  we need.
732be19d90bSSimon J. Gerraty	* auto.dep.mk: make use .dinclude if we can.
733be19d90bSSimon J. Gerraty
734be19d90bSSimon J. Gerraty
735be19d90bSSimon J. Gerraty2016-02-05  Simon J. Gerraty  <sjg@bad.crufty.net>
736be19d90bSSimon J. Gerraty
737be19d90bSSimon J. Gerraty	* dirdeps.mk:
738be19d90bSSimon J. Gerraty	  Add _build_all_dirs such that local.dirdeps.mk can
739be19d90bSSimon J. Gerraty	  add fully qualified dirs to it.
740be19d90bSSimon J. Gerraty	  These will be built normally but the current
741be19d90bSSimon J. Gerraty	  DEP_RELDIR will not depend on then (to avoid cycles).
742be19d90bSSimon J. Gerraty	  This makes it easy to hook things like unit-tests into build.
743be19d90bSSimon J. Gerraty
744be19d90bSSimon J. Gerraty
745be19d90bSSimon J. Gerraty2016-01-21  Simon J. Gerraty  <sjg@bad.crufty.net>
746be19d90bSSimon J. Gerraty
747be19d90bSSimon J. Gerraty	* dirdeps.mk: add bootstrap-empty
748be19d90bSSimon J. Gerraty
7496e050540SSimon J. Gerraty2015-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
7506e050540SSimon J. Gerraty
7516e050540SSimon J. Gerraty	* install-mk (MK_VERSION): 20151212
7526e050540SSimon J. Gerraty	* auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
7536e050540SSimon J. Gerraty	  only apply :tA to __objdir when comparing to .OBJDIR
7546e050540SSimon J. Gerraty
755ac3446e9SSimon J. Gerraty2015-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
756ac3446e9SSimon J. Gerraty
757ac3446e9SSimon J. Gerraty	* install-mk (MK_VERSION): 20151111
758ac3446e9SSimon J. Gerraty
759ac3446e9SSimon J. Gerraty	* meta.sys.mk: include sys.dependfile.mk
760ac3446e9SSimon J. Gerraty
761ac3446e9SSimon J. Gerraty	* sys.mk (OPTIONS_DEFAULT_NO): use options.mk
762ac3446e9SSimon J. Gerraty	  to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
763ac3446e9SSimon J. Gerraty	  include local.sys.env.mk early
764ac3446e9SSimon J. Gerraty	  include local.sys.mk later
765ac3446e9SSimon J. Gerraty
766ac3446e9SSimon J. Gerraty	* own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
767ac3446e9SSimon J. Gerraty
768ac3446e9SSimon J. Gerraty2015-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
769ac3446e9SSimon J. Gerraty
770ac3446e9SSimon J. Gerraty	* meta.sys.mk (META_COOKIE_TOUCH):
771ac3446e9SSimon J. Gerraty	  add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
772ac3446e9SSimon J. Gerraty
773ac3446e9SSimon J. Gerraty	* meta.stage.mk: stage_libs should ignore SYMLINKS.
774ac3446e9SSimon J. Gerraty
775ac3446e9SSimon J. Gerraty2015-10-23  Simon J. Gerraty  <sjg@bad.crufty.net>
776ac3446e9SSimon J. Gerraty
777ac3446e9SSimon J. Gerraty	* install-mk (MK_VERSION): 20151022
778ac3446e9SSimon J. Gerraty
779ac3446e9SSimon J. Gerraty	* sys.mk: BSD/OS does not have 'type' as a shell builtin.
780ac3446e9SSimon J. Gerraty
7814c620fe5SSimon J. Gerraty2015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
7824c620fe5SSimon J. Gerraty
7834c620fe5SSimon J. Gerraty	* install-mk (MK_VERSION): 20151020
7844c620fe5SSimon J. Gerraty
7854c620fe5SSimon J. Gerraty	* dirdeps.mk: Add logic for
7864c620fe5SSimon J. Gerraty	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
7874c620fe5SSimon J. Gerraty
7884c620fe5SSimon J. Gerraty2015-10-14  Simon J. Gerraty  <sjg@bad.crufty.net>
7894c620fe5SSimon J. Gerraty
7904c620fe5SSimon J. Gerraty	* install-mk (MK_VERSION): 20151010
7914c620fe5SSimon J. Gerraty
7924c620fe5SSimon J. Gerraty2015-10-02  Simon J. Gerraty  <sjg@bad.crufty.net>
7934c620fe5SSimon J. Gerraty
7944c620fe5SSimon J. Gerraty	* meta.stage.mk: use staging: ${STAGE_TARGETS:...
7954c620fe5SSimon J. Gerraty	  to have stage_lins run last in non-jobs mode.
7964c620fe5SSimon J. Gerraty	  Use .ORDER only for jobs mode.
7974c620fe5SSimon J. Gerraty
7984c620fe5SSimon J. Gerraty2015-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
7994c620fe5SSimon J. Gerraty
8004c620fe5SSimon J. Gerraty	* rst2htm.mk: allow for per target flags etc.
8014c620fe5SSimon J. Gerraty
8024c620fe5SSimon J. Gerraty2015-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
8034c620fe5SSimon J. Gerraty
8044c620fe5SSimon J. Gerraty	* install-mk (MK_VERSION): 20150901
8054c620fe5SSimon J. Gerraty
8064c620fe5SSimon J. Gerraty	* doc.mk: create dir if needed use DOC_INSTALL_OWN
8074c620fe5SSimon J. Gerraty
8084c620fe5SSimon J. Gerraty2015-06-15  Simon J. Gerraty  <sjg@bad.crufty.net>
8094c620fe5SSimon J. Gerraty
8104c620fe5SSimon J. Gerraty	* install-mk (MK_VERSION): 20150615
8114c620fe5SSimon J. Gerraty
8124c620fe5SSimon J. Gerraty	* auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
8134c620fe5SSimon J. Gerraty	  Follow make's normal precedence rules.
8144c620fe5SSimon J. Gerraty
8154c620fe5SSimon J. Gerraty	* gendirdeps.mk: allow customization of the header.
8164c620fe5SSimon J. Gerraty	  eg. for FreeBSD:
8174c620fe5SSimon J. Gerraty	  GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
8184c620fe5SSimon J. Gerraty
8194c620fe5SSimon J. Gerraty	* meta.autodep.mk: ignore dirdeps.cache*
8204c620fe5SSimon J. Gerraty
8214c620fe5SSimon J. Gerraty	* meta.stage.mk: when bootstrapping options it can be handy to
8224c620fe5SSimon J. Gerraty	  throw warnings rather than errors for staging conflicts.
8234c620fe5SSimon J. Gerraty
8244c620fe5SSimon J. Gerraty	* meta.sys.mk: include local.meta.sys.mk for customization
8254c620fe5SSimon J. Gerraty
826128a4105SSimon J. Gerraty2015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
827128a4105SSimon J. Gerraty
828128a4105SSimon J. Gerraty	* install-mk (MK_VERSION): 20150606
829128a4105SSimon J. Gerraty
830128a4105SSimon J. Gerraty	* dirdeps.mk: don't rely on manually maintained Makefile.depend
831128a4105SSimon J. Gerraty	  to set DEP_RELDIR and reset DIRDEPS.
832128a4105SSimon J. Gerraty	  By setting DEP_RELDIR ourselves we can skip :tA
833128a4105SSimon J. Gerraty
834128a4105SSimon J. Gerraty	* gendirdeps.mk: skip setting DEP_RELDIR.
835128a4105SSimon J. Gerraty
836128a4105SSimon J. Gerraty2015-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
837128a4105SSimon J. Gerraty
838128a4105SSimon J. Gerraty	* dirdeps.mk: avoid wildcards like make(bootstrap*)
839128a4105SSimon J. Gerraty
840128a4105SSimon J. Gerraty2015-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
841128a4105SSimon J. Gerraty
842128a4105SSimon J. Gerraty	* install-mk (MK_VERSION): 20150520
843128a4105SSimon J. Gerraty
844128a4105SSimon J. Gerraty	* dirdeps.mk: when we are building dirdeps cache file we *want*
845128a4105SSimon J. Gerraty	  meta_oodate to look at all the Makefile.depend files, so
846128a4105SSimon J. Gerraty	  set .MAKE.DEPENDFILE to something that won't match.
847128a4105SSimon J. Gerraty
848128a4105SSimon J. Gerraty	* meta.stage.mk: for STAGE_AS_* basename of file may not be unique
849128a4105SSimon J. Gerraty	  so first use absolute path as key.
850128a4105SSimon J. Gerraty	  Also skip staging at level 0.
851128a4105SSimon J. Gerraty
85228a6bc81SSimon J. Gerraty2015-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
85328a6bc81SSimon J. Gerraty
85428a6bc81SSimon J. Gerraty	* install-mk (MK_VERSION): 20150430
85528a6bc81SSimon J. Gerraty
85628a6bc81SSimon J. Gerraty	* dirdeps.mk: fix _count_dirdeps for non-cache case.
85728a6bc81SSimon J. Gerraty
858db29cad8SSimon J. Gerraty2015-04-16  Simon J. Gerraty  <sjg@bad.crufty.net>
859db29cad8SSimon J. Gerraty
860db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20150411
861db29cad8SSimon J. Gerraty	  bump version
862db29cad8SSimon J. Gerraty
863db29cad8SSimon J. Gerraty	* own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
864db29cad8SSimon J. Gerraty	  it is here mainly for documentation purposes, since
865db29cad8SSimon J. Gerraty	  if using auto.obj.mk it is better done via sys.mk
866db29cad8SSimon J. Gerraty
867db29cad8SSimon J. Gerraty2015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
868db29cad8SSimon J. Gerraty
869db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20150401
870db29cad8SSimon J. Gerraty
871db29cad8SSimon J. Gerraty	* meta2deps.sh: support @list
872db29cad8SSimon J. Gerraty
873db29cad8SSimon J. Gerraty	* meta2deps.py: updates from Juniper
874db29cad8SSimon J. Gerraty	  o add EXCLUDES
875db29cad8SSimon J. Gerraty	  o skip bogus input files.
876db29cad8SSimon J. Gerraty	  o treat 'M' and 'L' as both an 'R' and a 'W'
877db29cad8SSimon J. Gerraty
878db29cad8SSimon J. Gerraty2015-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
879db29cad8SSimon J. Gerraty
880db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20150303
881db29cad8SSimon J. Gerraty
882db29cad8SSimon J. Gerraty	* dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
883db29cad8SSimon J. Gerraty	  which is built via sub-make so we have a .meta file to tell if
884db29cad8SSimon J. Gerraty	  it is out-of-date.
885db29cad8SSimon J. Gerraty	  The dirdeps-cache contains the same dependency rules that we
886db29cad8SSimon J. Gerraty	  normaly construct on the fly.
887db29cad8SSimon J. Gerraty	  This adds a few seconds overhead when the cache is out of date,
888db29cad8SSimon J. Gerraty	  but for a large target, the savings can be significant (10-20min).
889db29cad8SSimon J. Gerraty
890db29cad8SSimon J. Gerraty2014-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
891db29cad8SSimon J. Gerraty
892db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20141118
893db29cad8SSimon J. Gerraty
894db29cad8SSimon J. Gerraty	* meta.stage.mk: add stale_staged
895db29cad8SSimon J. Gerraty
896db29cad8SSimon J. Gerraty	* dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
897db29cad8SSimon J. Gerraty	  only useful under very rare conditions such as
898db29cad8SSimon J. Gerraty	  FreeBSD's make universe.
899db29cad8SSimon J. Gerraty
900db29cad8SSimon J. Gerraty	* auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
901db29cad8SSimon J. Gerraty
902db29cad8SSimon J. Gerraty2014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
903db29cad8SSimon J. Gerraty
904db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20141111
905db29cad8SSimon J. Gerraty
906db29cad8SSimon J. Gerraty	* mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
907db29cad8SSimon J. Gerraty
908db29cad8SSimon J. Gerraty2014-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
909db29cad8SSimon J. Gerraty
910db29cad8SSimon J. Gerraty	* FILES: include mkopt.sh which allows handling options in shell
911db29cad8SSimon J. Gerraty	  scripts in a manner compatible with options.mk
912db29cad8SSimon J. Gerraty
913db29cad8SSimon J. Gerraty2014-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
914db29cad8SSimon J. Gerraty
915db29cad8SSimon J. Gerraty	* meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
916db29cad8SSimon J. Gerraty	  for GENDIRDEPS_FILTER to avoid surprises.
917db29cad8SSimon J. Gerraty
918db29cad8SSimon J. Gerraty2014-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
919db29cad8SSimon J. Gerraty
920db29cad8SSimon J. Gerraty	* dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
921db29cad8SSimon J. Gerraty	  the time it is applied to __depdirs they have.
922db29cad8SSimon J. Gerraty
923db29cad8SSimon J. Gerraty	* dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
924db29cad8SSimon J. Gerraty	  expects patterns like *.${MACHINE}
925db29cad8SSimon J. Gerraty
926db29cad8SSimon J. Gerraty	* cython.mk (pyprefix?): use pyprefix to find python bits
927db29cad8SSimon J. Gerraty	  since prefix might be something else (where we install our
928db29cad8SSimon J. Gerraty	  stuff)
929db29cad8SSimon J. Gerraty
930db29cad8SSimon J. Gerraty2014-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
931db29cad8SSimon J. Gerraty
932db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20140911
933db29cad8SSimon J. Gerraty
934db29cad8SSimon J. Gerraty	* dirdeps.mk: add bootstrap target to simplify adding support for
935db29cad8SSimon J. Gerraty	  new MACHINE.
936db29cad8SSimon J. Gerraty
937db29cad8SSimon J. Gerraty2014-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
938db29cad8SSimon J. Gerraty
939db29cad8SSimon J. Gerraty	* gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
940db29cad8SSimon J. Gerraty	  GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
941db29cad8SSimon J. Gerraty	  Makefile.depend files.
942db29cad8SSimon J. Gerraty
943db29cad8SSimon J. Gerraty2014-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
944db29cad8SSimon J. Gerraty
945db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20140828
946db29cad8SSimon J. Gerraty
947db29cad8SSimon J. Gerraty	* cython.mk: capture logic for building python extension modules
948db29cad8SSimon J. Gerraty	  with Cython.
949db29cad8SSimon J. Gerraty
950db29cad8SSimon J. Gerraty2014-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
951db29cad8SSimon J. Gerraty
952db29cad8SSimon J. Gerraty	* meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
953db29cad8SSimon J. Gerraty
954db29cad8SSimon J. Gerraty2014-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
955db29cad8SSimon J. Gerraty
956db29cad8SSimon J. Gerraty	* install-mk (MK_VERSION): 20140801
957db29cad8SSimon J. Gerraty
958db29cad8SSimon J. Gerraty	* dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
959db29cad8SSimon J. Gerraty	identify the autodep.mk variant.
960db29cad8SSimon J. Gerraty
961db29cad8SSimon J. Gerraty	* sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
962db29cad8SSimon J. Gerraty	initial value does not match .MAKE.DEPENDFILE_PREFIX
963db29cad8SSimon J. Gerraty
964db29cad8SSimon J. Gerraty	* meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
965db29cad8SSimon J. Gerraty
9665bcb7424SSimon J. Gerraty2014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
9675bcb7424SSimon J. Gerraty
9685bcb7424SSimon J. Gerraty	* install-mk (MK_VERSION): 20140522
9695bcb7424SSimon J. Gerraty
9705bcb7424SSimon J. Gerraty	* lib.mk: use CC to link shlib for linux too
9715bcb7424SSimon J. Gerraty	  patch from Brendan MacDonell
9725bcb7424SSimon J. Gerraty
9735bcb7424SSimon J. Gerraty2014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
9745bcb7424SSimon J. Gerraty
9755bcb7424SSimon J. Gerraty	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
9765bcb7424SSimon J. Gerraty	  if WITH_META_STATS is defined.
9775bcb7424SSimon J. Gerraty
9785bcb7424SSimon J. Gerraty2014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
9795bcb7424SSimon J. Gerraty
9805bcb7424SSimon J. Gerraty	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
9815bcb7424SSimon J. Gerraty	  to supress dirdeps outside of .CURDIR.
9825bcb7424SSimon J. Gerraty
9835bcb7424SSimon J. Gerraty2014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
9845bcb7424SSimon J. Gerraty
9855bcb7424SSimon J. Gerraty	* Fix spelling errors - patch from Pedro Giffuni
9865bcb7424SSimon J. Gerraty
9875bcb7424SSimon J. Gerraty2014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>
9885bcb7424SSimon J. Gerraty
9895bcb7424SSimon J. Gerraty	* install-mk (MK_VERSION): 20140314
9905bcb7424SSimon J. Gerraty
9915bcb7424SSimon J. Gerraty	* dirdeps.mk (beforedirdeps): a handy hook
9925bcb7424SSimon J. Gerraty
9935bcb7424SSimon J. Gerraty	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
9945bcb7424SSimon J. Gerraty	  to visit leaf dirs to be intercepted (eg. for distributed
9955bcb7424SSimon J. Gerraty	  build).
9965bcb7424SSimon J. Gerraty
9975bcb7424SSimon J. Gerraty	* dirdeps.mk (__depdirs): ensure // don't sneak in
9985bcb7424SSimon J. Gerraty
9995bcb7424SSimon J. Gerraty	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in
10005bcb7424SSimon J. Gerraty
10015bcb7424SSimon J. Gerraty
10025bcb7424SSimon J. Gerraty2014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>
10035bcb7424SSimon J. Gerraty
10045bcb7424SSimon J. Gerraty	* rst2htm.mk (RST2PDF): add support for rst2pdf
10055bcb7424SSimon J. Gerraty
10065bcb7424SSimon J. Gerraty2014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
10075bcb7424SSimon J. Gerraty
10085bcb7424SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
10095bcb7424SSimon J. Gerraty	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
10105bcb7424SSimon J. Gerraty	  available.
10115bcb7424SSimon J. Gerraty
10125bcb7424SSimon J. Gerraty2014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
10135bcb7424SSimon J. Gerraty
10145bcb7424SSimon J. Gerraty	* options.mk: avoid :U so this isn't bmake dependent
10155bcb7424SSimon J. Gerraty
10165bcb7424SSimon J. Gerraty2014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>
10175bcb7424SSimon J. Gerraty
10185bcb7424SSimon J. Gerraty	* options.mk: cleanup and simplify semanitcs
10195bcb7424SSimon J. Gerraty	  NO_* dominates all, if both WITH_* and WITHOUT_*
10205bcb7424SSimon J. Gerraty	  are defined then result is DOMINATE_* which defaults to "no".
10215bcb7424SSimon J. Gerraty	  Ie. WITHOUT_ normally wins.
10225bcb7424SSimon J. Gerraty
10230dede8b0SSimon J. Gerraty2013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
10240dede8b0SSimon J. Gerraty
10250dede8b0SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
10260dede8b0SSimon J. Gerraty	* meta2deps.py: convert to print function for python3 compat.
10270dede8b0SSimon J. Gerraty	  we also need to open files with mode 'r' rather than 'rb'
10280dede8b0SSimon J. Gerraty	  otherwise we get bytes instead of strings.
10290dede8b0SSimon J. Gerraty
10300dede8b0SSimon J. Gerraty2013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
10310dede8b0SSimon J. Gerraty
10320dede8b0SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
10330dede8b0SSimon J. Gerraty
10340dede8b0SSimon J. Gerraty	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
10350dede8b0SSimon J. Gerraty	  apply the same filtering (M_dep_qual_fixes) when setting _machines
10360dede8b0SSimon J. Gerraty	  as _build_dirs.
10370dede8b0SSimon J. Gerraty	  Also fix the filtering of Makefile.depend files - for reporting
10380dede8b0SSimon J. Gerraty	  what we are looking for (M_dep_qual_fixes can get confused by
10390dede8b0SSimon J. Gerraty	  Makefile.depend)
10400dede8b0SSimon J. Gerraty	  Add some more debug info.
10410dede8b0SSimon J. Gerraty
10421bbe5942SSimon J. Gerraty2013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
10431bbe5942SSimon J. Gerraty
10441bbe5942SSimon J. Gerraty	* gendirdeps.mk (_objtops): fix typo also
10451bbe5942SSimon J. Gerraty	  while processing M2D_OBJROOTS to gather qualdir_list
10461bbe5942SSimon J. Gerraty	  qualify $ql with loop iterator to ensure correct results.
10471bbe5942SSimon J. Gerraty
10481bbe5942SSimon J. Gerraty2013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
10491bbe5942SSimon J. Gerraty
10501bbe5942SSimon J. Gerraty	* install-mk (MK_VERSION): 20130801
10511bbe5942SSimon J. Gerraty	* libs.mk: update to match progs.mk
10521bbe5942SSimon J. Gerraty
105351ee2c1cSSimon J. Gerraty2013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>
105451ee2c1cSSimon J. Gerraty
105551ee2c1cSSimon J. Gerraty	* install-mk (MK_VERSION): 20130726
105651ee2c1cSSimon J. Gerraty	  some updates from Juniper and FreeBSD
105751ee2c1cSSimon J. Gerraty	  o meta2deps.py: indicate file and line number when we hit parse
105851ee2c1cSSimon J. Gerraty	    errors
105951ee2c1cSSimon J. Gerraty	    also allow @file to provide huge list of .meta files.
106051ee2c1cSSimon J. Gerraty	* meta2deps.py: add try_parse() to cleanup the above.
106151ee2c1cSSimon J. Gerraty
106251ee2c1cSSimon J. Gerraty2013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
106351ee2c1cSSimon J. Gerraty
106451ee2c1cSSimon J. Gerraty	* install-mk (MK_VERSION): 20130716
106551ee2c1cSSimon J. Gerraty	* own.mk: add GPROG as an option
106651ee2c1cSSimon J. Gerraty	* prog.mk: honor MK_GPROF==yes
106751ee2c1cSSimon J. Gerraty
106852d86256SSimon J. Gerraty2013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
106952d86256SSimon J. Gerraty
107052d86256SSimon J. Gerraty	* install-mk (MK_VERSION): 20130505
107152d86256SSimon J. Gerraty	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
107252d86256SSimon J. Gerraty	  for when $MACHINE isn't enough for objdir distinction.
107352d86256SSimon J. Gerraty	  Bring meta2deps.sh closer to par with meta2deps.py.
107452d86256SSimon J. Gerraty
107552d86256SSimon J. Gerraty2013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
107652d86256SSimon J. Gerraty
107752d86256SSimon J. Gerraty	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
107852d86256SSimon J. Gerraty	  also if the target 'beforeinstall' exists, make it depend on
107952d86256SSimon J. Gerraty	  .dirdep (incase it uses STAGE_INSTALL).
108052d86256SSimon J. Gerraty
108152d86256SSimon J. Gerraty2013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
108252d86256SSimon J. Gerraty
108352d86256SSimon J. Gerraty	* install-mk (MK_VERSION): 20130401 ;-)
108452d86256SSimon J. Gerraty	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
108552d86256SSimon J. Gerraty	  wrapper around install(1).
108652d86256SSimon J. Gerraty	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
108752d86256SSimon J. Gerraty
10881748de26SSimon J. Gerraty2013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
10891748de26SSimon J. Gerraty
10901748de26SSimon J. Gerraty	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
10911748de26SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
10921748de26SSimon J. Gerraty
10931748de26SSimon J. Gerraty2013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>
10941748de26SSimon J. Gerraty
10951748de26SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
10961748de26SSimon J. Gerraty	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
10971748de26SSimon J. Gerraty	  any trailing /., rather apply :tA only when needed.
10981748de26SSimon J. Gerraty	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
10991748de26SSimon J. Gerraty	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
11001748de26SSimon J. Gerraty	  consistently.
11011748de26SSimon J. Gerraty	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
11021748de26SSimon J. Gerraty
11031748de26SSimon J. Gerraty2013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
11041748de26SSimon J. Gerraty
11051748de26SSimon J. Gerraty	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
11061748de26SSimon J. Gerraty	  it is simpler to just not update when say building for "host"
11071748de26SSimon J. Gerraty	  (where we know we apply filters to DIRDEPS), and using a
11081748de26SSimon J. Gerraty	  non-machine qualified dependfile.
11091748de26SSimon J. Gerraty
11101748de26SSimon J. Gerraty2013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
11111748de26SSimon J. Gerraty
11121748de26SSimon J. Gerraty	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
11131748de26SSimon J. Gerraty	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
11141748de26SSimon J. Gerraty	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
11151748de26SSimon J. Gerraty	* meta2deps.py: if machine is "host", then also trim
11161748de26SSimon J. Gerraty	  self.host_target from any OBJROOTS.
11171748de26SSimon J. Gerraty
11181748de26SSimon J. Gerraty
11191748de26SSimon J. Gerraty2013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
11201748de26SSimon J. Gerraty
11211748de26SSimon J. Gerraty	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
11221748de26SSimon J. Gerraty	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
11231748de26SSimon J. Gerraty	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
11241748de26SSimon J. Gerraty	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.
11251748de26SSimon J. Gerraty
11261748de26SSimon J. Gerraty2013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>
11271748de26SSimon J. Gerraty
11281748de26SSimon J. Gerraty	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
11291748de26SSimon J. Gerraty	  and hook to all: via staging:
11301748de26SSimon J. Gerraty
11311748de26SSimon J. Gerraty2013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
11321748de26SSimon J. Gerraty
11331748de26SSimon J. Gerraty	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
11341748de26SSimon J. Gerraty	  use a separate variable for the default .MAKE.DEPENDFILE value
11351748de26SSimon J. Gerraty	  so that it can be controlled independently of
11361748de26SSimon J. Gerraty	  .MAKE.DEPENDFILE_PREFERENCE
11371748de26SSimon J. Gerraty
11381748de26SSimon J. Gerraty	* meta.stage.mk: throw error if cp fails etc.
11391748de26SSimon J. Gerraty	  Stage*() return early if passed no args.
11401748de26SSimon J. Gerraty	  .ORDER stage_*
11411748de26SSimon J. Gerraty
11421748de26SSimon J. Gerraty2013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
11431748de26SSimon J. Gerraty
11441748de26SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
11451748de26SSimon J. Gerraty	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
11461748de26SSimon J. Gerraty
11471748de26SSimon J. Gerraty2013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
11481748de26SSimon J. Gerraty
11491748de26SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20130210
11501748de26SSimon J. Gerraty	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
11511748de26SSimon J. Gerraty	  from Juniper.
11521748de26SSimon J. Gerraty	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
11531748de26SSimon J. Gerraty	    than just MACHINE.
11541748de26SSimon J. Gerraty	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.
11551748de26SSimon J. Gerraty
11563cbdda60SSimon J. Gerraty2013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>
11573cbdda60SSimon J. Gerraty
11583cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20130123
11593cbdda60SSimon J. Gerraty	* meta.stage.mk: add stage_links (hard links).
11603cbdda60SSimon J. Gerraty	  if doing hard links, we add dest to link as well.
11613cbdda60SSimon J. Gerraty	  Default the stage dir for [sym]links to STAGE_OBJTOP since
11623cbdda60SSimon J. Gerraty	  these are typically specified as absolute paths.
11633cbdda60SSimon J. Gerraty	  Add -m "mode" flag to StageFiles and StageAs.
11643cbdda60SSimon J. Gerraty
11653cbdda60SSimon J. Gerraty2012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
11663cbdda60SSimon J. Gerraty
11673cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20121111
11683cbdda60SSimon J. Gerraty	* autoconf.mk: avoid meta mode seeing changed commands for config.status
11693cbdda60SSimon J. Gerraty	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
11703cbdda60SSimon J. Gerraty	  in case we were found via .../mk
11713cbdda60SSimon J. Gerraty	* sys.clean-env.mk: move it from examples, we and others use it
11723cbdda60SSimon J. Gerraty	  "as is".
11733cbdda60SSimon J. Gerraty	* FILES: add srctop.mk and options.mk
11743cbdda60SSimon J. Gerraty	* own.mk: convert to using options.mk
11753cbdda60SSimon J. Gerraty	  which is modeled after FreeBSD's handling of MK_*
11763cbdda60SSimon J. Gerraty	  but more flexible.
11773cbdda60SSimon J. Gerraty	  This allows MK_* for boolean knobs to not be confused
11783cbdda60SSimon J. Gerraty	  with MK* which can be commands.
11793cbdda60SSimon J. Gerraty
11803cbdda60SSimon J. Gerraty	* examples/sys.clean-env.mk: add WITH[OUT]_ to
11813cbdda60SSimon J. Gerraty	  MAKE_ENV_SAVE_PREFIX_LIST.
11823cbdda60SSimon J. Gerraty	  Mention that HOME=/var/empty might be a good idea.
11833cbdda60SSimon J. Gerraty
11843cbdda60SSimon J. Gerraty2012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>
11853cbdda60SSimon J. Gerraty
11863cbdda60SSimon J. Gerraty	* sys.dependfile.mk: if not depend file exists, $MACHINE
11873cbdda60SSimon J. Gerraty	  specific ones are supported but not the default,
11883cbdda60SSimon J. Gerraty	  check if any exist and follow suit.
11893cbdda60SSimon J. Gerraty
11903cbdda60SSimon J. Gerraty2012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>
11913cbdda60SSimon J. Gerraty
11923cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20121106
11933cbdda60SSimon J. Gerraty
11943cbdda60SSimon J. Gerraty2012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
11953cbdda60SSimon J. Gerraty
11963cbdda60SSimon J. Gerraty	* import latest dirdeps.mk and meta2deps.py from Juniper.
11973cbdda60SSimon J. Gerraty	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
11983cbdda60SSimon J. Gerraty	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
11993cbdda60SSimon J. Gerraty	  appropriate.
12003cbdda60SSimon J. Gerraty
12013cbdda60SSimon J. Gerraty2012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>
12023cbdda60SSimon J. Gerraty
12033cbdda60SSimon J. Gerraty	* meta.stage.mk: update CLEANFILES
12043cbdda60SSimon J. Gerraty	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
12053cbdda60SSimon J. Gerraty	* progs.mk: Add LDADD to PROG_VARS
12063cbdda60SSimon J. Gerraty
12073cbdda60SSimon J. Gerraty2012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
12083cbdda60SSimon J. Gerraty
12093cbdda60SSimon J. Gerraty	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
12103cbdda60SSimon J. Gerraty	  _STAGED_DIRS so that these can be turned into filters for
12113cbdda60SSimon J. Gerraty	  GENDIRDEPS_FILTER.
12123cbdda60SSimon J. Gerraty
12133cbdda60SSimon J. Gerraty2012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
12143cbdda60SSimon J. Gerraty
12153cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20121010
12163cbdda60SSimon J. Gerraty	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
12173cbdda60SSimon J. Gerraty	target.dirdep matches .dirdep
12183cbdda60SSimon J. Gerraty
12193cbdda60SSimon J. Gerraty2012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
12203cbdda60SSimon J. Gerraty
12213cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120808
12223cbdda60SSimon J. Gerraty	* import latest meta2deps.py from Juniper.
12233cbdda60SSimon J. Gerraty
12243cbdda60SSimon J. Gerraty2012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
12253cbdda60SSimon J. Gerraty
12263cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120711
12273cbdda60SSimon J. Gerraty	* dep.mk: add explicit dependencies on SRCS after applying
12283cbdda60SSimon J. Gerraty	  SRCS_DEP_FILTER
12293cbdda60SSimon J. Gerraty	* meta.autodep.mk: add explicit dependencies on SRCS after
12303cbdda60SSimon J. Gerraty	  applying SRCS_DEP_FILTER
12313cbdda60SSimon J. Gerraty	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
12323cbdda60SSimon J. Gerraty
12333cbdda60SSimon J. Gerraty2012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
12343cbdda60SSimon J. Gerraty
12353cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120626
12363cbdda60SSimon J. Gerraty	* meta.sys.mk: ignore PYTHON if it does not exist
12373cbdda60SSimon J. Gerraty	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
12383cbdda60SSimon J. Gerraty	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
12393cbdda60SSimon J. Gerraty	  entries ending in .${MACHINE} to decide if qualified _dirdep is
12403cbdda60SSimon J. Gerraty	  needed.
12413cbdda60SSimon J. Gerraty	* gendirdeps.mk: only produce unqualified deps if no
12423cbdda60SSimon J. Gerraty	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
1243ac3446e9SSimon J. Gerraty	* meta.subdir.mk: apply SUBDIRDEPS_FILTER
12443cbdda60SSimon J. Gerraty
12453cbdda60SSimon J. Gerraty2012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
12463cbdda60SSimon J. Gerraty
12473cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120420
12483cbdda60SSimon J. Gerraty	* add sys.dependfile.mk so we can experiment with
12493cbdda60SSimon J. Gerraty	  .MAKE.DEPENDFILE_PREFERENCE
12503cbdda60SSimon J. Gerraty	* meta.autodep.mk: _DEPENDFILE is precious!
12513cbdda60SSimon J. Gerraty
12523cbdda60SSimon J. Gerraty2012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
12533cbdda60SSimon J. Gerraty
12543cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120315
12553cbdda60SSimon J. Gerraty	* install-new.mk: avoid being interrupted
12563cbdda60SSimon J. Gerraty
12573cbdda60SSimon J. Gerraty2012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
12583cbdda60SSimon J. Gerraty
12593cbdda60SSimon J. Gerraty	* man.mk: MAN might have multiple values so be careful with exists().
12603cbdda60SSimon J. Gerraty
12613cbdda60SSimon J. Gerraty2012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>
12623cbdda60SSimon J. Gerraty
12633cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20120112
12643cbdda60SSimon J. Gerraty	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
12653cbdda60SSimon J. Gerraty	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
12663cbdda60SSimon J. Gerraty
12673cbdda60SSimon J. Gerraty2011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>
12683cbdda60SSimon J. Gerraty
12693cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION):  bump version to 20111201
12703cbdda60SSimon J. Gerraty	* import dirdeps.mk from Juniper sjg@
12713cbdda60SSimon J. Gerraty	  o more consistent handling of DEP_MACHINE, especially when
12723cbdda60SSimon J. Gerraty	    dealing with an odd Makefile.depend, when normally using
12733cbdda60SSimon J. Gerraty	    Makefile.depend.${MACHINE}
12743cbdda60SSimon J. Gerraty
12753cbdda60SSimon J. Gerraty2011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>
12763cbdda60SSimon J. Gerraty
12773cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111122
12783cbdda60SSimon J. Gerraty	* meta.autodep.mk: add some debug output, be more crisp about
12793cbdda60SSimon J. Gerraty	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend
12803cbdda60SSimon J. Gerraty
12813cbdda60SSimon J. Gerraty2011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
12823cbdda60SSimon J. Gerraty
12833cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111111
12843cbdda60SSimon J. Gerraty	  it's too cool to miss
12853cbdda60SSimon J. Gerraty	* import meta* updates from Juniper sjg@
12863cbdda60SSimon J. Gerraty	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
12873cbdda60SSimon J. Gerraty	    normally using Makefile.depend.${MACHINE}), handy for
12883cbdda60SSimon J. Gerraty	    read-only manually maintained dependencies.
12893cbdda60SSimon J. Gerraty	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
12903cbdda60SSimon J. Gerraty	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
12913cbdda60SSimon J. Gerraty	    anything.
12923cbdda60SSimon J. Gerraty
12933cbdda60SSimon J. Gerraty2011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>
12943cbdda60SSimon J. Gerraty
12953cbdda60SSimon J. Gerraty	* install-new.mk separate the cmp and copy logic to its own function.
12963cbdda60SSimon J. Gerraty
12973cbdda60SSimon J. Gerraty2011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
12983cbdda60SSimon J. Gerraty
12993cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111028
13003cbdda60SSimon J. Gerraty	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
13013cbdda60SSimon J. Gerraty	* subdir.mk: ensure _SUBDIRUSE is provided
13023cbdda60SSimon J. Gerraty	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
13033cbdda60SSimon J. Gerraty	* meta.subdir.mk: always allow for Makefile.depend
13043cbdda60SSimon J. Gerraty
13053cbdda60SSimon J. Gerraty2011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
13063cbdda60SSimon J. Gerraty
13073cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111010
13083cbdda60SSimon J. Gerraty	  o minor tweak to *dirdeps.mk from Juniper sjg@
13093cbdda60SSimon J. Gerraty
13103cbdda60SSimon J. Gerraty2011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
13113cbdda60SSimon J. Gerraty
13123cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20111001
13133cbdda60SSimon J. Gerraty	  o add meta2deps.py from Juniper sjg@
13143cbdda60SSimon J. Gerraty	  o tweak gendirdeps.mk to work with meta2deps.py when not
13153cbdda60SSimon J. Gerraty	    cross-building
13163cbdda60SSimon J. Gerraty	* autoconf.mk: add autoconf-input as a hook for regenerating
13173cbdda60SSimon J. Gerraty	  AUTOCONF_INPUTS (configure).
13183cbdda60SSimon J. Gerraty
13193cbdda60SSimon J. Gerraty2011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>
13203cbdda60SSimon J. Gerraty
13213cbdda60SSimon J. Gerraty	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
13223cbdda60SSimon J. Gerraty	  trigger for updating Makefile.depend*
13233cbdda60SSimon J. Gerraty
13243cbdda60SSimon J. Gerraty2011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
13253cbdda60SSimon J. Gerraty
13263cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110808
13273cbdda60SSimon J. Gerraty	* obj.mk: minor cleanup
13283cbdda60SSimon J. Gerraty	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
13293cbdda60SSimon J. Gerraty
13303cbdda60SSimon J. Gerraty2011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
13313cbdda60SSimon J. Gerraty
13323cbdda60SSimon J. Gerraty	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
13333cbdda60SSimon J. Gerraty	  specified dir.
13343cbdda60SSimon J. Gerraty
13353cbdda60SSimon J. Gerraty2011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
13363cbdda60SSimon J. Gerraty
13373cbdda60SSimon J. Gerraty	* meta.autodep.mk: if XMAKE_META_FILE is set
13383cbdda60SSimon J. Gerraty	  the makefile uses a foreign make, and so dependencies
13393cbdda60SSimon J. Gerraty	  can only be gathered from a clean tree build.
13403cbdda60SSimon J. Gerraty
13413cbdda60SSimon J. Gerraty2011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>
13423cbdda60SSimon J. Gerraty
13433cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110622
13443cbdda60SSimon J. Gerraty	* meta.autodep.mk: improve bootstraping
13453cbdda60SSimon J. Gerraty
13463cbdda60SSimon J. Gerraty2011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
13473cbdda60SSimon J. Gerraty
13483cbdda60SSimon J. Gerraty	* yacc.mk: handle the corner case of .c being removed
13493cbdda60SSimon J. Gerraty	  while .h remains.
13503cbdda60SSimon J. Gerraty
13513cbdda60SSimon J. Gerraty2011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
13523cbdda60SSimon J. Gerraty
13533cbdda60SSimon J. Gerraty	* yacc.mk: do .y.h and .y.c separately
13543cbdda60SSimon J. Gerraty
13553cbdda60SSimon J. Gerraty2011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
13563cbdda60SSimon J. Gerraty
13573cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110606
13583cbdda60SSimon J. Gerraty	* don't store SRC_DIRDEPS in Makefile.depend* by default
13593cbdda60SSimon J. Gerraty	  not everyone needs it.
13603cbdda60SSimon J. Gerraty
13613cbdda60SSimon J. Gerraty2011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
13623cbdda60SSimon J. Gerraty
13633cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110505
13643cbdda60SSimon J. Gerraty	  first release including meta mode makefiles
13653cbdda60SSimon J. Gerraty
13663cbdda60SSimon J. Gerraty2011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
13673cbdda60SSimon J. Gerraty
13683cbdda60SSimon J. Gerraty	* meta.stage.mk: add STAGE_AS_SETS and stage_as
13693cbdda60SSimon J. Gerraty	  for things that need to be staged with different names.
13703cbdda60SSimon J. Gerraty
13713cbdda60SSimon J. Gerraty2011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
13723cbdda60SSimon J. Gerraty
13733cbdda60SSimon J. Gerraty	* meta.stage.mk: add notion of STAGE_SETS
13743cbdda60SSimon J. Gerraty	  so a makefile can stage to multiple dirs
13753cbdda60SSimon J. Gerraty
13763cbdda60SSimon J. Gerraty2011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>
13773cbdda60SSimon J. Gerraty
13783cbdda60SSimon J. Gerraty	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
13793cbdda60SSimon J. Gerraty	  on target name.
13803cbdda60SSimon J. Gerraty
13813cbdda60SSimon J. Gerraty2011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
13823cbdda60SSimon J. Gerraty
13833cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110330
13843cbdda60SSimon J. Gerraty
13853cbdda60SSimon J. Gerraty2011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
13863cbdda60SSimon J. Gerraty
13873cbdda60SSimon J. Gerraty	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
13883cbdda60SSimon J. Gerraty	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
13893cbdda60SSimon J. Gerraty	* sys.mk: re-define M_whence in terms of M_type.
13903cbdda60SSimon J. Gerraty	  M_type is useful for checking if something is a builtin.
13913cbdda60SSimon J. Gerraty
13923cbdda60SSimon J. Gerraty2011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
13933cbdda60SSimon J. Gerraty
13943cbdda60SSimon J. Gerraty	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
13953cbdda60SSimon J. Gerraty	  stage_libs
13963cbdda60SSimon J. Gerraty
13973cbdda60SSimon J. Gerraty2011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
13983cbdda60SSimon J. Gerraty
13993cbdda60SSimon J. Gerraty	* dirdeps.mk: correct value for _depdir_files depends on
14003cbdda60SSimon J. Gerraty	  .MAKE.DEPENDFILE
14013cbdda60SSimon J. Gerraty	  Add our copyright - just to make it clear we have frobbed this
14023cbdda60SSimon J. Gerraty	  quite a bit.
14033cbdda60SSimon J. Gerraty	  DEP_MACHINE needs to be set to MACHINE each time, if using only
14043cbdda60SSimon J. Gerraty	  Makefile.depend (cf. Makefile.depend.${MACHINE})
14053cbdda60SSimon J. Gerraty
14063cbdda60SSimon J. Gerraty	* meta.stage.mk: meta mode version of staging
14073cbdda60SSimon J. Gerraty
14083cbdda60SSimon J. Gerraty	* init.mk, final.mk: include local.*.mk to simplify customization
14093cbdda60SSimon J. Gerraty
14103cbdda60SSimon J. Gerraty2011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
14113cbdda60SSimon J. Gerraty
14123cbdda60SSimon J. Gerraty	* auto.obj.mk: just because we are doing mk destroy, we should
14133cbdda60SSimon J. Gerraty	  still set .OBJDIR correctly if it exists.
14143cbdda60SSimon J. Gerraty
14153cbdda60SSimon J. Gerraty	* install-mk (mksrc): do not exclude meta.sys.mk
14163cbdda60SSimon J. Gerraty
14173cbdda60SSimon J. Gerraty2011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
14183cbdda60SSimon J. Gerraty
14193cbdda60SSimon J. Gerraty	* host-target.mk: set/export _HOST_ARCH etc separately,
14203cbdda60SSimon J. Gerraty	  catch junk resulting from uname -p, so we can find sys/Linux.mk
14213cbdda60SSimon J. Gerraty	  correctly.
14223cbdda60SSimon J. Gerraty
14233cbdda60SSimon J. Gerraty2011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
14243cbdda60SSimon J. Gerraty
14253cbdda60SSimon J. Gerraty	* meta.sys.mk: throw an error if /dev/filemon is missing and we
14263cbdda60SSimon J. Gerraty	  expected to be updating Makefile.depend*
14273cbdda60SSimon J. Gerraty
14283cbdda60SSimon J. Gerraty2011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
14293cbdda60SSimon J. Gerraty
14303cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20110214
14313cbdda60SSimon J. Gerraty	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
14323cbdda60SSimon J. Gerraty
14333cbdda60SSimon J. Gerraty2010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>
14343cbdda60SSimon J. Gerraty
14353cbdda60SSimon J. Gerraty	* meta.sys.mk: not valid for older bmake
14363cbdda60SSimon J. Gerraty
14373cbdda60SSimon J. Gerraty2010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>
14383cbdda60SSimon J. Gerraty
14393cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100919
14403cbdda60SSimon J. Gerraty	include dirdeps.mk et al from Juniper Networks,
14413cbdda60SSimon J. Gerraty	for meta mode - requires filemon(9).
14423cbdda60SSimon J. Gerraty	* sys.mk, subdir.mk: Add hooks for meta mode.
14433cbdda60SSimon J. Gerraty	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
14443cbdda60SSimon J. Gerraty	to make turning it on/off simple.
14453cbdda60SSimon J. Gerraty
14463cbdda60SSimon J. Gerraty2010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
14473cbdda60SSimon J. Gerraty
14483cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100616
14493cbdda60SSimon J. Gerraty	* fix typo in sys.mk
14503cbdda60SSimon J. Gerraty
14513cbdda60SSimon J. Gerraty2010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>
14523cbdda60SSimon J. Gerraty
14533cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100612
14543cbdda60SSimon J. Gerraty	* lib.mk: remove duplicate addition to SOBJS
14553cbdda60SSimon J. Gerraty
14563cbdda60SSimon J. Gerraty2010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
14573cbdda60SSimon J. Gerraty
14583cbdda60SSimon J. Gerraty	* sys.mk: Add a means of selectively turning on debug flags.
14593cbdda60SSimon J. Gerraty	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
14603cbdda60SSimon J. Gerraty	  will act as if we did make -dv if .CURDIR ends in lib/sjg
14613cbdda60SSimon J. Gerraty	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
14623cbdda60SSimon J. Gerraty	  the start of sys.mk rather than the end.
14633cbdda60SSimon J. Gerraty	  This only makes sense for leaf dirs, so we check that
14643cbdda60SSimon J. Gerraty	  .MAKE.LEVEL > 0
14653cbdda60SSimon J. Gerraty
14663cbdda60SSimon J. Gerraty2010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>
14673cbdda60SSimon J. Gerraty
14683cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100608
14693cbdda60SSimon J. Gerraty	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
14703cbdda60SSimon J. Gerraty	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
14713cbdda60SSimon J. Gerraty	  also make it easier for folk to tweak
14723cbdda60SSimon J. Gerraty
14733cbdda60SSimon J. Gerraty2010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
14743cbdda60SSimon J. Gerraty
14753cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100606
14763cbdda60SSimon J. Gerraty	  do not install examples/*
14773cbdda60SSimon J. Gerraty	* FILES: add examples/sys.clean-env.mk
14783cbdda60SSimon J. Gerraty	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
14793cbdda60SSimon J. Gerraty	  this requires bmake-20100606 or later to work.
14803cbdda60SSimon J. Gerraty
14813cbdda60SSimon J. Gerraty2010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>
14823cbdda60SSimon J. Gerraty
14833cbdda60SSimon J. Gerraty	* sys.mk (M_tA): better simulate the result of :tA if not available.
14843cbdda60SSimon J. Gerraty
14853cbdda60SSimon J. Gerraty2010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
14863cbdda60SSimon J. Gerraty
14873cbdda60SSimon J. Gerraty	* sys.mk: canonicalize MAKE_VERSION
14883cbdda60SSimon J. Gerraty	  old versions reported bmake-<src-date> build-<build-date>
14893cbdda60SSimon J. Gerraty	  whereas we only care about <src-date>
14903cbdda60SSimon J. Gerraty
14913cbdda60SSimon J. Gerraty2010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>
14923cbdda60SSimon J. Gerraty
14933cbdda60SSimon J. Gerraty	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
14943cbdda60SSimon J. Gerraty	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
14953cbdda60SSimon J. Gerraty	  is !empty
14963cbdda60SSimon J. Gerraty
14973cbdda60SSimon J. Gerraty2010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
14983cbdda60SSimon J. Gerraty
14993cbdda60SSimon J. Gerraty	* dpadd.mk: use LDADD_* if defined.
15003cbdda60SSimon J. Gerraty
15013cbdda60SSimon J. Gerraty2010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
15023cbdda60SSimon J. Gerraty
15033cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100420
15043cbdda60SSimon J. Gerraty	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
15053cbdda60SSimon J. Gerraty	* autoconf.mk allow AUTO_AUTOCONF
15063cbdda60SSimon J. Gerraty
15073cbdda60SSimon J. Gerraty2010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>
15083cbdda60SSimon J. Gerraty
15093cbdda60SSimon J. Gerraty	* obj.mk: add objwarn to keep freebsd makefiles happy
15103cbdda60SSimon J. Gerraty	* auto.obj.mk: ensure Mkdirs is available.
15113cbdda60SSimon J. Gerraty	* FILES: add auto.dep.mk - a simpler version of autodep.mk
15123cbdda60SSimon J. Gerraty	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
15133cbdda60SSimon J. Gerraty	  asked to do that.
15143cbdda60SSimon J. Gerraty	  fix/simplify the tests for when to run mkdep.
15155bcb7424SSimon J. Gerraty	* auto.dep.mk: add some explanation of how/what we do.
15163cbdda60SSimon J. Gerraty	* autodep.mk: skip the .OPTIONAL frobbing of .depend
15173cbdda60SSimon J. Gerraty	  bmake's FROM_DEPEND flag makes it redundant.
15183cbdda60SSimon J. Gerraty
15193cbdda60SSimon J. Gerraty2010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
15203cbdda60SSimon J. Gerraty
15213cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100404
15223cbdda60SSimon J. Gerraty	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
15233cbdda60SSimon J. Gerraty	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
15243cbdda60SSimon J. Gerraty	Also create a target _SUBDIRUSE so that we can  be used without
15253cbdda60SSimon J. Gerraty	subdir.mk
15263cbdda60SSimon J. Gerraty
15273cbdda60SSimon J. Gerraty2010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>
15283cbdda60SSimon J. Gerraty
15293cbdda60SSimon J. Gerraty	* dep.mk: use <> when .including so can override.
15303cbdda60SSimon J. Gerraty
15313cbdda60SSimon J. Gerraty2010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>
15323cbdda60SSimon J. Gerraty
15333cbdda60SSimon J. Gerraty	* lib.mk (SHLIB_LINKS): ensure a string comparison.
15343cbdda60SSimon J. Gerraty
15353cbdda60SSimon J. Gerraty2010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
15363cbdda60SSimon J. Gerraty
15373cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20100102
15383cbdda60SSimon J. Gerraty	* own.mk: ensure PRINTOBJDIR works
15393cbdda60SSimon J. Gerraty	* autoconf.mk: pass on CONFIGURE_ARGS
15403cbdda60SSimon J. Gerraty	* init.mk: handle COPTS.${.IMPSRC:T} etc.
15413cbdda60SSimon J. Gerraty	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
15423cbdda60SSimon J. Gerraty	  fix handling of symlinks for darwin
15433cbdda60SSimon J. Gerraty	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
15443cbdda60SSimon J. Gerraty	* man.mk: suppress chown when not root.
15453cbdda60SSimon J. Gerraty	* rst2htm.mk: allow srcs from multiple locations.
15463cbdda60SSimon J. Gerraty	* sys.mk: M_whence, stop after 1st line of output.
15473cbdda60SSimon J. Gerraty	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
15483cbdda60SSimon J. Gerraty	* sys/SunOS.mk: we need to export PATH
15493cbdda60SSimon J. Gerraty
15503cbdda60SSimon J. Gerraty2009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>
15513cbdda60SSimon J. Gerraty
15523cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
15533cbdda60SSimon J. Gerraty	  include rst2htm.mk
15543cbdda60SSimon J. Gerraty
15553cbdda60SSimon J. Gerraty2009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>
15563cbdda60SSimon J. Gerraty
15573cbdda60SSimon J. Gerraty	* sys.mk,libnames.mk add .-include <local.*>
15583cbdda60SSimon J. Gerraty	  this allows local customization without the need to edit the
15593cbdda60SSimon J. Gerraty	  distributed files.
15603cbdda60SSimon J. Gerraty
15613cbdda60SSimon J. Gerraty2009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>
15623cbdda60SSimon J. Gerraty
15633cbdda60SSimon J. Gerraty	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
15643cbdda60SSimon J. Gerraty	  older versions already installed.
15653cbdda60SSimon J. Gerraty
15663cbdda60SSimon J. Gerraty2009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>
15673cbdda60SSimon J. Gerraty
15683cbdda60SSimon J. Gerraty	* stage.mk (.stage-install): generalize lib.mk's .libinstall
15693cbdda60SSimon J. Gerraty	* rules.mk rules for generic Makefile.
15703cbdda60SSimon J. Gerraty	* inc.mk install for includes.
15713cbdda60SSimon J. Gerraty
15723cbdda60SSimon J. Gerraty2009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>
15733cbdda60SSimon J. Gerraty
15743cbdda60SSimon J. Gerraty	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
15753cbdda60SSimon J. Gerraty	  this, so provide it if using native make.
15763cbdda60SSimon J. Gerraty
15773cbdda60SSimon J. Gerraty2009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>
15783cbdda60SSimon J. Gerraty
15793cbdda60SSimon J. Gerraty	* FILES: move all the platform *.sys.mk files to sys/*.mk
15803cbdda60SSimon J. Gerraty	* Rename Generic.sys.mk to sys.mk - we always want it.
15813cbdda60SSimon J. Gerraty
15823cbdda60SSimon J. Gerraty2009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>
15833cbdda60SSimon J. Gerraty
15843cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
15853cbdda60SSimon J. Gerraty	* host-target.mk: only export the expensive stuff
15863cbdda60SSimon J. Gerraty	* Generic.sys.mk (sys_mk): for SunOS we need to look for
15873cbdda60SSimon J. Gerraty	  ${HOST_OS}.${HOST_OSMAJOR} too!
15883cbdda60SSimon J. Gerraty
15893cbdda60SSimon J. Gerraty2009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>
15903cbdda60SSimon J. Gerraty
15913cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
15923cbdda60SSimon J. Gerraty	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
15933cbdda60SSimon J. Gerraty	  based on patch from Greg Olszewski.
15943cbdda60SSimon J. Gerraty	* Generic.sys.mk: if we have nothing to work with
15953cbdda60SSimon J. Gerraty	set LORDER etc only if we can find it.
15963cbdda60SSimon J. Gerraty
15973cbdda60SSimon J. Gerraty2009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
15983cbdda60SSimon J. Gerraty
15993cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
16003cbdda60SSimon J. Gerraty	* man.mk: cleanman: remove CLEANMAN if defined.
16013cbdda60SSimon J. Gerraty
16023cbdda60SSimon J. Gerraty2009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>
16033cbdda60SSimon J. Gerraty
16043cbdda60SSimon J. Gerraty	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
16053cbdda60SSimon J. Gerraty
16063cbdda60SSimon J. Gerraty2009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>
16073cbdda60SSimon J. Gerraty
16083cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
16093cbdda60SSimon J. Gerraty	include auto.obj.mk
16103cbdda60SSimon J. Gerraty
16113cbdda60SSimon J. Gerraty
16123cbdda60SSimon J. Gerraty2009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
16133cbdda60SSimon J. Gerraty
16143cbdda60SSimon J. Gerraty	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
16153cbdda60SSimon J. Gerraty
16163cbdda60SSimon J. Gerraty2008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
16173cbdda60SSimon J. Gerraty
16183cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
16193cbdda60SSimon J. Gerraty	man.mk: ensure we generate *.cat1 etc in .
16203cbdda60SSimon J. Gerraty
16213cbdda60SSimon J. Gerraty2008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>
16223cbdda60SSimon J. Gerraty
16233cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
16243cbdda60SSimon J. Gerraty	add prlist.mk
16253cbdda60SSimon J. Gerraty
16263cbdda60SSimon J. Gerraty2007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
16273cbdda60SSimon J. Gerraty
16283cbdda60SSimon J. Gerraty	* Generic.sys.mk: Allow os specific sys.mk to be in a
16293cbdda60SSimon J. Gerraty	subdir of ${.PARSEDIR}
16303cbdda60SSimon J. Gerraty
16313cbdda60SSimon J. Gerraty2007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>
16323cbdda60SSimon J. Gerraty
16333cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
16343cbdda60SSimon J. Gerraty	* general cleanup
16353cbdda60SSimon J. Gerraty	* dpadd.mk introduce DPMAGIC_LIBS_*
16363cbdda60SSimon J. Gerraty
16373cbdda60SSimon J. Gerraty2007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>
16383cbdda60SSimon J. Gerraty
16393cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
16403cbdda60SSimon J. Gerraty
16413cbdda60SSimon J. Gerraty	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
16423cbdda60SSimon J. Gerraty	depend files and ensure clean is called for each lib/prog.
16433cbdda60SSimon J. Gerraty
16443cbdda60SSimon J. Gerraty2007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>
16453cbdda60SSimon J. Gerraty
16463cbdda60SSimon J. Gerraty	* autodep.mk (.depend): delete lines that do not start with
16473cbdda60SSimon J. Gerraty	space and do not contain ':'
16483cbdda60SSimon J. Gerraty
16493cbdda60SSimon J. Gerraty2007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>
16503cbdda60SSimon J. Gerraty
16513cbdda60SSimon J. Gerraty	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
16523cbdda60SSimon J. Gerraty	so make sure the transform for .OPTIONAL copes.
16533cbdda60SSimon J. Gerraty
16543cbdda60SSimon J. Gerraty2007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
16553cbdda60SSimon J. Gerraty
16563cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
16573cbdda60SSimon J. Gerraty
16583cbdda60SSimon J. Gerraty	* own.mk: make sure RM and LN are defined.
16593cbdda60SSimon J. Gerraty
16603cbdda60SSimon J. Gerraty	* obj.mk: fix a typo, and objlink target.
16613cbdda60SSimon J. Gerraty
16623cbdda60SSimon J. Gerraty2006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>
16633cbdda60SSimon J. Gerraty
16643cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version
16655bcb7424SSimon J. Gerraty	* added libs.mk - analogous to progs.mk
16663cbdda60SSimon J. Gerraty	  make both of them always inlcude {lib,prog}.mk
16673cbdda60SSimon J. Gerraty
16683cbdda60SSimon J. Gerraty2006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>
16693cbdda60SSimon J. Gerraty
16703cbdda60SSimon J. Gerraty	* progs.mk: add a means of building multiple apps in one dir.
16713cbdda60SSimon J. Gerraty
16723cbdda60SSimon J. Gerraty2006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
16733cbdda60SSimon J. Gerraty
16743cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20061126
16753cbdda60SSimon J. Gerraty
16763cbdda60SSimon J. Gerraty	* warnings.mk: detect invalid WARNINGS_SET
16773cbdda60SSimon J. Gerraty
16783cbdda60SSimon J. Gerraty	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
16793cbdda60SSimon J. Gerraty	specific warnings.
16803cbdda60SSimon J. Gerraty
16813cbdda60SSimon J. Gerraty	* For .cc sources, turn off warnings that g++ vomits on.
16823cbdda60SSimon J. Gerraty
16833cbdda60SSimon J. Gerraty2006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>
16843cbdda60SSimon J. Gerraty
16853cbdda60SSimon J. Gerraty	* own.mk: if __initialized__ target doesn't exist and we are
16863cbdda60SSimon J. Gerraty	FreeBSD we got here directly from sys.mk
16873cbdda60SSimon J. Gerraty
16883cbdda60SSimon J. Gerraty2006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>
16893cbdda60SSimon J. Gerraty
16903cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20061106
16913cbdda60SSimon J. Gerraty	add scripts.mk
16923cbdda60SSimon J. Gerraty
16933cbdda60SSimon J. Gerraty2006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
16943cbdda60SSimon J. Gerraty
16953cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20060318
16963cbdda60SSimon J. Gerraty
16973cbdda60SSimon J. Gerraty	* autodep.mk: avoid := when modifying OBJS into __dependsrcs
16983cbdda60SSimon J. Gerraty
16993cbdda60SSimon J. Gerraty2006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>
17003cbdda60SSimon J. Gerraty
17013cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20060302
17023cbdda60SSimon J. Gerraty	* autodep.mk: use -MF et al to help gcc+ccache DTRT.
17033cbdda60SSimon J. Gerraty
17043cbdda60SSimon J. Gerraty2006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
17053cbdda60SSimon J. Gerraty
17063cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20060301
17073cbdda60SSimon J. Gerraty	* autodep.mk (.depend):
17083cbdda60SSimon J. Gerraty	if MAKE_VERSION is newer than  20050530 we can make .END depend on
17093cbdda60SSimon J. Gerraty	.depend and make .depend depend on __depsrcs that exist.
17103cbdda60SSimon J. Gerraty	* dpadd.mk: add SRC_PATHADD
17113cbdda60SSimon J. Gerraty
17123cbdda60SSimon J. Gerraty2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
17133cbdda60SSimon J. Gerraty
17143cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20051104
17153cbdda60SSimon J. Gerraty	* prog.mk: remove all the LIBC?= junk, use
17163cbdda60SSimon J. Gerraty	.-include libnames.mk instead (none by default).
17173cbdda60SSimon J. Gerraty	also if USE_DPADD_MK is set, include that.
17183cbdda60SSimon J. Gerraty
17193cbdda60SSimon J. Gerraty2005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
17203cbdda60SSimon J. Gerraty
17213cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20051001
17223cbdda60SSimon J. Gerraty	Add UnixWare.sys.mk from Klaus Heinz.
17233cbdda60SSimon J. Gerraty
17243cbdda60SSimon J. Gerraty2005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>
17253cbdda60SSimon J. Gerraty
17263cbdda60SSimon J. Gerraty	* install-mk: always install *.sys.mk and if need be symlink one
17273cbdda60SSimon J. Gerraty	to sys.mk
17283cbdda60SSimon J. Gerraty
17293cbdda60SSimon J. Gerraty2005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
17303cbdda60SSimon J. Gerraty
17313cbdda60SSimon J. Gerraty	* subdir.mk, own.mk: use .MAKE rather than MAKE
17323cbdda60SSimon J. Gerraty
17333cbdda60SSimon J. Gerraty2004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
17343cbdda60SSimon J. Gerraty
17353cbdda60SSimon J. Gerraty	* own.mk: don't use NetBSD's _SRC_TOP_ it can
17363cbdda60SSimon J. Gerraty	cause confusion.  Also don't take just 'mk' as a
17373cbdda60SSimon J. Gerraty	srctop indicator.
17383cbdda60SSimon J. Gerraty
17393cbdda60SSimon J. Gerraty2004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
17403cbdda60SSimon J. Gerraty
17413cbdda60SSimon J. Gerraty	* warnings.mk: overhauled, now very powerful.
17423cbdda60SSimon J. Gerraty
17433cbdda60SSimon J. Gerraty2004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
17443cbdda60SSimon J. Gerraty
17453cbdda60SSimon J. Gerraty	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
17463cbdda60SSimon J. Gerraty
17473cbdda60SSimon J. Gerraty2004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>
17483cbdda60SSimon J. Gerraty
17493cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): bump version to 20040201
17503cbdda60SSimon J. Gerraty	* extract HOST_TARGET stuff to host-target.mk so own.mk and
17513cbdda60SSimon J. Gerraty	Generic.sys.mk can share.
17523cbdda60SSimon J. Gerraty	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
17533cbdda60SSimon J. Gerraty
17543cbdda60SSimon J. Gerraty2003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>
17553cbdda60SSimon J. Gerraty
17563cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): 20030930
17573cbdda60SSimon J. Gerraty	* rename generic.sys.mk to Generic.sys.mk
17583cbdda60SSimon J. Gerraty	so that it does not get installed (unless being used as sys.mk)
17593cbdda60SSimon J. Gerraty	* set OS and ROOT_GROUP for those that we know the value.
17603cbdda60SSimon J. Gerraty	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
17613cbdda60SSimon J. Gerraty	we don't do it again for each sub-make.
17623cbdda60SSimon J. Gerraty
17633cbdda60SSimon J. Gerraty2003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
17643cbdda60SSimon J. Gerraty
17653cbdda60SSimon J. Gerraty	* install-mk (MK_VERSION): 20030928
17663cbdda60SSimon J. Gerraty	Add some extra *.sys.mk from bootstrap-pkgsrc
17673cbdda60SSimon J. Gerraty	some of these likely still need work.
17683cbdda60SSimon J. Gerraty	Make everything default to root:wheel ownership,
17693cbdda60SSimon J. Gerraty	sys.mk can set ROOT_GROUP accordingly.
17703cbdda60SSimon J. Gerraty
17713cbdda60SSimon J. Gerraty2003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>
17723cbdda60SSimon J. Gerraty
17733cbdda60SSimon J. Gerraty	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
17743cbdda60SSimon J. Gerraty	not the portable ones.
17753cbdda60SSimon J. Gerraty
17763cbdda60SSimon J. Gerraty2003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
17773cbdda60SSimon J. Gerraty
17783cbdda60SSimon J. Gerraty	* install-mk: add ability to use cp -f when updating
17793cbdda60SSimon J. Gerraty	destination .mk files.  Also now possible to play games with
17803cbdda60SSimon J. Gerraty	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
17813cbdda60SSimon J. Gerraty	into dest - not recommended unless you seriously want to.
17823cbdda60SSimon J. Gerraty
17833cbdda60SSimon J. Gerraty2003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
17843cbdda60SSimon J. Gerraty
17853cbdda60SSimon J. Gerraty	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
17863cbdda60SSimon J. Gerraty	for semi-compatability with NetBSD.
17873cbdda60SSimon J. Gerraty
17883cbdda60SSimon J. Gerraty2003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
17893cbdda60SSimon J. Gerraty
17903cbdda60SSimon J. Gerraty	* install-mk: add a version indicator
17913cbdda60SSimon J. Gerraty
17923cbdda60SSimon J. Gerraty2003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>
17933cbdda60SSimon J. Gerraty
17943cbdda60SSimon J. Gerraty	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
17953cbdda60SSimon J. Gerraty
17963cbdda60SSimon J. Gerraty	* install-mk: Allow FORCE_SYS_MK to come from env
17973cbdda60SSimon J. Gerraty
17983cbdda60SSimon J. Gerraty
17993cbdda60SSimon J. Gerraty
1800