1 2014-05-22 Simon J. Gerraty <sjg@bad.crufty.net>
3 * install-mk (MK_VERSION): 20140522
5 * lib.mk: use CC to link shlib for linux too
6 patch from Brendan MacDonell
8 2014-05-05 Simon J. Gerraty <sjg@bad.crufty.net>
10 * meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
11 if WITH_META_STATS is defined.
13 2014-05-02 Simon J. Gerraty <sjg@bad.crufty.net>
15 * dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
16 to supress dirdeps outside of .CURDIR.
18 2014-04-05 Simon J. Gerraty <sjg@bad.crufty.net>
20 * Fix spelling errors - patch from Pedro Giffuni
22 2014-03-14 Simon J. Gerraty <sjg@bad.crufty.net>
24 * install-mk (MK_VERSION): 20140314
26 * dirdeps.mk (beforedirdeps): a handy hook
28 * dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
29 to visit leaf dirs to be intercepted (eg. for distributed
32 * dirdeps.mk (__depdirs): ensure // don't sneak in
34 * gendirdeps.mk (DIRDEPS): ensure // don't sneak in
37 2014-02-21 Simon J. Gerraty <sjg@bad.crufty.net>
39 * rst2htm.mk (RST2PDF): add support for rst2pdf
41 2014-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
43 * install-mk (MK_VERSION): bump version
44 * dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
47 2014-02-10 Simon J. Gerraty <sjg@bad.crufty.net>
49 * options.mk: avoid :U so this isn't bmake dependent
51 2014-02-09 Simon J. Gerraty <sjg@bad.crufty.net>
53 * options.mk: cleanup and simplify semanitcs
54 NO_* dominates all, if both WITH_* and WITHOUT_*
55 are defined then result is DOMINATE_* which defaults to "no".
56 Ie. WITHOUT_ normally wins.
58 2013-12-12 Simon J. Gerraty <sjg@bad.crufty.net>
60 * install-mk (MK_VERSION): bump version
61 * meta2deps.py: convert to print function for python3 compat.
62 we also need to open files with mode 'r' rather than 'rb'
63 otherwise we get bytes instead of strings.
65 2013-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
67 * install-mk (MK_VERSION): bump version
69 * dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
70 apply the same filtering (M_dep_qual_fixes) when setting _machines
72 Also fix the filtering of Makefile.depend files - for reporting
73 what we are looking for (M_dep_qual_fixes can get confused by
75 Add some more debug info.
77 2013-09-04 Simon J. Gerraty <sjg@bad.crufty.net>
79 * gendirdeps.mk (_objtops): fix typo also
80 while processing M2D_OBJROOTS to gather qualdir_list
81 qualify $ql with loop iterator to ensure correct results.
83 2013-08-01 Simon J. Gerraty <sjg@bad.crufty.net>
85 * install-mk (MK_VERSION): 20130801
86 * libs.mk: update to match progs.mk
88 2013-07-26 Simon J. Gerraty <sjg@bad.crufty.net>
90 * install-mk (MK_VERSION): 20130726
91 some updates from Juniper and FreeBSD
92 o meta2deps.py: indicate file and line number when we hit parse
94 also allow @file to provide huge list of .meta files.
95 * meta2deps.py: add try_parse() to cleanup the above.
97 2013-07-16 Simon J. Gerraty <sjg@bad.crufty.net>
99 * install-mk (MK_VERSION): 20130716
100 * own.mk: add GPROG as an option
101 * prog.mk: honor MK_GPROF==yes
103 2013-05-10 Simon J. Gerraty <sjg@bad.crufty.net>
105 * install-mk (MK_VERSION): 20130505
106 * gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
107 for when $MACHINE isn't enough for objdir distinction.
108 Bring meta2deps.sh closer to par with meta2deps.py.
110 2013-04-18 Simon J. Gerraty <sjg@bad.crufty.net>
112 * meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
113 also if the target 'beforeinstall' exists, make it depend on
114 .dirdep (incase it uses STAGE_INSTALL).
116 2013-04-17 Simon J. Gerraty <sjg@bad.crufty.net>
118 * install-mk (MK_VERSION): 20130401 ;-)
119 * meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
120 wrapper around install(1).
121 * options.mk (OPTION_PREFIX): Allow a prefix other than MK_
123 2013-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
125 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
126 * install-mk (MK_VERSION): bump version
128 2013-03-21 Simon J. Gerraty <sjg@bad.crufty.net>
130 * install-mk (MK_VERSION): bump version
131 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
132 any trailing /., rather apply :tA only when needed.
133 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
134 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
136 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
138 2013-03-18 Simon J. Gerraty <sjg@bad.crufty.net>
140 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
141 it is simpler to just not update when say building for "host"
142 (where we know we apply filters to DIRDEPS), and using a
143 non-machine qualified dependfile.
145 2013-03-16 Simon J. Gerraty <sjg@bad.crufty.net>
147 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
148 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
149 * gendirdeps.mk: ensure _objroot has trailing / if it needs it.
150 * meta2deps.py: if machine is "host", then also trim
151 self.host_target from any OBJROOTS.
154 2013-03-11 Simon J. Gerraty <sjg@bad.crufty.net>
156 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
157 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
158 but _DEPENDFILE does not, compare the new _DEPENDFILE against
159 .MAKE.DEPENDFILE_DEFAULT and discard if the same.
161 2013-03-08 Simon J. Gerraty <sjg@bad.crufty.net>
163 * meta.stage.mk: use STAGE_TARGETS to control .ORDER
164 and hook to all: via staging:
166 2013-03-07 Simon J. Gerraty <sjg@bad.crufty.net>
168 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
169 use a separate variable for the default .MAKE.DEPENDFILE value
170 so that it can be controlled independently of
171 .MAKE.DEPENDFILE_PREFERENCE
173 * meta.stage.mk: throw error if cp fails etc.
174 Stage*() return early if passed no args.
177 2013-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
179 * install-mk (MK_VERSION): bump version
180 * gendirdeps.mk: handle multiple M2D_OBJROOTS better.
182 2013-02-10 Simon J. Gerraty <sjg@bad.crufty.net>
184 * install-mk (MK_VERSION): bump version to 20130210
185 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
187 o dirdeps.mk now fully supports TARGET_SPEC consisting of more
189 o no longer use DEP_MACHINE from Makefile.depend* so remove it.
191 2013-01-23 Simon J. Gerraty <sjg@bad.crufty.net>
193 * install-mk (MK_VERSION): bump version to 20130123
194 * meta.stage.mk: add stage_links (hard links).
195 if doing hard links, we add dest to link as well.
196 Default the stage dir for [sym]links to STAGE_OBJTOP since
197 these are typically specified as absolute paths.
198 Add -m "mode" flag to StageFiles and StageAs.
200 2012-11-11 Simon J. Gerraty <sjg@bad.crufty.net>
202 * install-mk (MK_VERSION): bump version to 20121111
203 * autoconf.mk: avoid meta mode seeing changed commands for config.status
204 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
205 in case we were found via .../mk
206 * sys.clean-env.mk: move it from examples, we and others use it
208 * FILES: add srctop.mk and options.mk
209 * own.mk: convert to using options.mk
210 which is modeled after FreeBSD's handling of MK_*
212 This allows MK_* for boolean knobs to not be confused
213 with MK* which can be commands.
215 * examples/sys.clean-env.mk: add WITH[OUT]_ to
216 MAKE_ENV_SAVE_PREFIX_LIST.
217 Mention that HOME=/var/empty might be a good idea.
219 2012-11-08 Simon J. Gerraty <sjg@bad.crufty.net>
221 * sys.dependfile.mk: if not depend file exists, $MACHINE
222 specific ones are supported but not the default,
223 check if any exist and follow suit.
225 2012-11-06 Simon J. Gerraty <sjg@bad.crufty.net>
227 * install-mk (MK_VERSION): bump version to 20121106
229 2012-11-05 Simon J. Gerraty <sjg@bad.crufty.net>
231 * import latest dirdeps.mk and meta2deps.py from Juniper.
232 * progs.mk: add MAN and CXXFLAGS to PROG_VARS
233 also add PROGS_TARGETS and pass on PROG_CXX if it seems
236 2012-11-04 Simon J. Gerraty <sjg@bad.crufty.net>
238 * meta.stage.mk: update CLEANFILES
239 remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
240 * progs.mk: Add LDADD to PROG_VARS
242 2012-10-12 Simon J. Gerraty <sjg@bad.crufty.net>
244 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
245 _STAGED_DIRS so that these can be turned into filters for
248 2012-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
250 * install-mk (MK_VERSION): bump version to 20121010
251 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
252 target.dirdep matches .dirdep
254 2012-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
256 * install-mk (MK_VERSION): bump version to 20120808
257 * import latest meta2deps.py from Juniper.
259 2012-07-11 Simon J. Gerraty <sjg@bad.crufty.net>
261 * install-mk (MK_VERSION): bump version to 20120711
262 * dep.mk: add explicit dependencies on SRCS after applying
264 * meta.autodep.mk: add explicit dependencies on SRCS after
265 applying SRCS_DEP_FILTER
266 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
268 2012-06-26 Simon J. Gerraty <sjg@bad.crufty.net>
270 * install-mk (MK_VERSION): bump version to 20120626
271 * meta.sys.mk: ignore PYTHON if it does not exist
272 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
273 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
274 entries ending in .${MACHINE} to decide if qualified _dirdep is
276 * gendirdeps.mk: only produce unqualified deps if no
277 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
278 * meta.subdir.mk: apply SUBDIREPS_FILTER
280 2012-04-20 Simon J. Gerraty <sjg@bad.crufty.net>
282 * install-mk (MK_VERSION): bump version to 20120420
283 * add sys.dependfile.mk so we can experiment with
284 .MAKE.DEPENDFILE_PREFERENCE
285 * meta.autodep.mk: _DEPENDFILE is precious!
287 2012-03-15 Simon J. Gerraty <sjg@bad.crufty.net>
289 * install-mk (MK_VERSION): bump version to 20120315
290 * install-new.mk: avoid being interrupted
292 2012-02-26 Simon J. Gerraty <sjg@bad.crufty.net>
294 * man.mk: MAN might have multiple values so be careful with exists().
296 2012-01-19 Simon J. Gerraty <sjg@bad.crufty.net>
298 * install-mk (MK_VERSION): bump version to 20120112
299 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
300 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
302 2011-12-03 Simon J. Gerraty <sjg@bad.crufty.net>
304 * install-mk (MK_VERSION): bump version to 20111201
305 * import dirdeps.mk from Juniper sjg@
306 o more consistent handling of DEP_MACHINE, especially when
307 dealing with an odd Makefile.depend, when normally using
308 Makefile.depend.${MACHINE}
310 2011-11-22 Simon J. Gerraty <sjg@bad.crufty.net>
312 * install-mk (MK_VERSION): bump version to 20111122
313 * meta.autodep.mk: add some debug output, be more crisp about
314 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend
316 2011-11-13 Simon J. Gerraty <sjg@bad.crufty.net>
318 * install-mk (MK_VERSION): bump version to 20111111
319 it's too cool to miss
320 * import meta* updates from Juniper sjg@
321 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
322 normally using Makefile.depend.${MACHINE}), handy for
323 read-only manually maintained dependencies.
324 o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
325 o gendirdeps.mk if ERROR: from meta2deps.py do not update
328 2011-10-30 Simon J. Gerraty <sjg@bad.crufty.net>
330 * install-new.mk separate the cmp and copy logic to its own function.
332 2011-10-28 Simon J. Gerraty <sjg@bad.crufty.net>
334 * install-mk (MK_VERSION): bump version to 20111028
335 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
336 * subdir.mk: ensure _SUBDIRUSE is provided
337 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
338 * meta.subdir.mk: always allow for Makefile.depend
340 2011-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
342 * install-mk (MK_VERSION): bump version to 20111010
343 o minor tweak to *dirdeps.mk from Juniper sjg@
345 2011-10-01 Simon J. Gerraty <sjg@bad.crufty.net>
347 * install-mk (MK_VERSION): bump version to 20111001
348 o add meta2deps.py from Juniper sjg@
349 o tweak gendirdeps.mk to work with meta2deps.py when not
351 * autoconf.mk: add autoconf-input as a hook for regenerating
352 AUTOCONF_INPUTS (configure).
354 2011-08-24 Simon J. Gerraty <sjg@bad.crufty.net>
356 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
357 trigger for updating Makefile.depend*
359 2011-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
361 * install-mk (MK_VERSION): bump version to 20110808
362 * obj.mk: minor cleanup
363 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
365 2011-08-01 Simon J. Gerraty <sjg@bad.crufty.net>
367 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the
370 2011-06-28 Simon J. Gerraty <sjg@bad.crufty.net>
372 * meta.autodep.mk: if XMAKE_META_FILE is set
373 the makefile uses a foreign make, and so dependencies
374 can only be gathered from a clean tree build.
376 2011-06-24 Simon J. Gerraty <sjg@bad.crufty.net>
378 * install-mk (MK_VERSION): bump version to 20110622
379 * meta.autodep.mk: improve bootstraping
381 2011-06-10 Simon J. Gerraty <sjg@bad.crufty.net>
383 * yacc.mk: handle the corner case of .c being removed
386 2011-06-08 Simon J. Gerraty <sjg@bad.crufty.net>
388 * yacc.mk: do .y.h and .y.c separately
390 2011-06-04 Simon J. Gerraty <sjg@bad.crufty.net>
392 * install-mk (MK_VERSION): bump version to 20110606
393 * don't store SRC_DIRDEPS in Makefile.depend* by default
394 not everyone needs it.
396 2011-05-04 Simon J. Gerraty <sjg@bad.crufty.net>
398 * install-mk (MK_VERSION): bump version to 20110505
399 first release including meta mode makefiles
401 2011-05-02 Simon J. Gerraty <sjg@bad.crufty.net>
403 * meta.stage.mk: add STAGE_AS_SETS and stage_as
404 for things that need to be staged with different names.
406 2011-05-01 Simon J. Gerraty <sjg@bad.crufty.net>
408 * meta.stage.mk: add notion of STAGE_SETS
409 so a makefile can stage to multiple dirs
411 2011-04-03 Simon J. Gerraty <sjg@bad.crufty.net>
413 * rst2htm.mk: convert rst to s5 (slides) or plain html depending
416 2011-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
418 * install-mk (MK_VERSION): bump version to 20110330
420 2011-03-29 Simon J. Gerraty <sjg@bad.crufty.net>
422 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
423 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
424 * sys.mk: re-define M_whence in terms of M_type.
425 M_type is useful for checking if something is a builtin.
427 2011-03-16 Simon J. Gerraty <sjg@bad.crufty.net>
429 * meta.stage.mk: add stage_symlinks and leverage StageLinks for
432 2011-03-10 Simon J. Gerraty <sjg@bad.crufty.net>
434 * dirdeps.mk: correct value for _depdir_files depends on
436 Add our copyright - just to make it clear we have frobbed this
438 DEP_MACHINE needs to be set to MACHINE each time, if using only
439 Makefile.depend (cf. Makefile.depend.${MACHINE})
441 * meta.stage.mk: meta mode version of staging
443 * init.mk, final.mk: include local.*.mk to simplify customization
445 2011-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
447 * auto.obj.mk: just because we are doing mk destroy, we should
448 still set .OBJDIR correctly if it exists.
450 * install-mk (mksrc): do not exclude meta.sys.mk
452 2011-03-01 Simon J. Gerraty <sjg@bad.crufty.net>
454 * host-target.mk: set/export _HOST_ARCH etc separately,
455 catch junk resulting from uname -p, so we can find sys/Linux.mk
458 2011-02-18 Simon J. Gerraty <sjg@bad.crufty.net>
460 * meta.sys.mk: throw an error if /dev/filemon is missing and we
461 expected to be updating Makefile.depend*
463 2011-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
465 * install-mk (MK_VERSION): bump version to 20110214
466 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
468 2010-09-25 Simon J. Gerraty <sjg@bad.crufty.net>
470 * meta.sys.mk: not valid for older bmake
472 2010-09-24 Simon J. Gerraty <sjg@bad.crufty.net>
474 * install-mk (MK_VERSION): bump version to 20100919
475 include dirdeps.mk et al from Juniper Networks,
476 for meta mode - requires filemon(9).
477 * sys.mk, subdir.mk: Add hooks for meta mode.
478 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
479 to make turning it on/off simple.
481 2010-06-16 Simon J. Gerraty <sjg@bad.crufty.net>
483 * install-mk (MK_VERSION): bump version to 20100616
486 2010-06-12 Simon J. Gerraty <sjg@bad.crufty.net>
488 * install-mk (MK_VERSION): bump version to 20100612
489 * lib.mk: remove duplicate addition to SOBJS
491 2010-06-10 Simon J. Gerraty <sjg@bad.crufty.net>
493 * sys.mk: Add a means of selectively turning on debug flags.
494 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
495 will act as if we did make -dv if .CURDIR ends in lib/sjg
496 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
497 the start of sys.mk rather than the end.
498 This only makes sense for leaf dirs, so we check that
501 2010-06-09 Simon J. Gerraty <sjg@bad.crufty.net>
503 * install-mk (MK_VERSION): bump version to 20100608
504 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
505 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
506 also make it easier for folk to tweak
508 2010-06-08 Simon J. Gerraty <sjg@bad.crufty.net>
510 * install-mk (MK_VERSION): bump version to 20100606
511 do not install examples/*
512 * FILES: add examples/sys.clean-env.mk
513 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
514 this requires bmake-20100606 or later to work.
516 2010-05-13 Simon J. Gerraty <sjg@bad.crufty.net>
518 * sys.mk (M_tA): better simulate the result of :tA if not available.
520 2010-05-04 Simon J. Gerraty <sjg@bad.crufty.net>
522 * sys.mk: canonicalize MAKE_VERSION
523 old versions reported bmake-<src-date> build-<build-date>
524 whereas we only care about <src-date>
526 2010-04-25 Simon J. Gerraty <sjg@bad.crufty.net>
528 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
529 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION
532 2010-04-22 Simon J. Gerraty <sjg@bad.crufty.net>
534 * dpadd.mk: use LDADD_* if defined.
536 2010-04-21 Simon J. Gerraty <sjg@bad.crufty.net>
538 * install-mk (MK_VERSION): bump version to 20100420
539 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
540 * autoconf.mk allow AUTO_AUTOCONF
542 2010-04-19 Simon J. Gerraty <sjg@bad.crufty.net>
544 * obj.mk: add objwarn to keep freebsd makefiles happy
545 * auto.obj.mk: ensure Mkdirs is available.
546 * FILES: add auto.dep.mk - a simpler version of autodep.mk
547 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
549 fix/simplify the tests for when to run mkdep.
550 * auto.dep.mk: add some explanation of how/what we do.
551 * autodep.mk: skip the .OPTIONAL frobbing of .depend
552 bmake's FROM_DEPEND flag makes it redundant.
554 2010-04-13 Simon J. Gerraty <sjg@bad.crufty.net>
556 * install-mk (MK_VERSION): bump version to 20100404
557 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
558 * obj.mk: protect from multiple inclusion even as bsd.obj.mk
559 Also create a target _SUBDIRUSE so that we can be used without
562 2010-04-12 Simon J. Gerraty <sjg@bad.crufty.net>
564 * dep.mk: use <> when .including so can override.
566 2010-01-11 Simon J. Gerraty <sjg@bad.crufty.net>
568 * lib.mk (SHLIB_LINKS): ensure a string comparison.
570 2010-01-04 Simon J. Gerraty <sjg@bad.crufty.net>
572 * install-mk (MK_VERSION): bump version to 20100102
573 * own.mk: ensure PRINTOBJDIR works
574 * autoconf.mk: pass on CONFIGURE_ARGS
575 * init.mk: handle COPTS.${.IMPSRC:T} etc.
576 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION
577 fix handling of symlinks for darwin
578 * libnames.mk: add DSHLIBEXT for libs which only exist as shared.
579 * man.mk: suppress chown when not root.
580 * rst2htm.mk: allow srcs from multiple locations.
581 * sys.mk: M_whence, stop after 1st line of output.
582 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
583 * sys/SunOS.mk: we need to export PATH
585 2009-12-23 Simon J. Gerraty <sjg@void.crufty.net>
587 * install-mk (MK_VERSION): bump version
590 2009-12-17 Simon J. Gerraty <sjg@void.crufty.net>
592 * sys.mk,libnames.mk add .-include <local.*>
593 this allows local customization without the need to edit the
596 2009-12-14 Simon J. Gerraty <sjg@void.crufty.net>
598 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
599 older versions already installed.
601 2009-12-13 Simon J. Gerraty <sjg@void.crufty.net>
603 * stage.mk (.stage-install): generalize lib.mk's .libinstall
604 * rules.mk rules for generic Makefile.
605 * inc.mk install for includes.
607 2009-12-11 Simon J. Gerraty <sjg@void.crufty.net>
609 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
610 this, so provide it if using native make.
612 2009-12-10 Simon J. Gerraty <sjg@void.crufty.net>
614 * FILES: move all the platform *.sys.mk files to sys/*.mk
615 * Rename Generic.sys.mk to sys.mk - we always want it.
617 2009-11-17 Simon J. Gerraty <sjg@void.crufty.net>
619 * install-mk (MK_VERSION): bump version
620 * host-target.mk: only export the expensive stuff
621 * Generic.sys.mk (sys_mk): for SunOS we need to look for
622 ${HOST_OS}.${HOST_OSMAJOR} too!
624 2009-11-07 Simon J. Gerraty <sjg@void.crufty.net>
626 * install-mk (MK_VERSION): bump version
627 * lib.mk: if sys.mk doesn't give us an lorder, don't use it.
628 based on patch from Greg Olszewski.
629 * Generic.sys.mk: if we have nothing to work with
630 set LORDER etc only if we can find it.
632 2009-09-08 Simon J. Gerraty <sjg@void.crufty.net>
634 * install-mk (MK_VERSION): bump version
635 * man.mk: cleanman: remove CLEANMAN if defined.
637 2009-09-04 Simon J. Gerraty <sjg@void.crufty.net>
639 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
641 2009-07-17 Simon J. Gerraty <sjg@void.crufty.net>
643 * install-mk (MK_VERSION): bump version
647 2009-03-26 Simon J. Gerraty <sjg@void.crufty.net>
649 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
651 2008-11-11 Simon J. Gerraty <sjg@void.crufty.net>
653 * install-mk (MK_VERSION): bump version
654 man.mk: ensure we generate *.cat1 etc in .
656 2008-07-16 Simon J. Gerraty <sjg@void.crufty.net>
658 * install-mk (MK_VERSION): bump version
661 2007-11-25 Simon J. Gerraty <sjg@void.crufty.net>
663 * Generic.sys.mk: Allow os specific sys.mk to be in a
664 subdir of ${.PARSEDIR}
666 2007-11-22 Simon J. Gerraty <sjg@void.crufty.net>
668 * install-mk (MK_VERSION): bump version
670 * dpadd.mk introduce DPMAGIC_LIBS_*
672 2007-04-30 Simon J. Gerraty <sjg@void.crufty.net>
674 * install-mk (MK_VERSION): bump version
676 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog
677 depend files and ensure clean is called for each lib/prog.
679 2007-03-27 Simon J. Gerraty <sjg@void.crufty.net>
681 * autodep.mk (.depend): delete lines that do not start with
682 space and do not contain ':'
684 2007-02-16 Simon J. Gerraty <sjg@void.crufty.net>
686 * autodep.mk (.depend): gcc may wrap lines if pathnames are long
687 so make sure the transform for .OPTIONAL copes.
689 2007-02-03 Simon J. Gerraty <sjg@void.crufty.net>
691 * install-mk (MK_VERSION): bump version
693 * own.mk: make sure RM and LN are defined.
695 * obj.mk: fix a typo, and objlink target.
697 2006-12-30 Simon J. Gerraty <sjg@void.crufty.net>
699 * install-mk (MK_VERSION): bump version
700 * added libs.mk - analogous to progs.mk
701 make both of them always inlcude {lib,prog}.mk
703 2006-12-28 Simon J. Gerraty <sjg@void.crufty.net>
705 * progs.mk: add a means of building multiple apps in one dir.
707 2006-11-26 Simon J. Gerraty <sjg@void.crufty.net>
709 * install-mk (MK_VERSION): bump version to 20061126
711 * warnings.mk: detect invalid WARNINGS_SET
713 * warnings.mk: use ${.TARGET:T:R}.o when looking for target
716 * For .cc sources, turn off warnings that g++ vomits on.
718 2006-11-08 Simon J. Gerraty <sjg@void.crufty.net>
720 * own.mk: if __initialized__ target doesn't exist and we are
721 FreeBSD we got here directly from sys.mk
723 2006-11-06 Simon J. Gerraty <sjg@void.crufty.net>
725 * install-mk (MK_VERSION): bump version to 20061106
728 2006-03-18 Simon J. Gerraty <sjg@void.crufty.net>
730 * install-mk (MK_VERSION): bump version to 20060318
732 * autodep.mk: avoid := when modifying OBJS into __dependsrcs
734 2006-03-02 Simon J. Gerraty <sjg@void.crufty.net>
736 * install-mk (MK_VERSION): bump version to 20060302
737 * autodep.mk: use -MF et al to help gcc+ccache DTRT.
739 2006-03-01 Simon J. Gerraty <sjg@void.crufty.net>
741 * install-mk (MK_VERSION): bump version to 20060301
742 * autodep.mk (.depend):
743 if MAKE_VERSION is newer than 20050530 we can make .END depend on
744 .depend and make .depend depend on __depsrcs that exist.
745 * dpadd.mk: add SRC_PATHADD
747 2005-11-04 Simon J. Gerraty <sjg@void.crufty.net>
749 * install-mk (MK_VERSION): bump version to 20051104
750 * prog.mk: remove all the LIBC?= junk, use
751 .-include libnames.mk instead (none by default).
752 also if USE_DPADD_MK is set, include that.
754 2005-10-09 Simon J. Gerraty <sjg@void.crufty.net>
756 * install-mk (MK_VERSION): bump version to 20051001
757 Add UnixWare.sys.mk from Klaus Heinz.
759 2005-04-05 Simon J. Gerraty <sjg@void.crufty.net>
761 * install-mk: always install *.sys.mk and if need be symlink one
764 2005-03-22 Simon J. Gerraty <sjg@void.crufty.net>
766 * subdir.mk, own.mk: use .MAKE rather than MAKE
768 2004-02-15 Simon J. Gerraty <sjg@void.crufty.net>
770 * own.mk: don't use NetBSD's _SRC_TOP_ it can
771 cause confusion. Also don't take just 'mk' as a
774 2004-02-14 Simon J. Gerraty <sjg@void.crufty.net>
776 * warnings.mk: overhauled, now very powerful.
778 2004-02-03 Simon J. Gerraty <sjg@void.crufty.net>
780 * Generic.sys.mk: need to use ${.PARSEDIR} with exists().
782 2004-02-01 Simon J. Gerraty <sjg@void.crufty.net>
784 * install-mk (MK_VERSION): bump version to 20040201
785 * extract HOST_TARGET stuff to host-target.mk so own.mk and
786 Generic.sys.mk can share.
787 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
789 2003-09-30 Simon J. Gerraty <sjg@void.crufty.net>
791 * install-mk (MK_VERSION): 20030930
792 * rename generic.sys.mk to Generic.sys.mk
793 so that it does not get installed (unless being used as sys.mk)
794 * set OS and ROOT_GROUP for those that we know the value.
795 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
796 we don't do it again for each sub-make.
798 2003-09-28 Simon J. Gerraty <sjg@void.crufty.net>
800 * install-mk (MK_VERSION): 20030928
801 Add some extra *.sys.mk from bootstrap-pkgsrc
802 some of these likely still need work.
803 Make everything default to root:wheel ownership,
804 sys.mk can set ROOT_GROUP accordingly.
806 2003-08-07 Simon J. Gerraty <sjg@void.crufty.net>
808 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
809 not the portable ones.
811 2003-07-31 Simon J. Gerraty <sjg@void.crufty.net>
813 * install-mk: add ability to use cp -f when updating
814 destination .mk files. Also now possible to play games with
815 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
816 into dest - not recommended unless you seriously want to.
818 2003-07-28 Simon J. Gerraty <sjg@void.crufty.net>
820 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
821 for semi-compatability with NetBSD.
823 2003-07-23 Simon J. Gerraty <sjg@void.crufty.net>
825 * install-mk: add a version indicator
827 2003-07-22 Simon J. Gerraty <sjg@void.crufty.net>
829 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null
831 * install-mk: Allow FORCE_SYS_MK to come from env