ChangeLog revision 238152
1238152Sobrien2012-07-04 Simon J. Gerraty <sjg@bad.crufty.net> 2238152Sobrien 3238152Sobrien * Makefile.in (MAKE_VERSION): bump version to 20120704 4238152Sobrien Merge with NetBSD make, pick up 5238152Sobrien o Job_ParseShell should call Shell_Init if it has been 6238152Sobrien previously called. 7238152Sobrien * Makefile.in: set USE_META based on configure result. 8238152Sobrien also .PARSEDIR is safer indicator of bmake. 9238152Sobrien 10238152Sobrien2012-06-26 Simon J. Gerraty <sjg@bad.crufty.net> 11238152Sobrien 12238152Sobrien * Makefile.in: bump version to 20120626 13238152Sobrien ensure CPPFLAGS is in CFLAGS 14238152Sobrien * meta.c: avoid nested externs 15238152Sobrien * bsd.after-import.mk: avoid ${.CURDIR}/Makefile as target 16238152Sobrien 17237578Sobrien2012-06-20 Simon J. Gerraty <sjg@bad.crufty.net> 18237578Sobrien 19237578Sobrien * Makefile.in (MAKE_VERSION): bump version to 20120620 20237578Sobrien Merge with NetBSD make, pick up 21237578Sobrien o make_malloc.c: avoid including make_malloc.h again 22237578Sobrien 23237578Sobrien * Makefile.in: avoid bmake only syntax or protect with 24237578Sobrien .if defined(.MAKE.LEVEL) 25237578Sobrien * bsd.after-import.mk: replace .-include with .sinclude 26237578Sobrien ensure? SRCTOP gets a value 27237578Sobrien * configure.in: look for filemon.h in /usr/include/dev/filemon first. 28237578Sobrien 29237578Sobrien2012-06-19 Simon J. Gerraty <sjg@bad.crufty.net> 30237578Sobrien 31237578Sobrien * Makefile.in (MAKE_VERSION): bump version to 20120612 32237578Sobrien Merge with NetBSD make, pick up 33237578Sobrien o use MAKE_ATTR_* rather than those defined by cdefs.h or compiler 34237578Sobrien for greater portability. 35237578Sobrien o unit-tests/forloop: check that .for works as expected wrt 36237578Sobrien number of times and with "quoted strings". 37237578Sobrien 38236769Sobrien2012-06-06 Simon J. Gerraty <sjg@bad.crufty.net> 39236769Sobrien 40236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20120606 41236769Sobrien Merge with NetBSD make, pick up 42236769Sobrien o compat.c: use kill(2) rather than raise(3). 43236769Sobrien * configure.in: look for sys/dev/filemon 44236769Sobrien * bsd.after-import.mk: add a .-include "Makefile.inc" to Makefile 45236769Sobrien and pass BOOTSTRAP_XTRAS to boot-strap. 46236769Sobrien 47236769Sobrien2012-06-04 Simon J. Gerraty <sjg@bad.crufty.net> 48236769Sobrien 49236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20120604 50236769Sobrien Merge with NetBSD make, pick up 51236769Sobrien o util.c and var.c share same var for tracking if environ 52236769Sobrien has been reallocated. 53236769Sobrien o util.c provide getenv with setenv. 54236769Sobrien * Add MAKE_LEVEL_SAFE as an alternate means of passing MAKE_LEVEL 55236769Sobrien when the shell actively strips .MAKE.* from the environment. 56236769Sobrien We still refer to the variable always as .MAKE.LEVEL 57236769Sobrien * util.c fix bug in findenv() was finding prefix of name. 58236769Sobrien * compat.c: re-raising SIGINT etc after running .INTERRUPT 59236769Sobrien results in more reliable termination of all activity on many 60236769Sobrien platforms. 61236769Sobrien 62236769Sobrien2012-06-02 Simon J. Gerraty <sjg@bad.crufty.net> 63236769Sobrien 64236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20120602 65236769Sobrien Merge with NetBSD make, pick up 66236769Sobrien o for.c: handle quoted items in .for list 67236769Sobrien 68236769Sobrien2012-05-30 Simon J. Gerraty <sjg@bad.crufty.net> 69236769Sobrien 70236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20120530 71236769Sobrien Merge with NetBSD make, pick up 72236769Sobrien o compat.c: ignore empty command. 73236769Sobrien 74236769Sobrien2012-05-24 Simon J. Gerraty <sjg@bad.crufty.net> 75236769Sobrien 76236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20120524 77236769Sobrien * FILES: add bsd.after-import.mk: 78236769Sobrien A simple means of integrating bmake into a BSD build system. 79236769Sobrien 80236769Sobrien2012-05-20 Simon J. Gerraty <sjg@bad.crufty.net> 81236769Sobrien 82236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20120520 83236769Sobrien Merge with NetBSD make, pick up 84236769Sobrien o increased limit for nested conditionals. 85236769Sobrien 86236769Sobrien2012-05-18 Simon J. Gerraty <sjg@bad.crufty.net> 87236769Sobrien 88236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20120518 89236769Sobrien Merge with NetBSD make, pick up 90236769Sobrien o use _exit(2) in signal hanlder 91236769Sobrien o Don't use the [dir] cache when building nodes that might have 92236769Sobrien changed since the last exec. 93236769Sobrien o Avoid nested extern declaration warnings. 94236769Sobrien 95236769Sobrien2012-04-27 Simon J. Gerraty <sjg@bad.crufty.net> 96236769Sobrien 97236769Sobrien * meta.c (fgetLine): avoid %z - not portable. 98236769Sobrien * parse.c: Since we moved include of sys/mman.h 99236769Sobrien and def's of MAP_COPY etc. we got dups from a merge. 100236769Sobrien 101236769Sobrien2012-04-24 Simon J. Gerraty <sjg@bad.crufty.net> 102236769Sobrien 103236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20120420 104236769Sobrien Merge with NetBSD make, pick up 105236769Sobrien o restore duplicate supression in .MAKE.MAKEFILES 106236769Sobrien runtime saving can be significant. 107236769Sobrien o Var_Subst() uses Buf_DestroyCompact() to reduce memory 108236769Sobrien consumption up to 20%. 109236769Sobrien 110236769Sobrien2012-04-20 Simon J. Gerraty <sjg@bad.crufty.net> 111236769Sobrien 112236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20120420 113236769Sobrien Merge with NetBSD make, pick up 114236769Sobrien o remove duplicate supression in .MAKE.MAKEFILES 115236769Sobrien o improved dir cache behavior 116236769Sobrien o gmake'ish export command 117236769Sobrien 118236769Sobrien2012-03-25 Simon J. Gerraty <sjg@bad.crufty.net> 119236769Sobrien 120236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20120325 121236769Sobrien Merge with NetBSD make, pick up 122236769Sobrien o fix parsing of :[#] in conditionals. 123236769Sobrien 124236769Sobrien2012-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 125236769Sobrien 126236769Sobrien * Makefile.in: replace use of .Nx in bmake.1 with NetBSD 127236769Sobrien since some systems cannot cope with .Nx <version> 128236769Sobrien 129236769Sobrien2011-11-14 Simon J. Gerraty <sjg@bad.crufty.net> 130236769Sobrien 131236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20111111 132236769Sobrien Merge with NetBSD make, pick up 133236769Sobrien o debug output for .PARSEDIR and .PARSEFILE 134236769Sobrien 135236769Sobrien2011-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 136236769Sobrien 137236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20111010 138236769Sobrien 139236769Sobrien2011-10-09 Simon J. Gerraty <sjg@bad.crufty.net> 140236769Sobrien 141236769Sobrien * boot-strap: check for an expected file in the dirs we look for. 142236769Sobrien * make-bootstrap.sh: pass on LDSTATIC 143236769Sobrien 144236769Sobrien2011-10-01 Simon J. Gerraty <sjg@bad.crufty.net> 145236769Sobrien 146236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20111001 147236769Sobrien Merge with NetBSD make, pick up 148236769Sobrien o ensure .PREFIX is set for .PHONY 149236769Sobrien and .TARGET set for .PHONY run via .END 150236769Sobrien o __dead used consistently 151236769Sobrien 152236769Sobrien2011-09-10 Simon J. Gerraty <sjg@bad.crufty.net> 153236769Sobrien 154236769Sobrien * Makefile.in (MAKE_VERSION): 20110909 is a better number ;-) 155236769Sobrien 156236769Sobrien2011-09-05 Simon J. Gerraty <sjg@bad.crufty.net> 157236769Sobrien 158236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110905 159236769Sobrien Merge with NetBSD make, pick up 160236769Sobrien o meta_oodate: ignore makeDependfile 161236769Sobrien 162236769Sobrien2011-08-28 Simon J. Gerraty <sjg@bad.crufty.net> 163236769Sobrien 164236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110828 165236769Sobrien Merge with NetBSD make, pick up 166236769Sobrien o silent=yes in .MAKE.MODE causes meta mode to mark targets 167236769Sobrien as SILENT if a .meta file is created 168236769Sobrien 169236769Sobrien2011-08-18 Simon J. Gerraty <sjg@bad.crufty.net> 170236769Sobrien 171236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110818 172236769Sobrien Merge with NetBSD make, pick up 173236769Sobrien o in meta mode, if target flagged .META a missing .meta file 174236769Sobrien means target is out-of-date 175236769Sobrien o fixes for gcc 4.5 warnings 176236769Sobrien o simplify job printing code 177236769Sobrien 178236769Sobrien2011-08-09 Simon J. Gerraty <sjg@bad.crufty.net> 179236769Sobrien 180236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110808 181236769Sobrien Merge with NetBSD make, pick up 182236769Sobrien o do not touch OP_SPECIAL targets when doing make -t 183236769Sobrien 184236769Sobrien2011-06-22 Simon J. Gerraty <sjg@bad.crufty.net> 185236769Sobrien 186236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110622 187236769Sobrien Merge with NetBSD make, pick up 188236769Sobrien o meta_oodate detect corrupted .meta file and declare oodate. 189236769Sobrien * configure.in: add check for setsid 190236769Sobrien 191236769Sobrien2011-06-07 Simon J. Gerraty <sjg@bad.crufty.net> 192236769Sobrien 193236769Sobrien * Merge with NetBSD make, pick up 194236769Sobrien o unit-tests/modts now works on MirBSD 195236769Sobrien 196236769Sobrien2011-06-04 Simon J. Gerraty <sjg@bad.crufty.net> 197236769Sobrien 198236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110606 199236769Sobrien Merge with NetBSD make, pick up 200236769Sobrien o ApplyModifiers: when we parse a variable which is not 201236769Sobrien the entire modifier string, or not followed by ':', do not 202236769Sobrien consider it as containing modifiers. 203236769Sobrien o loadfile: ensure newline at end of mapped file. 204236769Sobrien 205236769Sobrien2011-05-05 Simon J. Gerraty <sjg@bad.crufty.net> 206236769Sobrien 207236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110505 208236769Sobrien Merge with NetBSD make, pick up 209236769Sobrien o .MAKE.META.BAILIWICK - list of prefixes which define the scope 210236769Sobrien of make's control. In meta mode, any generated file within 211236769Sobrien said bailiwick, which is found to be missing, causes current 212236769Sobrien target to be out-of-date. 213236769Sobrien 214236769Sobrien2011-04-11 Simon J. Gerraty <sjg@bad.crufty.net> 215236769Sobrien 216236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110411 217236769Sobrien Merge with NetBSD make, pick up 218236769Sobrien o when long modifiers fail to match, check sysV style. 219236769Sobrien - add a test case 220236769Sobrien 221236769Sobrien2011-04-10 Simon J. Gerraty <sjg@bad.crufty.net> 222236769Sobrien 223236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110410 224236769Sobrien Merge with NetBSD make, pick up 225236769Sobrien o :hash - cheap 32bit hash of value 226236769Sobrien o :localtime, :gmtime - use value as format string for strftime. 227236769Sobrien 228236769Sobrien2011-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 229236769Sobrien 230236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110330 231236769Sobrien mostly because its a cooler version. 232236769Sobrien Merge with NetBSD make, pick up 233236769Sobrien o NetBSD tags for meta.[ch] 234236769Sobrien o job.c call meta_job_finish() after meta_job_error(). 235236769Sobrien o meta_job_error() should call meta_job_finish() to ensure 236236769Sobrien .meta file is closed, and safe to copy - if .ERROR target wants. 237236769Sobrien meta_job_finish() is safe to call repeatedly. 238236769Sobrien 239236769Sobrien2011-03-29 Simon J. Gerraty <sjg@bad.crufty.net> 240236769Sobrien 241236769Sobrien * unit-tests/modts: use printf if it is a builtin, 242236769Sobrien to save us from MirBSD 243236769Sobrien 244236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110329 245236769Sobrien Merge with NetBSD make, pick up 246236769Sobrien o fix for use after free() in CondDoExists(). 247236769Sobrien o meta_oodate() report extra commands and return earlier. 248236769Sobrien 249236769Sobrien2011-03-27 Simon J. Gerraty <sjg@bad.crufty.net> 250236769Sobrien 251236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110327 252236769Sobrien Merge with NetBSD make, pick up 253236769Sobrien o meta.c, if .MAKE.MODE contains curdirOk=yes 254236769Sobrien allow creating .meta files in .CURDIR 255236769Sobrien * boot-strap (TOOL_DIFF): aparently at least on linux distro 256236769Sobrien formats the output of 'type' differently - so eat any "()" 257236769Sobrien 258236769Sobrien2011-03-06 Simon J. Gerraty <sjg@bad.crufty.net> 259236769Sobrien 260236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110306 261236769Sobrien Merge with NetBSD make, pick up 262236769Sobrien o meta.c, only do getcwd() once 263236769Sobrien 264236769Sobrien2011-03-05 Simon J. Gerraty <sjg@bad.crufty.net> 265236769Sobrien 266236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110305 267236769Sobrien Merge with NetBSD make, pick up 268236769Sobrien o correct sysV substitution handling of empty lhs and variable 269236769Sobrien o correct exists() check for dir with trailing / 270236769Sobrien o correct handling of modifiers for non-existant variables 271236769Sobrien during evaluation of conditionals. 272236769Sobrien o ensure MAP_FILE is defined. 273236769Sobrien o meta.c use curdir[] now exported by main.c 274236769Sobrien 275236769Sobrien2011-02-25 Simon J. Gerraty <sjg@bad.crufty.net> 276236769Sobrien 277236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110225 278236769Sobrien Merge with NetBSD make, pick up 279236769Sobrien o fix for incorrect .PARSEDIR when .OBJDIR is re-computed after 280236769Sobrien makefiles have been read. 281236769Sobrien o fix example of :? modifier in man page. 282236769Sobrien 283236769Sobrien2011-02-13 Simon J. Gerraty <sjg@bad.crufty.net> 284236769Sobrien 285236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110214 286236769Sobrien Merge with NetBSD make, pick up 287236769Sobrien o meta.c handle realpath() failing when generating meta file 288236769Sobrien name. 289236769Sobrien 290236769Sobrien * sigcompat.c: convert to ansi so we can use higher warning levels. 291236769Sobrien 292236769Sobrien 293236769Sobrien2011-02-07 Simon J. Gerraty <sjg@bad.crufty.net> 294236769Sobrien 295236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110207 296236769Sobrien Merge with NetBSD make, pick up 297236769Sobrien o fix for bug in meta mode. 298236769Sobrien 299236769Sobrien2011-01-03 Simon J. Gerraty <sjg@bad.crufty.net> 300236769Sobrien 301236769Sobrien * parse.c: SunOS 5.8 at least does not have MAP_FILE 302236769Sobrien 303236769Sobrien2011-01-01 Simon J. Gerraty <sjg@bad.crufty.net> 304236769Sobrien 305236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20110101 306236769Sobrien Merge with NetBSD make, pick up 307236769Sobrien o use mmap(2) if available, for reading makefiles 308236769Sobrien 309236769Sobrien2010-12-15 Simon J. Gerraty <sjg@bad.crufty.net> 310236769Sobrien 311236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20101215 312236769Sobrien Merge with NetBSD make, pick up 313236769Sobrien o ensure meta_job_error() does not report a previous .meta file 314236769Sobrien as being culprit. 315236769Sobrien 316236769Sobrien2010-12-10 Simon J. Gerraty <sjg@bad.crufty.net> 317236769Sobrien 318236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20101210 319236769Sobrien Merge with NetBSD make, pick up 320236769Sobrien o meta_oodate: track cwd per process, and only consider target 321236769Sobrien out-of-date if missing file is outside make's CWD. 322236769Sobrien Ignore files in /tmp/ etc. 323236769Sobrien o to ensure unit-tests results match, need to control LC_ALL 324236769Sobrien as well as LANG. 325236769Sobrien o fix for parsing bug in var.c 326236769Sobrien 327236769Sobrien2010-11-26 Simon J. Gerraty <sjg@bad.crufty.net> 328236769Sobrien 329236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20101126 330236769Sobrien Merge with NetBSD make, pick up 331236769Sobrien o if stale dependency is an IMPSRC, search via .PATH 332236769Sobrien o meta_oodate: if a referenced file is missing, target is 333236769Sobrien out-of-date. 334236769Sobrien o meta_oodate: if a target uses .OODATE in its commands, 335236769Sobrien it (.OODATE) needs to be recomputed. 336236769Sobrien o keep a pointer to youngest child node, rather than just its 337236769Sobrien mtime. 338236769Sobrien 339236769Sobrien2010-11-02 Simon J. Gerraty <sjg@bad.crufty.net> 340236769Sobrien 341236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20101101 342236769Sobrien 343236769Sobrien2010-10-16 Simon J. Gerraty <sjg@bad.crufty.net> 344236769Sobrien 345236769Sobrien * machine.sh: like os.sh, 346236769Sobrien allow for uname -p producing useless drivel 347236769Sobrien 348236769Sobrien2010-09-13 Simon J. Gerraty <sjg@bad.crufty.net> 349236769Sobrien 350236769Sobrien * boot-strap: document configure knobs for meta and filemon. 351236769Sobrien 352236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100911 353236769Sobrien Merge with NetBSD make, pick up 354236769Sobrien o meta.c - meta mode 355236769Sobrien 356236769Sobrien * make-bootstrap.sh.in: handle meta.c 357236769Sobrien * configure.in: add knobs for use_meta and filemon_h 358236769Sobrien also, look for dirname, str[e]sep and strlcpy 359236769Sobrien * util.c: add simple err[x] and warn[x] 360236769Sobrien 361236769Sobrien2010-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 362236769Sobrien 363236769Sobrien * boot-strap (TOOL_DIFF): set this to ensure tests use 364236769Sobrien the same version of diff that configure tested 365236769Sobrien 366236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100808 367236769Sobrien Merge with NetBSD make, pick up 368236769Sobrien o in jobs mode, when we discover we cannot make something, 369236769Sobrien call PrintOnError before exit. 370236769Sobrien 371236769Sobrien2010-08-06 Simon J. Gerraty <sjg@bad.crufty.net> 372236769Sobrien 373236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100806 374236769Sobrien Merge with NetBSD make, pick up 375236769Sobrien o formatting fixes for ignored errors 376236769Sobrien o ensure jobs are cleaned up regardless of where wait() was called. 377236769Sobrien 378236769Sobrien2010-06-28 Simon J. Gerraty <sjg@bad.crufty.net> 379236769Sobrien 380236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100618 381236769Sobrien * os.sh (MACHINE_ARCH): watch out for drivel from uname -p 382236769Sobrien 383236769Sobrien2010-06-16 Simon J. Gerraty <sjg@bad.crufty.net> 384236769Sobrien 385236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100616 386236769Sobrien Merge with NetBSD make, pick up 387236769Sobrien o man page update 388236769Sobrien o call PrintOnError from JobFinish when we detect an error we 389236769Sobrien are not ignoring. 390236769Sobrien 391236769Sobrien2010-06-06 Simon J. Gerraty <sjg@bad.crufty.net> 392236769Sobrien 393236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100606 394236769Sobrien Merge with NetBSD make, pick up 395236769Sobrien o man page update 396236769Sobrien 397236769Sobrien2010-06-05 Simon J. Gerraty <sjg@bad.crufty.net> 398236769Sobrien 399236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100605 400236769Sobrien Merge with NetBSD make, pick up 401236769Sobrien o use bmake_signal() which is a wrapper around sigaction() 402236769Sobrien in place of signal() 403236769Sobrien o add .export-env to allow exporting variables to environment 404236769Sobrien without tracking (so no re-export when the internal value is 405236769Sobrien changed). 406236769Sobrien 407236769Sobrien2010-05-24 Simon J. Gerraty <sjg@bad.crufty.net> 408236769Sobrien 409236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100524 410236769Sobrien Merge with NetBSD make, pick up 411236769Sobrien o fix for .info et al being greedy. 412236769Sobrien 413236769Sobrien2010-05-23 Simon J. Gerraty <sjg@bad.crufty.net> 414236769Sobrien 415236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100520 416236769Sobrien Merge with NetBSD make, pick up 417236769Sobrien o back to using realpath on argv[0] 418236769Sobrien but only if contains '/' and does not start with '/'. 419236769Sobrien 420236769Sobrien2010-05-10 Simon J. Gerraty <sjg@bad.crufty.net> 421236769Sobrien 422236769Sobrien * boot-strap: use absolute path for bmake when running tests. 423236769Sobrien 424236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100510 425236769Sobrien Merge with NetBSD make, pick up 426236769Sobrien o revert use of realpath on argv[0] 427236769Sobrien too many corner cases. 428236769Sobrien o print MAKE_PRINT_VAR_ON_ERROR before running .ERROR target. 429236769Sobrien 430236769Sobrien2010-05-05 Simon J. Gerraty <sjg@bad.crufty.net> 431236769Sobrien 432236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100505 433236769Sobrien Merge with NetBSD make, pick up 434236769Sobrien o fix for missed SIGCHLD when compiled with SunPRO 435236769Sobrien actually for bmake, defining FORCE_POSIX_SIGNALS would have 436236769Sobrien done the job. 437236769Sobrien 438236769Sobrien2010-04-30 Simon J. Gerraty <sjg@bad.crufty.net> 439236769Sobrien 440236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100430 441236769Sobrien Merge with NetBSD make, pick up 442236769Sobrien o fflush stdout before writing to stdout 443236769Sobrien 444236769Sobrien2010-04-23 Simon J. Gerraty <sjg@bad.crufty.net> 445236769Sobrien 446236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100423 447236769Sobrien Merge with NetBSD make, pick up 448236769Sobrien o updated unit tests for Haiku (this time for sure). 449236769Sobrien * boot-strap: based on patch from joerg 450236769Sobrien honor --with-default-sys-path better. 451236769Sobrien * boot-strap: remove mention of --with-prefix-sys-path 452236769Sobrien 453236769Sobrien2010-04-22 Simon J. Gerraty <sjg@bad.crufty.net> 454236769Sobrien 455236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100422 456236769Sobrien * Merge with NetBSD make, pick up 457236769Sobrien o fix for vfork() on Darwin. 458236769Sobrien o fix for bogus $TMPDIR. 459236769Sobrien o set .MAKE.MODE=compat for -B 460236769Sobrien o set .MAKE.JOBS=max_jobs for -j max_jobs 461236769Sobrien o allow unit-tests to run without any *.mk 462236769Sobrien o unit-tests/modmisc be more conservative in dirs presumed to exist. 463236769Sobrien * boot-strap: ignore /usr/share/mk except on NetBSD. 464236769Sobrien * unit-tests/Makefile.in: set LANG=C when running unit-tests to 465236769Sobrien ensure sort(1) behaves as expected. 466236769Sobrien 467236769Sobrien2010-04-21 Simon J. Gerraty <sjg@bad.crufty.net> 468236769Sobrien 469236769Sobrien * boot-strap: add FindHereOrAbove so we can use -m .../mk 470236769Sobrien 471236769Sobrien2010-04-20 Simon J. Gerraty <sjg@bad.crufty.net> 472236769Sobrien 473236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100420 474236769Sobrien * Merge with NetBSD make, pick up 475236769Sobrien o fix for variable realpath() behavior. 476236769Sobrien we have to stat(2) the result to be sure. 477236769Sobrien o fix for .export (all) when nested vars use :sh 478236769Sobrien 479236769Sobrien2010-04-14 Simon J. Gerraty <sjg@bad.crufty.net> 480236769Sobrien 481236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100414 482236769Sobrien * Merge with NetBSD make, pick up 483236769Sobrien o use realpath to resolve argv[0] (for .MAKE) if needed. 484236769Sobrien o add realpath from libc. 485236769Sobrien o add :tA to resolve variable via realpath(3) if possible. 486236769Sobrien 487236769Sobrien2010-04-08 Simon J. Gerraty <sjg@bad.crufty.net> 488236769Sobrien 489236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100408 490236769Sobrien * Merge with NetBSD make, pick up 491236769Sobrien o unit tests for .ERROR, .error 492236769Sobrien o fix for .ERROR to ensure it cannot be default target. 493236769Sobrien 494236769Sobrien2010-04-06 Simon J. Gerraty <sjg@bad.crufty.net> 495236769Sobrien 496236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100406 497236769Sobrien * Merge with NetBSD make, pick up 498236769Sobrien o fix for compat mode "Error code" going to debug_file. 499236769Sobrien o fix for .ALLSRC being populated twice. 500236769Sobrien o support for .info, .warning and .error directives 501236769Sobrien o .MAKE.MODE to control make's operational mode 502236769Sobrien o .MAKE.MAKEFILE_PREFERENCE to control the preferred makefile 503236769Sobrien name(s). 504236769Sobrien o .MAKE.DEPENDFILE to control the name of the depend file 505236769Sobrien o .ERROR target - run on failure. 506236769Sobrien 507236769Sobrien2010-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 508236769Sobrien 509236769Sobrien * make-bootstrap.sh.in: extract MAKE_VERSION from Makefile 510236769Sobrien 511236769Sobrien * os.sh,arch.c: patch for Haiku from joerg at netbsd 512236769Sobrien 513236769Sobrien2010-03-17 Simon J. Gerraty <sjg@bad.crufty.net> 514236769Sobrien 515236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100222 516236769Sobrien * Merge with NetBSD make, pick up 517236769Sobrien o better error msg for .for with mutiple inter vars 518236769Sobrien 519236769Sobrien * boot-strap: 520236769Sobrien o use make-bootstrap.sh from joerg at netbsd 521236769Sobrien to avoid the need for a native make when bootstrapping. 522236769Sobrien o add "" everywhere ;-) 523236769Sobrien o if /usr/share/tmac/andoc.tmac exists install nroff bmake.1 524236769Sobrien otherwise the pre-formated version. 525236769Sobrien 526236769Sobrien2010-01-04 Simon J. Gerraty <sjg@bad.crufty.net> 527236769Sobrien 528236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20100102 529236769Sobrien * Merge with NetBSD make, pick up: 530236769Sobrien o fix for -m .../ 531236769Sobrien 532236769Sobrien2009-11-18 Simon J. Gerraty <sjg@void.crufty.net> 533236769Sobrien 534236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20091118 535236769Sobrien * Merge with NetBSD make, pick up: 536236769Sobrien o .unexport 537236769Sobrien o report lines that start with '.' and should have ':' 538236769Sobrien (catch typo's of .el*if). 539236769Sobrien 540236769Sobrien2009-10-30 Simon J. Gerraty <sjg@void.crufty.net> 541236769Sobrien 542236769Sobrien * configure.in: Ensure that srcdir and mksrc are absolute paths. 543236769Sobrien 544236769Sobrien2009-10-09 Simon J. Gerraty <sjg@void.crufty.net> 545236769Sobrien 546236769Sobrien * Makefile.in (MAKE_VERSION): fix version to 20091007 547236769Sobrien 548236769Sobrien2009-10-07 Simon J. Gerraty <sjg@void.crufty.net> 549236769Sobrien 550236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 200910007 551236769Sobrien * Merge with NetBSD make, pick up: 552236769Sobrien o fix for parsing of :S;...;...; applied to .for loop iterator 553236769Sobrien appearing in a dependency line. 554236769Sobrien 555236769Sobrien2009-09-09 Simon J. Gerraty <sjg@void.crufty.net> 556236769Sobrien 557236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20090909 558236769Sobrien * Merge with NetBSD make, pick up: 559236769Sobrien o fix for -C, .CURDIR and .OBJDIR 560236769Sobrien * boot-strap: 561236769Sobrien o allow share_dir to be set independent of prefix. 562236769Sobrien o select default share_dir better when prefix ends in $HOST_TARGET 563236769Sobrien o if FORCE_BSD_MK etc were set, include them in the suggested 564236769Sobrien install-mk command. 565236769Sobrien 566236769Sobrien2009-09-08 Simon J. Gerraty <sjg@void.crufty.net> 567236769Sobrien 568236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20090908 569236769Sobrien * Merge with NetBSD make, pick up: 570236769Sobrien o .MAKE.LEVEL for recursion tracking 571236769Sobrien o fix for :M scanning \: 572236769Sobrien 573236769Sobrien2009-09-03 Simon J. Gerraty <sjg@void.crufty.net> 574236769Sobrien 575236769Sobrien * configure.in: Don't -D__EXTENSIONS__ if 576236769Sobrien AC_USE_SYSTEM_EXTENSIONS says "no". 577236769Sobrien 578236769Sobrien2009-08-26 Simon J. Gerraty <sjg@void.crufty.net> 579236769Sobrien 580236769Sobrien * Makefile.in (MAKE_VERSION): bump version to 20090826 581236769Sobrien Simplify MAKE_VERSION to just the bare date. 582236769Sobrien * Merge with NetBSD make, pick up: 583236769Sobrien o -C directory support. 584236769Sobrien o support for SIGINFO 585236769Sobrien o use $TMPDIR for temp files. 586236769Sobrien o child of vfork should be careful about modifying parent's state. 587236769Sobrien 588236769Sobrien 589236769Sobrien2009-03-26 Simon J. Gerraty <sjg@void.crufty.net> 590236769Sobrien 591236769Sobrien * Appy some patches for MiNT from David Brownlee 592236769Sobrien 593236769Sobrien2009-02-26 Simon J. Gerraty <sjg@void.crufty.net> 594236769Sobrien 595236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20090222 596236769Sobrien * Merge with NetBSD make, pick up: 597236769Sobrien o Possible null pointer de-ref in Var_Set. 598236769Sobrien 599236769Sobrien2009-02-08 Simon J. Gerraty <sjg@void.crufty.net> 600236769Sobrien 601236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20090204 602236769Sobrien * Merge with NetBSD make, pick up: 603236769Sobrien o bmake_malloc et al moved to their own .c 604236769Sobrien o Count both () and {} when looking for the end of a :M pattern 605236769Sobrien o Change 'Buffer' so that it is the actual struct, not a pointer to it. 606236769Sobrien o strlist.c - functions for processing extendable arrays of pointers to strings. 607236769Sobrien o ClientData replaced with void *, so const void * can be used. 608236769Sobrien o New debug flag C for DEBUG_CWD 609236769Sobrien 610236769Sobrien2008-11-11 Simon J. Gerraty <sjg@void.crufty.net> 611236769Sobrien 612236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20081111 613236769Sobrien Apply patch from Joerg Sonnenberge to 614236769Sobrien configure.in: 615236769Sobrien o remove some redundant checks 616236769Sobrien o check for emlloc etc only in libutil and require the whole family. 617236769Sobrien util.c: 618236769Sobrien o remove [v]asprintf which is no longer used. 619236769Sobrien 620236769Sobrien2008-11-04 Simon J. Gerraty <sjg@void.crufty.net> 621236769Sobrien 622236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20081101 623236769Sobrien * Merge with NetBSD make, pick up: 624236769Sobrien o util.c: avoid use of putenv() - christos 625236769Sobrien 626236769Sobrien2008-10-30 Simon J. Gerraty <sjg@void.crufty.net> 627236769Sobrien 628236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20081030 629236769Sobrien pick up man page tweaks. 630236769Sobrien 631236769Sobrien2008-10-29 Simon J. Gerraty <sjg@void.crufty.net> 632236769Sobrien 633236769Sobrien * Makefile.in: move processing of LIBOBJS to after is definition! 634236769Sobrien thus we'll have getenv.c in SRCS only if needed. 635236769Sobrien 636236769Sobrien * make.1: add examples of how to use :? 637236769Sobrien 638236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20081029 639236769Sobrien * Merge with NetBSD make, pick up: 640236769Sobrien o fix for .END processing with -j 641236769Sobrien o segfault from Parse_Error when no makefile is open 642236769Sobrien o handle numeric expressions in any variable expansion 643236769Sobrien o debug output now defaults to stderr, -dF to change it - apb 644236769Sobrien o make now uses bmake_malloc etc so that it can build natively 645236769Sobrien on A/UX - wasn't an issue for bmake, but we want to keep in sync. 646236769Sobrien 647236769Sobrien2008-09-27 Simon J. Gerraty <sjg@void.crufty.net> 648236769Sobrien 649236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20080808 650236769Sobrien * Merge with NetBSD make, pick up: 651236769Sobrien o fix for PR/38840: Pierre Pronchery: make crashes while parsing 652236769Sobrien long lines in Makefiles 653236769Sobrien o optimizations for VarQuote by joerg 654236769Sobrien o fix for PR/38756: dominik: make dumps core on invalid makefile 655236769Sobrien 656236769Sobrien2008-05-15 Simon J. Gerraty <sjg@void.crufty.net> 657236769Sobrien 658236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20080515 659236769Sobrien * Merge with NetBSD make, pick up: 660236769Sobrien o fix skip setting vars in VAR_GLOBAL context, to handle 661236769Sobrien cases where VAR_CMD is used for other than command line vars. 662236769Sobrien 663236769Sobrien2008-05-14 Simon J. Gerraty <sjg@void.crufty.net> 664236769Sobrien 665236769Sobrien * boot-strap (make_version): we may need to look in 666236769Sobrien $prefix/share/mk for sys.mk 667236769Sobrien 668236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20080514 669236769Sobrien * Merge with NetBSD make, pick up: 670236769Sobrien o skip setting vars in VAR_GLOBAL context, when already set in 671236769Sobrien VAR_CMD which takes precedence. 672236769Sobrien 673236769Sobrien2008-03-30 Simon J. Gerraty <sjg@void.crufty.net> 674236769Sobrien 675236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20080330 676236769Sobrien * Merge with NetBSD make, pick up: 677236769Sobrien o fix for ?= when LHS contains variable reference. 678236769Sobrien 679236769Sobrien2008-02-15 Simon J. Gerraty <sjg@void.crufty.net> 680236769Sobrien 681236769Sobrien * merge some patches from NetBSD pkgsrc. 682236769Sobrien 683236769Sobrien * makefile.boot.in (BOOTSTRAP_SYS_PATH): Allow better control of 684236769Sobrien the MAKSYSPATH used during bootstrap. 685236769Sobrien 686236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20080215 687236769Sobrien * Merge with NetBSD make, pick up: 688236769Sobrien o warn if non-space chars follow 'empty' in a conditional. 689236769Sobrien 690236769Sobrien2008-01-18 Simon J. Gerraty <sjg@void.crufty.net> 691236769Sobrien 692236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20080118 693236769Sobrien * Merge with NetBSD make, pick up: 694236769Sobrien o consider dependencies read from .depend as optional - dsl 695236769Sobrien o remember when buffer for reading makefile grows - dsl 696236769Sobrien o add -dl (aka LOUD) - David O'Brien 697236769Sobrien 698236769Sobrien2007-10-22 Simon J. Gerraty <sjg@void.crufty.net> 699236769Sobrien 700236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20071022 701236769Sobrien * Merge with NetBSD make, pick up: 702236769Sobrien o Allow .PATH<suffix> to be used for .include "" 703236769Sobrien 704236769Sobrien * boot-strap: source default settings from .bmake-boot-strap.rc 705236769Sobrien 706236769Sobrien2007-10-16 Simon J. Gerraty <sjg@void.crufty.net> 707236769Sobrien 708236769Sobrien * Makefile.in: fix maninstall on various systems 709236769Sobrien provided that our man.mk is used. 710236769Sobrien For non-BSD systems we install the preformatted page 711236769Sobrien into $MANDIR/cat1 712236769Sobrien 713236769Sobrien2007-10-15 Simon J. Gerraty <sjg@void.crufty.net> 714236769Sobrien 715236769Sobrien * boot-strap: make bmake.1 too, so maninstall works. 716236769Sobrien 717236769Sobrien2007-10-14 Simon J. Gerraty <sjg@void.crufty.net> 718236769Sobrien 719236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20071014 720236769Sobrien * Merge with NetBSD make, pick up: 721236769Sobrien o revamped handling of defshell - configure no longer needs to 722236769Sobrien know the content of the shells array - apb 723236769Sobrien o stop Var_Subst modifying its input - apb 724236769Sobrien o avoid calling ParseTrackInput too often - dsl 725236769Sobrien 726236769Sobrien2007-10-11 Simon J. Gerraty <sjg@void.crufty.net> 727236769Sobrien 728236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20071011 729236769Sobrien * Merge with NetBSD make, pick up: 730236769Sobrien o fix Shell_Init for case that _BASENAME_DEFSHELL is absolute path. 731236769Sobrien 732236769Sobrien * sigcompat.c: some tweaks for HP-UX 11.x based on 733236769Sobrien patch from Tobias Nygren 734236769Sobrien 735236769Sobrien * configure.in: update handling of --with-defshell to match 736236769Sobrien new make behavior. --with-defshell=/usr/xpg4/bin/sh 737236769Sobrien will now do what one might hope - provided the chosen shell 738236769Sobrien behaves enough like sh. 739236769Sobrien 740236769Sobrien2007-10-08 Simon J. Gerraty <sjg@void.crufty.net> 741236769Sobrien 742236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20071008 743236769Sobrien * Merge with NetBSD make, pick up: 744236769Sobrien o .MAKE.JOB.PREFIX - control the token output before jobs - sjg 745236769Sobrien o .export/.MAKE.EXPORTED - export of variables - sjg 746236769Sobrien o .MAKE.MAKEFILES - track all makefiles read - sjg 747236769Sobrien o performance improvements - dsl 748236769Sobrien o revamp parallel job scheduling - dsl 749236769Sobrien 750236769Sobrien2006-07-28 Simon J. Gerraty <sjg@void.crufty.net> 751236769Sobrien 752236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20060728 753236769Sobrien * Merge with NetBSD make, pick up: 754236769Sobrien o extra debug info during variable and cond processing - sjg 755236769Sobrien o shell definition now covers newline - rillig 756236769Sobrien o minor mem leak in PrintOnError - sjg 757236769Sobrien 758236769Sobrien2006-05-11 Simon J. Gerraty <sjg@void.crufty.net> 759236769Sobrien 760236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20060511 761236769Sobrien * Merge with NetBSD make, pick up: 762236769Sobrien o more memory leaks - coverity 763236769Sobrien o possible overflow in ArchFindMember - coverity 764236769Sobrien o extract variable modifier code out of Var_Parse() 765236769Sobrien so it can be called recursively - sjg 766236769Sobrien o unit-tests/moderrs - sjg 767236769Sobrien 768236769Sobrien2006-04-12 Simon J. Gerraty <sjg@void.crufty.net> 769236769Sobrien 770236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20060412 771236769Sobrien * Merge with NetBSD make, pick up: 772236769Sobrien o fixes for some memory leaks - coverity 773236769Sobrien o only read first sys.mk etc when searching sysIncPath - sjg 774236769Sobrien 775236769Sobrien * main.c (ReadMakefile): remove hack for __INTERIX that prevented 776236769Sobrien setting ${MAKEFILE} - OBATA Akio 777236769Sobrien 778236769Sobrien2006-03-18 Simon J. Gerraty <sjg@void.crufty.net> 779236769Sobrien 780236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20060318 781236769Sobrien * Merge with NetBSD make, pick up: 782236769Sobrien o cleanup of job.c to remove remote handling, distcc is more 783236769Sobrien useful and this code was likely bit-rotting - dsl 784236769Sobrien o fix for :P modifier - sjg 785236769Sobrien * boot-strap: set default prefix to something reasonable 786236769Sobrien (for me anyway). 787236769Sobrien 788236769Sobrien2006-03-01 Simon J. Gerraty <sjg@void.crufty.net> 789236769Sobrien 790236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20060301 791236769Sobrien * Merge with NetBSD make, pick up: 792236769Sobrien o make .WAIT apply recursively, document and test case - apb 793236769Sobrien o allow variable modifiers in a variable appear anywhere in 794236769Sobrien modifier list, document and test case - sjg 795236769Sobrien 796236769Sobrien2006-02-22 Simon J. Gerraty <sjg@void.crufty.net> 797236769Sobrien 798236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20060222 799236769Sobrien * Merge with NetBSD make, pick up: 800236769Sobrien o improved job token handling - dsl 801236769Sobrien o SIG_DFL the correct signal before exec - dsl 802236769Sobrien o more debug info during parsing - dsl 803236769Sobrien o allow variable modifiers to be specified via variable - sjg 804236769Sobrien * boot-strap: explain why we died if no mksrc 805236769Sobrien 806236769Sobrien2005-11-05 Simon J. Gerraty <sjg@void.crufty.net> 807236769Sobrien 808236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20051105 809236769Sobrien * configure.in: always set default_sys_path 810236769Sobrien default is ${prefix}/share/mk 811236769Sobrien - remove prefix_sys_path, anyone wanting more than above 812236769Sobrien needs to set it manually. 813236769Sobrien 814236769Sobrien2005-11-04 Simon J. Gerraty <sjg@void.crufty.net> 815236769Sobrien 816236769Sobrien * boot-strap: make this a bit easier for pkgsrc folk. 817236769Sobrien bootstrap still fails on IRIX64 since MACHINE_ARCH gets set to 818236769Sobrien 'mips' while pkgsrc wants 'mipseb' or 'mipsel' 819236769Sobrien 820236769Sobrien2005-11-02 Simon J. Gerraty <sjg@void.crufty.net> 821236769Sobrien 822236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20051102 823236769Sobrien * job.c (JobFinish): fix likely ancient merge lossage 824236769Sobrien fix from Todd Vierling. 825236769Sobrien * boot-strap (srcdir): allow setting mksrc=none 826236769Sobrien 827236769Sobrien2005-10-31 Simon J. Gerraty <sjg@void.crufty.net> 828236769Sobrien 829236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20051031 830236769Sobrien * ranlib.h: skip on OSF too. 831236769Sobrien (NetBSD PR 31864) 832236769Sobrien 833236769Sobrien2005-10-10 Simon J. Gerraty <sjg@void.crufty.net> 834236769Sobrien 835236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20051002 836236769Sobrien fix a silly typo 837236769Sobrien 838236769Sobrien2005-10-09 Simon J. Gerraty <sjg@void.crufty.net> 839236769Sobrien 840236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20051001 841236769Sobrien support for UnixWare and some other systems, 842236769Sobrien based on patches from pkgsrc/bootstrap 843236769Sobrien 844236769Sobrien2005-09-03 Simon J. Gerraty <sjg@void.crufty.net> 845236769Sobrien 846236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20050901 847236769Sobrien * Merge with NetBSD make, pick up: 848236769Sobrien o possible parse error causing us to wander off. 849236769Sobrien 850236769Sobrien2005-06-06 Simon J. Gerraty <sjg@void.crufty.net> 851236769Sobrien 852236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20050606 853236769Sobrien * Merge with NetBSD make, pick up: 854236769Sobrien o :0x modifier for randomizing a list 855236769Sobrien o fixes for a number of -Wuninitialized issues. 856236769Sobrien 857236769Sobrien2005-05-30 Simon J. Gerraty <sjg@void.crufty.net> 858236769Sobrien 859236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20050530 860236769Sobrien * Merge with NetBSD make, pick up: 861236769Sobrien o Handle dependencies for .BEGIN, .END and .INTERRUPT 862236769Sobrien 863236769Sobrien * README: was seriously out of date. 864236769Sobrien 865236769Sobrien2005-03-22 Simon J. Gerraty <sjg@void.crufty.net> 866236769Sobrien 867236769Sobrien * Important to use .MAKE rather than MAKE. 868236769Sobrien 869236769Sobrien2005-03-15 Simon J. Gerraty <sjg@void.crufty.net> 870236769Sobrien 871236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20050315 872236769Sobrien * Merge with NetBSD make, pick up: 873236769Sobrien o don't mistake .elsefoo for .else 874236769Sobrien o use suffix-specific search path correctly 875236769Sobrien o bunch of style nits 876236769Sobrien 877236769Sobrien2004-05-11 Simon J. Gerraty <sjg@void.crufty.net> 878236769Sobrien 879236769Sobrien * boot-strap: 880236769Sobrien o ensure that args to --src and --with-mksrc 881236769Sobrien are resolved before giving them to configure. 882236769Sobrien o add -o "objdir" so that builder can control it, 883236769Sobrien default is $OS as determined by os.sh 884236769Sobrien o add -q to suppress all the install instructions. 885236769Sobrien 886236769Sobrien2004-05-08 Simon J. Gerraty <sjg@void.crufty.net> 887236769Sobrien 888236769Sobrien * Remove __IDSTRING() 889236769Sobrien 890236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20040508 891236769Sobrien * Merge with NetBSD make, pick up: 892236769Sobrien o posix fixes 893236769Sobrien - remove '-e' from compat mode 894236769Sobrien - add support for '+' command-line prefix. 895236769Sobrien o fix for handling '--' on command-line. 896236769Sobrien o fix include in lst.lib/lstInt.h to simplify '-I's 897236769Sobrien o we also picked up replacement of MAKE_BOOTSTRAP 898236769Sobrien with !MAKE_NATIVE which is a noop, but possibly confusing. 899236769Sobrien 900236769Sobrien2004-04-14 Simon J. Gerraty <sjg@void.crufty.net> 901236769Sobrien 902236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20040414 903236769Sobrien * Merge with NetBSD make, pick up: 904236769Sobrien o allow quoted strings on lhs of conditionals 905236769Sobrien o issue warning when extra .else is seen 906236769Sobrien o print line numer when errors encountered during parsing from 907236769Sobrien string. 908236769Sobrien 909236769Sobrien2004-02-20 Simon J. Gerraty <sjg@void.crufty.net> 910236769Sobrien 911236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20040220 912236769Sobrien * Merge with NetBSD make, pick up: 913236769Sobrien o fix for old :M parsing bug. 914236769Sobrien o re-jigged unit-tests 915236769Sobrien 916236769Sobrien2004-02-15 Simon J. Gerraty <sjg@void.crufty.net> 917236769Sobrien 918236769Sobrien * Makefile.in (accept test): use ${.MAKE:S,^./,${.CURDIR}/,} 919236769Sobrien so that './bmake -f Makefile test' works. 920236769Sobrien 921236769Sobrien2004-02-14 Simon J. Gerraty <sjg@void.crufty.net> 922236769Sobrien 923236769Sobrien * Makefile.in: (BMAKE_VERSION): bump to 20040214 924236769Sobrien * Merge with NetBSD make, pick up: 925236769Sobrien o search upwards for *.mk 926236769Sobrien o fix for double free of var substitution buffers 927236769Sobrien o use of getopt replaced with custom code, since the usage 928236769Sobrien (re-scanning) isn't posix compatible. 929236769Sobrien 930236769Sobrien2004-02-12 Simon J. Gerraty <sjg@void.crufty.net> 931236769Sobrien 932236769Sobrien * arch.c: don't include ranlib.h on ELF systems 933236769Sobrien (thanks to Chuck Cranor <chuck@ece.cmu.edu>). 934236769Sobrien 935236769Sobrien2004-01-18 Simon J. Gerraty <sjg@void.crufty.net> 936236769Sobrien 937236769Sobrien * Makefile.in (BMAKE_VERSION): bump to 20040118 938236769Sobrien 939236769Sobrien * boot-strap (while): export vars we assign to on cmdline 940236769Sobrien * unit-test/Makefile.in: ternary is .PHONY 941236769Sobrien 942236769Sobrien2004-01-08 Simon J. Gerraty <sjg@void.crufty.net> 943236769Sobrien 944236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20040108 945236769Sobrien * Merge with NetBSD make, pick up: 946236769Sobrien o fix for ternary modifier 947236769Sobrien 948236769Sobrien2004-01-06 Simon J. Gerraty <sjg@void.crufty.net> 949236769Sobrien 950236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20040105 951236769Sobrien * Merge with NetBSD make, pick up: 952236769Sobrien o fix for cond.c to handle compound expressions better 953236769Sobrien o variable expansion within sysV style replacements 954236769Sobrien 955236769Sobrien2003-12-22 Simon J. Gerraty <sjg@void.crufty.net> 956236769Sobrien 957236769Sobrien * Make portable snprintf safer - output to /dev/null first to 958236769Sobrien check space needed. 959236769Sobrien 960236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20031222 961236769Sobrien * Merge with NetBSD make, pick up: 962236769Sobrien o -dg3 to show input graph when things go wrong. 963236769Sobrien o explicitly look for makefiles in objdir if not found in curdir so 964236769Sobrien that errors in .depend etc will be reported accurarely. 965236769Sobrien o avoid use of -e in shell scripts in jobs mode, use '|| exit $?' 966236769Sobrien instead as it more accurately reflects the expected behavior and 967236769Sobrien is more consistently implemented. 968236769Sobrien o avoid use of asprintf. 969236769Sobrien 970236769Sobrien2003-09-28 Simon J. Gerraty <sjg@void.crufty.net> 971236769Sobrien 972236769Sobrien * util.c: Add asprintf and vasprintf. 973236769Sobrien 974236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20030928 975236769Sobrien * Merge with NetBSD make, pick up: 976236769Sobrien :[] modifier - allows picking words from a variable. 977236769Sobrien :tW modifier - allows treating value as one big word. 978236769Sobrien W flag for :C and :S - allows treating value as one big word. 979236769Sobrien 980236769Sobrien2003-09-12 Simon J. Gerraty <sjg@void.crufty.net> 981236769Sobrien 982236769Sobrien * Merge with NetBSD make 983236769Sobrien pick up -de flag to enable printing failed command. 984236769Sobrien don't skip 1st two dir entries (normally . and ..) since 985236769Sobrien coda does not have them. 986236769Sobrien 987236769Sobrien2003-09-09 Simon J. Gerraty <sjg@void.crufty.net> 988236769Sobrien 989236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20030909 990236769Sobrien * Merge with NetBSD make, pick up: 991236769Sobrien - changes for -V '${VAR}' to print fully expanded value 992236769Sobrien cf. -V VAR 993236769Sobrien - CompatRunCommand now prints the command that failed. 994236769Sobrien - several files got updated 3 clause Berkeley license. 995236769Sobrien 996236769Sobrien2003-08-02 Simon J. Gerraty <sjg@void.crufty.net> 997236769Sobrien 998236769Sobrien * boot-strap: Allow setting configure args on command line. 999236769Sobrien 1000236769Sobrien2003-07-31 Simon J. Gerraty <sjg@void.crufty.net> 1001236769Sobrien 1002236769Sobrien * configure.in: add --with-defshell to allow sh or ksh 1003236769Sobrien to be selected as default shell. 1004236769Sobrien 1005236769Sobrien * Makefile.in: bump version to 20030731 1006236769Sobrien 1007236769Sobrien * Merge with NetBSD make 1008236769Sobrien Pick up .SHELL spec for ksh and associate man page changes. 1009236769Sobrien Also compat mode now uses the same shell specs. 1010236769Sobrien 1011236769Sobrien2003-07-29 Simon J. Gerraty <sjg@void.crufty.net> 1012236769Sobrien 1013236769Sobrien * var.c (Var_Parse): ensure delim is initialized. 1014236769Sobrien 1015236769Sobrien * unit-tests/Makefile.in: use single quotes to avoid problems from 1016236769Sobrien some shells. 1017236769Sobrien 1018236769Sobrien * makefile.boot.in: 1019236769Sobrien Run the unit-tests as part of the bootstrap procedure. 1020236769Sobrien 1021236769Sobrien2003-07-28 Simon J. Gerraty <sjg@void.crufty.net> 1022236769Sobrien 1023236769Sobrien * unit-tests/Makefile.in: always force complaints from 1024236769Sobrien ${TEST_MAKE} to be from 'make'. 1025236769Sobrien 1026236769Sobrien * configure.in: add check for 'diff -u' 1027236769Sobrien also fix some old autoconf'isms 1028236769Sobrien 1029236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20030728. 1030236769Sobrien if using GCC add -Wno-cast-qual to CFLAGS for var.o 1031236769Sobrien 1032236769Sobrien * Merge with NetBSD make 1033236769Sobrien Pick up fix for :ts parsing error in some cases. 1034236769Sobrien Pick unit-tests. 1035236769Sobrien 1036236769Sobrien2003-07-23 Simon J. Gerraty <sjg@void.crufty.net> 1037236769Sobrien 1038236769Sobrien * Makefile.in (BMAKE_VERSION): bump version to 20030723. 1039236769Sobrien 1040236769Sobrien * var.c (Var_Parse): fix bug in :ts modifier, after const 1041236769Sobrien correctness fixes, must pass nstr to VarModify. 1042236769Sobrien 1043236769Sobrien2003-07-14 Simon J. Gerraty <sjg@void.crufty.net> 1044236769Sobrien 1045236769Sobrien * Makefile.in: BMAKE_VERSION switch to a date based version. 1046236769Sobrien We'll generally use the date of last import from NetBSD. 1047236769Sobrien 1048236769Sobrien * Merge with NetBSD make 1049236769Sobrien Pick up fixes for const-correctness, now passes WARNS=3 on 1050236769Sobrien NetBSD. 1051236769Sobrien Pick up :ts modifier, allows controlling the separator used 1052236769Sobrien between words in variable expansion. 1053236769Sobrien 1054236769Sobrien2003-07-11 Simon J. Gerraty <sjg@void.crufty.net> 1055236769Sobrien 1056236769Sobrien * FILES: include boot-strap and os.sh 1057236769Sobrien 1058236769Sobrien * Makefile.in: only set WARNS if we are NetBSD, the effect on 1059236769Sobrien FreeBSD is known to be bad. 1060236769Sobrien 1061236769Sobrien * makefile.boot.in (bootstrap): make this the default target. 1062236769Sobrien 1063236769Sobrien * Makefile.in: bump version to 3.1.19 1064236769Sobrien 1065236769Sobrien * machine.sh: avoid A-Z with tr as it is bound to lose. 1066236769Sobrien 1067236769Sobrien2003-07-10 Simon J. Gerraty <sjg@void.crufty.net> 1068236769Sobrien 1069236769Sobrien * Merge with NetBSD make 1070236769Sobrien Pick up fix for PR/19781 - unhelpful error msg on unclosed ${var:foo 1071236769Sobrien Plus some doc fixes. 1072236769Sobrien 1073236769Sobrien2003-04-27 Simon J. Gerraty <sjg@void.crufty.net> 1074236769Sobrien 1075236769Sobrien * Merge with NetBSD make 1076236769Sobrien Pick up fix for PR/1523 - don't count a library as built, if there 1077236769Sobrien is no way to build it 1078236769Sobrien 1079236769Sobrien * Bump version to 3.1.18 1080236769Sobrien 1081236769Sobrien2003-03-23 Simon J. Gerraty <sjg@void.crufty.net> 1082236769Sobrien 1083236769Sobrien * Merge with NetBSD make 1084236769Sobrien Pick up fix for ParseDoSpecialSrc - we only use it if .WAIT 1085236769Sobrien appears in src list. 1086236769Sobrien 1087236769Sobrien2003-03-21 Simon J. Gerraty <sjg@void.crufty.net> 1088236769Sobrien 1089236769Sobrien * Merge with NetBSD make (mmm 10th anniversary!) 1090236769Sobrien pick up fix for .WAIT in srcs that refer to $@ or $* (PR#20828) 1091236769Sobrien pick up -X which tells us to not export VAR=val via setenv if 1092236769Sobrien we are already doing so via MAKEFLAGS. This saves valuable env 1093236769Sobrien space on systems like Darwin. 1094236769Sobrien set MAKE_VERSION to 3.1.17 1095236769Sobrien 1096236769Sobrien * parse.c: pix up fix for suffix rules 1097236769Sobrien 1098236769Sobrien2003-03-06 Simon J. Gerraty <sjg@void.crufty.net> 1099236769Sobrien 1100236769Sobrien * Merge with NetBSD make. 1101236769Sobrien pick up fix for propagating -B via MAKEFLAGS. 1102236769Sobrien set MAKE_VERSION to 3.1.16 1103236769Sobrien 1104236769Sobrien * Apply some patches from pkgsrc-bootstrap/bmake 1105236769Sobrien Originally by Grant Beattie <grant@netbsd.org> 1106236769Sobrien I may have missed some - since they are based on bmake-3.1.12 1107236769Sobrien 1108236769Sobrien2002-12-03 Simon J. Gerraty <sjg@void.crufty.net> 1109236769Sobrien 1110236769Sobrien * makefile.boot.in (bmake): update install targets for those that 1111236769Sobrien use them, also clear MAKEFLAGS when invoking bmake.boot to avoid 1112236769Sobrien havoc from gmake -w. Thanks to Harlan Stenn <hstenn@cisco.com>. 1113236769Sobrien 1114236769Sobrien * bmake.cat1: update the pre-formatted man page! 1115236769Sobrien 1116236769Sobrien2002-11-30 Simon J. Gerraty <sjg@void.crufty.net> 1117236769Sobrien 1118236769Sobrien * Merge with NetBSD make. 1119236769Sobrien pick up fix for premature free of pointer used in call 1120236769Sobrien to Dir_InitCur(). 1121236769Sobrien set MAKE_VERSION to 3.1.15 1122236769Sobrien 1123236769Sobrien2002-11-26 Simon J. Gerraty <sjg@void.crufty.net> 1124236769Sobrien 1125236769Sobrien * configure.in: determine suitable value for MKSRC. 1126236769Sobrien override using --with-mksrc=PATH. 1127236769Sobrien 1128236769Sobrien * machine.sh: use `uname -p` for MACHINE_ARCH on modern SunOS systems. 1129236769Sobrien configs(8) will use 'sun4' as an alias for 'sparc'. 1130236769Sobrien 1131236769Sobrien2002-11-25 Simon J. Gerraty <sjg@void.crufty.net> 1132236769Sobrien 1133236769Sobrien * Merge with NetBSD make. 1134236769Sobrien pick up ${.PATH} 1135236769Sobrien pick up fix for finding ../cat.c via .PATH when .CURDIR=.. 1136236769Sobrien set MAKE_VERSION to 3.1.14 1137236769Sobrien add configure checks for killpg and sys/socket.h 1138236769Sobrien 1139236769Sobrien2002-09-16 Simon J. Gerraty <sjg@void.crufty.net> 1140236769Sobrien 1141236769Sobrien * tag bmake-3-1-13 1142236769Sobrien 1143236769Sobrien * makefile.boot.in (bmake): use install-mk 1144236769Sobrien Also setup ./mk before trying to invoke bmake.boot incase we 1145236769Sobrien needed install-mk to create a sys.mk for us. 1146236769Sobrien 1147236769Sobrien * configure.in: If we need to add -I${srcdir}/missing, make it an 1148236769Sobrien absolute path so that it works for lst.lib too. 1149236769Sobrien 1150236769Sobrien * make.h: always include sys/cdefs.h since we provide one if the 1151236769Sobrien host does not. 1152236769Sobrien 1153236769Sobrien * Makefile.in (install-mk): 1154236769Sobrien use MKSRC/install-mk which will do the right thing. 1155236769Sobrien use uname -p for ARCH if possible. 1156236769Sobrien since install-mk will setup links bsd.prog.mk -> prog.mk if 1157236769Sobrien needed, just .include bsd.prog.mk 1158236769Sobrien 1159236769Sobrien * Merge with NetBSD make (NetBSD-1.6) 1160236769Sobrien Code is ansi-C only now. 1161236769Sobrien Bug in handling of dotLast is fixed. 1162236769Sobrien Can now assign .OBJDIR and make will reset its notions of life. 1163236769Sobrien New modifiers :tu :tl for toUpper and toLower. 1164236769Sobrien 1165236769SobrienTue Oct 16 12:18:42 2001 Simon J. Gerraty <sjg@zen.crufty.net> 1166236769Sobrien 1167236769Sobrien * Merge with NetBSD make 1168236769Sobrien pick up fix for .END failure in compat mode. 1169236769Sobrien pick up fix for extra va_end() in ParseVErrorInternal. 1170236769Sobrien 1171236769SobrienThu Oct 11 13:20:06 2001 Simon J. Gerraty <sjg@zen.crufty.net> 1172236769Sobrien 1173236769Sobrien * configure.in: for systems that have sys/cdefs.h check if it is 1174236769Sobrien compatible. If not, include the one under missing, but tell it to 1175236769Sobrien include the native one too - necessary on Linux. 1176236769Sobrien 1177236769Sobrien * missing/sys/cdefs.h: if NEED_HOST_CDEFS_H is defined, use 1178236769Sobrien include_next (for gcc) to get the native sys/cdefs.h 1179236769Sobrien 1180236769SobrienTue Aug 21 02:29:34 2001 Simon J. Gerraty <sjg@zen.quick.com.au> 1181236769Sobrien 1182236769Sobrien * job.c (JobFinish): Fix an earlier merge bug that resulted in 1183236769Sobrien leaking descriptors when using -jN. 1184236769Sobrien 1185236769Sobrien * job.c (JobPrintCommand): See if "curdir" exists before 1186236769Sobrien attempting to chdir(). Doing the chdir directly in make (when in 1187236769Sobrien compat mode) fails silently, so let the -jN version do the same. 1188236769Sobrien This can happen when building kernels in an object tree and 1189236769Sobrien playing clever games to reset .CURDIR. 1190236769Sobrien 1191236769Sobrien * Merged with NetBSD make 1192236769Sobrien pick up .USEBEFORE 1193236769Sobrien 1194236769SobrienTue Jun 26 23:45:11 2001 Simon J. Gerraty <sjg@zen.quick.com.au> 1195236769Sobrien 1196236769Sobrien * makefile.boot.in: Give bmake.boot a MAKESYSPATH that might work. 1197236769Sobrien 1198236769SobrienTue Jun 12 16:48:57 2001 Simon J. Gerraty <sjg@zen.quick.com.au> 1199236769Sobrien 1200236769Sobrien * var.c (Var_Set): Add 4th (flags) arg so VarLoopExpand can tell 1201236769Sobrien us not to export the iterator variable when using VAR_CMD context. 1202236769Sobrien 1203236769SobrienSun Jun 10 21:55:21 2001 Simon J. Gerraty <sjg@zen.quick.com.au> 1204236769Sobrien 1205236769Sobrien * job.c (Job_CatchChildren): don't call Job_CatchOutput() here, 1206236769Sobrien its the wrong "fix". 1207236769Sobrien 1208236769SobrienSat Jun 9 00:11:24 2001 Simon J. Gerraty <sjg@zen.quick.com.au> 1209236769Sobrien 1210236769Sobrien * Redesigned export of VAR_CMD's via MAKEFLAGS. 1211236769Sobrien We now simply append the variable names to .MAKEOVERRIDES, and 1212236769Sobrien handle duplicate suppression and quoting in ExportMAKEFLAGS using: 1213236769Sobrien ${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@} 1214236769Sobrien Apart from fixing quoting bugs in previous version, this allows us 1215236769Sobrien to export vars to the environment by simply doing: 1216236769Sobrien .MAKEOVERRIDES+= PATH 1217236769Sobrien Merged again with NetBSD make, but the above is the only change. 1218236769Sobrien 1219236769Sobrien * configure.in: added 1220236769Sobrien --disable-pwd-override disable $PWD overriding getcwd() 1221236769Sobrien --disable-check-make-chdir disable make trying to guess 1222236769Sobrien when it should automatically cd ${.CURDIR} 1223236769Sobrien 1224236769Sobrien * Merge with NetBSD make, changes include: 1225236769Sobrien parse.c (ParseDoDependency): Spot that the syntax error is 1226236769Sobrien caused by an unresolved cvs/rcs conflict and say so. 1227236769Sobrien var.c: most of Var* functions now take a ctxt as 1st arg. 1228236769Sobrien now does variable substituion on rhs of sysv style modifiers. 1229236769Sobrien 1230236769Sobrien * var.c (Var_Set): exporting of command line variables (VAR_CMD) 1231236769Sobrien is now done here. We append the name='value' to .MAKEOVERRIDES 1232236769Sobrien rather than directly into MAKEFLAGS as this allows a Makefile to 1233236769Sobrien use .MAKEOVERRIDES= to disable this behaviour. GNU make uses a 1234236769Sobrien very similar mechanism. Note that in adding name='value' to 1235236769Sobrien .MAKEOVERRIDES we do the moral equivalent of: 1236236769Sobrien .MAKEOVERRIDES:= ${.MAKEOVERRIDES:Nname=*} name='val' 1237236769Sobrien 1238236769SobrienFri Jun 1 14:08:02 2001 Simon J. Gerraty <sjg@zen.quick.com.au> 1239236769Sobrien 1240236769Sobrien * make-conf.h (USE_IOVEC): make it conditional on HAVE_SYS_UIO_H 1241236769Sobrien 1242236769Sobrien * Merged with NetBSD make 1243236769Sobrien make -dx can now be used to run commands via sh -x 1244236769Sobrien better error messages on exec failures. 1245236769Sobrien 1246236769SobrienThu May 31 01:44:54 2001 Simon J. Gerraty <sjg@zen.quick.com.au> 1247236769Sobrien 1248236769Sobrien * Makefile.in (main.o): depends on ${SRCS} ${MAKEFILE} so that 1249236769Sobrien MAKE_VERSION gets updated. Also don't use ?= for MAKE_VERSION, 1250236769Sobrien MACHINE etc otherwise they propagate from the previous bmake. 1251236769Sobrien 1252236769Sobrien * configure.in (machine): allow --with-machine=generic to make 1253236769Sobrien configure use machine.sh to set MACHINE. 1254236769Sobrien 1255236769Sobrien * job.c (JobInterrupt): convert to using WAIT_T and friends. 1256236769Sobrien 1257236769Sobrien * Makefile.in: mention in bmake.1 that we use autoconf. 1258236769Sobrien 1259236769Sobrien * make.1: mention MAKE_PRINT_VAR_ON_ERROR. 1260236769Sobrien 1261236769SobrienWed May 30 23:17:18 2001 Simon J. Gerraty <sjg@zen.quick.com.au> 1262236769Sobrien 1263236769Sobrien * main.c (ReadMakefile): don't set MAKEFILE if reading ".depend" 1264236769Sobrien as that rather defeats the usefulness of ${MAKEFILE}. 1265236769Sobrien 1266236769Sobrien * main.c (MainParseArgs): append command line variable assignments 1267236769Sobrien to MAKEFLAGS so that they get propagated to child make's. 1268236769Sobrien Apparently this is required POSIX behaviour? Its useful anyway. 1269236769Sobrien 1270236769SobrienTue May 29 02:20:07 2001 Simon J. Gerraty <sjg@zen.quick.com.au> 1271236769Sobrien 1272236769Sobrien * compat.c (CompatRunCommand): don't use perror() since stdio may 1273236769Sobrien cause problems in child of vfork(). 1274236769Sobrien 1275236769Sobrien * compat.c, main.c: Call PrintOnError() when we are going to bail. 1276236769Sobrien This routine prints out the .curdir where we stopped and will also 1277236769Sobrien display any vars listed in ${MAKE_PRINT_VAR_ON_ERROR}. 1278236769Sobrien 1279236769Sobrien * main.c: add ${.newline} to hold a "\n" - sometimes handy in 1280236769Sobrien :@ expansion. 1281236769Sobrien 1282236769Sobrien * var.c: VarLoopExpand: ignore addSpace if a \n is present. 1283236769Sobrien 1284236769Sobrien * Added RCSid's for the files we've touched. 1285236769Sobrien 1286236769SobrienThu May 24 15:41:37 2001 Simon J. Gerraty <sjg@zen.quick.com.au> 1287236769Sobrien 1288236769Sobrien * configure.in: Thanks to some clues from mdb@juniper.net, 1289236769Sobrien added autoconf magic to control setting of MACHINE, MACHINE_ARCH 1290236769Sobrien as well as what ends up in _PATH_DEFSYSPATH. We now have: 1291236769Sobrien 1292236769Sobrien --with-machine=MACHINE explicitly set MACHINE 1293236769Sobrien --with-force-machine=MACHINE set FORCE_MACHINE 1294236769Sobrien --with-machine_arch=MACHINE_ARCH explicitly set MACHINE_ARCH 1295236769Sobrien --with-default-sys-path=PATH:DIR:LIST use an explicit _PATH_DEFSYSPATH 1296236769Sobrien --with-prefix-sys-path=PATH:DIR:LIST prefix _PATH_PREFIX_SYSPATH 1297236769Sobrien --with-path-objdirprefix=PATH override _PATH_OBJDIRPREFIX 1298236769Sobrien 1299236769Sobrien If _PATH_OBJDIRPREFIX is set to "no" we won't define it. 1300236769Sobrien 1301236769Sobrien * makefile: added a pathetically simple makefile to drive 1302236769Sobrien bootstrapping. Running configure by hand is more useful. 1303236769Sobrien 1304236769Sobrien * Makefile.in: added MAKE_VERSION, and reworked things to be less 1305236769Sobrien dependent on NetBSD bsd.*.mk 1306236769Sobrien 1307236769Sobrien * pathnames.h: allow NO_PATH_OBJDIRPREFIX to stop us defining 1308236769Sobrien _PATH_OBJDIRPREFIX for those that don't want a default. 1309236769Sobrien construct _PATH_DEFSYSPATH from the info we get from configure. 1310236769Sobrien 1311236769Sobrien * main.c: allow for no _PATH_OBJDIRPREFIX, set ${MAKE_VERSION} 1312236769Sobrien if MAKE_VERSION is defined. 1313236769Sobrien 1314236769Sobrien * compat.c: when we bail, print out the .CURDIR we were in. 1315236769Sobrien 1316236769SobrienSat May 12 00:34:12 2001 Simon J. Gerraty <sjg@zen.quick.com.au> 1317236769Sobrien 1318236769Sobrien * Merged with NetBSD make 1319236769Sobrien 1320236769Sobrien * var.c: fixed a bug in the handling of the modifier :P 1321236769Sobrien if the node as found but the path was null, we segfault trying to 1322236769Sobrien duplicate it. 1323236769Sobrien 1324236769SobrienMon Mar 5 16:20:33 2001 Simon J. Gerraty <sjg@zen.quick.com.au> 1325236769Sobrien 1326236769Sobrien * Merged with NetBSD make 1327236769Sobrien 1328236769Sobrien * make.c: Make_OODate's test for a library out of date was using 1329236769Sobrien cmtime where it should have used mtime (my bug). 1330236769Sobrien 1331236769Sobrien * compat.c: Use perror() to tell us what really went wrong when we 1332236769Sobrien cannot exec a command. 1333236769Sobrien 1334236769SobrienFri Dec 15 10:11:08 2000 Simon J. Gerraty <sjg@zen.quick.com.au> 1335236769Sobrien 1336236769Sobrien * Merged with NetBSD make 1337236769Sobrien 1338236769SobrienSat Jun 10 10:11:08 2000 Simon J. Gerraty <sjg@zen.quick.com.au> 1339236769Sobrien 1340236769Sobrien * Merged with NetBSD make 1341236769Sobrien 1342236769SobrienThu Jun 1 10:11:08 2000 Simon J. Gerraty <sjg@zen.quick.com.au> 1343236769Sobrien 1344236769Sobrien * Merged with NetBSD make 1345236769Sobrien 1346236769SobrienTue May 30 10:11:08 2000 Simon J. Gerraty <sjg@zen.quick.com.au> 1347236769Sobrien 1348236769Sobrien * Merged with NetBSD make 1349236769Sobrien 1350236769SobrienThu Apr 27 00:07:47 2000 Simon J. Gerraty <sjg@zen.quick.com.au> 1351236769Sobrien 1352236769Sobrien * util.c: don't provide signal() since we use sigcompat.c 1353236769Sobrien 1354236769Sobrien * Makefile.in: added a build target. 1355236769Sobrien 1356236769Sobrien * var.c (Var_Parse): added ODE modifiers :U, :D, :L, :P, :@ and :! 1357236769Sobrien These allow some quite clever magic. 1358236769Sobrien 1359236769Sobrien * main.c (main): added support for getenv(MAKESYSPATH). 1360236769Sobrien 1361236769SobrienMon Apr 2 16:25:13 2000 Simon J. Gerraty <sjg@zen.quick.com.au> 1362236769Sobrien 1363236769Sobrien * Disable $PWD overriding getcwd() if MAKEOBJDIRPREFIX is set. 1364236769Sobrien This avoids objdir having a different value depending on how a 1365236769Sobrien directory was reached (via command line, or subdir.mk). 1366236769Sobrien 1367236769Sobrien * If FORCE_MACHINE is defined, ignore getenv("MACHINE"). 1368236769Sobrien 1369236769SobrienMon Apr 2 23:15:31 2000 Simon J. Gerraty <sjg@zen.quick.com.au> 1370236769Sobrien 1371236769Sobrien * Do a chdir(${.CURDIR}) before invoking ${.MAKE} or ${.MAKE:T} if 1372236769Sobrien MAKEOBJDIRPREFIX is set and NOCHECKMAKECHDIR is not. 1373236769Sobrien I've been testing this in NetBSD's make for some weeks. 1374236769Sobrien 1375236769Sobrien * Turn Makefile into Makefile.in and make it useful. 1376236769Sobrien 1377236769SobrienTue Feb 29 22:08:00 2000 Simon J. Gerraty <sjg@zen.quick.com.au> 1378236769Sobrien 1379236769Sobrien * Imported NetBSD's -current make(1) and resolve conflicts. 1380236769Sobrien 1381236769Sobrien * Applied autoconf patches from bmake v2 1382236769Sobrien 1383236769Sobrien * Imported clean code base from NetBSD-1.0 1384