12021-01-30 Simon J Gerraty <sjg@beast.crufty.net> 2 3 * install-mk (MK_VERSION): 20210130 4 5 * dirdeps.mk: expr 2 - 1 - 1 exits with a bad status 6 we need to guard against this in DIRDEP_LOADAVG_REPORT. 7 8 * dirdeps.mk: restore respect for TARGET_MACHINE 9 102021-01-06 Simon J Gerraty <sjg@beast.crufty.net> 11 12 * install-mk (MK_VERSION): 20210101 13 14 * dirdeps.mk: first time we are read, just use TARGET_SPEC for 15 _DEP_TARGET_SPEC 16 172020-12-22 Simon J Gerraty <sjg@beast.crufty.net> 18 19 * sys.mk (MAKE_SHELL): use ${.SHELL:Ush} 20 and use := when setting SHELL 21 222020-12-21 Simon J Gerraty <sjg@beast.crufty.net> 23 24 * install-mk (MK_VERSION): 20201221 25 26 * dirdeps-options.mk: latest bmake allows only one arg to .undef 27 282020-12-11 Simon J Gerraty <sjg@beast.crufty.net> 29 30 * dirdeps-targets.mk: allow for "." in DIRDEPS_TARGETS_DIRS 31 so that any directory can be treated as a target. 32 332020-11-26 Simon J Gerraty <sjg@beast.crufty.net> 34 35 * install-mk (MK_VERSION): 20201126 36 37 * own.mk: use .MAKE.{UID,GID} if available. 38 39 * init.mk: suppress _SKIP_BUILD warning if doing -V 40 412020-11-20 Simon J Gerraty <sjg@beast.crufty.net> 42 43 * install-mk (MK_VERSION): 20201120 44 45 * init.mk: rename LEVEL0_TARGETS to DIRDEPS_BUILD_LEVEL0_TARGETS 46 47 * dirdeps-targets.mk: fix typo in comment 48 492020-11-06 Simon J Gerraty <sjg@beast.crufty.net> 50 51 * install-mk (MK_VERSION): 20201106 52 53 * meta.autodep.mk: use OBJ_EXTENSIONS rather than hardcode sed 54 args to tweak extensions for local deps. 55 562020-11-01 Simon J Gerraty <sjg@beast.crufty.net> 57 58 * install-mk (MK_VERSION): 20201101 59 60 * dirdeps.mk: most leaf makefiles are not suitable for building 61 dirdeps.cache so if RELDIR is not "." use dirdeps.mk 62 632020-10-28 Simon J Gerraty <sjg@beast.crufty.net> 64 65 * install-mk (MK_VERSION): 20201028 66 67 * dirdeps.mk: if we don't have :range use equivalent of M_RANGE 68 when building dirdeps.cache for leaf directory use -f dirdeps.mk 69 70 * sys.vars.mk: add M_JOT and M_RANGE 71 722020-10-01 Simon J Gerraty <sjg@beast.crufty.net> 73 74 * install-mk (MK_VERSION): 20201001 75 76 * meta2deps.{py,sh}: throw an error if we don't see filemon version 77 782020-09-09 Simon J Gerraty <sjg@beast.crufty.net> 79 80 * install-mk (MK_VERSION): 20200909 81 82 * dirdeps-cache-update.mk: use cache_update_dirdep as guard target 83 842020-08-26 Simon J Gerraty <sjg@beast.crufty.net> 85 86 * dirdeps.mk: ensure we cannot confuse a static cache for dynamic 87 (even more rare that use of static cache is playing clever tricks 88 with it) 89 902020-08-16 Simon J Gerraty <sjg@beast.crufty.net> 91 92 * dirdeps-cache-update.mk: allow 93 MK_STATIC_DIRDEPS_CACHE_UPDATE_IMMEDIATE to control when we 94 actually update STATIC_DIRDEPS_CACHE. 95 96 * stage-install.sh: create dest directory if needed 97 before running install(1) 98 992020-08-10 Simon J Gerraty <sjg@beast.crufty.net> 100 101 * dirdeps-targets.mk: include Makefile.dirdeps.options 102 103 * dirdeps.mk: use _TARGETS if defined for DIRDEPS_CACHE 104 1052020-08-09 Simon J Gerraty <sjg@beast.crufty.net> 106 107 * dirdeps.mk: default BUILD_DIRDEPS_MAKEFILE to empty 108 109 * dirdeps-cache-update.mk: building parallel cache update 110 under the context of dirdeps-cached would be ideal, but 111 is problematic, so it runs as a sibling. 112 Use cache-built target to ensure we wait for it to complete if 113 necessary. 114 1152020-08-06 Simon J Gerraty <sjg@beast.crufty.net> 116 117 * install-mk (MK_VERSION): 20200806 118 119 * dirdeps-options: allow TARGET_SPEC to affect option values. 120 Use DIRDEPS_OPTIONS_QUALIFIER_LIST before using bare MK_* 121 122 * dirdeps-targets.mk: check for MK_STATIC_DIRDEPS_CACHE defined 123 before looking for STATIC_DIRDEPS_CACHE 124 1252020-08-05 Simon J Gerraty <sjg@beast.crufty.net> 126 127 * host-target.mk: Darwin use MACHINE for HOST_ARCH too 128 129 * dirdeps-options.mk: improve debug output 130 1312020-07-22 Simon J Gerraty <sjg@beast.crufty.net> 132 133 * dirdeps.mk: set and export DYNAMIC_DIRDEPS_CACHE 134 for use by dirdeps-cache-update.mk 135 136 * dirdeps-targets.mk: set and export STATIC_DIRDEPS_CACHE 137 for use by dirdeps-cache-update.mk even if we don't use it. 138 139 * dirdeps-cache-update.mk: we only need worry about the background 140 update case, with the above, the update from DIRDEPS_CACHE is 141 simple. 142 143 * meta2deps.py: R 1234 . is not interesting 144 1452020-07-20 Simon J Gerraty <sjg@beast.crufty.net> 146 147 * sys.mk: default MK_STATIC_DIRDEPS_CACHE from MK_DIRDEPS_CACHE 148 149 * dirdeps-options.mk: do not :tu DIRDEPS_OPTIONS 150 allows use of lower case for pseudo options. 151 152 * dirdeps-cache-update.mk: magic to deal with STATIC_DIRDEPS_CACHE 153 1542020-07-18 Simon J Gerraty <sjg@beast.crufty.net> 155 156 * dirdeps-targets.mk: Look for Makefile.dirdeps.cache 157 which allows us to have a static cache for expensive targets. 158 Use -DWITHOUT_STATIC_DIRDEPS_CACHE -DWITH_DIRDEPS_CACHE 159 to regenerate the dirdeps.cache it is a copy of. 160 1612020-07-17 Simon J Gerraty <sjg@beast.crufty.net> 162 163 * Get rid of BUILD_AT_LEVEL0, MK_DIRDEPS_BUILD makes more sense. 164 1652020-07-16 Simon J Gerraty <sjg@beast.crufty.net> 166 167 * dirdeps.mk (DIRDEP_LOADAVG_REPORT): make it easy to record 168 load averages at intervals during build. 169 1702020-07-15 Simon J Gerraty <sjg@beast.crufty.net> 171 172 * install-mk (MK_VERSION): 20200715 173 174 * dirdeps.mk: tweak Checking line to make matching Finished 175 lines for post-build analysis easier. 176 177 * meta.autodep.mk: use !defined(WITHOUT_META_STATS) 178 179 * progs.mk: avoid prog.mk outputting multiple Finished lines 180 1812020-07-11 Simon J Gerraty <sjg@beast.crufty.net> 182 183 * dirdeps.mk: further optimize dirdeps.cache 184 generate a DIRDEPS.${.TARGET} list for other purposes 185 and improve the layout. 186 1872020-07-10 Simon J Gerraty <sjg@beast.crufty.net> 188 189 * dirdeps.mk: optimize content of dirdeps.cache 190 1912020-06-28 Simon J Gerraty <sjg@beast.crufty.net> 192 193 * sys/*.mk: make it easier for local*sys.mk to customize by 194 using ?= 195 1962020-06-22 Simon J Gerraty <sjg@beast.crufty.net> 197 198 * gendirdeps.mk (LOCAL_DEPENDS_GUARD): if we don't build at level 0 199 it is much safer to guard local depends with a simple check for 200 .MAKE.LEVEL > 0 201 2022020-06-10 Simon J Gerraty <sjg@beast.crufty.net> 203 204 * install-mk (MK_VERSION): 20200610 205 206 * mkopt.sh: this needs posix shell so #!/bin/sh should be ok 207 2082020-06-06 Simon J Gerraty <sjg@beast.crufty.net> 209 210 * install-mk (MK_VERSION): 20200606 211 212 * dirdeps-targets.mk: allow for filtering of .TARGETS 213 214 * meta2deps.py: fix bug in processing 'L'ink and 'M'ove 215 entries - and we don't care about 'W'rite entries. 216 Also ignore absolute paths that do not exist. 217 2182020-05-25 Simon J Gerraty <sjg@beast.crufty.net> 219 220 * install-mk (MK_VERSION): 20200525 221 222 * init.mk: expand and simplify handling of qualified vars 223 like CPPFLAGS.${.TARGET:T} 224 2252020-05-15 Simon J Gerraty <sjg@beast.crufty.net> 226 227 * install-mk (MK_VERSION): 20200515 228 229 * dirdeps.mk: set _debug_* earlier and allow passing -d* 230 flags to submake when building DIRDEPS_CACHE 231 2322020-05-09 Simon J Gerraty <sjg@beast.crufty.net> 233 234 * whats.mk: more easily extensible 235 2362020-05-02 Simon J Gerraty <sjg@beast.crufty.net> 237 238 * whats.mk: greatly simplify by adding what.c to SRCS 239 2402020-05-01 Simon J Gerraty <sjg@beast.crufty.net> 241 242 * whats.mk: for libs take care how we add to *OBJS 243 244 * lib.mk: : works better with whats.mk 245 2462020-04-25 Simon J Gerraty <sjg@beast.crufty.net> 247 248 * install-mk (MK_VERSION): 20200420 249 250 * meta.stage.mk: it is not a STAGE_CONFLICT if some-target.dirdep 251 contains the same ${RELDIR} and a prefix match for our ${TARGET_SPEC} 252 2532020-04-16 Simon J Gerraty <sjg@beast.crufty.net> 254 255 * install-mk (MK_VERSION): 20200416 256 257 * sys/*.mk: set MAKE_SHELL rather than SHELL so as not to 258 interfere with user env. 259 260 * sys.mk: default MAKE_SHELL to sh and SHELL to MAKE_SHELL 261 262 * autodep.mk: use MAKE_SHELL. 263 2642019-11-21 Simon J Gerraty <sjg@beast.crufty.net> 265 266 * gendirdeps.mk: clear .SUFFIXES to avoid a lot of 267 wasted effort, and unexport _meta_files when no longer needed as 268 it consumes space we need for command line. 269 2702019-11-11 Simon J Gerraty <sjg@beast.crufty.net> 271 272 * dirdeps.mk _DIRDEP_USE: use DIRDEP_DIR and add 273 DIRDEP_USE_PRELUDE at start - facilitates job distribution 274 2752019-10-04 Simon J Gerraty <sjg@beast.crufty.net> 276 277 * dirdeps-targets.mk: Use TARGET_SPEC_LAST_LIST 278 defaults to ${${TARGET_SPEC_VARS:[-1]}_LIST} to match valid 279 TARGET_SPEC qualified depend files. 280 2812019-10-02 Simon J Gerraty <sjg@beast.crufty.net> 282 283 * dirdeps-targets.mk: encapsulate logic for finding top-level 284 targets to set initial DIRDEPS for DIRDEPS_BUILD 285 2862019-09-27 Simon J Gerraty <sjg@beast.crufty.net> 287 288 * install-mk (MK_VERSION): 20190911 289 290 * compiler.mk: set COMPILER_TYPE 291 2922019-07-17 Simon J Gerraty <sjg@beast.crufty.net> 293 294 * install-mk (MK_VERSION): 20190704 295 296 * sys/Darwin.mk: support for Objective-C and clang 297 2982019-05-30 Simon J Gerraty <sjg@beast.crufty.net> 299 300 * dirdeps.mk: avoid insanely long command line when generating cache 301 3022019-05-23 Simon J Gerraty <sjg@beast.crufty.net> 303 304 * install-mk (MK_VERSION): 20190505 305 306 * whats.mk: handle corner case SHLIB defined but not LIB 307 3082018-09-19 Simon J Gerraty <sjg@beast.crufty.net> 309 310 * install-mk (MK_VERSION): 20180919 311 312 * dirdeps-options.mk: .undef cannot handle var that expands to 313 more than one var. 314 3152018-07-08 Simon J Gerraty <sjg@beast.crufty.net> 316 317 * meta.stage.mk: allow wildcards in STAGE_FILES.* etc. 318 3192018-06-01 Simon J Gerraty <sjg@beast.crufty.net> 320 321 * meta.autodep.mk: export META_FILES to avoid command line limit 322 * gendirdeps.mk: if we have lots of .meta files put them in 323 an @list 324 3252018-05-28 Simon J Gerraty <sjg@beast.crufty.net> 326 327 * dirdeps-options.mk: use local.dirdeps-options.mk 328 not local.dirdeps-option.mk 329 3302018-04-20 Simon J Gerraty <sjg@beast.crufty.net> 331 332 * install-mk (MK_VERSION): 20180420 333 * dirdeps.mk: include local.dirdeps-build.mk when .MAKE.LEVEL > 0 334 ie. we are building something. 335 3362018-04-14 Simon J Gerraty <sjg@beast.crufty.net> 337 338 * FILES: add dirdeps-options.mk to deal with optional DIRDEPS. 339 3402018-04-05 Simon J Gerraty <sjg@beast.crufty.net> 341 342 * install-mk (MK_VERSION): 20180405 343 344 * ldorder.mk: describe how to use LDORDER_EXTERN_BARRIER 345 if needed. 346 3472018-01-18 Simon J Gerraty <sjg@beast.crufty.net> 348 349 * install-mk (MK_VERSION): 20180118 350 351 * ldorder.mk: let make compute correct link order 352 3532017-12-12 Simon J Gerraty <sjg@beast.crufty.net> 354 355 * install-mk (MK_VERSION): 20171212 356 357 * gendirdeps.mk: guard against bogus entries in GENDIRDEPS_FILTER 358 3592017-11-14 Simon J. Gerraty <sjg@bad.crufty.net> 360 361 * install-mk (MK_VERSION): 20171111 362 363 * lib.mk: ensure META_NOECHO is set 364 3652017-10-25 Simon J. Gerraty <sjg@bad.crufty.net> 366 367 * Allow for host32 on rare occasions. 368 3692017-10-18 Simon J. Gerraty <sjg@bad.crufty.net> 370 371 * install-mk (MK_VERSION): 20171018 372 373 * whats.mk: include what_thing in what_uuid to avoid problem 374 when building multiple apps in the same directory. 375 3762017-08-12 Simon J. Gerraty <sjg@bad.crufty.net> 377 378 * install-mk (MK_VERSION): 20170812 379 380 * autoconf.mk: Use CONFIGURE_DEPS so Makefile can 381 add dependencies for config.recheck and config.gen 382 3832017-06-30 Simon J. Gerraty <sjg@bad.crufty.net> 384 385 * install-mk (MK_VERSION): 20170630 386 387 * meta.stage.mk: avoid triggering stage_* targets with nothing to do. 388 3892017-05-23 Simon J. Gerraty <sjg@bad.crufty.net> 390 391 * meta2deps.py: take special care of '..' 392 3932017-05-15 Simon J. Gerraty <sjg@bad.crufty.net> 394 395 * install-mk (MK_VERSION): 20170515 396 397 * dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is 398 useful/necessary for a Makefile.depend file to export some knobs. 399 This is complicated when we are doing DIRDEPS_CACHE, so we will 400 handle export of any variables listed in DEP_EXPORT_VARS. 401 4022017-05-08 Simon J. Gerraty <sjg@bad.crufty.net> 403 404 * install-mk (MK_VERSION): 20170505 405 406 * meta2deps.py: fix botched indenation. 407 4082017-05-05 Simon J. Gerraty <sjg@bad.crufty.net> 409 410 * sys/*.mk: Remove setting of MAKE it is unnecessary and 411 in many cases wrong (basname rather than full path) 412 413 * scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk 414 415 * init.mk: define realbuild to simplify logic in {lib,prog}.mk etc 416 4172017-05-01 Simon J. Gerraty <sjg@bad.crufty.net> 418 419 * install-mk (MK_VERSION): 20170501 420 421 * doc.mk: fix typo in DOC_INSTALL_OWN 422 423 * inc.mk: handle INCGROUPS similar to freebsd 424 425 * files.mk: add something for files too 426 427 * add staging logic to lib.mk prog.mk etc. 428 4292017-04-24 Simon J. Gerraty <sjg@bad.crufty.net> 430 431 * install-mk (MK_VERSION): 20170424 432 433 * dirdeps.mk: set NO_DIRDEPS when bootstrapping. 434 also target of bootstrap-this when sed is needed should be ${_want:T} 435 4362017-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 437 438 * install-mk (MK_VERSION): 20170418 439 440 * auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a 441 prefix match for .CURDIR - in which case .CURDIR *is* __objdir. 442 4432017-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 444 445 * install-mk (MK_VERSION): 20170401 446 447 * meta2deps.py: add is_src so we can check if obj dependency 448 is also a src dependency. 449 4502017-03-26 Simon J. Gerraty <sjg@bad.crufty.net> 451 452 * install-mk (MK_VERSION): 20170326 453 454 * meta.stage.mk: do nothing if NO_STAGING is defined. 455 4562017-03-24 Simon J. Gerraty <sjg@bad.crufty.net> 457 458 * auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc. 459 4602017-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 461 462 * mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_* 463 4642017-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 465 466 * install-mk (MK_VERSION): 20170301 467 468 * dirdeps.mk (_build_all_dirs): update this outside test for empty 469 DIRDEPS. 470 471 * meta.stage.mk: allow multiple inclusion to the extent it makes 472 sense. 473 4742017-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 475 476 * prog.mk (install_links): depends on realinstall 477 4782017-02-12 Simon J. Gerraty <sjg@bad.crufty.net> 479 480 * install-mk (MK_VERSION): 20170212 481 482 * dpadd.mk: avoid applying :T:R twice to DPLIBS entries 483 4842017-01-30 Simon J. Gerraty <sjg@bad.crufty.net> 485 486 * install-mk (MK_VERSION): 20170130 487 488 * dirdeps.mk: use :range if we can. 489 490 * sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130 491 492 * meta2deps.py: clean paths without using realpath() where possible. 493 fix sort_unique. 494 4952016-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 496 497 * install-mk (MK_VERSION): 20161212 498 499 * meta2deps.py: set pid_cwd[pid] when we process 'C'hdir, 500 rather than when we detect pid change. 501 5022016-12-07 Simon J. Gerraty <sjg@bad.crufty.net> 503 504 * install-mk (MK_VERSION): 20161207 505 506 * meta.stage.mk: add stage_as_and_symlink for staging packages. 507 We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able 508 to use foo.tgz to reference the latest staged version - so we 509 make foo.tgz a symlink to it. 510 Using a target to do both operations ensures we stay in sync. 511 5122016-11-26 Simon J. Gerraty <sjg@bad.crufty.net> 513 514 * install-mk (MK_VERSION): 20161126 515 516 * dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk 517 so it can add dependencies. 518 5192016-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 520 521 * dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE 522 do that they can influence the result correctly. 523 524 * dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC 525 526 * dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST 527 similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST 528 5292016-10-05 Simon J. Gerraty <sjg@bad.crufty.net> 530 531 * dirdeps.mk: remove dependence on jot (normal situations anyway). 532 Before we read another Makefile.depend* set DEP_* vars from 533 _DEP_TARGET_SPEC in case it uses any of them with := 534 When bootstrapping, trim any ,* from extention of chosen _src 535 Makefile.depend* to get the machine value we subst for. 536 5372016-09-30 Simon J. Gerraty <sjg@bad.crufty.net> 538 539 * dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to 540 DEP_SKIP_DIR and DEP_DIRDEPS_FILTER 541 542 * sys.mk: extract some bits to sys.{debug,vars}.mk 543 for easier re-use by others. 544 5452016-09-23 Simon Gerraty <sjg@sjg-mba13> 546 547 * lib.mk: Use ${PICO} for extension for PIC objects. 548 default to .pico (like NetBSD) safe on case insensitive filesystem. 549 5502016-08-19 Simon J. Gerraty <sjg@bad.crufty.net> 551 552 * meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default 553 5542016-08-15 Simon J. Gerraty <sjg@bad.crufty.net> 555 556 * install-mk (MK_VERSION): 20160815 557 558 * dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only 559 consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date. 560 5612016-08-13 Simon J. Gerraty <sjg@bad.crufty.net> 562 563 * meta.sys.mk (.MAKE.META.IGNORE_PATHS): 564 in meta mode we can ignore the mtime of makefiles 565 5662016-08-02 Simon J. Gerraty <sjg@bad.crufty.net> 567 568 * install-mk (MK_VERSION): 20160802 569 570 * lib.mk (libinstall): depends on beforinstall 571 572 * prog.mk (proginstall): depends on beforinstall 573 patch from Lauri Tirkkonen 574 575 * dirdeps.mk (bootstrap): When bootstrapping; creat 576 .MAKE.DEPENDFILE_DEFAULT and allow additional filtering via 577 .MAKE.DEPENDFILE_BOOTSTRAP_SED 578 579 * dirdeps.mk: move some comments to where they make sense. 580 5812016-07-27 Simon J. Gerraty <sjg@bad.crufty.net> 582 583 * dirdeps.mk (DIRDEPS_CACHE): no dirname. 584 5852016-06-02 Simon J. Gerraty <sjg@bad.crufty.net> 586 587 * install-mk (MK_VERSION): 20160602 588 * meta.autodep.mk: when passing META_FILES to gendirdeps.mk 589 do not apply :T to META_XTRAS 590 patch from Bryan Drewery at FreeBSD.org. 591 5922016-05-30 Simon J. Gerraty <sjg@bad.crufty.net> 593 594 * install-mk (MK_VERSION): 20160530 595 * meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH 596 make it so. 597 5982016-05-12 Simon J. Gerraty <sjg@bad.crufty.net> 599 600 * install-mk (MK_VERSION): 20160512 601 602 * dpadd.mk: always include local.dpadd.mk if it exists 603 remove some things that better belong in local.dpadd.mk 604 skip INCLUDES_* for staged libs unless SRC_* defined. 605 606 * own.mk: add INCLUDEDIR 607 6082016-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 609 610 * dirdeps.mk: when doing -f dirdeps.mk if target suppies no 611 TARGET_MACHINE - :E will be empty or match part of path, use 612 ${MACHINE} 613 6142016-04-07 Simon J. Gerraty <sjg@bad.crufty.net> 615 616 * meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to 617 NO_FILEMON_COOKIE 618 619 * dirdeps.mk: move the logic that allows for 620 make -f dirdeps.mk some/dir.${TARGET_SPEC} 621 inside the check for !target(_DIRDEP_USE) 622 6232016-04-04 Simon J. Gerraty <sjg@bad.crufty.net> 624 625 * Use <> when including local*.mk and others which may exist 626 elsewhere so that user can better control what they get. 627 628 * meta.autodep.mk (NO_FILEMON_COOKIE): 629 create a cookie if we ever build dir with nofilemon 630 so that UPDATE_DEPENDFILE will be forced to NO until cleaned. 631 6322016-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 633 634 * install-mk (MK_VERSION): 20160401 635 636 * meta2deps.py: fix old print statement when debugging. 637 638 * gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X 639 patch from Bryan Drewery 640 6412016-03-22 Simon J. Gerraty <sjg@bad.crufty.net> 642 643 * install-mk (MK_VERSION): 20160317 (St. Pats) 644 645 * warnings.mk: g++ does not like -Wimplicit 646 647 * sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the 648 pelthora of common suffixes for C++ 649 650 * lib.mk: use .So for shared objects 651 6522016-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 653 654 * install-mk (MK_VERSION): 20160315 655 656 * meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1) 657 normally only applies to scripts. 658 659 * dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as 660 well as outside it. 661 6622016-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 663 664 * install-mk (MK_VERSION): 20160310 665 666 * dirdeps.mk: use targets rather than a list to track DIRDEPS that 667 we have processed; the list gets very inefficient as number of 668 DIRDEPS gets large. 669 670 * sys.dependfile.mk: fix comment wrt MACHINE 671 672 * meta.autodep.mk: ignore staged DPADDs when bootstrapping. 673 patch from Bryan Drewery 674 6752016-03-02 Simon J. Gerraty <sjg@bad.crufty.net> 676 677 * meta2deps.sh: don't ignore subdirs. 678 patch from Bryan Drewery 679 6802016-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 681 682 * install-mk (MK_VERSION): 20160226 683 684 * gendirdeps.mk: mark _DEPENDFILE .NOMETA 685 6862016-02-20 Simon J. Gerraty <sjg@bad.crufty.net> 687 688 * dirdeps.mk: we shouldn't normally include .depend but if we do 689 use .dinclude if we can. 690 6912016-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 692 693 * install-mk (MK_VERSION): 20160218 694 * sys.clean-env.mk: with recent change to Var_Subst() 695 we cannot use the '$$' trick, but .export-literal does the job 696 we need. 697 * auto.dep.mk: make use .dinclude if we can. 698 699 7002016-02-05 Simon J. Gerraty <sjg@bad.crufty.net> 701 702 * dirdeps.mk: 703 Add _build_all_dirs such that local.dirdeps.mk can 704 add fully qualified dirs to it. 705 These will be built normally but the current 706 DEP_RELDIR will not depend on then (to avoid cycles). 707 This makes it easy to hook things like unit-tests into build. 708 709 7102016-01-21 Simon J. Gerraty <sjg@bad.crufty.net> 711 712 * dirdeps.mk: add bootstrap-empty 713 7142015-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 715 716 * install-mk (MK_VERSION): 20151212 717 * auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist. 718 only apply :tA to __objdir when comparing to .OBJDIR 719 7202015-11-14 Simon J. Gerraty <sjg@bad.crufty.net> 721 722 * install-mk (MK_VERSION): 20151111 723 724 * meta.sys.mk: include sys.dependfile.mk 725 726 * sys.mk (OPTIONS_DEFAULT_NO): use options.mk 727 to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD 728 include local.sys.env.mk early 729 include local.sys.mk later 730 731 * own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk 732 7332015-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 734 735 * meta.sys.mk (META_COOKIE_TOUCH): 736 add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie 737 738 * meta.stage.mk: stage_libs should ignore SYMLINKS. 739 7402015-10-23 Simon J. Gerraty <sjg@bad.crufty.net> 741 742 * install-mk (MK_VERSION): 20151022 743 744 * sys.mk: BSD/OS does not have 'type' as a shell builtin. 745 7462015-10-20 Simon J. Gerraty <sjg@bad.crufty.net> 747 748 * install-mk (MK_VERSION): 20151020 749 750 * dirdeps.mk: Add logic for 751 make -f dirdeps.mk some/dir.${TARGET_SPEC} 752 7532015-10-14 Simon J. Gerraty <sjg@bad.crufty.net> 754 755 * install-mk (MK_VERSION): 20151010 756 7572015-10-02 Simon J. Gerraty <sjg@bad.crufty.net> 758 759 * meta.stage.mk: use staging: ${STAGE_TARGETS:... 760 to have stage_lins run last in non-jobs mode. 761 Use .ORDER only for jobs mode. 762 7632015-09-02 Simon J. Gerraty <sjg@bad.crufty.net> 764 765 * rst2htm.mk: allow for per target flags etc. 766 7672015-09-01 Simon J. Gerraty <sjg@bad.crufty.net> 768 769 * install-mk (MK_VERSION): 20150901 770 771 * doc.mk: create dir if needed use DOC_INSTALL_OWN 772 7732015-06-15 Simon J. Gerraty <sjg@bad.crufty.net> 774 775 * install-mk (MK_VERSION): 20150615 776 777 * auto.obj.mk: allow use of MAKEOBJDIRPREFIX too. 778 Follow make's normal precedence rules. 779 780 * gendirdeps.mk: allow customization of the header. 781 eg. for FreeBSD: 782 GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}'; 783 784 * meta.autodep.mk: ignore dirdeps.cache* 785 786 * meta.stage.mk: when bootstrapping options it can be handy to 787 throw warnings rather than errors for staging conflicts. 788 789 * meta.sys.mk: include local.meta.sys.mk for customization 790 7912015-06-06 Simon J. Gerraty <sjg@bad.crufty.net> 792 793 * install-mk (MK_VERSION): 20150606 794 795 * dirdeps.mk: don't rely on manually maintained Makefile.depend 796 to set DEP_RELDIR and reset DIRDEPS. 797 By setting DEP_RELDIR ourselves we can skip :tA 798 799 * gendirdeps.mk: skip setting DEP_RELDIR. 800 8012015-05-24 Simon J. Gerraty <sjg@bad.crufty.net> 802 803 * dirdeps.mk: avoid wildcards like make(bootstrap*) 804 8052015-05-20 Simon J. Gerraty <sjg@bad.crufty.net> 806 807 * install-mk (MK_VERSION): 20150520 808 809 * dirdeps.mk: when we are building dirdeps cache file we *want* 810 meta_oodate to look at all the Makefile.depend files, so 811 set .MAKE.DEPENDFILE to something that won't match. 812 813 * meta.stage.mk: for STAGE_AS_* basename of file may not be unique 814 so first use absolute path as key. 815 Also skip staging at level 0. 816 8172015-04-30 Simon J. Gerraty <sjg@bad.crufty.net> 818 819 * install-mk (MK_VERSION): 20150430 820 821 * dirdeps.mk: fix _count_dirdeps for non-cache case. 822 8232015-04-16 Simon J. Gerraty <sjg@bad.crufty.net> 824 825 * install-mk (MK_VERSION): 20150411 826 bump version 827 828 * own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES. 829 it is here mainly for documentation purposes, since 830 if using auto.obj.mk it is better done via sys.mk 831 8322015-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 833 834 * install-mk (MK_VERSION): 20150401 835 836 * meta2deps.sh: support @list 837 838 * meta2deps.py: updates from Juniper 839 o add EXCLUDES 840 o skip bogus input files. 841 o treat 'M' and 'L' as both an 'R' and a 'W' 842 8432015-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 844 845 * install-mk (MK_VERSION): 20150303 846 847 * dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache 848 which is built via sub-make so we have a .meta file to tell if 849 it is out-of-date. 850 The dirdeps-cache contains the same dependency rules that we 851 normaly construct on the fly. 852 This adds a few seconds overhead when the cache is out of date, 853 but for a large target, the savings can be significant (10-20min). 854 8552014-11-18 Simon J. Gerraty <sjg@bad.crufty.net> 856 857 * install-mk (MK_VERSION): 20141118 858 859 * meta.stage.mk: add stale_staged 860 861 * dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked 862 only useful under very rare conditions such as 863 FreeBSD's make universe. 864 865 * auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto 866 8672014-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 868 869 * install-mk (MK_VERSION): 20141111 870 871 * mkopt.sh: use consistent semantics for _mk_opt and _mk_opts 872 8732014-11-09 Simon J. Gerraty <sjg@bad.crufty.net> 874 875 * FILES: include mkopt.sh which allows handling options in shell 876 scripts in a manner compatible with options.mk 877 8782014-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 879 880 * meta.stage.mk: ensure only _STAGED_DIRS under objroot are used 881 for GENDIRDEPS_FILTER to avoid surprises. 882 8832014-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 884 885 * dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by 886 the time it is applied to __depdirs they have. 887 888 * dirdeps.mk fix filtering of _machines since M_dep_qual_fixes 889 expects patterns like *.${MACHINE} 890 891 * cython.mk (pyprefix?): use pyprefix to find python bits 892 since prefix might be something else (where we install our 893 stuff) 894 8952014-09-11 Simon J. Gerraty <sjg@bad.crufty.net> 896 897 * install-mk (MK_VERSION): 20140911 898 899 * dirdeps.mk: add bootstrap target to simplify adding support for 900 new MACHINE. 901 9022014-09-01 Simon J. Gerraty <sjg@bad.crufty.net> 903 904 * gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and 905 GENDIRDEPS_FILTER_VARS to make it easier to produce sharable 906 Makefile.depend files. 907 9082014-08-28 Simon J. Gerraty <sjg@bad.crufty.net> 909 910 * install-mk (MK_VERSION): 20140828 911 912 * cython.mk: capture logic for building python extension modules 913 with Cython. 914 9152014-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 916 917 * meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant 918 9192014-08-02 Simon J. Gerraty <sjg@bad.crufty.net> 920 921 * install-mk (MK_VERSION): 20140801 922 923 * dep.mk: use explicit MKDEP_MK rather than overload MKDEP to 924 identify the autodep.mk variant. 925 926 * sys.dependfile.mk: delete .MAKE.DEPENDFILE if its 927 initial value does not match .MAKE.DEPENDFILE_PREFIX 928 929 * meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS 930 9312014-05-22 Simon J. Gerraty <sjg@bad.crufty.net> 932 933 * install-mk (MK_VERSION): 20140522 934 935 * lib.mk: use CC to link shlib for linux too 936 patch from Brendan MacDonell 937 9382014-05-05 Simon J. Gerraty <sjg@bad.crufty.net> 939 940 * meta.autodep.mk: add _reldir_{finish,failed} for gathering stats 941 if WITH_META_STATS is defined. 942 9432014-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 944 945 * dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS) 946 to supress dirdeps outside of .CURDIR. 947 9482014-04-05 Simon J. Gerraty <sjg@bad.crufty.net> 949 950 * Fix spelling errors - patch from Pedro Giffuni 951 9522014-03-14 Simon J. Gerraty <sjg@bad.crufty.net> 953 954 * install-mk (MK_VERSION): 20140314 955 956 * dirdeps.mk (beforedirdeps): a handy hook 957 958 * dirdeps.mk (DIRDEP_MAKE): allow the actual command we run 959 to visit leaf dirs to be intercepted (eg. for distributed 960 build). 961 962 * dirdeps.mk (__depdirs): ensure // don't sneak in 963 964 * gendirdeps.mk (DIRDEPS): ensure // don't sneak in 965 966 9672014-02-21 Simon J. Gerraty <sjg@bad.crufty.net> 968 969 * rst2htm.mk (RST2PDF): add support for rst2pdf 970 9712014-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 972 973 * install-mk (MK_VERSION): bump version 974 * dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if 975 available. 976 9772014-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 978 979 * options.mk: avoid :U so this isn't bmake dependent 980 9812014-02-09 Simon J. Gerraty <sjg@bad.crufty.net> 982 983 * options.mk: cleanup and simplify semanitcs 984 NO_* dominates all, if both WITH_* and WITHOUT_* 985 are defined then result is DOMINATE_* which defaults to "no". 986 Ie. WITHOUT_ normally wins. 987 9882013-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 989 990 * install-mk (MK_VERSION): bump version 991 * meta2deps.py: convert to print function for python3 compat. 992 we also need to open files with mode 'r' rather than 'rb' 993 otherwise we get bytes instead of strings. 994 9952013-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 996 997 * install-mk (MK_VERSION): bump version 998 999 * dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE 1000 apply the same filtering (M_dep_qual_fixes) when setting _machines 1001 as _build_dirs. 1002 Also fix the filtering of Makefile.depend files - for reporting 1003 what we are looking for (M_dep_qual_fixes can get confused by 1004 Makefile.depend) 1005 Add some more debug info. 1006 10072013-09-04 Simon J. Gerraty <sjg@bad.crufty.net> 1008 1009 * gendirdeps.mk (_objtops): fix typo also 1010 while processing M2D_OBJROOTS to gather qualdir_list 1011 qualify $ql with loop iterator to ensure correct results. 1012 10132013-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 1014 1015 * install-mk (MK_VERSION): 20130801 1016 * libs.mk: update to match progs.mk 1017 10182013-07-26 Simon J. Gerraty <sjg@bad.crufty.net> 1019 1020 * install-mk (MK_VERSION): 20130726 1021 some updates from Juniper and FreeBSD 1022 o meta2deps.py: indicate file and line number when we hit parse 1023 errors 1024 also allow @file to provide huge list of .meta files. 1025 * meta2deps.py: add try_parse() to cleanup the above. 1026 10272013-07-16 Simon J. Gerraty <sjg@bad.crufty.net> 1028 1029 * install-mk (MK_VERSION): 20130716 1030 * own.mk: add GPROG as an option 1031 * prog.mk: honor MK_GPROF==yes 1032 10332013-05-10 Simon J. Gerraty <sjg@bad.crufty.net> 1034 1035 * install-mk (MK_VERSION): 20130505 1036 * gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC 1037 for when $MACHINE isn't enough for objdir distinction. 1038 Bring meta2deps.sh closer to par with meta2deps.py. 1039 10402013-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 1041 1042 * meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all' 1043 also if the target 'beforeinstall' exists, make it depend on 1044 .dirdep (incase it uses STAGE_INSTALL). 1045 10462013-04-17 Simon J. Gerraty <sjg@bad.crufty.net> 1047 1048 * install-mk (MK_VERSION): 20130401 ;-) 1049 * meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as 1050 wrapper around install(1). 1051 * options.mk (OPTION_PREFIX): Allow a prefix other than MK_ 1052 10532013-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 1054 1055 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized. 1056 * install-mk (MK_VERSION): bump version 1057 10582013-03-21 Simon J. Gerraty <sjg@bad.crufty.net> 1059 1060 * install-mk (MK_VERSION): bump version 1061 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose 1062 any trailing /., rather apply :tA only when needed. 1063 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files. 1064 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance 1065 consistently. 1066 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC. 1067 10682013-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 1069 1070 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT 1071 it is simpler to just not update when say building for "host" 1072 (where we know we apply filters to DIRDEPS), and using a 1073 non-machine qualified dependfile. 1074 10752013-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 1076 1077 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR 1078 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC 1079 * gendirdeps.mk: ensure _objroot has trailing / if it needs it. 1080 * meta2deps.py: if machine is "host", then also trim 1081 self.host_target from any OBJROOTS. 1082 1083 10842013-03-11 Simon J. Gerraty <sjg@bad.crufty.net> 1085 1086 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine 1087 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists 1088 but _DEPENDFILE does not, compare the new _DEPENDFILE against 1089 .MAKE.DEPENDFILE_DEFAULT and discard if the same. 1090 10912013-03-08 Simon J. Gerraty <sjg@bad.crufty.net> 1092 1093 * meta.stage.mk: use STAGE_TARGETS to control .ORDER 1094 and hook to all: via staging: 1095 10962013-03-07 Simon J. Gerraty <sjg@bad.crufty.net> 1097 1098 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT): 1099 use a separate variable for the default .MAKE.DEPENDFILE value 1100 so that it can be controlled independently of 1101 .MAKE.DEPENDFILE_PREFERENCE 1102 1103 * meta.stage.mk: throw error if cp fails etc. 1104 Stage*() return early if passed no args. 1105 .ORDER stage_* 1106 11072013-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 1108 1109 * install-mk (MK_VERSION): bump version 1110 * gendirdeps.mk: handle multiple M2D_OBJROOTS better. 1111 11122013-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 1113 1114 * install-mk (MK_VERSION): bump version to 20130210 1115 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py 1116 from Juniper. 1117 o dirdeps.mk now fully supports TARGET_SPEC consisting of more 1118 than just MACHINE. 1119 o no longer use DEP_MACHINE from Makefile.depend* so remove it. 1120 11212013-01-23 Simon J. Gerraty <sjg@bad.crufty.net> 1122 1123 * install-mk (MK_VERSION): bump version to 20130123 1124 * meta.stage.mk: add stage_links (hard links). 1125 if doing hard links, we add dest to link as well. 1126 Default the stage dir for [sym]links to STAGE_OBJTOP since 1127 these are typically specified as absolute paths. 1128 Add -m "mode" flag to StageFiles and StageAs. 1129 11302012-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 1131 1132 * install-mk (MK_VERSION): bump version to 20121111 1133 * autoconf.mk: avoid meta mode seeing changed commands for config.status 1134 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps 1135 in case we were found via .../mk 1136 * sys.clean-env.mk: move it from examples, we and others use it 1137 "as is". 1138 * FILES: add srctop.mk and options.mk 1139 * own.mk: convert to using options.mk 1140 which is modeled after FreeBSD's handling of MK_* 1141 but more flexible. 1142 This allows MK_* for boolean knobs to not be confused 1143 with MK* which can be commands. 1144 1145 * examples/sys.clean-env.mk: add WITH[OUT]_ to 1146 MAKE_ENV_SAVE_PREFIX_LIST. 1147 Mention that HOME=/var/empty might be a good idea. 1148 11492012-11-08 Simon J. Gerraty <sjg@bad.crufty.net> 1150 1151 * sys.dependfile.mk: if not depend file exists, $MACHINE 1152 specific ones are supported but not the default, 1153 check if any exist and follow suit. 1154 11552012-11-06 Simon J. Gerraty <sjg@bad.crufty.net> 1156 1157 * install-mk (MK_VERSION): bump version to 20121106 1158 11592012-11-05 Simon J. Gerraty <sjg@bad.crufty.net> 1160 1161 * import latest dirdeps.mk and meta2deps.py from Juniper. 1162 * progs.mk: add MAN and CXXFLAGS to PROG_VARS 1163 also add PROGS_TARGETS and pass on PROG_CXX if it seems 1164 appropriate. 1165 11662012-11-04 Simon J. Gerraty <sjg@bad.crufty.net> 1167 1168 * meta.stage.mk: update CLEANFILES 1169 remove redundant cp of .dirdep from STAGE_AS_SCRIPT. 1170 * progs.mk: Add LDADD to PROG_VARS 1171 11722012-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 1173 1174 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in 1175 _STAGED_DIRS so that these can be turned into filters for 1176 GENDIRDEPS_FILTER. 1177 11782012-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 1179 1180 * install-mk (MK_VERSION): bump version to 20121010 1181 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing 1182 target.dirdep matches .dirdep 1183 11842012-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 1185 1186 * install-mk (MK_VERSION): bump version to 20120808 1187 * import latest meta2deps.py from Juniper. 1188 11892012-07-11 Simon J. Gerraty <sjg@bad.crufty.net> 1190 1191 * install-mk (MK_VERSION): bump version to 20120711 1192 * dep.mk: add explicit dependencies on SRCS after applying 1193 SRCS_DEP_FILTER 1194 * meta.autodep.mk: add explicit dependencies on SRCS after 1195 applying SRCS_DEP_FILTER 1196 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed. 1197 11982012-06-26 Simon J. Gerraty <sjg@bad.crufty.net> 1199 1200 * install-mk (MK_VERSION): bump version to 20120626 1201 * meta.sys.mk: ignore PYTHON if it does not exist 1202 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable. 1203 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any 1204 entries ending in .${MACHINE} to decide if qualified _dirdep is 1205 needed. 1206 * gendirdeps.mk: only produce unqualified deps if no 1207 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE} 1208 * meta.subdir.mk: apply SUBDIRDEPS_FILTER 1209 12102012-04-20 Simon J. Gerraty <sjg@bad.crufty.net> 1211 1212 * install-mk (MK_VERSION): bump version to 20120420 1213 * add sys.dependfile.mk so we can experiment with 1214 .MAKE.DEPENDFILE_PREFERENCE 1215 * meta.autodep.mk: _DEPENDFILE is precious! 1216 12172012-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 1218 1219 * install-mk (MK_VERSION): bump version to 20120315 1220 * install-new.mk: avoid being interrupted 1221 12222012-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 1223 1224 * man.mk: MAN might have multiple values so be careful with exists(). 1225 12262012-01-19 Simon J. Gerraty <sjg@bad.crufty.net> 1227 1228 * install-mk (MK_VERSION): bump version to 20120112 1229 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled 1230 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}' 1231 12322011-12-03 Simon J. Gerraty <sjg@bad.crufty.net> 1233 1234 * install-mk (MK_VERSION): bump version to 20111201 1235 * import dirdeps.mk from Juniper sjg@ 1236 o more consistent handling of DEP_MACHINE, especially when 1237 dealing with an odd Makefile.depend, when normally using 1238 Makefile.depend.${MACHINE} 1239 12402011-11-22 Simon J. Gerraty <sjg@bad.crufty.net> 1241 1242 * install-mk (MK_VERSION): bump version to 20111122 1243 * meta.autodep.mk: add some debug output, be more crisp about 1244 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend 1245 12462011-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 1247 1248 * install-mk (MK_VERSION): bump version to 20111111 1249 it's too cool to miss 1250 * import meta* updates from Juniper sjg@ 1251 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are 1252 normally using Makefile.depend.${MACHINE}), handy for 1253 read-only manually maintained dependencies. 1254 o meta2deps.py add a clear 'ERROR:' token if an exception is raised. 1255 o gendirdeps.mk if ERROR: from meta2deps.py do not update 1256 anything. 1257 12582011-10-30 Simon J. Gerraty <sjg@bad.crufty.net> 1259 1260 * install-new.mk separate the cmp and copy logic to its own function. 1261 12622011-10-28 Simon J. Gerraty <sjg@bad.crufty.net> 1263 1264 * install-mk (MK_VERSION): bump version to 20111028 1265 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto 1266 * subdir.mk: ensure _SUBDIRUSE is provided 1267 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk 1268 * meta.subdir.mk: always allow for Makefile.depend 1269 12702011-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 1271 1272 * install-mk (MK_VERSION): bump version to 20111010 1273 o minor tweak to *dirdeps.mk from Juniper sjg@ 1274 12752011-10-01 Simon J. Gerraty <sjg@bad.crufty.net> 1276 1277 * install-mk (MK_VERSION): bump version to 20111001 1278 o add meta2deps.py from Juniper sjg@ 1279 o tweak gendirdeps.mk to work with meta2deps.py when not 1280 cross-building 1281 * autoconf.mk: add autoconf-input as a hook for regenerating 1282 AUTOCONF_INPUTS (configure). 1283 12842011-08-24 Simon J. Gerraty <sjg@bad.crufty.net> 1285 1286 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful 1287 trigger for updating Makefile.depend* 1288 12892011-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 1290 1291 * install-mk (MK_VERSION): bump version to 20110808 1292 * obj.mk: minor cleanup 1293 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too. 1294 12952011-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 1296 1297 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the 1298 specified dir. 1299 13002011-06-28 Simon J. Gerraty <sjg@bad.crufty.net> 1301 1302 * meta.autodep.mk: if XMAKE_META_FILE is set 1303 the makefile uses a foreign make, and so dependencies 1304 can only be gathered from a clean tree build. 1305 13062011-06-24 Simon J. Gerraty <sjg@bad.crufty.net> 1307 1308 * install-mk (MK_VERSION): bump version to 20110622 1309 * meta.autodep.mk: improve bootstraping 1310 13112011-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 1312 1313 * yacc.mk: handle the corner case of .c being removed 1314 while .h remains. 1315 13162011-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 1317 1318 * yacc.mk: do .y.h and .y.c separately 1319 13202011-06-04 Simon J. Gerraty <sjg@bad.crufty.net> 1321 1322 * install-mk (MK_VERSION): bump version to 20110606 1323 * don't store SRC_DIRDEPS in Makefile.depend* by default 1324 not everyone needs it. 1325 13262011-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 1327 1328 * install-mk (MK_VERSION): bump version to 20110505 1329 first release including meta mode makefiles 1330 13312011-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 1332 1333 * meta.stage.mk: add STAGE_AS_SETS and stage_as 1334 for things that need to be staged with different names. 1335 13362011-05-01 Simon J. Gerraty <sjg@bad.crufty.net> 1337 1338 * meta.stage.mk: add notion of STAGE_SETS 1339 so a makefile can stage to multiple dirs 1340 13412011-04-03 Simon J. Gerraty <sjg@bad.crufty.net> 1342 1343 * rst2htm.mk: convert rst to s5 (slides) or plain html depending 1344 on target name. 1345 13462011-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 1347 1348 * install-mk (MK_VERSION): bump version to 20110330 1349 13502011-03-29 Simon J. Gerraty <sjg@bad.crufty.net> 1351 1352 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0 1353 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest. 1354 * sys.mk: re-define M_whence in terms of M_type. 1355 M_type is useful for checking if something is a builtin. 1356 13572011-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 1358 1359 * meta.stage.mk: add stage_symlinks and leverage StageLinks for 1360 stage_libs 1361 13622011-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 1363 1364 * dirdeps.mk: correct value for _depdir_files depends on 1365 .MAKE.DEPENDFILE 1366 Add our copyright - just to make it clear we have frobbed this 1367 quite a bit. 1368 DEP_MACHINE needs to be set to MACHINE each time, if using only 1369 Makefile.depend (cf. Makefile.depend.${MACHINE}) 1370 1371 * meta.stage.mk: meta mode version of staging 1372 1373 * init.mk, final.mk: include local.*.mk to simplify customization 1374 13752011-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 1376 1377 * auto.obj.mk: just because we are doing mk destroy, we should 1378 still set .OBJDIR correctly if it exists. 1379 1380 * install-mk (mksrc): do not exclude meta.sys.mk 1381 13822011-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 1383 1384 * host-target.mk: set/export _HOST_ARCH etc separately, 1385 catch junk resulting from uname -p, so we can find sys/Linux.mk 1386 correctly. 1387 13882011-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 1389 1390 * meta.sys.mk: throw an error if /dev/filemon is missing and we 1391 expected to be updating Makefile.depend* 1392 13932011-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 1394 1395 * install-mk (MK_VERSION): bump version to 20110214 1396 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES 1397 13982010-09-25 Simon J. Gerraty <sjg@bad.crufty.net> 1399 1400 * meta.sys.mk: not valid for older bmake 1401 14022010-09-24 Simon J. Gerraty <sjg@bad.crufty.net> 1403 1404 * install-mk (MK_VERSION): bump version to 20100919 1405 include dirdeps.mk et al from Juniper Networks, 1406 for meta mode - requires filemon(9). 1407 * sys.mk, subdir.mk: Add hooks for meta mode. 1408 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk 1409 to make turning it on/off simple. 1410 14112010-06-16 Simon J. Gerraty <sjg@bad.crufty.net> 1412 1413 * install-mk (MK_VERSION): bump version to 20100616 1414 * fix typo in sys.mk 1415 14162010-06-12 Simon J. Gerraty <sjg@bad.crufty.net> 1417 1418 * install-mk (MK_VERSION): bump version to 20100612 1419 * lib.mk: remove duplicate addition to SOBJS 1420 14212010-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 1422 1423 * sys.mk: Add a means of selectively turning on debug flags. 1424 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg" 1425 will act as if we did make -dv if .CURDIR ends in lib/sjg 1426 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at 1427 the start of sys.mk rather than the end. 1428 This only makes sense for leaf dirs, so we check that 1429 .MAKE.LEVEL > 0 1430 14312010-06-09 Simon J. Gerraty <sjg@bad.crufty.net> 1432 1433 * install-mk (MK_VERSION): bump version to 20100608 1434 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al. 1435 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606 1436 also make it easier for folk to tweak 1437 14382010-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 1439 1440 * install-mk (MK_VERSION): bump version to 20100606 1441 do not install examples/* 1442 * FILES: add examples/sys.clean-env.mk 1443 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR 1444 this requires bmake-20100606 or later to work. 1445 14462010-05-13 Simon J. Gerraty <sjg@bad.crufty.net> 1447 1448 * sys.mk (M_tA): better simulate the result of :tA if not available. 1449 14502010-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 1451 1452 * sys.mk: canonicalize MAKE_VERSION 1453 old versions reported bmake-<src-date> build-<build-date> 1454 whereas we only care about <src-date> 1455 14562010-04-25 Simon J. Gerraty <sjg@bad.crufty.net> 1457 1458 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored 1459 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION 1460 is !empty 1461 14622010-04-22 Simon J. Gerraty <sjg@bad.crufty.net> 1463 1464 * dpadd.mk: use LDADD_* if defined. 1465 14662010-04-21 Simon J. Gerraty <sjg@bad.crufty.net> 1467 1468 * install-mk (MK_VERSION): bump version to 20100420 1469 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy 1470 * autoconf.mk allow AUTO_AUTOCONF 1471 14722010-04-19 Simon J. Gerraty <sjg@bad.crufty.net> 1473 1474 * obj.mk: add objwarn to keep freebsd makefiles happy 1475 * auto.obj.mk: ensure Mkdirs is available. 1476 * FILES: add auto.dep.mk - a simpler version of autodep.mk 1477 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if 1478 asked to do that. 1479 fix/simplify the tests for when to run mkdep. 1480 * auto.dep.mk: add some explanation of how/what we do. 1481 * autodep.mk: skip the .OPTIONAL frobbing of .depend 1482 bmake's FROM_DEPEND flag makes it redundant. 1483 14842010-04-13 Simon J. Gerraty <sjg@bad.crufty.net> 1485 1486 * install-mk (MK_VERSION): bump version to 20100404 1487 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE. 1488 * obj.mk: protect from multiple inclusion even as bsd.obj.mk 1489 Also create a target _SUBDIRUSE so that we can be used without 1490 subdir.mk 1491 14922010-04-12 Simon J. Gerraty <sjg@bad.crufty.net> 1493 1494 * dep.mk: use <> when .including so can override. 1495 14962010-01-11 Simon J. Gerraty <sjg@bad.crufty.net> 1497 1498 * lib.mk (SHLIB_LINKS): ensure a string comparison. 1499 15002010-01-04 Simon J. Gerraty <sjg@bad.crufty.net> 1501 1502 * install-mk (MK_VERSION): bump version to 20100102 1503 * own.mk: ensure PRINTOBJDIR works 1504 * autoconf.mk: pass on CONFIGURE_ARGS 1505 * init.mk: handle COPTS.${.IMPSRC:T} etc. 1506 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION 1507 fix handling of symlinks for darwin 1508 * libnames.mk: add DSHLIBEXT for libs which only exist as shared. 1509 * man.mk: suppress chown when not root. 1510 * rst2htm.mk: allow srcs from multiple locations. 1511 * sys.mk: M_whence, stop after 1st line of output. 1512 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT 1513 * sys/SunOS.mk: we need to export PATH 1514 15152009-12-23 Simon J. Gerraty <sjg@void.crufty.net> 1516 1517 * install-mk (MK_VERSION): bump version 1518 include rst2htm.mk 1519 15202009-12-17 Simon J. Gerraty <sjg@void.crufty.net> 1521 1522 * sys.mk,libnames.mk add .-include <local.*> 1523 this allows local customization without the need to edit the 1524 distributed files. 1525 15262009-12-14 Simon J. Gerraty <sjg@void.crufty.net> 1527 1528 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up 1529 older versions already installed. 1530 15312009-12-13 Simon J. Gerraty <sjg@void.crufty.net> 1532 1533 * stage.mk (.stage-install): generalize lib.mk's .libinstall 1534 * rules.mk rules for generic Makefile. 1535 * inc.mk install for includes. 1536 15372009-12-11 Simon J. Gerraty <sjg@void.crufty.net> 1538 1539 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check 1540 this, so provide it if using native make. 1541 15422009-12-10 Simon J. Gerraty <sjg@void.crufty.net> 1543 1544 * FILES: move all the platform *.sys.mk files to sys/*.mk 1545 * Rename Generic.sys.mk to sys.mk - we always want it. 1546 15472009-11-17 Simon J. Gerraty <sjg@void.crufty.net> 1548 1549 * install-mk (MK_VERSION): bump version 1550 * host-target.mk: only export the expensive stuff 1551 * Generic.sys.mk (sys_mk): for SunOS we need to look for 1552 ${HOST_OS}.${HOST_OSMAJOR} too! 1553 15542009-11-07 Simon J. Gerraty <sjg@void.crufty.net> 1555 1556 * install-mk (MK_VERSION): bump version 1557 * lib.mk: if sys.mk doesn't give us an lorder, don't use it. 1558 based on patch from Greg Olszewski. 1559 * Generic.sys.mk: if we have nothing to work with 1560 set LORDER etc only if we can find it. 1561 15622009-09-08 Simon J. Gerraty <sjg@void.crufty.net> 1563 1564 * install-mk (MK_VERSION): bump version 1565 * man.mk: cleanman: remove CLEANMAN if defined. 1566 15672009-09-04 Simon J. Gerraty <sjg@void.crufty.net> 1568 1569 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk 1570 15712009-07-17 Simon J. Gerraty <sjg@void.crufty.net> 1572 1573 * install-mk (MK_VERSION): bump version 1574 include auto.obj.mk 1575 1576 15772009-03-26 Simon J. Gerraty <sjg@void.crufty.net> 1578 1579 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail. 1580 15812008-11-11 Simon J. Gerraty <sjg@void.crufty.net> 1582 1583 * install-mk (MK_VERSION): bump version 1584 man.mk: ensure we generate *.cat1 etc in . 1585 15862008-07-16 Simon J. Gerraty <sjg@void.crufty.net> 1587 1588 * install-mk (MK_VERSION): bump version 1589 add prlist.mk 1590 15912007-11-25 Simon J. Gerraty <sjg@void.crufty.net> 1592 1593 * Generic.sys.mk: Allow os specific sys.mk to be in a 1594 subdir of ${.PARSEDIR} 1595 15962007-11-22 Simon J. Gerraty <sjg@void.crufty.net> 1597 1598 * install-mk (MK_VERSION): bump version 1599 * general cleanup 1600 * dpadd.mk introduce DPMAGIC_LIBS_* 1601 16022007-04-30 Simon J. Gerraty <sjg@void.crufty.net> 1603 1604 * install-mk (MK_VERSION): bump version 1605 1606 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog 1607 depend files and ensure clean is called for each lib/prog. 1608 16092007-03-27 Simon J. Gerraty <sjg@void.crufty.net> 1610 1611 * autodep.mk (.depend): delete lines that do not start with 1612 space and do not contain ':' 1613 16142007-02-16 Simon J. Gerraty <sjg@void.crufty.net> 1615 1616 * autodep.mk (.depend): gcc may wrap lines if pathnames are long 1617 so make sure the transform for .OPTIONAL copes. 1618 16192007-02-03 Simon J. Gerraty <sjg@void.crufty.net> 1620 1621 * install-mk (MK_VERSION): bump version 1622 1623 * own.mk: make sure RM and LN are defined. 1624 1625 * obj.mk: fix a typo, and objlink target. 1626 16272006-12-30 Simon J. Gerraty <sjg@void.crufty.net> 1628 1629 * install-mk (MK_VERSION): bump version 1630 * added libs.mk - analogous to progs.mk 1631 make both of them always inlcude {lib,prog}.mk 1632 16332006-12-28 Simon J. Gerraty <sjg@void.crufty.net> 1634 1635 * progs.mk: add a means of building multiple apps in one dir. 1636 16372006-11-26 Simon J. Gerraty <sjg@void.crufty.net> 1638 1639 * install-mk (MK_VERSION): bump version to 20061126 1640 1641 * warnings.mk: detect invalid WARNINGS_SET 1642 1643 * warnings.mk: use ${.TARGET:T:R}.o when looking for target 1644 specific warnings. 1645 1646 * For .cc sources, turn off warnings that g++ vomits on. 1647 16482006-11-08 Simon J. Gerraty <sjg@void.crufty.net> 1649 1650 * own.mk: if __initialized__ target doesn't exist and we are 1651 FreeBSD we got here directly from sys.mk 1652 16532006-11-06 Simon J. Gerraty <sjg@void.crufty.net> 1654 1655 * install-mk (MK_VERSION): bump version to 20061106 1656 add scripts.mk 1657 16582006-03-18 Simon J. Gerraty <sjg@void.crufty.net> 1659 1660 * install-mk (MK_VERSION): bump version to 20060318 1661 1662 * autodep.mk: avoid := when modifying OBJS into __dependsrcs 1663 16642006-03-02 Simon J. Gerraty <sjg@void.crufty.net> 1665 1666 * install-mk (MK_VERSION): bump version to 20060302 1667 * autodep.mk: use -MF et al to help gcc+ccache DTRT. 1668 16692006-03-01 Simon J. Gerraty <sjg@void.crufty.net> 1670 1671 * install-mk (MK_VERSION): bump version to 20060301 1672 * autodep.mk (.depend): 1673 if MAKE_VERSION is newer than 20050530 we can make .END depend on 1674 .depend and make .depend depend on __depsrcs that exist. 1675 * dpadd.mk: add SRC_PATHADD 1676 16772005-11-04 Simon J. Gerraty <sjg@void.crufty.net> 1678 1679 * install-mk (MK_VERSION): bump version to 20051104 1680 * prog.mk: remove all the LIBC?= junk, use 1681 .-include libnames.mk instead (none by default). 1682 also if USE_DPADD_MK is set, include that. 1683 16842005-10-09 Simon J. Gerraty <sjg@void.crufty.net> 1685 1686 * install-mk (MK_VERSION): bump version to 20051001 1687 Add UnixWare.sys.mk from Klaus Heinz. 1688 16892005-04-05 Simon J. Gerraty <sjg@void.crufty.net> 1690 1691 * install-mk: always install *.sys.mk and if need be symlink one 1692 to sys.mk 1693 16942005-03-22 Simon J. Gerraty <sjg@void.crufty.net> 1695 1696 * subdir.mk, own.mk: use .MAKE rather than MAKE 1697 16982004-02-15 Simon J. Gerraty <sjg@void.crufty.net> 1699 1700 * own.mk: don't use NetBSD's _SRC_TOP_ it can 1701 cause confusion. Also don't take just 'mk' as a 1702 srctop indicator. 1703 17042004-02-14 Simon J. Gerraty <sjg@void.crufty.net> 1705 1706 * warnings.mk: overhauled, now very powerful. 1707 17082004-02-03 Simon J. Gerraty <sjg@void.crufty.net> 1709 1710 * Generic.sys.mk: need to use ${.PARSEDIR} with exists(). 1711 17122004-02-01 Simon J. Gerraty <sjg@void.crufty.net> 1713 1714 * install-mk (MK_VERSION): bump version to 20040201 1715 * extract HOST_TARGET stuff to host-target.mk so own.mk and 1716 Generic.sys.mk can share. 1717 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR. 1718 17192003-09-30 Simon J. Gerraty <sjg@void.crufty.net> 1720 1721 * install-mk (MK_VERSION): 20030930 1722 * rename generic.sys.mk to Generic.sys.mk 1723 so that it does not get installed (unless being used as sys.mk) 1724 * set OS and ROOT_GROUP for those that we know the value. 1725 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so 1726 we don't do it again for each sub-make. 1727 17282003-09-28 Simon J. Gerraty <sjg@void.crufty.net> 1729 1730 * install-mk (MK_VERSION): 20030928 1731 Add some extra *.sys.mk from bootstrap-pkgsrc 1732 some of these likely still need work. 1733 Make everything default to root:wheel ownership, 1734 sys.mk can set ROOT_GROUP accordingly. 1735 17362003-08-07 Simon J. Gerraty <sjg@void.crufty.net> 1737 1738 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR 1739 not the portable ones. 1740 17412003-07-31 Simon J. Gerraty <sjg@void.crufty.net> 1742 1743 * install-mk: add ability to use cp -f when updating 1744 destination .mk files. Also now possible to play games with 1745 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk 1746 into dest - not recommended unless you seriously want to. 1747 17482003-07-28 Simon J. Gerraty <sjg@void.crufty.net> 1749 1750 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc 1751 for semi-compatability with NetBSD. 1752 17532003-07-23 Simon J. Gerraty <sjg@void.crufty.net> 1754 1755 * install-mk: add a version indicator 1756 17572003-07-22 Simon J. Gerraty <sjg@void.crufty.net> 1758 1759 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null 1760 1761 * install-mk: Allow FORCE_SYS_MK to come from env 1762 1763 1764 1765