12024-04-24 Simon J Gerraty <sjg@beast.crufty.net> 2 3 * meta.autodep.mk: do not override start_utc 4 52024-04-18 Simon J Gerraty <sjg@beast.crufty.net> 6 7 * sys.dirdeps.mk: set defaults for DEP_* at level 0 too. 8 These help when first include of Makefile.depend happens in a leaf 9 dir. 10 11 * install-mk (MK_VERSION): 20240414 12 132024-04-09 Simon J Gerraty <sjg@beast.crufty.net> 14 15 * install-mk (MK_VERSION): 20240408 16 17 * init.mk: allow for _ as well as . to join V 18 and Q from QUALIFIED_VAR_LIST and VAR_QUALIFIER_LIST. 19 20 * progs.mk: avoid overlap between PROG_VARS and 21 init.mk's QUALIFIED_VAR_LIST since PROG would also 22 match its VAR_QUALIFIER_LIST, 23 libs.mk does not have the same issue. 24 25 * subdir.mk: _SUBDIRUSE for realinstall should run install 26 remove include of ${.CURDIR}/Makefile.inc that can be done via 27 local.subdir.mk where needed 28 29 * own.mk: do not conflict with man.mk 30 312024-03-19 Simon J Gerraty <sjg@beast.crufty.net> 32 33 * install-mk (MK_VERSION): 20240314 34 35 * add sys/Cygwin.mk from Christian Franke 36 372024-03-09 Simon J Gerraty <sjg@beast.crufty.net> 38 39 * install-mk (MK_VERSION): 20240309 40 41 * meta.sys.mk: _metaError: if .ERROR_EXIT == 6, we do not 42 want to save the .ERROR_META_FILE 43 442024-02-20 Simon J Gerraty <sjg@beast.crufty.net> 45 46 * install-mk (MK_VERSION): 20240220 47 48 * sys.dirdeps.mk, dirdeps-targets.mk, init.mk: 49 do not set .MAIN: dirdeps in sys.dirdeps.mk 50 dirdeps-targets.mk will do that for top-level builds 51 and init.mk will do it for others. 52 This allows a Makefile which has no need of 'dirdeps' to 53 set .MAIN for itself and "just work". 54 552024-02-18 Simon J Gerraty <sjg@beast.crufty.net> 56 57 * bsd.*.mk: for makefiles that get a bsd. symlink, 58 use _this in multiple inclusion tags since .PARSEFILE will not 59 DTRT when such a makefile is included directly by Makefile and 60 automatically (without bsd. prefix). 61 Since we cannot guarantee that our sys.mk will be used, we provide 62 a default _this in each makefile that gets a bsd. prefix such that 63 the value is the same regardless of bsd. prefix. 64 65 * subdir.mk: drop the !target guard on $SUBDIR_TARGETS 66 672024-02-12 Simon J Gerraty <sjg@beast.crufty.net> 68 69 * install-mk (MK_VERSION): 20240212 70 71 * SPDX-License-Identifier: BSD-2-Clause 72 Add SPDX-License-Identifier to inidicate that I consider 73 my copyright on any of these makefiles equivalent to BSD-2-Clause 74 75 * autoconf.mk: allow for configure.ac as currently recommended 76 77 * subdir.mk: support @auto 78 which is replaced with each subdir that 79 has a [Mm]akefile. 80 81 * subdir.mk: include local.subdir.mk if it exists. 82 83 * subdir.mk: rework to handle .WAIT 84 852024-02-11 Simon J Gerraty <sjg@beast.crufty.net> 86 87 * subdir.mk: _SUBDIRUSE report the target we are entering subdirs for. 88 892024-02-10 Simon J Gerraty <sjg@beast.crufty.net> 90 91 * prog.mk: treat empty SRCS the same as undefined 92 932024-02-02 Simon J Gerraty <sjg@beast.crufty.net> 94 95 * Avoid undefined errors in lint (-dL) mode 96 97 * man.mk (CMT2DOC_FLAGS): note that -mm does mdoc(7) 98 992024-01-28 Simon J Gerraty <sjg@beast.crufty.net> 100 101 * install-mk (MK_VERSION): 20240128 102 103 * FILES: add ccm.dep.mk for C++ modules 104 add suffixes.mk for common location for generic SUFFIX rules. 105 106 * auto.dep.mk autodep.mk meta.autodep.mk: include ccm.dep.mk 107 replace OBJ_EXTENSIONS with OBJ_SUFFIXES 108 109 * autodep.mk: leverage CXX_SUFFIXES for __depsrcs 110 and update style (spaces around = etc) 111 112 * init.mk: add OBJS_SRCS_FILTER to filter SRCS when 113 setting OBJS 114 115 * meta2deps.py: handle multiple ./ embedded in path better. 116 1172024-01-05 Simon J Gerraty <sjg@beast.crufty.net> 118 119 * install-mk (MK_VERSION): 20240105 120 * dirdeps.mk: for MAKE_VERSION 20240105 we do not have the same 121 limits on command line length, so skip export of lists to env. 122 1232023-12-24 Simon J Gerraty <sjg@beast.crufty.net> 124 125 * man.mk: add logic for staging man pages 126 1272023-11-28 Simon J Gerraty <sjg@beast.crufty.net> 128 129 * jobs.mk: avoid C suffix in JOB_MAX_C if factor is floating 130 point. This keeps JOB_MAX numeric incase another makefile does 131 comparisons. 132 1332023-11-04 Simon J Gerraty <sjg@beast.crufty.net> 134 135 * dpadd.mk: add support for DPLIBS_QUALIFIER_LIST 136 137 * gendirdeps.mk: if META_XTRAS is passed to us, add to META_FILES 138 1392023-10-03 Simon J Gerraty <sjg@beast.crufty.net> 140 141 * compiler.mk (COMPILER_VERSION): clang at least is into 142 double digit major versions. 143 1442023-10-02 Simon J Gerraty <sjg@beast.crufty.net> 145 146 * install-mk (MK_VERSION): 20231001 147 148 * set _CCLINK in init.mk so lib.mk can use it for default SHLIB_LD 149 150 * lib.mk (cleanlib): use LD_solink so we remove all the right files. 151 Use -Wl for -soname since we now default to linking with CC 152 We should not need SHLIB_LDSTARTFILE or SHLIB_LDENDFILE when linking 153 with CC. 154 1552023-09-24 Simon J Gerraty <sjg@beast.crufty.net> 156 157 * init.mk (QUALIFIED_VAR_LIST): Add SRCS 158 1592023-09-09 Simon J Gerraty <sjg@beast.crufty.net> 160 161 * jobs.mk (JOB_MAX): use -jC if we can 162 we actually use JOB_MAX_C which defaults to 1.33C 163 1642023-08-18 Simon J Gerraty <sjg@beast.crufty.net> 165 166 * now_utc: %s only works with :localtime 167 1682023-07-14 Simon J Gerraty <sjg@beast.crufty.net> 169 170 * install-sh: ignore -c as claimed and only insist on 171 a directory for destination when more than one file to copy. 172 173 * sys.mk: when looking for SYS_OS_MK try ${.MAKE.OS} and 174 ${.MAKE.OS:S,64,,} early (so we find sys/IRIX.mk for IRIX64) 175 1762023-07-13 Simon J Gerraty <sjg@beast.crufty.net> 177 178 * install-mk (MK_VERSION): 20230711 179 180 * sys.mk: set SYS_MK and INSTALL_SH for systems with incompatible 181 install(1) 182 183 * sys/IRIX.mk: when setting ROOT_GROUP only match the first :0: 184 set INSTALL to install-sh rather than pathname that may not exist 185 (yet). 186 1872023-07-07 Simon J Gerraty <sjg@beast.crufty.net> 188 189 * dirdeps.mk: pass DIRDEP_TARGETS to DIRDEP_MAKE 190 normally this is empty - for the default target, but there are 191 use-cases where we might set it to something else. 192 1932023-07-04 Simon J Gerraty <sjg@beast.crufty.net> 194 195 * install-mk (MK_VERSION): 20230704 196 197 * dirdeps.mk: apply DEBUG_DIRDEPS_LIST_FILTER to lists we output 198 when DEBUG_DIRDEPS is in effect. 199 Eg. DEBUG_DIRDEPS_LIST_FILTER=ts\n 200 can greatly improve readability. 201 2022023-05-25 Simon J Gerraty <sjg@beast.crufty.net> 203 204 * meta.autodep.mk (beforegendirdeps): allow tasks to be done 205 at END but before gendirdeps 206 2072023-05-22 Simon J Gerraty <sjg@beast.crufty.net> 208 209 * install-mk (MK_VERSION): 20230522 210 211 * host-target.mk: deal with garbage from uname -m on 212 Darwin ppc, also NetBSD appears to use x86_64 for MACHINE_ARCH 213 these days so just leave it be. 214 For Darwin arm and i386 use _HOST_MACHINE for _HOST_ARCH so we get 215 arm64 and x86_64 in HOST_TARGET. 216 2172023-05-15 Simon J Gerraty <sjg@beast.crufty.net> 218 219 * sys.vars.mk: M_mtime use :mtime or 'stat -f %m' for older 220 versions of bmake. 221 222 * dirdeps.mk (TARGET_SPEC_VARS.host): 223 While *most* projects need only DEP_MACHINE for host, 224 there is always an exception. So we allow for 225 TARGET_SPEC_VARS.host to be a subset of TARGET_SPEC_VARS. 226 The default will *just work* for most projects. 227 We set DEP_TARGET_SPEC_VARS and hence DEP_TARGET_SPEC 228 based on DEP_MACHINE. 229 Allow for M_dep_qual_fixes.host to be different too 230 and take care to apply the right set. 231 2322023-05-14 Simon J Gerraty <sjg@beast.crufty.net> 233 234 * sys.dirdeps.mk: we *do* want to override OBJTOP 235 and if MAKEOBJDIR was not in env as we want it; 236 put it there - carefully. 237 Ensure OBJROOT ends in / or - (/ preferred) 238 Add more comments to explain what/why. 239 2402023-05-13 Simon J Gerraty <sjg@beast.crufty.net> 241 242 * install-mk (MK_VERSION): 20230512 243 244 * dirdeps.mk: take care not to qualify "host" dirdeps 245 246 * sys.dirdeps.mk (OBJTOP): must use ?= 247 2482023-05-10 Simon J Gerraty <sjg@beast.crufty.net> 249 250 * meta.autodep.mk: if LOCAL_DEPENDS_GUARD is "no" 251 suppress processing of .depend 252 2532023-05-09 Simon J Gerraty <sjg@beast.crufty.net> 254 255 * dirdeps.mk: do not add _CURDIR to DIRDEPS for SRCTOP 256 257 * meta.sys.mk sys.dirdeps.mk: 258 originally DIRDEPS_BUILD and META_MODE were the same thing, 259 but META_MODE is useful by itself. 260 Move things from meta.sys.mk which actually pertain to 261 DIRDEPS_BUILD to sys.dirdeps.mk 262 2632023-05-04 Simon J Gerraty <sjg@beast.crufty.net> 264 265 * install-mk (MK_VERSION): 20230504 May the Forth be with you 266 267 * dirdeps.mk: as with meta.sys.mk we treat "host" as special. 268 DEP_TARGET_SPEC is just ${DEP_MACHINE} 269 270 * meta.sys.mk: ensure DEP_* for TARGET_SPEC_VARS are set at 271 level > 0 since these are often refered to in Makefile.depend* 272 2732023-04-26 Simon J Gerraty <sjg@beast.crufty.net> 274 275 * jobs.mk: report ${.TARGET} ${JOB_ARGS} ${JOB_LOG} and 276 anything in ${JOB_LOG_START} 277 278 * jobs.mk: look for newlog.sh in ${.SYSPATH:U${.PARSEDIR}} 279 or a scripts subdir before searching $PATH. 280 281 * FILES: include newlog.sh for jobs.mk 282 2832023-04-20 Simon J Gerraty <sjg@beast.crufty.net> 284 285 * install-mk (MK_VERSION): 20230420 286 287 * lib.mk: include LDFLAGS and LDADD when linking shared libs 288 289 * gendirdeps.mk: document setting GENDIRDEPS_FILTER_VARS etc 290 via local.meta.sys.mk rather than local.gendirdeps.mk 291 so DEP_* variables can be set at level 1+ to avoid syntax errors 292 when used in conditionals in manually maintained Makefile.depend 293 files. 294 295 * dirdeps.mk: ensure M_dep_qual_fixes is applied to all _machines 296 2972023-04-18 Simon J Gerraty <sjg@beast.crufty.net> 298 299 * dirdeps.mk: check we were not included by 300 Makefile.depend.options as the result is bad. 301 3022023-04-14 Simon J Gerraty <sjg@beast.crufty.net> 303 304 * install-mk (MK_VERSION): 20230414 305 306 * meta.sys.mk: since we have :range we can put the logic for 307 processing TARGET_SPEC from env here. 308 309 * dirdeps.mk: reset DIRDEPS and DEP_RELDIR before including 310 local.dirdeps-missing.mk, also improve debug output. 311 312 * dirdeps.mk: to allow make -f dirdeps.mk include.$TARGET_SPEC 313 we need to use :M*[/.]* same as for when actually setting DIRDEPS 314 from the targets on command line. 315 3162023-04-12 Simon J Gerraty <sjg@beast.crufty.net> 317 318 * Add jobs.mk 319 3202023-03-21 Simon J Gerraty <sjg@beast.crufty.net> 321 322 * install-mk (MK_VERSION): 20230321 323 324 * meta.stage.mk: allow STAGE_SHLIB_LINKS_FILTER to filter 325 STAGE_LIBS for SHLIB_LINKS. 326 327 * autoconf.mk: add .WAIT after config.status 328 3292023-02-17 Simon J Gerraty <sjg@beast.crufty.net> 330 331 * sys.vars.mk: add M_Index to report the index of a word in a list. 332 3332023-02-15 Simon J Gerraty <sjg@beast.crufty.net> 334 335 * install-mk (MK_VERSION): 20230215 336 337 * warnings.mk: allow better control of -Werror 338 allow -Wno-error or similar to be added if 339 WARNINGS_SET < WERROR_SET 340 account for COMPILER_TYPE 341 3422023-01-29 Simon J Gerraty <sjg@beast.crufty.net> 343 344 * autoconf.mk: hook config.status to beforebuild. 345 346 * whats.mk: what*.c is NOTMAIN 347 3482023-01-27 Simon J Gerraty <sjg@beast.crufty.net> 349 350 * install-mk (MK_VERSION): 20230127 351 control umask so directories are created with suitable mode. 352 3532023-01-20 Simon J Gerraty <sjg@beast.crufty.net> 354 355 * install-mk (MK_VERSION): 20230120 356 357 * sys.vars.mk: add M_On and M_Onr also cleanup to be more 358 consistent wrt testing MAKE_VERSION 359 3602023-01-12 Simon J Gerraty <sjg@beast.crufty.net> 361 362 * install-mk (MK_VERSION): 20230112 363 364 * meta2deps.{py,sh}: assert if filemon data is truncated 365 we should see the '# Bye bye' record - assert if we do not. 366 3672022-09-09 Simon J Gerraty <sjg@beast.crufty.net> 368 369 * install-mk (MK_VERSION): 20220909 370 371 * sys/Linux.mk set EGREP to grep -E to avoid deprecation warnings 372 3732022-09-06 Simon J Gerraty <sjg@beast.crufty.net> 374 375 * dirdeps-options.mk: explain the need to use 376 ${DEP_${TARGET_SPEC_VAR}:U${TARGET_SPEC_VAR}} when refering to 377 ${TARGET_SPEC_VAR} 378 3792022-09-03 Simon J Gerraty <sjg@beast.crufty.net> 380 381 * install-mk (MK_VERSION): 20220903 382 383 * M_cmpv handle more than 3 dots and clear leading 0's 384 3852022-07-20 Simon J Gerraty <sjg@beast.crufty.net> 386 387 * install-mk (MK_VERSION): 20220720 388 389 * prog.mk: handle PROG_CXX for more than just NetBSD 390 3912022-06-20 Simon J Gerraty <sjg@beast.crufty.net> 392 393 * install-mk (MK_VERSION): 20220620 394 395 * yacc.mk: when we have *.y in SRCS used explicit rules and .ORDER 396 rather than just suffix rules 397 3982022-04-23 Simon J Gerraty <sjg@beast.crufty.net> 399 400 * install-mk (MK_VERSION): 20220422 401 402 * gendirdeps.mk: If LOCAL_DEPENDS_GUARD is set to "no" 403 do not capture any local depends in Makefile.depend 404 4052022-03-25 Simon J Gerraty <sjg@beast.crufty.net> 406 407 * install-mk (MK_VERSION): 20220323 408 * posix.mk: default rules for .POSIX: 409 4102022-03-17 Simon J Gerraty <sjg@beast.crufty.net> 411 412 * sys/*.mk: remove l from ARFLAGS 413 4142022-03-14 Simon J Gerraty <sjg@beast.crufty.net> 415 416 * install-mk (MK_VERSION): 20220314 417 418 * dirdeps-options.mk: allow options to be per RELDIR 419 try DIRDEPS_OPTIONS_QUALIFIER_LIST first prefixed 420 with ${DEP_RELDIR}. 421 4222022-02-14 Simon J Gerraty <sjg@beast.crufty.net> 423 424 * install-mk (MK_VERSION): 20220214 425 426 * cc-wrap.mk: fix :@ modifier 427 4282022-02-06 Simon J Gerraty <sjg@beast.crufty.net> 429 430 * install-mk (MK_VERSION): 20220206 431 432 * cc-wrap.mk: docuement how CCACHE etc might be set for 433 maximum flexibility 434 4352022-02-05 Simon J Gerraty <sjg@beast.crufty.net> 436 437 * sys.vars.mk: use JOT_CMD (jot or seq) if available for M_JOT 438 4392022-02-04 Simon J Gerraty <sjg@beast.crufty.net> 440 441 * install-mk (MK_VERSION): 20220204 442 443 * host-target.mk: use .MAKE.OS if available 444 4452022-02-02 Simon J Gerraty <sjg@beast.crufty.net> 446 447 * install-mk (MK_VERSION): 20220202 448 449 * cc-wrap.mk: allow other entries in CC_WRAP_FILTER 450 We add our filter on extensions last, so prior filters 451 can apply to the whole value of .IMPSRC 452 4532022-02-01 Simon J Gerraty <sjg@beast.crufty.net> 454 455 * cc-wrap.mk: take advantage of target local variables to 456 wrap compilers like CC CXX with wrappers like ccache distcc etc 457 4582022-01-28 Simon J Gerraty <sjg@beast.crufty.net> 459 460 * meta2deps: we do not expect any trace data for setid apps 461 4622022-01-26 Simon J Gerraty <sjg@beast.crufty.net> 463 464 * dirdeps.mk: ensure TARGET_SPEC and TARGET_SPEC_VARS are passed 465 to sub-make using DIRDEPS_CACHE 466 4672022-01-07 Simon J Gerraty <sjg@beast.crufty.net> 468 469 * dirdeps.mk: use _cache_script to minimize the number of shells 470 forked when generating dirdeps.cache 471 4722022-01-02 Simon J Gerraty <sjg@beast.crufty.net> 473 474 * install-mk (MK_VERSION): 20220101 475 476 * dirdeps.mk: initialize DEP_* and _debug_reldir earlier. 477 If initial DIRDEPS are from command line, create the target 478 _dirdeps_cmdline as an indication. 479 4802022-01-01 Simon J Gerraty <sjg@beast.crufty.net> 481 482 * init.mk (_SKIP_BUILD): when doing DIRDEPS_BUILD 483 at top-level only some targets are allowed at level 0, 484 for leaf makefiles only the default (all) target is restricted 485 4862021-12-28 Simon J Gerraty <sjg@beast.crufty.net> 487 488 * install-mk (MK_VERSION): 20211228 489 490 * meta2deps.py: filemon on Linux is not as reliable as we might 491 like, we do not want to update DIRDEPS if filemon output is 492 incomplete. Track pids that we 'E'xec and make sure we see an 493 e'X'it for each one. Throw an error if we are missing any 'X' 494 records. 495 4962021-12-12 Simon J Gerraty <sjg@beast.crufty.net> 497 498 * sys.mk: simplify; include meta.sys.mk if MK_META_MODE is yes. 499 500 * meta.sys.mk: do not check for /dev/filemon if .MAKE.PATH_FILEMON 501 is something else. 502 503 * meta.autodep.mk: we can now reference ${.SUFFIXES} 504 505 * meta2deps.py: derive a list of dirdep extensions from 506 TARGET_SPEC to trim from dirdeps. 507 508 * dirdeps.mk: flip the computation of qualified vs unqualified 509 dirdeps - it is much simpler to check for unqualified first. 510 5112021-12-11 Simon J Gerraty <sjg@beast.crufty.net> 512 513 * install-mk (MK_VERSION): 20211212 514 515 * auto.dep.mk: rearrange so that the trivial implementation 516 for recent bmake is more obvious. 517 5182021-12-07 Simon J Gerraty <sjg@beast.crufty.net> 519 520 * install-mk (MK_VERSION): 20211207 521 522 * Ensure guard targets are .NOTMAIN 523 524 * meta.sys.mk: check for nofilemon support when we skip level 0 525 526 * auto.dep.mk: make this usable in meta mode 527 for platforms that cannot use meta.autodep.mk 528 529 * meta2deps.py: avoid confusion if MACHINE and another 530 TARGET_SPEC_VAR have same value. 531 5322021-11-27 Simon J Gerraty <sjg@beast.crufty.net> 533 534 * dirdeps.mk: when building dirdeps.cache, minimize the amount of 535 data put into env, by stripping ${SRCTOP}/ from each entry. 536 A long sandbox name can double the amount of memory consumed and 537 in extreme cases cause failure. 538 While we are at it, strip ${SRCTOP}/ from a lot of the debug output. 539 5402021-11-11 Simon J Gerraty <sjg@beast.crufty.net> 541 542 * install-mk (MK_VERSION): 20211111 543 544 * meta.stage.mk (LN_CP_SCRIPT): if staging to NFS cp -p can fail 545 so fallback to cp if necessary. 546 5472021-10-30 Simon J Gerraty <sjg@beast.crufty.net> 548 549 * man.mk (CMT2DOC): use cmt2doc.py rather than the 30 year 550 old cmt2doc.pl 551 5522021-10-24 Simon J Gerraty <sjg@beast.crufty.net> 553 554 * meta.stage.mk: stage_as_and_symlink use ${STAGE_LINK_AS_$f:U$f} 555 as the symlink (rare) 556 5572021-10-16 Simon J Gerraty <sjg@beast.crufty.net> 558 559 * autoconf.mk: if AUTOCONF_GENERATED_MAKEFILE is set and has not 560 been read, throw an error after running configure telling user to 561 restart. 562 5632021-10-13 Simon J Gerraty <sjg@beast.crufty.net> 564 565 * install-mk (MK_VERSION): 20211011 566 567 * Add support for SCO_SV 568 5692021-10-01 Simon J Gerraty <sjg@beast.crufty.net> 570 571 * install-mk (MK_VERSION): 20211001 572 573 * man.mk: use MAN_SUFFIXES and CMT2DOC_SUFFIXES for more 574 flexibility 575 5762021-09-13 Simon J Gerraty <sjg@beast.crufty.net> 577 578 * options.mk (describe-options): print options and their values 579 and optional description 580 5812021-09-11 Simon J Gerraty <sjg@beast.crufty.net> 582 583 * install-mk (MK_VERSION): 20210911 584 585 * options.mk (show-options): print options and their values 586 5872021-09-08 Simon J Gerraty <sjg@beast.crufty.net> 588 589 * install-mk (MK_VERSION): 20210909 590 591 * lib.mk: apply patch from <daniel@octaforge.org> 592 to fix shared libs on Linux 593 5942021-08-08 Simon J Gerraty <sjg@beast.crufty.net> 595 596 * install-mk (MK_VERSION): 20210808 597 598 * options.mk: issue warning for WITH_*=no 599 6002021-06-16 Simon J Gerraty <sjg@beast.crufty.net> 601 602 * install-mk (MK_VERSION): 20210616 603 604 * dirdeps.mk: when using .MAKE.DEPENDFILE_PREFERENCE to find 605 depend files to read, anchor MACHINE at , or end of string 606 to avoid prefix match. 607 6082021-05-04 Simon J Gerraty <sjg@beast.crufty.net> 609 610 * install-mk (MK_VERSION): 20210504 611 612 * dirdeps.mk: re-implement ALL_MACHINES support to better 613 cater for local complexities, when ONLY_TARGET_SPEC_LIST 614 is not set. local.dirdeps.mk can set 615 DIRDEPS_ALL_MACHINES_FILTER and/or 616 DIRDEPS_ALL_MACHINES_FILTER_XTRAS to filter the results we get 617 from listing all existing Makefile.depend.* 618 6192021-04-20 Simon J Gerraty <sjg@beast.crufty.net> 620 621 * install-mk (MK_VERSION): 20210420 622 623 * dirdeps.mk: revert previous - not always safe. 624 6252021-03-20 Simon J Gerraty <sjg@beast.crufty.net> 626 627 * install-mk (MK_VERSION): 20210321 628 629 * dirdeps.mk: when generating dirdeps.cache 630 we only need to hook the initial DIRDEPS to the 631 dirdeps target. That and any _build_xtra_dirs (like tests which 632 should not be hooked directly to the dependency graph - to avoid 633 cycles) 634 6352021-01-30 Simon J Gerraty <sjg@beast.crufty.net> 636 637 * install-mk (MK_VERSION): 20210130 638 639 * dirdeps.mk: expr 2 - 1 - 1 exits with a bad status 640 we need to guard against this in DIRDEP_LOADAVG_REPORT. 641 642 * dirdeps.mk: restore respect for TARGET_MACHINE 643 6442021-01-06 Simon J Gerraty <sjg@beast.crufty.net> 645 646 * install-mk (MK_VERSION): 20210101 647 648 * dirdeps.mk: first time we are read, just use TARGET_SPEC for 649 _DEP_TARGET_SPEC 650 6512020-12-22 Simon J Gerraty <sjg@beast.crufty.net> 652 653 * sys.mk (MAKE_SHELL): use ${.SHELL:Ush} 654 and use := when setting SHELL 655 6562020-12-21 Simon J Gerraty <sjg@beast.crufty.net> 657 658 * install-mk (MK_VERSION): 20201221 659 660 * dirdeps-options.mk: latest bmake allows only one arg to .undef 661 6622020-12-11 Simon J Gerraty <sjg@beast.crufty.net> 663 664 * dirdeps-targets.mk: allow for "." in DIRDEPS_TARGETS_DIRS 665 so that any directory can be treated as a target. 666 6672020-11-26 Simon J Gerraty <sjg@beast.crufty.net> 668 669 * install-mk (MK_VERSION): 20201126 670 671 * own.mk: use .MAKE.{UID,GID} if available. 672 673 * init.mk: suppress _SKIP_BUILD warning if doing -V 674 6752020-11-20 Simon J Gerraty <sjg@beast.crufty.net> 676 677 * install-mk (MK_VERSION): 20201120 678 679 * init.mk: rename LEVEL0_TARGETS to DIRDEPS_BUILD_LEVEL0_TARGETS 680 681 * dirdeps-targets.mk: fix typo in comment 682 6832020-11-06 Simon J Gerraty <sjg@beast.crufty.net> 684 685 * install-mk (MK_VERSION): 20201106 686 687 * meta.autodep.mk: use OBJ_EXTENSIONS rather than hardcode sed 688 args to tweak extensions for local deps. 689 6902020-11-01 Simon J Gerraty <sjg@beast.crufty.net> 691 692 * install-mk (MK_VERSION): 20201101 693 694 * dirdeps.mk: most leaf makefiles are not suitable for building 695 dirdeps.cache so if RELDIR is not "." use dirdeps.mk 696 6972020-10-28 Simon J Gerraty <sjg@beast.crufty.net> 698 699 * install-mk (MK_VERSION): 20201028 700 701 * dirdeps.mk: if we don't have :range use equivalent of M_RANGE 702 when building dirdeps.cache for leaf directory use -f dirdeps.mk 703 704 * sys.vars.mk: add M_JOT and M_RANGE 705 7062020-10-01 Simon J Gerraty <sjg@beast.crufty.net> 707 708 * install-mk (MK_VERSION): 20201001 709 710 * meta2deps.{py,sh}: throw an error if we don't see filemon version 711 7122020-09-09 Simon J Gerraty <sjg@beast.crufty.net> 713 714 * install-mk (MK_VERSION): 20200909 715 716 * dirdeps-cache-update.mk: use cache_update_dirdep as guard target 717 7182020-08-26 Simon J Gerraty <sjg@beast.crufty.net> 719 720 * dirdeps.mk: ensure we cannot confuse a static cache for dynamic 721 (even more rare that use of static cache is playing clever tricks 722 with it) 723 7242020-08-16 Simon J Gerraty <sjg@beast.crufty.net> 725 726 * dirdeps-cache-update.mk: allow 727 MK_STATIC_DIRDEPS_CACHE_UPDATE_IMMEDIATE to control when we 728 actually update STATIC_DIRDEPS_CACHE. 729 730 * stage-install.sh: create dest directory if needed 731 before running install(1) 732 7332020-08-10 Simon J Gerraty <sjg@beast.crufty.net> 734 735 * dirdeps-targets.mk: include Makefile.dirdeps.options 736 737 * dirdeps.mk: use _TARGETS if defined for DIRDEPS_CACHE 738 7392020-08-09 Simon J Gerraty <sjg@beast.crufty.net> 740 741 * dirdeps.mk: default BUILD_DIRDEPS_MAKEFILE to empty 742 743 * dirdeps-cache-update.mk: building parallel cache update 744 under the context of dirdeps-cached would be ideal, but 745 is problematic, so it runs as a sibling. 746 Use cache-built target to ensure we wait for it to complete if 747 necessary. 748 7492020-08-06 Simon J Gerraty <sjg@beast.crufty.net> 750 751 * install-mk (MK_VERSION): 20200806 752 753 * dirdeps-options: allow TARGET_SPEC to affect option values. 754 Use DIRDEPS_OPTIONS_QUALIFIER_LIST before using bare MK_* 755 756 * dirdeps-targets.mk: check for MK_STATIC_DIRDEPS_CACHE defined 757 before looking for STATIC_DIRDEPS_CACHE 758 7592020-08-05 Simon J Gerraty <sjg@beast.crufty.net> 760 761 * host-target.mk: Darwin use MACHINE for HOST_ARCH too 762 763 * dirdeps-options.mk: improve debug output 764 7652020-07-22 Simon J Gerraty <sjg@beast.crufty.net> 766 767 * dirdeps.mk: set and export DYNAMIC_DIRDEPS_CACHE 768 for use by dirdeps-cache-update.mk 769 770 * dirdeps-targets.mk: set and export STATIC_DIRDEPS_CACHE 771 for use by dirdeps-cache-update.mk even if we don't use it. 772 773 * dirdeps-cache-update.mk: we only need worry about the background 774 update case, with the above, the update from DIRDEPS_CACHE is 775 simple. 776 777 * meta2deps.py: R 1234 . is not interesting 778 7792020-07-20 Simon J Gerraty <sjg@beast.crufty.net> 780 781 * sys.mk: default MK_STATIC_DIRDEPS_CACHE from MK_DIRDEPS_CACHE 782 783 * dirdeps-options.mk: do not :tu DIRDEPS_OPTIONS 784 allows use of lower case for pseudo options. 785 786 * dirdeps-cache-update.mk: magic to deal with STATIC_DIRDEPS_CACHE 787 7882020-07-18 Simon J Gerraty <sjg@beast.crufty.net> 789 790 * dirdeps-targets.mk: Look for Makefile.dirdeps.cache 791 which allows us to have a static cache for expensive targets. 792 Use -DWITHOUT_STATIC_DIRDEPS_CACHE -DWITH_DIRDEPS_CACHE 793 to regenerate the dirdeps.cache it is a copy of. 794 7952020-07-17 Simon J Gerraty <sjg@beast.crufty.net> 796 797 * Get rid of BUILD_AT_LEVEL0, MK_DIRDEPS_BUILD makes more sense. 798 7992020-07-16 Simon J Gerraty <sjg@beast.crufty.net> 800 801 * dirdeps.mk (DIRDEP_LOADAVG_REPORT): make it easy to record 802 load averages at intervals during build. 803 8042020-07-15 Simon J Gerraty <sjg@beast.crufty.net> 805 806 * install-mk (MK_VERSION): 20200715 807 808 * dirdeps.mk: tweak Checking line to make matching Finished 809 lines for post-build analysis easier. 810 811 * meta.autodep.mk: use !defined(WITHOUT_META_STATS) 812 813 * progs.mk: avoid prog.mk outputting multiple Finished lines 814 8152020-07-11 Simon J Gerraty <sjg@beast.crufty.net> 816 817 * dirdeps.mk: further optimize dirdeps.cache 818 generate a DIRDEPS.${.TARGET} list for other purposes 819 and improve the layout. 820 8212020-07-10 Simon J Gerraty <sjg@beast.crufty.net> 822 823 * dirdeps.mk: optimize content of dirdeps.cache 824 8252020-06-28 Simon J Gerraty <sjg@beast.crufty.net> 826 827 * sys/*.mk: make it easier for local*sys.mk to customize by 828 using ?= 829 8302020-06-22 Simon J Gerraty <sjg@beast.crufty.net> 831 832 * gendirdeps.mk (LOCAL_DEPENDS_GUARD): if we don't build at level 0 833 it is much safer to guard local depends with a simple check for 834 .MAKE.LEVEL > 0 835 8362020-06-10 Simon J Gerraty <sjg@beast.crufty.net> 837 838 * install-mk (MK_VERSION): 20200610 839 840 * mkopt.sh: this needs posix shell so #!/bin/sh should be ok 841 8422020-06-06 Simon J Gerraty <sjg@beast.crufty.net> 843 844 * install-mk (MK_VERSION): 20200606 845 846 * dirdeps-targets.mk: allow for filtering of .TARGETS 847 848 * meta2deps.py: fix bug in processing 'L'ink and 'M'ove 849 entries - and we don't care about 'W'rite entries. 850 Also ignore absolute paths that do not exist. 851 8522020-05-25 Simon J Gerraty <sjg@beast.crufty.net> 853 854 * install-mk (MK_VERSION): 20200525 855 856 * init.mk: expand and simplify handling of qualified vars 857 like CPPFLAGS.${.TARGET:T} 858 8592020-05-15 Simon J Gerraty <sjg@beast.crufty.net> 860 861 * install-mk (MK_VERSION): 20200515 862 863 * dirdeps.mk: set _debug_* earlier and allow passing -d* 864 flags to submake when building DIRDEPS_CACHE 865 8662020-05-09 Simon J Gerraty <sjg@beast.crufty.net> 867 868 * whats.mk: more easily extensible 869 8702020-05-02 Simon J Gerraty <sjg@beast.crufty.net> 871 872 * whats.mk: greatly simplify by adding what.c to SRCS 873 8742020-05-01 Simon J Gerraty <sjg@beast.crufty.net> 875 876 * whats.mk: for libs take care how we add to *OBJS 877 878 * lib.mk: : works better with whats.mk 879 8802020-04-25 Simon J Gerraty <sjg@beast.crufty.net> 881 882 * install-mk (MK_VERSION): 20200420 883 884 * meta.stage.mk: it is not a STAGE_CONFLICT if some-target.dirdep 885 contains the same ${RELDIR} and a prefix match for our ${TARGET_SPEC} 886 8872020-04-16 Simon J Gerraty <sjg@beast.crufty.net> 888 889 * install-mk (MK_VERSION): 20200416 890 891 * sys/*.mk: set MAKE_SHELL rather than SHELL so as not to 892 interfere with user env. 893 894 * sys.mk: default MAKE_SHELL to sh and SHELL to MAKE_SHELL 895 896 * autodep.mk: use MAKE_SHELL. 897 8982019-11-21 Simon J Gerraty <sjg@beast.crufty.net> 899 900 * gendirdeps.mk: clear .SUFFIXES to avoid a lot of 901 wasted effort, and unexport _meta_files when no longer needed as 902 it consumes space we need for command line. 903 9042019-11-11 Simon J Gerraty <sjg@beast.crufty.net> 905 906 * dirdeps.mk _DIRDEP_USE: use DIRDEP_DIR and add 907 DIRDEP_USE_PRELUDE at start - facilitates job distribution 908 9092019-10-04 Simon J Gerraty <sjg@beast.crufty.net> 910 911 * dirdeps-targets.mk: Use TARGET_SPEC_LAST_LIST 912 defaults to ${${TARGET_SPEC_VARS:[-1]}_LIST} to match valid 913 TARGET_SPEC qualified depend files. 914 9152019-10-02 Simon J Gerraty <sjg@beast.crufty.net> 916 917 * dirdeps-targets.mk: encapsulate logic for finding top-level 918 targets to set initial DIRDEPS for DIRDEPS_BUILD 919 9202019-09-27 Simon J Gerraty <sjg@beast.crufty.net> 921 922 * install-mk (MK_VERSION): 20190911 923 924 * compiler.mk: set COMPILER_TYPE 925 9262019-07-17 Simon J Gerraty <sjg@beast.crufty.net> 927 928 * install-mk (MK_VERSION): 20190704 929 930 * sys/Darwin.mk: support for Objective-C and clang 931 9322019-05-30 Simon J Gerraty <sjg@beast.crufty.net> 933 934 * dirdeps.mk: avoid insanely long command line when generating cache 935 9362019-05-23 Simon J Gerraty <sjg@beast.crufty.net> 937 938 * install-mk (MK_VERSION): 20190505 939 940 * whats.mk: handle corner case SHLIB defined but not LIB 941 9422018-09-19 Simon J Gerraty <sjg@beast.crufty.net> 943 944 * install-mk (MK_VERSION): 20180919 945 946 * dirdeps-options.mk: .undef cannot handle var that expands to 947 more than one var. 948 9492018-07-08 Simon J Gerraty <sjg@beast.crufty.net> 950 951 * meta.stage.mk: allow wildcards in STAGE_FILES.* etc. 952 9532018-06-01 Simon J Gerraty <sjg@beast.crufty.net> 954 955 * meta.autodep.mk: export META_FILES to avoid command line limit 956 * gendirdeps.mk: if we have lots of .meta files put them in 957 an @list 958 9592018-05-28 Simon J Gerraty <sjg@beast.crufty.net> 960 961 * dirdeps-options.mk: use local.dirdeps-options.mk 962 not local.dirdeps-option.mk 963 9642018-04-20 Simon J Gerraty <sjg@beast.crufty.net> 965 966 * install-mk (MK_VERSION): 20180420 967 * dirdeps.mk: include local.dirdeps-build.mk when .MAKE.LEVEL > 0 968 ie. we are building something. 969 9702018-04-14 Simon J Gerraty <sjg@beast.crufty.net> 971 972 * FILES: add dirdeps-options.mk to deal with optional DIRDEPS. 973 9742018-04-05 Simon J Gerraty <sjg@beast.crufty.net> 975 976 * install-mk (MK_VERSION): 20180405 977 978 * ldorder.mk: describe how to use LDORDER_EXTERN_BARRIER 979 if needed. 980 9812018-01-18 Simon J Gerraty <sjg@beast.crufty.net> 982 983 * install-mk (MK_VERSION): 20180118 984 985 * ldorder.mk: let make compute correct link order 986 9872017-12-12 Simon J Gerraty <sjg@beast.crufty.net> 988 989 * install-mk (MK_VERSION): 20171212 990 991 * gendirdeps.mk: guard against bogus entries in GENDIRDEPS_FILTER 992 9932017-11-14 Simon J. Gerraty <sjg@bad.crufty.net> 994 995 * install-mk (MK_VERSION): 20171111 996 997 * lib.mk: ensure META_NOECHO is set 998 9992017-10-25 Simon J. Gerraty <sjg@bad.crufty.net> 1000 1001 * Allow for host32 on rare occasions. 1002 10032017-10-18 Simon J. Gerraty <sjg@bad.crufty.net> 1004 1005 * install-mk (MK_VERSION): 20171018 1006 1007 * whats.mk: include what_thing in what_uuid to avoid problem 1008 when building multiple apps in the same directory. 1009 10102017-08-12 Simon J. Gerraty <sjg@bad.crufty.net> 1011 1012 * install-mk (MK_VERSION): 20170812 1013 1014 * autoconf.mk: Use CONFIGURE_DEPS so Makefile can 1015 add dependencies for config.recheck and config.gen 1016 10172017-06-30 Simon J. Gerraty <sjg@bad.crufty.net> 1018 1019 * install-mk (MK_VERSION): 20170630 1020 1021 * meta.stage.mk: avoid triggering stage_* targets with nothing to do. 1022 10232017-05-23 Simon J. Gerraty <sjg@bad.crufty.net> 1024 1025 * meta2deps.py: take special care of '..' 1026 10272017-05-15 Simon J. Gerraty <sjg@bad.crufty.net> 1028 1029 * install-mk (MK_VERSION): 20170515 1030 1031 * dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is 1032 useful/necessary for a Makefile.depend file to export some knobs. 1033 This is complicated when we are doing DIRDEPS_CACHE, so we will 1034 handle export of any variables listed in DEP_EXPORT_VARS. 1035 10362017-05-08 Simon J. Gerraty <sjg@bad.crufty.net> 1037 1038 * install-mk (MK_VERSION): 20170505 1039 1040 * meta2deps.py: fix botched indenation. 1041 10422017-05-05 Simon J. Gerraty <sjg@bad.crufty.net> 1043 1044 * sys/*.mk: Remove setting of MAKE it is unnecessary and 1045 in many cases wrong (basname rather than full path) 1046 1047 * scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk 1048 1049 * init.mk: define realbuild to simplify logic in {lib,prog}.mk etc 1050 10512017-05-01 Simon J. Gerraty <sjg@bad.crufty.net> 1052 1053 * install-mk (MK_VERSION): 20170501 1054 1055 * doc.mk: fix typo in DOC_INSTALL_OWN 1056 1057 * inc.mk: handle INCGROUPS similar to freebsd 1058 1059 * files.mk: add something for files too 1060 1061 * add staging logic to lib.mk prog.mk etc. 1062 10632017-04-24 Simon J. Gerraty <sjg@bad.crufty.net> 1064 1065 * install-mk (MK_VERSION): 20170424 1066 1067 * dirdeps.mk: set NO_DIRDEPS when bootstrapping. 1068 also target of bootstrap-this when sed is needed should be ${_want:T} 1069 10702017-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 1071 1072 * install-mk (MK_VERSION): 20170418 1073 1074 * auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a 1075 prefix match for .CURDIR - in which case .CURDIR *is* __objdir. 1076 10772017-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 1078 1079 * install-mk (MK_VERSION): 20170401 1080 1081 * meta2deps.py: add is_src so we can check if obj dependency 1082 is also a src dependency. 1083 10842017-03-26 Simon J. Gerraty <sjg@bad.crufty.net> 1085 1086 * install-mk (MK_VERSION): 20170326 1087 1088 * meta.stage.mk: do nothing if NO_STAGING is defined. 1089 10902017-03-24 Simon J. Gerraty <sjg@bad.crufty.net> 1091 1092 * auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc. 1093 10942017-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 1095 1096 * mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_* 1097 10982017-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 1099 1100 * install-mk (MK_VERSION): 20170301 1101 1102 * dirdeps.mk (_build_all_dirs): update this outside test for empty 1103 DIRDEPS. 1104 1105 * meta.stage.mk: allow multiple inclusion to the extent it makes 1106 sense. 1107 11082017-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 1109 1110 * prog.mk (install_links): depends on realinstall 1111 11122017-02-12 Simon J. Gerraty <sjg@bad.crufty.net> 1113 1114 * install-mk (MK_VERSION): 20170212 1115 1116 * dpadd.mk: avoid applying :T:R twice to DPLIBS entries 1117 11182017-01-30 Simon J. Gerraty <sjg@bad.crufty.net> 1119 1120 * install-mk (MK_VERSION): 20170130 1121 1122 * dirdeps.mk: use :range if we can. 1123 1124 * sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130 1125 1126 * meta2deps.py: clean paths without using realpath() where possible. 1127 fix sort_unique. 1128 11292016-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 1130 1131 * install-mk (MK_VERSION): 20161212 1132 1133 * meta2deps.py: set pid_cwd[pid] when we process 'C'hdir, 1134 rather than when we detect pid change. 1135 11362016-12-07 Simon J. Gerraty <sjg@bad.crufty.net> 1137 1138 * install-mk (MK_VERSION): 20161207 1139 1140 * meta.stage.mk: add stage_as_and_symlink for staging packages. 1141 We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able 1142 to use foo.tgz to reference the latest staged version - so we 1143 make foo.tgz a symlink to it. 1144 Using a target to do both operations ensures we stay in sync. 1145 11462016-11-26 Simon J. Gerraty <sjg@bad.crufty.net> 1147 1148 * install-mk (MK_VERSION): 20161126 1149 1150 * dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk 1151 so it can add dependencies. 1152 11532016-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 1154 1155 * dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE 1156 do that they can influence the result correctly. 1157 1158 * dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC 1159 1160 * dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST 1161 similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST 1162 11632016-10-05 Simon J. Gerraty <sjg@bad.crufty.net> 1164 1165 * dirdeps.mk: remove dependence on jot (normal situations anyway). 1166 Before we read another Makefile.depend* set DEP_* vars from 1167 _DEP_TARGET_SPEC in case it uses any of them with := 1168 When bootstrapping, trim any ,* from extention of chosen _src 1169 Makefile.depend* to get the machine value we subst for. 1170 11712016-09-30 Simon J. Gerraty <sjg@bad.crufty.net> 1172 1173 * dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to 1174 DEP_SKIP_DIR and DEP_DIRDEPS_FILTER 1175 1176 * sys.mk: extract some bits to sys.{debug,vars}.mk 1177 for easier re-use by others. 1178 11792016-09-23 Simon Gerraty <sjg@sjg-mba13> 1180 1181 * lib.mk: Use ${PICO} for extension for PIC objects. 1182 default to .pico (like NetBSD) safe on case insensitive filesystem. 1183 11842016-08-19 Simon J. Gerraty <sjg@bad.crufty.net> 1185 1186 * meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default 1187 11882016-08-15 Simon J. Gerraty <sjg@bad.crufty.net> 1189 1190 * install-mk (MK_VERSION): 20160815 1191 1192 * dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only 1193 consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date. 1194 11952016-08-13 Simon J. Gerraty <sjg@bad.crufty.net> 1196 1197 * meta.sys.mk (.MAKE.META.IGNORE_PATHS): 1198 in meta mode we can ignore the mtime of makefiles 1199 12002016-08-02 Simon J. Gerraty <sjg@bad.crufty.net> 1201 1202 * install-mk (MK_VERSION): 20160802 1203 1204 * lib.mk (libinstall): depends on beforinstall 1205 1206 * prog.mk (proginstall): depends on beforinstall 1207 patch from Lauri Tirkkonen 1208 1209 * dirdeps.mk (bootstrap): When bootstrapping; creat 1210 .MAKE.DEPENDFILE_DEFAULT and allow additional filtering via 1211 .MAKE.DEPENDFILE_BOOTSTRAP_SED 1212 1213 * dirdeps.mk: move some comments to where they make sense. 1214 12152016-07-27 Simon J. Gerraty <sjg@bad.crufty.net> 1216 1217 * dirdeps.mk (DIRDEPS_CACHE): no dirname. 1218 12192016-06-02 Simon J. Gerraty <sjg@bad.crufty.net> 1220 1221 * install-mk (MK_VERSION): 20160602 1222 * meta.autodep.mk: when passing META_FILES to gendirdeps.mk 1223 do not apply :T to META_XTRAS 1224 patch from Bryan Drewery at FreeBSD.org. 1225 12262016-05-30 Simon J. Gerraty <sjg@bad.crufty.net> 1227 1228 * install-mk (MK_VERSION): 20160530 1229 * meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH 1230 make it so. 1231 12322016-05-12 Simon J. Gerraty <sjg@bad.crufty.net> 1233 1234 * install-mk (MK_VERSION): 20160512 1235 1236 * dpadd.mk: always include local.dpadd.mk if it exists 1237 remove some things that better belong in local.dpadd.mk 1238 skip INCLUDES_* for staged libs unless SRC_* defined. 1239 1240 * own.mk: add INCLUDEDIR 1241 12422016-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 1243 1244 * dirdeps.mk: when doing -f dirdeps.mk if target suppies no 1245 TARGET_MACHINE - :E will be empty or match part of path, use 1246 ${MACHINE} 1247 12482016-04-07 Simon J. Gerraty <sjg@bad.crufty.net> 1249 1250 * meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to 1251 NO_FILEMON_COOKIE 1252 1253 * dirdeps.mk: move the logic that allows for 1254 make -f dirdeps.mk some/dir.${TARGET_SPEC} 1255 inside the check for !target(_DIRDEP_USE) 1256 12572016-04-04 Simon J. Gerraty <sjg@bad.crufty.net> 1258 1259 * Use <> when including local*.mk and others which may exist 1260 elsewhere so that user can better control what they get. 1261 1262 * meta.autodep.mk (NO_FILEMON_COOKIE): 1263 create a cookie if we ever build dir with nofilemon 1264 so that UPDATE_DEPENDFILE will be forced to NO until cleaned. 1265 12662016-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 1267 1268 * install-mk (MK_VERSION): 20160401 1269 1270 * meta2deps.py: fix old print statement when debugging. 1271 1272 * gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X 1273 patch from Bryan Drewery 1274 12752016-03-22 Simon J. Gerraty <sjg@bad.crufty.net> 1276 1277 * install-mk (MK_VERSION): 20160317 (St. Pats) 1278 1279 * warnings.mk: g++ does not like -Wimplicit 1280 1281 * sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the 1282 pelthora of common suffixes for C++ 1283 1284 * lib.mk: use .So for shared objects 1285 12862016-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 1287 1288 * install-mk (MK_VERSION): 20160315 1289 1290 * meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1) 1291 normally only applies to scripts. 1292 1293 * dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as 1294 well as outside it. 1295 12962016-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 1297 1298 * install-mk (MK_VERSION): 20160310 1299 1300 * dirdeps.mk: use targets rather than a list to track DIRDEPS that 1301 we have processed; the list gets very inefficient as number of 1302 DIRDEPS gets large. 1303 1304 * sys.dependfile.mk: fix comment wrt MACHINE 1305 1306 * meta.autodep.mk: ignore staged DPADDs when bootstrapping. 1307 patch from Bryan Drewery 1308 13092016-03-02 Simon J. Gerraty <sjg@bad.crufty.net> 1310 1311 * meta2deps.sh: don't ignore subdirs. 1312 patch from Bryan Drewery 1313 13142016-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 1315 1316 * install-mk (MK_VERSION): 20160226 1317 1318 * gendirdeps.mk: mark _DEPENDFILE .NOMETA 1319 13202016-02-20 Simon J. Gerraty <sjg@bad.crufty.net> 1321 1322 * dirdeps.mk: we shouldn't normally include .depend but if we do 1323 use .dinclude if we can. 1324 13252016-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 1326 1327 * install-mk (MK_VERSION): 20160218 1328 * sys.clean-env.mk: with recent change to Var_Subst() 1329 we cannot use the '$$' trick, but .export-literal does the job 1330 we need. 1331 * auto.dep.mk: make use .dinclude if we can. 1332 1333 13342016-02-05 Simon J. Gerraty <sjg@bad.crufty.net> 1335 1336 * dirdeps.mk: 1337 Add _build_all_dirs such that local.dirdeps.mk can 1338 add fully qualified dirs to it. 1339 These will be built normally but the current 1340 DEP_RELDIR will not depend on then (to avoid cycles). 1341 This makes it easy to hook things like unit-tests into build. 1342 1343 13442016-01-21 Simon J. Gerraty <sjg@bad.crufty.net> 1345 1346 * dirdeps.mk: add bootstrap-empty 1347 13482015-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 1349 1350 * install-mk (MK_VERSION): 20151212 1351 * auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist. 1352 only apply :tA to __objdir when comparing to .OBJDIR 1353 13542015-11-14 Simon J. Gerraty <sjg@bad.crufty.net> 1355 1356 * install-mk (MK_VERSION): 20151111 1357 1358 * meta.sys.mk: include sys.dependfile.mk 1359 1360 * sys.mk (OPTIONS_DEFAULT_NO): use options.mk 1361 to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD 1362 include local.sys.env.mk early 1363 include local.sys.mk later 1364 1365 * own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk 1366 13672015-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 1368 1369 * meta.sys.mk (META_COOKIE_TOUCH): 1370 add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie 1371 1372 * meta.stage.mk: stage_libs should ignore SYMLINKS. 1373 13742015-10-23 Simon J. Gerraty <sjg@bad.crufty.net> 1375 1376 * install-mk (MK_VERSION): 20151022 1377 1378 * sys.mk: BSD/OS does not have 'type' as a shell builtin. 1379 13802015-10-20 Simon J. Gerraty <sjg@bad.crufty.net> 1381 1382 * install-mk (MK_VERSION): 20151020 1383 1384 * dirdeps.mk: Add logic for 1385 make -f dirdeps.mk some/dir.${TARGET_SPEC} 1386 13872015-10-14 Simon J. Gerraty <sjg@bad.crufty.net> 1388 1389 * install-mk (MK_VERSION): 20151010 1390 13912015-10-02 Simon J. Gerraty <sjg@bad.crufty.net> 1392 1393 * meta.stage.mk: use staging: ${STAGE_TARGETS:... 1394 to have stage_lins run last in non-jobs mode. 1395 Use .ORDER only for jobs mode. 1396 13972015-09-02 Simon J. Gerraty <sjg@bad.crufty.net> 1398 1399 * rst2htm.mk: allow for per target flags etc. 1400 14012015-09-01 Simon J. Gerraty <sjg@bad.crufty.net> 1402 1403 * install-mk (MK_VERSION): 20150901 1404 1405 * doc.mk: create dir if needed use DOC_INSTALL_OWN 1406 14072015-06-15 Simon J. Gerraty <sjg@bad.crufty.net> 1408 1409 * install-mk (MK_VERSION): 20150615 1410 1411 * auto.obj.mk: allow use of MAKEOBJDIRPREFIX too. 1412 Follow make's normal precedence rules. 1413 1414 * gendirdeps.mk: allow customization of the header. 1415 eg. for FreeBSD: 1416 GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}'; 1417 1418 * meta.autodep.mk: ignore dirdeps.cache* 1419 1420 * meta.stage.mk: when bootstrapping options it can be handy to 1421 throw warnings rather than errors for staging conflicts. 1422 1423 * meta.sys.mk: include local.meta.sys.mk for customization 1424 14252015-06-06 Simon J. Gerraty <sjg@bad.crufty.net> 1426 1427 * install-mk (MK_VERSION): 20150606 1428 1429 * dirdeps.mk: don't rely on manually maintained Makefile.depend 1430 to set DEP_RELDIR and reset DIRDEPS. 1431 By setting DEP_RELDIR ourselves we can skip :tA 1432 1433 * gendirdeps.mk: skip setting DEP_RELDIR. 1434 14352015-05-24 Simon J. Gerraty <sjg@bad.crufty.net> 1436 1437 * dirdeps.mk: avoid wildcards like make(bootstrap*) 1438 14392015-05-20 Simon J. Gerraty <sjg@bad.crufty.net> 1440 1441 * install-mk (MK_VERSION): 20150520 1442 1443 * dirdeps.mk: when we are building dirdeps cache file we *want* 1444 meta_oodate to look at all the Makefile.depend files, so 1445 set .MAKE.DEPENDFILE to something that won't match. 1446 1447 * meta.stage.mk: for STAGE_AS_* basename of file may not be unique 1448 so first use absolute path as key. 1449 Also skip staging at level 0. 1450 14512015-04-30 Simon J. Gerraty <sjg@bad.crufty.net> 1452 1453 * install-mk (MK_VERSION): 20150430 1454 1455 * dirdeps.mk: fix _count_dirdeps for non-cache case. 1456 14572015-04-16 Simon J. Gerraty <sjg@bad.crufty.net> 1458 1459 * install-mk (MK_VERSION): 20150411 1460 bump version 1461 1462 * own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES. 1463 it is here mainly for documentation purposes, since 1464 if using auto.obj.mk it is better done via sys.mk 1465 14662015-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 1467 1468 * install-mk (MK_VERSION): 20150401 1469 1470 * meta2deps.sh: support @list 1471 1472 * meta2deps.py: updates from Juniper 1473 o add EXCLUDES 1474 o skip bogus input files. 1475 o treat 'M' and 'L' as both an 'R' and a 'W' 1476 14772015-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 1478 1479 * install-mk (MK_VERSION): 20150303 1480 1481 * dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache 1482 which is built via sub-make so we have a .meta file to tell if 1483 it is out-of-date. 1484 The dirdeps-cache contains the same dependency rules that we 1485 normaly construct on the fly. 1486 This adds a few seconds overhead when the cache is out of date, 1487 but for a large target, the savings can be significant (10-20min). 1488 14892014-11-18 Simon J. Gerraty <sjg@bad.crufty.net> 1490 1491 * install-mk (MK_VERSION): 20141118 1492 1493 * meta.stage.mk: add stale_staged 1494 1495 * dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked 1496 only useful under very rare conditions such as 1497 FreeBSD's make universe. 1498 1499 * auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto 1500 15012014-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 1502 1503 * install-mk (MK_VERSION): 20141111 1504 1505 * mkopt.sh: use consistent semantics for _mk_opt and _mk_opts 1506 15072014-11-09 Simon J. Gerraty <sjg@bad.crufty.net> 1508 1509 * FILES: include mkopt.sh which allows handling options in shell 1510 scripts in a manner compatible with options.mk 1511 15122014-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 1513 1514 * meta.stage.mk: ensure only _STAGED_DIRS under objroot are used 1515 for GENDIRDEPS_FILTER to avoid surprises. 1516 15172014-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 1518 1519 * dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by 1520 the time it is applied to __depdirs they have. 1521 1522 * dirdeps.mk fix filtering of _machines since M_dep_qual_fixes 1523 expects patterns like *.${MACHINE} 1524 1525 * cython.mk (pyprefix?): use pyprefix to find python bits 1526 since prefix might be something else (where we install our 1527 stuff) 1528 15292014-09-11 Simon J. Gerraty <sjg@bad.crufty.net> 1530 1531 * install-mk (MK_VERSION): 20140911 1532 1533 * dirdeps.mk: add bootstrap target to simplify adding support for 1534 new MACHINE. 1535 15362014-09-01 Simon J. Gerraty <sjg@bad.crufty.net> 1537 1538 * gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and 1539 GENDIRDEPS_FILTER_VARS to make it easier to produce sharable 1540 Makefile.depend files. 1541 15422014-08-28 Simon J. Gerraty <sjg@bad.crufty.net> 1543 1544 * install-mk (MK_VERSION): 20140828 1545 1546 * cython.mk: capture logic for building python extension modules 1547 with Cython. 1548 15492014-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 1550 1551 * meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant 1552 15532014-08-02 Simon J. Gerraty <sjg@bad.crufty.net> 1554 1555 * install-mk (MK_VERSION): 20140801 1556 1557 * dep.mk: use explicit MKDEP_MK rather than overload MKDEP to 1558 identify the autodep.mk variant. 1559 1560 * sys.dependfile.mk: delete .MAKE.DEPENDFILE if its 1561 initial value does not match .MAKE.DEPENDFILE_PREFIX 1562 1563 * meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS 1564 15652014-05-22 Simon J. Gerraty <sjg@bad.crufty.net> 1566 1567 * install-mk (MK_VERSION): 20140522 1568 1569 * lib.mk: use CC to link shlib for linux too 1570 patch from Brendan MacDonell 1571 15722014-05-05 Simon J. Gerraty <sjg@bad.crufty.net> 1573 1574 * meta.autodep.mk: add _reldir_{finish,failed} for gathering stats 1575 if WITH_META_STATS is defined. 1576 15772014-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 1578 1579 * dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS) 1580 to supress dirdeps outside of .CURDIR. 1581 15822014-04-05 Simon J. Gerraty <sjg@bad.crufty.net> 1583 1584 * Fix spelling errors - patch from Pedro Giffuni 1585 15862014-03-14 Simon J. Gerraty <sjg@bad.crufty.net> 1587 1588 * install-mk (MK_VERSION): 20140314 1589 1590 * dirdeps.mk (beforedirdeps): a handy hook 1591 1592 * dirdeps.mk (DIRDEP_MAKE): allow the actual command we run 1593 to visit leaf dirs to be intercepted (eg. for distributed 1594 build). 1595 1596 * dirdeps.mk (__depdirs): ensure // don't sneak in 1597 1598 * gendirdeps.mk (DIRDEPS): ensure // don't sneak in 1599 1600 16012014-02-21 Simon J. Gerraty <sjg@bad.crufty.net> 1602 1603 * rst2htm.mk (RST2PDF): add support for rst2pdf 1604 16052014-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 1606 1607 * install-mk (MK_VERSION): bump version 1608 * dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if 1609 available. 1610 16112014-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 1612 1613 * options.mk: avoid :U so this isn't bmake dependent 1614 16152014-02-09 Simon J. Gerraty <sjg@bad.crufty.net> 1616 1617 * options.mk: cleanup and simplify semanitcs 1618 NO_* dominates all, if both WITH_* and WITHOUT_* 1619 are defined then result is DOMINATE_* which defaults to "no". 1620 Ie. WITHOUT_ normally wins. 1621 16222013-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 1623 1624 * install-mk (MK_VERSION): bump version 1625 * meta2deps.py: convert to print function for python3 compat. 1626 we also need to open files with mode 'r' rather than 'rb' 1627 otherwise we get bytes instead of strings. 1628 16292013-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 1630 1631 * install-mk (MK_VERSION): bump version 1632 1633 * dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE 1634 apply the same filtering (M_dep_qual_fixes) when setting _machines 1635 as _build_dirs. 1636 Also fix the filtering of Makefile.depend files - for reporting 1637 what we are looking for (M_dep_qual_fixes can get confused by 1638 Makefile.depend) 1639 Add some more debug info. 1640 16412013-09-04 Simon J. Gerraty <sjg@bad.crufty.net> 1642 1643 * gendirdeps.mk (_objtops): fix typo also 1644 while processing M2D_OBJROOTS to gather qualdir_list 1645 qualify $ql with loop iterator to ensure correct results. 1646 16472013-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 1648 1649 * install-mk (MK_VERSION): 20130801 1650 * libs.mk: update to match progs.mk 1651 16522013-07-26 Simon J. Gerraty <sjg@bad.crufty.net> 1653 1654 * install-mk (MK_VERSION): 20130726 1655 some updates from Juniper and FreeBSD 1656 o meta2deps.py: indicate file and line number when we hit parse 1657 errors 1658 also allow @file to provide huge list of .meta files. 1659 * meta2deps.py: add try_parse() to cleanup the above. 1660 16612013-07-16 Simon J. Gerraty <sjg@bad.crufty.net> 1662 1663 * install-mk (MK_VERSION): 20130716 1664 * own.mk: add GPROG as an option 1665 * prog.mk: honor MK_GPROF==yes 1666 16672013-05-10 Simon J. Gerraty <sjg@bad.crufty.net> 1668 1669 * install-mk (MK_VERSION): 20130505 1670 * gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC 1671 for when $MACHINE isn't enough for objdir distinction. 1672 Bring meta2deps.sh closer to par with meta2deps.py. 1673 16742013-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 1675 1676 * meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all' 1677 also if the target 'beforeinstall' exists, make it depend on 1678 .dirdep (incase it uses STAGE_INSTALL). 1679 16802013-04-17 Simon J. Gerraty <sjg@bad.crufty.net> 1681 1682 * install-mk (MK_VERSION): 20130401 ;-) 1683 * meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as 1684 wrapper around install(1). 1685 * options.mk (OPTION_PREFIX): Allow a prefix other than MK_ 1686 16872013-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 1688 1689 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized. 1690 * install-mk (MK_VERSION): bump version 1691 16922013-03-21 Simon J. Gerraty <sjg@bad.crufty.net> 1693 1694 * install-mk (MK_VERSION): bump version 1695 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose 1696 any trailing /., rather apply :tA only when needed. 1697 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files. 1698 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance 1699 consistently. 1700 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC. 1701 17022013-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 1703 1704 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT 1705 it is simpler to just not update when say building for "host" 1706 (where we know we apply filters to DIRDEPS), and using a 1707 non-machine qualified dependfile. 1708 17092013-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 1710 1711 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR 1712 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC 1713 * gendirdeps.mk: ensure _objroot has trailing / if it needs it. 1714 * meta2deps.py: if machine is "host", then also trim 1715 self.host_target from any OBJROOTS. 1716 1717 17182013-03-11 Simon J. Gerraty <sjg@bad.crufty.net> 1719 1720 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine 1721 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists 1722 but _DEPENDFILE does not, compare the new _DEPENDFILE against 1723 .MAKE.DEPENDFILE_DEFAULT and discard if the same. 1724 17252013-03-08 Simon J. Gerraty <sjg@bad.crufty.net> 1726 1727 * meta.stage.mk: use STAGE_TARGETS to control .ORDER 1728 and hook to all: via staging: 1729 17302013-03-07 Simon J. Gerraty <sjg@bad.crufty.net> 1731 1732 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT): 1733 use a separate variable for the default .MAKE.DEPENDFILE value 1734 so that it can be controlled independently of 1735 .MAKE.DEPENDFILE_PREFERENCE 1736 1737 * meta.stage.mk: throw error if cp fails etc. 1738 Stage*() return early if passed no args. 1739 .ORDER stage_* 1740 17412013-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 1742 1743 * install-mk (MK_VERSION): bump version 1744 * gendirdeps.mk: handle multiple M2D_OBJROOTS better. 1745 17462013-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 1747 1748 * install-mk (MK_VERSION): bump version to 20130210 1749 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py 1750 from Juniper. 1751 o dirdeps.mk now fully supports TARGET_SPEC consisting of more 1752 than just MACHINE. 1753 o no longer use DEP_MACHINE from Makefile.depend* so remove it. 1754 17552013-01-23 Simon J. Gerraty <sjg@bad.crufty.net> 1756 1757 * install-mk (MK_VERSION): bump version to 20130123 1758 * meta.stage.mk: add stage_links (hard links). 1759 if doing hard links, we add dest to link as well. 1760 Default the stage dir for [sym]links to STAGE_OBJTOP since 1761 these are typically specified as absolute paths. 1762 Add -m "mode" flag to StageFiles and StageAs. 1763 17642012-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 1765 1766 * install-mk (MK_VERSION): bump version to 20121111 1767 * autoconf.mk: avoid meta mode seeing changed commands for config.status 1768 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps 1769 in case we were found via .../mk 1770 * sys.clean-env.mk: move it from examples, we and others use it 1771 "as is". 1772 * FILES: add srctop.mk and options.mk 1773 * own.mk: convert to using options.mk 1774 which is modeled after FreeBSD's handling of MK_* 1775 but more flexible. 1776 This allows MK_* for boolean knobs to not be confused 1777 with MK* which can be commands. 1778 1779 * examples/sys.clean-env.mk: add WITH[OUT]_ to 1780 MAKE_ENV_SAVE_PREFIX_LIST. 1781 Mention that HOME=/var/empty might be a good idea. 1782 17832012-11-08 Simon J. Gerraty <sjg@bad.crufty.net> 1784 1785 * sys.dependfile.mk: if not depend file exists, $MACHINE 1786 specific ones are supported but not the default, 1787 check if any exist and follow suit. 1788 17892012-11-06 Simon J. Gerraty <sjg@bad.crufty.net> 1790 1791 * install-mk (MK_VERSION): bump version to 20121106 1792 17932012-11-05 Simon J. Gerraty <sjg@bad.crufty.net> 1794 1795 * import latest dirdeps.mk and meta2deps.py from Juniper. 1796 * progs.mk: add MAN and CXXFLAGS to PROG_VARS 1797 also add PROGS_TARGETS and pass on PROG_CXX if it seems 1798 appropriate. 1799 18002012-11-04 Simon J. Gerraty <sjg@bad.crufty.net> 1801 1802 * meta.stage.mk: update CLEANFILES 1803 remove redundant cp of .dirdep from STAGE_AS_SCRIPT. 1804 * progs.mk: Add LDADD to PROG_VARS 1805 18062012-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 1807 1808 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in 1809 _STAGED_DIRS so that these can be turned into filters for 1810 GENDIRDEPS_FILTER. 1811 18122012-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 1813 1814 * install-mk (MK_VERSION): bump version to 20121010 1815 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing 1816 target.dirdep matches .dirdep 1817 18182012-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 1819 1820 * install-mk (MK_VERSION): bump version to 20120808 1821 * import latest meta2deps.py from Juniper. 1822 18232012-07-11 Simon J. Gerraty <sjg@bad.crufty.net> 1824 1825 * install-mk (MK_VERSION): bump version to 20120711 1826 * dep.mk: add explicit dependencies on SRCS after applying 1827 SRCS_DEP_FILTER 1828 * meta.autodep.mk: add explicit dependencies on SRCS after 1829 applying SRCS_DEP_FILTER 1830 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed. 1831 18322012-06-26 Simon J. Gerraty <sjg@bad.crufty.net> 1833 1834 * install-mk (MK_VERSION): bump version to 20120626 1835 * meta.sys.mk: ignore PYTHON if it does not exist 1836 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable. 1837 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any 1838 entries ending in .${MACHINE} to decide if qualified _dirdep is 1839 needed. 1840 * gendirdeps.mk: only produce unqualified deps if no 1841 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE} 1842 * meta.subdir.mk: apply SUBDIRDEPS_FILTER 1843 18442012-04-20 Simon J. Gerraty <sjg@bad.crufty.net> 1845 1846 * install-mk (MK_VERSION): bump version to 20120420 1847 * add sys.dependfile.mk so we can experiment with 1848 .MAKE.DEPENDFILE_PREFERENCE 1849 * meta.autodep.mk: _DEPENDFILE is precious! 1850 18512012-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 1852 1853 * install-mk (MK_VERSION): bump version to 20120315 1854 * install-new.mk: avoid being interrupted 1855 18562012-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 1857 1858 * man.mk: MAN might have multiple values so be careful with exists(). 1859 18602012-01-19 Simon J. Gerraty <sjg@bad.crufty.net> 1861 1862 * install-mk (MK_VERSION): bump version to 20120112 1863 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled 1864 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}' 1865 18662011-12-03 Simon J. Gerraty <sjg@bad.crufty.net> 1867 1868 * install-mk (MK_VERSION): bump version to 20111201 1869 * import dirdeps.mk from Juniper sjg@ 1870 o more consistent handling of DEP_MACHINE, especially when 1871 dealing with an odd Makefile.depend, when normally using 1872 Makefile.depend.${MACHINE} 1873 18742011-11-22 Simon J. Gerraty <sjg@bad.crufty.net> 1875 1876 * install-mk (MK_VERSION): bump version to 20111122 1877 * meta.autodep.mk: add some debug output, be more crisp about 1878 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend 1879 18802011-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 1881 1882 * install-mk (MK_VERSION): bump version to 20111111 1883 it's too cool to miss 1884 * import meta* updates from Juniper sjg@ 1885 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are 1886 normally using Makefile.depend.${MACHINE}), handy for 1887 read-only manually maintained dependencies. 1888 o meta2deps.py add a clear 'ERROR:' token if an exception is raised. 1889 o gendirdeps.mk if ERROR: from meta2deps.py do not update 1890 anything. 1891 18922011-10-30 Simon J. Gerraty <sjg@bad.crufty.net> 1893 1894 * install-new.mk separate the cmp and copy logic to its own function. 1895 18962011-10-28 Simon J. Gerraty <sjg@bad.crufty.net> 1897 1898 * install-mk (MK_VERSION): bump version to 20111028 1899 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto 1900 * subdir.mk: ensure _SUBDIRUSE is provided 1901 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk 1902 * meta.subdir.mk: always allow for Makefile.depend 1903 19042011-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 1905 1906 * install-mk (MK_VERSION): bump version to 20111010 1907 o minor tweak to *dirdeps.mk from Juniper sjg@ 1908 19092011-10-01 Simon J. Gerraty <sjg@bad.crufty.net> 1910 1911 * install-mk (MK_VERSION): bump version to 20111001 1912 o add meta2deps.py from Juniper sjg@ 1913 o tweak gendirdeps.mk to work with meta2deps.py when not 1914 cross-building 1915 * autoconf.mk: add autoconf-input as a hook for regenerating 1916 AUTOCONF_INPUTS (configure). 1917 19182011-08-24 Simon J. Gerraty <sjg@bad.crufty.net> 1919 1920 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful 1921 trigger for updating Makefile.depend* 1922 19232011-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 1924 1925 * install-mk (MK_VERSION): bump version to 20110808 1926 * obj.mk: minor cleanup 1927 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too. 1928 19292011-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 1930 1931 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the 1932 specified dir. 1933 19342011-06-28 Simon J. Gerraty <sjg@bad.crufty.net> 1935 1936 * meta.autodep.mk: if XMAKE_META_FILE is set 1937 the makefile uses a foreign make, and so dependencies 1938 can only be gathered from a clean tree build. 1939 19402011-06-24 Simon J. Gerraty <sjg@bad.crufty.net> 1941 1942 * install-mk (MK_VERSION): bump version to 20110622 1943 * meta.autodep.mk: improve bootstraping 1944 19452011-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 1946 1947 * yacc.mk: handle the corner case of .c being removed 1948 while .h remains. 1949 19502011-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 1951 1952 * yacc.mk: do .y.h and .y.c separately 1953 19542011-06-04 Simon J. Gerraty <sjg@bad.crufty.net> 1955 1956 * install-mk (MK_VERSION): bump version to 20110606 1957 * don't store SRC_DIRDEPS in Makefile.depend* by default 1958 not everyone needs it. 1959 19602011-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 1961 1962 * install-mk (MK_VERSION): bump version to 20110505 1963 first release including meta mode makefiles 1964 19652011-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 1966 1967 * meta.stage.mk: add STAGE_AS_SETS and stage_as 1968 for things that need to be staged with different names. 1969 19702011-05-01 Simon J. Gerraty <sjg@bad.crufty.net> 1971 1972 * meta.stage.mk: add notion of STAGE_SETS 1973 so a makefile can stage to multiple dirs 1974 19752011-04-03 Simon J. Gerraty <sjg@bad.crufty.net> 1976 1977 * rst2htm.mk: convert rst to s5 (slides) or plain html depending 1978 on target name. 1979 19802011-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 1981 1982 * install-mk (MK_VERSION): bump version to 20110330 1983 19842011-03-29 Simon J. Gerraty <sjg@bad.crufty.net> 1985 1986 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0 1987 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest. 1988 * sys.mk: re-define M_whence in terms of M_type. 1989 M_type is useful for checking if something is a builtin. 1990 19912011-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 1992 1993 * meta.stage.mk: add stage_symlinks and leverage StageLinks for 1994 stage_libs 1995 19962011-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 1997 1998 * dirdeps.mk: correct value for _depdir_files depends on 1999 .MAKE.DEPENDFILE 2000 Add our copyright - just to make it clear we have frobbed this 2001 quite a bit. 2002 DEP_MACHINE needs to be set to MACHINE each time, if using only 2003 Makefile.depend (cf. Makefile.depend.${MACHINE}) 2004 2005 * meta.stage.mk: meta mode version of staging 2006 2007 * init.mk, final.mk: include local.*.mk to simplify customization 2008 20092011-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 2010 2011 * auto.obj.mk: just because we are doing mk destroy, we should 2012 still set .OBJDIR correctly if it exists. 2013 2014 * install-mk (mksrc): do not exclude meta.sys.mk 2015 20162011-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 2017 2018 * host-target.mk: set/export _HOST_ARCH etc separately, 2019 catch junk resulting from uname -p, so we can find sys/Linux.mk 2020 correctly. 2021 20222011-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 2023 2024 * meta.sys.mk: throw an error if /dev/filemon is missing and we 2025 expected to be updating Makefile.depend* 2026 20272011-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 2028 2029 * install-mk (MK_VERSION): bump version to 20110214 2030 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES 2031 20322010-09-25 Simon J. Gerraty <sjg@bad.crufty.net> 2033 2034 * meta.sys.mk: not valid for older bmake 2035 20362010-09-24 Simon J. Gerraty <sjg@bad.crufty.net> 2037 2038 * install-mk (MK_VERSION): bump version to 20100919 2039 include dirdeps.mk et al from Juniper Networks, 2040 for meta mode - requires filemon(9). 2041 * sys.mk, subdir.mk: Add hooks for meta mode. 2042 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk 2043 to make turning it on/off simple. 2044 20452010-06-16 Simon J. Gerraty <sjg@bad.crufty.net> 2046 2047 * install-mk (MK_VERSION): bump version to 20100616 2048 * fix typo in sys.mk 2049 20502010-06-12 Simon J. Gerraty <sjg@bad.crufty.net> 2051 2052 * install-mk (MK_VERSION): bump version to 20100612 2053 * lib.mk: remove duplicate addition to SOBJS 2054 20552010-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 2056 2057 * sys.mk: Add a means of selectively turning on debug flags. 2058 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg" 2059 will act as if we did make -dv if .CURDIR ends in lib/sjg 2060 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at 2061 the start of sys.mk rather than the end. 2062 This only makes sense for leaf dirs, so we check that 2063 .MAKE.LEVEL > 0 2064 20652010-06-09 Simon J. Gerraty <sjg@bad.crufty.net> 2066 2067 * install-mk (MK_VERSION): bump version to 20100608 2068 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al. 2069 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606 2070 also make it easier for folk to tweak 2071 20722010-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 2073 2074 * install-mk (MK_VERSION): bump version to 20100606 2075 do not install examples/* 2076 * FILES: add examples/sys.clean-env.mk 2077 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR 2078 this requires bmake-20100606 or later to work. 2079 20802010-05-13 Simon J. Gerraty <sjg@bad.crufty.net> 2081 2082 * sys.mk (M_tA): better simulate the result of :tA if not available. 2083 20842010-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 2085 2086 * sys.mk: canonicalize MAKE_VERSION 2087 old versions reported bmake-<src-date> build-<build-date> 2088 whereas we only care about <src-date> 2089 20902010-04-25 Simon J. Gerraty <sjg@bad.crufty.net> 2091 2092 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored 2093 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION 2094 is !empty 2095 20962010-04-22 Simon J. Gerraty <sjg@bad.crufty.net> 2097 2098 * dpadd.mk: use LDADD_* if defined. 2099 21002010-04-21 Simon J. Gerraty <sjg@bad.crufty.net> 2101 2102 * install-mk (MK_VERSION): bump version to 20100420 2103 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy 2104 * autoconf.mk allow AUTO_AUTOCONF 2105 21062010-04-19 Simon J. Gerraty <sjg@bad.crufty.net> 2107 2108 * obj.mk: add objwarn to keep freebsd makefiles happy 2109 * auto.obj.mk: ensure Mkdirs is available. 2110 * FILES: add auto.dep.mk - a simpler version of autodep.mk 2111 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if 2112 asked to do that. 2113 fix/simplify the tests for when to run mkdep. 2114 * auto.dep.mk: add some explanation of how/what we do. 2115 * autodep.mk: skip the .OPTIONAL frobbing of .depend 2116 bmake's FROM_DEPEND flag makes it redundant. 2117 21182010-04-13 Simon J. Gerraty <sjg@bad.crufty.net> 2119 2120 * install-mk (MK_VERSION): bump version to 20100404 2121 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE. 2122 * obj.mk: protect from multiple inclusion even as bsd.obj.mk 2123 Also create a target _SUBDIRUSE so that we can be used without 2124 subdir.mk 2125 21262010-04-12 Simon J. Gerraty <sjg@bad.crufty.net> 2127 2128 * dep.mk: use <> when .including so can override. 2129 21302010-01-11 Simon J. Gerraty <sjg@bad.crufty.net> 2131 2132 * lib.mk (SHLIB_LINKS): ensure a string comparison. 2133 21342010-01-04 Simon J. Gerraty <sjg@bad.crufty.net> 2135 2136 * install-mk (MK_VERSION): bump version to 20100102 2137 * own.mk: ensure PRINTOBJDIR works 2138 * autoconf.mk: pass on CONFIGURE_ARGS 2139 * init.mk: handle COPTS.${.IMPSRC:T} etc. 2140 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION 2141 fix handling of symlinks for darwin 2142 * libnames.mk: add DSHLIBEXT for libs which only exist as shared. 2143 * man.mk: suppress chown when not root. 2144 * rst2htm.mk: allow srcs from multiple locations. 2145 * sys.mk: M_whence, stop after 1st line of output. 2146 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT 2147 * sys/SunOS.mk: we need to export PATH 2148 21492009-12-23 Simon J. Gerraty <sjg@void.crufty.net> 2150 2151 * install-mk (MK_VERSION): bump version 2152 include rst2htm.mk 2153 21542009-12-17 Simon J. Gerraty <sjg@void.crufty.net> 2155 2156 * sys.mk,libnames.mk add .-include <local.*> 2157 this allows local customization without the need to edit the 2158 distributed files. 2159 21602009-12-14 Simon J. Gerraty <sjg@void.crufty.net> 2161 2162 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up 2163 older versions already installed. 2164 21652009-12-13 Simon J. Gerraty <sjg@void.crufty.net> 2166 2167 * stage.mk (.stage-install): generalize lib.mk's .libinstall 2168 * rules.mk rules for generic Makefile. 2169 * inc.mk install for includes. 2170 21712009-12-11 Simon J. Gerraty <sjg@void.crufty.net> 2172 2173 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check 2174 this, so provide it if using native make. 2175 21762009-12-10 Simon J. Gerraty <sjg@void.crufty.net> 2177 2178 * FILES: move all the platform *.sys.mk files to sys/*.mk 2179 * Rename Generic.sys.mk to sys.mk - we always want it. 2180 21812009-11-17 Simon J. Gerraty <sjg@void.crufty.net> 2182 2183 * install-mk (MK_VERSION): bump version 2184 * host-target.mk: only export the expensive stuff 2185 * Generic.sys.mk (sys_mk): for SunOS we need to look for 2186 ${HOST_OS}.${HOST_OSMAJOR} too! 2187 21882009-11-07 Simon J. Gerraty <sjg@void.crufty.net> 2189 2190 * install-mk (MK_VERSION): bump version 2191 * lib.mk: if sys.mk doesn't give us an lorder, don't use it. 2192 based on patch from Greg Olszewski. 2193 * Generic.sys.mk: if we have nothing to work with 2194 set LORDER etc only if we can find it. 2195 21962009-09-08 Simon J. Gerraty <sjg@void.crufty.net> 2197 2198 * install-mk (MK_VERSION): bump version 2199 * man.mk: cleanman: remove CLEANMAN if defined. 2200 22012009-09-04 Simon J. Gerraty <sjg@void.crufty.net> 2202 2203 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk 2204 22052009-07-17 Simon J. Gerraty <sjg@void.crufty.net> 2206 2207 * install-mk (MK_VERSION): bump version 2208 include auto.obj.mk 2209 2210 22112009-03-26 Simon J. Gerraty <sjg@void.crufty.net> 2212 2213 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail. 2214 22152008-11-11 Simon J. Gerraty <sjg@void.crufty.net> 2216 2217 * install-mk (MK_VERSION): bump version 2218 man.mk: ensure we generate *.cat1 etc in . 2219 22202008-07-16 Simon J. Gerraty <sjg@void.crufty.net> 2221 2222 * install-mk (MK_VERSION): bump version 2223 add prlist.mk 2224 22252007-11-25 Simon J. Gerraty <sjg@void.crufty.net> 2226 2227 * Generic.sys.mk: Allow os specific sys.mk to be in a 2228 subdir of ${.PARSEDIR} 2229 22302007-11-22 Simon J. Gerraty <sjg@void.crufty.net> 2231 2232 * install-mk (MK_VERSION): bump version 2233 * general cleanup 2234 * dpadd.mk introduce DPMAGIC_LIBS_* 2235 22362007-04-30 Simon J. Gerraty <sjg@void.crufty.net> 2237 2238 * install-mk (MK_VERSION): bump version 2239 2240 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog 2241 depend files and ensure clean is called for each lib/prog. 2242 22432007-03-27 Simon J. Gerraty <sjg@void.crufty.net> 2244 2245 * autodep.mk (.depend): delete lines that do not start with 2246 space and do not contain ':' 2247 22482007-02-16 Simon J. Gerraty <sjg@void.crufty.net> 2249 2250 * autodep.mk (.depend): gcc may wrap lines if pathnames are long 2251 so make sure the transform for .OPTIONAL copes. 2252 22532007-02-03 Simon J. Gerraty <sjg@void.crufty.net> 2254 2255 * install-mk (MK_VERSION): bump version 2256 2257 * own.mk: make sure RM and LN are defined. 2258 2259 * obj.mk: fix a typo, and objlink target. 2260 22612006-12-30 Simon J. Gerraty <sjg@void.crufty.net> 2262 2263 * install-mk (MK_VERSION): bump version 2264 * added libs.mk - analogous to progs.mk 2265 make both of them always inlcude {lib,prog}.mk 2266 22672006-12-28 Simon J. Gerraty <sjg@void.crufty.net> 2268 2269 * progs.mk: add a means of building multiple apps in one dir. 2270 22712006-11-26 Simon J. Gerraty <sjg@void.crufty.net> 2272 2273 * install-mk (MK_VERSION): bump version to 20061126 2274 2275 * warnings.mk: detect invalid WARNINGS_SET 2276 2277 * warnings.mk: use ${.TARGET:T:R}.o when looking for target 2278 specific warnings. 2279 2280 * For .cc sources, turn off warnings that g++ vomits on. 2281 22822006-11-08 Simon J. Gerraty <sjg@void.crufty.net> 2283 2284 * own.mk: if __initialized__ target doesn't exist and we are 2285 FreeBSD we got here directly from sys.mk 2286 22872006-11-06 Simon J. Gerraty <sjg@void.crufty.net> 2288 2289 * install-mk (MK_VERSION): bump version to 20061106 2290 add scripts.mk 2291 22922006-03-18 Simon J. Gerraty <sjg@void.crufty.net> 2293 2294 * install-mk (MK_VERSION): bump version to 20060318 2295 2296 * autodep.mk: avoid := when modifying OBJS into __dependsrcs 2297 22982006-03-02 Simon J. Gerraty <sjg@void.crufty.net> 2299 2300 * install-mk (MK_VERSION): bump version to 20060302 2301 * autodep.mk: use -MF et al to help gcc+ccache DTRT. 2302 23032006-03-01 Simon J. Gerraty <sjg@void.crufty.net> 2304 2305 * install-mk (MK_VERSION): bump version to 20060301 2306 * autodep.mk (.depend): 2307 if MAKE_VERSION is newer than 20050530 we can make .END depend on 2308 .depend and make .depend depend on __depsrcs that exist. 2309 * dpadd.mk: add SRC_PATHADD 2310 23112005-11-04 Simon J. Gerraty <sjg@void.crufty.net> 2312 2313 * install-mk (MK_VERSION): bump version to 20051104 2314 * prog.mk: remove all the LIBC?= junk, use 2315 .-include libnames.mk instead (none by default). 2316 also if USE_DPADD_MK is set, include that. 2317 23182005-10-09 Simon J. Gerraty <sjg@void.crufty.net> 2319 2320 * install-mk (MK_VERSION): bump version to 20051001 2321 Add UnixWare.sys.mk from Klaus Heinz. 2322 23232005-04-05 Simon J. Gerraty <sjg@void.crufty.net> 2324 2325 * install-mk: always install *.sys.mk and if need be symlink one 2326 to sys.mk 2327 23282005-03-22 Simon J. Gerraty <sjg@void.crufty.net> 2329 2330 * subdir.mk, own.mk: use .MAKE rather than MAKE 2331 23322004-02-15 Simon J. Gerraty <sjg@void.crufty.net> 2333 2334 * own.mk: don't use NetBSD's _SRC_TOP_ it can 2335 cause confusion. Also don't take just 'mk' as a 2336 srctop indicator. 2337 23382004-02-14 Simon J. Gerraty <sjg@void.crufty.net> 2339 2340 * warnings.mk: overhauled, now very powerful. 2341 23422004-02-03 Simon J. Gerraty <sjg@void.crufty.net> 2343 2344 * Generic.sys.mk: need to use ${.PARSEDIR} with exists(). 2345 23462004-02-01 Simon J. Gerraty <sjg@void.crufty.net> 2347 2348 * install-mk (MK_VERSION): bump version to 20040201 2349 * extract HOST_TARGET stuff to host-target.mk so own.mk and 2350 Generic.sys.mk can share. 2351 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR. 2352 23532003-09-30 Simon J. Gerraty <sjg@void.crufty.net> 2354 2355 * install-mk (MK_VERSION): 20030930 2356 * rename generic.sys.mk to Generic.sys.mk 2357 so that it does not get installed (unless being used as sys.mk) 2358 * set OS and ROOT_GROUP for those that we know the value. 2359 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so 2360 we don't do it again for each sub-make. 2361 23622003-09-28 Simon J. Gerraty <sjg@void.crufty.net> 2363 2364 * install-mk (MK_VERSION): 20030928 2365 Add some extra *.sys.mk from bootstrap-pkgsrc 2366 some of these likely still need work. 2367 Make everything default to root:wheel ownership, 2368 sys.mk can set ROOT_GROUP accordingly. 2369 23702003-08-07 Simon J. Gerraty <sjg@void.crufty.net> 2371 2372 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR 2373 not the portable ones. 2374 23752003-07-31 Simon J. Gerraty <sjg@void.crufty.net> 2376 2377 * install-mk: add ability to use cp -f when updating 2378 destination .mk files. Also now possible to play games with 2379 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk 2380 into dest - not recommended unless you seriously want to. 2381 23822003-07-28 Simon J. Gerraty <sjg@void.crufty.net> 2383 2384 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc 2385 for semi-compatability with NetBSD. 2386 23872003-07-23 Simon J. Gerraty <sjg@void.crufty.net> 2388 2389 * install-mk: add a version indicator 2390 23912003-07-22 Simon J. Gerraty <sjg@void.crufty.net> 2392 2393 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null 2394 2395 * install-mk: Allow FORCE_SYS_MK to come from env 2396 2397 2398 2399