12017-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 2 3 * install-mk (MK_VERSION): 20170301 4 5 * dirdeps.mk (_build_all_dirs): update this outside test for empty 6 DIRDEPS. 7 8 * meta.stage.mk: allow multiple inclusion to the extent it makes 9 sense. 10 112017-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 12 13 * prog.mk (install_links): depends on realinstall 14 152017-02-12 Simon J. Gerraty <sjg@bad.crufty.net> 16 17 * install-mk (MK_VERSION): 20170212 18 19 * dpadd.mk: avoid applying :T:R twice to DPLIBS entries 20 212017-01-30 Simon J. Gerraty <sjg@bad.crufty.net> 22 23 * install-mk (MK_VERSION): 20170130 24 25 * dirdeps.mk: use :range if we can. 26 27 * sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130 28 29 * meta2deps.py: clean paths without using realpath() where possible. 30 fix sort_unique. 31 322016-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 33 34 * install-mk (MK_VERSION): 20161212 35 36 * meta2deps.py: set pid_cwd[pid] when we process 'C'hdir, 37 rather than when we detect pid change. 38 392016-12-07 Simon J. Gerraty <sjg@bad.crufty.net> 40 41 * install-mk (MK_VERSION): 20161207 42 43 * meta.stage.mk: add stage_as_and_symlink for staging packages. 44 We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able 45 to use foo.tgz to reference the latest staged version - so we 46 make foo.tgz a symlink to it. 47 Using a target to do both operations ensures we stay in sync. 48 492016-11-26 Simon J. Gerraty <sjg@bad.crufty.net> 50 51 * install-mk (MK_VERSION): 20161126 52 53 * dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk 54 so it can add dependencies. 55 562016-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 57 58 * dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE 59 do that they can influence the result correctly. 60 61 * dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC 62 63 * dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST 64 similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST 65 662016-10-05 Simon J. Gerraty <sjg@bad.crufty.net> 67 68 * dirdeps.mk: remove dependence on jot (normal situations anyway). 69 Before we read another Makefile.depend* set DEP_* vars from 70 _DEP_TARGET_SPEC in case it uses any of them with := 71 When bootstrapping, trim any ,* from extention of chosen _src 72 Makefile.depend* to get the machine value we subst for. 73 742016-09-30 Simon J. Gerraty <sjg@bad.crufty.net> 75 76 * dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to 77 DEP_SKIP_DIR and DEP_DIRDEPS_FILTER 78 79 * sys.mk: extract some bits to sys.{debug,vars}.mk 80 for easier re-use by others. 81 822016-09-23 Simon Gerraty <sjg@sjg-mba13> 83 84 * lib.mk: Use ${PICO} for extension for PIC objects. 85 default to .pico (like NetBSD) safe on case insensitive filesystem. 86 872016-08-19 Simon J. Gerraty <sjg@bad.crufty.net> 88 89 * meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default 90 912016-08-15 Simon J. Gerraty <sjg@bad.crufty.net> 92 93 * install-mk (MK_VERSION): 20160815 94 95 * dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only 96 consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date. 97 982016-08-13 Simon J. Gerraty <sjg@bad.crufty.net> 99 100 * meta.sys.mk (.MAKE.META.IGNORE_PATHS): 101 in meta mode we can ignore the mtime of makefiles 102 1032016-08-02 Simon J. Gerraty <sjg@bad.crufty.net> 104 105 * install-mk (MK_VERSION): 20160802 106 107 * lib.mk (libinstall): depends on beforinstall 108 109 * prog.mk (proginstall): depends on beforinstall 110 patch from Lauri Tirkkonen 111 112 * dirdeps.mk (bootstrap): When bootstrapping; creat 113 .MAKE.DEPENDFILE_DEFAULT and allow additional filtering via 114 .MAKE.DEPENDFILE_BOOTSTRAP_SED 115 116 * dirdeps.mk: move some comments to where they make sense. 117 1182016-07-27 Simon J. Gerraty <sjg@bad.crufty.net> 119 120 * dirdeps.mk (DIRDEPS_CACHE): no dirname. 121 1222016-06-02 Simon J. Gerraty <sjg@bad.crufty.net> 123 124 * install-mk (MK_VERSION): 20160602 125 * meta.autodep.mk: when passing META_FILES to gendirdeps.mk 126 do not apply :T to META_XTRAS 127 patch from Bryan Drewery at FreeBSD.org. 128 1292016-05-30 Simon J. Gerraty <sjg@bad.crufty.net> 130 131 * install-mk (MK_VERSION): 20160530 132 * meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH 133 make it so. 134 1352016-05-12 Simon J. Gerraty <sjg@bad.crufty.net> 136 137 * install-mk (MK_VERSION): 20160512 138 139 * dpadd.mk: always include local.dpadd.mk if it exists 140 remove some things that better belong in local.dpadd.mk 141 skip INCLUDES_* for staged libs unless SRC_* defined. 142 143 * own.mk: add INCLUDEDIR 144 1452016-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 146 147 * dirdeps.mk: when doing -f dirdeps.mk if target suppies no 148 TARGET_MACHINE - :E will be empty or match part of path, use 149 ${MACHINE} 150 1512016-04-07 Simon J. Gerraty <sjg@bad.crufty.net> 152 153 * meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to 154 NO_FILEMON_COOKIE 155 156 * dirdeps.mk: move the logic that allows for 157 make -f dirdeps.mk some/dir.${TARGET_SPEC} 158 inside the check for !target(_DIRDEP_USE) 159 1602016-04-04 Simon J. Gerraty <sjg@bad.crufty.net> 161 162 * Use <> when including local*.mk and others which may exist 163 elsewhere so that user can better control what they get. 164 165 * meta.autodep.mk (NO_FILEMON_COOKIE): 166 create a cookie if we ever build dir with nofilemon 167 so that UPDATE_DEPENDFILE will be forced to NO until cleaned. 168 1692016-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 170 171 * install-mk (MK_VERSION): 20160401 172 173 * meta2deps.py: fix old print statement when debugging. 174 175 * gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X 176 patch from Bryan Drewery 177 1782016-03-22 Simon J. Gerraty <sjg@bad.crufty.net> 179 180 * install-mk (MK_VERSION): 20160317 (St. Pats) 181 182 * warnings.mk: g++ does not like -Wimplicit 183 184 * sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the 185 pelthora of common suffixes for C++ 186 187 * lib.mk: use .So for shared objects 188 1892016-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 190 191 * install-mk (MK_VERSION): 20160315 192 193 * meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1) 194 normally only applies to scripts. 195 196 * dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as 197 well as outside it. 198 1992016-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 200 201 * install-mk (MK_VERSION): 20160310 202 203 * dirdeps.mk: use targets rather than a list to track DIRDEPS that 204 we have processed; the list gets very inefficient as number of 205 DIRDEPS gets large. 206 207 * sys.dependfile.mk: fix comment wrt MACHINE 208 209 * meta.autodep.mk: ignore staged DPADDs when bootstrapping. 210 patch from Bryan Drewery 211 2122016-03-02 Simon J. Gerraty <sjg@bad.crufty.net> 213 214 * meta2deps.sh: don't ignore subdirs. 215 patch from Bryan Drewery 216 2172016-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 218 219 * install-mk (MK_VERSION): 20160226 220 221 * gendirdeps.mk: mark _DEPENDFILE .NOMETA 222 2232016-02-20 Simon J. Gerraty <sjg@bad.crufty.net> 224 225 * dirdeps.mk: we shouldn't normally include .depend but if we do 226 use .dinclude if we can. 227 2282016-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 229 230 * install-mk (MK_VERSION): 20160218 231 * sys.clean-env.mk: with recent change to Var_Subst() 232 we cannot use the '$$' trick, but .export-literal does the job 233 we need. 234 * auto.dep.mk: make use .dinclude if we can. 235 236 2372016-02-05 Simon J. Gerraty <sjg@bad.crufty.net> 238 239 * dirdeps.mk: 240 Add _build_all_dirs such that local.dirdeps.mk can 241 add fully qualified dirs to it. 242 These will be built normally but the current 243 DEP_RELDIR will not depend on then (to avoid cycles). 244 This makes it easy to hook things like unit-tests into build. 245 246 2472016-01-21 Simon J. Gerraty <sjg@bad.crufty.net> 248 249 * dirdeps.mk: add bootstrap-empty 250 2512015-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 252 253 * install-mk (MK_VERSION): 20151212 254 * auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist. 255 only apply :tA to __objdir when comparing to .OBJDIR 256 2572015-11-14 Simon J. Gerraty <sjg@bad.crufty.net> 258 259 * install-mk (MK_VERSION): 20151111 260 261 * meta.sys.mk: include sys.dependfile.mk 262 263 * sys.mk (OPTIONS_DEFAULT_NO): use options.mk 264 to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD 265 include local.sys.env.mk early 266 include local.sys.mk later 267 268 * own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk 269 2702015-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 271 272 * meta.sys.mk (META_COOKIE_TOUCH): 273 add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie 274 275 * meta.stage.mk: stage_libs should ignore SYMLINKS. 276 2772015-10-23 Simon J. Gerraty <sjg@bad.crufty.net> 278 279 * install-mk (MK_VERSION): 20151022 280 281 * sys.mk: BSD/OS does not have 'type' as a shell builtin. 282 2832015-10-20 Simon J. Gerraty <sjg@bad.crufty.net> 284 285 * install-mk (MK_VERSION): 20151020 286 287 * dirdeps.mk: Add logic for 288 make -f dirdeps.mk some/dir.${TARGET_SPEC} 289 2902015-10-14 Simon J. Gerraty <sjg@bad.crufty.net> 291 292 * install-mk (MK_VERSION): 20151010 293 2942015-10-02 Simon J. Gerraty <sjg@bad.crufty.net> 295 296 * meta.stage.mk: use staging: ${STAGE_TARGETS:... 297 to have stage_lins run last in non-jobs mode. 298 Use .ORDER only for jobs mode. 299 3002015-09-02 Simon J. Gerraty <sjg@bad.crufty.net> 301 302 * rst2htm.mk: allow for per target flags etc. 303 3042015-09-01 Simon J. Gerraty <sjg@bad.crufty.net> 305 306 * install-mk (MK_VERSION): 20150901 307 308 * doc.mk: create dir if needed use DOC_INSTALL_OWN 309 3102015-06-15 Simon J. Gerraty <sjg@bad.crufty.net> 311 312 * install-mk (MK_VERSION): 20150615 313 314 * auto.obj.mk: allow use of MAKEOBJDIRPREFIX too. 315 Follow make's normal precedence rules. 316 317 * gendirdeps.mk: allow customization of the header. 318 eg. for FreeBSD: 319 GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}'; 320 321 * meta.autodep.mk: ignore dirdeps.cache* 322 323 * meta.stage.mk: when bootstrapping options it can be handy to 324 throw warnings rather than errors for staging conflicts. 325 326 * meta.sys.mk: include local.meta.sys.mk for customization 327 3282015-06-06 Simon J. Gerraty <sjg@bad.crufty.net> 329 330 * install-mk (MK_VERSION): 20150606 331 332 * dirdeps.mk: don't rely on manually maintained Makefile.depend 333 to set DEP_RELDIR and reset DIRDEPS. 334 By setting DEP_RELDIR ourselves we can skip :tA 335 336 * gendirdeps.mk: skip setting DEP_RELDIR. 337 3382015-05-24 Simon J. Gerraty <sjg@bad.crufty.net> 339 340 * dirdeps.mk: avoid wildcards like make(bootstrap*) 341 3422015-05-20 Simon J. Gerraty <sjg@bad.crufty.net> 343 344 * install-mk (MK_VERSION): 20150520 345 346 * dirdeps.mk: when we are building dirdeps cache file we *want* 347 meta_oodate to look at all the Makefile.depend files, so 348 set .MAKE.DEPENDFILE to something that won't match. 349 350 * meta.stage.mk: for STAGE_AS_* basename of file may not be unique 351 so first use absolute path as key. 352 Also skip staging at level 0. 353 3542015-04-30 Simon J. Gerraty <sjg@bad.crufty.net> 355 356 * install-mk (MK_VERSION): 20150430 357 358 * dirdeps.mk: fix _count_dirdeps for non-cache case. 359 3602015-04-16 Simon J. Gerraty <sjg@bad.crufty.net> 361 362 * install-mk (MK_VERSION): 20150411 363 bump version 364 365 * own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES. 366 it is here mainly for documentation purposes, since 367 if using auto.obj.mk it is better done via sys.mk 368 3692015-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 370 371 * install-mk (MK_VERSION): 20150401 372 373 * meta2deps.sh: support @list 374 375 * meta2deps.py: updates from Juniper 376 o add EXCLUDES 377 o skip bogus input files. 378 o treat 'M' and 'L' as both an 'R' and a 'W' 379 3802015-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 381 382 * install-mk (MK_VERSION): 20150303 383 384 * dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache 385 which is built via sub-make so we have a .meta file to tell if 386 it is out-of-date. 387 The dirdeps-cache contains the same dependency rules that we 388 normaly construct on the fly. 389 This adds a few seconds overhead when the cache is out of date, 390 but for a large target, the savings can be significant (10-20min). 391 3922014-11-18 Simon J. Gerraty <sjg@bad.crufty.net> 393 394 * install-mk (MK_VERSION): 20141118 395 396 * meta.stage.mk: add stale_staged 397 398 * dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked 399 only useful under very rare conditions such as 400 FreeBSD's make universe. 401 402 * auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto 403 4042014-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 405 406 * install-mk (MK_VERSION): 20141111 407 408 * mkopt.sh: use consistent semantics for _mk_opt and _mk_opts 409 4102014-11-09 Simon J. Gerraty <sjg@bad.crufty.net> 411 412 * FILES: include mkopt.sh which allows handling options in shell 413 scripts in a manner compatible with options.mk 414 4152014-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 416 417 * meta.stage.mk: ensure only _STAGED_DIRS under objroot are used 418 for GENDIRDEPS_FILTER to avoid surprises. 419 4202014-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 421 422 * dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by 423 the time it is applied to __depdirs they have. 424 425 * dirdeps.mk fix filtering of _machines since M_dep_qual_fixes 426 expects patterns like *.${MACHINE} 427 428 * cython.mk (pyprefix?): use pyprefix to find python bits 429 since prefix might be something else (where we install our 430 stuff) 431 4322014-09-11 Simon J. Gerraty <sjg@bad.crufty.net> 433 434 * install-mk (MK_VERSION): 20140911 435 436 * dirdeps.mk: add bootstrap target to simplify adding support for 437 new MACHINE. 438 4392014-09-01 Simon J. Gerraty <sjg@bad.crufty.net> 440 441 * gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and 442 GENDIRDEPS_FILTER_VARS to make it easier to produce sharable 443 Makefile.depend files. 444 4452014-08-28 Simon J. Gerraty <sjg@bad.crufty.net> 446 447 * install-mk (MK_VERSION): 20140828 448 449 * cython.mk: capture logic for building python extension modules 450 with Cython. 451 4522014-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 453 454 * meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant 455 4562014-08-02 Simon J. Gerraty <sjg@bad.crufty.net> 457 458 * install-mk (MK_VERSION): 20140801 459 460 * dep.mk: use explicit MKDEP_MK rather than overload MKDEP to 461 identify the autodep.mk variant. 462 463 * sys.dependfile.mk: delete .MAKE.DEPENDFILE if its 464 initial value does not match .MAKE.DEPENDFILE_PREFIX 465 466 * meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS 467 4682014-05-22 Simon J. Gerraty <sjg@bad.crufty.net> 469 470 * install-mk (MK_VERSION): 20140522 471 472 * lib.mk: use CC to link shlib for linux too 473 patch from Brendan MacDonell 474 4752014-05-05 Simon J. Gerraty <sjg@bad.crufty.net> 476 477 * meta.autodep.mk: add _reldir_{finish,failed} for gathering stats 478 if WITH_META_STATS is defined. 479 4802014-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 481 482 * dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS) 483 to supress dirdeps outside of .CURDIR. 484 4852014-04-05 Simon J. Gerraty <sjg@bad.crufty.net> 486 487 * Fix spelling errors - patch from Pedro Giffuni 488 4892014-03-14 Simon J. Gerraty <sjg@bad.crufty.net> 490 491 * install-mk (MK_VERSION): 20140314 492 493 * dirdeps.mk (beforedirdeps): a handy hook 494 495 * dirdeps.mk (DIRDEP_MAKE): allow the actual command we run 496 to visit leaf dirs to be intercepted (eg. for distributed 497 build). 498 499 * dirdeps.mk (__depdirs): ensure // don't sneak in 500 501 * gendirdeps.mk (DIRDEPS): ensure // don't sneak in 502 503 5042014-02-21 Simon J. Gerraty <sjg@bad.crufty.net> 505 506 * rst2htm.mk (RST2PDF): add support for rst2pdf 507 5082014-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 509 510 * install-mk (MK_VERSION): bump version 511 * dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if 512 available. 513 5142014-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 515 516 * options.mk: avoid :U so this isn't bmake dependent 517 5182014-02-09 Simon J. Gerraty <sjg@bad.crufty.net> 519 520 * options.mk: cleanup and simplify semanitcs 521 NO_* dominates all, if both WITH_* and WITHOUT_* 522 are defined then result is DOMINATE_* which defaults to "no". 523 Ie. WITHOUT_ normally wins. 524 5252013-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 526 527 * install-mk (MK_VERSION): bump version 528 * meta2deps.py: convert to print function for python3 compat. 529 we also need to open files with mode 'r' rather than 'rb' 530 otherwise we get bytes instead of strings. 531 5322013-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 533 534 * install-mk (MK_VERSION): bump version 535 536 * dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE 537 apply the same filtering (M_dep_qual_fixes) when setting _machines 538 as _build_dirs. 539 Also fix the filtering of Makefile.depend files - for reporting 540 what we are looking for (M_dep_qual_fixes can get confused by 541 Makefile.depend) 542 Add some more debug info. 543 5442013-09-04 Simon J. Gerraty <sjg@bad.crufty.net> 545 546 * gendirdeps.mk (_objtops): fix typo also 547 while processing M2D_OBJROOTS to gather qualdir_list 548 qualify $ql with loop iterator to ensure correct results. 549 5502013-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 551 552 * install-mk (MK_VERSION): 20130801 553 * libs.mk: update to match progs.mk 554 5552013-07-26 Simon J. Gerraty <sjg@bad.crufty.net> 556 557 * install-mk (MK_VERSION): 20130726 558 some updates from Juniper and FreeBSD 559 o meta2deps.py: indicate file and line number when we hit parse 560 errors 561 also allow @file to provide huge list of .meta files. 562 * meta2deps.py: add try_parse() to cleanup the above. 563 5642013-07-16 Simon J. Gerraty <sjg@bad.crufty.net> 565 566 * install-mk (MK_VERSION): 20130716 567 * own.mk: add GPROG as an option 568 * prog.mk: honor MK_GPROF==yes 569 5702013-05-10 Simon J. Gerraty <sjg@bad.crufty.net> 571 572 * install-mk (MK_VERSION): 20130505 573 * gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC 574 for when $MACHINE isn't enough for objdir distinction. 575 Bring meta2deps.sh closer to par with meta2deps.py. 576 5772013-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 578 579 * meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all' 580 also if the target 'beforeinstall' exists, make it depend on 581 .dirdep (incase it uses STAGE_INSTALL). 582 5832013-04-17 Simon J. Gerraty <sjg@bad.crufty.net> 584 585 * install-mk (MK_VERSION): 20130401 ;-) 586 * meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as 587 wrapper around install(1). 588 * options.mk (OPTION_PREFIX): Allow a prefix other than MK_ 589 5902013-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 591 592 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized. 593 * install-mk (MK_VERSION): bump version 594 5952013-03-21 Simon J. Gerraty <sjg@bad.crufty.net> 596 597 * install-mk (MK_VERSION): bump version 598 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose 599 any trailing /., rather apply :tA only when needed. 600 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files. 601 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance 602 consistently. 603 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC. 604 6052013-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 606 607 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT 608 it is simpler to just not update when say building for "host" 609 (where we know we apply filters to DIRDEPS), and using a 610 non-machine qualified dependfile. 611 6122013-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 613 614 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR 615 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC 616 * gendirdeps.mk: ensure _objroot has trailing / if it needs it. 617 * meta2deps.py: if machine is "host", then also trim 618 self.host_target from any OBJROOTS. 619 620 6212013-03-11 Simon J. Gerraty <sjg@bad.crufty.net> 622 623 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine 624 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists 625 but _DEPENDFILE does not, compare the new _DEPENDFILE against 626 .MAKE.DEPENDFILE_DEFAULT and discard if the same. 627 6282013-03-08 Simon J. Gerraty <sjg@bad.crufty.net> 629 630 * meta.stage.mk: use STAGE_TARGETS to control .ORDER 631 and hook to all: via staging: 632 6332013-03-07 Simon J. Gerraty <sjg@bad.crufty.net> 634 635 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT): 636 use a separate variable for the default .MAKE.DEPENDFILE value 637 so that it can be controlled independently of 638 .MAKE.DEPENDFILE_PREFERENCE 639 640 * meta.stage.mk: throw error if cp fails etc. 641 Stage*() return early if passed no args. 642 .ORDER stage_* 643 6442013-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 645 646 * install-mk (MK_VERSION): bump version 647 * gendirdeps.mk: handle multiple M2D_OBJROOTS better. 648 6492013-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 650 651 * install-mk (MK_VERSION): bump version to 20130210 652 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py 653 from Juniper. 654 o dirdeps.mk now fully supports TARGET_SPEC consisting of more 655 than just MACHINE. 656 o no longer use DEP_MACHINE from Makefile.depend* so remove it. 657 6582013-01-23 Simon J. Gerraty <sjg@bad.crufty.net> 659 660 * install-mk (MK_VERSION): bump version to 20130123 661 * meta.stage.mk: add stage_links (hard links). 662 if doing hard links, we add dest to link as well. 663 Default the stage dir for [sym]links to STAGE_OBJTOP since 664 these are typically specified as absolute paths. 665 Add -m "mode" flag to StageFiles and StageAs. 666 6672012-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 668 669 * install-mk (MK_VERSION): bump version to 20121111 670 * autoconf.mk: avoid meta mode seeing changed commands for config.status 671 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps 672 in case we were found via .../mk 673 * sys.clean-env.mk: move it from examples, we and others use it 674 "as is". 675 * FILES: add srctop.mk and options.mk 676 * own.mk: convert to using options.mk 677 which is modeled after FreeBSD's handling of MK_* 678 but more flexible. 679 This allows MK_* for boolean knobs to not be confused 680 with MK* which can be commands. 681 682 * examples/sys.clean-env.mk: add WITH[OUT]_ to 683 MAKE_ENV_SAVE_PREFIX_LIST. 684 Mention that HOME=/var/empty might be a good idea. 685 6862012-11-08 Simon J. Gerraty <sjg@bad.crufty.net> 687 688 * sys.dependfile.mk: if not depend file exists, $MACHINE 689 specific ones are supported but not the default, 690 check if any exist and follow suit. 691 6922012-11-06 Simon J. Gerraty <sjg@bad.crufty.net> 693 694 * install-mk (MK_VERSION): bump version to 20121106 695 6962012-11-05 Simon J. Gerraty <sjg@bad.crufty.net> 697 698 * import latest dirdeps.mk and meta2deps.py from Juniper. 699 * progs.mk: add MAN and CXXFLAGS to PROG_VARS 700 also add PROGS_TARGETS and pass on PROG_CXX if it seems 701 appropriate. 702 7032012-11-04 Simon J. Gerraty <sjg@bad.crufty.net> 704 705 * meta.stage.mk: update CLEANFILES 706 remove redundant cp of .dirdep from STAGE_AS_SCRIPT. 707 * progs.mk: Add LDADD to PROG_VARS 708 7092012-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 710 711 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in 712 _STAGED_DIRS so that these can be turned into filters for 713 GENDIRDEPS_FILTER. 714 7152012-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 716 717 * install-mk (MK_VERSION): bump version to 20121010 718 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing 719 target.dirdep matches .dirdep 720 7212012-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 722 723 * install-mk (MK_VERSION): bump version to 20120808 724 * import latest meta2deps.py from Juniper. 725 7262012-07-11 Simon J. Gerraty <sjg@bad.crufty.net> 727 728 * install-mk (MK_VERSION): bump version to 20120711 729 * dep.mk: add explicit dependencies on SRCS after applying 730 SRCS_DEP_FILTER 731 * meta.autodep.mk: add explicit dependencies on SRCS after 732 applying SRCS_DEP_FILTER 733 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed. 734 7352012-06-26 Simon J. Gerraty <sjg@bad.crufty.net> 736 737 * install-mk (MK_VERSION): bump version to 20120626 738 * meta.sys.mk: ignore PYTHON if it does not exist 739 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable. 740 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any 741 entries ending in .${MACHINE} to decide if qualified _dirdep is 742 needed. 743 * gendirdeps.mk: only produce unqualified deps if no 744 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE} 745 * meta.subdir.mk: apply SUBDIRDEPS_FILTER 746 7472012-04-20 Simon J. Gerraty <sjg@bad.crufty.net> 748 749 * install-mk (MK_VERSION): bump version to 20120420 750 * add sys.dependfile.mk so we can experiment with 751 .MAKE.DEPENDFILE_PREFERENCE 752 * meta.autodep.mk: _DEPENDFILE is precious! 753 7542012-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 755 756 * install-mk (MK_VERSION): bump version to 20120315 757 * install-new.mk: avoid being interrupted 758 7592012-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 760 761 * man.mk: MAN might have multiple values so be careful with exists(). 762 7632012-01-19 Simon J. Gerraty <sjg@bad.crufty.net> 764 765 * install-mk (MK_VERSION): bump version to 20120112 766 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled 767 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}' 768 7692011-12-03 Simon J. Gerraty <sjg@bad.crufty.net> 770 771 * install-mk (MK_VERSION): bump version to 20111201 772 * import dirdeps.mk from Juniper sjg@ 773 o more consistent handling of DEP_MACHINE, especially when 774 dealing with an odd Makefile.depend, when normally using 775 Makefile.depend.${MACHINE} 776 7772011-11-22 Simon J. Gerraty <sjg@bad.crufty.net> 778 779 * install-mk (MK_VERSION): bump version to 20111122 780 * meta.autodep.mk: add some debug output, be more crisp about 781 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend 782 7832011-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 784 785 * install-mk (MK_VERSION): bump version to 20111111 786 it's too cool to miss 787 * import meta* updates from Juniper sjg@ 788 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are 789 normally using Makefile.depend.${MACHINE}), handy for 790 read-only manually maintained dependencies. 791 o meta2deps.py add a clear 'ERROR:' token if an exception is raised. 792 o gendirdeps.mk if ERROR: from meta2deps.py do not update 793 anything. 794 7952011-10-30 Simon J. Gerraty <sjg@bad.crufty.net> 796 797 * install-new.mk separate the cmp and copy logic to its own function. 798 7992011-10-28 Simon J. Gerraty <sjg@bad.crufty.net> 800 801 * install-mk (MK_VERSION): bump version to 20111028 802 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto 803 * subdir.mk: ensure _SUBDIRUSE is provided 804 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk 805 * meta.subdir.mk: always allow for Makefile.depend 806 8072011-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 808 809 * install-mk (MK_VERSION): bump version to 20111010 810 o minor tweak to *dirdeps.mk from Juniper sjg@ 811 8122011-10-01 Simon J. Gerraty <sjg@bad.crufty.net> 813 814 * install-mk (MK_VERSION): bump version to 20111001 815 o add meta2deps.py from Juniper sjg@ 816 o tweak gendirdeps.mk to work with meta2deps.py when not 817 cross-building 818 * autoconf.mk: add autoconf-input as a hook for regenerating 819 AUTOCONF_INPUTS (configure). 820 8212011-08-24 Simon J. Gerraty <sjg@bad.crufty.net> 822 823 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful 824 trigger for updating Makefile.depend* 825 8262011-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 827 828 * install-mk (MK_VERSION): bump version to 20110808 829 * obj.mk: minor cleanup 830 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too. 831 8322011-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 833 834 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the 835 specified dir. 836 8372011-06-28 Simon J. Gerraty <sjg@bad.crufty.net> 838 839 * meta.autodep.mk: if XMAKE_META_FILE is set 840 the makefile uses a foreign make, and so dependencies 841 can only be gathered from a clean tree build. 842 8432011-06-24 Simon J. Gerraty <sjg@bad.crufty.net> 844 845 * install-mk (MK_VERSION): bump version to 20110622 846 * meta.autodep.mk: improve bootstraping 847 8482011-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 849 850 * yacc.mk: handle the corner case of .c being removed 851 while .h remains. 852 8532011-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 854 855 * yacc.mk: do .y.h and .y.c separately 856 8572011-06-04 Simon J. Gerraty <sjg@bad.crufty.net> 858 859 * install-mk (MK_VERSION): bump version to 20110606 860 * don't store SRC_DIRDEPS in Makefile.depend* by default 861 not everyone needs it. 862 8632011-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 864 865 * install-mk (MK_VERSION): bump version to 20110505 866 first release including meta mode makefiles 867 8682011-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 869 870 * meta.stage.mk: add STAGE_AS_SETS and stage_as 871 for things that need to be staged with different names. 872 8732011-05-01 Simon J. Gerraty <sjg@bad.crufty.net> 874 875 * meta.stage.mk: add notion of STAGE_SETS 876 so a makefile can stage to multiple dirs 877 8782011-04-03 Simon J. Gerraty <sjg@bad.crufty.net> 879 880 * rst2htm.mk: convert rst to s5 (slides) or plain html depending 881 on target name. 882 8832011-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 884 885 * install-mk (MK_VERSION): bump version to 20110330 886 8872011-03-29 Simon J. Gerraty <sjg@bad.crufty.net> 888 889 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0 890 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest. 891 * sys.mk: re-define M_whence in terms of M_type. 892 M_type is useful for checking if something is a builtin. 893 8942011-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 895 896 * meta.stage.mk: add stage_symlinks and leverage StageLinks for 897 stage_libs 898 8992011-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 900 901 * dirdeps.mk: correct value for _depdir_files depends on 902 .MAKE.DEPENDFILE 903 Add our copyright - just to make it clear we have frobbed this 904 quite a bit. 905 DEP_MACHINE needs to be set to MACHINE each time, if using only 906 Makefile.depend (cf. Makefile.depend.${MACHINE}) 907 908 * meta.stage.mk: meta mode version of staging 909 910 * init.mk, final.mk: include local.*.mk to simplify customization 911 9122011-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 913 914 * auto.obj.mk: just because we are doing mk destroy, we should 915 still set .OBJDIR correctly if it exists. 916 917 * install-mk (mksrc): do not exclude meta.sys.mk 918 9192011-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 920 921 * host-target.mk: set/export _HOST_ARCH etc separately, 922 catch junk resulting from uname -p, so we can find sys/Linux.mk 923 correctly. 924 9252011-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 926 927 * meta.sys.mk: throw an error if /dev/filemon is missing and we 928 expected to be updating Makefile.depend* 929 9302011-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 931 932 * install-mk (MK_VERSION): bump version to 20110214 933 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES 934 9352010-09-25 Simon J. Gerraty <sjg@bad.crufty.net> 936 937 * meta.sys.mk: not valid for older bmake 938 9392010-09-24 Simon J. Gerraty <sjg@bad.crufty.net> 940 941 * install-mk (MK_VERSION): bump version to 20100919 942 include dirdeps.mk et al from Juniper Networks, 943 for meta mode - requires filemon(9). 944 * sys.mk, subdir.mk: Add hooks for meta mode. 945 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk 946 to make turning it on/off simple. 947 9482010-06-16 Simon J. Gerraty <sjg@bad.crufty.net> 949 950 * install-mk (MK_VERSION): bump version to 20100616 951 * fix typo in sys.mk 952 9532010-06-12 Simon J. Gerraty <sjg@bad.crufty.net> 954 955 * install-mk (MK_VERSION): bump version to 20100612 956 * lib.mk: remove duplicate addition to SOBJS 957 9582010-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 959 960 * sys.mk: Add a means of selectively turning on debug flags. 961 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg" 962 will act as if we did make -dv if .CURDIR ends in lib/sjg 963 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at 964 the start of sys.mk rather than the end. 965 This only makes sense for leaf dirs, so we check that 966 .MAKE.LEVEL > 0 967 9682010-06-09 Simon J. Gerraty <sjg@bad.crufty.net> 969 970 * install-mk (MK_VERSION): bump version to 20100608 971 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al. 972 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606 973 also make it easier for folk to tweak 974 9752010-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 976 977 * install-mk (MK_VERSION): bump version to 20100606 978 do not install examples/* 979 * FILES: add examples/sys.clean-env.mk 980 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR 981 this requires bmake-20100606 or later to work. 982 9832010-05-13 Simon J. Gerraty <sjg@bad.crufty.net> 984 985 * sys.mk (M_tA): better simulate the result of :tA if not available. 986 9872010-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 988 989 * sys.mk: canonicalize MAKE_VERSION 990 old versions reported bmake-<src-date> build-<build-date> 991 whereas we only care about <src-date> 992 9932010-04-25 Simon J. Gerraty <sjg@bad.crufty.net> 994 995 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored 996 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION 997 is !empty 998 9992010-04-22 Simon J. Gerraty <sjg@bad.crufty.net> 1000 1001 * dpadd.mk: use LDADD_* if defined. 1002 10032010-04-21 Simon J. Gerraty <sjg@bad.crufty.net> 1004 1005 * install-mk (MK_VERSION): bump version to 20100420 1006 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy 1007 * autoconf.mk allow AUTO_AUTOCONF 1008 10092010-04-19 Simon J. Gerraty <sjg@bad.crufty.net> 1010 1011 * obj.mk: add objwarn to keep freebsd makefiles happy 1012 * auto.obj.mk: ensure Mkdirs is available. 1013 * FILES: add auto.dep.mk - a simpler version of autodep.mk 1014 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if 1015 asked to do that. 1016 fix/simplify the tests for when to run mkdep. 1017 * auto.dep.mk: add some explanation of how/what we do. 1018 * autodep.mk: skip the .OPTIONAL frobbing of .depend 1019 bmake's FROM_DEPEND flag makes it redundant. 1020 10212010-04-13 Simon J. Gerraty <sjg@bad.crufty.net> 1022 1023 * install-mk (MK_VERSION): bump version to 20100404 1024 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE. 1025 * obj.mk: protect from multiple inclusion even as bsd.obj.mk 1026 Also create a target _SUBDIRUSE so that we can be used without 1027 subdir.mk 1028 10292010-04-12 Simon J. Gerraty <sjg@bad.crufty.net> 1030 1031 * dep.mk: use <> when .including so can override. 1032 10332010-01-11 Simon J. Gerraty <sjg@bad.crufty.net> 1034 1035 * lib.mk (SHLIB_LINKS): ensure a string comparison. 1036 10372010-01-04 Simon J. Gerraty <sjg@bad.crufty.net> 1038 1039 * install-mk (MK_VERSION): bump version to 20100102 1040 * own.mk: ensure PRINTOBJDIR works 1041 * autoconf.mk: pass on CONFIGURE_ARGS 1042 * init.mk: handle COPTS.${.IMPSRC:T} etc. 1043 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION 1044 fix handling of symlinks for darwin 1045 * libnames.mk: add DSHLIBEXT for libs which only exist as shared. 1046 * man.mk: suppress chown when not root. 1047 * rst2htm.mk: allow srcs from multiple locations. 1048 * sys.mk: M_whence, stop after 1st line of output. 1049 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT 1050 * sys/SunOS.mk: we need to export PATH 1051 10522009-12-23 Simon J. Gerraty <sjg@void.crufty.net> 1053 1054 * install-mk (MK_VERSION): bump version 1055 include rst2htm.mk 1056 10572009-12-17 Simon J. Gerraty <sjg@void.crufty.net> 1058 1059 * sys.mk,libnames.mk add .-include <local.*> 1060 this allows local customization without the need to edit the 1061 distributed files. 1062 10632009-12-14 Simon J. Gerraty <sjg@void.crufty.net> 1064 1065 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up 1066 older versions already installed. 1067 10682009-12-13 Simon J. Gerraty <sjg@void.crufty.net> 1069 1070 * stage.mk (.stage-install): generalize lib.mk's .libinstall 1071 * rules.mk rules for generic Makefile. 1072 * inc.mk install for includes. 1073 10742009-12-11 Simon J. Gerraty <sjg@void.crufty.net> 1075 1076 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check 1077 this, so provide it if using native make. 1078 10792009-12-10 Simon J. Gerraty <sjg@void.crufty.net> 1080 1081 * FILES: move all the platform *.sys.mk files to sys/*.mk 1082 * Rename Generic.sys.mk to sys.mk - we always want it. 1083 10842009-11-17 Simon J. Gerraty <sjg@void.crufty.net> 1085 1086 * install-mk (MK_VERSION): bump version 1087 * host-target.mk: only export the expensive stuff 1088 * Generic.sys.mk (sys_mk): for SunOS we need to look for 1089 ${HOST_OS}.${HOST_OSMAJOR} too! 1090 10912009-11-07 Simon J. Gerraty <sjg@void.crufty.net> 1092 1093 * install-mk (MK_VERSION): bump version 1094 * lib.mk: if sys.mk doesn't give us an lorder, don't use it. 1095 based on patch from Greg Olszewski. 1096 * Generic.sys.mk: if we have nothing to work with 1097 set LORDER etc only if we can find it. 1098 10992009-09-08 Simon J. Gerraty <sjg@void.crufty.net> 1100 1101 * install-mk (MK_VERSION): bump version 1102 * man.mk: cleanman: remove CLEANMAN if defined. 1103 11042009-09-04 Simon J. Gerraty <sjg@void.crufty.net> 1105 1106 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk 1107 11082009-07-17 Simon J. Gerraty <sjg@void.crufty.net> 1109 1110 * install-mk (MK_VERSION): bump version 1111 include auto.obj.mk 1112 1113 11142009-03-26 Simon J. Gerraty <sjg@void.crufty.net> 1115 1116 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail. 1117 11182008-11-11 Simon J. Gerraty <sjg@void.crufty.net> 1119 1120 * install-mk (MK_VERSION): bump version 1121 man.mk: ensure we generate *.cat1 etc in . 1122 11232008-07-16 Simon J. Gerraty <sjg@void.crufty.net> 1124 1125 * install-mk (MK_VERSION): bump version 1126 add prlist.mk 1127 11282007-11-25 Simon J. Gerraty <sjg@void.crufty.net> 1129 1130 * Generic.sys.mk: Allow os specific sys.mk to be in a 1131 subdir of ${.PARSEDIR} 1132 11332007-11-22 Simon J. Gerraty <sjg@void.crufty.net> 1134 1135 * install-mk (MK_VERSION): bump version 1136 * general cleanup 1137 * dpadd.mk introduce DPMAGIC_LIBS_* 1138 11392007-04-30 Simon J. Gerraty <sjg@void.crufty.net> 1140 1141 * install-mk (MK_VERSION): bump version 1142 1143 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog 1144 depend files and ensure clean is called for each lib/prog. 1145 11462007-03-27 Simon J. Gerraty <sjg@void.crufty.net> 1147 1148 * autodep.mk (.depend): delete lines that do not start with 1149 space and do not contain ':' 1150 11512007-02-16 Simon J. Gerraty <sjg@void.crufty.net> 1152 1153 * autodep.mk (.depend): gcc may wrap lines if pathnames are long 1154 so make sure the transform for .OPTIONAL copes. 1155 11562007-02-03 Simon J. Gerraty <sjg@void.crufty.net> 1157 1158 * install-mk (MK_VERSION): bump version 1159 1160 * own.mk: make sure RM and LN are defined. 1161 1162 * obj.mk: fix a typo, and objlink target. 1163 11642006-12-30 Simon J. Gerraty <sjg@void.crufty.net> 1165 1166 * install-mk (MK_VERSION): bump version 1167 * added libs.mk - analogous to progs.mk 1168 make both of them always inlcude {lib,prog}.mk 1169 11702006-12-28 Simon J. Gerraty <sjg@void.crufty.net> 1171 1172 * progs.mk: add a means of building multiple apps in one dir. 1173 11742006-11-26 Simon J. Gerraty <sjg@void.crufty.net> 1175 1176 * install-mk (MK_VERSION): bump version to 20061126 1177 1178 * warnings.mk: detect invalid WARNINGS_SET 1179 1180 * warnings.mk: use ${.TARGET:T:R}.o when looking for target 1181 specific warnings. 1182 1183 * For .cc sources, turn off warnings that g++ vomits on. 1184 11852006-11-08 Simon J. Gerraty <sjg@void.crufty.net> 1186 1187 * own.mk: if __initialized__ target doesn't exist and we are 1188 FreeBSD we got here directly from sys.mk 1189 11902006-11-06 Simon J. Gerraty <sjg@void.crufty.net> 1191 1192 * install-mk (MK_VERSION): bump version to 20061106 1193 add scripts.mk 1194 11952006-03-18 Simon J. Gerraty <sjg@void.crufty.net> 1196 1197 * install-mk (MK_VERSION): bump version to 20060318 1198 1199 * autodep.mk: avoid := when modifying OBJS into __dependsrcs 1200 12012006-03-02 Simon J. Gerraty <sjg@void.crufty.net> 1202 1203 * install-mk (MK_VERSION): bump version to 20060302 1204 * autodep.mk: use -MF et al to help gcc+ccache DTRT. 1205 12062006-03-01 Simon J. Gerraty <sjg@void.crufty.net> 1207 1208 * install-mk (MK_VERSION): bump version to 20060301 1209 * autodep.mk (.depend): 1210 if MAKE_VERSION is newer than 20050530 we can make .END depend on 1211 .depend and make .depend depend on __depsrcs that exist. 1212 * dpadd.mk: add SRC_PATHADD 1213 12142005-11-04 Simon J. Gerraty <sjg@void.crufty.net> 1215 1216 * install-mk (MK_VERSION): bump version to 20051104 1217 * prog.mk: remove all the LIBC?= junk, use 1218 .-include libnames.mk instead (none by default). 1219 also if USE_DPADD_MK is set, include that. 1220 12212005-10-09 Simon J. Gerraty <sjg@void.crufty.net> 1222 1223 * install-mk (MK_VERSION): bump version to 20051001 1224 Add UnixWare.sys.mk from Klaus Heinz. 1225 12262005-04-05 Simon J. Gerraty <sjg@void.crufty.net> 1227 1228 * install-mk: always install *.sys.mk and if need be symlink one 1229 to sys.mk 1230 12312005-03-22 Simon J. Gerraty <sjg@void.crufty.net> 1232 1233 * subdir.mk, own.mk: use .MAKE rather than MAKE 1234 12352004-02-15 Simon J. Gerraty <sjg@void.crufty.net> 1236 1237 * own.mk: don't use NetBSD's _SRC_TOP_ it can 1238 cause confusion. Also don't take just 'mk' as a 1239 srctop indicator. 1240 12412004-02-14 Simon J. Gerraty <sjg@void.crufty.net> 1242 1243 * warnings.mk: overhauled, now very powerful. 1244 12452004-02-03 Simon J. Gerraty <sjg@void.crufty.net> 1246 1247 * Generic.sys.mk: need to use ${.PARSEDIR} with exists(). 1248 12492004-02-01 Simon J. Gerraty <sjg@void.crufty.net> 1250 1251 * install-mk (MK_VERSION): bump version to 20040201 1252 * extract HOST_TARGET stuff to host-target.mk so own.mk and 1253 Generic.sys.mk can share. 1254 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR. 1255 12562003-09-30 Simon J. Gerraty <sjg@void.crufty.net> 1257 1258 * install-mk (MK_VERSION): 20030930 1259 * rename generic.sys.mk to Generic.sys.mk 1260 so that it does not get installed (unless being used as sys.mk) 1261 * set OS and ROOT_GROUP for those that we know the value. 1262 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so 1263 we don't do it again for each sub-make. 1264 12652003-09-28 Simon J. Gerraty <sjg@void.crufty.net> 1266 1267 * install-mk (MK_VERSION): 20030928 1268 Add some extra *.sys.mk from bootstrap-pkgsrc 1269 some of these likely still need work. 1270 Make everything default to root:wheel ownership, 1271 sys.mk can set ROOT_GROUP accordingly. 1272 12732003-08-07 Simon J. Gerraty <sjg@void.crufty.net> 1274 1275 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR 1276 not the portable ones. 1277 12782003-07-31 Simon J. Gerraty <sjg@void.crufty.net> 1279 1280 * install-mk: add ability to use cp -f when updating 1281 destination .mk files. Also now possible to play games with 1282 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk 1283 into dest - not recommended unless you seriously want to. 1284 12852003-07-28 Simon J. Gerraty <sjg@void.crufty.net> 1286 1287 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc 1288 for semi-compatability with NetBSD. 1289 12902003-07-23 Simon J. Gerraty <sjg@void.crufty.net> 1291 1292 * install-mk: add a version indicator 1293 12942003-07-22 Simon J. Gerraty <sjg@void.crufty.net> 1295 1296 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null 1297 1298 * install-mk: Allow FORCE_SYS_MK to come from env 1299 1300 1301 1302