xref: /freebsd/contrib/bmake/ChangeLog (revision 548bfc56eb0b2cefa0fb8dc2478240bfef610309)
1*548bfc56SSimon J. Gerraty2024-04-30  Simon J Gerraty  <sjg@beast.crufty.net>
2*548bfc56SSimon J. Gerraty
3*548bfc56SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240430
4*548bfc56SSimon J. Gerraty	Merge with NetBSD make, pick up
5*548bfc56SSimon J. Gerraty	o main.c: ensure '.include <makefile>' respects MAKESYSPATH.
6*548bfc56SSimon J. Gerraty	Dir_FindFile will search .CURDIR first unless ".DOTLAST" is seen.
7*548bfc56SSimon J. Gerraty
8*548bfc56SSimon J. Gerraty2024-04-28  Simon J Gerraty  <sjg@beast.crufty.net>
9*548bfc56SSimon J. Gerraty
10*548bfc56SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240428
11*548bfc56SSimon J. Gerraty	Merge with NetBSD make, pick up
12*548bfc56SSimon J. Gerraty	o simplify freeing of lists
13*548bfc56SSimon J. Gerraty	o arch.c: trim pointless comments
14*548bfc56SSimon J. Gerraty	o var.c: delay variable assignments until actually needed
15*548bfc56SSimon J. Gerraty	don't reallocate memory after evaluating an expression, result is
16*548bfc56SSimon J. Gerraty	almost always short-lived.
17*548bfc56SSimon J. Gerraty
18*548bfc56SSimon J. Gerraty2024-04-26  Simon J Gerraty  <sjg@beast.crufty.net>
19*548bfc56SSimon J. Gerraty
20*548bfc56SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240426
21*548bfc56SSimon J. Gerraty	Merge with NetBSD make, pick up
22*548bfc56SSimon J. Gerraty	o job.c: in debug output, print the directory in which a job
23*548bfc56SSimon J. Gerraty	failed at same time as failed target so it is more easily found in
24*548bfc56SSimon J. Gerraty	build log.
25*548bfc56SSimon J. Gerraty
26*548bfc56SSimon J. Gerraty2024-04-24  Simon J Gerraty  <sjg@beast.crufty.net>
27*548bfc56SSimon J. Gerraty
28*548bfc56SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240424
29*548bfc56SSimon J. Gerraty	Merge with NetBSD make, pick up
30*548bfc56SSimon J. Gerraty	o clean up comments, code and tests
31*548bfc56SSimon J. Gerraty
32*548bfc56SSimon J. Gerraty2024-04-23  Simon J Gerraty  <sjg@beast.crufty.net>
33*548bfc56SSimon J. Gerraty
34*548bfc56SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240422
35*548bfc56SSimon J. Gerraty	Merge with NetBSD make, pick up
36*548bfc56SSimon J. Gerraty	o var.c: avoid LazyBuf for :*time modifiers.
37*548bfc56SSimon J. Gerraty	LazyBuf's are not nul terminated so not suitable for passing to
38*548bfc56SSimon J. Gerraty	functions that expect that. These modifiers are used sparingly so
39*548bfc56SSimon J. Gerraty	an extra allocation is not a problem.
40*548bfc56SSimon J. Gerraty
41*548bfc56SSimon J. Gerraty2024-04-20  Simon J Gerraty  <sjg@beast.crufty.net>
42*548bfc56SSimon J. Gerraty
43*548bfc56SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240420
44*548bfc56SSimon J. Gerraty	Merge with NetBSD make, pick up
45*548bfc56SSimon J. Gerraty	o provide more context information for parse/evaluate errors
46*548bfc56SSimon J. Gerraty
47*548bfc56SSimon J. Gerraty2024-04-14  Simon J Gerraty  <sjg@beast.crufty.net>
48*548bfc56SSimon J. Gerraty
49*548bfc56SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240414
50*548bfc56SSimon J. Gerraty	Merge with NetBSD make, pick up
51*548bfc56SSimon J. Gerraty	o parse.c: print -dp debug info earlier so we see which
52*548bfc56SSimon J. Gerraty	.if or .for line is being parsed.
53*548bfc56SSimon J. Gerraty
54*548bfc56SSimon J. Gerraty2024-04-04  Simon J Gerraty  <sjg@beast.crufty.net>
55*548bfc56SSimon J. Gerraty
56*548bfc56SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240404
57*548bfc56SSimon J. Gerraty	Merge with NetBSD make, pick up
58*548bfc56SSimon J. Gerraty	o fix some unit tests for Cygwin
59*548bfc56SSimon J. Gerraty	o parse.c: exit immediately after reading a null byte from a makefile
60*548bfc56SSimon J. Gerraty
61*548bfc56SSimon J. Gerraty	* fix generation of bmake.cat1
62*548bfc56SSimon J. Gerraty
63*548bfc56SSimon J. Gerraty2024-03-19  Simon J Gerraty  <sjg@beast.crufty.net>
64*548bfc56SSimon J. Gerraty
65*548bfc56SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240314
66*548bfc56SSimon J. Gerraty	Add/Improve support for Cygwin
67*548bfc56SSimon J. Gerraty	o uname -s output isn't useful so allow configure to
68*548bfc56SSimon J. Gerraty	set FORCE_MAKE_OS - to force the value of .MAKE.OS
69*548bfc56SSimon J. Gerraty	and use Cygwin which matches uname -o
70*548bfc56SSimon J. Gerraty	o fix some unit-tests for Cygwin
71*548bfc56SSimon J. Gerraty
72c59c3bf3SSimon J. Gerraty2024-03-10  Simon J Gerraty  <sjg@beast.crufty.net>
73c59c3bf3SSimon J. Gerraty
74c59c3bf3SSimon J. Gerraty	* boot-strap: tests can take a long time; use a cookie to
75c59c3bf3SSimon J. Gerraty	skip them if bmake has not been updated since tests last
76c59c3bf3SSimon J. Gerraty	ran successfully.
77c59c3bf3SSimon J. Gerraty
78c59c3bf3SSimon J. Gerraty	* Makefile: Cygwin handles MANTARGET man
79c59c3bf3SSimon J. Gerraty
80c59c3bf3SSimon J. Gerraty	* unit-tests/Makefile: set BROKEN_TESTS for Cygwin
81c59c3bf3SSimon J. Gerraty
82c59c3bf3SSimon J. Gerraty2024-03-09  Simon J Gerraty  <sjg@beast.crufty.net>
83c59c3bf3SSimon J. Gerraty
84c59c3bf3SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240309
85c59c3bf3SSimon J. Gerraty	Merge with NetBSD make, pick up
86c59c3bf3SSimon J. Gerraty	o set .ERROR_EXIT to the exit status of .ERROR_TARGET
87c59c3bf3SSimon J. Gerraty	this allows a .ERROR target to ignore the case of
88c59c3bf3SSimon J. Gerraty	.ERROR_EXIT==6 which just means that the build actually
89c59c3bf3SSimon J. Gerraty	failed somewhere else.
90c59c3bf3SSimon J. Gerraty
91c59c3bf3SSimon J. Gerraty2024-03-04  Simon J Gerraty  <sjg@beast.crufty.net>
92c59c3bf3SSimon J. Gerraty
93c59c3bf3SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240303
94c59c3bf3SSimon J. Gerraty
95c59c3bf3SSimon J. Gerraty	* var.c: on IRIX we need both inttypes.h and stdint.h
96c59c3bf3SSimon J. Gerraty
97c59c3bf3SSimon J. Gerraty2024-03-01  Simon J Gerraty  <sjg@beast.crufty.net>
98c59c3bf3SSimon J. Gerraty
99c59c3bf3SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240301
100c59c3bf3SSimon J. Gerraty	Merge with NetBSD make, pick up
101c59c3bf3SSimon J. Gerraty	o export variables with value from target scope
102c59c3bf3SSimon J. Gerraty	when appropriate.
103c59c3bf3SSimon J. Gerraty
104c59c3bf3SSimon J. Gerraty2024-02-12  Simon J Gerraty  <sjg@beast.crufty.net>
105c59c3bf3SSimon J. Gerraty
106c59c3bf3SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240212
107c59c3bf3SSimon J. Gerraty	Merge with NetBSD make, pick up
108c59c3bf3SSimon J. Gerraty	o remove unneeded conditional-compilation toggles
109c59c3bf3SSimon J. Gerraty	INCLUDES, LIBRARIES, POSIX, SYSVINCLUDE, SYSVVARSUB,
110c59c3bf3SSimon J. Gerraty	GMAKEEXPORT NO_REGEX and SUNSHCMD
111c59c3bf3SSimon J. Gerraty
112c59c3bf3SSimon J. Gerraty	* configure.in: add check for regex.h
113c59c3bf3SSimon J. Gerraty
114c59c3bf3SSimon J. Gerraty	* var.c: replace use of NO_REGEX with HAVE_REGEX_H
115c59c3bf3SSimon J. Gerraty
116c59c3bf3SSimon J. Gerraty2024-02-04  Simon J Gerraty  <sjg@beast.crufty.net>
117c59c3bf3SSimon J. Gerraty
118c59c3bf3SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240204
119c59c3bf3SSimon J. Gerraty	Merge with NetBSD make, pick up
120c59c3bf3SSimon J. Gerraty	o var.c: fix some lint (-dL) mode parsing issues
121c59c3bf3SSimon J. Gerraty
122c59c3bf3SSimon J. Gerraty2024-02-02  Simon J Gerraty  <sjg@beast.crufty.net>
123c59c3bf3SSimon J. Gerraty
124c59c3bf3SSimon J. Gerraty	* VERSION: (_MAKE_VERSION): 20240202
125c59c3bf3SSimon J. Gerraty	Merge with NetBSD make, pick up
126c59c3bf3SSimon J. Gerraty	o make.1: note that arg to :D and :U can be empty
127c59c3bf3SSimon J. Gerraty	o var.c: $$ is not a parse error when .MAKE.SAVE_DOLLARS=no
128c59c3bf3SSimon J. Gerraty
129d5e0a182SSimon J. Gerraty2024-01-08  Simon J Gerraty  <sjg@beast.crufty.net>
130d5e0a182SSimon J. Gerraty
131d5e0a182SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240108
132d5e0a182SSimon J. Gerraty	Merge with NetBSD make, pick up
133d5e0a182SSimon J. Gerraty	o miscellaneous cleanups
134d5e0a182SSimon J. Gerraty
135d5e0a182SSimon J. Gerraty2024-01-06  Simon J Gerraty  <sjg@beast.crufty.net>
136d5e0a182SSimon J. Gerraty
137d5e0a182SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240106
138d5e0a182SSimon J. Gerraty	Merge with NetBSD make, pick up
139d5e0a182SSimon J. Gerraty	o fix duplicate progname when reporting an unknown target
140d5e0a182SSimon J. Gerraty	o unit tests for Cmd_Exec using temp file
141d5e0a182SSimon J. Gerraty
142d5e0a182SSimon J. Gerraty2024-01-05  Simon J Gerraty  <sjg@beast.crufty.net>
143d5e0a182SSimon J. Gerraty
144d5e0a182SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240105
145d5e0a182SSimon J. Gerraty	Merge with NetBSD make, pick up
146d5e0a182SSimon J. Gerraty	o main.c: Cmd_Exec write cmd to a file if too big
147d5e0a182SSimon J. Gerraty	avoid blowing commandline/env limits
148d5e0a182SSimon J. Gerraty
149d5e0a182SSimon J. Gerraty2024-01-02  Simon J Gerraty  <sjg@beast.crufty.net>
150d5e0a182SSimon J. Gerraty
151d5e0a182SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20240101
152d5e0a182SSimon J. Gerraty	o util.c: flesh out more of strftime
153d5e0a182SSimon J. Gerraty	* configure.in: add --with-bmake-strftime
154d5e0a182SSimon J. Gerraty	it is not a full implementation but enough to pass all
155d5e0a182SSimon J. Gerraty	the unit-tests.
156d5e0a182SSimon J. Gerraty	* parse.c: LoadFile do not append \n to empty buffer.
157d5e0a182SSimon J. Gerraty
158d5e0a182SSimon J. Gerraty2023-12-30  Simon J Gerraty  <sjg@beast.crufty.net>
159d5e0a182SSimon J. Gerraty
160d5e0a182SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20231230
161d5e0a182SSimon J. Gerraty	Merge with NetBSD make, pick up
162d5e0a182SSimon J. Gerraty	o simplify memory allocation for string buffers
163d5e0a182SSimon J. Gerraty	o fix declared types of list nodes
164d5e0a182SSimon J. Gerraty	o suff.c: clean up freeing of suffixes
165d5e0a182SSimon J. Gerraty	o var.c: simplify debug message for the ':@var@...@' modifier
166d5e0a182SSimon J. Gerraty	clean up variable handling
167d5e0a182SSimon J. Gerraty
168d5e0a182SSimon J. Gerraty2023-12-26  Simon J Gerraty  <sjg@beast.crufty.net>
169d5e0a182SSimon J. Gerraty
170d5e0a182SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20231226
171d5e0a182SSimon J. Gerraty	Merge with NetBSD make, pick up
172d5e0a182SSimon J. Gerraty	o compat.c: ensure make's output is correctly ordered with that of
173d5e0a182SSimon J. Gerraty	the target when not going to a tty
174d5e0a182SSimon J. Gerraty	o main.c: check for shellPath whether to call Shell_Init()
175d5e0a182SSimon J. Gerraty
176d5e0a182SSimon J. Gerraty2023-12-24  Simon J Gerraty  <sjg@beast.crufty.net>
177d5e0a182SSimon J. Gerraty
178d5e0a182SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20231224
179d5e0a182SSimon J. Gerraty	Merge with NetBSD make, pick up
180d5e0a182SSimon J. Gerraty	o compat.c: check for shellPath whether to call Shell_Init()
181d5e0a182SSimon J. Gerraty	tweak the unit test to detect the bug thus fixed.
182d5e0a182SSimon J. Gerraty	o make.1: do not claim .SHELL is only used by jobs mode.
183d5e0a182SSimon J. Gerraty
184d5e0a182SSimon J. Gerraty2023-12-22  Simon J Gerraty  <sjg@beast.crufty.net>
185d5e0a182SSimon J. Gerraty
186d5e0a182SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20231220
187d5e0a182SSimon J. Gerraty	Merge with NetBSD make, pick up
188d5e0a182SSimon J. Gerraty	o str.c: speed up pattern matching in the ':M' modifier
189d5e0a182SSimon J. Gerraty	o var.c: fix confusing debug logging when deleting a variable
190d5e0a182SSimon J. Gerraty	use consistent debug messages style when ignoring variables
191d5e0a182SSimon J. Gerraty
192d5e0a182SSimon J. Gerraty2023-12-10  Simon J Gerraty  <sjg@beast.crufty.net>
193d5e0a182SSimon J. Gerraty
194d5e0a182SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20231210
195d5e0a182SSimon J. Gerraty	Merge with NetBSD make, pick up
196d5e0a182SSimon J. Gerraty	o var.c: avoid segfault on empty :C match expression
197d5e0a182SSimon J. Gerraty	explain in debug log why variable assignment is ignored.
198d5e0a182SSimon J. Gerraty
199d5e0a182SSimon J. Gerraty2023-12-08  Simon J Gerraty  <sjg@beast.crufty.net>
200d5e0a182SSimon J. Gerraty
201d5e0a182SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20231208
202d5e0a182SSimon J. Gerraty	Merge with NetBSD make, pick up
203d5e0a182SSimon J. Gerraty	o var.c: ensure fromCmd is set correctly for variables set on
204d5e0a182SSimon J. Gerraty	command line.
205d5e0a182SSimon J. Gerraty
206d5e0a182SSimon J. Gerraty2023-11-26  Simon J Gerraty  <sjg@beast.crufty.net>
207d5e0a182SSimon J. Gerraty
208d5e0a182SSimon J. Gerraty	* configure.in: disable generation of 'makefile' for
209d5e0a182SSimon J. Gerraty	Darwin by default.
210d5e0a182SSimon J. Gerraty
211d5e0a182SSimon J. Gerraty	* boot-strap: docuement --without-makefile
212d5e0a182SSimon J. Gerraty
213d5e0a182SSimon J. Gerraty2023-11-24  Simon J Gerraty  <sjg@beast.crufty.net>
214d5e0a182SSimon J. Gerraty
215d5e0a182SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20231124
216d5e0a182SSimon J. Gerraty	Merge with NetBSD make, pick up
217d5e0a182SSimon J. Gerraty	o main.c: cleanup processing of -j
218d5e0a182SSimon J. Gerraty	fix lint warning about strchr
219d5e0a182SSimon J. Gerraty	o var.c: more accurate error message for invalid ':mtime' argument
220d5e0a182SSimon J. Gerraty	cleanup :[...] modifier
221d5e0a182SSimon J. Gerraty	avoid reading beyond substring when comparing
222d5e0a182SSimon J. Gerraty	o unit-tests cover all cases of :mtime, test and explain exporting
223d5e0a182SSimon J. Gerraty	of variables
224d5e0a182SSimon J. Gerraty	o cleanup comments
225d5e0a182SSimon J. Gerraty
226d5e0a182SSimon J. Gerraty2023-09-17  Simon J Gerraty  <sjg@beast.crufty.net>
227d5e0a182SSimon J. Gerraty
228d5e0a182SSimon J. Gerraty	* bsd.after-import.mk (ECHO_TAG): FreeBSD no longer uses
229d5e0a182SSimon J. Gerraty	$FreeBSD$ tag, so avoid adding it.
230d5e0a182SSimon J. Gerraty
23198875883SSimon J. Gerraty2023-09-09  Simon J Gerraty  <sjg@beast.crufty.net>
23298875883SSimon J. Gerraty
23398875883SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230909
23498875883SSimon J. Gerraty	Merge with NetBSD make, pick up
23598875883SSimon J. Gerraty	o main.c: allow -j to compute a multiple of ncpu
23698875883SSimon J. Gerraty	If _SC_NPROCESSORS_ONLN is supported; and -j arg is a floating
23798875883SSimon J. Gerraty	point number or ends in 'C' compute .MAKE.JOBS as a multiple of
23898875883SSimon J. Gerraty	_SC_NPROCESSORS_ONLN
23998875883SSimon J. Gerraty	.MAKE.JOBS.C will be "yes" if -jC is supported
24098875883SSimon J. Gerraty
24198875883SSimon J. Gerraty2023-08-20  Simon J Gerraty  <sjg@beast.crufty.net>
24298875883SSimon J. Gerraty
24398875883SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230820
24498875883SSimon J. Gerraty	Merge with NetBSD make, pick up
24598875883SSimon J. Gerraty	o make.1: note that :localtime is better for %s
24698875883SSimon J. Gerraty	o parse.c: improve error messages for invalid input.
24798875883SSimon J. Gerraty	o var.c: fix for %s:L:gmtime - set TZ=UTC and use localtime to get
24898875883SSimon J. Gerraty	correct result, it is still better to use %s:L:localtime.
24998875883SSimon J. Gerraty
25098875883SSimon J. Gerraty2023-08-18  Simon J Gerraty  <sjg@beast.crufty.net>
25198875883SSimon J. Gerraty
25298875883SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230818
25398875883SSimon J. Gerraty	Merge with NetBSD make, pick up
25498875883SSimon J. Gerraty	o meta.c: meta_ignore - check raw path against metaIgnorePaths
25598875883SSimon J. Gerraty	to potentially skip call to realpath.
25698875883SSimon J. Gerraty	o var.c: be strict when parsing the argument of the ':mtime' modifier
25798875883SSimon J. Gerraty	o unit-tests/varmod-mtime.mk: document why '${%s:L:localtime}'
25898875883SSimon J. Gerraty	should be used to get an equivalent value to time(3).
25998875883SSimon J. Gerraty
26098875883SSimon J. Gerraty2023-08-16  Simon J Gerraty  <sjg@beast.crufty.net>
26198875883SSimon J. Gerraty
26298875883SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230816
26398875883SSimon J. Gerraty	Merge with NetBSD make, pick up
26498875883SSimon J. Gerraty	o cond.c: clean up multiple-inclusion guards
26598875883SSimon J. Gerraty
26698875883SSimon J. Gerraty2023-07-25  Simon J Gerraty  <sjg@beast.crufty.net>
26798875883SSimon J. Gerraty
26898875883SSimon J. Gerraty	* unit-tests/Makefile: addd varmod-localtime to BROKEN_TESTS
26998875883SSimon J. Gerraty	if configure cannot work out how to control TZ.
27098875883SSimon J. Gerraty	Remove varmod-localtime from BROKEN_TESTS for IRIX*
27198875883SSimon J. Gerraty
27298875883SSimon J. Gerraty2023-07-24  Simon J Gerraty  <sjg@beast.crufty.net>
27398875883SSimon J. Gerraty
27498875883SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230723
27598875883SSimon J. Gerraty
27698875883SSimon J. Gerraty	* configure.in: fix the test for wether TZ=Europe/Berlin works.
27798875883SSimon J. Gerraty	Depending on the time of year, if run between 22:00 and 00:00 UTC
27898875883SSimon J. Gerraty	the check in configure would fail incorrectly.
27998875883SSimon J. Gerraty	Take the day into account as well.
28098875883SSimon J. Gerraty
28198875883SSimon J. Gerraty2023-07-18  Simon J Gerraty  <sjg@beast.crufty.net>
28298875883SSimon J. Gerraty
28398875883SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230711
28498875883SSimon J. Gerraty	Merge with NetBSD make, pick up
28598875883SSimon J. Gerraty	o make.1: clean up wording, clarify scope of '!' in conditions
28698875883SSimon J. Gerraty
28798875883SSimon J. Gerraty2023-07-15  Simon J Gerraty  <sjg@beast.crufty.net>
28898875883SSimon J. Gerraty
28998875883SSimon J. Gerraty	* make-bootstrap.sh.in: set prefix
29098875883SSimon J. Gerraty	If configure is run using ksh we get unexpanded ${prefix} in
29198875883SSimon J. Gerraty	DEFAULT_SYS_PATH, by ensuring prefix is set we should still get
29298875883SSimon J. Gerraty	correct result.
29398875883SSimon J. Gerraty
29498875883SSimon J. Gerraty2023-07-13  Simon J Gerraty  <sjg@beast.crufty.net>
29598875883SSimon J. Gerraty
29698875883SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230711
29798875883SSimon J. Gerraty	bump version for IRIX tweaks
29898875883SSimon J. Gerraty
29998875883SSimon J. Gerraty	* make.h: undef OP_NONE if defined
30098875883SSimon J. Gerraty
30198875883SSimon J. Gerraty	* unit-tests/Makefile: set BROKEN_TESTS for IRIX
30298875883SSimon J. Gerraty
30398875883SSimon J. Gerraty	* configure.in: override INSTALL on IRIX
30498875883SSimon J. Gerraty
30598875883SSimon J. Gerraty2023-06-27  Simon J Gerraty  <sjg@beast.crufty.net>
30698875883SSimon J. Gerraty
30798875883SSimon J. Gerraty	* boot-strap op_test: ensure we set TEST_MAKE as we want it.
30898875883SSimon J. Gerraty
309148ee845SSimon J. Gerraty2023-06-22  Simon J Gerraty  <sjg@beast.crufty.net>
310148ee845SSimon J. Gerraty
311148ee845SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230622
312148ee845SSimon J. Gerraty	Merge with NetBSD make, pick up
313148ee845SSimon J. Gerraty	o optimize string matching for ':M' and ':N'
314148ee845SSimon J. Gerraty	o warn about malformed patterns in ':M', ':N' and '.if make(...)'
315148ee845SSimon J. Gerraty
316148ee845SSimon J. Gerraty2023-06-21  Simon J Gerraty  <sjg@beast.crufty.net>
317148ee845SSimon J. Gerraty
318148ee845SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230621
319148ee845SSimon J. Gerraty	Merge with NetBSD make, pick up
320148ee845SSimon J. Gerraty	o more extensive tests for include guards
321148ee845SSimon J. Gerraty	o parse.c: if a guard is already defined a file that uses the same
322148ee845SSimon J. Gerraty	guard is still guarded by it.
323148ee845SSimon J. Gerraty
324148ee845SSimon J. Gerraty2023-06-20  Simon J Gerraty  <sjg@beast.crufty.net>
325148ee845SSimon J. Gerraty
326148ee845SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230620
327148ee845SSimon J. Gerraty	Merge with NetBSD make, pick up
328148ee845SSimon J. Gerraty	o allow guards to be targets as well as variables
329148ee845SSimon J. Gerraty	The guard targets may include variable references like
330148ee845SSimon J. Gerraty	__${.PARSEDIR:tA}/${.PARSEFILE}__
331148ee845SSimon J. Gerraty
332148ee845SSimon J. Gerraty2023-06-19  Simon J Gerraty  <sjg@beast.crufty.net>
333148ee845SSimon J. Gerraty
334148ee845SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230619
335148ee845SSimon J. Gerraty	Merge with NetBSD make, pick up
336148ee845SSimon J. Gerraty	o unit test for .undef of readOnly vars
337148ee845SSimon J. Gerraty	o optimization for makefiles protected from multiple-inclusion
338148ee845SSimon J. Gerraty	skip even opening the file after first include.
339148ee845SSimon J. Gerraty	Initially this only handles makefiles guarded by a variable
340148ee845SSimon J. Gerraty	target guards are next.
341148ee845SSimon J. Gerraty
342148ee845SSimon J. Gerraty2023-06-16  Simon J Gerraty  <sjg@beast.crufty.net>
343148ee845SSimon J. Gerraty
344148ee845SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230616
345148ee845SSimon J. Gerraty	Merge with NetBSD make, pick up
346148ee845SSimon J. Gerraty	o var.c: do not allow delete of readOnly variable
347148ee845SSimon J. Gerraty
348148ee845SSimon J. Gerraty2023-06-03  Simon J Gerraty  <sjg@beast.crufty.net>
349148ee845SSimon J. Gerraty
350148ee845SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230601
351148ee845SSimon J. Gerraty	Merge with NetBSD make, pick up
352148ee845SSimon J. Gerraty	o parse.c: .break takes no args
353148ee845SSimon J. Gerraty	o lots of unit test updates
354148ee845SSimon J. Gerraty
355148ee845SSimon J. Gerraty2023-05-29  Simon J Gerraty  <sjg@beast.crufty.net>
356148ee845SSimon J. Gerraty
357148ee845SSimon J. Gerraty	* unit-tests/Makefile: skip tests that require /dev/filemon
358148ee845SSimon J. Gerraty	if it does not exists - issue a warning.
359148ee845SSimon J. Gerraty
360148ee845SSimon J. Gerraty2023-05-22  Simon J Gerraty  <sjg@beast.crufty.net>
361148ee845SSimon J. Gerraty
362148ee845SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230522
363148ee845SSimon J. Gerraty	Fix building on darwin ppc
364148ee845SSimon J. Gerraty
365148ee845SSimon J. Gerraty	* os.sh (MACHINE): Darwin powerpc cannot use `uname -m`
366148ee845SSimon J. Gerraty	also recent NetBSD uses x86_64 for MACHINE_ARCH so conform.
367148ee845SSimon J. Gerraty
368148ee845SSimon J. Gerraty2023-05-15  Simon J Gerraty  <sjg@beast.crufty.net>
369148ee845SSimon J. Gerraty
370148ee845SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230515
371148ee845SSimon J. Gerraty
372148ee845SSimon J. Gerraty	* Makefile (COPTS.filemon_ktrace.c): NetBSD 7 needs help to
373148ee845SSimon J. Gerraty	compile filemon_ktrace.c
374148ee845SSimon J. Gerraty
375148ee845SSimon J. Gerraty2023-05-13  Simon J Gerraty  <sjg@beast.crufty.net>
376148ee845SSimon J. Gerraty
377148ee845SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230512
378148ee845SSimon J. Gerraty	o sys.dirdeps.mk - broke after-import target
379148ee845SSimon J. Gerraty
380c1d01b5fSSimon J. Gerraty2023-05-10  Simon J Gerraty  <sjg@beast.crufty.net>
381c1d01b5fSSimon J. Gerraty
382c1d01b5fSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230510
383c1d01b5fSSimon J. Gerraty	Merge with NetBSD make, pick up
384c1d01b5fSSimon J. Gerraty	o parse.c: don't print null filename in stack traces
385c1d01b5fSSimon J. Gerraty	o var.c: :mtime operate on each word in variable value
386c1d01b5fSSimon J. Gerraty
387c1d01b5fSSimon J. Gerraty2023-05-09  Simon J Gerraty  <sjg@beast.crufty.net>
388c1d01b5fSSimon J. Gerraty
389c1d01b5fSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230509
390c1d01b5fSSimon J. Gerraty	Merge with NetBSD make, pick up
391c1d01b5fSSimon J. Gerraty	o for.c: skip syntactically wrong .for loops
392c1d01b5fSSimon J. Gerraty	o var.c: allow for :gmtime=${mtime}
393c1d01b5fSSimon J. Gerraty	add :mtime[=timestamp] where timestamp is used if stat(2)
394c1d01b5fSSimon J. Gerraty	fails, if :mtime=error stat(2) failure causes error.
395c1d01b5fSSimon J. Gerraty
396c1d01b5fSSimon J. Gerraty2023-05-05  Simon J Gerraty  <sjg@beast.crufty.net>
397c1d01b5fSSimon J. Gerraty
398c1d01b5fSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230504
399c1d01b5fSSimon J. Gerraty	Merge with NetBSD make, pick up
400c1d01b5fSSimon J. Gerraty	o compat.c: fix compile on NetBSD 7.2
401c1d01b5fSSimon J. Gerraty	o make.1: fix documentation of .PREFIX to match reality and POSIX
402c1d01b5fSSimon J. Gerraty	o unit-tests: improved var-scope-local
403c1d01b5fSSimon J. Gerraty
4048c973ee2SSimon J. Gerraty2023-04-14  Simon J Gerraty  <sjg@beast.crufty.net>
4058c973ee2SSimon J. Gerraty
4068c973ee2SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230414
4078c973ee2SSimon J. Gerraty	Merge with NetBSD make, pick up
4088c973ee2SSimon J. Gerraty	o minor cleanup
4098c973ee2SSimon J. Gerraty
4108c973ee2SSimon J. Gerraty2023-03-25  Simon J Gerraty  <sjg@beast.crufty.net>
4118c973ee2SSimon J. Gerraty
4128c973ee2SSimon J. Gerraty	* main.c: on some systems (eg OS/X) setting RLIMIT_NOFILE to
4138c973ee2SSimon J. Gerraty	unlimited results in an insane number (0x7fffffffffffffff).
4148c973ee2SSimon J. Gerraty	If BMAKE_NOFILE_MAX is defined, use that instead.
4158c973ee2SSimon J. Gerraty
4168c973ee2SSimon J. Gerraty2023-03-22  Simon J Gerraty  <sjg@beast.crufty.net>
4178c973ee2SSimon J. Gerraty
4188c973ee2SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230321
4198c973ee2SSimon J. Gerraty	Merge with NetBSD make, pick up
4208c973ee2SSimon J. Gerraty	* make.1: document seemingly unexplained Error code 6.
4218c973ee2SSimon J. Gerraty
4228c973ee2SSimon J. Gerraty2023-03-18  Simon J Gerraty  <sjg@beast.crufty.net>
4238c973ee2SSimon J. Gerraty
4248c973ee2SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230317
4258c973ee2SSimon J. Gerraty	Merge with NetBSD make, pick up
4268c973ee2SSimon J. Gerraty	o compat.c: CompatDeleteTarget skip .PHONY targets to be
4278c973ee2SSimon J. Gerraty	consistent with JobDeleteTarget.
4288c973ee2SSimon J. Gerraty	o job.c: fix memory leak in handling sysv :from=to modifiers
4298c973ee2SSimon J. Gerraty
4308c973ee2SSimon J. Gerraty2023-03-04  Simon J Gerraty  <sjg@beast.crufty.net>
4318c973ee2SSimon J. Gerraty
4328c973ee2SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230303
4338c973ee2SSimon J. Gerraty	Merge with NetBSD make, pick up
4348c973ee2SSimon J. Gerraty	o several updated unit-tests
4358c973ee2SSimon J. Gerraty
4368c973ee2SSimon J. Gerraty2023-02-22  Simon J Gerraty  <sjg@beast.crufty.net>
4378c973ee2SSimon J. Gerraty
4388c973ee2SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230222
4398c973ee2SSimon J. Gerraty	Merge with NetBSD make, pick up
4408c973ee2SSimon J. Gerraty	o unit tests for .MAKE.META.IGNORE_{FILTER,PATHS,PATTERNS}
4418c973ee2SSimon J. Gerraty
4428c973ee2SSimon J. Gerraty2023-02-20  Simon J Gerraty  <sjg@beast.crufty.net>
4438c973ee2SSimon J. Gerraty
4448c973ee2SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230218
4458c973ee2SSimon J. Gerraty	Merge with NetBSD make, pick up
4468c973ee2SSimon J. Gerraty	o var.c: fix parsing of unevaluated subexpressions with
4478c973ee2SSimon J. Gerraty	unbalanced '{}'
4488c973ee2SSimon J. Gerraty
4498c973ee2SSimon J. Gerraty2023-02-17  Simon J Gerraty  <sjg@beast.crufty.net>
4508c973ee2SSimon J. Gerraty
4518c973ee2SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230215
4528c973ee2SSimon J. Gerraty	Merge with NetBSD make, pick up
4538c973ee2SSimon J. Gerraty	o inline macros for some variable names
4548c973ee2SSimon J. Gerraty	o cond.c: reduce complexity of evaluating expressions
4558c973ee2SSimon J. Gerraty
456dc1b8c9aSSimon J. Gerraty2023-02-08  Simon J Gerraty  <sjg@beast.crufty.net>
457dc1b8c9aSSimon J. Gerraty
458dc1b8c9aSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230208
459dc1b8c9aSSimon J. Gerraty	Merge with NetBSD make, pick up
460dc1b8c9aSSimon J. Gerraty	o var.c: always use SCOPE_GLOBAL for :_ to avoid problems
461dc1b8c9aSSimon J. Gerraty	when it has been used within conditional expressions
462dc1b8c9aSSimon J. Gerraty
463dc1b8c9aSSimon J. Gerraty2023-01-27  Simon J Gerraty  <sjg@beast.crufty.net>
464dc1b8c9aSSimon J. Gerraty
465dc1b8c9aSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230127
466dc1b8c9aSSimon J. Gerraty
467dc1b8c9aSSimon J. Gerraty	* install-sh: if making directories ensure umask is set
468dc1b8c9aSSimon J. Gerraty	to match mode.
469dc1b8c9aSSimon J. Gerraty
470dc1b8c9aSSimon J. Gerraty	* Makefile: use DIRMODE for directories and
471dc1b8c9aSSimon J. Gerraty	NONBINMODE for man pages and mk files
472dc1b8c9aSSimon J. Gerraty
4734fde40d9SSimon J. Gerraty2023-01-26  Simon J Gerraty  <sjg@beast.crufty.net>
4744fde40d9SSimon J. Gerraty
4754fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230126
4764fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
4774fde40d9SSimon J. Gerraty	o variables like .newline and .MAKE.{GID,PID,PPID,UID}
4784fde40d9SSimon J. Gerraty	should be read-only.
4794fde40d9SSimon J. Gerraty
4804fde40d9SSimon J. Gerraty2023-01-23  Simon J Gerraty  <sjg@beast.crufty.net>
4814fde40d9SSimon J. Gerraty
4824fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230123
4834fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
4844fde40d9SSimon J. Gerraty	o .[NO]READONLY: for control of read-only variables
4854fde40d9SSimon J. Gerraty	o .SYSPATH: for controlling the path searched for makefiles
4864fde40d9SSimon J. Gerraty
4874fde40d9SSimon J. Gerraty2023-01-20  Simon J Gerraty  <sjg@beast.crufty.net>
4884fde40d9SSimon J. Gerraty
4894fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230120
4904fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
4914fde40d9SSimon J. Gerraty	o allow for white-space between command specifiers @+-
4924fde40d9SSimon J. Gerraty	o add more details to warning 'Extra targets ignored'
4934fde40d9SSimon J. Gerraty
4944fde40d9SSimon J. Gerraty2023-01-12  Simon J Gerraty  <sjg@beast.crufty.net>
4954fde40d9SSimon J. Gerraty
4964fde40d9SSimon J. Gerraty	* machine.sh: leverage os.sh rather than duplicate
4974fde40d9SSimon J. Gerraty	also dispence with the $OS.$MACHINE values - we have $HOST_TARGET
4984fde40d9SSimon J. Gerraty	for that purpose for the past decade or so.
4994fde40d9SSimon J. Gerraty	We invariably get MACHINE and MACHINE_ARCH at runtime anyway.
5004fde40d9SSimon J. Gerraty
5014fde40d9SSimon J. Gerraty2023-01-02  Simon J Gerraty  <sjg@beast.crufty.net>
5024fde40d9SSimon J. Gerraty
5034fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20230101
5044fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
5054fde40d9SSimon J. Gerraty	o cleanup comments, inline some LazyBuf_ methods
5064fde40d9SSimon J. Gerraty	o unit-tests/ add/improve comments in tests
5074fde40d9SSimon J. Gerraty	o make.1: sync list of built-in variables with reality
5084fde40d9SSimon J. Gerraty	sort list of built-in variables
5094fde40d9SSimon J. Gerraty	reduce indentation of the long list of variable names
5104fde40d9SSimon J. Gerraty	use consistent markup for boolean flags
5114fde40d9SSimon J. Gerraty	move description of .MAKE.MODE below the .MAKE.META block
5124fde40d9SSimon J. Gerraty	clarify in which case an expression may omit braces
5134fde40d9SSimon J. Gerraty
5144fde40d9SSimon J. Gerraty2022-11-08  Simon J Gerraty  <sjg@beast.crufty.net>
5154fde40d9SSimon J. Gerraty
5164fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20221024
5174fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
5184fde40d9SSimon J. Gerraty	o change return type of unlink_file back to int
5194fde40d9SSimon J. Gerraty
5204fde40d9SSimon J. Gerraty2022-10-07  Simon J Gerraty  <sjg@beast.crufty.net>
5214fde40d9SSimon J. Gerraty
5224fde40d9SSimon J. Gerraty	* Makefile: Darwin and Linux can handle MANTARGET=man
5234fde40d9SSimon J. Gerraty
5244fde40d9SSimon J. Gerraty2022-09-28  Simon J Gerraty  <sjg@beast.crufty.net>
5254fde40d9SSimon J. Gerraty
5264fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220928
5274fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
5284fde40d9SSimon J. Gerraty	o fix more ignored returns from snprintf
5294fde40d9SSimon J. Gerraty	o compile with higher warnings
5304fde40d9SSimon J. Gerraty
5314fde40d9SSimon J. Gerraty2022-09-26  Simon J Gerraty  <sjg@beast.crufty.net>
5324fde40d9SSimon J. Gerraty
5334fde40d9SSimon J. Gerraty	* main.c meta.c: do not ignore return from snprintf
5344fde40d9SSimon J. Gerraty
5354fde40d9SSimon J. Gerraty	* meta.c strlcpy.c: we need prototype for strlcpy
5364fde40d9SSimon J. Gerraty
5374fde40d9SSimon J. Gerraty	* sigcompat.c: fix unused function warnings
5384fde40d9SSimon J. Gerraty
5394fde40d9SSimon J. Gerraty2022-09-24  Simon J Gerraty  <sjg@beast.crufty.net>
5404fde40d9SSimon J. Gerraty
5414fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220924
5424fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
5434fde40d9SSimon J. Gerraty	o fix bug in .break reset of conditional depth
5444fde40d9SSimon J. Gerraty	o overhaul and simplify tracking of conditional depth
5454fde40d9SSimon J. Gerraty
5464fde40d9SSimon J. Gerraty2022-09-17  Simon J Gerraty  <sjg@beast.crufty.net>
5474fde40d9SSimon J. Gerraty
5484fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220912
5494fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
5504fde40d9SSimon J. Gerraty	o man page updates
5514fde40d9SSimon J. Gerraty
5524fde40d9SSimon J. Gerraty2022-09-09  Simon J Gerraty  <sjg@beast.crufty.net>
5534fde40d9SSimon J. Gerraty
5544fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220909
5554fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
5564fde40d9SSimon J. Gerraty	o update unit-tests to handle deprecation of egrep
5574fde40d9SSimon J. Gerraty	o cond.c: add more details to error message for numeric comparison
5584fde40d9SSimon J. Gerraty
5594fde40d9SSimon J. Gerraty	* configure.in: allow for deprecation of egrep
5604fde40d9SSimon J. Gerraty
5614fde40d9SSimon J. Gerraty	* Makefile: Linux can handle MANTARGET=man
5624fde40d9SSimon J. Gerraty
5634fde40d9SSimon J. Gerraty2022-09-03  Simon J Gerraty  <sjg@beast.crufty.net>
5644fde40d9SSimon J. Gerraty
5654fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220903
5664fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
5674fde40d9SSimon J. Gerraty	o job.c: fix handling of null bytes in output
5684fde40d9SSimon J. Gerraty
5694fde40d9SSimon J. Gerraty2022-09-02  Simon J Gerraty  <sjg@beast.crufty.net>
5704fde40d9SSimon J. Gerraty
5714fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220902
5724fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
5734fde40d9SSimon J. Gerraty	o Allow .break to terminate a .for loop early
5744fde40d9SSimon J. Gerraty
5754fde40d9SSimon J. Gerraty2022-09-01  Simon J Gerraty  <sjg@beast.crufty.net>
5764fde40d9SSimon J. Gerraty
5774fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220901
5784fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
5794fde40d9SSimon J. Gerraty	o var.c: fix out-of-bounds errors when parsing
5804fde40d9SSimon J. Gerraty
5814fde40d9SSimon J. Gerraty2022-08-24  Simon J Gerraty  <sjg@beast.crufty.net>
5824fde40d9SSimon J. Gerraty
5834fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220824
5844fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
5854fde40d9SSimon J. Gerraty	o var.c: revert change to modifier parsing that breaks
5864fde40d9SSimon J. Gerraty	shell variable references within ':@var@body@'
5874fde40d9SSimon J. Gerraty	o adjust unit-tests
5884fde40d9SSimon J. Gerraty
5894fde40d9SSimon J. Gerraty2022-08-18  Simon J Gerraty  <sjg@beast.crufty.net>
5904fde40d9SSimon J. Gerraty
5914fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220818
5924fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
5934fde40d9SSimon J. Gerraty	o fix exit status for '-q' (since 1994)
5944fde40d9SSimon J. Gerraty
5954fde40d9SSimon J. Gerraty2022-08-08  Simon J Gerraty  <sjg@beast.crufty.net>
5964fde40d9SSimon J. Gerraty
5974fde40d9SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220808
5984fde40d9SSimon J. Gerraty	Merge with NetBSD make, pick up
5994fde40d9SSimon J. Gerraty	o var.c: fix parsing of modifiers containing unbalanced subexpressions
6004fde40d9SSimon J. Gerraty	extract parsing of ':D' and ':U' modifiers into separate function
6014fde40d9SSimon J. Gerraty
602532d4fbfSSimon J. Gerraty2022-07-26  Simon J Gerraty  <sjg@beast.crufty.net>
603532d4fbfSSimon J. Gerraty
604532d4fbfSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220726
605532d4fbfSSimon J. Gerraty
606532d4fbfSSimon J. Gerraty	* Auto-create objdir for bmake/unit-tests if appropriate
607532d4fbfSSimon J. Gerraty
608954401e6SSimon J. Gerraty2022-07-24  Simon J Gerraty  <sjg@beast.crufty.net>
609954401e6SSimon J. Gerraty
610954401e6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220724
611954401e6SSimon J. Gerraty	Merge with NetBSD make, pick up
612954401e6SSimon J. Gerraty	o make.1: describe variable assignment and evaluation more precisely
613954401e6SSimon J. Gerraty	o parse.c: fix out-of-bounds read when parsing an invalid line
614954401e6SSimon J. Gerraty	o var.c: simplify return type of IsShortVarnameValid
615954401e6SSimon J. Gerraty
616954401e6SSimon J. Gerraty2022-06-12  Simon J Gerraty  <sjg@beast.crufty.net>
617954401e6SSimon J. Gerraty
618954401e6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220612
619954401e6SSimon J. Gerraty	Merge with NetBSD make, pick up
620954401e6SSimon J. Gerraty	o allow to randomize build order of targets
621954401e6SSimon J. Gerraty	.MAKE.MODE += randomize-targets can help uncover dependency bugs
622954401e6SSimon J. Gerraty	within a makefile.
623954401e6SSimon J. Gerraty	o compat.c: rename Compat_Run to Compat_MakeAll
624954401e6SSimon J. Gerraty	o make.c: inline MakeBuildParent
625954401e6SSimon J. Gerraty	inline make_abort, improve error details
626954401e6SSimon J. Gerraty	o parse.c: reorganize Parse_Error
627954401e6SSimon J. Gerraty	fix memory leak in wildcard targets and sources
628954401e6SSimon J. Gerraty	separate cases in HandleDependencyTargetMundane
629954401e6SSimon J. Gerraty	extract HandleSingleDependencyTargetMundane
630954401e6SSimon J. Gerraty	rename loadfile to LoadFile
631954401e6SSimon J. Gerraty	split IncludeFile into separate functions
632954401e6SSimon J. Gerraty	condense code for searching a file in the paths
633954401e6SSimon J. Gerraty	fix off-by-one error in buffer for .WAIT nodes
634954401e6SSimon J. Gerraty	o str.c: condense Str_Match
635954401e6SSimon J. Gerraty	make code for string matching syntactically more consistent
636954401e6SSimon J. Gerraty
6372f2a5ecdSSimon J. Gerraty2022-04-18  Simon J Gerraty  <sjg@beast.crufty.net>
6382f2a5ecdSSimon J. Gerraty
6392f2a5ecdSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220418
6402f2a5ecdSSimon J. Gerraty	Merge with NetBSD make, pick up
6412f2a5ecdSSimon J. Gerraty	o ignore '.POSIX:' if not in first non-comment line
6422f2a5ecdSSimon J. Gerraty	of Makefile as specified by POSIX.
6432f2a5ecdSSimon J. Gerraty	add unit-tests for above.
6442f2a5ecdSSimon J. Gerraty	o meta.c: make it easier to find usage of identifiers
6452f2a5ecdSSimon J. Gerraty	o targ.c: add .USEBEFORE to Targ_PrintType
6462f2a5ecdSSimon J. Gerraty
6472f2a5ecdSSimon J. Gerraty2022-04-14  Simon J Gerraty  <sjg@beast.crufty.net>
6482f2a5ecdSSimon J. Gerraty
6492f2a5ecdSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220414
6502f2a5ecdSSimon J. Gerraty
6512f2a5ecdSSimon J. Gerraty	* unit-tests/Makefile: simplify checks for shells with
6522f2a5ecdSSimon J. Gerraty	BROKEN_TESTS, this helps with other Linux distros that
6532f2a5ecdSSimon J. Gerraty	use dash.
6542f2a5ecdSSimon J. Gerraty
6551d3f2ddcSSimon J. Gerraty2022-03-30  Simon J Gerraty  <sjg@beast.crufty.net>
6561d3f2ddcSSimon J. Gerraty
6571d3f2ddcSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220330
6581d3f2ddcSSimon J. Gerraty	Merge with NetBSD make, pick up
6591d3f2ddcSSimon J. Gerraty	o var.c: fix spacing, and a typo in a test
6601d3f2ddcSSimon J. Gerraty
6611d3f2ddcSSimon J. Gerraty2022-03-26  Simon J Gerraty  <sjg@beast.crufty.net>
6621d3f2ddcSSimon J. Gerraty
6631d3f2ddcSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220326
6641d3f2ddcSSimon J. Gerraty	Merge with NetBSD make, pick up
6651d3f2ddcSSimon J. Gerraty	o parse.c: try to include 'posix.mk' the first time
6661d3f2ddcSSimon J. Gerraty	.POSIX: is encountered, to allow for beter POSIX compliance.
6671d3f2ddcSSimon J. Gerraty	o var.c: make debug logs more readable
6681d3f2ddcSSimon J. Gerraty	prefer 'long long' over 'long' on 32-bit C99 platforms
6691d3f2ddcSSimon J. Gerraty	fix crash on .undef of an environment variable
6701d3f2ddcSSimon J. Gerraty
6711d3f2ddcSSimon J. Gerraty2022-03-03  Simon J Gerraty  <sjg@beast.crufty.net>
6721d3f2ddcSSimon J. Gerraty
6731d3f2ddcSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220303
6741d3f2ddcSSimon J. Gerraty	Merge with NetBSD make, pick up
6751d3f2ddcSSimon J. Gerraty	o tell meta mode unit tests not to expect filemon
6761d3f2ddcSSimon J. Gerraty	o cond.c: make debug logging for comparisons less technical
6771d3f2ddcSSimon J. Gerraty	o lst.c: fix mem leak in Lst_Remove
6781d3f2ddcSSimon J. Gerraty	o str.c: make code for string matching syntactically more consistent
6791d3f2ddcSSimon J. Gerraty	o var.c: simplify ParseModifier_Match
6801d3f2ddcSSimon J. Gerraty
6811d3f2ddcSSimon J. Gerraty2022-02-14  Simon J Gerraty  <sjg@beast.crufty.net>
6821d3f2ddcSSimon J. Gerraty
6831d3f2ddcSSimon J. Gerraty	* unit-tests/Makefile: control MAKESYSPATH for deptgt-phony
6841d3f2ddcSSimon J. Gerraty
6851d3f2ddcSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220214
6861d3f2ddcSSimon J. Gerraty	Merge with NetBSD make, pick up
6871d3f2ddcSSimon J. Gerraty	o cond.c: simplify control flow in CondParser_Comparison
6881d3f2ddcSSimon J. Gerraty	o job.c: fix echoing of command with '-' in silent target in jobs mode
6891d3f2ddcSSimon J. Gerraty	o main.c: prefix the warning about read-only .OBJDIR with a colon
6901d3f2ddcSSimon J. Gerraty	o parse.c: remove redundant conditions
6911d3f2ddcSSimon J. Gerraty	o var.c: simplify control flow in ModifyWord_SysVSubst
6921d3f2ddcSSimon J. Gerraty
693a6f0e10bSSimon J. Gerraty2022-02-08  Simon J Gerraty  <sjg@beast.crufty.net>
694a6f0e10bSSimon J. Gerraty
695a6f0e10bSSimon J. Gerraty	* unit-tests/Makefile: disable opt-debug-x-trace on Linux if there
696a6f0e10bSSimon J. Gerraty	is any chance we have dash as .SHELL
697a6f0e10bSSimon J. Gerraty
698a6f0e10bSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220208
699a6f0e10bSSimon J. Gerraty	Merge with NetBSD make, pick up
700a6f0e10bSSimon J. Gerraty	o more unit tests
701a6f0e10bSSimon J. Gerraty	o meta.c: use a variable to hold command line to be filtered
702a6f0e10bSSimon J. Gerraty	to avoid any side effects from content of command line.
703a6f0e10bSSimon J. Gerraty
7049f45a3c8SSimon J. Gerraty2022-02-04  Simon J Gerraty  <sjg@beast.crufty.net>
7059f45a3c8SSimon J. Gerraty
7069f45a3c8SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220204
7079f45a3c8SSimon J. Gerraty	Merge with NetBSD make, pick up
7089f45a3c8SSimon J. Gerraty	o use unsigned consistently for line numbers, avoid the need for %z
7099f45a3c8SSimon J. Gerraty	o parse.c: do not step off end of input in Parse_IsVar
7109f45a3c8SSimon J. Gerraty	when checking for target local variable assignments
7119f45a3c8SSimon J. Gerraty
7129f45a3c8SSimon J. Gerraty2022-02-02  Simon J Gerraty  <sjg@beast.crufty.net>
7139f45a3c8SSimon J. Gerraty
7149f45a3c8SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220202
7159f45a3c8SSimon J. Gerraty	Merge with NetBSD make, pick up
7169f45a3c8SSimon J. Gerraty	o remove redundant declaration of HashIter_Init
7179f45a3c8SSimon J. Gerraty	o make DEBUG0 simpler
7189f45a3c8SSimon J. Gerraty
7199f45a3c8SSimon J. Gerraty2022-01-30  Simon J Gerraty  <sjg@beast.crufty.net>
7209f45a3c8SSimon J. Gerraty
7219f45a3c8SSimon J. Gerraty	* cast gn->lineno to avoid %z
7229f45a3c8SSimon J. Gerraty
7239f45a3c8SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220130
7249f45a3c8SSimon J. Gerraty	Merge with NetBSD make, pick up
7259f45a3c8SSimon J. Gerraty	o more unit tests
7269f45a3c8SSimon J. Gerraty	o make GNode lineno unsigned to please lint
7279f45a3c8SSimon J. Gerraty	o print location of recursive variable references in commands
7289f45a3c8SSimon J. Gerraty	o print "stack trace" (makefile includes) on fatal errors
7299f45a3c8SSimon J. Gerraty	o make.1: refine documentation for target local assignments
7309f45a3c8SSimon J. Gerraty
7319f45a3c8SSimon J. Gerraty2022-01-28  Simon J Gerraty  <sjg@beast.crufty.net>
7329f45a3c8SSimon J. Gerraty
7339f45a3c8SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220128
7349f45a3c8SSimon J. Gerraty	Merge with NetBSD make, pick up
7359f45a3c8SSimon J. Gerraty	o inline functions called only once
7369f45a3c8SSimon J. Gerraty	o for.c: clean up AddEscape for building the body of a .for loop
7379f45a3c8SSimon J. Gerraty	o hash.c: merge duplicate code for finding an entry in a hash table
7389f45a3c8SSimon J. Gerraty	replace HashEntry_KeyEquals with strncmp
7399f45a3c8SSimon J. Gerraty	o make.1: document quirks of target local variable assignments.
7409f45a3c8SSimon J. Gerraty	o parse.c: cleanup white-space
7419f45a3c8SSimon J. Gerraty
7429f45a3c8SSimon J. Gerraty2022-01-26  Simon J Gerraty  <sjg@beast.crufty.net>
7439f45a3c8SSimon J. Gerraty
7449f45a3c8SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220126
7459f45a3c8SSimon J. Gerraty	Merge with NetBSD make, pick up
7469f45a3c8SSimon J. Gerraty	o allow setting target local variables
7479f45a3c8SSimon J. Gerraty	o more unit tests
7489f45a3c8SSimon J. Gerraty	o add missing newline after "cannot continue" message
7499f45a3c8SSimon J. Gerraty	o meta.c: clean up eat_dots
7509f45a3c8SSimon J. Gerraty	o parse.c: fix filename in warning about duplicate script
7519f45a3c8SSimon J. Gerraty	o var.c: when expanding nested variables, check simple things first
7529f45a3c8SSimon J. Gerraty
7539f45a3c8SSimon J. Gerraty2022-01-16  Simon J Gerraty  <sjg@beast.crufty.net>
7549f45a3c8SSimon J. Gerraty
7559f45a3c8SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220116
7569f45a3c8SSimon J. Gerraty	Merge with NetBSD make, pick up
7579f45a3c8SSimon J. Gerraty	o fix for unit-tests/varname-makeflags on non-BSD systems
7589f45a3c8SSimon J. Gerraty	o use Var_Exists rather than Var_Value where appropriate
7599f45a3c8SSimon J. Gerraty	o remove unnecessary functions for expanding variable names
7609f45a3c8SSimon J. Gerraty	o cond.c: inline EvalBare
7619f45a3c8SSimon J. Gerraty	o main.c: lint cleanup
7629f45a3c8SSimon J. Gerraty	o parse.c: condense code in Parse_IsVar
7639f45a3c8SSimon J. Gerraty	use islower for parsing directives (none have upper case)
7649f45a3c8SSimon J. Gerraty
7659f45a3c8SSimon J. Gerraty2022-01-12  Simon J Gerraty  <sjg@beast.crufty.net>
7669f45a3c8SSimon J. Gerraty
7679f45a3c8SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220112
7689f45a3c8SSimon J. Gerraty	Merge with NetBSD make, pick up
7699f45a3c8SSimon J. Gerraty	o meta.c: add .MAKE.META.CMP_FILTER for filtering commands before
7709f45a3c8SSimon J. Gerraty	comparion, rarely needed but useful when it is.
7719f45a3c8SSimon J. Gerraty
7729f45a3c8SSimon J. Gerraty2022-01-10  Simon J Gerraty  <sjg@beast.crufty.net>
7739f45a3c8SSimon J. Gerraty
7749f45a3c8SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220110
7759f45a3c8SSimon J. Gerraty	Merge with NetBSD make, pick up
7769f45a3c8SSimon J. Gerraty	o inline Buf_Clear
7779f45a3c8SSimon J. Gerraty	o remove redundant braces
7789f45a3c8SSimon J. Gerraty	o rename and inline Targ_Precious
7799f45a3c8SSimon J. Gerraty	o cond.c: remove redundant initializer in CondParser_ComparisonOrLeaf
7809f45a3c8SSimon J. Gerraty	o for.c: clean up handling of .for loops
7819f45a3c8SSimon J. Gerraty	fix reported line numbers of continuation lines
7829f45a3c8SSimon J. Gerraty	add details about .for loop variables to stack traces
7839f45a3c8SSimon J. Gerraty	o job.c: reduce code for initializing error handling in shell
7849f45a3c8SSimon J. Gerraty	o main.c: in Cmd_Exec, return error message instead of format string
7859f45a3c8SSimon J. Gerraty	have as few statements as possible between va_start and va_end
7869f45a3c8SSimon J. Gerraty	add debug logging for capturing the output of external commands
7879f45a3c8SSimon J. Gerraty	o make.c: use consistent variable names for varargs
7889f45a3c8SSimon J. Gerraty	o make_malloc.c: remove duplicate code from bmake_strdup
7899f45a3c8SSimon J. Gerraty	o parse.c: add missing printflike annotations
7909f45a3c8SSimon J. Gerraty	remove redundant lines from stack traces
7919f45a3c8SSimon J. Gerraty	fix stack traces in -dp mode
7929f45a3c8SSimon J. Gerraty	reduce confusing code in ParseForLoop
7939f45a3c8SSimon J. Gerraty	fix line number in debug log after returning from a file
7949f45a3c8SSimon J. Gerraty	rename IFile and its fields to match their actual content
7959f45a3c8SSimon J. Gerraty	clean up ParseDependencySources
7969f45a3c8SSimon J. Gerraty	o var.c: shorten ApplyModifier_Assign
7979f45a3c8SSimon J. Gerraty	rename is_shell_metachar, fix character conversion warning
7989f45a3c8SSimon J. Gerraty	merge calls to ApplyModifier_Time
7999f45a3c8SSimon J. Gerraty	merge duplicate code for modifiers 'gmtime' and 'localtime'
8009f45a3c8SSimon J. Gerraty
8019f45a3c8SSimon J. Gerraty2022-01-04  Simon J Gerraty  <sjg@beast.crufty.net>
8029f45a3c8SSimon J. Gerraty
8039f45a3c8SSimon J. Gerraty	* parse.c: loadfile restore extra byte in buffer.
8049f45a3c8SSimon J. Gerraty
8059f45a3c8SSimon J. Gerraty2022-01-01  Simon J Gerraty  <sjg@beast.crufty.net>
8069f45a3c8SSimon J. Gerraty
8079f45a3c8SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20220101
8089f45a3c8SSimon J. Gerraty	Merge with NetBSD make, pick up
8099f45a3c8SSimon J. Gerraty	o more unit-tests
8109f45a3c8SSimon J. Gerraty	o remove unnecessary words from command line options in CmdOpts
8119f45a3c8SSimon J. Gerraty	o rename eunlink to unlink_file
8129f45a3c8SSimon J. Gerraty	o cond.c: make ParseWord in condition parser simpler
8139f45a3c8SSimon J. Gerraty	internally return false for irrelevant leaves in conditions
8149f45a3c8SSimon J. Gerraty	replace table for function lookup in conditions with simple code
8159f45a3c8SSimon J. Gerraty	merge duplicate types CondEvalResult and CondResult
8169f45a3c8SSimon J. Gerraty	o for.c: clean up handling of .for loops and .include directives
8179f45a3c8SSimon J. Gerraty	o main.c: constify cached_realpath
8189f45a3c8SSimon J. Gerraty	clean up Cmd_Exec
8199f45a3c8SSimon J. Gerraty	o parse.c: sync API documentation
8209f45a3c8SSimon J. Gerraty	fix error message when reading more than 1 GB from stdin
8219f45a3c8SSimon J. Gerraty	clean up parsing of makefiles
8229f45a3c8SSimon J. Gerraty	fix line number in error message about open conditionals
8239f45a3c8SSimon J. Gerraty	unexport types VarAssignOp and VarAssign
8249f45a3c8SSimon J. Gerraty	clean up function names
8259f45a3c8SSimon J. Gerraty	remove redundant parameters in dependency parsing functions
8269f45a3c8SSimon J. Gerraty	reduce scope of the list of wildcard target names
8279f45a3c8SSimon J. Gerraty	extract OP_NOTARGET into separate function
8289f45a3c8SSimon J. Gerraty	clean up variable names for parsing dependency lines
8299f45a3c8SSimon J. Gerraty	make debug logging a bit more human-friendly
8309f45a3c8SSimon J. Gerraty	o var.c: condense code in ApplyModifier_Assign
8319f45a3c8SSimon J. Gerraty
8329f45a3c8SSimon J. Gerraty2021-12-21  Simon J Gerraty  <sjg@beast.crufty.net>
8339f45a3c8SSimon J. Gerraty
8349f45a3c8SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20211221
8359f45a3c8SSimon J. Gerraty	Merge with NetBSD make, pick up
8369f45a3c8SSimon J. Gerraty	o more unit-tests
8379f45a3c8SSimon J. Gerraty	o style cleanup
8389f45a3c8SSimon J. Gerraty	o in CLEANUP mode, free interned strings at the very end
8399f45a3c8SSimon J. Gerraty	o fix memory leak for filenames in .for loops
8409f45a3c8SSimon J. Gerraty	o buf.c: avoid memory leak
8419f45a3c8SSimon J. Gerraty	o cond.c: condense CondParser_ComparisonOp
8429f45a3c8SSimon J. Gerraty	o hash.c: change return type of HashTable_Set to void
8439f45a3c8SSimon J. Gerraty	o job.c: change return type of Compat_RunCommand from int to bool
8449f45a3c8SSimon J. Gerraty	o main.c: remove bmake_free
8459f45a3c8SSimon J. Gerraty	o parse.c: condense repetetive code in ParseDirective
8469f45a3c8SSimon J. Gerraty	remove dead code for handling traditional include directives
8479f45a3c8SSimon J. Gerraty	clean up parsing of variable assignments
8489f45a3c8SSimon J. Gerraty	remove unreachable code for parsing the dependency operator
8499f45a3c8SSimon J. Gerraty	clean up loading of files
8509f45a3c8SSimon J. Gerraty	fix memory leak in IncludeFile
8519f45a3c8SSimon J. Gerraty	o var.c: fix memory leak when parsing a variable name
8529f45a3c8SSimon J. Gerraty	fix memory leak from ${.SUFFIXES}
8539f45a3c8SSimon J. Gerraty	reduce memory allocation in modifier ':?' and ':C'
8549f45a3c8SSimon J. Gerraty	condense RegexReplace for the modifier ':C' and avoid strlen
8559f45a3c8SSimon J. Gerraty	merge duplicate code for memory handling in Var_Parse
8569f45a3c8SSimon J. Gerraty	distinguish between short-lived and environment variables
8579f45a3c8SSimon J. Gerraty	rename VarFreeEnv to VarFreeShortLived
8589f45a3c8SSimon J. Gerraty
85912904384SSimon J. Gerraty2021-12-15  Simon J Gerraty  <sjg@beast.crufty.net>
86012904384SSimon J. Gerraty
86112904384SSimon J. Gerraty	* cond.c: fix mem leak in CondParser_Leaf
86212904384SSimon J. Gerraty
86312904384SSimon J. Gerraty2021-12-12  Simon J Gerraty  <sjg@beast.crufty.net>
86412904384SSimon J. Gerraty
86512904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20211212
86612904384SSimon J. Gerraty	Merge with NetBSD make, pick up
86712904384SSimon J. Gerraty	o rename Parse_SetInput to Parse_PushInput
86812904384SSimon J. Gerraty	o remove remove period from end of error messages and warnings
86912904384SSimon J. Gerraty	to be more consistent
87012904384SSimon J. Gerraty	o arch.c: use simpler memory management for parsing archive members
87112904384SSimon J. Gerraty	o cond.c: rework and reduce recursion
87212904384SSimon J. Gerraty	o for.c: rename some functions to better reflect purpose
87312904384SSimon J. Gerraty	o suff.c: add Suff_NamesStr to provide .SUFFIXES as a string.
87412904384SSimon J. Gerraty	o var.c: in parse errors, mark whitespace more clearly
87512904384SSimon J. Gerraty	inline ParseEmptyArg into CondParser_FuncCallEmpty
87612904384SSimon J. Gerraty	minimize calls to LazyBuf_Get in ParseVarnameLong
87712904384SSimon J. Gerraty	treat .SUFFIXES as a read-only variable
87812904384SSimon J. Gerraty
87912904384SSimon J. Gerraty2021-12-07  Simon J Gerraty  <sjg@beast.crufty.net>
88012904384SSimon J. Gerraty
88112904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20211207
88212904384SSimon J. Gerraty	Merge with NetBSD make, pick up
88312904384SSimon J. Gerraty	o inline HashIter_Init
88412904384SSimon J. Gerraty	o parse.c: inline common subexpression in ParseRawLine
88512904384SSimon J. Gerraty	o var.c: merge branches for modifiers ':D' and ':U'
88612904384SSimon J. Gerraty	extract common code into Expr_Words
88712904384SSimon J. Gerraty	extract common code into Expr_Str
88812904384SSimon J. Gerraty	move low-level implementation details out of Var_Parse
88912904384SSimon J. Gerraty
89012904384SSimon J. Gerraty2021-12-06  Simon J Gerraty  <sjg@beast.crufty.net>
89112904384SSimon J. Gerraty
89212904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20211206
89312904384SSimon J. Gerraty	Merge with NetBSD make, pick up
89412904384SSimon J. Gerraty	o add unit-tests/varmod-loop-delete
89512904384SSimon J. Gerraty	o for.c: inline Str_Words - reduce memory allocation
89612904384SSimon J. Gerraty	o parse.c: do not try to expand fixed variable names
89712904384SSimon J. Gerraty	only allocate the name of an included file if necessary
89812904384SSimon J. Gerraty	clean up ParseInclude
89912904384SSimon J. Gerraty	o var.c: fix use-after-free in modifier ':@'
90012904384SSimon J. Gerraty	save a memory allocation in each modifier ':O' and ':u'
90112904384SSimon J. Gerraty	save a memory allocation in the modifier ':[...]'
90212904384SSimon J. Gerraty	in UnexportVars, replace Str_Words with Substring_Words to
90312904384SSimon J. Gerraty	reduce allocations and copying.
90412904384SSimon J. Gerraty
90512904384SSimon J. Gerraty2021-12-04  Simon J Gerraty  <sjg@beast.crufty.net>
90612904384SSimon J. Gerraty
90712904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20211204
90812904384SSimon J. Gerraty	Merge with NetBSD make, pick up
90912904384SSimon J. Gerraty	o flesh out a number of tests
91012904384SSimon J. Gerraty	o replace enums with bitfields, this simplifies a lot of code.
91112904384SSimon J. Gerraty	o var.c: refactor ParseModifierPartSubst
91212904384SSimon J. Gerraty
91312904384SSimon J. Gerraty2021-10-24  Simon J Gerraty  <sjg@beast.crufty.net>
91412904384SSimon J. Gerraty
91512904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20211024
91612904384SSimon J. Gerraty	Merge with NetBSD make, pick up
91712904384SSimon J. Gerraty	o Punt on write errors - ENOSPC etc.
91812904384SSimon J. Gerraty
91912904384SSimon J. Gerraty2021-10-22  Simon J Gerraty  <sjg@beast.crufty.net>
92012904384SSimon J. Gerraty
92112904384SSimon J. Gerraty	* configure.in: use_defshell, set both DEFSHELL_INDEX
92212904384SSimon J. Gerraty	and defshell_path if appropriate.
92312904384SSimon J. Gerraty	This makes it easier to use say the KSH specification with
92412904384SSimon J. Gerraty	and alternate path for the shell.
92512904384SSimon J. Gerraty
92612904384SSimon J. Gerraty	* configure.in compat.c: for SCO we need to force UseShell
92712904384SSimon J. Gerraty
92812904384SSimon J. Gerraty	* configure.in: SCO /bin/sh is not usable, provide a list of
92912904384SSimon J. Gerraty	alternatives for use as .SHELL.
93012904384SSimon J. Gerraty	We still have to mark some tests as broken, plus more if we end up
93112904384SSimon J. Gerraty	with ksh as .SHELL.
93212904384SSimon J. Gerraty	Issue a warning about skipped tests.
93312904384SSimon J. Gerraty
93412904384SSimon J. Gerraty	* boot-strap: leave TOOL_DIFF to configure
93512904384SSimon J. Gerraty
93612904384SSimon J. Gerraty	* configure.in: on SCO native cc is not usable,
93712904384SSimon J. Gerraty	gcc is to be found in /usr/gnu/bin
93812904384SSimon J. Gerraty	and while ancient is at least able to compile bmake.
93912904384SSimon J. Gerraty	Thus we add /usr/gnu/bin to PATH if it exists, and later
94012904384SSimon J. Gerraty	check if $CC would have been found via $PATH.
94112904384SSimon J. Gerraty	If not we set CC to the full path of $CC.
94212904384SSimon J. Gerraty	Also gnu diff is known to support -u, so if it exists use it.
94312904384SSimon J. Gerraty
94412904384SSimon J. Gerraty	* configure.in: move getopt to AC_REPLACE_FUNCS
94512904384SSimon J. Gerraty	also add AC_C_INLINE - in an attempt to compile using
94612904384SSimon J. Gerraty	native cc on SCO.
94712904384SSimon J. Gerraty
94812904384SSimon J. Gerraty	* configure.in: check for stresep as well as strsep, since we
94912904384SSimon J. Gerraty	define the later to the former if necessary, and if we have to
95012904384SSimon J. Gerraty	provide stresep we also need to provide a prototype.
95112904384SSimon J. Gerraty
95212904384SSimon J. Gerraty	* configure.in: we no longer need to worry about
95312904384SSimon J. Gerraty	sys/cdefs.h providing __RCSID which simplifies things quite a bit.
95412904384SSimon J. Gerraty
95512904384SSimon J. Gerraty	* make.h: make sure we have __RCSID
95612904384SSimon J. Gerraty
95712904384SSimon J. Gerraty	* unit-tests/Makefile.config.in: add TOOL_DIFF so configure
95812904384SSimon J. Gerraty	can control it.
95912904384SSimon J. Gerraty
96012904384SSimon J. Gerraty2021-10-20  Simon J Gerraty  <sjg@beast.crufty.net>
96112904384SSimon J. Gerraty
96212904384SSimon J. Gerraty	* VERSION: 20211020
96312904384SSimon J. Gerraty	Merge with NetBSD make, pick up
96412904384SSimon J. Gerraty	o confirm sync of unit-tests
96512904384SSimon J. Gerraty
96612904384SSimon J. Gerraty2021-10-18  Simon J Gerraty  <sjg@beast.crufty.net>
96712904384SSimon J. Gerraty
96812904384SSimon J. Gerraty	* configure.in: check if timezone Europe/Berlin is supported
96912904384SSimon J. Gerraty	if not try UTC-1
97012904384SSimon J. Gerraty	* configure.in: if .OBJDIR is $srcdir/obj we need to create a
97112904384SSimon J. Gerraty	symlink unit-tests -> ../unit-tests/obj so that
97212904384SSimon J. Gerraty	unit-tests/Makefile.config is put in the right place.
97312904384SSimon J. Gerraty	* refine filtering of .OBJDIR in unit-tests
97412904384SSimon J. Gerraty
97512904384SSimon J. Gerraty2021-10-16  Simon J Gerraty  <sjg@beast.crufty.net>
97612904384SSimon J. Gerraty
97712904384SSimon J. Gerraty	* Fix unit-tests on Minix 3.2.0
97812904384SSimon J. Gerraty	o job.c: do not punt if read of token pipe fails for EAGAIN.
97912904384SSimon J. Gerraty	On Minix at least, we are not ready to read the childExitJob pipe
98012904384SSimon J. Gerraty	when poll says we are.
98112904384SSimon J. Gerraty	There should actually be no reason for this pipe to be
98212904384SSimon J. Gerraty	non-blocking, but while that works fine on {Net,Free}BSD it
98312904384SSimon J. Gerraty	breaks another test case on Minix.
98412904384SSimon J. Gerraty	o unit-tests/Makefile: deal with variants of error messages
98512904384SSimon J. Gerraty	  and use of obj as .OBJDIR
98612904384SSimon J. Gerraty
98712904384SSimon J. Gerraty2021-10-14  Simon J Gerraty  <sjg@beast.crufty.net>
98812904384SSimon J. Gerraty
98912904384SSimon J. Gerraty	* configure.in: add sigaction to AC_REPLACE_FUNCS
99012904384SSimon J. Gerraty	we also need to check for sigaddset etc just for the benefit of
99112904384SSimon J. Gerraty	sigact.c
99212904384SSimon J. Gerraty
99312904384SSimon J. Gerraty	* Add sigact.c as sigaction.c so this "just works".
99412904384SSimon J. Gerraty	This should have been done back when bmake_signal started using
99512904384SSimon J. Gerraty	sigaction (I only just noticed that sigact.c wasn't here ;-)
99612904384SSimon J. Gerraty	Note: I no longer have access to any system where this would matter.
99712904384SSimon J. Gerraty
99812904384SSimon J. Gerraty2021-10-13  Simon J Gerraty  <sjg@beast.crufty.net>
99912904384SSimon J. Gerraty
100012904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20211011
100112904384SSimon J. Gerraty
100212904384SSimon J. Gerraty	* Makefile: cleanup a little
100312904384SSimon J. Gerraty
100412904384SSimon J. Gerraty	* configure.in: check for sigsetmask
100512904384SSimon J. Gerraty
100612904384SSimon J. Gerraty2021-10-01  Simon J Gerraty  <sjg@beast.crufty.net>
100712904384SSimon J. Gerraty
100812904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20211001
100912904384SSimon J. Gerraty	Merge with NetBSD make, pick up
101012904384SSimon J. Gerraty	o reduce locations reducing text size
101112904384SSimon J. Gerraty	o remove unnecessary const
101212904384SSimon J. Gerraty	o cond.c: fix lint warning on i386
101312904384SSimon J. Gerraty	do not allow unquoted 'left == right' after modifier ':?'
101412904384SSimon J. Gerraty	o hash.c: fix build for DEBUG_HASH_LOOKUP
101512904384SSimon J. Gerraty	o var.c: fix memory leak in error case of the ':?' modifier
101612904384SSimon J. Gerraty
101712904384SSimon J. Gerraty2021-09-11  Simon J Gerraty  <sjg@beast.crufty.net>
101812904384SSimon J. Gerraty
101912904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210911
102012904384SSimon J. Gerraty	Merge with NetBSD make, pick up
102112904384SSimon J. Gerraty	o var.c: replace remaining ModChain_ShouldEval with Expr_ShouldEval
102212904384SSimon J. Gerraty
102312904384SSimon J. Gerraty2021-09-08  Simon J Gerraty  <sjg@beast.crufty.net>
102412904384SSimon J. Gerraty
102512904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210906
102612904384SSimon J. Gerraty	Merge with NetBSD make, pick up
102712904384SSimon J. Gerraty	o more unit tests
102812904384SSimon J. Gerraty	o lint cleanup
102912904384SSimon J. Gerraty	o rename some functions to better fit purpose
103012904384SSimon J. Gerraty	o for.c: cleanup - remove unnecessary optimization
103112904384SSimon J. Gerraty	  fix embedded newlines
103212904384SSimon J. Gerraty	o parse.c: correct case for CVS/RCS
103312904384SSimon J. Gerraty
103412904384SSimon J. Gerraty2021-08-11  Simon J Gerraty  <sjg@beast.crufty.net>
103512904384SSimon J. Gerraty
103612904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210808
103712904384SSimon J. Gerraty	Merge with NetBSD make, pick up
103812904384SSimon J. Gerraty	o var.c: remove redundant initialization in ApplyModifier_Order
103912904384SSimon J. Gerraty
104012904384SSimon J. Gerraty	* mk/options.mk: issue warning for incorrect usage
104112904384SSimon J. Gerraty
104212904384SSimon J. Gerraty2021-08-03  Simon J Gerraty  <sjg@beast.crufty.net>
104312904384SSimon J. Gerraty
104412904384SSimon J. Gerraty	* var.c: use long for :On if we don't have a 64bit int type
104512904384SSimon J. Gerraty
104612904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210803
104712904384SSimon J. Gerraty	Merge with NetBSD make, pick up
104812904384SSimon J. Gerraty	o rework varmod-order tests to avoid qsort instability
104912904384SSimon J. Gerraty	o make.1: clarify :On entry
105012904384SSimon J. Gerraty
105112904384SSimon J. Gerraty2021-07-31  Simon J Gerraty  <sjg@beast.crufty.net>
105212904384SSimon J. Gerraty
105312904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210731
105412904384SSimon J. Gerraty	Merge with NetBSD make, pick up
105512904384SSimon J. Gerraty	o fix some lint issues
105612904384SSimon J. Gerraty	o more unit tests
105712904384SSimon J. Gerraty	o var.c: rework of ApplyModifier_Order
105812904384SSimon J. Gerraty
105912904384SSimon J. Gerraty2021-07-30  Simon J Gerraty  <sjg@beast.crufty.net>
106012904384SSimon J. Gerraty
106112904384SSimon J. Gerraty	* util.c: add strto*l if HAVE_STRTO*L not defined
106212904384SSimon J. Gerraty
106312904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210730
106412904384SSimon J. Gerraty	Merge with NetBSD make, pick up
106512904384SSimon J. Gerraty	o var.c: add :On and :Orn for numeric sort
106612904384SSimon J. Gerraty	  disabled if no 64bit type available.
106712904384SSimon J. Gerraty	o _strtol.h: to implement strto*l functions
106812904384SSimon J. Gerraty
106912904384SSimon J. Gerraty2021-07-04  Simon J Gerraty  <sjg@beast.crufty.net>
107012904384SSimon J. Gerraty
107112904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210704
107212904384SSimon J. Gerraty	Merge with NetBSD make, pick up
107312904384SSimon J. Gerraty	o unit-tests: fix some tests to be more portable
107412904384SSimon J. Gerraty	- job-output-null not all shells do the same number of write calls
107512904384SSimon J. Gerraty	- objdir-writable if TMPDIR is set; /tmp may not be usable
107612904384SSimon J. Gerraty
107712904384SSimon J. Gerraty2021-07-01  Simon J Gerraty  <sjg@beast.crufty.net>
107812904384SSimon J. Gerraty
107912904384SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210701
108012904384SSimon J. Gerraty	Merge with NetBSD make, pick up
108112904384SSimon J. Gerraty	o unit-tests: allow for BROKEN_TESTS to list TESTS to be skipped;
108212904384SSimon J. Gerraty	some tests just cannot work in some environments.
108312904384SSimon J. Gerraty	o buf.c: simpler upper bound for length in Buf_AddInt
108412904384SSimon J. Gerraty	o cond.c: fix grammar in error message for malformed conditional
108512904384SSimon J. Gerraty	o for.c: prevent newline injection (from ${.newline}) in .for loops
108612904384SSimon J. Gerraty	o var.c: use more practical data type in RegexReplace
108712904384SSimon J. Gerraty	(avoid need for %zu)
108812904384SSimon J. Gerraty	extract RegexReplace from ModifyWord_SubstRegex
108912904384SSimon J. Gerraty
1090b0c40a00SSimon J. Gerraty2021-06-21  Simon J Gerraty  <sjg@beast.crufty.net>
1091b0c40a00SSimon J. Gerraty
1092b0c40a00SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210621
1093b0c40a00SSimon J. Gerraty	Merge with NetBSD make, pick up
1094b0c40a00SSimon J. Gerraty	o var.c: only report error for unmatched regex subexpression
1095b0c40a00SSimon J. Gerraty	when linting (-dL) since we cannot tell when an unmatched
1096b0c40a00SSimon J. Gerraty	subexpression is an expected result.
1097b0c40a00SSimon J. Gerraty	o move unmatched regex subexpression tests to
1098b0c40a00SSimon J. Gerraty	varmod-subst-regex.mk and enable strict (lint) mode
1099b0c40a00SSimon J. Gerraty
1100b0c40a00SSimon J. Gerraty2021-06-16  Simon J Gerraty  <sjg@beast.crufty.net>
1101b0c40a00SSimon J. Gerraty
1102b0c40a00SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210616
1103b0c40a00SSimon J. Gerraty	Merge with NetBSD make, pick up
1104b0c40a00SSimon J. Gerraty	o more unit tests
1105b0c40a00SSimon J. Gerraty	o cond.c: rename If_Eval to EvalBare
1106b0c40a00SSimon J. Gerraty	improve function names for parsing conditions
1107b0c40a00SSimon J. Gerraty	o job.c: fix error handling of targets that cannot be made
1108b0c40a00SSimon J. Gerraty	o var.c: uncompress code in ApplyModifier_Unique
1109b0c40a00SSimon J. Gerraty
1110b0c40a00SSimon J. Gerraty2021-05-18  Simon J Gerraty  <sjg@beast.crufty.net>
1111b0c40a00SSimon J. Gerraty
1112b0c40a00SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210518
1113b0c40a00SSimon J. Gerraty	Merge with NetBSD make, pick up
1114b0c40a00SSimon J. Gerraty	o fix unit-tests/opt-chdir to cope with /nonexistent existing.
1115b0c40a00SSimon J. Gerraty	o job.c: Print -de error information when running multiple jobs
1116b0c40a00SSimon J. Gerraty
1117b0c40a00SSimon J. Gerraty2021-04-20  Simon J Gerraty  <sjg@beast.crufty.net>
1118b0c40a00SSimon J. Gerraty
1119b0c40a00SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210420
1120b0c40a00SSimon J. Gerraty	Merge with NetBSD make, pick up
1121b0c40a00SSimon J. Gerraty	o use C99 bool type
1122b0c40a00SSimon J. Gerraty	o convert VarEvalFlags back into an enum
1123b0c40a00SSimon J. Gerraty	o cond.c: do not complain when skipping the condition 'no >= 10'
1124b0c40a00SSimon J. Gerraty	o hash.c: avoid allocating memory for simple variable names
1125b0c40a00SSimon J. Gerraty	o job.c: use distinct wording for writing to the shell commands file
1126b0c40a00SSimon J. Gerraty	remove type name for the abort status in job handling
1127b0c40a00SSimon J. Gerraty	rename PrintOutput to PrintFilteredOutput to avoid confusion
1128b0c40a00SSimon J. Gerraty	o main.c: avoid double slash in name of temporary directory
1129b0c40a00SSimon J. Gerraty	o var.c: use straight quotes for error 'Bad conditional expression'
1130b0c40a00SSimon J. Gerraty	reduce memory allocations in the modifiers ':D' and ':U'
1131b0c40a00SSimon J. Gerraty	rename members of ModifyWord_LoopArgs
1132b0c40a00SSimon J. Gerraty	clean up pattern flags for the modifiers ':S' and ':C'
1133b0c40a00SSimon J. Gerraty	reduce memory allocation and strlen calls in modifier ':from=to'
1134b0c40a00SSimon J. Gerraty	in the ':Q' modifier, only allocate memory if necessary
1135b0c40a00SSimon J. Gerraty	improve performance for LazyBuf
1136b0c40a00SSimon J. Gerraty	remove redundant parameter from ParseVarnameLong
1137b0c40a00SSimon J. Gerraty	migrate ParseModifierPart to use Substring
1138b0c40a00SSimon J. Gerraty	avoid unnecessary calls to strlen when evaluating modifiers
1139b0c40a00SSimon J. Gerraty	migrate ModifyWord functions to use Substring
1140b0c40a00SSimon J. Gerraty	migrate handling of the modifier ':S,from,to,' to Substring
1141b0c40a00SSimon J. Gerraty	reduce debug logging and memory allocation for ${:U...}
1142b0c40a00SSimon J. Gerraty	reduce verbosity of the -dv debug logging for standard cases
1143b0c40a00SSimon J. Gerraty	clean up debug logging for ':M' and ':N'
1144b0c40a00SSimon J. Gerraty	disallow '$' in the variable name of the modifier ':@'
1145b0c40a00SSimon J. Gerraty	simplify access to the name of an expression during evaluation
1146b0c40a00SSimon J. Gerraty
1147b0c40a00SSimon J. Gerraty2021-03-30  Simon J Gerraty  <sjg@beast.crufty.net>
1148b0c40a00SSimon J. Gerraty
1149b0c40a00SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210330
1150b0c40a00SSimon J. Gerraty	Merge with NetBSD make, pick up
1151b0c40a00SSimon J. Gerraty	o replace enum bit-field with struct bit-field for VarEvalFlags
1152b0c40a00SSimon J. Gerraty	o rename VARE_NONE to VARE_PARSE_ONLY
1153b0c40a00SSimon J. Gerraty	o var.c: rename ApplyModifiersState to ModChain
1154b0c40a00SSimon J. Gerraty	fix double varname expansion in the variable modifier '::='
1155b0c40a00SSimon J. Gerraty	change debug log for variable evaluation flags to lowercase
1156b0c40a00SSimon J. Gerraty
1157b0c40a00SSimon J. Gerraty2021-03-14  Simon J Gerraty  <sjg@beast.crufty.net>
1158b0c40a00SSimon J. Gerraty
1159b0c40a00SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210314
1160b0c40a00SSimon J. Gerraty	Merge with NetBSD make, pick up
1161b0c40a00SSimon J. Gerraty	o var.c: avoid evaluating many modifiers in parse only mode
1162b0c40a00SSimon J. Gerraty	in strict mode (-dL) many variable references are parsed twice,
1163b0c40a00SSimon J. Gerraty	the first time just to report parse errors early, so we want to
1164b0c40a00SSimon J. Gerraty	avoid side effects and wasted effort to the extent possible.
1165b0c40a00SSimon J. Gerraty
1166b0c40a00SSimon J. Gerraty2021-02-26  Simon J Gerraty  <sjg@beast.crufty.net>
1167b0c40a00SSimon J. Gerraty
1168b0c40a00SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210226
1169b0c40a00SSimon J. Gerraty	Merge with NetBSD make, pick up
1170b0c40a00SSimon J. Gerraty	o remove freestanding freeIt variables
1171b0c40a00SSimon J. Gerraty	link via FStr
1172b0c40a00SSimon J. Gerraty	o var.c: restructure code in ParseVarname to target human readers
1173b0c40a00SSimon J. Gerraty	improve error message for;
1174b0c40a00SSimon J. Gerraty	  bad modifier in variable expression
1175b0c40a00SSimon J. Gerraty	  unclosed modifier
1176b0c40a00SSimon J. Gerraty	  unknown modifier
1177b0c40a00SSimon J. Gerraty	remove redundant parameter of ApplySingleModifier
1178b0c40a00SSimon J. Gerraty	explain non-obvious code around indirect variable modifiers
1179b0c40a00SSimon J. Gerraty	quote ':S' in error message about missing delimiter
1180b0c40a00SSimon J. Gerraty	extract ParseModifier_Match into separate function
1181b0c40a00SSimon J. Gerraty	add context information to error message about ':range' modifier
1182b0c40a00SSimon J. Gerraty	add quotes around variable name in an error message
1183b0c40a00SSimon J. Gerraty	reorder code in ModifyWords
1184b0c40a00SSimon J. Gerraty	use more common parameter order for VarSelectWords
1185b0c40a00SSimon J. Gerraty	make ModifyWord_Subst a little easier to understand
1186b0c40a00SSimon J. Gerraty	do not expand variable name from the command line twice
1187b0c40a00SSimon J. Gerraty	extract ExistsInCmdline from Var_SetWithFlags
1188b0c40a00SSimon J. Gerraty	save a hash map lookup when defining a cmdline variable
1189b0c40a00SSimon J. Gerraty	clean up VarAdd, Var_Delete, Var_ReexportVars
1190b0c40a00SSimon J. Gerraty	use bit-shift expressions for VarFlags constants
1191b0c40a00SSimon J. Gerraty	rename constants for VarFlags
1192b0c40a00SSimon J. Gerraty	rename ExprDefined constants for debug logging
1193b0c40a00SSimon J. Gerraty	rename ExprStatus to ExprDefined
1194b0c40a00SSimon J. Gerraty	split parameters for evaluating variable expressions
1195b0c40a00SSimon J. Gerraty	reduce redundant code around ModifyWords
1196b0c40a00SSimon J. Gerraty	print error about failed shell command before overwriting variable
1197b0c40a00SSimon J. Gerraty	clean up ValidShortVarname, ParseVarnameShort
1198b0c40a00SSimon J. Gerraty	rename VarExprStatus to ExprStatus
1199b0c40a00SSimon J. Gerraty	add functions for assigning the value of an expression
1200b0c40a00SSimon J. Gerraty	rename ApplyModifiersState_Define to Expr_Define
1201b0c40a00SSimon J. Gerraty	condense the code for parsing :S and :C modifiers
1202b0c40a00SSimon J. Gerraty
1203dba7b0efSSimon J. Gerraty2021-02-06  Simon J Gerraty  <sjg@beast.crufty.net>
1204dba7b0efSSimon J. Gerraty
1205dba7b0efSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210206
1206dba7b0efSSimon J. Gerraty	Merge with NetBSD make, pick up
1207dba7b0efSSimon J. Gerraty	o unit-tests: use private TMPDIR to avoid errors from other users
1208dba7b0efSSimon J. Gerraty
1209dba7b0efSSimon J. Gerraty2021-02-05  Simon J Gerraty  <sjg@beast.crufty.net>
1210dba7b0efSSimon J. Gerraty
1211dba7b0efSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210205
1212dba7b0efSSimon J. Gerraty	Merge with NetBSD make, pick up
1213dba7b0efSSimon J. Gerraty	o avoid strdup in mkTempFile
1214dba7b0efSSimon J. Gerraty	o always use vfork
1215dba7b0efSSimon J. Gerraty	o rename context and ctxt to scope
1216dba7b0efSSimon J. Gerraty	o rename some VAR constants to SCOPE
1217dba7b0efSSimon J. Gerraty	o Var_ functions, move the scope to the front
1218dba7b0efSSimon J. Gerraty	o use shortcut functions Global_Set and Global_Append
1219dba7b0efSSimon J. Gerraty	o add shortcut Global_Delete for deleting a global variable
1220dba7b0efSSimon J. Gerraty	o rename Var_Delete to Var_DeleteExpand, Var_DeleteVar to Var_Delete
1221dba7b0efSSimon J. Gerraty	o compat.c: when exiting due to an error, print graph information
1222dba7b0efSSimon J. Gerraty	o enum.c: remove overengineered Enum_ValueToString
1223dba7b0efSSimon J. Gerraty	o make.c: remove unused INTERNAL flag
1224dba7b0efSSimon J. Gerraty	remove unused return type of MakeBuildParent
1225dba7b0efSSimon J. Gerraty	o parse.c: replace parse error "Need an operator" with better message
1226dba7b0efSSimon J. Gerraty	o var.c: improve documentation about variable scopes
1227dba7b0efSSimon J. Gerraty	rename Var_ValueDirect to GNode_ValueDirect
1228dba7b0efSSimon J. Gerraty	rename old Var_SetWithFlags to Var_SetExpandWithFlags
1229dba7b0efSSimon J. Gerraty	merge SetVar into Var_SetWithFlags
1230dba7b0efSSimon J. Gerraty	split Var_Exists into plain Var_Exists and Var_ExistsExpand
1231dba7b0efSSimon J. Gerraty	split Var_Append into Var_Append and Var_AppendExpand
1232dba7b0efSSimon J. Gerraty	replace enum bit-set with bit-field
1233dba7b0efSSimon J. Gerraty	o unit-tests/var-op-shell: use kill rather than kill -14
1234dba7b0efSSimon J. Gerraty	which broke on darwin with recent update.
1235dba7b0efSSimon J. Gerraty
1236dba7b0efSSimon J. Gerraty2021-02-01  Simon J Gerraty  <sjg@beast.crufty.net>
1237dba7b0efSSimon J. Gerraty
1238dba7b0efSSimon J. Gerraty	* configure.in: check for sig_atomic_t and define it as 'int'
1239dba7b0efSSimon J. Gerraty	if missing.
1240dba7b0efSSimon J. Gerraty
1241dba7b0efSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210201
1242dba7b0efSSimon J. Gerraty	Merge with NetBSD make, pick up
1243dba7b0efSSimon J. Gerraty	o use sig_atomic_t for caught_sigchld
1244dba7b0efSSimon J. Gerraty
1245dba7b0efSSimon J. Gerraty2021-01-30  Simon J Gerraty  <sjg@beast.crufty.net>
1246dba7b0efSSimon J. Gerraty
1247dba7b0efSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210130
1248dba7b0efSSimon J. Gerraty	Merge with NetBSD make, pick up
1249dba7b0efSSimon J. Gerraty	o more unit tests
1250dba7b0efSSimon J. Gerraty	o convert SearchPath to struct
1251dba7b0efSSimon J. Gerraty	o split Buf_Destroy into Buf_Done and Buf_DoneData
1252dba7b0efSSimon J. Gerraty	o for.c: split For_Eval into separate functions
1253dba7b0efSSimon J. Gerraty	rename struct For to struct ForLoop
1254dba7b0efSSimon J. Gerraty	o job.c: do not create empty shell files in jobs mode
1255dba7b0efSSimon J. Gerraty	rename JobOpenTmpFile to JobWriteShellCommands
1256dba7b0efSSimon J. Gerraty	reduce unnecessary calls to waitpid
1257dba7b0efSSimon J. Gerraty	o parse.c: in -dp mode, print stack trace with each diagnostic
1258dba7b0efSSimon J. Gerraty
1259dba7b0efSSimon J. Gerraty2021-01-23  Simon J Gerraty  <sjg@beast.crufty.net>
1260dba7b0efSSimon J. Gerraty
1261dba7b0efSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210123
1262dba7b0efSSimon J. Gerraty	Merge with NetBSD make, pick up
1263dba7b0efSSimon J. Gerraty	o rename Dir_Expand to SearchPath_Expand
1264dba7b0efSSimon J. Gerraty	o rename Dir_AddDir, reorder parameters of SearchPath_ToFlags
1265dba7b0efSSimon J. Gerraty	o cond.c: fix debug output for comparison operators in conditionals
1266dba7b0efSSimon J. Gerraty	o dir.c: split Dir_FindFile into separate functions
1267dba7b0efSSimon J. Gerraty
1268dba7b0efSSimon J. Gerraty2021-01-20  Simon J Gerraty  <sjg@beast.crufty.net>
1269dba7b0efSSimon J. Gerraty
1270dba7b0efSSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210120
1271dba7b0efSSimon J. Gerraty	Merge with NetBSD make, pick up
1272dba7b0efSSimon J. Gerraty	o fix some more lint nits
1273dba7b0efSSimon J. Gerraty	o refine some unit tests for portability
1274dba7b0efSSimon J. Gerraty	o cond.c: rework parsing
1275dba7b0efSSimon J. Gerraty
127606b9b3e0SSimon J. Gerraty2021-01-10  Simon J Gerraty  <sjg@beast.crufty.net>
127706b9b3e0SSimon J. Gerraty
127806b9b3e0SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210110
127906b9b3e0SSimon J. Gerraty	Merge with NetBSD make, pick up
128006b9b3e0SSimon J. Gerraty	o fix lint warnings
128106b9b3e0SSimon J. Gerraty	o consistently use boolean expressions in conditions
128206b9b3e0SSimon J. Gerraty
128306b9b3e0SSimon J. Gerraty2021-01-08  Simon J Gerraty  <sjg@beast.crufty.net>
128406b9b3e0SSimon J. Gerraty
128506b9b3e0SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210108
128606b9b3e0SSimon J. Gerraty	Merge with NetBSD make, pick up
128706b9b3e0SSimon J. Gerraty	o job.c: back to polling token pipe if we want a token
128806b9b3e0SSimon J. Gerraty	o main.c: always print 'stopped in' on first call
128906b9b3e0SSimon J. Gerraty	The execption is if we bail because of an abort token
129006b9b3e0SSimon J. Gerraty	in which case just exit 6.
129106b9b3e0SSimon J. Gerraty
129206b9b3e0SSimon J. Gerraty2021-01-01  Simon J Gerraty  <sjg@beast.crufty.net>
129306b9b3e0SSimon J. Gerraty
129406b9b3e0SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20210101
129506b9b3e0SSimon J. Gerraty	Merge with NetBSD make, pick up
129606b9b3e0SSimon J. Gerraty	o Happy New Year!
129706b9b3e0SSimon J. Gerraty	o rename CmdOpts.lint to strict
129806b9b3e0SSimon J. Gerraty	o exit 2 on technical errors
129906b9b3e0SSimon J. Gerraty	o replace pointers in controlling conditions with booleans
130006b9b3e0SSimon J. Gerraty	o replace global preserveUndefined with VARE_KEEP_UNDEF
130106b9b3e0SSimon J. Gerraty	o compat.c: re-export variables from the actual make process
130206b9b3e0SSimon J. Gerraty	if using vfork this is the effect anyway
130306b9b3e0SSimon J. Gerraty	o cond.c: clean up VarParseResult constants
130406b9b3e0SSimon J. Gerraty	o for.c: fix undefined behavior in SubstVarLong
130506b9b3e0SSimon J. Gerraty	make control flow in SubstVarLong of .for loops more obvious
130606b9b3e0SSimon J. Gerraty	clean up SubstVarShort in .for loops
130706b9b3e0SSimon J. Gerraty	extract ForSubstBody from ForReadMore
130806b9b3e0SSimon J. Gerraty	clean up ForReadMore
130906b9b3e0SSimon J. Gerraty	simplify termination condition for .for loop
131006b9b3e0SSimon J. Gerraty	add error handling for .for loop items
131106b9b3e0SSimon J. Gerraty	job.c: re-export variables from the actual make process
131206b9b3e0SSimon J. Gerraty	parse.c: remove mmap for loading files, only allow files < 1 GiB
131306b9b3e0SSimon J. Gerraty	fix edge case in := with undefined in variable name
131406b9b3e0SSimon J. Gerraty	skip variable expansion in ParseDependencyTargetWord
131506b9b3e0SSimon J. Gerraty	var.c: split ExportVar into separate functions
131606b9b3e0SSimon J. Gerraty	clean up code in extracted ExportVar functions
131706b9b3e0SSimon J. Gerraty	remove dead code from ApplyModifiersIndirect
131806b9b3e0SSimon J. Gerraty	split Var_Subst into easily understandable functions
131906b9b3e0SSimon J. Gerraty	clean up VarParseResult constants
132006b9b3e0SSimon J. Gerraty
132106b9b3e0SSimon J. Gerraty2020-12-25  Simon J Gerraty  <sjg@beast.crufty.net>
132206b9b3e0SSimon J. Gerraty
132306b9b3e0SSimon J. Gerraty	* main.c: use .MAKE.DEPENDFILE as set by makefiles
132406b9b3e0SSimon J. Gerraty
132506b9b3e0SSimon J. Gerraty2020-12-22  Simon J Gerraty  <sjg@beast.crufty.net>
132606b9b3e0SSimon J. Gerraty
132706b9b3e0SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201222
132806b9b3e0SSimon J. Gerraty	Merge with NetBSD make, pick up
132906b9b3e0SSimon J. Gerraty	o make DEBUG macro return boolean
133006b9b3e0SSimon J. Gerraty	o parse.c: fix assertion failure for files without trailing newline
133106b9b3e0SSimon J. Gerraty	o var.c: allow .undef to undefine multiple variables at once
133206b9b3e0SSimon J. Gerraty	remove excess newline from parse errors
133306b9b3e0SSimon J. Gerraty
133406b9b3e0SSimon J. Gerraty2020-12-21  Simon J Gerraty  <sjg@beast.crufty.net>
133506b9b3e0SSimon J. Gerraty
133606b9b3e0SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201221
133706b9b3e0SSimon J. Gerraty	Merge with NetBSD make, pick up
133806b9b3e0SSimon J. Gerraty	o some unit-test updates
133906b9b3e0SSimon J. Gerraty
134006b9b3e0SSimon J. Gerraty2020-12-20  Simon J Gerraty  <sjg@beast.crufty.net>
134106b9b3e0SSimon J. Gerraty
134206b9b3e0SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201220
134306b9b3e0SSimon J. Gerraty	Merge with NetBSD make, pick up
134406b9b3e0SSimon J. Gerraty	o more unit tests
134506b9b3e0SSimon J. Gerraty	o return FStr from Var_Parse and Var_Value
134606b9b3e0SSimon J. Gerraty	o spell nonexistent consistently
134706b9b3e0SSimon J. Gerraty	o add str_basename to reduce duplicate code
134806b9b3e0SSimon J. Gerraty	o compat.c: fix .ERROR_TARGET in compat -k mode
134906b9b3e0SSimon J. Gerraty	extract InitSignals from Compat_Run
135006b9b3e0SSimon J. Gerraty	extract UseShell from Compat_RunCommand
135106b9b3e0SSimon J. Gerraty	o cond.c: error out if an '.endif' or '.else' contain extraneous text
135206b9b3e0SSimon J. Gerraty	o for.c: rename ForIterate to ForReadMore
135306b9b3e0SSimon J. Gerraty	o hash.c: clean up hash function for HashTable
135406b9b3e0SSimon J. Gerraty	o lst.c: rename Vector.priv_cap to cap
135506b9b3e0SSimon J. Gerraty	o main.c: remove constant parameter from MakeMode
135606b9b3e0SSimon J. Gerraty	o make.c: use symbolic time for 0 in Make_Recheck
135706b9b3e0SSimon J. Gerraty	extract MakeChildren from MakeStartJobs
135806b9b3e0SSimon J. Gerraty	o parse.c: clean up memory handling in VarAssign_EvalShell, Parse_DoVar
135906b9b3e0SSimon J. Gerraty	fix error message for .info/.warning/.error without argument
136006b9b3e0SSimon J. Gerraty	extract Var_Undef from ParseDirective
136106b9b3e0SSimon J. Gerraty	extract ParseSkippedBranches, ParseForLoop from ParseReadLine
136206b9b3e0SSimon J. Gerraty	rename mode constants for ParseGetLine to be more expressive
136306b9b3e0SSimon J. Gerraty	reduce debugging details in Parse_SetInput
136406b9b3e0SSimon J. Gerraty	fix line numbers in .for loops
136506b9b3e0SSimon J. Gerraty	split ParseGetLine into separate functions
136606b9b3e0SSimon J. Gerraty	fix garbled output for failed shell command
136706b9b3e0SSimon J. Gerraty	var.c: remove redundant assignment in ApplyModifier_SysV
136806b9b3e0SSimon J. Gerraty	error out on unknown variable modifiers at parse time
136906b9b3e0SSimon J. Gerraty	remove wrong error message for indirect modifier in lint mode
137006b9b3e0SSimon J. Gerraty	extract ApplySingleModifier from ApplyModifiers
137106b9b3e0SSimon J. Gerraty	use FStr for memory management in Var_SetWithFlags
137206b9b3e0SSimon J. Gerraty	extract SetVar from Var_SetWithFlags
137306b9b3e0SSimon J. Gerraty	use FStr in VarNew
137406b9b3e0SSimon J. Gerraty	extract string functions from ApplyModifier_To
137506b9b3e0SSimon J. Gerraty	error out if .undef has not exactly 1 argument
137606b9b3e0SSimon J. Gerraty	extract Var_DeleteVar from Var_Delete
137706b9b3e0SSimon J. Gerraty	extract Var_Undef from ParseDirective
137806b9b3e0SSimon J. Gerraty	clean up memory management for expanding variable expressions
137906b9b3e0SSimon J. Gerraty
138006b9b3e0SSimon J. Gerraty2020-12-12  Simon J Gerraty  <sjg@beast.crufty.net>
138106b9b3e0SSimon J. Gerraty
138206b9b3e0SSimon J. Gerraty	* avoid %zu
138306b9b3e0SSimon J. Gerraty
138406b9b3e0SSimon J. Gerraty	* lst.c: avoid anonymous union
138506b9b3e0SSimon J. Gerraty
138606b9b3e0SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201212
138706b9b3e0SSimon J. Gerraty	Merge with NetBSD make, pick up
138806b9b3e0SSimon J. Gerraty	o more unit tests
138906b9b3e0SSimon J. Gerraty	o inline Targ_Ignore and Targ_Silent
139006b9b3e0SSimon J. Gerraty	o split JobFlags into separate fields
139106b9b3e0SSimon J. Gerraty	o remove const from function parameters (left overs from refactoring)
139206b9b3e0SSimon J. Gerraty	o eliminate boolean argument of Var_Export
139306b9b3e0SSimon J. Gerraty	o make API of Buf_Init simpler
139406b9b3e0SSimon J. Gerraty	o rename ParseRunOptions to ParseCommandFlags
139506b9b3e0SSimon J. Gerraty	o replace *line with line[0]
139606b9b3e0SSimon J. Gerraty	o compat.c: fix wrong exit status for multiple failed main targets
139706b9b3e0SSimon J. Gerraty	refactor Compat_Run to show the error condition more clearly
139806b9b3e0SSimon J. Gerraty	don't make .END if the main targets already failed (-k mode)
139906b9b3e0SSimon J. Gerraty	fix exit status in -k mode if a dependency fails
140006b9b3e0SSimon J. Gerraty	o for.c: clean up Buf_AddEscaped in .for loops
140106b9b3e0SSimon J. Gerraty	o job.c: extract ShellWriter_ErrOn from JobPrintCommand
140206b9b3e0SSimon J. Gerraty	make Job_Touch simpler
140306b9b3e0SSimon J. Gerraty	refactor JobFinish
140406b9b3e0SSimon J. Gerraty	rename Shell.exitFlag to errFlag
140506b9b3e0SSimon J. Gerraty	move Job.xtraced to ShellWriter
140606b9b3e0SSimon J. Gerraty	make printing of shell commands independent from the job
140706b9b3e0SSimon J. Gerraty	rename shell flags in struct Shell
140806b9b3e0SSimon J. Gerraty	extract JobOpenTmpFile from JobStart
140906b9b3e0SSimon J. Gerraty	rename RunFlags to CommandFlags
141006b9b3e0SSimon J. Gerraty	split various Job.* into separate fields
141106b9b3e0SSimon J. Gerraty	rename commandShell to shell
141206b9b3e0SSimon J. Gerraty	extract InitShellNameAndPath from Shell_Init
141306b9b3e0SSimon J. Gerraty	replace signal handling macros with local functions
141406b9b3e0SSimon J. Gerraty	replace macro MESSAGE with local function
141506b9b3e0SSimon J. Gerraty	parse.c: error out on null bytes in makefiles
141606b9b3e0SSimon J. Gerraty	error out on misspelled directives
141706b9b3e0SSimon J. Gerraty	rename IFile.nextbuf to readMore
141806b9b3e0SSimon J. Gerraty	fix undefined behavior in ParseEOF
141906b9b3e0SSimon J. Gerraty	str.c: remove redundant call to strlen in Str_Words
142006b9b3e0SSimon J. Gerraty	var.c: error out on misspelled .unexport-env
142106b9b3e0SSimon J. Gerraty	error out on misspelled .export directives
142206b9b3e0SSimon J. Gerraty	extract ExportVars from Var_Export
142306b9b3e0SSimon J. Gerraty	extract ExportVarsExpand from Var_Export
142406b9b3e0SSimon J. Gerraty	eliminate boolean argument of Var_Export
142506b9b3e0SSimon J. Gerraty	fix undefined behavior when exporting ${:U }
142606b9b3e0SSimon J. Gerraty	rename Var_ExportVars to Var_ReexportVars
142706b9b3e0SSimon J. Gerraty	rename Var_Export1 to ExportVar
142806b9b3e0SSimon J. Gerraty
142906b9b3e0SSimon J. Gerraty2020-12-06  Simon J Gerraty  <sjg@beast.crufty.net>
143006b9b3e0SSimon J. Gerraty
143106b9b3e0SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201206
143206b9b3e0SSimon J. Gerraty	Merge with NetBSD make, pick up
143306b9b3e0SSimon J. Gerraty	o more unit tests
143406b9b3e0SSimon J. Gerraty	o inline macros for debug logging
143506b9b3e0SSimon J. Gerraty	o use consistent variable names for list nodes
143606b9b3e0SSimon J. Gerraty	o define constants for enum zero-values
143706b9b3e0SSimon J. Gerraty	o dir.c: use fixed format for debug output of the directory cache
143806b9b3e0SSimon J. Gerraty	remove Dir_InitDir
143906b9b3e0SSimon J. Gerraty	o lst.c: inline Lst_Enqueue, Vector_Done
144006b9b3e0SSimon J. Gerraty	o meta.c: remove unused parameter from meta_needed
144106b9b3e0SSimon J. Gerraty	o parse.c: rename parse functions
144206b9b3e0SSimon J. Gerraty	o suff.c: extract ExpandChildrenRegular from ExpandChildren
144306b9b3e0SSimon J. Gerraty	o targ.c: don't concatenate identifiers in Targ_PrintType
144406b9b3e0SSimon J. Gerraty	o var.c: remove comment decoration
144506b9b3e0SSimon J. Gerraty	extract UnexportVars from Var_UnExport
144606b9b3e0SSimon J. Gerraty	extract GetVarnamesToUnexport from Var_UnExport
144706b9b3e0SSimon J. Gerraty	extract UnexportEnv from Var_UnExport
144806b9b3e0SSimon J. Gerraty	extract UnexportVar from Var_UnExport
144906b9b3e0SSimon J. Gerraty	move CleanEnv to UnexportVars
145006b9b3e0SSimon J. Gerraty	replace pointer comparisons with enum
145106b9b3e0SSimon J. Gerraty	add FStr to var.c to make memory handling simpler
145206b9b3e0SSimon J. Gerraty	use FStr in Var_UnExport
145306b9b3e0SSimon J. Gerraty	move type definitions in var.c to the top
145406b9b3e0SSimon J. Gerraty	extract FreeEnvVar from Var_Parse
145506b9b3e0SSimon J. Gerraty	extract ShuffleStrings from ApplyModifier_Order
145606b9b3e0SSimon J. Gerraty
145706b9b3e0SSimon J. Gerraty2020-11-30  Simon J Gerraty  <sjg@beast.crufty.net>
145806b9b3e0SSimon J. Gerraty
145906b9b3e0SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201130
146006b9b3e0SSimon J. Gerraty	Merge with NetBSD make, pick up
146106b9b3e0SSimon J. Gerraty	o add unit tests for META MODE
146206b9b3e0SSimon J. Gerraty	o reduce memory allocation for dirSearchPath, GNode.parents,
146306b9b3e0SSimon J. Gerraty	GNode.children, OpenDirs
146406b9b3e0SSimon J. Gerraty	o reduce pointer indirection for GNode.cohorts and
146506b9b3e0SSimon J. Gerraty	GNode.implicitParents
146606b9b3e0SSimon J. Gerraty	o remove pointer indirection from GNode.commands
146706b9b3e0SSimon J. Gerraty	o inline Lst_ForEachUntil in meta mode
146806b9b3e0SSimon J. Gerraty	o dir.c: fix memory leak for lstat cache in -DCLEANUP mode
146906b9b3e0SSimon J. Gerraty	clean up memory management for CachedDirs
147006b9b3e0SSimon J. Gerraty	fix the reference count of dotLast going negative
147106b9b3e0SSimon J. Gerraty	add debug logging for OpenDirs_Done
147206b9b3e0SSimon J. Gerraty	extract CacheNewDir from Dir_AddDir
147306b9b3e0SSimon J. Gerraty	add debug logging for reference counting of CachedDir
147406b9b3e0SSimon J. Gerraty	rename some Dir functions to SearchPath
147506b9b3e0SSimon J. Gerraty	o job.c: rename some global variables
147606b9b3e0SSimon J. Gerraty	o main.c: reduce memory allocation in ReadBuiltinRules
147706b9b3e0SSimon J. Gerraty	reduce memory allocation in CmdOpts.create, CmdOpts.variables,
147806b9b3e0SSimon J. Gerraty	CmdOpts.makefiles
147906b9b3e0SSimon J. Gerraty	Add .MAKE.UID and .MAKE.GID
148006b9b3e0SSimon J. Gerraty	o make.c: reduce memory allocation for/in toBeMade,
148106b9b3e0SSimon J. Gerraty	Make_ProcessWait, Make_ExpandUse
148206b9b3e0SSimon J. Gerraty	o meta.c: reduce memory allocation in meta_oodate
148306b9b3e0SSimon J. Gerraty	o parse.c: reduce memory allocations for parsing dependencies and
148406b9b3e0SSimon J. Gerraty	targets
148506b9b3e0SSimon J. Gerraty	o suff.c: reduce memory allocation in suffix handling
148606b9b3e0SSimon J. Gerraty
148706b9b3e0SSimon J. Gerraty2020-11-24  Simon J Gerraty  <sjg@beast.crufty.net>
148806b9b3e0SSimon J. Gerraty
148906b9b3e0SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201124
149006b9b3e0SSimon J. Gerraty	Merge with NetBSD make, pick up
149106b9b3e0SSimon J. Gerraty	o .MAKE.{UID,GID} represent uid and gid running make.
149206b9b3e0SSimon J. Gerraty	o fix error handling for .BEGIN and .END dependency in -k mode
149306b9b3e0SSimon J. Gerraty	o fix missing "Stop." after failed .END node in -k mode
149406b9b3e0SSimon J. Gerraty	o use properly typed comparisons in boolean contexts
149506b9b3e0SSimon J. Gerraty	o replace a few HashTable_CreateEntry with HashTable_Set
149606b9b3e0SSimon J. Gerraty	o add HashSet type
149706b9b3e0SSimon J. Gerraty	o compat.c: split Compat_Make into smaller functions
149806b9b3e0SSimon J. Gerraty	extract DebugFailedTarget from Compat_RunCommand
149906b9b3e0SSimon J. Gerraty	o dir.c: refactor Dir_UpdateMTime
150006b9b3e0SSimon J. Gerraty	migrate CachedDir.files from HashTable to HashSet
150106b9b3e0SSimon J. Gerraty	o make.c: add high-level API for GNode.made
150206b9b3e0SSimon J. Gerraty
150306b9b3e0SSimon J. Gerraty2020-11-22  Simon J Gerraty  <sjg@beast.crufty.net>
150406b9b3e0SSimon J. Gerraty
150506b9b3e0SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201122
150606b9b3e0SSimon J. Gerraty	Merge with NetBSD make, pick up
150706b9b3e0SSimon J. Gerraty	o rename GNode.context to vars
150806b9b3e0SSimon J. Gerraty	o suff.c: cleanup and refactor
150906b9b3e0SSimon J. Gerraty	rename some functions and vars to better reflect usage
151006b9b3e0SSimon J. Gerraty	add high-level API for CandidateSearcher
151106b9b3e0SSimon J. Gerraty	o targ.c: add more debug logging for suffix handling
151206b9b3e0SSimon J. Gerraty	o more unit tests
151306b9b3e0SSimon J. Gerraty	o add debug logging for setting and resetting the main target
151406b9b3e0SSimon J. Gerraty
1515e2eeea75SSimon J. Gerraty2020-11-17  Simon J Gerraty  <sjg@beast.crufty.net>
1516e2eeea75SSimon J. Gerraty
1517e2eeea75SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201117
1518e2eeea75SSimon J. Gerraty	Merge with NetBSD make, pick up
151906b9b3e0SSimon J. Gerraty	o fix some unit-tests when .SHELL is dash
1520e2eeea75SSimon J. Gerraty	o rename Targ_NewGN to GNode_New
1521e2eeea75SSimon J. Gerraty	o make some GNode functions const
1522e2eeea75SSimon J. Gerraty	o main.c: call Targ_Init before Var_Init
1523e2eeea75SSimon J. Gerraty	cleanup PrintOnError, getTmpdir and ParseBoolean
1524e2eeea75SSimon J. Gerraty	o var.c: fix error message of failed :!cmd! modifier
1525e2eeea75SSimon J. Gerraty
1526e2eeea75SSimon J. Gerraty2020-11-14  Simon J Gerraty  <sjg@beast.crufty.net>
1527e2eeea75SSimon J. Gerraty
1528e2eeea75SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201114
1529e2eeea75SSimon J. Gerraty	Merge with NetBSD make, pick up
1530e2eeea75SSimon J. Gerraty	o replace a few HashTable_CreateEntry with HashTable_Set
1531e2eeea75SSimon J. Gerraty	o clean up cached_stats
1532e2eeea75SSimon J. Gerraty	o rename DEFAULT to defaultNode
1533e2eeea75SSimon J. Gerraty	o remove redundant struct make_stat
1534e2eeea75SSimon J. Gerraty	o cond.c: in lint mode, check for ".else <cond>"
1535e2eeea75SSimon J. Gerraty	use bitset for IfState
1536e2eeea75SSimon J. Gerraty	replace large switch with if-else in Cond_EvalLine
1537e2eeea75SSimon J. Gerraty	o job.c: clean up JobExec, JobStart, JobDoOutput
1538e2eeea75SSimon J. Gerraty	use stderr for error message about failed touch
1539e2eeea75SSimon J. Gerraty	clean up Job_Touch
1540e2eeea75SSimon J. Gerraty	replace macro DBPRINTF with JobPrintln
1541e2eeea75SSimon J. Gerraty	rename JobState to JobStatus
1542e2eeea75SSimon J. Gerraty	main.c: switch cache for realpath from GNode to HashTable
1543e2eeea75SSimon J. Gerraty	clean up Fatal
1544e2eeea75SSimon J. Gerraty	clean up InitDefSysIncPath
1545e2eeea75SSimon J. Gerraty	use progname instead of hard-coded 'make' in warning
1546e2eeea75SSimon J. Gerraty	rename Main_SetVarObjdir to SetVarObjdir
1547e2eeea75SSimon J. Gerraty	make.1: document the -S option
1548e2eeea75SSimon J. Gerraty	make.c: fix debug output for GNode details
1549e2eeea75SSimon J. Gerraty	use symbolic names in debug output of GNodes
1550e2eeea75SSimon J. Gerraty
1551e2eeea75SSimon J. Gerraty2020-11-12  Simon J Gerraty  <sjg@beast.crufty.net>
1552e2eeea75SSimon J. Gerraty
1553e2eeea75SSimon J. Gerraty	* configure.in: fix --with-force-machine-arch
1554e2eeea75SSimon J. Gerraty
1555e2eeea75SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201112
1556e2eeea75SSimon J. Gerraty	Merge with NetBSD make, pick up
1557e2eeea75SSimon J. Gerraty	o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable
1558e2eeea75SSimon J. Gerraty	checks in InitObjdir.  Explicit .OBJDIR target always allows
1559e2eeea75SSimon J. Gerraty	read-only directory.
1560e2eeea75SSimon J. Gerraty	o cond.c: clean up Cond_EvalLine
1561e2eeea75SSimon J. Gerraty
1562e2eeea75SSimon J. Gerraty2020-11-11  Simon J Gerraty  <sjg@beast.crufty.net>
1563e2eeea75SSimon J. Gerraty
1564e2eeea75SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201111
1565e2eeea75SSimon J. Gerraty	Merge with NetBSD make, pick up
1566e2eeea75SSimon J. Gerraty	o more unit-tests
1567e2eeea75SSimon J. Gerraty	o style cleanup
1568e2eeea75SSimon J. Gerraty	remove redundant parentheses from sizeof operator
1569e2eeea75SSimon J. Gerraty	replace character literal 0 with '\0'.
1570e2eeea75SSimon J. Gerraty	replace pointer literal 0 with NULL.
1571e2eeea75SSimon J. Gerraty	remove redundant parentheses.
1572e2eeea75SSimon J. Gerraty	replace (expr & mask) == 0 with !(expr & mask).
1573e2eeea75SSimon J. Gerraty	use strict typing in conditions of the form !var
1574e2eeea75SSimon J. Gerraty	o rename Make_OODate to GNode_IsOODate
1575e2eeea75SSimon J. Gerraty	o rename Make_TimeStamp to GNode_UpdateYoungestChild
1576e2eeea75SSimon J. Gerraty	o rename Var_Set_with_flags to Var_SetWithFlags
1577e2eeea75SSimon J. Gerraty	o rename dieQuietly to shouldDieQuietly
1578e2eeea75SSimon J. Gerraty	o buf.c: make API of Buf_Init simpler
1579e2eeea75SSimon J. Gerraty	o compat.c: clean up Compat_Make, Compat_RunCommand,
1580e2eeea75SSimon J. Gerraty	CompatDeleteTarget and CompatInterrupt
1581e2eeea75SSimon J. Gerraty	o cond.c: in lint mode, only allow '&&' and '||', not '&' and '|'
1582e2eeea75SSimon J. Gerraty	clean up CondParser_Comparison
1583e2eeea75SSimon J. Gerraty	o main.c: rename getBoolean and s2Boolean
1584e2eeea75SSimon J. Gerraty	rename MAKEFILE_PREFERENCE for consistency
1585e2eeea75SSimon J. Gerraty	o parse.c: replace strstr in ParseMaybeSubMake with optimized code
1586e2eeea75SSimon J. Gerraty	o var.c: rename VARE_ASSIGN to VARE_KEEP_DOLLAR
1587e2eeea75SSimon J. Gerraty	replace emptyString with allocated empty string
1588e2eeea75SSimon J. Gerraty	error out on unclosed expressions after the colon
1589e2eeea75SSimon J. Gerraty
1590956e45f6SSimon J. Gerraty2020-11-01  Simon J Gerraty  <sjg@beast.crufty.net>
1591956e45f6SSimon J. Gerraty
1592956e45f6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201101
1593956e45f6SSimon J. Gerraty	Merge with NetBSD make, pick up
1594956e45f6SSimon J. Gerraty	o negate NoExecute to GNode_ShouldExecute
1595956e45f6SSimon J. Gerraty	o job.c: rename JobMatchShell to FindShellByName
1596956e45f6SSimon J. Gerraty	extract EscapeShellDblQuot from JobPrintCommand
1597956e45f6SSimon J. Gerraty	extract ParseRunOptions from JobPrintCommand
1598956e45f6SSimon J. Gerraty	o var.c: extract ApplyModifiersIndirect from ApplyModifiers
1599956e45f6SSimon J. Gerraty	treat malformed :range, :ts and :[...] as errors
1600956e45f6SSimon J. Gerraty	add tests for the variable modifiers :[words] and :range
1601956e45f6SSimon J. Gerraty
1602956e45f6SSimon J. Gerraty2020-10-31  Simon J Gerraty  <sjg@beast.crufty.net>
1603956e45f6SSimon J. Gerraty
1604956e45f6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201031
1605956e45f6SSimon J. Gerraty	Merge with NetBSD make, pick up
1606956e45f6SSimon J. Gerraty	o format #include directives consistently
1607956e45f6SSimon J. Gerraty	o do not look up local variables like .TARGET anywhere else
1608956e45f6SSimon J. Gerraty	o main.c: Main_SetObjdir is first called for curdir which may be
1609956e45f6SSimon J. Gerraty	readonly
1610956e45f6SSimon J. Gerraty	reduce the scope where recursive expressions are detected
1611956e45f6SSimon J. Gerraty	remove redundant :tl from getBoolean
1612956e45f6SSimon J. Gerraty	clean up mkTempFile
1613956e45f6SSimon J. Gerraty	o meta.c: simplify memory allocation in meta_create and meta_oodate
1614956e45f6SSimon J. Gerraty	o parse.c: extract loadedfile_mmap from loadfile
1615956e45f6SSimon J. Gerraty	o trace.c: document possible undefined behavior with .CURDIR
1616956e45f6SSimon J. Gerraty	o var.c: make parsing of the :gmtime and :localtime modifiers stricter
1617956e45f6SSimon J. Gerraty	rename ismeta to is_shell_metachar
1618956e45f6SSimon J. Gerraty	remove debug logging for the :Q variable modifier
1619956e45f6SSimon J. Gerraty	rename VarIsDynamic to VarnameIsDynamic
1620956e45f6SSimon J. Gerraty	use consistent parameter order in varname parsing functions
1621956e45f6SSimon J. Gerraty	extract ParseVarnameLong from Var_Parse
1622956e45f6SSimon J. Gerraty	extract ParseVarnameShort from Var_Parse
1623956e45f6SSimon J. Gerraty	fix type of ParseModifierPart parameter delim
1624956e45f6SSimon J. Gerraty	extract IsEscapedModifierPart from ParseModifierPart
1625956e45f6SSimon J. Gerraty	clean up ModifyWords
1626956e45f6SSimon J. Gerraty	add test for combining the :@ and :? variable modifiers
1627956e45f6SSimon J. Gerraty
1628956e45f6SSimon J. Gerraty2020-10-30  Simon J Gerraty  <sjg@beast.crufty.net>
1629956e45f6SSimon J. Gerraty
1630956e45f6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201030
1631956e45f6SSimon J. Gerraty	Merge with NetBSD make, pick up
1632956e45f6SSimon J. Gerraty	o change char * to void * in Var_Value
1633956e45f6SSimon J. Gerraty	o make iterating over HashTable simpler
1634956e45f6SSimon J. Gerraty	o rename VAR_CMD to VAR_CMDLINE
1635956e45f6SSimon J. Gerraty	o cond.c: clean up is_separator
1636956e45f6SSimon J. Gerraty	fix parse error in string literal in conditional
1637956e45f6SSimon J. Gerraty	o main.c: do not use objdir that is not writable
1638956e45f6SSimon J. Gerraty	in lint mode, exit with error status on errors
1639956e45f6SSimon J. Gerraty	o  parse.c: clean up StrContainsWord
1640956e45f6SSimon J. Gerraty	fix out-of-bounds pointer in ParseTrackInput
1641956e45f6SSimon J. Gerraty	o var.c: rename Str_SYSVMatch and its parameters
1642956e45f6SSimon J. Gerraty	remove unsatisfiable conditions in Var_Set_with_flags
1643956e45f6SSimon J. Gerraty	document where the variable name is expanded
1644956e45f6SSimon J. Gerraty	fix documentation for VARP_SUB_ONE
1645956e45f6SSimon J. Gerraty	rename VAR_EXPORTED_YES to VAR_EXPORTED_SOME
1646956e45f6SSimon J. Gerraty	document VAR_READONLY
1647956e45f6SSimon J. Gerraty	prevent appending to read-only variables
1648956e45f6SSimon J. Gerraty	extract MayExport from Var_Export1
1649956e45f6SSimon J. Gerraty	remove redundant evaluations in VarFind
1650956e45f6SSimon J. Gerraty	replace VarFindFlags with a simple Boolean
1651956e45f6SSimon J. Gerraty	rename FIND_CMD to FIND_CMDLINE, to match VAR_CMDLINE
1652956e45f6SSimon J. Gerraty
1653956e45f6SSimon J. Gerraty2020-10-28  Simon J Gerraty  <sjg@beast.crufty.net>
1654956e45f6SSimon J. Gerraty
1655956e45f6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201028
1656956e45f6SSimon J. Gerraty	Merge with NetBSD make, pick up
1657956e45f6SSimon J. Gerraty	o rename defIncPath to defSysIncPath
1658956e45f6SSimon J. Gerraty	o initialize all CmdOpts fields
1659956e45f6SSimon J. Gerraty	o lst.c: inline Vector_Get
1660956e45f6SSimon J. Gerraty	o main.c: refactor main extract
1661956e45f6SSimon J. Gerraty	InitMaxJobs,InitObjdir,InitVarMake,InitRandom,
1662956e45f6SSimon J. Gerraty	ReadMakefiles,CleanUp,InitVpath,ReadBuiltinRules,
1663956e45f6SSimon J. Gerraty	InitDefIncPath,CmdOpts_Init,UnlimitFiles
1664956e45f6SSimon J. Gerraty	o parse.c: merge curFile into includes
1665956e45f6SSimon J. Gerraty	rename predecessor to order_pred
1666956e45f6SSimon J. Gerraty	sort ParseSpecial alphabetically
1667956e45f6SSimon J. Gerraty	remove unused, undocumented .NOEXPORT
1668956e45f6SSimon J. Gerraty	rename ParseSpecial enum values consistently
1669956e45f6SSimon J. Gerraty	rename some fields of struct IFile
1670956e45f6SSimon J. Gerraty
1671956e45f6SSimon J. Gerraty2020-10-26  Simon J Gerraty  <sjg@beast.crufty.net>
1672956e45f6SSimon J. Gerraty
1673956e45f6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201026
1674956e45f6SSimon J. Gerraty	Merge with NetBSD make, pick up
1675956e45f6SSimon J. Gerraty	o group the command line options and arguments into a struct
1676956e45f6SSimon J. Gerraty	o rename GNode.cmgn to youngestChild
1677956e45f6SSimon J. Gerraty	o rename hash functions to identify the type name
1678956e45f6SSimon J. Gerraty	o negate OP_NOP and rename it to GNode_IsTarget
1679956e45f6SSimon J. Gerraty	o add GNode_Path to access the path of a GNode
1680956e45f6SSimon J. Gerraty	o remove macros MIN and MAX
1681956e45f6SSimon J. Gerraty	o remove unused Lst_Find and Lst_FindFrom
1682956e45f6SSimon J. Gerraty	o arch.c: and make Arch_FindLib simpler
1683956e45f6SSimon J. Gerraty	clean up code layout
1684956e45f6SSimon J. Gerraty	make Arch_ParseArchive simpler
1685956e45f6SSimon J. Gerraty	o cond.c: inline CondFindStrMatch into FuncMake
1686956e45f6SSimon J. Gerraty	o dir.c: replace Dir_CopyDir with Dir_CopyDirSearchPath
1687956e45f6SSimon J. Gerraty	omit trailing space in debug output for expanding file patterns
1688956e45f6SSimon J. Gerraty	refactor DirMatchFiles
1689956e45f6SSimon J. Gerraty	document that the SearchPath of Dir_FindFile may be NULL
1690956e45f6SSimon J. Gerraty	remove UNCONST from Dir_Expand
1691956e45f6SSimon J. Gerraty	inline DirFindName
1692956e45f6SSimon J. Gerraty	o for.c: clean up code for handling .for loops
1693956e45f6SSimon J. Gerraty	o hash.c: print hash in debug log with fixed width
1694956e45f6SSimon J. Gerraty	clean up hash table functions
1695956e45f6SSimon J. Gerraty	reduce amount of string hashing
1696956e45f6SSimon J. Gerraty	o job.c: refactor JobDeleteTarget
1697956e45f6SSimon J. Gerraty	use proper enum constants for aborting
1698956e45f6SSimon J. Gerraty	convert result of JobStart from macros to enum
1699956e45f6SSimon J. Gerraty	convert abort reason macros to enum
1700956e45f6SSimon J. Gerraty	rework Job_CheckCommands to reduce indentation
1701956e45f6SSimon J. Gerraty	rename Shell fields
1702956e45f6SSimon J. Gerraty	add field names in declaration of DEFSHELL_CUSTOM
1703956e45f6SSimon J. Gerraty	convert JobState and JobFlags to enum types
1704956e45f6SSimon J. Gerraty	move handling of the "..." command to JobPrintCommands
1705956e45f6SSimon J. Gerraty	o lst.c: clean up
1706956e45f6SSimon J. Gerraty	refactor LstNodeNew
1707956e45f6SSimon J. Gerraty	remove Lst_Open, Lst_Next, Lst_Close
1708956e45f6SSimon J. Gerraty	remove code for circular lists from Lst_Next
1709956e45f6SSimon J. Gerraty	o main.c: do not attempt to read .MAKE.DEPENFILE if set to
1710956e45f6SSimon J. Gerraty	/dev/null or anything starting with "no"
1711956e45f6SSimon J. Gerraty	convert macros for debug flags into enum
1712956e45f6SSimon J. Gerraty	o make.c: inline Lst_Copy in Make_ExpandUse
1713956e45f6SSimon J. Gerraty	o meta.c: inline Lst_Find in meta_oodate
1714956e45f6SSimon J. Gerraty	make Lst_RemoveIf simpler in meta_oodate
1715956e45f6SSimon J. Gerraty	o parse.c: convert error level for Parse_Error to an enum
1716956e45f6SSimon J. Gerraty	o suff.c: properly terminate debug output with newline
1717956e45f6SSimon J. Gerraty	add more details to DEBUG_SRC log
1718956e45f6SSimon J. Gerraty	replace Dir_CopyDir with Dir_CopyDirSearchPath
1719956e45f6SSimon J. Gerraty	don't modify GNode name while rebuilding the suffix graph
1720956e45f6SSimon J. Gerraty	o var.c: reduce duplicate code in VarFind
1721956e45f6SSimon J. Gerraty
1722956e45f6SSimon J. Gerraty2020-10-22  Simon J Gerraty  <sjg@beast.crufty.net>
1723956e45f6SSimon J. Gerraty
1724956e45f6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201022
1725956e45f6SSimon J. Gerraty	Merge with NetBSD make, pick up
1726956e45f6SSimon J. Gerraty	o more refactoring and simplification to reduce code size
1727956e45f6SSimon J. Gerraty	o var.c: extract CanonicalVarname from VarFind
1728956e45f6SSimon J. Gerraty	o make.c: extract UpdateImplicitParentsVars from Make_Update
1729956e45f6SSimon J. Gerraty	o main.c: extract PrintVar from doPrintVars
1730956e45f6SSimon J. Gerraty	extract HandlePWD from main
1731956e45f6SSimon J. Gerraty	o lst.c: inline simple Lst getters
1732956e45f6SSimon J. Gerraty	remove unused Lst_ForEach
1733956e45f6SSimon J. Gerraty	o job.c: move struct Shell from job.h to job.c
1734956e45f6SSimon J. Gerraty	o more unit tests
1735956e45f6SSimon J. Gerraty
1736956e45f6SSimon J. Gerraty2020-10-19  Simon J Gerraty  <sjg@beast.crufty.net>
1737956e45f6SSimon J. Gerraty
1738956e45f6SSimon J. Gerraty	* configure.in: remove inappropriate use of AC_INCLUDES_DEFAULT
1739956e45f6SSimon J. Gerraty
1740956e45f6SSimon J. Gerraty2020-10-18  Simon J Gerraty  <sjg@beast.crufty.net>
1741956e45f6SSimon J. Gerraty
1742956e45f6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201018
1743956e45f6SSimon J. Gerraty	Merge with NetBSD make, pick up
1744956e45f6SSimon J. Gerraty	o remove USE_IOVEC
1745956e45f6SSimon J. Gerraty	o rename some Hash_* apis to Hash*
1746956e45f6SSimon J. Gerraty	o replace execError with execDie
1747956e45f6SSimon J. Gerraty	o rename Lst_Init to Lst_New
1748956e45f6SSimon J. Gerraty	o add tags to enum types
1749956e45f6SSimon J. Gerraty	o rename Stack to Vector
1750956e45f6SSimon J. Gerraty	o parse.c: more refactoring
1751956e45f6SSimon J. Gerraty	o unit-tests: make some tests use line buffered stdout
1752956e45f6SSimon J. Gerraty	o unit-tests/Makefile: in meta mode do not make all tests depend on
1753956e45f6SSimon J. Gerraty	Makefile, it isn't necessary.
1754956e45f6SSimon J. Gerraty
1755956e45f6SSimon J. Gerraty2020-10-10  Simon J Gerraty  <sjg@beast.crufty.net>
1756956e45f6SSimon J. Gerraty
1757956e45f6SSimon J. Gerraty	* main.c: check for CTL_HW being defined.
1758956e45f6SSimon J. Gerraty	* unit-tests/Makefile: ensure export tests output are POSIX compliant
1759956e45f6SSimon J. Gerraty	disable opt-debug-jobs test until it works on ubuntu
1760956e45f6SSimon J. Gerraty
1761956e45f6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201010
1762956e45f6SSimon J. Gerraty	Merge with NetBSD make, pick up
1763956e45f6SSimon J. Gerraty	o dir.c: remove pathname limit for Dir_FindHereOrAbove
1764956e45f6SSimon J. Gerraty	o hash.c: replace strcpy with memcpy in Hash_CreateEntry
1765956e45f6SSimon J. Gerraty	o main.c: extract init_machine and init_machine_arch from main
1766956e45f6SSimon J. Gerraty	allow to disable debug logging options
1767956e45f6SSimon J. Gerraty	o parse.c: enable format string truncation warnings
1768956e45f6SSimon J. Gerraty	extract parsing of sources from ParseDoDependency
1769956e45f6SSimon J. Gerraty	split ParseDoSrc into smaller functions
1770956e45f6SSimon J. Gerraty	hide implementation details from Parse_DoVar
1771956e45f6SSimon J. Gerraty	clean up parsing of variable assignments
1772956e45f6SSimon J. Gerraty	split Parse_DoVar into manageable pieces
1773956e45f6SSimon J. Gerraty	don't modify the given line during Parse_DoVar
1774956e45f6SSimon J. Gerraty	fix out-of-bounds memory access in Parse_DoVar
1775956e45f6SSimon J. Gerraty	fix parsing of the :sh assignment modifier
1776956e45f6SSimon J. Gerraty	o var.c: rework memory allocation for the name of variables
1777956e45f6SSimon J. Gerraty	extract ApplyModifier_Literal into separate function
1778956e45f6SSimon J. Gerraty	in lint mode, reject modifiers without delimiter
1779956e45f6SSimon J. Gerraty	do not export variable names starting with '-'
1780956e45f6SSimon J. Gerraty	o fix double-free bug in -DCLEANUP mode
1781956e45f6SSimon J. Gerraty	o more cleanup to enable higher warnings level
1782956e45f6SSimon J. Gerraty	o more unit tests
1783956e45f6SSimon J. Gerraty
1784956e45f6SSimon J. Gerraty2020-10-02  Simon J Gerraty  <sjg@beast.crufty.net>
1785956e45f6SSimon J. Gerraty
1786956e45f6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201002
1787956e45f6SSimon J. Gerraty	Merge with NetBSD make, pick up
1788956e45f6SSimon J. Gerraty	o dir.c: use hash table for looking up open directories by name
1789956e45f6SSimon J. Gerraty	o main.c: clean up option handling
1790956e45f6SSimon J. Gerraty	o parse.c: add missing const for Parse_AddIncludeDir
1791956e45f6SSimon J. Gerraty	o var.c: ApplyModifier_To, update pp in each branch
1792956e45f6SSimon J. Gerraty	o remove redundant function prototypes
1793956e45f6SSimon J. Gerraty	o more unit tests
1794956e45f6SSimon J. Gerraty
1795956e45f6SSimon J. Gerraty2020-10-01  Simon J Gerraty  <sjg@beast.crufty.net>
1796956e45f6SSimon J. Gerraty
1797956e45f6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20201001
1798956e45f6SSimon J. Gerraty	Merge with NetBSD make, pick up
1799956e45f6SSimon J. Gerraty	o compat.c: comment about "..."
1800956e45f6SSimon J. Gerraty
1801956e45f6SSimon J. Gerraty2020-09-30  Simon J Gerraty  <sjg@beast.crufty.net>
1802956e45f6SSimon J. Gerraty
1803956e45f6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200930
1804956e45f6SSimon J. Gerraty	Merge with NetBSD make, pick up
1805956e45f6SSimon J. Gerraty	o job.c: split Job.jobPipe into 2 separate fields
1806956e45f6SSimon J. Gerraty	replace Lst_Open with direct iteration
1807956e45f6SSimon J. Gerraty	o lst.c: remove redundant assertions
1808956e45f6SSimon J. Gerraty	o targ.c: replace Lst_Open with direct iteration
1809956e45f6SSimon J. Gerraty	o var.c: fix bug in evaluation of indirect variable modifiers
1810956e45f6SSimon J. Gerraty	extract ApplyModifier_Quote into separate function
1811956e45f6SSimon J. Gerraty	o make debug logging simpler
1812956e45f6SSimon J. Gerraty
1813956e45f6SSimon J. Gerraty2020-09-27  Simon J Gerraty  <sjg@beast.crufty.net>
1814956e45f6SSimon J. Gerraty
1815956e45f6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200927
1816956e45f6SSimon J. Gerraty	Merge with NetBSD make, pick up
1817956e45f6SSimon J. Gerraty	o parse.c: ensure parse errors result in 'stopped in' message.
1818956e45f6SSimon J. Gerraty	o compat.c: make parameter of Compat_RunCommand const
1819956e45f6SSimon J. Gerraty	o main.c: extract InitVarTarget from main
1820956e45f6SSimon J. Gerraty	o parse.c: rename ParseFinishLine to FinishDependencyGroup
1821956e45f6SSimon J. Gerraty	refactor ParseDoDependency
1822956e45f6SSimon J. Gerraty	o var.c: Var_Subst no longer returns string result
1823956e45f6SSimon J. Gerraty	rename Var_ParsePP back to Var_Parse
1824956e45f6SSimon J. Gerraty	in lint mode, improve error handling for undefined variables
1825956e45f6SSimon J. Gerraty	extract ParseVarname from Var_Parse
1826956e45f6SSimon J. Gerraty	o rename Lst_ForEach to Lst_ForEachUntil
1827956e45f6SSimon J. Gerraty	o inline Lst_ForEachUntil in several cases
1828956e45f6SSimon J. Gerraty	o clean up API for finding and creating GNodes
1829956e45f6SSimon J. Gerraty	o fix assertion failure in -j mode with .END node
1830956e45f6SSimon J. Gerraty	o inline and remove LstNode_Prev and LstNode_Next
1831956e45f6SSimon J. Gerraty	o use fine-grained type names for lists and their nodes
1832956e45f6SSimon J. Gerraty	o more unit tests
1833956e45f6SSimon J. Gerraty
1834956e45f6SSimon J. Gerraty2020-09-11  Simon J Gerraty  <sjg@beast.crufty.net>
1835956e45f6SSimon J. Gerraty
1836956e45f6SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200911
1837956e45f6SSimon J. Gerraty	Merge with NetBSD make, pick up
1838956e45f6SSimon J. Gerraty	o cond.c: split EvalComparison into smaller functions
1839956e45f6SSimon J. Gerraty	reorder parameters of condition parsing functions
1840956e45f6SSimon J. Gerraty	reduce code size in CondParser_Eval
1841956e45f6SSimon J. Gerraty	rename CondGetString to CondParser_String
1842956e45f6SSimon J. Gerraty	add CondLexer_SkipWhitespace
1843956e45f6SSimon J. Gerraty	group the condition parsing state into a struct
1844956e45f6SSimon J. Gerraty	in CondGetString, replace repeated Buf_Add with Buf_AddStr
1845956e45f6SSimon J. Gerraty	o migrate Var_Parse to Var_ParsePP
1846956e45f6SSimon J. Gerraty	o add wrappers around ctype.h functions
1847956e45f6SSimon J. Gerraty	o lst.c: use a stack instead of a list for the nested include path
1848956e45f6SSimon J. Gerraty	o more unit tests
1849956e45f6SSimon J. Gerraty
1850956e45f6SSimon J. Gerraty2020-09-04  Simon J Gerraty  <sjg@beast.crufty.net>
1851956e45f6SSimon J. Gerraty
1852956e45f6SSimon J. Gerraty	* make-bootstrap.sh.in: adjust object list
1853956e45f6SSimon J. Gerraty
18542c3632d1SSimon J. Gerraty2020-09-02  Simon J Gerraty  <sjg@beast.crufty.net>
18552c3632d1SSimon J. Gerraty
18562c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200902
18572c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
18582c3632d1SSimon J. Gerraty	o use make_stat to ensure no confusion over valid fields
18592c3632d1SSimon J. Gerraty	returned by cached_stat
18602c3632d1SSimon J. Gerraty	o var.c: make VarQuote const-correct
18612c3632d1SSimon J. Gerraty	o add unit tests for .for
18622c3632d1SSimon J. Gerraty
18632c3632d1SSimon J. Gerraty2020-09-01  Simon J Gerraty  <sjg@beast.crufty.net>
18642c3632d1SSimon J. Gerraty
18652c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200901
18662c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
18672c3632d1SSimon J. Gerraty	o rename Hash_Table fields
18682c3632d1SSimon J. Gerraty	o make data types in Dir_HasWildcards more precise
18692c3632d1SSimon J. Gerraty
18702c3632d1SSimon J. Gerraty2020-08-31  Simon J Gerraty  <sjg@beast.crufty.net>
18712c3632d1SSimon J. Gerraty
18722c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200831
18732c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
18742c3632d1SSimon J. Gerraty	o suff.c: fix unbalanced Lst_Open/Lst_Close in SuffFindCmds
18752c3632d1SSimon J. Gerraty	o lst.c: Lst_Open renable assert that list isn't open
18762c3632d1SSimon J. Gerraty	o unit test for .TARGET dependent flags
18772c3632d1SSimon J. Gerraty	o var.c: fix aliasing bug in VarUniq
18782c3632d1SSimon J. Gerraty	o more unit tests for :u
18792c3632d1SSimon J. Gerraty
18802c3632d1SSimon J. Gerraty2020-08-30  Simon J Gerraty  <sjg@beast.crufty.net>
18812c3632d1SSimon J. Gerraty
18822c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200830
18832c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
18842c3632d1SSimon J. Gerraty	o allow for strict type checking for Boolean
18852c3632d1SSimon J. Gerraty	o Var_Parse never returns NULL
18862c3632d1SSimon J. Gerraty	o Var_Subst never returns NULL
18872c3632d1SSimon J. Gerraty	o Lst_Find now takes boolean match function
18882c3632d1SSimon J. Gerraty	o rename Lst_Memeber to Lst_FindDatum
18892c3632d1SSimon J. Gerraty	o rename LstNode functions to match their type
18902c3632d1SSimon J. Gerraty	o rename GNode.iParents to implicitParents
18912c3632d1SSimon J. Gerraty	o fix assertion failure for .SUFFIXES in archives
18922c3632d1SSimon J. Gerraty	o compat.c: clean up documentation for CompatInterrupt and Compat_Run
18932c3632d1SSimon J. Gerraty	remove unreachable code from CompatRunCommand
18942c3632d1SSimon J. Gerraty	o main.c: simplify getBoolean
18952c3632d1SSimon J. Gerraty	o stc.c: replace brk_string with simpler Str_Words
18962c3632d1SSimon J. Gerraty	o suff.c: add debug macros
18972c3632d1SSimon J. Gerraty
18982c3632d1SSimon J. Gerraty2020-08-28  Simon J Gerraty  <sjg@beast.crufty.net>
18992c3632d1SSimon J. Gerraty
19002c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200828
19012c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
19022c3632d1SSimon J. Gerraty	o lst.c: inline LstIsValid and LstNodeIsValid
19032c3632d1SSimon J. Gerraty	o remove trailing S from Lst function names after migration complete
19042c3632d1SSimon J. Gerraty	o more comment cleanup/clarification
19052c3632d1SSimon J. Gerraty	o suff.c: clean up suffix handling
19062c3632d1SSimon J. Gerraty	o more unit tests
19072c3632d1SSimon J. Gerraty
19082c3632d1SSimon J. Gerraty2020-08-26  Simon J Gerraty  <sjg@beast.crufty.net>
19092c3632d1SSimon J. Gerraty
19102c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200826
19112c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
19122c3632d1SSimon J. Gerraty	o enum.c: distinguish between bitsets containing flags and
19132c3632d1SSimon J. Gerraty	ordinary enums
19142c3632d1SSimon J. Gerraty	o var.c: fix error message for ::!= modifier with shell error
19152c3632d1SSimon J. Gerraty	o fix bugs in -DCLEANUP mode
19162c3632d1SSimon J. Gerraty
19172c3632d1SSimon J. Gerraty2020-08-24  Simon J Gerraty  <sjg@beast.crufty.net>
19182c3632d1SSimon J. Gerraty
19192c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200824
19202c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
19212c3632d1SSimon J. Gerraty	o in debug mode, print GNode details in symbols
19222c3632d1SSimon J. Gerraty
19232c3632d1SSimon J. Gerraty2020-08-23  Simon J Gerraty  <sjg@beast.crufty.net>
19242c3632d1SSimon J. Gerraty
19252c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200823
19262c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
19272c3632d1SSimon J. Gerraty	o lst.c: more asserts,
19282c3632d1SSimon J. Gerraty	make args to Lst_Find match others.
19292c3632d1SSimon J. Gerraty	o var.c: pass flags to VarAdd
19302c3632d1SSimon J. Gerraty	o arch.c: use Buffer
19312c3632d1SSimon J. Gerraty	o str.c: brk_string return size_t for nwords
19322c3632d1SSimon J. Gerraty	o more unit tests
19332c3632d1SSimon J. Gerraty
19342c3632d1SSimon J. Gerraty2020-08-22  Simon J Gerraty  <sjg@beast.crufty.net>
19352c3632d1SSimon J. Gerraty
19362c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION):
19372c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
19382c3632d1SSimon J. Gerraty	o var.c: support for read-only variables eg .SHELL
19392c3632d1SSimon J. Gerraty	being the shell used to run scripts.
19402c3632d1SSimon J. Gerraty	o lst.c: more simplification
19412c3632d1SSimon J. Gerraty	o more documentation and style cleanup
19422c3632d1SSimon J. Gerraty	o more unit tests
19432c3632d1SSimon J. Gerraty	o ensure unit-test/Makefile is run by TEST_MAKE
19442c3632d1SSimon J. Gerraty	o reduce duplication of header inclusion
19452c3632d1SSimon J. Gerraty
19462c3632d1SSimon J. Gerraty2020-08-21  Simon J Gerraty  <sjg@beast.crufty.net>
19472c3632d1SSimon J. Gerraty
19482c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200821
19492c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
19502c3632d1SSimon J. Gerraty	o lst.c: revert invalid assertion - but document it
19512c3632d1SSimon J. Gerraty	o dir.c: split Dir_Init into two functions
19522c3632d1SSimon J. Gerraty
19532c3632d1SSimon J. Gerraty2020-08-20  Simon J Gerraty  <sjg@beast.crufty.net>
19542c3632d1SSimon J. Gerraty
19552c3632d1SSimon J. Gerraty	* lst.c: needs inttypes.h on Linux
19562c3632d1SSimon J. Gerraty
19572c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200820
19582c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
19592c3632d1SSimon J. Gerraty	o make.1: clarify some passages
19602c3632d1SSimon J. Gerraty	o var.c: more cleanup, clarify comments
19612c3632d1SSimon J. Gerraty	o make_malloc.c: remove unreachable code
19622c3632d1SSimon J. Gerraty	o cond.c: make CondGetString easier to debug
19632c3632d1SSimon J. Gerraty	o simplify list usage
19642c3632d1SSimon J. Gerraty	o unit-tests: more
19652c3632d1SSimon J. Gerraty
19662c3632d1SSimon J. Gerraty2020-08-16  Simon J Gerraty  <sjg@beast.crufty.net>
19672c3632d1SSimon J. Gerraty
19682c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200816
19692c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
19702c3632d1SSimon J. Gerraty	o refactor unit-tests to be more fine grained
19712c3632d1SSimon J. Gerraty	  not all tests moved yet
19722c3632d1SSimon J. Gerraty
19732c3632d1SSimon J. Gerraty2020-08-14  Simon J Gerraty  <sjg@beast.crufty.net>
19742c3632d1SSimon J. Gerraty
19752c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200814
19762c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
19772c3632d1SSimon J. Gerraty	o more str_concat variants
19782c3632d1SSimon J. Gerraty	o more enums for flags
19792c3632d1SSimon J. Gerraty	o var.c: cleanup for higher warnings level
19802c3632d1SSimon J. Gerraty
19812c3632d1SSimon J. Gerraty2020-08-10  Simon J Gerraty  <sjg@beast.crufty.net>
19822c3632d1SSimon J. Gerraty
19832c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200810
19842c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
19852c3632d1SSimon J. Gerraty	o more unit tests
19862c3632d1SSimon J. Gerraty	o general comment and style cleanup
19872c3632d1SSimon J. Gerraty
19882c3632d1SSimon J. Gerraty2020-08-08  Simon J Gerraty  <sjg@beast.crufty.net>
19892c3632d1SSimon J. Gerraty
19902c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200808
19912c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
19922c3632d1SSimon J. Gerraty	o enum.[ch]: streamline, enums for use in flags and debug output
19932c3632d1SSimon J. Gerraty	o cond.c: cleanup
19942c3632d1SSimon J. Gerraty	o var.c: reduce duplicate code for modifiers
19952c3632d1SSimon J. Gerraty	debug logging for Var_Parse
19962c3632d1SSimon J. Gerraty	more detailed debug output
19972c3632d1SSimon J. Gerraty	o more unit tests
19982c3632d1SSimon J. Gerraty
19992c3632d1SSimon J. Gerraty2020-08-06  Simon J Gerraty  <sjg@beast.crufty.net>
20002c3632d1SSimon J. Gerraty
20012c3632d1SSimon J. Gerraty	* unit-tests/Makefile: -r for recursive and include Makefile.inc
20022c3632d1SSimon J. Gerraty	so I can run tests in meta mode
20032c3632d1SSimon J. Gerraty	supress extra noise if in meta mode
20042c3632d1SSimon J. Gerraty
20052c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200806
20062c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
20072c3632d1SSimon J. Gerraty	o parse.c: remove VARE_WANTRES for LINT
20082c3632d1SSimon J. Gerraty	we just want to check parsing (for now).
20092c3632d1SSimon J. Gerraty
20102c3632d1SSimon J. Gerraty2020-08-05  Simon J Gerraty  <sjg@beast.crufty.net>
20112c3632d1SSimon J. Gerraty
20122c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200805
20132c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
20142c3632d1SSimon J. Gerraty	o make.1: Rework the description of dependence operators
20152c3632d1SSimon J. Gerraty
20162c3632d1SSimon J. Gerraty2020-08-03  Simon J Gerraty  <sjg@beast.crufty.net>
20172c3632d1SSimon J. Gerraty
20182c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200803
20192c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
20202c3632d1SSimon J. Gerraty	o revert some C99 usage, for max portability
20212c3632d1SSimon J. Gerraty	o unit-tests/lint
20222c3632d1SSimon J. Gerraty
20232c3632d1SSimon J. Gerraty2020-08-02  Simon J Gerraty  <sjg@beast.crufty.net>
20242c3632d1SSimon J. Gerraty
20252c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200802
20262c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
20272c3632d1SSimon J. Gerraty	o more unit tests
20282c3632d1SSimon J. Gerraty
20292c3632d1SSimon J. Gerraty2020-08-01  Simon J Gerraty  <sjg@beast.crufty.net>
20302c3632d1SSimon J. Gerraty
20312c3632d1SSimon J. Gerraty	* Remove NetBSD specific plumbing from unit-tests/Makefile
20322c3632d1SSimon J. Gerraty
20332c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200801
20342c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
20352c3632d1SSimon J. Gerraty	o make Var_Value return const
20362c3632d1SSimon J. Gerraty	o size_t for buf sizes
20372c3632d1SSimon J. Gerraty	o optimize some buffer operations - avoid strlen
20382c3632d1SSimon J. Gerraty
20392c3632d1SSimon J. Gerraty2020-07-31  Simon J Gerraty  <sjg@beast.crufty.net>
20402c3632d1SSimon J. Gerraty
20412c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200731
20422c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
20432c3632d1SSimon J. Gerraty	o var.c: fix undefinded behavior for incomplete :t modifier
20442c3632d1SSimon J. Gerraty	  fixes unit-test/moderrs on Ubuntu
20452c3632d1SSimon J. Gerraty	o parse.c: When parsing variable assignments other than :=
20462c3632d1SSimon J. Gerraty	  if DEBUG(LINT) test substition of value, so we get a file and
20472c3632d1SSimon J. Gerraty	  line number in the resulting error.
20482c3632d1SSimon J. Gerraty	o dir.c: fix parsing of nested braces in dependency lines
20492c3632d1SSimon J. Gerraty	  add unit-tests
20502c3632d1SSimon J. Gerraty
20512c3632d1SSimon J. Gerraty2020-07-30  Simon J Gerraty  <sjg@beast.crufty.net>
20522c3632d1SSimon J. Gerraty
20532c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200730
20542c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
20552c3632d1SSimon J. Gerraty	o var.c: minor cleanup
20562c3632d1SSimon J. Gerraty	o unit-tests: more tests to improve code coverage
20572c3632d1SSimon J. Gerraty
20582c3632d1SSimon J. Gerraty2020-07-28  Simon J Gerraty  <sjg@beast.crufty.net>
20592c3632d1SSimon J. Gerraty
20602c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200728
20612c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
20622c3632d1SSimon J. Gerraty	o var.c: more optimizations
20632c3632d1SSimon J. Gerraty
20642c3632d1SSimon J. Gerraty2020-07-26  Simon J Gerraty  <sjg@beast.crufty.net>
20652c3632d1SSimon J. Gerraty
20662c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200726
20672c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
20682c3632d1SSimon J. Gerraty	o collapse lsd.lib into lst.c - reduce code size and allow inlining
20692c3632d1SSimon J. Gerraty	o lots of function comment updates
20702c3632d1SSimon J. Gerraty	o var.c: more optimizations
20712c3632d1SSimon J. Gerraty	o make return of Var_Parse const
20722c3632d1SSimon J. Gerraty
20732c3632d1SSimon J. Gerraty2020-07-20  Simon J Gerraty  <sjg@beast.crufty.net>
20742c3632d1SSimon J. Gerraty
20752c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200720
20762c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
20772c3632d1SSimon J. Gerraty	o DEBUG_HASH report stats at end and tone down the noise
20782c3632d1SSimon J. Gerraty	o var.c: each flag type gets its own prefix.
20792c3632d1SSimon J. Gerraty	move SysV string matching to var.c
20802c3632d1SSimon J. Gerraty	make ampersand in ${VAR:from=to&} an ordinary character
20812c3632d1SSimon J. Gerraty	cleanup and simplify implementation of modifiers
20822c3632d1SSimon J. Gerraty	o make.1: move documentation for assignment modifiers
20832c3632d1SSimon J. Gerraty
20842c3632d1SSimon J. Gerraty2020-07-18  Simon J Gerraty  <sjg@beast.crufty.net>
20852c3632d1SSimon J. Gerraty
20862c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200718
20872c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
20882c3632d1SSimon J. Gerraty	o DEBUG_HASH to see how well the hash tables are working
20892c3632d1SSimon J. Gerraty
20902c3632d1SSimon J. Gerraty2020-07-11  Simon J Gerraty  <sjg@beast.crufty.net>
20912c3632d1SSimon J. Gerraty
20922c3632d1SSimon J. Gerraty	* bsd.after-import.mk: make sure we update unit-tests/Makefile
20932c3632d1SSimon J. Gerraty
20943841c287SSimon J. Gerraty2020-07-10  Simon J Gerraty  <sjg@beast.crufty.net>
20953841c287SSimon J. Gerraty
20963841c287SSimon J. Gerraty	* configure.in: use AC_INCLUDES_DEFAULT rather than AC_HEADER_STDC
20973841c287SSimon J. Gerraty
20983841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200710
20993841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
21003841c287SSimon J. Gerraty	o filemon/filemon_dev.c: use O_CLOEXEC rather than extra syscall
21013841c287SSimon J. Gerraty	o meta.c: target flagged .META is out-of-date if meta file missing
21023841c287SSimon J. Gerraty
21033841c287SSimon J. Gerraty2020-07-09  Simon J Gerraty  <sjg@beast.crufty.net>
21043841c287SSimon J. Gerraty
21053841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200709
21063841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
21073841c287SSimon J. Gerraty	o cond.c: fix for compare_expression when doEval=0
21083841c287SSimon J. Gerraty	o unit-tests/Makefile: rework
21093841c287SSimon J. Gerraty	o filemon/filemon_dev.c: ensure filemon fd is closed on exec.
21103841c287SSimon J. Gerraty
21113841c287SSimon J. Gerraty2020-07-04  Simon J Gerraty  <sjg@beast.crufty.net>
21123841c287SSimon J. Gerraty
21133841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200704
21143841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
21153841c287SSimon J. Gerraty	(most of this by rillig@)
21163841c287SSimon J. Gerraty	o lots of style and white-space cleanup
21173841c287SSimon J. Gerraty	o lots more unit tests for variable modifiers
21183841c287SSimon J. Gerraty	o simplified description of some functions
21193841c287SSimon J. Gerraty	o str.c: refactor Str_Match
21203841c287SSimon J. Gerraty	o var.c: debugging output for :@
21213841c287SSimon J. Gerraty	  constify VarModify parameter
21223841c287SSimon J. Gerraty	  fix :hash modifier on 16-bit platforms
21233841c287SSimon J. Gerraty	  remove unnecessary forward declarations
21243841c287SSimon J. Gerraty	  refactor ApplyModifier_SysV to have less indentation
21253841c287SSimon J. Gerraty	  simplify code for :E and :R
21263841c287SSimon J. Gerraty	  clean up code for :H and :T
21273841c287SSimon J. Gerraty	  refactor ApplyModifiers
21283841c287SSimon J. Gerraty
21293841c287SSimon J. Gerraty	* var.c: we need stdint.h on some platforms to get uint32_t
21303841c287SSimon J. Gerraty	* unit-test/Makefile: we need to supress the specific error
21313841c287SSimon J. Gerraty	for RE substitution error in modmisc, since it varies accross
21323841c287SSimon J. Gerraty	different OS.
21333841c287SSimon J. Gerraty
21343841c287SSimon J. Gerraty2020-07-02  Simon J Gerraty  <sjg@beast.crufty.net>
21353841c287SSimon J. Gerraty
21363841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200702
21373841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
21383841c287SSimon J. Gerraty	o var.c: more improvements to avoiding unnecessary evaluation
21393841c287SSimon J. Gerraty	use enums for flags
21403841c287SSimon J. Gerraty	o remove flags arg to Var_Set which outside of var.c is always 0
21413841c287SSimon J. Gerraty
21423841c287SSimon J. Gerraty2020-07-01  Simon J Gerraty  <sjg@beast.crufty.net>
21433841c287SSimon J. Gerraty
21443841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200701
21453841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
21463841c287SSimon J. Gerraty	o var.c: with change to cond.c; ensure that nested variables
21473841c287SSimon J. Gerraty	within a variable name are expanded.
21483841c287SSimon J. Gerraty	o unit-tests/varmisc.mk: test for nested varname
21493841c287SSimon J. Gerraty
21503841c287SSimon J. Gerraty2020-06-29  Simon J Gerraty  <sjg@beast.crufty.net>
21513841c287SSimon J. Gerraty
21523841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200629
21533841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
21543841c287SSimon J. Gerraty	o cond.c: do not eval unnecessary terms of conditionals.
21553841c287SSimon J. Gerraty
21563841c287SSimon J. Gerraty2020-06-25  Simon J Gerraty  <sjg@beast.crufty.net>
21573841c287SSimon J. Gerraty
21583841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200625
21593841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
21603841c287SSimon J. Gerraty	o meta.c: report error if lseek in filemon_read fails
21613841c287SSimon J. Gerraty
21623841c287SSimon J. Gerraty2020-06-22  Simon J Gerraty  <sjg@beast.crufty.net>
21633841c287SSimon J. Gerraty
21643841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200622
21653841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
21663841c287SSimon J. Gerraty	o dieQuietly: ignore OP_SUBMAKE as too aggressive
21673841c287SSimon J. Gerraty
21683841c287SSimon J. Gerraty2020-06-19  Simon J Gerraty  <sjg@beast.crufty.net>
21693841c287SSimon J. Gerraty
21703841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200619
21713841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
21723841c287SSimon J. Gerraty	o str.c: performance improvement for Str_Match for multiple '*'
21733841c287SSimon J. Gerraty	o dieQuietly: supress the failure output from make
21743841c287SSimon J. Gerraty	when failing node is a sub-make or a sibling failed.
21753841c287SSimon J. Gerraty	This cuts down greatly on unhelpful noise at the end of
21763841c287SSimon J. Gerraty	build log.  Disabled by -dj or .MAKE.DIE_QUIETLY=no
21773841c287SSimon J. Gerraty
21783841c287SSimon J. Gerraty2020-06-10  Simon J Gerraty  <sjg@beast.crufty.net>
21793841c287SSimon J. Gerraty
21803841c287SSimon J. Gerraty	* FILES: add LICENSE to appease some packagers.
21813841c287SSimon J. Gerraty	This is an attempt to fairly represent the license on almost
21823841c287SSimon J. Gerraty	200 files, which are almost all BSD-3-Clause
21833841c287SSimon J. Gerraty	The few exceptions being more liberal.
21843841c287SSimon J. Gerraty
21853841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200610
21863841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
21873841c287SSimon J. Gerraty	o unit test for :Or
21883841c287SSimon J. Gerraty
2189ef0b2538SSimon J. Gerraty2020-06-06  Simon J Gerraty  <sjg@beast.crufty.net>
2190ef0b2538SSimon J. Gerraty
2191ef0b2538SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200606
2192ef0b2538SSimon J. Gerraty	Merge with NetBSD make, pick up
2193ef0b2538SSimon J. Gerraty	o make.1: cleanup
2194ef0b2538SSimon J. Gerraty
2195ef0b2538SSimon J. Gerraty	* Makefile: fix depends for main.o which broke MAKE_VERSION
2196ef0b2538SSimon J. Gerraty
2197ef0b2538SSimon J. Gerraty2020-06-05  Simon J Gerraty  <sjg@beast.crufty.net>
2198ef0b2538SSimon J. Gerraty
2199ef0b2538SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200605
2200ef0b2538SSimon J. Gerraty	Merge with NetBSD make, pick up
2201ef0b2538SSimon J. Gerraty	o dir.c: cached_stats - don't confuse stat and lstat results.
2202ef0b2538SSimon J. Gerraty	o var.c: add :Or for reverse sort.
2203ef0b2538SSimon J. Gerraty
2204ef0b2538SSimon J. Gerraty2020-05-24  Simon J Gerraty  <sjg@beast.crufty.net>
2205ef0b2538SSimon J. Gerraty
2206ef0b2538SSimon J. Gerraty	* configure.in: add AC_PROG_CC_C99 for mipspro compiler
2207ef0b2538SSimon J. Gerraty	also if --with-filemon= specifies path to filemon.h
2208ef0b2538SSimon J. Gerraty	set use_filemon=dev
2209ef0b2538SSimon J. Gerraty	* dirname.c: remove include of namespace.h
2210ef0b2538SSimon J. Gerraty
221149caa483SSimon J. Gerraty2020-05-17  Simon J Gerraty  <sjg@beast.crufty.net>
221249caa483SSimon J. Gerraty
221349caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200517
221449caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
221549caa483SSimon J. Gerraty	o modified dollar tests to avoid shell dependencies
221649caa483SSimon J. Gerraty	o new tests for .INCLUDEFROM
221749caa483SSimon J. Gerraty
221849caa483SSimon J. Gerraty2020-05-16  Simon J Gerraty  <sjg@beast.crufty.net>
221949caa483SSimon J. Gerraty
222049caa483SSimon J. Gerraty	* unit-tests/dollar.mk: tweak  '1 dollar literal' test
222149caa483SSimon J. Gerraty	to not depend so much on shell behavior
222249caa483SSimon J. Gerraty
222349caa483SSimon J. Gerraty2020-05-10  Simon J Gerraty  <sjg@beast.crufty.net>
222449caa483SSimon J. Gerraty
222549caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200510
222649caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
222749caa483SSimon J. Gerraty	o unit test for dollar handling
222849caa483SSimon J. Gerraty
222949caa483SSimon J. Gerraty2020-05-06  Simon J Gerraty  <sjg@beast.crufty.net>
223049caa483SSimon J. Gerraty
223149caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200506
223249caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
223349caa483SSimon J. Gerraty	o str.c: empty string does not match % pattern
223449caa483SSimon J. Gerraty	  plus unit-test changes
223549caa483SSimon J. Gerraty
223649caa483SSimon J. Gerraty2020-05-04  Simon J Gerraty  <sjg@beast.crufty.net>
223749caa483SSimon J. Gerraty
223849caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200504
223949caa483SSimon J. Gerraty	May the 4th be with you
224049caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
224149caa483SSimon J. Gerraty	o var.c: import handling of old sysV style modifier using '%'
224249caa483SSimon J. Gerraty	o str.c: refactor brk_string
224349caa483SSimon J. Gerraty	o unit-tests: add test case for lazy conditions
224449caa483SSimon J. Gerraty
224549caa483SSimon J. Gerraty2020-04-18  Simon J Gerraty  <sjg@beast.crufty.net>
224649caa483SSimon J. Gerraty
224749caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200418
224849caa483SSimon J. Gerraty
2249*548bfc56SSimon J. Gerraty	* configure.in: use_makefile=no for Cygwin et al.
225049caa483SSimon J. Gerraty	case insensitive filesystems just don't work if both
225149caa483SSimon J. Gerraty	makefile and Makefile exist.
2252*548bfc56SSimon J. Gerraty	NOTE: bmake does not support Cygwin and likely never will,
225349caa483SSimon J. Gerraty	but if brave souls want to try it - help them out.
225449caa483SSimon J. Gerraty
225549caa483SSimon J. Gerraty2020-04-02  Simon J Gerraty  <sjg@beast.crufty.net>
225649caa483SSimon J. Gerraty
225749caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200402
225849caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
225949caa483SSimon J. Gerraty	o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
226049caa483SSimon J. Gerraty	  a blank command is perfectly valid.
226149caa483SSimon J. Gerraty
226249caa483SSimon J. Gerraty2020-03-30  Simon J Gerraty  <sjg@beast.crufty.net>
226349caa483SSimon J. Gerraty
226449caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200330
226549caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
226649caa483SSimon J. Gerraty	o make.h: extern debug_file
226749caa483SSimon J. Gerraty
226849caa483SSimon J. Gerraty2020-03-18  Simon J Gerraty  <sjg@beast.crufty.net>
226949caa483SSimon J. Gerraty
227049caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200318
227149caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
227249caa483SSimon J. Gerraty	o meta.c: meta_oodate, check for corrupted meta file
227349caa483SSimon J. Gerraty	  earlier and more often.
227449caa483SSimon J. Gerraty
227549caa483SSimon J. Gerraty2020-02-20  Simon J Gerraty  <sjg@beast.crufty.net>
227649caa483SSimon J. Gerraty
227749caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200220
227849caa483SSimon J. Gerraty
227949caa483SSimon J. Gerraty2020-02-19  Simon J Gerraty  <sjg@beast.crufty.net>
228049caa483SSimon J. Gerraty
228149caa483SSimon J. Gerraty	* boot-strap: unset MAKEFLAGS
228249caa483SSimon J. Gerraty
228349caa483SSimon J. Gerraty2020-02-12  Simon J Gerraty  <sjg@beast.crufty.net>
228449caa483SSimon J. Gerraty
228549caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200212
228649caa483SSimon J. Gerraty	* meta.c: meta_compat_parent check for USE_FILEMON
228749caa483SSimon J. Gerraty	  patch from Soeren Tempel
228849caa483SSimon J. Gerraty
228949caa483SSimon J. Gerraty2020-02-05  Simon J Gerraty  <sjg@beast.crufty.net>
229049caa483SSimon J. Gerraty
229149caa483SSimon J. Gerraty	* VERSION: 20200205
229249caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
229349caa483SSimon J. Gerraty	o meta.c: fix compat mode, need to call meta_job_output()
229449caa483SSimon J. Gerraty	o job.c: extra fds for meta mode not needed if using filemon_dev
229549caa483SSimon J. Gerraty
229649caa483SSimon J. Gerraty2020-01-22  Simon J Gerraty  <sjg@beast.crufty.net>
229749caa483SSimon J. Gerraty
229849caa483SSimon J. Gerraty	* VERSION: 20200122
229949caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
230049caa483SSimon J. Gerraty	o meta.c: avoid passing NULL to filemon_*() when meta_needed()
230149caa483SSimon J. Gerraty	  returns FALSE.
230249caa483SSimon J. Gerraty
230349caa483SSimon J. Gerraty2020-01-21  Simon J Gerraty  <sjg@beast.crufty.net>
230449caa483SSimon J. Gerraty
230549caa483SSimon J. Gerraty	* VERSION: 20200121
230649caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
230749caa483SSimon J. Gerraty	o filemon/filemon_{dev,ktrace}.c: allow selection of
230849caa483SSimon J. Gerraty	  filemon implementation.  filemon_dev.c uses the kernel module
230949caa483SSimon J. Gerraty	  while filemon_ktrace.c leverages the fktrace api available in
231049caa483SSimon J. Gerraty	  NetBSD.  filemon_ktrace.c can hopefully form the basis for
231149caa483SSimon J. Gerraty	  adding support for other tracing mechanisms such as strace on
231249caa483SSimon J. Gerraty	  Linux.
231349caa483SSimon J. Gerraty	o meta.c: when target is out-of-date per normal make rules
231449caa483SSimon J. Gerraty	  record value of .OODATE in meta file.
231549caa483SSimon J. Gerraty
231649caa483SSimon J. Gerraty2019-09-26  Simon J Gerraty  <sjg@beast.crufty.net>
231749caa483SSimon J. Gerraty
231849caa483SSimon J. Gerraty	* VERSION: 20190926
231949caa483SSimon J. Gerraty	  Merge with NetBSD make, pick up
232049caa483SSimon J. Gerraty	  o parse.c: don't pass NULL to realpath(3)
232149caa483SSimon J. Gerraty	    some versions cannot handle it.
232249caa483SSimon J. Gerraty
232349caa483SSimon J. Gerraty2019-04-09  Simon J Gerraty  <sjg@beast.crufty.net>
232449caa483SSimon J. Gerraty
232549caa483SSimon J. Gerraty	* VERSION: 20190409
232649caa483SSimon J. Gerraty	  Merge with NetBSD make, pick up
232749caa483SSimon J. Gerraty	  o parse.c: ParseDoDependency: free paths rather than assert
232849caa483SSimon J. Gerraty
232949caa483SSimon J. Gerraty2018-12-22  Simon J Gerraty  <sjg@beast.crufty.net>
233049caa483SSimon J. Gerraty
233149caa483SSimon J. Gerraty	* VERSION: 20181222
233249caa483SSimon J. Gerraty
233349caa483SSimon J. Gerraty	* configure.in: add --without-makefile to avoid generating
233449caa483SSimon J. Gerraty	  makefile and make-bootstrap.sh
233549caa483SSimon J. Gerraty
233649caa483SSimon J. Gerraty	* include Makefile.inc if it exists
233749caa483SSimon J. Gerraty
233849caa483SSimon J. Gerraty	* Use Makefile and Makefile.config.in in unit-tests
233949caa483SSimon J. Gerraty	  so we can use just: make obj && make && make test
234049caa483SSimon J. Gerraty	  when bmake is already available.
234149caa483SSimon J. Gerraty	  We add --without-makefile to CONFIGURE_ARGS in this case.
234249caa483SSimon J. Gerraty
234349caa483SSimon J. Gerraty	* tweak bsd.after-import.mk (captures Makefile.config etc
234449caa483SSimon J. Gerraty	  after import to FreeBSD for example) to cope with all the above.
234549caa483SSimon J. Gerraty
2346dfd669abSSimon J. Gerraty2018-12-21  Simon J Gerraty  <sjg@beast.crufty.net>
2347dfd669abSSimon J. Gerraty
2348dfd669abSSimon J. Gerraty	* VERSION: 20181221
2349dfd669abSSimon J. Gerraty	  Merge with NetBSD make, pick up
2350dfd669abSSimon J. Gerraty	  o parse.c: ParseVErrorInternal use .PARSEDIR
2351dfd669abSSimon J. Gerraty	    and apply if relative, and then use .PARSEFILE
2352dfd669abSSimon J. Gerraty	    for consistent result.
2353dfd669abSSimon J. Gerraty
2354dfd669abSSimon J. Gerraty2018-12-20  Simon J Gerraty  <sjg@beast.crufty.net>
2355dfd669abSSimon J. Gerraty
2356dfd669abSSimon J. Gerraty	* VERSION: 20181220
2357dfd669abSSimon J. Gerraty	  Merge with NetBSD make, pick up
2358dfd669abSSimon J. Gerraty	  o parse.c: ParseVErrorInternal use .CURDIR if .PARSEDIR
2359dfd669abSSimon J. Gerraty	    is relative
2360dfd669abSSimon J. Gerraty	  o var.c: avoid SEGFAULT in .unexport-env
2361dfd669abSSimon J. Gerraty	    when MAKELEVEL is not set
2362dfd669abSSimon J. Gerraty
2363dfd669abSSimon J. Gerraty2018-12-16  Simon J Gerraty  <sjg@beast.crufty.net>
2364dfd669abSSimon J. Gerraty
2365dfd669abSSimon J. Gerraty	* VERSION: 20181216
2366dfd669abSSimon J. Gerraty	  Merge with NetBSD make, pick up
2367dfd669abSSimon J. Gerraty	  o fix for unit-tests/varquote.mk on Debian
2368dfd669abSSimon J. Gerraty
23692eae894cSSimon J. Gerraty2018-09-21  Simon J. Gerraty  <sjg@bad.crufty.net>
23702eae894cSSimon J. Gerraty
23712eae894cSSimon J. Gerraty	* VERSION: 20180919
23722eae894cSSimon J. Gerraty	  Merge with NetBSD make, pick up
23732eae894cSSimon J. Gerraty	  o var.c: add :q
23742eae894cSSimon J. Gerraty	  o dir.c: cleanup caching of stats
23752eae894cSSimon J. Gerraty
23762eae894cSSimon J. Gerraty2018-09-21  Simon J Gerraty  <sjg@beast.crufty.net>
23772eae894cSSimon J. Gerraty
23782eae894cSSimon J. Gerraty	* Makefile.config.in: use += where it makes sense.
23792eae894cSSimon J. Gerraty
2380494f7191SSimon J. Gerraty2018-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
2381494f7191SSimon J. Gerraty
2382494f7191SSimon J. Gerraty	* VERSION: 20180512
2383494f7191SSimon J. Gerraty	  Merge with NetBSD make, pick up
2384494f7191SSimon J. Gerraty	  o job.c: skip polling job token pipe
2385494f7191SSimon J. Gerraty
2386494f7191SSimon J. Gerraty2018-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
2387494f7191SSimon J. Gerraty
2388494f7191SSimon J. Gerraty	* VERSION: 20180405
2389494f7191SSimon J. Gerraty	  Merge with NetBSD make, pick up
2390494f7191SSimon J. Gerraty	  o parse.c: be more cautious about detecting depenency line
2391494f7191SSimon J. Gerraty	    rather than sysV style include.
2392494f7191SSimon J. Gerraty
239350d2e745SSimon J. Gerraty2018-02-22  Simon J. Gerraty  <sjg@bad.crufty.net>
239450d2e745SSimon J. Gerraty
239550d2e745SSimon J. Gerraty	* VERSION: 20180222
239650d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
239750d2e745SSimon J. Gerraty	  o parse.c: avoid calling sysconf for every call to loadfile
239850d2e745SSimon J. Gerraty
239950d2e745SSimon J. Gerraty2018-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
240050d2e745SSimon J. Gerraty
240150d2e745SSimon J. Gerraty	* VERSION: 20180218
240250d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
240350d2e745SSimon J. Gerraty	  o var.c: Var_Set handle NULL value anytime.
240450d2e745SSimon J. Gerraty
240550d2e745SSimon J. Gerraty2018-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>
240650d2e745SSimon J. Gerraty
240750d2e745SSimon J. Gerraty	* VERSION: 20180212
240850d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
240950d2e745SSimon J. Gerraty	  o parse.c: do not treat .info as warning with -W
241050d2e745SSimon J. Gerraty
241150d2e745SSimon J. Gerraty2017-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>
241250d2e745SSimon J. Gerraty
241350d2e745SSimon J. Gerraty	* VERSION: 20171207
241450d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
241550d2e745SSimon J. Gerraty	  o var.c: Var_Append use Var_Set if var not previously set
241650d2e745SSimon J. Gerraty	    so that VAR_CMD is handled correctly.
241750d2e745SSimon J. Gerraty	    Add a suitable unit-test.
241850d2e745SSimon J. Gerraty
241950d2e745SSimon J. Gerraty2017-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
242050d2e745SSimon J. Gerraty
242150d2e745SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20171126
242250d2e745SSimon J. Gerraty
242350d2e745SSimon J. Gerraty	* aclocal.m4: use AC_LINK_IFELSE for AC_C___ATTRIBUTE__
242450d2e745SSimon J. Gerraty	  since AC_TRY_COMPILE puts input inside main()
242550d2e745SSimon J. Gerraty	  which upsets modern compilers.
242650d2e745SSimon J. Gerraty
242750d2e745SSimon J. Gerraty2017-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
242850d2e745SSimon J. Gerraty
242950d2e745SSimon J. Gerraty	* VERSION: 20171118
243050d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
243150d2e745SSimon J. Gerraty	  o var.c: do not append to variable set on command line
243250d2e745SSimon J. Gerraty	    add unit-test to catch this.
243350d2e745SSimon J. Gerraty
2434e22fef7dSSimon J. Gerraty2017-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
2435e22fef7dSSimon J. Gerraty
2436e22fef7dSSimon J. Gerraty	* VERSION: 20171028
2437e22fef7dSSimon J. Gerraty	  Merge with NetBSD make, pick up
2438e22fef7dSSimon J. Gerraty	  o main.c: ignore empty MAKEOBJDIR
2439e22fef7dSSimon J. Gerraty
2440e22fef7dSSimon J. Gerraty	* Makefile.config.in:
2441e22fef7dSSimon J. Gerraty	  make @prefix@ @machine*@ and @default_sys_path@ defaults.
2442e22fef7dSSimon J. Gerraty
2443e22fef7dSSimon J. Gerraty2017-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>
2444e22fef7dSSimon J. Gerraty
2445e22fef7dSSimon J. Gerraty	* VERSION: 20171005
2446e22fef7dSSimon J. Gerraty
2447e22fef7dSSimon J. Gerraty	* unit-tests/dotwait.mk: redirect stderr through pipe for more
2448e22fef7dSSimon J. Gerraty	  consistent result on some platforms.
2449e22fef7dSSimon J. Gerraty
2450e22fef7dSSimon J. Gerraty2017-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>
2451e22fef7dSSimon J. Gerraty
2452e22fef7dSSimon J. Gerraty	* machine.sh: entry for AIX
2453e22fef7dSSimon J. Gerraty
2454e22fef7dSSimon J. Gerraty2017-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
2455e22fef7dSSimon J. Gerraty
2456e22fef7dSSimon J. Gerraty	* VERSION (_MAKE_VERSION): Move the setting of _MAKE_VERSION
2457e22fef7dSSimon J. Gerraty	  to a file that can be included by configure as well as make.
2458e22fef7dSSimon J. Gerraty	  This allows configure to set set _MAKE_VERSION in make-bootstrap.sh
2459e22fef7dSSimon J. Gerraty
2460e22fef7dSSimon J. Gerraty2017-08-10  Simon J. Gerraty  <sjg@bad.crufty.net>
2461e22fef7dSSimon J. Gerraty
2462e22fef7dSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170810
2463e22fef7dSSimon J. Gerraty	  Merge with NetBSD make, pick up
2464e22fef7dSSimon J. Gerraty	  o meta.c: if target is in subdir we only need subdir name in
2465e22fef7dSSimon J. Gerraty	    meta_name.
2466e22fef7dSSimon J. Gerraty
2467c7019bf7SSimon J. Gerraty2017-07-20  Simon J. Gerraty  <sjg@bad.crufty.net>
2468c7019bf7SSimon J. Gerraty
2469c7019bf7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170720
2470c7019bf7SSimon J. Gerraty	  Merge with NetBSD make, pick up
2471c7019bf7SSimon J. Gerraty	  o compat.c: pass SIGINT etc onto child and wait for it to exit
2472c7019bf7SSimon J. Gerraty	    before we self-terminate.
2473c7019bf7SSimon J. Gerraty
24748695518cSSimon J. Gerraty2017-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
24758695518cSSimon J. Gerraty
24768695518cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170711
24778695518cSSimon J. Gerraty	  forgot to update after merge on 20170708 ;-)
24788695518cSSimon J. Gerraty	  o main.c: refactor to reduce size of main function.
24798695518cSSimon J. Gerraty	    add -v option to always fully expand values.
24808695518cSSimon J. Gerraty	  o meta.c: ensure command output in meta file has ending newline
24818695518cSSimon J. Gerraty	    even when filemon not being used.
24828695518cSSimon J. Gerraty	    When matching ${.MAKE.META.IGNORE_PATTERNS} do not use
24838695518cSSimon J. Gerraty	    pathname via ':L' since any ':' in pathname breaks that.
24848695518cSSimon J. Gerraty	    Instead set a '${.p.}' to pathname in the target context and
24858695518cSSimon J. Gerraty	    use that.
24868695518cSSimon J. Gerraty
2487cac6fd11SSimon J. Gerraty2017-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
2488cac6fd11SSimon J. Gerraty
2489cac6fd11SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170510
2490cac6fd11SSimon J. Gerraty	  Merge with NetBSD make, pick up
2491cac6fd11SSimon J. Gerraty	  o main.c: Main_SetObjdir: ensure buf2 is in scope
2492cac6fd11SSimon J. Gerraty
2493cac6fd11SSimon J. Gerraty2017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>
2494cac6fd11SSimon J. Gerraty
2495cac6fd11SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170505
2496cac6fd11SSimon J. Gerraty	  see mk/ChangeLog
2497cac6fd11SSimon J. Gerraty
2498cac6fd11SSimon J. Gerraty2017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
2499cac6fd11SSimon J. Gerraty
2500cac6fd11SSimon J. Gerraty	* parse.c: not everyone has stdint.h
2501cac6fd11SSimon J. Gerraty
2502cac6fd11SSimon J. Gerraty2017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
2503cac6fd11SSimon J. Gerraty
2504cac6fd11SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170501
2505cac6fd11SSimon J. Gerraty	  see mk/ChangeLog
2506cac6fd11SSimon J. Gerraty
2507cac6fd11SSimon J. Gerraty2017-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
2508cac6fd11SSimon J. Gerraty
2509cac6fd11SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170421
2510cac6fd11SSimon J. Gerraty	  Merge with NetBSD make, pick up
2511cac6fd11SSimon J. Gerraty	  o str.c: Str_Match: fix closure tests for [^] and add unit-test.
2512cac6fd11SSimon J. Gerraty
2513e1cee40dSSimon J. Gerraty2017-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
2514e1cee40dSSimon J. Gerraty
2515e1cee40dSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170420
2516e1cee40dSSimon J. Gerraty	  Merge with NetBSD make, pick up
2517e1cee40dSSimon J. Gerraty	  o main.c: only use -C arg "as is" if it contains no
2518e1cee40dSSimon J. Gerraty	    relative component.
2519e1cee40dSSimon J. Gerraty
2520e1cee40dSSimon J. Gerraty2017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
2521e1cee40dSSimon J. Gerraty
2522e1cee40dSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170418
2523e1cee40dSSimon J. Gerraty	  Merge with NetBSD make, pick up
2524e1cee40dSSimon J. Gerraty	  o main.c: fix Main_SetObjdir() for relative paths (eg obj).
2525e1cee40dSSimon J. Gerraty
2526e1cee40dSSimon J. Gerraty2017-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
2527e1cee40dSSimon J. Gerraty
2528e1cee40dSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170417
2529e1cee40dSSimon J. Gerraty	  Merge with NetBSD make, pick up
2530e1cee40dSSimon J. Gerraty	  o fixes a number of coverity complaints
2531e1cee40dSSimon J. Gerraty	    - check return value of fseek, fcntl
2532e1cee40dSSimon J. Gerraty	    - plug memory leak in Dir_FindFile, Var_LoopExpand,
2533e1cee40dSSimon J. Gerraty	      JobPrintCommand, ParseTraditionalInclude
2534e1cee40dSSimon J. Gerraty	    - use bmake_malloc() where NULL is not tollerated
2535e1cee40dSSimon J. Gerraty	    - use MAKE_ATTR_UNUSED rather that kludges like
2536e1cee40dSSimon J. Gerraty	      return(unused ? 0 : 0)
2537e1cee40dSSimon J. Gerraty	    - use purge_cached_realpaths() rather than abuse cached_realpath()
2538e1cee40dSSimon J. Gerraty
2539b46b9039SSimon J. Gerraty2017-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
2540b46b9039SSimon J. Gerraty
2541b46b9039SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170413
2542b46b9039SSimon J. Gerraty	  Merge with NetBSD make, pick up
2543b46b9039SSimon J. Gerraty	  o main.c: when setting .OBJDIR ignore '$' in paths.
2544b46b9039SSimon J. Gerraty
2545b46b9039SSimon J. Gerraty	* job.c: use MALLOC_OPTIONS to set malloc_options.
2546b46b9039SSimon J. Gerraty
2547b46b9039SSimon J. Gerraty2017-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
2548b46b9039SSimon J. Gerraty
2549b46b9039SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170411
2550b46b9039SSimon J. Gerraty	  Merge with NetBSD make, pick up
2551b46b9039SSimon J. Gerraty	  o str.c: Str_Match: allow [^a-z] to behave as expected.
2552b46b9039SSimon J. Gerraty
2553b46b9039SSimon J. Gerraty2017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
2554b46b9039SSimon J. Gerraty
2555b46b9039SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170326
2556b46b9039SSimon J. Gerraty	  Merge with NetBSD make, pick up
2557b46b9039SSimon J. Gerraty	  o main.c: purge relative paths from realpath cache when .OBJDIR
2558b46b9039SSimon J. Gerraty	    is changed.
2559b46b9039SSimon J. Gerraty
2560b46b9039SSimon J. Gerraty2017-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
2561b46b9039SSimon J. Gerraty
2562b46b9039SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170311
2563b46b9039SSimon J. Gerraty	  Merge with NetBSD make, pick up
2564b46b9039SSimon J. Gerraty          o main.c: only use -C arg "as is" if it starts with '/'.
2565b46b9039SSimon J. Gerraty
25661ce939a7SSimon J. Gerraty2017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
25671ce939a7SSimon J. Gerraty
25681ce939a7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170301
25691ce939a7SSimon J. Gerraty	  Merge with NetBSD make, pick up
2570b46b9039SSimon J. Gerraty	  o main.c: use -C arg "as is" rather than getcwd()
25711ce939a7SSimon J. Gerraty	    if they identify the same directory.
25721ce939a7SSimon J. Gerraty	  o parse.c: ensure loadfile buffer is \n terminated in non-mmap case
25731ce939a7SSimon J. Gerraty
25741ce939a7SSimon J. Gerraty2017-02-01  Simon J. Gerraty  <sjg@bad.crufty.net>
25751ce939a7SSimon J. Gerraty
25761ce939a7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170201
25771ce939a7SSimon J. Gerraty	  Merge with NetBSD make, pick up
25781ce939a7SSimon J. Gerraty	  o var.c: allow :_=var and avoid use of special context.
25791ce939a7SSimon J. Gerraty
25801ce939a7SSimon J. Gerraty2017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>
25811ce939a7SSimon J. Gerraty
25821ce939a7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170130
25831ce939a7SSimon J. Gerraty	  Merge with NetBSD make, pick up
25841ce939a7SSimon J. Gerraty	  o var.c: add :range and :_
25851ce939a7SSimon J. Gerraty	  o main.c: partially initialize Dir_* before MainParseArgs()
25861ce939a7SSimon J. Gerraty	    can be called.
25871ce939a7SSimon J. Gerraty	    If -V, skip Main_ExportMAKEFLAGS()
25881ce939a7SSimon J. Gerraty
25891ce939a7SSimon J. Gerraty2017-01-14  Simon J. Gerraty  <sjg@bad.crufty.net>
25901ce939a7SSimon J. Gerraty
25911ce939a7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170114
25921ce939a7SSimon J. Gerraty	  Merge with NetBSD make, pick up
25931ce939a7SSimon J. Gerraty	  o var.c: allow specifying the utc value used by :{gm,local}time
25941ce939a7SSimon J. Gerraty
259545447996SSimon J. Gerraty2016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
259645447996SSimon J. Gerraty
259745447996SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20161212
259845447996SSimon J. Gerraty	  Merge with NetBSD make, pick up
259945447996SSimon J. Gerraty          o main.c: look for obj.${MACHINE}-${MACHINE_ARCH} too.
260045447996SSimon J. Gerraty
260145447996SSimon J. Gerraty2016-12-09  Simon J. Gerraty  <sjg@bad.crufty.net>
260245447996SSimon J. Gerraty
260345447996SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20161209
260445447996SSimon J. Gerraty	  Merge with NetBSD make, pick up
260545447996SSimon J. Gerraty	  o main.c: cleanup setting of .OBJDIR
260645447996SSimon J. Gerraty	  o parse.c: avoid coredump from (var)=val
260745447996SSimon J. Gerraty
260845447996SSimon J. Gerraty2016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
260945447996SSimon J. Gerraty
261045447996SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20161126
261145447996SSimon J. Gerraty	  Merge with NetBSD make, pick up
261245447996SSimon J. Gerraty	  o make.c: Make_OODate: report src node name if path not set
261345447996SSimon J. Gerraty
261445447996SSimon J. Gerraty2016-09-26  Simon J. Gerraty  <sjg@bad.crufty.net>
261545447996SSimon J. Gerraty
261645447996SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160926
261745447996SSimon J. Gerraty	  Merge with NetBSD make, pick up
261845447996SSimon J. Gerraty	  o support for .DELETE_ON_ERROR: (remove targets that fail)
261945447996SSimon J. Gerraty
262045447996SSimon J. Gerraty2016-09-26  Simon J. Gerraty  <sjg@bad.crufty.net>
262145447996SSimon J. Gerraty
262245447996SSimon J. Gerraty	* Makefile MAN: tweak .Dt to match ${PROG}
262345447996SSimon J. Gerraty
262495e3ed2cSSimon J. Gerraty2016-08-18  Simon J. Gerraty  <sjg@bad.crufty.net>
262595e3ed2cSSimon J. Gerraty
262695e3ed2cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160818
262795e3ed2cSSimon J. Gerraty	  its a neater number; pick up whitespace fixes to man page.
262895e3ed2cSSimon J. Gerraty
262995e3ed2cSSimon J. Gerraty2016-08-17  Simon J. Gerraty  <sjg@bad.crufty.net>
263095e3ed2cSSimon J. Gerraty
263195e3ed2cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160817
263295e3ed2cSSimon J. Gerraty	  Merge with NetBSD make, pick up
263395e3ed2cSSimon J. Gerraty	  o meta.c: move handling of .MAKE.META.IGNORE_* to meta_ignore()
263495e3ed2cSSimon J. Gerraty	    so we can call it before adding entries to missingFiles.
263595e3ed2cSSimon J. Gerraty	    Thus we do not track files we have been told to ignore.
263695e3ed2cSSimon J. Gerraty
263795e3ed2cSSimon J. Gerraty2016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
263895e3ed2cSSimon J. Gerraty
263995e3ed2cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160815
264095e3ed2cSSimon J. Gerraty	  Merge with NetBSD make, pick up
264195e3ed2cSSimon J. Gerraty	  o meta_oodate: apply .MAKE.META.IGNORE_FILTER (if defined) to
264295e3ed2cSSimon J. Gerraty	    pathnames, and skip if the expansion is empty.
264395e3ed2cSSimon J. Gerraty	    Useful for dirdeps.mk when checking DIRDEPS_CACHE.
264495e3ed2cSSimon J. Gerraty
264595e3ed2cSSimon J. Gerraty2016-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
264695e3ed2cSSimon J. Gerraty
264795e3ed2cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160812
264895e3ed2cSSimon J. Gerraty	  Merge with NetBSD make, pick up
264995e3ed2cSSimon J. Gerraty	  o meta.c: remove all missingFiles entries that match a deleted
265095e3ed2cSSimon J. Gerraty	    dir.
265195e3ed2cSSimon J. Gerraty	  o main.c: set .ERROR_CMD if possible.
265295e3ed2cSSimon J. Gerraty
265339ac7ef4SSimon J. Gerraty2016-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
265439ac7ef4SSimon J. Gerraty
265539ac7ef4SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160606
265639ac7ef4SSimon J. Gerraty	  Merge with NetBSD make, pick up
265739ac7ef4SSimon J. Gerraty	  o dir.c: extend mtimes cache to others via cached_stat()
265839ac7ef4SSimon J. Gerraty
2659b778b302SSimon J. Gerraty2016-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
2660b778b302SSimon J. Gerraty
2661b778b302SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160604
2662b778b302SSimon J. Gerraty	  Merge with NetBSD make, pick up
2663b778b302SSimon J. Gerraty	  o meta.c: missing filemon data is only relevant if we read a
2664b778b302SSimon J. Gerraty	    meta file.
2665b778b302SSimon J. Gerraty	    Also do not return oodate for a missing metafile if gn->path
2666b778b302SSimon J. Gerraty	    points to .CURDIR
2667b778b302SSimon J. Gerraty
2668b778b302SSimon J. Gerraty2016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
2669b778b302SSimon J. Gerraty
2670b778b302SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160602
2671b778b302SSimon J. Gerraty	  Merge with NetBSD make, pick up
2672b778b302SSimon J. Gerraty	  o cached_realpath(): avoid hitting filesystem more than necessary.
2673b778b302SSimon J. Gerraty	  o meta.c: refactor need_meta decision, add knobs for
2674b778b302SSimon J. Gerraty	    missing meta file and filemon data wrt out-of-datedness.
2675b778b302SSimon J. Gerraty
2676b778b302SSimon J. Gerraty2016-05-28  Simon J. Gerraty  <sjg@bad.crufty.net>
2677b778b302SSimon J. Gerraty
2678b778b302SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160528
2679b778b302SSimon J. Gerraty
2680b778b302SSimon J. Gerraty	* boot-strap, make-bootstrap.sh.in: Makefile now uses _MAKE_VERSION
2681b778b302SSimon J. Gerraty
2682e48f47ddSSimon J. Gerraty2016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
2683e48f47ddSSimon J. Gerraty
2684e48f47ddSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160512
2685e48f47ddSSimon J. Gerraty	  Merge with NetBSD make, pick up
2686e48f47ddSSimon J. Gerraty	  o meta.c: ignore paths that match .MAKE.META.IGNORE_PATTERNS
2687e48f47ddSSimon J. Gerraty	    this is useful for gcov builds.
2688e48f47ddSSimon J. Gerraty	  o propagate errors from filemon(4).
2689e48f47ddSSimon J. Gerraty
2690e48f47ddSSimon J. Gerraty2016-05-09  Simon J. Gerraty  <sjg@bad.crufty.net>
2691e48f47ddSSimon J. Gerraty
2692e48f47ddSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160509
2693e48f47ddSSimon J. Gerraty	  Merge with NetBSD make, pick up
2694e48f47ddSSimon J. Gerraty	  o remove use of non-standard types u_int etc.
2695e48f47ddSSimon J. Gerraty	  o meta.c: apply realpath() before matching against metaIgnorePaths
2696e48f47ddSSimon J. Gerraty
2697e48f47ddSSimon J. Gerraty2016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
2698e48f47ddSSimon J. Gerraty
2699e48f47ddSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160404
2700e48f47ddSSimon J. Gerraty	  Merge with NetBSD make, pick up
2701e48f47ddSSimon J. Gerraty	  o allow makefile to set .MAKE.JOBS
2702e48f47ddSSimon J. Gerraty
2703e48f47ddSSimon J. Gerraty	* Makefile (PROG_NAME): use ${_MAKE_VERSION}
2704e48f47ddSSimon J. Gerraty
27053bebe729SSimon J. Gerraty2016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
27063bebe729SSimon J. Gerraty
27073bebe729SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160315
27083bebe729SSimon J. Gerraty	  Merge with NetBSD make, pick up
27093bebe729SSimon J. Gerraty	  o fix handling of archive members
27103bebe729SSimon J. Gerraty
27113bebe729SSimon J. Gerraty2016-03-13  Simon J. Gerraty  <sjg@bad.crufty.net>
27123bebe729SSimon J. Gerraty
27133bebe729SSimon J. Gerraty	* Makefile (_MAKE_VERSION): rename variable to avoid interference
27143bebe729SSimon J. Gerraty	  with checks for ${MAKE_VERSION}
27153bebe729SSimon J. Gerraty
27163bebe729SSimon J. Gerraty2016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
27173bebe729SSimon J. Gerraty
27183bebe729SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160310
27193bebe729SSimon J. Gerraty	  Merge with NetBSD make, pick up
27203bebe729SSimon J. Gerraty	  o meta.c: treat missing Read file same as Write, incase we Delete it.
27213bebe729SSimon J. Gerraty
2722be19d90bSSimon J. Gerraty2016-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
2723be19d90bSSimon J. Gerraty
2724be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160307
2725be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
2726be19d90bSSimon J. Gerraty	  o var.c: fix :ts\nnn to be octal by default.
2727be19d90bSSimon J. Gerraty	  o meta.c: meta_finish() to cleanup memory.
2728be19d90bSSimon J. Gerraty
2729be19d90bSSimon J. Gerraty2016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
2730be19d90bSSimon J. Gerraty
2731be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160226
2732be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
2733be19d90bSSimon J. Gerraty	  o meta.c: allow meta file for makeDepend if makefiles want it.
2734be19d90bSSimon J. Gerraty
2735be19d90bSSimon J. Gerraty2016-02-19  Simon J. Gerraty  <sjg@bad.crufty.net>
2736be19d90bSSimon J. Gerraty
2737be19d90bSSimon J. Gerraty	* var.c: default .MAKE.SAVE_DOLLARS to FALSE
2738be19d90bSSimon J. Gerraty	  for backwards compatability.
2739be19d90bSSimon J. Gerraty
2740be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160220
2741be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
2742be19d90bSSimon J. Gerraty	  o var.c: add knob to control handling of '$$' in :=
2743be19d90bSSimon J. Gerraty
2744be19d90bSSimon J. Gerraty2016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
2745be19d90bSSimon J. Gerraty
2746be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160218
2747be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
2748be19d90bSSimon J. Gerraty	  o var.c: add .export-literal allows us to fix sys.clean-env.mk
2749be19d90bSSimon J. Gerraty	    post the changes to Var_Subst.
2750be19d90bSSimon J. Gerraty	    Var_Subst now takes flags, and does not consume '$$' in :=
2751be19d90bSSimon J. Gerraty
2752be19d90bSSimon J. Gerraty2016-02-17  Simon J. Gerraty  <sjg@bad.crufty.net>
2753be19d90bSSimon J. Gerraty
2754be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160217
2755be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
2756be19d90bSSimon J. Gerraty	  o var.c: preserve '$$' in :=
2757be19d90bSSimon J. Gerraty	  o parse.c: add .dinclude for handling included
2758be19d90bSSimon J. Gerraty	    makefile like .depend
2759be19d90bSSimon J. Gerraty
27606e050540SSimon J. Gerraty2015-12-20  Simon J. Gerraty  <sjg@bad.crufty.net>
27616e050540SSimon J. Gerraty
27626e050540SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151220
27636e050540SSimon J. Gerraty	  Merge with NetBSD make, pick up
27646e050540SSimon J. Gerraty	  o suff.c: re-initialize suffNull when clearing suffixes.
27656e050540SSimon J. Gerraty
2766ac3446e9SSimon J. Gerraty2015-12-01  Simon J. Gerraty  <sjg@bad.crufty.net>
2767ac3446e9SSimon J. Gerraty
2768ac3446e9SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151201
2769ac3446e9SSimon J. Gerraty	  Merge with NetBSD make, pick up
2770ac3446e9SSimon J. Gerraty	  o cond.c: CondCvtArg: avoid access beyond end of empty buffer.
2771ac3446e9SSimon J. Gerraty	  o meta.c: meta_oodate: use lstat(2) for checking link target
2772ac3446e9SSimon J. Gerraty	    in case it is a symlink.
2773ac3446e9SSimon J. Gerraty	  o var.c: avoid calling brk_string and Var_Export1 with empty
2774ac3446e9SSimon J. Gerraty	    strings.
2775ac3446e9SSimon J. Gerraty
2776ac3446e9SSimon J. Gerraty2015-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
2777ac3446e9SSimon J. Gerraty
2778ac3446e9SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151126
2779ac3446e9SSimon J. Gerraty	  Merge with NetBSD make, pick up
2780ac3446e9SSimon J. Gerraty	  o parse.c: ParseTrackInput don't access beyond
2781ac3446e9SSimon J. Gerraty	    end of old value.
2782ac3446e9SSimon J. Gerraty
2783ac3446e9SSimon J. Gerraty2015-10-22  Simon J. Gerraty  <sjg@bad.crufty.net>
2784ac3446e9SSimon J. Gerraty
2785ac3446e9SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151022
2786ac3446e9SSimon J. Gerraty
2787ac3446e9SSimon J. Gerraty	* Add support for BSD/OS which lacks inttypes.h
2788ac3446e9SSimon J. Gerraty	  and really needs sys/param.h for sys/sysctl.h
2789ac3446e9SSimon J. Gerraty	  also 'type' is not a shell builtin.
2790ac3446e9SSimon J. Gerraty
2791ac3446e9SSimon J. Gerraty	* var.c: eliminate uint32_t and need for inttypes.h
2792ac3446e9SSimon J. Gerraty
2793ac3446e9SSimon J. Gerraty	* main.c: PrintOnError flush stdout before run .ERROR
2794ac3446e9SSimon J. Gerraty
2795ac3446e9SSimon J. Gerraty	* parse.c: cope with _SC_PAGESIZE not being defined.
2796ac3446e9SSimon J. Gerraty
2797ac3446e9SSimon J. Gerraty
27984c620fe5SSimon J. Gerraty2015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
27994c620fe5SSimon J. Gerraty
28004c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151020
28014c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
28024c620fe5SSimon J. Gerraty	  o var.c: fix uninitialized var
28034c620fe5SSimon J. Gerraty
28044c620fe5SSimon J. Gerraty2015-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
28054c620fe5SSimon J. Gerraty
28064c620fe5SSimon J. Gerraty	* var.c: the conditional expressions used with ':?' can be
28074c620fe5SSimon J. Gerraty	expensive, if already discarding do not evaluate or expand
28084c620fe5SSimon J. Gerraty	anything.
28094c620fe5SSimon J. Gerraty
28104c620fe5SSimon J. Gerraty2015-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
28114c620fe5SSimon J. Gerraty
28124c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151010
28134c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
28144c620fe5SSimon J. Gerraty	  o Add Boolean wantit flag to Var_Subst and Var_Parse
28154c620fe5SSimon J. Gerraty	    when FALSE we know we are discarding the result and can
28164c620fe5SSimon J. Gerraty	    skip operations like Cmd_Exec.
28174c620fe5SSimon J. Gerraty
28184c620fe5SSimon J. Gerraty2015-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>
28194c620fe5SSimon J. Gerraty
28204c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151009
28214c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
28224c620fe5SSimon J. Gerraty	  o var.c: don't check for NULL before free()
28234c620fe5SSimon J. Gerraty	  o meta.c: meta_oodate, do not hard code ignore of makeDependfile
28244c620fe5SSimon J. Gerraty
28254c620fe5SSimon J. Gerraty2015-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>
28264c620fe5SSimon J. Gerraty
28274c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150910
28284c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
28294c620fe5SSimon J. Gerraty	  o main.c: with -w print Enter/Leaving messages for objdir too
28304c620fe5SSimon J. Gerraty	    if necessary.
28314c620fe5SSimon J. Gerraty	  o centralize shell metachar handling
28324c620fe5SSimon J. Gerraty
28334c620fe5SSimon J. Gerraty	* FILES: add metachar.[ch]
28344c620fe5SSimon J. Gerraty
2835128a4105SSimon J. Gerraty2015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
2836128a4105SSimon J. Gerraty
2837128a4105SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150606
2838128a4105SSimon J. Gerraty	  Merge with NetBSD make, pick up
2839128a4105SSimon J. Gerraty	  o make.1: document .OBJDIR target
2840128a4105SSimon J. Gerraty
284128a6bc81SSimon J. Gerraty2015-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
284228a6bc81SSimon J. Gerraty
284328a6bc81SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150505
284428a6bc81SSimon J. Gerraty	  Merge with NetBSD make, pick up
284528a6bc81SSimon J. Gerraty	  o cond.c: be strict about lhs of comparison when evaluating .if
284628a6bc81SSimon J. Gerraty	    but less so when called from variable expansion.
284728a6bc81SSimon J. Gerraty	  o unit-tests/cond2.mk: test various error conditions
284828a6bc81SSimon J. Gerraty
284928a6bc81SSimon J. Gerraty2015-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
285028a6bc81SSimon J. Gerraty
285128a6bc81SSimon J. Gerraty	* machine.sh (MACHINE): Add Bitrig
285228a6bc81SSimon J. Gerraty	  patch from joerg@netbsd.org
285328a6bc81SSimon J. Gerraty
2854db29cad8SSimon J. Gerraty2015-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
2855db29cad8SSimon J. Gerraty
2856db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150418
2857db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
2858db29cad8SSimon J. Gerraty	  o job.c: use memmove() rather than memcpy()
2859db29cad8SSimon J. Gerraty
2860db29cad8SSimon J. Gerraty	* unit-tests/varshell.mk: SunOS cannot handle the TERMINATED_BY_SIGNAL
2861db29cad8SSimon J. Gerraty	  case, so skip it.
2862db29cad8SSimon J. Gerraty
2863db29cad8SSimon J. Gerraty2015-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
2864db29cad8SSimon J. Gerraty
2865db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150411
2866db29cad8SSimon J. Gerraty	  bump version - only mk/ changes.
2867db29cad8SSimon J. Gerraty
2868db29cad8SSimon J. Gerraty2015-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>
2869db29cad8SSimon J. Gerraty
2870db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150410
2871db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
2872db29cad8SSimon J. Gerraty	  o document different handling of '-' in jobs mode vs compat
2873db29cad8SSimon J. Gerraty	  o fix jobs mode so that '-' only applies to whole job
2874db29cad8SSimon J. Gerraty	    when shell lacks hasErrCtl
2875db29cad8SSimon J. Gerraty	  o meta.c: use separate vars to track lcwd and latestdir (read)
2876db29cad8SSimon J. Gerraty	    per process
2877db29cad8SSimon J. Gerraty
2878db29cad8SSimon J. Gerraty2015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
2879db29cad8SSimon J. Gerraty
2880db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150401
2881db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
2882db29cad8SSimon J. Gerraty	  o meta.c: close meta file in child
2883db29cad8SSimon J. Gerraty
2884db29cad8SSimon J. Gerraty	* Makefile: use BINDIR.bmake if set.
2885db29cad8SSimon J. Gerraty	  Same for MANDIR and SHAREDIR
2886db29cad8SSimon J. Gerraty	  Handy for testing release candidates
2887db29cad8SSimon J. Gerraty	  in various environments.
2888db29cad8SSimon J. Gerraty
2889db29cad8SSimon J. Gerraty2015-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
2890db29cad8SSimon J. Gerraty
2891db29cad8SSimon J. Gerraty	* move initialization of savederr to block where it is used
2892db29cad8SSimon J. Gerraty	  to avoid spurious warning from gcc5
2893db29cad8SSimon J. Gerraty
2894db29cad8SSimon J. Gerraty2014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
2895db29cad8SSimon J. Gerraty
2896db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20141111
2897db29cad8SSimon J. Gerraty	  just a cooler number
2898db29cad8SSimon J. Gerraty
2899db29cad8SSimon J. Gerraty2014-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
2900db29cad8SSimon J. Gerraty
2901db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20141105
2902db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
2903db29cad8SSimon J. Gerraty	  o revert major overhaul of suffix handling
2904db29cad8SSimon J. Gerraty	    and POSIX compliance - too much breakage
2905db29cad8SSimon J. Gerraty	    and impossible to make backwards compatible.
2906db29cad8SSimon J. Gerraty	  o we still have the new unit test structure which is ok.
2907db29cad8SSimon J. Gerraty	  o meta.c ensure "-- filemon" is at start of line.
2908db29cad8SSimon J. Gerraty
2909db29cad8SSimon J. Gerraty2014-09-17  Simon J. Gerraty  <sjg@bad.crufty.net>
2910db29cad8SSimon J. Gerraty
2911db29cad8SSimon J. Gerraty	* configure.in: test that result of getconf PATH_MAX is numeric
2912db29cad8SSimon J. Gerraty	  and discard if not.  Apparently needed for Hurd.
2913db29cad8SSimon J. Gerraty
2914db29cad8SSimon J. Gerraty2014-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>
2915db29cad8SSimon J. Gerraty
2916db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140830
2917db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
2918db29cad8SSimon J. Gerraty	  o major overhaul of suffix handling
2919db29cad8SSimon J. Gerraty	  o improved POSIX compliance
2920db29cad8SSimon J. Gerraty	  o overhauled unit-tests
2921db29cad8SSimon J. Gerraty
29225bcb7424SSimon J. Gerraty2014-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>
29235bcb7424SSimon J. Gerraty
29245bcb7424SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140620
29255bcb7424SSimon J. Gerraty	  Merge with NetBSD make, pick up
2926db29cad8SSimon J. Gerraty	  o var.c return varNoError rather than var_Error for ::= modifiers.
29275bcb7424SSimon J. Gerraty
29285bcb7424SSimon J. Gerraty2014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
29295bcb7424SSimon J. Gerraty
29305bcb7424SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140522
29315bcb7424SSimon J. Gerraty	  Merge with NetBSD make, pick up
29325bcb7424SSimon J. Gerraty	  o var.c detect some parse errors.
29335bcb7424SSimon J. Gerraty
29345bcb7424SSimon J. Gerraty2014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
29355bcb7424SSimon J. Gerraty
29365bcb7424SSimon J. Gerraty	* Fix spelling errors - patch from Pedro Giffuni
29375bcb7424SSimon J. Gerraty
29385bcb7424SSimon J. Gerraty2014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
29395bcb7424SSimon J. Gerraty
29405bcb7424SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140214
29415bcb7424SSimon J. Gerraty	  Merge with NetBSD make, pick up
29425bcb7424SSimon J. Gerraty	  o .INCLUDEFROM*
29435bcb7424SSimon J. Gerraty	  o use Var_Value to get MAKEOBJDIR[PREFIX]
29445bcb7424SSimon J. Gerraty	  o reduced realloc'ign in brk_string.
29455bcb7424SSimon J. Gerraty	* configure.in: add a check for compiler supporting __func__
29465bcb7424SSimon J. Gerraty
29470dede8b0SSimon J. Gerraty2014-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>
29480dede8b0SSimon J. Gerraty
29490dede8b0SSimon J. Gerraty	* boot-strap: ignore mksrc=none
29500dede8b0SSimon J. Gerraty
29510dede8b0SSimon J. Gerraty2014-01-02  Simon J. Gerraty  <sjg@bad.crufty.net>
29520dede8b0SSimon J. Gerraty
29530dede8b0SSimon J. Gerraty	* Makefile (DEFAULT_SYS_PATH?): use just ${prefix}/share/mk
29540dede8b0SSimon J. Gerraty
29550dede8b0SSimon J. Gerraty2014-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
29560dede8b0SSimon J. Gerraty
29570dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140101
29580dede8b0SSimon J. Gerraty	* configure.in: set bmake_path_max to min(_SC_PATH_MAX,1024)
29590dede8b0SSimon J. Gerraty	* Makefile.config: defined BMAKE_PATH_MAX to bmake_path_max
29600dede8b0SSimon J. Gerraty	* make.h: use BMAKE_PATH_MAX if MAXPATHLEN not defined (needed for
29610dede8b0SSimon J. Gerraty	  Hurd)
29620dede8b0SSimon J. Gerraty	* configure.in: Add AC_PREREQ and check for
29630dede8b0SSimon J. Gerraty	  sysctl; patch from Andrew Shadura andrewsh at debian.org
29640dede8b0SSimon J. Gerraty
29650dede8b0SSimon J. Gerraty2013-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>
29660dede8b0SSimon J. Gerraty
29670dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20131010
29680dede8b0SSimon J. Gerraty	* lose the const from arg to systcl to avoid problems on older BSDs.
29690dede8b0SSimon J. Gerraty
29700dede8b0SSimon J. Gerraty2013-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
29710dede8b0SSimon J. Gerraty
29720dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20131001
29730dede8b0SSimon J. Gerraty	  Merge with NetBSD make, pick up
29740dede8b0SSimon J. Gerraty	  o main.c: for NATIVE build sysctl to get MACHINE_ARCH from
29750dede8b0SSimon J. Gerraty	    hw.machine_arch if necessary.
29760dede8b0SSimon J. Gerraty	  o meta.c: meta_oodate - need to look at src of Link and target
29770dede8b0SSimon J. Gerraty	    of Move as well.
29780dede8b0SSimon J. Gerraty	* main.c: check that CTL_HW and HW_MACHINE_ARCH exist.
29790dede8b0SSimon J. Gerraty	  provide __arraycount() if needed.
29800dede8b0SSimon J. Gerraty
29811bbe5942SSimon J. Gerraty2013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
29821bbe5942SSimon J. Gerraty
29831bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130904
29841bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
29851bbe5942SSimon J. Gerraty	  o Add VAR_INTERNAL context, so that internal setting of
29861bbe5942SSimon J. Gerraty	    MAKEFILE does not override value set by makefiles.
29871bbe5942SSimon J. Gerraty
29881bbe5942SSimon J. Gerraty2013-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
29891bbe5942SSimon J. Gerraty
29901bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130902
29911bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
29921bbe5942SSimon J. Gerraty	  o CompatRunCommand: only apply shellErrFlag when errCheck is true
29931bbe5942SSimon J. Gerraty
29941bbe5942SSimon J. Gerraty2013-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
29951bbe5942SSimon J. Gerraty
29961bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130828
29971bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
29981bbe5942SSimon J. Gerraty	  o Fix VAR :sh = syntax from Will Andrews at freebsd.org
29991bbe5942SSimon J. Gerraty	  o Call Job_SetPrefix() from Job_Init() so makefiles have
30001bbe5942SSimon J. Gerraty	    opportunity to set .MAKE.JOB.PREFIX
30011bbe5942SSimon J. Gerraty
300251ee2c1cSSimon J. Gerraty2013-07-30  Simon J. Gerraty  <sjg@bad.crufty.net>
300351ee2c1cSSimon J. Gerraty
300451ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130730
300551ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
300651ee2c1cSSimon J. Gerraty	  o Allow suppression of --- job -- tokens by setting
300751ee2c1cSSimon J. Gerraty	    .MAKE.JOB.PREFIX empty.
300851ee2c1cSSimon J. Gerraty
300951ee2c1cSSimon J. Gerraty2013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
301051ee2c1cSSimon J. Gerraty
301151ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130716
301251ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
30135bcb7424SSimon J. Gerraty	  o number of gmake compatibility tweaks
301451ee2c1cSSimon J. Gerraty	    -w for gmake style entering/leaving messages
301551ee2c1cSSimon J. Gerraty	    if .MAKE.LEVEL > 0 indicate it in progname "make[1]" etc.
301651ee2c1cSSimon J. Gerraty	    handle MAKEFLAGS containing only letters.
301751ee2c1cSSimon J. Gerraty	  o when overriding a GLOBAL variable on the command line,
301851ee2c1cSSimon J. Gerraty	    delete it from GLOBAL context so -V doesn't show the wrong
301951ee2c1cSSimon J. Gerraty	    value.
302051ee2c1cSSimon J. Gerraty
302151ee2c1cSSimon J. Gerraty2013-07-06  Simon J. Gerraty  <sjg@bad.crufty.net>
302251ee2c1cSSimon J. Gerraty
302351ee2c1cSSimon J. Gerraty	* configure.in: We don't need MAKE_LEVEL_SAFE anymore.
302451ee2c1cSSimon J. Gerraty
302551ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130706
302651ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
302751ee2c1cSSimon J. Gerraty	  o Shell_Init(): export shellErrFlag if commandShell hasErrCtl is
302851ee2c1cSSimon J. Gerraty	    true so that CompatRunCommand() can use it, to ensure
302951ee2c1cSSimon J. Gerraty	    consistent behavior with jobs mode.
303051ee2c1cSSimon J. Gerraty	  o use MAKE_LEVEL_ENV to define the variable to propagate
303151ee2c1cSSimon J. Gerraty	    .MAKE.LEVEL - currently set to MAKELEVEL (same as gmake).
303251ee2c1cSSimon J. Gerraty	  o meta.c: use .MAKE.META.IGNORE_PATHS to allow customization of
303351ee2c1cSSimon J. Gerraty	    paths to ignore.
303451ee2c1cSSimon J. Gerraty
303574d2e02bSSimon J. Gerraty2013-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
303674d2e02bSSimon J. Gerraty
303774d2e02bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130604
303874d2e02bSSimon J. Gerraty	  Merge with NetBSD make, pick up
303974d2e02bSSimon J. Gerraty	  o job.c: JobCreatePipe: do fcntl() after any tweaking of fd's
304074d2e02bSSimon J. Gerraty	    to avoid leaking descriptors.
304174d2e02bSSimon J. Gerraty
304274d2e02bSSimon J. Gerraty2013-05-28  Simon J. Gerraty  <sjg@bad.crufty.net>
304374d2e02bSSimon J. Gerraty
304474d2e02bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130528
304574d2e02bSSimon J. Gerraty	  Merge with NetBSD make, pick up
304674d2e02bSSimon J. Gerraty	  o var.c: cleanup some left-overs in VarHash()
304774d2e02bSSimon J. Gerraty
304852d86256SSimon J. Gerraty2013-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
304952d86256SSimon J. Gerraty
305052d86256SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130520
305152d86256SSimon J. Gerraty	  generate manifest from component FILES rather than have to
305252d86256SSimon J. Gerraty	  update FILES when mk/FILES changes.
305352d86256SSimon J. Gerraty
305452d86256SSimon J. Gerraty2013-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>
305552d86256SSimon J. Gerraty
305652d86256SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130518
305752d86256SSimon J. Gerraty	  Merge with NetBSD make, pick up
305852d86256SSimon J. Gerraty	  o suff.c: don't skip all processsing for .PHONY targets
305952d86256SSimon J. Gerraty	    else wildcard srcs do not get expanded.
306052d86256SSimon J. Gerraty	  o var.c: expand name of variable to delete if necessary.
306152d86256SSimon J. Gerraty
30621748de26SSimon J. Gerraty2013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
30631748de26SSimon J. Gerraty
30641748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130330
30651748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
30661748de26SSimon J. Gerraty	  o meta.c: refine the handling of .OODATE in commands.
30671748de26SSimon J. Gerraty	    Rather than suppress command comparison for the entire script
30681748de26SSimon J. Gerraty	    as though .NOMETA_CMP had been used, only suppress it for the
30691748de26SSimon J. Gerraty	    one command line.
30701748de26SSimon J. Gerraty	    This allows something like ${.OODATE:M.NOMETA_CMP} to be used to
30711748de26SSimon J. Gerraty	    suppress comparison of a command without otherwise affecting it.
30721748de26SSimon J. Gerraty	  o make.1: document that
30731748de26SSimon J. Gerraty
30741748de26SSimon J. Gerraty2013-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
30751748de26SSimon J. Gerraty
30761748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130321
30771748de26SSimon J. Gerraty	  yes, not quite right but its a cooler number.
30781748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
30791748de26SSimon J. Gerraty	  o parse.c: fix ParseGmakeExport to be portable
30801748de26SSimon J. Gerraty	    and add a unit-test.
30811748de26SSimon J. Gerraty	* meta.c: call meta_init() before makefiles are read and if built
30821748de26SSimon J. Gerraty	  with filemon support set .MAKE.PATH_FILEMON to _PATH_FILEMON
30831748de26SSimon J. Gerraty	  this let's makefiles test for support.
30841748de26SSimon J. Gerraty	  Call meta_mode_init() to process .MAKE.MODE.
30851748de26SSimon J. Gerraty
30861748de26SSimon J. Gerraty2013-03-13  Simon J. Gerraty  <sjg@bad.crufty.net>
30871748de26SSimon J. Gerraty
30881748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130305
30891748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
30901748de26SSimon J. Gerraty	  o run .STALE: target when a dependency from .depend is missing.
30911748de26SSimon J. Gerraty	  o job.c: add Job_RunTarget() for the above and .BEGIN
30921748de26SSimon J. Gerraty
30931748de26SSimon J. Gerraty2013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
30941748de26SSimon J. Gerraty
30951748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130303
30961748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
30971748de26SSimon J. Gerraty	  o main.c: set .MAKE.OS to utsname.sysname
30981748de26SSimon J. Gerraty	  o job.c: more checks for read and poll errors
30991748de26SSimon J. Gerraty	  o var.c: lose VarChangeCase() saves 4% time
31001748de26SSimon J. Gerraty
31011748de26SSimon J. Gerraty2013-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
31021748de26SSimon J. Gerraty
31031748de26SSimon J. Gerraty	* boot-strap: remove MAKEOBJDIRPREFIX from environment since we
31041748de26SSimon J. Gerraty	  want to use MAKEOBJDIR
31051748de26SSimon J. Gerraty
31063cbdda60SSimon J. Gerraty2013-01-27  Simon J. Gerraty  <sjg@bad.crufty.net>
31073cbdda60SSimon J. Gerraty
31083cbdda60SSimon J. Gerraty	* Merge with NetBSD make, pick up
31093cbdda60SSimon J. Gerraty	  o make.1: more info on how shell commands are handled.
31103cbdda60SSimon J. Gerraty	  o job.c,main.c: detect write errors to job pipes.
31113cbdda60SSimon J. Gerraty
31123cbdda60SSimon J. Gerraty2013-01-25  Simon J. Gerraty  <sjg@bad.crufty.net>
31133cbdda60SSimon J. Gerraty
31143cbdda60SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130123
31153cbdda60SSimon J. Gerraty	  Merge with NetBSD make, pick up
31163cbdda60SSimon J. Gerraty	  o meta.c: if script uses .OODATE and meta_oodate() decides
31173cbdda60SSimon J. Gerraty	    rebuild is needed, .OODATE will be empty - set it to .ALLSRC.
31183cbdda60SSimon J. Gerraty	  o var.c: in debug output indicate which variabale modifiers
31193cbdda60SSimon J. Gerraty	    apply to.
31203cbdda60SSimon J. Gerraty	  o remove Check_Cwd logic the makefiles have been fixed.
31213cbdda60SSimon J. Gerraty
31223cbdda60SSimon J. Gerraty2012-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
31233cbdda60SSimon J. Gerraty
31243cbdda60SSimon J. Gerraty	* makefile.in: add a simple makefile for folk who insist on
31253cbdda60SSimon J. Gerraty	  ./configure; make; make install
31263cbdda60SSimon J. Gerraty	  it just runs boot-strap
31273cbdda60SSimon J. Gerraty	* include mk/* to accommodate the above
31283cbdda60SSimon J. Gerraty	* boot-strap:  re-work to accommodate the above
31293cbdda60SSimon J. Gerraty	  mksrc defaults to $Mydir/mk
31303cbdda60SSimon J. Gerraty	  allow op={configure,build,install,clean,all}
31313cbdda60SSimon J. Gerraty	  add options to facilitate install
31323cbdda60SSimon J. Gerraty	* Makefile.config.in: just the bits set by configure
31333cbdda60SSimon J. Gerraty	* Makefile: bump version to 20121212
31343cbdda60SSimon J. Gerraty	  abandon Makefile.in (NetBSD Makefile)
31353cbdda60SSimon J. Gerraty	  leverage mk/* instead
31363cbdda60SSimon J. Gerraty	* configure.in: ensure srcdir is absolute
31373cbdda60SSimon J. Gerraty
313859a02420SSimon J. Gerraty2012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
313959a02420SSimon J. Gerraty
314059a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121111
314159a02420SSimon J. Gerraty	  fix generation of bmake.cat1
314259a02420SSimon J. Gerraty
314359a02420SSimon J. Gerraty2012-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
314459a02420SSimon J. Gerraty
314559a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121109
314659a02420SSimon J. Gerraty	  Merge with NetBSD make, pick up
314759a02420SSimon J. Gerraty	  o make.c: MakeBuildChild: return 0 so search continues if a
314859a02420SSimon J. Gerraty	    .ORDER dependency is detected.
314959a02420SSimon J. Gerraty	  o unit-tests/order: test the above
315059a02420SSimon J. Gerraty
315159a02420SSimon J. Gerraty2012-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>
315259a02420SSimon J. Gerraty
315359a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121102
315459a02420SSimon J. Gerraty	  Merge with NetBSD make, pick up
315559a02420SSimon J. Gerraty	  o cond.c: allow cond_state[] to grow.
315659a02420SSimon J. Gerraty	    In meta mode with a very large tree, we can hit the limit
315759a02420SSimon J. Gerraty	    while processing dirdeps.
315859a02420SSimon J. Gerraty
315959a02420SSimon J. Gerraty2012-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
316059a02420SSimon J. Gerraty
316159a02420SSimon J. Gerraty	* Makefile.in: we need to use ${srcdir} not ${.CURDIR}
316259a02420SSimon J. Gerraty
316393036677SSimon J. Gerraty2012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
316493036677SSimon J. Gerraty
316593036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121010
316693036677SSimon J. Gerraty	  o protect syntax that only bmake parses correctly.
316793036677SSimon J. Gerraty	  o remove auto setting of FORCE_MACHINE, use configure's
316893036677SSimon J. Gerraty	    --with-force-machine=whatever if that is desired.
316993036677SSimon J. Gerraty
317093036677SSimon J. Gerraty2012-10-08  Simon J. Gerraty  <sjg@bad.crufty.net>
317193036677SSimon J. Gerraty
317293036677SSimon J. Gerraty	* Makefile.in: do not lose history from make.1 when generating bmake.1
317393036677SSimon J. Gerraty
317493036677SSimon J. Gerraty2012-10-07  Simon J. Gerraty  <sjg@bad.crufty.net>
317593036677SSimon J. Gerraty
317693036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121007
317793036677SSimon J. Gerraty	  Merge with NetBSD make, pick up
317893036677SSimon J. Gerraty	  o compat.c: ignore empty commands - same as jobs mode.
317993036677SSimon J. Gerraty	  o make.1: document meta chars that cause use of shell
318093036677SSimon J. Gerraty
318193036677SSimon J. Gerraty2012-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
318293036677SSimon J. Gerraty
318393036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): bump version to 20120911
318493036677SSimon J. Gerraty	* bsd.after-import.mk: include Makefile.inc early and allow it to
318593036677SSimon J. Gerraty	  override PROG
318693036677SSimon J. Gerraty
31873955d011SMarcel Moolenaar2012-08-31  Simon J. Gerraty  <sjg@bad.crufty.net>
31883955d011SMarcel Moolenaar
31893955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120831
31903955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
31913955d011SMarcel Moolenaar	  o cast sizeof() to int for comparison
31923955d011SMarcel Moolenaar	  o minor make.1 tweak
31933955d011SMarcel Moolenaar
31943955d011SMarcel Moolenaar2012-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>
31953955d011SMarcel Moolenaar
31963955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120830
31973955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
31983955d011SMarcel Moolenaar	  o .MAKE.EXPAND_VARIABLES knob can control default behavior of -V
31993955d011SMarcel Moolenaar	  o debug flag -dV causes -V to show raw value regardless.
32003955d011SMarcel Moolenaar
32013955d011SMarcel Moolenaar2012-07-05  Simon J. Gerraty  <sjg@bad.crufty.net>
32023955d011SMarcel Moolenaar
32033955d011SMarcel Moolenaar	* bsd.after-import.mk (after-import): ensure unit-tests/Makefile
32043955d011SMarcel Moolenaar	  gets SRCTOP set.
32053955d011SMarcel Moolenaar
32063955d011SMarcel Moolenaar2012-07-04  Simon J. Gerraty  <sjg@bad.crufty.net>
32073955d011SMarcel Moolenaar
32083955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120704
32093955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
32103955d011SMarcel Moolenaar	  o Job_ParseShell should call Shell_Init if it has been
32113955d011SMarcel Moolenaar	    previously called.
32123955d011SMarcel Moolenaar	* Makefile.in: set USE_META based on configure result.
32133955d011SMarcel Moolenaar	  also .PARSEDIR is safer indicator of bmake.
32143955d011SMarcel Moolenaar
32153955d011SMarcel Moolenaar2012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
32163955d011SMarcel Moolenaar
32173955d011SMarcel Moolenaar	* Makefile.in: bump version to 20120626
32183955d011SMarcel Moolenaar	  ensure CPPFLAGS is in CFLAGS
32193955d011SMarcel Moolenaar	* meta.c: avoid nested externs
32203955d011SMarcel Moolenaar	* bsd.after-import.mk: avoid ${.CURDIR}/Makefile as target
32213955d011SMarcel Moolenaar
32223955d011SMarcel Moolenaar2012-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>
32233955d011SMarcel Moolenaar
32243955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120620
32253955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
32263955d011SMarcel Moolenaar	  o make_malloc.c: avoid including make_malloc.h again
32273955d011SMarcel Moolenaar
32283955d011SMarcel Moolenaar	* Makefile.in: avoid bmake only syntax or protect with
32293955d011SMarcel Moolenaar	  .if defined(.MAKE.LEVEL)
32303955d011SMarcel Moolenaar	* bsd.after-import.mk: replace .-include with .sinclude
32313955d011SMarcel Moolenaar	  ensure? SRCTOP gets a value
32323955d011SMarcel Moolenaar	* configure.in: look for filemon.h in /usr/include/dev/filemon first.
32333955d011SMarcel Moolenaar
32343955d011SMarcel Moolenaar2012-06-19  Simon J. Gerraty  <sjg@bad.crufty.net>
32353955d011SMarcel Moolenaar
32363955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120612
32373955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
32383955d011SMarcel Moolenaar	  o use MAKE_ATTR_* rather than those defined by cdefs.h or compiler
32393955d011SMarcel Moolenaar	    for greater portability.
32403955d011SMarcel Moolenaar	  o unit-tests/forloop: check that .for works as expected wrt
32413955d011SMarcel Moolenaar	    number of times and with "quoted strings".
32423955d011SMarcel Moolenaar
32433955d011SMarcel Moolenaar2012-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
32443955d011SMarcel Moolenaar
32453955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120606
32463955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
32473955d011SMarcel Moolenaar	  o compat.c: use kill(2) rather than raise(3).
32483955d011SMarcel Moolenaar	* configure.in: look for sys/dev/filemon
32493955d011SMarcel Moolenaar	* bsd.after-import.mk: add a .-include "Makefile.inc" to Makefile
32503955d011SMarcel Moolenaar	  and pass BOOTSTRAP_XTRAS to boot-strap.
32513955d011SMarcel Moolenaar
32523955d011SMarcel Moolenaar2012-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
32533955d011SMarcel Moolenaar
32543955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120604
32553955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
32563955d011SMarcel Moolenaar	  o util.c and var.c share same var for tracking if environ
32573955d011SMarcel Moolenaar	    has been reallocated.
32583955d011SMarcel Moolenaar	  o util.c provide getenv with setenv.
32593955d011SMarcel Moolenaar	* Add MAKE_LEVEL_SAFE as an alternate means of passing MAKE_LEVEL
32603955d011SMarcel Moolenaar	  when the shell actively strips .MAKE.* from the environment.
32613955d011SMarcel Moolenaar	  We still refer to the variable always as .MAKE.LEVEL
32623955d011SMarcel Moolenaar	* util.c fix bug in findenv() was finding prefix of name.
32633955d011SMarcel Moolenaar	* compat.c: re-raising SIGINT etc after running .INTERRUPT
32643955d011SMarcel Moolenaar	  results in more reliable termination of all activity on many
32653955d011SMarcel Moolenaar	  platforms.
32663955d011SMarcel Moolenaar
32673955d011SMarcel Moolenaar2012-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
32683955d011SMarcel Moolenaar
32693955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120602
32703955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
32713955d011SMarcel Moolenaar	  o for.c: handle quoted items in .for list
32723955d011SMarcel Moolenaar
32733955d011SMarcel Moolenaar2012-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
32743955d011SMarcel Moolenaar
32753955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120530
32763955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
32773955d011SMarcel Moolenaar	  o compat.c: ignore empty command.
32783955d011SMarcel Moolenaar
32793955d011SMarcel Moolenaar2012-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
32803955d011SMarcel Moolenaar
32813955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120524
32823955d011SMarcel Moolenaar	* FILES: add bsd.after-import.mk:
32833955d011SMarcel Moolenaar	  A simple means of integrating bmake into a BSD build system.
32843955d011SMarcel Moolenaar
32853955d011SMarcel Moolenaar2012-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
32863955d011SMarcel Moolenaar
32873955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120520
32883955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
32893955d011SMarcel Moolenaar	  o increased limit for nested conditionals.
32903955d011SMarcel Moolenaar
32913955d011SMarcel Moolenaar2012-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>
32923955d011SMarcel Moolenaar
32933955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120518
32943955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
32953955d011SMarcel Moolenaar	  o use _exit(2) in signal hanlder
32963955d011SMarcel Moolenaar	  o Don't use the [dir] cache when building nodes that might have
32973955d011SMarcel Moolenaar	    changed since the last exec.
32983955d011SMarcel Moolenaar	  o Avoid nested extern declaration warnings.
32993955d011SMarcel Moolenaar
33003955d011SMarcel Moolenaar2012-04-27  Simon J. Gerraty  <sjg@bad.crufty.net>
33013955d011SMarcel Moolenaar
33023955d011SMarcel Moolenaar	* meta.c (fgetLine): avoid %z - not portable.
33033955d011SMarcel Moolenaar	* parse.c: Since we moved include of sys/mman.h
33043955d011SMarcel Moolenaar	  and def's of MAP_COPY etc. we got dups from a merge.
33053955d011SMarcel Moolenaar
33063955d011SMarcel Moolenaar2012-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
33073955d011SMarcel Moolenaar
33083955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120420
33093955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
33103955d011SMarcel Moolenaar	  o restore duplicate supression in .MAKE.MAKEFILES
33113955d011SMarcel Moolenaar	    runtime saving can be significant.
33123955d011SMarcel Moolenaar	  o Var_Subst() uses Buf_DestroyCompact() to reduce memory
33133955d011SMarcel Moolenaar	    consumption up to 20%.
33143955d011SMarcel Moolenaar
33153955d011SMarcel Moolenaar2012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
33163955d011SMarcel Moolenaar
33173955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120420
33183955d011SMarcel Moolenaar          Merge with NetBSD make, pick up
33193955d011SMarcel Moolenaar	  o remove duplicate supression in .MAKE.MAKEFILES
33203955d011SMarcel Moolenaar	  o improved dir cache behavior
33213955d011SMarcel Moolenaar	  o gmake'ish export command
33223955d011SMarcel Moolenaar
33233955d011SMarcel Moolenaar2012-03-25  Simon J. Gerraty  <sjg@bad.crufty.net>
33243955d011SMarcel Moolenaar
33253955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120325
33263955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
33273955d011SMarcel Moolenaar	  o fix parsing of :[#] in conditionals.
33283955d011SMarcel Moolenaar
33293955d011SMarcel Moolenaar2012-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
33303955d011SMarcel Moolenaar
33313955d011SMarcel Moolenaar	* Makefile.in: replace use of .Nx in bmake.1 with NetBSD
33323955d011SMarcel Moolenaar	  since some systems cannot cope with .Nx <version>
33333955d011SMarcel Moolenaar
33343955d011SMarcel Moolenaar2011-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
33353955d011SMarcel Moolenaar
33363955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20111111
33373955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
33383955d011SMarcel Moolenaar	  o debug output for .PARSEDIR and .PARSEFILE
33393955d011SMarcel Moolenaar
33403955d011SMarcel Moolenaar2011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
33413955d011SMarcel Moolenaar
33423955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION):  bump version to 20111010
33433955d011SMarcel Moolenaar
33443955d011SMarcel Moolenaar2011-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>
33453955d011SMarcel Moolenaar
33463955d011SMarcel Moolenaar	* boot-strap: check for an expected file in the dirs we look for.
33473955d011SMarcel Moolenaar	* make-bootstrap.sh: pass on LDSTATIC
33483955d011SMarcel Moolenaar
33493955d011SMarcel Moolenaar2011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
33503955d011SMarcel Moolenaar
33513955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20111001
33523955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
33533955d011SMarcel Moolenaar	  o ensure .PREFIX is set for .PHONY
33543955d011SMarcel Moolenaar	    and .TARGET set for .PHONY run via .END
33553955d011SMarcel Moolenaar	  o __dead used consistently
33563955d011SMarcel Moolenaar
33573955d011SMarcel Moolenaar2011-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>
33583955d011SMarcel Moolenaar
33593955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): 20110909 is a better number ;-)
33603955d011SMarcel Moolenaar
33613955d011SMarcel Moolenaar2011-09-05  Simon J. Gerraty  <sjg@bad.crufty.net>
33623955d011SMarcel Moolenaar
33633955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110905
33643955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
33653955d011SMarcel Moolenaar	  o meta_oodate: ignore makeDependfile
33663955d011SMarcel Moolenaar
33673955d011SMarcel Moolenaar2011-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
33683955d011SMarcel Moolenaar
33693955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110828
33703955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
33713955d011SMarcel Moolenaar	  o silent=yes in .MAKE.MODE causes meta mode to mark targets
33723955d011SMarcel Moolenaar	    as SILENT if a .meta file is created
33733955d011SMarcel Moolenaar
33743955d011SMarcel Moolenaar2011-08-18  Simon J. Gerraty  <sjg@bad.crufty.net>
33753955d011SMarcel Moolenaar
33763955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110818
33773955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
33783955d011SMarcel Moolenaar	  o in meta mode, if target flagged .META a missing .meta file
33793955d011SMarcel Moolenaar	    means target is out-of-date
33803955d011SMarcel Moolenaar	  o fixes for gcc 4.5 warnings
33813955d011SMarcel Moolenaar	  o simplify job printing code
33823955d011SMarcel Moolenaar
33833955d011SMarcel Moolenaar2011-08-09  Simon J. Gerraty  <sjg@bad.crufty.net>
33843955d011SMarcel Moolenaar
33853955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110808
33863955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
33873955d011SMarcel Moolenaar	  o do not touch OP_SPECIAL targets when doing make -t
33883955d011SMarcel Moolenaar
33893955d011SMarcel Moolenaar2011-06-22  Simon J. Gerraty  <sjg@bad.crufty.net>
33903955d011SMarcel Moolenaar
33913955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110622
33923955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
33933955d011SMarcel Moolenaar	  o meta_oodate detect corrupted .meta file and declare oodate.
33943955d011SMarcel Moolenaar	* configure.in: add check for setsid
33953955d011SMarcel Moolenaar
33963955d011SMarcel Moolenaar2011-06-07  Simon J. Gerraty  <sjg@bad.crufty.net>
33973955d011SMarcel Moolenaar
33983955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
33993955d011SMarcel Moolenaar	  o unit-tests/modts now works on MirBSD
34003955d011SMarcel Moolenaar
34013955d011SMarcel Moolenaar2011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
34023955d011SMarcel Moolenaar
34033955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110606
34043955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
34053955d011SMarcel Moolenaar	  o ApplyModifiers: when we parse a variable which is not
34063955d011SMarcel Moolenaar	    the entire modifier string, or not followed by ':', do not
34073955d011SMarcel Moolenaar	    consider it as containing modifiers.
34083955d011SMarcel Moolenaar	  o loadfile: ensure newline at end of mapped file.
34093955d011SMarcel Moolenaar
34103955d011SMarcel Moolenaar2011-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
34113955d011SMarcel Moolenaar
34123955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110505
34133955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
34143955d011SMarcel Moolenaar	  o .MAKE.META.BAILIWICK - list of prefixes which define the scope
34153955d011SMarcel Moolenaar	    of make's control.  In meta mode, any generated file within
34163955d011SMarcel Moolenaar	    said bailiwick, which  is found to be missing, causes current
34173955d011SMarcel Moolenaar	    target to be out-of-date.
34183955d011SMarcel Moolenaar
34193955d011SMarcel Moolenaar2011-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
34203955d011SMarcel Moolenaar
34213955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110411
34223955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
34233955d011SMarcel Moolenaar	  o when long modifiers fail to match, check sysV style.
34243955d011SMarcel Moolenaar	    - add a test case
34253955d011SMarcel Moolenaar
34263955d011SMarcel Moolenaar2011-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>
34273955d011SMarcel Moolenaar
34283955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110410
34293955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
34303955d011SMarcel Moolenaar	  o :hash - cheap 32bit hash of value
34313955d011SMarcel Moolenaar	  o :localtime, :gmtime - use value as format string for strftime.
34323955d011SMarcel Moolenaar
34333955d011SMarcel Moolenaar2011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
34343955d011SMarcel Moolenaar
34353955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110330
34363955d011SMarcel Moolenaar	  mostly because its a cooler version.
34373955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
34383955d011SMarcel Moolenaar	  o NetBSD tags for meta.[ch]
34393955d011SMarcel Moolenaar	  o job.c call meta_job_finish() after meta_job_error().
34403955d011SMarcel Moolenaar	  o meta_job_error() should call meta_job_finish() to ensure
34413955d011SMarcel Moolenaar	    .meta file is closed, and safe to copy - if .ERROR target wants.
34423955d011SMarcel Moolenaar	   meta_job_finish() is safe to call repeatedly.
34433955d011SMarcel Moolenaar
34443955d011SMarcel Moolenaar2011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
34453955d011SMarcel Moolenaar
34463955d011SMarcel Moolenaar	* unit-tests/modts: use printf if it is a builtin,
34473955d011SMarcel Moolenaar	  to save us from MirBSD
34483955d011SMarcel Moolenaar
34493955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110329
34503955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
34513955d011SMarcel Moolenaar	  o fix for use after free() in CondDoExists().
34523955d011SMarcel Moolenaar	  o meta_oodate() report extra commands and return earlier.
34533955d011SMarcel Moolenaar
34543955d011SMarcel Moolenaar2011-03-27  Simon J. Gerraty  <sjg@bad.crufty.net>
34553955d011SMarcel Moolenaar
34563955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110327
34573955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
34583955d011SMarcel Moolenaar	  o meta.c, if .MAKE.MODE contains curdirOk=yes
34593955d011SMarcel Moolenaar	    allow creating .meta files in .CURDIR
34603955d011SMarcel Moolenaar	* boot-strap (TOOL_DIFF): aparently at least on linux distro
34613955d011SMarcel Moolenaar	  formats the output of 'type' differently - so eat any "()"
34623955d011SMarcel Moolenaar
34633955d011SMarcel Moolenaar2011-03-06  Simon J. Gerraty  <sjg@bad.crufty.net>
34643955d011SMarcel Moolenaar
34653955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110306
34663955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
34673955d011SMarcel Moolenaar	  o meta.c, only do getcwd() once
34683955d011SMarcel Moolenaar
34693955d011SMarcel Moolenaar2011-03-05  Simon J. Gerraty  <sjg@bad.crufty.net>
34703955d011SMarcel Moolenaar
34713955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110305
34723955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
34733955d011SMarcel Moolenaar	  o correct sysV substitution handling of empty lhs and variable
34743955d011SMarcel Moolenaar	  o correct exists() check for dir with trailing /
34753955d011SMarcel Moolenaar	  o correct handling of modifiers for non-existant variables
34763955d011SMarcel Moolenaar	    during evaluation of conditionals.
34773955d011SMarcel Moolenaar	  o ensure MAP_FILE is defined.
34783955d011SMarcel Moolenaar	  o meta.c use curdir[] now exported by main.c
34793955d011SMarcel Moolenaar
34803955d011SMarcel Moolenaar2011-02-25  Simon J. Gerraty  <sjg@bad.crufty.net>
34813955d011SMarcel Moolenaar
34823955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110225
34833955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
34843955d011SMarcel Moolenaar	  o fix for incorrect .PARSEDIR when .OBJDIR is re-computed after
34853955d011SMarcel Moolenaar	    makefiles have been read.
34863955d011SMarcel Moolenaar	  o fix example of :? modifier in man page.
34873955d011SMarcel Moolenaar
34883955d011SMarcel Moolenaar2011-02-13  Simon J. Gerraty  <sjg@bad.crufty.net>
34893955d011SMarcel Moolenaar
34903955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110214
34913955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
34923955d011SMarcel Moolenaar	  o meta.c handle realpath() failing when generating meta file
34933955d011SMarcel Moolenaar	    name.
34943955d011SMarcel Moolenaar
34953955d011SMarcel Moolenaar	* sigcompat.c: convert to ansi so we can use higher warning levels.
34963955d011SMarcel Moolenaar
34973955d011SMarcel Moolenaar
34983955d011SMarcel Moolenaar2011-02-07  Simon J. Gerraty  <sjg@bad.crufty.net>
34993955d011SMarcel Moolenaar
35003955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110207
35013955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
35023955d011SMarcel Moolenaar	  o fix for bug in meta mode.
35033955d011SMarcel Moolenaar
35043955d011SMarcel Moolenaar2011-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>
35053955d011SMarcel Moolenaar
35063955d011SMarcel Moolenaar	* parse.c: SunOS 5.8 at least does not have MAP_FILE
35073955d011SMarcel Moolenaar
35083955d011SMarcel Moolenaar2011-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
35093955d011SMarcel Moolenaar
35103955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110101
35113955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
35123955d011SMarcel Moolenaar	  o use mmap(2) if available, for reading makefiles
35133955d011SMarcel Moolenaar
35143955d011SMarcel Moolenaar2010-12-15  Simon J. Gerraty  <sjg@bad.crufty.net>
35153955d011SMarcel Moolenaar
35163955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101215
35173955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
35183955d011SMarcel Moolenaar	  o ensure meta_job_error() does not report a previous .meta file
35193955d011SMarcel Moolenaar	    as being culprit.
35203955d011SMarcel Moolenaar
35213955d011SMarcel Moolenaar2010-12-10  Simon J. Gerraty  <sjg@bad.crufty.net>
35223955d011SMarcel Moolenaar
35233955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101210
35243955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
35253955d011SMarcel Moolenaar	  o meta_oodate: track cwd per process, and only consider target
35263955d011SMarcel Moolenaar	    out-of-date if missing file is outside make's CWD.
35273955d011SMarcel Moolenaar	    Ignore files in /tmp/ etc.
35283955d011SMarcel Moolenaar	  o to ensure unit-tests results match, need to control LC_ALL
35293955d011SMarcel Moolenaar	    as well as LANG.
35303955d011SMarcel Moolenaar	  o fix for parsing bug in var.c
35313955d011SMarcel Moolenaar
35323955d011SMarcel Moolenaar2010-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
35333955d011SMarcel Moolenaar
35343955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101126
35353955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
35363955d011SMarcel Moolenaar	  o if stale dependency is an IMPSRC, search via .PATH
35373955d011SMarcel Moolenaar	  o meta_oodate: if a referenced file is missing, target is
35383955d011SMarcel Moolenaar	    out-of-date.
35393955d011SMarcel Moolenaar	  o meta_oodate: if a target uses .OODATE in its commands,
35403955d011SMarcel Moolenaar	    it (.OODATE) needs to be recomputed.
35413955d011SMarcel Moolenaar	  o keep a pointer to youngest child node, rather than just its
35423955d011SMarcel Moolenaar	    mtime.
35433955d011SMarcel Moolenaar
35443955d011SMarcel Moolenaar2010-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>
35453955d011SMarcel Moolenaar
35463955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101101
35473955d011SMarcel Moolenaar
35483955d011SMarcel Moolenaar2010-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>
35493955d011SMarcel Moolenaar
35503955d011SMarcel Moolenaar	* machine.sh: like os.sh,
35513955d011SMarcel Moolenaar	allow for uname -p producing useless drivel
35523955d011SMarcel Moolenaar
35533955d011SMarcel Moolenaar2010-09-13  Simon J. Gerraty  <sjg@bad.crufty.net>
35543955d011SMarcel Moolenaar
35553955d011SMarcel Moolenaar	* boot-strap: document configure knobs for meta and filemon.
35563955d011SMarcel Moolenaar
35573955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100911
35583955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
35593955d011SMarcel Moolenaar	  o meta.c - meta mode
35603955d011SMarcel Moolenaar
35613955d011SMarcel Moolenaar	* make-bootstrap.sh.in: handle meta.c
35623955d011SMarcel Moolenaar	* configure.in: add knobs for use_meta and filemon_h
35633955d011SMarcel Moolenaar	  also, look for dirname, str[e]sep and strlcpy
35643955d011SMarcel Moolenaar	* util.c: add simple err[x] and warn[x]
35653955d011SMarcel Moolenaar
35663955d011SMarcel Moolenaar2010-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
35673955d011SMarcel Moolenaar
35683955d011SMarcel Moolenaar	* boot-strap (TOOL_DIFF): set this to ensure tests use
35693955d011SMarcel Moolenaar	  the same version of diff that configure tested
35703955d011SMarcel Moolenaar
35713955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100808
35723955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
35733955d011SMarcel Moolenaar	  o in jobs mode, when we discover we cannot make something,
35743955d011SMarcel Moolenaar	    call PrintOnError before exit.
35753955d011SMarcel Moolenaar
35763955d011SMarcel Moolenaar2010-08-06  Simon J. Gerraty  <sjg@bad.crufty.net>
35773955d011SMarcel Moolenaar
35783955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100806
35793955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
35803955d011SMarcel Moolenaar	  o formatting fixes for ignored errors
35813955d011SMarcel Moolenaar	  o ensure jobs are cleaned up regardless of where wait() was called.
35823955d011SMarcel Moolenaar
35833955d011SMarcel Moolenaar2010-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
35843955d011SMarcel Moolenaar
35853955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100618
35863955d011SMarcel Moolenaar	* os.sh (MACHINE_ARCH): watch out for drivel from uname -p
35873955d011SMarcel Moolenaar
35883955d011SMarcel Moolenaar2010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
35893955d011SMarcel Moolenaar
35903955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100616
35913955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
35923955d011SMarcel Moolenaar	  o man page update
35933955d011SMarcel Moolenaar	  o call PrintOnError from JobFinish when we detect an error we
35943955d011SMarcel Moolenaar	    are not ignoring.
35953955d011SMarcel Moolenaar
35963955d011SMarcel Moolenaar2010-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
35973955d011SMarcel Moolenaar
35983955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100606
35993955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
36003955d011SMarcel Moolenaar	  o man page update
36013955d011SMarcel Moolenaar
36023955d011SMarcel Moolenaar2010-06-05  Simon J. Gerraty  <sjg@bad.crufty.net>
36033955d011SMarcel Moolenaar
36043955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100605
36053955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
36063955d011SMarcel Moolenaar	  o use bmake_signal() which is a wrapper around sigaction()
36073955d011SMarcel Moolenaar	    in place of signal()
36083955d011SMarcel Moolenaar	  o add .export-env to allow exporting variables to environment
36093955d011SMarcel Moolenaar	    without tracking (so no re-export when the internal value is
36103955d011SMarcel Moolenaar	    changed).
36113955d011SMarcel Moolenaar
36123955d011SMarcel Moolenaar2010-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
36133955d011SMarcel Moolenaar
36143955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100524
36153955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
36163955d011SMarcel Moolenaar	  o fix for .info et al being greedy.
36173955d011SMarcel Moolenaar
36183955d011SMarcel Moolenaar2010-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
36193955d011SMarcel Moolenaar
36203955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100520
36213955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
36223955d011SMarcel Moolenaar	  o back to using realpath on argv[0]
36233955d011SMarcel Moolenaar	    but only if contains '/' and does not start with '/'.
36243955d011SMarcel Moolenaar
36253955d011SMarcel Moolenaar2010-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
36263955d011SMarcel Moolenaar
36273955d011SMarcel Moolenaar	* boot-strap: use absolute path for bmake when running tests.
36283955d011SMarcel Moolenaar
36293955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION):  bump version to 20100510
36303955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
36313955d011SMarcel Moolenaar	  o revert use of realpath on argv[0]
36323955d011SMarcel Moolenaar	    too many corner cases.
36333955d011SMarcel Moolenaar	  o print MAKE_PRINT_VAR_ON_ERROR before running .ERROR target.
36343955d011SMarcel Moolenaar
36353955d011SMarcel Moolenaar2010-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
36363955d011SMarcel Moolenaar
36373955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100505
36383955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
36393955d011SMarcel Moolenaar	  o fix for missed SIGCHLD when compiled with SunPRO
36403955d011SMarcel Moolenaar	    actually for bmake, defining FORCE_POSIX_SIGNALS would have
36413955d011SMarcel Moolenaar	    done the job.
36423955d011SMarcel Moolenaar
36433955d011SMarcel Moolenaar2010-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
36443955d011SMarcel Moolenaar
36453955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100430
36463955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
36473955d011SMarcel Moolenaar	  o fflush stdout before writing to stdout
36483955d011SMarcel Moolenaar
36493955d011SMarcel Moolenaar2010-04-23  Simon J. Gerraty  <sjg@bad.crufty.net>
36503955d011SMarcel Moolenaar
36513955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100423
36523955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
36533955d011SMarcel Moolenaar	  o updated unit tests for Haiku (this time for sure).
36543955d011SMarcel Moolenaar	* boot-strap: based on patch from joerg
36553955d011SMarcel Moolenaar	  honor --with-default-sys-path better.
36563955d011SMarcel Moolenaar	* boot-strap: remove mention of --with-prefix-sys-path
36573955d011SMarcel Moolenaar
36583955d011SMarcel Moolenaar2010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
36593955d011SMarcel Moolenaar
36603955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100422
36613955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
36623955d011SMarcel Moolenaar	  o fix for vfork() on Darwin.
36633955d011SMarcel Moolenaar	  o fix for bogus $TMPDIR.
36643955d011SMarcel Moolenaar	  o set .MAKE.MODE=compat for -B
36653955d011SMarcel Moolenaar	  o set .MAKE.JOBS=max_jobs for -j max_jobs
36663955d011SMarcel Moolenaar	  o allow unit-tests to run without any *.mk
36673955d011SMarcel Moolenaar	  o unit-tests/modmisc be more conservative in dirs presumed to exist.
36683955d011SMarcel Moolenaar	* boot-strap: ignore /usr/share/mk except on NetBSD.
36693955d011SMarcel Moolenaar	* unit-tests/Makefile.in: set LANG=C when running unit-tests to
36703955d011SMarcel Moolenaar	  ensure sort(1) behaves as expected.
36713955d011SMarcel Moolenaar
36723955d011SMarcel Moolenaar2010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
36733955d011SMarcel Moolenaar
36743955d011SMarcel Moolenaar	* boot-strap: add FindHereOrAbove so we can use -m .../mk
36753955d011SMarcel Moolenaar
36763955d011SMarcel Moolenaar2010-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
36773955d011SMarcel Moolenaar
36783955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100420
36793955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
36803955d011SMarcel Moolenaar	  o fix for variable realpath() behavior.
36813955d011SMarcel Moolenaar	    we have to stat(2) the result to be sure.
36823955d011SMarcel Moolenaar	  o fix for .export (all) when nested vars use :sh
36833955d011SMarcel Moolenaar
36843955d011SMarcel Moolenaar2010-04-14  Simon J. Gerraty  <sjg@bad.crufty.net>
36853955d011SMarcel Moolenaar
36863955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100414
36873955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
36883955d011SMarcel Moolenaar	  o use realpath to resolve argv[0] (for .MAKE) if needed.
36893955d011SMarcel Moolenaar	  o add realpath from libc.
36903955d011SMarcel Moolenaar	  o add :tA to resolve variable via realpath(3) if possible.
36913955d011SMarcel Moolenaar
36923955d011SMarcel Moolenaar2010-04-08  Simon J. Gerraty  <sjg@bad.crufty.net>
36933955d011SMarcel Moolenaar
36943955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100408
36953955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
36963955d011SMarcel Moolenaar	  o unit tests for .ERROR, .error
36973955d011SMarcel Moolenaar	  o fix for .ERROR to ensure it cannot be default target.
36983955d011SMarcel Moolenaar
36993955d011SMarcel Moolenaar2010-04-06  Simon J. Gerraty  <sjg@bad.crufty.net>
37003955d011SMarcel Moolenaar
37013955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100406
37023955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
37033955d011SMarcel Moolenaar	  o fix for compat mode "Error code" going to debug_file.
37043955d011SMarcel Moolenaar	  o fix for .ALLSRC being populated twice.
37053955d011SMarcel Moolenaar	  o support for .info, .warning and .error directives
37063955d011SMarcel Moolenaar	  o .MAKE.MODE to control make's operational mode
37073955d011SMarcel Moolenaar	  o .MAKE.MAKEFILE_PREFERENCE to control the preferred makefile
37083955d011SMarcel Moolenaar	    name(s).
37093955d011SMarcel Moolenaar	  o .MAKE.DEPENDFILE to control the name of the depend file
37103955d011SMarcel Moolenaar	  o .ERROR target - run on failure.
37113955d011SMarcel Moolenaar
37123955d011SMarcel Moolenaar2010-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
37133955d011SMarcel Moolenaar
37143955d011SMarcel Moolenaar	* make-bootstrap.sh.in: extract MAKE_VERSION from Makefile
37153955d011SMarcel Moolenaar
37163955d011SMarcel Moolenaar	* os.sh,arch.c: patch for Haiku from joerg at netbsd
37173955d011SMarcel Moolenaar
37183955d011SMarcel Moolenaar2010-03-17  Simon J. Gerraty  <sjg@bad.crufty.net>
37193955d011SMarcel Moolenaar
37203955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100222
37213955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
37223955d011SMarcel Moolenaar	  o better error msg for .for with mutiple inter vars
37233955d011SMarcel Moolenaar
37243955d011SMarcel Moolenaar	* boot-strap:
37253955d011SMarcel Moolenaar	  o use make-bootstrap.sh from joerg at netbsd
37263955d011SMarcel Moolenaar	    to avoid the need for a native make when bootstrapping.
37273955d011SMarcel Moolenaar	  o add "" everywhere ;-)
37283955d011SMarcel Moolenaar	  o if /usr/share/tmac/andoc.tmac exists install nroff bmake.1
37293955d011SMarcel Moolenaar	    otherwise the pre-formated version.
37303955d011SMarcel Moolenaar
37313955d011SMarcel Moolenaar2010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
37323955d011SMarcel Moolenaar
37333955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100102
37343955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
37353955d011SMarcel Moolenaar	  o fix for -m .../
37363955d011SMarcel Moolenaar
37373955d011SMarcel Moolenaar2009-11-18  Simon J. Gerraty  <sjg@void.crufty.net>
37383955d011SMarcel Moolenaar
37393955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20091118
37403955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
37413955d011SMarcel Moolenaar	  o .unexport
37423955d011SMarcel Moolenaar	  o report lines that start with '.' and should have ':'
37433955d011SMarcel Moolenaar	    (catch typo's of .el*if).
37443955d011SMarcel Moolenaar
37453955d011SMarcel Moolenaar2009-10-30  Simon J. Gerraty  <sjg@void.crufty.net>
37463955d011SMarcel Moolenaar
37473955d011SMarcel Moolenaar	* configure.in: Ensure that srcdir and mksrc are absolute paths.
37483955d011SMarcel Moolenaar
37493955d011SMarcel Moolenaar2009-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
37503955d011SMarcel Moolenaar
37513955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): fix version to 20091007
37523955d011SMarcel Moolenaar
37533955d011SMarcel Moolenaar2009-10-07  Simon J. Gerraty  <sjg@void.crufty.net>
37543955d011SMarcel Moolenaar
37553955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 200910007
37563955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
37573955d011SMarcel Moolenaar	  o fix for parsing of :S;...;...; applied to .for loop iterator
37583955d011SMarcel Moolenaar	    appearing in a dependency line.
37593955d011SMarcel Moolenaar
37603955d011SMarcel Moolenaar2009-09-09  Simon J. Gerraty  <sjg@void.crufty.net>
37613955d011SMarcel Moolenaar
37623955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090909
37633955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
37643955d011SMarcel Moolenaar	  o fix for -C, .CURDIR and .OBJDIR
37653955d011SMarcel Moolenaar	* boot-strap:
37663955d011SMarcel Moolenaar	  o allow share_dir to be set independent of prefix.
37673955d011SMarcel Moolenaar	  o select default share_dir better when prefix ends in $HOST_TARGET
37683955d011SMarcel Moolenaar	  o if FORCE_BSD_MK etc were set, include them in the suggested
37693955d011SMarcel Moolenaar	    install-mk command.
37703955d011SMarcel Moolenaar
37713955d011SMarcel Moolenaar2009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
37723955d011SMarcel Moolenaar
37733955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090908
37743955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
37753955d011SMarcel Moolenaar	  o .MAKE.LEVEL for recursion tracking
37763955d011SMarcel Moolenaar	  o fix for :M scanning \:
37773955d011SMarcel Moolenaar
37783955d011SMarcel Moolenaar2009-09-03  Simon J. Gerraty  <sjg@void.crufty.net>
37793955d011SMarcel Moolenaar
37803955d011SMarcel Moolenaar	* configure.in: Don't -D__EXTENSIONS__ if
37813955d011SMarcel Moolenaar	AC_USE_SYSTEM_EXTENSIONS says "no".
37823955d011SMarcel Moolenaar
37833955d011SMarcel Moolenaar2009-08-26  Simon J. Gerraty  <sjg@void.crufty.net>
37843955d011SMarcel Moolenaar
37853955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090826
37863955d011SMarcel Moolenaar	Simplify MAKE_VERSION to just the bare date.
37873955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
37883955d011SMarcel Moolenaar	  o -C directory support.
37893955d011SMarcel Moolenaar	  o support for SIGINFO
37903955d011SMarcel Moolenaar	  o use $TMPDIR for temp files.
37913955d011SMarcel Moolenaar	  o child of vfork should be careful about modifying parent's state.
37923955d011SMarcel Moolenaar
37933955d011SMarcel Moolenaar
37943955d011SMarcel Moolenaar2009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
37953955d011SMarcel Moolenaar
37963955d011SMarcel Moolenaar	* Appy some patches for MiNT from David Brownlee
37973955d011SMarcel Moolenaar
37983955d011SMarcel Moolenaar2009-02-26  Simon J. Gerraty  <sjg@void.crufty.net>
37993955d011SMarcel Moolenaar
38003955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20090222
38013955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
38023955d011SMarcel Moolenaar	  o Possible null pointer de-ref in Var_Set.
38033955d011SMarcel Moolenaar
38043955d011SMarcel Moolenaar2009-02-08  Simon J. Gerraty  <sjg@void.crufty.net>
38053955d011SMarcel Moolenaar
38063955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20090204
38073955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
38083955d011SMarcel Moolenaar	  o bmake_malloc et al moved to their own .c
38093955d011SMarcel Moolenaar	  o Count both () and {} when looking for the end of a :M pattern
38103955d011SMarcel Moolenaar	  o Change 'Buffer' so that it is the actual struct, not a pointer to it.
38113955d011SMarcel Moolenaar	  o strlist.c - functions for processing extendable arrays of pointers to strings.
38123955d011SMarcel Moolenaar	  o ClientData replaced with void *, so const void * can be used.
38133955d011SMarcel Moolenaar	  o New debug flag C for DEBUG_CWD
38143955d011SMarcel Moolenaar
38153955d011SMarcel Moolenaar2008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
38163955d011SMarcel Moolenaar
38173955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081111
38183955d011SMarcel Moolenaar	  Apply patch from Joerg Sonnenberge to
38193955d011SMarcel Moolenaar	  configure.in:
38203955d011SMarcel Moolenaar	  o remove some redundant checks
38213955d011SMarcel Moolenaar	  o check for emlloc etc only in libutil and require the whole family.
38223955d011SMarcel Moolenaar	  util.c:
38233955d011SMarcel Moolenaar	  o remove [v]asprintf which is no longer used.
38243955d011SMarcel Moolenaar
38253955d011SMarcel Moolenaar2008-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
38263955d011SMarcel Moolenaar
38273955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081101
38283955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
38293955d011SMarcel Moolenaar	  o util.c: avoid use of putenv() - christos
38303955d011SMarcel Moolenaar
38313955d011SMarcel Moolenaar2008-10-30  Simon J. Gerraty  <sjg@void.crufty.net>
38323955d011SMarcel Moolenaar
38333955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081030
38343955d011SMarcel Moolenaar	  pick up man page tweaks.
38353955d011SMarcel Moolenaar
38363955d011SMarcel Moolenaar2008-10-29  Simon J. Gerraty  <sjg@void.crufty.net>
38373955d011SMarcel Moolenaar
38383955d011SMarcel Moolenaar	* Makefile.in: move processing of LIBOBJS to after is definition!
38393955d011SMarcel Moolenaar	  thus we'll have getenv.c in SRCS only if needed.
38403955d011SMarcel Moolenaar
38413955d011SMarcel Moolenaar	* make.1: add examples of how to use :?
38423955d011SMarcel Moolenaar
38433955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081029
38443955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
38453955d011SMarcel Moolenaar	  o fix for .END processing with -j
38463955d011SMarcel Moolenaar	  o segfault from Parse_Error when no makefile is open
38473955d011SMarcel Moolenaar	  o handle numeric expressions in any variable expansion
38483955d011SMarcel Moolenaar	  o debug output now defaults to stderr, -dF to change it - apb
38493955d011SMarcel Moolenaar	  o make now uses bmake_malloc etc so that it can build natively
38503955d011SMarcel Moolenaar	    on A/UX - wasn't an issue for bmake, but we want to keep in sync.
38513955d011SMarcel Moolenaar
38523955d011SMarcel Moolenaar2008-09-27  Simon J. Gerraty  <sjg@void.crufty.net>
38533955d011SMarcel Moolenaar
38543955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080808
38553955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
38563955d011SMarcel Moolenaar	  o fix for PR/38840: Pierre Pronchery: make crashes while parsing
38573955d011SMarcel Moolenaar	    long lines in Makefiles
38583955d011SMarcel Moolenaar	  o optimizations for VarQuote by joerg
38593955d011SMarcel Moolenaar	  o fix for PR/38756: dominik: make dumps core on invalid makefile
38603955d011SMarcel Moolenaar
38613955d011SMarcel Moolenaar2008-05-15  Simon J. Gerraty  <sjg@void.crufty.net>
38623955d011SMarcel Moolenaar
38633955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080515
38643955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
38653955d011SMarcel Moolenaar	  o fix skip setting vars in VAR_GLOBAL context, to handle
38663955d011SMarcel Moolenaar	    cases where VAR_CMD is used for other than command line vars.
38673955d011SMarcel Moolenaar
38683955d011SMarcel Moolenaar2008-05-14  Simon J. Gerraty  <sjg@void.crufty.net>
38693955d011SMarcel Moolenaar
38703955d011SMarcel Moolenaar	* boot-strap (make_version): we may need to look in
38713955d011SMarcel Moolenaar	$prefix/share/mk for sys.mk
38723955d011SMarcel Moolenaar
38733955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080514
38743955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
38753955d011SMarcel Moolenaar	  o skip setting vars in VAR_GLOBAL context, when already set in
38763955d011SMarcel Moolenaar	  VAR_CMD which takes precedence.
38773955d011SMarcel Moolenaar
38783955d011SMarcel Moolenaar2008-03-30  Simon J. Gerraty  <sjg@void.crufty.net>
38793955d011SMarcel Moolenaar
38803955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump version to 20080330
38813955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
38823955d011SMarcel Moolenaar	  o fix for ?= when LHS contains variable reference.
38833955d011SMarcel Moolenaar
38843955d011SMarcel Moolenaar2008-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
38853955d011SMarcel Moolenaar
38863955d011SMarcel Moolenaar	* merge some patches from NetBSD pkgsrc.
38873955d011SMarcel Moolenaar
38883955d011SMarcel Moolenaar	* makefile.boot.in (BOOTSTRAP_SYS_PATH): Allow better control of
38893955d011SMarcel Moolenaar	the MAKSYSPATH used during bootstrap.
38903955d011SMarcel Moolenaar
38913955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080215
38923955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
38933955d011SMarcel Moolenaar	  o warn if non-space chars follow 'empty' in a conditional.
38943955d011SMarcel Moolenaar
38953955d011SMarcel Moolenaar2008-01-18  Simon J. Gerraty  <sjg@void.crufty.net>
38963955d011SMarcel Moolenaar
38973955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080118
38983955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
38993955d011SMarcel Moolenaar	  o consider dependencies read from .depend as optional - dsl
39003955d011SMarcel Moolenaar	  o remember when buffer for reading makefile grows - dsl
39013955d011SMarcel Moolenaar	  o add -dl (aka LOUD) - David O'Brien
39023955d011SMarcel Moolenaar
39033955d011SMarcel Moolenaar2007-10-22  Simon J. Gerraty  <sjg@void.crufty.net>
39043955d011SMarcel Moolenaar
39053955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071022
39063955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
39073955d011SMarcel Moolenaar	  o Allow .PATH<suffix> to be used for .include ""
39083955d011SMarcel Moolenaar
39093955d011SMarcel Moolenaar	* boot-strap: source default settings from .bmake-boot-strap.rc
39103955d011SMarcel Moolenaar
39113955d011SMarcel Moolenaar2007-10-16  Simon J. Gerraty  <sjg@void.crufty.net>
39123955d011SMarcel Moolenaar
39133955d011SMarcel Moolenaar	* Makefile.in: fix maninstall on various systems
39143955d011SMarcel Moolenaar	  provided that our man.mk is used.
39153955d011SMarcel Moolenaar	  For non-BSD systems we install the preformatted page
39163955d011SMarcel Moolenaar	  into $MANDIR/cat1
39173955d011SMarcel Moolenaar
39183955d011SMarcel Moolenaar2007-10-15  Simon J. Gerraty  <sjg@void.crufty.net>
39193955d011SMarcel Moolenaar
39203955d011SMarcel Moolenaar	* boot-strap: make bmake.1 too, so maninstall works.
39213955d011SMarcel Moolenaar
39223955d011SMarcel Moolenaar2007-10-14  Simon J. Gerraty  <sjg@void.crufty.net>
39233955d011SMarcel Moolenaar
39243955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071014
39253955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
39263955d011SMarcel Moolenaar	  o revamped handling of defshell - configure no longer needs to
39273955d011SMarcel Moolenaar	    know the content of the shells array - apb
39283955d011SMarcel Moolenaar	  o stop Var_Subst modifying its input - apb
39293955d011SMarcel Moolenaar	  o avoid calling ParseTrackInput too often - dsl
39303955d011SMarcel Moolenaar
39313955d011SMarcel Moolenaar2007-10-11  Simon J. Gerraty  <sjg@void.crufty.net>
39323955d011SMarcel Moolenaar
39333955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071011
39343955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
39353955d011SMarcel Moolenaar	  o fix Shell_Init for case that _BASENAME_DEFSHELL is absolute path.
39363955d011SMarcel Moolenaar
39373955d011SMarcel Moolenaar	* sigcompat.c: some tweaks for HP-UX 11.x based on
39383955d011SMarcel Moolenaar	  patch from Tobias Nygren
39393955d011SMarcel Moolenaar
39403955d011SMarcel Moolenaar	* configure.in: update handling of --with-defshell to match
39413955d011SMarcel Moolenaar	  new make behavior.  --with-defshell=/usr/xpg4/bin/sh
39423955d011SMarcel Moolenaar	  will now do what one might hope - provided the chosen shell
39433955d011SMarcel Moolenaar	  behaves enough like sh.
39443955d011SMarcel Moolenaar
39453955d011SMarcel Moolenaar2007-10-08  Simon J. Gerraty  <sjg@void.crufty.net>
39463955d011SMarcel Moolenaar
39473955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20071008
39483955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
39493955d011SMarcel Moolenaar	  o .MAKE.JOB.PREFIX - control the token output before jobs - sjg
39503955d011SMarcel Moolenaar	  o .export/.MAKE.EXPORTED - export of variables - sjg
39513955d011SMarcel Moolenaar	  o .MAKE.MAKEFILES - track all makefiles read - sjg
39523955d011SMarcel Moolenaar	  o performance improvements - dsl
39533955d011SMarcel Moolenaar	  o revamp parallel job scheduling - dsl
39543955d011SMarcel Moolenaar
39553955d011SMarcel Moolenaar2006-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
39563955d011SMarcel Moolenaar
39573955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060728
39583955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
39593955d011SMarcel Moolenaar	  o extra debug info during variable and cond processing - sjg
39603955d011SMarcel Moolenaar	  o shell definition now covers newline - rillig
39613955d011SMarcel Moolenaar	  o minor mem leak in PrintOnError - sjg
39623955d011SMarcel Moolenaar
39633955d011SMarcel Moolenaar2006-05-11  Simon J. Gerraty  <sjg@void.crufty.net>
39643955d011SMarcel Moolenaar
39653955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump to 20060511
39663955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
39673955d011SMarcel Moolenaar	  o more memory leaks - coverity
39683955d011SMarcel Moolenaar	  o possible overflow in ArchFindMember - coverity
39693955d011SMarcel Moolenaar	  o extract variable modifier code out of Var_Parse()
39703955d011SMarcel Moolenaar	    so it can be called recursively - sjg
39713955d011SMarcel Moolenaar	  o unit-tests/moderrs - sjg
39723955d011SMarcel Moolenaar
39733955d011SMarcel Moolenaar2006-04-12  Simon J. Gerraty  <sjg@void.crufty.net>
39743955d011SMarcel Moolenaar
39753955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060412
39763955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
39773955d011SMarcel Moolenaar	  o fixes for some memory leaks - coverity
39783955d011SMarcel Moolenaar	  o only read first sys.mk etc when searching sysIncPath - sjg
39793955d011SMarcel Moolenaar
39803955d011SMarcel Moolenaar	* main.c (ReadMakefile): remove hack for __INTERIX that prevented
39813955d011SMarcel Moolenaar	setting ${MAKEFILE} - OBATA Akio
39823955d011SMarcel Moolenaar
39833955d011SMarcel Moolenaar2006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
39843955d011SMarcel Moolenaar
39853955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060318
39863955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
39873955d011SMarcel Moolenaar	  o cleanup of job.c to remove remote handling, distcc is more
39883955d011SMarcel Moolenaar	    useful and this code was likely bit-rotting - dsl
39893955d011SMarcel Moolenaar	  o fix for :P modifier - sjg
39903955d011SMarcel Moolenaar	* boot-strap: set default prefix to something reasonable
39913955d011SMarcel Moolenaar	  (for me anyway).
39923955d011SMarcel Moolenaar
39933955d011SMarcel Moolenaar2006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
39943955d011SMarcel Moolenaar
39953955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060301
39963955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
39973955d011SMarcel Moolenaar	  o make .WAIT apply recursively, document and test case - apb
39983955d011SMarcel Moolenaar	  o allow variable modifiers in a variable appear anywhere in
39993955d011SMarcel Moolenaar	    modifier list, document and test case - sjg
40003955d011SMarcel Moolenaar
40013955d011SMarcel Moolenaar2006-02-22  Simon J. Gerraty  <sjg@void.crufty.net>
40023955d011SMarcel Moolenaar
40033955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060222
40043955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
40053955d011SMarcel Moolenaar	  o improved job token handling - dsl
40063955d011SMarcel Moolenaar	  o SIG_DFL the correct signal before exec - dsl
40073955d011SMarcel Moolenaar	  o more debug info during parsing - dsl
40083955d011SMarcel Moolenaar	  o allow variable modifiers to be specified via variable - sjg
40093955d011SMarcel Moolenaar	* boot-strap: explain why we died if no mksrc
40103955d011SMarcel Moolenaar
40113955d011SMarcel Moolenaar2005-11-05  Simon J. Gerraty  <sjg@void.crufty.net>
40123955d011SMarcel Moolenaar
40133955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051105
40143955d011SMarcel Moolenaar	* configure.in: always set default_sys_path
40153955d011SMarcel Moolenaar	  default is ${prefix}/share/mk
40163955d011SMarcel Moolenaar	  - remove prefix_sys_path, anyone wanting more than above
40173955d011SMarcel Moolenaar	    needs to set it manually.
40183955d011SMarcel Moolenaar
40193955d011SMarcel Moolenaar2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
40203955d011SMarcel Moolenaar
40213955d011SMarcel Moolenaar	* boot-strap: make this a bit easier for pkgsrc folk.
40223955d011SMarcel Moolenaar	  bootstrap still fails on IRIX64 since MACHINE_ARCH gets set to
40233955d011SMarcel Moolenaar	  'mips' while pkgsrc wants 'mipseb' or 'mipsel'
40243955d011SMarcel Moolenaar
40253955d011SMarcel Moolenaar2005-11-02  Simon J. Gerraty  <sjg@void.crufty.net>
40263955d011SMarcel Moolenaar
40273955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051102
40283955d011SMarcel Moolenaar	* job.c (JobFinish): fix likely ancient merge lossage
40293955d011SMarcel Moolenaar	fix from Todd Vierling.
40303955d011SMarcel Moolenaar	* boot-strap (srcdir): allow setting mksrc=none
40313955d011SMarcel Moolenaar
40323955d011SMarcel Moolenaar2005-10-31  Simon J. Gerraty  <sjg@void.crufty.net>
40333955d011SMarcel Moolenaar
40343955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051031
40353955d011SMarcel Moolenaar	* ranlib.h: skip on OSF too.
40363955d011SMarcel Moolenaar	  (NetBSD PR 31864)
40373955d011SMarcel Moolenaar
40383955d011SMarcel Moolenaar2005-10-10  Simon J. Gerraty  <sjg@void.crufty.net>
40393955d011SMarcel Moolenaar
40403955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051002
40413955d011SMarcel Moolenaar	  fix a silly typo
40423955d011SMarcel Moolenaar
40433955d011SMarcel Moolenaar2005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
40443955d011SMarcel Moolenaar
40453955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051001
40463955d011SMarcel Moolenaar	  support for UnixWare and some other systems,
40473955d011SMarcel Moolenaar	  based on patches from pkgsrc/bootstrap
40483955d011SMarcel Moolenaar
40493955d011SMarcel Moolenaar2005-09-03  Simon J. Gerraty  <sjg@void.crufty.net>
40503955d011SMarcel Moolenaar
40513955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050901
40523955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
40533955d011SMarcel Moolenaar	  o possible parse error causing us to wander off.
40543955d011SMarcel Moolenaar
40553955d011SMarcel Moolenaar2005-06-06  Simon J. Gerraty  <sjg@void.crufty.net>
40563955d011SMarcel Moolenaar
40573955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050606
40583955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
40593955d011SMarcel Moolenaar	  o :0x modifier for randomizing a list
40603955d011SMarcel Moolenaar	  o fixes for a number of -Wuninitialized issues.
40613955d011SMarcel Moolenaar
40623955d011SMarcel Moolenaar2005-05-30  Simon J. Gerraty  <sjg@void.crufty.net>
40633955d011SMarcel Moolenaar
40643955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050530
40653955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
40663955d011SMarcel Moolenaar	  o Handle dependencies for .BEGIN, .END and .INTERRUPT
40673955d011SMarcel Moolenaar
40683955d011SMarcel Moolenaar	* README: was seriously out of date.
40693955d011SMarcel Moolenaar
40703955d011SMarcel Moolenaar2005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
40713955d011SMarcel Moolenaar
40723955d011SMarcel Moolenaar	* Important to use .MAKE rather than MAKE.
40733955d011SMarcel Moolenaar
40743955d011SMarcel Moolenaar2005-03-15  Simon J. Gerraty  <sjg@void.crufty.net>
40753955d011SMarcel Moolenaar
40763955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050315
40773955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
40783955d011SMarcel Moolenaar	  o don't mistake .elsefoo for .else
40793955d011SMarcel Moolenaar	  o use suffix-specific search path correctly
40803955d011SMarcel Moolenaar	  o bunch of style nits
40813955d011SMarcel Moolenaar
40823955d011SMarcel Moolenaar2004-05-11  Simon J. Gerraty  <sjg@void.crufty.net>
40833955d011SMarcel Moolenaar
40843955d011SMarcel Moolenaar	* boot-strap:
40853955d011SMarcel Moolenaar	o ensure that args to --src and --with-mksrc
40863955d011SMarcel Moolenaar	  are resolved before giving them to configure.
40873955d011SMarcel Moolenaar	o add -o "objdir" so that builder can control it,
40883955d011SMarcel Moolenaar	  default is $OS as determined by os.sh
40893955d011SMarcel Moolenaar	o add -q to suppress all the install instructions.
40903955d011SMarcel Moolenaar
40913955d011SMarcel Moolenaar2004-05-08  Simon J. Gerraty  <sjg@void.crufty.net>
40923955d011SMarcel Moolenaar
40933955d011SMarcel Moolenaar	* Remove __IDSTRING()
40943955d011SMarcel Moolenaar
40953955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040508
40963955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
40973955d011SMarcel Moolenaar	  o posix fixes
40983955d011SMarcel Moolenaar	    - remove '-e' from compat mode
40993955d011SMarcel Moolenaar	    - add support for '+' command-line prefix.
41003955d011SMarcel Moolenaar	  o fix for handling '--' on command-line.
41013955d011SMarcel Moolenaar	  o fix include in lst.lib/lstInt.h to simplify '-I's
41023955d011SMarcel Moolenaar	  o we also picked up replacement of MAKE_BOOTSTRAP
41033955d011SMarcel Moolenaar	    with !MAKE_NATIVE which is a noop, but possibly confusing.
41043955d011SMarcel Moolenaar
41053955d011SMarcel Moolenaar2004-04-14  Simon J. Gerraty  <sjg@void.crufty.net>
41063955d011SMarcel Moolenaar
41073955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040414
41083955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
41093955d011SMarcel Moolenaar	  o allow quoted strings on lhs of conditionals
41103955d011SMarcel Moolenaar	  o issue warning when extra .else is seen
41113955d011SMarcel Moolenaar	  o print line numer when errors encountered during parsing from
41123955d011SMarcel Moolenaar	  string.
41133955d011SMarcel Moolenaar
41143955d011SMarcel Moolenaar2004-02-20  Simon J. Gerraty  <sjg@void.crufty.net>
41153955d011SMarcel Moolenaar
41163955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump to 20040220
41173955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
41183955d011SMarcel Moolenaar	  o fix for old :M parsing bug.
41193955d011SMarcel Moolenaar	  o re-jigged unit-tests
41203955d011SMarcel Moolenaar
41213955d011SMarcel Moolenaar2004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
41223955d011SMarcel Moolenaar
41233955d011SMarcel Moolenaar	* Makefile.in (accept test): use ${.MAKE:S,^./,${.CURDIR}/,}
41243955d011SMarcel Moolenaar	so that './bmake -f Makefile test' works.
41253955d011SMarcel Moolenaar
41263955d011SMarcel Moolenaar2004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
41273955d011SMarcel Moolenaar
41283955d011SMarcel Moolenaar	* Makefile.in: (BMAKE_VERSION): bump to 20040214
41293955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
41303955d011SMarcel Moolenaar	  o search upwards for *.mk
41313955d011SMarcel Moolenaar	  o fix for double free of var substitution buffers
41323955d011SMarcel Moolenaar	  o use of getopt replaced with custom code, since the usage
41333955d011SMarcel Moolenaar	  (re-scanning) isn't posix compatible.
41343955d011SMarcel Moolenaar
41353955d011SMarcel Moolenaar2004-02-12  Simon J. Gerraty  <sjg@void.crufty.net>
41363955d011SMarcel Moolenaar
41373955d011SMarcel Moolenaar	* arch.c: don't include ranlib.h on ELF systems
41383955d011SMarcel Moolenaar	(thanks to Chuck Cranor <chuck@ece.cmu.edu>).
41393955d011SMarcel Moolenaar
41403955d011SMarcel Moolenaar2004-01-18  Simon J. Gerraty  <sjg@void.crufty.net>
41413955d011SMarcel Moolenaar
41423955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040118
41433955d011SMarcel Moolenaar
41443955d011SMarcel Moolenaar	* boot-strap (while): export vars we assign to on cmdline
41453955d011SMarcel Moolenaar	* unit-test/Makefile.in: ternary is .PHONY
41463955d011SMarcel Moolenaar
41473955d011SMarcel Moolenaar2004-01-08  Simon J. Gerraty  <sjg@void.crufty.net>
41483955d011SMarcel Moolenaar
41493955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20040108
41503955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
41513955d011SMarcel Moolenaar	  o fix for ternary modifier
41523955d011SMarcel Moolenaar
41533955d011SMarcel Moolenaar2004-01-06  Simon J. Gerraty  <sjg@void.crufty.net>
41543955d011SMarcel Moolenaar
41553955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20040105
41563955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
41573955d011SMarcel Moolenaar	  o fix for cond.c to handle compound expressions better
41583955d011SMarcel Moolenaar	  o variable expansion within sysV style replacements
41593955d011SMarcel Moolenaar
41603955d011SMarcel Moolenaar2003-12-22  Simon J. Gerraty  <sjg@void.crufty.net>
41613955d011SMarcel Moolenaar
41623955d011SMarcel Moolenaar	* Make portable snprintf safer - output to /dev/null first to
41633955d011SMarcel Moolenaar	check space needed.
41643955d011SMarcel Moolenaar
41653955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20031222
41663955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
41673955d011SMarcel Moolenaar	  o -dg3 to show input graph when things go wrong.
41683955d011SMarcel Moolenaar	  o explicitly look for makefiles in objdir if not found in curdir so
41693955d011SMarcel Moolenaar	    that errors in .depend etc will be reported accurarely.
41703955d011SMarcel Moolenaar	  o avoid use of -e in shell scripts in jobs mode, use '|| exit $?'
41713955d011SMarcel Moolenaar	    instead as it more accurately reflects the expected behavior and
41723955d011SMarcel Moolenaar	    is more consistently implemented.
41733955d011SMarcel Moolenaar	  o avoid use of asprintf.
41743955d011SMarcel Moolenaar
41753955d011SMarcel Moolenaar2003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
41763955d011SMarcel Moolenaar
41773955d011SMarcel Moolenaar	* util.c: Add asprintf and vasprintf.
41783955d011SMarcel Moolenaar
41793955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030928
41803955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
41813955d011SMarcel Moolenaar	:[] modifier - allows picking words from a variable.
41823955d011SMarcel Moolenaar	:tW modifier - allows treating value as one big word.
41833955d011SMarcel Moolenaar	W flag for :C and :S - allows treating value as one big word.
41843955d011SMarcel Moolenaar
41853955d011SMarcel Moolenaar2003-09-12  Simon J. Gerraty  <sjg@void.crufty.net>
41863955d011SMarcel Moolenaar
41873955d011SMarcel Moolenaar	* Merge with NetBSD make
41883955d011SMarcel Moolenaar	pick up -de flag to enable printing failed command.
41893955d011SMarcel Moolenaar	don't skip 1st two dir entries (normally . and ..) since
41903955d011SMarcel Moolenaar	coda does not have them.
41913955d011SMarcel Moolenaar
41923955d011SMarcel Moolenaar2003-09-09  Simon J. Gerraty  <sjg@void.crufty.net>
41933955d011SMarcel Moolenaar
41943955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030909
41953955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
41963955d011SMarcel Moolenaar	- changes for -V '${VAR}' to print fully expanded value
41973955d011SMarcel Moolenaar	  cf. -V VAR
41983955d011SMarcel Moolenaar	- CompatRunCommand now prints the command that failed.
41993955d011SMarcel Moolenaar	- several files got updated 3 clause Berkeley license.
42003955d011SMarcel Moolenaar
42013955d011SMarcel Moolenaar2003-08-02  Simon J. Gerraty  <sjg@void.crufty.net>
42023955d011SMarcel Moolenaar
42033955d011SMarcel Moolenaar	* boot-strap: Allow setting configure args on command line.
42043955d011SMarcel Moolenaar
42053955d011SMarcel Moolenaar2003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
42063955d011SMarcel Moolenaar
42073955d011SMarcel Moolenaar	* configure.in: add --with-defshell to allow sh or ksh
42083955d011SMarcel Moolenaar	to be selected as default shell.
42093955d011SMarcel Moolenaar
42103955d011SMarcel Moolenaar	* Makefile.in: bump version to 20030731
42113955d011SMarcel Moolenaar
42123955d011SMarcel Moolenaar	* Merge with NetBSD make
42133955d011SMarcel Moolenaar	Pick up .SHELL spec for ksh and associate man page changes.
42143955d011SMarcel Moolenaar	Also compat mode now uses the same shell specs.
42153955d011SMarcel Moolenaar
42163955d011SMarcel Moolenaar2003-07-29  Simon J. Gerraty  <sjg@void.crufty.net>
42173955d011SMarcel Moolenaar
42183955d011SMarcel Moolenaar	* var.c (Var_Parse): ensure delim is initialized.
42193955d011SMarcel Moolenaar
42203955d011SMarcel Moolenaar	* unit-tests/Makefile.in: use single quotes to avoid problems from
42213955d011SMarcel Moolenaar	some shells.
42223955d011SMarcel Moolenaar
42233955d011SMarcel Moolenaar	* makefile.boot.in:
42243955d011SMarcel Moolenaar	Run the unit-tests as part of the bootstrap procedure.
42253955d011SMarcel Moolenaar
42263955d011SMarcel Moolenaar2003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
42273955d011SMarcel Moolenaar
42283955d011SMarcel Moolenaar	* unit-tests/Makefile.in: always force complaints from
42293955d011SMarcel Moolenaar	${TEST_MAKE} to be from 'make'.
42303955d011SMarcel Moolenaar
42313955d011SMarcel Moolenaar	* configure.in: add check for 'diff -u'
42323955d011SMarcel Moolenaar	also fix some old autoconf'isms
42333955d011SMarcel Moolenaar
42343955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030728.
42353955d011SMarcel Moolenaar	if using GCC add -Wno-cast-qual to CFLAGS for var.o
42363955d011SMarcel Moolenaar
42373955d011SMarcel Moolenaar	* Merge with NetBSD make
42383955d011SMarcel Moolenaar	Pick up fix for :ts parsing error in some cases.
42393955d011SMarcel Moolenaar	Pick unit-tests.
42403955d011SMarcel Moolenaar
42413955d011SMarcel Moolenaar2003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
42423955d011SMarcel Moolenaar
42433955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030723.
42443955d011SMarcel Moolenaar
42453955d011SMarcel Moolenaar	* var.c (Var_Parse): fix bug in :ts modifier, after const
42463955d011SMarcel Moolenaar	correctness fixes, must pass nstr to VarModify.
42473955d011SMarcel Moolenaar
42483955d011SMarcel Moolenaar2003-07-14  Simon J. Gerraty  <sjg@void.crufty.net>
42493955d011SMarcel Moolenaar
42503955d011SMarcel Moolenaar	* Makefile.in: BMAKE_VERSION switch to a date based version.
42513955d011SMarcel Moolenaar	We'll generally use the date of last import from NetBSD.
42523955d011SMarcel Moolenaar
42533955d011SMarcel Moolenaar	* Merge with NetBSD make
42543955d011SMarcel Moolenaar	Pick up fixes for const-correctness, now passes WARNS=3 on
42553955d011SMarcel Moolenaar	NetBSD.
42563955d011SMarcel Moolenaar	Pick up :ts modifier, allows controlling the separator used
42573955d011SMarcel Moolenaar	between words in variable expansion.
42583955d011SMarcel Moolenaar
42593955d011SMarcel Moolenaar2003-07-11  Simon J. Gerraty  <sjg@void.crufty.net>
42603955d011SMarcel Moolenaar
42613955d011SMarcel Moolenaar	* FILES: include boot-strap and os.sh
42623955d011SMarcel Moolenaar
42633955d011SMarcel Moolenaar	* Makefile.in: only set WARNS if we are NetBSD, the effect on
42643955d011SMarcel Moolenaar	FreeBSD is known to be bad.
42653955d011SMarcel Moolenaar
42663955d011SMarcel Moolenaar	* makefile.boot.in (bootstrap): make this the default target.
42673955d011SMarcel Moolenaar
42683955d011SMarcel Moolenaar	* Makefile.in: bump version to 3.1.19
42693955d011SMarcel Moolenaar
42703955d011SMarcel Moolenaar	* machine.sh: avoid A-Z with tr as it is bound to lose.
42713955d011SMarcel Moolenaar
42723955d011SMarcel Moolenaar2003-07-10  Simon J. Gerraty  <sjg@void.crufty.net>
42733955d011SMarcel Moolenaar
42743955d011SMarcel Moolenaar	* Merge with NetBSD make
42753955d011SMarcel Moolenaar	Pick up fix for PR/19781 - unhelpful error msg on unclosed ${var:foo
42763955d011SMarcel Moolenaar	Plus some doc fixes.
42773955d011SMarcel Moolenaar
42783955d011SMarcel Moolenaar2003-04-27  Simon J. Gerraty  <sjg@void.crufty.net>
42793955d011SMarcel Moolenaar
42803955d011SMarcel Moolenaar	* Merge with NetBSD make
42813955d011SMarcel Moolenaar	Pick up fix for PR/1523 - don't count a library as built, if there
42823955d011SMarcel Moolenaar	is no way to build it
42833955d011SMarcel Moolenaar
42843955d011SMarcel Moolenaar	* Bump version to 3.1.18
42853955d011SMarcel Moolenaar
42863955d011SMarcel Moolenaar2003-03-23  Simon J. Gerraty  <sjg@void.crufty.net>
42873955d011SMarcel Moolenaar
42883955d011SMarcel Moolenaar	* Merge with NetBSD make
42893955d011SMarcel Moolenaar	Pick up fix for ParseDoSpecialSrc - we only use it if .WAIT
42903955d011SMarcel Moolenaar	appears in src list.
42913955d011SMarcel Moolenaar
42923955d011SMarcel Moolenaar2003-03-21  Simon J. Gerraty  <sjg@void.crufty.net>
42933955d011SMarcel Moolenaar
42943955d011SMarcel Moolenaar	* Merge with NetBSD make (mmm 10th anniversary!)
42953955d011SMarcel Moolenaar	pick up fix for .WAIT in srcs that refer to $@ or $* (PR#20828)
42963955d011SMarcel Moolenaar	pick up -X which tells us to not export VAR=val via setenv if
42973955d011SMarcel Moolenaar	we are already doing so via MAKEFLAGS.  This saves valuable env
42983955d011SMarcel Moolenaar	space on systems like Darwin.
42993955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.17
43003955d011SMarcel Moolenaar
43013955d011SMarcel Moolenaar	* parse.c: pix up fix for suffix rules
43023955d011SMarcel Moolenaar
43033955d011SMarcel Moolenaar2003-03-06  Simon J. Gerraty  <sjg@void.crufty.net>
43043955d011SMarcel Moolenaar
43053955d011SMarcel Moolenaar	* Merge with NetBSD make.
43063955d011SMarcel Moolenaar	pick up fix for propagating -B via MAKEFLAGS.
43073955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.16
43083955d011SMarcel Moolenaar
43093955d011SMarcel Moolenaar	* Apply some patches from pkgsrc-bootstrap/bmake
43103955d011SMarcel Moolenaar	Originally by Grant Beattie <grant@netbsd.org>
43113955d011SMarcel Moolenaar	I may have missed some - since they are based on bmake-3.1.12
43123955d011SMarcel Moolenaar
43133955d011SMarcel Moolenaar2002-12-03  Simon J. Gerraty  <sjg@void.crufty.net>
43143955d011SMarcel Moolenaar
43153955d011SMarcel Moolenaar	* makefile.boot.in (bmake): update install targets for those that
43163955d011SMarcel Moolenaar	use them, also clear MAKEFLAGS when invoking bmake.boot to avoid
43173955d011SMarcel Moolenaar	havoc from gmake -w.  Thanks to Harlan Stenn <hstenn@cisco.com>.
43183955d011SMarcel Moolenaar
43193955d011SMarcel Moolenaar	* bmake.cat1: update the pre-formatted man page!
43203955d011SMarcel Moolenaar
43213955d011SMarcel Moolenaar2002-11-30  Simon J. Gerraty  <sjg@void.crufty.net>
43223955d011SMarcel Moolenaar
43233955d011SMarcel Moolenaar	* Merge with NetBSD make.
43243955d011SMarcel Moolenaar	pick up fix for premature free of pointer used in call
43253955d011SMarcel Moolenaar	to Dir_InitCur().
43263955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.15
43273955d011SMarcel Moolenaar
43283955d011SMarcel Moolenaar2002-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
43293955d011SMarcel Moolenaar
43303955d011SMarcel Moolenaar	* configure.in: determine suitable value for MKSRC.
43313955d011SMarcel Moolenaar	override using --with-mksrc=PATH.
43323955d011SMarcel Moolenaar
43333955d011SMarcel Moolenaar	* machine.sh: use `uname -p` for MACHINE_ARCH on modern SunOS systems.
43343955d011SMarcel Moolenaar	configs(8) will use 'sun4' as an alias for 'sparc'.
43353955d011SMarcel Moolenaar
43363955d011SMarcel Moolenaar2002-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
43373955d011SMarcel Moolenaar
43383955d011SMarcel Moolenaar	* Merge with NetBSD make.
43393955d011SMarcel Moolenaar	pick up ${.PATH}
43403955d011SMarcel Moolenaar	pick up fix for finding ../cat.c via .PATH when .CURDIR=..
43413955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.14
43423955d011SMarcel Moolenaar	add configure checks for killpg and sys/socket.h
43433955d011SMarcel Moolenaar
43443955d011SMarcel Moolenaar2002-09-16  Simon J. Gerraty  <sjg@void.crufty.net>
43453955d011SMarcel Moolenaar
43463955d011SMarcel Moolenaar	* tag bmake-3-1-13
43473955d011SMarcel Moolenaar
43483955d011SMarcel Moolenaar	* makefile.boot.in (bmake): use install-mk
43493955d011SMarcel Moolenaar	Also setup ./mk before trying to invoke bmake.boot incase we
43503955d011SMarcel Moolenaar	needed install-mk to create a sys.mk for us.
43513955d011SMarcel Moolenaar
43523955d011SMarcel Moolenaar	* configure.in: If we need to add -I${srcdir}/missing, make it an
43533955d011SMarcel Moolenaar	absolute path so that it works for lst.lib too.
43543955d011SMarcel Moolenaar
43553955d011SMarcel Moolenaar	* make.h: always include sys/cdefs.h since we provide one if the
43563955d011SMarcel Moolenaar	host does not.
43573955d011SMarcel Moolenaar
43583955d011SMarcel Moolenaar	* Makefile.in (install-mk):
43593955d011SMarcel Moolenaar	use MKSRC/install-mk which will do the right thing.
43603955d011SMarcel Moolenaar	use uname -p for ARCH if possible.
43613955d011SMarcel Moolenaar	since install-mk will setup links bsd.prog.mk -> prog.mk if
43623955d011SMarcel Moolenaar	needed, just .include bsd.prog.mk
43633955d011SMarcel Moolenaar
43643955d011SMarcel Moolenaar	* Merge with NetBSD make (NetBSD-1.6)
43653955d011SMarcel Moolenaar	Code is ansi-C only now.
43663955d011SMarcel Moolenaar	Bug in handling of dotLast is fixed.
43673955d011SMarcel Moolenaar	Can now assign .OBJDIR and make will reset its notions of life.
43683955d011SMarcel Moolenaar	New modifiers :tu :tl for toUpper and toLower.
43693955d011SMarcel Moolenaar
43703955d011SMarcel MoolenaarTue Oct 16 12:18:42 2001  Simon J. Gerraty  <sjg@zen.crufty.net>
43713955d011SMarcel Moolenaar
43723955d011SMarcel Moolenaar	* Merge with NetBSD make
43733955d011SMarcel Moolenaar	pick up fix for .END failure in compat mode.
43743955d011SMarcel Moolenaar	pick up fix for extra va_end() in ParseVErrorInternal.
43753955d011SMarcel Moolenaar
43763955d011SMarcel MoolenaarThu Oct 11 13:20:06 2001  Simon J. Gerraty  <sjg@zen.crufty.net>
43773955d011SMarcel Moolenaar
43783955d011SMarcel Moolenaar	* configure.in: for systems that have sys/cdefs.h check if it is
43793955d011SMarcel Moolenaar	compatible.  If not, include the one under missing, but tell it to
43803955d011SMarcel Moolenaar	include the native one too - necessary on Linux.
43813955d011SMarcel Moolenaar
43823955d011SMarcel Moolenaar	* missing/sys/cdefs.h: if NEED_HOST_CDEFS_H is defined, use
43833955d011SMarcel Moolenaar	include_next (for gcc) to get the native sys/cdefs.h
43843955d011SMarcel Moolenaar
43853955d011SMarcel MoolenaarTue Aug 21 02:29:34 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
43863955d011SMarcel Moolenaar
43873955d011SMarcel Moolenaar	* job.c (JobFinish): Fix an earlier merge bug that resulted in
43883955d011SMarcel Moolenaar	leaking descriptors when using -jN.
43893955d011SMarcel Moolenaar
43903955d011SMarcel Moolenaar	* job.c (JobPrintCommand): See if "curdir" exists before
43913955d011SMarcel Moolenaar	attempting to chdir().  Doing the chdir directly in make (when in
43923955d011SMarcel Moolenaar	compat mode) fails silently, so let the -jN version do the same.
43933955d011SMarcel Moolenaar	This can happen when building kernels in an object tree and
43943955d011SMarcel Moolenaar	playing clever games to reset .CURDIR.
43953955d011SMarcel Moolenaar
43963955d011SMarcel Moolenaar	* Merged with NetBSD make
43973955d011SMarcel Moolenaar	pick up .USEBEFORE
43983955d011SMarcel Moolenaar
43993955d011SMarcel MoolenaarTue Jun 26 23:45:11 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
44003955d011SMarcel Moolenaar
44013955d011SMarcel Moolenaar	* makefile.boot.in: Give bmake.boot a MAKESYSPATH that might work.
44023955d011SMarcel Moolenaar
44033955d011SMarcel MoolenaarTue Jun 12 16:48:57 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
44043955d011SMarcel Moolenaar
44053955d011SMarcel Moolenaar	* var.c (Var_Set): Add 4th (flags) arg so VarLoopExpand can tell
44063955d011SMarcel Moolenaar	us not to export the iterator variable when using VAR_CMD context.
44073955d011SMarcel Moolenaar
44083955d011SMarcel MoolenaarSun Jun 10 21:55:21 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
44093955d011SMarcel Moolenaar
44103955d011SMarcel Moolenaar	* job.c (Job_CatchChildren): don't call Job_CatchOutput() here,
44113955d011SMarcel Moolenaar	its the wrong "fix".
44123955d011SMarcel Moolenaar
44133955d011SMarcel MoolenaarSat Jun  9 00:11:24 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
44143955d011SMarcel Moolenaar
44153955d011SMarcel Moolenaar	* Redesigned export of VAR_CMD's via MAKEFLAGS.
44163955d011SMarcel Moolenaar	We now simply append the variable names to .MAKEOVERRIDES, and
44173955d011SMarcel Moolenaar	handle duplicate suppression and quoting in ExportMAKEFLAGS using:
44183955d011SMarcel Moolenaar	${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@}
44193955d011SMarcel Moolenaar	Apart from fixing quoting bugs in previous version, this allows us
44203955d011SMarcel Moolenaar	to export vars to the environment by simply doing:
44213955d011SMarcel Moolenaar	.MAKEOVERRIDES+= PATH
44223955d011SMarcel Moolenaar	Merged again with NetBSD make, but the above is the only change.
44233955d011SMarcel Moolenaar
44243955d011SMarcel Moolenaar	* configure.in: added
44253955d011SMarcel Moolenaar	--disable-pwd-override		disable $PWD overriding getcwd()
44263955d011SMarcel Moolenaar	--disable-check-make-chdir	disable make trying to guess
44273955d011SMarcel Moolenaar		when it should automatically cd ${.CURDIR}
44283955d011SMarcel Moolenaar
44293955d011SMarcel Moolenaar	* Merge with NetBSD make, changes include:
44303955d011SMarcel Moolenaar	parse.c (ParseDoDependency): Spot that the syntax error is
44313955d011SMarcel Moolenaar	caused by an unresolved cvs/rcs conflict and say so.
44323955d011SMarcel Moolenaar	var.c: most of Var* functions now take a ctxt as 1st arg.
44333955d011SMarcel Moolenaar	now does variable substituion on rhs of sysv style modifiers.
44343955d011SMarcel Moolenaar
44353955d011SMarcel Moolenaar	* var.c (Var_Set): exporting of command line variables (VAR_CMD)
44363955d011SMarcel Moolenaar	is now done here.  We append the name='value' to .MAKEOVERRIDES
44373955d011SMarcel Moolenaar	rather than directly into MAKEFLAGS as this allows a Makefile to
44383955d011SMarcel Moolenaar	use .MAKEOVERRIDES= to disable this behaviour.  GNU make uses a
44393955d011SMarcel Moolenaar	very similar mechanism.  Note that in adding name='value' to
44403955d011SMarcel Moolenaar	.MAKEOVERRIDES we do the moral equivalent of:
44413955d011SMarcel Moolenaar	.MAKEOVERRIDES:= ${.MAKEOVERRIDES:Nname=*} name='val'
44423955d011SMarcel Moolenaar
44433955d011SMarcel MoolenaarFri Jun  1 14:08:02 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
44443955d011SMarcel Moolenaar
44453955d011SMarcel Moolenaar	* make-conf.h (USE_IOVEC): make it conditional on HAVE_SYS_UIO_H
44463955d011SMarcel Moolenaar
44473955d011SMarcel Moolenaar	* Merged with NetBSD make
44483955d011SMarcel Moolenaar	make -dx can now be used to run commands via sh -x
44493955d011SMarcel Moolenaar	better error messages on exec failures.
44503955d011SMarcel Moolenaar
44513955d011SMarcel MoolenaarThu May 31 01:44:54 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
44523955d011SMarcel Moolenaar
44533955d011SMarcel Moolenaar	* Makefile.in (main.o): depends on ${SRCS} ${MAKEFILE} so that
44543955d011SMarcel Moolenaar	MAKE_VERSION gets updated.  Also don't use ?= for MAKE_VERSION,
44553955d011SMarcel Moolenaar	MACHINE etc otherwise they propagate from the previous bmake.
44563955d011SMarcel Moolenaar
44573955d011SMarcel Moolenaar	* configure.in (machine): allow --with-machine=generic to make
44583955d011SMarcel Moolenaar	configure use machine.sh to set MACHINE.
44593955d011SMarcel Moolenaar
44603955d011SMarcel Moolenaar	* job.c (JobInterrupt): convert to using WAIT_T and friends.
44613955d011SMarcel Moolenaar
44623955d011SMarcel Moolenaar	* Makefile.in: mention in bmake.1 that we use autoconf.
44633955d011SMarcel Moolenaar
44643955d011SMarcel Moolenaar	* make.1: mention MAKE_PRINT_VAR_ON_ERROR.
44653955d011SMarcel Moolenaar
44663955d011SMarcel MoolenaarWed May 30 23:17:18 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
44673955d011SMarcel Moolenaar
44683955d011SMarcel Moolenaar	* main.c (ReadMakefile): don't set MAKEFILE if reading ".depend"
44693955d011SMarcel Moolenaar	as that rather defeats the usefulness of ${MAKEFILE}.
44703955d011SMarcel Moolenaar
44713955d011SMarcel Moolenaar	* main.c (MainParseArgs): append command line variable assignments
44723955d011SMarcel Moolenaar	to MAKEFLAGS so that they get propagated to child make's.
44733955d011SMarcel Moolenaar	Apparently this is required POSIX behaviour?  Its useful anyway.
44743955d011SMarcel Moolenaar
44753955d011SMarcel MoolenaarTue May 29 02:20:07 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
44763955d011SMarcel Moolenaar
44773955d011SMarcel Moolenaar	* compat.c (CompatRunCommand): don't use perror() since stdio may
44783955d011SMarcel Moolenaar	cause problems in child of vfork().
44793955d011SMarcel Moolenaar
44803955d011SMarcel Moolenaar	* compat.c, main.c: Call PrintOnError() when we are going to bail.
44813955d011SMarcel Moolenaar	This routine prints out the .curdir where we stopped and will also
44823955d011SMarcel Moolenaar	display any vars listed in ${MAKE_PRINT_VAR_ON_ERROR}.
44833955d011SMarcel Moolenaar
44843955d011SMarcel Moolenaar	* main.c: add ${.newline} to hold a "\n" - sometimes handy in
44853955d011SMarcel Moolenaar	:@ expansion.
44863955d011SMarcel Moolenaar
44873955d011SMarcel Moolenaar	* var.c: VarLoopExpand: ignore addSpace if a \n is present.
44883955d011SMarcel Moolenaar
44893955d011SMarcel Moolenaar	* Added RCSid's for the files we've touched.
44903955d011SMarcel Moolenaar
44913955d011SMarcel MoolenaarThu May 24 15:41:37 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
44923955d011SMarcel Moolenaar
44933955d011SMarcel Moolenaar	* configure.in:	Thanks to some clues from mdb@juniper.net,
44943955d011SMarcel Moolenaar	added autoconf magic to control setting of MACHINE, MACHINE_ARCH
44953955d011SMarcel Moolenaar	as well as what ends up in _PATH_DEFSYSPATH.  We now have:
44963955d011SMarcel Moolenaar
44973955d011SMarcel Moolenaar  --with-machine=MACHINE  explicitly set MACHINE
44983955d011SMarcel Moolenaar  --with-force-machine=MACHINE  set FORCE_MACHINE
44993955d011SMarcel Moolenaar  --with-machine_arch=MACHINE_ARCH  explicitly set MACHINE_ARCH
45003955d011SMarcel Moolenaar  --with-default-sys-path=PATH:DIR:LIST  use an explicit _PATH_DEFSYSPATH
45013955d011SMarcel Moolenaar  --with-prefix-sys-path=PATH:DIR:LIST  prefix _PATH_PREFIX_SYSPATH
45023955d011SMarcel Moolenaar  --with-path-objdirprefix=PATH  override _PATH_OBJDIRPREFIX
45033955d011SMarcel Moolenaar
45043955d011SMarcel Moolenaar	If _PATH_OBJDIRPREFIX is set to "no" we won't define it.
45053955d011SMarcel Moolenaar
45063955d011SMarcel Moolenaar	* makefile: added a pathetically simple makefile to drive
45073955d011SMarcel Moolenaar	bootstrapping.  Running configure by hand is more useful.
45083955d011SMarcel Moolenaar
45093955d011SMarcel Moolenaar	* Makefile.in: added MAKE_VERSION, and reworked things to be less
45103955d011SMarcel Moolenaar	dependent on NetBSD bsd.*.mk
45113955d011SMarcel Moolenaar
45123955d011SMarcel Moolenaar	* pathnames.h: allow NO_PATH_OBJDIRPREFIX to stop us defining
45133955d011SMarcel Moolenaar	_PATH_OBJDIRPREFIX for those that don't want a default.
45143955d011SMarcel Moolenaar	construct _PATH_DEFSYSPATH from the info we get from configure.
45153955d011SMarcel Moolenaar
45163955d011SMarcel Moolenaar	* main.c: allow for no _PATH_OBJDIRPREFIX, set ${MAKE_VERSION}
45173955d011SMarcel Moolenaar	if MAKE_VERSION is defined.
45183955d011SMarcel Moolenaar
45193955d011SMarcel Moolenaar	* compat.c: when we bail, print out the .CURDIR we were in.
45203955d011SMarcel Moolenaar
45213955d011SMarcel MoolenaarSat May 12 00:34:12 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
45223955d011SMarcel Moolenaar
45233955d011SMarcel Moolenaar	* Merged with NetBSD make
45243955d011SMarcel Moolenaar
45253955d011SMarcel Moolenaar	* var.c: fixed a bug in the handling of the modifier :P
45263955d011SMarcel Moolenaar	if the node as found but the path was null, we segfault trying to
45273955d011SMarcel Moolenaar	duplicate it.
45283955d011SMarcel Moolenaar
45293955d011SMarcel MoolenaarMon Mar  5 16:20:33 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
45303955d011SMarcel Moolenaar
45313955d011SMarcel Moolenaar	* Merged with NetBSD make
45323955d011SMarcel Moolenaar
45333955d011SMarcel Moolenaar	* make.c: Make_OODate's test for a library out of date was using
45343955d011SMarcel Moolenaar	cmtime where it should have used mtime (my bug).
45353955d011SMarcel Moolenaar
45363955d011SMarcel Moolenaar	* compat.c: Use perror() to tell us what really went wrong when we
45373955d011SMarcel Moolenaar	cannot exec a command.
45383955d011SMarcel Moolenaar
45393955d011SMarcel MoolenaarFri Dec 15 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
45403955d011SMarcel Moolenaar
45413955d011SMarcel Moolenaar	* Merged with NetBSD make
45423955d011SMarcel Moolenaar
45433955d011SMarcel MoolenaarSat Jun 10 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
45443955d011SMarcel Moolenaar
45453955d011SMarcel Moolenaar	* Merged with NetBSD make
45463955d011SMarcel Moolenaar
45473955d011SMarcel MoolenaarThu Jun  1 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
45483955d011SMarcel Moolenaar
45493955d011SMarcel Moolenaar	* Merged with NetBSD make
45503955d011SMarcel Moolenaar
45513955d011SMarcel MoolenaarTue May 30 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
45523955d011SMarcel Moolenaar
45533955d011SMarcel Moolenaar	* Merged with NetBSD make
45543955d011SMarcel Moolenaar
45553955d011SMarcel MoolenaarThu Apr 27 00:07:47 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
45563955d011SMarcel Moolenaar
45573955d011SMarcel Moolenaar	* util.c: don't provide signal() since we use sigcompat.c
45583955d011SMarcel Moolenaar
45593955d011SMarcel Moolenaar	* Makefile.in: added a build target.
45603955d011SMarcel Moolenaar
45613955d011SMarcel Moolenaar	* var.c (Var_Parse): added ODE modifiers :U, :D, :L, :P, :@ and :!
45623955d011SMarcel Moolenaar	These allow some quite clever magic.
45633955d011SMarcel Moolenaar
45643955d011SMarcel Moolenaar	* main.c (main): added support for getenv(MAKESYSPATH).
45653955d011SMarcel Moolenaar
45663955d011SMarcel MoolenaarMon Apr  2 16:25:13 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
45673955d011SMarcel Moolenaar
45683955d011SMarcel Moolenaar	* Disable $PWD overriding getcwd() if MAKEOBJDIRPREFIX is set.
45693955d011SMarcel Moolenaar	This avoids objdir having a different value depending on how a
45703955d011SMarcel Moolenaar	directory was reached (via command line, or subdir.mk).
45713955d011SMarcel Moolenaar
45723955d011SMarcel Moolenaar	* If FORCE_MACHINE is defined, ignore getenv("MACHINE").
45733955d011SMarcel Moolenaar
45743955d011SMarcel MoolenaarMon Apr  2 23:15:31 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
45753955d011SMarcel Moolenaar
45763955d011SMarcel Moolenaar	* Do a chdir(${.CURDIR}) before invoking ${.MAKE} or ${.MAKE:T} if
45773955d011SMarcel Moolenaar	MAKEOBJDIRPREFIX is set and NOCHECKMAKECHDIR is not.
45783955d011SMarcel Moolenaar	I've been testing this in NetBSD's make for some weeks.
45793955d011SMarcel Moolenaar
45803955d011SMarcel Moolenaar	* Turn Makefile into Makefile.in and make it useful.
45813955d011SMarcel Moolenaar
45823955d011SMarcel MoolenaarTue Feb 29 22:08:00 2000 Simon J. Gerraty  <sjg@zen.quick.com.au>
45833955d011SMarcel Moolenaar
45843955d011SMarcel Moolenaar	* Imported NetBSD's -current make(1) and resolve conflicts.
45853955d011SMarcel Moolenaar
45863955d011SMarcel Moolenaar	* Applied autoconf patches from bmake v2
45873955d011SMarcel Moolenaar
45883955d011SMarcel Moolenaar	* Imported clean code base from NetBSD-1.0
4589