12017-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 2 3 * install-mk (MK_VERSION): 20170418 4 5 * auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a 6 prefix match for .CURDIR - in which case .CURDIR *is* __objdir. 7 82017-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 9 10 * install-mk (MK_VERSION): 20170401 11 12 * meta2deps.py: add is_src so we can check if obj dependency 13 is also a src dependency. 14 152017-03-26 Simon J. Gerraty <sjg@bad.crufty.net> 16 17 * install-mk (MK_VERSION): 20170326 18 19 * meta.stage.mk: do nothing if NO_STAGING is defined. 20 212017-03-24 Simon J. Gerraty <sjg@bad.crufty.net> 22 23 * auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc. 24 252017-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 26 27 * mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_* 28 292017-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 30 31 * install-mk (MK_VERSION): 20170301 32 33 * dirdeps.mk (_build_all_dirs): update this outside test for empty 34 DIRDEPS. 35 36 * meta.stage.mk: allow multiple inclusion to the extent it makes 37 sense. 38 392017-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 40 41 * prog.mk (install_links): depends on realinstall 42 432017-02-12 Simon J. Gerraty <sjg@bad.crufty.net> 44 45 * install-mk (MK_VERSION): 20170212 46 47 * dpadd.mk: avoid applying :T:R twice to DPLIBS entries 48 492017-01-30 Simon J. Gerraty <sjg@bad.crufty.net> 50 51 * install-mk (MK_VERSION): 20170130 52 53 * dirdeps.mk: use :range if we can. 54 55 * sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130 56 57 * meta2deps.py: clean paths without using realpath() where possible. 58 fix sort_unique. 59 602016-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 61 62 * install-mk (MK_VERSION): 20161212 63 64 * meta2deps.py: set pid_cwd[pid] when we process 'C'hdir, 65 rather than when we detect pid change. 66 672016-12-07 Simon J. Gerraty <sjg@bad.crufty.net> 68 69 * install-mk (MK_VERSION): 20161207 70 71 * meta.stage.mk: add stage_as_and_symlink for staging packages. 72 We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able 73 to use foo.tgz to reference the latest staged version - so we 74 make foo.tgz a symlink to it. 75 Using a target to do both operations ensures we stay in sync. 76 772016-11-26 Simon J. Gerraty <sjg@bad.crufty.net> 78 79 * install-mk (MK_VERSION): 20161126 80 81 * dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk 82 so it can add dependencies. 83 842016-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 85 86 * dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE 87 do that they can influence the result correctly. 88 89 * dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC 90 91 * dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST 92 similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST 93 942016-10-05 Simon J. Gerraty <sjg@bad.crufty.net> 95 96 * dirdeps.mk: remove dependence on jot (normal situations anyway). 97 Before we read another Makefile.depend* set DEP_* vars from 98 _DEP_TARGET_SPEC in case it uses any of them with := 99 When bootstrapping, trim any ,* from extention of chosen _src 100 Makefile.depend* to get the machine value we subst for. 101 1022016-09-30 Simon J. Gerraty <sjg@bad.crufty.net> 103 104 * dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to 105 DEP_SKIP_DIR and DEP_DIRDEPS_FILTER 106 107 * sys.mk: extract some bits to sys.{debug,vars}.mk 108 for easier re-use by others. 109 1102016-09-23 Simon Gerraty <sjg@sjg-mba13> 111 112 * lib.mk: Use ${PICO} for extension for PIC objects. 113 default to .pico (like NetBSD) safe on case insensitive filesystem. 114 1152016-08-19 Simon J. Gerraty <sjg@bad.crufty.net> 116 117 * meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default 118 1192016-08-15 Simon J. Gerraty <sjg@bad.crufty.net> 120 121 * install-mk (MK_VERSION): 20160815 122 123 * dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only 124 consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date. 125 1262016-08-13 Simon J. Gerraty <sjg@bad.crufty.net> 127 128 * meta.sys.mk (.MAKE.META.IGNORE_PATHS): 129 in meta mode we can ignore the mtime of makefiles 130 1312016-08-02 Simon J. Gerraty <sjg@bad.crufty.net> 132 133 * install-mk (MK_VERSION): 20160802 134 135 * lib.mk (libinstall): depends on beforinstall 136 137 * prog.mk (proginstall): depends on beforinstall 138 patch from Lauri Tirkkonen 139 140 * dirdeps.mk (bootstrap): When bootstrapping; creat 141 .MAKE.DEPENDFILE_DEFAULT and allow additional filtering via 142 .MAKE.DEPENDFILE_BOOTSTRAP_SED 143 144 * dirdeps.mk: move some comments to where they make sense. 145 1462016-07-27 Simon J. Gerraty <sjg@bad.crufty.net> 147 148 * dirdeps.mk (DIRDEPS_CACHE): no dirname. 149 1502016-06-02 Simon J. Gerraty <sjg@bad.crufty.net> 151 152 * install-mk (MK_VERSION): 20160602 153 * meta.autodep.mk: when passing META_FILES to gendirdeps.mk 154 do not apply :T to META_XTRAS 155 patch from Bryan Drewery at FreeBSD.org. 156 1572016-05-30 Simon J. Gerraty <sjg@bad.crufty.net> 158 159 * install-mk (MK_VERSION): 20160530 160 * meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH 161 make it so. 162 1632016-05-12 Simon J. Gerraty <sjg@bad.crufty.net> 164 165 * install-mk (MK_VERSION): 20160512 166 167 * dpadd.mk: always include local.dpadd.mk if it exists 168 remove some things that better belong in local.dpadd.mk 169 skip INCLUDES_* for staged libs unless SRC_* defined. 170 171 * own.mk: add INCLUDEDIR 172 1732016-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 174 175 * dirdeps.mk: when doing -f dirdeps.mk if target suppies no 176 TARGET_MACHINE - :E will be empty or match part of path, use 177 ${MACHINE} 178 1792016-04-07 Simon J. Gerraty <sjg@bad.crufty.net> 180 181 * meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to 182 NO_FILEMON_COOKIE 183 184 * dirdeps.mk: move the logic that allows for 185 make -f dirdeps.mk some/dir.${TARGET_SPEC} 186 inside the check for !target(_DIRDEP_USE) 187 1882016-04-04 Simon J. Gerraty <sjg@bad.crufty.net> 189 190 * Use <> when including local*.mk and others which may exist 191 elsewhere so that user can better control what they get. 192 193 * meta.autodep.mk (NO_FILEMON_COOKIE): 194 create a cookie if we ever build dir with nofilemon 195 so that UPDATE_DEPENDFILE will be forced to NO until cleaned. 196 1972016-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 198 199 * install-mk (MK_VERSION): 20160401 200 201 * meta2deps.py: fix old print statement when debugging. 202 203 * gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X 204 patch from Bryan Drewery 205 2062016-03-22 Simon J. Gerraty <sjg@bad.crufty.net> 207 208 * install-mk (MK_VERSION): 20160317 (St. Pats) 209 210 * warnings.mk: g++ does not like -Wimplicit 211 212 * sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the 213 pelthora of common suffixes for C++ 214 215 * lib.mk: use .So for shared objects 216 2172016-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 218 219 * install-mk (MK_VERSION): 20160315 220 221 * meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1) 222 normally only applies to scripts. 223 224 * dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as 225 well as outside it. 226 2272016-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 228 229 * install-mk (MK_VERSION): 20160310 230 231 * dirdeps.mk: use targets rather than a list to track DIRDEPS that 232 we have processed; the list gets very inefficient as number of 233 DIRDEPS gets large. 234 235 * sys.dependfile.mk: fix comment wrt MACHINE 236 237 * meta.autodep.mk: ignore staged DPADDs when bootstrapping. 238 patch from Bryan Drewery 239 2402016-03-02 Simon J. Gerraty <sjg@bad.crufty.net> 241 242 * meta2deps.sh: don't ignore subdirs. 243 patch from Bryan Drewery 244 2452016-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 246 247 * install-mk (MK_VERSION): 20160226 248 249 * gendirdeps.mk: mark _DEPENDFILE .NOMETA 250 2512016-02-20 Simon J. Gerraty <sjg@bad.crufty.net> 252 253 * dirdeps.mk: we shouldn't normally include .depend but if we do 254 use .dinclude if we can. 255 2562016-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 257 258 * install-mk (MK_VERSION): 20160218 259 * sys.clean-env.mk: with recent change to Var_Subst() 260 we cannot use the '$$' trick, but .export-literal does the job 261 we need. 262 * auto.dep.mk: make use .dinclude if we can. 263 264 2652016-02-05 Simon J. Gerraty <sjg@bad.crufty.net> 266 267 * dirdeps.mk: 268 Add _build_all_dirs such that local.dirdeps.mk can 269 add fully qualified dirs to it. 270 These will be built normally but the current 271 DEP_RELDIR will not depend on then (to avoid cycles). 272 This makes it easy to hook things like unit-tests into build. 273 274 2752016-01-21 Simon J. Gerraty <sjg@bad.crufty.net> 276 277 * dirdeps.mk: add bootstrap-empty 278 2792015-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 280 281 * install-mk (MK_VERSION): 20151212 282 * auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist. 283 only apply :tA to __objdir when comparing to .OBJDIR 284 2852015-11-14 Simon J. Gerraty <sjg@bad.crufty.net> 286 287 * install-mk (MK_VERSION): 20151111 288 289 * meta.sys.mk: include sys.dependfile.mk 290 291 * sys.mk (OPTIONS_DEFAULT_NO): use options.mk 292 to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD 293 include local.sys.env.mk early 294 include local.sys.mk later 295 296 * own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk 297 2982015-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 299 300 * meta.sys.mk (META_COOKIE_TOUCH): 301 add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie 302 303 * meta.stage.mk: stage_libs should ignore SYMLINKS. 304 3052015-10-23 Simon J. Gerraty <sjg@bad.crufty.net> 306 307 * install-mk (MK_VERSION): 20151022 308 309 * sys.mk: BSD/OS does not have 'type' as a shell builtin. 310 3112015-10-20 Simon J. Gerraty <sjg@bad.crufty.net> 312 313 * install-mk (MK_VERSION): 20151020 314 315 * dirdeps.mk: Add logic for 316 make -f dirdeps.mk some/dir.${TARGET_SPEC} 317 3182015-10-14 Simon J. Gerraty <sjg@bad.crufty.net> 319 320 * install-mk (MK_VERSION): 20151010 321 3222015-10-02 Simon J. Gerraty <sjg@bad.crufty.net> 323 324 * meta.stage.mk: use staging: ${STAGE_TARGETS:... 325 to have stage_lins run last in non-jobs mode. 326 Use .ORDER only for jobs mode. 327 3282015-09-02 Simon J. Gerraty <sjg@bad.crufty.net> 329 330 * rst2htm.mk: allow for per target flags etc. 331 3322015-09-01 Simon J. Gerraty <sjg@bad.crufty.net> 333 334 * install-mk (MK_VERSION): 20150901 335 336 * doc.mk: create dir if needed use DOC_INSTALL_OWN 337 3382015-06-15 Simon J. Gerraty <sjg@bad.crufty.net> 339 340 * install-mk (MK_VERSION): 20150615 341 342 * auto.obj.mk: allow use of MAKEOBJDIRPREFIX too. 343 Follow make's normal precedence rules. 344 345 * gendirdeps.mk: allow customization of the header. 346 eg. for FreeBSD: 347 GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}'; 348 349 * meta.autodep.mk: ignore dirdeps.cache* 350 351 * meta.stage.mk: when bootstrapping options it can be handy to 352 throw warnings rather than errors for staging conflicts. 353 354 * meta.sys.mk: include local.meta.sys.mk for customization 355 3562015-06-06 Simon J. Gerraty <sjg@bad.crufty.net> 357 358 * install-mk (MK_VERSION): 20150606 359 360 * dirdeps.mk: don't rely on manually maintained Makefile.depend 361 to set DEP_RELDIR and reset DIRDEPS. 362 By setting DEP_RELDIR ourselves we can skip :tA 363 364 * gendirdeps.mk: skip setting DEP_RELDIR. 365 3662015-05-24 Simon J. Gerraty <sjg@bad.crufty.net> 367 368 * dirdeps.mk: avoid wildcards like make(bootstrap*) 369 3702015-05-20 Simon J. Gerraty <sjg@bad.crufty.net> 371 372 * install-mk (MK_VERSION): 20150520 373 374 * dirdeps.mk: when we are building dirdeps cache file we *want* 375 meta_oodate to look at all the Makefile.depend files, so 376 set .MAKE.DEPENDFILE to something that won't match. 377 378 * meta.stage.mk: for STAGE_AS_* basename of file may not be unique 379 so first use absolute path as key. 380 Also skip staging at level 0. 381 3822015-04-30 Simon J. Gerraty <sjg@bad.crufty.net> 383 384 * install-mk (MK_VERSION): 20150430 385 386 * dirdeps.mk: fix _count_dirdeps for non-cache case. 387 3882015-04-16 Simon J. Gerraty <sjg@bad.crufty.net> 389 390 * install-mk (MK_VERSION): 20150411 391 bump version 392 393 * own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES. 394 it is here mainly for documentation purposes, since 395 if using auto.obj.mk it is better done via sys.mk 396 3972015-04-01 Simon J. Gerraty <sjg@bad.crufty.net> 398 399 * install-mk (MK_VERSION): 20150401 400 401 * meta2deps.sh: support @list 402 403 * meta2deps.py: updates from Juniper 404 o add EXCLUDES 405 o skip bogus input files. 406 o treat 'M' and 'L' as both an 'R' and a 'W' 407 4082015-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 409 410 * install-mk (MK_VERSION): 20150303 411 412 * dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache 413 which is built via sub-make so we have a .meta file to tell if 414 it is out-of-date. 415 The dirdeps-cache contains the same dependency rules that we 416 normaly construct on the fly. 417 This adds a few seconds overhead when the cache is out of date, 418 but for a large target, the savings can be significant (10-20min). 419 4202014-11-18 Simon J. Gerraty <sjg@bad.crufty.net> 421 422 * install-mk (MK_VERSION): 20141118 423 424 * meta.stage.mk: add stale_staged 425 426 * dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked 427 only useful under very rare conditions such as 428 FreeBSD's make universe. 429 430 * auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto 431 4322014-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 433 434 * install-mk (MK_VERSION): 20141111 435 436 * mkopt.sh: use consistent semantics for _mk_opt and _mk_opts 437 4382014-11-09 Simon J. Gerraty <sjg@bad.crufty.net> 439 440 * FILES: include mkopt.sh which allows handling options in shell 441 scripts in a manner compatible with options.mk 442 4432014-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 444 445 * meta.stage.mk: ensure only _STAGED_DIRS under objroot are used 446 for GENDIRDEPS_FILTER to avoid surprises. 447 4482014-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 449 450 * dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by 451 the time it is applied to __depdirs they have. 452 453 * dirdeps.mk fix filtering of _machines since M_dep_qual_fixes 454 expects patterns like *.${MACHINE} 455 456 * cython.mk (pyprefix?): use pyprefix to find python bits 457 since prefix might be something else (where we install our 458 stuff) 459 4602014-09-11 Simon J. Gerraty <sjg@bad.crufty.net> 461 462 * install-mk (MK_VERSION): 20140911 463 464 * dirdeps.mk: add bootstrap target to simplify adding support for 465 new MACHINE. 466 4672014-09-01 Simon J. Gerraty <sjg@bad.crufty.net> 468 469 * gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and 470 GENDIRDEPS_FILTER_VARS to make it easier to produce sharable 471 Makefile.depend files. 472 4732014-08-28 Simon J. Gerraty <sjg@bad.crufty.net> 474 475 * install-mk (MK_VERSION): 20140828 476 477 * cython.mk: capture logic for building python extension modules 478 with Cython. 479 4802014-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 481 482 * meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant 483 4842014-08-02 Simon J. Gerraty <sjg@bad.crufty.net> 485 486 * install-mk (MK_VERSION): 20140801 487 488 * dep.mk: use explicit MKDEP_MK rather than overload MKDEP to 489 identify the autodep.mk variant. 490 491 * sys.dependfile.mk: delete .MAKE.DEPENDFILE if its 492 initial value does not match .MAKE.DEPENDFILE_PREFIX 493 494 * meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS 495 4962014-05-22 Simon J. Gerraty <sjg@bad.crufty.net> 497 498 * install-mk (MK_VERSION): 20140522 499 500 * lib.mk: use CC to link shlib for linux too 501 patch from Brendan MacDonell 502 5032014-05-05 Simon J. Gerraty <sjg@bad.crufty.net> 504 505 * meta.autodep.mk: add _reldir_{finish,failed} for gathering stats 506 if WITH_META_STATS is defined. 507 5082014-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 509 510 * dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS) 511 to supress dirdeps outside of .CURDIR. 512 5132014-04-05 Simon J. Gerraty <sjg@bad.crufty.net> 514 515 * Fix spelling errors - patch from Pedro Giffuni 516 5172014-03-14 Simon J. Gerraty <sjg@bad.crufty.net> 518 519 * install-mk (MK_VERSION): 20140314 520 521 * dirdeps.mk (beforedirdeps): a handy hook 522 523 * dirdeps.mk (DIRDEP_MAKE): allow the actual command we run 524 to visit leaf dirs to be intercepted (eg. for distributed 525 build). 526 527 * dirdeps.mk (__depdirs): ensure // don't sneak in 528 529 * gendirdeps.mk (DIRDEPS): ensure // don't sneak in 530 531 5322014-02-21 Simon J. Gerraty <sjg@bad.crufty.net> 533 534 * rst2htm.mk (RST2PDF): add support for rst2pdf 535 5362014-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 537 538 * install-mk (MK_VERSION): bump version 539 * dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if 540 available. 541 5422014-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 543 544 * options.mk: avoid :U so this isn't bmake dependent 545 5462014-02-09 Simon J. Gerraty <sjg@bad.crufty.net> 547 548 * options.mk: cleanup and simplify semanitcs 549 NO_* dominates all, if both WITH_* and WITHOUT_* 550 are defined then result is DOMINATE_* which defaults to "no". 551 Ie. WITHOUT_ normally wins. 552 5532013-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 554 555 * install-mk (MK_VERSION): bump version 556 * meta2deps.py: convert to print function for python3 compat. 557 we also need to open files with mode 'r' rather than 'rb' 558 otherwise we get bytes instead of strings. 559 5602013-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 561 562 * install-mk (MK_VERSION): bump version 563 564 * dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE 565 apply the same filtering (M_dep_qual_fixes) when setting _machines 566 as _build_dirs. 567 Also fix the filtering of Makefile.depend files - for reporting 568 what we are looking for (M_dep_qual_fixes can get confused by 569 Makefile.depend) 570 Add some more debug info. 571 5722013-09-04 Simon J. Gerraty <sjg@bad.crufty.net> 573 574 * gendirdeps.mk (_objtops): fix typo also 575 while processing M2D_OBJROOTS to gather qualdir_list 576 qualify $ql with loop iterator to ensure correct results. 577 5782013-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 579 580 * install-mk (MK_VERSION): 20130801 581 * libs.mk: update to match progs.mk 582 5832013-07-26 Simon J. Gerraty <sjg@bad.crufty.net> 584 585 * install-mk (MK_VERSION): 20130726 586 some updates from Juniper and FreeBSD 587 o meta2deps.py: indicate file and line number when we hit parse 588 errors 589 also allow @file to provide huge list of .meta files. 590 * meta2deps.py: add try_parse() to cleanup the above. 591 5922013-07-16 Simon J. Gerraty <sjg@bad.crufty.net> 593 594 * install-mk (MK_VERSION): 20130716 595 * own.mk: add GPROG as an option 596 * prog.mk: honor MK_GPROF==yes 597 5982013-05-10 Simon J. Gerraty <sjg@bad.crufty.net> 599 600 * install-mk (MK_VERSION): 20130505 601 * gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC 602 for when $MACHINE isn't enough for objdir distinction. 603 Bring meta2deps.sh closer to par with meta2deps.py. 604 6052013-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 606 607 * meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all' 608 also if the target 'beforeinstall' exists, make it depend on 609 .dirdep (incase it uses STAGE_INSTALL). 610 6112013-04-17 Simon J. Gerraty <sjg@bad.crufty.net> 612 613 * install-mk (MK_VERSION): 20130401 ;-) 614 * meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as 615 wrapper around install(1). 616 * options.mk (OPTION_PREFIX): Allow a prefix other than MK_ 617 6182013-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 619 620 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized. 621 * install-mk (MK_VERSION): bump version 622 6232013-03-21 Simon J. Gerraty <sjg@bad.crufty.net> 624 625 * install-mk (MK_VERSION): bump version 626 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose 627 any trailing /., rather apply :tA only when needed. 628 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files. 629 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance 630 consistently. 631 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC. 632 6332013-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 634 635 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT 636 it is simpler to just not update when say building for "host" 637 (where we know we apply filters to DIRDEPS), and using a 638 non-machine qualified dependfile. 639 6402013-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 641 642 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR 643 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC 644 * gendirdeps.mk: ensure _objroot has trailing / if it needs it. 645 * meta2deps.py: if machine is "host", then also trim 646 self.host_target from any OBJROOTS. 647 648 6492013-03-11 Simon J. Gerraty <sjg@bad.crufty.net> 650 651 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine 652 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists 653 but _DEPENDFILE does not, compare the new _DEPENDFILE against 654 .MAKE.DEPENDFILE_DEFAULT and discard if the same. 655 6562013-03-08 Simon J. Gerraty <sjg@bad.crufty.net> 657 658 * meta.stage.mk: use STAGE_TARGETS to control .ORDER 659 and hook to all: via staging: 660 6612013-03-07 Simon J. Gerraty <sjg@bad.crufty.net> 662 663 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT): 664 use a separate variable for the default .MAKE.DEPENDFILE value 665 so that it can be controlled independently of 666 .MAKE.DEPENDFILE_PREFERENCE 667 668 * meta.stage.mk: throw error if cp fails etc. 669 Stage*() return early if passed no args. 670 .ORDER stage_* 671 6722013-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 673 674 * install-mk (MK_VERSION): bump version 675 * gendirdeps.mk: handle multiple M2D_OBJROOTS better. 676 6772013-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 678 679 * install-mk (MK_VERSION): bump version to 20130210 680 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py 681 from Juniper. 682 o dirdeps.mk now fully supports TARGET_SPEC consisting of more 683 than just MACHINE. 684 o no longer use DEP_MACHINE from Makefile.depend* so remove it. 685 6862013-01-23 Simon J. Gerraty <sjg@bad.crufty.net> 687 688 * install-mk (MK_VERSION): bump version to 20130123 689 * meta.stage.mk: add stage_links (hard links). 690 if doing hard links, we add dest to link as well. 691 Default the stage dir for [sym]links to STAGE_OBJTOP since 692 these are typically specified as absolute paths. 693 Add -m "mode" flag to StageFiles and StageAs. 694 6952012-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 696 697 * install-mk (MK_VERSION): bump version to 20121111 698 * autoconf.mk: avoid meta mode seeing changed commands for config.status 699 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps 700 in case we were found via .../mk 701 * sys.clean-env.mk: move it from examples, we and others use it 702 "as is". 703 * FILES: add srctop.mk and options.mk 704 * own.mk: convert to using options.mk 705 which is modeled after FreeBSD's handling of MK_* 706 but more flexible. 707 This allows MK_* for boolean knobs to not be confused 708 with MK* which can be commands. 709 710 * examples/sys.clean-env.mk: add WITH[OUT]_ to 711 MAKE_ENV_SAVE_PREFIX_LIST. 712 Mention that HOME=/var/empty might be a good idea. 713 7142012-11-08 Simon J. Gerraty <sjg@bad.crufty.net> 715 716 * sys.dependfile.mk: if not depend file exists, $MACHINE 717 specific ones are supported but not the default, 718 check if any exist and follow suit. 719 7202012-11-06 Simon J. Gerraty <sjg@bad.crufty.net> 721 722 * install-mk (MK_VERSION): bump version to 20121106 723 7242012-11-05 Simon J. Gerraty <sjg@bad.crufty.net> 725 726 * import latest dirdeps.mk and meta2deps.py from Juniper. 727 * progs.mk: add MAN and CXXFLAGS to PROG_VARS 728 also add PROGS_TARGETS and pass on PROG_CXX if it seems 729 appropriate. 730 7312012-11-04 Simon J. Gerraty <sjg@bad.crufty.net> 732 733 * meta.stage.mk: update CLEANFILES 734 remove redundant cp of .dirdep from STAGE_AS_SCRIPT. 735 * progs.mk: Add LDADD to PROG_VARS 736 7372012-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 738 739 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in 740 _STAGED_DIRS so that these can be turned into filters for 741 GENDIRDEPS_FILTER. 742 7432012-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 744 745 * install-mk (MK_VERSION): bump version to 20121010 746 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing 747 target.dirdep matches .dirdep 748 7492012-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 750 751 * install-mk (MK_VERSION): bump version to 20120808 752 * import latest meta2deps.py from Juniper. 753 7542012-07-11 Simon J. Gerraty <sjg@bad.crufty.net> 755 756 * install-mk (MK_VERSION): bump version to 20120711 757 * dep.mk: add explicit dependencies on SRCS after applying 758 SRCS_DEP_FILTER 759 * meta.autodep.mk: add explicit dependencies on SRCS after 760 applying SRCS_DEP_FILTER 761 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed. 762 7632012-06-26 Simon J. Gerraty <sjg@bad.crufty.net> 764 765 * install-mk (MK_VERSION): bump version to 20120626 766 * meta.sys.mk: ignore PYTHON if it does not exist 767 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable. 768 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any 769 entries ending in .${MACHINE} to decide if qualified _dirdep is 770 needed. 771 * gendirdeps.mk: only produce unqualified deps if no 772 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE} 773 * meta.subdir.mk: apply SUBDIRDEPS_FILTER 774 7752012-04-20 Simon J. Gerraty <sjg@bad.crufty.net> 776 777 * install-mk (MK_VERSION): bump version to 20120420 778 * add sys.dependfile.mk so we can experiment with 779 .MAKE.DEPENDFILE_PREFERENCE 780 * meta.autodep.mk: _DEPENDFILE is precious! 781 7822012-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 783 784 * install-mk (MK_VERSION): bump version to 20120315 785 * install-new.mk: avoid being interrupted 786 7872012-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 788 789 * man.mk: MAN might have multiple values so be careful with exists(). 790 7912012-01-19 Simon J. Gerraty <sjg@bad.crufty.net> 792 793 * install-mk (MK_VERSION): bump version to 20120112 794 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled 795 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}' 796 7972011-12-03 Simon J. Gerraty <sjg@bad.crufty.net> 798 799 * install-mk (MK_VERSION): bump version to 20111201 800 * import dirdeps.mk from Juniper sjg@ 801 o more consistent handling of DEP_MACHINE, especially when 802 dealing with an odd Makefile.depend, when normally using 803 Makefile.depend.${MACHINE} 804 8052011-11-22 Simon J. Gerraty <sjg@bad.crufty.net> 806 807 * install-mk (MK_VERSION): bump version to 20111122 808 * meta.autodep.mk: add some debug output, be more crisp about 809 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend 810 8112011-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 812 813 * install-mk (MK_VERSION): bump version to 20111111 814 it's too cool to miss 815 * import meta* updates from Juniper sjg@ 816 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are 817 normally using Makefile.depend.${MACHINE}), handy for 818 read-only manually maintained dependencies. 819 o meta2deps.py add a clear 'ERROR:' token if an exception is raised. 820 o gendirdeps.mk if ERROR: from meta2deps.py do not update 821 anything. 822 8232011-10-30 Simon J. Gerraty <sjg@bad.crufty.net> 824 825 * install-new.mk separate the cmp and copy logic to its own function. 826 8272011-10-28 Simon J. Gerraty <sjg@bad.crufty.net> 828 829 * install-mk (MK_VERSION): bump version to 20111028 830 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto 831 * subdir.mk: ensure _SUBDIRUSE is provided 832 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk 833 * meta.subdir.mk: always allow for Makefile.depend 834 8352011-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 836 837 * install-mk (MK_VERSION): bump version to 20111010 838 o minor tweak to *dirdeps.mk from Juniper sjg@ 839 8402011-10-01 Simon J. Gerraty <sjg@bad.crufty.net> 841 842 * install-mk (MK_VERSION): bump version to 20111001 843 o add meta2deps.py from Juniper sjg@ 844 o tweak gendirdeps.mk to work with meta2deps.py when not 845 cross-building 846 * autoconf.mk: add autoconf-input as a hook for regenerating 847 AUTOCONF_INPUTS (configure). 848 8492011-08-24 Simon J. Gerraty <sjg@bad.crufty.net> 850 851 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful 852 trigger for updating Makefile.depend* 853 8542011-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 855 856 * install-mk (MK_VERSION): bump version to 20110808 857 * obj.mk: minor cleanup 858 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too. 859 8602011-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 861 862 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the 863 specified dir. 864 8652011-06-28 Simon J. Gerraty <sjg@bad.crufty.net> 866 867 * meta.autodep.mk: if XMAKE_META_FILE is set 868 the makefile uses a foreign make, and so dependencies 869 can only be gathered from a clean tree build. 870 8712011-06-24 Simon J. Gerraty <sjg@bad.crufty.net> 872 873 * install-mk (MK_VERSION): bump version to 20110622 874 * meta.autodep.mk: improve bootstraping 875 8762011-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 877 878 * yacc.mk: handle the corner case of .c being removed 879 while .h remains. 880 8812011-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 882 883 * yacc.mk: do .y.h and .y.c separately 884 8852011-06-04 Simon J. Gerraty <sjg@bad.crufty.net> 886 887 * install-mk (MK_VERSION): bump version to 20110606 888 * don't store SRC_DIRDEPS in Makefile.depend* by default 889 not everyone needs it. 890 8912011-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 892 893 * install-mk (MK_VERSION): bump version to 20110505 894 first release including meta mode makefiles 895 8962011-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 897 898 * meta.stage.mk: add STAGE_AS_SETS and stage_as 899 for things that need to be staged with different names. 900 9012011-05-01 Simon J. Gerraty <sjg@bad.crufty.net> 902 903 * meta.stage.mk: add notion of STAGE_SETS 904 so a makefile can stage to multiple dirs 905 9062011-04-03 Simon J. Gerraty <sjg@bad.crufty.net> 907 908 * rst2htm.mk: convert rst to s5 (slides) or plain html depending 909 on target name. 910 9112011-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 912 913 * install-mk (MK_VERSION): bump version to 20110330 914 9152011-03-29 Simon J. Gerraty <sjg@bad.crufty.net> 916 917 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0 918 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest. 919 * sys.mk: re-define M_whence in terms of M_type. 920 M_type is useful for checking if something is a builtin. 921 9222011-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 923 924 * meta.stage.mk: add stage_symlinks and leverage StageLinks for 925 stage_libs 926 9272011-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 928 929 * dirdeps.mk: correct value for _depdir_files depends on 930 .MAKE.DEPENDFILE 931 Add our copyright - just to make it clear we have frobbed this 932 quite a bit. 933 DEP_MACHINE needs to be set to MACHINE each time, if using only 934 Makefile.depend (cf. Makefile.depend.${MACHINE}) 935 936 * meta.stage.mk: meta mode version of staging 937 938 * init.mk, final.mk: include local.*.mk to simplify customization 939 9402011-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 941 942 * auto.obj.mk: just because we are doing mk destroy, we should 943 still set .OBJDIR correctly if it exists. 944 945 * install-mk (mksrc): do not exclude meta.sys.mk 946 9472011-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 948 949 * host-target.mk: set/export _HOST_ARCH etc separately, 950 catch junk resulting from uname -p, so we can find sys/Linux.mk 951 correctly. 952 9532011-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 954 955 * meta.sys.mk: throw an error if /dev/filemon is missing and we 956 expected to be updating Makefile.depend* 957 9582011-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 959 960 * install-mk (MK_VERSION): bump version to 20110214 961 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES 962 9632010-09-25 Simon J. Gerraty <sjg@bad.crufty.net> 964 965 * meta.sys.mk: not valid for older bmake 966 9672010-09-24 Simon J. Gerraty <sjg@bad.crufty.net> 968 969 * install-mk (MK_VERSION): bump version to 20100919 970 include dirdeps.mk et al from Juniper Networks, 971 for meta mode - requires filemon(9). 972 * sys.mk, subdir.mk: Add hooks for meta mode. 973 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk 974 to make turning it on/off simple. 975 9762010-06-16 Simon J. Gerraty <sjg@bad.crufty.net> 977 978 * install-mk (MK_VERSION): bump version to 20100616 979 * fix typo in sys.mk 980 9812010-06-12 Simon J. Gerraty <sjg@bad.crufty.net> 982 983 * install-mk (MK_VERSION): bump version to 20100612 984 * lib.mk: remove duplicate addition to SOBJS 985 9862010-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 987 988 * sys.mk: Add a means of selectively turning on debug flags. 989 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg" 990 will act as if we did make -dv if .CURDIR ends in lib/sjg 991 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at 992 the start of sys.mk rather than the end. 993 This only makes sense for leaf dirs, so we check that 994 .MAKE.LEVEL > 0 995 9962010-06-09 Simon J. Gerraty <sjg@bad.crufty.net> 997 998 * install-mk (MK_VERSION): bump version to 20100608 999 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al. 1000 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606 1001 also make it easier for folk to tweak 1002 10032010-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 1004 1005 * install-mk (MK_VERSION): bump version to 20100606 1006 do not install examples/* 1007 * FILES: add examples/sys.clean-env.mk 1008 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR 1009 this requires bmake-20100606 or later to work. 1010 10112010-05-13 Simon J. Gerraty <sjg@bad.crufty.net> 1012 1013 * sys.mk (M_tA): better simulate the result of :tA if not available. 1014 10152010-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 1016 1017 * sys.mk: canonicalize MAKE_VERSION 1018 old versions reported bmake-<src-date> build-<build-date> 1019 whereas we only care about <src-date> 1020 10212010-04-25 Simon J. Gerraty <sjg@bad.crufty.net> 1022 1023 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored 1024 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION 1025 is !empty 1026 10272010-04-22 Simon J. Gerraty <sjg@bad.crufty.net> 1028 1029 * dpadd.mk: use LDADD_* if defined. 1030 10312010-04-21 Simon J. Gerraty <sjg@bad.crufty.net> 1032 1033 * install-mk (MK_VERSION): bump version to 20100420 1034 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy 1035 * autoconf.mk allow AUTO_AUTOCONF 1036 10372010-04-19 Simon J. Gerraty <sjg@bad.crufty.net> 1038 1039 * obj.mk: add objwarn to keep freebsd makefiles happy 1040 * auto.obj.mk: ensure Mkdirs is available. 1041 * FILES: add auto.dep.mk - a simpler version of autodep.mk 1042 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if 1043 asked to do that. 1044 fix/simplify the tests for when to run mkdep. 1045 * auto.dep.mk: add some explanation of how/what we do. 1046 * autodep.mk: skip the .OPTIONAL frobbing of .depend 1047 bmake's FROM_DEPEND flag makes it redundant. 1048 10492010-04-13 Simon J. Gerraty <sjg@bad.crufty.net> 1050 1051 * install-mk (MK_VERSION): bump version to 20100404 1052 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE. 1053 * obj.mk: protect from multiple inclusion even as bsd.obj.mk 1054 Also create a target _SUBDIRUSE so that we can be used without 1055 subdir.mk 1056 10572010-04-12 Simon J. Gerraty <sjg@bad.crufty.net> 1058 1059 * dep.mk: use <> when .including so can override. 1060 10612010-01-11 Simon J. Gerraty <sjg@bad.crufty.net> 1062 1063 * lib.mk (SHLIB_LINKS): ensure a string comparison. 1064 10652010-01-04 Simon J. Gerraty <sjg@bad.crufty.net> 1066 1067 * install-mk (MK_VERSION): bump version to 20100102 1068 * own.mk: ensure PRINTOBJDIR works 1069 * autoconf.mk: pass on CONFIGURE_ARGS 1070 * init.mk: handle COPTS.${.IMPSRC:T} etc. 1071 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION 1072 fix handling of symlinks for darwin 1073 * libnames.mk: add DSHLIBEXT for libs which only exist as shared. 1074 * man.mk: suppress chown when not root. 1075 * rst2htm.mk: allow srcs from multiple locations. 1076 * sys.mk: M_whence, stop after 1st line of output. 1077 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT 1078 * sys/SunOS.mk: we need to export PATH 1079 10802009-12-23 Simon J. Gerraty <sjg@void.crufty.net> 1081 1082 * install-mk (MK_VERSION): bump version 1083 include rst2htm.mk 1084 10852009-12-17 Simon J. Gerraty <sjg@void.crufty.net> 1086 1087 * sys.mk,libnames.mk add .-include <local.*> 1088 this allows local customization without the need to edit the 1089 distributed files. 1090 10912009-12-14 Simon J. Gerraty <sjg@void.crufty.net> 1092 1093 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up 1094 older versions already installed. 1095 10962009-12-13 Simon J. Gerraty <sjg@void.crufty.net> 1097 1098 * stage.mk (.stage-install): generalize lib.mk's .libinstall 1099 * rules.mk rules for generic Makefile. 1100 * inc.mk install for includes. 1101 11022009-12-11 Simon J. Gerraty <sjg@void.crufty.net> 1103 1104 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check 1105 this, so provide it if using native make. 1106 11072009-12-10 Simon J. Gerraty <sjg@void.crufty.net> 1108 1109 * FILES: move all the platform *.sys.mk files to sys/*.mk 1110 * Rename Generic.sys.mk to sys.mk - we always want it. 1111 11122009-11-17 Simon J. Gerraty <sjg@void.crufty.net> 1113 1114 * install-mk (MK_VERSION): bump version 1115 * host-target.mk: only export the expensive stuff 1116 * Generic.sys.mk (sys_mk): for SunOS we need to look for 1117 ${HOST_OS}.${HOST_OSMAJOR} too! 1118 11192009-11-07 Simon J. Gerraty <sjg@void.crufty.net> 1120 1121 * install-mk (MK_VERSION): bump version 1122 * lib.mk: if sys.mk doesn't give us an lorder, don't use it. 1123 based on patch from Greg Olszewski. 1124 * Generic.sys.mk: if we have nothing to work with 1125 set LORDER etc only if we can find it. 1126 11272009-09-08 Simon J. Gerraty <sjg@void.crufty.net> 1128 1129 * install-mk (MK_VERSION): bump version 1130 * man.mk: cleanman: remove CLEANMAN if defined. 1131 11322009-09-04 Simon J. Gerraty <sjg@void.crufty.net> 1133 1134 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk 1135 11362009-07-17 Simon J. Gerraty <sjg@void.crufty.net> 1137 1138 * install-mk (MK_VERSION): bump version 1139 include auto.obj.mk 1140 1141 11422009-03-26 Simon J. Gerraty <sjg@void.crufty.net> 1143 1144 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail. 1145 11462008-11-11 Simon J. Gerraty <sjg@void.crufty.net> 1147 1148 * install-mk (MK_VERSION): bump version 1149 man.mk: ensure we generate *.cat1 etc in . 1150 11512008-07-16 Simon J. Gerraty <sjg@void.crufty.net> 1152 1153 * install-mk (MK_VERSION): bump version 1154 add prlist.mk 1155 11562007-11-25 Simon J. Gerraty <sjg@void.crufty.net> 1157 1158 * Generic.sys.mk: Allow os specific sys.mk to be in a 1159 subdir of ${.PARSEDIR} 1160 11612007-11-22 Simon J. Gerraty <sjg@void.crufty.net> 1162 1163 * install-mk (MK_VERSION): bump version 1164 * general cleanup 1165 * dpadd.mk introduce DPMAGIC_LIBS_* 1166 11672007-04-30 Simon J. Gerraty <sjg@void.crufty.net> 1168 1169 * install-mk (MK_VERSION): bump version 1170 1171 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog 1172 depend files and ensure clean is called for each lib/prog. 1173 11742007-03-27 Simon J. Gerraty <sjg@void.crufty.net> 1175 1176 * autodep.mk (.depend): delete lines that do not start with 1177 space and do not contain ':' 1178 11792007-02-16 Simon J. Gerraty <sjg@void.crufty.net> 1180 1181 * autodep.mk (.depend): gcc may wrap lines if pathnames are long 1182 so make sure the transform for .OPTIONAL copes. 1183 11842007-02-03 Simon J. Gerraty <sjg@void.crufty.net> 1185 1186 * install-mk (MK_VERSION): bump version 1187 1188 * own.mk: make sure RM and LN are defined. 1189 1190 * obj.mk: fix a typo, and objlink target. 1191 11922006-12-30 Simon J. Gerraty <sjg@void.crufty.net> 1193 1194 * install-mk (MK_VERSION): bump version 1195 * added libs.mk - analogous to progs.mk 1196 make both of them always inlcude {lib,prog}.mk 1197 11982006-12-28 Simon J. Gerraty <sjg@void.crufty.net> 1199 1200 * progs.mk: add a means of building multiple apps in one dir. 1201 12022006-11-26 Simon J. Gerraty <sjg@void.crufty.net> 1203 1204 * install-mk (MK_VERSION): bump version to 20061126 1205 1206 * warnings.mk: detect invalid WARNINGS_SET 1207 1208 * warnings.mk: use ${.TARGET:T:R}.o when looking for target 1209 specific warnings. 1210 1211 * For .cc sources, turn off warnings that g++ vomits on. 1212 12132006-11-08 Simon J. Gerraty <sjg@void.crufty.net> 1214 1215 * own.mk: if __initialized__ target doesn't exist and we are 1216 FreeBSD we got here directly from sys.mk 1217 12182006-11-06 Simon J. Gerraty <sjg@void.crufty.net> 1219 1220 * install-mk (MK_VERSION): bump version to 20061106 1221 add scripts.mk 1222 12232006-03-18 Simon J. Gerraty <sjg@void.crufty.net> 1224 1225 * install-mk (MK_VERSION): bump version to 20060318 1226 1227 * autodep.mk: avoid := when modifying OBJS into __dependsrcs 1228 12292006-03-02 Simon J. Gerraty <sjg@void.crufty.net> 1230 1231 * install-mk (MK_VERSION): bump version to 20060302 1232 * autodep.mk: use -MF et al to help gcc+ccache DTRT. 1233 12342006-03-01 Simon J. Gerraty <sjg@void.crufty.net> 1235 1236 * install-mk (MK_VERSION): bump version to 20060301 1237 * autodep.mk (.depend): 1238 if MAKE_VERSION is newer than 20050530 we can make .END depend on 1239 .depend and make .depend depend on __depsrcs that exist. 1240 * dpadd.mk: add SRC_PATHADD 1241 12422005-11-04 Simon J. Gerraty <sjg@void.crufty.net> 1243 1244 * install-mk (MK_VERSION): bump version to 20051104 1245 * prog.mk: remove all the LIBC?= junk, use 1246 .-include libnames.mk instead (none by default). 1247 also if USE_DPADD_MK is set, include that. 1248 12492005-10-09 Simon J. Gerraty <sjg@void.crufty.net> 1250 1251 * install-mk (MK_VERSION): bump version to 20051001 1252 Add UnixWare.sys.mk from Klaus Heinz. 1253 12542005-04-05 Simon J. Gerraty <sjg@void.crufty.net> 1255 1256 * install-mk: always install *.sys.mk and if need be symlink one 1257 to sys.mk 1258 12592005-03-22 Simon J. Gerraty <sjg@void.crufty.net> 1260 1261 * subdir.mk, own.mk: use .MAKE rather than MAKE 1262 12632004-02-15 Simon J. Gerraty <sjg@void.crufty.net> 1264 1265 * own.mk: don't use NetBSD's _SRC_TOP_ it can 1266 cause confusion. Also don't take just 'mk' as a 1267 srctop indicator. 1268 12692004-02-14 Simon J. Gerraty <sjg@void.crufty.net> 1270 1271 * warnings.mk: overhauled, now very powerful. 1272 12732004-02-03 Simon J. Gerraty <sjg@void.crufty.net> 1274 1275 * Generic.sys.mk: need to use ${.PARSEDIR} with exists(). 1276 12772004-02-01 Simon J. Gerraty <sjg@void.crufty.net> 1278 1279 * install-mk (MK_VERSION): bump version to 20040201 1280 * extract HOST_TARGET stuff to host-target.mk so own.mk and 1281 Generic.sys.mk can share. 1282 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR. 1283 12842003-09-30 Simon J. Gerraty <sjg@void.crufty.net> 1285 1286 * install-mk (MK_VERSION): 20030930 1287 * rename generic.sys.mk to Generic.sys.mk 1288 so that it does not get installed (unless being used as sys.mk) 1289 * set OS and ROOT_GROUP for those that we know the value. 1290 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so 1291 we don't do it again for each sub-make. 1292 12932003-09-28 Simon J. Gerraty <sjg@void.crufty.net> 1294 1295 * install-mk (MK_VERSION): 20030928 1296 Add some extra *.sys.mk from bootstrap-pkgsrc 1297 some of these likely still need work. 1298 Make everything default to root:wheel ownership, 1299 sys.mk can set ROOT_GROUP accordingly. 1300 13012003-08-07 Simon J. Gerraty <sjg@void.crufty.net> 1302 1303 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR 1304 not the portable ones. 1305 13062003-07-31 Simon J. Gerraty <sjg@void.crufty.net> 1307 1308 * install-mk: add ability to use cp -f when updating 1309 destination .mk files. Also now possible to play games with 1310 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk 1311 into dest - not recommended unless you seriously want to. 1312 13132003-07-28 Simon J. Gerraty <sjg@void.crufty.net> 1314 1315 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc 1316 for semi-compatability with NetBSD. 1317 13182003-07-23 Simon J. Gerraty <sjg@void.crufty.net> 1319 1320 * install-mk: add a version indicator 1321 13222003-07-22 Simon J. Gerraty <sjg@void.crufty.net> 1323 1324 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null 1325 1326 * install-mk: Allow FORCE_SYS_MK to come from env 1327 1328 1329 1330