xref: /freebsd/contrib/bmake/mk/ChangeLog (revision ea825d02749f382c3f7e17f28247f20a48733eab)
12017-06-30  Simon J. Gerraty  <sjg@bad.crufty.net>
2
3	* install-mk (MK_VERSION): 20170630
4
5	* meta.stage.mk: avoid triggering stage_* targets with nothing to do.
6
72017-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
8
9	* meta2deps.py: take special care of '..'
10
112017-05-15  Simon J. Gerraty  <sjg@bad.crufty.net>
12
13	* install-mk (MK_VERSION): 20170515
14
15	* dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is
16	useful/necessary for a Makefile.depend file to export some knobs.
17	This is complicated when we are doing DIRDEPS_CACHE, so we will
18	handle export of any variables listed in DEP_EXPORT_VARS.
19
202017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>
21
22	* install-mk (MK_VERSION): 20170505
23
24	* meta2deps.py: fix botched indenation.
25
262017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
27
28	* sys/*.mk: Remove setting of MAKE it is unnecessary and
29	  in many cases wrong (basname rather than full path)
30
31	* scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk
32
33	* init.mk: define realbuild to simplify logic in {lib,prog}.mk etc
34
352017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
36
37	* install-mk (MK_VERSION): 20170501
38
39	* doc.mk: fix typo in DOC_INSTALL_OWN
40
41	* inc.mk: handle INCGROUPS similar to freebsd
42
43	* files.mk: add something for files too
44
45	* add staging logic to lib.mk prog.mk etc.
46
472017-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
48
49	* install-mk (MK_VERSION): 20170424
50
51	* dirdeps.mk: set NO_DIRDEPS when bootstrapping.
52	  also target of bootstrap-this when sed is needed should be ${_want:T}
53
542017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
55
56	* install-mk (MK_VERSION): 20170418
57
58	* auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a
59	  prefix match for .CURDIR - in which case .CURDIR *is* __objdir.
60
612017-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
62
63	* install-mk (MK_VERSION): 20170401
64
65	* meta2deps.py: add is_src so we can check if obj dependency
66	  is also a src dependency.
67
682017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
69
70	* install-mk (MK_VERSION): 20170326
71
72	* meta.stage.mk: do nothing if NO_STAGING is defined.
73
742017-03-24  Simon J. Gerraty  <sjg@bad.crufty.net>
75
76	* auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc.
77
782017-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
79
80	* mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_*
81
822017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
83
84	* install-mk (MK_VERSION): 20170301
85
86	* dirdeps.mk (_build_all_dirs): update this outside test for empty
87	  DIRDEPS.
88
89	* meta.stage.mk: allow multiple inclusion to the extent it makes
90	  sense.
91
922017-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
93
94	* prog.mk (install_links): depends on realinstall
95
962017-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>
97
98	* install-mk (MK_VERSION): 20170212
99
100	* dpadd.mk: avoid applying :T:R twice to DPLIBS entries
101
1022017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>
103
104	* install-mk (MK_VERSION): 20170130
105
106	* dirdeps.mk: use :range if we can.
107
108	* sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130
109
110	* meta2deps.py: clean paths without using realpath() where possible.
111	  fix sort_unique.
112
1132016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
114
115	* install-mk (MK_VERSION): 20161212
116
117	* meta2deps.py: set pid_cwd[pid] when we process 'C'hdir,
118	rather than when we detect pid change.
119
1202016-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>
121
122	* install-mk (MK_VERSION): 20161207
123
124	* meta.stage.mk: add stage_as_and_symlink for staging packages.
125	  We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able
126	  to use foo.tgz to reference the latest staged version - so we
127	  make foo.tgz a symlink to it.
128	  Using a target to do both operations ensures we stay in sync.
129
1302016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
131
132	* install-mk (MK_VERSION): 20161126
133
134	* dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk
135	  so it can add dependencies.
136
1372016-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
138
139	* dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE
140	  do that they can influence the result correctly.
141
142	* dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC
143
144	* dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST
145	  similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST
146
1472016-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>
148
149	* dirdeps.mk: remove dependence on jot (normal situations anyway).
150	  Before we read another Makefile.depend* set DEP_* vars from
151	  _DEP_TARGET_SPEC in case it uses any of them with :=
152	  When bootstrapping, trim any ,* from extention of chosen _src
153	  Makefile.depend* to get the machine value we subst for.
154
1552016-09-30  Simon J. Gerraty  <sjg@bad.crufty.net>
156
157	* dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to
158	  DEP_SKIP_DIR and DEP_DIRDEPS_FILTER
159
160	* sys.mk: extract some bits to sys.{debug,vars}.mk
161	  for easier re-use by others.
162
1632016-09-23  Simon Gerraty  <sjg@sjg-mba13>
164
165	* lib.mk: Use ${PICO} for extension for PIC objects.
166	  default to .pico (like NetBSD) safe on case insensitive filesystem.
167
1682016-08-19  Simon J. Gerraty  <sjg@bad.crufty.net>
169
170	* meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default
171
1722016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
173
174	* install-mk (MK_VERSION): 20160815
175
176	* dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only
177	consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date.
178
1792016-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>
180
181	* meta.sys.mk (.MAKE.META.IGNORE_PATHS):
182	  in meta mode we can ignore the mtime of makefiles
183
1842016-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
185
186	* install-mk (MK_VERSION): 20160802
187
188	* lib.mk (libinstall): depends on beforinstall
189
190	* prog.mk (proginstall): depends on beforinstall
191	  patch from Lauri Tirkkonen
192
193	* dirdeps.mk (bootstrap): When bootstrapping; creat
194	.MAKE.DEPENDFILE_DEFAULT and allow additional filtering via
195	.MAKE.DEPENDFILE_BOOTSTRAP_SED
196
197	* dirdeps.mk: move some comments to where they make sense.
198
1992016-07-27  Simon J. Gerraty  <sjg@bad.crufty.net>
200
201	* dirdeps.mk (DIRDEPS_CACHE): no dirname.
202
2032016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
204
205	* install-mk (MK_VERSION): 20160602
206	* meta.autodep.mk: when passing META_FILES to gendirdeps.mk
207	  do not apply :T to META_XTRAS
208	  patch from Bryan Drewery at FreeBSD.org.
209
2102016-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
211
212	* install-mk (MK_VERSION): 20160530
213	* meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH
214	  make it so.
215
2162016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
217
218	* install-mk (MK_VERSION): 20160512
219
220	* dpadd.mk: always include local.dpadd.mk if it exists
221	  remove some things that better belong in local.dpadd.mk
222	  skip INCLUDES_* for staged libs unless SRC_* defined.
223
224	* own.mk: add INCLUDEDIR
225
2262016-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
227
228	* dirdeps.mk: when doing -f dirdeps.mk if target suppies no
229	  TARGET_MACHINE - :E will be empty or match part of path, use
230	  ${MACHINE}
231
2322016-04-07  Simon J. Gerraty  <sjg@bad.crufty.net>
233
234	* meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
235	  NO_FILEMON_COOKIE
236
237	* dirdeps.mk: move the logic that allows for
238	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
239	  inside the check for !target(_DIRDEP_USE)
240
2412016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
242
243	* Use <> when including local*.mk and others which may exist
244	  elsewhere so that user can better control what they get.
245
246	* meta.autodep.mk (NO_FILEMON_COOKIE):
247	  create a cookie if we ever build dir with nofilemon
248	  so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
249
2502016-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
251
252	* install-mk (MK_VERSION): 20160401
253
254	* meta2deps.py: fix old print statement when debugging.
255
256	* gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
257	  patch from Bryan Drewery
258
2592016-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
260
261	* install-mk (MK_VERSION): 20160317 (St. Pats)
262
263	* warnings.mk: g++ does not like -Wimplicit
264
265	* sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
266	  pelthora of common suffixes for C++
267
268	* lib.mk: use .So for shared objects
269
2702016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
271
272	* install-mk (MK_VERSION): 20160315
273
274	* meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
275	  normally only applies to scripts.
276
277	* dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
278	  well as outside it.
279
2802016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
281
282	* install-mk (MK_VERSION): 20160310
283
284	* dirdeps.mk: use targets rather than a list to track DIRDEPS that
285	  we have processed; the list gets very inefficient as number of
286	  DIRDEPS gets large.
287
288	* sys.dependfile.mk: fix comment wrt MACHINE
289
290	* meta.autodep.mk: ignore staged DPADDs when bootstrapping.
291	  patch from Bryan Drewery
292
2932016-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
294
295	* meta2deps.sh: don't ignore subdirs.
296	  patch from Bryan Drewery
297
2982016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
299
300	* install-mk (MK_VERSION): 20160226
301
302	* gendirdeps.mk: mark _DEPENDFILE .NOMETA
303
3042016-02-20  Simon J. Gerraty  <sjg@bad.crufty.net>
305
306	* dirdeps.mk: we shouldn't normally include .depend but if we do
307	  use .dinclude if we can.
308
3092016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
310
311	* install-mk (MK_VERSION): 20160218
312	* sys.clean-env.mk: with recent change to Var_Subst()
313	  we cannot use the '$$' trick, but .export-literal does the job
314	  we need.
315	* auto.dep.mk: make use .dinclude if we can.
316
317
3182016-02-05  Simon J. Gerraty  <sjg@bad.crufty.net>
319
320	* dirdeps.mk:
321	  Add _build_all_dirs such that local.dirdeps.mk can
322	  add fully qualified dirs to it.
323	  These will be built normally but the current
324	  DEP_RELDIR will not depend on then (to avoid cycles).
325	  This makes it easy to hook things like unit-tests into build.
326
327
3282016-01-21  Simon J. Gerraty  <sjg@bad.crufty.net>
329
330	* dirdeps.mk: add bootstrap-empty
331
3322015-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
333
334	* install-mk (MK_VERSION): 20151212
335	* auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
336	  only apply :tA to __objdir when comparing to .OBJDIR
337
3382015-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
339
340	* install-mk (MK_VERSION): 20151111
341
342	* meta.sys.mk: include sys.dependfile.mk
343
344	* sys.mk (OPTIONS_DEFAULT_NO): use options.mk
345	  to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
346	  include local.sys.env.mk early
347	  include local.sys.mk later
348
349	* own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
350
3512015-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
352
353	* meta.sys.mk (META_COOKIE_TOUCH):
354	  add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
355
356	* meta.stage.mk: stage_libs should ignore SYMLINKS.
357
3582015-10-23  Simon J. Gerraty  <sjg@bad.crufty.net>
359
360	* install-mk (MK_VERSION): 20151022
361
362	* sys.mk: BSD/OS does not have 'type' as a shell builtin.
363
3642015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
365
366	* install-mk (MK_VERSION): 20151020
367
368	* dirdeps.mk: Add logic for
369	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
370
3712015-10-14  Simon J. Gerraty  <sjg@bad.crufty.net>
372
373	* install-mk (MK_VERSION): 20151010
374
3752015-10-02  Simon J. Gerraty  <sjg@bad.crufty.net>
376
377	* meta.stage.mk: use staging: ${STAGE_TARGETS:...
378	  to have stage_lins run last in non-jobs mode.
379	  Use .ORDER only for jobs mode.
380
3812015-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
382
383	* rst2htm.mk: allow for per target flags etc.
384
3852015-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
386
387	* install-mk (MK_VERSION): 20150901
388
389	* doc.mk: create dir if needed use DOC_INSTALL_OWN
390
3912015-06-15  Simon J. Gerraty  <sjg@bad.crufty.net>
392
393	* install-mk (MK_VERSION): 20150615
394
395	* auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
396	  Follow make's normal precedence rules.
397
398	* gendirdeps.mk: allow customization of the header.
399	  eg. for FreeBSD:
400	  GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
401
402	* meta.autodep.mk: ignore dirdeps.cache*
403
404	* meta.stage.mk: when bootstrapping options it can be handy to
405	  throw warnings rather than errors for staging conflicts.
406
407	* meta.sys.mk: include local.meta.sys.mk for customization
408
4092015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
410
411	* install-mk (MK_VERSION): 20150606
412
413	* dirdeps.mk: don't rely on manually maintained Makefile.depend
414	  to set DEP_RELDIR and reset DIRDEPS.
415	  By setting DEP_RELDIR ourselves we can skip :tA
416
417	* gendirdeps.mk: skip setting DEP_RELDIR.
418
4192015-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
420
421	* dirdeps.mk: avoid wildcards like make(bootstrap*)
422
4232015-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
424
425	* install-mk (MK_VERSION): 20150520
426
427	* dirdeps.mk: when we are building dirdeps cache file we *want*
428	  meta_oodate to look at all the Makefile.depend files, so
429	  set .MAKE.DEPENDFILE to something that won't match.
430
431	* meta.stage.mk: for STAGE_AS_* basename of file may not be unique
432	  so first use absolute path as key.
433	  Also skip staging at level 0.
434
4352015-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
436
437	* install-mk (MK_VERSION): 20150430
438
439	* dirdeps.mk: fix _count_dirdeps for non-cache case.
440
4412015-04-16  Simon J. Gerraty  <sjg@bad.crufty.net>
442
443	* install-mk (MK_VERSION): 20150411
444	  bump version
445
446	* own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
447	  it is here mainly for documentation purposes, since
448	  if using auto.obj.mk it is better done via sys.mk
449
4502015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
451
452	* install-mk (MK_VERSION): 20150401
453
454	* meta2deps.sh: support @list
455
456	* meta2deps.py: updates from Juniper
457	  o add EXCLUDES
458	  o skip bogus input files.
459	  o treat 'M' and 'L' as both an 'R' and a 'W'
460
4612015-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
462
463	* install-mk (MK_VERSION): 20150303
464
465	* dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
466	  which is built via sub-make so we have a .meta file to tell if
467	  it is out-of-date.
468	  The dirdeps-cache contains the same dependency rules that we
469	  normaly construct on the fly.
470	  This adds a few seconds overhead when the cache is out of date,
471	  but for a large target, the savings can be significant (10-20min).
472
4732014-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
474
475	* install-mk (MK_VERSION): 20141118
476
477	* meta.stage.mk: add stale_staged
478
479	* dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
480	  only useful under very rare conditions such as
481	  FreeBSD's make universe.
482
483	* auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
484
4852014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
486
487	* install-mk (MK_VERSION): 20141111
488
489	* mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
490
4912014-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
492
493	* FILES: include mkopt.sh which allows handling options in shell
494	  scripts in a manner compatible with options.mk
495
4962014-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
497
498	* meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
499	  for GENDIRDEPS_FILTER to avoid surprises.
500
5012014-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
502
503	* dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
504	  the time it is applied to __depdirs they have.
505
506	* dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
507	  expects patterns like *.${MACHINE}
508
509	* cython.mk (pyprefix?): use pyprefix to find python bits
510	  since prefix might be something else (where we install our
511	  stuff)
512
5132014-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
514
515	* install-mk (MK_VERSION): 20140911
516
517	* dirdeps.mk: add bootstrap target to simplify adding support for
518	  new MACHINE.
519
5202014-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
521
522	* gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
523	  GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
524	  Makefile.depend files.
525
5262014-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
527
528	* install-mk (MK_VERSION): 20140828
529
530	* cython.mk: capture logic for building python extension modules
531	  with Cython.
532
5332014-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
534
535	* meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
536
5372014-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
538
539	* install-mk (MK_VERSION): 20140801
540
541	* dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
542	identify the autodep.mk variant.
543
544	* sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
545	initial value does not match .MAKE.DEPENDFILE_PREFIX
546
547	* meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
548
5492014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
550
551	* install-mk (MK_VERSION): 20140522
552
553	* lib.mk: use CC to link shlib for linux too
554	  patch from Brendan MacDonell
555
5562014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
557
558	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
559	  if WITH_META_STATS is defined.
560
5612014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
562
563	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
564	  to supress dirdeps outside of .CURDIR.
565
5662014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
567
568	* Fix spelling errors - patch from Pedro Giffuni
569
5702014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>
571
572	* install-mk (MK_VERSION): 20140314
573
574	* dirdeps.mk (beforedirdeps): a handy hook
575
576	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
577	  to visit leaf dirs to be intercepted (eg. for distributed
578	  build).
579
580	* dirdeps.mk (__depdirs): ensure // don't sneak in
581
582	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in
583
584
5852014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>
586
587	* rst2htm.mk (RST2PDF): add support for rst2pdf
588
5892014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
590
591	* install-mk (MK_VERSION): bump version
592	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
593	  available.
594
5952014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
596
597	* options.mk: avoid :U so this isn't bmake dependent
598
5992014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>
600
601	* options.mk: cleanup and simplify semanitcs
602	  NO_* dominates all, if both WITH_* and WITHOUT_*
603	  are defined then result is DOMINATE_* which defaults to "no".
604	  Ie. WITHOUT_ normally wins.
605
6062013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
607
608	* install-mk (MK_VERSION): bump version
609	* meta2deps.py: convert to print function for python3 compat.
610	  we also need to open files with mode 'r' rather than 'rb'
611	  otherwise we get bytes instead of strings.
612
6132013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
614
615	* install-mk (MK_VERSION): bump version
616
617	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
618	  apply the same filtering (M_dep_qual_fixes) when setting _machines
619	  as _build_dirs.
620	  Also fix the filtering of Makefile.depend files - for reporting
621	  what we are looking for (M_dep_qual_fixes can get confused by
622	  Makefile.depend)
623	  Add some more debug info.
624
6252013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
626
627	* gendirdeps.mk (_objtops): fix typo also
628	  while processing M2D_OBJROOTS to gather qualdir_list
629	  qualify $ql with loop iterator to ensure correct results.
630
6312013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
632
633	* install-mk (MK_VERSION): 20130801
634	* libs.mk: update to match progs.mk
635
6362013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>
637
638	* install-mk (MK_VERSION): 20130726
639	  some updates from Juniper and FreeBSD
640	  o meta2deps.py: indicate file and line number when we hit parse
641	    errors
642	    also allow @file to provide huge list of .meta files.
643	* meta2deps.py: add try_parse() to cleanup the above.
644
6452013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
646
647	* install-mk (MK_VERSION): 20130716
648	* own.mk: add GPROG as an option
649	* prog.mk: honor MK_GPROF==yes
650
6512013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
652
653	* install-mk (MK_VERSION): 20130505
654	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
655	  for when $MACHINE isn't enough for objdir distinction.
656	  Bring meta2deps.sh closer to par with meta2deps.py.
657
6582013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
659
660	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
661	  also if the target 'beforeinstall' exists, make it depend on
662	  .dirdep (incase it uses STAGE_INSTALL).
663
6642013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
665
666	* install-mk (MK_VERSION): 20130401 ;-)
667	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
668	  wrapper around install(1).
669	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
670
6712013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
672
673	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
674	* install-mk (MK_VERSION): bump version
675
6762013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>
677
678	* install-mk (MK_VERSION): bump version
679	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
680	  any trailing /., rather apply :tA only when needed.
681	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
682	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
683	  consistently.
684	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
685
6862013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
687
688	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
689	  it is simpler to just not update when say building for "host"
690	  (where we know we apply filters to DIRDEPS), and using a
691	  non-machine qualified dependfile.
692
6932013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
694
695	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
696	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
697	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
698	* meta2deps.py: if machine is "host", then also trim
699	  self.host_target from any OBJROOTS.
700
701
7022013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
703
704	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
705	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
706	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
707	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.
708
7092013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>
710
711	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
712	  and hook to all: via staging:
713
7142013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
715
716	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
717	  use a separate variable for the default .MAKE.DEPENDFILE value
718	  so that it can be controlled independently of
719	  .MAKE.DEPENDFILE_PREFERENCE
720
721	* meta.stage.mk: throw error if cp fails etc.
722	  Stage*() return early if passed no args.
723	  .ORDER stage_*
724
7252013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
726
727	* install-mk (MK_VERSION): bump version
728	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
729
7302013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
731
732	* install-mk (MK_VERSION): bump version to 20130210
733	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
734	  from Juniper.
735	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
736	    than just MACHINE.
737	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.
738
7392013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>
740
741	* install-mk (MK_VERSION): bump version to 20130123
742	* meta.stage.mk: add stage_links (hard links).
743	  if doing hard links, we add dest to link as well.
744	  Default the stage dir for [sym]links to STAGE_OBJTOP since
745	  these are typically specified as absolute paths.
746	  Add -m "mode" flag to StageFiles and StageAs.
747
7482012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
749
750	* install-mk (MK_VERSION): bump version to 20121111
751	* autoconf.mk: avoid meta mode seeing changed commands for config.status
752	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
753	  in case we were found via .../mk
754	* sys.clean-env.mk: move it from examples, we and others use it
755	  "as is".
756	* FILES: add srctop.mk and options.mk
757	* own.mk: convert to using options.mk
758	  which is modeled after FreeBSD's handling of MK_*
759	  but more flexible.
760	  This allows MK_* for boolean knobs to not be confused
761	  with MK* which can be commands.
762
763	* examples/sys.clean-env.mk: add WITH[OUT]_ to
764	  MAKE_ENV_SAVE_PREFIX_LIST.
765	  Mention that HOME=/var/empty might be a good idea.
766
7672012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>
768
769	* sys.dependfile.mk: if not depend file exists, $MACHINE
770	  specific ones are supported but not the default,
771	  check if any exist and follow suit.
772
7732012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>
774
775	* install-mk (MK_VERSION): bump version to 20121106
776
7772012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
778
779	* import latest dirdeps.mk and meta2deps.py from Juniper.
780	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
781	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
782	  appropriate.
783
7842012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>
785
786	* meta.stage.mk: update CLEANFILES
787	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
788	* progs.mk: Add LDADD to PROG_VARS
789
7902012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
791
792	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
793	  _STAGED_DIRS so that these can be turned into filters for
794	  GENDIRDEPS_FILTER.
795
7962012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
797
798	* install-mk (MK_VERSION): bump version to 20121010
799	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
800	target.dirdep matches .dirdep
801
8022012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
803
804	* install-mk (MK_VERSION): bump version to 20120808
805	* import latest meta2deps.py from Juniper.
806
8072012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
808
809	* install-mk (MK_VERSION): bump version to 20120711
810	* dep.mk: add explicit dependencies on SRCS after applying
811	  SRCS_DEP_FILTER
812	* meta.autodep.mk: add explicit dependencies on SRCS after
813	  applying SRCS_DEP_FILTER
814	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
815
8162012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
817
818	* install-mk (MK_VERSION): bump version to 20120626
819	* meta.sys.mk: ignore PYTHON if it does not exist
820	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
821	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
822	  entries ending in .${MACHINE} to decide if qualified _dirdep is
823	  needed.
824	* gendirdeps.mk: only produce unqualified deps if no
825	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
826	* meta.subdir.mk: apply SUBDIRDEPS_FILTER
827
8282012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
829
830	* install-mk (MK_VERSION): bump version to 20120420
831	* add sys.dependfile.mk so we can experiment with
832	  .MAKE.DEPENDFILE_PREFERENCE
833	* meta.autodep.mk: _DEPENDFILE is precious!
834
8352012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
836
837	* install-mk (MK_VERSION): bump version to 20120315
838	* install-new.mk: avoid being interrupted
839
8402012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
841
842	* man.mk: MAN might have multiple values so be careful with exists().
843
8442012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>
845
846	* install-mk (MK_VERSION): bump version to 20120112
847	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
848	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
849
8502011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>
851
852	* install-mk (MK_VERSION):  bump version to 20111201
853	* import dirdeps.mk from Juniper sjg@
854	  o more consistent handling of DEP_MACHINE, especially when
855	    dealing with an odd Makefile.depend, when normally using
856	    Makefile.depend.${MACHINE}
857
8582011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>
859
860	* install-mk (MK_VERSION): bump version to 20111122
861	* meta.autodep.mk: add some debug output, be more crisp about
862	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend
863
8642011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
865
866	* install-mk (MK_VERSION): bump version to 20111111
867	  it's too cool to miss
868	* import meta* updates from Juniper sjg@
869	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
870	    normally using Makefile.depend.${MACHINE}), handy for
871	    read-only manually maintained dependencies.
872	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
873	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
874	    anything.
875
8762011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>
877
878	* install-new.mk separate the cmp and copy logic to its own function.
879
8802011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
881
882	* install-mk (MK_VERSION): bump version to 20111028
883	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
884	* subdir.mk: ensure _SUBDIRUSE is provided
885	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
886	* meta.subdir.mk: always allow for Makefile.depend
887
8882011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
889
890	* install-mk (MK_VERSION): bump version to 20111010
891	  o minor tweak to *dirdeps.mk from Juniper sjg@
892
8932011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
894
895	* install-mk (MK_VERSION): bump version to 20111001
896	  o add meta2deps.py from Juniper sjg@
897	  o tweak gendirdeps.mk to work with meta2deps.py when not
898	    cross-building
899	* autoconf.mk: add autoconf-input as a hook for regenerating
900	  AUTOCONF_INPUTS (configure).
901
9022011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>
903
904	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
905	  trigger for updating Makefile.depend*
906
9072011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
908
909	* install-mk (MK_VERSION): bump version to 20110808
910	* obj.mk: minor cleanup
911	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
912
9132011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
914
915	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
916	  specified dir.
917
9182011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
919
920	* meta.autodep.mk: if XMAKE_META_FILE is set
921	  the makefile uses a foreign make, and so dependencies
922	  can only be gathered from a clean tree build.
923
9242011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>
925
926	* install-mk (MK_VERSION): bump version to 20110622
927	* meta.autodep.mk: improve bootstraping
928
9292011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
930
931	* yacc.mk: handle the corner case of .c being removed
932	  while .h remains.
933
9342011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
935
936	* yacc.mk: do .y.h and .y.c separately
937
9382011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
939
940	* install-mk (MK_VERSION): bump version to 20110606
941	* don't store SRC_DIRDEPS in Makefile.depend* by default
942	  not everyone needs it.
943
9442011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
945
946	* install-mk (MK_VERSION): bump version to 20110505
947	  first release including meta mode makefiles
948
9492011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
950
951	* meta.stage.mk: add STAGE_AS_SETS and stage_as
952	  for things that need to be staged with different names.
953
9542011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
955
956	* meta.stage.mk: add notion of STAGE_SETS
957	  so a makefile can stage to multiple dirs
958
9592011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>
960
961	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
962	  on target name.
963
9642011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
965
966	* install-mk (MK_VERSION): bump version to 20110330
967
9682011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
969
970	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
971	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
972	* sys.mk: re-define M_whence in terms of M_type.
973	  M_type is useful for checking if something is a builtin.
974
9752011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
976
977	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
978	  stage_libs
979
9802011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
981
982	* dirdeps.mk: correct value for _depdir_files depends on
983	  .MAKE.DEPENDFILE
984	  Add our copyright - just to make it clear we have frobbed this
985	  quite a bit.
986	  DEP_MACHINE needs to be set to MACHINE each time, if using only
987	  Makefile.depend (cf. Makefile.depend.${MACHINE})
988
989	* meta.stage.mk: meta mode version of staging
990
991	* init.mk, final.mk: include local.*.mk to simplify customization
992
9932011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
994
995	* auto.obj.mk: just because we are doing mk destroy, we should
996	  still set .OBJDIR correctly if it exists.
997
998	* install-mk (mksrc): do not exclude meta.sys.mk
999
10002011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1001
1002	* host-target.mk: set/export _HOST_ARCH etc separately,
1003	  catch junk resulting from uname -p, so we can find sys/Linux.mk
1004	  correctly.
1005
10062011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
1007
1008	* meta.sys.mk: throw an error if /dev/filemon is missing and we
1009	  expected to be updating Makefile.depend*
1010
10112011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
1012
1013	* install-mk (MK_VERSION): bump version to 20110214
1014	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
1015
10162010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1017
1018	* meta.sys.mk: not valid for older bmake
1019
10202010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>
1021
1022	* install-mk (MK_VERSION): bump version to 20100919
1023	include dirdeps.mk et al from Juniper Networks,
1024	for meta mode - requires filemon(9).
1025	* sys.mk, subdir.mk: Add hooks for meta mode.
1026	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
1027	to make turning it on/off simple.
1028
10292010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1030
1031	* install-mk (MK_VERSION): bump version to 20100616
1032	* fix typo in sys.mk
1033
10342010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1035
1036	* install-mk (MK_VERSION): bump version to 20100612
1037	* lib.mk: remove duplicate addition to SOBJS
1038
10392010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1040
1041	* sys.mk: Add a means of selectively turning on debug flags.
1042	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
1043	  will act as if we did make -dv if .CURDIR ends in lib/sjg
1044	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
1045	  the start of sys.mk rather than the end.
1046	  This only makes sense for leaf dirs, so we check that
1047	  .MAKE.LEVEL > 0
1048
10492010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>
1050
1051	* install-mk (MK_VERSION): bump version to 20100608
1052	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
1053	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
1054	  also make it easier for folk to tweak
1055
10562010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1057
1058	* install-mk (MK_VERSION): bump version to 20100606
1059	  do not install examples/*
1060	* FILES: add examples/sys.clean-env.mk
1061	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
1062	  this requires bmake-20100606 or later to work.
1063
10642010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1065
1066	* sys.mk (M_tA): better simulate the result of :tA if not available.
1067
10682010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1069
1070	* sys.mk: canonicalize MAKE_VERSION
1071	  old versions reported bmake-<src-date> build-<build-date>
1072	  whereas we only care about <src-date>
1073
10742010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1075
1076	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
1077	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
1078	  is !empty
1079
10802010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
1081
1082	* dpadd.mk: use LDADD_* if defined.
1083
10842010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
1085
1086	* install-mk (MK_VERSION): bump version to 20100420
1087	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
1088	* autoconf.mk allow AUTO_AUTOCONF
1089
10902010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>
1091
1092	* obj.mk: add objwarn to keep freebsd makefiles happy
1093	* auto.obj.mk: ensure Mkdirs is available.
1094	* FILES: add auto.dep.mk - a simpler version of autodep.mk
1095	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
1096	  asked to do that.
1097	  fix/simplify the tests for when to run mkdep.
1098	* auto.dep.mk: add some explanation of how/what we do.
1099	* autodep.mk: skip the .OPTIONAL frobbing of .depend
1100	  bmake's FROM_DEPEND flag makes it redundant.
1101
11022010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1103
1104	* install-mk (MK_VERSION): bump version to 20100404
1105	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
1106	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
1107	Also create a target _SUBDIRUSE so that we can  be used without
1108	subdir.mk
1109
11102010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1111
1112	* dep.mk: use <> when .including so can override.
1113
11142010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1115
1116	* lib.mk (SHLIB_LINKS): ensure a string comparison.
1117
11182010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1119
1120	* install-mk (MK_VERSION): bump version to 20100102
1121	* own.mk: ensure PRINTOBJDIR works
1122	* autoconf.mk: pass on CONFIGURE_ARGS
1123	* init.mk: handle COPTS.${.IMPSRC:T} etc.
1124	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
1125	  fix handling of symlinks for darwin
1126	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
1127	* man.mk: suppress chown when not root.
1128	* rst2htm.mk: allow srcs from multiple locations.
1129	* sys.mk: M_whence, stop after 1st line of output.
1130	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
1131	* sys/SunOS.mk: we need to export PATH
1132
11332009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>
1134
1135	* install-mk (MK_VERSION): bump version
1136	  include rst2htm.mk
1137
11382009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>
1139
1140	* sys.mk,libnames.mk add .-include <local.*>
1141	  this allows local customization without the need to edit the
1142	  distributed files.
1143
11442009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>
1145
1146	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
1147	  older versions already installed.
1148
11492009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>
1150
1151	* stage.mk (.stage-install): generalize lib.mk's .libinstall
1152	* rules.mk rules for generic Makefile.
1153	* inc.mk install for includes.
1154
11552009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>
1156
1157	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
1158	  this, so provide it if using native make.
1159
11602009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>
1161
1162	* FILES: move all the platform *.sys.mk files to sys/*.mk
1163	* Rename Generic.sys.mk to sys.mk - we always want it.
1164
11652009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>
1166
1167	* install-mk (MK_VERSION): bump version
1168	* host-target.mk: only export the expensive stuff
1169	* Generic.sys.mk (sys_mk): for SunOS we need to look for
1170	  ${HOST_OS}.${HOST_OSMAJOR} too!
1171
11722009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>
1173
1174	* install-mk (MK_VERSION): bump version
1175	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
1176	  based on patch from Greg Olszewski.
1177	* Generic.sys.mk: if we have nothing to work with
1178	set LORDER etc only if we can find it.
1179
11802009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
1181
1182	* install-mk (MK_VERSION): bump version
1183	* man.mk: cleanman: remove CLEANMAN if defined.
1184
11852009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>
1186
1187	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
1188
11892009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>
1190
1191	* install-mk (MK_VERSION): bump version
1192	include auto.obj.mk
1193
1194
11952009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
1196
1197	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
1198
11992008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
1200
1201	* install-mk (MK_VERSION): bump version
1202	man.mk: ensure we generate *.cat1 etc in .
1203
12042008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>
1205
1206	* install-mk (MK_VERSION): bump version
1207	add prlist.mk
1208
12092007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
1210
1211	* Generic.sys.mk: Allow os specific sys.mk to be in a
1212	subdir of ${.PARSEDIR}
1213
12142007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>
1215
1216	* install-mk (MK_VERSION): bump version
1217	* general cleanup
1218	* dpadd.mk introduce DPMAGIC_LIBS_*
1219
12202007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>
1221
1222	* install-mk (MK_VERSION): bump version
1223
1224	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
1225	depend files and ensure clean is called for each lib/prog.
1226
12272007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>
1228
1229	* autodep.mk (.depend): delete lines that do not start with
1230	space and do not contain ':'
1231
12322007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>
1233
1234	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
1235	so make sure the transform for .OPTIONAL copes.
1236
12372007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1238
1239	* install-mk (MK_VERSION): bump version
1240
1241	* own.mk: make sure RM and LN are defined.
1242
1243	* obj.mk: fix a typo, and objlink target.
1244
12452006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>
1246
1247	* install-mk (MK_VERSION): bump version
1248	* added libs.mk - analogous to progs.mk
1249	  make both of them always inlcude {lib,prog}.mk
1250
12512006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>
1252
1253	* progs.mk: add a means of building multiple apps in one dir.
1254
12552006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
1256
1257	* install-mk (MK_VERSION): bump version to 20061126
1258
1259	* warnings.mk: detect invalid WARNINGS_SET
1260
1261	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
1262	specific warnings.
1263
1264	* For .cc sources, turn off warnings that g++ vomits on.
1265
12662006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>
1267
1268	* own.mk: if __initialized__ target doesn't exist and we are
1269	FreeBSD we got here directly from sys.mk
1270
12712006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>
1272
1273	* install-mk (MK_VERSION): bump version to 20061106
1274	add scripts.mk
1275
12762006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
1277
1278	* install-mk (MK_VERSION): bump version to 20060318
1279
1280	* autodep.mk: avoid := when modifying OBJS into __dependsrcs
1281
12822006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>
1283
1284	* install-mk (MK_VERSION): bump version to 20060302
1285	* autodep.mk: use -MF et al to help gcc+ccache DTRT.
1286
12872006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
1288
1289	* install-mk (MK_VERSION): bump version to 20060301
1290	* autodep.mk (.depend):
1291	if MAKE_VERSION is newer than  20050530 we can make .END depend on
1292	.depend and make .depend depend on __depsrcs that exist.
1293	* dpadd.mk: add SRC_PATHADD
1294
12952005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
1296
1297	* install-mk (MK_VERSION): bump version to 20051104
1298	* prog.mk: remove all the LIBC?= junk, use
1299	.-include libnames.mk instead (none by default).
1300	also if USE_DPADD_MK is set, include that.
1301
13022005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
1303
1304	* install-mk (MK_VERSION): bump version to 20051001
1305	Add UnixWare.sys.mk from Klaus Heinz.
1306
13072005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>
1308
1309	* install-mk: always install *.sys.mk and if need be symlink one
1310	to sys.mk
1311
13122005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
1313
1314	* subdir.mk, own.mk: use .MAKE rather than MAKE
1315
13162004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
1317
1318	* own.mk: don't use NetBSD's _SRC_TOP_ it can
1319	cause confusion.  Also don't take just 'mk' as a
1320	srctop indicator.
1321
13222004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
1323
1324	* warnings.mk: overhauled, now very powerful.
1325
13262004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1327
1328	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
1329
13302004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>
1331
1332	* install-mk (MK_VERSION): bump version to 20040201
1333	* extract HOST_TARGET stuff to host-target.mk so own.mk and
1334	Generic.sys.mk can share.
1335	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
1336
13372003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>
1338
1339	* install-mk (MK_VERSION): 20030930
1340	* rename generic.sys.mk to Generic.sys.mk
1341	so that it does not get installed (unless being used as sys.mk)
1342	* set OS and ROOT_GROUP for those that we know the value.
1343	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
1344	we don't do it again for each sub-make.
1345
13462003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
1347
1348	* install-mk (MK_VERSION): 20030928
1349	Add some extra *.sys.mk from bootstrap-pkgsrc
1350	some of these likely still need work.
1351	Make everything default to root:wheel ownership,
1352	sys.mk can set ROOT_GROUP accordingly.
1353
13542003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>
1355
1356	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
1357	not the portable ones.
1358
13592003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
1360
1361	* install-mk: add ability to use cp -f when updating
1362	destination .mk files.  Also now possible to play games with
1363	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
1364	into dest - not recommended unless you seriously want to.
1365
13662003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
1367
1368	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
1369	for semi-compatability with NetBSD.
1370
13712003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
1372
1373	* install-mk: add a version indicator
1374
13752003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>
1376
1377	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
1378
1379	* install-mk: Allow FORCE_SYS_MK to come from env
1380
1381
1382
1383