xref: /dragonfly/contrib/bmake/mk/ChangeLog (revision 631c21f2)
12021-03-20  Simon J Gerraty  <sjg@beast.crufty.net>
2
3	* install-mk (MK_VERSION): 20210321
4
5	* dirdeps.mk: when generating dirdeps.cache
6	we only need to hook the initial DIRDEPS to the
7	dirdeps target.  That and any _build_xtra_dirs (like tests which
8	should not be hooked directly to the dependency graph - to avoid
9	cycles)
10
112021-01-30  Simon J Gerraty  <sjg@beast.crufty.net>
12
13	* install-mk (MK_VERSION): 20210130
14
15	* dirdeps.mk: expr 2 - 1 - 1 exits with a bad status
16	  we need to  guard against this in DIRDEP_LOADAVG_REPORT.
17
18	* dirdeps.mk: restore respect for TARGET_MACHINE
19
202021-01-06  Simon J Gerraty  <sjg@beast.crufty.net>
21
22	* install-mk (MK_VERSION): 20210101
23
24	* dirdeps.mk: first time we are read, just use TARGET_SPEC for
25	_DEP_TARGET_SPEC
26
272020-12-22  Simon J Gerraty  <sjg@beast.crufty.net>
28
29	* sys.mk (MAKE_SHELL): use ${.SHELL:Ush}
30	and use := when setting SHELL
31
322020-12-21  Simon J Gerraty  <sjg@beast.crufty.net>
33
34	* install-mk (MK_VERSION): 20201221
35
36	* dirdeps-options.mk: latest bmake allows only one arg to .undef
37
382020-12-11  Simon J Gerraty  <sjg@beast.crufty.net>
39
40	* dirdeps-targets.mk: allow for "." in DIRDEPS_TARGETS_DIRS
41	so that any directory can be treated as a target.
42
432020-11-26  Simon J Gerraty  <sjg@beast.crufty.net>
44
45	* install-mk (MK_VERSION): 20201126
46
47	* own.mk: use .MAKE.{UID,GID} if available.
48
49	* init.mk: suppress _SKIP_BUILD warning if doing -V
50
512020-11-20  Simon J Gerraty  <sjg@beast.crufty.net>
52
53	* install-mk (MK_VERSION): 20201120
54
55	* init.mk: rename LEVEL0_TARGETS to DIRDEPS_BUILD_LEVEL0_TARGETS
56
57	* dirdeps-targets.mk: fix typo in comment
58
592020-11-06  Simon J Gerraty  <sjg@beast.crufty.net>
60
61	* install-mk (MK_VERSION): 20201106
62
63	* meta.autodep.mk: use OBJ_EXTENSIONS rather than hardcode sed
64	args to tweak extensions for local deps.
65
662020-11-01  Simon J Gerraty  <sjg@beast.crufty.net>
67
68	* install-mk (MK_VERSION): 20201101
69
70	* dirdeps.mk: most leaf makefiles are not suitable for building
71	dirdeps.cache so if RELDIR is not "." use dirdeps.mk
72
732020-10-28  Simon J Gerraty  <sjg@beast.crufty.net>
74
75	* install-mk (MK_VERSION): 20201028
76
77	* dirdeps.mk: if we don't have :range use equivalent of M_RANGE
78	when building dirdeps.cache for leaf directory use -f dirdeps.mk
79
80	* sys.vars.mk: add M_JOT and M_RANGE
81
822020-10-01  Simon J Gerraty  <sjg@beast.crufty.net>
83
84	* install-mk (MK_VERSION): 20201001
85
86	* meta2deps.{py,sh}: throw an error if we don't see filemon version
87
882020-09-09  Simon J Gerraty  <sjg@beast.crufty.net>
89
90	* install-mk (MK_VERSION): 20200909
91
92	* dirdeps-cache-update.mk: use cache_update_dirdep as guard target
93
942020-08-26  Simon J Gerraty  <sjg@beast.crufty.net>
95
96	* dirdeps.mk: ensure we cannot confuse a static cache for dynamic
97	(even more rare that use of static cache is playing clever tricks
98	with it)
99
1002020-08-16  Simon J Gerraty  <sjg@beast.crufty.net>
101
102	* dirdeps-cache-update.mk: allow
103	MK_STATIC_DIRDEPS_CACHE_UPDATE_IMMEDIATE to control when we
104	actually update STATIC_DIRDEPS_CACHE.
105
106	* stage-install.sh: create dest directory if needed
107	before running install(1)
108
1092020-08-10  Simon J Gerraty  <sjg@beast.crufty.net>
110
111	* dirdeps-targets.mk: include Makefile.dirdeps.options
112
113	* dirdeps.mk: use _TARGETS if defined for DIRDEPS_CACHE
114
1152020-08-09  Simon J Gerraty  <sjg@beast.crufty.net>
116
117	* dirdeps.mk: default BUILD_DIRDEPS_MAKEFILE to empty
118
119	* dirdeps-cache-update.mk: building parallel cache update
120	under the context of dirdeps-cached would be ideal, but
121	is problematic, so it runs as a sibling.
122	Use cache-built target to ensure we wait for it to complete if
123	necessary.
124
1252020-08-06  Simon J Gerraty  <sjg@beast.crufty.net>
126
127	* install-mk (MK_VERSION): 20200806
128
129	* dirdeps-options: allow TARGET_SPEC to affect option values.
130	Use DIRDEPS_OPTIONS_QUALIFIER_LIST before using bare MK_*
131
132	* dirdeps-targets.mk: check for MK_STATIC_DIRDEPS_CACHE defined
133	before looking for STATIC_DIRDEPS_CACHE
134
1352020-08-05  Simon J Gerraty  <sjg@beast.crufty.net>
136
137	* host-target.mk: Darwin use MACHINE for HOST_ARCH too
138
139	* dirdeps-options.mk: improve debug output
140
1412020-07-22  Simon J Gerraty  <sjg@beast.crufty.net>
142
143	* dirdeps.mk: set and export DYNAMIC_DIRDEPS_CACHE
144	for use by dirdeps-cache-update.mk
145
146	* dirdeps-targets.mk: set and export STATIC_DIRDEPS_CACHE
147	for use by dirdeps-cache-update.mk even if we don't use it.
148
149	* dirdeps-cache-update.mk: we only need worry about the background
150	update case, with the above, the update from DIRDEPS_CACHE is
151	simple.
152
153	* meta2deps.py: R 1234 . is not interesting
154
1552020-07-20  Simon J Gerraty  <sjg@beast.crufty.net>
156
157	* sys.mk: default MK_STATIC_DIRDEPS_CACHE from MK_DIRDEPS_CACHE
158
159	* dirdeps-options.mk: do not :tu DIRDEPS_OPTIONS
160	allows use of lower case for pseudo options.
161
162	* dirdeps-cache-update.mk: magic to deal with STATIC_DIRDEPS_CACHE
163
1642020-07-18  Simon J Gerraty  <sjg@beast.crufty.net>
165
166	* dirdeps-targets.mk: Look for Makefile.dirdeps.cache
167	which allows us to have a static cache for expensive targets.
168	Use -DWITHOUT_STATIC_DIRDEPS_CACHE -DWITH_DIRDEPS_CACHE
169	to regenerate the dirdeps.cache it is a copy of.
170
1712020-07-17  Simon J Gerraty  <sjg@beast.crufty.net>
172
173	* Get rid of BUILD_AT_LEVEL0, MK_DIRDEPS_BUILD makes more sense.
174
1752020-07-16  Simon J Gerraty  <sjg@beast.crufty.net>
176
177	* dirdeps.mk (DIRDEP_LOADAVG_REPORT): make it easy to record
178	load averages at intervals during build.
179
1802020-07-15  Simon J Gerraty  <sjg@beast.crufty.net>
181
182	* install-mk (MK_VERSION): 20200715
183
184	* dirdeps.mk: tweak Checking line to make matching Finished
185	lines for post-build analysis easier.
186
187	* meta.autodep.mk: use !defined(WITHOUT_META_STATS)
188
189	* progs.mk: avoid prog.mk outputting multiple Finished lines
190
1912020-07-11  Simon J Gerraty  <sjg@beast.crufty.net>
192
193	* dirdeps.mk: further optimize dirdeps.cache
194	generate a DIRDEPS.${.TARGET} list for other purposes
195	and improve the layout.
196
1972020-07-10  Simon J Gerraty  <sjg@beast.crufty.net>
198
199	* dirdeps.mk: optimize content of dirdeps.cache
200
2012020-06-28  Simon J Gerraty  <sjg@beast.crufty.net>
202
203	* sys/*.mk: make it easier for local*sys.mk to customize by
204	using ?=
205
2062020-06-22  Simon J Gerraty  <sjg@beast.crufty.net>
207
208	* gendirdeps.mk (LOCAL_DEPENDS_GUARD): if we don't build at level 0
209	it is much safer to guard local depends with a simple check for
210	.MAKE.LEVEL > 0
211
2122020-06-10  Simon J Gerraty  <sjg@beast.crufty.net>
213
214	* install-mk (MK_VERSION): 20200610
215
216	* mkopt.sh: this needs posix shell so #!/bin/sh should be ok
217
2182020-06-06  Simon J Gerraty  <sjg@beast.crufty.net>
219
220	* install-mk (MK_VERSION): 20200606
221
222	* dirdeps-targets.mk: allow for filtering of .TARGETS
223
224	* meta2deps.py: fix bug in processing 'L'ink and 'M'ove
225	entries - and we don't care about 'W'rite entries.
226	Also ignore absolute paths that do not exist.
227
2282020-05-25  Simon J Gerraty  <sjg@beast.crufty.net>
229
230	* install-mk (MK_VERSION): 20200525
231
232	* init.mk: expand and simplify handling of qualified vars
233	like CPPFLAGS.${.TARGET:T}
234
2352020-05-15  Simon J Gerraty  <sjg@beast.crufty.net>
236
237	* install-mk (MK_VERSION): 20200515
238
239	* dirdeps.mk: set _debug_* earlier and allow passing -d*
240	flags to submake when building DIRDEPS_CACHE
241
2422020-05-09  Simon J Gerraty  <sjg@beast.crufty.net>
243
244	* whats.mk: more easily extensible
245
2462020-05-02  Simon J Gerraty  <sjg@beast.crufty.net>
247
248	* whats.mk: greatly simplify by adding what.c to SRCS
249
2502020-05-01  Simon J Gerraty  <sjg@beast.crufty.net>
251
252	* whats.mk: for libs take care how we add to *OBJS
253
254	* lib.mk: : works better with whats.mk
255
2562020-04-25  Simon J Gerraty  <sjg@beast.crufty.net>
257
258	* install-mk (MK_VERSION): 20200420
259
260	* meta.stage.mk: it is not a STAGE_CONFLICT if some-target.dirdep
261	contains the same ${RELDIR} and a prefix match for our ${TARGET_SPEC}
262
2632020-04-16  Simon J Gerraty  <sjg@beast.crufty.net>
264
265	* install-mk (MK_VERSION): 20200416
266
267	* sys/*.mk: set MAKE_SHELL rather than SHELL so as not to
268	  interfere with user env.
269
270	* sys.mk: default MAKE_SHELL to sh and SHELL to MAKE_SHELL
271
272	* autodep.mk: use MAKE_SHELL.
273
2742019-11-21  Simon J Gerraty  <sjg@beast.crufty.net>
275
276	* gendirdeps.mk: clear .SUFFIXES to avoid a lot of
277	  wasted effort, and unexport _meta_files when no longer needed as
278	  it consumes space we need for command line.
279
2802019-11-11  Simon J Gerraty  <sjg@beast.crufty.net>
281
282	* dirdeps.mk _DIRDEP_USE: use DIRDEP_DIR and add
283	  DIRDEP_USE_PRELUDE at start - facilitates job distribution
284
2852019-10-04  Simon J Gerraty  <sjg@beast.crufty.net>
286
287	* dirdeps-targets.mk: Use TARGET_SPEC_LAST_LIST
288	defaults to ${${TARGET_SPEC_VARS:[-1]}_LIST} to match valid
289	TARGET_SPEC qualified depend files.
290
2912019-10-02  Simon J Gerraty  <sjg@beast.crufty.net>
292
293	* dirdeps-targets.mk: encapsulate logic for finding top-level
294	  targets to set initial DIRDEPS for DIRDEPS_BUILD
295
2962019-09-27  Simon J Gerraty  <sjg@beast.crufty.net>
297
298	* install-mk (MK_VERSION): 20190911
299
300	* compiler.mk: set COMPILER_TYPE
301
3022019-07-17  Simon J Gerraty  <sjg@beast.crufty.net>
303
304	* install-mk (MK_VERSION): 20190704
305
306	* sys/Darwin.mk: support for Objective-C and clang
307
3082019-05-30  Simon J Gerraty  <sjg@beast.crufty.net>
309
310	* dirdeps.mk: avoid insanely long command line when generating cache
311
3122019-05-23  Simon J Gerraty  <sjg@beast.crufty.net>
313
314	* install-mk (MK_VERSION): 20190505
315
316	* whats.mk: handle corner case SHLIB defined but not LIB
317
3182018-09-19  Simon J Gerraty  <sjg@beast.crufty.net>
319
320	* install-mk (MK_VERSION): 20180919
321
322	* dirdeps-options.mk: .undef cannot handle var that expands to
323	  more than one var.
324
3252018-07-08  Simon J Gerraty  <sjg@beast.crufty.net>
326
327	* meta.stage.mk: allow wildcards in STAGE_FILES.* etc.
328
3292018-06-01  Simon J Gerraty  <sjg@beast.crufty.net>
330
331	* meta.autodep.mk: export META_FILES to avoid command line limit
332	* gendirdeps.mk: if we have lots of .meta files put them in
333	  an @list
334
3352018-05-28  Simon J Gerraty  <sjg@beast.crufty.net>
336
337	* dirdeps-options.mk: use local.dirdeps-options.mk
338	  not local.dirdeps-option.mk
339
3402018-04-20  Simon J Gerraty  <sjg@beast.crufty.net>
341
342	* install-mk (MK_VERSION): 20180420
343	* dirdeps.mk: include local.dirdeps-build.mk when .MAKE.LEVEL > 0
344	  ie. we are building something.
345
3462018-04-14  Simon J Gerraty  <sjg@beast.crufty.net>
347
348	* FILES: add dirdeps-options.mk to deal with optional DIRDEPS.
349
3502018-04-05  Simon J Gerraty  <sjg@beast.crufty.net>
351
352	* install-mk (MK_VERSION): 20180405
353
354	* ldorder.mk: describe how to use LDORDER_EXTERN_BARRIER
355	  if needed.
356
3572018-01-18  Simon J Gerraty  <sjg@beast.crufty.net>
358
359	* install-mk (MK_VERSION): 20180118
360
361	* ldorder.mk: let make compute correct link order
362
3632017-12-12  Simon J Gerraty  <sjg@beast.crufty.net>
364
365	* install-mk (MK_VERSION): 20171212
366
367	* gendirdeps.mk: guard against bogus entries in GENDIRDEPS_FILTER
368
3692017-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
370
371	* install-mk (MK_VERSION): 20171111
372
373	* lib.mk: ensure META_NOECHO is set
374
3752017-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
376
377	* Allow for host32 on rare occasions.
378
3792017-10-18  Simon J. Gerraty  <sjg@bad.crufty.net>
380
381	* install-mk (MK_VERSION): 20171018
382
383	* whats.mk: include what_thing in what_uuid to avoid problem
384	  when building multiple apps in the same directory.
385
3862017-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
387
388	* install-mk (MK_VERSION): 20170812
389
390	* autoconf.mk: Use CONFIGURE_DEPS so Makefile can
391	  add dependencies for config.recheck and config.gen
392
3932017-06-30  Simon J. Gerraty  <sjg@bad.crufty.net>
394
395	* install-mk (MK_VERSION): 20170630
396
397	* meta.stage.mk: avoid triggering stage_* targets with nothing to do.
398
3992017-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
400
401	* meta2deps.py: take special care of '..'
402
4032017-05-15  Simon J. Gerraty  <sjg@bad.crufty.net>
404
405	* install-mk (MK_VERSION): 20170515
406
407	* dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is
408	useful/necessary for a Makefile.depend file to export some knobs.
409	This is complicated when we are doing DIRDEPS_CACHE, so we will
410	handle export of any variables listed in DEP_EXPORT_VARS.
411
4122017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>
413
414	* install-mk (MK_VERSION): 20170505
415
416	* meta2deps.py: fix botched indenation.
417
4182017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
419
420	* sys/*.mk: Remove setting of MAKE it is unnecessary and
421	  in many cases wrong (basname rather than full path)
422
423	* scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk
424
425	* init.mk: define realbuild to simplify logic in {lib,prog}.mk etc
426
4272017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
428
429	* install-mk (MK_VERSION): 20170501
430
431	* doc.mk: fix typo in DOC_INSTALL_OWN
432
433	* inc.mk: handle INCGROUPS similar to freebsd
434
435	* files.mk: add something for files too
436
437	* add staging logic to lib.mk prog.mk etc.
438
4392017-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
440
441	* install-mk (MK_VERSION): 20170424
442
443	* dirdeps.mk: set NO_DIRDEPS when bootstrapping.
444	  also target of bootstrap-this when sed is needed should be ${_want:T}
445
4462017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
447
448	* install-mk (MK_VERSION): 20170418
449
450	* auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a
451	  prefix match for .CURDIR - in which case .CURDIR *is* __objdir.
452
4532017-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
454
455	* install-mk (MK_VERSION): 20170401
456
457	* meta2deps.py: add is_src so we can check if obj dependency
458	  is also a src dependency.
459
4602017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
461
462	* install-mk (MK_VERSION): 20170326
463
464	* meta.stage.mk: do nothing if NO_STAGING is defined.
465
4662017-03-24  Simon J. Gerraty  <sjg@bad.crufty.net>
467
468	* auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc.
469
4702017-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
471
472	* mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_*
473
4742017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
475
476	* install-mk (MK_VERSION): 20170301
477
478	* dirdeps.mk (_build_all_dirs): update this outside test for empty
479	  DIRDEPS.
480
481	* meta.stage.mk: allow multiple inclusion to the extent it makes
482	  sense.
483
4842017-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
485
486	* prog.mk (install_links): depends on realinstall
487
4882017-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>
489
490	* install-mk (MK_VERSION): 20170212
491
492	* dpadd.mk: avoid applying :T:R twice to DPLIBS entries
493
4942017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>
495
496	* install-mk (MK_VERSION): 20170130
497
498	* dirdeps.mk: use :range if we can.
499
500	* sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130
501
502	* meta2deps.py: clean paths without using realpath() where possible.
503	  fix sort_unique.
504
5052016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
506
507	* install-mk (MK_VERSION): 20161212
508
509	* meta2deps.py: set pid_cwd[pid] when we process 'C'hdir,
510	rather than when we detect pid change.
511
5122016-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>
513
514	* install-mk (MK_VERSION): 20161207
515
516	* meta.stage.mk: add stage_as_and_symlink for staging packages.
517	  We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able
518	  to use foo.tgz to reference the latest staged version - so we
519	  make foo.tgz a symlink to it.
520	  Using a target to do both operations ensures we stay in sync.
521
5222016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
523
524	* install-mk (MK_VERSION): 20161126
525
526	* dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk
527	  so it can add dependencies.
528
5292016-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
530
531	* dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE
532	  do that they can influence the result correctly.
533
534	* dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC
535
536	* dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST
537	  similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST
538
5392016-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>
540
541	* dirdeps.mk: remove dependence on jot (normal situations anyway).
542	  Before we read another Makefile.depend* set DEP_* vars from
543	  _DEP_TARGET_SPEC in case it uses any of them with :=
544	  When bootstrapping, trim any ,* from extention of chosen _src
545	  Makefile.depend* to get the machine value we subst for.
546
5472016-09-30  Simon J. Gerraty  <sjg@bad.crufty.net>
548
549	* dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to
550	  DEP_SKIP_DIR and DEP_DIRDEPS_FILTER
551
552	* sys.mk: extract some bits to sys.{debug,vars}.mk
553	  for easier re-use by others.
554
5552016-09-23  Simon Gerraty  <sjg@sjg-mba13>
556
557	* lib.mk: Use ${PICO} for extension for PIC objects.
558	  default to .pico (like NetBSD) safe on case insensitive filesystem.
559
5602016-08-19  Simon J. Gerraty  <sjg@bad.crufty.net>
561
562	* meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default
563
5642016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
565
566	* install-mk (MK_VERSION): 20160815
567
568	* dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only
569	consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date.
570
5712016-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>
572
573	* meta.sys.mk (.MAKE.META.IGNORE_PATHS):
574	  in meta mode we can ignore the mtime of makefiles
575
5762016-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
577
578	* install-mk (MK_VERSION): 20160802
579
580	* lib.mk (libinstall): depends on beforinstall
581
582	* prog.mk (proginstall): depends on beforinstall
583	  patch from Lauri Tirkkonen
584
585	* dirdeps.mk (bootstrap): When bootstrapping; creat
586	.MAKE.DEPENDFILE_DEFAULT and allow additional filtering via
587	.MAKE.DEPENDFILE_BOOTSTRAP_SED
588
589	* dirdeps.mk: move some comments to where they make sense.
590
5912016-07-27  Simon J. Gerraty  <sjg@bad.crufty.net>
592
593	* dirdeps.mk (DIRDEPS_CACHE): no dirname.
594
5952016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
596
597	* install-mk (MK_VERSION): 20160602
598	* meta.autodep.mk: when passing META_FILES to gendirdeps.mk
599	  do not apply :T to META_XTRAS
600	  patch from Bryan Drewery at FreeBSD.org.
601
6022016-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
603
604	* install-mk (MK_VERSION): 20160530
605	* meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH
606	  make it so.
607
6082016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
609
610	* install-mk (MK_VERSION): 20160512
611
612	* dpadd.mk: always include local.dpadd.mk if it exists
613	  remove some things that better belong in local.dpadd.mk
614	  skip INCLUDES_* for staged libs unless SRC_* defined.
615
616	* own.mk: add INCLUDEDIR
617
6182016-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
619
620	* dirdeps.mk: when doing -f dirdeps.mk if target suppies no
621	  TARGET_MACHINE - :E will be empty or match part of path, use
622	  ${MACHINE}
623
6242016-04-07  Simon J. Gerraty  <sjg@bad.crufty.net>
625
626	* meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
627	  NO_FILEMON_COOKIE
628
629	* dirdeps.mk: move the logic that allows for
630	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
631	  inside the check for !target(_DIRDEP_USE)
632
6332016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
634
635	* Use <> when including local*.mk and others which may exist
636	  elsewhere so that user can better control what they get.
637
638	* meta.autodep.mk (NO_FILEMON_COOKIE):
639	  create a cookie if we ever build dir with nofilemon
640	  so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
641
6422016-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
643
644	* install-mk (MK_VERSION): 20160401
645
646	* meta2deps.py: fix old print statement when debugging.
647
648	* gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
649	  patch from Bryan Drewery
650
6512016-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
652
653	* install-mk (MK_VERSION): 20160317 (St. Pats)
654
655	* warnings.mk: g++ does not like -Wimplicit
656
657	* sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
658	  pelthora of common suffixes for C++
659
660	* lib.mk: use .So for shared objects
661
6622016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
663
664	* install-mk (MK_VERSION): 20160315
665
666	* meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
667	  normally only applies to scripts.
668
669	* dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
670	  well as outside it.
671
6722016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
673
674	* install-mk (MK_VERSION): 20160310
675
676	* dirdeps.mk: use targets rather than a list to track DIRDEPS that
677	  we have processed; the list gets very inefficient as number of
678	  DIRDEPS gets large.
679
680	* sys.dependfile.mk: fix comment wrt MACHINE
681
682	* meta.autodep.mk: ignore staged DPADDs when bootstrapping.
683	  patch from Bryan Drewery
684
6852016-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
686
687	* meta2deps.sh: don't ignore subdirs.
688	  patch from Bryan Drewery
689
6902016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
691
692	* install-mk (MK_VERSION): 20160226
693
694	* gendirdeps.mk: mark _DEPENDFILE .NOMETA
695
6962016-02-20  Simon J. Gerraty  <sjg@bad.crufty.net>
697
698	* dirdeps.mk: we shouldn't normally include .depend but if we do
699	  use .dinclude if we can.
700
7012016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
702
703	* install-mk (MK_VERSION): 20160218
704	* sys.clean-env.mk: with recent change to Var_Subst()
705	  we cannot use the '$$' trick, but .export-literal does the job
706	  we need.
707	* auto.dep.mk: make use .dinclude if we can.
708
709
7102016-02-05  Simon J. Gerraty  <sjg@bad.crufty.net>
711
712	* dirdeps.mk:
713	  Add _build_all_dirs such that local.dirdeps.mk can
714	  add fully qualified dirs to it.
715	  These will be built normally but the current
716	  DEP_RELDIR will not depend on then (to avoid cycles).
717	  This makes it easy to hook things like unit-tests into build.
718
719
7202016-01-21  Simon J. Gerraty  <sjg@bad.crufty.net>
721
722	* dirdeps.mk: add bootstrap-empty
723
7242015-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
725
726	* install-mk (MK_VERSION): 20151212
727	* auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
728	  only apply :tA to __objdir when comparing to .OBJDIR
729
7302015-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
731
732	* install-mk (MK_VERSION): 20151111
733
734	* meta.sys.mk: include sys.dependfile.mk
735
736	* sys.mk (OPTIONS_DEFAULT_NO): use options.mk
737	  to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
738	  include local.sys.env.mk early
739	  include local.sys.mk later
740
741	* own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
742
7432015-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
744
745	* meta.sys.mk (META_COOKIE_TOUCH):
746	  add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
747
748	* meta.stage.mk: stage_libs should ignore SYMLINKS.
749
7502015-10-23  Simon J. Gerraty  <sjg@bad.crufty.net>
751
752	* install-mk (MK_VERSION): 20151022
753
754	* sys.mk: BSD/OS does not have 'type' as a shell builtin.
755
7562015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
757
758	* install-mk (MK_VERSION): 20151020
759
760	* dirdeps.mk: Add logic for
761	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
762
7632015-10-14  Simon J. Gerraty  <sjg@bad.crufty.net>
764
765	* install-mk (MK_VERSION): 20151010
766
7672015-10-02  Simon J. Gerraty  <sjg@bad.crufty.net>
768
769	* meta.stage.mk: use staging: ${STAGE_TARGETS:...
770	  to have stage_lins run last in non-jobs mode.
771	  Use .ORDER only for jobs mode.
772
7732015-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
774
775	* rst2htm.mk: allow for per target flags etc.
776
7772015-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
778
779	* install-mk (MK_VERSION): 20150901
780
781	* doc.mk: create dir if needed use DOC_INSTALL_OWN
782
7832015-06-15  Simon J. Gerraty  <sjg@bad.crufty.net>
784
785	* install-mk (MK_VERSION): 20150615
786
787	* auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
788	  Follow make's normal precedence rules.
789
790	* gendirdeps.mk: allow customization of the header.
791	  eg. for FreeBSD:
792	  GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
793
794	* meta.autodep.mk: ignore dirdeps.cache*
795
796	* meta.stage.mk: when bootstrapping options it can be handy to
797	  throw warnings rather than errors for staging conflicts.
798
799	* meta.sys.mk: include local.meta.sys.mk for customization
800
8012015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
802
803	* install-mk (MK_VERSION): 20150606
804
805	* dirdeps.mk: don't rely on manually maintained Makefile.depend
806	  to set DEP_RELDIR and reset DIRDEPS.
807	  By setting DEP_RELDIR ourselves we can skip :tA
808
809	* gendirdeps.mk: skip setting DEP_RELDIR.
810
8112015-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
812
813	* dirdeps.mk: avoid wildcards like make(bootstrap*)
814
8152015-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
816
817	* install-mk (MK_VERSION): 20150520
818
819	* dirdeps.mk: when we are building dirdeps cache file we *want*
820	  meta_oodate to look at all the Makefile.depend files, so
821	  set .MAKE.DEPENDFILE to something that won't match.
822
823	* meta.stage.mk: for STAGE_AS_* basename of file may not be unique
824	  so first use absolute path as key.
825	  Also skip staging at level 0.
826
8272015-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
828
829	* install-mk (MK_VERSION): 20150430
830
831	* dirdeps.mk: fix _count_dirdeps for non-cache case.
832
8332015-04-16  Simon J. Gerraty  <sjg@bad.crufty.net>
834
835	* install-mk (MK_VERSION): 20150411
836	  bump version
837
838	* own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
839	  it is here mainly for documentation purposes, since
840	  if using auto.obj.mk it is better done via sys.mk
841
8422015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
843
844	* install-mk (MK_VERSION): 20150401
845
846	* meta2deps.sh: support @list
847
848	* meta2deps.py: updates from Juniper
849	  o add EXCLUDES
850	  o skip bogus input files.
851	  o treat 'M' and 'L' as both an 'R' and a 'W'
852
8532015-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
854
855	* install-mk (MK_VERSION): 20150303
856
857	* dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
858	  which is built via sub-make so we have a .meta file to tell if
859	  it is out-of-date.
860	  The dirdeps-cache contains the same dependency rules that we
861	  normaly construct on the fly.
862	  This adds a few seconds overhead when the cache is out of date,
863	  but for a large target, the savings can be significant (10-20min).
864
8652014-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
866
867	* install-mk (MK_VERSION): 20141118
868
869	* meta.stage.mk: add stale_staged
870
871	* dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
872	  only useful under very rare conditions such as
873	  FreeBSD's make universe.
874
875	* auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
876
8772014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
878
879	* install-mk (MK_VERSION): 20141111
880
881	* mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
882
8832014-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
884
885	* FILES: include mkopt.sh which allows handling options in shell
886	  scripts in a manner compatible with options.mk
887
8882014-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
889
890	* meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
891	  for GENDIRDEPS_FILTER to avoid surprises.
892
8932014-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
894
895	* dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
896	  the time it is applied to __depdirs they have.
897
898	* dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
899	  expects patterns like *.${MACHINE}
900
901	* cython.mk (pyprefix?): use pyprefix to find python bits
902	  since prefix might be something else (where we install our
903	  stuff)
904
9052014-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
906
907	* install-mk (MK_VERSION): 20140911
908
909	* dirdeps.mk: add bootstrap target to simplify adding support for
910	  new MACHINE.
911
9122014-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
913
914	* gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
915	  GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
916	  Makefile.depend files.
917
9182014-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
919
920	* install-mk (MK_VERSION): 20140828
921
922	* cython.mk: capture logic for building python extension modules
923	  with Cython.
924
9252014-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
926
927	* meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
928
9292014-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
930
931	* install-mk (MK_VERSION): 20140801
932
933	* dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
934	identify the autodep.mk variant.
935
936	* sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
937	initial value does not match .MAKE.DEPENDFILE_PREFIX
938
939	* meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
940
9412014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
942
943	* install-mk (MK_VERSION): 20140522
944
945	* lib.mk: use CC to link shlib for linux too
946	  patch from Brendan MacDonell
947
9482014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
949
950	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
951	  if WITH_META_STATS is defined.
952
9532014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
954
955	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
956	  to supress dirdeps outside of .CURDIR.
957
9582014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
959
960	* Fix spelling errors - patch from Pedro Giffuni
961
9622014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>
963
964	* install-mk (MK_VERSION): 20140314
965
966	* dirdeps.mk (beforedirdeps): a handy hook
967
968	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
969	  to visit leaf dirs to be intercepted (eg. for distributed
970	  build).
971
972	* dirdeps.mk (__depdirs): ensure // don't sneak in
973
974	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in
975
976
9772014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>
978
979	* rst2htm.mk (RST2PDF): add support for rst2pdf
980
9812014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
982
983	* install-mk (MK_VERSION): bump version
984	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
985	  available.
986
9872014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
988
989	* options.mk: avoid :U so this isn't bmake dependent
990
9912014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>
992
993	* options.mk: cleanup and simplify semanitcs
994	  NO_* dominates all, if both WITH_* and WITHOUT_*
995	  are defined then result is DOMINATE_* which defaults to "no".
996	  Ie. WITHOUT_ normally wins.
997
9982013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
999
1000	* install-mk (MK_VERSION): bump version
1001	* meta2deps.py: convert to print function for python3 compat.
1002	  we also need to open files with mode 'r' rather than 'rb'
1003	  otherwise we get bytes instead of strings.
1004
10052013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1006
1007	* install-mk (MK_VERSION): bump version
1008
1009	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
1010	  apply the same filtering (M_dep_qual_fixes) when setting _machines
1011	  as _build_dirs.
1012	  Also fix the filtering of Makefile.depend files - for reporting
1013	  what we are looking for (M_dep_qual_fixes can get confused by
1014	  Makefile.depend)
1015	  Add some more debug info.
1016
10172013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1018
1019	* gendirdeps.mk (_objtops): fix typo also
1020	  while processing M2D_OBJROOTS to gather qualdir_list
1021	  qualify $ql with loop iterator to ensure correct results.
1022
10232013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1024
1025	* install-mk (MK_VERSION): 20130801
1026	* libs.mk: update to match progs.mk
1027
10282013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>
1029
1030	* install-mk (MK_VERSION): 20130726
1031	  some updates from Juniper and FreeBSD
1032	  o meta2deps.py: indicate file and line number when we hit parse
1033	    errors
1034	    also allow @file to provide huge list of .meta files.
1035	* meta2deps.py: add try_parse() to cleanup the above.
1036
10372013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1038
1039	* install-mk (MK_VERSION): 20130716
1040	* own.mk: add GPROG as an option
1041	* prog.mk: honor MK_GPROF==yes
1042
10432013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1044
1045	* install-mk (MK_VERSION): 20130505
1046	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
1047	  for when $MACHINE isn't enough for objdir distinction.
1048	  Bring meta2deps.sh closer to par with meta2deps.py.
1049
10502013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
1051
1052	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
1053	  also if the target 'beforeinstall' exists, make it depend on
1054	  .dirdep (incase it uses STAGE_INSTALL).
1055
10562013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
1057
1058	* install-mk (MK_VERSION): 20130401 ;-)
1059	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
1060	  wrapper around install(1).
1061	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
1062
10632013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
1064
1065	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
1066	* install-mk (MK_VERSION): bump version
1067
10682013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>
1069
1070	* install-mk (MK_VERSION): bump version
1071	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
1072	  any trailing /., rather apply :tA only when needed.
1073	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
1074	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
1075	  consistently.
1076	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
1077
10782013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
1079
1080	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
1081	  it is simpler to just not update when say building for "host"
1082	  (where we know we apply filters to DIRDEPS), and using a
1083	  non-machine qualified dependfile.
1084
10852013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1086
1087	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
1088	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
1089	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
1090	* meta2deps.py: if machine is "host", then also trim
1091	  self.host_target from any OBJROOTS.
1092
1093
10942013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1095
1096	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
1097	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
1098	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
1099	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.
1100
11012013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1102
1103	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
1104	  and hook to all: via staging:
1105
11062013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
1107
1108	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
1109	  use a separate variable for the default .MAKE.DEPENDFILE value
1110	  so that it can be controlled independently of
1111	  .MAKE.DEPENDFILE_PREFERENCE
1112
1113	* meta.stage.mk: throw error if cp fails etc.
1114	  Stage*() return early if passed no args.
1115	  .ORDER stage_*
1116
11172013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1118
1119	* install-mk (MK_VERSION): bump version
1120	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
1121
11222013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1123
1124	* install-mk (MK_VERSION): bump version to 20130210
1125	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
1126	  from Juniper.
1127	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
1128	    than just MACHINE.
1129	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.
1130
11312013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>
1132
1133	* install-mk (MK_VERSION): bump version to 20130123
1134	* meta.stage.mk: add stage_links (hard links).
1135	  if doing hard links, we add dest to link as well.
1136	  Default the stage dir for [sym]links to STAGE_OBJTOP since
1137	  these are typically specified as absolute paths.
1138	  Add -m "mode" flag to StageFiles and StageAs.
1139
11402012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1141
1142	* install-mk (MK_VERSION): bump version to 20121111
1143	* autoconf.mk: avoid meta mode seeing changed commands for config.status
1144	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
1145	  in case we were found via .../mk
1146	* sys.clean-env.mk: move it from examples, we and others use it
1147	  "as is".
1148	* FILES: add srctop.mk and options.mk
1149	* own.mk: convert to using options.mk
1150	  which is modeled after FreeBSD's handling of MK_*
1151	  but more flexible.
1152	  This allows MK_* for boolean knobs to not be confused
1153	  with MK* which can be commands.
1154
1155	* examples/sys.clean-env.mk: add WITH[OUT]_ to
1156	  MAKE_ENV_SAVE_PREFIX_LIST.
1157	  Mention that HOME=/var/empty might be a good idea.
1158
11592012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1160
1161	* sys.dependfile.mk: if not depend file exists, $MACHINE
1162	  specific ones are supported but not the default,
1163	  check if any exist and follow suit.
1164
11652012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>
1166
1167	* install-mk (MK_VERSION): bump version to 20121106
1168
11692012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
1170
1171	* import latest dirdeps.mk and meta2deps.py from Juniper.
1172	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
1173	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
1174	  appropriate.
1175
11762012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1177
1178	* meta.stage.mk: update CLEANFILES
1179	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
1180	* progs.mk: Add LDADD to PROG_VARS
1181
11822012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1183
1184	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
1185	  _STAGED_DIRS so that these can be turned into filters for
1186	  GENDIRDEPS_FILTER.
1187
11882012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1189
1190	* install-mk (MK_VERSION): bump version to 20121010
1191	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
1192	target.dirdep matches .dirdep
1193
11942012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1195
1196	* install-mk (MK_VERSION): bump version to 20120808
1197	* import latest meta2deps.py from Juniper.
1198
11992012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1200
1201	* install-mk (MK_VERSION): bump version to 20120711
1202	* dep.mk: add explicit dependencies on SRCS after applying
1203	  SRCS_DEP_FILTER
1204	* meta.autodep.mk: add explicit dependencies on SRCS after
1205	  applying SRCS_DEP_FILTER
1206	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
1207
12082012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
1209
1210	* install-mk (MK_VERSION): bump version to 20120626
1211	* meta.sys.mk: ignore PYTHON if it does not exist
1212	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
1213	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
1214	  entries ending in .${MACHINE} to decide if qualified _dirdep is
1215	  needed.
1216	* gendirdeps.mk: only produce unqualified deps if no
1217	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
1218	* meta.subdir.mk: apply SUBDIRDEPS_FILTER
1219
12202012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
1221
1222	* install-mk (MK_VERSION): bump version to 20120420
1223	* add sys.dependfile.mk so we can experiment with
1224	  .MAKE.DEPENDFILE_PREFERENCE
1225	* meta.autodep.mk: _DEPENDFILE is precious!
1226
12272012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
1228
1229	* install-mk (MK_VERSION): bump version to 20120315
1230	* install-new.mk: avoid being interrupted
1231
12322012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
1233
1234	* man.mk: MAN might have multiple values so be careful with exists().
1235
12362012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>
1237
1238	* install-mk (MK_VERSION): bump version to 20120112
1239	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
1240	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
1241
12422011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1243
1244	* install-mk (MK_VERSION):  bump version to 20111201
1245	* import dirdeps.mk from Juniper sjg@
1246	  o more consistent handling of DEP_MACHINE, especially when
1247	    dealing with an odd Makefile.depend, when normally using
1248	    Makefile.depend.${MACHINE}
1249
12502011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>
1251
1252	* install-mk (MK_VERSION): bump version to 20111122
1253	* meta.autodep.mk: add some debug output, be more crisp about
1254	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend
1255
12562011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1257
1258	* install-mk (MK_VERSION): bump version to 20111111
1259	  it's too cool to miss
1260	* import meta* updates from Juniper sjg@
1261	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
1262	    normally using Makefile.depend.${MACHINE}), handy for
1263	    read-only manually maintained dependencies.
1264	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
1265	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
1266	    anything.
1267
12682011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>
1269
1270	* install-new.mk separate the cmp and copy logic to its own function.
1271
12722011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
1273
1274	* install-mk (MK_VERSION): bump version to 20111028
1275	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
1276	* subdir.mk: ensure _SUBDIRUSE is provided
1277	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
1278	* meta.subdir.mk: always allow for Makefile.depend
1279
12802011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1281
1282	* install-mk (MK_VERSION): bump version to 20111010
1283	  o minor tweak to *dirdeps.mk from Juniper sjg@
1284
12852011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1286
1287	* install-mk (MK_VERSION): bump version to 20111001
1288	  o add meta2deps.py from Juniper sjg@
1289	  o tweak gendirdeps.mk to work with meta2deps.py when not
1290	    cross-building
1291	* autoconf.mk: add autoconf-input as a hook for regenerating
1292	  AUTOCONF_INPUTS (configure).
1293
12942011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>
1295
1296	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
1297	  trigger for updating Makefile.depend*
1298
12992011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1300
1301	* install-mk (MK_VERSION): bump version to 20110808
1302	* obj.mk: minor cleanup
1303	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
1304
13052011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1306
1307	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
1308	  specified dir.
1309
13102011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
1311
1312	* meta.autodep.mk: if XMAKE_META_FILE is set
1313	  the makefile uses a foreign make, and so dependencies
1314	  can only be gathered from a clean tree build.
1315
13162011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>
1317
1318	* install-mk (MK_VERSION): bump version to 20110622
1319	* meta.autodep.mk: improve bootstraping
1320
13212011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1322
1323	* yacc.mk: handle the corner case of .c being removed
1324	  while .h remains.
1325
13262011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1327
1328	* yacc.mk: do .y.h and .y.c separately
1329
13302011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1331
1332	* install-mk (MK_VERSION): bump version to 20110606
1333	* don't store SRC_DIRDEPS in Makefile.depend* by default
1334	  not everyone needs it.
1335
13362011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1337
1338	* install-mk (MK_VERSION): bump version to 20110505
1339	  first release including meta mode makefiles
1340
13412011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
1342
1343	* meta.stage.mk: add STAGE_AS_SETS and stage_as
1344	  for things that need to be staged with different names.
1345
13462011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1347
1348	* meta.stage.mk: add notion of STAGE_SETS
1349	  so a makefile can stage to multiple dirs
1350
13512011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1352
1353	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
1354	  on target name.
1355
13562011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
1357
1358	* install-mk (MK_VERSION): bump version to 20110330
1359
13602011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
1361
1362	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
1363	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
1364	* sys.mk: re-define M_whence in terms of M_type.
1365	  M_type is useful for checking if something is a builtin.
1366
13672011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1368
1369	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
1370	  stage_libs
1371
13722011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1373
1374	* dirdeps.mk: correct value for _depdir_files depends on
1375	  .MAKE.DEPENDFILE
1376	  Add our copyright - just to make it clear we have frobbed this
1377	  quite a bit.
1378	  DEP_MACHINE needs to be set to MACHINE each time, if using only
1379	  Makefile.depend (cf. Makefile.depend.${MACHINE})
1380
1381	* meta.stage.mk: meta mode version of staging
1382
1383	* init.mk, final.mk: include local.*.mk to simplify customization
1384
13852011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1386
1387	* auto.obj.mk: just because we are doing mk destroy, we should
1388	  still set .OBJDIR correctly if it exists.
1389
1390	* install-mk (mksrc): do not exclude meta.sys.mk
1391
13922011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1393
1394	* host-target.mk: set/export _HOST_ARCH etc separately,
1395	  catch junk resulting from uname -p, so we can find sys/Linux.mk
1396	  correctly.
1397
13982011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
1399
1400	* meta.sys.mk: throw an error if /dev/filemon is missing and we
1401	  expected to be updating Makefile.depend*
1402
14032011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
1404
1405	* install-mk (MK_VERSION): bump version to 20110214
1406	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
1407
14082010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1409
1410	* meta.sys.mk: not valid for older bmake
1411
14122010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>
1413
1414	* install-mk (MK_VERSION): bump version to 20100919
1415	include dirdeps.mk et al from Juniper Networks,
1416	for meta mode - requires filemon(9).
1417	* sys.mk, subdir.mk: Add hooks for meta mode.
1418	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
1419	to make turning it on/off simple.
1420
14212010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1422
1423	* install-mk (MK_VERSION): bump version to 20100616
1424	* fix typo in sys.mk
1425
14262010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1427
1428	* install-mk (MK_VERSION): bump version to 20100612
1429	* lib.mk: remove duplicate addition to SOBJS
1430
14312010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1432
1433	* sys.mk: Add a means of selectively turning on debug flags.
1434	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
1435	  will act as if we did make -dv if .CURDIR ends in lib/sjg
1436	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
1437	  the start of sys.mk rather than the end.
1438	  This only makes sense for leaf dirs, so we check that
1439	  .MAKE.LEVEL > 0
1440
14412010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>
1442
1443	* install-mk (MK_VERSION): bump version to 20100608
1444	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
1445	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
1446	  also make it easier for folk to tweak
1447
14482010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1449
1450	* install-mk (MK_VERSION): bump version to 20100606
1451	  do not install examples/*
1452	* FILES: add examples/sys.clean-env.mk
1453	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
1454	  this requires bmake-20100606 or later to work.
1455
14562010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1457
1458	* sys.mk (M_tA): better simulate the result of :tA if not available.
1459
14602010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1461
1462	* sys.mk: canonicalize MAKE_VERSION
1463	  old versions reported bmake-<src-date> build-<build-date>
1464	  whereas we only care about <src-date>
1465
14662010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1467
1468	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
1469	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
1470	  is !empty
1471
14722010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
1473
1474	* dpadd.mk: use LDADD_* if defined.
1475
14762010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
1477
1478	* install-mk (MK_VERSION): bump version to 20100420
1479	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
1480	* autoconf.mk allow AUTO_AUTOCONF
1481
14822010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>
1483
1484	* obj.mk: add objwarn to keep freebsd makefiles happy
1485	* auto.obj.mk: ensure Mkdirs is available.
1486	* FILES: add auto.dep.mk - a simpler version of autodep.mk
1487	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
1488	  asked to do that.
1489	  fix/simplify the tests for when to run mkdep.
1490	* auto.dep.mk: add some explanation of how/what we do.
1491	* autodep.mk: skip the .OPTIONAL frobbing of .depend
1492	  bmake's FROM_DEPEND flag makes it redundant.
1493
14942010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1495
1496	* install-mk (MK_VERSION): bump version to 20100404
1497	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
1498	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
1499	Also create a target _SUBDIRUSE so that we can  be used without
1500	subdir.mk
1501
15022010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1503
1504	* dep.mk: use <> when .including so can override.
1505
15062010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1507
1508	* lib.mk (SHLIB_LINKS): ensure a string comparison.
1509
15102010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1511
1512	* install-mk (MK_VERSION): bump version to 20100102
1513	* own.mk: ensure PRINTOBJDIR works
1514	* autoconf.mk: pass on CONFIGURE_ARGS
1515	* init.mk: handle COPTS.${.IMPSRC:T} etc.
1516	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
1517	  fix handling of symlinks for darwin
1518	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
1519	* man.mk: suppress chown when not root.
1520	* rst2htm.mk: allow srcs from multiple locations.
1521	* sys.mk: M_whence, stop after 1st line of output.
1522	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
1523	* sys/SunOS.mk: we need to export PATH
1524
15252009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>
1526
1527	* install-mk (MK_VERSION): bump version
1528	  include rst2htm.mk
1529
15302009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>
1531
1532	* sys.mk,libnames.mk add .-include <local.*>
1533	  this allows local customization without the need to edit the
1534	  distributed files.
1535
15362009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>
1537
1538	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
1539	  older versions already installed.
1540
15412009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>
1542
1543	* stage.mk (.stage-install): generalize lib.mk's .libinstall
1544	* rules.mk rules for generic Makefile.
1545	* inc.mk install for includes.
1546
15472009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>
1548
1549	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
1550	  this, so provide it if using native make.
1551
15522009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>
1553
1554	* FILES: move all the platform *.sys.mk files to sys/*.mk
1555	* Rename Generic.sys.mk to sys.mk - we always want it.
1556
15572009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>
1558
1559	* install-mk (MK_VERSION): bump version
1560	* host-target.mk: only export the expensive stuff
1561	* Generic.sys.mk (sys_mk): for SunOS we need to look for
1562	  ${HOST_OS}.${HOST_OSMAJOR} too!
1563
15642009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>
1565
1566	* install-mk (MK_VERSION): bump version
1567	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
1568	  based on patch from Greg Olszewski.
1569	* Generic.sys.mk: if we have nothing to work with
1570	set LORDER etc only if we can find it.
1571
15722009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
1573
1574	* install-mk (MK_VERSION): bump version
1575	* man.mk: cleanman: remove CLEANMAN if defined.
1576
15772009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>
1578
1579	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
1580
15812009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>
1582
1583	* install-mk (MK_VERSION): bump version
1584	include auto.obj.mk
1585
1586
15872009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
1588
1589	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
1590
15912008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
1592
1593	* install-mk (MK_VERSION): bump version
1594	man.mk: ensure we generate *.cat1 etc in .
1595
15962008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>
1597
1598	* install-mk (MK_VERSION): bump version
1599	add prlist.mk
1600
16012007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
1602
1603	* Generic.sys.mk: Allow os specific sys.mk to be in a
1604	subdir of ${.PARSEDIR}
1605
16062007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>
1607
1608	* install-mk (MK_VERSION): bump version
1609	* general cleanup
1610	* dpadd.mk introduce DPMAGIC_LIBS_*
1611
16122007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>
1613
1614	* install-mk (MK_VERSION): bump version
1615
1616	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
1617	depend files and ensure clean is called for each lib/prog.
1618
16192007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>
1620
1621	* autodep.mk (.depend): delete lines that do not start with
1622	space and do not contain ':'
1623
16242007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>
1625
1626	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
1627	so make sure the transform for .OPTIONAL copes.
1628
16292007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1630
1631	* install-mk (MK_VERSION): bump version
1632
1633	* own.mk: make sure RM and LN are defined.
1634
1635	* obj.mk: fix a typo, and objlink target.
1636
16372006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>
1638
1639	* install-mk (MK_VERSION): bump version
1640	* added libs.mk - analogous to progs.mk
1641	  make both of them always inlcude {lib,prog}.mk
1642
16432006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>
1644
1645	* progs.mk: add a means of building multiple apps in one dir.
1646
16472006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
1648
1649	* install-mk (MK_VERSION): bump version to 20061126
1650
1651	* warnings.mk: detect invalid WARNINGS_SET
1652
1653	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
1654	specific warnings.
1655
1656	* For .cc sources, turn off warnings that g++ vomits on.
1657
16582006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>
1659
1660	* own.mk: if __initialized__ target doesn't exist and we are
1661	FreeBSD we got here directly from sys.mk
1662
16632006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>
1664
1665	* install-mk (MK_VERSION): bump version to 20061106
1666	add scripts.mk
1667
16682006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
1669
1670	* install-mk (MK_VERSION): bump version to 20060318
1671
1672	* autodep.mk: avoid := when modifying OBJS into __dependsrcs
1673
16742006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>
1675
1676	* install-mk (MK_VERSION): bump version to 20060302
1677	* autodep.mk: use -MF et al to help gcc+ccache DTRT.
1678
16792006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
1680
1681	* install-mk (MK_VERSION): bump version to 20060301
1682	* autodep.mk (.depend):
1683	if MAKE_VERSION is newer than  20050530 we can make .END depend on
1684	.depend and make .depend depend on __depsrcs that exist.
1685	* dpadd.mk: add SRC_PATHADD
1686
16872005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
1688
1689	* install-mk (MK_VERSION): bump version to 20051104
1690	* prog.mk: remove all the LIBC?= junk, use
1691	.-include libnames.mk instead (none by default).
1692	also if USE_DPADD_MK is set, include that.
1693
16942005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
1695
1696	* install-mk (MK_VERSION): bump version to 20051001
1697	Add UnixWare.sys.mk from Klaus Heinz.
1698
16992005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>
1700
1701	* install-mk: always install *.sys.mk and if need be symlink one
1702	to sys.mk
1703
17042005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
1705
1706	* subdir.mk, own.mk: use .MAKE rather than MAKE
1707
17082004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
1709
1710	* own.mk: don't use NetBSD's _SRC_TOP_ it can
1711	cause confusion.  Also don't take just 'mk' as a
1712	srctop indicator.
1713
17142004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
1715
1716	* warnings.mk: overhauled, now very powerful.
1717
17182004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1719
1720	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
1721
17222004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>
1723
1724	* install-mk (MK_VERSION): bump version to 20040201
1725	* extract HOST_TARGET stuff to host-target.mk so own.mk and
1726	Generic.sys.mk can share.
1727	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
1728
17292003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>
1730
1731	* install-mk (MK_VERSION): 20030930
1732	* rename generic.sys.mk to Generic.sys.mk
1733	so that it does not get installed (unless being used as sys.mk)
1734	* set OS and ROOT_GROUP for those that we know the value.
1735	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
1736	we don't do it again for each sub-make.
1737
17382003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
1739
1740	* install-mk (MK_VERSION): 20030928
1741	Add some extra *.sys.mk from bootstrap-pkgsrc
1742	some of these likely still need work.
1743	Make everything default to root:wheel ownership,
1744	sys.mk can set ROOT_GROUP accordingly.
1745
17462003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>
1747
1748	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
1749	not the portable ones.
1750
17512003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
1752
1753	* install-mk: add ability to use cp -f when updating
1754	destination .mk files.  Also now possible to play games with
1755	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
1756	into dest - not recommended unless you seriously want to.
1757
17582003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
1759
1760	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
1761	for semi-compatability with NetBSD.
1762
17632003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
1764
1765	* install-mk: add a version indicator
1766
17672003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>
1768
1769	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
1770
1771	* install-mk: Allow FORCE_SYS_MK to come from env
1772
1773
1774
1775