xref: /freebsd/contrib/bmake/ChangeLog (revision 895f86f15fbf6540071feb9328c3c50ed1f027b8)
12015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
2
3	* Makefile (MAKE_VERSION): 20151020
4	  Merge with NetBSD make, pick up
5	  o var.c: fix uninitialized var
6
72015-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
8
9	* var.c: the conditional expressions used with ':?' can be
10	expensive, if already discarding do not evaluate or expand
11	anything.
12
132015-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
14
15	* Makefile (MAKE_VERSION): 20151010
16	  Merge with NetBSD make, pick up
17	  o Add Boolean wantit flag to Var_Subst and Var_Parse
18	    when FALSE we know we are discarding the result and can
19	    skip operations like Cmd_Exec.
20
212015-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>
22
23	* Makefile (MAKE_VERSION): 20151009
24	  Merge with NetBSD make, pick up
25	  o var.c: don't check for NULL before free()
26	  o meta.c: meta_oodate, do not hard code ignore of makeDependfile
27
282015-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>
29
30	* Makefile (MAKE_VERSION): 20150910
31	  Merge with NetBSD make, pick up
32	  o main.c: with -w print Enter/Leaving messages for objdir too
33	    if necessary.
34	  o centralize shell metachar handling
35
36	* FILES: add metachar.[ch]
37
382015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
39
40	* Makefile (MAKE_VERSION): 20150606
41	  Merge with NetBSD make, pick up
42	  o make.1: document .OBJDIR target
43
442015-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
45
46	* Makefile (MAKE_VERSION): 20150505
47	  Merge with NetBSD make, pick up
48	  o cond.c: be strict about lhs of comparison when evaluating .if
49	    but less so when called from variable expansion.
50	  o unit-tests/cond2.mk: test various error conditions
51
522015-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
53
54	* machine.sh (MACHINE): Add Bitrig
55	  patch from joerg@netbsd.org
56
572015-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
58
59	* Makefile (MAKE_VERSION): 20150418
60	  Merge with NetBSD make, pick up
61	  o job.c: use memmove() rather than memcpy()
62
63	* unit-tests/varshell.mk: SunOS cannot handle the TERMINATED_BY_SIGNAL
64	  case, so skip it.
65
662015-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
67
68	* Makefile (MAKE_VERSION): 20150411
69	  bump version - only mk/ changes.
70
712015-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>
72
73	* Makefile (MAKE_VERSION): 20150410
74	  Merge with NetBSD make, pick up
75	  o document different handling of '-' in jobs mode vs compat
76	  o fix jobs mode so that '-' only applies to whole job
77	    when shell lacks hasErrCtl
78	  o meta.c: use separate vars to track lcwd and latestdir (read)
79	    per process
80
812015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
82
83	* Makefile (MAKE_VERSION): 20150401
84	  Merge with NetBSD make, pick up
85	  o meta.c: close meta file in child
86
87	* Makefile: use BINDIR.bmake if set.
88	  Same for MANDIR and SHAREDIR
89	  Handy for testing release candidates
90	  in various environments.
91
922015-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
93
94	* move initialization of savederr to block where it is used
95	  to avoid spurious warning from gcc5
96
972014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
98
99	* Makefile (MAKE_VERSION): 20141111
100	  just a cooler number
101
1022014-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
103
104	* Makefile (MAKE_VERSION): 20141105
105	  Merge with NetBSD make, pick up
106	  o revert major overhaul of suffix handling
107	    and POSIX compliance - too much breakage
108	    and impossible to make backwards compatible.
109	  o we still have the new unit test structure which is ok.
110	  o meta.c ensure "-- filemon" is at start of line.
111
1122014-09-17  Simon J. Gerraty  <sjg@bad.crufty.net>
113
114	* configure.in: test that result of getconf PATH_MAX is numeric
115	  and discard if not.  Apparently needed for Hurd.
116
1172014-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>
118
119	* Makefile (MAKE_VERSION): 20140830
120	  Merge with NetBSD make, pick up
121	  o major overhaul of suffix handling
122	  o improved POSIX compliance
123	  o overhauled unit-tests
124
1252014-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>
126
127	* Makefile (MAKE_VERSION): 20140620
128	  Merge with NetBSD make, pick up
129	  o var.c return varNoError rather than var_Error for ::= modifiers.
130
1312014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
132
133	* Makefile (MAKE_VERSION): 20140522
134	  Merge with NetBSD make, pick up
135	  o var.c detect some parse errors.
136
1372014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
138
139	* Fix spelling errors - patch from Pedro Giffuni
140
1412014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
142
143	* Makefile (MAKE_VERSION): 20140214
144	  Merge with NetBSD make, pick up
145	  o .INCLUDEFROM*
146	  o use Var_Value to get MAKEOBJDIR[PREFIX]
147	  o reduced realloc'ign in brk_string.
148	* configure.in: add a check for compiler supporting __func__
149
1502014-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>
151
152	* boot-strap: ignore mksrc=none
153
1542014-01-02  Simon J. Gerraty  <sjg@bad.crufty.net>
155
156	* Makefile (DEFAULT_SYS_PATH?): use just ${prefix}/share/mk
157
1582014-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
159
160	* Makefile (MAKE_VERSION): 20140101
161	* configure.in: set bmake_path_max to min(_SC_PATH_MAX,1024)
162	* Makefile.config: defined BMAKE_PATH_MAX to bmake_path_max
163	* make.h: use BMAKE_PATH_MAX if MAXPATHLEN not defined (needed for
164	  Hurd)
165	* configure.in: Add AC_PREREQ and check for
166	  sysctl; patch from Andrew Shadura andrewsh at debian.org
167
1682013-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>
169
170	* Makefile (MAKE_VERSION): 20131010
171	* lose the const from arg to systcl to avoid problems on older BSDs.
172
1732013-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
174
175	* Makefile (MAKE_VERSION): 20131001
176	  Merge with NetBSD make, pick up
177	  o main.c: for NATIVE build sysctl to get MACHINE_ARCH from
178	    hw.machine_arch if necessary.
179	  o meta.c: meta_oodate - need to look at src of Link and target
180	    of Move as well.
181	* main.c: check that CTL_HW and HW_MACHINE_ARCH exist.
182	  provide __arraycount() if needed.
183
1842013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
185
186	* Makefile (MAKE_VERSION): 20130904
187	  Merge with NetBSD make, pick up
188	  o Add VAR_INTERNAL context, so that internal setting of
189	    MAKEFILE does not override value set by makefiles.
190
1912013-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
192
193	* Makefile (MAKE_VERSION): 20130902
194	  Merge with NetBSD make, pick up
195	  o CompatRunCommand: only apply shellErrFlag when errCheck is true
196
1972013-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
198
199	* Makefile (MAKE_VERSION): 20130828
200	  Merge with NetBSD make, pick up
201	  o Fix VAR :sh = syntax from Will Andrews at freebsd.org
202	  o Call Job_SetPrefix() from Job_Init() so makefiles have
203	    opportunity to set .MAKE.JOB.PREFIX
204
2052013-07-30  Simon J. Gerraty  <sjg@bad.crufty.net>
206
207	* Makefile (MAKE_VERSION): 20130730
208	  Merge with NetBSD make, pick up
209	  o Allow suppression of --- job -- tokens by setting
210	    .MAKE.JOB.PREFIX empty.
211
2122013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
213
214	* Makefile (MAKE_VERSION): 20130716
215	  Merge with NetBSD make, pick up
216	  o number of gmake compatibility tweaks
217	    -w for gmake style entering/leaving messages
218	    if .MAKE.LEVEL > 0 indicate it in progname "make[1]" etc.
219	    handle MAKEFLAGS containing only letters.
220	  o when overriding a GLOBAL variable on the command line,
221	    delete it from GLOBAL context so -V doesn't show the wrong
222	    value.
223
2242013-07-06  Simon J. Gerraty  <sjg@bad.crufty.net>
225
226	* configure.in: We don't need MAKE_LEVEL_SAFE anymore.
227
228	* Makefile (MAKE_VERSION): 20130706
229	  Merge with NetBSD make, pick up
230	  o Shell_Init(): export shellErrFlag if commandShell hasErrCtl is
231	    true so that CompatRunCommand() can use it, to ensure
232	    consistent behavior with jobs mode.
233	  o use MAKE_LEVEL_ENV to define the variable to propagate
234	    .MAKE.LEVEL - currently set to MAKELEVEL (same as gmake).
235	  o meta.c: use .MAKE.META.IGNORE_PATHS to allow customization of
236	    paths to ignore.
237
2382013-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
239
240	* Makefile (MAKE_VERSION): 20130604
241	  Merge with NetBSD make, pick up
242	  o job.c: JobCreatePipe: do fcntl() after any tweaking of fd's
243	    to avoid leaking descriptors.
244
2452013-05-28  Simon J. Gerraty  <sjg@bad.crufty.net>
246
247	* Makefile (MAKE_VERSION): 20130528
248	  Merge with NetBSD make, pick up
249	  o var.c: cleanup some left-overs in VarHash()
250
2512013-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
252
253	* Makefile (MAKE_VERSION): 20130520
254	  generate manifest from component FILES rather than have to
255	  update FILES when mk/FILES changes.
256
2572013-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>
258
259	* Makefile (MAKE_VERSION): 20130518
260	  Merge with NetBSD make, pick up
261	  o suff.c: don't skip all processsing for .PHONY targets
262	    else wildcard srcs do not get expanded.
263	  o var.c: expand name of variable to delete if necessary.
264
2652013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
266
267	* Makefile (MAKE_VERSION): 20130330
268	  Merge with NetBSD make, pick up
269	  o meta.c: refine the handling of .OODATE in commands.
270	    Rather than suppress command comparison for the entire script
271	    as though .NOMETA_CMP had been used, only suppress it for the
272	    one command line.
273	    This allows something like ${.OODATE:M.NOMETA_CMP} to be used to
274	    suppress comparison of a command without otherwise affecting it.
275	  o make.1: document that
276
2772013-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
278
279	* Makefile (MAKE_VERSION): 20130321
280	  yes, not quite right but its a cooler number.
281	  Merge with NetBSD make, pick up
282	  o parse.c: fix ParseGmakeExport to be portable
283	    and add a unit-test.
284	* meta.c: call meta_init() before makefiles are read and if built
285	  with filemon support set .MAKE.PATH_FILEMON to _PATH_FILEMON
286	  this let's makefiles test for support.
287	  Call meta_mode_init() to process .MAKE.MODE.
288
2892013-03-13  Simon J. Gerraty  <sjg@bad.crufty.net>
290
291	* Makefile (MAKE_VERSION): 20130305
292	  Merge with NetBSD make, pick up
293	  o run .STALE: target when a dependency from .depend is missing.
294	  o job.c: add Job_RunTarget() for the above and .BEGIN
295
2962013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
297
298	* Makefile (MAKE_VERSION): 20130303
299	  Merge with NetBSD make, pick up
300	  o main.c: set .MAKE.OS to utsname.sysname
301	  o job.c: more checks for read and poll errors
302	  o var.c: lose VarChangeCase() saves 4% time
303
3042013-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
305
306	* boot-strap: remove MAKEOBJDIRPREFIX from environment since we
307	  want to use MAKEOBJDIR
308
3092013-01-27  Simon J. Gerraty  <sjg@bad.crufty.net>
310
311	* Merge with NetBSD make, pick up
312	  o make.1: more info on how shell commands are handled.
313	  o job.c,main.c: detect write errors to job pipes.
314
3152013-01-25  Simon J. Gerraty  <sjg@bad.crufty.net>
316
317	* Makefile (MAKE_VERSION): 20130123
318	  Merge with NetBSD make, pick up
319	  o meta.c: if script uses .OODATE and meta_oodate() decides
320	    rebuild is needed, .OODATE will be empty - set it to .ALLSRC.
321	  o var.c: in debug output indicate which variabale modifiers
322	    apply to.
323	  o remove Check_Cwd logic the makefiles have been fixed.
324
3252012-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
326
327	* makefile.in: add a simple makefile for folk who insist on
328	  ./configure; make; make install
329	  it just runs boot-strap
330	* include mk/* to accommodate the above
331	* boot-strap:  re-work to accommodate the above
332	  mksrc defaults to $Mydir/mk
333	  allow op={configure,build,install,clean,all}
334	  add options to facilitate install
335	* Makefile.config.in: just the bits set by configure
336	* Makefile: bump version to 20121212
337	  abandon Makefile.in (NetBSD Makefile)
338	  leverage mk/* instead
339	* configure.in: ensure srcdir is absolute
340
3412012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
342
343	* Makefile.in (MAKE_VERSION): 20121111
344	  fix generation of bmake.cat1
345
3462012-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
347
348	* Makefile.in (MAKE_VERSION): 20121109
349	  Merge with NetBSD make, pick up
350	  o make.c: MakeBuildChild: return 0 so search continues if a
351	    .ORDER dependency is detected.
352	  o unit-tests/order: test the above
353
3542012-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>
355
356	* Makefile.in (MAKE_VERSION): 20121102
357	  Merge with NetBSD make, pick up
358	  o cond.c: allow cond_state[] to grow.
359	    In meta mode with a very large tree, we can hit the limit
360	    while processing dirdeps.
361
3622012-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
363
364	* Makefile.in: we need to use ${srcdir} not ${.CURDIR}
365
3662012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
367
368	* Makefile.in (MAKE_VERSION): 20121010
369	  o protect syntax that only bmake parses correctly.
370	  o remove auto setting of FORCE_MACHINE, use configure's
371	    --with-force-machine=whatever if that is desired.
372
3732012-10-08  Simon J. Gerraty  <sjg@bad.crufty.net>
374
375	* Makefile.in: do not lose history from make.1 when generating bmake.1
376
3772012-10-07  Simon J. Gerraty  <sjg@bad.crufty.net>
378
379	* Makefile.in (MAKE_VERSION): 20121007
380	  Merge with NetBSD make, pick up
381	  o compat.c: ignore empty commands - same as jobs mode.
382	  o make.1: document meta chars that cause use of shell
383
3842012-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
385
386	* Makefile.in (MAKE_VERSION): bump version to 20120911
387	* bsd.after-import.mk: include Makefile.inc early and allow it to
388	  override PROG
389
3902012-08-31  Simon J. Gerraty  <sjg@bad.crufty.net>
391
392	* Makefile.in (MAKE_VERSION): bump version to 20120831
393	  Merge with NetBSD make, pick up
394	  o cast sizeof() to int for comparison
395	  o minor make.1 tweak
396
3972012-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>
398
399	* Makefile.in (MAKE_VERSION): bump version to 20120830
400	  Merge with NetBSD make, pick up
401	  o .MAKE.EXPAND_VARIABLES knob can control default behavior of -V
402	  o debug flag -dV causes -V to show raw value regardless.
403
4042012-07-05  Simon J. Gerraty  <sjg@bad.crufty.net>
405
406	* bsd.after-import.mk (after-import): ensure unit-tests/Makefile
407	  gets SRCTOP set.
408
4092012-07-04  Simon J. Gerraty  <sjg@bad.crufty.net>
410
411	* Makefile.in (MAKE_VERSION): bump version to 20120704
412	  Merge with NetBSD make, pick up
413	  o Job_ParseShell should call Shell_Init if it has been
414	    previously called.
415	* Makefile.in: set USE_META based on configure result.
416	  also .PARSEDIR is safer indicator of bmake.
417
4182012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
419
420	* Makefile.in: bump version to 20120626
421	  ensure CPPFLAGS is in CFLAGS
422	* meta.c: avoid nested externs
423	* bsd.after-import.mk: avoid ${.CURDIR}/Makefile as target
424
4252012-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>
426
427	* Makefile.in (MAKE_VERSION): bump version to 20120620
428	  Merge with NetBSD make, pick up
429	  o make_malloc.c: avoid including make_malloc.h again
430
431	* Makefile.in: avoid bmake only syntax or protect with
432	  .if defined(.MAKE.LEVEL)
433	* bsd.after-import.mk: replace .-include with .sinclude
434	  ensure? SRCTOP gets a value
435	* configure.in: look for filemon.h in /usr/include/dev/filemon first.
436
4372012-06-19  Simon J. Gerraty  <sjg@bad.crufty.net>
438
439	* Makefile.in (MAKE_VERSION): bump version to 20120612
440	  Merge with NetBSD make, pick up
441	  o use MAKE_ATTR_* rather than those defined by cdefs.h or compiler
442	    for greater portability.
443	  o unit-tests/forloop: check that .for works as expected wrt
444	    number of times and with "quoted strings".
445
4462012-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
447
448	* Makefile.in (MAKE_VERSION): bump version to 20120606
449	  Merge with NetBSD make, pick up
450	  o compat.c: use kill(2) rather than raise(3).
451	* configure.in: look for sys/dev/filemon
452	* bsd.after-import.mk: add a .-include "Makefile.inc" to Makefile
453	  and pass BOOTSTRAP_XTRAS to boot-strap.
454
4552012-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
456
457	* Makefile.in (MAKE_VERSION): bump version to 20120604
458	  Merge with NetBSD make, pick up
459	  o util.c and var.c share same var for tracking if environ
460	    has been reallocated.
461	  o util.c provide getenv with setenv.
462	* Add MAKE_LEVEL_SAFE as an alternate means of passing MAKE_LEVEL
463	  when the shell actively strips .MAKE.* from the environment.
464	  We still refer to the variable always as .MAKE.LEVEL
465	* util.c fix bug in findenv() was finding prefix of name.
466	* compat.c: re-raising SIGINT etc after running .INTERRUPT
467	  results in more reliable termination of all activity on many
468	  platforms.
469
4702012-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
471
472	* Makefile.in (MAKE_VERSION): bump version to 20120602
473	  Merge with NetBSD make, pick up
474	  o for.c: handle quoted items in .for list
475
4762012-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
477
478	* Makefile.in (MAKE_VERSION): bump version to 20120530
479	  Merge with NetBSD make, pick up
480	  o compat.c: ignore empty command.
481
4822012-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
483
484	* Makefile.in (MAKE_VERSION): bump version to 20120524
485	* FILES: add bsd.after-import.mk:
486	  A simple means of integrating bmake into a BSD build system.
487
4882012-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
489
490	* Makefile.in (MAKE_VERSION): bump version to 20120520
491	  Merge with NetBSD make, pick up
492	  o increased limit for nested conditionals.
493
4942012-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>
495
496	* Makefile.in (MAKE_VERSION): bump version to 20120518
497	  Merge with NetBSD make, pick up
498	  o use _exit(2) in signal hanlder
499	  o Don't use the [dir] cache when building nodes that might have
500	    changed since the last exec.
501	  o Avoid nested extern declaration warnings.
502
5032012-04-27  Simon J. Gerraty  <sjg@bad.crufty.net>
504
505	* meta.c (fgetLine): avoid %z - not portable.
506	* parse.c: Since we moved include of sys/mman.h
507	  and def's of MAP_COPY etc. we got dups from a merge.
508
5092012-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
510
511	* Makefile.in (MAKE_VERSION): bump version to 20120420
512	  Merge with NetBSD make, pick up
513	  o restore duplicate supression in .MAKE.MAKEFILES
514	    runtime saving can be significant.
515	  o Var_Subst() uses Buf_DestroyCompact() to reduce memory
516	    consumption up to 20%.
517
5182012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
519
520	* Makefile.in (MAKE_VERSION): bump version to 20120420
521          Merge with NetBSD make, pick up
522	  o remove duplicate supression in .MAKE.MAKEFILES
523	  o improved dir cache behavior
524	  o gmake'ish export command
525
5262012-03-25  Simon J. Gerraty  <sjg@bad.crufty.net>
527
528	* Makefile.in (MAKE_VERSION): bump version to 20120325
529	  Merge with NetBSD make, pick up
530	  o fix parsing of :[#] in conditionals.
531
5322012-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
533
534	* Makefile.in: replace use of .Nx in bmake.1 with NetBSD
535	  since some systems cannot cope with .Nx <version>
536
5372011-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
538
539	* Makefile.in (MAKE_VERSION): bump version to 20111111
540	  Merge with NetBSD make, pick up
541	  o debug output for .PARSEDIR and .PARSEFILE
542
5432011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
544
545	* Makefile.in (MAKE_VERSION):  bump version to 20111010
546
5472011-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>
548
549	* boot-strap: check for an expected file in the dirs we look for.
550	* make-bootstrap.sh: pass on LDSTATIC
551
5522011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
553
554	* Makefile.in (MAKE_VERSION): bump version to 20111001
555	  Merge with NetBSD make, pick up
556	  o ensure .PREFIX is set for .PHONY
557	    and .TARGET set for .PHONY run via .END
558	  o __dead used consistently
559
5602011-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>
561
562	* Makefile.in (MAKE_VERSION): 20110909 is a better number ;-)
563
5642011-09-05  Simon J. Gerraty  <sjg@bad.crufty.net>
565
566	* Makefile.in (MAKE_VERSION): bump version to 20110905
567	  Merge with NetBSD make, pick up
568	  o meta_oodate: ignore makeDependfile
569
5702011-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
571
572	* Makefile.in (MAKE_VERSION): bump version to 20110828
573	  Merge with NetBSD make, pick up
574	  o silent=yes in .MAKE.MODE causes meta mode to mark targets
575	    as SILENT if a .meta file is created
576
5772011-08-18  Simon J. Gerraty  <sjg@bad.crufty.net>
578
579	* Makefile.in (MAKE_VERSION): bump version to 20110818
580	  Merge with NetBSD make, pick up
581	  o in meta mode, if target flagged .META a missing .meta file
582	    means target is out-of-date
583	  o fixes for gcc 4.5 warnings
584	  o simplify job printing code
585
5862011-08-09  Simon J. Gerraty  <sjg@bad.crufty.net>
587
588	* Makefile.in (MAKE_VERSION): bump version to 20110808
589	  Merge with NetBSD make, pick up
590	  o do not touch OP_SPECIAL targets when doing make -t
591
5922011-06-22  Simon J. Gerraty  <sjg@bad.crufty.net>
593
594	* Makefile.in (MAKE_VERSION): bump version to 20110622
595	  Merge with NetBSD make, pick up
596	  o meta_oodate detect corrupted .meta file and declare oodate.
597	* configure.in: add check for setsid
598
5992011-06-07  Simon J. Gerraty  <sjg@bad.crufty.net>
600
601	* Merge with NetBSD make, pick up
602	  o unit-tests/modts now works on MirBSD
603
6042011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
605
606	* Makefile.in (MAKE_VERSION): bump version to 20110606
607	  Merge with NetBSD make, pick up
608	  o ApplyModifiers: when we parse a variable which is not
609	    the entire modifier string, or not followed by ':', do not
610	    consider it as containing modifiers.
611	  o loadfile: ensure newline at end of mapped file.
612
6132011-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
614
615	* Makefile.in (MAKE_VERSION): bump version to 20110505
616	  Merge with NetBSD make, pick up
617	  o .MAKE.META.BAILIWICK - list of prefixes which define the scope
618	    of make's control.  In meta mode, any generated file within
619	    said bailiwick, which  is found to be missing, causes current
620	    target to be out-of-date.
621
6222011-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
623
624	* Makefile.in (MAKE_VERSION): bump version to 20110411
625	  Merge with NetBSD make, pick up
626	  o when long modifiers fail to match, check sysV style.
627	    - add a test case
628
6292011-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>
630
631	* Makefile.in (MAKE_VERSION): bump version to 20110410
632	  Merge with NetBSD make, pick up
633	  o :hash - cheap 32bit hash of value
634	  o :localtime, :gmtime - use value as format string for strftime.
635
6362011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
637
638	* Makefile.in (MAKE_VERSION): bump version to 20110330
639	  mostly because its a cooler version.
640	  Merge with NetBSD make, pick up
641	  o NetBSD tags for meta.[ch]
642	  o job.c call meta_job_finish() after meta_job_error().
643	  o meta_job_error() should call meta_job_finish() to ensure
644	    .meta file is closed, and safe to copy - if .ERROR target wants.
645	   meta_job_finish() is safe to call repeatedly.
646
6472011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
648
649	* unit-tests/modts: use printf if it is a builtin,
650	  to save us from MirBSD
651
652	* Makefile.in (MAKE_VERSION): bump version to 20110329
653	  Merge with NetBSD make, pick up
654	  o fix for use after free() in CondDoExists().
655	  o meta_oodate() report extra commands and return earlier.
656
6572011-03-27  Simon J. Gerraty  <sjg@bad.crufty.net>
658
659	* Makefile.in (MAKE_VERSION): bump version to 20110327
660	  Merge with NetBSD make, pick up
661	  o meta.c, if .MAKE.MODE contains curdirOk=yes
662	    allow creating .meta files in .CURDIR
663	* boot-strap (TOOL_DIFF): aparently at least on linux distro
664	  formats the output of 'type' differently - so eat any "()"
665
6662011-03-06  Simon J. Gerraty  <sjg@bad.crufty.net>
667
668	* Makefile.in (MAKE_VERSION): bump version to 20110306
669	  Merge with NetBSD make, pick up
670	  o meta.c, only do getcwd() once
671
6722011-03-05  Simon J. Gerraty  <sjg@bad.crufty.net>
673
674	* Makefile.in (MAKE_VERSION): bump version to 20110305
675	  Merge with NetBSD make, pick up
676	  o correct sysV substitution handling of empty lhs and variable
677	  o correct exists() check for dir with trailing /
678	  o correct handling of modifiers for non-existant variables
679	    during evaluation of conditionals.
680	  o ensure MAP_FILE is defined.
681	  o meta.c use curdir[] now exported by main.c
682
6832011-02-25  Simon J. Gerraty  <sjg@bad.crufty.net>
684
685	* Makefile.in (MAKE_VERSION): bump version to 20110225
686	  Merge with NetBSD make, pick up
687	  o fix for incorrect .PARSEDIR when .OBJDIR is re-computed after
688	    makefiles have been read.
689	  o fix example of :? modifier in man page.
690
6912011-02-13  Simon J. Gerraty  <sjg@bad.crufty.net>
692
693	* Makefile.in (MAKE_VERSION): bump version to 20110214
694	  Merge with NetBSD make, pick up
695	  o meta.c handle realpath() failing when generating meta file
696	    name.
697
698	* sigcompat.c: convert to ansi so we can use higher warning levels.
699
700
7012011-02-07  Simon J. Gerraty  <sjg@bad.crufty.net>
702
703	* Makefile.in (MAKE_VERSION): bump version to 20110207
704	  Merge with NetBSD make, pick up
705	  o fix for bug in meta mode.
706
7072011-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>
708
709	* parse.c: SunOS 5.8 at least does not have MAP_FILE
710
7112011-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
712
713	* Makefile.in (MAKE_VERSION): bump version to 20110101
714	  Merge with NetBSD make, pick up
715	  o use mmap(2) if available, for reading makefiles
716
7172010-12-15  Simon J. Gerraty  <sjg@bad.crufty.net>
718
719	* Makefile.in (MAKE_VERSION): bump version to 20101215
720	  Merge with NetBSD make, pick up
721	  o ensure meta_job_error() does not report a previous .meta file
722	    as being culprit.
723
7242010-12-10  Simon J. Gerraty  <sjg@bad.crufty.net>
725
726	* Makefile.in (MAKE_VERSION): bump version to 20101210
727	  Merge with NetBSD make, pick up
728	  o meta_oodate: track cwd per process, and only consider target
729	    out-of-date if missing file is outside make's CWD.
730	    Ignore files in /tmp/ etc.
731	  o to ensure unit-tests results match, need to control LC_ALL
732	    as well as LANG.
733	  o fix for parsing bug in var.c
734
7352010-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
736
737	* Makefile.in (MAKE_VERSION): bump version to 20101126
738	  Merge with NetBSD make, pick up
739	  o if stale dependency is an IMPSRC, search via .PATH
740	  o meta_oodate: if a referenced file is missing, target is
741	    out-of-date.
742	  o meta_oodate: if a target uses .OODATE in its commands,
743	    it (.OODATE) needs to be recomputed.
744	  o keep a pointer to youngest child node, rather than just its
745	    mtime.
746
7472010-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>
748
749	* Makefile.in (MAKE_VERSION): bump version to 20101101
750
7512010-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>
752
753	* machine.sh: like os.sh,
754	allow for uname -p producing useless drivel
755
7562010-09-13  Simon J. Gerraty  <sjg@bad.crufty.net>
757
758	* boot-strap: document configure knobs for meta and filemon.
759
760	* Makefile.in (MAKE_VERSION): bump version to 20100911
761	  Merge with NetBSD make, pick up
762	  o meta.c - meta mode
763
764	* make-bootstrap.sh.in: handle meta.c
765	* configure.in: add knobs for use_meta and filemon_h
766	  also, look for dirname, str[e]sep and strlcpy
767	* util.c: add simple err[x] and warn[x]
768
7692010-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
770
771	* boot-strap (TOOL_DIFF): set this to ensure tests use
772	  the same version of diff that configure tested
773
774	* Makefile.in (MAKE_VERSION): bump version to 20100808
775	  Merge with NetBSD make, pick up
776	  o in jobs mode, when we discover we cannot make something,
777	    call PrintOnError before exit.
778
7792010-08-06  Simon J. Gerraty  <sjg@bad.crufty.net>
780
781	* Makefile.in (MAKE_VERSION): bump version to 20100806
782	  Merge with NetBSD make, pick up
783	  o formatting fixes for ignored errors
784	  o ensure jobs are cleaned up regardless of where wait() was called.
785
7862010-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
787
788	* Makefile.in (MAKE_VERSION): bump version to 20100618
789	* os.sh (MACHINE_ARCH): watch out for drivel from uname -p
790
7912010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
792
793	* Makefile.in (MAKE_VERSION): bump version to 20100616
794	  Merge with NetBSD make, pick up
795	  o man page update
796	  o call PrintOnError from JobFinish when we detect an error we
797	    are not ignoring.
798
7992010-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
800
801	* Makefile.in (MAKE_VERSION): bump version to 20100606
802	  Merge with NetBSD make, pick up
803	  o man page update
804
8052010-06-05  Simon J. Gerraty  <sjg@bad.crufty.net>
806
807	* Makefile.in (MAKE_VERSION): bump version to 20100605
808	  Merge with NetBSD make, pick up
809	  o use bmake_signal() which is a wrapper around sigaction()
810	    in place of signal()
811	  o add .export-env to allow exporting variables to environment
812	    without tracking (so no re-export when the internal value is
813	    changed).
814
8152010-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
816
817	* Makefile.in (MAKE_VERSION): bump version to 20100524
818	  Merge with NetBSD make, pick up
819	  o fix for .info et al being greedy.
820
8212010-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
822
823	* Makefile.in (MAKE_VERSION): bump version to 20100520
824	  Merge with NetBSD make, pick up
825	  o back to using realpath on argv[0]
826	    but only if contains '/' and does not start with '/'.
827
8282010-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
829
830	* boot-strap: use absolute path for bmake when running tests.
831
832	* Makefile.in (MAKE_VERSION):  bump version to 20100510
833	  Merge with NetBSD make, pick up
834	  o revert use of realpath on argv[0]
835	    too many corner cases.
836	  o print MAKE_PRINT_VAR_ON_ERROR before running .ERROR target.
837
8382010-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
839
840	* Makefile.in (MAKE_VERSION): bump version to 20100505
841	  Merge with NetBSD make, pick up
842	  o fix for missed SIGCHLD when compiled with SunPRO
843	    actually for bmake, defining FORCE_POSIX_SIGNALS would have
844	    done the job.
845
8462010-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
847
848	* Makefile.in (MAKE_VERSION): bump version to 20100430
849	  Merge with NetBSD make, pick up
850	  o fflush stdout before writing to stdout
851
8522010-04-23  Simon J. Gerraty  <sjg@bad.crufty.net>
853
854	* Makefile.in (MAKE_VERSION): bump version to 20100423
855	  Merge with NetBSD make, pick up
856	  o updated unit tests for Haiku (this time for sure).
857	* boot-strap: based on patch from joerg
858	  honor --with-default-sys-path better.
859	* boot-strap: remove mention of --with-prefix-sys-path
860
8612010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
862
863	* Makefile.in (MAKE_VERSION): bump version to 20100422
864	* Merge with NetBSD make, pick up
865	  o fix for vfork() on Darwin.
866	  o fix for bogus $TMPDIR.
867	  o set .MAKE.MODE=compat for -B
868	  o set .MAKE.JOBS=max_jobs for -j max_jobs
869	  o allow unit-tests to run without any *.mk
870	  o unit-tests/modmisc be more conservative in dirs presumed to exist.
871	* boot-strap: ignore /usr/share/mk except on NetBSD.
872	* unit-tests/Makefile.in: set LANG=C when running unit-tests to
873	  ensure sort(1) behaves as expected.
874
8752010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
876
877	* boot-strap: add FindHereOrAbove so we can use -m .../mk
878
8792010-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
880
881	* Makefile.in (MAKE_VERSION): bump version to 20100420
882	* Merge with NetBSD make, pick up
883	  o fix for variable realpath() behavior.
884	    we have to stat(2) the result to be sure.
885	  o fix for .export (all) when nested vars use :sh
886
8872010-04-14  Simon J. Gerraty  <sjg@bad.crufty.net>
888
889	* Makefile.in (MAKE_VERSION): bump version to 20100414
890	* Merge with NetBSD make, pick up
891	  o use realpath to resolve argv[0] (for .MAKE) if needed.
892	  o add realpath from libc.
893	  o add :tA to resolve variable via realpath(3) if possible.
894
8952010-04-08  Simon J. Gerraty  <sjg@bad.crufty.net>
896
897	* Makefile.in (MAKE_VERSION): bump version to 20100408
898	* Merge with NetBSD make, pick up
899	  o unit tests for .ERROR, .error
900	  o fix for .ERROR to ensure it cannot be default target.
901
9022010-04-06  Simon J. Gerraty  <sjg@bad.crufty.net>
903
904	* Makefile.in (MAKE_VERSION): bump version to 20100406
905	* Merge with NetBSD make, pick up
906	  o fix for compat mode "Error code" going to debug_file.
907	  o fix for .ALLSRC being populated twice.
908	  o support for .info, .warning and .error directives
909	  o .MAKE.MODE to control make's operational mode
910	  o .MAKE.MAKEFILE_PREFERENCE to control the preferred makefile
911	    name(s).
912	  o .MAKE.DEPENDFILE to control the name of the depend file
913	  o .ERROR target - run on failure.
914
9152010-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
916
917	* make-bootstrap.sh.in: extract MAKE_VERSION from Makefile
918
919	* os.sh,arch.c: patch for Haiku from joerg at netbsd
920
9212010-03-17  Simon J. Gerraty  <sjg@bad.crufty.net>
922
923	* Makefile.in (MAKE_VERSION): bump version to 20100222
924	* Merge with NetBSD make, pick up
925	  o better error msg for .for with mutiple inter vars
926
927	* boot-strap:
928	  o use make-bootstrap.sh from joerg at netbsd
929	    to avoid the need for a native make when bootstrapping.
930	  o add "" everywhere ;-)
931	  o if /usr/share/tmac/andoc.tmac exists install nroff bmake.1
932	    otherwise the pre-formated version.
933
9342010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
935
936	* Makefile.in (MAKE_VERSION): bump version to 20100102
937	* Merge with NetBSD make, pick up:
938	  o fix for -m .../
939
9402009-11-18  Simon J. Gerraty  <sjg@void.crufty.net>
941
942	* Makefile.in (MAKE_VERSION): bump version to 20091118
943	* Merge with NetBSD make, pick up:
944	  o .unexport
945	  o report lines that start with '.' and should have ':'
946	    (catch typo's of .el*if).
947
9482009-10-30  Simon J. Gerraty  <sjg@void.crufty.net>
949
950	* configure.in: Ensure that srcdir and mksrc are absolute paths.
951
9522009-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
953
954	* Makefile.in (MAKE_VERSION): fix version to 20091007
955
9562009-10-07  Simon J. Gerraty  <sjg@void.crufty.net>
957
958	* Makefile.in (MAKE_VERSION): bump version to 200910007
959	* Merge with NetBSD make, pick up:
960	  o fix for parsing of :S;...;...; applied to .for loop iterator
961	    appearing in a dependency line.
962
9632009-09-09  Simon J. Gerraty  <sjg@void.crufty.net>
964
965	* Makefile.in (MAKE_VERSION): bump version to 20090909
966	* Merge with NetBSD make, pick up:
967	  o fix for -C, .CURDIR and .OBJDIR
968	* boot-strap:
969	  o allow share_dir to be set independent of prefix.
970	  o select default share_dir better when prefix ends in $HOST_TARGET
971	  o if FORCE_BSD_MK etc were set, include them in the suggested
972	    install-mk command.
973
9742009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
975
976	* Makefile.in (MAKE_VERSION): bump version to 20090908
977	* Merge with NetBSD make, pick up:
978	  o .MAKE.LEVEL for recursion tracking
979	  o fix for :M scanning \:
980
9812009-09-03  Simon J. Gerraty  <sjg@void.crufty.net>
982
983	* configure.in: Don't -D__EXTENSIONS__ if
984	AC_USE_SYSTEM_EXTENSIONS says "no".
985
9862009-08-26  Simon J. Gerraty  <sjg@void.crufty.net>
987
988	* Makefile.in (MAKE_VERSION): bump version to 20090826
989	Simplify MAKE_VERSION to just the bare date.
990	* Merge with NetBSD make, pick up:
991	  o -C directory support.
992	  o support for SIGINFO
993	  o use $TMPDIR for temp files.
994	  o child of vfork should be careful about modifying parent's state.
995
996
9972009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
998
999	* Appy some patches for MiNT from David Brownlee
1000
10012009-02-26  Simon J. Gerraty  <sjg@void.crufty.net>
1002
1003	* Makefile.in (BMAKE_VERSION): bump version to 20090222
1004	* Merge with NetBSD make, pick up:
1005	  o Possible null pointer de-ref in Var_Set.
1006
10072009-02-08  Simon J. Gerraty  <sjg@void.crufty.net>
1008
1009	* Makefile.in (BMAKE_VERSION): bump version to 20090204
1010	* Merge with NetBSD make, pick up:
1011	  o bmake_malloc et al moved to their own .c
1012	  o Count both () and {} when looking for the end of a :M pattern
1013	  o Change 'Buffer' so that it is the actual struct, not a pointer to it.
1014	  o strlist.c - functions for processing extendable arrays of pointers to strings.
1015	  o ClientData replaced with void *, so const void * can be used.
1016	  o New debug flag C for DEBUG_CWD
1017
10182008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
1019
1020	* Makefile.in (BMAKE_VERSION): bump version to 20081111
1021	  Apply patch from Joerg Sonnenberge to
1022	  configure.in:
1023	  o remove some redundant checks
1024	  o check for emlloc etc only in libutil and require the whole family.
1025	  util.c:
1026	  o remove [v]asprintf which is no longer used.
1027
10282008-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
1029
1030	* Makefile.in (BMAKE_VERSION): bump version to 20081101
1031	* Merge with NetBSD make, pick up:
1032	  o util.c: avoid use of putenv() - christos
1033
10342008-10-30  Simon J. Gerraty  <sjg@void.crufty.net>
1035
1036	* Makefile.in (BMAKE_VERSION): bump version to 20081030
1037	  pick up man page tweaks.
1038
10392008-10-29  Simon J. Gerraty  <sjg@void.crufty.net>
1040
1041	* Makefile.in: move processing of LIBOBJS to after is definition!
1042	  thus we'll have getenv.c in SRCS only if needed.
1043
1044	* make.1: add examples of how to use :?
1045
1046	* Makefile.in (BMAKE_VERSION): bump version to 20081029
1047	* Merge with NetBSD make, pick up:
1048	  o fix for .END processing with -j
1049	  o segfault from Parse_Error when no makefile is open
1050	  o handle numeric expressions in any variable expansion
1051	  o debug output now defaults to stderr, -dF to change it - apb
1052	  o make now uses bmake_malloc etc so that it can build natively
1053	    on A/UX - wasn't an issue for bmake, but we want to keep in sync.
1054
10552008-09-27  Simon J. Gerraty  <sjg@void.crufty.net>
1056
1057	* Makefile.in (BMAKE_VERSION): bump version to 20080808
1058	* Merge with NetBSD make, pick up:
1059	  o fix for PR/38840: Pierre Pronchery: make crashes while parsing
1060	    long lines in Makefiles
1061	  o optimizations for VarQuote by joerg
1062	  o fix for PR/38756: dominik: make dumps core on invalid makefile
1063
10642008-05-15  Simon J. Gerraty  <sjg@void.crufty.net>
1065
1066	* Makefile.in (BMAKE_VERSION): bump version to 20080515
1067	* Merge with NetBSD make, pick up:
1068	  o fix skip setting vars in VAR_GLOBAL context, to handle
1069	    cases where VAR_CMD is used for other than command line vars.
1070
10712008-05-14  Simon J. Gerraty  <sjg@void.crufty.net>
1072
1073	* boot-strap (make_version): we may need to look in
1074	$prefix/share/mk for sys.mk
1075
1076	* Makefile.in (BMAKE_VERSION): bump version to 20080514
1077	* Merge with NetBSD make, pick up:
1078	  o skip setting vars in VAR_GLOBAL context, when already set in
1079	  VAR_CMD which takes precedence.
1080
10812008-03-30  Simon J. Gerraty  <sjg@void.crufty.net>
1082
1083	* Makefile.in (BMAKE_VERSION):  bump version to 20080330
1084	* Merge with NetBSD make, pick up:
1085	  o fix for ?= when LHS contains variable reference.
1086
10872008-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
1088
1089	* merge some patches from NetBSD pkgsrc.
1090
1091	* makefile.boot.in (BOOTSTRAP_SYS_PATH): Allow better control of
1092	the MAKSYSPATH used during bootstrap.
1093
1094	* Makefile.in (BMAKE_VERSION): bump version to 20080215
1095	* Merge with NetBSD make, pick up:
1096	  o warn if non-space chars follow 'empty' in a conditional.
1097
10982008-01-18  Simon J. Gerraty  <sjg@void.crufty.net>
1099
1100	* Makefile.in (BMAKE_VERSION): bump version to 20080118
1101	* Merge with NetBSD make, pick up:
1102	  o consider dependencies read from .depend as optional - dsl
1103	  o remember when buffer for reading makefile grows - dsl
1104	  o add -dl (aka LOUD) - David O'Brien
1105
11062007-10-22  Simon J. Gerraty  <sjg@void.crufty.net>
1107
1108	* Makefile.in (BMAKE_VERSION): bump version to 20071022
1109	* Merge with NetBSD make, pick up:
1110	  o Allow .PATH<suffix> to be used for .include ""
1111
1112	* boot-strap: source default settings from .bmake-boot-strap.rc
1113
11142007-10-16  Simon J. Gerraty  <sjg@void.crufty.net>
1115
1116	* Makefile.in: fix maninstall on various systems
1117	  provided that our man.mk is used.
1118	  For non-BSD systems we install the preformatted page
1119	  into $MANDIR/cat1
1120
11212007-10-15  Simon J. Gerraty  <sjg@void.crufty.net>
1122
1123	* boot-strap: make bmake.1 too, so maninstall works.
1124
11252007-10-14  Simon J. Gerraty  <sjg@void.crufty.net>
1126
1127	* Makefile.in (BMAKE_VERSION): bump version to 20071014
1128	* Merge with NetBSD make, pick up:
1129	  o revamped handling of defshell - configure no longer needs to
1130	    know the content of the shells array - apb
1131	  o stop Var_Subst modifying its input - apb
1132	  o avoid calling ParseTrackInput too often - dsl
1133
11342007-10-11  Simon J. Gerraty  <sjg@void.crufty.net>
1135
1136	* Makefile.in (BMAKE_VERSION): bump version to 20071011
1137	* Merge with NetBSD make, pick up:
1138	  o fix Shell_Init for case that _BASENAME_DEFSHELL is absolute path.
1139
1140	* sigcompat.c: some tweaks for HP-UX 11.x based on
1141	  patch from Tobias Nygren
1142
1143	* configure.in: update handling of --with-defshell to match
1144	  new make behavior.  --with-defshell=/usr/xpg4/bin/sh
1145	  will now do what one might hope - provided the chosen shell
1146	  behaves enough like sh.
1147
11482007-10-08  Simon J. Gerraty  <sjg@void.crufty.net>
1149
1150	* Makefile.in (BMAKE_VERSION): bump to 20071008
1151	* Merge with NetBSD make, pick up:
1152	  o .MAKE.JOB.PREFIX - control the token output before jobs - sjg
1153	  o .export/.MAKE.EXPORTED - export of variables - sjg
1154	  o .MAKE.MAKEFILES - track all makefiles read - sjg
1155	  o performance improvements - dsl
1156	  o revamp parallel job scheduling - dsl
1157
11582006-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
1159
1160	* Makefile.in (BMAKE_VERSION): bump to 20060728
1161	* Merge with NetBSD make, pick up:
1162	  o extra debug info during variable and cond processing - sjg
1163	  o shell definition now covers newline - rillig
1164	  o minor mem leak in PrintOnError - sjg
1165
11662006-05-11  Simon J. Gerraty  <sjg@void.crufty.net>
1167
1168	* Makefile.in (BMAKE_VERSION):  bump to 20060511
1169	* Merge with NetBSD make, pick up:
1170	  o more memory leaks - coverity
1171	  o possible overflow in ArchFindMember - coverity
1172	  o extract variable modifier code out of Var_Parse()
1173	    so it can be called recursively - sjg
1174	  o unit-tests/moderrs - sjg
1175
11762006-04-12  Simon J. Gerraty  <sjg@void.crufty.net>
1177
1178	* Makefile.in (BMAKE_VERSION): bump to 20060412
1179	* Merge with NetBSD make, pick up:
1180	  o fixes for some memory leaks - coverity
1181	  o only read first sys.mk etc when searching sysIncPath - sjg
1182
1183	* main.c (ReadMakefile): remove hack for __INTERIX that prevented
1184	setting ${MAKEFILE} - OBATA Akio
1185
11862006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
1187
1188	* Makefile.in (BMAKE_VERSION): bump to 20060318
1189	* Merge with NetBSD make, pick up:
1190	  o cleanup of job.c to remove remote handling, distcc is more
1191	    useful and this code was likely bit-rotting - dsl
1192	  o fix for :P modifier - sjg
1193	* boot-strap: set default prefix to something reasonable
1194	  (for me anyway).
1195
11962006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
1197
1198	* Makefile.in (BMAKE_VERSION): bump to 20060301
1199	* Merge with NetBSD make, pick up:
1200	  o make .WAIT apply recursively, document and test case - apb
1201	  o allow variable modifiers in a variable appear anywhere in
1202	    modifier list, document and test case - sjg
1203
12042006-02-22  Simon J. Gerraty  <sjg@void.crufty.net>
1205
1206	* Makefile.in (BMAKE_VERSION): bump to 20060222
1207	* Merge with NetBSD make, pick up:
1208	  o improved job token handling - dsl
1209	  o SIG_DFL the correct signal before exec - dsl
1210	  o more debug info during parsing - dsl
1211	  o allow variable modifiers to be specified via variable - sjg
1212	* boot-strap: explain why we died if no mksrc
1213
12142005-11-05  Simon J. Gerraty  <sjg@void.crufty.net>
1215
1216	* Makefile.in (BMAKE_VERSION): bump to 20051105
1217	* configure.in: always set default_sys_path
1218	  default is ${prefix}/share/mk
1219	  - remove prefix_sys_path, anyone wanting more than above
1220	    needs to set it manually.
1221
12222005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
1223
1224	* boot-strap: make this a bit easier for pkgsrc folk.
1225	  bootstrap still fails on IRIX64 since MACHINE_ARCH gets set to
1226	  'mips' while pkgsrc wants 'mipseb' or 'mipsel'
1227
12282005-11-02  Simon J. Gerraty  <sjg@void.crufty.net>
1229
1230	* Makefile.in (BMAKE_VERSION): bump to 20051102
1231	* job.c (JobFinish): fix likely ancient merge lossage
1232	fix from Todd Vierling.
1233	* boot-strap (srcdir): allow setting mksrc=none
1234
12352005-10-31  Simon J. Gerraty  <sjg@void.crufty.net>
1236
1237	* Makefile.in (BMAKE_VERSION): bump to 20051031
1238	* ranlib.h: skip on OSF too.
1239	  (NetBSD PR 31864)
1240
12412005-10-10  Simon J. Gerraty  <sjg@void.crufty.net>
1242
1243	* Makefile.in (BMAKE_VERSION): bump to 20051002
1244	  fix a silly typo
1245
12462005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
1247
1248	* Makefile.in (BMAKE_VERSION): bump to 20051001
1249	  support for UnixWare and some other systems,
1250	  based on patches from pkgsrc/bootstrap
1251
12522005-09-03  Simon J. Gerraty  <sjg@void.crufty.net>
1253
1254	* Makefile.in (BMAKE_VERSION): bump to 20050901
1255	* Merge with NetBSD make, pick up:
1256	  o possible parse error causing us to wander off.
1257
12582005-06-06  Simon J. Gerraty  <sjg@void.crufty.net>
1259
1260	* Makefile.in (BMAKE_VERSION): bump to 20050606
1261	* Merge with NetBSD make, pick up:
1262	  o :0x modifier for randomizing a list
1263	  o fixes for a number of -Wuninitialized issues.
1264
12652005-05-30  Simon J. Gerraty  <sjg@void.crufty.net>
1266
1267	* Makefile.in (BMAKE_VERSION): bump to 20050530
1268	* Merge with NetBSD make, pick up:
1269	  o Handle dependencies for .BEGIN, .END and .INTERRUPT
1270
1271	* README: was seriously out of date.
1272
12732005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
1274
1275	* Important to use .MAKE rather than MAKE.
1276
12772005-03-15  Simon J. Gerraty  <sjg@void.crufty.net>
1278
1279	* Makefile.in (BMAKE_VERSION): bump to 20050315
1280	* Merge with NetBSD make, pick up:
1281	  o don't mistake .elsefoo for .else
1282	  o use suffix-specific search path correctly
1283	  o bunch of style nits
1284
12852004-05-11  Simon J. Gerraty  <sjg@void.crufty.net>
1286
1287	* boot-strap:
1288	o ensure that args to --src and --with-mksrc
1289	  are resolved before giving them to configure.
1290	o add -o "objdir" so that builder can control it,
1291	  default is $OS as determined by os.sh
1292	o add -q to suppress all the install instructions.
1293
12942004-05-08  Simon J. Gerraty  <sjg@void.crufty.net>
1295
1296	* Remove __IDSTRING()
1297
1298	* Makefile.in (BMAKE_VERSION): bump to 20040508
1299	* Merge with NetBSD make, pick up:
1300	  o posix fixes
1301	    - remove '-e' from compat mode
1302	    - add support for '+' command-line prefix.
1303	  o fix for handling '--' on command-line.
1304	  o fix include in lst.lib/lstInt.h to simplify '-I's
1305	  o we also picked up replacement of MAKE_BOOTSTRAP
1306	    with !MAKE_NATIVE which is a noop, but possibly confusing.
1307
13082004-04-14  Simon J. Gerraty  <sjg@void.crufty.net>
1309
1310	* Makefile.in (BMAKE_VERSION): bump to 20040414
1311	* Merge with NetBSD make, pick up:
1312	  o allow quoted strings on lhs of conditionals
1313	  o issue warning when extra .else is seen
1314	  o print line numer when errors encountered during parsing from
1315	  string.
1316
13172004-02-20  Simon J. Gerraty  <sjg@void.crufty.net>
1318
1319	* Makefile.in (BMAKE_VERSION):  bump to 20040220
1320	* Merge with NetBSD make, pick up:
1321	  o fix for old :M parsing bug.
1322	  o re-jigged unit-tests
1323
13242004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
1325
1326	* Makefile.in (accept test): use ${.MAKE:S,^./,${.CURDIR}/,}
1327	so that './bmake -f Makefile test' works.
1328
13292004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
1330
1331	* Makefile.in: (BMAKE_VERSION): bump to 20040214
1332	* Merge with NetBSD make, pick up:
1333	  o search upwards for *.mk
1334	  o fix for double free of var substitution buffers
1335	  o use of getopt replaced with custom code, since the usage
1336	  (re-scanning) isn't posix compatible.
1337
13382004-02-12  Simon J. Gerraty  <sjg@void.crufty.net>
1339
1340	* arch.c: don't include ranlib.h on ELF systems
1341	(thanks to Chuck Cranor <chuck@ece.cmu.edu>).
1342
13432004-01-18  Simon J. Gerraty  <sjg@void.crufty.net>
1344
1345	* Makefile.in (BMAKE_VERSION): bump to 20040118
1346
1347	* boot-strap (while): export vars we assign to on cmdline
1348	* unit-test/Makefile.in: ternary is .PHONY
1349
13502004-01-08  Simon J. Gerraty  <sjg@void.crufty.net>
1351
1352	* Makefile.in (BMAKE_VERSION): bump version to 20040108
1353	* Merge with NetBSD make, pick up:
1354	  o fix for ternary modifier
1355
13562004-01-06  Simon J. Gerraty  <sjg@void.crufty.net>
1357
1358	* Makefile.in (BMAKE_VERSION): bump version to 20040105
1359	* Merge with NetBSD make, pick up:
1360	  o fix for cond.c to handle compound expressions better
1361	  o variable expansion within sysV style replacements
1362
13632003-12-22  Simon J. Gerraty  <sjg@void.crufty.net>
1364
1365	* Make portable snprintf safer - output to /dev/null first to
1366	check space needed.
1367
1368	* Makefile.in (BMAKE_VERSION): bump version to 20031222
1369	* Merge with NetBSD make, pick up:
1370	  o -dg3 to show input graph when things go wrong.
1371	  o explicitly look for makefiles in objdir if not found in curdir so
1372	    that errors in .depend etc will be reported accurarely.
1373	  o avoid use of -e in shell scripts in jobs mode, use '|| exit $?'
1374	    instead as it more accurately reflects the expected behavior and
1375	    is more consistently implemented.
1376	  o avoid use of asprintf.
1377
13782003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
1379
1380	* util.c: Add asprintf and vasprintf.
1381
1382	* Makefile.in (BMAKE_VERSION): bump version to 20030928
1383	* Merge with NetBSD make, pick up:
1384	:[] modifier - allows picking words from a variable.
1385	:tW modifier - allows treating value as one big word.
1386	W flag for :C and :S - allows treating value as one big word.
1387
13882003-09-12  Simon J. Gerraty  <sjg@void.crufty.net>
1389
1390	* Merge with NetBSD make
1391	pick up -de flag to enable printing failed command.
1392	don't skip 1st two dir entries (normally . and ..) since
1393	coda does not have them.
1394
13952003-09-09  Simon J. Gerraty  <sjg@void.crufty.net>
1396
1397	* Makefile.in (BMAKE_VERSION): bump version to 20030909
1398	* Merge with NetBSD make, pick up:
1399	- changes for -V '${VAR}' to print fully expanded value
1400	  cf. -V VAR
1401	- CompatRunCommand now prints the command that failed.
1402	- several files got updated 3 clause Berkeley license.
1403
14042003-08-02  Simon J. Gerraty  <sjg@void.crufty.net>
1405
1406	* boot-strap: Allow setting configure args on command line.
1407
14082003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
1409
1410	* configure.in: add --with-defshell to allow sh or ksh
1411	to be selected as default shell.
1412
1413	* Makefile.in: bump version to 20030731
1414
1415	* Merge with NetBSD make
1416	Pick up .SHELL spec for ksh and associate man page changes.
1417	Also compat mode now uses the same shell specs.
1418
14192003-07-29  Simon J. Gerraty  <sjg@void.crufty.net>
1420
1421	* var.c (Var_Parse): ensure delim is initialized.
1422
1423	* unit-tests/Makefile.in: use single quotes to avoid problems from
1424	some shells.
1425
1426	* makefile.boot.in:
1427	Run the unit-tests as part of the bootstrap procedure.
1428
14292003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
1430
1431	* unit-tests/Makefile.in: always force complaints from
1432	${TEST_MAKE} to be from 'make'.
1433
1434	* configure.in: add check for 'diff -u'
1435	also fix some old autoconf'isms
1436
1437	* Makefile.in (BMAKE_VERSION): bump version to 20030728.
1438	if using GCC add -Wno-cast-qual to CFLAGS for var.o
1439
1440	* Merge with NetBSD make
1441	Pick up fix for :ts parsing error in some cases.
1442	Pick unit-tests.
1443
14442003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
1445
1446	* Makefile.in (BMAKE_VERSION): bump version to 20030723.
1447
1448	* var.c (Var_Parse): fix bug in :ts modifier, after const
1449	correctness fixes, must pass nstr to VarModify.
1450
14512003-07-14  Simon J. Gerraty  <sjg@void.crufty.net>
1452
1453	* Makefile.in: BMAKE_VERSION switch to a date based version.
1454	We'll generally use the date of last import from NetBSD.
1455
1456	* Merge with NetBSD make
1457	Pick up fixes for const-correctness, now passes WARNS=3 on
1458	NetBSD.
1459	Pick up :ts modifier, allows controlling the separator used
1460	between words in variable expansion.
1461
14622003-07-11  Simon J. Gerraty  <sjg@void.crufty.net>
1463
1464	* FILES: include boot-strap and os.sh
1465
1466	* Makefile.in: only set WARNS if we are NetBSD, the effect on
1467	FreeBSD is known to be bad.
1468
1469	* makefile.boot.in (bootstrap): make this the default target.
1470
1471	* Makefile.in: bump version to 3.1.19
1472
1473	* machine.sh: avoid A-Z with tr as it is bound to lose.
1474
14752003-07-10  Simon J. Gerraty  <sjg@void.crufty.net>
1476
1477	* Merge with NetBSD make
1478	Pick up fix for PR/19781 - unhelpful error msg on unclosed ${var:foo
1479	Plus some doc fixes.
1480
14812003-04-27  Simon J. Gerraty  <sjg@void.crufty.net>
1482
1483	* Merge with NetBSD make
1484	Pick up fix for PR/1523 - don't count a library as built, if there
1485	is no way to build it
1486
1487	* Bump version to 3.1.18
1488
14892003-03-23  Simon J. Gerraty  <sjg@void.crufty.net>
1490
1491	* Merge with NetBSD make
1492	Pick up fix for ParseDoSpecialSrc - we only use it if .WAIT
1493	appears in src list.
1494
14952003-03-21  Simon J. Gerraty  <sjg@void.crufty.net>
1496
1497	* Merge with NetBSD make (mmm 10th anniversary!)
1498	pick up fix for .WAIT in srcs that refer to $@ or $* (PR#20828)
1499	pick up -X which tells us to not export VAR=val via setenv if
1500	we are already doing so via MAKEFLAGS.  This saves valuable env
1501	space on systems like Darwin.
1502	set MAKE_VERSION to 3.1.17
1503
1504	* parse.c: pix up fix for suffix rules
1505
15062003-03-06  Simon J. Gerraty  <sjg@void.crufty.net>
1507
1508	* Merge with NetBSD make.
1509	pick up fix for propagating -B via MAKEFLAGS.
1510	set MAKE_VERSION to 3.1.16
1511
1512	* Apply some patches from pkgsrc-bootstrap/bmake
1513	Originally by Grant Beattie <grant@netbsd.org>
1514	I may have missed some - since they are based on bmake-3.1.12
1515
15162002-12-03  Simon J. Gerraty  <sjg@void.crufty.net>
1517
1518	* makefile.boot.in (bmake): update install targets for those that
1519	use them, also clear MAKEFLAGS when invoking bmake.boot to avoid
1520	havoc from gmake -w.  Thanks to Harlan Stenn <hstenn@cisco.com>.
1521
1522	* bmake.cat1: update the pre-formatted man page!
1523
15242002-11-30  Simon J. Gerraty  <sjg@void.crufty.net>
1525
1526	* Merge with NetBSD make.
1527	pick up fix for premature free of pointer used in call
1528	to Dir_InitCur().
1529	set MAKE_VERSION to 3.1.15
1530
15312002-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
1532
1533	* configure.in: determine suitable value for MKSRC.
1534	override using --with-mksrc=PATH.
1535
1536	* machine.sh: use `uname -p` for MACHINE_ARCH on modern SunOS systems.
1537	configs(8) will use 'sun4' as an alias for 'sparc'.
1538
15392002-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
1540
1541	* Merge with NetBSD make.
1542	pick up ${.PATH}
1543	pick up fix for finding ../cat.c via .PATH when .CURDIR=..
1544	set MAKE_VERSION to 3.1.14
1545	add configure checks for killpg and sys/socket.h
1546
15472002-09-16  Simon J. Gerraty  <sjg@void.crufty.net>
1548
1549	* tag bmake-3-1-13
1550
1551	* makefile.boot.in (bmake): use install-mk
1552	Also setup ./mk before trying to invoke bmake.boot incase we
1553	needed install-mk to create a sys.mk for us.
1554
1555	* configure.in: If we need to add -I${srcdir}/missing, make it an
1556	absolute path so that it works for lst.lib too.
1557
1558	* make.h: always include sys/cdefs.h since we provide one if the
1559	host does not.
1560
1561	* Makefile.in (install-mk):
1562	use MKSRC/install-mk which will do the right thing.
1563	use uname -p for ARCH if possible.
1564	since install-mk will setup links bsd.prog.mk -> prog.mk if
1565	needed, just .include bsd.prog.mk
1566
1567	* Merge with NetBSD make (NetBSD-1.6)
1568	Code is ansi-C only now.
1569	Bug in handling of dotLast is fixed.
1570	Can now assign .OBJDIR and make will reset its notions of life.
1571	New modifiers :tu :tl for toUpper and toLower.
1572
1573Tue Oct 16 12:18:42 2001  Simon J. Gerraty  <sjg@zen.crufty.net>
1574
1575	* Merge with NetBSD make
1576	pick up fix for .END failure in compat mode.
1577	pick up fix for extra va_end() in ParseVErrorInternal.
1578
1579Thu Oct 11 13:20:06 2001  Simon J. Gerraty  <sjg@zen.crufty.net>
1580
1581	* configure.in: for systems that have sys/cdefs.h check if it is
1582	compatible.  If not, include the one under missing, but tell it to
1583	include the native one too - necessary on Linux.
1584
1585	* missing/sys/cdefs.h: if NEED_HOST_CDEFS_H is defined, use
1586	include_next (for gcc) to get the native sys/cdefs.h
1587
1588Tue Aug 21 02:29:34 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1589
1590	* job.c (JobFinish): Fix an earlier merge bug that resulted in
1591	leaking descriptors when using -jN.
1592
1593	* job.c (JobPrintCommand): See if "curdir" exists before
1594	attempting to chdir().  Doing the chdir directly in make (when in
1595	compat mode) fails silently, so let the -jN version do the same.
1596	This can happen when building kernels in an object tree and
1597	playing clever games to reset .CURDIR.
1598
1599	* Merged with NetBSD make
1600	pick up .USEBEFORE
1601
1602Tue Jun 26 23:45:11 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1603
1604	* makefile.boot.in: Give bmake.boot a MAKESYSPATH that might work.
1605
1606Tue Jun 12 16:48:57 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1607
1608	* var.c (Var_Set): Add 4th (flags) arg so VarLoopExpand can tell
1609	us not to export the iterator variable when using VAR_CMD context.
1610
1611Sun Jun 10 21:55:21 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1612
1613	* job.c (Job_CatchChildren): don't call Job_CatchOutput() here,
1614	its the wrong "fix".
1615
1616Sat Jun  9 00:11:24 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1617
1618	* Redesigned export of VAR_CMD's via MAKEFLAGS.
1619	We now simply append the variable names to .MAKEOVERRIDES, and
1620	handle duplicate suppression and quoting in ExportMAKEFLAGS using:
1621	${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@}
1622	Apart from fixing quoting bugs in previous version, this allows us
1623	to export vars to the environment by simply doing:
1624	.MAKEOVERRIDES+= PATH
1625	Merged again with NetBSD make, but the above is the only change.
1626
1627	* configure.in: added
1628	--disable-pwd-override		disable $PWD overriding getcwd()
1629	--disable-check-make-chdir	disable make trying to guess
1630		when it should automatically cd ${.CURDIR}
1631
1632	* Merge with NetBSD make, changes include:
1633	parse.c (ParseDoDependency): Spot that the syntax error is
1634	caused by an unresolved cvs/rcs conflict and say so.
1635	var.c: most of Var* functions now take a ctxt as 1st arg.
1636	now does variable substituion on rhs of sysv style modifiers.
1637
1638	* var.c (Var_Set): exporting of command line variables (VAR_CMD)
1639	is now done here.  We append the name='value' to .MAKEOVERRIDES
1640	rather than directly into MAKEFLAGS as this allows a Makefile to
1641	use .MAKEOVERRIDES= to disable this behaviour.  GNU make uses a
1642	very similar mechanism.  Note that in adding name='value' to
1643	.MAKEOVERRIDES we do the moral equivalent of:
1644	.MAKEOVERRIDES:= ${.MAKEOVERRIDES:Nname=*} name='val'
1645
1646Fri Jun  1 14:08:02 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1647
1648	* make-conf.h (USE_IOVEC): make it conditional on HAVE_SYS_UIO_H
1649
1650	* Merged with NetBSD make
1651	make -dx can now be used to run commands via sh -x
1652	better error messages on exec failures.
1653
1654Thu May 31 01:44:54 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1655
1656	* Makefile.in (main.o): depends on ${SRCS} ${MAKEFILE} so that
1657	MAKE_VERSION gets updated.  Also don't use ?= for MAKE_VERSION,
1658	MACHINE etc otherwise they propagate from the previous bmake.
1659
1660	* configure.in (machine): allow --with-machine=generic to make
1661	configure use machine.sh to set MACHINE.
1662
1663	* job.c (JobInterrupt): convert to using WAIT_T and friends.
1664
1665	* Makefile.in: mention in bmake.1 that we use autoconf.
1666
1667	* make.1: mention MAKE_PRINT_VAR_ON_ERROR.
1668
1669Wed May 30 23:17:18 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1670
1671	* main.c (ReadMakefile): don't set MAKEFILE if reading ".depend"
1672	as that rather defeats the usefulness of ${MAKEFILE}.
1673
1674	* main.c (MainParseArgs): append command line variable assignments
1675	to MAKEFLAGS so that they get propagated to child make's.
1676	Apparently this is required POSIX behaviour?  Its useful anyway.
1677
1678Tue May 29 02:20:07 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1679
1680	* compat.c (CompatRunCommand): don't use perror() since stdio may
1681	cause problems in child of vfork().
1682
1683	* compat.c, main.c: Call PrintOnError() when we are going to bail.
1684	This routine prints out the .curdir where we stopped and will also
1685	display any vars listed in ${MAKE_PRINT_VAR_ON_ERROR}.
1686
1687	* main.c: add ${.newline} to hold a "\n" - sometimes handy in
1688	:@ expansion.
1689
1690	* var.c: VarLoopExpand: ignore addSpace if a \n is present.
1691
1692	* Added RCSid's for the files we've touched.
1693
1694Thu May 24 15:41:37 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1695
1696	* configure.in:	Thanks to some clues from mdb@juniper.net,
1697	added autoconf magic to control setting of MACHINE, MACHINE_ARCH
1698	as well as what ends up in _PATH_DEFSYSPATH.  We now have:
1699
1700  --with-machine=MACHINE  explicitly set MACHINE
1701  --with-force-machine=MACHINE  set FORCE_MACHINE
1702  --with-machine_arch=MACHINE_ARCH  explicitly set MACHINE_ARCH
1703  --with-default-sys-path=PATH:DIR:LIST  use an explicit _PATH_DEFSYSPATH
1704  --with-prefix-sys-path=PATH:DIR:LIST  prefix _PATH_PREFIX_SYSPATH
1705  --with-path-objdirprefix=PATH  override _PATH_OBJDIRPREFIX
1706
1707	If _PATH_OBJDIRPREFIX is set to "no" we won't define it.
1708
1709	* makefile: added a pathetically simple makefile to drive
1710	bootstrapping.  Running configure by hand is more useful.
1711
1712	* Makefile.in: added MAKE_VERSION, and reworked things to be less
1713	dependent on NetBSD bsd.*.mk
1714
1715	* pathnames.h: allow NO_PATH_OBJDIRPREFIX to stop us defining
1716	_PATH_OBJDIRPREFIX for those that don't want a default.
1717	construct _PATH_DEFSYSPATH from the info we get from configure.
1718
1719	* main.c: allow for no _PATH_OBJDIRPREFIX, set ${MAKE_VERSION}
1720	if MAKE_VERSION is defined.
1721
1722	* compat.c: when we bail, print out the .CURDIR we were in.
1723
1724Sat May 12 00:34:12 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1725
1726	* Merged with NetBSD make
1727
1728	* var.c: fixed a bug in the handling of the modifier :P
1729	if the node as found but the path was null, we segfault trying to
1730	duplicate it.
1731
1732Mon Mar  5 16:20:33 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1733
1734	* Merged with NetBSD make
1735
1736	* make.c: Make_OODate's test for a library out of date was using
1737	cmtime where it should have used mtime (my bug).
1738
1739	* compat.c: Use perror() to tell us what really went wrong when we
1740	cannot exec a command.
1741
1742Fri Dec 15 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
1743
1744	* Merged with NetBSD make
1745
1746Sat Jun 10 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
1747
1748	* Merged with NetBSD make
1749
1750Thu Jun  1 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
1751
1752	* Merged with NetBSD make
1753
1754Tue May 30 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
1755
1756	* Merged with NetBSD make
1757
1758Thu Apr 27 00:07:47 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
1759
1760	* util.c: don't provide signal() since we use sigcompat.c
1761
1762	* Makefile.in: added a build target.
1763
1764	* var.c (Var_Parse): added ODE modifiers :U, :D, :L, :P, :@ and :!
1765	These allow some quite clever magic.
1766
1767	* main.c (main): added support for getenv(MAKESYSPATH).
1768
1769Mon Apr  2 16:25:13 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
1770
1771	* Disable $PWD overriding getcwd() if MAKEOBJDIRPREFIX is set.
1772	This avoids objdir having a different value depending on how a
1773	directory was reached (via command line, or subdir.mk).
1774
1775	* If FORCE_MACHINE is defined, ignore getenv("MACHINE").
1776
1777Mon Apr  2 23:15:31 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
1778
1779	* Do a chdir(${.CURDIR}) before invoking ${.MAKE} or ${.MAKE:T} if
1780	MAKEOBJDIRPREFIX is set and NOCHECKMAKECHDIR is not.
1781	I've been testing this in NetBSD's make for some weeks.
1782
1783	* Turn Makefile into Makefile.in and make it useful.
1784
1785Tue Feb 29 22:08:00 2000 Simon J. Gerraty  <sjg@zen.quick.com.au>
1786
1787	* Imported NetBSD's -current make(1) and resolve conflicts.
1788
1789	* Applied autoconf patches from bmake v2
1790
1791	* Imported clean code base from NetBSD-1.0
1792