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