12024-06-22 Simon J Gerraty <sjg@beast.crufty.net> 2 3 * install-mk (MK_VERSION): 20240616 4 5 * dirdeps.mk: apply DEP_DIRDEPS_BUILD_DIR_FILTER after we have 6 computed build dirs, since some filters cannot be easily expressed via 7 DEP_DIRDEPS_FILTER. 8 92024-05-31 Simon J Gerraty <sjg@beast.crufty.net> 10 11 * dirdeps.mk: move reset of DIRDEPS_EXPORT_VARS 12 until after we a finished with it if building a cache. 13 142024-05-04 Simon J Gerraty <sjg@beast.crufty.net> 15 16 * install-mk (MK_VERSION): 20240504 17 18 * dirdeps.mk: allow BUILD_DIRDEPS_OVERRIDES to pass overrides to 19 sub-make building DIRDEPS_CACHE. 20 212024-04-24 Simon J Gerraty <sjg@beast.crufty.net> 22 23 * meta.autodep.mk: do not override start_utc 24 252024-04-18 Simon J Gerraty <sjg@beast.crufty.net> 26 27 * sys.dirdeps.mk: set defaults for DEP_* at level 0 too. 28 These help when first include of Makefile.depend happens in a leaf 29 dir. 30 31 * install-mk (MK_VERSION): 20240414 32 332024-04-09 Simon J Gerraty <sjg@beast.crufty.net> 34 35 * install-mk (MK_VERSION): 20240408 36 37 * init.mk: allow for _ as well as . to join V 38 and Q from QUALIFIED_VAR_LIST and VAR_QUALIFIER_LIST. 39 40 * progs.mk: avoid overlap between PROG_VARS and 41 init.mk's QUALIFIED_VAR_LIST since PROG would also 42 match its VAR_QUALIFIER_LIST, 43 libs.mk does not have the same issue. 44 45 * subdir.mk: _SUBDIRUSE for realinstall should run install 46 remove include of ${.CURDIR}/Makefile.inc that can be done via 47 local.subdir.mk where needed 48 49 * own.mk: do not conflict with man.mk 50 512024-03-19 Simon J Gerraty <sjg@beast.crufty.net> 52 53 * install-mk (MK_VERSION): 20240314 54 55 * add sys/Cygwin.mk from Christian Franke 56 572024-03-09 Simon J Gerraty <sjg@beast.crufty.net> 58 59 * install-mk (MK_VERSION): 20240309 60 61 * meta.sys.mk: _metaError: if .ERROR_EXIT == 6, we do not 62 want to save the .ERROR_META_FILE 63 642024-02-20 Simon J Gerraty <sjg@beast.crufty.net> 65 66 * install-mk (MK_VERSION): 20240220 67 68 * sys.dirdeps.mk, dirdeps-targets.mk, init.mk: 69 do not set .MAIN: dirdeps in sys.dirdeps.mk 70 dirdeps-targets.mk will do that for top-level builds 71 and init.mk will do it for others. 72 This allows a Makefile which has no need of 'dirdeps' to 73 set .MAIN for itself and "just work". 74 752024-02-18 Simon J Gerraty <sjg@beast.crufty.net> 76 77 * bsd.*.mk: for makefiles that get a bsd. symlink, 78 use _this in multiple inclusion tags since .PARSEFILE will not 79 DTRT when such a makefile is included directly by Makefile and 80 automatically (without bsd. prefix). 81 Since we cannot guarantee that our sys.mk will be used, we provide 82 a default _this in each makefile that gets a bsd. prefix such that 83 the value is the same regardless of bsd. prefix. 84 85 * subdir.mk: drop the !target guard on $SUBDIR_TARGETS 86 872024-02-12 Simon J Gerraty <sjg@beast.crufty.net> 88 89 * install-mk (MK_VERSION): 20240212 90 91 * SPDX-License-Identifier: BSD-2-Clause 92 Add SPDX-License-Identifier to inidicate that I consider 93 my copyright on any of these makefiles equivalent to BSD-2-Clause 94 95 * autoconf.mk: allow for configure.ac as currently recommended 96 97 * subdir.mk: support @auto 98 which is replaced with each subdir that 99 has a [Mm]akefile. 100 101 * subdir.mk: include local.subdir.mk if it exists. 102 103 * subdir.mk: rework to handle .WAIT 104 1052024-02-11 Simon J Gerraty <sjg@beast.crufty.net> 106 107 * subdir.mk: _SUBDIRUSE report the target we are entering subdirs for. 108 1092024-02-10 Simon J Gerraty <sjg@beast.crufty.net> 110 111 * prog.mk: treat empty SRCS the same as undefined 112 1132024-02-02 Simon J Gerraty <sjg@beast.crufty.net> 114 115 * Avoid undefined errors in lint (-dL) mode 116 117 * man.mk (CMT2DOC_FLAGS): note that -mm does mdoc(7) 118 1192024-01-28 Simon J Gerraty <sjg@beast.crufty.net> 120 121 * install-mk (MK_VERSION): 20240128 122 123 * FILES: add ccm.dep.mk for C++ modules 124 add suffixes.mk for common location for generic SUFFIX rules. 125 126 * auto.dep.mk autodep.mk meta.autodep.mk: include ccm.dep.mk 127 replace OBJ_EXTENSIONS with OBJ_SUFFIXES 128 129 * autodep.mk: leverage CXX_SUFFIXES for __depsrcs 130 and update style (spaces around = etc) 131 132 * init.mk: add OBJS_SRCS_FILTER to filter SRCS when 133 setting OBJS 134 135 * meta2deps.py: handle multiple ./ embedded in path better. 136 1372024-01-05 Simon J Gerraty <sjg@beast.crufty.net> 138 139 * install-mk (MK_VERSION): 20240105 140 * dirdeps.mk: for MAKE_VERSION 20240105 we do not have the same 141 limits on command line length, so skip export of lists to env. 142 1432023-12-24 Simon J Gerraty <sjg@beast.crufty.net> 144 145 * man.mk: add logic for staging man pages 146 1472023-11-28 Simon J Gerraty <sjg@beast.crufty.net> 148 149 * jobs.mk: avoid C suffix in JOB_MAX_C if factor is floating 150 point. This keeps JOB_MAX numeric incase another makefile does 151 comparisons. 152 1532023-11-04 Simon J Gerraty <sjg@beast.crufty.net> 154 155 * dpadd.mk: add support for DPLIBS_QUALIFIER_LIST 156 157 * gendirdeps.mk: if META_XTRAS is passed to us, add to META_FILES 158 1592023-10-03 Simon J Gerraty <sjg@beast.crufty.net> 160 161 * compiler.mk (COMPILER_VERSION): clang at least is into 162 double digit major versions. 163 1642023-10-02 Simon J Gerraty <sjg@beast.crufty.net> 165 166 * install-mk (MK_VERSION): 20231001 167 168 * set _CCLINK in init.mk so lib.mk can use it for default SHLIB_LD 169 170 * lib.mk (cleanlib): use LD_solink so we remove all the right files. 171 Use -Wl for -soname since we now default to linking with CC 172 We should not need SHLIB_LDSTARTFILE or SHLIB_LDENDFILE when linking 173 with CC. 174 1752023-09-24 Simon J Gerraty <sjg@beast.crufty.net> 176 177 * init.mk (QUALIFIED_VAR_LIST): Add SRCS 178 1792023-09-09 Simon J Gerraty <sjg@beast.crufty.net> 180 181 * jobs.mk (JOB_MAX): use -jC if we can 182 we actually use JOB_MAX_C which defaults to 1.33C 183 1842023-08-18 Simon J Gerraty <sjg@beast.crufty.net> 185 186 * now_utc: %s only works with :localtime 187 1882023-07-14 Simon J Gerraty <sjg@beast.crufty.net> 189 190 * install-sh: ignore -c as claimed and only insist on 191 a directory for destination when more than one file to copy. 192 193 * sys.mk: when looking for SYS_OS_MK try ${.MAKE.OS} and 194 ${.MAKE.OS:S,64,,} early (so we find sys/IRIX.mk for IRIX64) 195 1962023-07-13 Simon J Gerraty <sjg@beast.crufty.net> 197 198 * install-mk (MK_VERSION): 20230711 199 200 * sys.mk: set SYS_MK and INSTALL_SH for systems with incompatible 201 install(1) 202 203 * sys/IRIX.mk: when setting ROOT_GROUP only match the first :0: 204 set INSTALL to install-sh rather than pathname that may not exist 205 (yet). 206 2072023-07-07 Simon J Gerraty <sjg@beast.crufty.net> 208 209 * dirdeps.mk: pass DIRDEP_TARGETS to DIRDEP_MAKE 210 normally this is empty - for the default target, but there are 211 use-cases where we might set it to something else. 212 2132023-07-04 Simon J Gerraty <sjg@beast.crufty.net> 214 215 * install-mk (MK_VERSION): 20230704 216 217 * dirdeps.mk: apply DEBUG_DIRDEPS_LIST_FILTER to lists we output 218 when DEBUG_DIRDEPS is in effect. 219 Eg. DEBUG_DIRDEPS_LIST_FILTER=ts\n 220 can greatly improve readability. 221 2222023-05-25 Simon J Gerraty <sjg@beast.crufty.net> 223 224 * meta.autodep.mk (beforegendirdeps): allow tasks to be done 225 at END but before gendirdeps 226 2272023-05-22 Simon J Gerraty <sjg@beast.crufty.net> 228 229 * install-mk (MK_VERSION): 20230522 230 231 * host-target.mk: deal with garbage from uname -m on 232 Darwin ppc, also NetBSD appears to use x86_64 for MACHINE_ARCH 233 these days so just leave it be. 234 For Darwin arm and i386 use _HOST_MACHINE for _HOST_ARCH so we get 235 arm64 and x86_64 in HOST_TARGET. 236 2372023-05-15 Simon J Gerraty <sjg@beast.crufty.net> 238 239 * sys.vars.mk: M_mtime use :mtime or 'stat -f %m' for older 240 versions of bmake. 241 242 * dirdeps.mk (TARGET_SPEC_VARS.host): 243 While *most* projects need only DEP_MACHINE for host, 244 there is always an exception. So we allow for 245 TARGET_SPEC_VARS.host to be a subset of TARGET_SPEC_VARS. 246 The default will *just work* for most projects. 247 We set DEP_TARGET_SPEC_VARS and hence DEP_TARGET_SPEC 248 based on DEP_MACHINE. 249 Allow for M_dep_qual_fixes.host to be different too 250 and take care to apply the right set. 251 2522023-05-14 Simon J Gerraty <sjg@beast.crufty.net> 253 254 * sys.dirdeps.mk: we *do* want to override OBJTOP 255 and if MAKEOBJDIR was not in env as we want it; 256 put it there - carefully. 257 Ensure OBJROOT ends in / or - (/ preferred) 258 Add more comments to explain what/why. 259 2602023-05-13 Simon J Gerraty <sjg@beast.crufty.net> 261 262 * install-mk (MK_VERSION): 20230512 263 264 * dirdeps.mk: take care not to qualify "host" dirdeps 265 266 * sys.dirdeps.mk (OBJTOP): must use ?= 267 2682023-05-10 Simon J Gerraty <sjg@beast.crufty.net> 269 270 * meta.autodep.mk: if LOCAL_DEPENDS_GUARD is "no" 271 suppress processing of .depend 272 2732023-05-09 Simon J Gerraty <sjg@beast.crufty.net> 274 275 * dirdeps.mk: do not add _CURDIR to DIRDEPS for SRCTOP 276 277 * meta.sys.mk sys.dirdeps.mk: 278 originally DIRDEPS_BUILD and META_MODE were the same thing, 279 but META_MODE is useful by itself. 280 Move things from meta.sys.mk which actually pertain to 281 DIRDEPS_BUILD to sys.dirdeps.mk 282 2832023-05-04 Simon J Gerraty <sjg@beast.crufty.net> 284 285 * install-mk (MK_VERSION): 20230504 May the Forth be with you 286 287 * dirdeps.mk: as with meta.sys.mk we treat "host" as special. 288 DEP_TARGET_SPEC is just ${DEP_MACHINE} 289 290 * meta.sys.mk: ensure DEP_* for TARGET_SPEC_VARS are set at 291 level > 0 since these are often refered to in Makefile.depend* 292 2932023-04-26 Simon J Gerraty <sjg@beast.crufty.net> 294 295 * jobs.mk: report ${.TARGET} ${JOB_ARGS} ${JOB_LOG} and 296 anything in ${JOB_LOG_START} 297 298 * jobs.mk: look for newlog.sh in ${.SYSPATH:U${.PARSEDIR}} 299 or a scripts subdir before searching $PATH. 300 301 * FILES: include newlog.sh for jobs.mk 302 3032023-04-20 Simon J Gerraty <sjg@beast.crufty.net> 304 305 * install-mk (MK_VERSION): 20230420 306 307 * lib.mk: include LDFLAGS and LDADD when linking shared libs 308 309 * gendirdeps.mk: document setting GENDIRDEPS_FILTER_VARS etc 310 via local.meta.sys.mk rather than local.gendirdeps.mk 311 so DEP_* variables can be set at level 1+ to avoid syntax errors 312 when used in conditionals in manually maintained Makefile.depend 313 files. 314 315 * dirdeps.mk: ensure M_dep_qual_fixes is applied to all _machines 316 3172023-04-18 Simon J Gerraty <sjg@beast.crufty.net> 318 319 * dirdeps.mk: check we were not included by 320 Makefile.depend.options as the result is bad. 321 3222023-04-14 Simon J Gerraty <sjg@beast.crufty.net> 323 324 * install-mk (MK_VERSION): 20230414 325 326 * meta.sys.mk: since we have :range we can put the logic for 327 processing TARGET_SPEC from env here. 328 329 * dirdeps.mk: reset DIRDEPS and DEP_RELDIR before including 330 local.dirdeps-missing.mk, also improve debug output. 331 332 * dirdeps.mk: to allow make -f dirdeps.mk include.$TARGET_SPEC 333 we need to use :M*[/.]* same as for when actually setting DIRDEPS 334 from the targets on command line. 335 3362023-04-12 Simon J Gerraty <sjg@beast.crufty.net> 337 338 * Add jobs.mk 339 3402023-03-21 Simon J Gerraty <sjg@beast.crufty.net> 341 342 * install-mk (MK_VERSION): 20230321 343 344 * meta.stage.mk: allow STAGE_SHLIB_LINKS_FILTER to filter 345 STAGE_LIBS for SHLIB_LINKS. 346 347 * autoconf.mk: add .WAIT after config.status 348 3492023-02-17 Simon J Gerraty <sjg@beast.crufty.net> 350 351 * sys.vars.mk: add M_Index to report the index of a word in a list. 352 3532023-02-15 Simon J Gerraty <sjg@beast.crufty.net> 354 355 * install-mk (MK_VERSION): 20230215 356 357 * warnings.mk: allow better control of -Werror 358 allow -Wno-error or similar to be added if 359 WARNINGS_SET < WERROR_SET 360 account for COMPILER_TYPE 361 3622023-01-29 Simon J Gerraty <sjg@beast.crufty.net> 363 364 * autoconf.mk: hook config.status to beforebuild. 365 366 * whats.mk: what*.c is NOTMAIN 367 3682023-01-27 Simon J Gerraty <sjg@beast.crufty.net> 369 370 * install-mk (MK_VERSION): 20230127 371 control umask so directories are created with suitable mode. 372 3732023-01-20 Simon J Gerraty <sjg@beast.crufty.net> 374 375 * install-mk (MK_VERSION): 20230120 376 377 * sys.vars.mk: add M_On and M_Onr also cleanup to be more 378 consistent wrt testing MAKE_VERSION 379 3802023-01-12 Simon J Gerraty <sjg@beast.crufty.net> 381 382 * install-mk (MK_VERSION): 20230112 383 384 * meta2deps.{py,sh}: assert if filemon data is truncated 385 we should see the '# Bye bye' record - assert if we do not. 386 3872022-09-09 Simon J Gerraty <sjg@beast.crufty.net> 388 389 * install-mk (MK_VERSION): 20220909 390 391 * sys/Linux.mk set EGREP to grep -E to avoid deprecation warnings 392 3932022-09-06 Simon J Gerraty <sjg@beast.crufty.net> 394 395 * dirdeps-options.mk: explain the need to use 396 ${DEP_${TARGET_SPEC_VAR}:U${TARGET_SPEC_VAR}} when refering to 397 ${TARGET_SPEC_VAR} 398 3992022-09-03 Simon J Gerraty <sjg@beast.crufty.net> 400 401 * install-mk (MK_VERSION): 20220903 402 403 * M_cmpv handle more than 3 dots and clear leading 0's 404 4052022-07-20 Simon J Gerraty <sjg@beast.crufty.net> 406 407 * install-mk (MK_VERSION): 20220720 408 409 * prog.mk: handle PROG_CXX for more than just NetBSD 410 4112022-06-20 Simon J Gerraty <sjg@beast.crufty.net> 412 413 * install-mk (MK_VERSION): 20220620 414 415 * yacc.mk: when we have *.y in SRCS used explicit rules and .ORDER 416 rather than just suffix rules 417 4182022-04-23 Simon J Gerraty <sjg@beast.crufty.net> 419 420 * install-mk (MK_VERSION): 20220422 421 422 * gendirdeps.mk: If LOCAL_DEPENDS_GUARD is set to "no" 423 do not capture any local depends in Makefile.depend 424 4252022-03-25 Simon J Gerraty <sjg@beast.crufty.net> 426 427 * install-mk (MK_VERSION): 20220323 428 * posix.mk: default rules for .POSIX: 429 4302022-03-17 Simon J Gerraty <sjg@beast.crufty.net> 431 432 * sys/*.mk: remove l from ARFLAGS 433 4342022-03-14 Simon J Gerraty <sjg@beast.crufty.net> 435 436 * install-mk (MK_VERSION): 20220314 437 438 * dirdeps-options.mk: allow options to be per RELDIR 439 try DIRDEPS_OPTIONS_QUALIFIER_LIST first prefixed 440 with ${DEP_RELDIR}. 441 4422022-02-14 Simon J Gerraty <sjg@beast.crufty.net> 443 444 * install-mk (MK_VERSION): 20220214 445 446 * cc-wrap.mk: fix :@ modifier 447 4482022-02-06 Simon J Gerraty <sjg@beast.crufty.net> 449 450 * install-mk (MK_VERSION): 20220206 451 452 * cc-wrap.mk: docuement how CCACHE etc might be set for 453 maximum flexibility 454 4552022-02-05 Simon J Gerraty <sjg@beast.crufty.net> 456 457 * sys.vars.mk: use JOT_CMD (jot or seq) if available for M_JOT 458 4592022-02-04 Simon J Gerraty <sjg@beast.crufty.net> 460 461 * install-mk (MK_VERSION): 20220204 462 463 * host-target.mk: use .MAKE.OS if available 464 4652022-02-02 Simon J Gerraty <sjg@beast.crufty.net> 466 467 * install-mk (MK_VERSION): 20220202 468 469 * cc-wrap.mk: allow other entries in CC_WRAP_FILTER 470 We add our filter on extensions last, so prior filters 471 can apply to the whole value of .IMPSRC 472 4732022-02-01 Simon J Gerraty <sjg@beast.crufty.net> 474 475 * cc-wrap.mk: take advantage of target local variables to 476 wrap compilers like CC CXX with wrappers like ccache distcc etc 477 4782022-01-28 Simon J Gerraty <sjg@beast.crufty.net> 479 480 * meta2deps: we do not expect any trace data for setid apps 481 4822022-01-26 Simon J Gerraty <sjg@beast.crufty.net> 483 484 * dirdeps.mk: ensure TARGET_SPEC and TARGET_SPEC_VARS are passed 485 to sub-make using DIRDEPS_CACHE 486 4872022-01-07 Simon J Gerraty <sjg@beast.crufty.net> 488 489 * dirdeps.mk: use _cache_script to minimize the number of shells 490 forked when generating dirdeps.cache 491 4922022-01-02 Simon J Gerraty <sjg@beast.crufty.net> 493 494 * install-mk (MK_VERSION): 20220101 495 496 * dirdeps.mk: initialize DEP_* and _debug_reldir earlier. 497 If initial DIRDEPS are from command line, create the target 498 _dirdeps_cmdline as an indication. 499 5002022-01-01 Simon J Gerraty <sjg@beast.crufty.net> 501 502 * init.mk (_SKIP_BUILD): when doing DIRDEPS_BUILD 503 at top-level only some targets are allowed at level 0, 504 for leaf makefiles only the default (all) target is restricted 505 5062021-12-28 Simon J Gerraty <sjg@beast.crufty.net> 507 508 * install-mk (MK_VERSION): 20211228 509 510 * meta2deps.py: filemon on Linux is not as reliable as we might 511 like, we do not want to update DIRDEPS if filemon output is 512 incomplete. Track pids that we 'E'xec and make sure we see an 513 e'X'it for each one. Throw an error if we are missing any 'X' 514 records. 515 5162021-12-12 Simon J Gerraty <sjg@beast.crufty.net> 517 518 * sys.mk: simplify; include meta.sys.mk if MK_META_MODE is yes. 519 520 * meta.sys.mk: do not check for /dev/filemon if .MAKE.PATH_FILEMON 521 is something else. 522 523 * meta.autodep.mk: we can now reference ${.SUFFIXES} 524 525 * meta2deps.py: derive a list of dirdep extensions from 526 TARGET_SPEC to trim from dirdeps. 527 528 * dirdeps.mk: flip the computation of qualified vs unqualified 529 dirdeps - it is much simpler to check for unqualified first. 530 5312021-12-11 Simon J Gerraty <sjg@beast.crufty.net> 532 533 * install-mk (MK_VERSION): 20211212 534 535 * auto.dep.mk: rearrange so that the trivial implementation 536 for recent bmake is more obvious. 537 5382021-12-07 Simon J Gerraty <sjg@beast.crufty.net> 539 540 * install-mk (MK_VERSION): 20211207 541 542 * Ensure guard targets are .NOTMAIN 543 544 * meta.sys.mk: check for nofilemon support when we skip level 0 545 546 * auto.dep.mk: make this usable in meta mode 547 for platforms that cannot use meta.autodep.mk 548 549 * meta2deps.py: avoid confusion if MACHINE and another 550 TARGET_SPEC_VAR have same value. 551 5522021-11-27 Simon J Gerraty <sjg@beast.crufty.net> 553 554 * dirdeps.mk: when building dirdeps.cache, minimize the amount of 555 data put into env, by stripping ${SRCTOP}/ from each entry. 556 A long sandbox name can double the amount of memory consumed and 557 in extreme cases cause failure. 558 While we are at it, strip ${SRCTOP}/ from a lot of the debug output. 559 5602021-11-11 Simon J Gerraty <sjg@beast.crufty.net> 561 562 * install-mk (MK_VERSION): 20211111 563 564 * meta.stage.mk (LN_CP_SCRIPT): if staging to NFS cp -p can fail 565 so fallback to cp if necessary. 566 5672021-10-30 Simon J Gerraty <sjg@beast.crufty.net> 568 569 * man.mk (CMT2DOC): use cmt2doc.py rather than the 30 year 570 old cmt2doc.pl 571 5722021-10-24 Simon J Gerraty <sjg@beast.crufty.net> 573 574 * meta.stage.mk: stage_as_and_symlink use ${STAGE_LINK_AS_$f:U$f} 575 as the symlink (rare) 576 5772021-10-16 Simon J Gerraty <sjg@beast.crufty.net> 578 579 * autoconf.mk: if AUTOCONF_GENERATED_MAKEFILE is set and has not 580 been read, throw an error after running configure telling user to 581 restart. 582 5832021-10-13 Simon J Gerraty <sjg@beast.crufty.net> 584 585 * install-mk (MK_VERSION): 20211011 586 587 * Add support for SCO_SV 588 5892021-10-01 Simon J Gerraty <sjg@beast.crufty.net> 590 591 * install-mk (MK_VERSION): 20211001 592 593 * man.mk: use MAN_SUFFIXES and CMT2DOC_SUFFIXES for more 594 flexibility 595 5962021-09-13 Simon J Gerraty <sjg@beast.crufty.net> 597 598 * options.mk (describe-options): print options and their values 599 and optional description 600 6012021-09-11 Simon J Gerraty <sjg@beast.crufty.net> 602 603 * install-mk (MK_VERSION): 20210911 604 605 * options.mk (show-options): print options and their values 606 6072021-09-08 Simon J Gerraty <sjg@beast.crufty.net> 608 609 * install-mk (MK_VERSION): 20210909 610 611 * lib.mk: apply patch from <daniel@octaforge.org> 612 to fix shared libs on Linux 613 6142021-08-08 Simon J Gerraty <sjg@beast.crufty.net> 615 616 * install-mk (MK_VERSION): 20210808 617 618 * options.mk: issue warning for WITH_*=no 619 6202021-06-16 Simon J Gerraty <sjg@beast.crufty.net> 621 622 * install-mk (MK_VERSION): 20210616 623 624 * dirdeps.mk: when using .MAKE.DEPENDFILE_PREFERENCE to find 625 depend files to read, anchor MACHINE at , or end of string 626 to avoid prefix match. 627 6282021-05-04 Simon J Gerraty <sjg@beast.crufty.net> 629 630 * install-mk (MK_VERSION): 20210504 631 632 * dirdeps.mk: re-implement ALL_MACHINES support to better 633 cater for local complexities, when ONLY_TARGET_SPEC_LIST 634 is not set. local.dirdeps.mk can set 635 DIRDEPS_ALL_MACHINES_FILTER and/or 636 DIRDEPS_ALL_MACHINES_FILTER_XTRAS to filter the results we get 637 from listing all existing Makefile.depend.* 638 6392021-04-20 Simon J Gerraty <sjg@beast.crufty.net> 640 641 * install-mk (MK_VERSION): 20210420 642 643 * dirdeps.mk: revert previous - not always safe. 644 6452021-03-20 Simon J Gerraty <sjg@beast.crufty.net> 646 647 * install-mk (MK_VERSION): 20210321 648 649 * dirdeps.mk: when generating dirdeps.cache 650 we only need to hook the initial DIRDEPS to the 651 dirdeps target. That and any _build_xtra_dirs (like tests which 652 should not be hooked directly to the dependency graph - to avoid 653 cycles) 654 6552021-01-30 Simon J Gerraty <sjg@beast.crufty.net> 656 657 * install-mk (MK_VERSION): 20210130 658 659 * dirdeps.mk: expr 2 - 1 - 1 exits with a bad status 660 we need to guard against this in DIRDEP_LOADAVG_REPORT. 661 662 * dirdeps.mk: restore respect for TARGET_MACHINE 663 6642021-01-06 Simon J Gerraty <sjg@beast.crufty.net> 665 666 * install-mk (MK_VERSION): 20210101 667 668 * dirdeps.mk: first time we are read, just use TARGET_SPEC for 669 _DEP_TARGET_SPEC 670 6712020-12-22 Simon J Gerraty <sjg@beast.crufty.net> 672 673 * sys.mk (MAKE_SHELL): use ${.SHELL:Ush} 674 and use := when setting SHELL 675 6762020-12-21 Simon J Gerraty <sjg@beast.crufty.net> 677 678 * install-mk (MK_VERSION): 20201221 679 680 * dirdeps-options.mk: latest bmake allows only one arg to .undef 681 6822020-12-11 Simon J Gerraty <sjg@beast.crufty.net> 683 684 * dirdeps-targets.mk: allow for "." in DIRDEPS_TARGETS_DIRS 685 so that any directory can be treated as a target. 686 6872020-11-26 Simon J Gerraty <sjg@beast.crufty.net> 688 689 * install-mk (MK_VERSION): 20201126 690 691 * own.mk: use .MAKE.{UID,GID} if available. 692 693 * init.mk: suppress _SKIP_BUILD warning if doing -V 694 6952020-11-20 Simon J Gerraty <sjg@beast.crufty.net> 696 697 * install-mk (MK_VERSION): 20201120 698 699 * init.mk: rename LEVEL0_TARGETS to DIRDEPS_BUILD_LEVEL0_TARGETS 700 701 * dirdeps-targets.mk: fix typo in comment 702 7032020-11-06 Simon J Gerraty <sjg@beast.crufty.net> 704 705 * install-mk (MK_VERSION): 20201106 706 707 * meta.autodep.mk: use OBJ_EXTENSIONS rather than hardcode sed 708 args to tweak extensions for local deps. 709 7102020-11-01 Simon J Gerraty <sjg@beast.crufty.net> 711 712 * install-mk (MK_VERSION): 20201101 713 714 * dirdeps.mk: most leaf makefiles are not suitable for building 715 dirdeps.cache so if RELDIR is not "." use dirdeps.mk 716 7172020-10-28 Simon J Gerraty <sjg@beast.crufty.net> 718 719 * install-mk (MK_VERSION): 20201028 720 721 * dirdeps.mk: if we don't have :range use equivalent of M_RANGE 722 when building dirdeps.cache for leaf directory use -f dirdeps.mk 723 724 * sys.vars.mk: add M_JOT and M_RANGE 725 7262020-10-01 Simon J Gerraty <sjg@beast.crufty.net> 727 728 * install-mk (MK_VERSION): 20201001 729 730 * meta2deps.{py,sh}: throw an error if we don't see filemon version 731 7322020-09-09 Simon J Gerraty <sjg@beast.crufty.net> 733 734 * install-mk (MK_VERSION): 20200909 735 736 * dirdeps-cache-update.mk: use cache_update_dirdep as guard target 737 7382020-08-26 Simon J Gerraty <sjg@beast.crufty.net> 739 740 * dirdeps.mk: ensure we cannot confuse a static cache for dynamic 741 (even more rare that use of static cache is playing clever tricks 742 with it) 743 7442020-08-16 Simon J Gerraty <sjg@beast.crufty.net> 745 746 * dirdeps-cache-update.mk: allow 747 MK_STATIC_DIRDEPS_CACHE_UPDATE_IMMEDIATE to control when we 748 actually update STATIC_DIRDEPS_CACHE. 749 750 * stage-install.sh: create dest directory if needed 751 before running install(1) 752 7532020-08-10 Simon J Gerraty <sjg@beast.crufty.net> 754 755 * dirdeps-targets.mk: include Makefile.dirdeps.options 756 757 * dirdeps.mk: use _TARGETS if defined for DIRDEPS_CACHE 758 7592020-08-09 Simon J Gerraty <sjg@beast.crufty.net> 760 761 * dirdeps.mk: default BUILD_DIRDEPS_MAKEFILE to empty 762 763 * dirdeps-cache-update.mk: building parallel cache update 764 under the context of dirdeps-cached would be ideal, but 765 is problematic, so it runs as a sibling. 766 Use cache-built target to ensure we wait for it to complete if 767 necessary. 768 7692020-08-06 Simon J Gerraty <sjg@beast.crufty.net> 770 771 * install-mk (MK_VERSION): 20200806 772 773 * dirdeps-options: allow TARGET_SPEC to affect option values. 774 Use DIRDEPS_OPTIONS_QUALIFIER_LIST before using bare MK_* 775 776 * dirdeps-targets.mk: check for MK_STATIC_DIRDEPS_CACHE defined 777 before looking for STATIC_DIRDEPS_CACHE 778 7792020-08-05 Simon J Gerraty <sjg@beast.crufty.net> 780 781 * host-target.mk: Darwin use MACHINE for HOST_ARCH too 782 783 * dirdeps-options.mk: improve debug output 784 7852020-07-22 Simon J Gerraty <sjg@beast.crufty.net> 786 787 * dirdeps.mk: set and export DYNAMIC_DIRDEPS_CACHE 788 for use by dirdeps-cache-update.mk 789 790 * dirdeps-targets.mk: set and export STATIC_DIRDEPS_CACHE 791 for use by dirdeps-cache-update.mk even if we don't use it. 792 793 * dirdeps-cache-update.mk: we only need worry about the background 794 update case, with the above, the update from DIRDEPS_CACHE is 795 simple. 796 797 * meta2deps.py: R 1234 . is not interesting 798 7992020-07-20 Simon J Gerraty <sjg@beast.crufty.net> 800 801 * sys.mk: default MK_STATIC_DIRDEPS_CACHE from MK_DIRDEPS_CACHE 802 803 * dirdeps-options.mk: do not :tu DIRDEPS_OPTIONS 804 allows use of lower case for pseudo options. 805 806 * dirdeps-cache-update.mk: magic to deal with STATIC_DIRDEPS_CACHE 807 8082020-07-18 Simon J Gerraty <sjg@beast.crufty.net> 809 810 * dirdeps-targets.mk: Look for Makefile.dirdeps.cache 811 which allows us to have a static cache for expensive targets. 812 Use -DWITHOUT_STATIC_DIRDEPS_CACHE -DWITH_DIRDEPS_CACHE 813 to regenerate the dirdeps.cache it is a copy of. 814 8152020-07-17 Simon J Gerraty <sjg@beast.crufty.net> 816 817 * Get rid of BUILD_AT_LEVEL0, MK_DIRDEPS_BUILD makes more sense. 818 8192020-07-16 Simon J Gerraty <sjg@beast.crufty.net> 820 821 * dirdeps.mk (DIRDEP_LOADAVG_REPORT): make it easy to record 822 load averages at intervals during build. 823 8242020-07-15 Simon J Gerraty <sjg@beast.crufty.net> 825 826 * install-mk (MK_VERSION): 20200715 827 828 * dirdeps.mk: tweak Checking line to make matching Finished 829 lines for post-build analysis easier. 830 831 * meta.autodep.mk: use !defined(WITHOUT_META_STATS) 832 833 * progs.mk: avoid prog.mk outputting multiple Finished lines 834 8352020-07-11 Simon J Gerraty <sjg@beast.crufty.net> 836 837 * dirdeps.mk: further optimize dirdeps.cache 838 generate a DIRDEPS.${.TARGET} list for other purposes 839 and improve the layout. 840 8412020-07-10 Simon J Gerraty <sjg@beast.crufty.net> 842 843 * dirdeps.mk: optimize content of dirdeps.cache 844 8452020-06-28 Simon J Gerraty <sjg@beast.crufty.net> 846 847 * sys/*.mk: make it easier for local*sys.mk to customize by 848 using ?= 849 8502020-06-22 Simon J Gerraty <sjg@beast.crufty.net> 851 852 * gendirdeps.mk (LOCAL_DEPENDS_GUARD): if we don't build at level 0 853 it is much safer to guard local depends with a simple check for 854 .MAKE.LEVEL > 0 855 8562020-06-10 Simon J Gerraty <sjg@beast.crufty.net> 857 858 * install-mk (MK_VERSION): 20200610 859 860 * mkopt.sh: this needs posix shell so #!/bin/sh should be ok 861 8622020-06-06 Simon J Gerraty <sjg@beast.crufty.net> 863 864 * install-mk (MK_VERSION): 20200606 865 866 * dirdeps-targets.mk: allow for filtering of .TARGETS 867 868 * meta2deps.py: fix bug in processing 'L'ink and 'M'ove 869 entries - and we don't care about 'W'rite entries. 870 Also ignore absolute paths that do not exist. 871 8722020-05-25 Simon J Gerraty <sjg@beast.crufty.net> 873 874 * install-mk (MK_VERSION): 20200525 875 876 * init.mk: expand and simplify handling of qualified vars 877 like CPPFLAGS.${.TARGET:T} 878 8792020-05-15 Simon J Gerraty <sjg@beast.crufty.net> 880 881 * install-mk (MK_VERSION): 20200515 882 883 * dirdeps.mk: set _debug_* earlier and allow passing -d* 884 flags to submake when building DIRDEPS_CACHE 885 8862020-05-09 Simon J Gerraty <sjg@beast.crufty.net> 887 888 * whats.mk: more easily extensible 889 8902020-05-02 Simon J Gerraty <sjg@beast.crufty.net> 891 892 * whats.mk: greatly simplify by adding what.c to SRCS 893 8942020-05-01 Simon J Gerraty <sjg@beast.crufty.net> 895 896 * whats.mk: for libs take care how we add to *OBJS 897 898 * lib.mk: : works better with whats.mk 899 9002020-04-25 Simon J Gerraty <sjg@beast.crufty.net> 901 902 * install-mk (MK_VERSION): 20200420 903 904 * meta.stage.mk: it is not a STAGE_CONFLICT if some-target.dirdep 905 contains the same ${RELDIR} and a prefix match for our ${TARGET_SPEC} 906 9072020-04-16 Simon J Gerraty <sjg@beast.crufty.net> 908 909 * install-mk (MK_VERSION): 20200416 910 911 * sys/*.mk: set MAKE_SHELL rather than SHELL so as not to 912 interfere with user env. 913 914 * sys.mk: default MAKE_SHELL to sh and SHELL to MAKE_SHELL 915 916 * autodep.mk: use MAKE_SHELL. 917 9182019-11-21 Simon J Gerraty <sjg@beast.crufty.net> 919 920 * gendirdeps.mk: clear .SUFFIXES to avoid a lot of 921 wasted effort, and unexport _meta_files when no longer needed as 922 it consumes space we need for command line. 923 9242019-11-11 Simon J Gerraty <sjg@beast.crufty.net> 925 926 * dirdeps.mk _DIRDEP_USE: use DIRDEP_DIR and add 927 DIRDEP_USE_PRELUDE at start - facilitates job distribution 928 9292019-10-04 Simon J Gerraty <sjg@beast.crufty.net> 930 931 * dirdeps-targets.mk: Use TARGET_SPEC_LAST_LIST 932 defaults to ${${TARGET_SPEC_VARS:[-1]}_LIST} to match valid 933 TARGET_SPEC qualified depend files. 934 9352019-10-02 Simon J Gerraty <sjg@beast.crufty.net> 936 937 * dirdeps-targets.mk: encapsulate logic for finding top-level 938 targets to set initial DIRDEPS for DIRDEPS_BUILD 939 9402019-09-27 Simon J Gerraty <sjg@beast.crufty.net> 941 942 * install-mk (MK_VERSION): 20190911 943 944 * compiler.mk: set COMPILER_TYPE 945 9462019-07-17 Simon J Gerraty <sjg@beast.crufty.net> 947 948 * install-mk (MK_VERSION): 20190704 949 950 * sys/Darwin.mk: support for Objective-C and clang 951 9522019-05-30 Simon J Gerraty <sjg@beast.crufty.net> 953 954 * dirdeps.mk: avoid insanely long command line when generating cache 955 9562019-05-23 Simon J Gerraty <sjg@beast.crufty.net> 957 958 * install-mk (MK_VERSION): 20190505 959 960 * whats.mk: handle corner case SHLIB defined but not LIB 961 9622018-09-19 Simon J Gerraty <sjg@beast.crufty.net> 963 964 * install-mk (MK_VERSION): 20180919 965 966 * dirdeps-options.mk: .undef cannot handle var that expands to 967 more than one var. 968 9692018-07-08 Simon J Gerraty <sjg@beast.crufty.net> 970 971 * meta.stage.mk: allow wildcards in STAGE_FILES.* etc. 972 9732018-06-01 Simon J Gerraty <sjg@beast.crufty.net> 974 975 * meta.autodep.mk: export META_FILES to avoid command line limit 976 * gendirdeps.mk: if we have lots of .meta files put them in 977 an @list 978 9792018-05-28 Simon J Gerraty <sjg@beast.crufty.net> 980 981 * dirdeps-options.mk: use local.dirdeps-options.mk 982 not local.dirdeps-option.mk 983 9842018-04-20 Simon J Gerraty <sjg@beast.crufty.net> 985 986 * install-mk (MK_VERSION): 20180420 987 * dirdeps.mk: include local.dirdeps-build.mk when .MAKE.LEVEL > 0 988 ie. we are building something. 989 9902018-04-14 Simon J Gerraty <sjg@beast.crufty.net> 991 992 * FILES: add dirdeps-options.mk to deal with optional DIRDEPS. 993 9942018-04-05 Simon J Gerraty <sjg@beast.crufty.net> 995 996 * install-mk (MK_VERSION): 20180405 997 998 * ldorder.mk: describe how to use LDORDER_EXTERN_BARRIER 999 if needed. 1000 10012018-01-18 Simon J Gerraty <sjg@beast.crufty.net> 1002 1003 * install-mk (MK_VERSION): 20180118 1004 1005 * ldorder.mk: let make compute correct link order 1006 10072017-12-12 Simon J Gerraty <sjg@beast.crufty.net> 1008 1009 * install-mk (MK_VERSION): 20171212 1010 1011 * gendirdeps.mk: guard against bogus entries in GENDIRDEPS_FILTER 1012 10132017-11-14 Simon J. Gerraty <sjg@bad.crufty.net> 1014 1015 * install-mk (MK_VERSION): 20171111 1016 1017 * lib.mk: ensure META_NOECHO is set 1018 10192017-10-25 Simon J. Gerraty <sjg@bad.crufty.net> 1020 1021 * Allow for host32 on rare occasions. 1022 10232017-10-18 Simon J. Gerraty <sjg@bad.crufty.net> 1024 1025 * install-mk (MK_VERSION): 20171018 1026 1027 * whats.mk: include what_thing in what_uuid to avoid problem 1028 when building multiple apps in the same directory. 1029 10302017-08-12 Simon J. Gerraty <sjg@bad.crufty.net> 1031 1032 * install-mk (MK_VERSION): 20170812 1033 1034 * autoconf.mk: Use CONFIGURE_DEPS so Makefile can 1035 add dependencies for config.recheck and config.gen 1036 10372017-06-30 Simon J. Gerraty <sjg@bad.crufty.net> 1038 1039 * install-mk (MK_VERSION): 20170630 1040 1041 * meta.stage.mk: avoid triggering stage_* targets with nothing to do. 1042 10432017-05-23 Simon J. Gerraty <sjg@bad.crufty.net> 1044 1045 * meta2deps.py: take special care of '..' 1046 10472017-05-15 Simon J. Gerraty <sjg@bad.crufty.net> 1048 1049 * install-mk (MK_VERSION): 20170515 1050 1051 * dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is 1052 useful/necessary for a Makefile.depend file to export some knobs. 1053 This is complicated when we are doing DIRDEPS_CACHE, so we will 1054 handle export of any variables listed in DEP_EXPORT_VARS. 1055 10562017-05-08 Simon J. Gerraty <sjg@bad.crufty.net> 1057 1058 * install-mk (MK_VERSION): 20170505 1059 1060 * meta2deps.py: fix botched indenation. 1061 10622017-05-05 Simon J. Gerraty <sjg@bad.crufty.net> 1063 1064 * sys/*.mk: Remove setting of MAKE it is unnecessary and 1065 in many cases wrong (basname rather than full path) 1066 1067 * scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk 1068 1069 * init.mk: define realbuild to simplify logic in {lib,prog}.mk etc 1070 10712017-05-01 Simon J. Gerraty <sjg@bad.crufty.net> 1072 1073 * install-mk (MK_VERSION): 20170501 1074 1075 * doc.mk: fix typo in DOC_INSTALL_OWN 1076 1077 * inc.mk: handle INCGROUPS similar to freebsd 1078 1079 * files.mk: add something for files too 1080 1081 * add staging logic to lib.mk prog.mk etc. 1082 10832017-04-24 Simon J. Gerraty <sjg@bad.crufty.net> 1084 1085 * install-mk (MK_VERSION): 20170424 1086 1087 * dirdeps.mk: set NO_DIRDEPS when bootstrapping. 1088 also target of bootstrap-this when sed is needed should be ${_want:T} 1089 10902017-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 1091 1092 * install-mk (MK_VERSION): 20170418 1093 1094 * auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a 1095 prefix match for .CURDIR - in which case .CURDIR *is* __objdir. 1096 10972017-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 1098 1099 * install-mk (MK_VERSION): 20170401 1100 1101 * meta2deps.py: add is_src so we can check if obj dependency 1102 is also a src dependency. 1103 11042017-03-26 Simon J. Gerraty <sjg@bad.crufty.net> 1105 1106 * install-mk (MK_VERSION): 20170326 1107 1108 * meta.stage.mk: do nothing if NO_STAGING is defined. 1109 11102017-03-24 Simon J. Gerraty <sjg@bad.crufty.net> 1111 1112 * auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc. 1113 11142017-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 1115 1116 * mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_* 1117 11182017-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 1119 1120 * install-mk (MK_VERSION): 20170301 1121 1122 * dirdeps.mk (_build_all_dirs): update this outside test for empty 1123 DIRDEPS. 1124 1125 * meta.stage.mk: allow multiple inclusion to the extent it makes 1126 sense. 1127 11282017-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 1129 1130 * prog.mk (install_links): depends on realinstall 1131 11322017-02-12 Simon J. Gerraty <sjg@bad.crufty.net> 1133 1134 * install-mk (MK_VERSION): 20170212 1135 1136 * dpadd.mk: avoid applying :T:R twice to DPLIBS entries 1137 11382017-01-30 Simon J. Gerraty <sjg@bad.crufty.net> 1139 1140 * install-mk (MK_VERSION): 20170130 1141 1142 * dirdeps.mk: use :range if we can. 1143 1144 * sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130 1145 1146 * meta2deps.py: clean paths without using realpath() where possible. 1147 fix sort_unique. 1148 11492016-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 1150 1151 * install-mk (MK_VERSION): 20161212 1152 1153 * meta2deps.py: set pid_cwd[pid] when we process 'C'hdir, 1154 rather than when we detect pid change. 1155 11562016-12-07 Simon J. Gerraty <sjg@bad.crufty.net> 1157 1158 * install-mk (MK_VERSION): 20161207 1159 1160 * meta.stage.mk: add stage_as_and_symlink for staging packages. 1161 We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able 1162 to use foo.tgz to reference the latest staged version - so we 1163 make foo.tgz a symlink to it. 1164 Using a target to do both operations ensures we stay in sync. 1165 11662016-11-26 Simon J. Gerraty <sjg@bad.crufty.net> 1167 1168 * install-mk (MK_VERSION): 20161126 1169 1170 * dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk 1171 so it can add dependencies. 1172 11732016-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 1174 1175 * dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE 1176 do that they can influence the result correctly. 1177 1178 * dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC 1179 1180 * dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST 1181 similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST 1182 11832016-10-05 Simon J. Gerraty <sjg@bad.crufty.net> 1184 1185 * dirdeps.mk: remove dependence on jot (normal situations anyway). 1186 Before we read another Makefile.depend* set DEP_* vars from 1187 _DEP_TARGET_SPEC in case it uses any of them with := 1188 When bootstrapping, trim any ,* from extention of chosen _src 1189 Makefile.depend* to get the machine value we subst for. 1190 11912016-09-30 Simon J. Gerraty <sjg@bad.crufty.net> 1192 1193 * dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to 1194 DEP_SKIP_DIR and DEP_DIRDEPS_FILTER 1195 1196 * sys.mk: extract some bits to sys.{debug,vars}.mk 1197 for easier re-use by others. 1198 11992016-09-23 Simon Gerraty <sjg@sjg-mba13> 1200 1201 * lib.mk: Use ${PICO} for extension for PIC objects. 1202 default to .pico (like NetBSD) safe on case insensitive filesystem. 1203 12042016-08-19 Simon J. Gerraty <sjg@bad.crufty.net> 1205 1206 * meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default 1207 12082016-08-15 Simon J. Gerraty <sjg@bad.crufty.net> 1209 1210 * install-mk (MK_VERSION): 20160815 1211 1212 * dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only 1213 consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date. 1214 12152016-08-13 Simon J. Gerraty <sjg@bad.crufty.net> 1216 1217 * meta.sys.mk (.MAKE.META.IGNORE_PATHS): 1218 in meta mode we can ignore the mtime of makefiles 1219 12202016-08-02 Simon J. Gerraty <sjg@bad.crufty.net> 1221 1222 * install-mk (MK_VERSION): 20160802 1223 1224 * lib.mk (libinstall): depends on beforinstall 1225 1226 * prog.mk (proginstall): depends on beforinstall 1227 patch from Lauri Tirkkonen 1228 1229 * dirdeps.mk (bootstrap): When bootstrapping; creat 1230 .MAKE.DEPENDFILE_DEFAULT and allow additional filtering via 1231 .MAKE.DEPENDFILE_BOOTSTRAP_SED 1232 1233 * dirdeps.mk: move some comments to where they make sense. 1234 12352016-07-27 Simon J. Gerraty <sjg@bad.crufty.net> 1236 1237 * dirdeps.mk (DIRDEPS_CACHE): no dirname. 1238 12392016-06-02 Simon J. Gerraty <sjg@bad.crufty.net> 1240 1241 * install-mk (MK_VERSION): 20160602 1242 * meta.autodep.mk: when passing META_FILES to gendirdeps.mk 1243 do not apply :T to META_XTRAS 1244 patch from Bryan Drewery at FreeBSD.org. 1245 12462016-05-30 Simon J. Gerraty <sjg@bad.crufty.net> 1247 1248 * install-mk (MK_VERSION): 20160530 1249 * meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH 1250 make it so. 1251 12522016-05-12 Simon J. Gerraty <sjg@bad.crufty.net> 1253 1254 * install-mk (MK_VERSION): 20160512 1255 1256 * dpadd.mk: always include local.dpadd.mk if it exists 1257 remove some things that better belong in local.dpadd.mk 1258 skip INCLUDES_* for staged libs unless SRC_* defined. 1259 1260 * own.mk: add INCLUDEDIR 1261 12622016-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 1263 1264 * dirdeps.mk: when doing -f dirdeps.mk if target suppies no 1265 TARGET_MACHINE - :E will be empty or match part of path, use 1266 ${MACHINE} 1267 12682016-04-07 Simon J. Gerraty <sjg@bad.crufty.net> 1269 1270 * meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to 1271 NO_FILEMON_COOKIE 1272 1273 * dirdeps.mk: move the logic that allows for 1274 make -f dirdeps.mk some/dir.${TARGET_SPEC} 1275 inside the check for !target(_DIRDEP_USE) 1276 12772016-04-04 Simon J. Gerraty <sjg@bad.crufty.net> 1278 1279 * Use <> when including local*.mk and others which may exist 1280 elsewhere so that user can better control what they get. 1281 1282 * meta.autodep.mk (NO_FILEMON_COOKIE): 1283 create a cookie if we ever build dir with nofilemon 1284 so that UPDATE_DEPENDFILE will be forced to NO until cleaned. 1285 12862016-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 1287 1288 * install-mk (MK_VERSION): 20160401 1289 1290 * meta2deps.py: fix old print statement when debugging. 1291 1292 * gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X 1293 patch from Bryan Drewery 1294 12952016-03-22 Simon J. Gerraty <sjg@bad.crufty.net> 1296 1297 * install-mk (MK_VERSION): 20160317 (St. Pats) 1298 1299 * warnings.mk: g++ does not like -Wimplicit 1300 1301 * sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the 1302 pelthora of common suffixes for C++ 1303 1304 * lib.mk: use .So for shared objects 1305 13062016-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 1307 1308 * install-mk (MK_VERSION): 20160315 1309 1310 * meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1) 1311 normally only applies to scripts. 1312 1313 * dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as 1314 well as outside it. 1315 13162016-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 1317 1318 * install-mk (MK_VERSION): 20160310 1319 1320 * dirdeps.mk: use targets rather than a list to track DIRDEPS that 1321 we have processed; the list gets very inefficient as number of 1322 DIRDEPS gets large. 1323 1324 * sys.dependfile.mk: fix comment wrt MACHINE 1325 1326 * meta.autodep.mk: ignore staged DPADDs when bootstrapping. 1327 patch from Bryan Drewery 1328 13292016-03-02 Simon J. Gerraty <sjg@bad.crufty.net> 1330 1331 * meta2deps.sh: don't ignore subdirs. 1332 patch from Bryan Drewery 1333 13342016-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 1335 1336 * install-mk (MK_VERSION): 20160226 1337 1338 * gendirdeps.mk: mark _DEPENDFILE .NOMETA 1339 13402016-02-20 Simon J. Gerraty <sjg@bad.crufty.net> 1341 1342 * dirdeps.mk: we shouldn't normally include .depend but if we do 1343 use .dinclude if we can. 1344 13452016-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 1346 1347 * install-mk (MK_VERSION): 20160218 1348 * sys.clean-env.mk: with recent change to Var_Subst() 1349 we cannot use the '$$' trick, but .export-literal does the job 1350 we need. 1351 * auto.dep.mk: make use .dinclude if we can. 1352 1353 13542016-02-05 Simon J. Gerraty <sjg@bad.crufty.net> 1355 1356 * dirdeps.mk: 1357 Add _build_all_dirs such that local.dirdeps.mk can 1358 add fully qualified dirs to it. 1359 These will be built normally but the current 1360 DEP_RELDIR will not depend on then (to avoid cycles). 1361 This makes it easy to hook things like unit-tests into build. 1362 1363 13642016-01-21 Simon J. Gerraty <sjg@bad.crufty.net> 1365 1366 * dirdeps.mk: add bootstrap-empty 1367 13682015-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 1369 1370 * install-mk (MK_VERSION): 20151212 1371 * auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist. 1372 only apply :tA to __objdir when comparing to .OBJDIR 1373 13742015-11-14 Simon J. Gerraty <sjg@bad.crufty.net> 1375 1376 * install-mk (MK_VERSION): 20151111 1377 1378 * meta.sys.mk: include sys.dependfile.mk 1379 1380 * sys.mk (OPTIONS_DEFAULT_NO): use options.mk 1381 to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD 1382 include local.sys.env.mk early 1383 include local.sys.mk later 1384 1385 * own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk 1386 13872015-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 1388 1389 * meta.sys.mk (META_COOKIE_TOUCH): 1390 add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie 1391 1392 * meta.stage.mk: stage_libs should ignore SYMLINKS. 1393 13942015-10-23 Simon J. Gerraty <sjg@bad.crufty.net> 1395 1396 * install-mk (MK_VERSION): 20151022 1397 1398 * sys.mk: BSD/OS does not have 'type' as a shell builtin. 1399 14002015-10-20 Simon J. Gerraty <sjg@bad.crufty.net> 1401 1402 * install-mk (MK_VERSION): 20151020 1403 1404 * dirdeps.mk: Add logic for 1405 make -f dirdeps.mk some/dir.${TARGET_SPEC} 1406 14072015-10-14 Simon J. Gerraty <sjg@bad.crufty.net> 1408 1409 * install-mk (MK_VERSION): 20151010 1410 14112015-10-02 Simon J. Gerraty <sjg@bad.crufty.net> 1412 1413 * meta.stage.mk: use staging: ${STAGE_TARGETS:... 1414 to have stage_lins run last in non-jobs mode. 1415 Use .ORDER only for jobs mode. 1416 14172015-09-02 Simon J. Gerraty <sjg@bad.crufty.net> 1418 1419 * rst2htm.mk: allow for per target flags etc. 1420 14212015-09-01 Simon J. Gerraty <sjg@bad.crufty.net> 1422 1423 * install-mk (MK_VERSION): 20150901 1424 1425 * doc.mk: create dir if needed use DOC_INSTALL_OWN 1426 14272015-06-15 Simon J. Gerraty <sjg@bad.crufty.net> 1428 1429 * install-mk (MK_VERSION): 20150615 1430 1431 * auto.obj.mk: allow use of MAKEOBJDIRPREFIX too. 1432 Follow make's normal precedence rules. 1433 1434 * gendirdeps.mk: allow customization of the header. 1435 eg. for FreeBSD: 1436 GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}'; 1437 1438 * meta.autodep.mk: ignore dirdeps.cache* 1439 1440 * meta.stage.mk: when bootstrapping options it can be handy to 1441 throw warnings rather than errors for staging conflicts. 1442 1443 * meta.sys.mk: include local.meta.sys.mk for customization 1444 14452015-06-06 Simon J. Gerraty <sjg@bad.crufty.net> 1446 1447 * install-mk (MK_VERSION): 20150606 1448 1449 * dirdeps.mk: don't rely on manually maintained Makefile.depend 1450 to set DEP_RELDIR and reset DIRDEPS. 1451 By setting DEP_RELDIR ourselves we can skip :tA 1452 1453 * gendirdeps.mk: skip setting DEP_RELDIR. 1454 14552015-05-24 Simon J. Gerraty <sjg@bad.crufty.net> 1456 1457 * dirdeps.mk: avoid wildcards like make(bootstrap*) 1458 14592015-05-20 Simon J. Gerraty <sjg@bad.crufty.net> 1460 1461 * install-mk (MK_VERSION): 20150520 1462 1463 * dirdeps.mk: when we are building dirdeps cache file we *want* 1464 meta_oodate to look at all the Makefile.depend files, so 1465 set .MAKE.DEPENDFILE to something that won't match. 1466 1467 * meta.stage.mk: for STAGE_AS_* basename of file may not be unique 1468 so first use absolute path as key. 1469 Also skip staging at level 0. 1470 14712015-04-30 Simon J. Gerraty <sjg@bad.crufty.net> 1472 1473 * install-mk (MK_VERSION): 20150430 1474 1475 * dirdeps.mk: fix _count_dirdeps for non-cache case. 1476 14772015-04-16 Simon J. Gerraty <sjg@bad.crufty.net> 1478 1479 * install-mk (MK_VERSION): 20150411 1480 bump version 1481 1482 * own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES. 1483 it is here mainly for documentation purposes, since 1484 if using auto.obj.mk it is better done via sys.mk 1485 14862015-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 1487 1488 * install-mk (MK_VERSION): 20150401 1489 1490 * meta2deps.sh: support @list 1491 1492 * meta2deps.py: updates from Juniper 1493 o add EXCLUDES 1494 o skip bogus input files. 1495 o treat 'M' and 'L' as both an 'R' and a 'W' 1496 14972015-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 1498 1499 * install-mk (MK_VERSION): 20150303 1500 1501 * dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache 1502 which is built via sub-make so we have a .meta file to tell if 1503 it is out-of-date. 1504 The dirdeps-cache contains the same dependency rules that we 1505 normaly construct on the fly. 1506 This adds a few seconds overhead when the cache is out of date, 1507 but for a large target, the savings can be significant (10-20min). 1508 15092014-11-18 Simon J. Gerraty <sjg@bad.crufty.net> 1510 1511 * install-mk (MK_VERSION): 20141118 1512 1513 * meta.stage.mk: add stale_staged 1514 1515 * dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked 1516 only useful under very rare conditions such as 1517 FreeBSD's make universe. 1518 1519 * auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto 1520 15212014-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 1522 1523 * install-mk (MK_VERSION): 20141111 1524 1525 * mkopt.sh: use consistent semantics for _mk_opt and _mk_opts 1526 15272014-11-09 Simon J. Gerraty <sjg@bad.crufty.net> 1528 1529 * FILES: include mkopt.sh which allows handling options in shell 1530 scripts in a manner compatible with options.mk 1531 15322014-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 1533 1534 * meta.stage.mk: ensure only _STAGED_DIRS under objroot are used 1535 for GENDIRDEPS_FILTER to avoid surprises. 1536 15372014-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 1538 1539 * dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by 1540 the time it is applied to __depdirs they have. 1541 1542 * dirdeps.mk fix filtering of _machines since M_dep_qual_fixes 1543 expects patterns like *.${MACHINE} 1544 1545 * cython.mk (pyprefix?): use pyprefix to find python bits 1546 since prefix might be something else (where we install our 1547 stuff) 1548 15492014-09-11 Simon J. Gerraty <sjg@bad.crufty.net> 1550 1551 * install-mk (MK_VERSION): 20140911 1552 1553 * dirdeps.mk: add bootstrap target to simplify adding support for 1554 new MACHINE. 1555 15562014-09-01 Simon J. Gerraty <sjg@bad.crufty.net> 1557 1558 * gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and 1559 GENDIRDEPS_FILTER_VARS to make it easier to produce sharable 1560 Makefile.depend files. 1561 15622014-08-28 Simon J. Gerraty <sjg@bad.crufty.net> 1563 1564 * install-mk (MK_VERSION): 20140828 1565 1566 * cython.mk: capture logic for building python extension modules 1567 with Cython. 1568 15692014-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 1570 1571 * meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant 1572 15732014-08-02 Simon J. Gerraty <sjg@bad.crufty.net> 1574 1575 * install-mk (MK_VERSION): 20140801 1576 1577 * dep.mk: use explicit MKDEP_MK rather than overload MKDEP to 1578 identify the autodep.mk variant. 1579 1580 * sys.dependfile.mk: delete .MAKE.DEPENDFILE if its 1581 initial value does not match .MAKE.DEPENDFILE_PREFIX 1582 1583 * meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS 1584 15852014-05-22 Simon J. Gerraty <sjg@bad.crufty.net> 1586 1587 * install-mk (MK_VERSION): 20140522 1588 1589 * lib.mk: use CC to link shlib for linux too 1590 patch from Brendan MacDonell 1591 15922014-05-05 Simon J. Gerraty <sjg@bad.crufty.net> 1593 1594 * meta.autodep.mk: add _reldir_{finish,failed} for gathering stats 1595 if WITH_META_STATS is defined. 1596 15972014-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 1598 1599 * dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS) 1600 to supress dirdeps outside of .CURDIR. 1601 16022014-04-05 Simon J. Gerraty <sjg@bad.crufty.net> 1603 1604 * Fix spelling errors - patch from Pedro Giffuni 1605 16062014-03-14 Simon J. Gerraty <sjg@bad.crufty.net> 1607 1608 * install-mk (MK_VERSION): 20140314 1609 1610 * dirdeps.mk (beforedirdeps): a handy hook 1611 1612 * dirdeps.mk (DIRDEP_MAKE): allow the actual command we run 1613 to visit leaf dirs to be intercepted (eg. for distributed 1614 build). 1615 1616 * dirdeps.mk (__depdirs): ensure // don't sneak in 1617 1618 * gendirdeps.mk (DIRDEPS): ensure // don't sneak in 1619 1620 16212014-02-21 Simon J. Gerraty <sjg@bad.crufty.net> 1622 1623 * rst2htm.mk (RST2PDF): add support for rst2pdf 1624 16252014-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 1626 1627 * install-mk (MK_VERSION): bump version 1628 * dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if 1629 available. 1630 16312014-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 1632 1633 * options.mk: avoid :U so this isn't bmake dependent 1634 16352014-02-09 Simon J. Gerraty <sjg@bad.crufty.net> 1636 1637 * options.mk: cleanup and simplify semanitcs 1638 NO_* dominates all, if both WITH_* and WITHOUT_* 1639 are defined then result is DOMINATE_* which defaults to "no". 1640 Ie. WITHOUT_ normally wins. 1641 16422013-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 1643 1644 * install-mk (MK_VERSION): bump version 1645 * meta2deps.py: convert to print function for python3 compat. 1646 we also need to open files with mode 'r' rather than 'rb' 1647 otherwise we get bytes instead of strings. 1648 16492013-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 1650 1651 * install-mk (MK_VERSION): bump version 1652 1653 * dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE 1654 apply the same filtering (M_dep_qual_fixes) when setting _machines 1655 as _build_dirs. 1656 Also fix the filtering of Makefile.depend files - for reporting 1657 what we are looking for (M_dep_qual_fixes can get confused by 1658 Makefile.depend) 1659 Add some more debug info. 1660 16612013-09-04 Simon J. Gerraty <sjg@bad.crufty.net> 1662 1663 * gendirdeps.mk (_objtops): fix typo also 1664 while processing M2D_OBJROOTS to gather qualdir_list 1665 qualify $ql with loop iterator to ensure correct results. 1666 16672013-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 1668 1669 * install-mk (MK_VERSION): 20130801 1670 * libs.mk: update to match progs.mk 1671 16722013-07-26 Simon J. Gerraty <sjg@bad.crufty.net> 1673 1674 * install-mk (MK_VERSION): 20130726 1675 some updates from Juniper and FreeBSD 1676 o meta2deps.py: indicate file and line number when we hit parse 1677 errors 1678 also allow @file to provide huge list of .meta files. 1679 * meta2deps.py: add try_parse() to cleanup the above. 1680 16812013-07-16 Simon J. Gerraty <sjg@bad.crufty.net> 1682 1683 * install-mk (MK_VERSION): 20130716 1684 * own.mk: add GPROG as an option 1685 * prog.mk: honor MK_GPROF==yes 1686 16872013-05-10 Simon J. Gerraty <sjg@bad.crufty.net> 1688 1689 * install-mk (MK_VERSION): 20130505 1690 * gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC 1691 for when $MACHINE isn't enough for objdir distinction. 1692 Bring meta2deps.sh closer to par with meta2deps.py. 1693 16942013-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 1695 1696 * meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all' 1697 also if the target 'beforeinstall' exists, make it depend on 1698 .dirdep (incase it uses STAGE_INSTALL). 1699 17002013-04-17 Simon J. Gerraty <sjg@bad.crufty.net> 1701 1702 * install-mk (MK_VERSION): 20130401 ;-) 1703 * meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as 1704 wrapper around install(1). 1705 * options.mk (OPTION_PREFIX): Allow a prefix other than MK_ 1706 17072013-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 1708 1709 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized. 1710 * install-mk (MK_VERSION): bump version 1711 17122013-03-21 Simon J. Gerraty <sjg@bad.crufty.net> 1713 1714 * install-mk (MK_VERSION): bump version 1715 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose 1716 any trailing /., rather apply :tA only when needed. 1717 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files. 1718 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance 1719 consistently. 1720 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC. 1721 17222013-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 1723 1724 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT 1725 it is simpler to just not update when say building for "host" 1726 (where we know we apply filters to DIRDEPS), and using a 1727 non-machine qualified dependfile. 1728 17292013-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 1730 1731 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR 1732 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC 1733 * gendirdeps.mk: ensure _objroot has trailing / if it needs it. 1734 * meta2deps.py: if machine is "host", then also trim 1735 self.host_target from any OBJROOTS. 1736 1737 17382013-03-11 Simon J. Gerraty <sjg@bad.crufty.net> 1739 1740 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine 1741 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists 1742 but _DEPENDFILE does not, compare the new _DEPENDFILE against 1743 .MAKE.DEPENDFILE_DEFAULT and discard if the same. 1744 17452013-03-08 Simon J. Gerraty <sjg@bad.crufty.net> 1746 1747 * meta.stage.mk: use STAGE_TARGETS to control .ORDER 1748 and hook to all: via staging: 1749 17502013-03-07 Simon J. Gerraty <sjg@bad.crufty.net> 1751 1752 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT): 1753 use a separate variable for the default .MAKE.DEPENDFILE value 1754 so that it can be controlled independently of 1755 .MAKE.DEPENDFILE_PREFERENCE 1756 1757 * meta.stage.mk: throw error if cp fails etc. 1758 Stage*() return early if passed no args. 1759 .ORDER stage_* 1760 17612013-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 1762 1763 * install-mk (MK_VERSION): bump version 1764 * gendirdeps.mk: handle multiple M2D_OBJROOTS better. 1765 17662013-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 1767 1768 * install-mk (MK_VERSION): bump version to 20130210 1769 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py 1770 from Juniper. 1771 o dirdeps.mk now fully supports TARGET_SPEC consisting of more 1772 than just MACHINE. 1773 o no longer use DEP_MACHINE from Makefile.depend* so remove it. 1774 17752013-01-23 Simon J. Gerraty <sjg@bad.crufty.net> 1776 1777 * install-mk (MK_VERSION): bump version to 20130123 1778 * meta.stage.mk: add stage_links (hard links). 1779 if doing hard links, we add dest to link as well. 1780 Default the stage dir for [sym]links to STAGE_OBJTOP since 1781 these are typically specified as absolute paths. 1782 Add -m "mode" flag to StageFiles and StageAs. 1783 17842012-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 1785 1786 * install-mk (MK_VERSION): bump version to 20121111 1787 * autoconf.mk: avoid meta mode seeing changed commands for config.status 1788 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps 1789 in case we were found via .../mk 1790 * sys.clean-env.mk: move it from examples, we and others use it 1791 "as is". 1792 * FILES: add srctop.mk and options.mk 1793 * own.mk: convert to using options.mk 1794 which is modeled after FreeBSD's handling of MK_* 1795 but more flexible. 1796 This allows MK_* for boolean knobs to not be confused 1797 with MK* which can be commands. 1798 1799 * examples/sys.clean-env.mk: add WITH[OUT]_ to 1800 MAKE_ENV_SAVE_PREFIX_LIST. 1801 Mention that HOME=/var/empty might be a good idea. 1802 18032012-11-08 Simon J. Gerraty <sjg@bad.crufty.net> 1804 1805 * sys.dependfile.mk: if not depend file exists, $MACHINE 1806 specific ones are supported but not the default, 1807 check if any exist and follow suit. 1808 18092012-11-06 Simon J. Gerraty <sjg@bad.crufty.net> 1810 1811 * install-mk (MK_VERSION): bump version to 20121106 1812 18132012-11-05 Simon J. Gerraty <sjg@bad.crufty.net> 1814 1815 * import latest dirdeps.mk and meta2deps.py from Juniper. 1816 * progs.mk: add MAN and CXXFLAGS to PROG_VARS 1817 also add PROGS_TARGETS and pass on PROG_CXX if it seems 1818 appropriate. 1819 18202012-11-04 Simon J. Gerraty <sjg@bad.crufty.net> 1821 1822 * meta.stage.mk: update CLEANFILES 1823 remove redundant cp of .dirdep from STAGE_AS_SCRIPT. 1824 * progs.mk: Add LDADD to PROG_VARS 1825 18262012-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 1827 1828 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in 1829 _STAGED_DIRS so that these can be turned into filters for 1830 GENDIRDEPS_FILTER. 1831 18322012-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 1833 1834 * install-mk (MK_VERSION): bump version to 20121010 1835 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing 1836 target.dirdep matches .dirdep 1837 18382012-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 1839 1840 * install-mk (MK_VERSION): bump version to 20120808 1841 * import latest meta2deps.py from Juniper. 1842 18432012-07-11 Simon J. Gerraty <sjg@bad.crufty.net> 1844 1845 * install-mk (MK_VERSION): bump version to 20120711 1846 * dep.mk: add explicit dependencies on SRCS after applying 1847 SRCS_DEP_FILTER 1848 * meta.autodep.mk: add explicit dependencies on SRCS after 1849 applying SRCS_DEP_FILTER 1850 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed. 1851 18522012-06-26 Simon J. Gerraty <sjg@bad.crufty.net> 1853 1854 * install-mk (MK_VERSION): bump version to 20120626 1855 * meta.sys.mk: ignore PYTHON if it does not exist 1856 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable. 1857 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any 1858 entries ending in .${MACHINE} to decide if qualified _dirdep is 1859 needed. 1860 * gendirdeps.mk: only produce unqualified deps if no 1861 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE} 1862 * meta.subdir.mk: apply SUBDIRDEPS_FILTER 1863 18642012-04-20 Simon J. Gerraty <sjg@bad.crufty.net> 1865 1866 * install-mk (MK_VERSION): bump version to 20120420 1867 * add sys.dependfile.mk so we can experiment with 1868 .MAKE.DEPENDFILE_PREFERENCE 1869 * meta.autodep.mk: _DEPENDFILE is precious! 1870 18712012-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 1872 1873 * install-mk (MK_VERSION): bump version to 20120315 1874 * install-new.mk: avoid being interrupted 1875 18762012-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 1877 1878 * man.mk: MAN might have multiple values so be careful with exists(). 1879 18802012-01-19 Simon J. Gerraty <sjg@bad.crufty.net> 1881 1882 * install-mk (MK_VERSION): bump version to 20120112 1883 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled 1884 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}' 1885 18862011-12-03 Simon J. Gerraty <sjg@bad.crufty.net> 1887 1888 * install-mk (MK_VERSION): bump version to 20111201 1889 * import dirdeps.mk from Juniper sjg@ 1890 o more consistent handling of DEP_MACHINE, especially when 1891 dealing with an odd Makefile.depend, when normally using 1892 Makefile.depend.${MACHINE} 1893 18942011-11-22 Simon J. Gerraty <sjg@bad.crufty.net> 1895 1896 * install-mk (MK_VERSION): bump version to 20111122 1897 * meta.autodep.mk: add some debug output, be more crisp about 1898 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend 1899 19002011-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 1901 1902 * install-mk (MK_VERSION): bump version to 20111111 1903 it's too cool to miss 1904 * import meta* updates from Juniper sjg@ 1905 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are 1906 normally using Makefile.depend.${MACHINE}), handy for 1907 read-only manually maintained dependencies. 1908 o meta2deps.py add a clear 'ERROR:' token if an exception is raised. 1909 o gendirdeps.mk if ERROR: from meta2deps.py do not update 1910 anything. 1911 19122011-10-30 Simon J. Gerraty <sjg@bad.crufty.net> 1913 1914 * install-new.mk separate the cmp and copy logic to its own function. 1915 19162011-10-28 Simon J. Gerraty <sjg@bad.crufty.net> 1917 1918 * install-mk (MK_VERSION): bump version to 20111028 1919 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto 1920 * subdir.mk: ensure _SUBDIRUSE is provided 1921 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk 1922 * meta.subdir.mk: always allow for Makefile.depend 1923 19242011-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 1925 1926 * install-mk (MK_VERSION): bump version to 20111010 1927 o minor tweak to *dirdeps.mk from Juniper sjg@ 1928 19292011-10-01 Simon J. Gerraty <sjg@bad.crufty.net> 1930 1931 * install-mk (MK_VERSION): bump version to 20111001 1932 o add meta2deps.py from Juniper sjg@ 1933 o tweak gendirdeps.mk to work with meta2deps.py when not 1934 cross-building 1935 * autoconf.mk: add autoconf-input as a hook for regenerating 1936 AUTOCONF_INPUTS (configure). 1937 19382011-08-24 Simon J. Gerraty <sjg@bad.crufty.net> 1939 1940 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful 1941 trigger for updating Makefile.depend* 1942 19432011-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 1944 1945 * install-mk (MK_VERSION): bump version to 20110808 1946 * obj.mk: minor cleanup 1947 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too. 1948 19492011-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 1950 1951 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the 1952 specified dir. 1953 19542011-06-28 Simon J. Gerraty <sjg@bad.crufty.net> 1955 1956 * meta.autodep.mk: if XMAKE_META_FILE is set 1957 the makefile uses a foreign make, and so dependencies 1958 can only be gathered from a clean tree build. 1959 19602011-06-24 Simon J. Gerraty <sjg@bad.crufty.net> 1961 1962 * install-mk (MK_VERSION): bump version to 20110622 1963 * meta.autodep.mk: improve bootstraping 1964 19652011-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 1966 1967 * yacc.mk: handle the corner case of .c being removed 1968 while .h remains. 1969 19702011-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 1971 1972 * yacc.mk: do .y.h and .y.c separately 1973 19742011-06-04 Simon J. Gerraty <sjg@bad.crufty.net> 1975 1976 * install-mk (MK_VERSION): bump version to 20110606 1977 * don't store SRC_DIRDEPS in Makefile.depend* by default 1978 not everyone needs it. 1979 19802011-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 1981 1982 * install-mk (MK_VERSION): bump version to 20110505 1983 first release including meta mode makefiles 1984 19852011-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 1986 1987 * meta.stage.mk: add STAGE_AS_SETS and stage_as 1988 for things that need to be staged with different names. 1989 19902011-05-01 Simon J. Gerraty <sjg@bad.crufty.net> 1991 1992 * meta.stage.mk: add notion of STAGE_SETS 1993 so a makefile can stage to multiple dirs 1994 19952011-04-03 Simon J. Gerraty <sjg@bad.crufty.net> 1996 1997 * rst2htm.mk: convert rst to s5 (slides) or plain html depending 1998 on target name. 1999 20002011-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 2001 2002 * install-mk (MK_VERSION): bump version to 20110330 2003 20042011-03-29 Simon J. Gerraty <sjg@bad.crufty.net> 2005 2006 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0 2007 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest. 2008 * sys.mk: re-define M_whence in terms of M_type. 2009 M_type is useful for checking if something is a builtin. 2010 20112011-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 2012 2013 * meta.stage.mk: add stage_symlinks and leverage StageLinks for 2014 stage_libs 2015 20162011-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 2017 2018 * dirdeps.mk: correct value for _depdir_files depends on 2019 .MAKE.DEPENDFILE 2020 Add our copyright - just to make it clear we have frobbed this 2021 quite a bit. 2022 DEP_MACHINE needs to be set to MACHINE each time, if using only 2023 Makefile.depend (cf. Makefile.depend.${MACHINE}) 2024 2025 * meta.stage.mk: meta mode version of staging 2026 2027 * init.mk, final.mk: include local.*.mk to simplify customization 2028 20292011-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 2030 2031 * auto.obj.mk: just because we are doing mk destroy, we should 2032 still set .OBJDIR correctly if it exists. 2033 2034 * install-mk (mksrc): do not exclude meta.sys.mk 2035 20362011-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 2037 2038 * host-target.mk: set/export _HOST_ARCH etc separately, 2039 catch junk resulting from uname -p, so we can find sys/Linux.mk 2040 correctly. 2041 20422011-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 2043 2044 * meta.sys.mk: throw an error if /dev/filemon is missing and we 2045 expected to be updating Makefile.depend* 2046 20472011-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 2048 2049 * install-mk (MK_VERSION): bump version to 20110214 2050 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES 2051 20522010-09-25 Simon J. Gerraty <sjg@bad.crufty.net> 2053 2054 * meta.sys.mk: not valid for older bmake 2055 20562010-09-24 Simon J. Gerraty <sjg@bad.crufty.net> 2057 2058 * install-mk (MK_VERSION): bump version to 20100919 2059 include dirdeps.mk et al from Juniper Networks, 2060 for meta mode - requires filemon(9). 2061 * sys.mk, subdir.mk: Add hooks for meta mode. 2062 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk 2063 to make turning it on/off simple. 2064 20652010-06-16 Simon J. Gerraty <sjg@bad.crufty.net> 2066 2067 * install-mk (MK_VERSION): bump version to 20100616 2068 * fix typo in sys.mk 2069 20702010-06-12 Simon J. Gerraty <sjg@bad.crufty.net> 2071 2072 * install-mk (MK_VERSION): bump version to 20100612 2073 * lib.mk: remove duplicate addition to SOBJS 2074 20752010-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 2076 2077 * sys.mk: Add a means of selectively turning on debug flags. 2078 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg" 2079 will act as if we did make -dv if .CURDIR ends in lib/sjg 2080 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at 2081 the start of sys.mk rather than the end. 2082 This only makes sense for leaf dirs, so we check that 2083 .MAKE.LEVEL > 0 2084 20852010-06-09 Simon J. Gerraty <sjg@bad.crufty.net> 2086 2087 * install-mk (MK_VERSION): bump version to 20100608 2088 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al. 2089 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606 2090 also make it easier for folk to tweak 2091 20922010-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 2093 2094 * install-mk (MK_VERSION): bump version to 20100606 2095 do not install examples/* 2096 * FILES: add examples/sys.clean-env.mk 2097 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR 2098 this requires bmake-20100606 or later to work. 2099 21002010-05-13 Simon J. Gerraty <sjg@bad.crufty.net> 2101 2102 * sys.mk (M_tA): better simulate the result of :tA if not available. 2103 21042010-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 2105 2106 * sys.mk: canonicalize MAKE_VERSION 2107 old versions reported bmake-<src-date> build-<build-date> 2108 whereas we only care about <src-date> 2109 21102010-04-25 Simon J. Gerraty <sjg@bad.crufty.net> 2111 2112 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored 2113 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION 2114 is !empty 2115 21162010-04-22 Simon J. Gerraty <sjg@bad.crufty.net> 2117 2118 * dpadd.mk: use LDADD_* if defined. 2119 21202010-04-21 Simon J. Gerraty <sjg@bad.crufty.net> 2121 2122 * install-mk (MK_VERSION): bump version to 20100420 2123 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy 2124 * autoconf.mk allow AUTO_AUTOCONF 2125 21262010-04-19 Simon J. Gerraty <sjg@bad.crufty.net> 2127 2128 * obj.mk: add objwarn to keep freebsd makefiles happy 2129 * auto.obj.mk: ensure Mkdirs is available. 2130 * FILES: add auto.dep.mk - a simpler version of autodep.mk 2131 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if 2132 asked to do that. 2133 fix/simplify the tests for when to run mkdep. 2134 * auto.dep.mk: add some explanation of how/what we do. 2135 * autodep.mk: skip the .OPTIONAL frobbing of .depend 2136 bmake's FROM_DEPEND flag makes it redundant. 2137 21382010-04-13 Simon J. Gerraty <sjg@bad.crufty.net> 2139 2140 * install-mk (MK_VERSION): bump version to 20100404 2141 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE. 2142 * obj.mk: protect from multiple inclusion even as bsd.obj.mk 2143 Also create a target _SUBDIRUSE so that we can be used without 2144 subdir.mk 2145 21462010-04-12 Simon J. Gerraty <sjg@bad.crufty.net> 2147 2148 * dep.mk: use <> when .including so can override. 2149 21502010-01-11 Simon J. Gerraty <sjg@bad.crufty.net> 2151 2152 * lib.mk (SHLIB_LINKS): ensure a string comparison. 2153 21542010-01-04 Simon J. Gerraty <sjg@bad.crufty.net> 2155 2156 * install-mk (MK_VERSION): bump version to 20100102 2157 * own.mk: ensure PRINTOBJDIR works 2158 * autoconf.mk: pass on CONFIGURE_ARGS 2159 * init.mk: handle COPTS.${.IMPSRC:T} etc. 2160 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION 2161 fix handling of symlinks for darwin 2162 * libnames.mk: add DSHLIBEXT for libs which only exist as shared. 2163 * man.mk: suppress chown when not root. 2164 * rst2htm.mk: allow srcs from multiple locations. 2165 * sys.mk: M_whence, stop after 1st line of output. 2166 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT 2167 * sys/SunOS.mk: we need to export PATH 2168 21692009-12-23 Simon J. Gerraty <sjg@void.crufty.net> 2170 2171 * install-mk (MK_VERSION): bump version 2172 include rst2htm.mk 2173 21742009-12-17 Simon J. Gerraty <sjg@void.crufty.net> 2175 2176 * sys.mk,libnames.mk add .-include <local.*> 2177 this allows local customization without the need to edit the 2178 distributed files. 2179 21802009-12-14 Simon J. Gerraty <sjg@void.crufty.net> 2181 2182 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up 2183 older versions already installed. 2184 21852009-12-13 Simon J. Gerraty <sjg@void.crufty.net> 2186 2187 * stage.mk (.stage-install): generalize lib.mk's .libinstall 2188 * rules.mk rules for generic Makefile. 2189 * inc.mk install for includes. 2190 21912009-12-11 Simon J. Gerraty <sjg@void.crufty.net> 2192 2193 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check 2194 this, so provide it if using native make. 2195 21962009-12-10 Simon J. Gerraty <sjg@void.crufty.net> 2197 2198 * FILES: move all the platform *.sys.mk files to sys/*.mk 2199 * Rename Generic.sys.mk to sys.mk - we always want it. 2200 22012009-11-17 Simon J. Gerraty <sjg@void.crufty.net> 2202 2203 * install-mk (MK_VERSION): bump version 2204 * host-target.mk: only export the expensive stuff 2205 * Generic.sys.mk (sys_mk): for SunOS we need to look for 2206 ${HOST_OS}.${HOST_OSMAJOR} too! 2207 22082009-11-07 Simon J. Gerraty <sjg@void.crufty.net> 2209 2210 * install-mk (MK_VERSION): bump version 2211 * lib.mk: if sys.mk doesn't give us an lorder, don't use it. 2212 based on patch from Greg Olszewski. 2213 * Generic.sys.mk: if we have nothing to work with 2214 set LORDER etc only if we can find it. 2215 22162009-09-08 Simon J. Gerraty <sjg@void.crufty.net> 2217 2218 * install-mk (MK_VERSION): bump version 2219 * man.mk: cleanman: remove CLEANMAN if defined. 2220 22212009-09-04 Simon J. Gerraty <sjg@void.crufty.net> 2222 2223 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk 2224 22252009-07-17 Simon J. Gerraty <sjg@void.crufty.net> 2226 2227 * install-mk (MK_VERSION): bump version 2228 include auto.obj.mk 2229 2230 22312009-03-26 Simon J. Gerraty <sjg@void.crufty.net> 2232 2233 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail. 2234 22352008-11-11 Simon J. Gerraty <sjg@void.crufty.net> 2236 2237 * install-mk (MK_VERSION): bump version 2238 man.mk: ensure we generate *.cat1 etc in . 2239 22402008-07-16 Simon J. Gerraty <sjg@void.crufty.net> 2241 2242 * install-mk (MK_VERSION): bump version 2243 add prlist.mk 2244 22452007-11-25 Simon J. Gerraty <sjg@void.crufty.net> 2246 2247 * Generic.sys.mk: Allow os specific sys.mk to be in a 2248 subdir of ${.PARSEDIR} 2249 22502007-11-22 Simon J. Gerraty <sjg@void.crufty.net> 2251 2252 * install-mk (MK_VERSION): bump version 2253 * general cleanup 2254 * dpadd.mk introduce DPMAGIC_LIBS_* 2255 22562007-04-30 Simon J. Gerraty <sjg@void.crufty.net> 2257 2258 * install-mk (MK_VERSION): bump version 2259 2260 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog 2261 depend files and ensure clean is called for each lib/prog. 2262 22632007-03-27 Simon J. Gerraty <sjg@void.crufty.net> 2264 2265 * autodep.mk (.depend): delete lines that do not start with 2266 space and do not contain ':' 2267 22682007-02-16 Simon J. Gerraty <sjg@void.crufty.net> 2269 2270 * autodep.mk (.depend): gcc may wrap lines if pathnames are long 2271 so make sure the transform for .OPTIONAL copes. 2272 22732007-02-03 Simon J. Gerraty <sjg@void.crufty.net> 2274 2275 * install-mk (MK_VERSION): bump version 2276 2277 * own.mk: make sure RM and LN are defined. 2278 2279 * obj.mk: fix a typo, and objlink target. 2280 22812006-12-30 Simon J. Gerraty <sjg@void.crufty.net> 2282 2283 * install-mk (MK_VERSION): bump version 2284 * added libs.mk - analogous to progs.mk 2285 make both of them always inlcude {lib,prog}.mk 2286 22872006-12-28 Simon J. Gerraty <sjg@void.crufty.net> 2288 2289 * progs.mk: add a means of building multiple apps in one dir. 2290 22912006-11-26 Simon J. Gerraty <sjg@void.crufty.net> 2292 2293 * install-mk (MK_VERSION): bump version to 20061126 2294 2295 * warnings.mk: detect invalid WARNINGS_SET 2296 2297 * warnings.mk: use ${.TARGET:T:R}.o when looking for target 2298 specific warnings. 2299 2300 * For .cc sources, turn off warnings that g++ vomits on. 2301 23022006-11-08 Simon J. Gerraty <sjg@void.crufty.net> 2303 2304 * own.mk: if __initialized__ target doesn't exist and we are 2305 FreeBSD we got here directly from sys.mk 2306 23072006-11-06 Simon J. Gerraty <sjg@void.crufty.net> 2308 2309 * install-mk (MK_VERSION): bump version to 20061106 2310 add scripts.mk 2311 23122006-03-18 Simon J. Gerraty <sjg@void.crufty.net> 2313 2314 * install-mk (MK_VERSION): bump version to 20060318 2315 2316 * autodep.mk: avoid := when modifying OBJS into __dependsrcs 2317 23182006-03-02 Simon J. Gerraty <sjg@void.crufty.net> 2319 2320 * install-mk (MK_VERSION): bump version to 20060302 2321 * autodep.mk: use -MF et al to help gcc+ccache DTRT. 2322 23232006-03-01 Simon J. Gerraty <sjg@void.crufty.net> 2324 2325 * install-mk (MK_VERSION): bump version to 20060301 2326 * autodep.mk (.depend): 2327 if MAKE_VERSION is newer than 20050530 we can make .END depend on 2328 .depend and make .depend depend on __depsrcs that exist. 2329 * dpadd.mk: add SRC_PATHADD 2330 23312005-11-04 Simon J. Gerraty <sjg@void.crufty.net> 2332 2333 * install-mk (MK_VERSION): bump version to 20051104 2334 * prog.mk: remove all the LIBC?= junk, use 2335 .-include libnames.mk instead (none by default). 2336 also if USE_DPADD_MK is set, include that. 2337 23382005-10-09 Simon J. Gerraty <sjg@void.crufty.net> 2339 2340 * install-mk (MK_VERSION): bump version to 20051001 2341 Add UnixWare.sys.mk from Klaus Heinz. 2342 23432005-04-05 Simon J. Gerraty <sjg@void.crufty.net> 2344 2345 * install-mk: always install *.sys.mk and if need be symlink one 2346 to sys.mk 2347 23482005-03-22 Simon J. Gerraty <sjg@void.crufty.net> 2349 2350 * subdir.mk, own.mk: use .MAKE rather than MAKE 2351 23522004-02-15 Simon J. Gerraty <sjg@void.crufty.net> 2353 2354 * own.mk: don't use NetBSD's _SRC_TOP_ it can 2355 cause confusion. Also don't take just 'mk' as a 2356 srctop indicator. 2357 23582004-02-14 Simon J. Gerraty <sjg@void.crufty.net> 2359 2360 * warnings.mk: overhauled, now very powerful. 2361 23622004-02-03 Simon J. Gerraty <sjg@void.crufty.net> 2363 2364 * Generic.sys.mk: need to use ${.PARSEDIR} with exists(). 2365 23662004-02-01 Simon J. Gerraty <sjg@void.crufty.net> 2367 2368 * install-mk (MK_VERSION): bump version to 20040201 2369 * extract HOST_TARGET stuff to host-target.mk so own.mk and 2370 Generic.sys.mk can share. 2371 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR. 2372 23732003-09-30 Simon J. Gerraty <sjg@void.crufty.net> 2374 2375 * install-mk (MK_VERSION): 20030930 2376 * rename generic.sys.mk to Generic.sys.mk 2377 so that it does not get installed (unless being used as sys.mk) 2378 * set OS and ROOT_GROUP for those that we know the value. 2379 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so 2380 we don't do it again for each sub-make. 2381 23822003-09-28 Simon J. Gerraty <sjg@void.crufty.net> 2383 2384 * install-mk (MK_VERSION): 20030928 2385 Add some extra *.sys.mk from bootstrap-pkgsrc 2386 some of these likely still need work. 2387 Make everything default to root:wheel ownership, 2388 sys.mk can set ROOT_GROUP accordingly. 2389 23902003-08-07 Simon J. Gerraty <sjg@void.crufty.net> 2391 2392 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR 2393 not the portable ones. 2394 23952003-07-31 Simon J. Gerraty <sjg@void.crufty.net> 2396 2397 * install-mk: add ability to use cp -f when updating 2398 destination .mk files. Also now possible to play games with 2399 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk 2400 into dest - not recommended unless you seriously want to. 2401 24022003-07-28 Simon J. Gerraty <sjg@void.crufty.net> 2403 2404 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc 2405 for semi-compatability with NetBSD. 2406 24072003-07-23 Simon J. Gerraty <sjg@void.crufty.net> 2408 2409 * install-mk: add a version indicator 2410 24112003-07-22 Simon J. Gerraty <sjg@void.crufty.net> 2412 2413 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null 2414 2415 * install-mk: Allow FORCE_SYS_MK to come from env 2416 2417 2418 2419