12013-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 2 3 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized. 4 * install-mk (MK_VERSION): bump version 5 62013-03-21 Simon J. Gerraty <sjg@bad.crufty.net> 7 8 * install-mk (MK_VERSION): bump version 9 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose 10 any trailing /., rather apply :tA only when needed. 11 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files. 12 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance 13 consistently. 14 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC. 15 162013-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 17 18 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT 19 it is simpler to just not update when say building for "host" 20 (where we know we apply filters to DIRDEPS), and using a 21 non-machine qualified dependfile. 22 232013-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 24 25 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR 26 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC 27 * gendirdeps.mk: ensure _objroot has trailing / if it needs it. 28 * meta2deps.py: if machine is "host", then also trim 29 self.host_target from any OBJROOTS. 30 31 322013-03-11 Simon J. Gerraty <sjg@bad.crufty.net> 33 34 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine 35 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists 36 but _DEPENDFILE does not, compare the new _DEPENDFILE against 37 .MAKE.DEPENDFILE_DEFAULT and discard if the same. 38 392013-03-08 Simon J. Gerraty <sjg@bad.crufty.net> 40 41 * meta.stage.mk: use STAGE_TARGETS to control .ORDER 42 and hook to all: via staging: 43 442013-03-07 Simon J. Gerraty <sjg@bad.crufty.net> 45 46 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT): 47 use a separate variable for the default .MAKE.DEPENDFILE value 48 so that it can be controlled independently of 49 .MAKE.DEPENDFILE_PREFERENCE 50 51 * meta.stage.mk: throw error if cp fails etc. 52 Stage*() return early if passed no args. 53 .ORDER stage_* 54 552013-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 56 57 * install-mk (MK_VERSION): bump version 58 * gendirdeps.mk: handle multiple M2D_OBJROOTS better. 59 602013-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 61 62 * install-mk (MK_VERSION): bump version to 20130210 63 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py 64 from Juniper. 65 o dirdeps.mk now fully supports TARGET_SPEC consisting of more 66 than just MACHINE. 67 o no longer use DEP_MACHINE from Makefile.depend* so remove it. 68 692013-01-23 Simon J. Gerraty <sjg@bad.crufty.net> 70 71 * install-mk (MK_VERSION): bump version to 20130123 72 * meta.stage.mk: add stage_links (hard links). 73 if doing hard links, we add dest to link as well. 74 Default the stage dir for [sym]links to STAGE_OBJTOP since 75 these are typically specified as absolute paths. 76 Add -m "mode" flag to StageFiles and StageAs. 77 782012-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 79 80 * install-mk (MK_VERSION): bump version to 20121111 81 * autoconf.mk: avoid meta mode seeing changed commands for config.status 82 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps 83 in case we were found via .../mk 84 * sys.clean-env.mk: move it from examples, we and others use it 85 "as is". 86 * FILES: add srctop.mk and options.mk 87 * own.mk: convert to using options.mk 88 which is modeled after FreeBSD's handling of MK_* 89 but more flexible. 90 This allows MK_* for boolean knobs to not be confused 91 with MK* which can be commands. 92 93 * examples/sys.clean-env.mk: add WITH[OUT]_ to 94 MAKE_ENV_SAVE_PREFIX_LIST. 95 Mention that HOME=/var/empty might be a good idea. 96 972012-11-08 Simon J. Gerraty <sjg@bad.crufty.net> 98 99 * sys.dependfile.mk: if not depend file exists, $MACHINE 100 specific ones are supported but not the default, 101 check if any exist and follow suit. 102 1032012-11-06 Simon J. Gerraty <sjg@bad.crufty.net> 104 105 * install-mk (MK_VERSION): bump version to 20121106 106 1072012-11-05 Simon J. Gerraty <sjg@bad.crufty.net> 108 109 * import latest dirdeps.mk and meta2deps.py from Juniper. 110 * progs.mk: add MAN and CXXFLAGS to PROG_VARS 111 also add PROGS_TARGETS and pass on PROG_CXX if it seems 112 appropriate. 113 1142012-11-04 Simon J. Gerraty <sjg@bad.crufty.net> 115 116 * meta.stage.mk: update CLEANFILES 117 remove redundant cp of .dirdep from STAGE_AS_SCRIPT. 118 * progs.mk: Add LDADD to PROG_VARS 119 1202012-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 121 122 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in 123 _STAGED_DIRS so that these can be turned into filters for 124 GENDIRDEPS_FILTER. 125 1262012-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 127 128 * install-mk (MK_VERSION): bump version to 20121010 129 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing 130 target.dirdep matches .dirdep 131 1322012-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 133 134 * install-mk (MK_VERSION): bump version to 20120808 135 * import latest meta2deps.py from Juniper. 136 1372012-07-11 Simon J. Gerraty <sjg@bad.crufty.net> 138 139 * install-mk (MK_VERSION): bump version to 20120711 140 * dep.mk: add explicit dependencies on SRCS after applying 141 SRCS_DEP_FILTER 142 * meta.autodep.mk: add explicit dependencies on SRCS after 143 applying SRCS_DEP_FILTER 144 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed. 145 1462012-06-26 Simon J. Gerraty <sjg@bad.crufty.net> 147 148 * install-mk (MK_VERSION): bump version to 20120626 149 * meta.sys.mk: ignore PYTHON if it does not exist 150 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable. 151 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any 152 entries ending in .${MACHINE} to decide if qualified _dirdep is 153 needed. 154 * gendirdeps.mk: only produce unqualified deps if no 155 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE} 156 * meta.subdir.mk: apply SUBDIREPS_FILTER 157 1582012-04-20 Simon J. Gerraty <sjg@bad.crufty.net> 159 160 * install-mk (MK_VERSION): bump version to 20120420 161 * add sys.dependfile.mk so we can experiment with 162 .MAKE.DEPENDFILE_PREFERENCE 163 * meta.autodep.mk: _DEPENDFILE is precious! 164 1652012-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 166 167 * install-mk (MK_VERSION): bump version to 20120315 168 * install-new.mk: avoid being interrupted 169 1702012-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 171 172 * man.mk: MAN might have multiple values so be careful with exists(). 173 1742012-01-19 Simon J. Gerraty <sjg@bad.crufty.net> 175 176 * install-mk (MK_VERSION): bump version to 20120112 177 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled 178 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}' 179 1802011-12-03 Simon J. Gerraty <sjg@bad.crufty.net> 181 182 * install-mk (MK_VERSION): bump version to 20111201 183 * import dirdeps.mk from Juniper sjg@ 184 o more consistent handling of DEP_MACHINE, especially when 185 dealing with an odd Makefile.depend, when normally using 186 Makefile.depend.${MACHINE} 187 1882011-11-22 Simon J. Gerraty <sjg@bad.crufty.net> 189 190 * install-mk (MK_VERSION): bump version to 20111122 191 * meta.autodep.mk: add some debug output, be more crisp about 192 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend 193 1942011-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 195 196 * install-mk (MK_VERSION): bump version to 20111111 197 it's too cool to miss 198 * import meta* updates from Juniper sjg@ 199 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are 200 normally using Makefile.depend.${MACHINE}), handy for 201 read-only manually maintained dependencies. 202 o meta2deps.py add a clear 'ERROR:' token if an exception is raised. 203 o gendirdeps.mk if ERROR: from meta2deps.py do not update 204 anything. 205 2062011-10-30 Simon J. Gerraty <sjg@bad.crufty.net> 207 208 * install-new.mk separate the cmp and copy logic to its own function. 209 2102011-10-28 Simon J. Gerraty <sjg@bad.crufty.net> 211 212 * install-mk (MK_VERSION): bump version to 20111028 213 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto 214 * subdir.mk: ensure _SUBDIRUSE is provided 215 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk 216 * meta.subdir.mk: always allow for Makefile.depend 217 2182011-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 219 220 * install-mk (MK_VERSION): bump version to 20111010 221 o minor tweak to *dirdeps.mk from Juniper sjg@ 222 2232011-10-01 Simon J. Gerraty <sjg@bad.crufty.net> 224 225 * install-mk (MK_VERSION): bump version to 20111001 226 o add meta2deps.py from Juniper sjg@ 227 o tweak gendirdeps.mk to work with meta2deps.py when not 228 cross-building 229 * autoconf.mk: add autoconf-input as a hook for regenerating 230 AUTOCONF_INPUTS (configure). 231 2322011-08-24 Simon J. Gerraty <sjg@bad.crufty.net> 233 234 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful 235 trigger for updating Makefile.depend* 236 2372011-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 238 239 * install-mk (MK_VERSION): bump version to 20110808 240 * obj.mk: minor cleanup 241 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too. 242 2432011-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 244 245 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the 246 specified dir. 247 2482011-06-28 Simon J. Gerraty <sjg@bad.crufty.net> 249 250 * meta.autodep.mk: if XMAKE_META_FILE is set 251 the makefile uses a foreign make, and so dependencies 252 can only be gathered from a clean tree build. 253 2542011-06-24 Simon J. Gerraty <sjg@bad.crufty.net> 255 256 * install-mk (MK_VERSION): bump version to 20110622 257 * meta.autodep.mk: improve bootstraping 258 2592011-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 260 261 * yacc.mk: handle the corner case of .c being removed 262 while .h remains. 263 2642011-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 265 266 * yacc.mk: do .y.h and .y.c separately 267 2682011-06-04 Simon J. Gerraty <sjg@bad.crufty.net> 269 270 * install-mk (MK_VERSION): bump version to 20110606 271 * don't store SRC_DIRDEPS in Makefile.depend* by default 272 not everyone needs it. 273 2742011-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 275 276 * install-mk (MK_VERSION): bump version to 20110505 277 first release including meta mode makefiles 278 2792011-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 280 281 * meta.stage.mk: add STAGE_AS_SETS and stage_as 282 for things that need to be staged with different names. 283 2842011-05-01 Simon J. Gerraty <sjg@bad.crufty.net> 285 286 * meta.stage.mk: add notion of STAGE_SETS 287 so a makefile can stage to multiple dirs 288 2892011-04-03 Simon J. Gerraty <sjg@bad.crufty.net> 290 291 * rst2htm.mk: convert rst to s5 (slides) or plain html depending 292 on target name. 293 2942011-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 295 296 * install-mk (MK_VERSION): bump version to 20110330 297 2982011-03-29 Simon J. Gerraty <sjg@bad.crufty.net> 299 300 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0 301 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest. 302 * sys.mk: re-define M_whence in terms of M_type. 303 M_type is useful for checking if something is a builtin. 304 3052011-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 306 307 * meta.stage.mk: add stage_symlinks and leverage StageLinks for 308 stage_libs 309 3102011-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 311 312 * dirdeps.mk: correct value for _depdir_files depends on 313 .MAKE.DEPENDFILE 314 Add our copyright - just to make it clear we have frobbed this 315 quite a bit. 316 DEP_MACHINE needs to be set to MACHINE each time, if using only 317 Makefile.depend (cf. Makefile.depend.${MACHINE}) 318 319 * meta.stage.mk: meta mode version of staging 320 321 * init.mk, final.mk: include local.*.mk to simplify customization 322 3232011-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 324 325 * auto.obj.mk: just because we are doing mk destroy, we should 326 still set .OBJDIR correctly if it exists. 327 328 * install-mk (mksrc): do not exclude meta.sys.mk 329 3302011-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 331 332 * host-target.mk: set/export _HOST_ARCH etc separately, 333 catch junk resulting from uname -p, so we can find sys/Linux.mk 334 correctly. 335 3362011-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 337 338 * meta.sys.mk: throw an error if /dev/filemon is missing and we 339 expected to be updating Makefile.depend* 340 3412011-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 342 343 * install-mk (MK_VERSION): bump version to 20110214 344 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES 345 3462010-09-25 Simon J. Gerraty <sjg@bad.crufty.net> 347 348 * meta.sys.mk: not valid for older bmake 349 3502010-09-24 Simon J. Gerraty <sjg@bad.crufty.net> 351 352 * install-mk (MK_VERSION): bump version to 20100919 353 include dirdeps.mk et al from Juniper Networks, 354 for meta mode - requires filemon(9). 355 * sys.mk, subdir.mk: Add hooks for meta mode. 356 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk 357 to make turning it on/off simple. 358 3592010-06-16 Simon J. Gerraty <sjg@bad.crufty.net> 360 361 * install-mk (MK_VERSION): bump version to 20100616 362 * fix typo in sys.mk 363 3642010-06-12 Simon J. Gerraty <sjg@bad.crufty.net> 365 366 * install-mk (MK_VERSION): bump version to 20100612 367 * lib.mk: remove duplicate addition to SOBJS 368 3692010-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 370 371 * sys.mk: Add a means of selectively turning on debug flags. 372 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg" 373 will act as if we did make -dv if .CURDIR ends in lib/sjg 374 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at 375 the start of sys.mk rather than the end. 376 This only makes sense for leaf dirs, so we check that 377 .MAKE.LEVEL > 0 378 3792010-06-09 Simon J. Gerraty <sjg@bad.crufty.net> 380 381 * install-mk (MK_VERSION): bump version to 20100608 382 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al. 383 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606 384 also make it easier for folk to tweak 385 3862010-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 387 388 * install-mk (MK_VERSION): bump version to 20100606 389 do not install examples/* 390 * FILES: add examples/sys.clean-env.mk 391 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR 392 this requires bmake-20100606 or later to work. 393 3942010-05-13 Simon J. Gerraty <sjg@bad.crufty.net> 395 396 * sys.mk (M_tA): better simulate the result of :tA if not available. 397 3982010-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 399 400 * sys.mk: canonicalize MAKE_VERSION 401 old versions reported bmake-<src-date> build-<build-date> 402 whereas we only care about <src-date> 403 4042010-04-25 Simon J. Gerraty <sjg@bad.crufty.net> 405 406 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored 407 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION 408 is !empty 409 4102010-04-22 Simon J. Gerraty <sjg@bad.crufty.net> 411 412 * dpadd.mk: use LDADD_* if defined. 413 4142010-04-21 Simon J. Gerraty <sjg@bad.crufty.net> 415 416 * install-mk (MK_VERSION): bump version to 20100420 417 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy 418 * autoconf.mk allow AUTO_AUTOCONF 419 4202010-04-19 Simon J. Gerraty <sjg@bad.crufty.net> 421 422 * obj.mk: add objwarn to keep freebsd makefiles happy 423 * auto.obj.mk: ensure Mkdirs is available. 424 * FILES: add auto.dep.mk - a simpler version of autodep.mk 425 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if 426 asked to do that. 427 fix/simplify the tests for when to run mkdep. 428 * auto.dep.mk: add some explaination of how/what we do. 429 * autodep.mk: skip the .OPTIONAL frobbing of .depend 430 bmake's FROM_DEPEND flag makes it redundant. 431 4322010-04-13 Simon J. Gerraty <sjg@bad.crufty.net> 433 434 * install-mk (MK_VERSION): bump version to 20100404 435 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE. 436 * obj.mk: protect from multiple inclusion even as bsd.obj.mk 437 Also create a target _SUBDIRUSE so that we can be used without 438 subdir.mk 439 4402010-04-12 Simon J. Gerraty <sjg@bad.crufty.net> 441 442 * dep.mk: use <> when .including so can override. 443 4442010-01-11 Simon J. Gerraty <sjg@bad.crufty.net> 445 446 * lib.mk (SHLIB_LINKS): ensure a string comparison. 447 4482010-01-04 Simon J. Gerraty <sjg@bad.crufty.net> 449 450 * install-mk (MK_VERSION): bump version to 20100102 451 * own.mk: ensure PRINTOBJDIR works 452 * autoconf.mk: pass on CONFIGURE_ARGS 453 * init.mk: handle COPTS.${.IMPSRC:T} etc. 454 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION 455 fix handling of symlinks for darwin 456 * libnames.mk: add DSHLIBEXT for libs which only exist as shared. 457 * man.mk: suppress chown when not root. 458 * rst2htm.mk: allow srcs from multiple locations. 459 * sys.mk: M_whence, stop after 1st line of output. 460 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT 461 * sys/SunOS.mk: we need to export PATH 462 4632009-12-23 Simon J. Gerraty <sjg@void.crufty.net> 464 465 * install-mk (MK_VERSION): bump version 466 include rst2htm.mk 467 4682009-12-17 Simon J. Gerraty <sjg@void.crufty.net> 469 470 * sys.mk,libnames.mk add .-include <local.*> 471 this allows local customization without the need to edit the 472 distributed files. 473 4742009-12-14 Simon J. Gerraty <sjg@void.crufty.net> 475 476 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up 477 older versions already installed. 478 4792009-12-13 Simon J. Gerraty <sjg@void.crufty.net> 480 481 * stage.mk (.stage-install): generalize lib.mk's .libinstall 482 * rules.mk rules for generic Makefile. 483 * inc.mk install for includes. 484 4852009-12-11 Simon J. Gerraty <sjg@void.crufty.net> 486 487 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check 488 this, so provide it if using native make. 489 4902009-12-10 Simon J. Gerraty <sjg@void.crufty.net> 491 492 * FILES: move all the platform *.sys.mk files to sys/*.mk 493 * Rename Generic.sys.mk to sys.mk - we always want it. 494 4952009-11-17 Simon J. Gerraty <sjg@void.crufty.net> 496 497 * install-mk (MK_VERSION): bump version 498 * host-target.mk: only export the expensive stuff 499 * Generic.sys.mk (sys_mk): for SunOS we need to look for 500 ${HOST_OS}.${HOST_OSMAJOR} too! 501 5022009-11-07 Simon J. Gerraty <sjg@void.crufty.net> 503 504 * install-mk (MK_VERSION): bump version 505 * lib.mk: if sys.mk doesn't give us an lorder, don't use it. 506 based on patch from Greg Olszewski. 507 * Generic.sys.mk: if we have nothing to work with 508 set LORDER etc only if we can find it. 509 5102009-09-08 Simon J. Gerraty <sjg@void.crufty.net> 511 512 * install-mk (MK_VERSION): bump version 513 * man.mk: cleanman: remove CLEANMAN if defined. 514 5152009-09-04 Simon J. Gerraty <sjg@void.crufty.net> 516 517 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk 518 5192009-07-17 Simon J. Gerraty <sjg@void.crufty.net> 520 521 * install-mk (MK_VERSION): bump version 522 include auto.obj.mk 523 524 5252009-03-26 Simon J. Gerraty <sjg@void.crufty.net> 526 527 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail. 528 5292008-11-11 Simon J. Gerraty <sjg@void.crufty.net> 530 531 * install-mk (MK_VERSION): bump version 532 man.mk: ensure we generate *.cat1 etc in . 533 5342008-07-16 Simon J. Gerraty <sjg@void.crufty.net> 535 536 * install-mk (MK_VERSION): bump version 537 add prlist.mk 538 5392007-11-25 Simon J. Gerraty <sjg@void.crufty.net> 540 541 * Generic.sys.mk: Allow os specific sys.mk to be in a 542 subdir of ${.PARSEDIR} 543 5442007-11-22 Simon J. Gerraty <sjg@void.crufty.net> 545 546 * install-mk (MK_VERSION): bump version 547 * general cleanup 548 * dpadd.mk introduce DPMAGIC_LIBS_* 549 5502007-04-30 Simon J. Gerraty <sjg@void.crufty.net> 551 552 * install-mk (MK_VERSION): bump version 553 554 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog 555 depend files and ensure clean is called for each lib/prog. 556 5572007-03-27 Simon J. Gerraty <sjg@void.crufty.net> 558 559 * autodep.mk (.depend): delete lines that do not start with 560 space and do not contain ':' 561 5622007-02-16 Simon J. Gerraty <sjg@void.crufty.net> 563 564 * autodep.mk (.depend): gcc may wrap lines if pathnames are long 565 so make sure the transform for .OPTIONAL copes. 566 5672007-02-03 Simon J. Gerraty <sjg@void.crufty.net> 568 569 * install-mk (MK_VERSION): bump version 570 571 * own.mk: make sure RM and LN are defined. 572 573 * obj.mk: fix a typo, and objlink target. 574 5752006-12-30 Simon J. Gerraty <sjg@void.crufty.net> 576 577 * install-mk (MK_VERSION): bump version 578 * added libs.mk - analagous to progs.mk 579 make both of them always inlcude {lib,prog}.mk 580 5812006-12-28 Simon J. Gerraty <sjg@void.crufty.net> 582 583 * progs.mk: add a means of building multiple apps in one dir. 584 5852006-11-26 Simon J. Gerraty <sjg@void.crufty.net> 586 587 * install-mk (MK_VERSION): bump version to 20061126 588 589 * warnings.mk: detect invalid WARNINGS_SET 590 591 * warnings.mk: use ${.TARGET:T:R}.o when looking for target 592 specific warnings. 593 594 * For .cc sources, turn off warnings that g++ vomits on. 595 5962006-11-08 Simon J. Gerraty <sjg@void.crufty.net> 597 598 * own.mk: if __initialized__ target doesn't exist and we are 599 FreeBSD we got here directly from sys.mk 600 6012006-11-06 Simon J. Gerraty <sjg@void.crufty.net> 602 603 * install-mk (MK_VERSION): bump version to 20061106 604 add scripts.mk 605 6062006-03-18 Simon J. Gerraty <sjg@void.crufty.net> 607 608 * install-mk (MK_VERSION): bump version to 20060318 609 610 * autodep.mk: avoid := when modifying OBJS into __dependsrcs 611 6122006-03-02 Simon J. Gerraty <sjg@void.crufty.net> 613 614 * install-mk (MK_VERSION): bump version to 20060302 615 * autodep.mk: use -MF et al to help gcc+ccache DTRT. 616 6172006-03-01 Simon J. Gerraty <sjg@void.crufty.net> 618 619 * install-mk (MK_VERSION): bump version to 20060301 620 * autodep.mk (.depend): 621 if MAKE_VERSION is newer than 20050530 we can make .END depend on 622 .depend and make .depend depend on __depsrcs that exist. 623 * dpadd.mk: add SRC_PATHADD 624 6252005-11-04 Simon J. Gerraty <sjg@void.crufty.net> 626 627 * install-mk (MK_VERSION): bump version to 20051104 628 * prog.mk: remove all the LIBC?= junk, use 629 .-include libnames.mk instead (none by default). 630 also if USE_DPADD_MK is set, include that. 631 6322005-10-09 Simon J. Gerraty <sjg@void.crufty.net> 633 634 * install-mk (MK_VERSION): bump version to 20051001 635 Add UnixWare.sys.mk from Klaus Heinz. 636 6372005-04-05 Simon J. Gerraty <sjg@void.crufty.net> 638 639 * install-mk: always install *.sys.mk and if need be symlink one 640 to sys.mk 641 6422005-03-22 Simon J. Gerraty <sjg@void.crufty.net> 643 644 * subdir.mk, own.mk: use .MAKE rather than MAKE 645 6462004-02-15 Simon J. Gerraty <sjg@void.crufty.net> 647 648 * own.mk: don't use NetBSD's _SRC_TOP_ it can 649 cause confusion. Also don't take just 'mk' as a 650 srctop indicator. 651 6522004-02-14 Simon J. Gerraty <sjg@void.crufty.net> 653 654 * warnings.mk: overhauled, now very powerful. 655 6562004-02-03 Simon J. Gerraty <sjg@void.crufty.net> 657 658 * Generic.sys.mk: need to use ${.PARSEDIR} with exists(). 659 6602004-02-01 Simon J. Gerraty <sjg@void.crufty.net> 661 662 * install-mk (MK_VERSION): bump version to 20040201 663 * extract HOST_TARGET stuff to host-target.mk so own.mk and 664 Generic.sys.mk can share. 665 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR. 666 6672003-09-30 Simon J. Gerraty <sjg@void.crufty.net> 668 669 * install-mk (MK_VERSION): 20030930 670 * rename generic.sys.mk to Generic.sys.mk 671 so that it does not get installed (unless being used as sys.mk) 672 * set OS and ROOT_GROUP for those that we know the value. 673 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so 674 we don't do it again for each sub-make. 675 6762003-09-28 Simon J. Gerraty <sjg@void.crufty.net> 677 678 * install-mk (MK_VERSION): 20030928 679 Add some extra *.sys.mk from bootstrap-pkgsrc 680 some of these likely still need work. 681 Make everything default to root:wheel ownership, 682 sys.mk can set ROOT_GROUP accordingly. 683 6842003-08-07 Simon J. Gerraty <sjg@void.crufty.net> 685 686 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR 687 not the portable ones. 688 6892003-07-31 Simon J. Gerraty <sjg@void.crufty.net> 690 691 * install-mk: add ability to use cp -f when updating 692 destination .mk files. Also now possible to play games with 693 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk 694 into dest - not recommended unless you seriously want to. 695 6962003-07-28 Simon J. Gerraty <sjg@void.crufty.net> 697 698 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc 699 for semi-compatability with NetBSD. 700 7012003-07-23 Simon J. Gerraty <sjg@void.crufty.net> 702 703 * install-mk: add a version indicator 704 7052003-07-22 Simon J. Gerraty <sjg@void.crufty.net> 706 707 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null 708 709 * install-mk: Allow FORCE_SYS_MK to come from env 710 711 712 713