1 2015-12-01 Simon J. Gerraty <sjg@bad.crufty.net>
3 * Makefile (MAKE_VERSION): 20151201
4 Merge with NetBSD make, pick up
5 o cond.c: CondCvtArg: avoid access beyond end of empty buffer.
6 o meta.c: meta_oodate: use lstat(2) for checking link target
7 in case it is a symlink.
8 o var.c: avoid calling brk_string and Var_Export1 with empty
11 2015-11-26 Simon J. Gerraty <sjg@bad.crufty.net>
13 * Makefile (MAKE_VERSION): 20151126
14 Merge with NetBSD make, pick up
15 o parse.c: ParseTrackInput don't access beyond
18 2015-10-22 Simon J. Gerraty <sjg@bad.crufty.net>
20 * Makefile (MAKE_VERSION): 20151022
22 * Add support for BSD/OS which lacks inttypes.h
23 and really needs sys/param.h for sys/sysctl.h
24 also 'type' is not a shell builtin.
26 * var.c: eliminate uint32_t and need for inttypes.h
28 * main.c: PrintOnError flush stdout before run .ERROR
30 * parse.c: cope with _SC_PAGESIZE not being defined.
33 2015-10-20 Simon J. Gerraty <sjg@bad.crufty.net>
35 * Makefile (MAKE_VERSION): 20151020
36 Merge with NetBSD make, pick up
37 o var.c: fix uninitialized var
39 2015-10-12 Simon J. Gerraty <sjg@bad.crufty.net>
41 * var.c: the conditional expressions used with ':?' can be
42 expensive, if already discarding do not evaluate or expand
45 2015-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
47 * Makefile (MAKE_VERSION): 20151010
48 Merge with NetBSD make, pick up
49 o Add Boolean wantit flag to Var_Subst and Var_Parse
50 when FALSE we know we are discarding the result and can
51 skip operations like Cmd_Exec.
53 2015-10-09 Simon J. Gerraty <sjg@bad.crufty.net>
55 * Makefile (MAKE_VERSION): 20151009
56 Merge with NetBSD make, pick up
57 o var.c: don't check for NULL before free()
58 o meta.c: meta_oodate, do not hard code ignore of makeDependfile
60 2015-09-10 Simon J. Gerraty <sjg@bad.crufty.net>
62 * Makefile (MAKE_VERSION): 20150910
63 Merge with NetBSD make, pick up
64 o main.c: with -w print Enter/Leaving messages for objdir too
66 o centralize shell metachar handling
68 * FILES: add metachar.[ch]
70 2015-06-06 Simon J. Gerraty <sjg@bad.crufty.net>
72 * Makefile (MAKE_VERSION): 20150606
73 Merge with NetBSD make, pick up
74 o make.1: document .OBJDIR target
76 2015-05-05 Simon J. Gerraty <sjg@bad.crufty.net>
78 * Makefile (MAKE_VERSION): 20150505
79 Merge with NetBSD make, pick up
80 o cond.c: be strict about lhs of comparison when evaluating .if
81 but less so when called from variable expansion.
82 o unit-tests/cond2.mk: test various error conditions
84 2015-05-04 Simon J. Gerraty <sjg@bad.crufty.net>
86 * machine.sh (MACHINE): Add Bitrig
87 patch from joerg@netbsd.org
89 2015-04-18 Simon J. Gerraty <sjg@bad.crufty.net>
91 * Makefile (MAKE_VERSION): 20150418
92 Merge with NetBSD make, pick up
93 o job.c: use memmove() rather than memcpy()
95 * unit-tests/varshell.mk: SunOS cannot handle the TERMINATED_BY_SIGNAL
98 2015-04-11 Simon J. Gerraty <sjg@bad.crufty.net>
100 * Makefile (MAKE_VERSION): 20150411
101 bump version - only mk/ changes.
103 2015-04-10 Simon J. Gerraty <sjg@bad.crufty.net>
105 * Makefile (MAKE_VERSION): 20150410
106 Merge with NetBSD make, pick up
107 o document different handling of '-' in jobs mode vs compat
108 o fix jobs mode so that '-' only applies to whole job
109 when shell lacks hasErrCtl
110 o meta.c: use separate vars to track lcwd and latestdir (read)
113 2015-04-01 Simon J. Gerraty <sjg@bad.crufty.net>
115 * Makefile (MAKE_VERSION): 20150401
116 Merge with NetBSD make, pick up
117 o meta.c: close meta file in child
119 * Makefile: use BINDIR.bmake if set.
120 Same for MANDIR and SHAREDIR
121 Handy for testing release candidates
122 in various environments.
124 2015-03-26 Simon J. Gerraty <sjg@bad.crufty.net>
126 * move initialization of savederr to block where it is used
127 to avoid spurious warning from gcc5
129 2014-11-11 Simon J. Gerraty <sjg@bad.crufty.net>
131 * Makefile (MAKE_VERSION): 20141111
134 2014-11-05 Simon J. Gerraty <sjg@bad.crufty.net>
136 * Makefile (MAKE_VERSION): 20141105
137 Merge with NetBSD make, pick up
138 o revert major overhaul of suffix handling
139 and POSIX compliance - too much breakage
140 and impossible to make backwards compatible.
141 o we still have the new unit test structure which is ok.
142 o meta.c ensure "-- filemon" is at start of line.
144 2014-09-17 Simon J. Gerraty <sjg@bad.crufty.net>
146 * configure.in: test that result of getconf PATH_MAX is numeric
147 and discard if not. Apparently needed for Hurd.
149 2014-08-30 Simon J. Gerraty <sjg@bad.crufty.net>
151 * Makefile (MAKE_VERSION): 20140830
152 Merge with NetBSD make, pick up
153 o major overhaul of suffix handling
154 o improved POSIX compliance
155 o overhauled unit-tests
157 2014-06-20 Simon J. Gerraty <sjg@bad.crufty.net>
159 * Makefile (MAKE_VERSION): 20140620
160 Merge with NetBSD make, pick up
161 o var.c return varNoError rather than var_Error for ::= modifiers.
163 2014-05-22 Simon J. Gerraty <sjg@bad.crufty.net>
165 * Makefile (MAKE_VERSION): 20140522
166 Merge with NetBSD make, pick up
167 o var.c detect some parse errors.
169 2014-04-05 Simon J. Gerraty <sjg@bad.crufty.net>
171 * Fix spelling errors - patch from Pedro Giffuni
173 2014-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
175 * Makefile (MAKE_VERSION): 20140214
176 Merge with NetBSD make, pick up
178 o use Var_Value to get MAKEOBJDIR[PREFIX]
179 o reduced realloc'ign in brk_string.
180 * configure.in: add a check for compiler supporting __func__
182 2014-01-03 Simon J. Gerraty <sjg@bad.crufty.net>
184 * boot-strap: ignore mksrc=none
186 2014-01-02 Simon J. Gerraty <sjg@bad.crufty.net>
188 * Makefile (DEFAULT_SYS_PATH?): use just ${prefix}/share/mk
190 2014-01-01 Simon J. Gerraty <sjg@bad.crufty.net>
192 * Makefile (MAKE_VERSION): 20140101
193 * configure.in: set bmake_path_max to min(_SC_PATH_MAX,1024)
194 * Makefile.config: defined BMAKE_PATH_MAX to bmake_path_max
195 * make.h: use BMAKE_PATH_MAX if MAXPATHLEN not defined (needed for
197 * configure.in: Add AC_PREREQ and check for
198 sysctl; patch from Andrew Shadura andrewsh at debian.org
200 2013-10-16 Simon J. Gerraty <sjg@bad.crufty.net>
202 * Makefile (MAKE_VERSION): 20131010
203 * lose the const from arg to systcl to avoid problems on older BSDs.
205 2013-10-01 Simon J. Gerraty <sjg@bad.crufty.net>
207 * Makefile (MAKE_VERSION): 20131001
208 Merge with NetBSD make, pick up
209 o main.c: for NATIVE build sysctl to get MACHINE_ARCH from
210 hw.machine_arch if necessary.
211 o meta.c: meta_oodate - need to look at src of Link and target
213 * main.c: check that CTL_HW and HW_MACHINE_ARCH exist.
214 provide __arraycount() if needed.
216 2013-09-04 Simon J. Gerraty <sjg@bad.crufty.net>
218 * Makefile (MAKE_VERSION): 20130904
219 Merge with NetBSD make, pick up
220 o Add VAR_INTERNAL context, so that internal setting of
221 MAKEFILE does not override value set by makefiles.
223 2013-09-02 Simon J. Gerraty <sjg@bad.crufty.net>
225 * Makefile (MAKE_VERSION): 20130902
226 Merge with NetBSD make, pick up
227 o CompatRunCommand: only apply shellErrFlag when errCheck is true
229 2013-08-28 Simon J. Gerraty <sjg@bad.crufty.net>
231 * Makefile (MAKE_VERSION): 20130828
232 Merge with NetBSD make, pick up
233 o Fix VAR :sh = syntax from Will Andrews at freebsd.org
234 o Call Job_SetPrefix() from Job_Init() so makefiles have
235 opportunity to set .MAKE.JOB.PREFIX
237 2013-07-30 Simon J. Gerraty <sjg@bad.crufty.net>
239 * Makefile (MAKE_VERSION): 20130730
240 Merge with NetBSD make, pick up
241 o Allow suppression of --- job -- tokens by setting
242 .MAKE.JOB.PREFIX empty.
244 2013-07-16 Simon J. Gerraty <sjg@bad.crufty.net>
246 * Makefile (MAKE_VERSION): 20130716
247 Merge with NetBSD make, pick up
248 o number of gmake compatibility tweaks
249 -w for gmake style entering/leaving messages
250 if .MAKE.LEVEL > 0 indicate it in progname "make[1]" etc.
251 handle MAKEFLAGS containing only letters.
252 o when overriding a GLOBAL variable on the command line,
253 delete it from GLOBAL context so -V doesn't show the wrong
256 2013-07-06 Simon J. Gerraty <sjg@bad.crufty.net>
258 * configure.in: We don't need MAKE_LEVEL_SAFE anymore.
260 * Makefile (MAKE_VERSION): 20130706
261 Merge with NetBSD make, pick up
262 o Shell_Init(): export shellErrFlag if commandShell hasErrCtl is
263 true so that CompatRunCommand() can use it, to ensure
264 consistent behavior with jobs mode.
265 o use MAKE_LEVEL_ENV to define the variable to propagate
266 .MAKE.LEVEL - currently set to MAKELEVEL (same as gmake).
267 o meta.c: use .MAKE.META.IGNORE_PATHS to allow customization of
270 2013-06-04 Simon J. Gerraty <sjg@bad.crufty.net>
272 * Makefile (MAKE_VERSION): 20130604
273 Merge with NetBSD make, pick up
274 o job.c: JobCreatePipe: do fcntl() after any tweaking of fd's
275 to avoid leaking descriptors.
277 2013-05-28 Simon J. Gerraty <sjg@bad.crufty.net>
279 * Makefile (MAKE_VERSION): 20130528
280 Merge with NetBSD make, pick up
281 o var.c: cleanup some left-overs in VarHash()
283 2013-05-20 Simon J. Gerraty <sjg@bad.crufty.net>
285 * Makefile (MAKE_VERSION): 20130520
286 generate manifest from component FILES rather than have to
287 update FILES when mk/FILES changes.
289 2013-05-18 Simon J. Gerraty <sjg@bad.crufty.net>
291 * Makefile (MAKE_VERSION): 20130518
292 Merge with NetBSD make, pick up
293 o suff.c: don't skip all processsing for .PHONY targets
294 else wildcard srcs do not get expanded.
295 o var.c: expand name of variable to delete if necessary.
297 2013-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
299 * Makefile (MAKE_VERSION): 20130330
300 Merge with NetBSD make, pick up
301 o meta.c: refine the handling of .OODATE in commands.
302 Rather than suppress command comparison for the entire script
303 as though .NOMETA_CMP had been used, only suppress it for the
305 This allows something like ${.OODATE:M.NOMETA_CMP} to be used to
306 suppress comparison of a command without otherwise affecting it.
307 o make.1: document that
309 2013-03-22 Simon J. Gerraty <sjg@bad.crufty.net>
311 * Makefile (MAKE_VERSION): 20130321
312 yes, not quite right but its a cooler number.
313 Merge with NetBSD make, pick up
314 o parse.c: fix ParseGmakeExport to be portable
316 * meta.c: call meta_init() before makefiles are read and if built
317 with filemon support set .MAKE.PATH_FILEMON to _PATH_FILEMON
318 this let's makefiles test for support.
319 Call meta_mode_init() to process .MAKE.MODE.
321 2013-03-13 Simon J. Gerraty <sjg@bad.crufty.net>
323 * Makefile (MAKE_VERSION): 20130305
324 Merge with NetBSD make, pick up
325 o run .STALE: target when a dependency from .depend is missing.
326 o job.c: add Job_RunTarget() for the above and .BEGIN
328 2013-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
330 * Makefile (MAKE_VERSION): 20130303
331 Merge with NetBSD make, pick up
332 o main.c: set .MAKE.OS to utsname.sysname
333 o job.c: more checks for read and poll errors
334 o var.c: lose VarChangeCase() saves 4% time
336 2013-03-02 Simon J. Gerraty <sjg@bad.crufty.net>
338 * boot-strap: remove MAKEOBJDIRPREFIX from environment since we
339 want to use MAKEOBJDIR
341 2013-01-27 Simon J. Gerraty <sjg@bad.crufty.net>
343 * Merge with NetBSD make, pick up
344 o make.1: more info on how shell commands are handled.
345 o job.c,main.c: detect write errors to job pipes.
347 2013-01-25 Simon J. Gerraty <sjg@bad.crufty.net>
349 * Makefile (MAKE_VERSION): 20130123
350 Merge with NetBSD make, pick up
351 o meta.c: if script uses .OODATE and meta_oodate() decides
352 rebuild is needed, .OODATE will be empty - set it to .ALLSRC.
353 o var.c: in debug output indicate which variabale modifiers
355 o remove Check_Cwd logic the makefiles have been fixed.
357 2012-12-12 Simon J. Gerraty <sjg@bad.crufty.net>
359 * makefile.in: add a simple makefile for folk who insist on
360 ./configure; make; make install
361 it just runs boot-strap
362 * include mk/* to accommodate the above
363 * boot-strap: re-work to accommodate the above
364 mksrc defaults to $Mydir/mk
365 allow op={configure,build,install,clean,all}
366 add options to facilitate install
367 * Makefile.config.in: just the bits set by configure
368 * Makefile: bump version to 20121212
369 abandon Makefile.in (NetBSD Makefile)
370 leverage mk/* instead
371 * configure.in: ensure srcdir is absolute
373 2012-11-11 Simon J. Gerraty <sjg@bad.crufty.net>
375 * Makefile.in (MAKE_VERSION): 20121111
376 fix generation of bmake.cat1
378 2012-11-09 Simon J. Gerraty <sjg@bad.crufty.net>
380 * Makefile.in (MAKE_VERSION): 20121109
381 Merge with NetBSD make, pick up
382 o make.c: MakeBuildChild: return 0 so search continues if a
383 .ORDER dependency is detected.
384 o unit-tests/order: test the above
386 2012-11-02 Simon J. Gerraty <sjg@bad.crufty.net>
388 * Makefile.in (MAKE_VERSION): 20121102
389 Merge with NetBSD make, pick up
390 o cond.c: allow cond_state[] to grow.
391 In meta mode with a very large tree, we can hit the limit
392 while processing dirdeps.
394 2012-10-25 Simon J. Gerraty <sjg@bad.crufty.net>
396 * Makefile.in: we need to use ${srcdir} not ${.CURDIR}
398 2012-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
400 * Makefile.in (MAKE_VERSION): 20121010
401 o protect syntax that only bmake parses correctly.
402 o remove auto setting of FORCE_MACHINE, use configure's
403 --with-force-machine=whatever if that is desired.
405 2012-10-08 Simon J. Gerraty <sjg@bad.crufty.net>
407 * Makefile.in: do not lose history from make.1 when generating bmake.1
409 2012-10-07 Simon J. Gerraty <sjg@bad.crufty.net>
411 * Makefile.in (MAKE_VERSION): 20121007
412 Merge with NetBSD make, pick up
413 o compat.c: ignore empty commands - same as jobs mode.
414 o make.1: document meta chars that cause use of shell
416 2012-09-11 Simon J. Gerraty <sjg@bad.crufty.net>
418 * Makefile.in (MAKE_VERSION): bump version to 20120911
419 * bsd.after-import.mk: include Makefile.inc early and allow it to
422 2012-08-31 Simon J. Gerraty <sjg@bad.crufty.net>
424 * Makefile.in (MAKE_VERSION): bump version to 20120831
425 Merge with NetBSD make, pick up
426 o cast sizeof() to int for comparison
429 2012-08-30 Simon J. Gerraty <sjg@bad.crufty.net>
431 * Makefile.in (MAKE_VERSION): bump version to 20120830
432 Merge with NetBSD make, pick up
433 o .MAKE.EXPAND_VARIABLES knob can control default behavior of -V
434 o debug flag -dV causes -V to show raw value regardless.
436 2012-07-05 Simon J. Gerraty <sjg@bad.crufty.net>
438 * bsd.after-import.mk (after-import): ensure unit-tests/Makefile
441 2012-07-04 Simon J. Gerraty <sjg@bad.crufty.net>
443 * Makefile.in (MAKE_VERSION): bump version to 20120704
444 Merge with NetBSD make, pick up
445 o Job_ParseShell should call Shell_Init if it has been
447 * Makefile.in: set USE_META based on configure result.
448 also .PARSEDIR is safer indicator of bmake.
450 2012-06-26 Simon J. Gerraty <sjg@bad.crufty.net>
452 * Makefile.in: bump version to 20120626
453 ensure CPPFLAGS is in CFLAGS
454 * meta.c: avoid nested externs
455 * bsd.after-import.mk: avoid ${.CURDIR}/Makefile as target
457 2012-06-20 Simon J. Gerraty <sjg@bad.crufty.net>
459 * Makefile.in (MAKE_VERSION): bump version to 20120620
460 Merge with NetBSD make, pick up
461 o make_malloc.c: avoid including make_malloc.h again
463 * Makefile.in: avoid bmake only syntax or protect with
464 .if defined(.MAKE.LEVEL)
465 * bsd.after-import.mk: replace .-include with .sinclude
466 ensure? SRCTOP gets a value
467 * configure.in: look for filemon.h in /usr/include/dev/filemon first.
469 2012-06-19 Simon J. Gerraty <sjg@bad.crufty.net>
471 * Makefile.in (MAKE_VERSION): bump version to 20120612
472 Merge with NetBSD make, pick up
473 o use MAKE_ATTR_* rather than those defined by cdefs.h or compiler
474 for greater portability.
475 o unit-tests/forloop: check that .for works as expected wrt
476 number of times and with "quoted strings".
478 2012-06-06 Simon J. Gerraty <sjg@bad.crufty.net>
480 * Makefile.in (MAKE_VERSION): bump version to 20120606
481 Merge with NetBSD make, pick up
482 o compat.c: use kill(2) rather than raise(3).
483 * configure.in: look for sys/dev/filemon
484 * bsd.after-import.mk: add a .-include "Makefile.inc" to Makefile
485 and pass BOOTSTRAP_XTRAS to boot-strap.
487 2012-06-04 Simon J. Gerraty <sjg@bad.crufty.net>
489 * Makefile.in (MAKE_VERSION): bump version to 20120604
490 Merge with NetBSD make, pick up
491 o util.c and var.c share same var for tracking if environ
492 has been reallocated.
493 o util.c provide getenv with setenv.
494 * Add MAKE_LEVEL_SAFE as an alternate means of passing MAKE_LEVEL
495 when the shell actively strips .MAKE.* from the environment.
496 We still refer to the variable always as .MAKE.LEVEL
497 * util.c fix bug in findenv() was finding prefix of name.
498 * compat.c: re-raising SIGINT etc after running .INTERRUPT
499 results in more reliable termination of all activity on many
502 2012-06-02 Simon J. Gerraty <sjg@bad.crufty.net>
504 * Makefile.in (MAKE_VERSION): bump version to 20120602
505 Merge with NetBSD make, pick up
506 o for.c: handle quoted items in .for list
508 2012-05-30 Simon J. Gerraty <sjg@bad.crufty.net>
510 * Makefile.in (MAKE_VERSION): bump version to 20120530
511 Merge with NetBSD make, pick up
512 o compat.c: ignore empty command.
514 2012-05-24 Simon J. Gerraty <sjg@bad.crufty.net>
516 * Makefile.in (MAKE_VERSION): bump version to 20120524
517 * FILES: add bsd.after-import.mk:
518 A simple means of integrating bmake into a BSD build system.
520 2012-05-20 Simon J. Gerraty <sjg@bad.crufty.net>
522 * Makefile.in (MAKE_VERSION): bump version to 20120520
523 Merge with NetBSD make, pick up
524 o increased limit for nested conditionals.
526 2012-05-18 Simon J. Gerraty <sjg@bad.crufty.net>
528 * Makefile.in (MAKE_VERSION): bump version to 20120518
529 Merge with NetBSD make, pick up
530 o use _exit(2) in signal hanlder
531 o Don't use the [dir] cache when building nodes that might have
532 changed since the last exec.
533 o Avoid nested extern declaration warnings.
535 2012-04-27 Simon J. Gerraty <sjg@bad.crufty.net>
537 * meta.c (fgetLine): avoid %z - not portable.
538 * parse.c: Since we moved include of sys/mman.h
539 and def's of MAP_COPY etc. we got dups from a merge.
541 2012-04-24 Simon J. Gerraty <sjg@bad.crufty.net>
543 * Makefile.in (MAKE_VERSION): bump version to 20120420
544 Merge with NetBSD make, pick up
545 o restore duplicate supression in .MAKE.MAKEFILES
546 runtime saving can be significant.
547 o Var_Subst() uses Buf_DestroyCompact() to reduce memory
548 consumption up to 20%.
550 2012-04-20 Simon J. Gerraty <sjg@bad.crufty.net>
552 * Makefile.in (MAKE_VERSION): bump version to 20120420
553 Merge with NetBSD make, pick up
554 o remove duplicate supression in .MAKE.MAKEFILES
555 o improved dir cache behavior
556 o gmake'ish export command
558 2012-03-25 Simon J. Gerraty <sjg@bad.crufty.net>
560 * Makefile.in (MAKE_VERSION): bump version to 20120325
561 Merge with NetBSD make, pick up
562 o fix parsing of :[#] in conditionals.
564 2012-02-10 Simon J. Gerraty <sjg@bad.crufty.net>
566 * Makefile.in: replace use of .Nx in bmake.1 with NetBSD
567 since some systems cannot cope with .Nx <version>
569 2011-11-14 Simon J. Gerraty <sjg@bad.crufty.net>
571 * Makefile.in (MAKE_VERSION): bump version to 20111111
572 Merge with NetBSD make, pick up
573 o debug output for .PARSEDIR and .PARSEFILE
575 2011-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
577 * Makefile.in (MAKE_VERSION): bump version to 20111010
579 2011-10-09 Simon J. Gerraty <sjg@bad.crufty.net>
581 * boot-strap: check for an expected file in the dirs we look for.
582 * make-bootstrap.sh: pass on LDSTATIC
584 2011-10-01 Simon J. Gerraty <sjg@bad.crufty.net>
586 * Makefile.in (MAKE_VERSION): bump version to 20111001
587 Merge with NetBSD make, pick up
588 o ensure .PREFIX is set for .PHONY
589 and .TARGET set for .PHONY run via .END
590 o __dead used consistently
592 2011-09-10 Simon J. Gerraty <sjg@bad.crufty.net>
594 * Makefile.in (MAKE_VERSION): 20110909 is a better number ;-)
596 2011-09-05 Simon J. Gerraty <sjg@bad.crufty.net>
598 * Makefile.in (MAKE_VERSION): bump version to 20110905
599 Merge with NetBSD make, pick up
600 o meta_oodate: ignore makeDependfile
602 2011-08-28 Simon J. Gerraty <sjg@bad.crufty.net>
604 * Makefile.in (MAKE_VERSION): bump version to 20110828
605 Merge with NetBSD make, pick up
606 o silent=yes in .MAKE.MODE causes meta mode to mark targets
607 as SILENT if a .meta file is created
609 2011-08-18 Simon J. Gerraty <sjg@bad.crufty.net>
611 * Makefile.in (MAKE_VERSION): bump version to 20110818
612 Merge with NetBSD make, pick up
613 o in meta mode, if target flagged .META a missing .meta file
614 means target is out-of-date
615 o fixes for gcc 4.5 warnings
616 o simplify job printing code
618 2011-08-09 Simon J. Gerraty <sjg@bad.crufty.net>
620 * Makefile.in (MAKE_VERSION): bump version to 20110808
621 Merge with NetBSD make, pick up
622 o do not touch OP_SPECIAL targets when doing make -t
624 2011-06-22 Simon J. Gerraty <sjg@bad.crufty.net>
626 * Makefile.in (MAKE_VERSION): bump version to 20110622
627 Merge with NetBSD make, pick up
628 o meta_oodate detect corrupted .meta file and declare oodate.
629 * configure.in: add check for setsid
631 2011-06-07 Simon J. Gerraty <sjg@bad.crufty.net>
633 * Merge with NetBSD make, pick up
634 o unit-tests/modts now works on MirBSD
636 2011-06-04 Simon J. Gerraty <sjg@bad.crufty.net>
638 * Makefile.in (MAKE_VERSION): bump version to 20110606
639 Merge with NetBSD make, pick up
640 o ApplyModifiers: when we parse a variable which is not
641 the entire modifier string, or not followed by ':', do not
642 consider it as containing modifiers.
643 o loadfile: ensure newline at end of mapped file.
645 2011-05-05 Simon J. Gerraty <sjg@bad.crufty.net>
647 * Makefile.in (MAKE_VERSION): bump version to 20110505
648 Merge with NetBSD make, pick up
649 o .MAKE.META.BAILIWICK - list of prefixes which define the scope
650 of make's control. In meta mode, any generated file within
651 said bailiwick, which is found to be missing, causes current
652 target to be out-of-date.
654 2011-04-11 Simon J. Gerraty <sjg@bad.crufty.net>
656 * Makefile.in (MAKE_VERSION): bump version to 20110411
657 Merge with NetBSD make, pick up
658 o when long modifiers fail to match, check sysV style.
661 2011-04-10 Simon J. Gerraty <sjg@bad.crufty.net>
663 * Makefile.in (MAKE_VERSION): bump version to 20110410
664 Merge with NetBSD make, pick up
665 o :hash - cheap 32bit hash of value
666 o :localtime, :gmtime - use value as format string for strftime.
668 2011-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
670 * Makefile.in (MAKE_VERSION): bump version to 20110330
671 mostly because its a cooler version.
672 Merge with NetBSD make, pick up
673 o NetBSD tags for meta.[ch]
674 o job.c call meta_job_finish() after meta_job_error().
675 o meta_job_error() should call meta_job_finish() to ensure
676 .meta file is closed, and safe to copy - if .ERROR target wants.
677 meta_job_finish() is safe to call repeatedly.
679 2011-03-29 Simon J. Gerraty <sjg@bad.crufty.net>
681 * unit-tests/modts: use printf if it is a builtin,
682 to save us from MirBSD
684 * Makefile.in (MAKE_VERSION): bump version to 20110329
685 Merge with NetBSD make, pick up
686 o fix for use after free() in CondDoExists().
687 o meta_oodate() report extra commands and return earlier.
689 2011-03-27 Simon J. Gerraty <sjg@bad.crufty.net>
691 * Makefile.in (MAKE_VERSION): bump version to 20110327
692 Merge with NetBSD make, pick up
693 o meta.c, if .MAKE.MODE contains curdirOk=yes
694 allow creating .meta files in .CURDIR
695 * boot-strap (TOOL_DIFF): aparently at least on linux distro
696 formats the output of 'type' differently - so eat any "()"
698 2011-03-06 Simon J. Gerraty <sjg@bad.crufty.net>
700 * Makefile.in (MAKE_VERSION): bump version to 20110306
701 Merge with NetBSD make, pick up
702 o meta.c, only do getcwd() once
704 2011-03-05 Simon J. Gerraty <sjg@bad.crufty.net>
706 * Makefile.in (MAKE_VERSION): bump version to 20110305
707 Merge with NetBSD make, pick up
708 o correct sysV substitution handling of empty lhs and variable
709 o correct exists() check for dir with trailing /
710 o correct handling of modifiers for non-existant variables
711 during evaluation of conditionals.
712 o ensure MAP_FILE is defined.
713 o meta.c use curdir[] now exported by main.c
715 2011-02-25 Simon J. Gerraty <sjg@bad.crufty.net>
717 * Makefile.in (MAKE_VERSION): bump version to 20110225
718 Merge with NetBSD make, pick up
719 o fix for incorrect .PARSEDIR when .OBJDIR is re-computed after
720 makefiles have been read.
721 o fix example of :? modifier in man page.
723 2011-02-13 Simon J. Gerraty <sjg@bad.crufty.net>
725 * Makefile.in (MAKE_VERSION): bump version to 20110214
726 Merge with NetBSD make, pick up
727 o meta.c handle realpath() failing when generating meta file
730 * sigcompat.c: convert to ansi so we can use higher warning levels.
733 2011-02-07 Simon J. Gerraty <sjg@bad.crufty.net>
735 * Makefile.in (MAKE_VERSION): bump version to 20110207
736 Merge with NetBSD make, pick up
737 o fix for bug in meta mode.
739 2011-01-03 Simon J. Gerraty <sjg@bad.crufty.net>
741 * parse.c: SunOS 5.8 at least does not have MAP_FILE
743 2011-01-01 Simon J. Gerraty <sjg@bad.crufty.net>
745 * Makefile.in (MAKE_VERSION): bump version to 20110101
746 Merge with NetBSD make, pick up
747 o use mmap(2) if available, for reading makefiles
749 2010-12-15 Simon J. Gerraty <sjg@bad.crufty.net>
751 * Makefile.in (MAKE_VERSION): bump version to 20101215
752 Merge with NetBSD make, pick up
753 o ensure meta_job_error() does not report a previous .meta file
756 2010-12-10 Simon J. Gerraty <sjg@bad.crufty.net>
758 * Makefile.in (MAKE_VERSION): bump version to 20101210
759 Merge with NetBSD make, pick up
760 o meta_oodate: track cwd per process, and only consider target
761 out-of-date if missing file is outside make's CWD.
762 Ignore files in /tmp/ etc.
763 o to ensure unit-tests results match, need to control LC_ALL
765 o fix for parsing bug in var.c
767 2010-11-26 Simon J. Gerraty <sjg@bad.crufty.net>
769 * Makefile.in (MAKE_VERSION): bump version to 20101126
770 Merge with NetBSD make, pick up
771 o if stale dependency is an IMPSRC, search via .PATH
772 o meta_oodate: if a referenced file is missing, target is
774 o meta_oodate: if a target uses .OODATE in its commands,
775 it (.OODATE) needs to be recomputed.
776 o keep a pointer to youngest child node, rather than just its
779 2010-11-02 Simon J. Gerraty <sjg@bad.crufty.net>
781 * Makefile.in (MAKE_VERSION): bump version to 20101101
783 2010-10-16 Simon J. Gerraty <sjg@bad.crufty.net>
785 * machine.sh: like os.sh,
786 allow for uname -p producing useless drivel
788 2010-09-13 Simon J. Gerraty <sjg@bad.crufty.net>
790 * boot-strap: document configure knobs for meta and filemon.
792 * Makefile.in (MAKE_VERSION): bump version to 20100911
793 Merge with NetBSD make, pick up
796 * make-bootstrap.sh.in: handle meta.c
797 * configure.in: add knobs for use_meta and filemon_h
798 also, look for dirname, str[e]sep and strlcpy
799 * util.c: add simple err[x] and warn[x]
801 2010-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
803 * boot-strap (TOOL_DIFF): set this to ensure tests use
804 the same version of diff that configure tested
806 * Makefile.in (MAKE_VERSION): bump version to 20100808
807 Merge with NetBSD make, pick up
808 o in jobs mode, when we discover we cannot make something,
809 call PrintOnError before exit.
811 2010-08-06 Simon J. Gerraty <sjg@bad.crufty.net>
813 * Makefile.in (MAKE_VERSION): bump version to 20100806
814 Merge with NetBSD make, pick up
815 o formatting fixes for ignored errors
816 o ensure jobs are cleaned up regardless of where wait() was called.
818 2010-06-28 Simon J. Gerraty <sjg@bad.crufty.net>
820 * Makefile.in (MAKE_VERSION): bump version to 20100618
821 * os.sh (MACHINE_ARCH): watch out for drivel from uname -p
823 2010-06-16 Simon J. Gerraty <sjg@bad.crufty.net>
825 * Makefile.in (MAKE_VERSION): bump version to 20100616
826 Merge with NetBSD make, pick up
828 o call PrintOnError from JobFinish when we detect an error we
831 2010-06-06 Simon J. Gerraty <sjg@bad.crufty.net>
833 * Makefile.in (MAKE_VERSION): bump version to 20100606
834 Merge with NetBSD make, pick up
837 2010-06-05 Simon J. Gerraty <sjg@bad.crufty.net>
839 * Makefile.in (MAKE_VERSION): bump version to 20100605
840 Merge with NetBSD make, pick up
841 o use bmake_signal() which is a wrapper around sigaction()
843 o add .export-env to allow exporting variables to environment
844 without tracking (so no re-export when the internal value is
847 2010-05-24 Simon J. Gerraty <sjg@bad.crufty.net>
849 * Makefile.in (MAKE_VERSION): bump version to 20100524
850 Merge with NetBSD make, pick up
851 o fix for .info et al being greedy.
853 2010-05-23 Simon J. Gerraty <sjg@bad.crufty.net>
855 * Makefile.in (MAKE_VERSION): bump version to 20100520
856 Merge with NetBSD make, pick up
857 o back to using realpath on argv[0]
858 but only if contains '/' and does not start with '/'.
860 2010-05-10 Simon J. Gerraty <sjg@bad.crufty.net>
862 * boot-strap: use absolute path for bmake when running tests.
864 * Makefile.in (MAKE_VERSION): bump version to 20100510
865 Merge with NetBSD make, pick up
866 o revert use of realpath on argv[0]
867 too many corner cases.
868 o print MAKE_PRINT_VAR_ON_ERROR before running .ERROR target.
870 2010-05-05 Simon J. Gerraty <sjg@bad.crufty.net>
872 * Makefile.in (MAKE_VERSION): bump version to 20100505
873 Merge with NetBSD make, pick up
874 o fix for missed SIGCHLD when compiled with SunPRO
875 actually for bmake, defining FORCE_POSIX_SIGNALS would have
878 2010-04-30 Simon J. Gerraty <sjg@bad.crufty.net>
880 * Makefile.in (MAKE_VERSION): bump version to 20100430
881 Merge with NetBSD make, pick up
882 o fflush stdout before writing to stdout
884 2010-04-23 Simon J. Gerraty <sjg@bad.crufty.net>
886 * Makefile.in (MAKE_VERSION): bump version to 20100423
887 Merge with NetBSD make, pick up
888 o updated unit tests for Haiku (this time for sure).
889 * boot-strap: based on patch from joerg
890 honor --with-default-sys-path better.
891 * boot-strap: remove mention of --with-prefix-sys-path
893 2010-04-22 Simon J. Gerraty <sjg@bad.crufty.net>
895 * Makefile.in (MAKE_VERSION): bump version to 20100422
896 * Merge with NetBSD make, pick up
897 o fix for vfork() on Darwin.
898 o fix for bogus $TMPDIR.
899 o set .MAKE.MODE=compat for -B
900 o set .MAKE.JOBS=max_jobs for -j max_jobs
901 o allow unit-tests to run without any *.mk
902 o unit-tests/modmisc be more conservative in dirs presumed to exist.
903 * boot-strap: ignore /usr/share/mk except on NetBSD.
904 * unit-tests/Makefile.in: set LANG=C when running unit-tests to
905 ensure sort(1) behaves as expected.
907 2010-04-21 Simon J. Gerraty <sjg@bad.crufty.net>
909 * boot-strap: add FindHereOrAbove so we can use -m .../mk
911 2010-04-20 Simon J. Gerraty <sjg@bad.crufty.net>
913 * Makefile.in (MAKE_VERSION): bump version to 20100420
914 * Merge with NetBSD make, pick up
915 o fix for variable realpath() behavior.
916 we have to stat(2) the result to be sure.
917 o fix for .export (all) when nested vars use :sh
919 2010-04-14 Simon J. Gerraty <sjg@bad.crufty.net>
921 * Makefile.in (MAKE_VERSION): bump version to 20100414
922 * Merge with NetBSD make, pick up
923 o use realpath to resolve argv[0] (for .MAKE) if needed.
924 o add realpath from libc.
925 o add :tA to resolve variable via realpath(3) if possible.
927 2010-04-08 Simon J. Gerraty <sjg@bad.crufty.net>
929 * Makefile.in (MAKE_VERSION): bump version to 20100408
930 * Merge with NetBSD make, pick up
931 o unit tests for .ERROR, .error
932 o fix for .ERROR to ensure it cannot be default target.
934 2010-04-06 Simon J. Gerraty <sjg@bad.crufty.net>
936 * Makefile.in (MAKE_VERSION): bump version to 20100406
937 * Merge with NetBSD make, pick up
938 o fix for compat mode "Error code" going to debug_file.
939 o fix for .ALLSRC being populated twice.
940 o support for .info, .warning and .error directives
941 o .MAKE.MODE to control make's operational mode
942 o .MAKE.MAKEFILE_PREFERENCE to control the preferred makefile
944 o .MAKE.DEPENDFILE to control the name of the depend file
945 o .ERROR target - run on failure.
947 2010-03-18 Simon J. Gerraty <sjg@bad.crufty.net>
949 * make-bootstrap.sh.in: extract MAKE_VERSION from Makefile
951 * os.sh,arch.c: patch for Haiku from joerg at netbsd
953 2010-03-17 Simon J. Gerraty <sjg@bad.crufty.net>
955 * Makefile.in (MAKE_VERSION): bump version to 20100222
956 * Merge with NetBSD make, pick up
957 o better error msg for .for with mutiple inter vars
960 o use make-bootstrap.sh from joerg at netbsd
961 to avoid the need for a native make when bootstrapping.
962 o add "" everywhere ;-)
963 o if /usr/share/tmac/andoc.tmac exists install nroff bmake.1
964 otherwise the pre-formated version.
966 2010-01-04 Simon J. Gerraty <sjg@bad.crufty.net>
968 * Makefile.in (MAKE_VERSION): bump version to 20100102
969 * Merge with NetBSD make, pick up:
972 2009-11-18 Simon J. Gerraty <sjg@void.crufty.net>
974 * Makefile.in (MAKE_VERSION): bump version to 20091118
975 * Merge with NetBSD make, pick up:
977 o report lines that start with '.' and should have ':'
978 (catch typo's of .el*if).
980 2009-10-30 Simon J. Gerraty <sjg@void.crufty.net>
982 * configure.in: Ensure that srcdir and mksrc are absolute paths.
984 2009-10-09 Simon J. Gerraty <sjg@void.crufty.net>
986 * Makefile.in (MAKE_VERSION): fix version to 20091007
988 2009-10-07 Simon J. Gerraty <sjg@void.crufty.net>
990 * Makefile.in (MAKE_VERSION): bump version to 200910007
991 * Merge with NetBSD make, pick up:
992 o fix for parsing of :S;...;...; applied to .for loop iterator
993 appearing in a dependency line.
995 2009-09-09 Simon J. Gerraty <sjg@void.crufty.net>
997 * Makefile.in (MAKE_VERSION): bump version to 20090909
998 * Merge with NetBSD make, pick up:
999 o fix for -C, .CURDIR and .OBJDIR
1001 o allow share_dir to be set independent of prefix.
1002 o select default share_dir better when prefix ends in $HOST_TARGET
1003 o if FORCE_BSD_MK etc were set, include them in the suggested
1006 2009-09-08 Simon J. Gerraty <sjg@void.crufty.net>
1008 * Makefile.in (MAKE_VERSION): bump version to 20090908
1009 * Merge with NetBSD make, pick up:
1010 o .MAKE.LEVEL for recursion tracking
1011 o fix for :M scanning \:
1013 2009-09-03 Simon J. Gerraty <sjg@void.crufty.net>
1015 * configure.in: Don't -D__EXTENSIONS__ if
1016 AC_USE_SYSTEM_EXTENSIONS says "no".
1018 2009-08-26 Simon J. Gerraty <sjg@void.crufty.net>
1020 * Makefile.in (MAKE_VERSION): bump version to 20090826
1021 Simplify MAKE_VERSION to just the bare date.
1022 * Merge with NetBSD make, pick up:
1023 o -C directory support.
1024 o support for SIGINFO
1025 o use $TMPDIR for temp files.
1026 o child of vfork should be careful about modifying parent's state.
1029 2009-03-26 Simon J. Gerraty <sjg@void.crufty.net>
1031 * Appy some patches for MiNT from David Brownlee
1033 2009-02-26 Simon J. Gerraty <sjg@void.crufty.net>
1035 * Makefile.in (BMAKE_VERSION): bump version to 20090222
1036 * Merge with NetBSD make, pick up:
1037 o Possible null pointer de-ref in Var_Set.
1039 2009-02-08 Simon J. Gerraty <sjg@void.crufty.net>
1041 * Makefile.in (BMAKE_VERSION): bump version to 20090204
1042 * Merge with NetBSD make, pick up:
1043 o bmake_malloc et al moved to their own .c
1044 o Count both () and {} when looking for the end of a :M pattern
1045 o Change 'Buffer' so that it is the actual struct, not a pointer to it.
1046 o strlist.c - functions for processing extendable arrays of pointers to strings.
1047 o ClientData replaced with void *, so const void * can be used.
1048 o New debug flag C for DEBUG_CWD
1050 2008-11-11 Simon J. Gerraty <sjg@void.crufty.net>
1052 * Makefile.in (BMAKE_VERSION): bump version to 20081111
1053 Apply patch from Joerg Sonnenberge to
1055 o remove some redundant checks
1056 o check for emlloc etc only in libutil and require the whole family.
1058 o remove [v]asprintf which is no longer used.
1060 2008-11-04 Simon J. Gerraty <sjg@void.crufty.net>
1062 * Makefile.in (BMAKE_VERSION): bump version to 20081101
1063 * Merge with NetBSD make, pick up:
1064 o util.c: avoid use of putenv() - christos
1066 2008-10-30 Simon J. Gerraty <sjg@void.crufty.net>
1068 * Makefile.in (BMAKE_VERSION): bump version to 20081030
1069 pick up man page tweaks.
1071 2008-10-29 Simon J. Gerraty <sjg@void.crufty.net>
1073 * Makefile.in: move processing of LIBOBJS to after is definition!
1074 thus we'll have getenv.c in SRCS only if needed.
1076 * make.1: add examples of how to use :?
1078 * Makefile.in (BMAKE_VERSION): bump version to 20081029
1079 * Merge with NetBSD make, pick up:
1080 o fix for .END processing with -j
1081 o segfault from Parse_Error when no makefile is open
1082 o handle numeric expressions in any variable expansion
1083 o debug output now defaults to stderr, -dF to change it - apb
1084 o make now uses bmake_malloc etc so that it can build natively
1085 on A/UX - wasn't an issue for bmake, but we want to keep in sync.
1087 2008-09-27 Simon J. Gerraty <sjg@void.crufty.net>
1089 * Makefile.in (BMAKE_VERSION): bump version to 20080808
1090 * Merge with NetBSD make, pick up:
1091 o fix for PR/38840: Pierre Pronchery: make crashes while parsing
1092 long lines in Makefiles
1093 o optimizations for VarQuote by joerg
1094 o fix for PR/38756: dominik: make dumps core on invalid makefile
1096 2008-05-15 Simon J. Gerraty <sjg@void.crufty.net>
1098 * Makefile.in (BMAKE_VERSION): bump version to 20080515
1099 * Merge with NetBSD make, pick up:
1100 o fix skip setting vars in VAR_GLOBAL context, to handle
1101 cases where VAR_CMD is used for other than command line vars.
1103 2008-05-14 Simon J. Gerraty <sjg@void.crufty.net>
1105 * boot-strap (make_version): we may need to look in
1106 $prefix/share/mk for sys.mk
1108 * Makefile.in (BMAKE_VERSION): bump version to 20080514
1109 * Merge with NetBSD make, pick up:
1110 o skip setting vars in VAR_GLOBAL context, when already set in
1111 VAR_CMD which takes precedence.
1113 2008-03-30 Simon J. Gerraty <sjg@void.crufty.net>
1115 * Makefile.in (BMAKE_VERSION): bump version to 20080330
1116 * Merge with NetBSD make, pick up:
1117 o fix for ?= when LHS contains variable reference.
1119 2008-02-15 Simon J. Gerraty <sjg@void.crufty.net>
1121 * merge some patches from NetBSD pkgsrc.
1123 * makefile.boot.in (BOOTSTRAP_SYS_PATH): Allow better control of
1124 the MAKSYSPATH used during bootstrap.
1126 * Makefile.in (BMAKE_VERSION): bump version to 20080215
1127 * Merge with NetBSD make, pick up:
1128 o warn if non-space chars follow 'empty' in a conditional.
1130 2008-01-18 Simon J. Gerraty <sjg@void.crufty.net>
1132 * Makefile.in (BMAKE_VERSION): bump version to 20080118
1133 * Merge with NetBSD make, pick up:
1134 o consider dependencies read from .depend as optional - dsl
1135 o remember when buffer for reading makefile grows - dsl
1136 o add -dl (aka LOUD) - David O'Brien
1138 2007-10-22 Simon J. Gerraty <sjg@void.crufty.net>
1140 * Makefile.in (BMAKE_VERSION): bump version to 20071022
1141 * Merge with NetBSD make, pick up:
1142 o Allow .PATH<suffix> to be used for .include ""
1144 * boot-strap: source default settings from .bmake-boot-strap.rc
1146 2007-10-16 Simon J. Gerraty <sjg@void.crufty.net>
1148 * Makefile.in: fix maninstall on various systems
1149 provided that our man.mk is used.
1150 For non-BSD systems we install the preformatted page
1153 2007-10-15 Simon J. Gerraty <sjg@void.crufty.net>
1155 * boot-strap: make bmake.1 too, so maninstall works.
1157 2007-10-14 Simon J. Gerraty <sjg@void.crufty.net>
1159 * Makefile.in (BMAKE_VERSION): bump version to 20071014
1160 * Merge with NetBSD make, pick up:
1161 o revamped handling of defshell - configure no longer needs to
1162 know the content of the shells array - apb
1163 o stop Var_Subst modifying its input - apb
1164 o avoid calling ParseTrackInput too often - dsl
1166 2007-10-11 Simon J. Gerraty <sjg@void.crufty.net>
1168 * Makefile.in (BMAKE_VERSION): bump version to 20071011
1169 * Merge with NetBSD make, pick up:
1170 o fix Shell_Init for case that _BASENAME_DEFSHELL is absolute path.
1172 * sigcompat.c: some tweaks for HP-UX 11.x based on
1173 patch from Tobias Nygren
1175 * configure.in: update handling of --with-defshell to match
1176 new make behavior. --with-defshell=/usr/xpg4/bin/sh
1177 will now do what one might hope - provided the chosen shell
1178 behaves enough like sh.
1180 2007-10-08 Simon J. Gerraty <sjg@void.crufty.net>
1182 * Makefile.in (BMAKE_VERSION): bump to 20071008
1183 * Merge with NetBSD make, pick up:
1184 o .MAKE.JOB.PREFIX - control the token output before jobs - sjg
1185 o .export/.MAKE.EXPORTED - export of variables - sjg
1186 o .MAKE.MAKEFILES - track all makefiles read - sjg
1187 o performance improvements - dsl
1188 o revamp parallel job scheduling - dsl
1190 2006-07-28 Simon J. Gerraty <sjg@void.crufty.net>
1192 * Makefile.in (BMAKE_VERSION): bump to 20060728
1193 * Merge with NetBSD make, pick up:
1194 o extra debug info during variable and cond processing - sjg
1195 o shell definition now covers newline - rillig
1196 o minor mem leak in PrintOnError - sjg
1198 2006-05-11 Simon J. Gerraty <sjg@void.crufty.net>
1200 * Makefile.in (BMAKE_VERSION): bump to 20060511
1201 * Merge with NetBSD make, pick up:
1202 o more memory leaks - coverity
1203 o possible overflow in ArchFindMember - coverity
1204 o extract variable modifier code out of Var_Parse()
1205 so it can be called recursively - sjg
1206 o unit-tests/moderrs - sjg
1208 2006-04-12 Simon J. Gerraty <sjg@void.crufty.net>
1210 * Makefile.in (BMAKE_VERSION): bump to 20060412
1211 * Merge with NetBSD make, pick up:
1212 o fixes for some memory leaks - coverity
1213 o only read first sys.mk etc when searching sysIncPath - sjg
1215 * main.c (ReadMakefile): remove hack for __INTERIX that prevented
1216 setting ${MAKEFILE} - OBATA Akio
1218 2006-03-18 Simon J. Gerraty <sjg@void.crufty.net>
1220 * Makefile.in (BMAKE_VERSION): bump to 20060318
1221 * Merge with NetBSD make, pick up:
1222 o cleanup of job.c to remove remote handling, distcc is more
1223 useful and this code was likely bit-rotting - dsl
1224 o fix for :P modifier - sjg
1225 * boot-strap: set default prefix to something reasonable
1228 2006-03-01 Simon J. Gerraty <sjg@void.crufty.net>
1230 * Makefile.in (BMAKE_VERSION): bump to 20060301
1231 * Merge with NetBSD make, pick up:
1232 o make .WAIT apply recursively, document and test case - apb
1233 o allow variable modifiers in a variable appear anywhere in
1234 modifier list, document and test case - sjg
1236 2006-02-22 Simon J. Gerraty <sjg@void.crufty.net>
1238 * Makefile.in (BMAKE_VERSION): bump to 20060222
1239 * Merge with NetBSD make, pick up:
1240 o improved job token handling - dsl
1241 o SIG_DFL the correct signal before exec - dsl
1242 o more debug info during parsing - dsl
1243 o allow variable modifiers to be specified via variable - sjg
1244 * boot-strap: explain why we died if no mksrc
1246 2005-11-05 Simon J. Gerraty <sjg@void.crufty.net>
1248 * Makefile.in (BMAKE_VERSION): bump to 20051105
1249 * configure.in: always set default_sys_path
1250 default is ${prefix}/share/mk
1251 - remove prefix_sys_path, anyone wanting more than above
1252 needs to set it manually.
1254 2005-11-04 Simon J. Gerraty <sjg@void.crufty.net>
1256 * boot-strap: make this a bit easier for pkgsrc folk.
1257 bootstrap still fails on IRIX64 since MACHINE_ARCH gets set to
1258 'mips' while pkgsrc wants 'mipseb' or 'mipsel'
1260 2005-11-02 Simon J. Gerraty <sjg@void.crufty.net>
1262 * Makefile.in (BMAKE_VERSION): bump to 20051102
1263 * job.c (JobFinish): fix likely ancient merge lossage
1264 fix from Todd Vierling.
1265 * boot-strap (srcdir): allow setting mksrc=none
1267 2005-10-31 Simon J. Gerraty <sjg@void.crufty.net>
1269 * Makefile.in (BMAKE_VERSION): bump to 20051031
1270 * ranlib.h: skip on OSF too.
1273 2005-10-10 Simon J. Gerraty <sjg@void.crufty.net>
1275 * Makefile.in (BMAKE_VERSION): bump to 20051002
1278 2005-10-09 Simon J. Gerraty <sjg@void.crufty.net>
1280 * Makefile.in (BMAKE_VERSION): bump to 20051001
1281 support for UnixWare and some other systems,
1282 based on patches from pkgsrc/bootstrap
1284 2005-09-03 Simon J. Gerraty <sjg@void.crufty.net>
1286 * Makefile.in (BMAKE_VERSION): bump to 20050901
1287 * Merge with NetBSD make, pick up:
1288 o possible parse error causing us to wander off.
1290 2005-06-06 Simon J. Gerraty <sjg@void.crufty.net>
1292 * Makefile.in (BMAKE_VERSION): bump to 20050606
1293 * Merge with NetBSD make, pick up:
1294 o :0x modifier for randomizing a list
1295 o fixes for a number of -Wuninitialized issues.
1297 2005-05-30 Simon J. Gerraty <sjg@void.crufty.net>
1299 * Makefile.in (BMAKE_VERSION): bump to 20050530
1300 * Merge with NetBSD make, pick up:
1301 o Handle dependencies for .BEGIN, .END and .INTERRUPT
1303 * README: was seriously out of date.
1305 2005-03-22 Simon J. Gerraty <sjg@void.crufty.net>
1307 * Important to use .MAKE rather than MAKE.
1309 2005-03-15 Simon J. Gerraty <sjg@void.crufty.net>
1311 * Makefile.in (BMAKE_VERSION): bump to 20050315
1312 * Merge with NetBSD make, pick up:
1313 o don't mistake .elsefoo for .else
1314 o use suffix-specific search path correctly
1315 o bunch of style nits
1317 2004-05-11 Simon J. Gerraty <sjg@void.crufty.net>
1320 o ensure that args to --src and --with-mksrc
1321 are resolved before giving them to configure.
1322 o add -o "objdir" so that builder can control it,
1323 default is $OS as determined by os.sh
1324 o add -q to suppress all the install instructions.
1326 2004-05-08 Simon J. Gerraty <sjg@void.crufty.net>
1328 * Remove __IDSTRING()
1330 * Makefile.in (BMAKE_VERSION): bump to 20040508
1331 * Merge with NetBSD make, pick up:
1333 - remove '-e' from compat mode
1334 - add support for '+' command-line prefix.
1335 o fix for handling '--' on command-line.
1336 o fix include in lst.lib/lstInt.h to simplify '-I's
1337 o we also picked up replacement of MAKE_BOOTSTRAP
1338 with !MAKE_NATIVE which is a noop, but possibly confusing.
1340 2004-04-14 Simon J. Gerraty <sjg@void.crufty.net>
1342 * Makefile.in (BMAKE_VERSION): bump to 20040414
1343 * Merge with NetBSD make, pick up:
1344 o allow quoted strings on lhs of conditionals
1345 o issue warning when extra .else is seen
1346 o print line numer when errors encountered during parsing from
1349 2004-02-20 Simon J. Gerraty <sjg@void.crufty.net>
1351 * Makefile.in (BMAKE_VERSION): bump to 20040220
1352 * Merge with NetBSD make, pick up:
1353 o fix for old :M parsing bug.
1354 o re-jigged unit-tests
1356 2004-02-15 Simon J. Gerraty <sjg@void.crufty.net>
1358 * Makefile.in (accept test): use ${.MAKE:S,^./,${.CURDIR}/,}
1359 so that './bmake -f Makefile test' works.
1361 2004-02-14 Simon J. Gerraty <sjg@void.crufty.net>
1363 * Makefile.in: (BMAKE_VERSION): bump to 20040214
1364 * Merge with NetBSD make, pick up:
1365 o search upwards for *.mk
1366 o fix for double free of var substitution buffers
1367 o use of getopt replaced with custom code, since the usage
1368 (re-scanning) isn't posix compatible.
1370 2004-02-12 Simon J. Gerraty <sjg@void.crufty.net>
1372 * arch.c: don't include ranlib.h on ELF systems
1373 (thanks to Chuck Cranor <chuck@ece.cmu.edu>).
1375 2004-01-18 Simon J. Gerraty <sjg@void.crufty.net>
1377 * Makefile.in (BMAKE_VERSION): bump to 20040118
1379 * boot-strap (while): export vars we assign to on cmdline
1380 * unit-test/Makefile.in: ternary is .PHONY
1382 2004-01-08 Simon J. Gerraty <sjg@void.crufty.net>
1384 * Makefile.in (BMAKE_VERSION): bump version to 20040108
1385 * Merge with NetBSD make, pick up:
1386 o fix for ternary modifier
1388 2004-01-06 Simon J. Gerraty <sjg@void.crufty.net>
1390 * Makefile.in (BMAKE_VERSION): bump version to 20040105
1391 * Merge with NetBSD make, pick up:
1392 o fix for cond.c to handle compound expressions better
1393 o variable expansion within sysV style replacements
1395 2003-12-22 Simon J. Gerraty <sjg@void.crufty.net>
1397 * Make portable snprintf safer - output to /dev/null first to
1400 * Makefile.in (BMAKE_VERSION): bump version to 20031222
1401 * Merge with NetBSD make, pick up:
1402 o -dg3 to show input graph when things go wrong.
1403 o explicitly look for makefiles in objdir if not found in curdir so
1404 that errors in .depend etc will be reported accurarely.
1405 o avoid use of -e in shell scripts in jobs mode, use '|| exit $?'
1406 instead as it more accurately reflects the expected behavior and
1407 is more consistently implemented.
1408 o avoid use of asprintf.
1410 2003-09-28 Simon J. Gerraty <sjg@void.crufty.net>
1412 * util.c: Add asprintf and vasprintf.
1414 * Makefile.in (BMAKE_VERSION): bump version to 20030928
1415 * Merge with NetBSD make, pick up:
1416 :[] modifier - allows picking words from a variable.
1417 :tW modifier - allows treating value as one big word.
1418 W flag for :C and :S - allows treating value as one big word.
1420 2003-09-12 Simon J. Gerraty <sjg@void.crufty.net>
1422 * Merge with NetBSD make
1423 pick up -de flag to enable printing failed command.
1424 don't skip 1st two dir entries (normally . and ..) since
1425 coda does not have them.
1427 2003-09-09 Simon J. Gerraty <sjg@void.crufty.net>
1429 * Makefile.in (BMAKE_VERSION): bump version to 20030909
1430 * Merge with NetBSD make, pick up:
1431 - changes for -V '${VAR}' to print fully expanded value
1433 - CompatRunCommand now prints the command that failed.
1434 - several files got updated 3 clause Berkeley license.
1436 2003-08-02 Simon J. Gerraty <sjg@void.crufty.net>
1438 * boot-strap: Allow setting configure args on command line.
1440 2003-07-31 Simon J. Gerraty <sjg@void.crufty.net>
1442 * configure.in: add --with-defshell to allow sh or ksh
1443 to be selected as default shell.
1445 * Makefile.in: bump version to 20030731
1447 * Merge with NetBSD make
1448 Pick up .SHELL spec for ksh and associate man page changes.
1449 Also compat mode now uses the same shell specs.
1451 2003-07-29 Simon J. Gerraty <sjg@void.crufty.net>
1453 * var.c (Var_Parse): ensure delim is initialized.
1455 * unit-tests/Makefile.in: use single quotes to avoid problems from
1459 Run the unit-tests as part of the bootstrap procedure.
1461 2003-07-28 Simon J. Gerraty <sjg@void.crufty.net>
1463 * unit-tests/Makefile.in: always force complaints from
1464 ${TEST_MAKE} to be from 'make'.
1466 * configure.in: add check for 'diff -u'
1467 also fix some old autoconf'isms
1469 * Makefile.in (BMAKE_VERSION): bump version to 20030728.
1470 if using GCC add -Wno-cast-qual to CFLAGS for var.o
1472 * Merge with NetBSD make
1473 Pick up fix for :ts parsing error in some cases.
1476 2003-07-23 Simon J. Gerraty <sjg@void.crufty.net>
1478 * Makefile.in (BMAKE_VERSION): bump version to 20030723.
1480 * var.c (Var_Parse): fix bug in :ts modifier, after const
1481 correctness fixes, must pass nstr to VarModify.
1483 2003-07-14 Simon J. Gerraty <sjg@void.crufty.net>
1485 * Makefile.in: BMAKE_VERSION switch to a date based version.
1486 We'll generally use the date of last import from NetBSD.
1488 * Merge with NetBSD make
1489 Pick up fixes for const-correctness, now passes WARNS=3 on
1491 Pick up :ts modifier, allows controlling the separator used
1492 between words in variable expansion.
1494 2003-07-11 Simon J. Gerraty <sjg@void.crufty.net>
1496 * FILES: include boot-strap and os.sh
1498 * Makefile.in: only set WARNS if we are NetBSD, the effect on
1499 FreeBSD is known to be bad.
1501 * makefile.boot.in (bootstrap): make this the default target.
1503 * Makefile.in: bump version to 3.1.19
1505 * machine.sh: avoid A-Z with tr as it is bound to lose.
1507 2003-07-10 Simon J. Gerraty <sjg@void.crufty.net>
1509 * Merge with NetBSD make
1510 Pick up fix for PR/19781 - unhelpful error msg on unclosed ${var:foo
1511 Plus some doc fixes.
1513 2003-04-27 Simon J. Gerraty <sjg@void.crufty.net>
1515 * Merge with NetBSD make
1516 Pick up fix for PR/1523 - don't count a library as built, if there
1517 is no way to build it
1519 * Bump version to 3.1.18
1521 2003-03-23 Simon J. Gerraty <sjg@void.crufty.net>
1523 * Merge with NetBSD make
1524 Pick up fix for ParseDoSpecialSrc - we only use it if .WAIT
1525 appears in src list.
1527 2003-03-21 Simon J. Gerraty <sjg@void.crufty.net>
1529 * Merge with NetBSD make (mmm 10th anniversary!)
1530 pick up fix for .WAIT in srcs that refer to $@ or $* (PR#20828)
1531 pick up -X which tells us to not export VAR=val via setenv if
1532 we are already doing so via MAKEFLAGS. This saves valuable env
1533 space on systems like Darwin.
1534 set MAKE_VERSION to 3.1.17
1536 * parse.c: pix up fix for suffix rules
1538 2003-03-06 Simon J. Gerraty <sjg@void.crufty.net>
1540 * Merge with NetBSD make.
1541 pick up fix for propagating -B via MAKEFLAGS.
1542 set MAKE_VERSION to 3.1.16
1544 * Apply some patches from pkgsrc-bootstrap/bmake
1545 Originally by Grant Beattie <grant@netbsd.org>
1546 I may have missed some - since they are based on bmake-3.1.12
1548 2002-12-03 Simon J. Gerraty <sjg@void.crufty.net>
1550 * makefile.boot.in (bmake): update install targets for those that
1551 use them, also clear MAKEFLAGS when invoking bmake.boot to avoid
1552 havoc from gmake -w. Thanks to Harlan Stenn <hstenn@cisco.com>.
1554 * bmake.cat1: update the pre-formatted man page!
1556 2002-11-30 Simon J. Gerraty <sjg@void.crufty.net>
1558 * Merge with NetBSD make.
1559 pick up fix for premature free of pointer used in call
1561 set MAKE_VERSION to 3.1.15
1563 2002-11-26 Simon J. Gerraty <sjg@void.crufty.net>
1565 * configure.in: determine suitable value for MKSRC.
1566 override using --with-mksrc=PATH.
1568 * machine.sh: use `uname -p` for MACHINE_ARCH on modern SunOS systems.
1569 configs(8) will use 'sun4' as an alias for 'sparc'.
1571 2002-11-25 Simon J. Gerraty <sjg@void.crufty.net>
1573 * Merge with NetBSD make.
1575 pick up fix for finding ../cat.c via .PATH when .CURDIR=..
1576 set MAKE_VERSION to 3.1.14
1577 add configure checks for killpg and sys/socket.h
1579 2002-09-16 Simon J. Gerraty <sjg@void.crufty.net>
1583 * makefile.boot.in (bmake): use install-mk
1584 Also setup ./mk before trying to invoke bmake.boot incase we
1585 needed install-mk to create a sys.mk for us.
1587 * configure.in: If we need to add -I${srcdir}/missing, make it an
1588 absolute path so that it works for lst.lib too.
1590 * make.h: always include sys/cdefs.h since we provide one if the
1593 * Makefile.in (install-mk):
1594 use MKSRC/install-mk which will do the right thing.
1595 use uname -p for ARCH if possible.
1596 since install-mk will setup links bsd.prog.mk -> prog.mk if
1597 needed, just .include bsd.prog.mk
1599 * Merge with NetBSD make (NetBSD-1.6)
1600 Code is ansi-C only now.
1601 Bug in handling of dotLast is fixed.
1602 Can now assign .OBJDIR and make will reset its notions of life.
1603 New modifiers :tu :tl for toUpper and toLower.
1605 Tue Oct 16 12:18:42 2001 Simon J. Gerraty <sjg@zen.crufty.net>
1607 * Merge with NetBSD make
1608 pick up fix for .END failure in compat mode.
1609 pick up fix for extra va_end() in ParseVErrorInternal.
1611 Thu Oct 11 13:20:06 2001 Simon J. Gerraty <sjg@zen.crufty.net>
1613 * configure.in: for systems that have sys/cdefs.h check if it is
1614 compatible. If not, include the one under missing, but tell it to
1615 include the native one too - necessary on Linux.
1617 * missing/sys/cdefs.h: if NEED_HOST_CDEFS_H is defined, use
1618 include_next (for gcc) to get the native sys/cdefs.h
1620 Tue Aug 21 02:29:34 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1622 * job.c (JobFinish): Fix an earlier merge bug that resulted in
1623 leaking descriptors when using -jN.
1625 * job.c (JobPrintCommand): See if "curdir" exists before
1626 attempting to chdir(). Doing the chdir directly in make (when in
1627 compat mode) fails silently, so let the -jN version do the same.
1628 This can happen when building kernels in an object tree and
1629 playing clever games to reset .CURDIR.
1631 * Merged with NetBSD make
1634 Tue Jun 26 23:45:11 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1636 * makefile.boot.in: Give bmake.boot a MAKESYSPATH that might work.
1638 Tue Jun 12 16:48:57 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1640 * var.c (Var_Set): Add 4th (flags) arg so VarLoopExpand can tell
1641 us not to export the iterator variable when using VAR_CMD context.
1643 Sun Jun 10 21:55:21 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1645 * job.c (Job_CatchChildren): don't call Job_CatchOutput() here,
1646 its the wrong "fix".
1648 Sat Jun 9 00:11:24 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1650 * Redesigned export of VAR_CMD's via MAKEFLAGS.
1651 We now simply append the variable names to .MAKEOVERRIDES, and
1652 handle duplicate suppression and quoting in ExportMAKEFLAGS using:
1653 ${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@}
1654 Apart from fixing quoting bugs in previous version, this allows us
1655 to export vars to the environment by simply doing:
1656 .MAKEOVERRIDES+= PATH
1657 Merged again with NetBSD make, but the above is the only change.
1659 * configure.in: added
1660 --disable-pwd-override disable $PWD overriding getcwd()
1661 --disable-check-make-chdir disable make trying to guess
1662 when it should automatically cd ${.CURDIR}
1664 * Merge with NetBSD make, changes include:
1665 parse.c (ParseDoDependency): Spot that the syntax error is
1666 caused by an unresolved cvs/rcs conflict and say so.
1667 var.c: most of Var* functions now take a ctxt as 1st arg.
1668 now does variable substituion on rhs of sysv style modifiers.
1670 * var.c (Var_Set): exporting of command line variables (VAR_CMD)
1671 is now done here. We append the name='value' to .MAKEOVERRIDES
1672 rather than directly into MAKEFLAGS as this allows a Makefile to
1673 use .MAKEOVERRIDES= to disable this behaviour. GNU make uses a
1674 very similar mechanism. Note that in adding name='value' to
1675 .MAKEOVERRIDES we do the moral equivalent of:
1676 .MAKEOVERRIDES:= ${.MAKEOVERRIDES:Nname=*} name='val'
1678 Fri Jun 1 14:08:02 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1680 * make-conf.h (USE_IOVEC): make it conditional on HAVE_SYS_UIO_H
1682 * Merged with NetBSD make
1683 make -dx can now be used to run commands via sh -x
1684 better error messages on exec failures.
1686 Thu May 31 01:44:54 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1688 * Makefile.in (main.o): depends on ${SRCS} ${MAKEFILE} so that
1689 MAKE_VERSION gets updated. Also don't use ?= for MAKE_VERSION,
1690 MACHINE etc otherwise they propagate from the previous bmake.
1692 * configure.in (machine): allow --with-machine=generic to make
1693 configure use machine.sh to set MACHINE.
1695 * job.c (JobInterrupt): convert to using WAIT_T and friends.
1697 * Makefile.in: mention in bmake.1 that we use autoconf.
1699 * make.1: mention MAKE_PRINT_VAR_ON_ERROR.
1701 Wed May 30 23:17:18 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1703 * main.c (ReadMakefile): don't set MAKEFILE if reading ".depend"
1704 as that rather defeats the usefulness of ${MAKEFILE}.
1706 * main.c (MainParseArgs): append command line variable assignments
1707 to MAKEFLAGS so that they get propagated to child make's.
1708 Apparently this is required POSIX behaviour? Its useful anyway.
1710 Tue May 29 02:20:07 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1712 * compat.c (CompatRunCommand): don't use perror() since stdio may
1713 cause problems in child of vfork().
1715 * compat.c, main.c: Call PrintOnError() when we are going to bail.
1716 This routine prints out the .curdir where we stopped and will also
1717 display any vars listed in ${MAKE_PRINT_VAR_ON_ERROR}.
1719 * main.c: add ${.newline} to hold a "\n" - sometimes handy in
1722 * var.c: VarLoopExpand: ignore addSpace if a \n is present.
1724 * Added RCSid's for the files we've touched.
1726 Thu May 24 15:41:37 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1728 * configure.in: Thanks to some clues from mdb@juniper.net,
1729 added autoconf magic to control setting of MACHINE, MACHINE_ARCH
1730 as well as what ends up in _PATH_DEFSYSPATH. We now have:
1732 --with-machine=MACHINE explicitly set MACHINE
1733 --with-force-machine=MACHINE set FORCE_MACHINE
1734 --with-machine_arch=MACHINE_ARCH explicitly set MACHINE_ARCH
1735 --with-default-sys-path=PATH:DIR:LIST use an explicit _PATH_DEFSYSPATH
1736 --with-prefix-sys-path=PATH:DIR:LIST prefix _PATH_PREFIX_SYSPATH
1737 --with-path-objdirprefix=PATH override _PATH_OBJDIRPREFIX
1739 If _PATH_OBJDIRPREFIX is set to "no" we won't define it.
1741 * makefile: added a pathetically simple makefile to drive
1742 bootstrapping. Running configure by hand is more useful.
1744 * Makefile.in: added MAKE_VERSION, and reworked things to be less
1745 dependent on NetBSD bsd.*.mk
1747 * pathnames.h: allow NO_PATH_OBJDIRPREFIX to stop us defining
1748 _PATH_OBJDIRPREFIX for those that don't want a default.
1749 construct _PATH_DEFSYSPATH from the info we get from configure.
1751 * main.c: allow for no _PATH_OBJDIRPREFIX, set ${MAKE_VERSION}
1752 if MAKE_VERSION is defined.
1754 * compat.c: when we bail, print out the .CURDIR we were in.
1756 Sat May 12 00:34:12 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1758 * Merged with NetBSD make
1760 * var.c: fixed a bug in the handling of the modifier :P
1761 if the node as found but the path was null, we segfault trying to
1764 Mon Mar 5 16:20:33 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1766 * Merged with NetBSD make
1768 * make.c: Make_OODate's test for a library out of date was using
1769 cmtime where it should have used mtime (my bug).
1771 * compat.c: Use perror() to tell us what really went wrong when we
1772 cannot exec a command.
1774 Fri Dec 15 10:11:08 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
1776 * Merged with NetBSD make
1778 Sat Jun 10 10:11:08 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
1780 * Merged with NetBSD make
1782 Thu Jun 1 10:11:08 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
1784 * Merged with NetBSD make
1786 Tue May 30 10:11:08 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
1788 * Merged with NetBSD make
1790 Thu Apr 27 00:07:47 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
1792 * util.c: don't provide signal() since we use sigcompat.c
1794 * Makefile.in: added a build target.
1796 * var.c (Var_Parse): added ODE modifiers :U, :D, :L, :P, :@ and :!
1797 These allow some quite clever magic.
1799 * main.c (main): added support for getenv(MAKESYSPATH).
1801 Mon Apr 2 16:25:13 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
1803 * Disable $PWD overriding getcwd() if MAKEOBJDIRPREFIX is set.
1804 This avoids objdir having a different value depending on how a
1805 directory was reached (via command line, or subdir.mk).
1807 * If FORCE_MACHINE is defined, ignore getenv("MACHINE").
1809 Mon Apr 2 23:15:31 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
1811 * Do a chdir(${.CURDIR}) before invoking ${.MAKE} or ${.MAKE:T} if
1812 MAKEOBJDIRPREFIX is set and NOCHECKMAKECHDIR is not.
1813 I've been testing this in NetBSD's make for some weeks.
1815 * Turn Makefile into Makefile.in and make it useful.
1817 Tue Feb 29 22:08:00 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
1819 * Imported NetBSD's -current make(1) and resolve conflicts.
1821 * Applied autoconf patches from bmake v2
1823 * Imported clean code base from NetBSD-1.0