12013-12-12 Simon J. Gerraty <sjg@bad.crufty.net> 2 3 * install-mk (MK_VERSION): bump version 4 * meta2deps.py: convert to print function for python3 compat. 5 we also need to open files with mode 'r' rather than 'rb' 6 otherwise we get bytes instead of strings. 7 82013-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 9 10 * install-mk (MK_VERSION): bump version 11 12 * dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE 13 apply the same filtering (M_dep_qual_fixes) when setting _machines 14 as _build_dirs. 15 Also fix the filtering of Makefile.depend files - for reporting 16 what we are looking for (M_dep_qual_fixes can get confused by 17 Makefile.depend) 18 Add some more debug info. 19 202013-09-04 Simon J. Gerraty <sjg@bad.crufty.net> 21 22 * gendirdeps.mk (_objtops): fix typo also 23 while processing M2D_OBJROOTS to gather qualdir_list 24 qualify $ql with loop iterator to ensure correct results. 25 262013-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 27 28 * install-mk (MK_VERSION): 20130801 29 * libs.mk: update to match progs.mk 30 312013-07-26 Simon J. Gerraty <sjg@bad.crufty.net> 32 33 * install-mk (MK_VERSION): 20130726 34 some updates from Juniper and FreeBSD 35 o meta2deps.py: indicate file and line number when we hit parse 36 errors 37 also allow @file to provide huge list of .meta files. 38 * meta2deps.py: add try_parse() to cleanup the above. 39 402013-07-16 Simon J. Gerraty <sjg@bad.crufty.net> 41 42 * install-mk (MK_VERSION): 20130716 43 * own.mk: add GPROG as an option 44 * prog.mk: honor MK_GPROF==yes 45 462013-05-10 Simon J. Gerraty <sjg@bad.crufty.net> 47 48 * install-mk (MK_VERSION): 20130505 49 * gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC 50 for when $MACHINE isn't enough for objdir distinction. 51 Bring meta2deps.sh closer to par with meta2deps.py. 52 532013-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 54 55 * meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all' 56 also if the target 'beforeinstall' exists, make it depend on 57 .dirdep (incase it uses STAGE_INSTALL). 58 592013-04-17 Simon J. Gerraty <sjg@bad.crufty.net> 60 61 * install-mk (MK_VERSION): 20130401 ;-) 62 * meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as 63 wrapper around install(1). 64 * options.mk (OPTION_PREFIX): Allow a prefix other than MK_ 65 662013-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 67 68 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized. 69 * install-mk (MK_VERSION): bump version 70 712013-03-21 Simon J. Gerraty <sjg@bad.crufty.net> 72 73 * install-mk (MK_VERSION): bump version 74 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose 75 any trailing /., rather apply :tA only when needed. 76 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files. 77 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance 78 consistently. 79 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC. 80 812013-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 82 83 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT 84 it is simpler to just not update when say building for "host" 85 (where we know we apply filters to DIRDEPS), and using a 86 non-machine qualified dependfile. 87 882013-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 89 90 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR 91 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC 92 * gendirdeps.mk: ensure _objroot has trailing / if it needs it. 93 * meta2deps.py: if machine is "host", then also trim 94 self.host_target from any OBJROOTS. 95 96 972013-03-11 Simon J. Gerraty <sjg@bad.crufty.net> 98 99 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine 100 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists 101 but _DEPENDFILE does not, compare the new _DEPENDFILE against 102 .MAKE.DEPENDFILE_DEFAULT and discard if the same. 103 1042013-03-08 Simon J. Gerraty <sjg@bad.crufty.net> 105 106 * meta.stage.mk: use STAGE_TARGETS to control .ORDER 107 and hook to all: via staging: 108 1092013-03-07 Simon J. Gerraty <sjg@bad.crufty.net> 110 111 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT): 112 use a separate variable for the default .MAKE.DEPENDFILE value 113 so that it can be controlled independently of 114 .MAKE.DEPENDFILE_PREFERENCE 115 116 * meta.stage.mk: throw error if cp fails etc. 117 Stage*() return early if passed no args. 118 .ORDER stage_* 119 1202013-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 121 122 * install-mk (MK_VERSION): bump version 123 * gendirdeps.mk: handle multiple M2D_OBJROOTS better. 124 1252013-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 126 127 * install-mk (MK_VERSION): bump version to 20130210 128 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py 129 from Juniper. 130 o dirdeps.mk now fully supports TARGET_SPEC consisting of more 131 than just MACHINE. 132 o no longer use DEP_MACHINE from Makefile.depend* so remove it. 133 1342013-01-23 Simon J. Gerraty <sjg@bad.crufty.net> 135 136 * install-mk (MK_VERSION): bump version to 20130123 137 * meta.stage.mk: add stage_links (hard links). 138 if doing hard links, we add dest to link as well. 139 Default the stage dir for [sym]links to STAGE_OBJTOP since 140 these are typically specified as absolute paths. 141 Add -m "mode" flag to StageFiles and StageAs. 142 1432012-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 144 145 * install-mk (MK_VERSION): bump version to 20121111 146 * autoconf.mk: avoid meta mode seeing changed commands for config.status 147 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps 148 in case we were found via .../mk 149 * sys.clean-env.mk: move it from examples, we and others use it 150 "as is". 151 * FILES: add srctop.mk and options.mk 152 * own.mk: convert to using options.mk 153 which is modeled after FreeBSD's handling of MK_* 154 but more flexible. 155 This allows MK_* for boolean knobs to not be confused 156 with MK* which can be commands. 157 158 * examples/sys.clean-env.mk: add WITH[OUT]_ to 159 MAKE_ENV_SAVE_PREFIX_LIST. 160 Mention that HOME=/var/empty might be a good idea. 161 1622012-11-08 Simon J. Gerraty <sjg@bad.crufty.net> 163 164 * sys.dependfile.mk: if not depend file exists, $MACHINE 165 specific ones are supported but not the default, 166 check if any exist and follow suit. 167 1682012-11-06 Simon J. Gerraty <sjg@bad.crufty.net> 169 170 * install-mk (MK_VERSION): bump version to 20121106 171 1722012-11-05 Simon J. Gerraty <sjg@bad.crufty.net> 173 174 * import latest dirdeps.mk and meta2deps.py from Juniper. 175 * progs.mk: add MAN and CXXFLAGS to PROG_VARS 176 also add PROGS_TARGETS and pass on PROG_CXX if it seems 177 appropriate. 178 1792012-11-04 Simon J. Gerraty <sjg@bad.crufty.net> 180 181 * meta.stage.mk: update CLEANFILES 182 remove redundant cp of .dirdep from STAGE_AS_SCRIPT. 183 * progs.mk: Add LDADD to PROG_VARS 184 1852012-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 186 187 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in 188 _STAGED_DIRS so that these can be turned into filters for 189 GENDIRDEPS_FILTER. 190 1912012-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 192 193 * install-mk (MK_VERSION): bump version to 20121010 194 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing 195 target.dirdep matches .dirdep 196 1972012-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 198 199 * install-mk (MK_VERSION): bump version to 20120808 200 * import latest meta2deps.py from Juniper. 201 2022012-07-11 Simon J. Gerraty <sjg@bad.crufty.net> 203 204 * install-mk (MK_VERSION): bump version to 20120711 205 * dep.mk: add explicit dependencies on SRCS after applying 206 SRCS_DEP_FILTER 207 * meta.autodep.mk: add explicit dependencies on SRCS after 208 applying SRCS_DEP_FILTER 209 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed. 210 2112012-06-26 Simon J. Gerraty <sjg@bad.crufty.net> 212 213 * install-mk (MK_VERSION): bump version to 20120626 214 * meta.sys.mk: ignore PYTHON if it does not exist 215 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable. 216 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any 217 entries ending in .${MACHINE} to decide if qualified _dirdep is 218 needed. 219 * gendirdeps.mk: only produce unqualified deps if no 220 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE} 221 * meta.subdir.mk: apply SUBDIREPS_FILTER 222 2232012-04-20 Simon J. Gerraty <sjg@bad.crufty.net> 224 225 * install-mk (MK_VERSION): bump version to 20120420 226 * add sys.dependfile.mk so we can experiment with 227 .MAKE.DEPENDFILE_PREFERENCE 228 * meta.autodep.mk: _DEPENDFILE is precious! 229 2302012-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 231 232 * install-mk (MK_VERSION): bump version to 20120315 233 * install-new.mk: avoid being interrupted 234 2352012-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 236 237 * man.mk: MAN might have multiple values so be careful with exists(). 238 2392012-01-19 Simon J. Gerraty <sjg@bad.crufty.net> 240 241 * install-mk (MK_VERSION): bump version to 20120112 242 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled 243 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}' 244 2452011-12-03 Simon J. Gerraty <sjg@bad.crufty.net> 246 247 * install-mk (MK_VERSION): bump version to 20111201 248 * import dirdeps.mk from Juniper sjg@ 249 o more consistent handling of DEP_MACHINE, especially when 250 dealing with an odd Makefile.depend, when normally using 251 Makefile.depend.${MACHINE} 252 2532011-11-22 Simon J. Gerraty <sjg@bad.crufty.net> 254 255 * install-mk (MK_VERSION): bump version to 20111122 256 * meta.autodep.mk: add some debug output, be more crisp about 257 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend 258 2592011-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 260 261 * install-mk (MK_VERSION): bump version to 20111111 262 it's too cool to miss 263 * import meta* updates from Juniper sjg@ 264 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are 265 normally using Makefile.depend.${MACHINE}), handy for 266 read-only manually maintained dependencies. 267 o meta2deps.py add a clear 'ERROR:' token if an exception is raised. 268 o gendirdeps.mk if ERROR: from meta2deps.py do not update 269 anything. 270 2712011-10-30 Simon J. Gerraty <sjg@bad.crufty.net> 272 273 * install-new.mk separate the cmp and copy logic to its own function. 274 2752011-10-28 Simon J. Gerraty <sjg@bad.crufty.net> 276 277 * install-mk (MK_VERSION): bump version to 20111028 278 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto 279 * subdir.mk: ensure _SUBDIRUSE is provided 280 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk 281 * meta.subdir.mk: always allow for Makefile.depend 282 2832011-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 284 285 * install-mk (MK_VERSION): bump version to 20111010 286 o minor tweak to *dirdeps.mk from Juniper sjg@ 287 2882011-10-01 Simon J. Gerraty <sjg@bad.crufty.net> 289 290 * install-mk (MK_VERSION): bump version to 20111001 291 o add meta2deps.py from Juniper sjg@ 292 o tweak gendirdeps.mk to work with meta2deps.py when not 293 cross-building 294 * autoconf.mk: add autoconf-input as a hook for regenerating 295 AUTOCONF_INPUTS (configure). 296 2972011-08-24 Simon J. Gerraty <sjg@bad.crufty.net> 298 299 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful 300 trigger for updating Makefile.depend* 301 3022011-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 303 304 * install-mk (MK_VERSION): bump version to 20110808 305 * obj.mk: minor cleanup 306 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too. 307 3082011-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 309 310 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the 311 specified dir. 312 3132011-06-28 Simon J. Gerraty <sjg@bad.crufty.net> 314 315 * meta.autodep.mk: if XMAKE_META_FILE is set 316 the makefile uses a foreign make, and so dependencies 317 can only be gathered from a clean tree build. 318 3192011-06-24 Simon J. Gerraty <sjg@bad.crufty.net> 320 321 * install-mk (MK_VERSION): bump version to 20110622 322 * meta.autodep.mk: improve bootstraping 323 3242011-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 325 326 * yacc.mk: handle the corner case of .c being removed 327 while .h remains. 328 3292011-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 330 331 * yacc.mk: do .y.h and .y.c separately 332 3332011-06-04 Simon J. Gerraty <sjg@bad.crufty.net> 334 335 * install-mk (MK_VERSION): bump version to 20110606 336 * don't store SRC_DIRDEPS in Makefile.depend* by default 337 not everyone needs it. 338 3392011-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 340 341 * install-mk (MK_VERSION): bump version to 20110505 342 first release including meta mode makefiles 343 3442011-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 345 346 * meta.stage.mk: add STAGE_AS_SETS and stage_as 347 for things that need to be staged with different names. 348 3492011-05-01 Simon J. Gerraty <sjg@bad.crufty.net> 350 351 * meta.stage.mk: add notion of STAGE_SETS 352 so a makefile can stage to multiple dirs 353 3542011-04-03 Simon J. Gerraty <sjg@bad.crufty.net> 355 356 * rst2htm.mk: convert rst to s5 (slides) or plain html depending 357 on target name. 358 3592011-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 360 361 * install-mk (MK_VERSION): bump version to 20110330 362 3632011-03-29 Simon J. Gerraty <sjg@bad.crufty.net> 364 365 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0 366 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest. 367 * sys.mk: re-define M_whence in terms of M_type. 368 M_type is useful for checking if something is a builtin. 369 3702011-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 371 372 * meta.stage.mk: add stage_symlinks and leverage StageLinks for 373 stage_libs 374 3752011-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 376 377 * dirdeps.mk: correct value for _depdir_files depends on 378 .MAKE.DEPENDFILE 379 Add our copyright - just to make it clear we have frobbed this 380 quite a bit. 381 DEP_MACHINE needs to be set to MACHINE each time, if using only 382 Makefile.depend (cf. Makefile.depend.${MACHINE}) 383 384 * meta.stage.mk: meta mode version of staging 385 386 * init.mk, final.mk: include local.*.mk to simplify customization 387 3882011-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 389 390 * auto.obj.mk: just because we are doing mk destroy, we should 391 still set .OBJDIR correctly if it exists. 392 393 * install-mk (mksrc): do not exclude meta.sys.mk 394 3952011-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 396 397 * host-target.mk: set/export _HOST_ARCH etc separately, 398 catch junk resulting from uname -p, so we can find sys/Linux.mk 399 correctly. 400 4012011-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 402 403 * meta.sys.mk: throw an error if /dev/filemon is missing and we 404 expected to be updating Makefile.depend* 405 4062011-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 407 408 * install-mk (MK_VERSION): bump version to 20110214 409 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES 410 4112010-09-25 Simon J. Gerraty <sjg@bad.crufty.net> 412 413 * meta.sys.mk: not valid for older bmake 414 4152010-09-24 Simon J. Gerraty <sjg@bad.crufty.net> 416 417 * install-mk (MK_VERSION): bump version to 20100919 418 include dirdeps.mk et al from Juniper Networks, 419 for meta mode - requires filemon(9). 420 * sys.mk, subdir.mk: Add hooks for meta mode. 421 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk 422 to make turning it on/off simple. 423 4242010-06-16 Simon J. Gerraty <sjg@bad.crufty.net> 425 426 * install-mk (MK_VERSION): bump version to 20100616 427 * fix typo in sys.mk 428 4292010-06-12 Simon J. Gerraty <sjg@bad.crufty.net> 430 431 * install-mk (MK_VERSION): bump version to 20100612 432 * lib.mk: remove duplicate addition to SOBJS 433 4342010-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 435 436 * sys.mk: Add a means of selectively turning on debug flags. 437 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg" 438 will act as if we did make -dv if .CURDIR ends in lib/sjg 439 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at 440 the start of sys.mk rather than the end. 441 This only makes sense for leaf dirs, so we check that 442 .MAKE.LEVEL > 0 443 4442010-06-09 Simon J. Gerraty <sjg@bad.crufty.net> 445 446 * install-mk (MK_VERSION): bump version to 20100608 447 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al. 448 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606 449 also make it easier for folk to tweak 450 4512010-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 452 453 * install-mk (MK_VERSION): bump version to 20100606 454 do not install examples/* 455 * FILES: add examples/sys.clean-env.mk 456 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR 457 this requires bmake-20100606 or later to work. 458 4592010-05-13 Simon J. Gerraty <sjg@bad.crufty.net> 460 461 * sys.mk (M_tA): better simulate the result of :tA if not available. 462 4632010-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 464 465 * sys.mk: canonicalize MAKE_VERSION 466 old versions reported bmake-<src-date> build-<build-date> 467 whereas we only care about <src-date> 468 4692010-04-25 Simon J. Gerraty <sjg@bad.crufty.net> 470 471 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored 472 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION 473 is !empty 474 4752010-04-22 Simon J. Gerraty <sjg@bad.crufty.net> 476 477 * dpadd.mk: use LDADD_* if defined. 478 4792010-04-21 Simon J. Gerraty <sjg@bad.crufty.net> 480 481 * install-mk (MK_VERSION): bump version to 20100420 482 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy 483 * autoconf.mk allow AUTO_AUTOCONF 484 4852010-04-19 Simon J. Gerraty <sjg@bad.crufty.net> 486 487 * obj.mk: add objwarn to keep freebsd makefiles happy 488 * auto.obj.mk: ensure Mkdirs is available. 489 * FILES: add auto.dep.mk - a simpler version of autodep.mk 490 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if 491 asked to do that. 492 fix/simplify the tests for when to run mkdep. 493 * auto.dep.mk: add some explaination of how/what we do. 494 * autodep.mk: skip the .OPTIONAL frobbing of .depend 495 bmake's FROM_DEPEND flag makes it redundant. 496 4972010-04-13 Simon J. Gerraty <sjg@bad.crufty.net> 498 499 * install-mk (MK_VERSION): bump version to 20100404 500 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE. 501 * obj.mk: protect from multiple inclusion even as bsd.obj.mk 502 Also create a target _SUBDIRUSE so that we can be used without 503 subdir.mk 504 5052010-04-12 Simon J. Gerraty <sjg@bad.crufty.net> 506 507 * dep.mk: use <> when .including so can override. 508 5092010-01-11 Simon J. Gerraty <sjg@bad.crufty.net> 510 511 * lib.mk (SHLIB_LINKS): ensure a string comparison. 512 5132010-01-04 Simon J. Gerraty <sjg@bad.crufty.net> 514 515 * install-mk (MK_VERSION): bump version to 20100102 516 * own.mk: ensure PRINTOBJDIR works 517 * autoconf.mk: pass on CONFIGURE_ARGS 518 * init.mk: handle COPTS.${.IMPSRC:T} etc. 519 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION 520 fix handling of symlinks for darwin 521 * libnames.mk: add DSHLIBEXT for libs which only exist as shared. 522 * man.mk: suppress chown when not root. 523 * rst2htm.mk: allow srcs from multiple locations. 524 * sys.mk: M_whence, stop after 1st line of output. 525 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT 526 * sys/SunOS.mk: we need to export PATH 527 5282009-12-23 Simon J. Gerraty <sjg@void.crufty.net> 529 530 * install-mk (MK_VERSION): bump version 531 include rst2htm.mk 532 5332009-12-17 Simon J. Gerraty <sjg@void.crufty.net> 534 535 * sys.mk,libnames.mk add .-include <local.*> 536 this allows local customization without the need to edit the 537 distributed files. 538 5392009-12-14 Simon J. Gerraty <sjg@void.crufty.net> 540 541 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up 542 older versions already installed. 543 5442009-12-13 Simon J. Gerraty <sjg@void.crufty.net> 545 546 * stage.mk (.stage-install): generalize lib.mk's .libinstall 547 * rules.mk rules for generic Makefile. 548 * inc.mk install for includes. 549 5502009-12-11 Simon J. Gerraty <sjg@void.crufty.net> 551 552 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check 553 this, so provide it if using native make. 554 5552009-12-10 Simon J. Gerraty <sjg@void.crufty.net> 556 557 * FILES: move all the platform *.sys.mk files to sys/*.mk 558 * Rename Generic.sys.mk to sys.mk - we always want it. 559 5602009-11-17 Simon J. Gerraty <sjg@void.crufty.net> 561 562 * install-mk (MK_VERSION): bump version 563 * host-target.mk: only export the expensive stuff 564 * Generic.sys.mk (sys_mk): for SunOS we need to look for 565 ${HOST_OS}.${HOST_OSMAJOR} too! 566 5672009-11-07 Simon J. Gerraty <sjg@void.crufty.net> 568 569 * install-mk (MK_VERSION): bump version 570 * lib.mk: if sys.mk doesn't give us an lorder, don't use it. 571 based on patch from Greg Olszewski. 572 * Generic.sys.mk: if we have nothing to work with 573 set LORDER etc only if we can find it. 574 5752009-09-08 Simon J. Gerraty <sjg@void.crufty.net> 576 577 * install-mk (MK_VERSION): bump version 578 * man.mk: cleanman: remove CLEANMAN if defined. 579 5802009-09-04 Simon J. Gerraty <sjg@void.crufty.net> 581 582 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk 583 5842009-07-17 Simon J. Gerraty <sjg@void.crufty.net> 585 586 * install-mk (MK_VERSION): bump version 587 include auto.obj.mk 588 589 5902009-03-26 Simon J. Gerraty <sjg@void.crufty.net> 591 592 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail. 593 5942008-11-11 Simon J. Gerraty <sjg@void.crufty.net> 595 596 * install-mk (MK_VERSION): bump version 597 man.mk: ensure we generate *.cat1 etc in . 598 5992008-07-16 Simon J. Gerraty <sjg@void.crufty.net> 600 601 * install-mk (MK_VERSION): bump version 602 add prlist.mk 603 6042007-11-25 Simon J. Gerraty <sjg@void.crufty.net> 605 606 * Generic.sys.mk: Allow os specific sys.mk to be in a 607 subdir of ${.PARSEDIR} 608 6092007-11-22 Simon J. Gerraty <sjg@void.crufty.net> 610 611 * install-mk (MK_VERSION): bump version 612 * general cleanup 613 * dpadd.mk introduce DPMAGIC_LIBS_* 614 6152007-04-30 Simon J. Gerraty <sjg@void.crufty.net> 616 617 * install-mk (MK_VERSION): bump version 618 619 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog 620 depend files and ensure clean is called for each lib/prog. 621 6222007-03-27 Simon J. Gerraty <sjg@void.crufty.net> 623 624 * autodep.mk (.depend): delete lines that do not start with 625 space and do not contain ':' 626 6272007-02-16 Simon J. Gerraty <sjg@void.crufty.net> 628 629 * autodep.mk (.depend): gcc may wrap lines if pathnames are long 630 so make sure the transform for .OPTIONAL copes. 631 6322007-02-03 Simon J. Gerraty <sjg@void.crufty.net> 633 634 * install-mk (MK_VERSION): bump version 635 636 * own.mk: make sure RM and LN are defined. 637 638 * obj.mk: fix a typo, and objlink target. 639 6402006-12-30 Simon J. Gerraty <sjg@void.crufty.net> 641 642 * install-mk (MK_VERSION): bump version 643 * added libs.mk - analagous to progs.mk 644 make both of them always inlcude {lib,prog}.mk 645 6462006-12-28 Simon J. Gerraty <sjg@void.crufty.net> 647 648 * progs.mk: add a means of building multiple apps in one dir. 649 6502006-11-26 Simon J. Gerraty <sjg@void.crufty.net> 651 652 * install-mk (MK_VERSION): bump version to 20061126 653 654 * warnings.mk: detect invalid WARNINGS_SET 655 656 * warnings.mk: use ${.TARGET:T:R}.o when looking for target 657 specific warnings. 658 659 * For .cc sources, turn off warnings that g++ vomits on. 660 6612006-11-08 Simon J. Gerraty <sjg@void.crufty.net> 662 663 * own.mk: if __initialized__ target doesn't exist and we are 664 FreeBSD we got here directly from sys.mk 665 6662006-11-06 Simon J. Gerraty <sjg@void.crufty.net> 667 668 * install-mk (MK_VERSION): bump version to 20061106 669 add scripts.mk 670 6712006-03-18 Simon J. Gerraty <sjg@void.crufty.net> 672 673 * install-mk (MK_VERSION): bump version to 20060318 674 675 * autodep.mk: avoid := when modifying OBJS into __dependsrcs 676 6772006-03-02 Simon J. Gerraty <sjg@void.crufty.net> 678 679 * install-mk (MK_VERSION): bump version to 20060302 680 * autodep.mk: use -MF et al to help gcc+ccache DTRT. 681 6822006-03-01 Simon J. Gerraty <sjg@void.crufty.net> 683 684 * install-mk (MK_VERSION): bump version to 20060301 685 * autodep.mk (.depend): 686 if MAKE_VERSION is newer than 20050530 we can make .END depend on 687 .depend and make .depend depend on __depsrcs that exist. 688 * dpadd.mk: add SRC_PATHADD 689 6902005-11-04 Simon J. Gerraty <sjg@void.crufty.net> 691 692 * install-mk (MK_VERSION): bump version to 20051104 693 * prog.mk: remove all the LIBC?= junk, use 694 .-include libnames.mk instead (none by default). 695 also if USE_DPADD_MK is set, include that. 696 6972005-10-09 Simon J. Gerraty <sjg@void.crufty.net> 698 699 * install-mk (MK_VERSION): bump version to 20051001 700 Add UnixWare.sys.mk from Klaus Heinz. 701 7022005-04-05 Simon J. Gerraty <sjg@void.crufty.net> 703 704 * install-mk: always install *.sys.mk and if need be symlink one 705 to sys.mk 706 7072005-03-22 Simon J. Gerraty <sjg@void.crufty.net> 708 709 * subdir.mk, own.mk: use .MAKE rather than MAKE 710 7112004-02-15 Simon J. Gerraty <sjg@void.crufty.net> 712 713 * own.mk: don't use NetBSD's _SRC_TOP_ it can 714 cause confusion. Also don't take just 'mk' as a 715 srctop indicator. 716 7172004-02-14 Simon J. Gerraty <sjg@void.crufty.net> 718 719 * warnings.mk: overhauled, now very powerful. 720 7212004-02-03 Simon J. Gerraty <sjg@void.crufty.net> 722 723 * Generic.sys.mk: need to use ${.PARSEDIR} with exists(). 724 7252004-02-01 Simon J. Gerraty <sjg@void.crufty.net> 726 727 * install-mk (MK_VERSION): bump version to 20040201 728 * extract HOST_TARGET stuff to host-target.mk so own.mk and 729 Generic.sys.mk can share. 730 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR. 731 7322003-09-30 Simon J. Gerraty <sjg@void.crufty.net> 733 734 * install-mk (MK_VERSION): 20030930 735 * rename generic.sys.mk to Generic.sys.mk 736 so that it does not get installed (unless being used as sys.mk) 737 * set OS and ROOT_GROUP for those that we know the value. 738 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so 739 we don't do it again for each sub-make. 740 7412003-09-28 Simon J. Gerraty <sjg@void.crufty.net> 742 743 * install-mk (MK_VERSION): 20030928 744 Add some extra *.sys.mk from bootstrap-pkgsrc 745 some of these likely still need work. 746 Make everything default to root:wheel ownership, 747 sys.mk can set ROOT_GROUP accordingly. 748 7492003-08-07 Simon J. Gerraty <sjg@void.crufty.net> 750 751 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR 752 not the portable ones. 753 7542003-07-31 Simon J. Gerraty <sjg@void.crufty.net> 755 756 * install-mk: add ability to use cp -f when updating 757 destination .mk files. Also now possible to play games with 758 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk 759 into dest - not recommended unless you seriously want to. 760 7612003-07-28 Simon J. Gerraty <sjg@void.crufty.net> 762 763 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc 764 for semi-compatability with NetBSD. 765 7662003-07-23 Simon J. Gerraty <sjg@void.crufty.net> 767 768 * install-mk: add a version indicator 769 7702003-07-22 Simon J. Gerraty <sjg@void.crufty.net> 771 772 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null 773 774 * install-mk: Allow FORCE_SYS_MK to come from env 775 776 777 778