xref: /freebsd/contrib/bmake/mk/ChangeLog (revision f7c32ed617858bcd22f8d1b03199099d50125721)
12021-06-16  Simon J Gerraty  <sjg@beast.crufty.net>
2
3	* install-mk (MK_VERSION): 20210616
4
5	* dirdeps.mk: when using .MAKE.DEPENDFILE_PREFERENCE to find
6	depend files to read, anchor MACHINE at , or end of string
7	to avoid prefix match.
8
92021-05-04  Simon J Gerraty  <sjg@beast.crufty.net>
10
11	* install-mk (MK_VERSION): 20210504
12
13	* dirdeps.mk: re-implement ALL_MACHINES support to better
14	cater for local complexities, when ONLY_TARGET_SPEC_LIST
15	is not set. local.dirdeps.mk can set
16	DIRDEPS_ALL_MACHINES_FILTER and/or
17	DIRDEPS_ALL_MACHINES_FILTER_XTRAS to filter the results we get
18	from listing all existing Makefile.depend.*
19
202021-04-20  Simon J Gerraty  <sjg@beast.crufty.net>
21
22	* install-mk (MK_VERSION): 20210420
23
24	* dirdeps.mk: revert previous - not always safe.
25
262021-03-20  Simon J Gerraty  <sjg@beast.crufty.net>
27
28	* install-mk (MK_VERSION): 20210321
29
30	* dirdeps.mk: when generating dirdeps.cache
31	we only need to hook the initial DIRDEPS to the
32	dirdeps target.  That and any _build_xtra_dirs (like tests which
33	should not be hooked directly to the dependency graph - to avoid
34	cycles)
35
362021-01-30  Simon J Gerraty  <sjg@beast.crufty.net>
37
38	* install-mk (MK_VERSION): 20210130
39
40	* dirdeps.mk: expr 2 - 1 - 1 exits with a bad status
41	  we need to  guard against this in DIRDEP_LOADAVG_REPORT.
42
43	* dirdeps.mk: restore respect for TARGET_MACHINE
44
452021-01-06  Simon J Gerraty  <sjg@beast.crufty.net>
46
47	* install-mk (MK_VERSION): 20210101
48
49	* dirdeps.mk: first time we are read, just use TARGET_SPEC for
50	_DEP_TARGET_SPEC
51
522020-12-22  Simon J Gerraty  <sjg@beast.crufty.net>
53
54	* sys.mk (MAKE_SHELL): use ${.SHELL:Ush}
55	and use := when setting SHELL
56
572020-12-21  Simon J Gerraty  <sjg@beast.crufty.net>
58
59	* install-mk (MK_VERSION): 20201221
60
61	* dirdeps-options.mk: latest bmake allows only one arg to .undef
62
632020-12-11  Simon J Gerraty  <sjg@beast.crufty.net>
64
65	* dirdeps-targets.mk: allow for "." in DIRDEPS_TARGETS_DIRS
66	so that any directory can be treated as a target.
67
682020-11-26  Simon J Gerraty  <sjg@beast.crufty.net>
69
70	* install-mk (MK_VERSION): 20201126
71
72	* own.mk: use .MAKE.{UID,GID} if available.
73
74	* init.mk: suppress _SKIP_BUILD warning if doing -V
75
762020-11-20  Simon J Gerraty  <sjg@beast.crufty.net>
77
78	* install-mk (MK_VERSION): 20201120
79
80	* init.mk: rename LEVEL0_TARGETS to DIRDEPS_BUILD_LEVEL0_TARGETS
81
82	* dirdeps-targets.mk: fix typo in comment
83
842020-11-06  Simon J Gerraty  <sjg@beast.crufty.net>
85
86	* install-mk (MK_VERSION): 20201106
87
88	* meta.autodep.mk: use OBJ_EXTENSIONS rather than hardcode sed
89	args to tweak extensions for local deps.
90
912020-11-01  Simon J Gerraty  <sjg@beast.crufty.net>
92
93	* install-mk (MK_VERSION): 20201101
94
95	* dirdeps.mk: most leaf makefiles are not suitable for building
96	dirdeps.cache so if RELDIR is not "." use dirdeps.mk
97
982020-10-28  Simon J Gerraty  <sjg@beast.crufty.net>
99
100	* install-mk (MK_VERSION): 20201028
101
102	* dirdeps.mk: if we don't have :range use equivalent of M_RANGE
103	when building dirdeps.cache for leaf directory use -f dirdeps.mk
104
105	* sys.vars.mk: add M_JOT and M_RANGE
106
1072020-10-01  Simon J Gerraty  <sjg@beast.crufty.net>
108
109	* install-mk (MK_VERSION): 20201001
110
111	* meta2deps.{py,sh}: throw an error if we don't see filemon version
112
1132020-09-09  Simon J Gerraty  <sjg@beast.crufty.net>
114
115	* install-mk (MK_VERSION): 20200909
116
117	* dirdeps-cache-update.mk: use cache_update_dirdep as guard target
118
1192020-08-26  Simon J Gerraty  <sjg@beast.crufty.net>
120
121	* dirdeps.mk: ensure we cannot confuse a static cache for dynamic
122	(even more rare that use of static cache is playing clever tricks
123	with it)
124
1252020-08-16  Simon J Gerraty  <sjg@beast.crufty.net>
126
127	* dirdeps-cache-update.mk: allow
128	MK_STATIC_DIRDEPS_CACHE_UPDATE_IMMEDIATE to control when we
129	actually update STATIC_DIRDEPS_CACHE.
130
131	* stage-install.sh: create dest directory if needed
132	before running install(1)
133
1342020-08-10  Simon J Gerraty  <sjg@beast.crufty.net>
135
136	* dirdeps-targets.mk: include Makefile.dirdeps.options
137
138	* dirdeps.mk: use _TARGETS if defined for DIRDEPS_CACHE
139
1402020-08-09  Simon J Gerraty  <sjg@beast.crufty.net>
141
142	* dirdeps.mk: default BUILD_DIRDEPS_MAKEFILE to empty
143
144	* dirdeps-cache-update.mk: building parallel cache update
145	under the context of dirdeps-cached would be ideal, but
146	is problematic, so it runs as a sibling.
147	Use cache-built target to ensure we wait for it to complete if
148	necessary.
149
1502020-08-06  Simon J Gerraty  <sjg@beast.crufty.net>
151
152	* install-mk (MK_VERSION): 20200806
153
154	* dirdeps-options: allow TARGET_SPEC to affect option values.
155	Use DIRDEPS_OPTIONS_QUALIFIER_LIST before using bare MK_*
156
157	* dirdeps-targets.mk: check for MK_STATIC_DIRDEPS_CACHE defined
158	before looking for STATIC_DIRDEPS_CACHE
159
1602020-08-05  Simon J Gerraty  <sjg@beast.crufty.net>
161
162	* host-target.mk: Darwin use MACHINE for HOST_ARCH too
163
164	* dirdeps-options.mk: improve debug output
165
1662020-07-22  Simon J Gerraty  <sjg@beast.crufty.net>
167
168	* dirdeps.mk: set and export DYNAMIC_DIRDEPS_CACHE
169	for use by dirdeps-cache-update.mk
170
171	* dirdeps-targets.mk: set and export STATIC_DIRDEPS_CACHE
172	for use by dirdeps-cache-update.mk even if we don't use it.
173
174	* dirdeps-cache-update.mk: we only need worry about the background
175	update case, with the above, the update from DIRDEPS_CACHE is
176	simple.
177
178	* meta2deps.py: R 1234 . is not interesting
179
1802020-07-20  Simon J Gerraty  <sjg@beast.crufty.net>
181
182	* sys.mk: default MK_STATIC_DIRDEPS_CACHE from MK_DIRDEPS_CACHE
183
184	* dirdeps-options.mk: do not :tu DIRDEPS_OPTIONS
185	allows use of lower case for pseudo options.
186
187	* dirdeps-cache-update.mk: magic to deal with STATIC_DIRDEPS_CACHE
188
1892020-07-18  Simon J Gerraty  <sjg@beast.crufty.net>
190
191	* dirdeps-targets.mk: Look for Makefile.dirdeps.cache
192	which allows us to have a static cache for expensive targets.
193	Use -DWITHOUT_STATIC_DIRDEPS_CACHE -DWITH_DIRDEPS_CACHE
194	to regenerate the dirdeps.cache it is a copy of.
195
1962020-07-17  Simon J Gerraty  <sjg@beast.crufty.net>
197
198	* Get rid of BUILD_AT_LEVEL0, MK_DIRDEPS_BUILD makes more sense.
199
2002020-07-16  Simon J Gerraty  <sjg@beast.crufty.net>
201
202	* dirdeps.mk (DIRDEP_LOADAVG_REPORT): make it easy to record
203	load averages at intervals during build.
204
2052020-07-15  Simon J Gerraty  <sjg@beast.crufty.net>
206
207	* install-mk (MK_VERSION): 20200715
208
209	* dirdeps.mk: tweak Checking line to make matching Finished
210	lines for post-build analysis easier.
211
212	* meta.autodep.mk: use !defined(WITHOUT_META_STATS)
213
214	* progs.mk: avoid prog.mk outputting multiple Finished lines
215
2162020-07-11  Simon J Gerraty  <sjg@beast.crufty.net>
217
218	* dirdeps.mk: further optimize dirdeps.cache
219	generate a DIRDEPS.${.TARGET} list for other purposes
220	and improve the layout.
221
2222020-07-10  Simon J Gerraty  <sjg@beast.crufty.net>
223
224	* dirdeps.mk: optimize content of dirdeps.cache
225
2262020-06-28  Simon J Gerraty  <sjg@beast.crufty.net>
227
228	* sys/*.mk: make it easier for local*sys.mk to customize by
229	using ?=
230
2312020-06-22  Simon J Gerraty  <sjg@beast.crufty.net>
232
233	* gendirdeps.mk (LOCAL_DEPENDS_GUARD): if we don't build at level 0
234	it is much safer to guard local depends with a simple check for
235	.MAKE.LEVEL > 0
236
2372020-06-10  Simon J Gerraty  <sjg@beast.crufty.net>
238
239	* install-mk (MK_VERSION): 20200610
240
241	* mkopt.sh: this needs posix shell so #!/bin/sh should be ok
242
2432020-06-06  Simon J Gerraty  <sjg@beast.crufty.net>
244
245	* install-mk (MK_VERSION): 20200606
246
247	* dirdeps-targets.mk: allow for filtering of .TARGETS
248
249	* meta2deps.py: fix bug in processing 'L'ink and 'M'ove
250	entries - and we don't care about 'W'rite entries.
251	Also ignore absolute paths that do not exist.
252
2532020-05-25  Simon J Gerraty  <sjg@beast.crufty.net>
254
255	* install-mk (MK_VERSION): 20200525
256
257	* init.mk: expand and simplify handling of qualified vars
258	like CPPFLAGS.${.TARGET:T}
259
2602020-05-15  Simon J Gerraty  <sjg@beast.crufty.net>
261
262	* install-mk (MK_VERSION): 20200515
263
264	* dirdeps.mk: set _debug_* earlier and allow passing -d*
265	flags to submake when building DIRDEPS_CACHE
266
2672020-05-09  Simon J Gerraty  <sjg@beast.crufty.net>
268
269	* whats.mk: more easily extensible
270
2712020-05-02  Simon J Gerraty  <sjg@beast.crufty.net>
272
273	* whats.mk: greatly simplify by adding what.c to SRCS
274
2752020-05-01  Simon J Gerraty  <sjg@beast.crufty.net>
276
277	* whats.mk: for libs take care how we add to *OBJS
278
279	* lib.mk: : works better with whats.mk
280
2812020-04-25  Simon J Gerraty  <sjg@beast.crufty.net>
282
283	* install-mk (MK_VERSION): 20200420
284
285	* meta.stage.mk: it is not a STAGE_CONFLICT if some-target.dirdep
286	contains the same ${RELDIR} and a prefix match for our ${TARGET_SPEC}
287
2882020-04-16  Simon J Gerraty  <sjg@beast.crufty.net>
289
290	* install-mk (MK_VERSION): 20200416
291
292	* sys/*.mk: set MAKE_SHELL rather than SHELL so as not to
293	  interfere with user env.
294
295	* sys.mk: default MAKE_SHELL to sh and SHELL to MAKE_SHELL
296
297	* autodep.mk: use MAKE_SHELL.
298
2992019-11-21  Simon J Gerraty  <sjg@beast.crufty.net>
300
301	* gendirdeps.mk: clear .SUFFIXES to avoid a lot of
302	  wasted effort, and unexport _meta_files when no longer needed as
303	  it consumes space we need for command line.
304
3052019-11-11  Simon J Gerraty  <sjg@beast.crufty.net>
306
307	* dirdeps.mk _DIRDEP_USE: use DIRDEP_DIR and add
308	  DIRDEP_USE_PRELUDE at start - facilitates job distribution
309
3102019-10-04  Simon J Gerraty  <sjg@beast.crufty.net>
311
312	* dirdeps-targets.mk: Use TARGET_SPEC_LAST_LIST
313	defaults to ${${TARGET_SPEC_VARS:[-1]}_LIST} to match valid
314	TARGET_SPEC qualified depend files.
315
3162019-10-02  Simon J Gerraty  <sjg@beast.crufty.net>
317
318	* dirdeps-targets.mk: encapsulate logic for finding top-level
319	  targets to set initial DIRDEPS for DIRDEPS_BUILD
320
3212019-09-27  Simon J Gerraty  <sjg@beast.crufty.net>
322
323	* install-mk (MK_VERSION): 20190911
324
325	* compiler.mk: set COMPILER_TYPE
326
3272019-07-17  Simon J Gerraty  <sjg@beast.crufty.net>
328
329	* install-mk (MK_VERSION): 20190704
330
331	* sys/Darwin.mk: support for Objective-C and clang
332
3332019-05-30  Simon J Gerraty  <sjg@beast.crufty.net>
334
335	* dirdeps.mk: avoid insanely long command line when generating cache
336
3372019-05-23  Simon J Gerraty  <sjg@beast.crufty.net>
338
339	* install-mk (MK_VERSION): 20190505
340
341	* whats.mk: handle corner case SHLIB defined but not LIB
342
3432018-09-19  Simon J Gerraty  <sjg@beast.crufty.net>
344
345	* install-mk (MK_VERSION): 20180919
346
347	* dirdeps-options.mk: .undef cannot handle var that expands to
348	  more than one var.
349
3502018-07-08  Simon J Gerraty  <sjg@beast.crufty.net>
351
352	* meta.stage.mk: allow wildcards in STAGE_FILES.* etc.
353
3542018-06-01  Simon J Gerraty  <sjg@beast.crufty.net>
355
356	* meta.autodep.mk: export META_FILES to avoid command line limit
357	* gendirdeps.mk: if we have lots of .meta files put them in
358	  an @list
359
3602018-05-28  Simon J Gerraty  <sjg@beast.crufty.net>
361
362	* dirdeps-options.mk: use local.dirdeps-options.mk
363	  not local.dirdeps-option.mk
364
3652018-04-20  Simon J Gerraty  <sjg@beast.crufty.net>
366
367	* install-mk (MK_VERSION): 20180420
368	* dirdeps.mk: include local.dirdeps-build.mk when .MAKE.LEVEL > 0
369	  ie. we are building something.
370
3712018-04-14  Simon J Gerraty  <sjg@beast.crufty.net>
372
373	* FILES: add dirdeps-options.mk to deal with optional DIRDEPS.
374
3752018-04-05  Simon J Gerraty  <sjg@beast.crufty.net>
376
377	* install-mk (MK_VERSION): 20180405
378
379	* ldorder.mk: describe how to use LDORDER_EXTERN_BARRIER
380	  if needed.
381
3822018-01-18  Simon J Gerraty  <sjg@beast.crufty.net>
383
384	* install-mk (MK_VERSION): 20180118
385
386	* ldorder.mk: let make compute correct link order
387
3882017-12-12  Simon J Gerraty  <sjg@beast.crufty.net>
389
390	* install-mk (MK_VERSION): 20171212
391
392	* gendirdeps.mk: guard against bogus entries in GENDIRDEPS_FILTER
393
3942017-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
395
396	* install-mk (MK_VERSION): 20171111
397
398	* lib.mk: ensure META_NOECHO is set
399
4002017-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
401
402	* Allow for host32 on rare occasions.
403
4042017-10-18  Simon J. Gerraty  <sjg@bad.crufty.net>
405
406	* install-mk (MK_VERSION): 20171018
407
408	* whats.mk: include what_thing in what_uuid to avoid problem
409	  when building multiple apps in the same directory.
410
4112017-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
412
413	* install-mk (MK_VERSION): 20170812
414
415	* autoconf.mk: Use CONFIGURE_DEPS so Makefile can
416	  add dependencies for config.recheck and config.gen
417
4182017-06-30  Simon J. Gerraty  <sjg@bad.crufty.net>
419
420	* install-mk (MK_VERSION): 20170630
421
422	* meta.stage.mk: avoid triggering stage_* targets with nothing to do.
423
4242017-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
425
426	* meta2deps.py: take special care of '..'
427
4282017-05-15  Simon J. Gerraty  <sjg@bad.crufty.net>
429
430	* install-mk (MK_VERSION): 20170515
431
432	* dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is
433	useful/necessary for a Makefile.depend file to export some knobs.
434	This is complicated when we are doing DIRDEPS_CACHE, so we will
435	handle export of any variables listed in DEP_EXPORT_VARS.
436
4372017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>
438
439	* install-mk (MK_VERSION): 20170505
440
441	* meta2deps.py: fix botched indenation.
442
4432017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
444
445	* sys/*.mk: Remove setting of MAKE it is unnecessary and
446	  in many cases wrong (basname rather than full path)
447
448	* scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk
449
450	* init.mk: define realbuild to simplify logic in {lib,prog}.mk etc
451
4522017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
453
454	* install-mk (MK_VERSION): 20170501
455
456	* doc.mk: fix typo in DOC_INSTALL_OWN
457
458	* inc.mk: handle INCGROUPS similar to freebsd
459
460	* files.mk: add something for files too
461
462	* add staging logic to lib.mk prog.mk etc.
463
4642017-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
465
466	* install-mk (MK_VERSION): 20170424
467
468	* dirdeps.mk: set NO_DIRDEPS when bootstrapping.
469	  also target of bootstrap-this when sed is needed should be ${_want:T}
470
4712017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
472
473	* install-mk (MK_VERSION): 20170418
474
475	* auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a
476	  prefix match for .CURDIR - in which case .CURDIR *is* __objdir.
477
4782017-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
479
480	* install-mk (MK_VERSION): 20170401
481
482	* meta2deps.py: add is_src so we can check if obj dependency
483	  is also a src dependency.
484
4852017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
486
487	* install-mk (MK_VERSION): 20170326
488
489	* meta.stage.mk: do nothing if NO_STAGING is defined.
490
4912017-03-24  Simon J. Gerraty  <sjg@bad.crufty.net>
492
493	* auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc.
494
4952017-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
496
497	* mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_*
498
4992017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
500
501	* install-mk (MK_VERSION): 20170301
502
503	* dirdeps.mk (_build_all_dirs): update this outside test for empty
504	  DIRDEPS.
505
506	* meta.stage.mk: allow multiple inclusion to the extent it makes
507	  sense.
508
5092017-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
510
511	* prog.mk (install_links): depends on realinstall
512
5132017-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>
514
515	* install-mk (MK_VERSION): 20170212
516
517	* dpadd.mk: avoid applying :T:R twice to DPLIBS entries
518
5192017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>
520
521	* install-mk (MK_VERSION): 20170130
522
523	* dirdeps.mk: use :range if we can.
524
525	* sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130
526
527	* meta2deps.py: clean paths without using realpath() where possible.
528	  fix sort_unique.
529
5302016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
531
532	* install-mk (MK_VERSION): 20161212
533
534	* meta2deps.py: set pid_cwd[pid] when we process 'C'hdir,
535	rather than when we detect pid change.
536
5372016-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>
538
539	* install-mk (MK_VERSION): 20161207
540
541	* meta.stage.mk: add stage_as_and_symlink for staging packages.
542	  We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able
543	  to use foo.tgz to reference the latest staged version - so we
544	  make foo.tgz a symlink to it.
545	  Using a target to do both operations ensures we stay in sync.
546
5472016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
548
549	* install-mk (MK_VERSION): 20161126
550
551	* dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk
552	  so it can add dependencies.
553
5542016-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
555
556	* dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE
557	  do that they can influence the result correctly.
558
559	* dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC
560
561	* dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST
562	  similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST
563
5642016-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>
565
566	* dirdeps.mk: remove dependence on jot (normal situations anyway).
567	  Before we read another Makefile.depend* set DEP_* vars from
568	  _DEP_TARGET_SPEC in case it uses any of them with :=
569	  When bootstrapping, trim any ,* from extention of chosen _src
570	  Makefile.depend* to get the machine value we subst for.
571
5722016-09-30  Simon J. Gerraty  <sjg@bad.crufty.net>
573
574	* dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to
575	  DEP_SKIP_DIR and DEP_DIRDEPS_FILTER
576
577	* sys.mk: extract some bits to sys.{debug,vars}.mk
578	  for easier re-use by others.
579
5802016-09-23  Simon Gerraty  <sjg@sjg-mba13>
581
582	* lib.mk: Use ${PICO} for extension for PIC objects.
583	  default to .pico (like NetBSD) safe on case insensitive filesystem.
584
5852016-08-19  Simon J. Gerraty  <sjg@bad.crufty.net>
586
587	* meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default
588
5892016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
590
591	* install-mk (MK_VERSION): 20160815
592
593	* dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only
594	consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date.
595
5962016-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>
597
598	* meta.sys.mk (.MAKE.META.IGNORE_PATHS):
599	  in meta mode we can ignore the mtime of makefiles
600
6012016-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
602
603	* install-mk (MK_VERSION): 20160802
604
605	* lib.mk (libinstall): depends on beforinstall
606
607	* prog.mk (proginstall): depends on beforinstall
608	  patch from Lauri Tirkkonen
609
610	* dirdeps.mk (bootstrap): When bootstrapping; creat
611	.MAKE.DEPENDFILE_DEFAULT and allow additional filtering via
612	.MAKE.DEPENDFILE_BOOTSTRAP_SED
613
614	* dirdeps.mk: move some comments to where they make sense.
615
6162016-07-27  Simon J. Gerraty  <sjg@bad.crufty.net>
617
618	* dirdeps.mk (DIRDEPS_CACHE): no dirname.
619
6202016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
621
622	* install-mk (MK_VERSION): 20160602
623	* meta.autodep.mk: when passing META_FILES to gendirdeps.mk
624	  do not apply :T to META_XTRAS
625	  patch from Bryan Drewery at FreeBSD.org.
626
6272016-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
628
629	* install-mk (MK_VERSION): 20160530
630	* meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH
631	  make it so.
632
6332016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
634
635	* install-mk (MK_VERSION): 20160512
636
637	* dpadd.mk: always include local.dpadd.mk if it exists
638	  remove some things that better belong in local.dpadd.mk
639	  skip INCLUDES_* for staged libs unless SRC_* defined.
640
641	* own.mk: add INCLUDEDIR
642
6432016-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
644
645	* dirdeps.mk: when doing -f dirdeps.mk if target suppies no
646	  TARGET_MACHINE - :E will be empty or match part of path, use
647	  ${MACHINE}
648
6492016-04-07  Simon J. Gerraty  <sjg@bad.crufty.net>
650
651	* meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
652	  NO_FILEMON_COOKIE
653
654	* dirdeps.mk: move the logic that allows for
655	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
656	  inside the check for !target(_DIRDEP_USE)
657
6582016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
659
660	* Use <> when including local*.mk and others which may exist
661	  elsewhere so that user can better control what they get.
662
663	* meta.autodep.mk (NO_FILEMON_COOKIE):
664	  create a cookie if we ever build dir with nofilemon
665	  so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
666
6672016-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
668
669	* install-mk (MK_VERSION): 20160401
670
671	* meta2deps.py: fix old print statement when debugging.
672
673	* gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
674	  patch from Bryan Drewery
675
6762016-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
677
678	* install-mk (MK_VERSION): 20160317 (St. Pats)
679
680	* warnings.mk: g++ does not like -Wimplicit
681
682	* sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
683	  pelthora of common suffixes for C++
684
685	* lib.mk: use .So for shared objects
686
6872016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
688
689	* install-mk (MK_VERSION): 20160315
690
691	* meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
692	  normally only applies to scripts.
693
694	* dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
695	  well as outside it.
696
6972016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
698
699	* install-mk (MK_VERSION): 20160310
700
701	* dirdeps.mk: use targets rather than a list to track DIRDEPS that
702	  we have processed; the list gets very inefficient as number of
703	  DIRDEPS gets large.
704
705	* sys.dependfile.mk: fix comment wrt MACHINE
706
707	* meta.autodep.mk: ignore staged DPADDs when bootstrapping.
708	  patch from Bryan Drewery
709
7102016-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
711
712	* meta2deps.sh: don't ignore subdirs.
713	  patch from Bryan Drewery
714
7152016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
716
717	* install-mk (MK_VERSION): 20160226
718
719	* gendirdeps.mk: mark _DEPENDFILE .NOMETA
720
7212016-02-20  Simon J. Gerraty  <sjg@bad.crufty.net>
722
723	* dirdeps.mk: we shouldn't normally include .depend but if we do
724	  use .dinclude if we can.
725
7262016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
727
728	* install-mk (MK_VERSION): 20160218
729	* sys.clean-env.mk: with recent change to Var_Subst()
730	  we cannot use the '$$' trick, but .export-literal does the job
731	  we need.
732	* auto.dep.mk: make use .dinclude if we can.
733
734
7352016-02-05  Simon J. Gerraty  <sjg@bad.crufty.net>
736
737	* dirdeps.mk:
738	  Add _build_all_dirs such that local.dirdeps.mk can
739	  add fully qualified dirs to it.
740	  These will be built normally but the current
741	  DEP_RELDIR will not depend on then (to avoid cycles).
742	  This makes it easy to hook things like unit-tests into build.
743
744
7452016-01-21  Simon J. Gerraty  <sjg@bad.crufty.net>
746
747	* dirdeps.mk: add bootstrap-empty
748
7492015-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
750
751	* install-mk (MK_VERSION): 20151212
752	* auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
753	  only apply :tA to __objdir when comparing to .OBJDIR
754
7552015-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
756
757	* install-mk (MK_VERSION): 20151111
758
759	* meta.sys.mk: include sys.dependfile.mk
760
761	* sys.mk (OPTIONS_DEFAULT_NO): use options.mk
762	  to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
763	  include local.sys.env.mk early
764	  include local.sys.mk later
765
766	* own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
767
7682015-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
769
770	* meta.sys.mk (META_COOKIE_TOUCH):
771	  add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
772
773	* meta.stage.mk: stage_libs should ignore SYMLINKS.
774
7752015-10-23  Simon J. Gerraty  <sjg@bad.crufty.net>
776
777	* install-mk (MK_VERSION): 20151022
778
779	* sys.mk: BSD/OS does not have 'type' as a shell builtin.
780
7812015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
782
783	* install-mk (MK_VERSION): 20151020
784
785	* dirdeps.mk: Add logic for
786	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
787
7882015-10-14  Simon J. Gerraty  <sjg@bad.crufty.net>
789
790	* install-mk (MK_VERSION): 20151010
791
7922015-10-02  Simon J. Gerraty  <sjg@bad.crufty.net>
793
794	* meta.stage.mk: use staging: ${STAGE_TARGETS:...
795	  to have stage_lins run last in non-jobs mode.
796	  Use .ORDER only for jobs mode.
797
7982015-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
799
800	* rst2htm.mk: allow for per target flags etc.
801
8022015-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
803
804	* install-mk (MK_VERSION): 20150901
805
806	* doc.mk: create dir if needed use DOC_INSTALL_OWN
807
8082015-06-15  Simon J. Gerraty  <sjg@bad.crufty.net>
809
810	* install-mk (MK_VERSION): 20150615
811
812	* auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
813	  Follow make's normal precedence rules.
814
815	* gendirdeps.mk: allow customization of the header.
816	  eg. for FreeBSD:
817	  GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
818
819	* meta.autodep.mk: ignore dirdeps.cache*
820
821	* meta.stage.mk: when bootstrapping options it can be handy to
822	  throw warnings rather than errors for staging conflicts.
823
824	* meta.sys.mk: include local.meta.sys.mk for customization
825
8262015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
827
828	* install-mk (MK_VERSION): 20150606
829
830	* dirdeps.mk: don't rely on manually maintained Makefile.depend
831	  to set DEP_RELDIR and reset DIRDEPS.
832	  By setting DEP_RELDIR ourselves we can skip :tA
833
834	* gendirdeps.mk: skip setting DEP_RELDIR.
835
8362015-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
837
838	* dirdeps.mk: avoid wildcards like make(bootstrap*)
839
8402015-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
841
842	* install-mk (MK_VERSION): 20150520
843
844	* dirdeps.mk: when we are building dirdeps cache file we *want*
845	  meta_oodate to look at all the Makefile.depend files, so
846	  set .MAKE.DEPENDFILE to something that won't match.
847
848	* meta.stage.mk: for STAGE_AS_* basename of file may not be unique
849	  so first use absolute path as key.
850	  Also skip staging at level 0.
851
8522015-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
853
854	* install-mk (MK_VERSION): 20150430
855
856	* dirdeps.mk: fix _count_dirdeps for non-cache case.
857
8582015-04-16  Simon J. Gerraty  <sjg@bad.crufty.net>
859
860	* install-mk (MK_VERSION): 20150411
861	  bump version
862
863	* own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
864	  it is here mainly for documentation purposes, since
865	  if using auto.obj.mk it is better done via sys.mk
866
8672015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
868
869	* install-mk (MK_VERSION): 20150401
870
871	* meta2deps.sh: support @list
872
873	* meta2deps.py: updates from Juniper
874	  o add EXCLUDES
875	  o skip bogus input files.
876	  o treat 'M' and 'L' as both an 'R' and a 'W'
877
8782015-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
879
880	* install-mk (MK_VERSION): 20150303
881
882	* dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
883	  which is built via sub-make so we have a .meta file to tell if
884	  it is out-of-date.
885	  The dirdeps-cache contains the same dependency rules that we
886	  normaly construct on the fly.
887	  This adds a few seconds overhead when the cache is out of date,
888	  but for a large target, the savings can be significant (10-20min).
889
8902014-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
891
892	* install-mk (MK_VERSION): 20141118
893
894	* meta.stage.mk: add stale_staged
895
896	* dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
897	  only useful under very rare conditions such as
898	  FreeBSD's make universe.
899
900	* auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
901
9022014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
903
904	* install-mk (MK_VERSION): 20141111
905
906	* mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
907
9082014-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
909
910	* FILES: include mkopt.sh which allows handling options in shell
911	  scripts in a manner compatible with options.mk
912
9132014-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
914
915	* meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
916	  for GENDIRDEPS_FILTER to avoid surprises.
917
9182014-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
919
920	* dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
921	  the time it is applied to __depdirs they have.
922
923	* dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
924	  expects patterns like *.${MACHINE}
925
926	* cython.mk (pyprefix?): use pyprefix to find python bits
927	  since prefix might be something else (where we install our
928	  stuff)
929
9302014-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
931
932	* install-mk (MK_VERSION): 20140911
933
934	* dirdeps.mk: add bootstrap target to simplify adding support for
935	  new MACHINE.
936
9372014-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
938
939	* gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
940	  GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
941	  Makefile.depend files.
942
9432014-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
944
945	* install-mk (MK_VERSION): 20140828
946
947	* cython.mk: capture logic for building python extension modules
948	  with Cython.
949
9502014-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
951
952	* meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
953
9542014-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
955
956	* install-mk (MK_VERSION): 20140801
957
958	* dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
959	identify the autodep.mk variant.
960
961	* sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
962	initial value does not match .MAKE.DEPENDFILE_PREFIX
963
964	* meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
965
9662014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
967
968	* install-mk (MK_VERSION): 20140522
969
970	* lib.mk: use CC to link shlib for linux too
971	  patch from Brendan MacDonell
972
9732014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
974
975	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
976	  if WITH_META_STATS is defined.
977
9782014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
979
980	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
981	  to supress dirdeps outside of .CURDIR.
982
9832014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
984
985	* Fix spelling errors - patch from Pedro Giffuni
986
9872014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>
988
989	* install-mk (MK_VERSION): 20140314
990
991	* dirdeps.mk (beforedirdeps): a handy hook
992
993	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
994	  to visit leaf dirs to be intercepted (eg. for distributed
995	  build).
996
997	* dirdeps.mk (__depdirs): ensure // don't sneak in
998
999	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in
1000
1001
10022014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>
1003
1004	* rst2htm.mk (RST2PDF): add support for rst2pdf
1005
10062014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
1007
1008	* install-mk (MK_VERSION): bump version
1009	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
1010	  available.
1011
10122014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1013
1014	* options.mk: avoid :U so this isn't bmake dependent
1015
10162014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>
1017
1018	* options.mk: cleanup and simplify semanitcs
1019	  NO_* dominates all, if both WITH_* and WITHOUT_*
1020	  are defined then result is DOMINATE_* which defaults to "no".
1021	  Ie. WITHOUT_ normally wins.
1022
10232013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1024
1025	* install-mk (MK_VERSION): bump version
1026	* meta2deps.py: convert to print function for python3 compat.
1027	  we also need to open files with mode 'r' rather than 'rb'
1028	  otherwise we get bytes instead of strings.
1029
10302013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1031
1032	* install-mk (MK_VERSION): bump version
1033
1034	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
1035	  apply the same filtering (M_dep_qual_fixes) when setting _machines
1036	  as _build_dirs.
1037	  Also fix the filtering of Makefile.depend files - for reporting
1038	  what we are looking for (M_dep_qual_fixes can get confused by
1039	  Makefile.depend)
1040	  Add some more debug info.
1041
10422013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1043
1044	* gendirdeps.mk (_objtops): fix typo also
1045	  while processing M2D_OBJROOTS to gather qualdir_list
1046	  qualify $ql with loop iterator to ensure correct results.
1047
10482013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1049
1050	* install-mk (MK_VERSION): 20130801
1051	* libs.mk: update to match progs.mk
1052
10532013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>
1054
1055	* install-mk (MK_VERSION): 20130726
1056	  some updates from Juniper and FreeBSD
1057	  o meta2deps.py: indicate file and line number when we hit parse
1058	    errors
1059	    also allow @file to provide huge list of .meta files.
1060	* meta2deps.py: add try_parse() to cleanup the above.
1061
10622013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1063
1064	* install-mk (MK_VERSION): 20130716
1065	* own.mk: add GPROG as an option
1066	* prog.mk: honor MK_GPROF==yes
1067
10682013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1069
1070	* install-mk (MK_VERSION): 20130505
1071	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
1072	  for when $MACHINE isn't enough for objdir distinction.
1073	  Bring meta2deps.sh closer to par with meta2deps.py.
1074
10752013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
1076
1077	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
1078	  also if the target 'beforeinstall' exists, make it depend on
1079	  .dirdep (incase it uses STAGE_INSTALL).
1080
10812013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
1082
1083	* install-mk (MK_VERSION): 20130401 ;-)
1084	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
1085	  wrapper around install(1).
1086	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
1087
10882013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
1089
1090	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
1091	* install-mk (MK_VERSION): bump version
1092
10932013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>
1094
1095	* install-mk (MK_VERSION): bump version
1096	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
1097	  any trailing /., rather apply :tA only when needed.
1098	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
1099	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
1100	  consistently.
1101	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
1102
11032013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
1104
1105	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
1106	  it is simpler to just not update when say building for "host"
1107	  (where we know we apply filters to DIRDEPS), and using a
1108	  non-machine qualified dependfile.
1109
11102013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1111
1112	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
1113	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
1114	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
1115	* meta2deps.py: if machine is "host", then also trim
1116	  self.host_target from any OBJROOTS.
1117
1118
11192013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1120
1121	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
1122	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
1123	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
1124	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.
1125
11262013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1127
1128	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
1129	  and hook to all: via staging:
1130
11312013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
1132
1133	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
1134	  use a separate variable for the default .MAKE.DEPENDFILE value
1135	  so that it can be controlled independently of
1136	  .MAKE.DEPENDFILE_PREFERENCE
1137
1138	* meta.stage.mk: throw error if cp fails etc.
1139	  Stage*() return early if passed no args.
1140	  .ORDER stage_*
1141
11422013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1143
1144	* install-mk (MK_VERSION): bump version
1145	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
1146
11472013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1148
1149	* install-mk (MK_VERSION): bump version to 20130210
1150	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
1151	  from Juniper.
1152	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
1153	    than just MACHINE.
1154	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.
1155
11562013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>
1157
1158	* install-mk (MK_VERSION): bump version to 20130123
1159	* meta.stage.mk: add stage_links (hard links).
1160	  if doing hard links, we add dest to link as well.
1161	  Default the stage dir for [sym]links to STAGE_OBJTOP since
1162	  these are typically specified as absolute paths.
1163	  Add -m "mode" flag to StageFiles and StageAs.
1164
11652012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1166
1167	* install-mk (MK_VERSION): bump version to 20121111
1168	* autoconf.mk: avoid meta mode seeing changed commands for config.status
1169	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
1170	  in case we were found via .../mk
1171	* sys.clean-env.mk: move it from examples, we and others use it
1172	  "as is".
1173	* FILES: add srctop.mk and options.mk
1174	* own.mk: convert to using options.mk
1175	  which is modeled after FreeBSD's handling of MK_*
1176	  but more flexible.
1177	  This allows MK_* for boolean knobs to not be confused
1178	  with MK* which can be commands.
1179
1180	* examples/sys.clean-env.mk: add WITH[OUT]_ to
1181	  MAKE_ENV_SAVE_PREFIX_LIST.
1182	  Mention that HOME=/var/empty might be a good idea.
1183
11842012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1185
1186	* sys.dependfile.mk: if not depend file exists, $MACHINE
1187	  specific ones are supported but not the default,
1188	  check if any exist and follow suit.
1189
11902012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>
1191
1192	* install-mk (MK_VERSION): bump version to 20121106
1193
11942012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
1195
1196	* import latest dirdeps.mk and meta2deps.py from Juniper.
1197	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
1198	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
1199	  appropriate.
1200
12012012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1202
1203	* meta.stage.mk: update CLEANFILES
1204	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
1205	* progs.mk: Add LDADD to PROG_VARS
1206
12072012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1208
1209	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
1210	  _STAGED_DIRS so that these can be turned into filters for
1211	  GENDIRDEPS_FILTER.
1212
12132012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1214
1215	* install-mk (MK_VERSION): bump version to 20121010
1216	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
1217	target.dirdep matches .dirdep
1218
12192012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1220
1221	* install-mk (MK_VERSION): bump version to 20120808
1222	* import latest meta2deps.py from Juniper.
1223
12242012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1225
1226	* install-mk (MK_VERSION): bump version to 20120711
1227	* dep.mk: add explicit dependencies on SRCS after applying
1228	  SRCS_DEP_FILTER
1229	* meta.autodep.mk: add explicit dependencies on SRCS after
1230	  applying SRCS_DEP_FILTER
1231	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
1232
12332012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
1234
1235	* install-mk (MK_VERSION): bump version to 20120626
1236	* meta.sys.mk: ignore PYTHON if it does not exist
1237	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
1238	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
1239	  entries ending in .${MACHINE} to decide if qualified _dirdep is
1240	  needed.
1241	* gendirdeps.mk: only produce unqualified deps if no
1242	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
1243	* meta.subdir.mk: apply SUBDIRDEPS_FILTER
1244
12452012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
1246
1247	* install-mk (MK_VERSION): bump version to 20120420
1248	* add sys.dependfile.mk so we can experiment with
1249	  .MAKE.DEPENDFILE_PREFERENCE
1250	* meta.autodep.mk: _DEPENDFILE is precious!
1251
12522012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
1253
1254	* install-mk (MK_VERSION): bump version to 20120315
1255	* install-new.mk: avoid being interrupted
1256
12572012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
1258
1259	* man.mk: MAN might have multiple values so be careful with exists().
1260
12612012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>
1262
1263	* install-mk (MK_VERSION): bump version to 20120112
1264	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
1265	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
1266
12672011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1268
1269	* install-mk (MK_VERSION):  bump version to 20111201
1270	* import dirdeps.mk from Juniper sjg@
1271	  o more consistent handling of DEP_MACHINE, especially when
1272	    dealing with an odd Makefile.depend, when normally using
1273	    Makefile.depend.${MACHINE}
1274
12752011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>
1276
1277	* install-mk (MK_VERSION): bump version to 20111122
1278	* meta.autodep.mk: add some debug output, be more crisp about
1279	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend
1280
12812011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1282
1283	* install-mk (MK_VERSION): bump version to 20111111
1284	  it's too cool to miss
1285	* import meta* updates from Juniper sjg@
1286	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
1287	    normally using Makefile.depend.${MACHINE}), handy for
1288	    read-only manually maintained dependencies.
1289	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
1290	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
1291	    anything.
1292
12932011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>
1294
1295	* install-new.mk separate the cmp and copy logic to its own function.
1296
12972011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
1298
1299	* install-mk (MK_VERSION): bump version to 20111028
1300	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
1301	* subdir.mk: ensure _SUBDIRUSE is provided
1302	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
1303	* meta.subdir.mk: always allow for Makefile.depend
1304
13052011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1306
1307	* install-mk (MK_VERSION): bump version to 20111010
1308	  o minor tweak to *dirdeps.mk from Juniper sjg@
1309
13102011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1311
1312	* install-mk (MK_VERSION): bump version to 20111001
1313	  o add meta2deps.py from Juniper sjg@
1314	  o tweak gendirdeps.mk to work with meta2deps.py when not
1315	    cross-building
1316	* autoconf.mk: add autoconf-input as a hook for regenerating
1317	  AUTOCONF_INPUTS (configure).
1318
13192011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>
1320
1321	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
1322	  trigger for updating Makefile.depend*
1323
13242011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1325
1326	* install-mk (MK_VERSION): bump version to 20110808
1327	* obj.mk: minor cleanup
1328	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
1329
13302011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1331
1332	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
1333	  specified dir.
1334
13352011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
1336
1337	* meta.autodep.mk: if XMAKE_META_FILE is set
1338	  the makefile uses a foreign make, and so dependencies
1339	  can only be gathered from a clean tree build.
1340
13412011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>
1342
1343	* install-mk (MK_VERSION): bump version to 20110622
1344	* meta.autodep.mk: improve bootstraping
1345
13462011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1347
1348	* yacc.mk: handle the corner case of .c being removed
1349	  while .h remains.
1350
13512011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1352
1353	* yacc.mk: do .y.h and .y.c separately
1354
13552011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1356
1357	* install-mk (MK_VERSION): bump version to 20110606
1358	* don't store SRC_DIRDEPS in Makefile.depend* by default
1359	  not everyone needs it.
1360
13612011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1362
1363	* install-mk (MK_VERSION): bump version to 20110505
1364	  first release including meta mode makefiles
1365
13662011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
1367
1368	* meta.stage.mk: add STAGE_AS_SETS and stage_as
1369	  for things that need to be staged with different names.
1370
13712011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1372
1373	* meta.stage.mk: add notion of STAGE_SETS
1374	  so a makefile can stage to multiple dirs
1375
13762011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1377
1378	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
1379	  on target name.
1380
13812011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
1382
1383	* install-mk (MK_VERSION): bump version to 20110330
1384
13852011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
1386
1387	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
1388	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
1389	* sys.mk: re-define M_whence in terms of M_type.
1390	  M_type is useful for checking if something is a builtin.
1391
13922011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1393
1394	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
1395	  stage_libs
1396
13972011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1398
1399	* dirdeps.mk: correct value for _depdir_files depends on
1400	  .MAKE.DEPENDFILE
1401	  Add our copyright - just to make it clear we have frobbed this
1402	  quite a bit.
1403	  DEP_MACHINE needs to be set to MACHINE each time, if using only
1404	  Makefile.depend (cf. Makefile.depend.${MACHINE})
1405
1406	* meta.stage.mk: meta mode version of staging
1407
1408	* init.mk, final.mk: include local.*.mk to simplify customization
1409
14102011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1411
1412	* auto.obj.mk: just because we are doing mk destroy, we should
1413	  still set .OBJDIR correctly if it exists.
1414
1415	* install-mk (mksrc): do not exclude meta.sys.mk
1416
14172011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1418
1419	* host-target.mk: set/export _HOST_ARCH etc separately,
1420	  catch junk resulting from uname -p, so we can find sys/Linux.mk
1421	  correctly.
1422
14232011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
1424
1425	* meta.sys.mk: throw an error if /dev/filemon is missing and we
1426	  expected to be updating Makefile.depend*
1427
14282011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
1429
1430	* install-mk (MK_VERSION): bump version to 20110214
1431	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
1432
14332010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1434
1435	* meta.sys.mk: not valid for older bmake
1436
14372010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>
1438
1439	* install-mk (MK_VERSION): bump version to 20100919
1440	include dirdeps.mk et al from Juniper Networks,
1441	for meta mode - requires filemon(9).
1442	* sys.mk, subdir.mk: Add hooks for meta mode.
1443	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
1444	to make turning it on/off simple.
1445
14462010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1447
1448	* install-mk (MK_VERSION): bump version to 20100616
1449	* fix typo in sys.mk
1450
14512010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1452
1453	* install-mk (MK_VERSION): bump version to 20100612
1454	* lib.mk: remove duplicate addition to SOBJS
1455
14562010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1457
1458	* sys.mk: Add a means of selectively turning on debug flags.
1459	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
1460	  will act as if we did make -dv if .CURDIR ends in lib/sjg
1461	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
1462	  the start of sys.mk rather than the end.
1463	  This only makes sense for leaf dirs, so we check that
1464	  .MAKE.LEVEL > 0
1465
14662010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>
1467
1468	* install-mk (MK_VERSION): bump version to 20100608
1469	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
1470	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
1471	  also make it easier for folk to tweak
1472
14732010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1474
1475	* install-mk (MK_VERSION): bump version to 20100606
1476	  do not install examples/*
1477	* FILES: add examples/sys.clean-env.mk
1478	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
1479	  this requires bmake-20100606 or later to work.
1480
14812010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1482
1483	* sys.mk (M_tA): better simulate the result of :tA if not available.
1484
14852010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1486
1487	* sys.mk: canonicalize MAKE_VERSION
1488	  old versions reported bmake-<src-date> build-<build-date>
1489	  whereas we only care about <src-date>
1490
14912010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1492
1493	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
1494	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
1495	  is !empty
1496
14972010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
1498
1499	* dpadd.mk: use LDADD_* if defined.
1500
15012010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
1502
1503	* install-mk (MK_VERSION): bump version to 20100420
1504	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
1505	* autoconf.mk allow AUTO_AUTOCONF
1506
15072010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>
1508
1509	* obj.mk: add objwarn to keep freebsd makefiles happy
1510	* auto.obj.mk: ensure Mkdirs is available.
1511	* FILES: add auto.dep.mk - a simpler version of autodep.mk
1512	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
1513	  asked to do that.
1514	  fix/simplify the tests for when to run mkdep.
1515	* auto.dep.mk: add some explanation of how/what we do.
1516	* autodep.mk: skip the .OPTIONAL frobbing of .depend
1517	  bmake's FROM_DEPEND flag makes it redundant.
1518
15192010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1520
1521	* install-mk (MK_VERSION): bump version to 20100404
1522	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
1523	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
1524	Also create a target _SUBDIRUSE so that we can  be used without
1525	subdir.mk
1526
15272010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1528
1529	* dep.mk: use <> when .including so can override.
1530
15312010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1532
1533	* lib.mk (SHLIB_LINKS): ensure a string comparison.
1534
15352010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1536
1537	* install-mk (MK_VERSION): bump version to 20100102
1538	* own.mk: ensure PRINTOBJDIR works
1539	* autoconf.mk: pass on CONFIGURE_ARGS
1540	* init.mk: handle COPTS.${.IMPSRC:T} etc.
1541	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
1542	  fix handling of symlinks for darwin
1543	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
1544	* man.mk: suppress chown when not root.
1545	* rst2htm.mk: allow srcs from multiple locations.
1546	* sys.mk: M_whence, stop after 1st line of output.
1547	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
1548	* sys/SunOS.mk: we need to export PATH
1549
15502009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>
1551
1552	* install-mk (MK_VERSION): bump version
1553	  include rst2htm.mk
1554
15552009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>
1556
1557	* sys.mk,libnames.mk add .-include <local.*>
1558	  this allows local customization without the need to edit the
1559	  distributed files.
1560
15612009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>
1562
1563	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
1564	  older versions already installed.
1565
15662009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>
1567
1568	* stage.mk (.stage-install): generalize lib.mk's .libinstall
1569	* rules.mk rules for generic Makefile.
1570	* inc.mk install for includes.
1571
15722009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>
1573
1574	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
1575	  this, so provide it if using native make.
1576
15772009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>
1578
1579	* FILES: move all the platform *.sys.mk files to sys/*.mk
1580	* Rename Generic.sys.mk to sys.mk - we always want it.
1581
15822009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>
1583
1584	* install-mk (MK_VERSION): bump version
1585	* host-target.mk: only export the expensive stuff
1586	* Generic.sys.mk (sys_mk): for SunOS we need to look for
1587	  ${HOST_OS}.${HOST_OSMAJOR} too!
1588
15892009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>
1590
1591	* install-mk (MK_VERSION): bump version
1592	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
1593	  based on patch from Greg Olszewski.
1594	* Generic.sys.mk: if we have nothing to work with
1595	set LORDER etc only if we can find it.
1596
15972009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
1598
1599	* install-mk (MK_VERSION): bump version
1600	* man.mk: cleanman: remove CLEANMAN if defined.
1601
16022009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>
1603
1604	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
1605
16062009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>
1607
1608	* install-mk (MK_VERSION): bump version
1609	include auto.obj.mk
1610
1611
16122009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
1613
1614	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
1615
16162008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
1617
1618	* install-mk (MK_VERSION): bump version
1619	man.mk: ensure we generate *.cat1 etc in .
1620
16212008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>
1622
1623	* install-mk (MK_VERSION): bump version
1624	add prlist.mk
1625
16262007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
1627
1628	* Generic.sys.mk: Allow os specific sys.mk to be in a
1629	subdir of ${.PARSEDIR}
1630
16312007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>
1632
1633	* install-mk (MK_VERSION): bump version
1634	* general cleanup
1635	* dpadd.mk introduce DPMAGIC_LIBS_*
1636
16372007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>
1638
1639	* install-mk (MK_VERSION): bump version
1640
1641	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
1642	depend files and ensure clean is called for each lib/prog.
1643
16442007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>
1645
1646	* autodep.mk (.depend): delete lines that do not start with
1647	space and do not contain ':'
1648
16492007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>
1650
1651	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
1652	so make sure the transform for .OPTIONAL copes.
1653
16542007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1655
1656	* install-mk (MK_VERSION): bump version
1657
1658	* own.mk: make sure RM and LN are defined.
1659
1660	* obj.mk: fix a typo, and objlink target.
1661
16622006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>
1663
1664	* install-mk (MK_VERSION): bump version
1665	* added libs.mk - analogous to progs.mk
1666	  make both of them always inlcude {lib,prog}.mk
1667
16682006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>
1669
1670	* progs.mk: add a means of building multiple apps in one dir.
1671
16722006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
1673
1674	* install-mk (MK_VERSION): bump version to 20061126
1675
1676	* warnings.mk: detect invalid WARNINGS_SET
1677
1678	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
1679	specific warnings.
1680
1681	* For .cc sources, turn off warnings that g++ vomits on.
1682
16832006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>
1684
1685	* own.mk: if __initialized__ target doesn't exist and we are
1686	FreeBSD we got here directly from sys.mk
1687
16882006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>
1689
1690	* install-mk (MK_VERSION): bump version to 20061106
1691	add scripts.mk
1692
16932006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
1694
1695	* install-mk (MK_VERSION): bump version to 20060318
1696
1697	* autodep.mk: avoid := when modifying OBJS into __dependsrcs
1698
16992006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>
1700
1701	* install-mk (MK_VERSION): bump version to 20060302
1702	* autodep.mk: use -MF et al to help gcc+ccache DTRT.
1703
17042006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
1705
1706	* install-mk (MK_VERSION): bump version to 20060301
1707	* autodep.mk (.depend):
1708	if MAKE_VERSION is newer than  20050530 we can make .END depend on
1709	.depend and make .depend depend on __depsrcs that exist.
1710	* dpadd.mk: add SRC_PATHADD
1711
17122005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
1713
1714	* install-mk (MK_VERSION): bump version to 20051104
1715	* prog.mk: remove all the LIBC?= junk, use
1716	.-include libnames.mk instead (none by default).
1717	also if USE_DPADD_MK is set, include that.
1718
17192005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
1720
1721	* install-mk (MK_VERSION): bump version to 20051001
1722	Add UnixWare.sys.mk from Klaus Heinz.
1723
17242005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>
1725
1726	* install-mk: always install *.sys.mk and if need be symlink one
1727	to sys.mk
1728
17292005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
1730
1731	* subdir.mk, own.mk: use .MAKE rather than MAKE
1732
17332004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
1734
1735	* own.mk: don't use NetBSD's _SRC_TOP_ it can
1736	cause confusion.  Also don't take just 'mk' as a
1737	srctop indicator.
1738
17392004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
1740
1741	* warnings.mk: overhauled, now very powerful.
1742
17432004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1744
1745	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
1746
17472004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>
1748
1749	* install-mk (MK_VERSION): bump version to 20040201
1750	* extract HOST_TARGET stuff to host-target.mk so own.mk and
1751	Generic.sys.mk can share.
1752	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
1753
17542003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>
1755
1756	* install-mk (MK_VERSION): 20030930
1757	* rename generic.sys.mk to Generic.sys.mk
1758	so that it does not get installed (unless being used as sys.mk)
1759	* set OS and ROOT_GROUP for those that we know the value.
1760	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
1761	we don't do it again for each sub-make.
1762
17632003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
1764
1765	* install-mk (MK_VERSION): 20030928
1766	Add some extra *.sys.mk from bootstrap-pkgsrc
1767	some of these likely still need work.
1768	Make everything default to root:wheel ownership,
1769	sys.mk can set ROOT_GROUP accordingly.
1770
17712003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>
1772
1773	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
1774	not the portable ones.
1775
17762003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
1777
1778	* install-mk: add ability to use cp -f when updating
1779	destination .mk files.  Also now possible to play games with
1780	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
1781	into dest - not recommended unless you seriously want to.
1782
17832003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
1784
1785	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
1786	for semi-compatability with NetBSD.
1787
17882003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
1789
1790	* install-mk: add a version indicator
1791
17922003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>
1793
1794	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
1795
1796	* install-mk: Allow FORCE_SYS_MK to come from env
1797
1798
1799
1800