1 2015-12-20 Simon J. Gerraty <sjg@bad.crufty.net>
3 * Makefile (MAKE_VERSION): 20151220
4 Merge with NetBSD make, pick up
5 o suff.c: re-initialize suffNull when clearing suffixes.
7 2015-12-01 Simon J. Gerraty <sjg@bad.crufty.net>
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
17 2015-11-26 Simon J. Gerraty <sjg@bad.crufty.net>
19 * Makefile (MAKE_VERSION): 20151126
20 Merge with NetBSD make, pick up
21 o parse.c: ParseTrackInput don't access beyond
24 2015-10-22 Simon J. Gerraty <sjg@bad.crufty.net>
26 * Makefile (MAKE_VERSION): 20151022
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.
32 * var.c: eliminate uint32_t and need for inttypes.h
34 * main.c: PrintOnError flush stdout before run .ERROR
36 * parse.c: cope with _SC_PAGESIZE not being defined.
39 2015-10-20 Simon J. Gerraty <sjg@bad.crufty.net>
41 * Makefile (MAKE_VERSION): 20151020
42 Merge with NetBSD make, pick up
43 o var.c: fix uninitialized var
45 2015-10-12 Simon J. Gerraty <sjg@bad.crufty.net>
47 * var.c: the conditional expressions used with ':?' can be
48 expensive, if already discarding do not evaluate or expand
51 2015-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
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.
59 2015-10-09 Simon J. Gerraty <sjg@bad.crufty.net>
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
66 2015-09-10 Simon J. Gerraty <sjg@bad.crufty.net>
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
72 o centralize shell metachar handling
74 * FILES: add metachar.[ch]
76 2015-06-06 Simon J. Gerraty <sjg@bad.crufty.net>
78 * Makefile (MAKE_VERSION): 20150606
79 Merge with NetBSD make, pick up
80 o make.1: document .OBJDIR target
82 2015-05-05 Simon J. Gerraty <sjg@bad.crufty.net>
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
90 2015-05-04 Simon J. Gerraty <sjg@bad.crufty.net>
92 * machine.sh (MACHINE): Add Bitrig
93 patch from joerg@netbsd.org
95 2015-04-18 Simon J. Gerraty <sjg@bad.crufty.net>
97 * Makefile (MAKE_VERSION): 20150418
98 Merge with NetBSD make, pick up
99 o job.c: use memmove() rather than memcpy()
101 * unit-tests/varshell.mk: SunOS cannot handle the TERMINATED_BY_SIGNAL
104 2015-04-11 Simon J. Gerraty <sjg@bad.crufty.net>
106 * Makefile (MAKE_VERSION): 20150411
107 bump version - only mk/ changes.
109 2015-04-10 Simon J. Gerraty <sjg@bad.crufty.net>
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)
119 2015-04-01 Simon J. Gerraty <sjg@bad.crufty.net>
121 * Makefile (MAKE_VERSION): 20150401
122 Merge with NetBSD make, pick up
123 o meta.c: close meta file in child
125 * Makefile: use BINDIR.bmake if set.
126 Same for MANDIR and SHAREDIR
127 Handy for testing release candidates
128 in various environments.
130 2015-03-26 Simon J. Gerraty <sjg@bad.crufty.net>
132 * move initialization of savederr to block where it is used
133 to avoid spurious warning from gcc5
135 2014-11-11 Simon J. Gerraty <sjg@bad.crufty.net>
137 * Makefile (MAKE_VERSION): 20141111
140 2014-11-05 Simon J. Gerraty <sjg@bad.crufty.net>
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.
150 2014-09-17 Simon J. Gerraty <sjg@bad.crufty.net>
152 * configure.in: test that result of getconf PATH_MAX is numeric
153 and discard if not. Apparently needed for Hurd.
155 2014-08-30 Simon J. Gerraty <sjg@bad.crufty.net>
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
163 2014-06-20 Simon J. Gerraty <sjg@bad.crufty.net>
165 * Makefile (MAKE_VERSION): 20140620
166 Merge with NetBSD make, pick up
167 o var.c return varNoError rather than var_Error for ::= modifiers.
169 2014-05-22 Simon J. Gerraty <sjg@bad.crufty.net>
171 * Makefile (MAKE_VERSION): 20140522
172 Merge with NetBSD make, pick up
173 o var.c detect some parse errors.
175 2014-04-05 Simon J. Gerraty <sjg@bad.crufty.net>
177 * Fix spelling errors - patch from Pedro Giffuni
179 2014-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
181 * Makefile (MAKE_VERSION): 20140214
182 Merge with NetBSD make, pick up
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__
188 2014-01-03 Simon J. Gerraty <sjg@bad.crufty.net>
190 * boot-strap: ignore mksrc=none
192 2014-01-02 Simon J. Gerraty <sjg@bad.crufty.net>
194 * Makefile (DEFAULT_SYS_PATH?): use just ${prefix}/share/mk
196 2014-01-01 Simon J. Gerraty <sjg@bad.crufty.net>
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
203 * configure.in: Add AC_PREREQ and check for
204 sysctl; patch from Andrew Shadura andrewsh at debian.org
206 2013-10-16 Simon J. Gerraty <sjg@bad.crufty.net>
208 * Makefile (MAKE_VERSION): 20131010
209 * lose the const from arg to systcl to avoid problems on older BSDs.
211 2013-10-01 Simon J. Gerraty <sjg@bad.crufty.net>
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
219 * main.c: check that CTL_HW and HW_MACHINE_ARCH exist.
220 provide __arraycount() if needed.
222 2013-09-04 Simon J. Gerraty <sjg@bad.crufty.net>
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.
229 2013-09-02 Simon J. Gerraty <sjg@bad.crufty.net>
231 * Makefile (MAKE_VERSION): 20130902
232 Merge with NetBSD make, pick up
233 o CompatRunCommand: only apply shellErrFlag when errCheck is true
235 2013-08-28 Simon J. Gerraty <sjg@bad.crufty.net>
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
243 2013-07-30 Simon J. Gerraty <sjg@bad.crufty.net>
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.
250 2013-07-16 Simon J. Gerraty <sjg@bad.crufty.net>
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
262 2013-07-06 Simon J. Gerraty <sjg@bad.crufty.net>
264 * configure.in: We don't need MAKE_LEVEL_SAFE anymore.
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
276 2013-06-04 Simon J. Gerraty <sjg@bad.crufty.net>
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.
283 2013-05-28 Simon J. Gerraty <sjg@bad.crufty.net>
285 * Makefile (MAKE_VERSION): 20130528
286 Merge with NetBSD make, pick up
287 o var.c: cleanup some left-overs in VarHash()
289 2013-05-20 Simon J. Gerraty <sjg@bad.crufty.net>
291 * Makefile (MAKE_VERSION): 20130520
292 generate manifest from component FILES rather than have to
293 update FILES when mk/FILES changes.
295 2013-05-18 Simon J. Gerraty <sjg@bad.crufty.net>
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.
303 2013-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
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
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
315 2013-03-22 Simon J. Gerraty <sjg@bad.crufty.net>
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
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.
327 2013-03-13 Simon J. Gerraty <sjg@bad.crufty.net>
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
334 2013-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
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
342 2013-03-02 Simon J. Gerraty <sjg@bad.crufty.net>
344 * boot-strap: remove MAKEOBJDIRPREFIX from environment since we
345 want to use MAKEOBJDIR
347 2013-01-27 Simon J. Gerraty <sjg@bad.crufty.net>
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.
353 2013-01-25 Simon J. Gerraty <sjg@bad.crufty.net>
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
361 o remove Check_Cwd logic the makefiles have been fixed.
363 2012-12-12 Simon J. Gerraty <sjg@bad.crufty.net>
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
379 2012-11-11 Simon J. Gerraty <sjg@bad.crufty.net>
381 * Makefile.in (MAKE_VERSION): 20121111
382 fix generation of bmake.cat1
384 2012-11-09 Simon J. Gerraty <sjg@bad.crufty.net>
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
392 2012-11-02 Simon J. Gerraty <sjg@bad.crufty.net>
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.
400 2012-10-25 Simon J. Gerraty <sjg@bad.crufty.net>
402 * Makefile.in: we need to use ${srcdir} not ${.CURDIR}
404 2012-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
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.
411 2012-10-08 Simon J. Gerraty <sjg@bad.crufty.net>
413 * Makefile.in: do not lose history from make.1 when generating bmake.1
415 2012-10-07 Simon J. Gerraty <sjg@bad.crufty.net>
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
422 2012-09-11 Simon J. Gerraty <sjg@bad.crufty.net>
424 * Makefile.in (MAKE_VERSION): bump version to 20120911
425 * bsd.after-import.mk: include Makefile.inc early and allow it to
428 2012-08-31 Simon J. Gerraty <sjg@bad.crufty.net>
430 * Makefile.in (MAKE_VERSION): bump version to 20120831
431 Merge with NetBSD make, pick up
432 o cast sizeof() to int for comparison
435 2012-08-30 Simon J. Gerraty <sjg@bad.crufty.net>
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.
442 2012-07-05 Simon J. Gerraty <sjg@bad.crufty.net>
444 * bsd.after-import.mk (after-import): ensure unit-tests/Makefile
447 2012-07-04 Simon J. Gerraty <sjg@bad.crufty.net>
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
453 * Makefile.in: set USE_META based on configure result.
454 also .PARSEDIR is safer indicator of bmake.
456 2012-06-26 Simon J. Gerraty <sjg@bad.crufty.net>
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
463 2012-06-20 Simon J. Gerraty <sjg@bad.crufty.net>
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
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.
475 2012-06-19 Simon J. Gerraty <sjg@bad.crufty.net>
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".
484 2012-06-06 Simon J. Gerraty <sjg@bad.crufty.net>
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.
493 2012-06-04 Simon J. Gerraty <sjg@bad.crufty.net>
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
508 2012-06-02 Simon J. Gerraty <sjg@bad.crufty.net>
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
514 2012-05-30 Simon J. Gerraty <sjg@bad.crufty.net>
516 * Makefile.in (MAKE_VERSION): bump version to 20120530
517 Merge with NetBSD make, pick up
518 o compat.c: ignore empty command.
520 2012-05-24 Simon J. Gerraty <sjg@bad.crufty.net>
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.
526 2012-05-20 Simon J. Gerraty <sjg@bad.crufty.net>
528 * Makefile.in (MAKE_VERSION): bump version to 20120520
529 Merge with NetBSD make, pick up
530 o increased limit for nested conditionals.
532 2012-05-18 Simon J. Gerraty <sjg@bad.crufty.net>
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.
541 2012-04-27 Simon J. Gerraty <sjg@bad.crufty.net>
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.
547 2012-04-24 Simon J. Gerraty <sjg@bad.crufty.net>
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%.
556 2012-04-20 Simon J. Gerraty <sjg@bad.crufty.net>
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
564 2012-03-25 Simon J. Gerraty <sjg@bad.crufty.net>
566 * Makefile.in (MAKE_VERSION): bump version to 20120325
567 Merge with NetBSD make, pick up
568 o fix parsing of :[#] in conditionals.
570 2012-02-10 Simon J. Gerraty <sjg@bad.crufty.net>
572 * Makefile.in: replace use of .Nx in bmake.1 with NetBSD
573 since some systems cannot cope with .Nx <version>
575 2011-11-14 Simon J. Gerraty <sjg@bad.crufty.net>
577 * Makefile.in (MAKE_VERSION): bump version to 20111111
578 Merge with NetBSD make, pick up
579 o debug output for .PARSEDIR and .PARSEFILE
581 2011-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
583 * Makefile.in (MAKE_VERSION): bump version to 20111010
585 2011-10-09 Simon J. Gerraty <sjg@bad.crufty.net>
587 * boot-strap: check for an expected file in the dirs we look for.
588 * make-bootstrap.sh: pass on LDSTATIC
590 2011-10-01 Simon J. Gerraty <sjg@bad.crufty.net>
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
598 2011-09-10 Simon J. Gerraty <sjg@bad.crufty.net>
600 * Makefile.in (MAKE_VERSION): 20110909 is a better number ;-)
602 2011-09-05 Simon J. Gerraty <sjg@bad.crufty.net>
604 * Makefile.in (MAKE_VERSION): bump version to 20110905
605 Merge with NetBSD make, pick up
606 o meta_oodate: ignore makeDependfile
608 2011-08-28 Simon J. Gerraty <sjg@bad.crufty.net>
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
615 2011-08-18 Simon J. Gerraty <sjg@bad.crufty.net>
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
624 2011-08-09 Simon J. Gerraty <sjg@bad.crufty.net>
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
630 2011-06-22 Simon J. Gerraty <sjg@bad.crufty.net>
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
637 2011-06-07 Simon J. Gerraty <sjg@bad.crufty.net>
639 * Merge with NetBSD make, pick up
640 o unit-tests/modts now works on MirBSD
642 2011-06-04 Simon J. Gerraty <sjg@bad.crufty.net>
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.
651 2011-05-05 Simon J. Gerraty <sjg@bad.crufty.net>
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.
660 2011-04-11 Simon J. Gerraty <sjg@bad.crufty.net>
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.
667 2011-04-10 Simon J. Gerraty <sjg@bad.crufty.net>
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.
674 2011-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
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.
685 2011-03-29 Simon J. Gerraty <sjg@bad.crufty.net>
687 * unit-tests/modts: use printf if it is a builtin,
688 to save us from MirBSD
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.
695 2011-03-27 Simon J. Gerraty <sjg@bad.crufty.net>
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 "()"
704 2011-03-06 Simon J. Gerraty <sjg@bad.crufty.net>
706 * Makefile.in (MAKE_VERSION): bump version to 20110306
707 Merge with NetBSD make, pick up
708 o meta.c, only do getcwd() once
710 2011-03-05 Simon J. Gerraty <sjg@bad.crufty.net>
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
721 2011-02-25 Simon J. Gerraty <sjg@bad.crufty.net>
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.
729 2011-02-13 Simon J. Gerraty <sjg@bad.crufty.net>
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
736 * sigcompat.c: convert to ansi so we can use higher warning levels.
739 2011-02-07 Simon J. Gerraty <sjg@bad.crufty.net>
741 * Makefile.in (MAKE_VERSION): bump version to 20110207
742 Merge with NetBSD make, pick up
743 o fix for bug in meta mode.
745 2011-01-03 Simon J. Gerraty <sjg@bad.crufty.net>
747 * parse.c: SunOS 5.8 at least does not have MAP_FILE
749 2011-01-01 Simon J. Gerraty <sjg@bad.crufty.net>
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
755 2010-12-15 Simon J. Gerraty <sjg@bad.crufty.net>
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
762 2010-12-10 Simon J. Gerraty <sjg@bad.crufty.net>
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
771 o fix for parsing bug in var.c
773 2010-11-26 Simon J. Gerraty <sjg@bad.crufty.net>
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
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
785 2010-11-02 Simon J. Gerraty <sjg@bad.crufty.net>
787 * Makefile.in (MAKE_VERSION): bump version to 20101101
789 2010-10-16 Simon J. Gerraty <sjg@bad.crufty.net>
791 * machine.sh: like os.sh,
792 allow for uname -p producing useless drivel
794 2010-09-13 Simon J. Gerraty <sjg@bad.crufty.net>
796 * boot-strap: document configure knobs for meta and filemon.
798 * Makefile.in (MAKE_VERSION): bump version to 20100911
799 Merge with NetBSD make, pick up
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]
807 2010-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
809 * boot-strap (TOOL_DIFF): set this to ensure tests use
810 the same version of diff that configure tested
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.
817 2010-08-06 Simon J. Gerraty <sjg@bad.crufty.net>
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.
824 2010-06-28 Simon J. Gerraty <sjg@bad.crufty.net>
826 * Makefile.in (MAKE_VERSION): bump version to 20100618
827 * os.sh (MACHINE_ARCH): watch out for drivel from uname -p
829 2010-06-16 Simon J. Gerraty <sjg@bad.crufty.net>
831 * Makefile.in (MAKE_VERSION): bump version to 20100616
832 Merge with NetBSD make, pick up
834 o call PrintOnError from JobFinish when we detect an error we
837 2010-06-06 Simon J. Gerraty <sjg@bad.crufty.net>
839 * Makefile.in (MAKE_VERSION): bump version to 20100606
840 Merge with NetBSD make, pick up
843 2010-06-05 Simon J. Gerraty <sjg@bad.crufty.net>
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()
849 o add .export-env to allow exporting variables to environment
850 without tracking (so no re-export when the internal value is
853 2010-05-24 Simon J. Gerraty <sjg@bad.crufty.net>
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.
859 2010-05-23 Simon J. Gerraty <sjg@bad.crufty.net>
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 '/'.
866 2010-05-10 Simon J. Gerraty <sjg@bad.crufty.net>
868 * boot-strap: use absolute path for bmake when running tests.
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.
876 2010-05-05 Simon J. Gerraty <sjg@bad.crufty.net>
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
884 2010-04-30 Simon J. Gerraty <sjg@bad.crufty.net>
886 * Makefile.in (MAKE_VERSION): bump version to 20100430
887 Merge with NetBSD make, pick up
888 o fflush stdout before writing to stdout
890 2010-04-23 Simon J. Gerraty <sjg@bad.crufty.net>
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
899 2010-04-22 Simon J. Gerraty <sjg@bad.crufty.net>
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.
913 2010-04-21 Simon J. Gerraty <sjg@bad.crufty.net>
915 * boot-strap: add FindHereOrAbove so we can use -m .../mk
917 2010-04-20 Simon J. Gerraty <sjg@bad.crufty.net>
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
925 2010-04-14 Simon J. Gerraty <sjg@bad.crufty.net>
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.
933 2010-04-08 Simon J. Gerraty <sjg@bad.crufty.net>
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.
940 2010-04-06 Simon J. Gerraty <sjg@bad.crufty.net>
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
950 o .MAKE.DEPENDFILE to control the name of the depend file
951 o .ERROR target - run on failure.
953 2010-03-18 Simon J. Gerraty <sjg@bad.crufty.net>
955 * make-bootstrap.sh.in: extract MAKE_VERSION from Makefile
957 * os.sh,arch.c: patch for Haiku from joerg at netbsd
959 2010-03-17 Simon J. Gerraty <sjg@bad.crufty.net>
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
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.
972 2010-01-04 Simon J. Gerraty <sjg@bad.crufty.net>
974 * Makefile.in (MAKE_VERSION): bump version to 20100102
975 * Merge with NetBSD make, pick up:
978 2009-11-18 Simon J. Gerraty <sjg@void.crufty.net>
980 * Makefile.in (MAKE_VERSION): bump version to 20091118
981 * Merge with NetBSD make, pick up:
983 o report lines that start with '.' and should have ':'
984 (catch typo's of .el*if).
986 2009-10-30 Simon J. Gerraty <sjg@void.crufty.net>
988 * configure.in: Ensure that srcdir and mksrc are absolute paths.
990 2009-10-09 Simon J. Gerraty <sjg@void.crufty.net>
992 * Makefile.in (MAKE_VERSION): fix version to 20091007
994 2009-10-07 Simon J. Gerraty <sjg@void.crufty.net>
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.
1001 2009-09-09 Simon J. Gerraty <sjg@void.crufty.net>
1003 * Makefile.in (MAKE_VERSION): bump version to 20090909
1004 * Merge with NetBSD make, pick up:
1005 o fix for -C, .CURDIR and .OBJDIR
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
1012 2009-09-08 Simon J. Gerraty <sjg@void.crufty.net>
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 \:
1019 2009-09-03 Simon J. Gerraty <sjg@void.crufty.net>
1021 * configure.in: Don't -D__EXTENSIONS__ if
1022 AC_USE_SYSTEM_EXTENSIONS says "no".
1024 2009-08-26 Simon J. Gerraty <sjg@void.crufty.net>
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.
1035 2009-03-26 Simon J. Gerraty <sjg@void.crufty.net>
1037 * Appy some patches for MiNT from David Brownlee
1039 2009-02-26 Simon J. Gerraty <sjg@void.crufty.net>
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.
1045 2009-02-08 Simon J. Gerraty <sjg@void.crufty.net>
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
1056 2008-11-11 Simon J. Gerraty <sjg@void.crufty.net>
1058 * Makefile.in (BMAKE_VERSION): bump version to 20081111
1059 Apply patch from Joerg Sonnenberge to
1061 o remove some redundant checks
1062 o check for emlloc etc only in libutil and require the whole family.
1064 o remove [v]asprintf which is no longer used.
1066 2008-11-04 Simon J. Gerraty <sjg@void.crufty.net>
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
1072 2008-10-30 Simon J. Gerraty <sjg@void.crufty.net>
1074 * Makefile.in (BMAKE_VERSION): bump version to 20081030
1075 pick up man page tweaks.
1077 2008-10-29 Simon J. Gerraty <sjg@void.crufty.net>
1079 * Makefile.in: move processing of LIBOBJS to after is definition!
1080 thus we'll have getenv.c in SRCS only if needed.
1082 * make.1: add examples of how to use :?
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.
1093 2008-09-27 Simon J. Gerraty <sjg@void.crufty.net>
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
1102 2008-05-15 Simon J. Gerraty <sjg@void.crufty.net>
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.
1109 2008-05-14 Simon J. Gerraty <sjg@void.crufty.net>
1111 * boot-strap (make_version): we may need to look in
1112 $prefix/share/mk for sys.mk
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.
1119 2008-03-30 Simon J. Gerraty <sjg@void.crufty.net>
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.
1125 2008-02-15 Simon J. Gerraty <sjg@void.crufty.net>
1127 * merge some patches from NetBSD pkgsrc.
1129 * makefile.boot.in (BOOTSTRAP_SYS_PATH): Allow better control of
1130 the MAKSYSPATH used during bootstrap.
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.
1136 2008-01-18 Simon J. Gerraty <sjg@void.crufty.net>
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
1144 2007-10-22 Simon J. Gerraty <sjg@void.crufty.net>
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 ""
1150 * boot-strap: source default settings from .bmake-boot-strap.rc
1152 2007-10-16 Simon J. Gerraty <sjg@void.crufty.net>
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
1159 2007-10-15 Simon J. Gerraty <sjg@void.crufty.net>
1161 * boot-strap: make bmake.1 too, so maninstall works.
1163 2007-10-14 Simon J. Gerraty <sjg@void.crufty.net>
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
1172 2007-10-11 Simon J. Gerraty <sjg@void.crufty.net>
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.
1178 * sigcompat.c: some tweaks for HP-UX 11.x based on
1179 patch from Tobias Nygren
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.
1186 2007-10-08 Simon J. Gerraty <sjg@void.crufty.net>
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
1196 2006-07-28 Simon J. Gerraty <sjg@void.crufty.net>
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
1204 2006-05-11 Simon J. Gerraty <sjg@void.crufty.net>
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
1214 2006-04-12 Simon J. Gerraty <sjg@void.crufty.net>
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
1221 * main.c (ReadMakefile): remove hack for __INTERIX that prevented
1222 setting ${MAKEFILE} - OBATA Akio
1224 2006-03-18 Simon J. Gerraty <sjg@void.crufty.net>
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
1234 2006-03-01 Simon J. Gerraty <sjg@void.crufty.net>
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
1242 2006-02-22 Simon J. Gerraty <sjg@void.crufty.net>
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
1252 2005-11-05 Simon J. Gerraty <sjg@void.crufty.net>
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.
1260 2005-11-04 Simon J. Gerraty <sjg@void.crufty.net>
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'
1266 2005-11-02 Simon J. Gerraty <sjg@void.crufty.net>
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
1273 2005-10-31 Simon J. Gerraty <sjg@void.crufty.net>
1275 * Makefile.in (BMAKE_VERSION): bump to 20051031
1276 * ranlib.h: skip on OSF too.
1279 2005-10-10 Simon J. Gerraty <sjg@void.crufty.net>
1281 * Makefile.in (BMAKE_VERSION): bump to 20051002
1284 2005-10-09 Simon J. Gerraty <sjg@void.crufty.net>
1286 * Makefile.in (BMAKE_VERSION): bump to 20051001
1287 support for UnixWare and some other systems,
1288 based on patches from pkgsrc/bootstrap
1290 2005-09-03 Simon J. Gerraty <sjg@void.crufty.net>
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.
1296 2005-06-06 Simon J. Gerraty <sjg@void.crufty.net>
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.
1303 2005-05-30 Simon J. Gerraty <sjg@void.crufty.net>
1305 * Makefile.in (BMAKE_VERSION): bump to 20050530
1306 * Merge with NetBSD make, pick up:
1307 o Handle dependencies for .BEGIN, .END and .INTERRUPT
1309 * README: was seriously out of date.
1311 2005-03-22 Simon J. Gerraty <sjg@void.crufty.net>
1313 * Important to use .MAKE rather than MAKE.
1315 2005-03-15 Simon J. Gerraty <sjg@void.crufty.net>
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
1323 2004-05-11 Simon J. Gerraty <sjg@void.crufty.net>
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.
1332 2004-05-08 Simon J. Gerraty <sjg@void.crufty.net>
1334 * Remove __IDSTRING()
1336 * Makefile.in (BMAKE_VERSION): bump to 20040508
1337 * Merge with NetBSD make, pick up:
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.
1346 2004-04-14 Simon J. Gerraty <sjg@void.crufty.net>
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
1355 2004-02-20 Simon J. Gerraty <sjg@void.crufty.net>
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
1362 2004-02-15 Simon J. Gerraty <sjg@void.crufty.net>
1364 * Makefile.in (accept test): use ${.MAKE:S,^./,${.CURDIR}/,}
1365 so that './bmake -f Makefile test' works.
1367 2004-02-14 Simon J. Gerraty <sjg@void.crufty.net>
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.
1376 2004-02-12 Simon J. Gerraty <sjg@void.crufty.net>
1378 * arch.c: don't include ranlib.h on ELF systems
1379 (thanks to Chuck Cranor <chuck@ece.cmu.edu>).
1381 2004-01-18 Simon J. Gerraty <sjg@void.crufty.net>
1383 * Makefile.in (BMAKE_VERSION): bump to 20040118
1385 * boot-strap (while): export vars we assign to on cmdline
1386 * unit-test/Makefile.in: ternary is .PHONY
1388 2004-01-08 Simon J. Gerraty <sjg@void.crufty.net>
1390 * Makefile.in (BMAKE_VERSION): bump version to 20040108
1391 * Merge with NetBSD make, pick up:
1392 o fix for ternary modifier
1394 2004-01-06 Simon J. Gerraty <sjg@void.crufty.net>
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
1401 2003-12-22 Simon J. Gerraty <sjg@void.crufty.net>
1403 * Make portable snprintf safer - output to /dev/null first to
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.
1416 2003-09-28 Simon J. Gerraty <sjg@void.crufty.net>
1418 * util.c: Add asprintf and vasprintf.
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.
1426 2003-09-12 Simon J. Gerraty <sjg@void.crufty.net>
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.
1433 2003-09-09 Simon J. Gerraty <sjg@void.crufty.net>
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
1439 - CompatRunCommand now prints the command that failed.
1440 - several files got updated 3 clause Berkeley license.
1442 2003-08-02 Simon J. Gerraty <sjg@void.crufty.net>
1444 * boot-strap: Allow setting configure args on command line.
1446 2003-07-31 Simon J. Gerraty <sjg@void.crufty.net>
1448 * configure.in: add --with-defshell to allow sh or ksh
1449 to be selected as default shell.
1451 * Makefile.in: bump version to 20030731
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.
1457 2003-07-29 Simon J. Gerraty <sjg@void.crufty.net>
1459 * var.c (Var_Parse): ensure delim is initialized.
1461 * unit-tests/Makefile.in: use single quotes to avoid problems from
1465 Run the unit-tests as part of the bootstrap procedure.
1467 2003-07-28 Simon J. Gerraty <sjg@void.crufty.net>
1469 * unit-tests/Makefile.in: always force complaints from
1470 ${TEST_MAKE} to be from 'make'.
1472 * configure.in: add check for 'diff -u'
1473 also fix some old autoconf'isms
1475 * Makefile.in (BMAKE_VERSION): bump version to 20030728.
1476 if using GCC add -Wno-cast-qual to CFLAGS for var.o
1478 * Merge with NetBSD make
1479 Pick up fix for :ts parsing error in some cases.
1482 2003-07-23 Simon J. Gerraty <sjg@void.crufty.net>
1484 * Makefile.in (BMAKE_VERSION): bump version to 20030723.
1486 * var.c (Var_Parse): fix bug in :ts modifier, after const
1487 correctness fixes, must pass nstr to VarModify.
1489 2003-07-14 Simon J. Gerraty <sjg@void.crufty.net>
1491 * Makefile.in: BMAKE_VERSION switch to a date based version.
1492 We'll generally use the date of last import from NetBSD.
1494 * Merge with NetBSD make
1495 Pick up fixes for const-correctness, now passes WARNS=3 on
1497 Pick up :ts modifier, allows controlling the separator used
1498 between words in variable expansion.
1500 2003-07-11 Simon J. Gerraty <sjg@void.crufty.net>
1502 * FILES: include boot-strap and os.sh
1504 * Makefile.in: only set WARNS if we are NetBSD, the effect on
1505 FreeBSD is known to be bad.
1507 * makefile.boot.in (bootstrap): make this the default target.
1509 * Makefile.in: bump version to 3.1.19
1511 * machine.sh: avoid A-Z with tr as it is bound to lose.
1513 2003-07-10 Simon J. Gerraty <sjg@void.crufty.net>
1515 * Merge with NetBSD make
1516 Pick up fix for PR/19781 - unhelpful error msg on unclosed ${var:foo
1517 Plus some doc fixes.
1519 2003-04-27 Simon J. Gerraty <sjg@void.crufty.net>
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
1525 * Bump version to 3.1.18
1527 2003-03-23 Simon J. Gerraty <sjg@void.crufty.net>
1529 * Merge with NetBSD make
1530 Pick up fix for ParseDoSpecialSrc - we only use it if .WAIT
1531 appears in src list.
1533 2003-03-21 Simon J. Gerraty <sjg@void.crufty.net>
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
1542 * parse.c: pix up fix for suffix rules
1544 2003-03-06 Simon J. Gerraty <sjg@void.crufty.net>
1546 * Merge with NetBSD make.
1547 pick up fix for propagating -B via MAKEFLAGS.
1548 set MAKE_VERSION to 3.1.16
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
1554 2002-12-03 Simon J. Gerraty <sjg@void.crufty.net>
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>.
1560 * bmake.cat1: update the pre-formatted man page!
1562 2002-11-30 Simon J. Gerraty <sjg@void.crufty.net>
1564 * Merge with NetBSD make.
1565 pick up fix for premature free of pointer used in call
1567 set MAKE_VERSION to 3.1.15
1569 2002-11-26 Simon J. Gerraty <sjg@void.crufty.net>
1571 * configure.in: determine suitable value for MKSRC.
1572 override using --with-mksrc=PATH.
1574 * machine.sh: use `uname -p` for MACHINE_ARCH on modern SunOS systems.
1575 configs(8) will use 'sun4' as an alias for 'sparc'.
1577 2002-11-25 Simon J. Gerraty <sjg@void.crufty.net>
1579 * Merge with NetBSD make.
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
1585 2002-09-16 Simon J. Gerraty <sjg@void.crufty.net>
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.
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.
1596 * make.h: always include sys/cdefs.h since we provide one if the
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
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.
1611 Tue Oct 16 12:18:42 2001 Simon J. Gerraty <sjg@zen.crufty.net>
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.
1617 Thu Oct 11 13:20:06 2001 Simon J. Gerraty <sjg@zen.crufty.net>
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.
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
1626 Tue Aug 21 02:29:34 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1628 * job.c (JobFinish): Fix an earlier merge bug that resulted in
1629 leaking descriptors when using -jN.
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.
1637 * Merged with NetBSD make
1640 Tue Jun 26 23:45:11 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1642 * makefile.boot.in: Give bmake.boot a MAKESYSPATH that might work.
1644 Tue Jun 12 16:48:57 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
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.
1649 Sun Jun 10 21:55:21 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1651 * job.c (Job_CatchChildren): don't call Job_CatchOutput() here,
1652 its the wrong "fix".
1654 Sat Jun 9 00:11:24 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
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.
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}
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.
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'
1684 Fri Jun 1 14:08:02 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1686 * make-conf.h (USE_IOVEC): make it conditional on HAVE_SYS_UIO_H
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.
1692 Thu May 31 01:44:54 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
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.
1698 * configure.in (machine): allow --with-machine=generic to make
1699 configure use machine.sh to set MACHINE.
1701 * job.c (JobInterrupt): convert to using WAIT_T and friends.
1703 * Makefile.in: mention in bmake.1 that we use autoconf.
1705 * make.1: mention MAKE_PRINT_VAR_ON_ERROR.
1707 Wed May 30 23:17:18 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1709 * main.c (ReadMakefile): don't set MAKEFILE if reading ".depend"
1710 as that rather defeats the usefulness of ${MAKEFILE}.
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.
1716 Tue May 29 02:20:07 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1718 * compat.c (CompatRunCommand): don't use perror() since stdio may
1719 cause problems in child of vfork().
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}.
1725 * main.c: add ${.newline} to hold a "\n" - sometimes handy in
1728 * var.c: VarLoopExpand: ignore addSpace if a \n is present.
1730 * Added RCSid's for the files we've touched.
1732 Thu May 24 15:41:37 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
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:
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
1745 If _PATH_OBJDIRPREFIX is set to "no" we won't define it.
1747 * makefile: added a pathetically simple makefile to drive
1748 bootstrapping. Running configure by hand is more useful.
1750 * Makefile.in: added MAKE_VERSION, and reworked things to be less
1751 dependent on NetBSD bsd.*.mk
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.
1757 * main.c: allow for no _PATH_OBJDIRPREFIX, set ${MAKE_VERSION}
1758 if MAKE_VERSION is defined.
1760 * compat.c: when we bail, print out the .CURDIR we were in.
1762 Sat May 12 00:34:12 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1764 * Merged with NetBSD make
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
1770 Mon Mar 5 16:20:33 2001 Simon J. Gerraty <sjg@zen.quick.com.au>
1772 * Merged with NetBSD make
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).
1777 * compat.c: Use perror() to tell us what really went wrong when we
1778 cannot exec a command.
1780 Fri Dec 15 10:11:08 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
1782 * Merged with NetBSD make
1784 Sat Jun 10 10:11:08 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
1786 * Merged with NetBSD make
1788 Thu Jun 1 10:11:08 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
1790 * Merged with NetBSD make
1792 Tue May 30 10:11:08 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
1794 * Merged with NetBSD make
1796 Thu Apr 27 00:07:47 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
1798 * util.c: don't provide signal() since we use sigcompat.c
1800 * Makefile.in: added a build target.
1802 * var.c (Var_Parse): added ODE modifiers :U, :D, :L, :P, :@ and :!
1803 These allow some quite clever magic.
1805 * main.c (main): added support for getenv(MAKESYSPATH).
1807 Mon Apr 2 16:25:13 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
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).
1813 * If FORCE_MACHINE is defined, ignore getenv("MACHINE").
1815 Mon Apr 2 23:15:31 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
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.
1821 * Turn Makefile into Makefile.in and make it useful.
1823 Tue Feb 29 22:08:00 2000 Simon J. Gerraty <sjg@zen.quick.com.au>
1825 * Imported NetBSD's -current make(1) and resolve conflicts.
1827 * Applied autoconf patches from bmake v2
1829 * Imported clean code base from NetBSD-1.0