xref: /freebsd/contrib/bmake/mk/ChangeLog (revision 63d1fd5970ec814904aa0f4580b10a0d302d08b2)
12016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
2
3	* install-mk (MK_VERSION): 20161212
4
5	* meta2deps.py: set pid_cwd[pid] when we process 'C'hdir,
6	rather than when we detect pid change.
7
82016-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>
9
10	* install-mk (MK_VERSION): 20161207
11
12	* meta.stage.mk: add stage_as_and_symlink for staging packages.
13	  We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able
14	  to use foo.tgz to reference the latest staged version - so we
15	  make foo.tgz a symlink to it.
16	  Using a target to do both operations ensures we stay in sync.
17
182016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
19
20	* install-mk (MK_VERSION): 20161126
21
22	* dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk
23	  so it can add dependencies.
24
252016-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
26
27	* dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE
28	  do that they can influence the result correctly.
29
30	* dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC
31
32	* dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST
33	  similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST
34
352016-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>
36
37	* dirdeps.mk: remove dependence on jot (normal situations anyway).
38	  Before we read another Makefile.depend* set DEP_* vars from
39	  _DEP_TARGET_SPEC in case it uses any of them with :=
40	  When bootstrapping, trim any ,* from extention of chosen _src
41	  Makefile.depend* to get the machine value we subst for.
42
432016-09-30  Simon J. Gerraty  <sjg@bad.crufty.net>
44
45	* dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to
46	  DEP_SKIP_DIR and DEP_DIRDEPS_FILTER
47
48	* sys.mk: extract some bits to sys.{debug,vars}.mk
49	  for easier re-use by others.
50
512016-09-23  Simon Gerraty  <sjg@sjg-mba13>
52
53	* lib.mk: Use ${PICO} for extension for PIC objects.
54	  default to .pico (like NetBSD) safe on case insensitive filesystem.
55
562016-08-19  Simon J. Gerraty  <sjg@bad.crufty.net>
57
58	* meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default
59
602016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
61
62	* install-mk (MK_VERSION): 20160815
63
64	* dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only
65	consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date.
66
672016-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>
68
69	* meta.sys.mk (.MAKE.META.IGNORE_PATHS):
70	  in meta mode we can ignore the mtime of makefiles
71
722016-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
73
74	* install-mk (MK_VERSION): 20160802
75
76	* lib.mk (libinstall): depends on beforinstall
77
78	* prog.mk (proginstall): depends on beforinstall
79	  patch from Lauri Tirkkonen
80
81	* dirdeps.mk (bootstrap): When bootstrapping; creat
82	.MAKE.DEPENDFILE_DEFAULT and allow additional filtering via
83	.MAKE.DEPENDFILE_BOOTSTRAP_SED
84
85	* dirdeps.mk: move some comments to where they make sense.
86
872016-07-27  Simon J. Gerraty  <sjg@bad.crufty.net>
88
89	* dirdeps.mk (DIRDEPS_CACHE): no dirname.
90
912016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
92
93	* install-mk (MK_VERSION): 20160602
94	* meta.autodep.mk: when passing META_FILES to gendirdeps.mk
95	  do not apply :T to META_XTRAS
96	  patch from Bryan Drewery at FreeBSD.org.
97
982016-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
99
100	* install-mk (MK_VERSION): 20160530
101	* meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH
102	  make it so.
103
1042016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
105
106	* install-mk (MK_VERSION): 20160512
107
108	* dpadd.mk: always include local.dpadd.mk if it exists
109	  remove some things that better belong in local.dpadd.mk
110	  skip INCLUDES_* for staged libs unless SRC_* defined.
111
112	* own.mk: add INCLUDEDIR
113
1142016-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
115
116	* dirdeps.mk: when doing -f dirdeps.mk if target suppies no
117	  TARGET_MACHINE - :E will be empty or match part of path, use
118	  ${MACHINE}
119
1202016-04-07  Simon J. Gerraty  <sjg@bad.crufty.net>
121
122	* meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
123	  NO_FILEMON_COOKIE
124
125	* dirdeps.mk: move the logic that allows for
126	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
127	  inside the check for !target(_DIRDEP_USE)
128
1292016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
130
131	* Use <> when including local*.mk and others which may exist
132	  elsewhere so that user can better control what they get.
133
134	* meta.autodep.mk (NO_FILEMON_COOKIE):
135	  create a cookie if we ever build dir with nofilemon
136	  so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
137
1382016-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
139
140	* install-mk (MK_VERSION): 20160401
141
142	* meta2deps.py: fix old print statement when debugging.
143
144	* gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
145	  patch from Bryan Drewery
146
1472016-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
148
149	* install-mk (MK_VERSION): 20160317 (St. Pats)
150
151	* warnings.mk: g++ does not like -Wimplicit
152
153	* sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
154	  pelthora of common suffixes for C++
155
156	* lib.mk: use .So for shared objects
157
1582016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
159
160	* install-mk (MK_VERSION): 20160315
161
162	* meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
163	  normally only applies to scripts.
164
165	* dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
166	  well as outside it.
167
1682016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
169
170	* install-mk (MK_VERSION): 20160310
171
172	* dirdeps.mk: use targets rather than a list to track DIRDEPS that
173	  we have processed; the list gets very inefficient as number of
174	  DIRDEPS gets large.
175
176	* sys.dependfile.mk: fix comment wrt MACHINE
177
178	* meta.autodep.mk: ignore staged DPADDs when bootstrapping.
179	  patch from Bryan Drewery
180
1812016-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
182
183	* meta2deps.sh: don't ignore subdirs.
184	  patch from Bryan Drewery
185
1862016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
187
188	* install-mk (MK_VERSION): 20160226
189
190	* gendirdeps.mk: mark _DEPENDFILE .NOMETA
191
1922016-02-20  Simon J. Gerraty  <sjg@bad.crufty.net>
193
194	* dirdeps.mk: we shouldn't normally include .depend but if we do
195	  use .dinclude if we can.
196
1972016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
198
199	* install-mk (MK_VERSION): 20160218
200	* sys.clean-env.mk: with recent change to Var_Subst()
201	  we cannot use the '$$' trick, but .export-literal does the job
202	  we need.
203	* auto.dep.mk: make use .dinclude if we can.
204
205
2062016-02-05  Simon J. Gerraty  <sjg@bad.crufty.net>
207
208	* dirdeps.mk:
209	  Add _build_all_dirs such that local.dirdeps.mk can
210	  add fully qualified dirs to it.
211	  These will be built normally but the current
212	  DEP_RELDIR will not depend on then (to avoid cycles).
213	  This makes it easy to hook things like unit-tests into build.
214
215
2162016-01-21  Simon J. Gerraty  <sjg@bad.crufty.net>
217
218	* dirdeps.mk: add bootstrap-empty
219
2202015-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
221
222	* install-mk (MK_VERSION): 20151212
223	* auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
224	  only apply :tA to __objdir when comparing to .OBJDIR
225
2262015-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
227
228	* install-mk (MK_VERSION): 20151111
229
230	* meta.sys.mk: include sys.dependfile.mk
231
232	* sys.mk (OPTIONS_DEFAULT_NO): use options.mk
233	  to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
234	  include local.sys.env.mk early
235	  include local.sys.mk later
236
237	* own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
238
2392015-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
240
241	* meta.sys.mk (META_COOKIE_TOUCH):
242	  add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
243
244	* meta.stage.mk: stage_libs should ignore SYMLINKS.
245
2462015-10-23  Simon J. Gerraty  <sjg@bad.crufty.net>
247
248	* install-mk (MK_VERSION): 20151022
249
250	* sys.mk: BSD/OS does not have 'type' as a shell builtin.
251
2522015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
253
254	* install-mk (MK_VERSION): 20151020
255
256	* dirdeps.mk: Add logic for
257	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
258
2592015-10-14  Simon J. Gerraty  <sjg@bad.crufty.net>
260
261	* install-mk (MK_VERSION): 20151010
262
2632015-10-02  Simon J. Gerraty  <sjg@bad.crufty.net>
264
265	* meta.stage.mk: use staging: ${STAGE_TARGETS:...
266	  to have stage_lins run last in non-jobs mode.
267	  Use .ORDER only for jobs mode.
268
2692015-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
270
271	* rst2htm.mk: allow for per target flags etc.
272
2732015-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
274
275	* install-mk (MK_VERSION): 20150901
276
277	* doc.mk: create dir if needed use DOC_INSTALL_OWN
278
2792015-06-15  Simon J. Gerraty  <sjg@bad.crufty.net>
280
281	* install-mk (MK_VERSION): 20150615
282
283	* auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
284	  Follow make's normal precedence rules.
285
286	* gendirdeps.mk: allow customization of the header.
287	  eg. for FreeBSD:
288	  GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
289
290	* meta.autodep.mk: ignore dirdeps.cache*
291
292	* meta.stage.mk: when bootstrapping options it can be handy to
293	  throw warnings rather than errors for staging conflicts.
294
295	* meta.sys.mk: include local.meta.sys.mk for customization
296
2972015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
298
299	* install-mk (MK_VERSION): 20150606
300
301	* dirdeps.mk: don't rely on manually maintained Makefile.depend
302	  to set DEP_RELDIR and reset DIRDEPS.
303	  By setting DEP_RELDIR ourselves we can skip :tA
304
305	* gendirdeps.mk: skip setting DEP_RELDIR.
306
3072015-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
308
309	* dirdeps.mk: avoid wildcards like make(bootstrap*)
310
3112015-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
312
313	* install-mk (MK_VERSION): 20150520
314
315	* dirdeps.mk: when we are building dirdeps cache file we *want*
316	  meta_oodate to look at all the Makefile.depend files, so
317	  set .MAKE.DEPENDFILE to something that won't match.
318
319	* meta.stage.mk: for STAGE_AS_* basename of file may not be unique
320	  so first use absolute path as key.
321	  Also skip staging at level 0.
322
3232015-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
324
325	* install-mk (MK_VERSION): 20150430
326
327	* dirdeps.mk: fix _count_dirdeps for non-cache case.
328
3292015-04-16  Simon J. Gerraty  <sjg@bad.crufty.net>
330
331	* install-mk (MK_VERSION): 20150411
332	  bump version
333
334	* own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
335	  it is here mainly for documentation purposes, since
336	  if using auto.obj.mk it is better done via sys.mk
337
3382015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
339
340	* install-mk (MK_VERSION): 20150401
341
342	* meta2deps.sh: support @list
343
344	* meta2deps.py: updates from Juniper
345	  o add EXCLUDES
346	  o skip bogus input files.
347	  o treat 'M' and 'L' as both an 'R' and a 'W'
348
3492015-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
350
351	* install-mk (MK_VERSION): 20150303
352
353	* dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
354	  which is built via sub-make so we have a .meta file to tell if
355	  it is out-of-date.
356	  The dirdeps-cache contains the same dependency rules that we
357	  normaly construct on the fly.
358	  This adds a few seconds overhead when the cache is out of date,
359	  but for a large target, the savings can be significant (10-20min).
360
3612014-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
362
363	* install-mk (MK_VERSION): 20141118
364
365	* meta.stage.mk: add stale_staged
366
367	* dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
368	  only useful under very rare conditions such as
369	  FreeBSD's make universe.
370
371	* auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
372
3732014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
374
375	* install-mk (MK_VERSION): 20141111
376
377	* mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
378
3792014-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
380
381	* FILES: include mkopt.sh which allows handling options in shell
382	  scripts in a manner compatible with options.mk
383
3842014-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
385
386	* meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
387	  for GENDIRDEPS_FILTER to avoid surprises.
388
3892014-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
390
391	* dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
392	  the time it is applied to __depdirs they have.
393
394	* dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
395	  expects patterns like *.${MACHINE}
396
397	* cython.mk (pyprefix?): use pyprefix to find python bits
398	  since prefix might be something else (where we install our
399	  stuff)
400
4012014-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
402
403	* install-mk (MK_VERSION): 20140911
404
405	* dirdeps.mk: add bootstrap target to simplify adding support for
406	  new MACHINE.
407
4082014-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
409
410	* gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
411	  GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
412	  Makefile.depend files.
413
4142014-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
415
416	* install-mk (MK_VERSION): 20140828
417
418	* cython.mk: capture logic for building python extension modules
419	  with Cython.
420
4212014-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
422
423	* meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
424
4252014-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
426
427	* install-mk (MK_VERSION): 20140801
428
429	* dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
430	identify the autodep.mk variant.
431
432	* sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
433	initial value does not match .MAKE.DEPENDFILE_PREFIX
434
435	* meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
436
4372014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
438
439	* install-mk (MK_VERSION): 20140522
440
441	* lib.mk: use CC to link shlib for linux too
442	  patch from Brendan MacDonell
443
4442014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
445
446	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
447	  if WITH_META_STATS is defined.
448
4492014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
450
451	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
452	  to supress dirdeps outside of .CURDIR.
453
4542014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
455
456	* Fix spelling errors - patch from Pedro Giffuni
457
4582014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>
459
460	* install-mk (MK_VERSION): 20140314
461
462	* dirdeps.mk (beforedirdeps): a handy hook
463
464	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
465	  to visit leaf dirs to be intercepted (eg. for distributed
466	  build).
467
468	* dirdeps.mk (__depdirs): ensure // don't sneak in
469
470	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in
471
472
4732014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>
474
475	* rst2htm.mk (RST2PDF): add support for rst2pdf
476
4772014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
478
479	* install-mk (MK_VERSION): bump version
480	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
481	  available.
482
4832014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
484
485	* options.mk: avoid :U so this isn't bmake dependent
486
4872014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>
488
489	* options.mk: cleanup and simplify semanitcs
490	  NO_* dominates all, if both WITH_* and WITHOUT_*
491	  are defined then result is DOMINATE_* which defaults to "no".
492	  Ie. WITHOUT_ normally wins.
493
4942013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
495
496	* install-mk (MK_VERSION): bump version
497	* meta2deps.py: convert to print function for python3 compat.
498	  we also need to open files with mode 'r' rather than 'rb'
499	  otherwise we get bytes instead of strings.
500
5012013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
502
503	* install-mk (MK_VERSION): bump version
504
505	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
506	  apply the same filtering (M_dep_qual_fixes) when setting _machines
507	  as _build_dirs.
508	  Also fix the filtering of Makefile.depend files - for reporting
509	  what we are looking for (M_dep_qual_fixes can get confused by
510	  Makefile.depend)
511	  Add some more debug info.
512
5132013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
514
515	* gendirdeps.mk (_objtops): fix typo also
516	  while processing M2D_OBJROOTS to gather qualdir_list
517	  qualify $ql with loop iterator to ensure correct results.
518
5192013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
520
521	* install-mk (MK_VERSION): 20130801
522	* libs.mk: update to match progs.mk
523
5242013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>
525
526	* install-mk (MK_VERSION): 20130726
527	  some updates from Juniper and FreeBSD
528	  o meta2deps.py: indicate file and line number when we hit parse
529	    errors
530	    also allow @file to provide huge list of .meta files.
531	* meta2deps.py: add try_parse() to cleanup the above.
532
5332013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
534
535	* install-mk (MK_VERSION): 20130716
536	* own.mk: add GPROG as an option
537	* prog.mk: honor MK_GPROF==yes
538
5392013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
540
541	* install-mk (MK_VERSION): 20130505
542	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
543	  for when $MACHINE isn't enough for objdir distinction.
544	  Bring meta2deps.sh closer to par with meta2deps.py.
545
5462013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
547
548	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
549	  also if the target 'beforeinstall' exists, make it depend on
550	  .dirdep (incase it uses STAGE_INSTALL).
551
5522013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
553
554	* install-mk (MK_VERSION): 20130401 ;-)
555	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
556	  wrapper around install(1).
557	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
558
5592013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
560
561	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
562	* install-mk (MK_VERSION): bump version
563
5642013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>
565
566	* install-mk (MK_VERSION): bump version
567	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
568	  any trailing /., rather apply :tA only when needed.
569	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
570	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
571	  consistently.
572	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
573
5742013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
575
576	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
577	  it is simpler to just not update when say building for "host"
578	  (where we know we apply filters to DIRDEPS), and using a
579	  non-machine qualified dependfile.
580
5812013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
582
583	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
584	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
585	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
586	* meta2deps.py: if machine is "host", then also trim
587	  self.host_target from any OBJROOTS.
588
589
5902013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
591
592	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
593	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
594	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
595	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.
596
5972013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>
598
599	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
600	  and hook to all: via staging:
601
6022013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
603
604	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
605	  use a separate variable for the default .MAKE.DEPENDFILE value
606	  so that it can be controlled independently of
607	  .MAKE.DEPENDFILE_PREFERENCE
608
609	* meta.stage.mk: throw error if cp fails etc.
610	  Stage*() return early if passed no args.
611	  .ORDER stage_*
612
6132013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
614
615	* install-mk (MK_VERSION): bump version
616	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
617
6182013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
619
620	* install-mk (MK_VERSION): bump version to 20130210
621	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
622	  from Juniper.
623	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
624	    than just MACHINE.
625	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.
626
6272013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>
628
629	* install-mk (MK_VERSION): bump version to 20130123
630	* meta.stage.mk: add stage_links (hard links).
631	  if doing hard links, we add dest to link as well.
632	  Default the stage dir for [sym]links to STAGE_OBJTOP since
633	  these are typically specified as absolute paths.
634	  Add -m "mode" flag to StageFiles and StageAs.
635
6362012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
637
638	* install-mk (MK_VERSION): bump version to 20121111
639	* autoconf.mk: avoid meta mode seeing changed commands for config.status
640	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
641	  in case we were found via .../mk
642	* sys.clean-env.mk: move it from examples, we and others use it
643	  "as is".
644	* FILES: add srctop.mk and options.mk
645	* own.mk: convert to using options.mk
646	  which is modeled after FreeBSD's handling of MK_*
647	  but more flexible.
648	  This allows MK_* for boolean knobs to not be confused
649	  with MK* which can be commands.
650
651	* examples/sys.clean-env.mk: add WITH[OUT]_ to
652	  MAKE_ENV_SAVE_PREFIX_LIST.
653	  Mention that HOME=/var/empty might be a good idea.
654
6552012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>
656
657	* sys.dependfile.mk: if not depend file exists, $MACHINE
658	  specific ones are supported but not the default,
659	  check if any exist and follow suit.
660
6612012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>
662
663	* install-mk (MK_VERSION): bump version to 20121106
664
6652012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
666
667	* import latest dirdeps.mk and meta2deps.py from Juniper.
668	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
669	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
670	  appropriate.
671
6722012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>
673
674	* meta.stage.mk: update CLEANFILES
675	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
676	* progs.mk: Add LDADD to PROG_VARS
677
6782012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
679
680	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
681	  _STAGED_DIRS so that these can be turned into filters for
682	  GENDIRDEPS_FILTER.
683
6842012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
685
686	* install-mk (MK_VERSION): bump version to 20121010
687	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
688	target.dirdep matches .dirdep
689
6902012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
691
692	* install-mk (MK_VERSION): bump version to 20120808
693	* import latest meta2deps.py from Juniper.
694
6952012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
696
697	* install-mk (MK_VERSION): bump version to 20120711
698	* dep.mk: add explicit dependencies on SRCS after applying
699	  SRCS_DEP_FILTER
700	* meta.autodep.mk: add explicit dependencies on SRCS after
701	  applying SRCS_DEP_FILTER
702	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
703
7042012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
705
706	* install-mk (MK_VERSION): bump version to 20120626
707	* meta.sys.mk: ignore PYTHON if it does not exist
708	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
709	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
710	  entries ending in .${MACHINE} to decide if qualified _dirdep is
711	  needed.
712	* gendirdeps.mk: only produce unqualified deps if no
713	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
714	* meta.subdir.mk: apply SUBDIRDEPS_FILTER
715
7162012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
717
718	* install-mk (MK_VERSION): bump version to 20120420
719	* add sys.dependfile.mk so we can experiment with
720	  .MAKE.DEPENDFILE_PREFERENCE
721	* meta.autodep.mk: _DEPENDFILE is precious!
722
7232012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
724
725	* install-mk (MK_VERSION): bump version to 20120315
726	* install-new.mk: avoid being interrupted
727
7282012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
729
730	* man.mk: MAN might have multiple values so be careful with exists().
731
7322012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>
733
734	* install-mk (MK_VERSION): bump version to 20120112
735	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
736	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
737
7382011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>
739
740	* install-mk (MK_VERSION):  bump version to 20111201
741	* import dirdeps.mk from Juniper sjg@
742	  o more consistent handling of DEP_MACHINE, especially when
743	    dealing with an odd Makefile.depend, when normally using
744	    Makefile.depend.${MACHINE}
745
7462011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>
747
748	* install-mk (MK_VERSION): bump version to 20111122
749	* meta.autodep.mk: add some debug output, be more crisp about
750	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend
751
7522011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
753
754	* install-mk (MK_VERSION): bump version to 20111111
755	  it's too cool to miss
756	* import meta* updates from Juniper sjg@
757	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
758	    normally using Makefile.depend.${MACHINE}), handy for
759	    read-only manually maintained dependencies.
760	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
761	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
762	    anything.
763
7642011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>
765
766	* install-new.mk separate the cmp and copy logic to its own function.
767
7682011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
769
770	* install-mk (MK_VERSION): bump version to 20111028
771	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
772	* subdir.mk: ensure _SUBDIRUSE is provided
773	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
774	* meta.subdir.mk: always allow for Makefile.depend
775
7762011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
777
778	* install-mk (MK_VERSION): bump version to 20111010
779	  o minor tweak to *dirdeps.mk from Juniper sjg@
780
7812011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
782
783	* install-mk (MK_VERSION): bump version to 20111001
784	  o add meta2deps.py from Juniper sjg@
785	  o tweak gendirdeps.mk to work with meta2deps.py when not
786	    cross-building
787	* autoconf.mk: add autoconf-input as a hook for regenerating
788	  AUTOCONF_INPUTS (configure).
789
7902011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>
791
792	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
793	  trigger for updating Makefile.depend*
794
7952011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
796
797	* install-mk (MK_VERSION): bump version to 20110808
798	* obj.mk: minor cleanup
799	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
800
8012011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
802
803	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
804	  specified dir.
805
8062011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
807
808	* meta.autodep.mk: if XMAKE_META_FILE is set
809	  the makefile uses a foreign make, and so dependencies
810	  can only be gathered from a clean tree build.
811
8122011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>
813
814	* install-mk (MK_VERSION): bump version to 20110622
815	* meta.autodep.mk: improve bootstraping
816
8172011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
818
819	* yacc.mk: handle the corner case of .c being removed
820	  while .h remains.
821
8222011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
823
824	* yacc.mk: do .y.h and .y.c separately
825
8262011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
827
828	* install-mk (MK_VERSION): bump version to 20110606
829	* don't store SRC_DIRDEPS in Makefile.depend* by default
830	  not everyone needs it.
831
8322011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
833
834	* install-mk (MK_VERSION): bump version to 20110505
835	  first release including meta mode makefiles
836
8372011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
838
839	* meta.stage.mk: add STAGE_AS_SETS and stage_as
840	  for things that need to be staged with different names.
841
8422011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
843
844	* meta.stage.mk: add notion of STAGE_SETS
845	  so a makefile can stage to multiple dirs
846
8472011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>
848
849	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
850	  on target name.
851
8522011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
853
854	* install-mk (MK_VERSION): bump version to 20110330
855
8562011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
857
858	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
859	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
860	* sys.mk: re-define M_whence in terms of M_type.
861	  M_type is useful for checking if something is a builtin.
862
8632011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
864
865	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
866	  stage_libs
867
8682011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
869
870	* dirdeps.mk: correct value for _depdir_files depends on
871	  .MAKE.DEPENDFILE
872	  Add our copyright - just to make it clear we have frobbed this
873	  quite a bit.
874	  DEP_MACHINE needs to be set to MACHINE each time, if using only
875	  Makefile.depend (cf. Makefile.depend.${MACHINE})
876
877	* meta.stage.mk: meta mode version of staging
878
879	* init.mk, final.mk: include local.*.mk to simplify customization
880
8812011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
882
883	* auto.obj.mk: just because we are doing mk destroy, we should
884	  still set .OBJDIR correctly if it exists.
885
886	* install-mk (mksrc): do not exclude meta.sys.mk
887
8882011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
889
890	* host-target.mk: set/export _HOST_ARCH etc separately,
891	  catch junk resulting from uname -p, so we can find sys/Linux.mk
892	  correctly.
893
8942011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
895
896	* meta.sys.mk: throw an error if /dev/filemon is missing and we
897	  expected to be updating Makefile.depend*
898
8992011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
900
901	* install-mk (MK_VERSION): bump version to 20110214
902	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
903
9042010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>
905
906	* meta.sys.mk: not valid for older bmake
907
9082010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>
909
910	* install-mk (MK_VERSION): bump version to 20100919
911	include dirdeps.mk et al from Juniper Networks,
912	for meta mode - requires filemon(9).
913	* sys.mk, subdir.mk: Add hooks for meta mode.
914	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
915	to make turning it on/off simple.
916
9172010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
918
919	* install-mk (MK_VERSION): bump version to 20100616
920	* fix typo in sys.mk
921
9222010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>
923
924	* install-mk (MK_VERSION): bump version to 20100612
925	* lib.mk: remove duplicate addition to SOBJS
926
9272010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
928
929	* sys.mk: Add a means of selectively turning on debug flags.
930	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
931	  will act as if we did make -dv if .CURDIR ends in lib/sjg
932	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
933	  the start of sys.mk rather than the end.
934	  This only makes sense for leaf dirs, so we check that
935	  .MAKE.LEVEL > 0
936
9372010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>
938
939	* install-mk (MK_VERSION): bump version to 20100608
940	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
941	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
942	  also make it easier for folk to tweak
943
9442010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
945
946	* install-mk (MK_VERSION): bump version to 20100606
947	  do not install examples/*
948	* FILES: add examples/sys.clean-env.mk
949	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
950	  this requires bmake-20100606 or later to work.
951
9522010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>
953
954	* sys.mk (M_tA): better simulate the result of :tA if not available.
955
9562010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
957
958	* sys.mk: canonicalize MAKE_VERSION
959	  old versions reported bmake-<src-date> build-<build-date>
960	  whereas we only care about <src-date>
961
9622010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>
963
964	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
965	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
966	  is !empty
967
9682010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
969
970	* dpadd.mk: use LDADD_* if defined.
971
9722010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
973
974	* install-mk (MK_VERSION): bump version to 20100420
975	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
976	* autoconf.mk allow AUTO_AUTOCONF
977
9782010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>
979
980	* obj.mk: add objwarn to keep freebsd makefiles happy
981	* auto.obj.mk: ensure Mkdirs is available.
982	* FILES: add auto.dep.mk - a simpler version of autodep.mk
983	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
984	  asked to do that.
985	  fix/simplify the tests for when to run mkdep.
986	* auto.dep.mk: add some explanation of how/what we do.
987	* autodep.mk: skip the .OPTIONAL frobbing of .depend
988	  bmake's FROM_DEPEND flag makes it redundant.
989
9902010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
991
992	* install-mk (MK_VERSION): bump version to 20100404
993	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
994	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
995	Also create a target _SUBDIRUSE so that we can  be used without
996	subdir.mk
997
9982010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>
999
1000	* dep.mk: use <> when .including so can override.
1001
10022010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1003
1004	* lib.mk (SHLIB_LINKS): ensure a string comparison.
1005
10062010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1007
1008	* install-mk (MK_VERSION): bump version to 20100102
1009	* own.mk: ensure PRINTOBJDIR works
1010	* autoconf.mk: pass on CONFIGURE_ARGS
1011	* init.mk: handle COPTS.${.IMPSRC:T} etc.
1012	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
1013	  fix handling of symlinks for darwin
1014	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
1015	* man.mk: suppress chown when not root.
1016	* rst2htm.mk: allow srcs from multiple locations.
1017	* sys.mk: M_whence, stop after 1st line of output.
1018	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
1019	* sys/SunOS.mk: we need to export PATH
1020
10212009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>
1022
1023	* install-mk (MK_VERSION): bump version
1024	  include rst2htm.mk
1025
10262009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>
1027
1028	* sys.mk,libnames.mk add .-include <local.*>
1029	  this allows local customization without the need to edit the
1030	  distributed files.
1031
10322009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>
1033
1034	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
1035	  older versions already installed.
1036
10372009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>
1038
1039	* stage.mk (.stage-install): generalize lib.mk's .libinstall
1040	* rules.mk rules for generic Makefile.
1041	* inc.mk install for includes.
1042
10432009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>
1044
1045	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
1046	  this, so provide it if using native make.
1047
10482009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>
1049
1050	* FILES: move all the platform *.sys.mk files to sys/*.mk
1051	* Rename Generic.sys.mk to sys.mk - we always want it.
1052
10532009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>
1054
1055	* install-mk (MK_VERSION): bump version
1056	* host-target.mk: only export the expensive stuff
1057	* Generic.sys.mk (sys_mk): for SunOS we need to look for
1058	  ${HOST_OS}.${HOST_OSMAJOR} too!
1059
10602009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>
1061
1062	* install-mk (MK_VERSION): bump version
1063	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
1064	  based on patch from Greg Olszewski.
1065	* Generic.sys.mk: if we have nothing to work with
1066	set LORDER etc only if we can find it.
1067
10682009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
1069
1070	* install-mk (MK_VERSION): bump version
1071	* man.mk: cleanman: remove CLEANMAN if defined.
1072
10732009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>
1074
1075	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
1076
10772009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>
1078
1079	* install-mk (MK_VERSION): bump version
1080	include auto.obj.mk
1081
1082
10832009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
1084
1085	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
1086
10872008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
1088
1089	* install-mk (MK_VERSION): bump version
1090	man.mk: ensure we generate *.cat1 etc in .
1091
10922008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>
1093
1094	* install-mk (MK_VERSION): bump version
1095	add prlist.mk
1096
10972007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
1098
1099	* Generic.sys.mk: Allow os specific sys.mk to be in a
1100	subdir of ${.PARSEDIR}
1101
11022007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>
1103
1104	* install-mk (MK_VERSION): bump version
1105	* general cleanup
1106	* dpadd.mk introduce DPMAGIC_LIBS_*
1107
11082007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>
1109
1110	* install-mk (MK_VERSION): bump version
1111
1112	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
1113	depend files and ensure clean is called for each lib/prog.
1114
11152007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>
1116
1117	* autodep.mk (.depend): delete lines that do not start with
1118	space and do not contain ':'
1119
11202007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>
1121
1122	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
1123	so make sure the transform for .OPTIONAL copes.
1124
11252007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1126
1127	* install-mk (MK_VERSION): bump version
1128
1129	* own.mk: make sure RM and LN are defined.
1130
1131	* obj.mk: fix a typo, and objlink target.
1132
11332006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>
1134
1135	* install-mk (MK_VERSION): bump version
1136	* added libs.mk - analogous to progs.mk
1137	  make both of them always inlcude {lib,prog}.mk
1138
11392006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>
1140
1141	* progs.mk: add a means of building multiple apps in one dir.
1142
11432006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
1144
1145	* install-mk (MK_VERSION): bump version to 20061126
1146
1147	* warnings.mk: detect invalid WARNINGS_SET
1148
1149	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
1150	specific warnings.
1151
1152	* For .cc sources, turn off warnings that g++ vomits on.
1153
11542006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>
1155
1156	* own.mk: if __initialized__ target doesn't exist and we are
1157	FreeBSD we got here directly from sys.mk
1158
11592006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>
1160
1161	* install-mk (MK_VERSION): bump version to 20061106
1162	add scripts.mk
1163
11642006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
1165
1166	* install-mk (MK_VERSION): bump version to 20060318
1167
1168	* autodep.mk: avoid := when modifying OBJS into __dependsrcs
1169
11702006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>
1171
1172	* install-mk (MK_VERSION): bump version to 20060302
1173	* autodep.mk: use -MF et al to help gcc+ccache DTRT.
1174
11752006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
1176
1177	* install-mk (MK_VERSION): bump version to 20060301
1178	* autodep.mk (.depend):
1179	if MAKE_VERSION is newer than  20050530 we can make .END depend on
1180	.depend and make .depend depend on __depsrcs that exist.
1181	* dpadd.mk: add SRC_PATHADD
1182
11832005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
1184
1185	* install-mk (MK_VERSION): bump version to 20051104
1186	* prog.mk: remove all the LIBC?= junk, use
1187	.-include libnames.mk instead (none by default).
1188	also if USE_DPADD_MK is set, include that.
1189
11902005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
1191
1192	* install-mk (MK_VERSION): bump version to 20051001
1193	Add UnixWare.sys.mk from Klaus Heinz.
1194
11952005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>
1196
1197	* install-mk: always install *.sys.mk and if need be symlink one
1198	to sys.mk
1199
12002005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
1201
1202	* subdir.mk, own.mk: use .MAKE rather than MAKE
1203
12042004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
1205
1206	* own.mk: don't use NetBSD's _SRC_TOP_ it can
1207	cause confusion.  Also don't take just 'mk' as a
1208	srctop indicator.
1209
12102004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
1211
1212	* warnings.mk: overhauled, now very powerful.
1213
12142004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1215
1216	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
1217
12182004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>
1219
1220	* install-mk (MK_VERSION): bump version to 20040201
1221	* extract HOST_TARGET stuff to host-target.mk so own.mk and
1222	Generic.sys.mk can share.
1223	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
1224
12252003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>
1226
1227	* install-mk (MK_VERSION): 20030930
1228	* rename generic.sys.mk to Generic.sys.mk
1229	so that it does not get installed (unless being used as sys.mk)
1230	* set OS and ROOT_GROUP for those that we know the value.
1231	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
1232	we don't do it again for each sub-make.
1233
12342003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
1235
1236	* install-mk (MK_VERSION): 20030928
1237	Add some extra *.sys.mk from bootstrap-pkgsrc
1238	some of these likely still need work.
1239	Make everything default to root:wheel ownership,
1240	sys.mk can set ROOT_GROUP accordingly.
1241
12422003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>
1243
1244	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
1245	not the portable ones.
1246
12472003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
1248
1249	* install-mk: add ability to use cp -f when updating
1250	destination .mk files.  Also now possible to play games with
1251	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
1252	into dest - not recommended unless you seriously want to.
1253
12542003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
1255
1256	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
1257	for semi-compatability with NetBSD.
1258
12592003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
1260
1261	* install-mk: add a version indicator
1262
12632003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>
1264
1265	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
1266
1267	* install-mk: Allow FORCE_SYS_MK to come from env
1268
1269
1270
1271