12013-07-26 Simon J. Gerraty <sjg@bad.crufty.net> 2 3 * install-mk (MK_VERSION): 20130726 4 some updates from Juniper and FreeBSD 5 o meta2deps.py: indicate file and line number when we hit parse 6 errors 7 also allow @file to provide huge list of .meta files. 8 * meta2deps.py: add try_parse() to cleanup the above. 9 102013-07-16 Simon J. Gerraty <sjg@bad.crufty.net> 11 12 * install-mk (MK_VERSION): 20130716 13 * own.mk: add GPROG as an option 14 * prog.mk: honor MK_GPROF==yes 15 162013-05-10 Simon J. Gerraty <sjg@bad.crufty.net> 17 18 * install-mk (MK_VERSION): 20130505 19 * gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC 20 for when $MACHINE isn't enough for objdir distinction. 21 Bring meta2deps.sh closer to par with meta2deps.py. 22 232013-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 24 25 * meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all' 26 also if the target 'beforeinstall' exists, make it depend on 27 .dirdep (incase it uses STAGE_INSTALL). 28 292013-04-17 Simon J. Gerraty <sjg@bad.crufty.net> 30 31 * install-mk (MK_VERSION): 20130401 ;-) 32 * meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as 33 wrapper around install(1). 34 * options.mk (OPTION_PREFIX): Allow a prefix other than MK_ 35 362013-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 37 38 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized. 39 * install-mk (MK_VERSION): bump version 40 412013-03-21 Simon J. Gerraty <sjg@bad.crufty.net> 42 43 * install-mk (MK_VERSION): bump version 44 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose 45 any trailing /., rather apply :tA only when needed. 46 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files. 47 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance 48 consistently. 49 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC. 50 512013-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 52 53 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT 54 it is simpler to just not update when say building for "host" 55 (where we know we apply filters to DIRDEPS), and using a 56 non-machine qualified dependfile. 57 582013-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 59 60 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR 61 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC 62 * gendirdeps.mk: ensure _objroot has trailing / if it needs it. 63 * meta2deps.py: if machine is "host", then also trim 64 self.host_target from any OBJROOTS. 65 66 672013-03-11 Simon J. Gerraty <sjg@bad.crufty.net> 68 69 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine 70 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists 71 but _DEPENDFILE does not, compare the new _DEPENDFILE against 72 .MAKE.DEPENDFILE_DEFAULT and discard if the same. 73 742013-03-08 Simon J. Gerraty <sjg@bad.crufty.net> 75 76 * meta.stage.mk: use STAGE_TARGETS to control .ORDER 77 and hook to all: via staging: 78 792013-03-07 Simon J. Gerraty <sjg@bad.crufty.net> 80 81 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT): 82 use a separate variable for the default .MAKE.DEPENDFILE value 83 so that it can be controlled independently of 84 .MAKE.DEPENDFILE_PREFERENCE 85 86 * meta.stage.mk: throw error if cp fails etc. 87 Stage*() return early if passed no args. 88 .ORDER stage_* 89 902013-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 91 92 * install-mk (MK_VERSION): bump version 93 * gendirdeps.mk: handle multiple M2D_OBJROOTS better. 94 952013-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 96 97 * install-mk (MK_VERSION): bump version to 20130210 98 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py 99 from Juniper. 100 o dirdeps.mk now fully supports TARGET_SPEC consisting of more 101 than just MACHINE. 102 o no longer use DEP_MACHINE from Makefile.depend* so remove it. 103 1042013-01-23 Simon J. Gerraty <sjg@bad.crufty.net> 105 106 * install-mk (MK_VERSION): bump version to 20130123 107 * meta.stage.mk: add stage_links (hard links). 108 if doing hard links, we add dest to link as well. 109 Default the stage dir for [sym]links to STAGE_OBJTOP since 110 these are typically specified as absolute paths. 111 Add -m "mode" flag to StageFiles and StageAs. 112 1132012-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 114 115 * install-mk (MK_VERSION): bump version to 20121111 116 * autoconf.mk: avoid meta mode seeing changed commands for config.status 117 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps 118 in case we were found via .../mk 119 * sys.clean-env.mk: move it from examples, we and others use it 120 "as is". 121 * FILES: add srctop.mk and options.mk 122 * own.mk: convert to using options.mk 123 which is modeled after FreeBSD's handling of MK_* 124 but more flexible. 125 This allows MK_* for boolean knobs to not be confused 126 with MK* which can be commands. 127 128 * examples/sys.clean-env.mk: add WITH[OUT]_ to 129 MAKE_ENV_SAVE_PREFIX_LIST. 130 Mention that HOME=/var/empty might be a good idea. 131 1322012-11-08 Simon J. Gerraty <sjg@bad.crufty.net> 133 134 * sys.dependfile.mk: if not depend file exists, $MACHINE 135 specific ones are supported but not the default, 136 check if any exist and follow suit. 137 1382012-11-06 Simon J. Gerraty <sjg@bad.crufty.net> 139 140 * install-mk (MK_VERSION): bump version to 20121106 141 1422012-11-05 Simon J. Gerraty <sjg@bad.crufty.net> 143 144 * import latest dirdeps.mk and meta2deps.py from Juniper. 145 * progs.mk: add MAN and CXXFLAGS to PROG_VARS 146 also add PROGS_TARGETS and pass on PROG_CXX if it seems 147 appropriate. 148 1492012-11-04 Simon J. Gerraty <sjg@bad.crufty.net> 150 151 * meta.stage.mk: update CLEANFILES 152 remove redundant cp of .dirdep from STAGE_AS_SCRIPT. 153 * progs.mk: Add LDADD to PROG_VARS 154 1552012-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 156 157 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in 158 _STAGED_DIRS so that these can be turned into filters for 159 GENDIRDEPS_FILTER. 160 1612012-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 162 163 * install-mk (MK_VERSION): bump version to 20121010 164 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing 165 target.dirdep matches .dirdep 166 1672012-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 168 169 * install-mk (MK_VERSION): bump version to 20120808 170 * import latest meta2deps.py from Juniper. 171 1722012-07-11 Simon J. Gerraty <sjg@bad.crufty.net> 173 174 * install-mk (MK_VERSION): bump version to 20120711 175 * dep.mk: add explicit dependencies on SRCS after applying 176 SRCS_DEP_FILTER 177 * meta.autodep.mk: add explicit dependencies on SRCS after 178 applying SRCS_DEP_FILTER 179 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed. 180 1812012-06-26 Simon J. Gerraty <sjg@bad.crufty.net> 182 183 * install-mk (MK_VERSION): bump version to 20120626 184 * meta.sys.mk: ignore PYTHON if it does not exist 185 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable. 186 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any 187 entries ending in .${MACHINE} to decide if qualified _dirdep is 188 needed. 189 * gendirdeps.mk: only produce unqualified deps if no 190 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE} 191 * meta.subdir.mk: apply SUBDIREPS_FILTER 192 1932012-04-20 Simon J. Gerraty <sjg@bad.crufty.net> 194 195 * install-mk (MK_VERSION): bump version to 20120420 196 * add sys.dependfile.mk so we can experiment with 197 .MAKE.DEPENDFILE_PREFERENCE 198 * meta.autodep.mk: _DEPENDFILE is precious! 199 2002012-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 201 202 * install-mk (MK_VERSION): bump version to 20120315 203 * install-new.mk: avoid being interrupted 204 2052012-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 206 207 * man.mk: MAN might have multiple values so be careful with exists(). 208 2092012-01-19 Simon J. Gerraty <sjg@bad.crufty.net> 210 211 * install-mk (MK_VERSION): bump version to 20120112 212 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled 213 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}' 214 2152011-12-03 Simon J. Gerraty <sjg@bad.crufty.net> 216 217 * install-mk (MK_VERSION): bump version to 20111201 218 * import dirdeps.mk from Juniper sjg@ 219 o more consistent handling of DEP_MACHINE, especially when 220 dealing with an odd Makefile.depend, when normally using 221 Makefile.depend.${MACHINE} 222 2232011-11-22 Simon J. Gerraty <sjg@bad.crufty.net> 224 225 * install-mk (MK_VERSION): bump version to 20111122 226 * meta.autodep.mk: add some debug output, be more crisp about 227 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend 228 2292011-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 230 231 * install-mk (MK_VERSION): bump version to 20111111 232 it's too cool to miss 233 * import meta* updates from Juniper sjg@ 234 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are 235 normally using Makefile.depend.${MACHINE}), handy for 236 read-only manually maintained dependencies. 237 o meta2deps.py add a clear 'ERROR:' token if an exception is raised. 238 o gendirdeps.mk if ERROR: from meta2deps.py do not update 239 anything. 240 2412011-10-30 Simon J. Gerraty <sjg@bad.crufty.net> 242 243 * install-new.mk separate the cmp and copy logic to its own function. 244 2452011-10-28 Simon J. Gerraty <sjg@bad.crufty.net> 246 247 * install-mk (MK_VERSION): bump version to 20111028 248 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto 249 * subdir.mk: ensure _SUBDIRUSE is provided 250 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk 251 * meta.subdir.mk: always allow for Makefile.depend 252 2532011-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 254 255 * install-mk (MK_VERSION): bump version to 20111010 256 o minor tweak to *dirdeps.mk from Juniper sjg@ 257 2582011-10-01 Simon J. Gerraty <sjg@bad.crufty.net> 259 260 * install-mk (MK_VERSION): bump version to 20111001 261 o add meta2deps.py from Juniper sjg@ 262 o tweak gendirdeps.mk to work with meta2deps.py when not 263 cross-building 264 * autoconf.mk: add autoconf-input as a hook for regenerating 265 AUTOCONF_INPUTS (configure). 266 2672011-08-24 Simon J. Gerraty <sjg@bad.crufty.net> 268 269 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful 270 trigger for updating Makefile.depend* 271 2722011-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 273 274 * install-mk (MK_VERSION): bump version to 20110808 275 * obj.mk: minor cleanup 276 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too. 277 2782011-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 279 280 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the 281 specified dir. 282 2832011-06-28 Simon J. Gerraty <sjg@bad.crufty.net> 284 285 * meta.autodep.mk: if XMAKE_META_FILE is set 286 the makefile uses a foreign make, and so dependencies 287 can only be gathered from a clean tree build. 288 2892011-06-24 Simon J. Gerraty <sjg@bad.crufty.net> 290 291 * install-mk (MK_VERSION): bump version to 20110622 292 * meta.autodep.mk: improve bootstraping 293 2942011-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 295 296 * yacc.mk: handle the corner case of .c being removed 297 while .h remains. 298 2992011-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 300 301 * yacc.mk: do .y.h and .y.c separately 302 3032011-06-04 Simon J. Gerraty <sjg@bad.crufty.net> 304 305 * install-mk (MK_VERSION): bump version to 20110606 306 * don't store SRC_DIRDEPS in Makefile.depend* by default 307 not everyone needs it. 308 3092011-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 310 311 * install-mk (MK_VERSION): bump version to 20110505 312 first release including meta mode makefiles 313 3142011-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 315 316 * meta.stage.mk: add STAGE_AS_SETS and stage_as 317 for things that need to be staged with different names. 318 3192011-05-01 Simon J. Gerraty <sjg@bad.crufty.net> 320 321 * meta.stage.mk: add notion of STAGE_SETS 322 so a makefile can stage to multiple dirs 323 3242011-04-03 Simon J. Gerraty <sjg@bad.crufty.net> 325 326 * rst2htm.mk: convert rst to s5 (slides) or plain html depending 327 on target name. 328 3292011-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 330 331 * install-mk (MK_VERSION): bump version to 20110330 332 3332011-03-29 Simon J. Gerraty <sjg@bad.crufty.net> 334 335 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0 336 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest. 337 * sys.mk: re-define M_whence in terms of M_type. 338 M_type is useful for checking if something is a builtin. 339 3402011-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 341 342 * meta.stage.mk: add stage_symlinks and leverage StageLinks for 343 stage_libs 344 3452011-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 346 347 * dirdeps.mk: correct value for _depdir_files depends on 348 .MAKE.DEPENDFILE 349 Add our copyright - just to make it clear we have frobbed this 350 quite a bit. 351 DEP_MACHINE needs to be set to MACHINE each time, if using only 352 Makefile.depend (cf. Makefile.depend.${MACHINE}) 353 354 * meta.stage.mk: meta mode version of staging 355 356 * init.mk, final.mk: include local.*.mk to simplify customization 357 3582011-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 359 360 * auto.obj.mk: just because we are doing mk destroy, we should 361 still set .OBJDIR correctly if it exists. 362 363 * install-mk (mksrc): do not exclude meta.sys.mk 364 3652011-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 366 367 * host-target.mk: set/export _HOST_ARCH etc separately, 368 catch junk resulting from uname -p, so we can find sys/Linux.mk 369 correctly. 370 3712011-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 372 373 * meta.sys.mk: throw an error if /dev/filemon is missing and we 374 expected to be updating Makefile.depend* 375 3762011-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 377 378 * install-mk (MK_VERSION): bump version to 20110214 379 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES 380 3812010-09-25 Simon J. Gerraty <sjg@bad.crufty.net> 382 383 * meta.sys.mk: not valid for older bmake 384 3852010-09-24 Simon J. Gerraty <sjg@bad.crufty.net> 386 387 * install-mk (MK_VERSION): bump version to 20100919 388 include dirdeps.mk et al from Juniper Networks, 389 for meta mode - requires filemon(9). 390 * sys.mk, subdir.mk: Add hooks for meta mode. 391 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk 392 to make turning it on/off simple. 393 3942010-06-16 Simon J. Gerraty <sjg@bad.crufty.net> 395 396 * install-mk (MK_VERSION): bump version to 20100616 397 * fix typo in sys.mk 398 3992010-06-12 Simon J. Gerraty <sjg@bad.crufty.net> 400 401 * install-mk (MK_VERSION): bump version to 20100612 402 * lib.mk: remove duplicate addition to SOBJS 403 4042010-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 405 406 * sys.mk: Add a means of selectively turning on debug flags. 407 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg" 408 will act as if we did make -dv if .CURDIR ends in lib/sjg 409 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at 410 the start of sys.mk rather than the end. 411 This only makes sense for leaf dirs, so we check that 412 .MAKE.LEVEL > 0 413 4142010-06-09 Simon J. Gerraty <sjg@bad.crufty.net> 415 416 * install-mk (MK_VERSION): bump version to 20100608 417 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al. 418 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606 419 also make it easier for folk to tweak 420 4212010-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 422 423 * install-mk (MK_VERSION): bump version to 20100606 424 do not install examples/* 425 * FILES: add examples/sys.clean-env.mk 426 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR 427 this requires bmake-20100606 or later to work. 428 4292010-05-13 Simon J. Gerraty <sjg@bad.crufty.net> 430 431 * sys.mk (M_tA): better simulate the result of :tA if not available. 432 4332010-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 434 435 * sys.mk: canonicalize MAKE_VERSION 436 old versions reported bmake-<src-date> build-<build-date> 437 whereas we only care about <src-date> 438 4392010-04-25 Simon J. Gerraty <sjg@bad.crufty.net> 440 441 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored 442 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION 443 is !empty 444 4452010-04-22 Simon J. Gerraty <sjg@bad.crufty.net> 446 447 * dpadd.mk: use LDADD_* if defined. 448 4492010-04-21 Simon J. Gerraty <sjg@bad.crufty.net> 450 451 * install-mk (MK_VERSION): bump version to 20100420 452 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy 453 * autoconf.mk allow AUTO_AUTOCONF 454 4552010-04-19 Simon J. Gerraty <sjg@bad.crufty.net> 456 457 * obj.mk: add objwarn to keep freebsd makefiles happy 458 * auto.obj.mk: ensure Mkdirs is available. 459 * FILES: add auto.dep.mk - a simpler version of autodep.mk 460 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if 461 asked to do that. 462 fix/simplify the tests for when to run mkdep. 463 * auto.dep.mk: add some explaination of how/what we do. 464 * autodep.mk: skip the .OPTIONAL frobbing of .depend 465 bmake's FROM_DEPEND flag makes it redundant. 466 4672010-04-13 Simon J. Gerraty <sjg@bad.crufty.net> 468 469 * install-mk (MK_VERSION): bump version to 20100404 470 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE. 471 * obj.mk: protect from multiple inclusion even as bsd.obj.mk 472 Also create a target _SUBDIRUSE so that we can be used without 473 subdir.mk 474 4752010-04-12 Simon J. Gerraty <sjg@bad.crufty.net> 476 477 * dep.mk: use <> when .including so can override. 478 4792010-01-11 Simon J. Gerraty <sjg@bad.crufty.net> 480 481 * lib.mk (SHLIB_LINKS): ensure a string comparison. 482 4832010-01-04 Simon J. Gerraty <sjg@bad.crufty.net> 484 485 * install-mk (MK_VERSION): bump version to 20100102 486 * own.mk: ensure PRINTOBJDIR works 487 * autoconf.mk: pass on CONFIGURE_ARGS 488 * init.mk: handle COPTS.${.IMPSRC:T} etc. 489 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION 490 fix handling of symlinks for darwin 491 * libnames.mk: add DSHLIBEXT for libs which only exist as shared. 492 * man.mk: suppress chown when not root. 493 * rst2htm.mk: allow srcs from multiple locations. 494 * sys.mk: M_whence, stop after 1st line of output. 495 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT 496 * sys/SunOS.mk: we need to export PATH 497 4982009-12-23 Simon J. Gerraty <sjg@void.crufty.net> 499 500 * install-mk (MK_VERSION): bump version 501 include rst2htm.mk 502 5032009-12-17 Simon J. Gerraty <sjg@void.crufty.net> 504 505 * sys.mk,libnames.mk add .-include <local.*> 506 this allows local customization without the need to edit the 507 distributed files. 508 5092009-12-14 Simon J. Gerraty <sjg@void.crufty.net> 510 511 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up 512 older versions already installed. 513 5142009-12-13 Simon J. Gerraty <sjg@void.crufty.net> 515 516 * stage.mk (.stage-install): generalize lib.mk's .libinstall 517 * rules.mk rules for generic Makefile. 518 * inc.mk install for includes. 519 5202009-12-11 Simon J. Gerraty <sjg@void.crufty.net> 521 522 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check 523 this, so provide it if using native make. 524 5252009-12-10 Simon J. Gerraty <sjg@void.crufty.net> 526 527 * FILES: move all the platform *.sys.mk files to sys/*.mk 528 * Rename Generic.sys.mk to sys.mk - we always want it. 529 5302009-11-17 Simon J. Gerraty <sjg@void.crufty.net> 531 532 * install-mk (MK_VERSION): bump version 533 * host-target.mk: only export the expensive stuff 534 * Generic.sys.mk (sys_mk): for SunOS we need to look for 535 ${HOST_OS}.${HOST_OSMAJOR} too! 536 5372009-11-07 Simon J. Gerraty <sjg@void.crufty.net> 538 539 * install-mk (MK_VERSION): bump version 540 * lib.mk: if sys.mk doesn't give us an lorder, don't use it. 541 based on patch from Greg Olszewski. 542 * Generic.sys.mk: if we have nothing to work with 543 set LORDER etc only if we can find it. 544 5452009-09-08 Simon J. Gerraty <sjg@void.crufty.net> 546 547 * install-mk (MK_VERSION): bump version 548 * man.mk: cleanman: remove CLEANMAN if defined. 549 5502009-09-04 Simon J. Gerraty <sjg@void.crufty.net> 551 552 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk 553 5542009-07-17 Simon J. Gerraty <sjg@void.crufty.net> 555 556 * install-mk (MK_VERSION): bump version 557 include auto.obj.mk 558 559 5602009-03-26 Simon J. Gerraty <sjg@void.crufty.net> 561 562 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail. 563 5642008-11-11 Simon J. Gerraty <sjg@void.crufty.net> 565 566 * install-mk (MK_VERSION): bump version 567 man.mk: ensure we generate *.cat1 etc in . 568 5692008-07-16 Simon J. Gerraty <sjg@void.crufty.net> 570 571 * install-mk (MK_VERSION): bump version 572 add prlist.mk 573 5742007-11-25 Simon J. Gerraty <sjg@void.crufty.net> 575 576 * Generic.sys.mk: Allow os specific sys.mk to be in a 577 subdir of ${.PARSEDIR} 578 5792007-11-22 Simon J. Gerraty <sjg@void.crufty.net> 580 581 * install-mk (MK_VERSION): bump version 582 * general cleanup 583 * dpadd.mk introduce DPMAGIC_LIBS_* 584 5852007-04-30 Simon J. Gerraty <sjg@void.crufty.net> 586 587 * install-mk (MK_VERSION): bump version 588 589 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog 590 depend files and ensure clean is called for each lib/prog. 591 5922007-03-27 Simon J. Gerraty <sjg@void.crufty.net> 593 594 * autodep.mk (.depend): delete lines that do not start with 595 space and do not contain ':' 596 5972007-02-16 Simon J. Gerraty <sjg@void.crufty.net> 598 599 * autodep.mk (.depend): gcc may wrap lines if pathnames are long 600 so make sure the transform for .OPTIONAL copes. 601 6022007-02-03 Simon J. Gerraty <sjg@void.crufty.net> 603 604 * install-mk (MK_VERSION): bump version 605 606 * own.mk: make sure RM and LN are defined. 607 608 * obj.mk: fix a typo, and objlink target. 609 6102006-12-30 Simon J. Gerraty <sjg@void.crufty.net> 611 612 * install-mk (MK_VERSION): bump version 613 * added libs.mk - analagous to progs.mk 614 make both of them always inlcude {lib,prog}.mk 615 6162006-12-28 Simon J. Gerraty <sjg@void.crufty.net> 617 618 * progs.mk: add a means of building multiple apps in one dir. 619 6202006-11-26 Simon J. Gerraty <sjg@void.crufty.net> 621 622 * install-mk (MK_VERSION): bump version to 20061126 623 624 * warnings.mk: detect invalid WARNINGS_SET 625 626 * warnings.mk: use ${.TARGET:T:R}.o when looking for target 627 specific warnings. 628 629 * For .cc sources, turn off warnings that g++ vomits on. 630 6312006-11-08 Simon J. Gerraty <sjg@void.crufty.net> 632 633 * own.mk: if __initialized__ target doesn't exist and we are 634 FreeBSD we got here directly from sys.mk 635 6362006-11-06 Simon J. Gerraty <sjg@void.crufty.net> 637 638 * install-mk (MK_VERSION): bump version to 20061106 639 add scripts.mk 640 6412006-03-18 Simon J. Gerraty <sjg@void.crufty.net> 642 643 * install-mk (MK_VERSION): bump version to 20060318 644 645 * autodep.mk: avoid := when modifying OBJS into __dependsrcs 646 6472006-03-02 Simon J. Gerraty <sjg@void.crufty.net> 648 649 * install-mk (MK_VERSION): bump version to 20060302 650 * autodep.mk: use -MF et al to help gcc+ccache DTRT. 651 6522006-03-01 Simon J. Gerraty <sjg@void.crufty.net> 653 654 * install-mk (MK_VERSION): bump version to 20060301 655 * autodep.mk (.depend): 656 if MAKE_VERSION is newer than 20050530 we can make .END depend on 657 .depend and make .depend depend on __depsrcs that exist. 658 * dpadd.mk: add SRC_PATHADD 659 6602005-11-04 Simon J. Gerraty <sjg@void.crufty.net> 661 662 * install-mk (MK_VERSION): bump version to 20051104 663 * prog.mk: remove all the LIBC?= junk, use 664 .-include libnames.mk instead (none by default). 665 also if USE_DPADD_MK is set, include that. 666 6672005-10-09 Simon J. Gerraty <sjg@void.crufty.net> 668 669 * install-mk (MK_VERSION): bump version to 20051001 670 Add UnixWare.sys.mk from Klaus Heinz. 671 6722005-04-05 Simon J. Gerraty <sjg@void.crufty.net> 673 674 * install-mk: always install *.sys.mk and if need be symlink one 675 to sys.mk 676 6772005-03-22 Simon J. Gerraty <sjg@void.crufty.net> 678 679 * subdir.mk, own.mk: use .MAKE rather than MAKE 680 6812004-02-15 Simon J. Gerraty <sjg@void.crufty.net> 682 683 * own.mk: don't use NetBSD's _SRC_TOP_ it can 684 cause confusion. Also don't take just 'mk' as a 685 srctop indicator. 686 6872004-02-14 Simon J. Gerraty <sjg@void.crufty.net> 688 689 * warnings.mk: overhauled, now very powerful. 690 6912004-02-03 Simon J. Gerraty <sjg@void.crufty.net> 692 693 * Generic.sys.mk: need to use ${.PARSEDIR} with exists(). 694 6952004-02-01 Simon J. Gerraty <sjg@void.crufty.net> 696 697 * install-mk (MK_VERSION): bump version to 20040201 698 * extract HOST_TARGET stuff to host-target.mk so own.mk and 699 Generic.sys.mk can share. 700 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR. 701 7022003-09-30 Simon J. Gerraty <sjg@void.crufty.net> 703 704 * install-mk (MK_VERSION): 20030930 705 * rename generic.sys.mk to Generic.sys.mk 706 so that it does not get installed (unless being used as sys.mk) 707 * set OS and ROOT_GROUP for those that we know the value. 708 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so 709 we don't do it again for each sub-make. 710 7112003-09-28 Simon J. Gerraty <sjg@void.crufty.net> 712 713 * install-mk (MK_VERSION): 20030928 714 Add some extra *.sys.mk from bootstrap-pkgsrc 715 some of these likely still need work. 716 Make everything default to root:wheel ownership, 717 sys.mk can set ROOT_GROUP accordingly. 718 7192003-08-07 Simon J. Gerraty <sjg@void.crufty.net> 720 721 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR 722 not the portable ones. 723 7242003-07-31 Simon J. Gerraty <sjg@void.crufty.net> 725 726 * install-mk: add ability to use cp -f when updating 727 destination .mk files. Also now possible to play games with 728 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk 729 into dest - not recommended unless you seriously want to. 730 7312003-07-28 Simon J. Gerraty <sjg@void.crufty.net> 732 733 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc 734 for semi-compatability with NetBSD. 735 7362003-07-23 Simon J. Gerraty <sjg@void.crufty.net> 737 738 * install-mk: add a version indicator 739 7402003-07-22 Simon J. Gerraty <sjg@void.crufty.net> 741 742 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null 743 744 * install-mk: Allow FORCE_SYS_MK to come from env 745 746 747 748