12013-09-04 Simon J. Gerraty <sjg@bad.crufty.net> 2 3 * gendirdeps.mk (_objtops): fix typo also 4 while processing M2D_OBJROOTS to gather qualdir_list 5 qualify $ql with loop iterator to ensure correct results. 6 72013-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 8 9 * install-mk (MK_VERSION): 20130801 10 * libs.mk: update to match progs.mk 11 122013-07-26 Simon J. Gerraty <sjg@bad.crufty.net> 13 14 * install-mk (MK_VERSION): 20130726 15 some updates from Juniper and FreeBSD 16 o meta2deps.py: indicate file and line number when we hit parse 17 errors 18 also allow @file to provide huge list of .meta files. 19 * meta2deps.py: add try_parse() to cleanup the above. 20 212013-07-16 Simon J. Gerraty <sjg@bad.crufty.net> 22 23 * install-mk (MK_VERSION): 20130716 24 * own.mk: add GPROG as an option 25 * prog.mk: honor MK_GPROF==yes 26 272013-05-10 Simon J. Gerraty <sjg@bad.crufty.net> 28 29 * install-mk (MK_VERSION): 20130505 30 * gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC 31 for when $MACHINE isn't enough for objdir distinction. 32 Bring meta2deps.sh closer to par with meta2deps.py. 33 342013-04-18 Simon J. Gerraty <sjg@bad.crufty.net> 35 36 * meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all' 37 also if the target 'beforeinstall' exists, make it depend on 38 .dirdep (incase it uses STAGE_INSTALL). 39 402013-04-17 Simon J. Gerraty <sjg@bad.crufty.net> 41 42 * install-mk (MK_VERSION): 20130401 ;-) 43 * meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as 44 wrapper around install(1). 45 * options.mk (OPTION_PREFIX): Allow a prefix other than MK_ 46 472013-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 48 49 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized. 50 * install-mk (MK_VERSION): bump version 51 522013-03-21 Simon J. Gerraty <sjg@bad.crufty.net> 53 54 * install-mk (MK_VERSION): bump version 55 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose 56 any trailing /., rather apply :tA only when needed. 57 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files. 58 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance 59 consistently. 60 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC. 61 622013-03-18 Simon J. Gerraty <sjg@bad.crufty.net> 63 64 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT 65 it is simpler to just not update when say building for "host" 66 (where we know we apply filters to DIRDEPS), and using a 67 non-machine qualified dependfile. 68 692013-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 70 71 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR 72 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC 73 * gendirdeps.mk: ensure _objroot has trailing / if it needs it. 74 * meta2deps.py: if machine is "host", then also trim 75 self.host_target from any OBJROOTS. 76 77 782013-03-11 Simon J. Gerraty <sjg@bad.crufty.net> 79 80 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine 81 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists 82 but _DEPENDFILE does not, compare the new _DEPENDFILE against 83 .MAKE.DEPENDFILE_DEFAULT and discard if the same. 84 852013-03-08 Simon J. Gerraty <sjg@bad.crufty.net> 86 87 * meta.stage.mk: use STAGE_TARGETS to control .ORDER 88 and hook to all: via staging: 89 902013-03-07 Simon J. Gerraty <sjg@bad.crufty.net> 91 92 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT): 93 use a separate variable for the default .MAKE.DEPENDFILE value 94 so that it can be controlled independently of 95 .MAKE.DEPENDFILE_PREFERENCE 96 97 * meta.stage.mk: throw error if cp fails etc. 98 Stage*() return early if passed no args. 99 .ORDER stage_* 100 1012013-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 102 103 * install-mk (MK_VERSION): bump version 104 * gendirdeps.mk: handle multiple M2D_OBJROOTS better. 105 1062013-02-10 Simon J. Gerraty <sjg@bad.crufty.net> 107 108 * install-mk (MK_VERSION): bump version to 20130210 109 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py 110 from Juniper. 111 o dirdeps.mk now fully supports TARGET_SPEC consisting of more 112 than just MACHINE. 113 o no longer use DEP_MACHINE from Makefile.depend* so remove it. 114 1152013-01-23 Simon J. Gerraty <sjg@bad.crufty.net> 116 117 * install-mk (MK_VERSION): bump version to 20130123 118 * meta.stage.mk: add stage_links (hard links). 119 if doing hard links, we add dest to link as well. 120 Default the stage dir for [sym]links to STAGE_OBJTOP since 121 these are typically specified as absolute paths. 122 Add -m "mode" flag to StageFiles and StageAs. 123 1242012-11-11 Simon J. Gerraty <sjg@bad.crufty.net> 125 126 * install-mk (MK_VERSION): bump version to 20121111 127 * autoconf.mk: avoid meta mode seeing changed commands for config.status 128 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps 129 in case we were found via .../mk 130 * sys.clean-env.mk: move it from examples, we and others use it 131 "as is". 132 * FILES: add srctop.mk and options.mk 133 * own.mk: convert to using options.mk 134 which is modeled after FreeBSD's handling of MK_* 135 but more flexible. 136 This allows MK_* for boolean knobs to not be confused 137 with MK* which can be commands. 138 139 * examples/sys.clean-env.mk: add WITH[OUT]_ to 140 MAKE_ENV_SAVE_PREFIX_LIST. 141 Mention that HOME=/var/empty might be a good idea. 142 1432012-11-08 Simon J. Gerraty <sjg@bad.crufty.net> 144 145 * sys.dependfile.mk: if not depend file exists, $MACHINE 146 specific ones are supported but not the default, 147 check if any exist and follow suit. 148 1492012-11-06 Simon J. Gerraty <sjg@bad.crufty.net> 150 151 * install-mk (MK_VERSION): bump version to 20121106 152 1532012-11-05 Simon J. Gerraty <sjg@bad.crufty.net> 154 155 * import latest dirdeps.mk and meta2deps.py from Juniper. 156 * progs.mk: add MAN and CXXFLAGS to PROG_VARS 157 also add PROGS_TARGETS and pass on PROG_CXX if it seems 158 appropriate. 159 1602012-11-04 Simon J. Gerraty <sjg@bad.crufty.net> 161 162 * meta.stage.mk: update CLEANFILES 163 remove redundant cp of .dirdep from STAGE_AS_SCRIPT. 164 * progs.mk: Add LDADD to PROG_VARS 165 1662012-10-12 Simon J. Gerraty <sjg@bad.crufty.net> 167 168 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in 169 _STAGED_DIRS so that these can be turned into filters for 170 GENDIRDEPS_FILTER. 171 1722012-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 173 174 * install-mk (MK_VERSION): bump version to 20121010 175 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing 176 target.dirdep matches .dirdep 177 1782012-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 179 180 * install-mk (MK_VERSION): bump version to 20120808 181 * import latest meta2deps.py from Juniper. 182 1832012-07-11 Simon J. Gerraty <sjg@bad.crufty.net> 184 185 * install-mk (MK_VERSION): bump version to 20120711 186 * dep.mk: add explicit dependencies on SRCS after applying 187 SRCS_DEP_FILTER 188 * meta.autodep.mk: add explicit dependencies on SRCS after 189 applying SRCS_DEP_FILTER 190 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed. 191 1922012-06-26 Simon J. Gerraty <sjg@bad.crufty.net> 193 194 * install-mk (MK_VERSION): bump version to 20120626 195 * meta.sys.mk: ignore PYTHON if it does not exist 196 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable. 197 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any 198 entries ending in .${MACHINE} to decide if qualified _dirdep is 199 needed. 200 * gendirdeps.mk: only produce unqualified deps if no 201 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE} 202 * meta.subdir.mk: apply SUBDIREPS_FILTER 203 2042012-04-20 Simon J. Gerraty <sjg@bad.crufty.net> 205 206 * install-mk (MK_VERSION): bump version to 20120420 207 * add sys.dependfile.mk so we can experiment with 208 .MAKE.DEPENDFILE_PREFERENCE 209 * meta.autodep.mk: _DEPENDFILE is precious! 210 2112012-03-15 Simon J. Gerraty <sjg@bad.crufty.net> 212 213 * install-mk (MK_VERSION): bump version to 20120315 214 * install-new.mk: avoid being interrupted 215 2162012-02-26 Simon J. Gerraty <sjg@bad.crufty.net> 217 218 * man.mk: MAN might have multiple values so be careful with exists(). 219 2202012-01-19 Simon J. Gerraty <sjg@bad.crufty.net> 221 222 * install-mk (MK_VERSION): bump version to 20120112 223 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled 224 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}' 225 2262011-12-03 Simon J. Gerraty <sjg@bad.crufty.net> 227 228 * install-mk (MK_VERSION): bump version to 20111201 229 * import dirdeps.mk from Juniper sjg@ 230 o more consistent handling of DEP_MACHINE, especially when 231 dealing with an odd Makefile.depend, when normally using 232 Makefile.depend.${MACHINE} 233 2342011-11-22 Simon J. Gerraty <sjg@bad.crufty.net> 235 236 * install-mk (MK_VERSION): bump version to 20111122 237 * meta.autodep.mk: add some debug output, be more crisp about 238 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend 239 2402011-11-13 Simon J. Gerraty <sjg@bad.crufty.net> 241 242 * install-mk (MK_VERSION): bump version to 20111111 243 it's too cool to miss 244 * import meta* updates from Juniper sjg@ 245 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are 246 normally using Makefile.depend.${MACHINE}), handy for 247 read-only manually maintained dependencies. 248 o meta2deps.py add a clear 'ERROR:' token if an exception is raised. 249 o gendirdeps.mk if ERROR: from meta2deps.py do not update 250 anything. 251 2522011-10-30 Simon J. Gerraty <sjg@bad.crufty.net> 253 254 * install-new.mk separate the cmp and copy logic to its own function. 255 2562011-10-28 Simon J. Gerraty <sjg@bad.crufty.net> 257 258 * install-mk (MK_VERSION): bump version to 20111028 259 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto 260 * subdir.mk: ensure _SUBDIRUSE is provided 261 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk 262 * meta.subdir.mk: always allow for Makefile.depend 263 2642011-10-10 Simon J. Gerraty <sjg@bad.crufty.net> 265 266 * install-mk (MK_VERSION): bump version to 20111010 267 o minor tweak to *dirdeps.mk from Juniper sjg@ 268 2692011-10-01 Simon J. Gerraty <sjg@bad.crufty.net> 270 271 * install-mk (MK_VERSION): bump version to 20111001 272 o add meta2deps.py from Juniper sjg@ 273 o tweak gendirdeps.mk to work with meta2deps.py when not 274 cross-building 275 * autoconf.mk: add autoconf-input as a hook for regenerating 276 AUTOCONF_INPUTS (configure). 277 2782011-08-24 Simon J. Gerraty <sjg@bad.crufty.net> 279 280 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful 281 trigger for updating Makefile.depend* 282 2832011-08-08 Simon J. Gerraty <sjg@bad.crufty.net> 284 285 * install-mk (MK_VERSION): bump version to 20110808 286 * obj.mk: minor cleanup 287 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too. 288 2892011-08-01 Simon J. Gerraty <sjg@bad.crufty.net> 290 291 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the 292 specified dir. 293 2942011-06-28 Simon J. Gerraty <sjg@bad.crufty.net> 295 296 * meta.autodep.mk: if XMAKE_META_FILE is set 297 the makefile uses a foreign make, and so dependencies 298 can only be gathered from a clean tree build. 299 3002011-06-24 Simon J. Gerraty <sjg@bad.crufty.net> 301 302 * install-mk (MK_VERSION): bump version to 20110622 303 * meta.autodep.mk: improve bootstraping 304 3052011-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 306 307 * yacc.mk: handle the corner case of .c being removed 308 while .h remains. 309 3102011-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 311 312 * yacc.mk: do .y.h and .y.c separately 313 3142011-06-04 Simon J. Gerraty <sjg@bad.crufty.net> 315 316 * install-mk (MK_VERSION): bump version to 20110606 317 * don't store SRC_DIRDEPS in Makefile.depend* by default 318 not everyone needs it. 319 3202011-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 321 322 * install-mk (MK_VERSION): bump version to 20110505 323 first release including meta mode makefiles 324 3252011-05-02 Simon J. Gerraty <sjg@bad.crufty.net> 326 327 * meta.stage.mk: add STAGE_AS_SETS and stage_as 328 for things that need to be staged with different names. 329 3302011-05-01 Simon J. Gerraty <sjg@bad.crufty.net> 331 332 * meta.stage.mk: add notion of STAGE_SETS 333 so a makefile can stage to multiple dirs 334 3352011-04-03 Simon J. Gerraty <sjg@bad.crufty.net> 336 337 * rst2htm.mk: convert rst to s5 (slides) or plain html depending 338 on target name. 339 3402011-03-30 Simon J. Gerraty <sjg@bad.crufty.net> 341 342 * install-mk (MK_VERSION): bump version to 20110330 343 3442011-03-29 Simon J. Gerraty <sjg@bad.crufty.net> 345 346 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0 347 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest. 348 * sys.mk: re-define M_whence in terms of M_type. 349 M_type is useful for checking if something is a builtin. 350 3512011-03-16 Simon J. Gerraty <sjg@bad.crufty.net> 352 353 * meta.stage.mk: add stage_symlinks and leverage StageLinks for 354 stage_libs 355 3562011-03-10 Simon J. Gerraty <sjg@bad.crufty.net> 357 358 * dirdeps.mk: correct value for _depdir_files depends on 359 .MAKE.DEPENDFILE 360 Add our copyright - just to make it clear we have frobbed this 361 quite a bit. 362 DEP_MACHINE needs to be set to MACHINE each time, if using only 363 Makefile.depend (cf. Makefile.depend.${MACHINE}) 364 365 * meta.stage.mk: meta mode version of staging 366 367 * init.mk, final.mk: include local.*.mk to simplify customization 368 3692011-03-03 Simon J. Gerraty <sjg@bad.crufty.net> 370 371 * auto.obj.mk: just because we are doing mk destroy, we should 372 still set .OBJDIR correctly if it exists. 373 374 * install-mk (mksrc): do not exclude meta.sys.mk 375 3762011-03-01 Simon J. Gerraty <sjg@bad.crufty.net> 377 378 * host-target.mk: set/export _HOST_ARCH etc separately, 379 catch junk resulting from uname -p, so we can find sys/Linux.mk 380 correctly. 381 3822011-02-18 Simon J. Gerraty <sjg@bad.crufty.net> 383 384 * meta.sys.mk: throw an error if /dev/filemon is missing and we 385 expected to be updating Makefile.depend* 386 3872011-02-14 Simon J. Gerraty <sjg@bad.crufty.net> 388 389 * install-mk (MK_VERSION): bump version to 20110214 390 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES 391 3922010-09-25 Simon J. Gerraty <sjg@bad.crufty.net> 393 394 * meta.sys.mk: not valid for older bmake 395 3962010-09-24 Simon J. Gerraty <sjg@bad.crufty.net> 397 398 * install-mk (MK_VERSION): bump version to 20100919 399 include dirdeps.mk et al from Juniper Networks, 400 for meta mode - requires filemon(9). 401 * sys.mk, subdir.mk: Add hooks for meta mode. 402 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk 403 to make turning it on/off simple. 404 4052010-06-16 Simon J. Gerraty <sjg@bad.crufty.net> 406 407 * install-mk (MK_VERSION): bump version to 20100616 408 * fix typo in sys.mk 409 4102010-06-12 Simon J. Gerraty <sjg@bad.crufty.net> 411 412 * install-mk (MK_VERSION): bump version to 20100612 413 * lib.mk: remove duplicate addition to SOBJS 414 4152010-06-10 Simon J. Gerraty <sjg@bad.crufty.net> 416 417 * sys.mk: Add a means of selectively turning on debug flags. 418 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg" 419 will act as if we did make -dv if .CURDIR ends in lib/sjg 420 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at 421 the start of sys.mk rather than the end. 422 This only makes sense for leaf dirs, so we check that 423 .MAKE.LEVEL > 0 424 4252010-06-09 Simon J. Gerraty <sjg@bad.crufty.net> 426 427 * install-mk (MK_VERSION): bump version to 20100608 428 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al. 429 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606 430 also make it easier for folk to tweak 431 4322010-06-08 Simon J. Gerraty <sjg@bad.crufty.net> 433 434 * install-mk (MK_VERSION): bump version to 20100606 435 do not install examples/* 436 * FILES: add examples/sys.clean-env.mk 437 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR 438 this requires bmake-20100606 or later to work. 439 4402010-05-13 Simon J. Gerraty <sjg@bad.crufty.net> 441 442 * sys.mk (M_tA): better simulate the result of :tA if not available. 443 4442010-05-04 Simon J. Gerraty <sjg@bad.crufty.net> 445 446 * sys.mk: canonicalize MAKE_VERSION 447 old versions reported bmake-<src-date> build-<build-date> 448 whereas we only care about <src-date> 449 4502010-04-25 Simon J. Gerraty <sjg@bad.crufty.net> 451 452 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored 453 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION 454 is !empty 455 4562010-04-22 Simon J. Gerraty <sjg@bad.crufty.net> 457 458 * dpadd.mk: use LDADD_* if defined. 459 4602010-04-21 Simon J. Gerraty <sjg@bad.crufty.net> 461 462 * install-mk (MK_VERSION): bump version to 20100420 463 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy 464 * autoconf.mk allow AUTO_AUTOCONF 465 4662010-04-19 Simon J. Gerraty <sjg@bad.crufty.net> 467 468 * obj.mk: add objwarn to keep freebsd makefiles happy 469 * auto.obj.mk: ensure Mkdirs is available. 470 * FILES: add auto.dep.mk - a simpler version of autodep.mk 471 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if 472 asked to do that. 473 fix/simplify the tests for when to run mkdep. 474 * auto.dep.mk: add some explaination of how/what we do. 475 * autodep.mk: skip the .OPTIONAL frobbing of .depend 476 bmake's FROM_DEPEND flag makes it redundant. 477 4782010-04-13 Simon J. Gerraty <sjg@bad.crufty.net> 479 480 * install-mk (MK_VERSION): bump version to 20100404 481 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE. 482 * obj.mk: protect from multiple inclusion even as bsd.obj.mk 483 Also create a target _SUBDIRUSE so that we can be used without 484 subdir.mk 485 4862010-04-12 Simon J. Gerraty <sjg@bad.crufty.net> 487 488 * dep.mk: use <> when .including so can override. 489 4902010-01-11 Simon J. Gerraty <sjg@bad.crufty.net> 491 492 * lib.mk (SHLIB_LINKS): ensure a string comparison. 493 4942010-01-04 Simon J. Gerraty <sjg@bad.crufty.net> 495 496 * install-mk (MK_VERSION): bump version to 20100102 497 * own.mk: ensure PRINTOBJDIR works 498 * autoconf.mk: pass on CONFIGURE_ARGS 499 * init.mk: handle COPTS.${.IMPSRC:T} etc. 500 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION 501 fix handling of symlinks for darwin 502 * libnames.mk: add DSHLIBEXT for libs which only exist as shared. 503 * man.mk: suppress chown when not root. 504 * rst2htm.mk: allow srcs from multiple locations. 505 * sys.mk: M_whence, stop after 1st line of output. 506 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT 507 * sys/SunOS.mk: we need to export PATH 508 5092009-12-23 Simon J. Gerraty <sjg@void.crufty.net> 510 511 * install-mk (MK_VERSION): bump version 512 include rst2htm.mk 513 5142009-12-17 Simon J. Gerraty <sjg@void.crufty.net> 515 516 * sys.mk,libnames.mk add .-include <local.*> 517 this allows local customization without the need to edit the 518 distributed files. 519 5202009-12-14 Simon J. Gerraty <sjg@void.crufty.net> 521 522 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up 523 older versions already installed. 524 5252009-12-13 Simon J. Gerraty <sjg@void.crufty.net> 526 527 * stage.mk (.stage-install): generalize lib.mk's .libinstall 528 * rules.mk rules for generic Makefile. 529 * inc.mk install for includes. 530 5312009-12-11 Simon J. Gerraty <sjg@void.crufty.net> 532 533 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check 534 this, so provide it if using native make. 535 5362009-12-10 Simon J. Gerraty <sjg@void.crufty.net> 537 538 * FILES: move all the platform *.sys.mk files to sys/*.mk 539 * Rename Generic.sys.mk to sys.mk - we always want it. 540 5412009-11-17 Simon J. Gerraty <sjg@void.crufty.net> 542 543 * install-mk (MK_VERSION): bump version 544 * host-target.mk: only export the expensive stuff 545 * Generic.sys.mk (sys_mk): for SunOS we need to look for 546 ${HOST_OS}.${HOST_OSMAJOR} too! 547 5482009-11-07 Simon J. Gerraty <sjg@void.crufty.net> 549 550 * install-mk (MK_VERSION): bump version 551 * lib.mk: if sys.mk doesn't give us an lorder, don't use it. 552 based on patch from Greg Olszewski. 553 * Generic.sys.mk: if we have nothing to work with 554 set LORDER etc only if we can find it. 555 5562009-09-08 Simon J. Gerraty <sjg@void.crufty.net> 557 558 * install-mk (MK_VERSION): bump version 559 * man.mk: cleanman: remove CLEANMAN if defined. 560 5612009-09-04 Simon J. Gerraty <sjg@void.crufty.net> 562 563 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk 564 5652009-07-17 Simon J. Gerraty <sjg@void.crufty.net> 566 567 * install-mk (MK_VERSION): bump version 568 include auto.obj.mk 569 570 5712009-03-26 Simon J. Gerraty <sjg@void.crufty.net> 572 573 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail. 574 5752008-11-11 Simon J. Gerraty <sjg@void.crufty.net> 576 577 * install-mk (MK_VERSION): bump version 578 man.mk: ensure we generate *.cat1 etc in . 579 5802008-07-16 Simon J. Gerraty <sjg@void.crufty.net> 581 582 * install-mk (MK_VERSION): bump version 583 add prlist.mk 584 5852007-11-25 Simon J. Gerraty <sjg@void.crufty.net> 586 587 * Generic.sys.mk: Allow os specific sys.mk to be in a 588 subdir of ${.PARSEDIR} 589 5902007-11-22 Simon J. Gerraty <sjg@void.crufty.net> 591 592 * install-mk (MK_VERSION): bump version 593 * general cleanup 594 * dpadd.mk introduce DPMAGIC_LIBS_* 595 5962007-04-30 Simon J. Gerraty <sjg@void.crufty.net> 597 598 * install-mk (MK_VERSION): bump version 599 600 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog 601 depend files and ensure clean is called for each lib/prog. 602 6032007-03-27 Simon J. Gerraty <sjg@void.crufty.net> 604 605 * autodep.mk (.depend): delete lines that do not start with 606 space and do not contain ':' 607 6082007-02-16 Simon J. Gerraty <sjg@void.crufty.net> 609 610 * autodep.mk (.depend): gcc may wrap lines if pathnames are long 611 so make sure the transform for .OPTIONAL copes. 612 6132007-02-03 Simon J. Gerraty <sjg@void.crufty.net> 614 615 * install-mk (MK_VERSION): bump version 616 617 * own.mk: make sure RM and LN are defined. 618 619 * obj.mk: fix a typo, and objlink target. 620 6212006-12-30 Simon J. Gerraty <sjg@void.crufty.net> 622 623 * install-mk (MK_VERSION): bump version 624 * added libs.mk - analagous to progs.mk 625 make both of them always inlcude {lib,prog}.mk 626 6272006-12-28 Simon J. Gerraty <sjg@void.crufty.net> 628 629 * progs.mk: add a means of building multiple apps in one dir. 630 6312006-11-26 Simon J. Gerraty <sjg@void.crufty.net> 632 633 * install-mk (MK_VERSION): bump version to 20061126 634 635 * warnings.mk: detect invalid WARNINGS_SET 636 637 * warnings.mk: use ${.TARGET:T:R}.o when looking for target 638 specific warnings. 639 640 * For .cc sources, turn off warnings that g++ vomits on. 641 6422006-11-08 Simon J. Gerraty <sjg@void.crufty.net> 643 644 * own.mk: if __initialized__ target doesn't exist and we are 645 FreeBSD we got here directly from sys.mk 646 6472006-11-06 Simon J. Gerraty <sjg@void.crufty.net> 648 649 * install-mk (MK_VERSION): bump version to 20061106 650 add scripts.mk 651 6522006-03-18 Simon J. Gerraty <sjg@void.crufty.net> 653 654 * install-mk (MK_VERSION): bump version to 20060318 655 656 * autodep.mk: avoid := when modifying OBJS into __dependsrcs 657 6582006-03-02 Simon J. Gerraty <sjg@void.crufty.net> 659 660 * install-mk (MK_VERSION): bump version to 20060302 661 * autodep.mk: use -MF et al to help gcc+ccache DTRT. 662 6632006-03-01 Simon J. Gerraty <sjg@void.crufty.net> 664 665 * install-mk (MK_VERSION): bump version to 20060301 666 * autodep.mk (.depend): 667 if MAKE_VERSION is newer than 20050530 we can make .END depend on 668 .depend and make .depend depend on __depsrcs that exist. 669 * dpadd.mk: add SRC_PATHADD 670 6712005-11-04 Simon J. Gerraty <sjg@void.crufty.net> 672 673 * install-mk (MK_VERSION): bump version to 20051104 674 * prog.mk: remove all the LIBC?= junk, use 675 .-include libnames.mk instead (none by default). 676 also if USE_DPADD_MK is set, include that. 677 6782005-10-09 Simon J. Gerraty <sjg@void.crufty.net> 679 680 * install-mk (MK_VERSION): bump version to 20051001 681 Add UnixWare.sys.mk from Klaus Heinz. 682 6832005-04-05 Simon J. Gerraty <sjg@void.crufty.net> 684 685 * install-mk: always install *.sys.mk and if need be symlink one 686 to sys.mk 687 6882005-03-22 Simon J. Gerraty <sjg@void.crufty.net> 689 690 * subdir.mk, own.mk: use .MAKE rather than MAKE 691 6922004-02-15 Simon J. Gerraty <sjg@void.crufty.net> 693 694 * own.mk: don't use NetBSD's _SRC_TOP_ it can 695 cause confusion. Also don't take just 'mk' as a 696 srctop indicator. 697 6982004-02-14 Simon J. Gerraty <sjg@void.crufty.net> 699 700 * warnings.mk: overhauled, now very powerful. 701 7022004-02-03 Simon J. Gerraty <sjg@void.crufty.net> 703 704 * Generic.sys.mk: need to use ${.PARSEDIR} with exists(). 705 7062004-02-01 Simon J. Gerraty <sjg@void.crufty.net> 707 708 * install-mk (MK_VERSION): bump version to 20040201 709 * extract HOST_TARGET stuff to host-target.mk so own.mk and 710 Generic.sys.mk can share. 711 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR. 712 7132003-09-30 Simon J. Gerraty <sjg@void.crufty.net> 714 715 * install-mk (MK_VERSION): 20030930 716 * rename generic.sys.mk to Generic.sys.mk 717 so that it does not get installed (unless being used as sys.mk) 718 * set OS and ROOT_GROUP for those that we know the value. 719 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so 720 we don't do it again for each sub-make. 721 7222003-09-28 Simon J. Gerraty <sjg@void.crufty.net> 723 724 * install-mk (MK_VERSION): 20030928 725 Add some extra *.sys.mk from bootstrap-pkgsrc 726 some of these likely still need work. 727 Make everything default to root:wheel ownership, 728 sys.mk can set ROOT_GROUP accordingly. 729 7302003-08-07 Simon J. Gerraty <sjg@void.crufty.net> 731 732 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR 733 not the portable ones. 734 7352003-07-31 Simon J. Gerraty <sjg@void.crufty.net> 736 737 * install-mk: add ability to use cp -f when updating 738 destination .mk files. Also now possible to play games with 739 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk 740 into dest - not recommended unless you seriously want to. 741 7422003-07-28 Simon J. Gerraty <sjg@void.crufty.net> 743 744 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc 745 for semi-compatability with NetBSD. 746 7472003-07-23 Simon J. Gerraty <sjg@void.crufty.net> 748 749 * install-mk: add a version indicator 750 7512003-07-22 Simon J. Gerraty <sjg@void.crufty.net> 752 753 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null 754 755 * install-mk: Allow FORCE_SYS_MK to come from env 756 757 758 759