1 2017-06-30 Simon J. Gerraty <sjg@bad.crufty.net>
3 * install-mk (MK_VERSION): 20170630
5 * meta.stage.mk: avoid triggering stage_* targets with nothing to do.
7 2017-05-23 Simon J. Gerraty <sjg@bad.crufty.net>
9 * meta2deps.py: take special care of '..'
11 2017-05-15 Simon J. Gerraty <sjg@bad.crufty.net>
13 * install-mk (MK_VERSION): 20170515
15 * dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is
16 useful/necessary for a Makefile.depend file to export some knobs.
17 This is complicated when we are doing DIRDEPS_CACHE, so we will
18 handle export of any variables listed in DEP_EXPORT_VARS.
20 2017-05-08 Simon J. Gerraty <sjg@bad.crufty.net>
22 * install-mk (MK_VERSION): 20170505
24 * meta2deps.py: fix botched indenation.
26 2017-05-05 Simon J. Gerraty <sjg@bad.crufty.net>
28 * sys/*.mk: Remove setting of MAKE it is unnecessary and
29 in many cases wrong (basname rather than full path)
31 * scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk
33 * init.mk: define realbuild to simplify logic in {lib,prog}.mk etc
35 2017-05-01 Simon J. Gerraty <sjg@bad.crufty.net>
37 * install-mk (MK_VERSION): 20170501
39 * doc.mk: fix typo in DOC_INSTALL_OWN
41 * inc.mk: handle INCGROUPS similar to freebsd
43 * files.mk: add something for files too
45 * add staging logic to lib.mk prog.mk etc.
47 2017-04-24 Simon J. Gerraty <sjg@bad.crufty.net>
49 * install-mk (MK_VERSION): 20170424
51 * dirdeps.mk: set NO_DIRDEPS when bootstrapping.
52 also target of bootstrap-this when sed is needed should be ${_want:T}
54 2017-04-18 Simon J. Gerraty <sjg@bad.crufty.net>
56 * install-mk (MK_VERSION): 20170418
58 * auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a
59 prefix match for .CURDIR - in which case .CURDIR *is* __objdir.
61 2017-04-01 Simon J. Gerraty <sjg@bad.crufty.net>
63 * install-mk (MK_VERSION): 20170401
65 * meta2deps.py: add is_src so we can check if obj dependency
66 is also a src dependency.
68 2017-03-26 Simon J. Gerraty <sjg@bad.crufty.net>
70 * install-mk (MK_VERSION): 20170326
72 * meta.stage.mk: do nothing if NO_STAGING is defined.
74 2017-03-24 Simon J. Gerraty <sjg@bad.crufty.net>
76 * auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc.
78 2017-03-18 Simon J. Gerraty <sjg@bad.crufty.net>
80 * mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_*
82 2017-03-01 Simon J. Gerraty <sjg@bad.crufty.net>
84 * install-mk (MK_VERSION): 20170301
86 * dirdeps.mk (_build_all_dirs): update this outside test for empty
89 * meta.stage.mk: allow multiple inclusion to the extent it makes
92 2017-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
94 * prog.mk (install_links): depends on realinstall
96 2017-02-12 Simon J. Gerraty <sjg@bad.crufty.net>
98 * install-mk (MK_VERSION): 20170212
100 * dpadd.mk: avoid applying :T:R twice to DPLIBS entries
102 2017-01-30 Simon J. Gerraty <sjg@bad.crufty.net>
104 * install-mk (MK_VERSION): 20170130
106 * dirdeps.mk: use :range if we can.
108 * sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130
110 * meta2deps.py: clean paths without using realpath() where possible.
113 2016-12-12 Simon J. Gerraty <sjg@bad.crufty.net>
115 * install-mk (MK_VERSION): 20161212
117 * meta2deps.py: set pid_cwd[pid] when we process 'C'hdir,
118 rather than when we detect pid change.
120 2016-12-07 Simon J. Gerraty <sjg@bad.crufty.net>
122 * install-mk (MK_VERSION): 20161207
124 * meta.stage.mk: add stage_as_and_symlink for staging packages.
125 We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able
126 to use foo.tgz to reference the latest staged version - so we
127 make foo.tgz a symlink to it.
128 Using a target to do both operations ensures we stay in sync.
130 2016-11-26 Simon J. Gerraty <sjg@bad.crufty.net>
132 * install-mk (MK_VERSION): 20161126
134 * dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk
135 so it can add dependencies.
137 2016-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
139 * dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE
140 do that they can influence the result correctly.
142 * dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC
144 * dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST
145 similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST
147 2016-10-05 Simon J. Gerraty <sjg@bad.crufty.net>
149 * dirdeps.mk: remove dependence on jot (normal situations anyway).
150 Before we read another Makefile.depend* set DEP_* vars from
151 _DEP_TARGET_SPEC in case it uses any of them with :=
152 When bootstrapping, trim any ,* from extention of chosen _src
153 Makefile.depend* to get the machine value we subst for.
155 2016-09-30 Simon J. Gerraty <sjg@bad.crufty.net>
157 * dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to
158 DEP_SKIP_DIR and DEP_DIRDEPS_FILTER
160 * sys.mk: extract some bits to sys.{debug,vars}.mk
161 for easier re-use by others.
163 2016-09-23 Simon Gerraty <sjg@sjg-mba13>
165 * lib.mk: Use ${PICO} for extension for PIC objects.
166 default to .pico (like NetBSD) safe on case insensitive filesystem.
168 2016-08-19 Simon J. Gerraty <sjg@bad.crufty.net>
170 * meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default
172 2016-08-15 Simon J. Gerraty <sjg@bad.crufty.net>
174 * install-mk (MK_VERSION): 20160815
176 * dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only
177 consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date.
179 2016-08-13 Simon J. Gerraty <sjg@bad.crufty.net>
181 * meta.sys.mk (.MAKE.META.IGNORE_PATHS):
182 in meta mode we can ignore the mtime of makefiles
184 2016-08-02 Simon J. Gerraty <sjg@bad.crufty.net>
186 * install-mk (MK_VERSION): 20160802
188 * lib.mk (libinstall): depends on beforinstall
190 * prog.mk (proginstall): depends on beforinstall
191 patch from Lauri Tirkkonen
193 * dirdeps.mk (bootstrap): When bootstrapping; creat
194 .MAKE.DEPENDFILE_DEFAULT and allow additional filtering via
195 .MAKE.DEPENDFILE_BOOTSTRAP_SED
197 * dirdeps.mk: move some comments to where they make sense.
199 2016-07-27 Simon J. Gerraty <sjg@bad.crufty.net>
201 * dirdeps.mk (DIRDEPS_CACHE): no dirname.
203 2016-06-02 Simon J. Gerraty <sjg@bad.crufty.net>
205 * install-mk (MK_VERSION): 20160602
206 * meta.autodep.mk: when passing META_FILES to gendirdeps.mk
207 do not apply :T to META_XTRAS
208 patch from Bryan Drewery at FreeBSD.org.
210 2016-05-30 Simon J. Gerraty <sjg@bad.crufty.net>
212 * install-mk (MK_VERSION): 20160530
213 * meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH
216 2016-05-12 Simon J. Gerraty <sjg@bad.crufty.net>
218 * install-mk (MK_VERSION): 20160512
220 * dpadd.mk: always include local.dpadd.mk if it exists
221 remove some things that better belong in local.dpadd.mk
222 skip INCLUDES_* for staged libs unless SRC_* defined.
224 * own.mk: add INCLUDEDIR
226 2016-04-18 Simon J. Gerraty <sjg@bad.crufty.net>
228 * dirdeps.mk: when doing -f dirdeps.mk if target suppies no
229 TARGET_MACHINE - :E will be empty or match part of path, use
232 2016-04-07 Simon J. Gerraty <sjg@bad.crufty.net>
234 * meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
237 * dirdeps.mk: move the logic that allows for
238 make -f dirdeps.mk some/dir.${TARGET_SPEC}
239 inside the check for !target(_DIRDEP_USE)
241 2016-04-04 Simon J. Gerraty <sjg@bad.crufty.net>
243 * Use <> when including local*.mk and others which may exist
244 elsewhere so that user can better control what they get.
246 * meta.autodep.mk (NO_FILEMON_COOKIE):
247 create a cookie if we ever build dir with nofilemon
248 so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
250 2016-04-01 Simon J. Gerraty <sjg@bad.crufty.net>
252 * install-mk (MK_VERSION): 20160401
254 * meta2deps.py: fix old print statement when debugging.
256 * gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
257 patch from Bryan Drewery
259 2016-03-22 Simon J. Gerraty <sjg@bad.crufty.net>
261 * install-mk (MK_VERSION): 20160317 (St. Pats)
263 * warnings.mk: g++ does not like -Wimplicit
265 * sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
266 pelthora of common suffixes for C++
268 * lib.mk: use .So for shared objects
270 2016-03-15 Simon J. Gerraty <sjg@bad.crufty.net>
272 * install-mk (MK_VERSION): 20160315
274 * meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
275 normally only applies to scripts.
277 * dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
280 2016-03-10 Simon J. Gerraty <sjg@bad.crufty.net>
282 * install-mk (MK_VERSION): 20160310
284 * dirdeps.mk: use targets rather than a list to track DIRDEPS that
285 we have processed; the list gets very inefficient as number of
288 * sys.dependfile.mk: fix comment wrt MACHINE
290 * meta.autodep.mk: ignore staged DPADDs when bootstrapping.
291 patch from Bryan Drewery
293 2016-03-02 Simon J. Gerraty <sjg@bad.crufty.net>
295 * meta2deps.sh: don't ignore subdirs.
296 patch from Bryan Drewery
298 2016-02-26 Simon J. Gerraty <sjg@bad.crufty.net>
300 * install-mk (MK_VERSION): 20160226
302 * gendirdeps.mk: mark _DEPENDFILE .NOMETA
304 2016-02-20 Simon J. Gerraty <sjg@bad.crufty.net>
306 * dirdeps.mk: we shouldn't normally include .depend but if we do
307 use .dinclude if we can.
309 2016-02-18 Simon J. Gerraty <sjg@bad.crufty.net>
311 * install-mk (MK_VERSION): 20160218
312 * sys.clean-env.mk: with recent change to Var_Subst()
313 we cannot use the '$$' trick, but .export-literal does the job
315 * auto.dep.mk: make use .dinclude if we can.
318 2016-02-05 Simon J. Gerraty <sjg@bad.crufty.net>
321 Add _build_all_dirs such that local.dirdeps.mk can
322 add fully qualified dirs to it.
323 These will be built normally but the current
324 DEP_RELDIR will not depend on then (to avoid cycles).
325 This makes it easy to hook things like unit-tests into build.
328 2016-01-21 Simon J. Gerraty <sjg@bad.crufty.net>
330 * dirdeps.mk: add bootstrap-empty
332 2015-12-12 Simon J. Gerraty <sjg@bad.crufty.net>
334 * install-mk (MK_VERSION): 20151212
335 * auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
336 only apply :tA to __objdir when comparing to .OBJDIR
338 2015-11-14 Simon J. Gerraty <sjg@bad.crufty.net>
340 * install-mk (MK_VERSION): 20151111
342 * meta.sys.mk: include sys.dependfile.mk
344 * sys.mk (OPTIONS_DEFAULT_NO): use options.mk
345 to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
346 include local.sys.env.mk early
347 include local.sys.mk later
349 * own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
351 2015-11-13 Simon J. Gerraty <sjg@bad.crufty.net>
353 * meta.sys.mk (META_COOKIE_TOUCH):
354 add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
356 * meta.stage.mk: stage_libs should ignore SYMLINKS.
358 2015-10-23 Simon J. Gerraty <sjg@bad.crufty.net>
360 * install-mk (MK_VERSION): 20151022
362 * sys.mk: BSD/OS does not have 'type' as a shell builtin.
364 2015-10-20 Simon J. Gerraty <sjg@bad.crufty.net>
366 * install-mk (MK_VERSION): 20151020
368 * dirdeps.mk: Add logic for
369 make -f dirdeps.mk some/dir.${TARGET_SPEC}
371 2015-10-14 Simon J. Gerraty <sjg@bad.crufty.net>
373 * install-mk (MK_VERSION): 20151010
375 2015-10-02 Simon J. Gerraty <sjg@bad.crufty.net>
377 * meta.stage.mk: use staging: ${STAGE_TARGETS:...
378 to have stage_lins run last in non-jobs mode.
379 Use .ORDER only for jobs mode.
381 2015-09-02 Simon J. Gerraty <sjg@bad.crufty.net>
383 * rst2htm.mk: allow for per target flags etc.
385 2015-09-01 Simon J. Gerraty <sjg@bad.crufty.net>
387 * install-mk (MK_VERSION): 20150901
389 * doc.mk: create dir if needed use DOC_INSTALL_OWN
391 2015-06-15 Simon J. Gerraty <sjg@bad.crufty.net>
393 * install-mk (MK_VERSION): 20150615
395 * auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
396 Follow make's normal precedence rules.
398 * gendirdeps.mk: allow customization of the header.
400 GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
402 * meta.autodep.mk: ignore dirdeps.cache*
404 * meta.stage.mk: when bootstrapping options it can be handy to
405 throw warnings rather than errors for staging conflicts.
407 * meta.sys.mk: include local.meta.sys.mk for customization
409 2015-06-06 Simon J. Gerraty <sjg@bad.crufty.net>
411 * install-mk (MK_VERSION): 20150606
413 * dirdeps.mk: don't rely on manually maintained Makefile.depend
414 to set DEP_RELDIR and reset DIRDEPS.
415 By setting DEP_RELDIR ourselves we can skip :tA
417 * gendirdeps.mk: skip setting DEP_RELDIR.
419 2015-05-24 Simon J. Gerraty <sjg@bad.crufty.net>
421 * dirdeps.mk: avoid wildcards like make(bootstrap*)
423 2015-05-20 Simon J. Gerraty <sjg@bad.crufty.net>
425 * install-mk (MK_VERSION): 20150520
427 * dirdeps.mk: when we are building dirdeps cache file we *want*
428 meta_oodate to look at all the Makefile.depend files, so
429 set .MAKE.DEPENDFILE to something that won't match.
431 * meta.stage.mk: for STAGE_AS_* basename of file may not be unique
432 so first use absolute path as key.
433 Also skip staging at level 0.
435 2015-04-30 Simon J. Gerraty <sjg@bad.crufty.net>
437 * install-mk (MK_VERSION): 20150430
439 * dirdeps.mk: fix _count_dirdeps for non-cache case.
441 2015-04-16 Simon J. Gerraty <sjg@bad.crufty.net>
443 * install-mk (MK_VERSION): 20150411
446 * own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
447 it is here mainly for documentation purposes, since
448 if using auto.obj.mk it is better done via sys.mk
450 2015-04-01 Simon J. Gerraty <sjg@bad.crufty.net>
452 * install-mk (MK_VERSION): 20150401
454 * meta2deps.sh: support @list
456 * meta2deps.py: updates from Juniper
458 o skip bogus input files.
459 o treat 'M' and 'L' as both an 'R' and a 'W'
461 2015-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
463 * install-mk (MK_VERSION): 20150303
465 * dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
466 which is built via sub-make so we have a .meta file to tell if
468 The dirdeps-cache contains the same dependency rules that we
469 normaly construct on the fly.
470 This adds a few seconds overhead when the cache is out of date,
471 but for a large target, the savings can be significant (10-20min).
473 2014-11-18 Simon J. Gerraty <sjg@bad.crufty.net>
475 * install-mk (MK_VERSION): 20141118
477 * meta.stage.mk: add stale_staged
479 * dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
480 only useful under very rare conditions such as
481 FreeBSD's make universe.
483 * auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
485 2014-11-11 Simon J. Gerraty <sjg@bad.crufty.net>
487 * install-mk (MK_VERSION): 20141111
489 * mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
491 2014-11-09 Simon J. Gerraty <sjg@bad.crufty.net>
493 * FILES: include mkopt.sh which allows handling options in shell
494 scripts in a manner compatible with options.mk
496 2014-10-12 Simon J. Gerraty <sjg@bad.crufty.net>
498 * meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
499 for GENDIRDEPS_FILTER to avoid surprises.
501 2014-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
503 * dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
504 the time it is applied to __depdirs they have.
506 * dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
507 expects patterns like *.${MACHINE}
509 * cython.mk (pyprefix?): use pyprefix to find python bits
510 since prefix might be something else (where we install our
513 2014-09-11 Simon J. Gerraty <sjg@bad.crufty.net>
515 * install-mk (MK_VERSION): 20140911
517 * dirdeps.mk: add bootstrap target to simplify adding support for
520 2014-09-01 Simon J. Gerraty <sjg@bad.crufty.net>
522 * gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
523 GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
524 Makefile.depend files.
526 2014-08-28 Simon J. Gerraty <sjg@bad.crufty.net>
528 * install-mk (MK_VERSION): 20140828
530 * cython.mk: capture logic for building python extension modules
533 2014-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
535 * meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
537 2014-08-02 Simon J. Gerraty <sjg@bad.crufty.net>
539 * install-mk (MK_VERSION): 20140801
541 * dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
542 identify the autodep.mk variant.
544 * sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
545 initial value does not match .MAKE.DEPENDFILE_PREFIX
547 * meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
549 2014-05-22 Simon J. Gerraty <sjg@bad.crufty.net>
551 * install-mk (MK_VERSION): 20140522
553 * lib.mk: use CC to link shlib for linux too
554 patch from Brendan MacDonell
556 2014-05-05 Simon J. Gerraty <sjg@bad.crufty.net>
558 * meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
559 if WITH_META_STATS is defined.
561 2014-05-02 Simon J. Gerraty <sjg@bad.crufty.net>
563 * dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
564 to supress dirdeps outside of .CURDIR.
566 2014-04-05 Simon J. Gerraty <sjg@bad.crufty.net>
568 * Fix spelling errors - patch from Pedro Giffuni
570 2014-03-14 Simon J. Gerraty <sjg@bad.crufty.net>
572 * install-mk (MK_VERSION): 20140314
574 * dirdeps.mk (beforedirdeps): a handy hook
576 * dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
577 to visit leaf dirs to be intercepted (eg. for distributed
580 * dirdeps.mk (__depdirs): ensure // don't sneak in
582 * gendirdeps.mk (DIRDEPS): ensure // don't sneak in
585 2014-02-21 Simon J. Gerraty <sjg@bad.crufty.net>
587 * rst2htm.mk (RST2PDF): add support for rst2pdf
589 2014-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
591 * install-mk (MK_VERSION): bump version
592 * dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
595 2014-02-10 Simon J. Gerraty <sjg@bad.crufty.net>
597 * options.mk: avoid :U so this isn't bmake dependent
599 2014-02-09 Simon J. Gerraty <sjg@bad.crufty.net>
601 * options.mk: cleanup and simplify semanitcs
602 NO_* dominates all, if both WITH_* and WITHOUT_*
603 are defined then result is DOMINATE_* which defaults to "no".
604 Ie. WITHOUT_ normally wins.
606 2013-12-12 Simon J. Gerraty <sjg@bad.crufty.net>
608 * install-mk (MK_VERSION): bump version
609 * meta2deps.py: convert to print function for python3 compat.
610 we also need to open files with mode 'r' rather than 'rb'
611 otherwise we get bytes instead of strings.
613 2013-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
615 * install-mk (MK_VERSION): bump version
617 * dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
618 apply the same filtering (M_dep_qual_fixes) when setting _machines
620 Also fix the filtering of Makefile.depend files - for reporting
621 what we are looking for (M_dep_qual_fixes can get confused by
623 Add some more debug info.
625 2013-09-04 Simon J. Gerraty <sjg@bad.crufty.net>
627 * gendirdeps.mk (_objtops): fix typo also
628 while processing M2D_OBJROOTS to gather qualdir_list
629 qualify $ql with loop iterator to ensure correct results.
631 2013-08-01 Simon J. Gerraty <sjg@bad.crufty.net>
633 * install-mk (MK_VERSION): 20130801
634 * libs.mk: update to match progs.mk
636 2013-07-26 Simon J. Gerraty <sjg@bad.crufty.net>
638 * install-mk (MK_VERSION): 20130726
639 some updates from Juniper and FreeBSD
640 o meta2deps.py: indicate file and line number when we hit parse
642 also allow @file to provide huge list of .meta files.
643 * meta2deps.py: add try_parse() to cleanup the above.
645 2013-07-16 Simon J. Gerraty <sjg@bad.crufty.net>
647 * install-mk (MK_VERSION): 20130716
648 * own.mk: add GPROG as an option
649 * prog.mk: honor MK_GPROF==yes
651 2013-05-10 Simon J. Gerraty <sjg@bad.crufty.net>
653 * install-mk (MK_VERSION): 20130505
654 * gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
655 for when $MACHINE isn't enough for objdir distinction.
656 Bring meta2deps.sh closer to par with meta2deps.py.
658 2013-04-18 Simon J. Gerraty <sjg@bad.crufty.net>
660 * meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
661 also if the target 'beforeinstall' exists, make it depend on
662 .dirdep (incase it uses STAGE_INSTALL).
664 2013-04-17 Simon J. Gerraty <sjg@bad.crufty.net>
666 * install-mk (MK_VERSION): 20130401 ;-)
667 * meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
668 wrapper around install(1).
669 * options.mk (OPTION_PREFIX): Allow a prefix other than MK_
671 2013-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
673 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
674 * install-mk (MK_VERSION): bump version
676 2013-03-21 Simon J. Gerraty <sjg@bad.crufty.net>
678 * install-mk (MK_VERSION): bump version
679 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
680 any trailing /., rather apply :tA only when needed.
681 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
682 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
684 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
686 2013-03-18 Simon J. Gerraty <sjg@bad.crufty.net>
688 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
689 it is simpler to just not update when say building for "host"
690 (where we know we apply filters to DIRDEPS), and using a
691 non-machine qualified dependfile.
693 2013-03-16 Simon J. Gerraty <sjg@bad.crufty.net>
695 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
696 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
697 * gendirdeps.mk: ensure _objroot has trailing / if it needs it.
698 * meta2deps.py: if machine is "host", then also trim
699 self.host_target from any OBJROOTS.
702 2013-03-11 Simon J. Gerraty <sjg@bad.crufty.net>
704 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
705 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
706 but _DEPENDFILE does not, compare the new _DEPENDFILE against
707 .MAKE.DEPENDFILE_DEFAULT and discard if the same.
709 2013-03-08 Simon J. Gerraty <sjg@bad.crufty.net>
711 * meta.stage.mk: use STAGE_TARGETS to control .ORDER
712 and hook to all: via staging:
714 2013-03-07 Simon J. Gerraty <sjg@bad.crufty.net>
716 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
717 use a separate variable for the default .MAKE.DEPENDFILE value
718 so that it can be controlled independently of
719 .MAKE.DEPENDFILE_PREFERENCE
721 * meta.stage.mk: throw error if cp fails etc.
722 Stage*() return early if passed no args.
725 2013-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
727 * install-mk (MK_VERSION): bump version
728 * gendirdeps.mk: handle multiple M2D_OBJROOTS better.
730 2013-02-10 Simon J. Gerraty <sjg@bad.crufty.net>
732 * install-mk (MK_VERSION): bump version to 20130210
733 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
735 o dirdeps.mk now fully supports TARGET_SPEC consisting of more
737 o no longer use DEP_MACHINE from Makefile.depend* so remove it.
739 2013-01-23 Simon J. Gerraty <sjg@bad.crufty.net>
741 * install-mk (MK_VERSION): bump version to 20130123
742 * meta.stage.mk: add stage_links (hard links).
743 if doing hard links, we add dest to link as well.
744 Default the stage dir for [sym]links to STAGE_OBJTOP since
745 these are typically specified as absolute paths.
746 Add -m "mode" flag to StageFiles and StageAs.
748 2012-11-11 Simon J. Gerraty <sjg@bad.crufty.net>
750 * install-mk (MK_VERSION): bump version to 20121111
751 * autoconf.mk: avoid meta mode seeing changed commands for config.status
752 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
753 in case we were found via .../mk
754 * sys.clean-env.mk: move it from examples, we and others use it
756 * FILES: add srctop.mk and options.mk
757 * own.mk: convert to using options.mk
758 which is modeled after FreeBSD's handling of MK_*
760 This allows MK_* for boolean knobs to not be confused
761 with MK* which can be commands.
763 * examples/sys.clean-env.mk: add WITH[OUT]_ to
764 MAKE_ENV_SAVE_PREFIX_LIST.
765 Mention that HOME=/var/empty might be a good idea.
767 2012-11-08 Simon J. Gerraty <sjg@bad.crufty.net>
769 * sys.dependfile.mk: if not depend file exists, $MACHINE
770 specific ones are supported but not the default,
771 check if any exist and follow suit.
773 2012-11-06 Simon J. Gerraty <sjg@bad.crufty.net>
775 * install-mk (MK_VERSION): bump version to 20121106
777 2012-11-05 Simon J. Gerraty <sjg@bad.crufty.net>
779 * import latest dirdeps.mk and meta2deps.py from Juniper.
780 * progs.mk: add MAN and CXXFLAGS to PROG_VARS
781 also add PROGS_TARGETS and pass on PROG_CXX if it seems
784 2012-11-04 Simon J. Gerraty <sjg@bad.crufty.net>
786 * meta.stage.mk: update CLEANFILES
787 remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
788 * progs.mk: Add LDADD to PROG_VARS
790 2012-10-12 Simon J. Gerraty <sjg@bad.crufty.net>
792 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
793 _STAGED_DIRS so that these can be turned into filters for
796 2012-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
798 * install-mk (MK_VERSION): bump version to 20121010
799 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
800 target.dirdep matches .dirdep
802 2012-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
804 * install-mk (MK_VERSION): bump version to 20120808
805 * import latest meta2deps.py from Juniper.
807 2012-07-11 Simon J. Gerraty <sjg@bad.crufty.net>
809 * install-mk (MK_VERSION): bump version to 20120711
810 * dep.mk: add explicit dependencies on SRCS after applying
812 * meta.autodep.mk: add explicit dependencies on SRCS after
813 applying SRCS_DEP_FILTER
814 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
816 2012-06-26 Simon J. Gerraty <sjg@bad.crufty.net>
818 * install-mk (MK_VERSION): bump version to 20120626
819 * meta.sys.mk: ignore PYTHON if it does not exist
820 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
821 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
822 entries ending in .${MACHINE} to decide if qualified _dirdep is
824 * gendirdeps.mk: only produce unqualified deps if no
825 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
826 * meta.subdir.mk: apply SUBDIRDEPS_FILTER
828 2012-04-20 Simon J. Gerraty <sjg@bad.crufty.net>
830 * install-mk (MK_VERSION): bump version to 20120420
831 * add sys.dependfile.mk so we can experiment with
832 .MAKE.DEPENDFILE_PREFERENCE
833 * meta.autodep.mk: _DEPENDFILE is precious!
835 2012-03-15 Simon J. Gerraty <sjg@bad.crufty.net>
837 * install-mk (MK_VERSION): bump version to 20120315
838 * install-new.mk: avoid being interrupted
840 2012-02-26 Simon J. Gerraty <sjg@bad.crufty.net>
842 * man.mk: MAN might have multiple values so be careful with exists().
844 2012-01-19 Simon J. Gerraty <sjg@bad.crufty.net>
846 * install-mk (MK_VERSION): bump version to 20120112
847 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
848 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
850 2011-12-03 Simon J. Gerraty <sjg@bad.crufty.net>
852 * install-mk (MK_VERSION): bump version to 20111201
853 * import dirdeps.mk from Juniper sjg@
854 o more consistent handling of DEP_MACHINE, especially when
855 dealing with an odd Makefile.depend, when normally using
856 Makefile.depend.${MACHINE}
858 2011-11-22 Simon J. Gerraty <sjg@bad.crufty.net>
860 * install-mk (MK_VERSION): bump version to 20111122
861 * meta.autodep.mk: add some debug output, be more crisp about
862 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend
864 2011-11-13 Simon J. Gerraty <sjg@bad.crufty.net>
866 * install-mk (MK_VERSION): bump version to 20111111
867 it's too cool to miss
868 * import meta* updates from Juniper sjg@
869 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
870 normally using Makefile.depend.${MACHINE}), handy for
871 read-only manually maintained dependencies.
872 o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
873 o gendirdeps.mk if ERROR: from meta2deps.py do not update
876 2011-10-30 Simon J. Gerraty <sjg@bad.crufty.net>
878 * install-new.mk separate the cmp and copy logic to its own function.
880 2011-10-28 Simon J. Gerraty <sjg@bad.crufty.net>
882 * install-mk (MK_VERSION): bump version to 20111028
883 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
884 * subdir.mk: ensure _SUBDIRUSE is provided
885 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
886 * meta.subdir.mk: always allow for Makefile.depend
888 2011-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
890 * install-mk (MK_VERSION): bump version to 20111010
891 o minor tweak to *dirdeps.mk from Juniper sjg@
893 2011-10-01 Simon J. Gerraty <sjg@bad.crufty.net>
895 * install-mk (MK_VERSION): bump version to 20111001
896 o add meta2deps.py from Juniper sjg@
897 o tweak gendirdeps.mk to work with meta2deps.py when not
899 * autoconf.mk: add autoconf-input as a hook for regenerating
900 AUTOCONF_INPUTS (configure).
902 2011-08-24 Simon J. Gerraty <sjg@bad.crufty.net>
904 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
905 trigger for updating Makefile.depend*
907 2011-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
909 * install-mk (MK_VERSION): bump version to 20110808
910 * obj.mk: minor cleanup
911 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
913 2011-08-01 Simon J. Gerraty <sjg@bad.crufty.net>
915 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the
918 2011-06-28 Simon J. Gerraty <sjg@bad.crufty.net>
920 * meta.autodep.mk: if XMAKE_META_FILE is set
921 the makefile uses a foreign make, and so dependencies
922 can only be gathered from a clean tree build.
924 2011-06-24 Simon J. Gerraty <sjg@bad.crufty.net>
926 * install-mk (MK_VERSION): bump version to 20110622
927 * meta.autodep.mk: improve bootstraping
929 2011-06-10 Simon J. Gerraty <sjg@bad.crufty.net>
931 * yacc.mk: handle the corner case of .c being removed
934 2011-06-08 Simon J. Gerraty <sjg@bad.crufty.net>
936 * yacc.mk: do .y.h and .y.c separately
938 2011-06-04 Simon J. Gerraty <sjg@bad.crufty.net>
940 * install-mk (MK_VERSION): bump version to 20110606
941 * don't store SRC_DIRDEPS in Makefile.depend* by default
942 not everyone needs it.
944 2011-05-04 Simon J. Gerraty <sjg@bad.crufty.net>
946 * install-mk (MK_VERSION): bump version to 20110505
947 first release including meta mode makefiles
949 2011-05-02 Simon J. Gerraty <sjg@bad.crufty.net>
951 * meta.stage.mk: add STAGE_AS_SETS and stage_as
952 for things that need to be staged with different names.
954 2011-05-01 Simon J. Gerraty <sjg@bad.crufty.net>
956 * meta.stage.mk: add notion of STAGE_SETS
957 so a makefile can stage to multiple dirs
959 2011-04-03 Simon J. Gerraty <sjg@bad.crufty.net>
961 * rst2htm.mk: convert rst to s5 (slides) or plain html depending
964 2011-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
966 * install-mk (MK_VERSION): bump version to 20110330
968 2011-03-29 Simon J. Gerraty <sjg@bad.crufty.net>
970 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
971 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
972 * sys.mk: re-define M_whence in terms of M_type.
973 M_type is useful for checking if something is a builtin.
975 2011-03-16 Simon J. Gerraty <sjg@bad.crufty.net>
977 * meta.stage.mk: add stage_symlinks and leverage StageLinks for
980 2011-03-10 Simon J. Gerraty <sjg@bad.crufty.net>
982 * dirdeps.mk: correct value for _depdir_files depends on
984 Add our copyright - just to make it clear we have frobbed this
986 DEP_MACHINE needs to be set to MACHINE each time, if using only
987 Makefile.depend (cf. Makefile.depend.${MACHINE})
989 * meta.stage.mk: meta mode version of staging
991 * init.mk, final.mk: include local.*.mk to simplify customization
993 2011-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
995 * auto.obj.mk: just because we are doing mk destroy, we should
996 still set .OBJDIR correctly if it exists.
998 * install-mk (mksrc): do not exclude meta.sys.mk
1000 2011-03-01 Simon J. Gerraty <sjg@bad.crufty.net>
1002 * host-target.mk: set/export _HOST_ARCH etc separately,
1003 catch junk resulting from uname -p, so we can find sys/Linux.mk
1006 2011-02-18 Simon J. Gerraty <sjg@bad.crufty.net>
1008 * meta.sys.mk: throw an error if /dev/filemon is missing and we
1009 expected to be updating Makefile.depend*
1011 2011-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
1013 * install-mk (MK_VERSION): bump version to 20110214
1014 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
1016 2010-09-25 Simon J. Gerraty <sjg@bad.crufty.net>
1018 * meta.sys.mk: not valid for older bmake
1020 2010-09-24 Simon J. Gerraty <sjg@bad.crufty.net>
1022 * install-mk (MK_VERSION): bump version to 20100919
1023 include dirdeps.mk et al from Juniper Networks,
1024 for meta mode - requires filemon(9).
1025 * sys.mk, subdir.mk: Add hooks for meta mode.
1026 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
1027 to make turning it on/off simple.
1029 2010-06-16 Simon J. Gerraty <sjg@bad.crufty.net>
1031 * install-mk (MK_VERSION): bump version to 20100616
1032 * fix typo in sys.mk
1034 2010-06-12 Simon J. Gerraty <sjg@bad.crufty.net>
1036 * install-mk (MK_VERSION): bump version to 20100612
1037 * lib.mk: remove duplicate addition to SOBJS
1039 2010-06-10 Simon J. Gerraty <sjg@bad.crufty.net>
1041 * sys.mk: Add a means of selectively turning on debug flags.
1042 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
1043 will act as if we did make -dv if .CURDIR ends in lib/sjg
1044 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
1045 the start of sys.mk rather than the end.
1046 This only makes sense for leaf dirs, so we check that
1049 2010-06-09 Simon J. Gerraty <sjg@bad.crufty.net>
1051 * install-mk (MK_VERSION): bump version to 20100608
1052 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
1053 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
1054 also make it easier for folk to tweak
1056 2010-06-08 Simon J. Gerraty <sjg@bad.crufty.net>
1058 * install-mk (MK_VERSION): bump version to 20100606
1059 do not install examples/*
1060 * FILES: add examples/sys.clean-env.mk
1061 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
1062 this requires bmake-20100606 or later to work.
1064 2010-05-13 Simon J. Gerraty <sjg@bad.crufty.net>
1066 * sys.mk (M_tA): better simulate the result of :tA if not available.
1068 2010-05-04 Simon J. Gerraty <sjg@bad.crufty.net>
1070 * sys.mk: canonicalize MAKE_VERSION
1071 old versions reported bmake-<src-date> build-<build-date>
1072 whereas we only care about <src-date>
1074 2010-04-25 Simon J. Gerraty <sjg@bad.crufty.net>
1076 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
1077 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION
1080 2010-04-22 Simon J. Gerraty <sjg@bad.crufty.net>
1082 * dpadd.mk: use LDADD_* if defined.
1084 2010-04-21 Simon J. Gerraty <sjg@bad.crufty.net>
1086 * install-mk (MK_VERSION): bump version to 20100420
1087 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
1088 * autoconf.mk allow AUTO_AUTOCONF
1090 2010-04-19 Simon J. Gerraty <sjg@bad.crufty.net>
1092 * obj.mk: add objwarn to keep freebsd makefiles happy
1093 * auto.obj.mk: ensure Mkdirs is available.
1094 * FILES: add auto.dep.mk - a simpler version of autodep.mk
1095 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
1097 fix/simplify the tests for when to run mkdep.
1098 * auto.dep.mk: add some explanation of how/what we do.
1099 * autodep.mk: skip the .OPTIONAL frobbing of .depend
1100 bmake's FROM_DEPEND flag makes it redundant.
1102 2010-04-13 Simon J. Gerraty <sjg@bad.crufty.net>
1104 * install-mk (MK_VERSION): bump version to 20100404
1105 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
1106 * obj.mk: protect from multiple inclusion even as bsd.obj.mk
1107 Also create a target _SUBDIRUSE so that we can be used without
1110 2010-04-12 Simon J. Gerraty <sjg@bad.crufty.net>
1112 * dep.mk: use <> when .including so can override.
1114 2010-01-11 Simon J. Gerraty <sjg@bad.crufty.net>
1116 * lib.mk (SHLIB_LINKS): ensure a string comparison.
1118 2010-01-04 Simon J. Gerraty <sjg@bad.crufty.net>
1120 * install-mk (MK_VERSION): bump version to 20100102
1121 * own.mk: ensure PRINTOBJDIR works
1122 * autoconf.mk: pass on CONFIGURE_ARGS
1123 * init.mk: handle COPTS.${.IMPSRC:T} etc.
1124 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION
1125 fix handling of symlinks for darwin
1126 * libnames.mk: add DSHLIBEXT for libs which only exist as shared.
1127 * man.mk: suppress chown when not root.
1128 * rst2htm.mk: allow srcs from multiple locations.
1129 * sys.mk: M_whence, stop after 1st line of output.
1130 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
1131 * sys/SunOS.mk: we need to export PATH
1133 2009-12-23 Simon J. Gerraty <sjg@void.crufty.net>
1135 * install-mk (MK_VERSION): bump version
1138 2009-12-17 Simon J. Gerraty <sjg@void.crufty.net>
1140 * sys.mk,libnames.mk add .-include <local.*>
1141 this allows local customization without the need to edit the
1144 2009-12-14 Simon J. Gerraty <sjg@void.crufty.net>
1146 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
1147 older versions already installed.
1149 2009-12-13 Simon J. Gerraty <sjg@void.crufty.net>
1151 * stage.mk (.stage-install): generalize lib.mk's .libinstall
1152 * rules.mk rules for generic Makefile.
1153 * inc.mk install for includes.
1155 2009-12-11 Simon J. Gerraty <sjg@void.crufty.net>
1157 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
1158 this, so provide it if using native make.
1160 2009-12-10 Simon J. Gerraty <sjg@void.crufty.net>
1162 * FILES: move all the platform *.sys.mk files to sys/*.mk
1163 * Rename Generic.sys.mk to sys.mk - we always want it.
1165 2009-11-17 Simon J. Gerraty <sjg@void.crufty.net>
1167 * install-mk (MK_VERSION): bump version
1168 * host-target.mk: only export the expensive stuff
1169 * Generic.sys.mk (sys_mk): for SunOS we need to look for
1170 ${HOST_OS}.${HOST_OSMAJOR} too!
1172 2009-11-07 Simon J. Gerraty <sjg@void.crufty.net>
1174 * install-mk (MK_VERSION): bump version
1175 * lib.mk: if sys.mk doesn't give us an lorder, don't use it.
1176 based on patch from Greg Olszewski.
1177 * Generic.sys.mk: if we have nothing to work with
1178 set LORDER etc only if we can find it.
1180 2009-09-08 Simon J. Gerraty <sjg@void.crufty.net>
1182 * install-mk (MK_VERSION): bump version
1183 * man.mk: cleanman: remove CLEANMAN if defined.
1185 2009-09-04 Simon J. Gerraty <sjg@void.crufty.net>
1187 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
1189 2009-07-17 Simon J. Gerraty <sjg@void.crufty.net>
1191 * install-mk (MK_VERSION): bump version
1195 2009-03-26 Simon J. Gerraty <sjg@void.crufty.net>
1197 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
1199 2008-11-11 Simon J. Gerraty <sjg@void.crufty.net>
1201 * install-mk (MK_VERSION): bump version
1202 man.mk: ensure we generate *.cat1 etc in .
1204 2008-07-16 Simon J. Gerraty <sjg@void.crufty.net>
1206 * install-mk (MK_VERSION): bump version
1209 2007-11-25 Simon J. Gerraty <sjg@void.crufty.net>
1211 * Generic.sys.mk: Allow os specific sys.mk to be in a
1212 subdir of ${.PARSEDIR}
1214 2007-11-22 Simon J. Gerraty <sjg@void.crufty.net>
1216 * install-mk (MK_VERSION): bump version
1218 * dpadd.mk introduce DPMAGIC_LIBS_*
1220 2007-04-30 Simon J. Gerraty <sjg@void.crufty.net>
1222 * install-mk (MK_VERSION): bump version
1224 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog
1225 depend files and ensure clean is called for each lib/prog.
1227 2007-03-27 Simon J. Gerraty <sjg@void.crufty.net>
1229 * autodep.mk (.depend): delete lines that do not start with
1230 space and do not contain ':'
1232 2007-02-16 Simon J. Gerraty <sjg@void.crufty.net>
1234 * autodep.mk (.depend): gcc may wrap lines if pathnames are long
1235 so make sure the transform for .OPTIONAL copes.
1237 2007-02-03 Simon J. Gerraty <sjg@void.crufty.net>
1239 * install-mk (MK_VERSION): bump version
1241 * own.mk: make sure RM and LN are defined.
1243 * obj.mk: fix a typo, and objlink target.
1245 2006-12-30 Simon J. Gerraty <sjg@void.crufty.net>
1247 * install-mk (MK_VERSION): bump version
1248 * added libs.mk - analogous to progs.mk
1249 make both of them always inlcude {lib,prog}.mk
1251 2006-12-28 Simon J. Gerraty <sjg@void.crufty.net>
1253 * progs.mk: add a means of building multiple apps in one dir.
1255 2006-11-26 Simon J. Gerraty <sjg@void.crufty.net>
1257 * install-mk (MK_VERSION): bump version to 20061126
1259 * warnings.mk: detect invalid WARNINGS_SET
1261 * warnings.mk: use ${.TARGET:T:R}.o when looking for target
1264 * For .cc sources, turn off warnings that g++ vomits on.
1266 2006-11-08 Simon J. Gerraty <sjg@void.crufty.net>
1268 * own.mk: if __initialized__ target doesn't exist and we are
1269 FreeBSD we got here directly from sys.mk
1271 2006-11-06 Simon J. Gerraty <sjg@void.crufty.net>
1273 * install-mk (MK_VERSION): bump version to 20061106
1276 2006-03-18 Simon J. Gerraty <sjg@void.crufty.net>
1278 * install-mk (MK_VERSION): bump version to 20060318
1280 * autodep.mk: avoid := when modifying OBJS into __dependsrcs
1282 2006-03-02 Simon J. Gerraty <sjg@void.crufty.net>
1284 * install-mk (MK_VERSION): bump version to 20060302
1285 * autodep.mk: use -MF et al to help gcc+ccache DTRT.
1287 2006-03-01 Simon J. Gerraty <sjg@void.crufty.net>
1289 * install-mk (MK_VERSION): bump version to 20060301
1290 * autodep.mk (.depend):
1291 if MAKE_VERSION is newer than 20050530 we can make .END depend on
1292 .depend and make .depend depend on __depsrcs that exist.
1293 * dpadd.mk: add SRC_PATHADD
1295 2005-11-04 Simon J. Gerraty <sjg@void.crufty.net>
1297 * install-mk (MK_VERSION): bump version to 20051104
1298 * prog.mk: remove all the LIBC?= junk, use
1299 .-include libnames.mk instead (none by default).
1300 also if USE_DPADD_MK is set, include that.
1302 2005-10-09 Simon J. Gerraty <sjg@void.crufty.net>
1304 * install-mk (MK_VERSION): bump version to 20051001
1305 Add UnixWare.sys.mk from Klaus Heinz.
1307 2005-04-05 Simon J. Gerraty <sjg@void.crufty.net>
1309 * install-mk: always install *.sys.mk and if need be symlink one
1312 2005-03-22 Simon J. Gerraty <sjg@void.crufty.net>
1314 * subdir.mk, own.mk: use .MAKE rather than MAKE
1316 2004-02-15 Simon J. Gerraty <sjg@void.crufty.net>
1318 * own.mk: don't use NetBSD's _SRC_TOP_ it can
1319 cause confusion. Also don't take just 'mk' as a
1322 2004-02-14 Simon J. Gerraty <sjg@void.crufty.net>
1324 * warnings.mk: overhauled, now very powerful.
1326 2004-02-03 Simon J. Gerraty <sjg@void.crufty.net>
1328 * Generic.sys.mk: need to use ${.PARSEDIR} with exists().
1330 2004-02-01 Simon J. Gerraty <sjg@void.crufty.net>
1332 * install-mk (MK_VERSION): bump version to 20040201
1333 * extract HOST_TARGET stuff to host-target.mk so own.mk and
1334 Generic.sys.mk can share.
1335 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
1337 2003-09-30 Simon J. Gerraty <sjg@void.crufty.net>
1339 * install-mk (MK_VERSION): 20030930
1340 * rename generic.sys.mk to Generic.sys.mk
1341 so that it does not get installed (unless being used as sys.mk)
1342 * set OS and ROOT_GROUP for those that we know the value.
1343 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
1344 we don't do it again for each sub-make.
1346 2003-09-28 Simon J. Gerraty <sjg@void.crufty.net>
1348 * install-mk (MK_VERSION): 20030928
1349 Add some extra *.sys.mk from bootstrap-pkgsrc
1350 some of these likely still need work.
1351 Make everything default to root:wheel ownership,
1352 sys.mk can set ROOT_GROUP accordingly.
1354 2003-08-07 Simon J. Gerraty <sjg@void.crufty.net>
1356 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
1357 not the portable ones.
1359 2003-07-31 Simon J. Gerraty <sjg@void.crufty.net>
1361 * install-mk: add ability to use cp -f when updating
1362 destination .mk files. Also now possible to play games with
1363 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
1364 into dest - not recommended unless you seriously want to.
1366 2003-07-28 Simon J. Gerraty <sjg@void.crufty.net>
1368 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
1369 for semi-compatability with NetBSD.
1371 2003-07-23 Simon J. Gerraty <sjg@void.crufty.net>
1373 * install-mk: add a version indicator
1375 2003-07-22 Simon J. Gerraty <sjg@void.crufty.net>
1377 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null
1379 * install-mk: Allow FORCE_SYS_MK to come from env