xref: /freebsd/contrib/bmake/mk/ChangeLog (revision 98e0ffaefb0f241cda3a72395d3be04192ae0d47)
12015-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
2
3	* install-mk (MK_VERSION): 20150430
4
5	* dirdeps.mk: fix _count_dirdeps for non-cache case.
6
72015-04-16  Simon J. Gerraty  <sjg@bad.crufty.net>
8
9	* install-mk (MK_VERSION): 20150411
10	  bump version
11
12	* own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
13	  it is here mainly for documentation purposes, since
14	  if using auto.obj.mk it is better done via sys.mk
15
162015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
17
18	* install-mk (MK_VERSION): 20150401
19
20	* meta2deps.sh: support @list
21
22	* meta2deps.py: updates from Juniper
23	  o add EXCLUDES
24	  o skip bogus input files.
25	  o treat 'M' and 'L' as both an 'R' and a 'W'
26
272015-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
28
29	* install-mk (MK_VERSION): 20150303
30
31	* dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
32	  which is built via sub-make so we have a .meta file to tell if
33	  it is out-of-date.
34	  The dirdeps-cache contains the same dependency rules that we
35	  normaly construct on the fly.
36	  This adds a few seconds overhead when the cache is out of date,
37	  but for a large target, the savings can be significant (10-20min).
38
392014-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
40
41	* install-mk (MK_VERSION): 20141118
42
43	* meta.stage.mk: add stale_staged
44
45	* dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
46	  only useful under very rare conditions such as
47	  FreeBSD's make universe.
48
49	* auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
50
512014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
52
53	* install-mk (MK_VERSION): 20141111
54
55	* mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
56
572014-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
58
59	* FILES: include mkopt.sh which allows handling options in shell
60	  scripts in a manner compatible with options.mk
61
622014-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
63
64	* meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
65	  for GENDIRDEPS_FILTER to avoid surprises.
66
672014-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
68
69	* dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
70	  the time it is applied to __depdirs they have.
71
72	* dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
73	  expects patterns like *.${MACHINE}
74
75	* cython.mk (pyprefix?): use pyprefix to find python bits
76	  since prefix might be something else (where we install our
77	  stuff)
78
792014-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
80
81	* install-mk (MK_VERSION): 20140911
82
83	* dirdeps.mk: add bootstrap target to simplify adding support for
84	  new MACHINE.
85
862014-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
87
88	* gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
89	  GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
90	  Makefile.depend files.
91
922014-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
93
94	* install-mk (MK_VERSION): 20140828
95
96	* cython.mk: capture logic for building python extension modules
97	  with Cython.
98
992014-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
100
101	* meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
102
1032014-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
104
105	* install-mk (MK_VERSION): 20140801
106
107	* dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
108	identify the autodep.mk variant.
109
110	* sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
111	initial value does not match .MAKE.DEPENDFILE_PREFIX
112
113	* meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
114
1152014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
116
117	* install-mk (MK_VERSION): 20140522
118
119	* lib.mk: use CC to link shlib for linux too
120	  patch from Brendan MacDonell
121
1222014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
123
124	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
125	  if WITH_META_STATS is defined.
126
1272014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
128
129	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
130	  to supress dirdeps outside of .CURDIR.
131
1322014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
133
134	* Fix spelling errors - patch from Pedro Giffuni
135
1362014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>
137
138	* install-mk (MK_VERSION): 20140314
139
140	* dirdeps.mk (beforedirdeps): a handy hook
141
142	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
143	  to visit leaf dirs to be intercepted (eg. for distributed
144	  build).
145
146	* dirdeps.mk (__depdirs): ensure // don't sneak in
147
148	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in
149
150
1512014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>
152
153	* rst2htm.mk (RST2PDF): add support for rst2pdf
154
1552014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
156
157	* install-mk (MK_VERSION): bump version
158	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
159	  available.
160
1612014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
162
163	* options.mk: avoid :U so this isn't bmake dependent
164
1652014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>
166
167	* options.mk: cleanup and simplify semanitcs
168	  NO_* dominates all, if both WITH_* and WITHOUT_*
169	  are defined then result is DOMINATE_* which defaults to "no".
170	  Ie. WITHOUT_ normally wins.
171
1722013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
173
174	* install-mk (MK_VERSION): bump version
175	* meta2deps.py: convert to print function for python3 compat.
176	  we also need to open files with mode 'r' rather than 'rb'
177	  otherwise we get bytes instead of strings.
178
1792013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
180
181	* install-mk (MK_VERSION): bump version
182
183	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
184	  apply the same filtering (M_dep_qual_fixes) when setting _machines
185	  as _build_dirs.
186	  Also fix the filtering of Makefile.depend files - for reporting
187	  what we are looking for (M_dep_qual_fixes can get confused by
188	  Makefile.depend)
189	  Add some more debug info.
190
1912013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
192
193	* gendirdeps.mk (_objtops): fix typo also
194	  while processing M2D_OBJROOTS to gather qualdir_list
195	  qualify $ql with loop iterator to ensure correct results.
196
1972013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
198
199	* install-mk (MK_VERSION): 20130801
200	* libs.mk: update to match progs.mk
201
2022013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>
203
204	* install-mk (MK_VERSION): 20130726
205	  some updates from Juniper and FreeBSD
206	  o meta2deps.py: indicate file and line number when we hit parse
207	    errors
208	    also allow @file to provide huge list of .meta files.
209	* meta2deps.py: add try_parse() to cleanup the above.
210
2112013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
212
213	* install-mk (MK_VERSION): 20130716
214	* own.mk: add GPROG as an option
215	* prog.mk: honor MK_GPROF==yes
216
2172013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
218
219	* install-mk (MK_VERSION): 20130505
220	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
221	  for when $MACHINE isn't enough for objdir distinction.
222	  Bring meta2deps.sh closer to par with meta2deps.py.
223
2242013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
225
226	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
227	  also if the target 'beforeinstall' exists, make it depend on
228	  .dirdep (incase it uses STAGE_INSTALL).
229
2302013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
231
232	* install-mk (MK_VERSION): 20130401 ;-)
233	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
234	  wrapper around install(1).
235	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
236
2372013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
238
239	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
240	* install-mk (MK_VERSION): bump version
241
2422013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>
243
244	* install-mk (MK_VERSION): bump version
245	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
246	  any trailing /., rather apply :tA only when needed.
247	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
248	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
249	  consistently.
250	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
251
2522013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
253
254	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
255	  it is simpler to just not update when say building for "host"
256	  (where we know we apply filters to DIRDEPS), and using a
257	  non-machine qualified dependfile.
258
2592013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
260
261	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
262	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
263	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
264	* meta2deps.py: if machine is "host", then also trim
265	  self.host_target from any OBJROOTS.
266
267
2682013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
269
270	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
271	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
272	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
273	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.
274
2752013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>
276
277	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
278	  and hook to all: via staging:
279
2802013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
281
282	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
283	  use a separate variable for the default .MAKE.DEPENDFILE value
284	  so that it can be controlled independently of
285	  .MAKE.DEPENDFILE_PREFERENCE
286
287	* meta.stage.mk: throw error if cp fails etc.
288	  Stage*() return early if passed no args.
289	  .ORDER stage_*
290
2912013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
292
293	* install-mk (MK_VERSION): bump version
294	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
295
2962013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
297
298	* install-mk (MK_VERSION): bump version to 20130210
299	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
300	  from Juniper.
301	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
302	    than just MACHINE.
303	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.
304
3052013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>
306
307	* install-mk (MK_VERSION): bump version to 20130123
308	* meta.stage.mk: add stage_links (hard links).
309	  if doing hard links, we add dest to link as well.
310	  Default the stage dir for [sym]links to STAGE_OBJTOP since
311	  these are typically specified as absolute paths.
312	  Add -m "mode" flag to StageFiles and StageAs.
313
3142012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
315
316	* install-mk (MK_VERSION): bump version to 20121111
317	* autoconf.mk: avoid meta mode seeing changed commands for config.status
318	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
319	  in case we were found via .../mk
320	* sys.clean-env.mk: move it from examples, we and others use it
321	  "as is".
322	* FILES: add srctop.mk and options.mk
323	* own.mk: convert to using options.mk
324	  which is modeled after FreeBSD's handling of MK_*
325	  but more flexible.
326	  This allows MK_* for boolean knobs to not be confused
327	  with MK* which can be commands.
328
329	* examples/sys.clean-env.mk: add WITH[OUT]_ to
330	  MAKE_ENV_SAVE_PREFIX_LIST.
331	  Mention that HOME=/var/empty might be a good idea.
332
3332012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>
334
335	* sys.dependfile.mk: if not depend file exists, $MACHINE
336	  specific ones are supported but not the default,
337	  check if any exist and follow suit.
338
3392012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>
340
341	* install-mk (MK_VERSION): bump version to 20121106
342
3432012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
344
345	* import latest dirdeps.mk and meta2deps.py from Juniper.
346	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
347	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
348	  appropriate.
349
3502012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>
351
352	* meta.stage.mk: update CLEANFILES
353	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
354	* progs.mk: Add LDADD to PROG_VARS
355
3562012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
357
358	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
359	  _STAGED_DIRS so that these can be turned into filters for
360	  GENDIRDEPS_FILTER.
361
3622012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
363
364	* install-mk (MK_VERSION): bump version to 20121010
365	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
366	target.dirdep matches .dirdep
367
3682012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
369
370	* install-mk (MK_VERSION): bump version to 20120808
371	* import latest meta2deps.py from Juniper.
372
3732012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
374
375	* install-mk (MK_VERSION): bump version to 20120711
376	* dep.mk: add explicit dependencies on SRCS after applying
377	  SRCS_DEP_FILTER
378	* meta.autodep.mk: add explicit dependencies on SRCS after
379	  applying SRCS_DEP_FILTER
380	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
381
3822012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
383
384	* install-mk (MK_VERSION): bump version to 20120626
385	* meta.sys.mk: ignore PYTHON if it does not exist
386	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
387	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
388	  entries ending in .${MACHINE} to decide if qualified _dirdep is
389	  needed.
390	* gendirdeps.mk: only produce unqualified deps if no
391	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
392	* meta.subdir.mk: apply SUBDIREPS_FILTER
393
3942012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
395
396	* install-mk (MK_VERSION): bump version to 20120420
397	* add sys.dependfile.mk so we can experiment with
398	  .MAKE.DEPENDFILE_PREFERENCE
399	* meta.autodep.mk: _DEPENDFILE is precious!
400
4012012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
402
403	* install-mk (MK_VERSION): bump version to 20120315
404	* install-new.mk: avoid being interrupted
405
4062012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
407
408	* man.mk: MAN might have multiple values so be careful with exists().
409
4102012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>
411
412	* install-mk (MK_VERSION): bump version to 20120112
413	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
414	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
415
4162011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>
417
418	* install-mk (MK_VERSION):  bump version to 20111201
419	* import dirdeps.mk from Juniper sjg@
420	  o more consistent handling of DEP_MACHINE, especially when
421	    dealing with an odd Makefile.depend, when normally using
422	    Makefile.depend.${MACHINE}
423
4242011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>
425
426	* install-mk (MK_VERSION): bump version to 20111122
427	* meta.autodep.mk: add some debug output, be more crisp about
428	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend
429
4302011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
431
432	* install-mk (MK_VERSION): bump version to 20111111
433	  it's too cool to miss
434	* import meta* updates from Juniper sjg@
435	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
436	    normally using Makefile.depend.${MACHINE}), handy for
437	    read-only manually maintained dependencies.
438	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
439	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
440	    anything.
441
4422011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>
443
444	* install-new.mk separate the cmp and copy logic to its own function.
445
4462011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
447
448	* install-mk (MK_VERSION): bump version to 20111028
449	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
450	* subdir.mk: ensure _SUBDIRUSE is provided
451	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
452	* meta.subdir.mk: always allow for Makefile.depend
453
4542011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
455
456	* install-mk (MK_VERSION): bump version to 20111010
457	  o minor tweak to *dirdeps.mk from Juniper sjg@
458
4592011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
460
461	* install-mk (MK_VERSION): bump version to 20111001
462	  o add meta2deps.py from Juniper sjg@
463	  o tweak gendirdeps.mk to work with meta2deps.py when not
464	    cross-building
465	* autoconf.mk: add autoconf-input as a hook for regenerating
466	  AUTOCONF_INPUTS (configure).
467
4682011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>
469
470	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
471	  trigger for updating Makefile.depend*
472
4732011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
474
475	* install-mk (MK_VERSION): bump version to 20110808
476	* obj.mk: minor cleanup
477	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
478
4792011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
480
481	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
482	  specified dir.
483
4842011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
485
486	* meta.autodep.mk: if XMAKE_META_FILE is set
487	  the makefile uses a foreign make, and so dependencies
488	  can only be gathered from a clean tree build.
489
4902011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>
491
492	* install-mk (MK_VERSION): bump version to 20110622
493	* meta.autodep.mk: improve bootstraping
494
4952011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
496
497	* yacc.mk: handle the corner case of .c being removed
498	  while .h remains.
499
5002011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
501
502	* yacc.mk: do .y.h and .y.c separately
503
5042011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
505
506	* install-mk (MK_VERSION): bump version to 20110606
507	* don't store SRC_DIRDEPS in Makefile.depend* by default
508	  not everyone needs it.
509
5102011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
511
512	* install-mk (MK_VERSION): bump version to 20110505
513	  first release including meta mode makefiles
514
5152011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
516
517	* meta.stage.mk: add STAGE_AS_SETS and stage_as
518	  for things that need to be staged with different names.
519
5202011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
521
522	* meta.stage.mk: add notion of STAGE_SETS
523	  so a makefile can stage to multiple dirs
524
5252011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>
526
527	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
528	  on target name.
529
5302011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
531
532	* install-mk (MK_VERSION): bump version to 20110330
533
5342011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
535
536	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
537	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
538	* sys.mk: re-define M_whence in terms of M_type.
539	  M_type is useful for checking if something is a builtin.
540
5412011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
542
543	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
544	  stage_libs
545
5462011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
547
548	* dirdeps.mk: correct value for _depdir_files depends on
549	  .MAKE.DEPENDFILE
550	  Add our copyright - just to make it clear we have frobbed this
551	  quite a bit.
552	  DEP_MACHINE needs to be set to MACHINE each time, if using only
553	  Makefile.depend (cf. Makefile.depend.${MACHINE})
554
555	* meta.stage.mk: meta mode version of staging
556
557	* init.mk, final.mk: include local.*.mk to simplify customization
558
5592011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
560
561	* auto.obj.mk: just because we are doing mk destroy, we should
562	  still set .OBJDIR correctly if it exists.
563
564	* install-mk (mksrc): do not exclude meta.sys.mk
565
5662011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
567
568	* host-target.mk: set/export _HOST_ARCH etc separately,
569	  catch junk resulting from uname -p, so we can find sys/Linux.mk
570	  correctly.
571
5722011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
573
574	* meta.sys.mk: throw an error if /dev/filemon is missing and we
575	  expected to be updating Makefile.depend*
576
5772011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
578
579	* install-mk (MK_VERSION): bump version to 20110214
580	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
581
5822010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>
583
584	* meta.sys.mk: not valid for older bmake
585
5862010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>
587
588	* install-mk (MK_VERSION): bump version to 20100919
589	include dirdeps.mk et al from Juniper Networks,
590	for meta mode - requires filemon(9).
591	* sys.mk, subdir.mk: Add hooks for meta mode.
592	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
593	to make turning it on/off simple.
594
5952010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
596
597	* install-mk (MK_VERSION): bump version to 20100616
598	* fix typo in sys.mk
599
6002010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>
601
602	* install-mk (MK_VERSION): bump version to 20100612
603	* lib.mk: remove duplicate addition to SOBJS
604
6052010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
606
607	* sys.mk: Add a means of selectively turning on debug flags.
608	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
609	  will act as if we did make -dv if .CURDIR ends in lib/sjg
610	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
611	  the start of sys.mk rather than the end.
612	  This only makes sense for leaf dirs, so we check that
613	  .MAKE.LEVEL > 0
614
6152010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>
616
617	* install-mk (MK_VERSION): bump version to 20100608
618	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
619	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
620	  also make it easier for folk to tweak
621
6222010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
623
624	* install-mk (MK_VERSION): bump version to 20100606
625	  do not install examples/*
626	* FILES: add examples/sys.clean-env.mk
627	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
628	  this requires bmake-20100606 or later to work.
629
6302010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>
631
632	* sys.mk (M_tA): better simulate the result of :tA if not available.
633
6342010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
635
636	* sys.mk: canonicalize MAKE_VERSION
637	  old versions reported bmake-<src-date> build-<build-date>
638	  whereas we only care about <src-date>
639
6402010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>
641
642	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
643	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
644	  is !empty
645
6462010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
647
648	* dpadd.mk: use LDADD_* if defined.
649
6502010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
651
652	* install-mk (MK_VERSION): bump version to 20100420
653	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
654	* autoconf.mk allow AUTO_AUTOCONF
655
6562010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>
657
658	* obj.mk: add objwarn to keep freebsd makefiles happy
659	* auto.obj.mk: ensure Mkdirs is available.
660	* FILES: add auto.dep.mk - a simpler version of autodep.mk
661	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
662	  asked to do that.
663	  fix/simplify the tests for when to run mkdep.
664	* auto.dep.mk: add some explanation of how/what we do.
665	* autodep.mk: skip the .OPTIONAL frobbing of .depend
666	  bmake's FROM_DEPEND flag makes it redundant.
667
6682010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
669
670	* install-mk (MK_VERSION): bump version to 20100404
671	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
672	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
673	Also create a target _SUBDIRUSE so that we can  be used without
674	subdir.mk
675
6762010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>
677
678	* dep.mk: use <> when .including so can override.
679
6802010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>
681
682	* lib.mk (SHLIB_LINKS): ensure a string comparison.
683
6842010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
685
686	* install-mk (MK_VERSION): bump version to 20100102
687	* own.mk: ensure PRINTOBJDIR works
688	* autoconf.mk: pass on CONFIGURE_ARGS
689	* init.mk: handle COPTS.${.IMPSRC:T} etc.
690	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
691	  fix handling of symlinks for darwin
692	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
693	* man.mk: suppress chown when not root.
694	* rst2htm.mk: allow srcs from multiple locations.
695	* sys.mk: M_whence, stop after 1st line of output.
696	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
697	* sys/SunOS.mk: we need to export PATH
698
6992009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>
700
701	* install-mk (MK_VERSION): bump version
702	  include rst2htm.mk
703
7042009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>
705
706	* sys.mk,libnames.mk add .-include <local.*>
707	  this allows local customization without the need to edit the
708	  distributed files.
709
7102009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>
711
712	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
713	  older versions already installed.
714
7152009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>
716
717	* stage.mk (.stage-install): generalize lib.mk's .libinstall
718	* rules.mk rules for generic Makefile.
719	* inc.mk install for includes.
720
7212009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>
722
723	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
724	  this, so provide it if using native make.
725
7262009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>
727
728	* FILES: move all the platform *.sys.mk files to sys/*.mk
729	* Rename Generic.sys.mk to sys.mk - we always want it.
730
7312009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>
732
733	* install-mk (MK_VERSION): bump version
734	* host-target.mk: only export the expensive stuff
735	* Generic.sys.mk (sys_mk): for SunOS we need to look for
736	  ${HOST_OS}.${HOST_OSMAJOR} too!
737
7382009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>
739
740	* install-mk (MK_VERSION): bump version
741	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
742	  based on patch from Greg Olszewski.
743	* Generic.sys.mk: if we have nothing to work with
744	set LORDER etc only if we can find it.
745
7462009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
747
748	* install-mk (MK_VERSION): bump version
749	* man.mk: cleanman: remove CLEANMAN if defined.
750
7512009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>
752
753	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
754
7552009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>
756
757	* install-mk (MK_VERSION): bump version
758	include auto.obj.mk
759
760
7612009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
762
763	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
764
7652008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
766
767	* install-mk (MK_VERSION): bump version
768	man.mk: ensure we generate *.cat1 etc in .
769
7702008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>
771
772	* install-mk (MK_VERSION): bump version
773	add prlist.mk
774
7752007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
776
777	* Generic.sys.mk: Allow os specific sys.mk to be in a
778	subdir of ${.PARSEDIR}
779
7802007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>
781
782	* install-mk (MK_VERSION): bump version
783	* general cleanup
784	* dpadd.mk introduce DPMAGIC_LIBS_*
785
7862007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>
787
788	* install-mk (MK_VERSION): bump version
789
790	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
791	depend files and ensure clean is called for each lib/prog.
792
7932007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>
794
795	* autodep.mk (.depend): delete lines that do not start with
796	space and do not contain ':'
797
7982007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>
799
800	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
801	so make sure the transform for .OPTIONAL copes.
802
8032007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
804
805	* install-mk (MK_VERSION): bump version
806
807	* own.mk: make sure RM and LN are defined.
808
809	* obj.mk: fix a typo, and objlink target.
810
8112006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>
812
813	* install-mk (MK_VERSION): bump version
814	* added libs.mk - analogous to progs.mk
815	  make both of them always inlcude {lib,prog}.mk
816
8172006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>
818
819	* progs.mk: add a means of building multiple apps in one dir.
820
8212006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
822
823	* install-mk (MK_VERSION): bump version to 20061126
824
825	* warnings.mk: detect invalid WARNINGS_SET
826
827	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
828	specific warnings.
829
830	* For .cc sources, turn off warnings that g++ vomits on.
831
8322006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>
833
834	* own.mk: if __initialized__ target doesn't exist and we are
835	FreeBSD we got here directly from sys.mk
836
8372006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>
838
839	* install-mk (MK_VERSION): bump version to 20061106
840	add scripts.mk
841
8422006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
843
844	* install-mk (MK_VERSION): bump version to 20060318
845
846	* autodep.mk: avoid := when modifying OBJS into __dependsrcs
847
8482006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>
849
850	* install-mk (MK_VERSION): bump version to 20060302
851	* autodep.mk: use -MF et al to help gcc+ccache DTRT.
852
8532006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
854
855	* install-mk (MK_VERSION): bump version to 20060301
856	* autodep.mk (.depend):
857	if MAKE_VERSION is newer than  20050530 we can make .END depend on
858	.depend and make .depend depend on __depsrcs that exist.
859	* dpadd.mk: add SRC_PATHADD
860
8612005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
862
863	* install-mk (MK_VERSION): bump version to 20051104
864	* prog.mk: remove all the LIBC?= junk, use
865	.-include libnames.mk instead (none by default).
866	also if USE_DPADD_MK is set, include that.
867
8682005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
869
870	* install-mk (MK_VERSION): bump version to 20051001
871	Add UnixWare.sys.mk from Klaus Heinz.
872
8732005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>
874
875	* install-mk: always install *.sys.mk and if need be symlink one
876	to sys.mk
877
8782005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
879
880	* subdir.mk, own.mk: use .MAKE rather than MAKE
881
8822004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
883
884	* own.mk: don't use NetBSD's _SRC_TOP_ it can
885	cause confusion.  Also don't take just 'mk' as a
886	srctop indicator.
887
8882004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
889
890	* warnings.mk: overhauled, now very powerful.
891
8922004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
893
894	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
895
8962004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>
897
898	* install-mk (MK_VERSION): bump version to 20040201
899	* extract HOST_TARGET stuff to host-target.mk so own.mk and
900	Generic.sys.mk can share.
901	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
902
9032003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>
904
905	* install-mk (MK_VERSION): 20030930
906	* rename generic.sys.mk to Generic.sys.mk
907	so that it does not get installed (unless being used as sys.mk)
908	* set OS and ROOT_GROUP for those that we know the value.
909	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
910	we don't do it again for each sub-make.
911
9122003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
913
914	* install-mk (MK_VERSION): 20030928
915	Add some extra *.sys.mk from bootstrap-pkgsrc
916	some of these likely still need work.
917	Make everything default to root:wheel ownership,
918	sys.mk can set ROOT_GROUP accordingly.
919
9202003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>
921
922	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
923	not the portable ones.
924
9252003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
926
927	* install-mk: add ability to use cp -f when updating
928	destination .mk files.  Also now possible to play games with
929	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
930	into dest - not recommended unless you seriously want to.
931
9322003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
933
934	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
935	for semi-compatability with NetBSD.
936
9372003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
938
939	* install-mk: add a version indicator
940
9412003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>
942
943	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
944
945	* install-mk: Allow FORCE_SYS_MK to come from env
946
947
948
949