xref: /freebsd/contrib/bmake/mk/ChangeLog (revision 8a0a413e)
12017-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
2
3	* Allow for host32 on rare occasions.
4
52017-10-18  Simon J. Gerraty  <sjg@bad.crufty.net>
6
7	* install-mk (MK_VERSION): 20171018
8
9	* whats.mk: include what_thing in what_uuid to avoid problem
10	  when building multiple apps in the same directory.
11
122017-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
13
14	* install-mk (MK_VERSION): 20170812
15
16	* autoconf.mk: Use CONFIGURE_DEPS so Makefile can
17	  add dependencies for config.recheck and config.gen
18
192017-06-30  Simon J. Gerraty  <sjg@bad.crufty.net>
20
21	* install-mk (MK_VERSION): 20170630
22
23	* meta.stage.mk: avoid triggering stage_* targets with nothing to do.
24
252017-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
26
27	* meta2deps.py: take special care of '..'
28
292017-05-15  Simon J. Gerraty  <sjg@bad.crufty.net>
30
31	* install-mk (MK_VERSION): 20170515
32
33	* dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is
34	useful/necessary for a Makefile.depend file to export some knobs.
35	This is complicated when we are doing DIRDEPS_CACHE, so we will
36	handle export of any variables listed in DEP_EXPORT_VARS.
37
382017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>
39
40	* install-mk (MK_VERSION): 20170505
41
42	* meta2deps.py: fix botched indenation.
43
442017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
45
46	* sys/*.mk: Remove setting of MAKE it is unnecessary and
47	  in many cases wrong (basname rather than full path)
48
49	* scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk
50
51	* init.mk: define realbuild to simplify logic in {lib,prog}.mk etc
52
532017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
54
55	* install-mk (MK_VERSION): 20170501
56
57	* doc.mk: fix typo in DOC_INSTALL_OWN
58
59	* inc.mk: handle INCGROUPS similar to freebsd
60
61	* files.mk: add something for files too
62
63	* add staging logic to lib.mk prog.mk etc.
64
652017-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
66
67	* install-mk (MK_VERSION): 20170424
68
69	* dirdeps.mk: set NO_DIRDEPS when bootstrapping.
70	  also target of bootstrap-this when sed is needed should be ${_want:T}
71
722017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
73
74	* install-mk (MK_VERSION): 20170418
75
76	* auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a
77	  prefix match for .CURDIR - in which case .CURDIR *is* __objdir.
78
792017-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
80
81	* install-mk (MK_VERSION): 20170401
82
83	* meta2deps.py: add is_src so we can check if obj dependency
84	  is also a src dependency.
85
862017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
87
88	* install-mk (MK_VERSION): 20170326
89
90	* meta.stage.mk: do nothing if NO_STAGING is defined.
91
922017-03-24  Simon J. Gerraty  <sjg@bad.crufty.net>
93
94	* auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc.
95
962017-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
97
98	* mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_*
99
1002017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
101
102	* install-mk (MK_VERSION): 20170301
103
104	* dirdeps.mk (_build_all_dirs): update this outside test for empty
105	  DIRDEPS.
106
107	* meta.stage.mk: allow multiple inclusion to the extent it makes
108	  sense.
109
1102017-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
111
112	* prog.mk (install_links): depends on realinstall
113
1142017-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>
115
116	* install-mk (MK_VERSION): 20170212
117
118	* dpadd.mk: avoid applying :T:R twice to DPLIBS entries
119
1202017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>
121
122	* install-mk (MK_VERSION): 20170130
123
124	* dirdeps.mk: use :range if we can.
125
126	* sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130
127
128	* meta2deps.py: clean paths without using realpath() where possible.
129	  fix sort_unique.
130
1312016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
132
133	* install-mk (MK_VERSION): 20161212
134
135	* meta2deps.py: set pid_cwd[pid] when we process 'C'hdir,
136	rather than when we detect pid change.
137
1382016-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>
139
140	* install-mk (MK_VERSION): 20161207
141
142	* meta.stage.mk: add stage_as_and_symlink for staging packages.
143	  We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able
144	  to use foo.tgz to reference the latest staged version - so we
145	  make foo.tgz a symlink to it.
146	  Using a target to do both operations ensures we stay in sync.
147
1482016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
149
150	* install-mk (MK_VERSION): 20161126
151
152	* dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk
153	  so it can add dependencies.
154
1552016-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
156
157	* dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE
158	  do that they can influence the result correctly.
159
160	* dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC
161
162	* dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST
163	  similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST
164
1652016-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>
166
167	* dirdeps.mk: remove dependence on jot (normal situations anyway).
168	  Before we read another Makefile.depend* set DEP_* vars from
169	  _DEP_TARGET_SPEC in case it uses any of them with :=
170	  When bootstrapping, trim any ,* from extention of chosen _src
171	  Makefile.depend* to get the machine value we subst for.
172
1732016-09-30  Simon J. Gerraty  <sjg@bad.crufty.net>
174
175	* dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to
176	  DEP_SKIP_DIR and DEP_DIRDEPS_FILTER
177
178	* sys.mk: extract some bits to sys.{debug,vars}.mk
179	  for easier re-use by others.
180
1812016-09-23  Simon Gerraty  <sjg@sjg-mba13>
182
183	* lib.mk: Use ${PICO} for extension for PIC objects.
184	  default to .pico (like NetBSD) safe on case insensitive filesystem.
185
1862016-08-19  Simon J. Gerraty  <sjg@bad.crufty.net>
187
188	* meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default
189
1902016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
191
192	* install-mk (MK_VERSION): 20160815
193
194	* dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only
195	consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date.
196
1972016-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>
198
199	* meta.sys.mk (.MAKE.META.IGNORE_PATHS):
200	  in meta mode we can ignore the mtime of makefiles
201
2022016-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
203
204	* install-mk (MK_VERSION): 20160802
205
206	* lib.mk (libinstall): depends on beforinstall
207
208	* prog.mk (proginstall): depends on beforinstall
209	  patch from Lauri Tirkkonen
210
211	* dirdeps.mk (bootstrap): When bootstrapping; creat
212	.MAKE.DEPENDFILE_DEFAULT and allow additional filtering via
213	.MAKE.DEPENDFILE_BOOTSTRAP_SED
214
215	* dirdeps.mk: move some comments to where they make sense.
216
2172016-07-27  Simon J. Gerraty  <sjg@bad.crufty.net>
218
219	* dirdeps.mk (DIRDEPS_CACHE): no dirname.
220
2212016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
222
223	* install-mk (MK_VERSION): 20160602
224	* meta.autodep.mk: when passing META_FILES to gendirdeps.mk
225	  do not apply :T to META_XTRAS
226	  patch from Bryan Drewery at FreeBSD.org.
227
2282016-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
229
230	* install-mk (MK_VERSION): 20160530
231	* meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH
232	  make it so.
233
2342016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
235
236	* install-mk (MK_VERSION): 20160512
237
238	* dpadd.mk: always include local.dpadd.mk if it exists
239	  remove some things that better belong in local.dpadd.mk
240	  skip INCLUDES_* for staged libs unless SRC_* defined.
241
242	* own.mk: add INCLUDEDIR
243
2442016-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
245
246	* dirdeps.mk: when doing -f dirdeps.mk if target suppies no
247	  TARGET_MACHINE - :E will be empty or match part of path, use
248	  ${MACHINE}
249
2502016-04-07  Simon J. Gerraty  <sjg@bad.crufty.net>
251
252	* meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
253	  NO_FILEMON_COOKIE
254
255	* dirdeps.mk: move the logic that allows for
256	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
257	  inside the check for !target(_DIRDEP_USE)
258
2592016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
260
261	* Use <> when including local*.mk and others which may exist
262	  elsewhere so that user can better control what they get.
263
264	* meta.autodep.mk (NO_FILEMON_COOKIE):
265	  create a cookie if we ever build dir with nofilemon
266	  so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
267
2682016-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
269
270	* install-mk (MK_VERSION): 20160401
271
272	* meta2deps.py: fix old print statement when debugging.
273
274	* gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
275	  patch from Bryan Drewery
276
2772016-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
278
279	* install-mk (MK_VERSION): 20160317 (St. Pats)
280
281	* warnings.mk: g++ does not like -Wimplicit
282
283	* sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
284	  pelthora of common suffixes for C++
285
286	* lib.mk: use .So for shared objects
287
2882016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
289
290	* install-mk (MK_VERSION): 20160315
291
292	* meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
293	  normally only applies to scripts.
294
295	* dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
296	  well as outside it.
297
2982016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
299
300	* install-mk (MK_VERSION): 20160310
301
302	* dirdeps.mk: use targets rather than a list to track DIRDEPS that
303	  we have processed; the list gets very inefficient as number of
304	  DIRDEPS gets large.
305
306	* sys.dependfile.mk: fix comment wrt MACHINE
307
308	* meta.autodep.mk: ignore staged DPADDs when bootstrapping.
309	  patch from Bryan Drewery
310
3112016-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
312
313	* meta2deps.sh: don't ignore subdirs.
314	  patch from Bryan Drewery
315
3162016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
317
318	* install-mk (MK_VERSION): 20160226
319
320	* gendirdeps.mk: mark _DEPENDFILE .NOMETA
321
3222016-02-20  Simon J. Gerraty  <sjg@bad.crufty.net>
323
324	* dirdeps.mk: we shouldn't normally include .depend but if we do
325	  use .dinclude if we can.
326
3272016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
328
329	* install-mk (MK_VERSION): 20160218
330	* sys.clean-env.mk: with recent change to Var_Subst()
331	  we cannot use the '$$' trick, but .export-literal does the job
332	  we need.
333	* auto.dep.mk: make use .dinclude if we can.
334
335
3362016-02-05  Simon J. Gerraty  <sjg@bad.crufty.net>
337
338	* dirdeps.mk:
339	  Add _build_all_dirs such that local.dirdeps.mk can
340	  add fully qualified dirs to it.
341	  These will be built normally but the current
342	  DEP_RELDIR will not depend on then (to avoid cycles).
343	  This makes it easy to hook things like unit-tests into build.
344
345
3462016-01-21  Simon J. Gerraty  <sjg@bad.crufty.net>
347
348	* dirdeps.mk: add bootstrap-empty
349
3502015-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
351
352	* install-mk (MK_VERSION): 20151212
353	* auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
354	  only apply :tA to __objdir when comparing to .OBJDIR
355
3562015-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
357
358	* install-mk (MK_VERSION): 20151111
359
360	* meta.sys.mk: include sys.dependfile.mk
361
362	* sys.mk (OPTIONS_DEFAULT_NO): use options.mk
363	  to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
364	  include local.sys.env.mk early
365	  include local.sys.mk later
366
367	* own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
368
3692015-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
370
371	* meta.sys.mk (META_COOKIE_TOUCH):
372	  add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
373
374	* meta.stage.mk: stage_libs should ignore SYMLINKS.
375
3762015-10-23  Simon J. Gerraty  <sjg@bad.crufty.net>
377
378	* install-mk (MK_VERSION): 20151022
379
380	* sys.mk: BSD/OS does not have 'type' as a shell builtin.
381
3822015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
383
384	* install-mk (MK_VERSION): 20151020
385
386	* dirdeps.mk: Add logic for
387	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
388
3892015-10-14  Simon J. Gerraty  <sjg@bad.crufty.net>
390
391	* install-mk (MK_VERSION): 20151010
392
3932015-10-02  Simon J. Gerraty  <sjg@bad.crufty.net>
394
395	* meta.stage.mk: use staging: ${STAGE_TARGETS:...
396	  to have stage_lins run last in non-jobs mode.
397	  Use .ORDER only for jobs mode.
398
3992015-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
400
401	* rst2htm.mk: allow for per target flags etc.
402
4032015-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
404
405	* install-mk (MK_VERSION): 20150901
406
407	* doc.mk: create dir if needed use DOC_INSTALL_OWN
408
4092015-06-15  Simon J. Gerraty  <sjg@bad.crufty.net>
410
411	* install-mk (MK_VERSION): 20150615
412
413	* auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
414	  Follow make's normal precedence rules.
415
416	* gendirdeps.mk: allow customization of the header.
417	  eg. for FreeBSD:
418	  GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
419
420	* meta.autodep.mk: ignore dirdeps.cache*
421
422	* meta.stage.mk: when bootstrapping options it can be handy to
423	  throw warnings rather than errors for staging conflicts.
424
425	* meta.sys.mk: include local.meta.sys.mk for customization
426
4272015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
428
429	* install-mk (MK_VERSION): 20150606
430
431	* dirdeps.mk: don't rely on manually maintained Makefile.depend
432	  to set DEP_RELDIR and reset DIRDEPS.
433	  By setting DEP_RELDIR ourselves we can skip :tA
434
435	* gendirdeps.mk: skip setting DEP_RELDIR.
436
4372015-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
438
439	* dirdeps.mk: avoid wildcards like make(bootstrap*)
440
4412015-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
442
443	* install-mk (MK_VERSION): 20150520
444
445	* dirdeps.mk: when we are building dirdeps cache file we *want*
446	  meta_oodate to look at all the Makefile.depend files, so
447	  set .MAKE.DEPENDFILE to something that won't match.
448
449	* meta.stage.mk: for STAGE_AS_* basename of file may not be unique
450	  so first use absolute path as key.
451	  Also skip staging at level 0.
452
4532015-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
454
455	* install-mk (MK_VERSION): 20150430
456
457	* dirdeps.mk: fix _count_dirdeps for non-cache case.
458
4592015-04-16  Simon J. Gerraty  <sjg@bad.crufty.net>
460
461	* install-mk (MK_VERSION): 20150411
462	  bump version
463
464	* own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
465	  it is here mainly for documentation purposes, since
466	  if using auto.obj.mk it is better done via sys.mk
467
4682015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
469
470	* install-mk (MK_VERSION): 20150401
471
472	* meta2deps.sh: support @list
473
474	* meta2deps.py: updates from Juniper
475	  o add EXCLUDES
476	  o skip bogus input files.
477	  o treat 'M' and 'L' as both an 'R' and a 'W'
478
4792015-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
480
481	* install-mk (MK_VERSION): 20150303
482
483	* dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
484	  which is built via sub-make so we have a .meta file to tell if
485	  it is out-of-date.
486	  The dirdeps-cache contains the same dependency rules that we
487	  normaly construct on the fly.
488	  This adds a few seconds overhead when the cache is out of date,
489	  but for a large target, the savings can be significant (10-20min).
490
4912014-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
492
493	* install-mk (MK_VERSION): 20141118
494
495	* meta.stage.mk: add stale_staged
496
497	* dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
498	  only useful under very rare conditions such as
499	  FreeBSD's make universe.
500
501	* auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
502
5032014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
504
505	* install-mk (MK_VERSION): 20141111
506
507	* mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
508
5092014-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
510
511	* FILES: include mkopt.sh which allows handling options in shell
512	  scripts in a manner compatible with options.mk
513
5142014-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
515
516	* meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
517	  for GENDIRDEPS_FILTER to avoid surprises.
518
5192014-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
520
521	* dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
522	  the time it is applied to __depdirs they have.
523
524	* dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
525	  expects patterns like *.${MACHINE}
526
527	* cython.mk (pyprefix?): use pyprefix to find python bits
528	  since prefix might be something else (where we install our
529	  stuff)
530
5312014-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
532
533	* install-mk (MK_VERSION): 20140911
534
535	* dirdeps.mk: add bootstrap target to simplify adding support for
536	  new MACHINE.
537
5382014-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
539
540	* gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
541	  GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
542	  Makefile.depend files.
543
5442014-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
545
546	* install-mk (MK_VERSION): 20140828
547
548	* cython.mk: capture logic for building python extension modules
549	  with Cython.
550
5512014-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
552
553	* meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
554
5552014-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
556
557	* install-mk (MK_VERSION): 20140801
558
559	* dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
560	identify the autodep.mk variant.
561
562	* sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
563	initial value does not match .MAKE.DEPENDFILE_PREFIX
564
565	* meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
566
5672014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
568
569	* install-mk (MK_VERSION): 20140522
570
571	* lib.mk: use CC to link shlib for linux too
572	  patch from Brendan MacDonell
573
5742014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
575
576	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
577	  if WITH_META_STATS is defined.
578
5792014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
580
581	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
582	  to supress dirdeps outside of .CURDIR.
583
5842014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
585
586	* Fix spelling errors - patch from Pedro Giffuni
587
5882014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>
589
590	* install-mk (MK_VERSION): 20140314
591
592	* dirdeps.mk (beforedirdeps): a handy hook
593
594	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
595	  to visit leaf dirs to be intercepted (eg. for distributed
596	  build).
597
598	* dirdeps.mk (__depdirs): ensure // don't sneak in
599
600	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in
601
602
6032014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>
604
605	* rst2htm.mk (RST2PDF): add support for rst2pdf
606
6072014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
608
609	* install-mk (MK_VERSION): bump version
610	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
611	  available.
612
6132014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
614
615	* options.mk: avoid :U so this isn't bmake dependent
616
6172014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>
618
619	* options.mk: cleanup and simplify semanitcs
620	  NO_* dominates all, if both WITH_* and WITHOUT_*
621	  are defined then result is DOMINATE_* which defaults to "no".
622	  Ie. WITHOUT_ normally wins.
623
6242013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
625
626	* install-mk (MK_VERSION): bump version
627	* meta2deps.py: convert to print function for python3 compat.
628	  we also need to open files with mode 'r' rather than 'rb'
629	  otherwise we get bytes instead of strings.
630
6312013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
632
633	* install-mk (MK_VERSION): bump version
634
635	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
636	  apply the same filtering (M_dep_qual_fixes) when setting _machines
637	  as _build_dirs.
638	  Also fix the filtering of Makefile.depend files - for reporting
639	  what we are looking for (M_dep_qual_fixes can get confused by
640	  Makefile.depend)
641	  Add some more debug info.
642
6432013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
644
645	* gendirdeps.mk (_objtops): fix typo also
646	  while processing M2D_OBJROOTS to gather qualdir_list
647	  qualify $ql with loop iterator to ensure correct results.
648
6492013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
650
651	* install-mk (MK_VERSION): 20130801
652	* libs.mk: update to match progs.mk
653
6542013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>
655
656	* install-mk (MK_VERSION): 20130726
657	  some updates from Juniper and FreeBSD
658	  o meta2deps.py: indicate file and line number when we hit parse
659	    errors
660	    also allow @file to provide huge list of .meta files.
661	* meta2deps.py: add try_parse() to cleanup the above.
662
6632013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
664
665	* install-mk (MK_VERSION): 20130716
666	* own.mk: add GPROG as an option
667	* prog.mk: honor MK_GPROF==yes
668
6692013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
670
671	* install-mk (MK_VERSION): 20130505
672	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
673	  for when $MACHINE isn't enough for objdir distinction.
674	  Bring meta2deps.sh closer to par with meta2deps.py.
675
6762013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
677
678	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
679	  also if the target 'beforeinstall' exists, make it depend on
680	  .dirdep (incase it uses STAGE_INSTALL).
681
6822013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
683
684	* install-mk (MK_VERSION): 20130401 ;-)
685	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
686	  wrapper around install(1).
687	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
688
6892013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
690
691	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
692	* install-mk (MK_VERSION): bump version
693
6942013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>
695
696	* install-mk (MK_VERSION): bump version
697	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
698	  any trailing /., rather apply :tA only when needed.
699	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
700	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
701	  consistently.
702	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
703
7042013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
705
706	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
707	  it is simpler to just not update when say building for "host"
708	  (where we know we apply filters to DIRDEPS), and using a
709	  non-machine qualified dependfile.
710
7112013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
712
713	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
714	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
715	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
716	* meta2deps.py: if machine is "host", then also trim
717	  self.host_target from any OBJROOTS.
718
719
7202013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
721
722	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
723	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
724	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
725	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.
726
7272013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>
728
729	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
730	  and hook to all: via staging:
731
7322013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
733
734	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
735	  use a separate variable for the default .MAKE.DEPENDFILE value
736	  so that it can be controlled independently of
737	  .MAKE.DEPENDFILE_PREFERENCE
738
739	* meta.stage.mk: throw error if cp fails etc.
740	  Stage*() return early if passed no args.
741	  .ORDER stage_*
742
7432013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
744
745	* install-mk (MK_VERSION): bump version
746	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
747
7482013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
749
750	* install-mk (MK_VERSION): bump version to 20130210
751	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
752	  from Juniper.
753	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
754	    than just MACHINE.
755	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.
756
7572013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>
758
759	* install-mk (MK_VERSION): bump version to 20130123
760	* meta.stage.mk: add stage_links (hard links).
761	  if doing hard links, we add dest to link as well.
762	  Default the stage dir for [sym]links to STAGE_OBJTOP since
763	  these are typically specified as absolute paths.
764	  Add -m "mode" flag to StageFiles and StageAs.
765
7662012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
767
768	* install-mk (MK_VERSION): bump version to 20121111
769	* autoconf.mk: avoid meta mode seeing changed commands for config.status
770	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
771	  in case we were found via .../mk
772	* sys.clean-env.mk: move it from examples, we and others use it
773	  "as is".
774	* FILES: add srctop.mk and options.mk
775	* own.mk: convert to using options.mk
776	  which is modeled after FreeBSD's handling of MK_*
777	  but more flexible.
778	  This allows MK_* for boolean knobs to not be confused
779	  with MK* which can be commands.
780
781	* examples/sys.clean-env.mk: add WITH[OUT]_ to
782	  MAKE_ENV_SAVE_PREFIX_LIST.
783	  Mention that HOME=/var/empty might be a good idea.
784
7852012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>
786
787	* sys.dependfile.mk: if not depend file exists, $MACHINE
788	  specific ones are supported but not the default,
789	  check if any exist and follow suit.
790
7912012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>
792
793	* install-mk (MK_VERSION): bump version to 20121106
794
7952012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
796
797	* import latest dirdeps.mk and meta2deps.py from Juniper.
798	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
799	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
800	  appropriate.
801
8022012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>
803
804	* meta.stage.mk: update CLEANFILES
805	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
806	* progs.mk: Add LDADD to PROG_VARS
807
8082012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
809
810	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
811	  _STAGED_DIRS so that these can be turned into filters for
812	  GENDIRDEPS_FILTER.
813
8142012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
815
816	* install-mk (MK_VERSION): bump version to 20121010
817	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
818	target.dirdep matches .dirdep
819
8202012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
821
822	* install-mk (MK_VERSION): bump version to 20120808
823	* import latest meta2deps.py from Juniper.
824
8252012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
826
827	* install-mk (MK_VERSION): bump version to 20120711
828	* dep.mk: add explicit dependencies on SRCS after applying
829	  SRCS_DEP_FILTER
830	* meta.autodep.mk: add explicit dependencies on SRCS after
831	  applying SRCS_DEP_FILTER
832	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
833
8342012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
835
836	* install-mk (MK_VERSION): bump version to 20120626
837	* meta.sys.mk: ignore PYTHON if it does not exist
838	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
839	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
840	  entries ending in .${MACHINE} to decide if qualified _dirdep is
841	  needed.
842	* gendirdeps.mk: only produce unqualified deps if no
843	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
844	* meta.subdir.mk: apply SUBDIRDEPS_FILTER
845
8462012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
847
848	* install-mk (MK_VERSION): bump version to 20120420
849	* add sys.dependfile.mk so we can experiment with
850	  .MAKE.DEPENDFILE_PREFERENCE
851	* meta.autodep.mk: _DEPENDFILE is precious!
852
8532012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
854
855	* install-mk (MK_VERSION): bump version to 20120315
856	* install-new.mk: avoid being interrupted
857
8582012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
859
860	* man.mk: MAN might have multiple values so be careful with exists().
861
8622012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>
863
864	* install-mk (MK_VERSION): bump version to 20120112
865	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
866	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
867
8682011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>
869
870	* install-mk (MK_VERSION):  bump version to 20111201
871	* import dirdeps.mk from Juniper sjg@
872	  o more consistent handling of DEP_MACHINE, especially when
873	    dealing with an odd Makefile.depend, when normally using
874	    Makefile.depend.${MACHINE}
875
8762011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>
877
878	* install-mk (MK_VERSION): bump version to 20111122
879	* meta.autodep.mk: add some debug output, be more crisp about
880	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend
881
8822011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
883
884	* install-mk (MK_VERSION): bump version to 20111111
885	  it's too cool to miss
886	* import meta* updates from Juniper sjg@
887	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
888	    normally using Makefile.depend.${MACHINE}), handy for
889	    read-only manually maintained dependencies.
890	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
891	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
892	    anything.
893
8942011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>
895
896	* install-new.mk separate the cmp and copy logic to its own function.
897
8982011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
899
900	* install-mk (MK_VERSION): bump version to 20111028
901	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
902	* subdir.mk: ensure _SUBDIRUSE is provided
903	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
904	* meta.subdir.mk: always allow for Makefile.depend
905
9062011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
907
908	* install-mk (MK_VERSION): bump version to 20111010
909	  o minor tweak to *dirdeps.mk from Juniper sjg@
910
9112011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
912
913	* install-mk (MK_VERSION): bump version to 20111001
914	  o add meta2deps.py from Juniper sjg@
915	  o tweak gendirdeps.mk to work with meta2deps.py when not
916	    cross-building
917	* autoconf.mk: add autoconf-input as a hook for regenerating
918	  AUTOCONF_INPUTS (configure).
919
9202011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>
921
922	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
923	  trigger for updating Makefile.depend*
924
9252011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
926
927	* install-mk (MK_VERSION): bump version to 20110808
928	* obj.mk: minor cleanup
929	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
930
9312011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
932
933	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
934	  specified dir.
935
9362011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
937
938	* meta.autodep.mk: if XMAKE_META_FILE is set
939	  the makefile uses a foreign make, and so dependencies
940	  can only be gathered from a clean tree build.
941
9422011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>
943
944	* install-mk (MK_VERSION): bump version to 20110622
945	* meta.autodep.mk: improve bootstraping
946
9472011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
948
949	* yacc.mk: handle the corner case of .c being removed
950	  while .h remains.
951
9522011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
953
954	* yacc.mk: do .y.h and .y.c separately
955
9562011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
957
958	* install-mk (MK_VERSION): bump version to 20110606
959	* don't store SRC_DIRDEPS in Makefile.depend* by default
960	  not everyone needs it.
961
9622011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
963
964	* install-mk (MK_VERSION): bump version to 20110505
965	  first release including meta mode makefiles
966
9672011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
968
969	* meta.stage.mk: add STAGE_AS_SETS and stage_as
970	  for things that need to be staged with different names.
971
9722011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
973
974	* meta.stage.mk: add notion of STAGE_SETS
975	  so a makefile can stage to multiple dirs
976
9772011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>
978
979	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
980	  on target name.
981
9822011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
983
984	* install-mk (MK_VERSION): bump version to 20110330
985
9862011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
987
988	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
989	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
990	* sys.mk: re-define M_whence in terms of M_type.
991	  M_type is useful for checking if something is a builtin.
992
9932011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
994
995	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
996	  stage_libs
997
9982011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
999
1000	* dirdeps.mk: correct value for _depdir_files depends on
1001	  .MAKE.DEPENDFILE
1002	  Add our copyright - just to make it clear we have frobbed this
1003	  quite a bit.
1004	  DEP_MACHINE needs to be set to MACHINE each time, if using only
1005	  Makefile.depend (cf. Makefile.depend.${MACHINE})
1006
1007	* meta.stage.mk: meta mode version of staging
1008
1009	* init.mk, final.mk: include local.*.mk to simplify customization
1010
10112011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1012
1013	* auto.obj.mk: just because we are doing mk destroy, we should
1014	  still set .OBJDIR correctly if it exists.
1015
1016	* install-mk (mksrc): do not exclude meta.sys.mk
1017
10182011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1019
1020	* host-target.mk: set/export _HOST_ARCH etc separately,
1021	  catch junk resulting from uname -p, so we can find sys/Linux.mk
1022	  correctly.
1023
10242011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
1025
1026	* meta.sys.mk: throw an error if /dev/filemon is missing and we
1027	  expected to be updating Makefile.depend*
1028
10292011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
1030
1031	* install-mk (MK_VERSION): bump version to 20110214
1032	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
1033
10342010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1035
1036	* meta.sys.mk: not valid for older bmake
1037
10382010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>
1039
1040	* install-mk (MK_VERSION): bump version to 20100919
1041	include dirdeps.mk et al from Juniper Networks,
1042	for meta mode - requires filemon(9).
1043	* sys.mk, subdir.mk: Add hooks for meta mode.
1044	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
1045	to make turning it on/off simple.
1046
10472010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1048
1049	* install-mk (MK_VERSION): bump version to 20100616
1050	* fix typo in sys.mk
1051
10522010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1053
1054	* install-mk (MK_VERSION): bump version to 20100612
1055	* lib.mk: remove duplicate addition to SOBJS
1056
10572010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1058
1059	* sys.mk: Add a means of selectively turning on debug flags.
1060	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
1061	  will act as if we did make -dv if .CURDIR ends in lib/sjg
1062	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
1063	  the start of sys.mk rather than the end.
1064	  This only makes sense for leaf dirs, so we check that
1065	  .MAKE.LEVEL > 0
1066
10672010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>
1068
1069	* install-mk (MK_VERSION): bump version to 20100608
1070	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
1071	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
1072	  also make it easier for folk to tweak
1073
10742010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1075
1076	* install-mk (MK_VERSION): bump version to 20100606
1077	  do not install examples/*
1078	* FILES: add examples/sys.clean-env.mk
1079	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
1080	  this requires bmake-20100606 or later to work.
1081
10822010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1083
1084	* sys.mk (M_tA): better simulate the result of :tA if not available.
1085
10862010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1087
1088	* sys.mk: canonicalize MAKE_VERSION
1089	  old versions reported bmake-<src-date> build-<build-date>
1090	  whereas we only care about <src-date>
1091
10922010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1093
1094	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
1095	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
1096	  is !empty
1097
10982010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
1099
1100	* dpadd.mk: use LDADD_* if defined.
1101
11022010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
1103
1104	* install-mk (MK_VERSION): bump version to 20100420
1105	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
1106	* autoconf.mk allow AUTO_AUTOCONF
1107
11082010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>
1109
1110	* obj.mk: add objwarn to keep freebsd makefiles happy
1111	* auto.obj.mk: ensure Mkdirs is available.
1112	* FILES: add auto.dep.mk - a simpler version of autodep.mk
1113	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
1114	  asked to do that.
1115	  fix/simplify the tests for when to run mkdep.
1116	* auto.dep.mk: add some explanation of how/what we do.
1117	* autodep.mk: skip the .OPTIONAL frobbing of .depend
1118	  bmake's FROM_DEPEND flag makes it redundant.
1119
11202010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1121
1122	* install-mk (MK_VERSION): bump version to 20100404
1123	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
1124	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
1125	Also create a target _SUBDIRUSE so that we can  be used without
1126	subdir.mk
1127
11282010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1129
1130	* dep.mk: use <> when .including so can override.
1131
11322010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1133
1134	* lib.mk (SHLIB_LINKS): ensure a string comparison.
1135
11362010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1137
1138	* install-mk (MK_VERSION): bump version to 20100102
1139	* own.mk: ensure PRINTOBJDIR works
1140	* autoconf.mk: pass on CONFIGURE_ARGS
1141	* init.mk: handle COPTS.${.IMPSRC:T} etc.
1142	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
1143	  fix handling of symlinks for darwin
1144	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
1145	* man.mk: suppress chown when not root.
1146	* rst2htm.mk: allow srcs from multiple locations.
1147	* sys.mk: M_whence, stop after 1st line of output.
1148	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
1149	* sys/SunOS.mk: we need to export PATH
1150
11512009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>
1152
1153	* install-mk (MK_VERSION): bump version
1154	  include rst2htm.mk
1155
11562009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>
1157
1158	* sys.mk,libnames.mk add .-include <local.*>
1159	  this allows local customization without the need to edit the
1160	  distributed files.
1161
11622009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>
1163
1164	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
1165	  older versions already installed.
1166
11672009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>
1168
1169	* stage.mk (.stage-install): generalize lib.mk's .libinstall
1170	* rules.mk rules for generic Makefile.
1171	* inc.mk install for includes.
1172
11732009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>
1174
1175	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
1176	  this, so provide it if using native make.
1177
11782009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>
1179
1180	* FILES: move all the platform *.sys.mk files to sys/*.mk
1181	* Rename Generic.sys.mk to sys.mk - we always want it.
1182
11832009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>
1184
1185	* install-mk (MK_VERSION): bump version
1186	* host-target.mk: only export the expensive stuff
1187	* Generic.sys.mk (sys_mk): for SunOS we need to look for
1188	  ${HOST_OS}.${HOST_OSMAJOR} too!
1189
11902009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>
1191
1192	* install-mk (MK_VERSION): bump version
1193	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
1194	  based on patch from Greg Olszewski.
1195	* Generic.sys.mk: if we have nothing to work with
1196	set LORDER etc only if we can find it.
1197
11982009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
1199
1200	* install-mk (MK_VERSION): bump version
1201	* man.mk: cleanman: remove CLEANMAN if defined.
1202
12032009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>
1204
1205	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
1206
12072009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>
1208
1209	* install-mk (MK_VERSION): bump version
1210	include auto.obj.mk
1211
1212
12132009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
1214
1215	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
1216
12172008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
1218
1219	* install-mk (MK_VERSION): bump version
1220	man.mk: ensure we generate *.cat1 etc in .
1221
12222008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>
1223
1224	* install-mk (MK_VERSION): bump version
1225	add prlist.mk
1226
12272007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
1228
1229	* Generic.sys.mk: Allow os specific sys.mk to be in a
1230	subdir of ${.PARSEDIR}
1231
12322007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>
1233
1234	* install-mk (MK_VERSION): bump version
1235	* general cleanup
1236	* dpadd.mk introduce DPMAGIC_LIBS_*
1237
12382007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>
1239
1240	* install-mk (MK_VERSION): bump version
1241
1242	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
1243	depend files and ensure clean is called for each lib/prog.
1244
12452007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>
1246
1247	* autodep.mk (.depend): delete lines that do not start with
1248	space and do not contain ':'
1249
12502007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>
1251
1252	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
1253	so make sure the transform for .OPTIONAL copes.
1254
12552007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1256
1257	* install-mk (MK_VERSION): bump version
1258
1259	* own.mk: make sure RM and LN are defined.
1260
1261	* obj.mk: fix a typo, and objlink target.
1262
12632006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>
1264
1265	* install-mk (MK_VERSION): bump version
1266	* added libs.mk - analogous to progs.mk
1267	  make both of them always inlcude {lib,prog}.mk
1268
12692006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>
1270
1271	* progs.mk: add a means of building multiple apps in one dir.
1272
12732006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
1274
1275	* install-mk (MK_VERSION): bump version to 20061126
1276
1277	* warnings.mk: detect invalid WARNINGS_SET
1278
1279	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
1280	specific warnings.
1281
1282	* For .cc sources, turn off warnings that g++ vomits on.
1283
12842006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>
1285
1286	* own.mk: if __initialized__ target doesn't exist and we are
1287	FreeBSD we got here directly from sys.mk
1288
12892006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>
1290
1291	* install-mk (MK_VERSION): bump version to 20061106
1292	add scripts.mk
1293
12942006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
1295
1296	* install-mk (MK_VERSION): bump version to 20060318
1297
1298	* autodep.mk: avoid := when modifying OBJS into __dependsrcs
1299
13002006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>
1301
1302	* install-mk (MK_VERSION): bump version to 20060302
1303	* autodep.mk: use -MF et al to help gcc+ccache DTRT.
1304
13052006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
1306
1307	* install-mk (MK_VERSION): bump version to 20060301
1308	* autodep.mk (.depend):
1309	if MAKE_VERSION is newer than  20050530 we can make .END depend on
1310	.depend and make .depend depend on __depsrcs that exist.
1311	* dpadd.mk: add SRC_PATHADD
1312
13132005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
1314
1315	* install-mk (MK_VERSION): bump version to 20051104
1316	* prog.mk: remove all the LIBC?= junk, use
1317	.-include libnames.mk instead (none by default).
1318	also if USE_DPADD_MK is set, include that.
1319
13202005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
1321
1322	* install-mk (MK_VERSION): bump version to 20051001
1323	Add UnixWare.sys.mk from Klaus Heinz.
1324
13252005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>
1326
1327	* install-mk: always install *.sys.mk and if need be symlink one
1328	to sys.mk
1329
13302005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
1331
1332	* subdir.mk, own.mk: use .MAKE rather than MAKE
1333
13342004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
1335
1336	* own.mk: don't use NetBSD's _SRC_TOP_ it can
1337	cause confusion.  Also don't take just 'mk' as a
1338	srctop indicator.
1339
13402004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
1341
1342	* warnings.mk: overhauled, now very powerful.
1343
13442004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1345
1346	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
1347
13482004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>
1349
1350	* install-mk (MK_VERSION): bump version to 20040201
1351	* extract HOST_TARGET stuff to host-target.mk so own.mk and
1352	Generic.sys.mk can share.
1353	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
1354
13552003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>
1356
1357	* install-mk (MK_VERSION): 20030930
1358	* rename generic.sys.mk to Generic.sys.mk
1359	so that it does not get installed (unless being used as sys.mk)
1360	* set OS and ROOT_GROUP for those that we know the value.
1361	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
1362	we don't do it again for each sub-make.
1363
13642003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
1365
1366	* install-mk (MK_VERSION): 20030928
1367	Add some extra *.sys.mk from bootstrap-pkgsrc
1368	some of these likely still need work.
1369	Make everything default to root:wheel ownership,
1370	sys.mk can set ROOT_GROUP accordingly.
1371
13722003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>
1373
1374	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
1375	not the portable ones.
1376
13772003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
1378
1379	* install-mk: add ability to use cp -f when updating
1380	destination .mk files.  Also now possible to play games with
1381	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
1382	into dest - not recommended unless you seriously want to.
1383
13842003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
1385
1386	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
1387	for semi-compatability with NetBSD.
1388
13892003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
1390
1391	* install-mk: add a version indicator
1392
13932003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>
1394
1395	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
1396
1397	* install-mk: Allow FORCE_SYS_MK to come from env
1398
1399
1400
1401