12017-05-08 Simon J. Gerraty <sjg@bad.crufty.net> 2 3 * install-mk (MK_VERSION): 20170505 4 5 * meta2deps.py: fix botched indenation. 6 72017-05-05 Simon J. Gerraty <sjg@bad.crufty.net> 8 9 * sys/*.mk: Remove setting of MAKE it is unnecessary and 10 in many cases wrong (basname rather than full path) 11 12 * scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk 13 14 * init.mk: define realbuild to simplify logic in {lib,prog}.mk etc 15 162017-05-01 Simon J. Gerraty <sjg@bad.crufty.net> 17 18 * install-mk (MK_VERSION): 20170501 19 20 * doc.mk: fix typo in DOC_INSTALL_OWN 21 22 * inc.mk: handle INCGROUPS similar to freebsd 23 24 * files.mk: add something for files too 25 26 * add staging logic to lib.mk prog.mk etc. 27 282017-04-24 Simon J. Gerraty <sjg@bad.crufty.net> 29 30 * install-mk (MK_VERSION): 20170424 31 32 * dirdeps.mk: set NO_DIRDEPS when bootstrapping. 33 also target of bootstrap-this when sed is needed should be ${_want:T} 34 352017-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 36 37 * install-mk (MK_VERSION): 20170418 38 39 * auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a 40 prefix match for .CURDIR - in which case .CURDIR *is* __objdir. 41 422017-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 43 44 * install-mk (MK_VERSION): 20170401 45 46 * meta2deps.py: add is_src so we can check if obj dependency 47 is also a src dependency. 48 492017-03-26 Simon J. Gerraty <sjg@bad.crufty.net> 50 51 * install-mk (MK_VERSION): 20170326 52 53 * meta.stage.mk: do nothing if NO_STAGING is defined. 54 552017-03-24 Simon J. Gerraty <sjg@bad.crufty.net> 56 57 * auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc. 58 592017-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 60 61 * mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_* 62 632017-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 64 65 * install-mk (MK_VERSION): 20170301 66 67 * dirdeps.mk (_build_all_dirs): update this outside test for empty 68 DIRDEPS. 69 70 * meta.stage.mk: allow multiple inclusion to the extent it makes 71 sense. 72 732017-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 74 75 * prog.mk (install_links): depends on realinstall 76 772017-02-12 Simon J. Gerraty <sjg@bad.crufty.net> 78 79 * install-mk (MK_VERSION): 20170212 80 81 * dpadd.mk: avoid applying :T:R twice to DPLIBS entries 82 832017-01-30 Simon J. Gerraty <sjg@bad.crufty.net> 84 85 * install-mk (MK_VERSION): 20170130 86 87 * dirdeps.mk: use :range if we can. 88 89 * sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130 90 91 * meta2deps.py: clean paths without using realpath() where possible. 92 fix sort_unique. 93 942016-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 95 96 * install-mk (MK_VERSION): 20161212 97 98 * meta2deps.py: set pid_cwd[pid] when we process 'C'hdir, 99 rather than when we detect pid change. 100 1012016-12-07 Simon J. Gerraty <sjg@bad.crufty.net> 102 103 * install-mk (MK_VERSION): 20161207 104 105 * meta.stage.mk: add stage_as_and_symlink for staging packages. 106 We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able 107 to use foo.tgz to reference the latest staged version - so we 108 make foo.tgz a symlink to it. 109 Using a target to do both operations ensures we stay in sync. 110 1112016-11-26 Simon J. Gerraty <sjg@bad.crufty.net> 112 113 * install-mk (MK_VERSION): 20161126 114 115 * dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk 116 so it can add dependencies. 117 1182016-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 119 120 * dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE 121 do that they can influence the result correctly. 122 123 * dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC 124 125 * dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST 126 similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST 127 1282016-10-05 Simon J. Gerraty <sjg@bad.crufty.net> 129 130 * dirdeps.mk: remove dependence on jot (normal situations anyway). 131 Before we read another Makefile.depend* set DEP_* vars from 132 _DEP_TARGET_SPEC in case it uses any of them with := 133 When bootstrapping, trim any ,* from extention of chosen _src 134 Makefile.depend* to get the machine value we subst for. 135 1362016-09-30 Simon J. Gerraty <sjg@bad.crufty.net> 137 138 * dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to 139 DEP_SKIP_DIR and DEP_DIRDEPS_FILTER 140 141 * sys.mk: extract some bits to sys.{debug,vars}.mk 142 for easier re-use by others. 143 1442016-09-23 Simon Gerraty <sjg@sjg-mba13> 145 146 * lib.mk: Use ${PICO} for extension for PIC objects. 147 default to .pico (like NetBSD) safe on case insensitive filesystem. 148 1492016-08-19 Simon J. Gerraty <sjg@bad.crufty.net> 150 151 * meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default 152 1532016-08-15 Simon J. Gerraty <sjg@bad.crufty.net> 154 155 * install-mk (MK_VERSION): 20160815 156 157 * dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only 158 consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date. 159 1602016-08-13 Simon J. Gerraty <sjg@bad.crufty.net> 161 162 * meta.sys.mk (.MAKE.META.IGNORE_PATHS): 163 in meta mode we can ignore the mtime of makefiles 164 1652016-08-02 Simon J. Gerraty <sjg@bad.crufty.net> 166 167 * install-mk (MK_VERSION): 20160802 168 169 * lib.mk (libinstall): depends on beforinstall 170 171 * prog.mk (proginstall): depends on beforinstall 172 patch from Lauri Tirkkonen 173 174 * dirdeps.mk (bootstrap): When bootstrapping; creat 175 .MAKE.DEPENDFILE_DEFAULT and allow additional filtering via 176 .MAKE.DEPENDFILE_BOOTSTRAP_SED 177 178 * dirdeps.mk: move some comments to where they make sense. 179 1802016-07-27 Simon J. Gerraty <sjg@bad.crufty.net> 181 182 * dirdeps.mk (DIRDEPS_CACHE): no dirname. 183 1842016-06-02 Simon J. Gerraty <sjg@bad.crufty.net> 185 186 * install-mk (MK_VERSION): 20160602 187 * meta.autodep.mk: when passing META_FILES to gendirdeps.mk 188 do not apply :T to META_XTRAS 189 patch from Bryan Drewery at FreeBSD.org. 190 1912016-05-30 Simon J. Gerraty <sjg@bad.crufty.net> 192 193 * install-mk (MK_VERSION): 20160530 194 * meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH 195 make it so. 196 1972016-05-12 Simon J. Gerraty <sjg@bad.crufty.net> 198 199 * install-mk (MK_VERSION): 20160512 200 201 * dpadd.mk: always include local.dpadd.mk if it exists 202 remove some things that better belong in local.dpadd.mk 203 skip INCLUDES_* for staged libs unless SRC_* defined. 204 205 * own.mk: add INCLUDEDIR 206 2072016-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 208 209 * dirdeps.mk: when doing -f dirdeps.mk if target suppies no 210 TARGET_MACHINE - :E will be empty or match part of path, use 211 ${MACHINE} 212 2132016-04-07 Simon J. Gerraty <sjg@bad.crufty.net> 214 215 * meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to 216 NO_FILEMON_COOKIE 217 218 * dirdeps.mk: move the logic that allows for 219 make -f dirdeps.mk some/dir.${TARGET_SPEC} 220 inside the check for !target(_DIRDEP_USE) 221 2222016-04-04 Simon J. Gerraty <sjg@bad.crufty.net> 223 224 * Use <> when including local*.mk and others which may exist 225 elsewhere so that user can better control what they get. 226 227 * meta.autodep.mk (NO_FILEMON_COOKIE): 228 create a cookie if we ever build dir with nofilemon 229 so that UPDATE_DEPENDFILE will be forced to NO until cleaned. 230 2312016-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 232 233 * install-mk (MK_VERSION): 20160401 234 235 * meta2deps.py: fix old print statement when debugging. 236 237 * gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X 238 patch from Bryan Drewery 239 2402016-03-22 Simon J. Gerraty <sjg@bad.crufty.net> 241 242 * install-mk (MK_VERSION): 20160317 (St. Pats) 243 244 * warnings.mk: g++ does not like -Wimplicit 245 246 * sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the 247 pelthora of common suffixes for C++ 248 249 * lib.mk: use .So for shared objects 250 2512016-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 252 253 * install-mk (MK_VERSION): 20160315 254 255 * meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1) 256 normally only applies to scripts. 257 258 * dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as 259 well as outside it. 260 2612016-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 262 263 * install-mk (MK_VERSION): 20160310 264 265 * dirdeps.mk: use targets rather than a list to track DIRDEPS that 266 we have processed; the list gets very inefficient as number of 267 DIRDEPS gets large. 268 269 * sys.dependfile.mk: fix comment wrt MACHINE 270 271 * meta.autodep.mk: ignore staged DPADDs when bootstrapping. 272 patch from Bryan Drewery 273 2742016-03-02 Simon J. Gerraty <sjg@bad.crufty.net> 275 276 * meta2deps.sh: don't ignore subdirs. 277 patch from Bryan Drewery 278 2792016-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 280 281 * install-mk (MK_VERSION): 20160226 282 283 * gendirdeps.mk: mark _DEPENDFILE .NOMETA 284 2852016-02-20 Simon J. Gerraty <sjg@bad.crufty.net> 286 287 * dirdeps.mk: we shouldn't normally include .depend but if we do 288 use .dinclude if we can. 289 2902016-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 291 292 * install-mk (MK_VERSION): 20160218 293 * sys.clean-env.mk: with recent change to Var_Subst() 294 we cannot use the '$$' trick, but .export-literal does the job 295 we need. 296 * auto.dep.mk: make use .dinclude if we can. 297 298 2992016-02-05 Simon J. Gerraty <sjg@bad.crufty.net> 300 301 * dirdeps.mk: 302 Add _build_all_dirs such that local.dirdeps.mk can 303 add fully qualified dirs to it. 304 These will be built normally but the current 305 DEP_RELDIR will not depend on then (to avoid cycles). 306 This makes it easy to hook things like unit-tests into build. 307 308 3092016-01-21 Simon J. Gerraty <sjg@bad.crufty.net> 310 311 * dirdeps.mk: add bootstrap-empty 312 3132015-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 314 315 * install-mk (MK_VERSION): 20151212 316 * auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist. 317 only apply :tA to __objdir when comparing to .OBJDIR 318 3192015-11-14 Simon J. Gerraty <sjg@bad.crufty.net> 320 321 * install-mk (MK_VERSION): 20151111 322 323 * meta.sys.mk: include sys.dependfile.mk 324 325 * sys.mk (OPTIONS_DEFAULT_NO): use options.mk 326 to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD 327 include local.sys.env.mk early 328 include local.sys.mk later 329 330 * own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk 331 3322015-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 333 334 * meta.sys.mk (META_COOKIE_TOUCH): 335 add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie 336 337 * meta.stage.mk: stage_libs should ignore SYMLINKS. 338 3392015-10-23 Simon J. Gerraty <sjg@bad.crufty.net> 340 341 * install-mk (MK_VERSION): 20151022 342 343 * sys.mk: BSD/OS does not have 'type' as a shell builtin. 344 3452015-10-20 Simon J. Gerraty <sjg@bad.crufty.net> 346 347 * install-mk (MK_VERSION): 20151020 348 349 * dirdeps.mk: Add logic for 350 make -f dirdeps.mk some/dir.${TARGET_SPEC} 351 3522015-10-14 Simon J. Gerraty <sjg@bad.crufty.net> 353 354 * install-mk (MK_VERSION): 20151010 355 3562015-10-02 Simon J. Gerraty <sjg@bad.crufty.net> 357 358 * meta.stage.mk: use staging: ${STAGE_TARGETS:... 359 to have stage_lins run last in non-jobs mode. 360 Use .ORDER only for jobs mode. 361 3622015-09-02 Simon J. Gerraty <sjg@bad.crufty.net> 363 364 * rst2htm.mk: allow for per target flags etc. 365 3662015-09-01 Simon J. Gerraty <sjg@bad.crufty.net> 367 368 * install-mk (MK_VERSION): 20150901 369 370 * doc.mk: create dir if needed use DOC_INSTALL_OWN 371 3722015-06-15 Simon J. Gerraty <sjg@bad.crufty.net> 373 374 * install-mk (MK_VERSION): 20150615 375 376 * auto.obj.mk: allow use of MAKEOBJDIRPREFIX too. 377 Follow make's normal precedence rules. 378 379 * gendirdeps.mk: allow customization of the header. 380 eg. for FreeBSD: 381 GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}'; 382 383 * meta.autodep.mk: ignore dirdeps.cache* 384 385 * meta.stage.mk: when bootstrapping options it can be handy to 386 throw warnings rather than errors for staging conflicts. 387 388 * meta.sys.mk: include local.meta.sys.mk for customization 389 3902015-06-06 Simon J. Gerraty <sjg@bad.crufty.net> 391 392 * install-mk (MK_VERSION): 20150606 393 394 * dirdeps.mk: don't rely on manually maintained Makefile.depend 395 to set DEP_RELDIR and reset DIRDEPS. 396 By setting DEP_RELDIR ourselves we can skip :tA 397 398 * gendirdeps.mk: skip setting DEP_RELDIR. 399 4002015-05-24 Simon J. Gerraty <sjg@bad.crufty.net> 401 402 * dirdeps.mk: avoid wildcards like make(bootstrap*) 403 4042015-05-20 Simon J. Gerraty <sjg@bad.crufty.net> 405 406 * install-mk (MK_VERSION): 20150520 407 408 * dirdeps.mk: when we are building dirdeps cache file we *want* 409 meta_oodate to look at all the Makefile.depend files, so 410 set .MAKE.DEPENDFILE to something that won't match. 411 412 * meta.stage.mk: for STAGE_AS_* basename of file may not be unique 413 so first use absolute path as key. 414 Also skip staging at level 0. 415 4162015-04-30 Simon J. Gerraty <sjg@bad.crufty.net> 417 418 * install-mk (MK_VERSION): 20150430 419 420 * dirdeps.mk: fix _count_dirdeps for non-cache case. 421 4222015-04-16 Simon J. Gerraty <sjg@bad.crufty.net> 423 424 * install-mk (MK_VERSION): 20150411 425 bump version 426 427 * own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES. 428 it is here mainly for documentation purposes, since 429 if using auto.obj.mk it is better done via sys.mk 430 4312015-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 432 433 * install-mk (MK_VERSION): 20150401 434 435 * meta2deps.sh: support @list 436 437 * meta2deps.py: updates from Juniper 438 o add EXCLUDES 439 o skip bogus input files. 440 o treat 'M' and 'L' as both an 'R' and a 'W' 441 4422015-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 443 444 * install-mk (MK_VERSION): 20150303 445 446 * dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache 447 which is built via sub-make so we have a .meta file to tell if 448 it is out-of-date. 449 The dirdeps-cache contains the same dependency rules that we 450 normaly construct on the fly. 451 This adds a few seconds overhead when the cache is out of date, 452 but for a large target, the savings can be significant (10-20min). 453 4542014-11-18 Simon J. Gerraty <sjg@bad.crufty.net> 455 456 * install-mk (MK_VERSION): 20141118 457 458 * meta.stage.mk: add stale_staged 459 460 * dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked 461 only useful under very rare conditions such as 462 FreeBSD's make universe. 463 464 * auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto 465 4662014-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 467 468 * install-mk (MK_VERSION): 20141111 469 470 * mkopt.sh: use consistent semantics for _mk_opt and _mk_opts 471 4722014-11-09 Simon J. Gerraty <sjg@bad.crufty.net> 473 474 * FILES: include mkopt.sh which allows handling options in shell 475 scripts in a manner compatible with options.mk 476 4772014-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 478 479 * meta.stage.mk: ensure only _STAGED_DIRS under objroot are used 480 for GENDIRDEPS_FILTER to avoid surprises. 481 4822014-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 483 484 * dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by 485 the time it is applied to __depdirs they have. 486 487 * dirdeps.mk fix filtering of _machines since M_dep_qual_fixes 488 expects patterns like *.${MACHINE} 489 490 * cython.mk (pyprefix?): use pyprefix to find python bits 491 since prefix might be something else (where we install our 492 stuff) 493 4942014-09-11 Simon J. Gerraty <sjg@bad.crufty.net> 495 496 * install-mk (MK_VERSION): 20140911 497 498 * dirdeps.mk: add bootstrap target to simplify adding support for 499 new MACHINE. 500 5012014-09-01 Simon J. Gerraty <sjg@bad.crufty.net> 502 503 * gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and 504 GENDIRDEPS_FILTER_VARS to make it easier to produce sharable 505 Makefile.depend files. 506 5072014-08-28 Simon J. Gerraty <sjg@bad.crufty.net> 508 509 * install-mk (MK_VERSION): 20140828 510 511 * cython.mk: capture logic for building python extension modules 512 with Cython. 513 5142014-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 515 516 * meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant 517 5182014-08-02 Simon J. Gerraty <sjg@bad.crufty.net> 519 520 * install-mk (MK_VERSION): 20140801 521 522 * dep.mk: use explicit MKDEP_MK rather than overload MKDEP to 523 identify the autodep.mk variant. 524 525 * sys.dependfile.mk: delete .MAKE.DEPENDFILE if its 526 initial value does not match .MAKE.DEPENDFILE_PREFIX 527 528 * meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS 529 5302014-05-22 Simon J. Gerraty <sjg@bad.crufty.net> 531 532 * install-mk (MK_VERSION): 20140522 533 534 * lib.mk: use CC to link shlib for linux too 535 patch from Brendan MacDonell 536 5372014-05-05 Simon J. Gerraty <sjg@bad.crufty.net> 538 539 * meta.autodep.mk: add _reldir_{finish,failed} for gathering stats 540 if WITH_META_STATS is defined. 541 5422014-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 543 544 * dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS) 545 to supress dirdeps outside of .CURDIR. 546 5472014-04-05 Simon J. Gerraty <sjg@bad.crufty.net> 548 549 * Fix spelling errors - patch from Pedro Giffuni 550 5512014-03-14 Simon J. Gerraty <sjg@bad.crufty.net> 552 553 * install-mk (MK_VERSION): 20140314 554 555 * dirdeps.mk (beforedirdeps): a handy hook 556 557 * dirdeps.mk (DIRDEP_MAKE): allow the actual command we run 558 to visit leaf dirs to be intercepted (eg. for distributed 559 build). 560 561 * dirdeps.mk (__depdirs): ensure // don't sneak in 562 563 * gendirdeps.mk (DIRDEPS): ensure // don't sneak in 564 565 5662014-02-21 Simon J. Gerraty <sjg@bad.crufty.net> 567 568 * rst2htm.mk (RST2PDF): add support for rst2pdf 569 5702014-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 571 572 * install-mk (MK_VERSION): bump version 573 * dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if 574 available. 575 5762014-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 577 578 * options.mk: avoid :U so this isn't bmake dependent 579 5802014-02-09 Simon J. Gerraty <sjg@bad.crufty.net> 581 582 * options.mk: cleanup and simplify semanitcs 583 NO_* dominates all, if both WITH_* and WITHOUT_* 584 are defined then result is DOMINATE_* which defaults to "no". 585 Ie. WITHOUT_ normally wins. 586 5872013-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 588 589 * install-mk (MK_VERSION): bump version 590 * meta2deps.py: convert to print function for python3 compat. 591 we also need to open files with mode 'r' rather than 'rb' 592 otherwise we get bytes instead of strings. 593 5942013-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 595 596 * install-mk (MK_VERSION): bump version 597 598 * dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE 599 apply the same filtering (M_dep_qual_fixes) when setting _machines 600 as _build_dirs. 601 Also fix the filtering of Makefile.depend files - for reporting 602 what we are looking for (M_dep_qual_fixes can get confused by 603 Makefile.depend) 604 Add some more debug info. 605 6062013-09-04 Simon J. Gerraty <sjg@bad.crufty.net> 607 608 * gendirdeps.mk (_objtops): fix typo also 609 while processing M2D_OBJROOTS to gather qualdir_list 610 qualify $ql with loop iterator to ensure correct results. 611 6122013-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 613 614 * install-mk (MK_VERSION): 20130801 615 * libs.mk: update to match progs.mk 616 6172013-07-26 Simon J. Gerraty <sjg@bad.crufty.net> 618 619 * install-mk (MK_VERSION): 20130726 620 some updates from Juniper and FreeBSD 621 o meta2deps.py: indicate file and line number when we hit parse 622 errors 623 also allow @file to provide huge list of .meta files. 624 * meta2deps.py: add try_parse() to cleanup the above. 625 6262013-07-16 Simon J. Gerraty <sjg@bad.crufty.net> 627 628 * install-mk (MK_VERSION): 20130716 629 * own.mk: add GPROG as an option 630 * prog.mk: honor MK_GPROF==yes 631 6322013-05-10 Simon J. Gerraty <sjg@bad.crufty.net> 633 634 * install-mk (MK_VERSION): 20130505 635 * gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC 636 for when $MACHINE isn't enough for objdir distinction. 637 Bring meta2deps.sh closer to par with meta2deps.py. 638 6392013-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 640 641 * meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all' 642 also if the target 'beforeinstall' exists, make it depend on 643 .dirdep (incase it uses STAGE_INSTALL). 644 6452013-04-17 Simon J. Gerraty <sjg@bad.crufty.net> 646 647 * install-mk (MK_VERSION): 20130401 ;-) 648 * meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as 649 wrapper around install(1). 650 * options.mk (OPTION_PREFIX): Allow a prefix other than MK_ 651 6522013-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 653 654 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized. 655 * install-mk (MK_VERSION): bump version 656 6572013-03-21 Simon J. Gerraty <sjg@bad.crufty.net> 658 659 * install-mk (MK_VERSION): bump version 660 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose 661 any trailing /., rather apply :tA only when needed. 662 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files. 663 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance 664 consistently. 665 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC. 666 6672013-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 668 669 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT 670 it is simpler to just not update when say building for "host" 671 (where we know we apply filters to DIRDEPS), and using a 672 non-machine qualified dependfile. 673 6742013-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 675 676 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR 677 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC 678 * gendirdeps.mk: ensure _objroot has trailing / if it needs it. 679 * meta2deps.py: if machine is "host", then also trim 680 self.host_target from any OBJROOTS. 681 682 6832013-03-11 Simon J. Gerraty <sjg@bad.crufty.net> 684 685 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine 686 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists 687 but _DEPENDFILE does not, compare the new _DEPENDFILE against 688 .MAKE.DEPENDFILE_DEFAULT and discard if the same. 689 6902013-03-08 Simon J. Gerraty <sjg@bad.crufty.net> 691 692 * meta.stage.mk: use STAGE_TARGETS to control .ORDER 693 and hook to all: via staging: 694 6952013-03-07 Simon J. Gerraty <sjg@bad.crufty.net> 696 697 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT): 698 use a separate variable for the default .MAKE.DEPENDFILE value 699 so that it can be controlled independently of 700 .MAKE.DEPENDFILE_PREFERENCE 701 702 * meta.stage.mk: throw error if cp fails etc. 703 Stage*() return early if passed no args. 704 .ORDER stage_* 705 7062013-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 707 708 * install-mk (MK_VERSION): bump version 709 * gendirdeps.mk: handle multiple M2D_OBJROOTS better. 710 7112013-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 712 713 * install-mk (MK_VERSION): bump version to 20130210 714 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py 715 from Juniper. 716 o dirdeps.mk now fully supports TARGET_SPEC consisting of more 717 than just MACHINE. 718 o no longer use DEP_MACHINE from Makefile.depend* so remove it. 719 7202013-01-23 Simon J. Gerraty <sjg@bad.crufty.net> 721 722 * install-mk (MK_VERSION): bump version to 20130123 723 * meta.stage.mk: add stage_links (hard links). 724 if doing hard links, we add dest to link as well. 725 Default the stage dir for [sym]links to STAGE_OBJTOP since 726 these are typically specified as absolute paths. 727 Add -m "mode" flag to StageFiles and StageAs. 728 7292012-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 730 731 * install-mk (MK_VERSION): bump version to 20121111 732 * autoconf.mk: avoid meta mode seeing changed commands for config.status 733 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps 734 in case we were found via .../mk 735 * sys.clean-env.mk: move it from examples, we and others use it 736 "as is". 737 * FILES: add srctop.mk and options.mk 738 * own.mk: convert to using options.mk 739 which is modeled after FreeBSD's handling of MK_* 740 but more flexible. 741 This allows MK_* for boolean knobs to not be confused 742 with MK* which can be commands. 743 744 * examples/sys.clean-env.mk: add WITH[OUT]_ to 745 MAKE_ENV_SAVE_PREFIX_LIST. 746 Mention that HOME=/var/empty might be a good idea. 747 7482012-11-08 Simon J. Gerraty <sjg@bad.crufty.net> 749 750 * sys.dependfile.mk: if not depend file exists, $MACHINE 751 specific ones are supported but not the default, 752 check if any exist and follow suit. 753 7542012-11-06 Simon J. Gerraty <sjg@bad.crufty.net> 755 756 * install-mk (MK_VERSION): bump version to 20121106 757 7582012-11-05 Simon J. Gerraty <sjg@bad.crufty.net> 759 760 * import latest dirdeps.mk and meta2deps.py from Juniper. 761 * progs.mk: add MAN and CXXFLAGS to PROG_VARS 762 also add PROGS_TARGETS and pass on PROG_CXX if it seems 763 appropriate. 764 7652012-11-04 Simon J. Gerraty <sjg@bad.crufty.net> 766 767 * meta.stage.mk: update CLEANFILES 768 remove redundant cp of .dirdep from STAGE_AS_SCRIPT. 769 * progs.mk: Add LDADD to PROG_VARS 770 7712012-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 772 773 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in 774 _STAGED_DIRS so that these can be turned into filters for 775 GENDIRDEPS_FILTER. 776 7772012-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 778 779 * install-mk (MK_VERSION): bump version to 20121010 780 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing 781 target.dirdep matches .dirdep 782 7832012-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 784 785 * install-mk (MK_VERSION): bump version to 20120808 786 * import latest meta2deps.py from Juniper. 787 7882012-07-11 Simon J. Gerraty <sjg@bad.crufty.net> 789 790 * install-mk (MK_VERSION): bump version to 20120711 791 * dep.mk: add explicit dependencies on SRCS after applying 792 SRCS_DEP_FILTER 793 * meta.autodep.mk: add explicit dependencies on SRCS after 794 applying SRCS_DEP_FILTER 795 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed. 796 7972012-06-26 Simon J. Gerraty <sjg@bad.crufty.net> 798 799 * install-mk (MK_VERSION): bump version to 20120626 800 * meta.sys.mk: ignore PYTHON if it does not exist 801 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable. 802 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any 803 entries ending in .${MACHINE} to decide if qualified _dirdep is 804 needed. 805 * gendirdeps.mk: only produce unqualified deps if no 806 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE} 807 * meta.subdir.mk: apply SUBDIRDEPS_FILTER 808 8092012-04-20 Simon J. Gerraty <sjg@bad.crufty.net> 810 811 * install-mk (MK_VERSION): bump version to 20120420 812 * add sys.dependfile.mk so we can experiment with 813 .MAKE.DEPENDFILE_PREFERENCE 814 * meta.autodep.mk: _DEPENDFILE is precious! 815 8162012-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 817 818 * install-mk (MK_VERSION): bump version to 20120315 819 * install-new.mk: avoid being interrupted 820 8212012-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 822 823 * man.mk: MAN might have multiple values so be careful with exists(). 824 8252012-01-19 Simon J. Gerraty <sjg@bad.crufty.net> 826 827 * install-mk (MK_VERSION): bump version to 20120112 828 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled 829 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}' 830 8312011-12-03 Simon J. Gerraty <sjg@bad.crufty.net> 832 833 * install-mk (MK_VERSION): bump version to 20111201 834 * import dirdeps.mk from Juniper sjg@ 835 o more consistent handling of DEP_MACHINE, especially when 836 dealing with an odd Makefile.depend, when normally using 837 Makefile.depend.${MACHINE} 838 8392011-11-22 Simon J. Gerraty <sjg@bad.crufty.net> 840 841 * install-mk (MK_VERSION): bump version to 20111122 842 * meta.autodep.mk: add some debug output, be more crisp about 843 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend 844 8452011-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 846 847 * install-mk (MK_VERSION): bump version to 20111111 848 it's too cool to miss 849 * import meta* updates from Juniper sjg@ 850 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are 851 normally using Makefile.depend.${MACHINE}), handy for 852 read-only manually maintained dependencies. 853 o meta2deps.py add a clear 'ERROR:' token if an exception is raised. 854 o gendirdeps.mk if ERROR: from meta2deps.py do not update 855 anything. 856 8572011-10-30 Simon J. Gerraty <sjg@bad.crufty.net> 858 859 * install-new.mk separate the cmp and copy logic to its own function. 860 8612011-10-28 Simon J. Gerraty <sjg@bad.crufty.net> 862 863 * install-mk (MK_VERSION): bump version to 20111028 864 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto 865 * subdir.mk: ensure _SUBDIRUSE is provided 866 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk 867 * meta.subdir.mk: always allow for Makefile.depend 868 8692011-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 870 871 * install-mk (MK_VERSION): bump version to 20111010 872 o minor tweak to *dirdeps.mk from Juniper sjg@ 873 8742011-10-01 Simon J. Gerraty <sjg@bad.crufty.net> 875 876 * install-mk (MK_VERSION): bump version to 20111001 877 o add meta2deps.py from Juniper sjg@ 878 o tweak gendirdeps.mk to work with meta2deps.py when not 879 cross-building 880 * autoconf.mk: add autoconf-input as a hook for regenerating 881 AUTOCONF_INPUTS (configure). 882 8832011-08-24 Simon J. Gerraty <sjg@bad.crufty.net> 884 885 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful 886 trigger for updating Makefile.depend* 887 8882011-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 889 890 * install-mk (MK_VERSION): bump version to 20110808 891 * obj.mk: minor cleanup 892 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too. 893 8942011-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 895 896 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the 897 specified dir. 898 8992011-06-28 Simon J. Gerraty <sjg@bad.crufty.net> 900 901 * meta.autodep.mk: if XMAKE_META_FILE is set 902 the makefile uses a foreign make, and so dependencies 903 can only be gathered from a clean tree build. 904 9052011-06-24 Simon J. Gerraty <sjg@bad.crufty.net> 906 907 * install-mk (MK_VERSION): bump version to 20110622 908 * meta.autodep.mk: improve bootstraping 909 9102011-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 911 912 * yacc.mk: handle the corner case of .c being removed 913 while .h remains. 914 9152011-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 916 917 * yacc.mk: do .y.h and .y.c separately 918 9192011-06-04 Simon J. Gerraty <sjg@bad.crufty.net> 920 921 * install-mk (MK_VERSION): bump version to 20110606 922 * don't store SRC_DIRDEPS in Makefile.depend* by default 923 not everyone needs it. 924 9252011-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 926 927 * install-mk (MK_VERSION): bump version to 20110505 928 first release including meta mode makefiles 929 9302011-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 931 932 * meta.stage.mk: add STAGE_AS_SETS and stage_as 933 for things that need to be staged with different names. 934 9352011-05-01 Simon J. Gerraty <sjg@bad.crufty.net> 936 937 * meta.stage.mk: add notion of STAGE_SETS 938 so a makefile can stage to multiple dirs 939 9402011-04-03 Simon J. Gerraty <sjg@bad.crufty.net> 941 942 * rst2htm.mk: convert rst to s5 (slides) or plain html depending 943 on target name. 944 9452011-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 946 947 * install-mk (MK_VERSION): bump version to 20110330 948 9492011-03-29 Simon J. Gerraty <sjg@bad.crufty.net> 950 951 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0 952 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest. 953 * sys.mk: re-define M_whence in terms of M_type. 954 M_type is useful for checking if something is a builtin. 955 9562011-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 957 958 * meta.stage.mk: add stage_symlinks and leverage StageLinks for 959 stage_libs 960 9612011-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 962 963 * dirdeps.mk: correct value for _depdir_files depends on 964 .MAKE.DEPENDFILE 965 Add our copyright - just to make it clear we have frobbed this 966 quite a bit. 967 DEP_MACHINE needs to be set to MACHINE each time, if using only 968 Makefile.depend (cf. Makefile.depend.${MACHINE}) 969 970 * meta.stage.mk: meta mode version of staging 971 972 * init.mk, final.mk: include local.*.mk to simplify customization 973 9742011-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 975 976 * auto.obj.mk: just because we are doing mk destroy, we should 977 still set .OBJDIR correctly if it exists. 978 979 * install-mk (mksrc): do not exclude meta.sys.mk 980 9812011-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 982 983 * host-target.mk: set/export _HOST_ARCH etc separately, 984 catch junk resulting from uname -p, so we can find sys/Linux.mk 985 correctly. 986 9872011-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 988 989 * meta.sys.mk: throw an error if /dev/filemon is missing and we 990 expected to be updating Makefile.depend* 991 9922011-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 993 994 * install-mk (MK_VERSION): bump version to 20110214 995 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES 996 9972010-09-25 Simon J. Gerraty <sjg@bad.crufty.net> 998 999 * meta.sys.mk: not valid for older bmake 1000 10012010-09-24 Simon J. Gerraty <sjg@bad.crufty.net> 1002 1003 * install-mk (MK_VERSION): bump version to 20100919 1004 include dirdeps.mk et al from Juniper Networks, 1005 for meta mode - requires filemon(9). 1006 * sys.mk, subdir.mk: Add hooks for meta mode. 1007 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk 1008 to make turning it on/off simple. 1009 10102010-06-16 Simon J. Gerraty <sjg@bad.crufty.net> 1011 1012 * install-mk (MK_VERSION): bump version to 20100616 1013 * fix typo in sys.mk 1014 10152010-06-12 Simon J. Gerraty <sjg@bad.crufty.net> 1016 1017 * install-mk (MK_VERSION): bump version to 20100612 1018 * lib.mk: remove duplicate addition to SOBJS 1019 10202010-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 1021 1022 * sys.mk: Add a means of selectively turning on debug flags. 1023 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg" 1024 will act as if we did make -dv if .CURDIR ends in lib/sjg 1025 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at 1026 the start of sys.mk rather than the end. 1027 This only makes sense for leaf dirs, so we check that 1028 .MAKE.LEVEL > 0 1029 10302010-06-09 Simon J. Gerraty <sjg@bad.crufty.net> 1031 1032 * install-mk (MK_VERSION): bump version to 20100608 1033 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al. 1034 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606 1035 also make it easier for folk to tweak 1036 10372010-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 1038 1039 * install-mk (MK_VERSION): bump version to 20100606 1040 do not install examples/* 1041 * FILES: add examples/sys.clean-env.mk 1042 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR 1043 this requires bmake-20100606 or later to work. 1044 10452010-05-13 Simon J. Gerraty <sjg@bad.crufty.net> 1046 1047 * sys.mk (M_tA): better simulate the result of :tA if not available. 1048 10492010-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 1050 1051 * sys.mk: canonicalize MAKE_VERSION 1052 old versions reported bmake-<src-date> build-<build-date> 1053 whereas we only care about <src-date> 1054 10552010-04-25 Simon J. Gerraty <sjg@bad.crufty.net> 1056 1057 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored 1058 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION 1059 is !empty 1060 10612010-04-22 Simon J. Gerraty <sjg@bad.crufty.net> 1062 1063 * dpadd.mk: use LDADD_* if defined. 1064 10652010-04-21 Simon J. Gerraty <sjg@bad.crufty.net> 1066 1067 * install-mk (MK_VERSION): bump version to 20100420 1068 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy 1069 * autoconf.mk allow AUTO_AUTOCONF 1070 10712010-04-19 Simon J. Gerraty <sjg@bad.crufty.net> 1072 1073 * obj.mk: add objwarn to keep freebsd makefiles happy 1074 * auto.obj.mk: ensure Mkdirs is available. 1075 * FILES: add auto.dep.mk - a simpler version of autodep.mk 1076 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if 1077 asked to do that. 1078 fix/simplify the tests for when to run mkdep. 1079 * auto.dep.mk: add some explanation of how/what we do. 1080 * autodep.mk: skip the .OPTIONAL frobbing of .depend 1081 bmake's FROM_DEPEND flag makes it redundant. 1082 10832010-04-13 Simon J. Gerraty <sjg@bad.crufty.net> 1084 1085 * install-mk (MK_VERSION): bump version to 20100404 1086 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE. 1087 * obj.mk: protect from multiple inclusion even as bsd.obj.mk 1088 Also create a target _SUBDIRUSE so that we can be used without 1089 subdir.mk 1090 10912010-04-12 Simon J. Gerraty <sjg@bad.crufty.net> 1092 1093 * dep.mk: use <> when .including so can override. 1094 10952010-01-11 Simon J. Gerraty <sjg@bad.crufty.net> 1096 1097 * lib.mk (SHLIB_LINKS): ensure a string comparison. 1098 10992010-01-04 Simon J. Gerraty <sjg@bad.crufty.net> 1100 1101 * install-mk (MK_VERSION): bump version to 20100102 1102 * own.mk: ensure PRINTOBJDIR works 1103 * autoconf.mk: pass on CONFIGURE_ARGS 1104 * init.mk: handle COPTS.${.IMPSRC:T} etc. 1105 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION 1106 fix handling of symlinks for darwin 1107 * libnames.mk: add DSHLIBEXT for libs which only exist as shared. 1108 * man.mk: suppress chown when not root. 1109 * rst2htm.mk: allow srcs from multiple locations. 1110 * sys.mk: M_whence, stop after 1st line of output. 1111 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT 1112 * sys/SunOS.mk: we need to export PATH 1113 11142009-12-23 Simon J. Gerraty <sjg@void.crufty.net> 1115 1116 * install-mk (MK_VERSION): bump version 1117 include rst2htm.mk 1118 11192009-12-17 Simon J. Gerraty <sjg@void.crufty.net> 1120 1121 * sys.mk,libnames.mk add .-include <local.*> 1122 this allows local customization without the need to edit the 1123 distributed files. 1124 11252009-12-14 Simon J. Gerraty <sjg@void.crufty.net> 1126 1127 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up 1128 older versions already installed. 1129 11302009-12-13 Simon J. Gerraty <sjg@void.crufty.net> 1131 1132 * stage.mk (.stage-install): generalize lib.mk's .libinstall 1133 * rules.mk rules for generic Makefile. 1134 * inc.mk install for includes. 1135 11362009-12-11 Simon J. Gerraty <sjg@void.crufty.net> 1137 1138 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check 1139 this, so provide it if using native make. 1140 11412009-12-10 Simon J. Gerraty <sjg@void.crufty.net> 1142 1143 * FILES: move all the platform *.sys.mk files to sys/*.mk 1144 * Rename Generic.sys.mk to sys.mk - we always want it. 1145 11462009-11-17 Simon J. Gerraty <sjg@void.crufty.net> 1147 1148 * install-mk (MK_VERSION): bump version 1149 * host-target.mk: only export the expensive stuff 1150 * Generic.sys.mk (sys_mk): for SunOS we need to look for 1151 ${HOST_OS}.${HOST_OSMAJOR} too! 1152 11532009-11-07 Simon J. Gerraty <sjg@void.crufty.net> 1154 1155 * install-mk (MK_VERSION): bump version 1156 * lib.mk: if sys.mk doesn't give us an lorder, don't use it. 1157 based on patch from Greg Olszewski. 1158 * Generic.sys.mk: if we have nothing to work with 1159 set LORDER etc only if we can find it. 1160 11612009-09-08 Simon J. Gerraty <sjg@void.crufty.net> 1162 1163 * install-mk (MK_VERSION): bump version 1164 * man.mk: cleanman: remove CLEANMAN if defined. 1165 11662009-09-04 Simon J. Gerraty <sjg@void.crufty.net> 1167 1168 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk 1169 11702009-07-17 Simon J. Gerraty <sjg@void.crufty.net> 1171 1172 * install-mk (MK_VERSION): bump version 1173 include auto.obj.mk 1174 1175 11762009-03-26 Simon J. Gerraty <sjg@void.crufty.net> 1177 1178 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail. 1179 11802008-11-11 Simon J. Gerraty <sjg@void.crufty.net> 1181 1182 * install-mk (MK_VERSION): bump version 1183 man.mk: ensure we generate *.cat1 etc in . 1184 11852008-07-16 Simon J. Gerraty <sjg@void.crufty.net> 1186 1187 * install-mk (MK_VERSION): bump version 1188 add prlist.mk 1189 11902007-11-25 Simon J. Gerraty <sjg@void.crufty.net> 1191 1192 * Generic.sys.mk: Allow os specific sys.mk to be in a 1193 subdir of ${.PARSEDIR} 1194 11952007-11-22 Simon J. Gerraty <sjg@void.crufty.net> 1196 1197 * install-mk (MK_VERSION): bump version 1198 * general cleanup 1199 * dpadd.mk introduce DPMAGIC_LIBS_* 1200 12012007-04-30 Simon J. Gerraty <sjg@void.crufty.net> 1202 1203 * install-mk (MK_VERSION): bump version 1204 1205 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog 1206 depend files and ensure clean is called for each lib/prog. 1207 12082007-03-27 Simon J. Gerraty <sjg@void.crufty.net> 1209 1210 * autodep.mk (.depend): delete lines that do not start with 1211 space and do not contain ':' 1212 12132007-02-16 Simon J. Gerraty <sjg@void.crufty.net> 1214 1215 * autodep.mk (.depend): gcc may wrap lines if pathnames are long 1216 so make sure the transform for .OPTIONAL copes. 1217 12182007-02-03 Simon J. Gerraty <sjg@void.crufty.net> 1219 1220 * install-mk (MK_VERSION): bump version 1221 1222 * own.mk: make sure RM and LN are defined. 1223 1224 * obj.mk: fix a typo, and objlink target. 1225 12262006-12-30 Simon J. Gerraty <sjg@void.crufty.net> 1227 1228 * install-mk (MK_VERSION): bump version 1229 * added libs.mk - analogous to progs.mk 1230 make both of them always inlcude {lib,prog}.mk 1231 12322006-12-28 Simon J. Gerraty <sjg@void.crufty.net> 1233 1234 * progs.mk: add a means of building multiple apps in one dir. 1235 12362006-11-26 Simon J. Gerraty <sjg@void.crufty.net> 1237 1238 * install-mk (MK_VERSION): bump version to 20061126 1239 1240 * warnings.mk: detect invalid WARNINGS_SET 1241 1242 * warnings.mk: use ${.TARGET:T:R}.o when looking for target 1243 specific warnings. 1244 1245 * For .cc sources, turn off warnings that g++ vomits on. 1246 12472006-11-08 Simon J. Gerraty <sjg@void.crufty.net> 1248 1249 * own.mk: if __initialized__ target doesn't exist and we are 1250 FreeBSD we got here directly from sys.mk 1251 12522006-11-06 Simon J. Gerraty <sjg@void.crufty.net> 1253 1254 * install-mk (MK_VERSION): bump version to 20061106 1255 add scripts.mk 1256 12572006-03-18 Simon J. Gerraty <sjg@void.crufty.net> 1258 1259 * install-mk (MK_VERSION): bump version to 20060318 1260 1261 * autodep.mk: avoid := when modifying OBJS into __dependsrcs 1262 12632006-03-02 Simon J. Gerraty <sjg@void.crufty.net> 1264 1265 * install-mk (MK_VERSION): bump version to 20060302 1266 * autodep.mk: use -MF et al to help gcc+ccache DTRT. 1267 12682006-03-01 Simon J. Gerraty <sjg@void.crufty.net> 1269 1270 * install-mk (MK_VERSION): bump version to 20060301 1271 * autodep.mk (.depend): 1272 if MAKE_VERSION is newer than 20050530 we can make .END depend on 1273 .depend and make .depend depend on __depsrcs that exist. 1274 * dpadd.mk: add SRC_PATHADD 1275 12762005-11-04 Simon J. Gerraty <sjg@void.crufty.net> 1277 1278 * install-mk (MK_VERSION): bump version to 20051104 1279 * prog.mk: remove all the LIBC?= junk, use 1280 .-include libnames.mk instead (none by default). 1281 also if USE_DPADD_MK is set, include that. 1282 12832005-10-09 Simon J. Gerraty <sjg@void.crufty.net> 1284 1285 * install-mk (MK_VERSION): bump version to 20051001 1286 Add UnixWare.sys.mk from Klaus Heinz. 1287 12882005-04-05 Simon J. Gerraty <sjg@void.crufty.net> 1289 1290 * install-mk: always install *.sys.mk and if need be symlink one 1291 to sys.mk 1292 12932005-03-22 Simon J. Gerraty <sjg@void.crufty.net> 1294 1295 * subdir.mk, own.mk: use .MAKE rather than MAKE 1296 12972004-02-15 Simon J. Gerraty <sjg@void.crufty.net> 1298 1299 * own.mk: don't use NetBSD's _SRC_TOP_ it can 1300 cause confusion. Also don't take just 'mk' as a 1301 srctop indicator. 1302 13032004-02-14 Simon J. Gerraty <sjg@void.crufty.net> 1304 1305 * warnings.mk: overhauled, now very powerful. 1306 13072004-02-03 Simon J. Gerraty <sjg@void.crufty.net> 1308 1309 * Generic.sys.mk: need to use ${.PARSEDIR} with exists(). 1310 13112004-02-01 Simon J. Gerraty <sjg@void.crufty.net> 1312 1313 * install-mk (MK_VERSION): bump version to 20040201 1314 * extract HOST_TARGET stuff to host-target.mk so own.mk and 1315 Generic.sys.mk can share. 1316 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR. 1317 13182003-09-30 Simon J. Gerraty <sjg@void.crufty.net> 1319 1320 * install-mk (MK_VERSION): 20030930 1321 * rename generic.sys.mk to Generic.sys.mk 1322 so that it does not get installed (unless being used as sys.mk) 1323 * set OS and ROOT_GROUP for those that we know the value. 1324 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so 1325 we don't do it again for each sub-make. 1326 13272003-09-28 Simon J. Gerraty <sjg@void.crufty.net> 1328 1329 * install-mk (MK_VERSION): 20030928 1330 Add some extra *.sys.mk from bootstrap-pkgsrc 1331 some of these likely still need work. 1332 Make everything default to root:wheel ownership, 1333 sys.mk can set ROOT_GROUP accordingly. 1334 13352003-08-07 Simon J. Gerraty <sjg@void.crufty.net> 1336 1337 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR 1338 not the portable ones. 1339 13402003-07-31 Simon J. Gerraty <sjg@void.crufty.net> 1341 1342 * install-mk: add ability to use cp -f when updating 1343 destination .mk files. Also now possible to play games with 1344 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk 1345 into dest - not recommended unless you seriously want to. 1346 13472003-07-28 Simon J. Gerraty <sjg@void.crufty.net> 1348 1349 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc 1350 for semi-compatability with NetBSD. 1351 13522003-07-23 Simon J. Gerraty <sjg@void.crufty.net> 1353 1354 * install-mk: add a version indicator 1355 13562003-07-22 Simon J. Gerraty <sjg@void.crufty.net> 1357 1358 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null 1359 1360 * install-mk: Allow FORCE_SYS_MK to come from env 1361 1362 1363 1364