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