xref: /freebsd/contrib/bmake/ChangeLog (revision 6e050540941285e595cbcfe30bc1a0974fa82b0c)
1*6e050540SSimon J. Gerraty2015-12-20  Simon J. Gerraty  <sjg@bad.crufty.net>
2*6e050540SSimon J. Gerraty
3*6e050540SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151220
4*6e050540SSimon J. Gerraty	  Merge with NetBSD make, pick up
5*6e050540SSimon J. Gerraty	  o suff.c: re-initialize suffNull when clearing suffixes.
6*6e050540SSimon J. Gerraty
7ac3446e9SSimon J. Gerraty2015-12-01  Simon J. Gerraty  <sjg@bad.crufty.net>
8ac3446e9SSimon J. Gerraty
9ac3446e9SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151201
10ac3446e9SSimon J. Gerraty	  Merge with NetBSD make, pick up
11ac3446e9SSimon J. Gerraty	  o cond.c: CondCvtArg: avoid access beyond end of empty buffer.
12ac3446e9SSimon J. Gerraty	  o meta.c: meta_oodate: use lstat(2) for checking link target
13ac3446e9SSimon J. Gerraty	    in case it is a symlink.
14ac3446e9SSimon J. Gerraty	  o var.c: avoid calling brk_string and Var_Export1 with empty
15ac3446e9SSimon J. Gerraty	    strings.
16ac3446e9SSimon J. Gerraty
17ac3446e9SSimon J. Gerraty2015-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
18ac3446e9SSimon J. Gerraty
19ac3446e9SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151126
20ac3446e9SSimon J. Gerraty	  Merge with NetBSD make, pick up
21ac3446e9SSimon J. Gerraty	  o parse.c: ParseTrackInput don't access beyond
22ac3446e9SSimon J. Gerraty	    end of old value.
23ac3446e9SSimon J. Gerraty
24ac3446e9SSimon J. Gerraty2015-10-22  Simon J. Gerraty  <sjg@bad.crufty.net>
25ac3446e9SSimon J. Gerraty
26ac3446e9SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151022
27ac3446e9SSimon J. Gerraty
28ac3446e9SSimon J. Gerraty	* Add support for BSD/OS which lacks inttypes.h
29ac3446e9SSimon J. Gerraty	  and really needs sys/param.h for sys/sysctl.h
30ac3446e9SSimon J. Gerraty	  also 'type' is not a shell builtin.
31ac3446e9SSimon J. Gerraty
32ac3446e9SSimon J. Gerraty	* var.c: eliminate uint32_t and need for inttypes.h
33ac3446e9SSimon J. Gerraty
34ac3446e9SSimon J. Gerraty	* main.c: PrintOnError flush stdout before run .ERROR
35ac3446e9SSimon J. Gerraty
36ac3446e9SSimon J. Gerraty	* parse.c: cope with _SC_PAGESIZE not being defined.
37ac3446e9SSimon J. Gerraty
38ac3446e9SSimon J. Gerraty
394c620fe5SSimon J. Gerraty2015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
404c620fe5SSimon J. Gerraty
414c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151020
424c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
434c620fe5SSimon J. Gerraty	  o var.c: fix uninitialized var
444c620fe5SSimon J. Gerraty
454c620fe5SSimon J. Gerraty2015-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
464c620fe5SSimon J. Gerraty
474c620fe5SSimon J. Gerraty	* var.c: the conditional expressions used with ':?' can be
484c620fe5SSimon J. Gerraty	expensive, if already discarding do not evaluate or expand
494c620fe5SSimon J. Gerraty	anything.
504c620fe5SSimon J. Gerraty
514c620fe5SSimon J. Gerraty2015-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
524c620fe5SSimon J. Gerraty
534c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151010
544c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
554c620fe5SSimon J. Gerraty	  o Add Boolean wantit flag to Var_Subst and Var_Parse
564c620fe5SSimon J. Gerraty	    when FALSE we know we are discarding the result and can
574c620fe5SSimon J. Gerraty	    skip operations like Cmd_Exec.
584c620fe5SSimon J. Gerraty
594c620fe5SSimon J. Gerraty2015-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>
604c620fe5SSimon J. Gerraty
614c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151009
624c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
634c620fe5SSimon J. Gerraty	  o var.c: don't check for NULL before free()
644c620fe5SSimon J. Gerraty	  o meta.c: meta_oodate, do not hard code ignore of makeDependfile
654c620fe5SSimon J. Gerraty
664c620fe5SSimon J. Gerraty2015-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>
674c620fe5SSimon J. Gerraty
684c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150910
694c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
704c620fe5SSimon J. Gerraty	  o main.c: with -w print Enter/Leaving messages for objdir too
714c620fe5SSimon J. Gerraty	    if necessary.
724c620fe5SSimon J. Gerraty	  o centralize shell metachar handling
734c620fe5SSimon J. Gerraty
744c620fe5SSimon J. Gerraty	* FILES: add metachar.[ch]
754c620fe5SSimon J. Gerraty
76128a4105SSimon J. Gerraty2015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
77128a4105SSimon J. Gerraty
78128a4105SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150606
79128a4105SSimon J. Gerraty	  Merge with NetBSD make, pick up
80128a4105SSimon J. Gerraty	  o make.1: document .OBJDIR target
81128a4105SSimon J. Gerraty
8228a6bc81SSimon J. Gerraty2015-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
8328a6bc81SSimon J. Gerraty
8428a6bc81SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150505
8528a6bc81SSimon J. Gerraty	  Merge with NetBSD make, pick up
8628a6bc81SSimon J. Gerraty	  o cond.c: be strict about lhs of comparison when evaluating .if
8728a6bc81SSimon J. Gerraty	    but less so when called from variable expansion.
8828a6bc81SSimon J. Gerraty	  o unit-tests/cond2.mk: test various error conditions
8928a6bc81SSimon J. Gerraty
9028a6bc81SSimon J. Gerraty2015-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
9128a6bc81SSimon J. Gerraty
9228a6bc81SSimon J. Gerraty	* machine.sh (MACHINE): Add Bitrig
9328a6bc81SSimon J. Gerraty	  patch from joerg@netbsd.org
9428a6bc81SSimon J. Gerraty
95db29cad8SSimon J. Gerraty2015-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
96db29cad8SSimon J. Gerraty
97db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150418
98db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
99db29cad8SSimon J. Gerraty	  o job.c: use memmove() rather than memcpy()
100db29cad8SSimon J. Gerraty
101db29cad8SSimon J. Gerraty	* unit-tests/varshell.mk: SunOS cannot handle the TERMINATED_BY_SIGNAL
102db29cad8SSimon J. Gerraty	  case, so skip it.
103db29cad8SSimon J. Gerraty
104db29cad8SSimon J. Gerraty2015-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
105db29cad8SSimon J. Gerraty
106db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150411
107db29cad8SSimon J. Gerraty	  bump version - only mk/ changes.
108db29cad8SSimon J. Gerraty
109db29cad8SSimon J. Gerraty2015-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>
110db29cad8SSimon J. Gerraty
111db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150410
112db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
113db29cad8SSimon J. Gerraty	  o document different handling of '-' in jobs mode vs compat
114db29cad8SSimon J. Gerraty	  o fix jobs mode so that '-' only applies to whole job
115db29cad8SSimon J. Gerraty	    when shell lacks hasErrCtl
116db29cad8SSimon J. Gerraty	  o meta.c: use separate vars to track lcwd and latestdir (read)
117db29cad8SSimon J. Gerraty	    per process
118db29cad8SSimon J. Gerraty
119db29cad8SSimon J. Gerraty2015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
120db29cad8SSimon J. Gerraty
121db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150401
122db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
123db29cad8SSimon J. Gerraty	  o meta.c: close meta file in child
124db29cad8SSimon J. Gerraty
125db29cad8SSimon J. Gerraty	* Makefile: use BINDIR.bmake if set.
126db29cad8SSimon J. Gerraty	  Same for MANDIR and SHAREDIR
127db29cad8SSimon J. Gerraty	  Handy for testing release candidates
128db29cad8SSimon J. Gerraty	  in various environments.
129db29cad8SSimon J. Gerraty
130db29cad8SSimon J. Gerraty2015-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
131db29cad8SSimon J. Gerraty
132db29cad8SSimon J. Gerraty	* move initialization of savederr to block where it is used
133db29cad8SSimon J. Gerraty	  to avoid spurious warning from gcc5
134db29cad8SSimon J. Gerraty
135db29cad8SSimon J. Gerraty2014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
136db29cad8SSimon J. Gerraty
137db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20141111
138db29cad8SSimon J. Gerraty	  just a cooler number
139db29cad8SSimon J. Gerraty
140db29cad8SSimon J. Gerraty2014-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
141db29cad8SSimon J. Gerraty
142db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20141105
143db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
144db29cad8SSimon J. Gerraty	  o revert major overhaul of suffix handling
145db29cad8SSimon J. Gerraty	    and POSIX compliance - too much breakage
146db29cad8SSimon J. Gerraty	    and impossible to make backwards compatible.
147db29cad8SSimon J. Gerraty	  o we still have the new unit test structure which is ok.
148db29cad8SSimon J. Gerraty	  o meta.c ensure "-- filemon" is at start of line.
149db29cad8SSimon J. Gerraty
150db29cad8SSimon J. Gerraty2014-09-17  Simon J. Gerraty  <sjg@bad.crufty.net>
151db29cad8SSimon J. Gerraty
152db29cad8SSimon J. Gerraty	* configure.in: test that result of getconf PATH_MAX is numeric
153db29cad8SSimon J. Gerraty	  and discard if not.  Apparently needed for Hurd.
154db29cad8SSimon J. Gerraty
155db29cad8SSimon J. Gerraty2014-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>
156db29cad8SSimon J. Gerraty
157db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140830
158db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
159db29cad8SSimon J. Gerraty	  o major overhaul of suffix handling
160db29cad8SSimon J. Gerraty	  o improved POSIX compliance
161db29cad8SSimon J. Gerraty	  o overhauled unit-tests
162db29cad8SSimon J. Gerraty
1635bcb7424SSimon J. Gerraty2014-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>
1645bcb7424SSimon J. Gerraty
1655bcb7424SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140620
1665bcb7424SSimon J. Gerraty	  Merge with NetBSD make, pick up
167db29cad8SSimon J. Gerraty	  o var.c return varNoError rather than var_Error for ::= modifiers.
1685bcb7424SSimon J. Gerraty
1695bcb7424SSimon J. Gerraty2014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
1705bcb7424SSimon J. Gerraty
1715bcb7424SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140522
1725bcb7424SSimon J. Gerraty	  Merge with NetBSD make, pick up
1735bcb7424SSimon J. Gerraty	  o var.c detect some parse errors.
1745bcb7424SSimon J. Gerraty
1755bcb7424SSimon J. Gerraty2014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
1765bcb7424SSimon J. Gerraty
1775bcb7424SSimon J. Gerraty	* Fix spelling errors - patch from Pedro Giffuni
1785bcb7424SSimon J. Gerraty
1795bcb7424SSimon J. Gerraty2014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
1805bcb7424SSimon J. Gerraty
1815bcb7424SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140214
1825bcb7424SSimon J. Gerraty	  Merge with NetBSD make, pick up
1835bcb7424SSimon J. Gerraty	  o .INCLUDEFROM*
1845bcb7424SSimon J. Gerraty	  o use Var_Value to get MAKEOBJDIR[PREFIX]
1855bcb7424SSimon J. Gerraty	  o reduced realloc'ign in brk_string.
1865bcb7424SSimon J. Gerraty	* configure.in: add a check for compiler supporting __func__
1875bcb7424SSimon J. Gerraty
1880dede8b0SSimon J. Gerraty2014-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1890dede8b0SSimon J. Gerraty
1900dede8b0SSimon J. Gerraty	* boot-strap: ignore mksrc=none
1910dede8b0SSimon J. Gerraty
1920dede8b0SSimon J. Gerraty2014-01-02  Simon J. Gerraty  <sjg@bad.crufty.net>
1930dede8b0SSimon J. Gerraty
1940dede8b0SSimon J. Gerraty	* Makefile (DEFAULT_SYS_PATH?): use just ${prefix}/share/mk
1950dede8b0SSimon J. Gerraty
1960dede8b0SSimon J. Gerraty2014-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1970dede8b0SSimon J. Gerraty
1980dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140101
1990dede8b0SSimon J. Gerraty	* configure.in: set bmake_path_max to min(_SC_PATH_MAX,1024)
2000dede8b0SSimon J. Gerraty	* Makefile.config: defined BMAKE_PATH_MAX to bmake_path_max
2010dede8b0SSimon J. Gerraty	* make.h: use BMAKE_PATH_MAX if MAXPATHLEN not defined (needed for
2020dede8b0SSimon J. Gerraty	  Hurd)
2030dede8b0SSimon J. Gerraty	* configure.in: Add AC_PREREQ and check for
2040dede8b0SSimon J. Gerraty	  sysctl; patch from Andrew Shadura andrewsh at debian.org
2050dede8b0SSimon J. Gerraty
2060dede8b0SSimon J. Gerraty2013-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>
2070dede8b0SSimon J. Gerraty
2080dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20131010
2090dede8b0SSimon J. Gerraty	* lose the const from arg to systcl to avoid problems on older BSDs.
2100dede8b0SSimon J. Gerraty
2110dede8b0SSimon J. Gerraty2013-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
2120dede8b0SSimon J. Gerraty
2130dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20131001
2140dede8b0SSimon J. Gerraty	  Merge with NetBSD make, pick up
2150dede8b0SSimon J. Gerraty	  o main.c: for NATIVE build sysctl to get MACHINE_ARCH from
2160dede8b0SSimon J. Gerraty	    hw.machine_arch if necessary.
2170dede8b0SSimon J. Gerraty	  o meta.c: meta_oodate - need to look at src of Link and target
2180dede8b0SSimon J. Gerraty	    of Move as well.
2190dede8b0SSimon J. Gerraty	* main.c: check that CTL_HW and HW_MACHINE_ARCH exist.
2200dede8b0SSimon J. Gerraty	  provide __arraycount() if needed.
2210dede8b0SSimon J. Gerraty
2221bbe5942SSimon J. Gerraty2013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
2231bbe5942SSimon J. Gerraty
2241bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130904
2251bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
2261bbe5942SSimon J. Gerraty	  o Add VAR_INTERNAL context, so that internal setting of
2271bbe5942SSimon J. Gerraty	    MAKEFILE does not override value set by makefiles.
2281bbe5942SSimon J. Gerraty
2291bbe5942SSimon J. Gerraty2013-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
2301bbe5942SSimon J. Gerraty
2311bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130902
2321bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
2331bbe5942SSimon J. Gerraty	  o CompatRunCommand: only apply shellErrFlag when errCheck is true
2341bbe5942SSimon J. Gerraty
2351bbe5942SSimon J. Gerraty2013-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
2361bbe5942SSimon J. Gerraty
2371bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130828
2381bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
2391bbe5942SSimon J. Gerraty	  o Fix VAR :sh = syntax from Will Andrews at freebsd.org
2401bbe5942SSimon J. Gerraty	  o Call Job_SetPrefix() from Job_Init() so makefiles have
2411bbe5942SSimon J. Gerraty	    opportunity to set .MAKE.JOB.PREFIX
2421bbe5942SSimon J. Gerraty
24351ee2c1cSSimon J. Gerraty2013-07-30  Simon J. Gerraty  <sjg@bad.crufty.net>
24451ee2c1cSSimon J. Gerraty
24551ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130730
24651ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
24751ee2c1cSSimon J. Gerraty	  o Allow suppression of --- job -- tokens by setting
24851ee2c1cSSimon J. Gerraty	    .MAKE.JOB.PREFIX empty.
24951ee2c1cSSimon J. Gerraty
25051ee2c1cSSimon J. Gerraty2013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
25151ee2c1cSSimon J. Gerraty
25251ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130716
25351ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
2545bcb7424SSimon J. Gerraty	  o number of gmake compatibility tweaks
25551ee2c1cSSimon J. Gerraty	    -w for gmake style entering/leaving messages
25651ee2c1cSSimon J. Gerraty	    if .MAKE.LEVEL > 0 indicate it in progname "make[1]" etc.
25751ee2c1cSSimon J. Gerraty	    handle MAKEFLAGS containing only letters.
25851ee2c1cSSimon J. Gerraty	  o when overriding a GLOBAL variable on the command line,
25951ee2c1cSSimon J. Gerraty	    delete it from GLOBAL context so -V doesn't show the wrong
26051ee2c1cSSimon J. Gerraty	    value.
26151ee2c1cSSimon J. Gerraty
26251ee2c1cSSimon J. Gerraty2013-07-06  Simon J. Gerraty  <sjg@bad.crufty.net>
26351ee2c1cSSimon J. Gerraty
26451ee2c1cSSimon J. Gerraty	* configure.in: We don't need MAKE_LEVEL_SAFE anymore.
26551ee2c1cSSimon J. Gerraty
26651ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130706
26751ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
26851ee2c1cSSimon J. Gerraty	  o Shell_Init(): export shellErrFlag if commandShell hasErrCtl is
26951ee2c1cSSimon J. Gerraty	    true so that CompatRunCommand() can use it, to ensure
27051ee2c1cSSimon J. Gerraty	    consistent behavior with jobs mode.
27151ee2c1cSSimon J. Gerraty	  o use MAKE_LEVEL_ENV to define the variable to propagate
27251ee2c1cSSimon J. Gerraty	    .MAKE.LEVEL - currently set to MAKELEVEL (same as gmake).
27351ee2c1cSSimon J. Gerraty	  o meta.c: use .MAKE.META.IGNORE_PATHS to allow customization of
27451ee2c1cSSimon J. Gerraty	    paths to ignore.
27551ee2c1cSSimon J. Gerraty
27674d2e02bSSimon J. Gerraty2013-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
27774d2e02bSSimon J. Gerraty
27874d2e02bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130604
27974d2e02bSSimon J. Gerraty	  Merge with NetBSD make, pick up
28074d2e02bSSimon J. Gerraty	  o job.c: JobCreatePipe: do fcntl() after any tweaking of fd's
28174d2e02bSSimon J. Gerraty	    to avoid leaking descriptors.
28274d2e02bSSimon J. Gerraty
28374d2e02bSSimon J. Gerraty2013-05-28  Simon J. Gerraty  <sjg@bad.crufty.net>
28474d2e02bSSimon J. Gerraty
28574d2e02bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130528
28674d2e02bSSimon J. Gerraty	  Merge with NetBSD make, pick up
28774d2e02bSSimon J. Gerraty	  o var.c: cleanup some left-overs in VarHash()
28874d2e02bSSimon J. Gerraty
28952d86256SSimon J. Gerraty2013-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
29052d86256SSimon J. Gerraty
29152d86256SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130520
29252d86256SSimon J. Gerraty	  generate manifest from component FILES rather than have to
29352d86256SSimon J. Gerraty	  update FILES when mk/FILES changes.
29452d86256SSimon J. Gerraty
29552d86256SSimon J. Gerraty2013-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>
29652d86256SSimon J. Gerraty
29752d86256SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130518
29852d86256SSimon J. Gerraty	  Merge with NetBSD make, pick up
29952d86256SSimon J. Gerraty	  o suff.c: don't skip all processsing for .PHONY targets
30052d86256SSimon J. Gerraty	    else wildcard srcs do not get expanded.
30152d86256SSimon J. Gerraty	  o var.c: expand name of variable to delete if necessary.
30252d86256SSimon J. Gerraty
3031748de26SSimon J. Gerraty2013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
3041748de26SSimon J. Gerraty
3051748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130330
3061748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
3071748de26SSimon J. Gerraty	  o meta.c: refine the handling of .OODATE in commands.
3081748de26SSimon J. Gerraty	    Rather than suppress command comparison for the entire script
3091748de26SSimon J. Gerraty	    as though .NOMETA_CMP had been used, only suppress it for the
3101748de26SSimon J. Gerraty	    one command line.
3111748de26SSimon J. Gerraty	    This allows something like ${.OODATE:M.NOMETA_CMP} to be used to
3121748de26SSimon J. Gerraty	    suppress comparison of a command without otherwise affecting it.
3131748de26SSimon J. Gerraty	  o make.1: document that
3141748de26SSimon J. Gerraty
3151748de26SSimon J. Gerraty2013-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
3161748de26SSimon J. Gerraty
3171748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130321
3181748de26SSimon J. Gerraty	  yes, not quite right but its a cooler number.
3191748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
3201748de26SSimon J. Gerraty	  o parse.c: fix ParseGmakeExport to be portable
3211748de26SSimon J. Gerraty	    and add a unit-test.
3221748de26SSimon J. Gerraty	* meta.c: call meta_init() before makefiles are read and if built
3231748de26SSimon J. Gerraty	  with filemon support set .MAKE.PATH_FILEMON to _PATH_FILEMON
3241748de26SSimon J. Gerraty	  this let's makefiles test for support.
3251748de26SSimon J. Gerraty	  Call meta_mode_init() to process .MAKE.MODE.
3261748de26SSimon J. Gerraty
3271748de26SSimon J. Gerraty2013-03-13  Simon J. Gerraty  <sjg@bad.crufty.net>
3281748de26SSimon J. Gerraty
3291748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130305
3301748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
3311748de26SSimon J. Gerraty	  o run .STALE: target when a dependency from .depend is missing.
3321748de26SSimon J. Gerraty	  o job.c: add Job_RunTarget() for the above and .BEGIN
3331748de26SSimon J. Gerraty
3341748de26SSimon J. Gerraty2013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
3351748de26SSimon J. Gerraty
3361748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130303
3371748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
3381748de26SSimon J. Gerraty	  o main.c: set .MAKE.OS to utsname.sysname
3391748de26SSimon J. Gerraty	  o job.c: more checks for read and poll errors
3401748de26SSimon J. Gerraty	  o var.c: lose VarChangeCase() saves 4% time
3411748de26SSimon J. Gerraty
3421748de26SSimon J. Gerraty2013-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
3431748de26SSimon J. Gerraty
3441748de26SSimon J. Gerraty	* boot-strap: remove MAKEOBJDIRPREFIX from environment since we
3451748de26SSimon J. Gerraty	  want to use MAKEOBJDIR
3461748de26SSimon J. Gerraty
3473cbdda60SSimon J. Gerraty2013-01-27  Simon J. Gerraty  <sjg@bad.crufty.net>
3483cbdda60SSimon J. Gerraty
3493cbdda60SSimon J. Gerraty	* Merge with NetBSD make, pick up
3503cbdda60SSimon J. Gerraty	  o make.1: more info on how shell commands are handled.
3513cbdda60SSimon J. Gerraty	  o job.c,main.c: detect write errors to job pipes.
3523cbdda60SSimon J. Gerraty
3533cbdda60SSimon J. Gerraty2013-01-25  Simon J. Gerraty  <sjg@bad.crufty.net>
3543cbdda60SSimon J. Gerraty
3553cbdda60SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130123
3563cbdda60SSimon J. Gerraty	  Merge with NetBSD make, pick up
3573cbdda60SSimon J. Gerraty	  o meta.c: if script uses .OODATE and meta_oodate() decides
3583cbdda60SSimon J. Gerraty	    rebuild is needed, .OODATE will be empty - set it to .ALLSRC.
3593cbdda60SSimon J. Gerraty	  o var.c: in debug output indicate which variabale modifiers
3603cbdda60SSimon J. Gerraty	    apply to.
3613cbdda60SSimon J. Gerraty	  o remove Check_Cwd logic the makefiles have been fixed.
3623cbdda60SSimon J. Gerraty
3633cbdda60SSimon J. Gerraty2012-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
3643cbdda60SSimon J. Gerraty
3653cbdda60SSimon J. Gerraty	* makefile.in: add a simple makefile for folk who insist on
3663cbdda60SSimon J. Gerraty	  ./configure; make; make install
3673cbdda60SSimon J. Gerraty	  it just runs boot-strap
3683cbdda60SSimon J. Gerraty	* include mk/* to accommodate the above
3693cbdda60SSimon J. Gerraty	* boot-strap:  re-work to accommodate the above
3703cbdda60SSimon J. Gerraty	  mksrc defaults to $Mydir/mk
3713cbdda60SSimon J. Gerraty	  allow op={configure,build,install,clean,all}
3723cbdda60SSimon J. Gerraty	  add options to facilitate install
3733cbdda60SSimon J. Gerraty	* Makefile.config.in: just the bits set by configure
3743cbdda60SSimon J. Gerraty	* Makefile: bump version to 20121212
3753cbdda60SSimon J. Gerraty	  abandon Makefile.in (NetBSD Makefile)
3763cbdda60SSimon J. Gerraty	  leverage mk/* instead
3773cbdda60SSimon J. Gerraty	* configure.in: ensure srcdir is absolute
3783cbdda60SSimon J. Gerraty
37959a02420SSimon J. Gerraty2012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
38059a02420SSimon J. Gerraty
38159a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121111
38259a02420SSimon J. Gerraty	  fix generation of bmake.cat1
38359a02420SSimon J. Gerraty
38459a02420SSimon J. Gerraty2012-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
38559a02420SSimon J. Gerraty
38659a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121109
38759a02420SSimon J. Gerraty	  Merge with NetBSD make, pick up
38859a02420SSimon J. Gerraty	  o make.c: MakeBuildChild: return 0 so search continues if a
38959a02420SSimon J. Gerraty	    .ORDER dependency is detected.
39059a02420SSimon J. Gerraty	  o unit-tests/order: test the above
39159a02420SSimon J. Gerraty
39259a02420SSimon J. Gerraty2012-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>
39359a02420SSimon J. Gerraty
39459a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121102
39559a02420SSimon J. Gerraty	  Merge with NetBSD make, pick up
39659a02420SSimon J. Gerraty	  o cond.c: allow cond_state[] to grow.
39759a02420SSimon J. Gerraty	    In meta mode with a very large tree, we can hit the limit
39859a02420SSimon J. Gerraty	    while processing dirdeps.
39959a02420SSimon J. Gerraty
40059a02420SSimon J. Gerraty2012-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
40159a02420SSimon J. Gerraty
40259a02420SSimon J. Gerraty	* Makefile.in: we need to use ${srcdir} not ${.CURDIR}
40359a02420SSimon J. Gerraty
40493036677SSimon J. Gerraty2012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
40593036677SSimon J. Gerraty
40693036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121010
40793036677SSimon J. Gerraty	  o protect syntax that only bmake parses correctly.
40893036677SSimon J. Gerraty	  o remove auto setting of FORCE_MACHINE, use configure's
40993036677SSimon J. Gerraty	    --with-force-machine=whatever if that is desired.
41093036677SSimon J. Gerraty
41193036677SSimon J. Gerraty2012-10-08  Simon J. Gerraty  <sjg@bad.crufty.net>
41293036677SSimon J. Gerraty
41393036677SSimon J. Gerraty	* Makefile.in: do not lose history from make.1 when generating bmake.1
41493036677SSimon J. Gerraty
41593036677SSimon J. Gerraty2012-10-07  Simon J. Gerraty  <sjg@bad.crufty.net>
41693036677SSimon J. Gerraty
41793036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121007
41893036677SSimon J. Gerraty	  Merge with NetBSD make, pick up
41993036677SSimon J. Gerraty	  o compat.c: ignore empty commands - same as jobs mode.
42093036677SSimon J. Gerraty	  o make.1: document meta chars that cause use of shell
42193036677SSimon J. Gerraty
42293036677SSimon J. Gerraty2012-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
42393036677SSimon J. Gerraty
42493036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): bump version to 20120911
42593036677SSimon J. Gerraty	* bsd.after-import.mk: include Makefile.inc early and allow it to
42693036677SSimon J. Gerraty	  override PROG
42793036677SSimon J. Gerraty
4283955d011SMarcel Moolenaar2012-08-31  Simon J. Gerraty  <sjg@bad.crufty.net>
4293955d011SMarcel Moolenaar
4303955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120831
4313955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4323955d011SMarcel Moolenaar	  o cast sizeof() to int for comparison
4333955d011SMarcel Moolenaar	  o minor make.1 tweak
4343955d011SMarcel Moolenaar
4353955d011SMarcel Moolenaar2012-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>
4363955d011SMarcel Moolenaar
4373955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120830
4383955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4393955d011SMarcel Moolenaar	  o .MAKE.EXPAND_VARIABLES knob can control default behavior of -V
4403955d011SMarcel Moolenaar	  o debug flag -dV causes -V to show raw value regardless.
4413955d011SMarcel Moolenaar
4423955d011SMarcel Moolenaar2012-07-05  Simon J. Gerraty  <sjg@bad.crufty.net>
4433955d011SMarcel Moolenaar
4443955d011SMarcel Moolenaar	* bsd.after-import.mk (after-import): ensure unit-tests/Makefile
4453955d011SMarcel Moolenaar	  gets SRCTOP set.
4463955d011SMarcel Moolenaar
4473955d011SMarcel Moolenaar2012-07-04  Simon J. Gerraty  <sjg@bad.crufty.net>
4483955d011SMarcel Moolenaar
4493955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120704
4503955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4513955d011SMarcel Moolenaar	  o Job_ParseShell should call Shell_Init if it has been
4523955d011SMarcel Moolenaar	    previously called.
4533955d011SMarcel Moolenaar	* Makefile.in: set USE_META based on configure result.
4543955d011SMarcel Moolenaar	  also .PARSEDIR is safer indicator of bmake.
4553955d011SMarcel Moolenaar
4563955d011SMarcel Moolenaar2012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
4573955d011SMarcel Moolenaar
4583955d011SMarcel Moolenaar	* Makefile.in: bump version to 20120626
4593955d011SMarcel Moolenaar	  ensure CPPFLAGS is in CFLAGS
4603955d011SMarcel Moolenaar	* meta.c: avoid nested externs
4613955d011SMarcel Moolenaar	* bsd.after-import.mk: avoid ${.CURDIR}/Makefile as target
4623955d011SMarcel Moolenaar
4633955d011SMarcel Moolenaar2012-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>
4643955d011SMarcel Moolenaar
4653955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120620
4663955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4673955d011SMarcel Moolenaar	  o make_malloc.c: avoid including make_malloc.h again
4683955d011SMarcel Moolenaar
4693955d011SMarcel Moolenaar	* Makefile.in: avoid bmake only syntax or protect with
4703955d011SMarcel Moolenaar	  .if defined(.MAKE.LEVEL)
4713955d011SMarcel Moolenaar	* bsd.after-import.mk: replace .-include with .sinclude
4723955d011SMarcel Moolenaar	  ensure? SRCTOP gets a value
4733955d011SMarcel Moolenaar	* configure.in: look for filemon.h in /usr/include/dev/filemon first.
4743955d011SMarcel Moolenaar
4753955d011SMarcel Moolenaar2012-06-19  Simon J. Gerraty  <sjg@bad.crufty.net>
4763955d011SMarcel Moolenaar
4773955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120612
4783955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4793955d011SMarcel Moolenaar	  o use MAKE_ATTR_* rather than those defined by cdefs.h or compiler
4803955d011SMarcel Moolenaar	    for greater portability.
4813955d011SMarcel Moolenaar	  o unit-tests/forloop: check that .for works as expected wrt
4823955d011SMarcel Moolenaar	    number of times and with "quoted strings".
4833955d011SMarcel Moolenaar
4843955d011SMarcel Moolenaar2012-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
4853955d011SMarcel Moolenaar
4863955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120606
4873955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4883955d011SMarcel Moolenaar	  o compat.c: use kill(2) rather than raise(3).
4893955d011SMarcel Moolenaar	* configure.in: look for sys/dev/filemon
4903955d011SMarcel Moolenaar	* bsd.after-import.mk: add a .-include "Makefile.inc" to Makefile
4913955d011SMarcel Moolenaar	  and pass BOOTSTRAP_XTRAS to boot-strap.
4923955d011SMarcel Moolenaar
4933955d011SMarcel Moolenaar2012-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
4943955d011SMarcel Moolenaar
4953955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120604
4963955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4973955d011SMarcel Moolenaar	  o util.c and var.c share same var for tracking if environ
4983955d011SMarcel Moolenaar	    has been reallocated.
4993955d011SMarcel Moolenaar	  o util.c provide getenv with setenv.
5003955d011SMarcel Moolenaar	* Add MAKE_LEVEL_SAFE as an alternate means of passing MAKE_LEVEL
5013955d011SMarcel Moolenaar	  when the shell actively strips .MAKE.* from the environment.
5023955d011SMarcel Moolenaar	  We still refer to the variable always as .MAKE.LEVEL
5033955d011SMarcel Moolenaar	* util.c fix bug in findenv() was finding prefix of name.
5043955d011SMarcel Moolenaar	* compat.c: re-raising SIGINT etc after running .INTERRUPT
5053955d011SMarcel Moolenaar	  results in more reliable termination of all activity on many
5063955d011SMarcel Moolenaar	  platforms.
5073955d011SMarcel Moolenaar
5083955d011SMarcel Moolenaar2012-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
5093955d011SMarcel Moolenaar
5103955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120602
5113955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5123955d011SMarcel Moolenaar	  o for.c: handle quoted items in .for list
5133955d011SMarcel Moolenaar
5143955d011SMarcel Moolenaar2012-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
5153955d011SMarcel Moolenaar
5163955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120530
5173955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5183955d011SMarcel Moolenaar	  o compat.c: ignore empty command.
5193955d011SMarcel Moolenaar
5203955d011SMarcel Moolenaar2012-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
5213955d011SMarcel Moolenaar
5223955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120524
5233955d011SMarcel Moolenaar	* FILES: add bsd.after-import.mk:
5243955d011SMarcel Moolenaar	  A simple means of integrating bmake into a BSD build system.
5253955d011SMarcel Moolenaar
5263955d011SMarcel Moolenaar2012-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
5273955d011SMarcel Moolenaar
5283955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120520
5293955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5303955d011SMarcel Moolenaar	  o increased limit for nested conditionals.
5313955d011SMarcel Moolenaar
5323955d011SMarcel Moolenaar2012-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>
5333955d011SMarcel Moolenaar
5343955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120518
5353955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5363955d011SMarcel Moolenaar	  o use _exit(2) in signal hanlder
5373955d011SMarcel Moolenaar	  o Don't use the [dir] cache when building nodes that might have
5383955d011SMarcel Moolenaar	    changed since the last exec.
5393955d011SMarcel Moolenaar	  o Avoid nested extern declaration warnings.
5403955d011SMarcel Moolenaar
5413955d011SMarcel Moolenaar2012-04-27  Simon J. Gerraty  <sjg@bad.crufty.net>
5423955d011SMarcel Moolenaar
5433955d011SMarcel Moolenaar	* meta.c (fgetLine): avoid %z - not portable.
5443955d011SMarcel Moolenaar	* parse.c: Since we moved include of sys/mman.h
5453955d011SMarcel Moolenaar	  and def's of MAP_COPY etc. we got dups from a merge.
5463955d011SMarcel Moolenaar
5473955d011SMarcel Moolenaar2012-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
5483955d011SMarcel Moolenaar
5493955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120420
5503955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5513955d011SMarcel Moolenaar	  o restore duplicate supression in .MAKE.MAKEFILES
5523955d011SMarcel Moolenaar	    runtime saving can be significant.
5533955d011SMarcel Moolenaar	  o Var_Subst() uses Buf_DestroyCompact() to reduce memory
5543955d011SMarcel Moolenaar	    consumption up to 20%.
5553955d011SMarcel Moolenaar
5563955d011SMarcel Moolenaar2012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
5573955d011SMarcel Moolenaar
5583955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120420
5593955d011SMarcel Moolenaar          Merge with NetBSD make, pick up
5603955d011SMarcel Moolenaar	  o remove duplicate supression in .MAKE.MAKEFILES
5613955d011SMarcel Moolenaar	  o improved dir cache behavior
5623955d011SMarcel Moolenaar	  o gmake'ish export command
5633955d011SMarcel Moolenaar
5643955d011SMarcel Moolenaar2012-03-25  Simon J. Gerraty  <sjg@bad.crufty.net>
5653955d011SMarcel Moolenaar
5663955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120325
5673955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5683955d011SMarcel Moolenaar	  o fix parsing of :[#] in conditionals.
5693955d011SMarcel Moolenaar
5703955d011SMarcel Moolenaar2012-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
5713955d011SMarcel Moolenaar
5723955d011SMarcel Moolenaar	* Makefile.in: replace use of .Nx in bmake.1 with NetBSD
5733955d011SMarcel Moolenaar	  since some systems cannot cope with .Nx <version>
5743955d011SMarcel Moolenaar
5753955d011SMarcel Moolenaar2011-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
5763955d011SMarcel Moolenaar
5773955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20111111
5783955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5793955d011SMarcel Moolenaar	  o debug output for .PARSEDIR and .PARSEFILE
5803955d011SMarcel Moolenaar
5813955d011SMarcel Moolenaar2011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
5823955d011SMarcel Moolenaar
5833955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION):  bump version to 20111010
5843955d011SMarcel Moolenaar
5853955d011SMarcel Moolenaar2011-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>
5863955d011SMarcel Moolenaar
5873955d011SMarcel Moolenaar	* boot-strap: check for an expected file in the dirs we look for.
5883955d011SMarcel Moolenaar	* make-bootstrap.sh: pass on LDSTATIC
5893955d011SMarcel Moolenaar
5903955d011SMarcel Moolenaar2011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
5913955d011SMarcel Moolenaar
5923955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20111001
5933955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5943955d011SMarcel Moolenaar	  o ensure .PREFIX is set for .PHONY
5953955d011SMarcel Moolenaar	    and .TARGET set for .PHONY run via .END
5963955d011SMarcel Moolenaar	  o __dead used consistently
5973955d011SMarcel Moolenaar
5983955d011SMarcel Moolenaar2011-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>
5993955d011SMarcel Moolenaar
6003955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): 20110909 is a better number ;-)
6013955d011SMarcel Moolenaar
6023955d011SMarcel Moolenaar2011-09-05  Simon J. Gerraty  <sjg@bad.crufty.net>
6033955d011SMarcel Moolenaar
6043955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110905
6053955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6063955d011SMarcel Moolenaar	  o meta_oodate: ignore makeDependfile
6073955d011SMarcel Moolenaar
6083955d011SMarcel Moolenaar2011-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
6093955d011SMarcel Moolenaar
6103955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110828
6113955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6123955d011SMarcel Moolenaar	  o silent=yes in .MAKE.MODE causes meta mode to mark targets
6133955d011SMarcel Moolenaar	    as SILENT if a .meta file is created
6143955d011SMarcel Moolenaar
6153955d011SMarcel Moolenaar2011-08-18  Simon J. Gerraty  <sjg@bad.crufty.net>
6163955d011SMarcel Moolenaar
6173955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110818
6183955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6193955d011SMarcel Moolenaar	  o in meta mode, if target flagged .META a missing .meta file
6203955d011SMarcel Moolenaar	    means target is out-of-date
6213955d011SMarcel Moolenaar	  o fixes for gcc 4.5 warnings
6223955d011SMarcel Moolenaar	  o simplify job printing code
6233955d011SMarcel Moolenaar
6243955d011SMarcel Moolenaar2011-08-09  Simon J. Gerraty  <sjg@bad.crufty.net>
6253955d011SMarcel Moolenaar
6263955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110808
6273955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6283955d011SMarcel Moolenaar	  o do not touch OP_SPECIAL targets when doing make -t
6293955d011SMarcel Moolenaar
6303955d011SMarcel Moolenaar2011-06-22  Simon J. Gerraty  <sjg@bad.crufty.net>
6313955d011SMarcel Moolenaar
6323955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110622
6333955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6343955d011SMarcel Moolenaar	  o meta_oodate detect corrupted .meta file and declare oodate.
6353955d011SMarcel Moolenaar	* configure.in: add check for setsid
6363955d011SMarcel Moolenaar
6373955d011SMarcel Moolenaar2011-06-07  Simon J. Gerraty  <sjg@bad.crufty.net>
6383955d011SMarcel Moolenaar
6393955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
6403955d011SMarcel Moolenaar	  o unit-tests/modts now works on MirBSD
6413955d011SMarcel Moolenaar
6423955d011SMarcel Moolenaar2011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
6433955d011SMarcel Moolenaar
6443955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110606
6453955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6463955d011SMarcel Moolenaar	  o ApplyModifiers: when we parse a variable which is not
6473955d011SMarcel Moolenaar	    the entire modifier string, or not followed by ':', do not
6483955d011SMarcel Moolenaar	    consider it as containing modifiers.
6493955d011SMarcel Moolenaar	  o loadfile: ensure newline at end of mapped file.
6503955d011SMarcel Moolenaar
6513955d011SMarcel Moolenaar2011-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
6523955d011SMarcel Moolenaar
6533955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110505
6543955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6553955d011SMarcel Moolenaar	  o .MAKE.META.BAILIWICK - list of prefixes which define the scope
6563955d011SMarcel Moolenaar	    of make's control.  In meta mode, any generated file within
6573955d011SMarcel Moolenaar	    said bailiwick, which  is found to be missing, causes current
6583955d011SMarcel Moolenaar	    target to be out-of-date.
6593955d011SMarcel Moolenaar
6603955d011SMarcel Moolenaar2011-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
6613955d011SMarcel Moolenaar
6623955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110411
6633955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6643955d011SMarcel Moolenaar	  o when long modifiers fail to match, check sysV style.
6653955d011SMarcel Moolenaar	    - add a test case
6663955d011SMarcel Moolenaar
6673955d011SMarcel Moolenaar2011-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>
6683955d011SMarcel Moolenaar
6693955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110410
6703955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6713955d011SMarcel Moolenaar	  o :hash - cheap 32bit hash of value
6723955d011SMarcel Moolenaar	  o :localtime, :gmtime - use value as format string for strftime.
6733955d011SMarcel Moolenaar
6743955d011SMarcel Moolenaar2011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
6753955d011SMarcel Moolenaar
6763955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110330
6773955d011SMarcel Moolenaar	  mostly because its a cooler version.
6783955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6793955d011SMarcel Moolenaar	  o NetBSD tags for meta.[ch]
6803955d011SMarcel Moolenaar	  o job.c call meta_job_finish() after meta_job_error().
6813955d011SMarcel Moolenaar	  o meta_job_error() should call meta_job_finish() to ensure
6823955d011SMarcel Moolenaar	    .meta file is closed, and safe to copy - if .ERROR target wants.
6833955d011SMarcel Moolenaar	   meta_job_finish() is safe to call repeatedly.
6843955d011SMarcel Moolenaar
6853955d011SMarcel Moolenaar2011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
6863955d011SMarcel Moolenaar
6873955d011SMarcel Moolenaar	* unit-tests/modts: use printf if it is a builtin,
6883955d011SMarcel Moolenaar	  to save us from MirBSD
6893955d011SMarcel Moolenaar
6903955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110329
6913955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6923955d011SMarcel Moolenaar	  o fix for use after free() in CondDoExists().
6933955d011SMarcel Moolenaar	  o meta_oodate() report extra commands and return earlier.
6943955d011SMarcel Moolenaar
6953955d011SMarcel Moolenaar2011-03-27  Simon J. Gerraty  <sjg@bad.crufty.net>
6963955d011SMarcel Moolenaar
6973955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110327
6983955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6993955d011SMarcel Moolenaar	  o meta.c, if .MAKE.MODE contains curdirOk=yes
7003955d011SMarcel Moolenaar	    allow creating .meta files in .CURDIR
7013955d011SMarcel Moolenaar	* boot-strap (TOOL_DIFF): aparently at least on linux distro
7023955d011SMarcel Moolenaar	  formats the output of 'type' differently - so eat any "()"
7033955d011SMarcel Moolenaar
7043955d011SMarcel Moolenaar2011-03-06  Simon J. Gerraty  <sjg@bad.crufty.net>
7053955d011SMarcel Moolenaar
7063955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110306
7073955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
7083955d011SMarcel Moolenaar	  o meta.c, only do getcwd() once
7093955d011SMarcel Moolenaar
7103955d011SMarcel Moolenaar2011-03-05  Simon J. Gerraty  <sjg@bad.crufty.net>
7113955d011SMarcel Moolenaar
7123955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110305
7133955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
7143955d011SMarcel Moolenaar	  o correct sysV substitution handling of empty lhs and variable
7153955d011SMarcel Moolenaar	  o correct exists() check for dir with trailing /
7163955d011SMarcel Moolenaar	  o correct handling of modifiers for non-existant variables
7173955d011SMarcel Moolenaar	    during evaluation of conditionals.
7183955d011SMarcel Moolenaar	  o ensure MAP_FILE is defined.
7193955d011SMarcel Moolenaar	  o meta.c use curdir[] now exported by main.c
7203955d011SMarcel Moolenaar
7213955d011SMarcel Moolenaar2011-02-25  Simon J. Gerraty  <sjg@bad.crufty.net>
7223955d011SMarcel Moolenaar
7233955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110225
7243955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
7253955d011SMarcel Moolenaar	  o fix for incorrect .PARSEDIR when .OBJDIR is re-computed after
7263955d011SMarcel Moolenaar	    makefiles have been read.
7273955d011SMarcel Moolenaar	  o fix example of :? modifier in man page.
7283955d011SMarcel Moolenaar
7293955d011SMarcel Moolenaar2011-02-13  Simon J. Gerraty  <sjg@bad.crufty.net>
7303955d011SMarcel Moolenaar
7313955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110214
7323955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
7333955d011SMarcel Moolenaar	  o meta.c handle realpath() failing when generating meta file
7343955d011SMarcel Moolenaar	    name.
7353955d011SMarcel Moolenaar
7363955d011SMarcel Moolenaar	* sigcompat.c: convert to ansi so we can use higher warning levels.
7373955d011SMarcel Moolenaar
7383955d011SMarcel Moolenaar
7393955d011SMarcel Moolenaar2011-02-07  Simon J. Gerraty  <sjg@bad.crufty.net>
7403955d011SMarcel Moolenaar
7413955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110207
7423955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
7433955d011SMarcel Moolenaar	  o fix for bug in meta mode.
7443955d011SMarcel Moolenaar
7453955d011SMarcel Moolenaar2011-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>
7463955d011SMarcel Moolenaar
7473955d011SMarcel Moolenaar	* parse.c: SunOS 5.8 at least does not have MAP_FILE
7483955d011SMarcel Moolenaar
7493955d011SMarcel Moolenaar2011-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
7503955d011SMarcel Moolenaar
7513955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110101
7523955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
7533955d011SMarcel Moolenaar	  o use mmap(2) if available, for reading makefiles
7543955d011SMarcel Moolenaar
7553955d011SMarcel Moolenaar2010-12-15  Simon J. Gerraty  <sjg@bad.crufty.net>
7563955d011SMarcel Moolenaar
7573955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101215
7583955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
7593955d011SMarcel Moolenaar	  o ensure meta_job_error() does not report a previous .meta file
7603955d011SMarcel Moolenaar	    as being culprit.
7613955d011SMarcel Moolenaar
7623955d011SMarcel Moolenaar2010-12-10  Simon J. Gerraty  <sjg@bad.crufty.net>
7633955d011SMarcel Moolenaar
7643955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101210
7653955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
7663955d011SMarcel Moolenaar	  o meta_oodate: track cwd per process, and only consider target
7673955d011SMarcel Moolenaar	    out-of-date if missing file is outside make's CWD.
7683955d011SMarcel Moolenaar	    Ignore files in /tmp/ etc.
7693955d011SMarcel Moolenaar	  o to ensure unit-tests results match, need to control LC_ALL
7703955d011SMarcel Moolenaar	    as well as LANG.
7713955d011SMarcel Moolenaar	  o fix for parsing bug in var.c
7723955d011SMarcel Moolenaar
7733955d011SMarcel Moolenaar2010-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
7743955d011SMarcel Moolenaar
7753955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101126
7763955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
7773955d011SMarcel Moolenaar	  o if stale dependency is an IMPSRC, search via .PATH
7783955d011SMarcel Moolenaar	  o meta_oodate: if a referenced file is missing, target is
7793955d011SMarcel Moolenaar	    out-of-date.
7803955d011SMarcel Moolenaar	  o meta_oodate: if a target uses .OODATE in its commands,
7813955d011SMarcel Moolenaar	    it (.OODATE) needs to be recomputed.
7823955d011SMarcel Moolenaar	  o keep a pointer to youngest child node, rather than just its
7833955d011SMarcel Moolenaar	    mtime.
7843955d011SMarcel Moolenaar
7853955d011SMarcel Moolenaar2010-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>
7863955d011SMarcel Moolenaar
7873955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101101
7883955d011SMarcel Moolenaar
7893955d011SMarcel Moolenaar2010-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>
7903955d011SMarcel Moolenaar
7913955d011SMarcel Moolenaar	* machine.sh: like os.sh,
7923955d011SMarcel Moolenaar	allow for uname -p producing useless drivel
7933955d011SMarcel Moolenaar
7943955d011SMarcel Moolenaar2010-09-13  Simon J. Gerraty  <sjg@bad.crufty.net>
7953955d011SMarcel Moolenaar
7963955d011SMarcel Moolenaar	* boot-strap: document configure knobs for meta and filemon.
7973955d011SMarcel Moolenaar
7983955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100911
7993955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
8003955d011SMarcel Moolenaar	  o meta.c - meta mode
8013955d011SMarcel Moolenaar
8023955d011SMarcel Moolenaar	* make-bootstrap.sh.in: handle meta.c
8033955d011SMarcel Moolenaar	* configure.in: add knobs for use_meta and filemon_h
8043955d011SMarcel Moolenaar	  also, look for dirname, str[e]sep and strlcpy
8053955d011SMarcel Moolenaar	* util.c: add simple err[x] and warn[x]
8063955d011SMarcel Moolenaar
8073955d011SMarcel Moolenaar2010-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
8083955d011SMarcel Moolenaar
8093955d011SMarcel Moolenaar	* boot-strap (TOOL_DIFF): set this to ensure tests use
8103955d011SMarcel Moolenaar	  the same version of diff that configure tested
8113955d011SMarcel Moolenaar
8123955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100808
8133955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
8143955d011SMarcel Moolenaar	  o in jobs mode, when we discover we cannot make something,
8153955d011SMarcel Moolenaar	    call PrintOnError before exit.
8163955d011SMarcel Moolenaar
8173955d011SMarcel Moolenaar2010-08-06  Simon J. Gerraty  <sjg@bad.crufty.net>
8183955d011SMarcel Moolenaar
8193955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100806
8203955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
8213955d011SMarcel Moolenaar	  o formatting fixes for ignored errors
8223955d011SMarcel Moolenaar	  o ensure jobs are cleaned up regardless of where wait() was called.
8233955d011SMarcel Moolenaar
8243955d011SMarcel Moolenaar2010-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
8253955d011SMarcel Moolenaar
8263955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100618
8273955d011SMarcel Moolenaar	* os.sh (MACHINE_ARCH): watch out for drivel from uname -p
8283955d011SMarcel Moolenaar
8293955d011SMarcel Moolenaar2010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
8303955d011SMarcel Moolenaar
8313955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100616
8323955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
8333955d011SMarcel Moolenaar	  o man page update
8343955d011SMarcel Moolenaar	  o call PrintOnError from JobFinish when we detect an error we
8353955d011SMarcel Moolenaar	    are not ignoring.
8363955d011SMarcel Moolenaar
8373955d011SMarcel Moolenaar2010-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
8383955d011SMarcel Moolenaar
8393955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100606
8403955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
8413955d011SMarcel Moolenaar	  o man page update
8423955d011SMarcel Moolenaar
8433955d011SMarcel Moolenaar2010-06-05  Simon J. Gerraty  <sjg@bad.crufty.net>
8443955d011SMarcel Moolenaar
8453955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100605
8463955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
8473955d011SMarcel Moolenaar	  o use bmake_signal() which is a wrapper around sigaction()
8483955d011SMarcel Moolenaar	    in place of signal()
8493955d011SMarcel Moolenaar	  o add .export-env to allow exporting variables to environment
8503955d011SMarcel Moolenaar	    without tracking (so no re-export when the internal value is
8513955d011SMarcel Moolenaar	    changed).
8523955d011SMarcel Moolenaar
8533955d011SMarcel Moolenaar2010-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
8543955d011SMarcel Moolenaar
8553955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100524
8563955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
8573955d011SMarcel Moolenaar	  o fix for .info et al being greedy.
8583955d011SMarcel Moolenaar
8593955d011SMarcel Moolenaar2010-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
8603955d011SMarcel Moolenaar
8613955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100520
8623955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
8633955d011SMarcel Moolenaar	  o back to using realpath on argv[0]
8643955d011SMarcel Moolenaar	    but only if contains '/' and does not start with '/'.
8653955d011SMarcel Moolenaar
8663955d011SMarcel Moolenaar2010-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
8673955d011SMarcel Moolenaar
8683955d011SMarcel Moolenaar	* boot-strap: use absolute path for bmake when running tests.
8693955d011SMarcel Moolenaar
8703955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION):  bump version to 20100510
8713955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
8723955d011SMarcel Moolenaar	  o revert use of realpath on argv[0]
8733955d011SMarcel Moolenaar	    too many corner cases.
8743955d011SMarcel Moolenaar	  o print MAKE_PRINT_VAR_ON_ERROR before running .ERROR target.
8753955d011SMarcel Moolenaar
8763955d011SMarcel Moolenaar2010-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
8773955d011SMarcel Moolenaar
8783955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100505
8793955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
8803955d011SMarcel Moolenaar	  o fix for missed SIGCHLD when compiled with SunPRO
8813955d011SMarcel Moolenaar	    actually for bmake, defining FORCE_POSIX_SIGNALS would have
8823955d011SMarcel Moolenaar	    done the job.
8833955d011SMarcel Moolenaar
8843955d011SMarcel Moolenaar2010-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
8853955d011SMarcel Moolenaar
8863955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100430
8873955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
8883955d011SMarcel Moolenaar	  o fflush stdout before writing to stdout
8893955d011SMarcel Moolenaar
8903955d011SMarcel Moolenaar2010-04-23  Simon J. Gerraty  <sjg@bad.crufty.net>
8913955d011SMarcel Moolenaar
8923955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100423
8933955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
8943955d011SMarcel Moolenaar	  o updated unit tests for Haiku (this time for sure).
8953955d011SMarcel Moolenaar	* boot-strap: based on patch from joerg
8963955d011SMarcel Moolenaar	  honor --with-default-sys-path better.
8973955d011SMarcel Moolenaar	* boot-strap: remove mention of --with-prefix-sys-path
8983955d011SMarcel Moolenaar
8993955d011SMarcel Moolenaar2010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
9003955d011SMarcel Moolenaar
9013955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100422
9023955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
9033955d011SMarcel Moolenaar	  o fix for vfork() on Darwin.
9043955d011SMarcel Moolenaar	  o fix for bogus $TMPDIR.
9053955d011SMarcel Moolenaar	  o set .MAKE.MODE=compat for -B
9063955d011SMarcel Moolenaar	  o set .MAKE.JOBS=max_jobs for -j max_jobs
9073955d011SMarcel Moolenaar	  o allow unit-tests to run without any *.mk
9083955d011SMarcel Moolenaar	  o unit-tests/modmisc be more conservative in dirs presumed to exist.
9093955d011SMarcel Moolenaar	* boot-strap: ignore /usr/share/mk except on NetBSD.
9103955d011SMarcel Moolenaar	* unit-tests/Makefile.in: set LANG=C when running unit-tests to
9113955d011SMarcel Moolenaar	  ensure sort(1) behaves as expected.
9123955d011SMarcel Moolenaar
9133955d011SMarcel Moolenaar2010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
9143955d011SMarcel Moolenaar
9153955d011SMarcel Moolenaar	* boot-strap: add FindHereOrAbove so we can use -m .../mk
9163955d011SMarcel Moolenaar
9173955d011SMarcel Moolenaar2010-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
9183955d011SMarcel Moolenaar
9193955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100420
9203955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
9213955d011SMarcel Moolenaar	  o fix for variable realpath() behavior.
9223955d011SMarcel Moolenaar	    we have to stat(2) the result to be sure.
9233955d011SMarcel Moolenaar	  o fix for .export (all) when nested vars use :sh
9243955d011SMarcel Moolenaar
9253955d011SMarcel Moolenaar2010-04-14  Simon J. Gerraty  <sjg@bad.crufty.net>
9263955d011SMarcel Moolenaar
9273955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100414
9283955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
9293955d011SMarcel Moolenaar	  o use realpath to resolve argv[0] (for .MAKE) if needed.
9303955d011SMarcel Moolenaar	  o add realpath from libc.
9313955d011SMarcel Moolenaar	  o add :tA to resolve variable via realpath(3) if possible.
9323955d011SMarcel Moolenaar
9333955d011SMarcel Moolenaar2010-04-08  Simon J. Gerraty  <sjg@bad.crufty.net>
9343955d011SMarcel Moolenaar
9353955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100408
9363955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
9373955d011SMarcel Moolenaar	  o unit tests for .ERROR, .error
9383955d011SMarcel Moolenaar	  o fix for .ERROR to ensure it cannot be default target.
9393955d011SMarcel Moolenaar
9403955d011SMarcel Moolenaar2010-04-06  Simon J. Gerraty  <sjg@bad.crufty.net>
9413955d011SMarcel Moolenaar
9423955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100406
9433955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
9443955d011SMarcel Moolenaar	  o fix for compat mode "Error code" going to debug_file.
9453955d011SMarcel Moolenaar	  o fix for .ALLSRC being populated twice.
9463955d011SMarcel Moolenaar	  o support for .info, .warning and .error directives
9473955d011SMarcel Moolenaar	  o .MAKE.MODE to control make's operational mode
9483955d011SMarcel Moolenaar	  o .MAKE.MAKEFILE_PREFERENCE to control the preferred makefile
9493955d011SMarcel Moolenaar	    name(s).
9503955d011SMarcel Moolenaar	  o .MAKE.DEPENDFILE to control the name of the depend file
9513955d011SMarcel Moolenaar	  o .ERROR target - run on failure.
9523955d011SMarcel Moolenaar
9533955d011SMarcel Moolenaar2010-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
9543955d011SMarcel Moolenaar
9553955d011SMarcel Moolenaar	* make-bootstrap.sh.in: extract MAKE_VERSION from Makefile
9563955d011SMarcel Moolenaar
9573955d011SMarcel Moolenaar	* os.sh,arch.c: patch for Haiku from joerg at netbsd
9583955d011SMarcel Moolenaar
9593955d011SMarcel Moolenaar2010-03-17  Simon J. Gerraty  <sjg@bad.crufty.net>
9603955d011SMarcel Moolenaar
9613955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100222
9623955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
9633955d011SMarcel Moolenaar	  o better error msg for .for with mutiple inter vars
9643955d011SMarcel Moolenaar
9653955d011SMarcel Moolenaar	* boot-strap:
9663955d011SMarcel Moolenaar	  o use make-bootstrap.sh from joerg at netbsd
9673955d011SMarcel Moolenaar	    to avoid the need for a native make when bootstrapping.
9683955d011SMarcel Moolenaar	  o add "" everywhere ;-)
9693955d011SMarcel Moolenaar	  o if /usr/share/tmac/andoc.tmac exists install nroff bmake.1
9703955d011SMarcel Moolenaar	    otherwise the pre-formated version.
9713955d011SMarcel Moolenaar
9723955d011SMarcel Moolenaar2010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
9733955d011SMarcel Moolenaar
9743955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100102
9753955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
9763955d011SMarcel Moolenaar	  o fix for -m .../
9773955d011SMarcel Moolenaar
9783955d011SMarcel Moolenaar2009-11-18  Simon J. Gerraty  <sjg@void.crufty.net>
9793955d011SMarcel Moolenaar
9803955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20091118
9813955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
9823955d011SMarcel Moolenaar	  o .unexport
9833955d011SMarcel Moolenaar	  o report lines that start with '.' and should have ':'
9843955d011SMarcel Moolenaar	    (catch typo's of .el*if).
9853955d011SMarcel Moolenaar
9863955d011SMarcel Moolenaar2009-10-30  Simon J. Gerraty  <sjg@void.crufty.net>
9873955d011SMarcel Moolenaar
9883955d011SMarcel Moolenaar	* configure.in: Ensure that srcdir and mksrc are absolute paths.
9893955d011SMarcel Moolenaar
9903955d011SMarcel Moolenaar2009-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
9913955d011SMarcel Moolenaar
9923955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): fix version to 20091007
9933955d011SMarcel Moolenaar
9943955d011SMarcel Moolenaar2009-10-07  Simon J. Gerraty  <sjg@void.crufty.net>
9953955d011SMarcel Moolenaar
9963955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 200910007
9973955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
9983955d011SMarcel Moolenaar	  o fix for parsing of :S;...;...; applied to .for loop iterator
9993955d011SMarcel Moolenaar	    appearing in a dependency line.
10003955d011SMarcel Moolenaar
10013955d011SMarcel Moolenaar2009-09-09  Simon J. Gerraty  <sjg@void.crufty.net>
10023955d011SMarcel Moolenaar
10033955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090909
10043955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10053955d011SMarcel Moolenaar	  o fix for -C, .CURDIR and .OBJDIR
10063955d011SMarcel Moolenaar	* boot-strap:
10073955d011SMarcel Moolenaar	  o allow share_dir to be set independent of prefix.
10083955d011SMarcel Moolenaar	  o select default share_dir better when prefix ends in $HOST_TARGET
10093955d011SMarcel Moolenaar	  o if FORCE_BSD_MK etc were set, include them in the suggested
10103955d011SMarcel Moolenaar	    install-mk command.
10113955d011SMarcel Moolenaar
10123955d011SMarcel Moolenaar2009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
10133955d011SMarcel Moolenaar
10143955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090908
10153955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10163955d011SMarcel Moolenaar	  o .MAKE.LEVEL for recursion tracking
10173955d011SMarcel Moolenaar	  o fix for :M scanning \:
10183955d011SMarcel Moolenaar
10193955d011SMarcel Moolenaar2009-09-03  Simon J. Gerraty  <sjg@void.crufty.net>
10203955d011SMarcel Moolenaar
10213955d011SMarcel Moolenaar	* configure.in: Don't -D__EXTENSIONS__ if
10223955d011SMarcel Moolenaar	AC_USE_SYSTEM_EXTENSIONS says "no".
10233955d011SMarcel Moolenaar
10243955d011SMarcel Moolenaar2009-08-26  Simon J. Gerraty  <sjg@void.crufty.net>
10253955d011SMarcel Moolenaar
10263955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090826
10273955d011SMarcel Moolenaar	Simplify MAKE_VERSION to just the bare date.
10283955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10293955d011SMarcel Moolenaar	  o -C directory support.
10303955d011SMarcel Moolenaar	  o support for SIGINFO
10313955d011SMarcel Moolenaar	  o use $TMPDIR for temp files.
10323955d011SMarcel Moolenaar	  o child of vfork should be careful about modifying parent's state.
10333955d011SMarcel Moolenaar
10343955d011SMarcel Moolenaar
10353955d011SMarcel Moolenaar2009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
10363955d011SMarcel Moolenaar
10373955d011SMarcel Moolenaar	* Appy some patches for MiNT from David Brownlee
10383955d011SMarcel Moolenaar
10393955d011SMarcel Moolenaar2009-02-26  Simon J. Gerraty  <sjg@void.crufty.net>
10403955d011SMarcel Moolenaar
10413955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20090222
10423955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10433955d011SMarcel Moolenaar	  o Possible null pointer de-ref in Var_Set.
10443955d011SMarcel Moolenaar
10453955d011SMarcel Moolenaar2009-02-08  Simon J. Gerraty  <sjg@void.crufty.net>
10463955d011SMarcel Moolenaar
10473955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20090204
10483955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10493955d011SMarcel Moolenaar	  o bmake_malloc et al moved to their own .c
10503955d011SMarcel Moolenaar	  o Count both () and {} when looking for the end of a :M pattern
10513955d011SMarcel Moolenaar	  o Change 'Buffer' so that it is the actual struct, not a pointer to it.
10523955d011SMarcel Moolenaar	  o strlist.c - functions for processing extendable arrays of pointers to strings.
10533955d011SMarcel Moolenaar	  o ClientData replaced with void *, so const void * can be used.
10543955d011SMarcel Moolenaar	  o New debug flag C for DEBUG_CWD
10553955d011SMarcel Moolenaar
10563955d011SMarcel Moolenaar2008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
10573955d011SMarcel Moolenaar
10583955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081111
10593955d011SMarcel Moolenaar	  Apply patch from Joerg Sonnenberge to
10603955d011SMarcel Moolenaar	  configure.in:
10613955d011SMarcel Moolenaar	  o remove some redundant checks
10623955d011SMarcel Moolenaar	  o check for emlloc etc only in libutil and require the whole family.
10633955d011SMarcel Moolenaar	  util.c:
10643955d011SMarcel Moolenaar	  o remove [v]asprintf which is no longer used.
10653955d011SMarcel Moolenaar
10663955d011SMarcel Moolenaar2008-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
10673955d011SMarcel Moolenaar
10683955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081101
10693955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10703955d011SMarcel Moolenaar	  o util.c: avoid use of putenv() - christos
10713955d011SMarcel Moolenaar
10723955d011SMarcel Moolenaar2008-10-30  Simon J. Gerraty  <sjg@void.crufty.net>
10733955d011SMarcel Moolenaar
10743955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081030
10753955d011SMarcel Moolenaar	  pick up man page tweaks.
10763955d011SMarcel Moolenaar
10773955d011SMarcel Moolenaar2008-10-29  Simon J. Gerraty  <sjg@void.crufty.net>
10783955d011SMarcel Moolenaar
10793955d011SMarcel Moolenaar	* Makefile.in: move processing of LIBOBJS to after is definition!
10803955d011SMarcel Moolenaar	  thus we'll have getenv.c in SRCS only if needed.
10813955d011SMarcel Moolenaar
10823955d011SMarcel Moolenaar	* make.1: add examples of how to use :?
10833955d011SMarcel Moolenaar
10843955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081029
10853955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10863955d011SMarcel Moolenaar	  o fix for .END processing with -j
10873955d011SMarcel Moolenaar	  o segfault from Parse_Error when no makefile is open
10883955d011SMarcel Moolenaar	  o handle numeric expressions in any variable expansion
10893955d011SMarcel Moolenaar	  o debug output now defaults to stderr, -dF to change it - apb
10903955d011SMarcel Moolenaar	  o make now uses bmake_malloc etc so that it can build natively
10913955d011SMarcel Moolenaar	    on A/UX - wasn't an issue for bmake, but we want to keep in sync.
10923955d011SMarcel Moolenaar
10933955d011SMarcel Moolenaar2008-09-27  Simon J. Gerraty  <sjg@void.crufty.net>
10943955d011SMarcel Moolenaar
10953955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080808
10963955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10973955d011SMarcel Moolenaar	  o fix for PR/38840: Pierre Pronchery: make crashes while parsing
10983955d011SMarcel Moolenaar	    long lines in Makefiles
10993955d011SMarcel Moolenaar	  o optimizations for VarQuote by joerg
11003955d011SMarcel Moolenaar	  o fix for PR/38756: dominik: make dumps core on invalid makefile
11013955d011SMarcel Moolenaar
11023955d011SMarcel Moolenaar2008-05-15  Simon J. Gerraty  <sjg@void.crufty.net>
11033955d011SMarcel Moolenaar
11043955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080515
11053955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11063955d011SMarcel Moolenaar	  o fix skip setting vars in VAR_GLOBAL context, to handle
11073955d011SMarcel Moolenaar	    cases where VAR_CMD is used for other than command line vars.
11083955d011SMarcel Moolenaar
11093955d011SMarcel Moolenaar2008-05-14  Simon J. Gerraty  <sjg@void.crufty.net>
11103955d011SMarcel Moolenaar
11113955d011SMarcel Moolenaar	* boot-strap (make_version): we may need to look in
11123955d011SMarcel Moolenaar	$prefix/share/mk for sys.mk
11133955d011SMarcel Moolenaar
11143955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080514
11153955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11163955d011SMarcel Moolenaar	  o skip setting vars in VAR_GLOBAL context, when already set in
11173955d011SMarcel Moolenaar	  VAR_CMD which takes precedence.
11183955d011SMarcel Moolenaar
11193955d011SMarcel Moolenaar2008-03-30  Simon J. Gerraty  <sjg@void.crufty.net>
11203955d011SMarcel Moolenaar
11213955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump version to 20080330
11223955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11233955d011SMarcel Moolenaar	  o fix for ?= when LHS contains variable reference.
11243955d011SMarcel Moolenaar
11253955d011SMarcel Moolenaar2008-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
11263955d011SMarcel Moolenaar
11273955d011SMarcel Moolenaar	* merge some patches from NetBSD pkgsrc.
11283955d011SMarcel Moolenaar
11293955d011SMarcel Moolenaar	* makefile.boot.in (BOOTSTRAP_SYS_PATH): Allow better control of
11303955d011SMarcel Moolenaar	the MAKSYSPATH used during bootstrap.
11313955d011SMarcel Moolenaar
11323955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080215
11333955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11343955d011SMarcel Moolenaar	  o warn if non-space chars follow 'empty' in a conditional.
11353955d011SMarcel Moolenaar
11363955d011SMarcel Moolenaar2008-01-18  Simon J. Gerraty  <sjg@void.crufty.net>
11373955d011SMarcel Moolenaar
11383955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080118
11393955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11403955d011SMarcel Moolenaar	  o consider dependencies read from .depend as optional - dsl
11413955d011SMarcel Moolenaar	  o remember when buffer for reading makefile grows - dsl
11423955d011SMarcel Moolenaar	  o add -dl (aka LOUD) - David O'Brien
11433955d011SMarcel Moolenaar
11443955d011SMarcel Moolenaar2007-10-22  Simon J. Gerraty  <sjg@void.crufty.net>
11453955d011SMarcel Moolenaar
11463955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071022
11473955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11483955d011SMarcel Moolenaar	  o Allow .PATH<suffix> to be used for .include ""
11493955d011SMarcel Moolenaar
11503955d011SMarcel Moolenaar	* boot-strap: source default settings from .bmake-boot-strap.rc
11513955d011SMarcel Moolenaar
11523955d011SMarcel Moolenaar2007-10-16  Simon J. Gerraty  <sjg@void.crufty.net>
11533955d011SMarcel Moolenaar
11543955d011SMarcel Moolenaar	* Makefile.in: fix maninstall on various systems
11553955d011SMarcel Moolenaar	  provided that our man.mk is used.
11563955d011SMarcel Moolenaar	  For non-BSD systems we install the preformatted page
11573955d011SMarcel Moolenaar	  into $MANDIR/cat1
11583955d011SMarcel Moolenaar
11593955d011SMarcel Moolenaar2007-10-15  Simon J. Gerraty  <sjg@void.crufty.net>
11603955d011SMarcel Moolenaar
11613955d011SMarcel Moolenaar	* boot-strap: make bmake.1 too, so maninstall works.
11623955d011SMarcel Moolenaar
11633955d011SMarcel Moolenaar2007-10-14  Simon J. Gerraty  <sjg@void.crufty.net>
11643955d011SMarcel Moolenaar
11653955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071014
11663955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11673955d011SMarcel Moolenaar	  o revamped handling of defshell - configure no longer needs to
11683955d011SMarcel Moolenaar	    know the content of the shells array - apb
11693955d011SMarcel Moolenaar	  o stop Var_Subst modifying its input - apb
11703955d011SMarcel Moolenaar	  o avoid calling ParseTrackInput too often - dsl
11713955d011SMarcel Moolenaar
11723955d011SMarcel Moolenaar2007-10-11  Simon J. Gerraty  <sjg@void.crufty.net>
11733955d011SMarcel Moolenaar
11743955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071011
11753955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11763955d011SMarcel Moolenaar	  o fix Shell_Init for case that _BASENAME_DEFSHELL is absolute path.
11773955d011SMarcel Moolenaar
11783955d011SMarcel Moolenaar	* sigcompat.c: some tweaks for HP-UX 11.x based on
11793955d011SMarcel Moolenaar	  patch from Tobias Nygren
11803955d011SMarcel Moolenaar
11813955d011SMarcel Moolenaar	* configure.in: update handling of --with-defshell to match
11823955d011SMarcel Moolenaar	  new make behavior.  --with-defshell=/usr/xpg4/bin/sh
11833955d011SMarcel Moolenaar	  will now do what one might hope - provided the chosen shell
11843955d011SMarcel Moolenaar	  behaves enough like sh.
11853955d011SMarcel Moolenaar
11863955d011SMarcel Moolenaar2007-10-08  Simon J. Gerraty  <sjg@void.crufty.net>
11873955d011SMarcel Moolenaar
11883955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20071008
11893955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11903955d011SMarcel Moolenaar	  o .MAKE.JOB.PREFIX - control the token output before jobs - sjg
11913955d011SMarcel Moolenaar	  o .export/.MAKE.EXPORTED - export of variables - sjg
11923955d011SMarcel Moolenaar	  o .MAKE.MAKEFILES - track all makefiles read - sjg
11933955d011SMarcel Moolenaar	  o performance improvements - dsl
11943955d011SMarcel Moolenaar	  o revamp parallel job scheduling - dsl
11953955d011SMarcel Moolenaar
11963955d011SMarcel Moolenaar2006-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
11973955d011SMarcel Moolenaar
11983955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060728
11993955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
12003955d011SMarcel Moolenaar	  o extra debug info during variable and cond processing - sjg
12013955d011SMarcel Moolenaar	  o shell definition now covers newline - rillig
12023955d011SMarcel Moolenaar	  o minor mem leak in PrintOnError - sjg
12033955d011SMarcel Moolenaar
12043955d011SMarcel Moolenaar2006-05-11  Simon J. Gerraty  <sjg@void.crufty.net>
12053955d011SMarcel Moolenaar
12063955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump to 20060511
12073955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
12083955d011SMarcel Moolenaar	  o more memory leaks - coverity
12093955d011SMarcel Moolenaar	  o possible overflow in ArchFindMember - coverity
12103955d011SMarcel Moolenaar	  o extract variable modifier code out of Var_Parse()
12113955d011SMarcel Moolenaar	    so it can be called recursively - sjg
12123955d011SMarcel Moolenaar	  o unit-tests/moderrs - sjg
12133955d011SMarcel Moolenaar
12143955d011SMarcel Moolenaar2006-04-12  Simon J. Gerraty  <sjg@void.crufty.net>
12153955d011SMarcel Moolenaar
12163955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060412
12173955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
12183955d011SMarcel Moolenaar	  o fixes for some memory leaks - coverity
12193955d011SMarcel Moolenaar	  o only read first sys.mk etc when searching sysIncPath - sjg
12203955d011SMarcel Moolenaar
12213955d011SMarcel Moolenaar	* main.c (ReadMakefile): remove hack for __INTERIX that prevented
12223955d011SMarcel Moolenaar	setting ${MAKEFILE} - OBATA Akio
12233955d011SMarcel Moolenaar
12243955d011SMarcel Moolenaar2006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
12253955d011SMarcel Moolenaar
12263955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060318
12273955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
12283955d011SMarcel Moolenaar	  o cleanup of job.c to remove remote handling, distcc is more
12293955d011SMarcel Moolenaar	    useful and this code was likely bit-rotting - dsl
12303955d011SMarcel Moolenaar	  o fix for :P modifier - sjg
12313955d011SMarcel Moolenaar	* boot-strap: set default prefix to something reasonable
12323955d011SMarcel Moolenaar	  (for me anyway).
12333955d011SMarcel Moolenaar
12343955d011SMarcel Moolenaar2006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
12353955d011SMarcel Moolenaar
12363955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060301
12373955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
12383955d011SMarcel Moolenaar	  o make .WAIT apply recursively, document and test case - apb
12393955d011SMarcel Moolenaar	  o allow variable modifiers in a variable appear anywhere in
12403955d011SMarcel Moolenaar	    modifier list, document and test case - sjg
12413955d011SMarcel Moolenaar
12423955d011SMarcel Moolenaar2006-02-22  Simon J. Gerraty  <sjg@void.crufty.net>
12433955d011SMarcel Moolenaar
12443955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060222
12453955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
12463955d011SMarcel Moolenaar	  o improved job token handling - dsl
12473955d011SMarcel Moolenaar	  o SIG_DFL the correct signal before exec - dsl
12483955d011SMarcel Moolenaar	  o more debug info during parsing - dsl
12493955d011SMarcel Moolenaar	  o allow variable modifiers to be specified via variable - sjg
12503955d011SMarcel Moolenaar	* boot-strap: explain why we died if no mksrc
12513955d011SMarcel Moolenaar
12523955d011SMarcel Moolenaar2005-11-05  Simon J. Gerraty  <sjg@void.crufty.net>
12533955d011SMarcel Moolenaar
12543955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051105
12553955d011SMarcel Moolenaar	* configure.in: always set default_sys_path
12563955d011SMarcel Moolenaar	  default is ${prefix}/share/mk
12573955d011SMarcel Moolenaar	  - remove prefix_sys_path, anyone wanting more than above
12583955d011SMarcel Moolenaar	    needs to set it manually.
12593955d011SMarcel Moolenaar
12603955d011SMarcel Moolenaar2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
12613955d011SMarcel Moolenaar
12623955d011SMarcel Moolenaar	* boot-strap: make this a bit easier for pkgsrc folk.
12633955d011SMarcel Moolenaar	  bootstrap still fails on IRIX64 since MACHINE_ARCH gets set to
12643955d011SMarcel Moolenaar	  'mips' while pkgsrc wants 'mipseb' or 'mipsel'
12653955d011SMarcel Moolenaar
12663955d011SMarcel Moolenaar2005-11-02  Simon J. Gerraty  <sjg@void.crufty.net>
12673955d011SMarcel Moolenaar
12683955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051102
12693955d011SMarcel Moolenaar	* job.c (JobFinish): fix likely ancient merge lossage
12703955d011SMarcel Moolenaar	fix from Todd Vierling.
12713955d011SMarcel Moolenaar	* boot-strap (srcdir): allow setting mksrc=none
12723955d011SMarcel Moolenaar
12733955d011SMarcel Moolenaar2005-10-31  Simon J. Gerraty  <sjg@void.crufty.net>
12743955d011SMarcel Moolenaar
12753955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051031
12763955d011SMarcel Moolenaar	* ranlib.h: skip on OSF too.
12773955d011SMarcel Moolenaar	  (NetBSD PR 31864)
12783955d011SMarcel Moolenaar
12793955d011SMarcel Moolenaar2005-10-10  Simon J. Gerraty  <sjg@void.crufty.net>
12803955d011SMarcel Moolenaar
12813955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051002
12823955d011SMarcel Moolenaar	  fix a silly typo
12833955d011SMarcel Moolenaar
12843955d011SMarcel Moolenaar2005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
12853955d011SMarcel Moolenaar
12863955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051001
12873955d011SMarcel Moolenaar	  support for UnixWare and some other systems,
12883955d011SMarcel Moolenaar	  based on patches from pkgsrc/bootstrap
12893955d011SMarcel Moolenaar
12903955d011SMarcel Moolenaar2005-09-03  Simon J. Gerraty  <sjg@void.crufty.net>
12913955d011SMarcel Moolenaar
12923955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050901
12933955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
12943955d011SMarcel Moolenaar	  o possible parse error causing us to wander off.
12953955d011SMarcel Moolenaar
12963955d011SMarcel Moolenaar2005-06-06  Simon J. Gerraty  <sjg@void.crufty.net>
12973955d011SMarcel Moolenaar
12983955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050606
12993955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
13003955d011SMarcel Moolenaar	  o :0x modifier for randomizing a list
13013955d011SMarcel Moolenaar	  o fixes for a number of -Wuninitialized issues.
13023955d011SMarcel Moolenaar
13033955d011SMarcel Moolenaar2005-05-30  Simon J. Gerraty  <sjg@void.crufty.net>
13043955d011SMarcel Moolenaar
13053955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050530
13063955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
13073955d011SMarcel Moolenaar	  o Handle dependencies for .BEGIN, .END and .INTERRUPT
13083955d011SMarcel Moolenaar
13093955d011SMarcel Moolenaar	* README: was seriously out of date.
13103955d011SMarcel Moolenaar
13113955d011SMarcel Moolenaar2005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
13123955d011SMarcel Moolenaar
13133955d011SMarcel Moolenaar	* Important to use .MAKE rather than MAKE.
13143955d011SMarcel Moolenaar
13153955d011SMarcel Moolenaar2005-03-15  Simon J. Gerraty  <sjg@void.crufty.net>
13163955d011SMarcel Moolenaar
13173955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050315
13183955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
13193955d011SMarcel Moolenaar	  o don't mistake .elsefoo for .else
13203955d011SMarcel Moolenaar	  o use suffix-specific search path correctly
13213955d011SMarcel Moolenaar	  o bunch of style nits
13223955d011SMarcel Moolenaar
13233955d011SMarcel Moolenaar2004-05-11  Simon J. Gerraty  <sjg@void.crufty.net>
13243955d011SMarcel Moolenaar
13253955d011SMarcel Moolenaar	* boot-strap:
13263955d011SMarcel Moolenaar	o ensure that args to --src and --with-mksrc
13273955d011SMarcel Moolenaar	  are resolved before giving them to configure.
13283955d011SMarcel Moolenaar	o add -o "objdir" so that builder can control it,
13293955d011SMarcel Moolenaar	  default is $OS as determined by os.sh
13303955d011SMarcel Moolenaar	o add -q to suppress all the install instructions.
13313955d011SMarcel Moolenaar
13323955d011SMarcel Moolenaar2004-05-08  Simon J. Gerraty  <sjg@void.crufty.net>
13333955d011SMarcel Moolenaar
13343955d011SMarcel Moolenaar	* Remove __IDSTRING()
13353955d011SMarcel Moolenaar
13363955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040508
13373955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
13383955d011SMarcel Moolenaar	  o posix fixes
13393955d011SMarcel Moolenaar	    - remove '-e' from compat mode
13403955d011SMarcel Moolenaar	    - add support for '+' command-line prefix.
13413955d011SMarcel Moolenaar	  o fix for handling '--' on command-line.
13423955d011SMarcel Moolenaar	  o fix include in lst.lib/lstInt.h to simplify '-I's
13433955d011SMarcel Moolenaar	  o we also picked up replacement of MAKE_BOOTSTRAP
13443955d011SMarcel Moolenaar	    with !MAKE_NATIVE which is a noop, but possibly confusing.
13453955d011SMarcel Moolenaar
13463955d011SMarcel Moolenaar2004-04-14  Simon J. Gerraty  <sjg@void.crufty.net>
13473955d011SMarcel Moolenaar
13483955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040414
13493955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
13503955d011SMarcel Moolenaar	  o allow quoted strings on lhs of conditionals
13513955d011SMarcel Moolenaar	  o issue warning when extra .else is seen
13523955d011SMarcel Moolenaar	  o print line numer when errors encountered during parsing from
13533955d011SMarcel Moolenaar	  string.
13543955d011SMarcel Moolenaar
13553955d011SMarcel Moolenaar2004-02-20  Simon J. Gerraty  <sjg@void.crufty.net>
13563955d011SMarcel Moolenaar
13573955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump to 20040220
13583955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
13593955d011SMarcel Moolenaar	  o fix for old :M parsing bug.
13603955d011SMarcel Moolenaar	  o re-jigged unit-tests
13613955d011SMarcel Moolenaar
13623955d011SMarcel Moolenaar2004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
13633955d011SMarcel Moolenaar
13643955d011SMarcel Moolenaar	* Makefile.in (accept test): use ${.MAKE:S,^./,${.CURDIR}/,}
13653955d011SMarcel Moolenaar	so that './bmake -f Makefile test' works.
13663955d011SMarcel Moolenaar
13673955d011SMarcel Moolenaar2004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
13683955d011SMarcel Moolenaar
13693955d011SMarcel Moolenaar	* Makefile.in: (BMAKE_VERSION): bump to 20040214
13703955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
13713955d011SMarcel Moolenaar	  o search upwards for *.mk
13723955d011SMarcel Moolenaar	  o fix for double free of var substitution buffers
13733955d011SMarcel Moolenaar	  o use of getopt replaced with custom code, since the usage
13743955d011SMarcel Moolenaar	  (re-scanning) isn't posix compatible.
13753955d011SMarcel Moolenaar
13763955d011SMarcel Moolenaar2004-02-12  Simon J. Gerraty  <sjg@void.crufty.net>
13773955d011SMarcel Moolenaar
13783955d011SMarcel Moolenaar	* arch.c: don't include ranlib.h on ELF systems
13793955d011SMarcel Moolenaar	(thanks to Chuck Cranor <chuck@ece.cmu.edu>).
13803955d011SMarcel Moolenaar
13813955d011SMarcel Moolenaar2004-01-18  Simon J. Gerraty  <sjg@void.crufty.net>
13823955d011SMarcel Moolenaar
13833955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040118
13843955d011SMarcel Moolenaar
13853955d011SMarcel Moolenaar	* boot-strap (while): export vars we assign to on cmdline
13863955d011SMarcel Moolenaar	* unit-test/Makefile.in: ternary is .PHONY
13873955d011SMarcel Moolenaar
13883955d011SMarcel Moolenaar2004-01-08  Simon J. Gerraty  <sjg@void.crufty.net>
13893955d011SMarcel Moolenaar
13903955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20040108
13913955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
13923955d011SMarcel Moolenaar	  o fix for ternary modifier
13933955d011SMarcel Moolenaar
13943955d011SMarcel Moolenaar2004-01-06  Simon J. Gerraty  <sjg@void.crufty.net>
13953955d011SMarcel Moolenaar
13963955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20040105
13973955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
13983955d011SMarcel Moolenaar	  o fix for cond.c to handle compound expressions better
13993955d011SMarcel Moolenaar	  o variable expansion within sysV style replacements
14003955d011SMarcel Moolenaar
14013955d011SMarcel Moolenaar2003-12-22  Simon J. Gerraty  <sjg@void.crufty.net>
14023955d011SMarcel Moolenaar
14033955d011SMarcel Moolenaar	* Make portable snprintf safer - output to /dev/null first to
14043955d011SMarcel Moolenaar	check space needed.
14053955d011SMarcel Moolenaar
14063955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20031222
14073955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
14083955d011SMarcel Moolenaar	  o -dg3 to show input graph when things go wrong.
14093955d011SMarcel Moolenaar	  o explicitly look for makefiles in objdir if not found in curdir so
14103955d011SMarcel Moolenaar	    that errors in .depend etc will be reported accurarely.
14113955d011SMarcel Moolenaar	  o avoid use of -e in shell scripts in jobs mode, use '|| exit $?'
14123955d011SMarcel Moolenaar	    instead as it more accurately reflects the expected behavior and
14133955d011SMarcel Moolenaar	    is more consistently implemented.
14143955d011SMarcel Moolenaar	  o avoid use of asprintf.
14153955d011SMarcel Moolenaar
14163955d011SMarcel Moolenaar2003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
14173955d011SMarcel Moolenaar
14183955d011SMarcel Moolenaar	* util.c: Add asprintf and vasprintf.
14193955d011SMarcel Moolenaar
14203955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030928
14213955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
14223955d011SMarcel Moolenaar	:[] modifier - allows picking words from a variable.
14233955d011SMarcel Moolenaar	:tW modifier - allows treating value as one big word.
14243955d011SMarcel Moolenaar	W flag for :C and :S - allows treating value as one big word.
14253955d011SMarcel Moolenaar
14263955d011SMarcel Moolenaar2003-09-12  Simon J. Gerraty  <sjg@void.crufty.net>
14273955d011SMarcel Moolenaar
14283955d011SMarcel Moolenaar	* Merge with NetBSD make
14293955d011SMarcel Moolenaar	pick up -de flag to enable printing failed command.
14303955d011SMarcel Moolenaar	don't skip 1st two dir entries (normally . and ..) since
14313955d011SMarcel Moolenaar	coda does not have them.
14323955d011SMarcel Moolenaar
14333955d011SMarcel Moolenaar2003-09-09  Simon J. Gerraty  <sjg@void.crufty.net>
14343955d011SMarcel Moolenaar
14353955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030909
14363955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
14373955d011SMarcel Moolenaar	- changes for -V '${VAR}' to print fully expanded value
14383955d011SMarcel Moolenaar	  cf. -V VAR
14393955d011SMarcel Moolenaar	- CompatRunCommand now prints the command that failed.
14403955d011SMarcel Moolenaar	- several files got updated 3 clause Berkeley license.
14413955d011SMarcel Moolenaar
14423955d011SMarcel Moolenaar2003-08-02  Simon J. Gerraty  <sjg@void.crufty.net>
14433955d011SMarcel Moolenaar
14443955d011SMarcel Moolenaar	* boot-strap: Allow setting configure args on command line.
14453955d011SMarcel Moolenaar
14463955d011SMarcel Moolenaar2003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
14473955d011SMarcel Moolenaar
14483955d011SMarcel Moolenaar	* configure.in: add --with-defshell to allow sh or ksh
14493955d011SMarcel Moolenaar	to be selected as default shell.
14503955d011SMarcel Moolenaar
14513955d011SMarcel Moolenaar	* Makefile.in: bump version to 20030731
14523955d011SMarcel Moolenaar
14533955d011SMarcel Moolenaar	* Merge with NetBSD make
14543955d011SMarcel Moolenaar	Pick up .SHELL spec for ksh and associate man page changes.
14553955d011SMarcel Moolenaar	Also compat mode now uses the same shell specs.
14563955d011SMarcel Moolenaar
14573955d011SMarcel Moolenaar2003-07-29  Simon J. Gerraty  <sjg@void.crufty.net>
14583955d011SMarcel Moolenaar
14593955d011SMarcel Moolenaar	* var.c (Var_Parse): ensure delim is initialized.
14603955d011SMarcel Moolenaar
14613955d011SMarcel Moolenaar	* unit-tests/Makefile.in: use single quotes to avoid problems from
14623955d011SMarcel Moolenaar	some shells.
14633955d011SMarcel Moolenaar
14643955d011SMarcel Moolenaar	* makefile.boot.in:
14653955d011SMarcel Moolenaar	Run the unit-tests as part of the bootstrap procedure.
14663955d011SMarcel Moolenaar
14673955d011SMarcel Moolenaar2003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
14683955d011SMarcel Moolenaar
14693955d011SMarcel Moolenaar	* unit-tests/Makefile.in: always force complaints from
14703955d011SMarcel Moolenaar	${TEST_MAKE} to be from 'make'.
14713955d011SMarcel Moolenaar
14723955d011SMarcel Moolenaar	* configure.in: add check for 'diff -u'
14733955d011SMarcel Moolenaar	also fix some old autoconf'isms
14743955d011SMarcel Moolenaar
14753955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030728.
14763955d011SMarcel Moolenaar	if using GCC add -Wno-cast-qual to CFLAGS for var.o
14773955d011SMarcel Moolenaar
14783955d011SMarcel Moolenaar	* Merge with NetBSD make
14793955d011SMarcel Moolenaar	Pick up fix for :ts parsing error in some cases.
14803955d011SMarcel Moolenaar	Pick unit-tests.
14813955d011SMarcel Moolenaar
14823955d011SMarcel Moolenaar2003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
14833955d011SMarcel Moolenaar
14843955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030723.
14853955d011SMarcel Moolenaar
14863955d011SMarcel Moolenaar	* var.c (Var_Parse): fix bug in :ts modifier, after const
14873955d011SMarcel Moolenaar	correctness fixes, must pass nstr to VarModify.
14883955d011SMarcel Moolenaar
14893955d011SMarcel Moolenaar2003-07-14  Simon J. Gerraty  <sjg@void.crufty.net>
14903955d011SMarcel Moolenaar
14913955d011SMarcel Moolenaar	* Makefile.in: BMAKE_VERSION switch to a date based version.
14923955d011SMarcel Moolenaar	We'll generally use the date of last import from NetBSD.
14933955d011SMarcel Moolenaar
14943955d011SMarcel Moolenaar	* Merge with NetBSD make
14953955d011SMarcel Moolenaar	Pick up fixes for const-correctness, now passes WARNS=3 on
14963955d011SMarcel Moolenaar	NetBSD.
14973955d011SMarcel Moolenaar	Pick up :ts modifier, allows controlling the separator used
14983955d011SMarcel Moolenaar	between words in variable expansion.
14993955d011SMarcel Moolenaar
15003955d011SMarcel Moolenaar2003-07-11  Simon J. Gerraty  <sjg@void.crufty.net>
15013955d011SMarcel Moolenaar
15023955d011SMarcel Moolenaar	* FILES: include boot-strap and os.sh
15033955d011SMarcel Moolenaar
15043955d011SMarcel Moolenaar	* Makefile.in: only set WARNS if we are NetBSD, the effect on
15053955d011SMarcel Moolenaar	FreeBSD is known to be bad.
15063955d011SMarcel Moolenaar
15073955d011SMarcel Moolenaar	* makefile.boot.in (bootstrap): make this the default target.
15083955d011SMarcel Moolenaar
15093955d011SMarcel Moolenaar	* Makefile.in: bump version to 3.1.19
15103955d011SMarcel Moolenaar
15113955d011SMarcel Moolenaar	* machine.sh: avoid A-Z with tr as it is bound to lose.
15123955d011SMarcel Moolenaar
15133955d011SMarcel Moolenaar2003-07-10  Simon J. Gerraty  <sjg@void.crufty.net>
15143955d011SMarcel Moolenaar
15153955d011SMarcel Moolenaar	* Merge with NetBSD make
15163955d011SMarcel Moolenaar	Pick up fix for PR/19781 - unhelpful error msg on unclosed ${var:foo
15173955d011SMarcel Moolenaar	Plus some doc fixes.
15183955d011SMarcel Moolenaar
15193955d011SMarcel Moolenaar2003-04-27  Simon J. Gerraty  <sjg@void.crufty.net>
15203955d011SMarcel Moolenaar
15213955d011SMarcel Moolenaar	* Merge with NetBSD make
15223955d011SMarcel Moolenaar	Pick up fix for PR/1523 - don't count a library as built, if there
15233955d011SMarcel Moolenaar	is no way to build it
15243955d011SMarcel Moolenaar
15253955d011SMarcel Moolenaar	* Bump version to 3.1.18
15263955d011SMarcel Moolenaar
15273955d011SMarcel Moolenaar2003-03-23  Simon J. Gerraty  <sjg@void.crufty.net>
15283955d011SMarcel Moolenaar
15293955d011SMarcel Moolenaar	* Merge with NetBSD make
15303955d011SMarcel Moolenaar	Pick up fix for ParseDoSpecialSrc - we only use it if .WAIT
15313955d011SMarcel Moolenaar	appears in src list.
15323955d011SMarcel Moolenaar
15333955d011SMarcel Moolenaar2003-03-21  Simon J. Gerraty  <sjg@void.crufty.net>
15343955d011SMarcel Moolenaar
15353955d011SMarcel Moolenaar	* Merge with NetBSD make (mmm 10th anniversary!)
15363955d011SMarcel Moolenaar	pick up fix for .WAIT in srcs that refer to $@ or $* (PR#20828)
15373955d011SMarcel Moolenaar	pick up -X which tells us to not export VAR=val via setenv if
15383955d011SMarcel Moolenaar	we are already doing so via MAKEFLAGS.  This saves valuable env
15393955d011SMarcel Moolenaar	space on systems like Darwin.
15403955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.17
15413955d011SMarcel Moolenaar
15423955d011SMarcel Moolenaar	* parse.c: pix up fix for suffix rules
15433955d011SMarcel Moolenaar
15443955d011SMarcel Moolenaar2003-03-06  Simon J. Gerraty  <sjg@void.crufty.net>
15453955d011SMarcel Moolenaar
15463955d011SMarcel Moolenaar	* Merge with NetBSD make.
15473955d011SMarcel Moolenaar	pick up fix for propagating -B via MAKEFLAGS.
15483955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.16
15493955d011SMarcel Moolenaar
15503955d011SMarcel Moolenaar	* Apply some patches from pkgsrc-bootstrap/bmake
15513955d011SMarcel Moolenaar	Originally by Grant Beattie <grant@netbsd.org>
15523955d011SMarcel Moolenaar	I may have missed some - since they are based on bmake-3.1.12
15533955d011SMarcel Moolenaar
15543955d011SMarcel Moolenaar2002-12-03  Simon J. Gerraty  <sjg@void.crufty.net>
15553955d011SMarcel Moolenaar
15563955d011SMarcel Moolenaar	* makefile.boot.in (bmake): update install targets for those that
15573955d011SMarcel Moolenaar	use them, also clear MAKEFLAGS when invoking bmake.boot to avoid
15583955d011SMarcel Moolenaar	havoc from gmake -w.  Thanks to Harlan Stenn <hstenn@cisco.com>.
15593955d011SMarcel Moolenaar
15603955d011SMarcel Moolenaar	* bmake.cat1: update the pre-formatted man page!
15613955d011SMarcel Moolenaar
15623955d011SMarcel Moolenaar2002-11-30  Simon J. Gerraty  <sjg@void.crufty.net>
15633955d011SMarcel Moolenaar
15643955d011SMarcel Moolenaar	* Merge with NetBSD make.
15653955d011SMarcel Moolenaar	pick up fix for premature free of pointer used in call
15663955d011SMarcel Moolenaar	to Dir_InitCur().
15673955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.15
15683955d011SMarcel Moolenaar
15693955d011SMarcel Moolenaar2002-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
15703955d011SMarcel Moolenaar
15713955d011SMarcel Moolenaar	* configure.in: determine suitable value for MKSRC.
15723955d011SMarcel Moolenaar	override using --with-mksrc=PATH.
15733955d011SMarcel Moolenaar
15743955d011SMarcel Moolenaar	* machine.sh: use `uname -p` for MACHINE_ARCH on modern SunOS systems.
15753955d011SMarcel Moolenaar	configs(8) will use 'sun4' as an alias for 'sparc'.
15763955d011SMarcel Moolenaar
15773955d011SMarcel Moolenaar2002-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
15783955d011SMarcel Moolenaar
15793955d011SMarcel Moolenaar	* Merge with NetBSD make.
15803955d011SMarcel Moolenaar	pick up ${.PATH}
15813955d011SMarcel Moolenaar	pick up fix for finding ../cat.c via .PATH when .CURDIR=..
15823955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.14
15833955d011SMarcel Moolenaar	add configure checks for killpg and sys/socket.h
15843955d011SMarcel Moolenaar
15853955d011SMarcel Moolenaar2002-09-16  Simon J. Gerraty  <sjg@void.crufty.net>
15863955d011SMarcel Moolenaar
15873955d011SMarcel Moolenaar	* tag bmake-3-1-13
15883955d011SMarcel Moolenaar
15893955d011SMarcel Moolenaar	* makefile.boot.in (bmake): use install-mk
15903955d011SMarcel Moolenaar	Also setup ./mk before trying to invoke bmake.boot incase we
15913955d011SMarcel Moolenaar	needed install-mk to create a sys.mk for us.
15923955d011SMarcel Moolenaar
15933955d011SMarcel Moolenaar	* configure.in: If we need to add -I${srcdir}/missing, make it an
15943955d011SMarcel Moolenaar	absolute path so that it works for lst.lib too.
15953955d011SMarcel Moolenaar
15963955d011SMarcel Moolenaar	* make.h: always include sys/cdefs.h since we provide one if the
15973955d011SMarcel Moolenaar	host does not.
15983955d011SMarcel Moolenaar
15993955d011SMarcel Moolenaar	* Makefile.in (install-mk):
16003955d011SMarcel Moolenaar	use MKSRC/install-mk which will do the right thing.
16013955d011SMarcel Moolenaar	use uname -p for ARCH if possible.
16023955d011SMarcel Moolenaar	since install-mk will setup links bsd.prog.mk -> prog.mk if
16033955d011SMarcel Moolenaar	needed, just .include bsd.prog.mk
16043955d011SMarcel Moolenaar
16053955d011SMarcel Moolenaar	* Merge with NetBSD make (NetBSD-1.6)
16063955d011SMarcel Moolenaar	Code is ansi-C only now.
16073955d011SMarcel Moolenaar	Bug in handling of dotLast is fixed.
16083955d011SMarcel Moolenaar	Can now assign .OBJDIR and make will reset its notions of life.
16093955d011SMarcel Moolenaar	New modifiers :tu :tl for toUpper and toLower.
16103955d011SMarcel Moolenaar
16113955d011SMarcel MoolenaarTue Oct 16 12:18:42 2001  Simon J. Gerraty  <sjg@zen.crufty.net>
16123955d011SMarcel Moolenaar
16133955d011SMarcel Moolenaar	* Merge with NetBSD make
16143955d011SMarcel Moolenaar	pick up fix for .END failure in compat mode.
16153955d011SMarcel Moolenaar	pick up fix for extra va_end() in ParseVErrorInternal.
16163955d011SMarcel Moolenaar
16173955d011SMarcel MoolenaarThu Oct 11 13:20:06 2001  Simon J. Gerraty  <sjg@zen.crufty.net>
16183955d011SMarcel Moolenaar
16193955d011SMarcel Moolenaar	* configure.in: for systems that have sys/cdefs.h check if it is
16203955d011SMarcel Moolenaar	compatible.  If not, include the one under missing, but tell it to
16213955d011SMarcel Moolenaar	include the native one too - necessary on Linux.
16223955d011SMarcel Moolenaar
16233955d011SMarcel Moolenaar	* missing/sys/cdefs.h: if NEED_HOST_CDEFS_H is defined, use
16243955d011SMarcel Moolenaar	include_next (for gcc) to get the native sys/cdefs.h
16253955d011SMarcel Moolenaar
16263955d011SMarcel MoolenaarTue Aug 21 02:29:34 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
16273955d011SMarcel Moolenaar
16283955d011SMarcel Moolenaar	* job.c (JobFinish): Fix an earlier merge bug that resulted in
16293955d011SMarcel Moolenaar	leaking descriptors when using -jN.
16303955d011SMarcel Moolenaar
16313955d011SMarcel Moolenaar	* job.c (JobPrintCommand): See if "curdir" exists before
16323955d011SMarcel Moolenaar	attempting to chdir().  Doing the chdir directly in make (when in
16333955d011SMarcel Moolenaar	compat mode) fails silently, so let the -jN version do the same.
16343955d011SMarcel Moolenaar	This can happen when building kernels in an object tree and
16353955d011SMarcel Moolenaar	playing clever games to reset .CURDIR.
16363955d011SMarcel Moolenaar
16373955d011SMarcel Moolenaar	* Merged with NetBSD make
16383955d011SMarcel Moolenaar	pick up .USEBEFORE
16393955d011SMarcel Moolenaar
16403955d011SMarcel MoolenaarTue Jun 26 23:45:11 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
16413955d011SMarcel Moolenaar
16423955d011SMarcel Moolenaar	* makefile.boot.in: Give bmake.boot a MAKESYSPATH that might work.
16433955d011SMarcel Moolenaar
16443955d011SMarcel MoolenaarTue Jun 12 16:48:57 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
16453955d011SMarcel Moolenaar
16463955d011SMarcel Moolenaar	* var.c (Var_Set): Add 4th (flags) arg so VarLoopExpand can tell
16473955d011SMarcel Moolenaar	us not to export the iterator variable when using VAR_CMD context.
16483955d011SMarcel Moolenaar
16493955d011SMarcel MoolenaarSun Jun 10 21:55:21 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
16503955d011SMarcel Moolenaar
16513955d011SMarcel Moolenaar	* job.c (Job_CatchChildren): don't call Job_CatchOutput() here,
16523955d011SMarcel Moolenaar	its the wrong "fix".
16533955d011SMarcel Moolenaar
16543955d011SMarcel MoolenaarSat Jun  9 00:11:24 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
16553955d011SMarcel Moolenaar
16563955d011SMarcel Moolenaar	* Redesigned export of VAR_CMD's via MAKEFLAGS.
16573955d011SMarcel Moolenaar	We now simply append the variable names to .MAKEOVERRIDES, and
16583955d011SMarcel Moolenaar	handle duplicate suppression and quoting in ExportMAKEFLAGS using:
16593955d011SMarcel Moolenaar	${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@}
16603955d011SMarcel Moolenaar	Apart from fixing quoting bugs in previous version, this allows us
16613955d011SMarcel Moolenaar	to export vars to the environment by simply doing:
16623955d011SMarcel Moolenaar	.MAKEOVERRIDES+= PATH
16633955d011SMarcel Moolenaar	Merged again with NetBSD make, but the above is the only change.
16643955d011SMarcel Moolenaar
16653955d011SMarcel Moolenaar	* configure.in: added
16663955d011SMarcel Moolenaar	--disable-pwd-override		disable $PWD overriding getcwd()
16673955d011SMarcel Moolenaar	--disable-check-make-chdir	disable make trying to guess
16683955d011SMarcel Moolenaar		when it should automatically cd ${.CURDIR}
16693955d011SMarcel Moolenaar
16703955d011SMarcel Moolenaar	* Merge with NetBSD make, changes include:
16713955d011SMarcel Moolenaar	parse.c (ParseDoDependency): Spot that the syntax error is
16723955d011SMarcel Moolenaar	caused by an unresolved cvs/rcs conflict and say so.
16733955d011SMarcel Moolenaar	var.c: most of Var* functions now take a ctxt as 1st arg.
16743955d011SMarcel Moolenaar	now does variable substituion on rhs of sysv style modifiers.
16753955d011SMarcel Moolenaar
16763955d011SMarcel Moolenaar	* var.c (Var_Set): exporting of command line variables (VAR_CMD)
16773955d011SMarcel Moolenaar	is now done here.  We append the name='value' to .MAKEOVERRIDES
16783955d011SMarcel Moolenaar	rather than directly into MAKEFLAGS as this allows a Makefile to
16793955d011SMarcel Moolenaar	use .MAKEOVERRIDES= to disable this behaviour.  GNU make uses a
16803955d011SMarcel Moolenaar	very similar mechanism.  Note that in adding name='value' to
16813955d011SMarcel Moolenaar	.MAKEOVERRIDES we do the moral equivalent of:
16823955d011SMarcel Moolenaar	.MAKEOVERRIDES:= ${.MAKEOVERRIDES:Nname=*} name='val'
16833955d011SMarcel Moolenaar
16843955d011SMarcel MoolenaarFri Jun  1 14:08:02 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
16853955d011SMarcel Moolenaar
16863955d011SMarcel Moolenaar	* make-conf.h (USE_IOVEC): make it conditional on HAVE_SYS_UIO_H
16873955d011SMarcel Moolenaar
16883955d011SMarcel Moolenaar	* Merged with NetBSD make
16893955d011SMarcel Moolenaar	make -dx can now be used to run commands via sh -x
16903955d011SMarcel Moolenaar	better error messages on exec failures.
16913955d011SMarcel Moolenaar
16923955d011SMarcel MoolenaarThu May 31 01:44:54 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
16933955d011SMarcel Moolenaar
16943955d011SMarcel Moolenaar	* Makefile.in (main.o): depends on ${SRCS} ${MAKEFILE} so that
16953955d011SMarcel Moolenaar	MAKE_VERSION gets updated.  Also don't use ?= for MAKE_VERSION,
16963955d011SMarcel Moolenaar	MACHINE etc otherwise they propagate from the previous bmake.
16973955d011SMarcel Moolenaar
16983955d011SMarcel Moolenaar	* configure.in (machine): allow --with-machine=generic to make
16993955d011SMarcel Moolenaar	configure use machine.sh to set MACHINE.
17003955d011SMarcel Moolenaar
17013955d011SMarcel Moolenaar	* job.c (JobInterrupt): convert to using WAIT_T and friends.
17023955d011SMarcel Moolenaar
17033955d011SMarcel Moolenaar	* Makefile.in: mention in bmake.1 that we use autoconf.
17043955d011SMarcel Moolenaar
17053955d011SMarcel Moolenaar	* make.1: mention MAKE_PRINT_VAR_ON_ERROR.
17063955d011SMarcel Moolenaar
17073955d011SMarcel MoolenaarWed May 30 23:17:18 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
17083955d011SMarcel Moolenaar
17093955d011SMarcel Moolenaar	* main.c (ReadMakefile): don't set MAKEFILE if reading ".depend"
17103955d011SMarcel Moolenaar	as that rather defeats the usefulness of ${MAKEFILE}.
17113955d011SMarcel Moolenaar
17123955d011SMarcel Moolenaar	* main.c (MainParseArgs): append command line variable assignments
17133955d011SMarcel Moolenaar	to MAKEFLAGS so that they get propagated to child make's.
17143955d011SMarcel Moolenaar	Apparently this is required POSIX behaviour?  Its useful anyway.
17153955d011SMarcel Moolenaar
17163955d011SMarcel MoolenaarTue May 29 02:20:07 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
17173955d011SMarcel Moolenaar
17183955d011SMarcel Moolenaar	* compat.c (CompatRunCommand): don't use perror() since stdio may
17193955d011SMarcel Moolenaar	cause problems in child of vfork().
17203955d011SMarcel Moolenaar
17213955d011SMarcel Moolenaar	* compat.c, main.c: Call PrintOnError() when we are going to bail.
17223955d011SMarcel Moolenaar	This routine prints out the .curdir where we stopped and will also
17233955d011SMarcel Moolenaar	display any vars listed in ${MAKE_PRINT_VAR_ON_ERROR}.
17243955d011SMarcel Moolenaar
17253955d011SMarcel Moolenaar	* main.c: add ${.newline} to hold a "\n" - sometimes handy in
17263955d011SMarcel Moolenaar	:@ expansion.
17273955d011SMarcel Moolenaar
17283955d011SMarcel Moolenaar	* var.c: VarLoopExpand: ignore addSpace if a \n is present.
17293955d011SMarcel Moolenaar
17303955d011SMarcel Moolenaar	* Added RCSid's for the files we've touched.
17313955d011SMarcel Moolenaar
17323955d011SMarcel MoolenaarThu May 24 15:41:37 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
17333955d011SMarcel Moolenaar
17343955d011SMarcel Moolenaar	* configure.in:	Thanks to some clues from mdb@juniper.net,
17353955d011SMarcel Moolenaar	added autoconf magic to control setting of MACHINE, MACHINE_ARCH
17363955d011SMarcel Moolenaar	as well as what ends up in _PATH_DEFSYSPATH.  We now have:
17373955d011SMarcel Moolenaar
17383955d011SMarcel Moolenaar  --with-machine=MACHINE  explicitly set MACHINE
17393955d011SMarcel Moolenaar  --with-force-machine=MACHINE  set FORCE_MACHINE
17403955d011SMarcel Moolenaar  --with-machine_arch=MACHINE_ARCH  explicitly set MACHINE_ARCH
17413955d011SMarcel Moolenaar  --with-default-sys-path=PATH:DIR:LIST  use an explicit _PATH_DEFSYSPATH
17423955d011SMarcel Moolenaar  --with-prefix-sys-path=PATH:DIR:LIST  prefix _PATH_PREFIX_SYSPATH
17433955d011SMarcel Moolenaar  --with-path-objdirprefix=PATH  override _PATH_OBJDIRPREFIX
17443955d011SMarcel Moolenaar
17453955d011SMarcel Moolenaar	If _PATH_OBJDIRPREFIX is set to "no" we won't define it.
17463955d011SMarcel Moolenaar
17473955d011SMarcel Moolenaar	* makefile: added a pathetically simple makefile to drive
17483955d011SMarcel Moolenaar	bootstrapping.  Running configure by hand is more useful.
17493955d011SMarcel Moolenaar
17503955d011SMarcel Moolenaar	* Makefile.in: added MAKE_VERSION, and reworked things to be less
17513955d011SMarcel Moolenaar	dependent on NetBSD bsd.*.mk
17523955d011SMarcel Moolenaar
17533955d011SMarcel Moolenaar	* pathnames.h: allow NO_PATH_OBJDIRPREFIX to stop us defining
17543955d011SMarcel Moolenaar	_PATH_OBJDIRPREFIX for those that don't want a default.
17553955d011SMarcel Moolenaar	construct _PATH_DEFSYSPATH from the info we get from configure.
17563955d011SMarcel Moolenaar
17573955d011SMarcel Moolenaar	* main.c: allow for no _PATH_OBJDIRPREFIX, set ${MAKE_VERSION}
17583955d011SMarcel Moolenaar	if MAKE_VERSION is defined.
17593955d011SMarcel Moolenaar
17603955d011SMarcel Moolenaar	* compat.c: when we bail, print out the .CURDIR we were in.
17613955d011SMarcel Moolenaar
17623955d011SMarcel MoolenaarSat May 12 00:34:12 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
17633955d011SMarcel Moolenaar
17643955d011SMarcel Moolenaar	* Merged with NetBSD make
17653955d011SMarcel Moolenaar
17663955d011SMarcel Moolenaar	* var.c: fixed a bug in the handling of the modifier :P
17673955d011SMarcel Moolenaar	if the node as found but the path was null, we segfault trying to
17683955d011SMarcel Moolenaar	duplicate it.
17693955d011SMarcel Moolenaar
17703955d011SMarcel MoolenaarMon Mar  5 16:20:33 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
17713955d011SMarcel Moolenaar
17723955d011SMarcel Moolenaar	* Merged with NetBSD make
17733955d011SMarcel Moolenaar
17743955d011SMarcel Moolenaar	* make.c: Make_OODate's test for a library out of date was using
17753955d011SMarcel Moolenaar	cmtime where it should have used mtime (my bug).
17763955d011SMarcel Moolenaar
17773955d011SMarcel Moolenaar	* compat.c: Use perror() to tell us what really went wrong when we
17783955d011SMarcel Moolenaar	cannot exec a command.
17793955d011SMarcel Moolenaar
17803955d011SMarcel MoolenaarFri Dec 15 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
17813955d011SMarcel Moolenaar
17823955d011SMarcel Moolenaar	* Merged with NetBSD make
17833955d011SMarcel Moolenaar
17843955d011SMarcel MoolenaarSat Jun 10 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
17853955d011SMarcel Moolenaar
17863955d011SMarcel Moolenaar	* Merged with NetBSD make
17873955d011SMarcel Moolenaar
17883955d011SMarcel MoolenaarThu Jun  1 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
17893955d011SMarcel Moolenaar
17903955d011SMarcel Moolenaar	* Merged with NetBSD make
17913955d011SMarcel Moolenaar
17923955d011SMarcel MoolenaarTue May 30 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
17933955d011SMarcel Moolenaar
17943955d011SMarcel Moolenaar	* Merged with NetBSD make
17953955d011SMarcel Moolenaar
17963955d011SMarcel MoolenaarThu Apr 27 00:07:47 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
17973955d011SMarcel Moolenaar
17983955d011SMarcel Moolenaar	* util.c: don't provide signal() since we use sigcompat.c
17993955d011SMarcel Moolenaar
18003955d011SMarcel Moolenaar	* Makefile.in: added a build target.
18013955d011SMarcel Moolenaar
18023955d011SMarcel Moolenaar	* var.c (Var_Parse): added ODE modifiers :U, :D, :L, :P, :@ and :!
18033955d011SMarcel Moolenaar	These allow some quite clever magic.
18043955d011SMarcel Moolenaar
18053955d011SMarcel Moolenaar	* main.c (main): added support for getenv(MAKESYSPATH).
18063955d011SMarcel Moolenaar
18073955d011SMarcel MoolenaarMon Apr  2 16:25:13 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
18083955d011SMarcel Moolenaar
18093955d011SMarcel Moolenaar	* Disable $PWD overriding getcwd() if MAKEOBJDIRPREFIX is set.
18103955d011SMarcel Moolenaar	This avoids objdir having a different value depending on how a
18113955d011SMarcel Moolenaar	directory was reached (via command line, or subdir.mk).
18123955d011SMarcel Moolenaar
18133955d011SMarcel Moolenaar	* If FORCE_MACHINE is defined, ignore getenv("MACHINE").
18143955d011SMarcel Moolenaar
18153955d011SMarcel MoolenaarMon Apr  2 23:15:31 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
18163955d011SMarcel Moolenaar
18173955d011SMarcel Moolenaar	* Do a chdir(${.CURDIR}) before invoking ${.MAKE} or ${.MAKE:T} if
18183955d011SMarcel Moolenaar	MAKEOBJDIRPREFIX is set and NOCHECKMAKECHDIR is not.
18193955d011SMarcel Moolenaar	I've been testing this in NetBSD's make for some weeks.
18203955d011SMarcel Moolenaar
18213955d011SMarcel Moolenaar	* Turn Makefile into Makefile.in and make it useful.
18223955d011SMarcel Moolenaar
18233955d011SMarcel MoolenaarTue Feb 29 22:08:00 2000 Simon J. Gerraty  <sjg@zen.quick.com.au>
18243955d011SMarcel Moolenaar
18253955d011SMarcel Moolenaar	* Imported NetBSD's -current make(1) and resolve conflicts.
18263955d011SMarcel Moolenaar
18273955d011SMarcel Moolenaar	* Applied autoconf patches from bmake v2
18283955d011SMarcel Moolenaar
18293955d011SMarcel Moolenaar	* Imported clean code base from NetBSD-1.0
1830