xref: /freebsd/contrib/bmake/mk/ChangeLog (revision 952364486a4b9d135e4b28f7f88a8703a74eae6f)
12015-04-16  Simon J. Gerraty  <sjg@bad.crufty.net>
2
3	* install-mk (MK_VERSION): 20150411
4	  bump version
5
6	* own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
7	  it is here mainly for documentation purposes, since
8	  if using auto.obj.mk it is better done via sys.mk
9
102015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
11
12	* install-mk (MK_VERSION): 20150401
13
14	* meta2deps.sh: support @list
15
16	* meta2deps.py: updates from Juniper
17	  o add EXCLUDES
18	  o skip bogus input files.
19	  o treat 'M' and 'L' as both an 'R' and a 'W'
20
212015-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
22
23	* install-mk (MK_VERSION): 20150303
24
25	* dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
26	  which is built via sub-make so we have a .meta file to tell if
27	  it is out-of-date.
28	  The dirdeps-cache contains the same dependency rules that we
29	  normaly construct on the fly.
30	  This adds a few seconds overhead when the cache is out of date,
31	  but for a large target, the savings can be significant (10-20min).
32
332014-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
34
35	* install-mk (MK_VERSION): 20141118
36
37	* meta.stage.mk: add stale_staged
38
39	* dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
40	  only useful under very rare conditions such as
41	  FreeBSD's make universe.
42
43	* auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
44
452014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
46
47	* install-mk (MK_VERSION): 20141111
48
49	* mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
50
512014-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
52
53	* FILES: include mkopt.sh which allows handling options in shell
54	  scripts in a manner compatible with options.mk
55
562014-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
57
58	* meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
59	  for GENDIRDEPS_FILTER to avoid surprises.
60
612014-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
62
63	* dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
64	  the time it is applied to __depdirs they have.
65
66	* dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
67	  expects patterns like *.${MACHINE}
68
69	* cython.mk (pyprefix?): use pyprefix to find python bits
70	  since prefix might be something else (where we install our
71	  stuff)
72
732014-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
74
75	* install-mk (MK_VERSION): 20140911
76
77	* dirdeps.mk: add bootstrap target to simplify adding support for
78	  new MACHINE.
79
802014-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
81
82	* gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
83	  GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
84	  Makefile.depend files.
85
862014-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
87
88	* install-mk (MK_VERSION): 20140828
89
90	* cython.mk: capture logic for building python extension modules
91	  with Cython.
92
932014-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
94
95	* meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
96
972014-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
98
99	* install-mk (MK_VERSION): 20140801
100
101	* dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
102	identify the autodep.mk variant.
103
104	* sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
105	initial value does not match .MAKE.DEPENDFILE_PREFIX
106
107	* meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
108
1092014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
110
111	* install-mk (MK_VERSION): 20140522
112
113	* lib.mk: use CC to link shlib for linux too
114	  patch from Brendan MacDonell
115
1162014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
117
118	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
119	  if WITH_META_STATS is defined.
120
1212014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
122
123	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
124	  to supress dirdeps outside of .CURDIR.
125
1262014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
127
128	* Fix spelling errors - patch from Pedro Giffuni
129
1302014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>
131
132	* install-mk (MK_VERSION): 20140314
133
134	* dirdeps.mk (beforedirdeps): a handy hook
135
136	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
137	  to visit leaf dirs to be intercepted (eg. for distributed
138	  build).
139
140	* dirdeps.mk (__depdirs): ensure // don't sneak in
141
142	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in
143
144
1452014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>
146
147	* rst2htm.mk (RST2PDF): add support for rst2pdf
148
1492014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
150
151	* install-mk (MK_VERSION): bump version
152	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
153	  available.
154
1552014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
156
157	* options.mk: avoid :U so this isn't bmake dependent
158
1592014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>
160
161	* options.mk: cleanup and simplify semanitcs
162	  NO_* dominates all, if both WITH_* and WITHOUT_*
163	  are defined then result is DOMINATE_* which defaults to "no".
164	  Ie. WITHOUT_ normally wins.
165
1662013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
167
168	* install-mk (MK_VERSION): bump version
169	* meta2deps.py: convert to print function for python3 compat.
170	  we also need to open files with mode 'r' rather than 'rb'
171	  otherwise we get bytes instead of strings.
172
1732013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
174
175	* install-mk (MK_VERSION): bump version
176
177	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
178	  apply the same filtering (M_dep_qual_fixes) when setting _machines
179	  as _build_dirs.
180	  Also fix the filtering of Makefile.depend files - for reporting
181	  what we are looking for (M_dep_qual_fixes can get confused by
182	  Makefile.depend)
183	  Add some more debug info.
184
1852013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
186
187	* gendirdeps.mk (_objtops): fix typo also
188	  while processing M2D_OBJROOTS to gather qualdir_list
189	  qualify $ql with loop iterator to ensure correct results.
190
1912013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
192
193	* install-mk (MK_VERSION): 20130801
194	* libs.mk: update to match progs.mk
195
1962013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>
197
198	* install-mk (MK_VERSION): 20130726
199	  some updates from Juniper and FreeBSD
200	  o meta2deps.py: indicate file and line number when we hit parse
201	    errors
202	    also allow @file to provide huge list of .meta files.
203	* meta2deps.py: add try_parse() to cleanup the above.
204
2052013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
206
207	* install-mk (MK_VERSION): 20130716
208	* own.mk: add GPROG as an option
209	* prog.mk: honor MK_GPROF==yes
210
2112013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
212
213	* install-mk (MK_VERSION): 20130505
214	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
215	  for when $MACHINE isn't enough for objdir distinction.
216	  Bring meta2deps.sh closer to par with meta2deps.py.
217
2182013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
219
220	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
221	  also if the target 'beforeinstall' exists, make it depend on
222	  .dirdep (incase it uses STAGE_INSTALL).
223
2242013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
225
226	* install-mk (MK_VERSION): 20130401 ;-)
227	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
228	  wrapper around install(1).
229	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
230
2312013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
232
233	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
234	* install-mk (MK_VERSION): bump version
235
2362013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>
237
238	* install-mk (MK_VERSION): bump version
239	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
240	  any trailing /., rather apply :tA only when needed.
241	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
242	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
243	  consistently.
244	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
245
2462013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
247
248	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
249	  it is simpler to just not update when say building for "host"
250	  (where we know we apply filters to DIRDEPS), and using a
251	  non-machine qualified dependfile.
252
2532013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
254
255	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
256	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
257	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
258	* meta2deps.py: if machine is "host", then also trim
259	  self.host_target from any OBJROOTS.
260
261
2622013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
263
264	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
265	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
266	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
267	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.
268
2692013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>
270
271	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
272	  and hook to all: via staging:
273
2742013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
275
276	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
277	  use a separate variable for the default .MAKE.DEPENDFILE value
278	  so that it can be controlled independently of
279	  .MAKE.DEPENDFILE_PREFERENCE
280
281	* meta.stage.mk: throw error if cp fails etc.
282	  Stage*() return early if passed no args.
283	  .ORDER stage_*
284
2852013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
286
287	* install-mk (MK_VERSION): bump version
288	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
289
2902013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
291
292	* install-mk (MK_VERSION): bump version to 20130210
293	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
294	  from Juniper.
295	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
296	    than just MACHINE.
297	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.
298
2992013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>
300
301	* install-mk (MK_VERSION): bump version to 20130123
302	* meta.stage.mk: add stage_links (hard links).
303	  if doing hard links, we add dest to link as well.
304	  Default the stage dir for [sym]links to STAGE_OBJTOP since
305	  these are typically specified as absolute paths.
306	  Add -m "mode" flag to StageFiles and StageAs.
307
3082012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
309
310	* install-mk (MK_VERSION): bump version to 20121111
311	* autoconf.mk: avoid meta mode seeing changed commands for config.status
312	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
313	  in case we were found via .../mk
314	* sys.clean-env.mk: move it from examples, we and others use it
315	  "as is".
316	* FILES: add srctop.mk and options.mk
317	* own.mk: convert to using options.mk
318	  which is modeled after FreeBSD's handling of MK_*
319	  but more flexible.
320	  This allows MK_* for boolean knobs to not be confused
321	  with MK* which can be commands.
322
323	* examples/sys.clean-env.mk: add WITH[OUT]_ to
324	  MAKE_ENV_SAVE_PREFIX_LIST.
325	  Mention that HOME=/var/empty might be a good idea.
326
3272012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>
328
329	* sys.dependfile.mk: if not depend file exists, $MACHINE
330	  specific ones are supported but not the default,
331	  check if any exist and follow suit.
332
3332012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>
334
335	* install-mk (MK_VERSION): bump version to 20121106
336
3372012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
338
339	* import latest dirdeps.mk and meta2deps.py from Juniper.
340	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
341	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
342	  appropriate.
343
3442012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>
345
346	* meta.stage.mk: update CLEANFILES
347	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
348	* progs.mk: Add LDADD to PROG_VARS
349
3502012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
351
352	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
353	  _STAGED_DIRS so that these can be turned into filters for
354	  GENDIRDEPS_FILTER.
355
3562012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
357
358	* install-mk (MK_VERSION): bump version to 20121010
359	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
360	target.dirdep matches .dirdep
361
3622012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
363
364	* install-mk (MK_VERSION): bump version to 20120808
365	* import latest meta2deps.py from Juniper.
366
3672012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
368
369	* install-mk (MK_VERSION): bump version to 20120711
370	* dep.mk: add explicit dependencies on SRCS after applying
371	  SRCS_DEP_FILTER
372	* meta.autodep.mk: add explicit dependencies on SRCS after
373	  applying SRCS_DEP_FILTER
374	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
375
3762012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
377
378	* install-mk (MK_VERSION): bump version to 20120626
379	* meta.sys.mk: ignore PYTHON if it does not exist
380	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
381	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
382	  entries ending in .${MACHINE} to decide if qualified _dirdep is
383	  needed.
384	* gendirdeps.mk: only produce unqualified deps if no
385	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
386	* meta.subdir.mk: apply SUBDIREPS_FILTER
387
3882012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
389
390	* install-mk (MK_VERSION): bump version to 20120420
391	* add sys.dependfile.mk so we can experiment with
392	  .MAKE.DEPENDFILE_PREFERENCE
393	* meta.autodep.mk: _DEPENDFILE is precious!
394
3952012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
396
397	* install-mk (MK_VERSION): bump version to 20120315
398	* install-new.mk: avoid being interrupted
399
4002012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
401
402	* man.mk: MAN might have multiple values so be careful with exists().
403
4042012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>
405
406	* install-mk (MK_VERSION): bump version to 20120112
407	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
408	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
409
4102011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>
411
412	* install-mk (MK_VERSION):  bump version to 20111201
413	* import dirdeps.mk from Juniper sjg@
414	  o more consistent handling of DEP_MACHINE, especially when
415	    dealing with an odd Makefile.depend, when normally using
416	    Makefile.depend.${MACHINE}
417
4182011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>
419
420	* install-mk (MK_VERSION): bump version to 20111122
421	* meta.autodep.mk: add some debug output, be more crisp about
422	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend
423
4242011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
425
426	* install-mk (MK_VERSION): bump version to 20111111
427	  it's too cool to miss
428	* import meta* updates from Juniper sjg@
429	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
430	    normally using Makefile.depend.${MACHINE}), handy for
431	    read-only manually maintained dependencies.
432	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
433	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
434	    anything.
435
4362011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>
437
438	* install-new.mk separate the cmp and copy logic to its own function.
439
4402011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
441
442	* install-mk (MK_VERSION): bump version to 20111028
443	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
444	* subdir.mk: ensure _SUBDIRUSE is provided
445	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
446	* meta.subdir.mk: always allow for Makefile.depend
447
4482011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
449
450	* install-mk (MK_VERSION): bump version to 20111010
451	  o minor tweak to *dirdeps.mk from Juniper sjg@
452
4532011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
454
455	* install-mk (MK_VERSION): bump version to 20111001
456	  o add meta2deps.py from Juniper sjg@
457	  o tweak gendirdeps.mk to work with meta2deps.py when not
458	    cross-building
459	* autoconf.mk: add autoconf-input as a hook for regenerating
460	  AUTOCONF_INPUTS (configure).
461
4622011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>
463
464	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
465	  trigger for updating Makefile.depend*
466
4672011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
468
469	* install-mk (MK_VERSION): bump version to 20110808
470	* obj.mk: minor cleanup
471	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
472
4732011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
474
475	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
476	  specified dir.
477
4782011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
479
480	* meta.autodep.mk: if XMAKE_META_FILE is set
481	  the makefile uses a foreign make, and so dependencies
482	  can only be gathered from a clean tree build.
483
4842011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>
485
486	* install-mk (MK_VERSION): bump version to 20110622
487	* meta.autodep.mk: improve bootstraping
488
4892011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
490
491	* yacc.mk: handle the corner case of .c being removed
492	  while .h remains.
493
4942011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
495
496	* yacc.mk: do .y.h and .y.c separately
497
4982011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
499
500	* install-mk (MK_VERSION): bump version to 20110606
501	* don't store SRC_DIRDEPS in Makefile.depend* by default
502	  not everyone needs it.
503
5042011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
505
506	* install-mk (MK_VERSION): bump version to 20110505
507	  first release including meta mode makefiles
508
5092011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
510
511	* meta.stage.mk: add STAGE_AS_SETS and stage_as
512	  for things that need to be staged with different names.
513
5142011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
515
516	* meta.stage.mk: add notion of STAGE_SETS
517	  so a makefile can stage to multiple dirs
518
5192011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>
520
521	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
522	  on target name.
523
5242011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
525
526	* install-mk (MK_VERSION): bump version to 20110330
527
5282011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
529
530	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
531	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
532	* sys.mk: re-define M_whence in terms of M_type.
533	  M_type is useful for checking if something is a builtin.
534
5352011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
536
537	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
538	  stage_libs
539
5402011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
541
542	* dirdeps.mk: correct value for _depdir_files depends on
543	  .MAKE.DEPENDFILE
544	  Add our copyright - just to make it clear we have frobbed this
545	  quite a bit.
546	  DEP_MACHINE needs to be set to MACHINE each time, if using only
547	  Makefile.depend (cf. Makefile.depend.${MACHINE})
548
549	* meta.stage.mk: meta mode version of staging
550
551	* init.mk, final.mk: include local.*.mk to simplify customization
552
5532011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
554
555	* auto.obj.mk: just because we are doing mk destroy, we should
556	  still set .OBJDIR correctly if it exists.
557
558	* install-mk (mksrc): do not exclude meta.sys.mk
559
5602011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
561
562	* host-target.mk: set/export _HOST_ARCH etc separately,
563	  catch junk resulting from uname -p, so we can find sys/Linux.mk
564	  correctly.
565
5662011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
567
568	* meta.sys.mk: throw an error if /dev/filemon is missing and we
569	  expected to be updating Makefile.depend*
570
5712011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
572
573	* install-mk (MK_VERSION): bump version to 20110214
574	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
575
5762010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>
577
578	* meta.sys.mk: not valid for older bmake
579
5802010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>
581
582	* install-mk (MK_VERSION): bump version to 20100919
583	include dirdeps.mk et al from Juniper Networks,
584	for meta mode - requires filemon(9).
585	* sys.mk, subdir.mk: Add hooks for meta mode.
586	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
587	to make turning it on/off simple.
588
5892010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
590
591	* install-mk (MK_VERSION): bump version to 20100616
592	* fix typo in sys.mk
593
5942010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>
595
596	* install-mk (MK_VERSION): bump version to 20100612
597	* lib.mk: remove duplicate addition to SOBJS
598
5992010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
600
601	* sys.mk: Add a means of selectively turning on debug flags.
602	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
603	  will act as if we did make -dv if .CURDIR ends in lib/sjg
604	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
605	  the start of sys.mk rather than the end.
606	  This only makes sense for leaf dirs, so we check that
607	  .MAKE.LEVEL > 0
608
6092010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>
610
611	* install-mk (MK_VERSION): bump version to 20100608
612	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
613	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
614	  also make it easier for folk to tweak
615
6162010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
617
618	* install-mk (MK_VERSION): bump version to 20100606
619	  do not install examples/*
620	* FILES: add examples/sys.clean-env.mk
621	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
622	  this requires bmake-20100606 or later to work.
623
6242010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>
625
626	* sys.mk (M_tA): better simulate the result of :tA if not available.
627
6282010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
629
630	* sys.mk: canonicalize MAKE_VERSION
631	  old versions reported bmake-<src-date> build-<build-date>
632	  whereas we only care about <src-date>
633
6342010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>
635
636	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
637	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
638	  is !empty
639
6402010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
641
642	* dpadd.mk: use LDADD_* if defined.
643
6442010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
645
646	* install-mk (MK_VERSION): bump version to 20100420
647	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
648	* autoconf.mk allow AUTO_AUTOCONF
649
6502010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>
651
652	* obj.mk: add objwarn to keep freebsd makefiles happy
653	* auto.obj.mk: ensure Mkdirs is available.
654	* FILES: add auto.dep.mk - a simpler version of autodep.mk
655	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
656	  asked to do that.
657	  fix/simplify the tests for when to run mkdep.
658	* auto.dep.mk: add some explanation of how/what we do.
659	* autodep.mk: skip the .OPTIONAL frobbing of .depend
660	  bmake's FROM_DEPEND flag makes it redundant.
661
6622010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
663
664	* install-mk (MK_VERSION): bump version to 20100404
665	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
666	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
667	Also create a target _SUBDIRUSE so that we can  be used without
668	subdir.mk
669
6702010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>
671
672	* dep.mk: use <> when .including so can override.
673
6742010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>
675
676	* lib.mk (SHLIB_LINKS): ensure a string comparison.
677
6782010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
679
680	* install-mk (MK_VERSION): bump version to 20100102
681	* own.mk: ensure PRINTOBJDIR works
682	* autoconf.mk: pass on CONFIGURE_ARGS
683	* init.mk: handle COPTS.${.IMPSRC:T} etc.
684	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
685	  fix handling of symlinks for darwin
686	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
687	* man.mk: suppress chown when not root.
688	* rst2htm.mk: allow srcs from multiple locations.
689	* sys.mk: M_whence, stop after 1st line of output.
690	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
691	* sys/SunOS.mk: we need to export PATH
692
6932009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>
694
695	* install-mk (MK_VERSION): bump version
696	  include rst2htm.mk
697
6982009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>
699
700	* sys.mk,libnames.mk add .-include <local.*>
701	  this allows local customization without the need to edit the
702	  distributed files.
703
7042009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>
705
706	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
707	  older versions already installed.
708
7092009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>
710
711	* stage.mk (.stage-install): generalize lib.mk's .libinstall
712	* rules.mk rules for generic Makefile.
713	* inc.mk install for includes.
714
7152009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>
716
717	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
718	  this, so provide it if using native make.
719
7202009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>
721
722	* FILES: move all the platform *.sys.mk files to sys/*.mk
723	* Rename Generic.sys.mk to sys.mk - we always want it.
724
7252009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>
726
727	* install-mk (MK_VERSION): bump version
728	* host-target.mk: only export the expensive stuff
729	* Generic.sys.mk (sys_mk): for SunOS we need to look for
730	  ${HOST_OS}.${HOST_OSMAJOR} too!
731
7322009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>
733
734	* install-mk (MK_VERSION): bump version
735	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
736	  based on patch from Greg Olszewski.
737	* Generic.sys.mk: if we have nothing to work with
738	set LORDER etc only if we can find it.
739
7402009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
741
742	* install-mk (MK_VERSION): bump version
743	* man.mk: cleanman: remove CLEANMAN if defined.
744
7452009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>
746
747	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
748
7492009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>
750
751	* install-mk (MK_VERSION): bump version
752	include auto.obj.mk
753
754
7552009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
756
757	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
758
7592008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
760
761	* install-mk (MK_VERSION): bump version
762	man.mk: ensure we generate *.cat1 etc in .
763
7642008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>
765
766	* install-mk (MK_VERSION): bump version
767	add prlist.mk
768
7692007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
770
771	* Generic.sys.mk: Allow os specific sys.mk to be in a
772	subdir of ${.PARSEDIR}
773
7742007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>
775
776	* install-mk (MK_VERSION): bump version
777	* general cleanup
778	* dpadd.mk introduce DPMAGIC_LIBS_*
779
7802007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>
781
782	* install-mk (MK_VERSION): bump version
783
784	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
785	depend files and ensure clean is called for each lib/prog.
786
7872007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>
788
789	* autodep.mk (.depend): delete lines that do not start with
790	space and do not contain ':'
791
7922007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>
793
794	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
795	so make sure the transform for .OPTIONAL copes.
796
7972007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
798
799	* install-mk (MK_VERSION): bump version
800
801	* own.mk: make sure RM and LN are defined.
802
803	* obj.mk: fix a typo, and objlink target.
804
8052006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>
806
807	* install-mk (MK_VERSION): bump version
808	* added libs.mk - analogous to progs.mk
809	  make both of them always inlcude {lib,prog}.mk
810
8112006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>
812
813	* progs.mk: add a means of building multiple apps in one dir.
814
8152006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
816
817	* install-mk (MK_VERSION): bump version to 20061126
818
819	* warnings.mk: detect invalid WARNINGS_SET
820
821	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
822	specific warnings.
823
824	* For .cc sources, turn off warnings that g++ vomits on.
825
8262006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>
827
828	* own.mk: if __initialized__ target doesn't exist and we are
829	FreeBSD we got here directly from sys.mk
830
8312006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>
832
833	* install-mk (MK_VERSION): bump version to 20061106
834	add scripts.mk
835
8362006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
837
838	* install-mk (MK_VERSION): bump version to 20060318
839
840	* autodep.mk: avoid := when modifying OBJS into __dependsrcs
841
8422006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>
843
844	* install-mk (MK_VERSION): bump version to 20060302
845	* autodep.mk: use -MF et al to help gcc+ccache DTRT.
846
8472006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
848
849	* install-mk (MK_VERSION): bump version to 20060301
850	* autodep.mk (.depend):
851	if MAKE_VERSION is newer than  20050530 we can make .END depend on
852	.depend and make .depend depend on __depsrcs that exist.
853	* dpadd.mk: add SRC_PATHADD
854
8552005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
856
857	* install-mk (MK_VERSION): bump version to 20051104
858	* prog.mk: remove all the LIBC?= junk, use
859	.-include libnames.mk instead (none by default).
860	also if USE_DPADD_MK is set, include that.
861
8622005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
863
864	* install-mk (MK_VERSION): bump version to 20051001
865	Add UnixWare.sys.mk from Klaus Heinz.
866
8672005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>
868
869	* install-mk: always install *.sys.mk and if need be symlink one
870	to sys.mk
871
8722005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
873
874	* subdir.mk, own.mk: use .MAKE rather than MAKE
875
8762004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
877
878	* own.mk: don't use NetBSD's _SRC_TOP_ it can
879	cause confusion.  Also don't take just 'mk' as a
880	srctop indicator.
881
8822004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
883
884	* warnings.mk: overhauled, now very powerful.
885
8862004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
887
888	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
889
8902004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>
891
892	* install-mk (MK_VERSION): bump version to 20040201
893	* extract HOST_TARGET stuff to host-target.mk so own.mk and
894	Generic.sys.mk can share.
895	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
896
8972003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>
898
899	* install-mk (MK_VERSION): 20030930
900	* rename generic.sys.mk to Generic.sys.mk
901	so that it does not get installed (unless being used as sys.mk)
902	* set OS and ROOT_GROUP for those that we know the value.
903	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
904	we don't do it again for each sub-make.
905
9062003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
907
908	* install-mk (MK_VERSION): 20030928
909	Add some extra *.sys.mk from bootstrap-pkgsrc
910	some of these likely still need work.
911	Make everything default to root:wheel ownership,
912	sys.mk can set ROOT_GROUP accordingly.
913
9142003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>
915
916	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
917	not the portable ones.
918
9192003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
920
921	* install-mk: add ability to use cp -f when updating
922	destination .mk files.  Also now possible to play games with
923	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
924	into dest - not recommended unless you seriously want to.
925
9262003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
927
928	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
929	for semi-compatability with NetBSD.
930
9312003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
932
933	* install-mk: add a version indicator
934
9352003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>
936
937	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
938
939	* install-mk: Allow FORCE_SYS_MK to come from env
940
941
942
943