1 2017-03-01 Simon J. Gerraty <sjg@bad.crufty.net>
3 * install-mk (MK_VERSION): 20170301
5 * dirdeps.mk (_build_all_dirs): update this outside test for empty
8 * meta.stage.mk: allow multiple inclusion to the extent it makes
11 2017-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
13 * prog.mk (install_links): depends on realinstall
15 2017-02-12 Simon J. Gerraty <sjg@bad.crufty.net>
17 * install-mk (MK_VERSION): 20170212
19 * dpadd.mk: avoid applying :T:R twice to DPLIBS entries
21 2017-01-30 Simon J. Gerraty <sjg@bad.crufty.net>
23 * install-mk (MK_VERSION): 20170130
25 * dirdeps.mk: use :range if we can.
27 * sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130
29 * meta2deps.py: clean paths without using realpath() where possible.
32 2016-12-12 Simon J. Gerraty <sjg@bad.crufty.net>
34 * install-mk (MK_VERSION): 20161212
36 * meta2deps.py: set pid_cwd[pid] when we process 'C'hdir,
37 rather than when we detect pid change.
39 2016-12-07 Simon J. Gerraty <sjg@bad.crufty.net>
41 * install-mk (MK_VERSION): 20161207
43 * meta.stage.mk: add stage_as_and_symlink for staging packages.
44 We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able
45 to use foo.tgz to reference the latest staged version - so we
46 make foo.tgz a symlink to it.
47 Using a target to do both operations ensures we stay in sync.
49 2016-11-26 Simon J. Gerraty <sjg@bad.crufty.net>
51 * install-mk (MK_VERSION): 20161126
53 * dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk
54 so it can add dependencies.
56 2016-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
58 * dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE
59 do that they can influence the result correctly.
61 * dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC
63 * dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST
64 similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST
66 2016-10-05 Simon J. Gerraty <sjg@bad.crufty.net>
68 * dirdeps.mk: remove dependence on jot (normal situations anyway).
69 Before we read another Makefile.depend* set DEP_* vars from
70 _DEP_TARGET_SPEC in case it uses any of them with :=
71 When bootstrapping, trim any ,* from extention of chosen _src
72 Makefile.depend* to get the machine value we subst for.
74 2016-09-30 Simon J. Gerraty <sjg@bad.crufty.net>
76 * dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to
77 DEP_SKIP_DIR and DEP_DIRDEPS_FILTER
79 * sys.mk: extract some bits to sys.{debug,vars}.mk
80 for easier re-use by others.
82 2016-09-23 Simon Gerraty <sjg@sjg-mba13>
84 * lib.mk: Use ${PICO} for extension for PIC objects.
85 default to .pico (like NetBSD) safe on case insensitive filesystem.
87 2016-08-19 Simon J. Gerraty <sjg@bad.crufty.net>
89 * meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default
91 2016-08-15 Simon J. Gerraty <sjg@bad.crufty.net>
93 * install-mk (MK_VERSION): 20160815
95 * dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only
96 consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date.
98 2016-08-13 Simon J. Gerraty <sjg@bad.crufty.net>
100 * meta.sys.mk (.MAKE.META.IGNORE_PATHS):
101 in meta mode we can ignore the mtime of makefiles
103 2016-08-02 Simon J. Gerraty <sjg@bad.crufty.net>
105 * install-mk (MK_VERSION): 20160802
107 * lib.mk (libinstall): depends on beforinstall
109 * prog.mk (proginstall): depends on beforinstall
110 patch from Lauri Tirkkonen
112 * dirdeps.mk (bootstrap): When bootstrapping; creat
113 .MAKE.DEPENDFILE_DEFAULT and allow additional filtering via
114 .MAKE.DEPENDFILE_BOOTSTRAP_SED
116 * dirdeps.mk: move some comments to where they make sense.
118 2016-07-27 Simon J. Gerraty <sjg@bad.crufty.net>
120 * dirdeps.mk (DIRDEPS_CACHE): no dirname.
122 2016-06-02 Simon J. Gerraty <sjg@bad.crufty.net>
124 * install-mk (MK_VERSION): 20160602
125 * meta.autodep.mk: when passing META_FILES to gendirdeps.mk
126 do not apply :T to META_XTRAS
127 patch from Bryan Drewery at FreeBSD.org.
129 2016-05-30 Simon J. Gerraty <sjg@bad.crufty.net>
131 * install-mk (MK_VERSION): 20160530
132 * meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH
135 2016-05-12 Simon J. Gerraty <sjg@bad.crufty.net>
137 * install-mk (MK_VERSION): 20160512
139 * dpadd.mk: always include local.dpadd.mk if it exists
140 remove some things that better belong in local.dpadd.mk
141 skip INCLUDES_* for staged libs unless SRC_* defined.
143 * own.mk: add INCLUDEDIR
145 2016-04-18 Simon J. Gerraty <sjg@bad.crufty.net>
147 * dirdeps.mk: when doing -f dirdeps.mk if target suppies no
148 TARGET_MACHINE - :E will be empty or match part of path, use
151 2016-04-07 Simon J. Gerraty <sjg@bad.crufty.net>
153 * meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
156 * dirdeps.mk: move the logic that allows for
157 make -f dirdeps.mk some/dir.${TARGET_SPEC}
158 inside the check for !target(_DIRDEP_USE)
160 2016-04-04 Simon J. Gerraty <sjg@bad.crufty.net>
162 * Use <> when including local*.mk and others which may exist
163 elsewhere so that user can better control what they get.
165 * meta.autodep.mk (NO_FILEMON_COOKIE):
166 create a cookie if we ever build dir with nofilemon
167 so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
169 2016-04-01 Simon J. Gerraty <sjg@bad.crufty.net>
171 * install-mk (MK_VERSION): 20160401
173 * meta2deps.py: fix old print statement when debugging.
175 * gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
176 patch from Bryan Drewery
178 2016-03-22 Simon J. Gerraty <sjg@bad.crufty.net>
180 * install-mk (MK_VERSION): 20160317 (St. Pats)
182 * warnings.mk: g++ does not like -Wimplicit
184 * sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
185 pelthora of common suffixes for C++
187 * lib.mk: use .So for shared objects
189 2016-03-15 Simon J. Gerraty <sjg@bad.crufty.net>
191 * install-mk (MK_VERSION): 20160315
193 * meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
194 normally only applies to scripts.
196 * dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
199 2016-03-10 Simon J. Gerraty <sjg@bad.crufty.net>
201 * install-mk (MK_VERSION): 20160310
203 * dirdeps.mk: use targets rather than a list to track DIRDEPS that
204 we have processed; the list gets very inefficient as number of
207 * sys.dependfile.mk: fix comment wrt MACHINE
209 * meta.autodep.mk: ignore staged DPADDs when bootstrapping.
210 patch from Bryan Drewery
212 2016-03-02 Simon J. Gerraty <sjg@bad.crufty.net>
214 * meta2deps.sh: don't ignore subdirs.
215 patch from Bryan Drewery
217 2016-02-26 Simon J. Gerraty <sjg@bad.crufty.net>
219 * install-mk (MK_VERSION): 20160226
221 * gendirdeps.mk: mark _DEPENDFILE .NOMETA
223 2016-02-20 Simon J. Gerraty <sjg@bad.crufty.net>
225 * dirdeps.mk: we shouldn't normally include .depend but if we do
226 use .dinclude if we can.
228 2016-02-18 Simon J. Gerraty <sjg@bad.crufty.net>
230 * install-mk (MK_VERSION): 20160218
231 * sys.clean-env.mk: with recent change to Var_Subst()
232 we cannot use the '$$' trick, but .export-literal does the job
234 * auto.dep.mk: make use .dinclude if we can.
237 2016-02-05 Simon J. Gerraty <sjg@bad.crufty.net>
240 Add _build_all_dirs such that local.dirdeps.mk can
241 add fully qualified dirs to it.
242 These will be built normally but the current
243 DEP_RELDIR will not depend on then (to avoid cycles).
244 This makes it easy to hook things like unit-tests into build.
247 2016-01-21 Simon J. Gerraty <sjg@bad.crufty.net>
249 * dirdeps.mk: add bootstrap-empty
251 2015-12-12 Simon J. Gerraty <sjg@bad.crufty.net>
253 * install-mk (MK_VERSION): 20151212
254 * auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
255 only apply :tA to __objdir when comparing to .OBJDIR
257 2015-11-14 Simon J. Gerraty <sjg@bad.crufty.net>
259 * install-mk (MK_VERSION): 20151111
261 * meta.sys.mk: include sys.dependfile.mk
263 * sys.mk (OPTIONS_DEFAULT_NO): use options.mk
264 to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
265 include local.sys.env.mk early
266 include local.sys.mk later
268 * own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
270 2015-11-13 Simon J. Gerraty <sjg@bad.crufty.net>
272 * meta.sys.mk (META_COOKIE_TOUCH):
273 add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
275 * meta.stage.mk: stage_libs should ignore SYMLINKS.
277 2015-10-23 Simon J. Gerraty <sjg@bad.crufty.net>
279 * install-mk (MK_VERSION): 20151022
281 * sys.mk: BSD/OS does not have 'type' as a shell builtin.
283 2015-10-20 Simon J. Gerraty <sjg@bad.crufty.net>
285 * install-mk (MK_VERSION): 20151020
287 * dirdeps.mk: Add logic for
288 make -f dirdeps.mk some/dir.${TARGET_SPEC}
290 2015-10-14 Simon J. Gerraty <sjg@bad.crufty.net>
292 * install-mk (MK_VERSION): 20151010
294 2015-10-02 Simon J. Gerraty <sjg@bad.crufty.net>
296 * meta.stage.mk: use staging: ${STAGE_TARGETS:...
297 to have stage_lins run last in non-jobs mode.
298 Use .ORDER only for jobs mode.
300 2015-09-02 Simon J. Gerraty <sjg@bad.crufty.net>
302 * rst2htm.mk: allow for per target flags etc.
304 2015-09-01 Simon J. Gerraty <sjg@bad.crufty.net>
306 * install-mk (MK_VERSION): 20150901
308 * doc.mk: create dir if needed use DOC_INSTALL_OWN
310 2015-06-15 Simon J. Gerraty <sjg@bad.crufty.net>
312 * install-mk (MK_VERSION): 20150615
314 * auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
315 Follow make's normal precedence rules.
317 * gendirdeps.mk: allow customization of the header.
319 GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
321 * meta.autodep.mk: ignore dirdeps.cache*
323 * meta.stage.mk: when bootstrapping options it can be handy to
324 throw warnings rather than errors for staging conflicts.
326 * meta.sys.mk: include local.meta.sys.mk for customization
328 2015-06-06 Simon J. Gerraty <sjg@bad.crufty.net>
330 * install-mk (MK_VERSION): 20150606
332 * dirdeps.mk: don't rely on manually maintained Makefile.depend
333 to set DEP_RELDIR and reset DIRDEPS.
334 By setting DEP_RELDIR ourselves we can skip :tA
336 * gendirdeps.mk: skip setting DEP_RELDIR.
338 2015-05-24 Simon J. Gerraty <sjg@bad.crufty.net>
340 * dirdeps.mk: avoid wildcards like make(bootstrap*)
342 2015-05-20 Simon J. Gerraty <sjg@bad.crufty.net>
344 * install-mk (MK_VERSION): 20150520
346 * dirdeps.mk: when we are building dirdeps cache file we *want*
347 meta_oodate to look at all the Makefile.depend files, so
348 set .MAKE.DEPENDFILE to something that won't match.
350 * meta.stage.mk: for STAGE_AS_* basename of file may not be unique
351 so first use absolute path as key.
352 Also skip staging at level 0.
354 2015-04-30 Simon J. Gerraty <sjg@bad.crufty.net>
356 * install-mk (MK_VERSION): 20150430
358 * dirdeps.mk: fix _count_dirdeps for non-cache case.
360 2015-04-16 Simon J. Gerraty <sjg@bad.crufty.net>
362 * install-mk (MK_VERSION): 20150411
365 * own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
366 it is here mainly for documentation purposes, since
367 if using auto.obj.mk it is better done via sys.mk
369 2015-04-01 Simon J. Gerraty <sjg@bad.crufty.net>
371 * install-mk (MK_VERSION): 20150401
373 * meta2deps.sh: support @list
375 * meta2deps.py: updates from Juniper
377 o skip bogus input files.
378 o treat 'M' and 'L' as both an 'R' and a 'W'
380 2015-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
382 * install-mk (MK_VERSION): 20150303
384 * dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
385 which is built via sub-make so we have a .meta file to tell if
387 The dirdeps-cache contains the same dependency rules that we
388 normaly construct on the fly.
389 This adds a few seconds overhead when the cache is out of date,
390 but for a large target, the savings can be significant (10-20min).
392 2014-11-18 Simon J. Gerraty <sjg@bad.crufty.net>
394 * install-mk (MK_VERSION): 20141118
396 * meta.stage.mk: add stale_staged
398 * dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
399 only useful under very rare conditions such as
400 FreeBSD's make universe.
402 * auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
404 2014-11-11 Simon J. Gerraty <sjg@bad.crufty.net>
406 * install-mk (MK_VERSION): 20141111
408 * mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
410 2014-11-09 Simon J. Gerraty <sjg@bad.crufty.net>
412 * FILES: include mkopt.sh which allows handling options in shell
413 scripts in a manner compatible with options.mk
415 2014-10-12 Simon J. Gerraty <sjg@bad.crufty.net>
417 * meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
418 for GENDIRDEPS_FILTER to avoid surprises.
420 2014-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
422 * dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
423 the time it is applied to __depdirs they have.
425 * dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
426 expects patterns like *.${MACHINE}
428 * cython.mk (pyprefix?): use pyprefix to find python bits
429 since prefix might be something else (where we install our
432 2014-09-11 Simon J. Gerraty <sjg@bad.crufty.net>
434 * install-mk (MK_VERSION): 20140911
436 * dirdeps.mk: add bootstrap target to simplify adding support for
439 2014-09-01 Simon J. Gerraty <sjg@bad.crufty.net>
441 * gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
442 GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
443 Makefile.depend files.
445 2014-08-28 Simon J. Gerraty <sjg@bad.crufty.net>
447 * install-mk (MK_VERSION): 20140828
449 * cython.mk: capture logic for building python extension modules
452 2014-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
454 * meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
456 2014-08-02 Simon J. Gerraty <sjg@bad.crufty.net>
458 * install-mk (MK_VERSION): 20140801
460 * dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
461 identify the autodep.mk variant.
463 * sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
464 initial value does not match .MAKE.DEPENDFILE_PREFIX
466 * meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
468 2014-05-22 Simon J. Gerraty <sjg@bad.crufty.net>
470 * install-mk (MK_VERSION): 20140522
472 * lib.mk: use CC to link shlib for linux too
473 patch from Brendan MacDonell
475 2014-05-05 Simon J. Gerraty <sjg@bad.crufty.net>
477 * meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
478 if WITH_META_STATS is defined.
480 2014-05-02 Simon J. Gerraty <sjg@bad.crufty.net>
482 * dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
483 to supress dirdeps outside of .CURDIR.
485 2014-04-05 Simon J. Gerraty <sjg@bad.crufty.net>
487 * Fix spelling errors - patch from Pedro Giffuni
489 2014-03-14 Simon J. Gerraty <sjg@bad.crufty.net>
491 * install-mk (MK_VERSION): 20140314
493 * dirdeps.mk (beforedirdeps): a handy hook
495 * dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
496 to visit leaf dirs to be intercepted (eg. for distributed
499 * dirdeps.mk (__depdirs): ensure // don't sneak in
501 * gendirdeps.mk (DIRDEPS): ensure // don't sneak in
504 2014-02-21 Simon J. Gerraty <sjg@bad.crufty.net>
506 * rst2htm.mk (RST2PDF): add support for rst2pdf
508 2014-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
510 * install-mk (MK_VERSION): bump version
511 * dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
514 2014-02-10 Simon J. Gerraty <sjg@bad.crufty.net>
516 * options.mk: avoid :U so this isn't bmake dependent
518 2014-02-09 Simon J. Gerraty <sjg@bad.crufty.net>
520 * options.mk: cleanup and simplify semanitcs
521 NO_* dominates all, if both WITH_* and WITHOUT_*
522 are defined then result is DOMINATE_* which defaults to "no".
523 Ie. WITHOUT_ normally wins.
525 2013-12-12 Simon J. Gerraty <sjg@bad.crufty.net>
527 * install-mk (MK_VERSION): bump version
528 * meta2deps.py: convert to print function for python3 compat.
529 we also need to open files with mode 'r' rather than 'rb'
530 otherwise we get bytes instead of strings.
532 2013-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
534 * install-mk (MK_VERSION): bump version
536 * dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
537 apply the same filtering (M_dep_qual_fixes) when setting _machines
539 Also fix the filtering of Makefile.depend files - for reporting
540 what we are looking for (M_dep_qual_fixes can get confused by
542 Add some more debug info.
544 2013-09-04 Simon J. Gerraty <sjg@bad.crufty.net>
546 * gendirdeps.mk (_objtops): fix typo also
547 while processing M2D_OBJROOTS to gather qualdir_list
548 qualify $ql with loop iterator to ensure correct results.
550 2013-08-01 Simon J. Gerraty <sjg@bad.crufty.net>
552 * install-mk (MK_VERSION): 20130801
553 * libs.mk: update to match progs.mk
555 2013-07-26 Simon J. Gerraty <sjg@bad.crufty.net>
557 * install-mk (MK_VERSION): 20130726
558 some updates from Juniper and FreeBSD
559 o meta2deps.py: indicate file and line number when we hit parse
561 also allow @file to provide huge list of .meta files.
562 * meta2deps.py: add try_parse() to cleanup the above.
564 2013-07-16 Simon J. Gerraty <sjg@bad.crufty.net>
566 * install-mk (MK_VERSION): 20130716
567 * own.mk: add GPROG as an option
568 * prog.mk: honor MK_GPROF==yes
570 2013-05-10 Simon J. Gerraty <sjg@bad.crufty.net>
572 * install-mk (MK_VERSION): 20130505
573 * gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
574 for when $MACHINE isn't enough for objdir distinction.
575 Bring meta2deps.sh closer to par with meta2deps.py.
577 2013-04-18 Simon J. Gerraty <sjg@bad.crufty.net>
579 * meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
580 also if the target 'beforeinstall' exists, make it depend on
581 .dirdep (incase it uses STAGE_INSTALL).
583 2013-04-17 Simon J. Gerraty <sjg@bad.crufty.net>
585 * install-mk (MK_VERSION): 20130401 ;-)
586 * meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
587 wrapper around install(1).
588 * options.mk (OPTION_PREFIX): Allow a prefix other than MK_
590 2013-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
592 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
593 * install-mk (MK_VERSION): bump version
595 2013-03-21 Simon J. Gerraty <sjg@bad.crufty.net>
597 * install-mk (MK_VERSION): bump version
598 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
599 any trailing /., rather apply :tA only when needed.
600 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
601 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
603 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
605 2013-03-18 Simon J. Gerraty <sjg@bad.crufty.net>
607 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
608 it is simpler to just not update when say building for "host"
609 (where we know we apply filters to DIRDEPS), and using a
610 non-machine qualified dependfile.
612 2013-03-16 Simon J. Gerraty <sjg@bad.crufty.net>
614 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
615 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
616 * gendirdeps.mk: ensure _objroot has trailing / if it needs it.
617 * meta2deps.py: if machine is "host", then also trim
618 self.host_target from any OBJROOTS.
621 2013-03-11 Simon J. Gerraty <sjg@bad.crufty.net>
623 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
624 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
625 but _DEPENDFILE does not, compare the new _DEPENDFILE against
626 .MAKE.DEPENDFILE_DEFAULT and discard if the same.
628 2013-03-08 Simon J. Gerraty <sjg@bad.crufty.net>
630 * meta.stage.mk: use STAGE_TARGETS to control .ORDER
631 and hook to all: via staging:
633 2013-03-07 Simon J. Gerraty <sjg@bad.crufty.net>
635 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
636 use a separate variable for the default .MAKE.DEPENDFILE value
637 so that it can be controlled independently of
638 .MAKE.DEPENDFILE_PREFERENCE
640 * meta.stage.mk: throw error if cp fails etc.
641 Stage*() return early if passed no args.
644 2013-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
646 * install-mk (MK_VERSION): bump version
647 * gendirdeps.mk: handle multiple M2D_OBJROOTS better.
649 2013-02-10 Simon J. Gerraty <sjg@bad.crufty.net>
651 * install-mk (MK_VERSION): bump version to 20130210
652 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
654 o dirdeps.mk now fully supports TARGET_SPEC consisting of more
656 o no longer use DEP_MACHINE from Makefile.depend* so remove it.
658 2013-01-23 Simon J. Gerraty <sjg@bad.crufty.net>
660 * install-mk (MK_VERSION): bump version to 20130123
661 * meta.stage.mk: add stage_links (hard links).
662 if doing hard links, we add dest to link as well.
663 Default the stage dir for [sym]links to STAGE_OBJTOP since
664 these are typically specified as absolute paths.
665 Add -m "mode" flag to StageFiles and StageAs.
667 2012-11-11 Simon J. Gerraty <sjg@bad.crufty.net>
669 * install-mk (MK_VERSION): bump version to 20121111
670 * autoconf.mk: avoid meta mode seeing changed commands for config.status
671 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
672 in case we were found via .../mk
673 * sys.clean-env.mk: move it from examples, we and others use it
675 * FILES: add srctop.mk and options.mk
676 * own.mk: convert to using options.mk
677 which is modeled after FreeBSD's handling of MK_*
679 This allows MK_* for boolean knobs to not be confused
680 with MK* which can be commands.
682 * examples/sys.clean-env.mk: add WITH[OUT]_ to
683 MAKE_ENV_SAVE_PREFIX_LIST.
684 Mention that HOME=/var/empty might be a good idea.
686 2012-11-08 Simon J. Gerraty <sjg@bad.crufty.net>
688 * sys.dependfile.mk: if not depend file exists, $MACHINE
689 specific ones are supported but not the default,
690 check if any exist and follow suit.
692 2012-11-06 Simon J. Gerraty <sjg@bad.crufty.net>
694 * install-mk (MK_VERSION): bump version to 20121106
696 2012-11-05 Simon J. Gerraty <sjg@bad.crufty.net>
698 * import latest dirdeps.mk and meta2deps.py from Juniper.
699 * progs.mk: add MAN and CXXFLAGS to PROG_VARS
700 also add PROGS_TARGETS and pass on PROG_CXX if it seems
703 2012-11-04 Simon J. Gerraty <sjg@bad.crufty.net>
705 * meta.stage.mk: update CLEANFILES
706 remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
707 * progs.mk: Add LDADD to PROG_VARS
709 2012-10-12 Simon J. Gerraty <sjg@bad.crufty.net>
711 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
712 _STAGED_DIRS so that these can be turned into filters for
715 2012-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
717 * install-mk (MK_VERSION): bump version to 20121010
718 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
719 target.dirdep matches .dirdep
721 2012-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
723 * install-mk (MK_VERSION): bump version to 20120808
724 * import latest meta2deps.py from Juniper.
726 2012-07-11 Simon J. Gerraty <sjg@bad.crufty.net>
728 * install-mk (MK_VERSION): bump version to 20120711
729 * dep.mk: add explicit dependencies on SRCS after applying
731 * meta.autodep.mk: add explicit dependencies on SRCS after
732 applying SRCS_DEP_FILTER
733 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
735 2012-06-26 Simon J. Gerraty <sjg@bad.crufty.net>
737 * install-mk (MK_VERSION): bump version to 20120626
738 * meta.sys.mk: ignore PYTHON if it does not exist
739 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
740 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
741 entries ending in .${MACHINE} to decide if qualified _dirdep is
743 * gendirdeps.mk: only produce unqualified deps if no
744 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
745 * meta.subdir.mk: apply SUBDIRDEPS_FILTER
747 2012-04-20 Simon J. Gerraty <sjg@bad.crufty.net>
749 * install-mk (MK_VERSION): bump version to 20120420
750 * add sys.dependfile.mk so we can experiment with
751 .MAKE.DEPENDFILE_PREFERENCE
752 * meta.autodep.mk: _DEPENDFILE is precious!
754 2012-03-15 Simon J. Gerraty <sjg@bad.crufty.net>
756 * install-mk (MK_VERSION): bump version to 20120315
757 * install-new.mk: avoid being interrupted
759 2012-02-26 Simon J. Gerraty <sjg@bad.crufty.net>
761 * man.mk: MAN might have multiple values so be careful with exists().
763 2012-01-19 Simon J. Gerraty <sjg@bad.crufty.net>
765 * install-mk (MK_VERSION): bump version to 20120112
766 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
767 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
769 2011-12-03 Simon J. Gerraty <sjg@bad.crufty.net>
771 * install-mk (MK_VERSION): bump version to 20111201
772 * import dirdeps.mk from Juniper sjg@
773 o more consistent handling of DEP_MACHINE, especially when
774 dealing with an odd Makefile.depend, when normally using
775 Makefile.depend.${MACHINE}
777 2011-11-22 Simon J. Gerraty <sjg@bad.crufty.net>
779 * install-mk (MK_VERSION): bump version to 20111122
780 * meta.autodep.mk: add some debug output, be more crisp about
781 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend
783 2011-11-13 Simon J. Gerraty <sjg@bad.crufty.net>
785 * install-mk (MK_VERSION): bump version to 20111111
786 it's too cool to miss
787 * import meta* updates from Juniper sjg@
788 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
789 normally using Makefile.depend.${MACHINE}), handy for
790 read-only manually maintained dependencies.
791 o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
792 o gendirdeps.mk if ERROR: from meta2deps.py do not update
795 2011-10-30 Simon J. Gerraty <sjg@bad.crufty.net>
797 * install-new.mk separate the cmp and copy logic to its own function.
799 2011-10-28 Simon J. Gerraty <sjg@bad.crufty.net>
801 * install-mk (MK_VERSION): bump version to 20111028
802 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
803 * subdir.mk: ensure _SUBDIRUSE is provided
804 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
805 * meta.subdir.mk: always allow for Makefile.depend
807 2011-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
809 * install-mk (MK_VERSION): bump version to 20111010
810 o minor tweak to *dirdeps.mk from Juniper sjg@
812 2011-10-01 Simon J. Gerraty <sjg@bad.crufty.net>
814 * install-mk (MK_VERSION): bump version to 20111001
815 o add meta2deps.py from Juniper sjg@
816 o tweak gendirdeps.mk to work with meta2deps.py when not
818 * autoconf.mk: add autoconf-input as a hook for regenerating
819 AUTOCONF_INPUTS (configure).
821 2011-08-24 Simon J. Gerraty <sjg@bad.crufty.net>
823 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
824 trigger for updating Makefile.depend*
826 2011-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
828 * install-mk (MK_VERSION): bump version to 20110808
829 * obj.mk: minor cleanup
830 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
832 2011-08-01 Simon J. Gerraty <sjg@bad.crufty.net>
834 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the
837 2011-06-28 Simon J. Gerraty <sjg@bad.crufty.net>
839 * meta.autodep.mk: if XMAKE_META_FILE is set
840 the makefile uses a foreign make, and so dependencies
841 can only be gathered from a clean tree build.
843 2011-06-24 Simon J. Gerraty <sjg@bad.crufty.net>
845 * install-mk (MK_VERSION): bump version to 20110622
846 * meta.autodep.mk: improve bootstraping
848 2011-06-10 Simon J. Gerraty <sjg@bad.crufty.net>
850 * yacc.mk: handle the corner case of .c being removed
853 2011-06-08 Simon J. Gerraty <sjg@bad.crufty.net>
855 * yacc.mk: do .y.h and .y.c separately
857 2011-06-04 Simon J. Gerraty <sjg@bad.crufty.net>
859 * install-mk (MK_VERSION): bump version to 20110606
860 * don't store SRC_DIRDEPS in Makefile.depend* by default
861 not everyone needs it.
863 2011-05-04 Simon J. Gerraty <sjg@bad.crufty.net>
865 * install-mk (MK_VERSION): bump version to 20110505
866 first release including meta mode makefiles
868 2011-05-02 Simon J. Gerraty <sjg@bad.crufty.net>
870 * meta.stage.mk: add STAGE_AS_SETS and stage_as
871 for things that need to be staged with different names.
873 2011-05-01 Simon J. Gerraty <sjg@bad.crufty.net>
875 * meta.stage.mk: add notion of STAGE_SETS
876 so a makefile can stage to multiple dirs
878 2011-04-03 Simon J. Gerraty <sjg@bad.crufty.net>
880 * rst2htm.mk: convert rst to s5 (slides) or plain html depending
883 2011-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
885 * install-mk (MK_VERSION): bump version to 20110330
887 2011-03-29 Simon J. Gerraty <sjg@bad.crufty.net>
889 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
890 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
891 * sys.mk: re-define M_whence in terms of M_type.
892 M_type is useful for checking if something is a builtin.
894 2011-03-16 Simon J. Gerraty <sjg@bad.crufty.net>
896 * meta.stage.mk: add stage_symlinks and leverage StageLinks for
899 2011-03-10 Simon J. Gerraty <sjg@bad.crufty.net>
901 * dirdeps.mk: correct value for _depdir_files depends on
903 Add our copyright - just to make it clear we have frobbed this
905 DEP_MACHINE needs to be set to MACHINE each time, if using only
906 Makefile.depend (cf. Makefile.depend.${MACHINE})
908 * meta.stage.mk: meta mode version of staging
910 * init.mk, final.mk: include local.*.mk to simplify customization
912 2011-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
914 * auto.obj.mk: just because we are doing mk destroy, we should
915 still set .OBJDIR correctly if it exists.
917 * install-mk (mksrc): do not exclude meta.sys.mk
919 2011-03-01 Simon J. Gerraty <sjg@bad.crufty.net>
921 * host-target.mk: set/export _HOST_ARCH etc separately,
922 catch junk resulting from uname -p, so we can find sys/Linux.mk
925 2011-02-18 Simon J. Gerraty <sjg@bad.crufty.net>
927 * meta.sys.mk: throw an error if /dev/filemon is missing and we
928 expected to be updating Makefile.depend*
930 2011-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
932 * install-mk (MK_VERSION): bump version to 20110214
933 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
935 2010-09-25 Simon J. Gerraty <sjg@bad.crufty.net>
937 * meta.sys.mk: not valid for older bmake
939 2010-09-24 Simon J. Gerraty <sjg@bad.crufty.net>
941 * install-mk (MK_VERSION): bump version to 20100919
942 include dirdeps.mk et al from Juniper Networks,
943 for meta mode - requires filemon(9).
944 * sys.mk, subdir.mk: Add hooks for meta mode.
945 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
946 to make turning it on/off simple.
948 2010-06-16 Simon J. Gerraty <sjg@bad.crufty.net>
950 * install-mk (MK_VERSION): bump version to 20100616
953 2010-06-12 Simon J. Gerraty <sjg@bad.crufty.net>
955 * install-mk (MK_VERSION): bump version to 20100612
956 * lib.mk: remove duplicate addition to SOBJS
958 2010-06-10 Simon J. Gerraty <sjg@bad.crufty.net>
960 * sys.mk: Add a means of selectively turning on debug flags.
961 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
962 will act as if we did make -dv if .CURDIR ends in lib/sjg
963 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
964 the start of sys.mk rather than the end.
965 This only makes sense for leaf dirs, so we check that
968 2010-06-09 Simon J. Gerraty <sjg@bad.crufty.net>
970 * install-mk (MK_VERSION): bump version to 20100608
971 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
972 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
973 also make it easier for folk to tweak
975 2010-06-08 Simon J. Gerraty <sjg@bad.crufty.net>
977 * install-mk (MK_VERSION): bump version to 20100606
978 do not install examples/*
979 * FILES: add examples/sys.clean-env.mk
980 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
981 this requires bmake-20100606 or later to work.
983 2010-05-13 Simon J. Gerraty <sjg@bad.crufty.net>
985 * sys.mk (M_tA): better simulate the result of :tA if not available.
987 2010-05-04 Simon J. Gerraty <sjg@bad.crufty.net>
989 * sys.mk: canonicalize MAKE_VERSION
990 old versions reported bmake-<src-date> build-<build-date>
991 whereas we only care about <src-date>
993 2010-04-25 Simon J. Gerraty <sjg@bad.crufty.net>
995 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
996 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION
999 2010-04-22 Simon J. Gerraty <sjg@bad.crufty.net>
1001 * dpadd.mk: use LDADD_* if defined.
1003 2010-04-21 Simon J. Gerraty <sjg@bad.crufty.net>
1005 * install-mk (MK_VERSION): bump version to 20100420
1006 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
1007 * autoconf.mk allow AUTO_AUTOCONF
1009 2010-04-19 Simon J. Gerraty <sjg@bad.crufty.net>
1011 * obj.mk: add objwarn to keep freebsd makefiles happy
1012 * auto.obj.mk: ensure Mkdirs is available.
1013 * FILES: add auto.dep.mk - a simpler version of autodep.mk
1014 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
1016 fix/simplify the tests for when to run mkdep.
1017 * auto.dep.mk: add some explanation of how/what we do.
1018 * autodep.mk: skip the .OPTIONAL frobbing of .depend
1019 bmake's FROM_DEPEND flag makes it redundant.
1021 2010-04-13 Simon J. Gerraty <sjg@bad.crufty.net>
1023 * install-mk (MK_VERSION): bump version to 20100404
1024 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
1025 * obj.mk: protect from multiple inclusion even as bsd.obj.mk
1026 Also create a target _SUBDIRUSE so that we can be used without
1029 2010-04-12 Simon J. Gerraty <sjg@bad.crufty.net>
1031 * dep.mk: use <> when .including so can override.
1033 2010-01-11 Simon J. Gerraty <sjg@bad.crufty.net>
1035 * lib.mk (SHLIB_LINKS): ensure a string comparison.
1037 2010-01-04 Simon J. Gerraty <sjg@bad.crufty.net>
1039 * install-mk (MK_VERSION): bump version to 20100102
1040 * own.mk: ensure PRINTOBJDIR works
1041 * autoconf.mk: pass on CONFIGURE_ARGS
1042 * init.mk: handle COPTS.${.IMPSRC:T} etc.
1043 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION
1044 fix handling of symlinks for darwin
1045 * libnames.mk: add DSHLIBEXT for libs which only exist as shared.
1046 * man.mk: suppress chown when not root.
1047 * rst2htm.mk: allow srcs from multiple locations.
1048 * sys.mk: M_whence, stop after 1st line of output.
1049 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
1050 * sys/SunOS.mk: we need to export PATH
1052 2009-12-23 Simon J. Gerraty <sjg@void.crufty.net>
1054 * install-mk (MK_VERSION): bump version
1057 2009-12-17 Simon J. Gerraty <sjg@void.crufty.net>
1059 * sys.mk,libnames.mk add .-include <local.*>
1060 this allows local customization without the need to edit the
1063 2009-12-14 Simon J. Gerraty <sjg@void.crufty.net>
1065 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
1066 older versions already installed.
1068 2009-12-13 Simon J. Gerraty <sjg@void.crufty.net>
1070 * stage.mk (.stage-install): generalize lib.mk's .libinstall
1071 * rules.mk rules for generic Makefile.
1072 * inc.mk install for includes.
1074 2009-12-11 Simon J. Gerraty <sjg@void.crufty.net>
1076 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
1077 this, so provide it if using native make.
1079 2009-12-10 Simon J. Gerraty <sjg@void.crufty.net>
1081 * FILES: move all the platform *.sys.mk files to sys/*.mk
1082 * Rename Generic.sys.mk to sys.mk - we always want it.
1084 2009-11-17 Simon J. Gerraty <sjg@void.crufty.net>
1086 * install-mk (MK_VERSION): bump version
1087 * host-target.mk: only export the expensive stuff
1088 * Generic.sys.mk (sys_mk): for SunOS we need to look for
1089 ${HOST_OS}.${HOST_OSMAJOR} too!
1091 2009-11-07 Simon J. Gerraty <sjg@void.crufty.net>
1093 * install-mk (MK_VERSION): bump version
1094 * lib.mk: if sys.mk doesn't give us an lorder, don't use it.
1095 based on patch from Greg Olszewski.
1096 * Generic.sys.mk: if we have nothing to work with
1097 set LORDER etc only if we can find it.
1099 2009-09-08 Simon J. Gerraty <sjg@void.crufty.net>
1101 * install-mk (MK_VERSION): bump version
1102 * man.mk: cleanman: remove CLEANMAN if defined.
1104 2009-09-04 Simon J. Gerraty <sjg@void.crufty.net>
1106 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
1108 2009-07-17 Simon J. Gerraty <sjg@void.crufty.net>
1110 * install-mk (MK_VERSION): bump version
1114 2009-03-26 Simon J. Gerraty <sjg@void.crufty.net>
1116 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
1118 2008-11-11 Simon J. Gerraty <sjg@void.crufty.net>
1120 * install-mk (MK_VERSION): bump version
1121 man.mk: ensure we generate *.cat1 etc in .
1123 2008-07-16 Simon J. Gerraty <sjg@void.crufty.net>
1125 * install-mk (MK_VERSION): bump version
1128 2007-11-25 Simon J. Gerraty <sjg@void.crufty.net>
1130 * Generic.sys.mk: Allow os specific sys.mk to be in a
1131 subdir of ${.PARSEDIR}
1133 2007-11-22 Simon J. Gerraty <sjg@void.crufty.net>
1135 * install-mk (MK_VERSION): bump version
1137 * dpadd.mk introduce DPMAGIC_LIBS_*
1139 2007-04-30 Simon J. Gerraty <sjg@void.crufty.net>
1141 * install-mk (MK_VERSION): bump version
1143 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog
1144 depend files and ensure clean is called for each lib/prog.
1146 2007-03-27 Simon J. Gerraty <sjg@void.crufty.net>
1148 * autodep.mk (.depend): delete lines that do not start with
1149 space and do not contain ':'
1151 2007-02-16 Simon J. Gerraty <sjg@void.crufty.net>
1153 * autodep.mk (.depend): gcc may wrap lines if pathnames are long
1154 so make sure the transform for .OPTIONAL copes.
1156 2007-02-03 Simon J. Gerraty <sjg@void.crufty.net>
1158 * install-mk (MK_VERSION): bump version
1160 * own.mk: make sure RM and LN are defined.
1162 * obj.mk: fix a typo, and objlink target.
1164 2006-12-30 Simon J. Gerraty <sjg@void.crufty.net>
1166 * install-mk (MK_VERSION): bump version
1167 * added libs.mk - analogous to progs.mk
1168 make both of them always inlcude {lib,prog}.mk
1170 2006-12-28 Simon J. Gerraty <sjg@void.crufty.net>
1172 * progs.mk: add a means of building multiple apps in one dir.
1174 2006-11-26 Simon J. Gerraty <sjg@void.crufty.net>
1176 * install-mk (MK_VERSION): bump version to 20061126
1178 * warnings.mk: detect invalid WARNINGS_SET
1180 * warnings.mk: use ${.TARGET:T:R}.o when looking for target
1183 * For .cc sources, turn off warnings that g++ vomits on.
1185 2006-11-08 Simon J. Gerraty <sjg@void.crufty.net>
1187 * own.mk: if __initialized__ target doesn't exist and we are
1188 FreeBSD we got here directly from sys.mk
1190 2006-11-06 Simon J. Gerraty <sjg@void.crufty.net>
1192 * install-mk (MK_VERSION): bump version to 20061106
1195 2006-03-18 Simon J. Gerraty <sjg@void.crufty.net>
1197 * install-mk (MK_VERSION): bump version to 20060318
1199 * autodep.mk: avoid := when modifying OBJS into __dependsrcs
1201 2006-03-02 Simon J. Gerraty <sjg@void.crufty.net>
1203 * install-mk (MK_VERSION): bump version to 20060302
1204 * autodep.mk: use -MF et al to help gcc+ccache DTRT.
1206 2006-03-01 Simon J. Gerraty <sjg@void.crufty.net>
1208 * install-mk (MK_VERSION): bump version to 20060301
1209 * autodep.mk (.depend):
1210 if MAKE_VERSION is newer than 20050530 we can make .END depend on
1211 .depend and make .depend depend on __depsrcs that exist.
1212 * dpadd.mk: add SRC_PATHADD
1214 2005-11-04 Simon J. Gerraty <sjg@void.crufty.net>
1216 * install-mk (MK_VERSION): bump version to 20051104
1217 * prog.mk: remove all the LIBC?= junk, use
1218 .-include libnames.mk instead (none by default).
1219 also if USE_DPADD_MK is set, include that.
1221 2005-10-09 Simon J. Gerraty <sjg@void.crufty.net>
1223 * install-mk (MK_VERSION): bump version to 20051001
1224 Add UnixWare.sys.mk from Klaus Heinz.
1226 2005-04-05 Simon J. Gerraty <sjg@void.crufty.net>
1228 * install-mk: always install *.sys.mk and if need be symlink one
1231 2005-03-22 Simon J. Gerraty <sjg@void.crufty.net>
1233 * subdir.mk, own.mk: use .MAKE rather than MAKE
1235 2004-02-15 Simon J. Gerraty <sjg@void.crufty.net>
1237 * own.mk: don't use NetBSD's _SRC_TOP_ it can
1238 cause confusion. Also don't take just 'mk' as a
1241 2004-02-14 Simon J. Gerraty <sjg@void.crufty.net>
1243 * warnings.mk: overhauled, now very powerful.
1245 2004-02-03 Simon J. Gerraty <sjg@void.crufty.net>
1247 * Generic.sys.mk: need to use ${.PARSEDIR} with exists().
1249 2004-02-01 Simon J. Gerraty <sjg@void.crufty.net>
1251 * install-mk (MK_VERSION): bump version to 20040201
1252 * extract HOST_TARGET stuff to host-target.mk so own.mk and
1253 Generic.sys.mk can share.
1254 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
1256 2003-09-30 Simon J. Gerraty <sjg@void.crufty.net>
1258 * install-mk (MK_VERSION): 20030930
1259 * rename generic.sys.mk to Generic.sys.mk
1260 so that it does not get installed (unless being used as sys.mk)
1261 * set OS and ROOT_GROUP for those that we know the value.
1262 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
1263 we don't do it again for each sub-make.
1265 2003-09-28 Simon J. Gerraty <sjg@void.crufty.net>
1267 * install-mk (MK_VERSION): 20030928
1268 Add some extra *.sys.mk from bootstrap-pkgsrc
1269 some of these likely still need work.
1270 Make everything default to root:wheel ownership,
1271 sys.mk can set ROOT_GROUP accordingly.
1273 2003-08-07 Simon J. Gerraty <sjg@void.crufty.net>
1275 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
1276 not the portable ones.
1278 2003-07-31 Simon J. Gerraty <sjg@void.crufty.net>
1280 * install-mk: add ability to use cp -f when updating
1281 destination .mk files. Also now possible to play games with
1282 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
1283 into dest - not recommended unless you seriously want to.
1285 2003-07-28 Simon J. Gerraty <sjg@void.crufty.net>
1287 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
1288 for semi-compatability with NetBSD.
1290 2003-07-23 Simon J. Gerraty <sjg@void.crufty.net>
1292 * install-mk: add a version indicator
1294 2003-07-22 Simon J. Gerraty <sjg@void.crufty.net>
1296 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null
1298 * install-mk: Allow FORCE_SYS_MK to come from env