xref: /freebsd/contrib/bmake/mk/ChangeLog (revision ab40f58ccfe6c07ebefddc72f4661a52fe746353)
12018-04-20  Simon J Gerraty  <sjg@beast.crufty.net>
2
3	* install-mk (MK_VERSION): 20180420
4	* dirdeps.mk: include local.dirdeps-build.mk when .MAKE.LEVEL > 0
5	  ie. we are building something.
6
72018-04-14  Simon J Gerraty  <sjg@beast.crufty.net>
8
9	* FILES: add dirdeps-options.mk to deal with optional DIRDEPS.
10
112018-04-05  Simon J Gerraty  <sjg@beast.crufty.net>
12
13	* install-mk (MK_VERSION): 20180405
14
15	* ldorder.mk: describe how to use LDORDER_EXTERN_BARRIER
16	  if needed.
17
182018-01-18  Simon J Gerraty  <sjg@beast.crufty.net>
19
20	* install-mk (MK_VERSION): 20180118
21
22	* ldorder.mk: let make compute correct link order
23
242017-12-12  Simon J Gerraty  <sjg@beast.crufty.net>
25
26	* install-mk (MK_VERSION): 20171212
27
28	* gendirdeps.mk: guard against bogus entries in GENDIRDEPS_FILTER
29
302017-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
31
32	* install-mk (MK_VERSION): 20171111
33
34	* lib.mk: ensure META_NOECHO is set
35
362017-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
37
38	* Allow for host32 on rare occasions.
39
402017-10-18  Simon J. Gerraty  <sjg@bad.crufty.net>
41
42	* install-mk (MK_VERSION): 20171018
43
44	* whats.mk: include what_thing in what_uuid to avoid problem
45	  when building multiple apps in the same directory.
46
472017-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
48
49	* install-mk (MK_VERSION): 20170812
50
51	* autoconf.mk: Use CONFIGURE_DEPS so Makefile can
52	  add dependencies for config.recheck and config.gen
53
542017-06-30  Simon J. Gerraty  <sjg@bad.crufty.net>
55
56	* install-mk (MK_VERSION): 20170630
57
58	* meta.stage.mk: avoid triggering stage_* targets with nothing to do.
59
602017-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
61
62	* meta2deps.py: take special care of '..'
63
642017-05-15  Simon J. Gerraty  <sjg@bad.crufty.net>
65
66	* install-mk (MK_VERSION): 20170515
67
68	* dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is
69	useful/necessary for a Makefile.depend file to export some knobs.
70	This is complicated when we are doing DIRDEPS_CACHE, so we will
71	handle export of any variables listed in DEP_EXPORT_VARS.
72
732017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>
74
75	* install-mk (MK_VERSION): 20170505
76
77	* meta2deps.py: fix botched indenation.
78
792017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
80
81	* sys/*.mk: Remove setting of MAKE it is unnecessary and
82	  in many cases wrong (basname rather than full path)
83
84	* scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk
85
86	* init.mk: define realbuild to simplify logic in {lib,prog}.mk etc
87
882017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
89
90	* install-mk (MK_VERSION): 20170501
91
92	* doc.mk: fix typo in DOC_INSTALL_OWN
93
94	* inc.mk: handle INCGROUPS similar to freebsd
95
96	* files.mk: add something for files too
97
98	* add staging logic to lib.mk prog.mk etc.
99
1002017-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
101
102	* install-mk (MK_VERSION): 20170424
103
104	* dirdeps.mk: set NO_DIRDEPS when bootstrapping.
105	  also target of bootstrap-this when sed is needed should be ${_want:T}
106
1072017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
108
109	* install-mk (MK_VERSION): 20170418
110
111	* auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a
112	  prefix match for .CURDIR - in which case .CURDIR *is* __objdir.
113
1142017-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
115
116	* install-mk (MK_VERSION): 20170401
117
118	* meta2deps.py: add is_src so we can check if obj dependency
119	  is also a src dependency.
120
1212017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
122
123	* install-mk (MK_VERSION): 20170326
124
125	* meta.stage.mk: do nothing if NO_STAGING is defined.
126
1272017-03-24  Simon J. Gerraty  <sjg@bad.crufty.net>
128
129	* auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc.
130
1312017-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
132
133	* mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_*
134
1352017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
136
137	* install-mk (MK_VERSION): 20170301
138
139	* dirdeps.mk (_build_all_dirs): update this outside test for empty
140	  DIRDEPS.
141
142	* meta.stage.mk: allow multiple inclusion to the extent it makes
143	  sense.
144
1452017-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
146
147	* prog.mk (install_links): depends on realinstall
148
1492017-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>
150
151	* install-mk (MK_VERSION): 20170212
152
153	* dpadd.mk: avoid applying :T:R twice to DPLIBS entries
154
1552017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>
156
157	* install-mk (MK_VERSION): 20170130
158
159	* dirdeps.mk: use :range if we can.
160
161	* sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130
162
163	* meta2deps.py: clean paths without using realpath() where possible.
164	  fix sort_unique.
165
1662016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
167
168	* install-mk (MK_VERSION): 20161212
169
170	* meta2deps.py: set pid_cwd[pid] when we process 'C'hdir,
171	rather than when we detect pid change.
172
1732016-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>
174
175	* install-mk (MK_VERSION): 20161207
176
177	* meta.stage.mk: add stage_as_and_symlink for staging packages.
178	  We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able
179	  to use foo.tgz to reference the latest staged version - so we
180	  make foo.tgz a symlink to it.
181	  Using a target to do both operations ensures we stay in sync.
182
1832016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
184
185	* install-mk (MK_VERSION): 20161126
186
187	* dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk
188	  so it can add dependencies.
189
1902016-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
191
192	* dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE
193	  do that they can influence the result correctly.
194
195	* dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC
196
197	* dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST
198	  similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST
199
2002016-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>
201
202	* dirdeps.mk: remove dependence on jot (normal situations anyway).
203	  Before we read another Makefile.depend* set DEP_* vars from
204	  _DEP_TARGET_SPEC in case it uses any of them with :=
205	  When bootstrapping, trim any ,* from extention of chosen _src
206	  Makefile.depend* to get the machine value we subst for.
207
2082016-09-30  Simon J. Gerraty  <sjg@bad.crufty.net>
209
210	* dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to
211	  DEP_SKIP_DIR and DEP_DIRDEPS_FILTER
212
213	* sys.mk: extract some bits to sys.{debug,vars}.mk
214	  for easier re-use by others.
215
2162016-09-23  Simon Gerraty  <sjg@sjg-mba13>
217
218	* lib.mk: Use ${PICO} for extension for PIC objects.
219	  default to .pico (like NetBSD) safe on case insensitive filesystem.
220
2212016-08-19  Simon J. Gerraty  <sjg@bad.crufty.net>
222
223	* meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default
224
2252016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
226
227	* install-mk (MK_VERSION): 20160815
228
229	* dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only
230	consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date.
231
2322016-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>
233
234	* meta.sys.mk (.MAKE.META.IGNORE_PATHS):
235	  in meta mode we can ignore the mtime of makefiles
236
2372016-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
238
239	* install-mk (MK_VERSION): 20160802
240
241	* lib.mk (libinstall): depends on beforinstall
242
243	* prog.mk (proginstall): depends on beforinstall
244	  patch from Lauri Tirkkonen
245
246	* dirdeps.mk (bootstrap): When bootstrapping; creat
247	.MAKE.DEPENDFILE_DEFAULT and allow additional filtering via
248	.MAKE.DEPENDFILE_BOOTSTRAP_SED
249
250	* dirdeps.mk: move some comments to where they make sense.
251
2522016-07-27  Simon J. Gerraty  <sjg@bad.crufty.net>
253
254	* dirdeps.mk (DIRDEPS_CACHE): no dirname.
255
2562016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
257
258	* install-mk (MK_VERSION): 20160602
259	* meta.autodep.mk: when passing META_FILES to gendirdeps.mk
260	  do not apply :T to META_XTRAS
261	  patch from Bryan Drewery at FreeBSD.org.
262
2632016-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
264
265	* install-mk (MK_VERSION): 20160530
266	* meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH
267	  make it so.
268
2692016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
270
271	* install-mk (MK_VERSION): 20160512
272
273	* dpadd.mk: always include local.dpadd.mk if it exists
274	  remove some things that better belong in local.dpadd.mk
275	  skip INCLUDES_* for staged libs unless SRC_* defined.
276
277	* own.mk: add INCLUDEDIR
278
2792016-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
280
281	* dirdeps.mk: when doing -f dirdeps.mk if target suppies no
282	  TARGET_MACHINE - :E will be empty or match part of path, use
283	  ${MACHINE}
284
2852016-04-07  Simon J. Gerraty  <sjg@bad.crufty.net>
286
287	* meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
288	  NO_FILEMON_COOKIE
289
290	* dirdeps.mk: move the logic that allows for
291	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
292	  inside the check for !target(_DIRDEP_USE)
293
2942016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
295
296	* Use <> when including local*.mk and others which may exist
297	  elsewhere so that user can better control what they get.
298
299	* meta.autodep.mk (NO_FILEMON_COOKIE):
300	  create a cookie if we ever build dir with nofilemon
301	  so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
302
3032016-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
304
305	* install-mk (MK_VERSION): 20160401
306
307	* meta2deps.py: fix old print statement when debugging.
308
309	* gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
310	  patch from Bryan Drewery
311
3122016-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
313
314	* install-mk (MK_VERSION): 20160317 (St. Pats)
315
316	* warnings.mk: g++ does not like -Wimplicit
317
318	* sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
319	  pelthora of common suffixes for C++
320
321	* lib.mk: use .So for shared objects
322
3232016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
324
325	* install-mk (MK_VERSION): 20160315
326
327	* meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
328	  normally only applies to scripts.
329
330	* dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
331	  well as outside it.
332
3332016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
334
335	* install-mk (MK_VERSION): 20160310
336
337	* dirdeps.mk: use targets rather than a list to track DIRDEPS that
338	  we have processed; the list gets very inefficient as number of
339	  DIRDEPS gets large.
340
341	* sys.dependfile.mk: fix comment wrt MACHINE
342
343	* meta.autodep.mk: ignore staged DPADDs when bootstrapping.
344	  patch from Bryan Drewery
345
3462016-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
347
348	* meta2deps.sh: don't ignore subdirs.
349	  patch from Bryan Drewery
350
3512016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
352
353	* install-mk (MK_VERSION): 20160226
354
355	* gendirdeps.mk: mark _DEPENDFILE .NOMETA
356
3572016-02-20  Simon J. Gerraty  <sjg@bad.crufty.net>
358
359	* dirdeps.mk: we shouldn't normally include .depend but if we do
360	  use .dinclude if we can.
361
3622016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
363
364	* install-mk (MK_VERSION): 20160218
365	* sys.clean-env.mk: with recent change to Var_Subst()
366	  we cannot use the '$$' trick, but .export-literal does the job
367	  we need.
368	* auto.dep.mk: make use .dinclude if we can.
369
370
3712016-02-05  Simon J. Gerraty  <sjg@bad.crufty.net>
372
373	* dirdeps.mk:
374	  Add _build_all_dirs such that local.dirdeps.mk can
375	  add fully qualified dirs to it.
376	  These will be built normally but the current
377	  DEP_RELDIR will not depend on then (to avoid cycles).
378	  This makes it easy to hook things like unit-tests into build.
379
380
3812016-01-21  Simon J. Gerraty  <sjg@bad.crufty.net>
382
383	* dirdeps.mk: add bootstrap-empty
384
3852015-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
386
387	* install-mk (MK_VERSION): 20151212
388	* auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
389	  only apply :tA to __objdir when comparing to .OBJDIR
390
3912015-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
392
393	* install-mk (MK_VERSION): 20151111
394
395	* meta.sys.mk: include sys.dependfile.mk
396
397	* sys.mk (OPTIONS_DEFAULT_NO): use options.mk
398	  to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
399	  include local.sys.env.mk early
400	  include local.sys.mk later
401
402	* own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
403
4042015-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
405
406	* meta.sys.mk (META_COOKIE_TOUCH):
407	  add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
408
409	* meta.stage.mk: stage_libs should ignore SYMLINKS.
410
4112015-10-23  Simon J. Gerraty  <sjg@bad.crufty.net>
412
413	* install-mk (MK_VERSION): 20151022
414
415	* sys.mk: BSD/OS does not have 'type' as a shell builtin.
416
4172015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
418
419	* install-mk (MK_VERSION): 20151020
420
421	* dirdeps.mk: Add logic for
422	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
423
4242015-10-14  Simon J. Gerraty  <sjg@bad.crufty.net>
425
426	* install-mk (MK_VERSION): 20151010
427
4282015-10-02  Simon J. Gerraty  <sjg@bad.crufty.net>
429
430	* meta.stage.mk: use staging: ${STAGE_TARGETS:...
431	  to have stage_lins run last in non-jobs mode.
432	  Use .ORDER only for jobs mode.
433
4342015-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
435
436	* rst2htm.mk: allow for per target flags etc.
437
4382015-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
439
440	* install-mk (MK_VERSION): 20150901
441
442	* doc.mk: create dir if needed use DOC_INSTALL_OWN
443
4442015-06-15  Simon J. Gerraty  <sjg@bad.crufty.net>
445
446	* install-mk (MK_VERSION): 20150615
447
448	* auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
449	  Follow make's normal precedence rules.
450
451	* gendirdeps.mk: allow customization of the header.
452	  eg. for FreeBSD:
453	  GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
454
455	* meta.autodep.mk: ignore dirdeps.cache*
456
457	* meta.stage.mk: when bootstrapping options it can be handy to
458	  throw warnings rather than errors for staging conflicts.
459
460	* meta.sys.mk: include local.meta.sys.mk for customization
461
4622015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
463
464	* install-mk (MK_VERSION): 20150606
465
466	* dirdeps.mk: don't rely on manually maintained Makefile.depend
467	  to set DEP_RELDIR and reset DIRDEPS.
468	  By setting DEP_RELDIR ourselves we can skip :tA
469
470	* gendirdeps.mk: skip setting DEP_RELDIR.
471
4722015-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
473
474	* dirdeps.mk: avoid wildcards like make(bootstrap*)
475
4762015-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
477
478	* install-mk (MK_VERSION): 20150520
479
480	* dirdeps.mk: when we are building dirdeps cache file we *want*
481	  meta_oodate to look at all the Makefile.depend files, so
482	  set .MAKE.DEPENDFILE to something that won't match.
483
484	* meta.stage.mk: for STAGE_AS_* basename of file may not be unique
485	  so first use absolute path as key.
486	  Also skip staging at level 0.
487
4882015-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
489
490	* install-mk (MK_VERSION): 20150430
491
492	* dirdeps.mk: fix _count_dirdeps for non-cache case.
493
4942015-04-16  Simon J. Gerraty  <sjg@bad.crufty.net>
495
496	* install-mk (MK_VERSION): 20150411
497	  bump version
498
499	* own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
500	  it is here mainly for documentation purposes, since
501	  if using auto.obj.mk it is better done via sys.mk
502
5032015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
504
505	* install-mk (MK_VERSION): 20150401
506
507	* meta2deps.sh: support @list
508
509	* meta2deps.py: updates from Juniper
510	  o add EXCLUDES
511	  o skip bogus input files.
512	  o treat 'M' and 'L' as both an 'R' and a 'W'
513
5142015-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
515
516	* install-mk (MK_VERSION): 20150303
517
518	* dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
519	  which is built via sub-make so we have a .meta file to tell if
520	  it is out-of-date.
521	  The dirdeps-cache contains the same dependency rules that we
522	  normaly construct on the fly.
523	  This adds a few seconds overhead when the cache is out of date,
524	  but for a large target, the savings can be significant (10-20min).
525
5262014-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
527
528	* install-mk (MK_VERSION): 20141118
529
530	* meta.stage.mk: add stale_staged
531
532	* dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
533	  only useful under very rare conditions such as
534	  FreeBSD's make universe.
535
536	* auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
537
5382014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
539
540	* install-mk (MK_VERSION): 20141111
541
542	* mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
543
5442014-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
545
546	* FILES: include mkopt.sh which allows handling options in shell
547	  scripts in a manner compatible with options.mk
548
5492014-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
550
551	* meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
552	  for GENDIRDEPS_FILTER to avoid surprises.
553
5542014-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
555
556	* dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
557	  the time it is applied to __depdirs they have.
558
559	* dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
560	  expects patterns like *.${MACHINE}
561
562	* cython.mk (pyprefix?): use pyprefix to find python bits
563	  since prefix might be something else (where we install our
564	  stuff)
565
5662014-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
567
568	* install-mk (MK_VERSION): 20140911
569
570	* dirdeps.mk: add bootstrap target to simplify adding support for
571	  new MACHINE.
572
5732014-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
574
575	* gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
576	  GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
577	  Makefile.depend files.
578
5792014-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
580
581	* install-mk (MK_VERSION): 20140828
582
583	* cython.mk: capture logic for building python extension modules
584	  with Cython.
585
5862014-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
587
588	* meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
589
5902014-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
591
592	* install-mk (MK_VERSION): 20140801
593
594	* dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
595	identify the autodep.mk variant.
596
597	* sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
598	initial value does not match .MAKE.DEPENDFILE_PREFIX
599
600	* meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
601
6022014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
603
604	* install-mk (MK_VERSION): 20140522
605
606	* lib.mk: use CC to link shlib for linux too
607	  patch from Brendan MacDonell
608
6092014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
610
611	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
612	  if WITH_META_STATS is defined.
613
6142014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
615
616	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
617	  to supress dirdeps outside of .CURDIR.
618
6192014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
620
621	* Fix spelling errors - patch from Pedro Giffuni
622
6232014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>
624
625	* install-mk (MK_VERSION): 20140314
626
627	* dirdeps.mk (beforedirdeps): a handy hook
628
629	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
630	  to visit leaf dirs to be intercepted (eg. for distributed
631	  build).
632
633	* dirdeps.mk (__depdirs): ensure // don't sneak in
634
635	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in
636
637
6382014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>
639
640	* rst2htm.mk (RST2PDF): add support for rst2pdf
641
6422014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
643
644	* install-mk (MK_VERSION): bump version
645	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
646	  available.
647
6482014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
649
650	* options.mk: avoid :U so this isn't bmake dependent
651
6522014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>
653
654	* options.mk: cleanup and simplify semanitcs
655	  NO_* dominates all, if both WITH_* and WITHOUT_*
656	  are defined then result is DOMINATE_* which defaults to "no".
657	  Ie. WITHOUT_ normally wins.
658
6592013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
660
661	* install-mk (MK_VERSION): bump version
662	* meta2deps.py: convert to print function for python3 compat.
663	  we also need to open files with mode 'r' rather than 'rb'
664	  otherwise we get bytes instead of strings.
665
6662013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
667
668	* install-mk (MK_VERSION): bump version
669
670	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
671	  apply the same filtering (M_dep_qual_fixes) when setting _machines
672	  as _build_dirs.
673	  Also fix the filtering of Makefile.depend files - for reporting
674	  what we are looking for (M_dep_qual_fixes can get confused by
675	  Makefile.depend)
676	  Add some more debug info.
677
6782013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
679
680	* gendirdeps.mk (_objtops): fix typo also
681	  while processing M2D_OBJROOTS to gather qualdir_list
682	  qualify $ql with loop iterator to ensure correct results.
683
6842013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
685
686	* install-mk (MK_VERSION): 20130801
687	* libs.mk: update to match progs.mk
688
6892013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>
690
691	* install-mk (MK_VERSION): 20130726
692	  some updates from Juniper and FreeBSD
693	  o meta2deps.py: indicate file and line number when we hit parse
694	    errors
695	    also allow @file to provide huge list of .meta files.
696	* meta2deps.py: add try_parse() to cleanup the above.
697
6982013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
699
700	* install-mk (MK_VERSION): 20130716
701	* own.mk: add GPROG as an option
702	* prog.mk: honor MK_GPROF==yes
703
7042013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
705
706	* install-mk (MK_VERSION): 20130505
707	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
708	  for when $MACHINE isn't enough for objdir distinction.
709	  Bring meta2deps.sh closer to par with meta2deps.py.
710
7112013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
712
713	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
714	  also if the target 'beforeinstall' exists, make it depend on
715	  .dirdep (incase it uses STAGE_INSTALL).
716
7172013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
718
719	* install-mk (MK_VERSION): 20130401 ;-)
720	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
721	  wrapper around install(1).
722	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
723
7242013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
725
726	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
727	* install-mk (MK_VERSION): bump version
728
7292013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>
730
731	* install-mk (MK_VERSION): bump version
732	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
733	  any trailing /., rather apply :tA only when needed.
734	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
735	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
736	  consistently.
737	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
738
7392013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
740
741	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
742	  it is simpler to just not update when say building for "host"
743	  (where we know we apply filters to DIRDEPS), and using a
744	  non-machine qualified dependfile.
745
7462013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
747
748	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
749	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
750	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
751	* meta2deps.py: if machine is "host", then also trim
752	  self.host_target from any OBJROOTS.
753
754
7552013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
756
757	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
758	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
759	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
760	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.
761
7622013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>
763
764	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
765	  and hook to all: via staging:
766
7672013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
768
769	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
770	  use a separate variable for the default .MAKE.DEPENDFILE value
771	  so that it can be controlled independently of
772	  .MAKE.DEPENDFILE_PREFERENCE
773
774	* meta.stage.mk: throw error if cp fails etc.
775	  Stage*() return early if passed no args.
776	  .ORDER stage_*
777
7782013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
779
780	* install-mk (MK_VERSION): bump version
781	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
782
7832013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
784
785	* install-mk (MK_VERSION): bump version to 20130210
786	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
787	  from Juniper.
788	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
789	    than just MACHINE.
790	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.
791
7922013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>
793
794	* install-mk (MK_VERSION): bump version to 20130123
795	* meta.stage.mk: add stage_links (hard links).
796	  if doing hard links, we add dest to link as well.
797	  Default the stage dir for [sym]links to STAGE_OBJTOP since
798	  these are typically specified as absolute paths.
799	  Add -m "mode" flag to StageFiles and StageAs.
800
8012012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
802
803	* install-mk (MK_VERSION): bump version to 20121111
804	* autoconf.mk: avoid meta mode seeing changed commands for config.status
805	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
806	  in case we were found via .../mk
807	* sys.clean-env.mk: move it from examples, we and others use it
808	  "as is".
809	* FILES: add srctop.mk and options.mk
810	* own.mk: convert to using options.mk
811	  which is modeled after FreeBSD's handling of MK_*
812	  but more flexible.
813	  This allows MK_* for boolean knobs to not be confused
814	  with MK* which can be commands.
815
816	* examples/sys.clean-env.mk: add WITH[OUT]_ to
817	  MAKE_ENV_SAVE_PREFIX_LIST.
818	  Mention that HOME=/var/empty might be a good idea.
819
8202012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>
821
822	* sys.dependfile.mk: if not depend file exists, $MACHINE
823	  specific ones are supported but not the default,
824	  check if any exist and follow suit.
825
8262012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>
827
828	* install-mk (MK_VERSION): bump version to 20121106
829
8302012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
831
832	* import latest dirdeps.mk and meta2deps.py from Juniper.
833	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
834	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
835	  appropriate.
836
8372012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>
838
839	* meta.stage.mk: update CLEANFILES
840	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
841	* progs.mk: Add LDADD to PROG_VARS
842
8432012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
844
845	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
846	  _STAGED_DIRS so that these can be turned into filters for
847	  GENDIRDEPS_FILTER.
848
8492012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
850
851	* install-mk (MK_VERSION): bump version to 20121010
852	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
853	target.dirdep matches .dirdep
854
8552012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
856
857	* install-mk (MK_VERSION): bump version to 20120808
858	* import latest meta2deps.py from Juniper.
859
8602012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
861
862	* install-mk (MK_VERSION): bump version to 20120711
863	* dep.mk: add explicit dependencies on SRCS after applying
864	  SRCS_DEP_FILTER
865	* meta.autodep.mk: add explicit dependencies on SRCS after
866	  applying SRCS_DEP_FILTER
867	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
868
8692012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
870
871	* install-mk (MK_VERSION): bump version to 20120626
872	* meta.sys.mk: ignore PYTHON if it does not exist
873	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
874	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
875	  entries ending in .${MACHINE} to decide if qualified _dirdep is
876	  needed.
877	* gendirdeps.mk: only produce unqualified deps if no
878	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
879	* meta.subdir.mk: apply SUBDIRDEPS_FILTER
880
8812012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
882
883	* install-mk (MK_VERSION): bump version to 20120420
884	* add sys.dependfile.mk so we can experiment with
885	  .MAKE.DEPENDFILE_PREFERENCE
886	* meta.autodep.mk: _DEPENDFILE is precious!
887
8882012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
889
890	* install-mk (MK_VERSION): bump version to 20120315
891	* install-new.mk: avoid being interrupted
892
8932012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
894
895	* man.mk: MAN might have multiple values so be careful with exists().
896
8972012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>
898
899	* install-mk (MK_VERSION): bump version to 20120112
900	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
901	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
902
9032011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>
904
905	* install-mk (MK_VERSION):  bump version to 20111201
906	* import dirdeps.mk from Juniper sjg@
907	  o more consistent handling of DEP_MACHINE, especially when
908	    dealing with an odd Makefile.depend, when normally using
909	    Makefile.depend.${MACHINE}
910
9112011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>
912
913	* install-mk (MK_VERSION): bump version to 20111122
914	* meta.autodep.mk: add some debug output, be more crisp about
915	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend
916
9172011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
918
919	* install-mk (MK_VERSION): bump version to 20111111
920	  it's too cool to miss
921	* import meta* updates from Juniper sjg@
922	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
923	    normally using Makefile.depend.${MACHINE}), handy for
924	    read-only manually maintained dependencies.
925	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
926	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
927	    anything.
928
9292011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>
930
931	* install-new.mk separate the cmp and copy logic to its own function.
932
9332011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
934
935	* install-mk (MK_VERSION): bump version to 20111028
936	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
937	* subdir.mk: ensure _SUBDIRUSE is provided
938	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
939	* meta.subdir.mk: always allow for Makefile.depend
940
9412011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
942
943	* install-mk (MK_VERSION): bump version to 20111010
944	  o minor tweak to *dirdeps.mk from Juniper sjg@
945
9462011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
947
948	* install-mk (MK_VERSION): bump version to 20111001
949	  o add meta2deps.py from Juniper sjg@
950	  o tweak gendirdeps.mk to work with meta2deps.py when not
951	    cross-building
952	* autoconf.mk: add autoconf-input as a hook for regenerating
953	  AUTOCONF_INPUTS (configure).
954
9552011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>
956
957	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
958	  trigger for updating Makefile.depend*
959
9602011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
961
962	* install-mk (MK_VERSION): bump version to 20110808
963	* obj.mk: minor cleanup
964	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
965
9662011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
967
968	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
969	  specified dir.
970
9712011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
972
973	* meta.autodep.mk: if XMAKE_META_FILE is set
974	  the makefile uses a foreign make, and so dependencies
975	  can only be gathered from a clean tree build.
976
9772011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>
978
979	* install-mk (MK_VERSION): bump version to 20110622
980	* meta.autodep.mk: improve bootstraping
981
9822011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
983
984	* yacc.mk: handle the corner case of .c being removed
985	  while .h remains.
986
9872011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
988
989	* yacc.mk: do .y.h and .y.c separately
990
9912011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
992
993	* install-mk (MK_VERSION): bump version to 20110606
994	* don't store SRC_DIRDEPS in Makefile.depend* by default
995	  not everyone needs it.
996
9972011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
998
999	* install-mk (MK_VERSION): bump version to 20110505
1000	  first release including meta mode makefiles
1001
10022011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
1003
1004	* meta.stage.mk: add STAGE_AS_SETS and stage_as
1005	  for things that need to be staged with different names.
1006
10072011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1008
1009	* meta.stage.mk: add notion of STAGE_SETS
1010	  so a makefile can stage to multiple dirs
1011
10122011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1013
1014	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
1015	  on target name.
1016
10172011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
1018
1019	* install-mk (MK_VERSION): bump version to 20110330
1020
10212011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
1022
1023	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
1024	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
1025	* sys.mk: re-define M_whence in terms of M_type.
1026	  M_type is useful for checking if something is a builtin.
1027
10282011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1029
1030	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
1031	  stage_libs
1032
10332011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1034
1035	* dirdeps.mk: correct value for _depdir_files depends on
1036	  .MAKE.DEPENDFILE
1037	  Add our copyright - just to make it clear we have frobbed this
1038	  quite a bit.
1039	  DEP_MACHINE needs to be set to MACHINE each time, if using only
1040	  Makefile.depend (cf. Makefile.depend.${MACHINE})
1041
1042	* meta.stage.mk: meta mode version of staging
1043
1044	* init.mk, final.mk: include local.*.mk to simplify customization
1045
10462011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1047
1048	* auto.obj.mk: just because we are doing mk destroy, we should
1049	  still set .OBJDIR correctly if it exists.
1050
1051	* install-mk (mksrc): do not exclude meta.sys.mk
1052
10532011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1054
1055	* host-target.mk: set/export _HOST_ARCH etc separately,
1056	  catch junk resulting from uname -p, so we can find sys/Linux.mk
1057	  correctly.
1058
10592011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
1060
1061	* meta.sys.mk: throw an error if /dev/filemon is missing and we
1062	  expected to be updating Makefile.depend*
1063
10642011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
1065
1066	* install-mk (MK_VERSION): bump version to 20110214
1067	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
1068
10692010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1070
1071	* meta.sys.mk: not valid for older bmake
1072
10732010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>
1074
1075	* install-mk (MK_VERSION): bump version to 20100919
1076	include dirdeps.mk et al from Juniper Networks,
1077	for meta mode - requires filemon(9).
1078	* sys.mk, subdir.mk: Add hooks for meta mode.
1079	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
1080	to make turning it on/off simple.
1081
10822010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1083
1084	* install-mk (MK_VERSION): bump version to 20100616
1085	* fix typo in sys.mk
1086
10872010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1088
1089	* install-mk (MK_VERSION): bump version to 20100612
1090	* lib.mk: remove duplicate addition to SOBJS
1091
10922010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1093
1094	* sys.mk: Add a means of selectively turning on debug flags.
1095	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
1096	  will act as if we did make -dv if .CURDIR ends in lib/sjg
1097	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
1098	  the start of sys.mk rather than the end.
1099	  This only makes sense for leaf dirs, so we check that
1100	  .MAKE.LEVEL > 0
1101
11022010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>
1103
1104	* install-mk (MK_VERSION): bump version to 20100608
1105	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
1106	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
1107	  also make it easier for folk to tweak
1108
11092010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1110
1111	* install-mk (MK_VERSION): bump version to 20100606
1112	  do not install examples/*
1113	* FILES: add examples/sys.clean-env.mk
1114	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
1115	  this requires bmake-20100606 or later to work.
1116
11172010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1118
1119	* sys.mk (M_tA): better simulate the result of :tA if not available.
1120
11212010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1122
1123	* sys.mk: canonicalize MAKE_VERSION
1124	  old versions reported bmake-<src-date> build-<build-date>
1125	  whereas we only care about <src-date>
1126
11272010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1128
1129	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
1130	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
1131	  is !empty
1132
11332010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
1134
1135	* dpadd.mk: use LDADD_* if defined.
1136
11372010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
1138
1139	* install-mk (MK_VERSION): bump version to 20100420
1140	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
1141	* autoconf.mk allow AUTO_AUTOCONF
1142
11432010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>
1144
1145	* obj.mk: add objwarn to keep freebsd makefiles happy
1146	* auto.obj.mk: ensure Mkdirs is available.
1147	* FILES: add auto.dep.mk - a simpler version of autodep.mk
1148	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
1149	  asked to do that.
1150	  fix/simplify the tests for when to run mkdep.
1151	* auto.dep.mk: add some explanation of how/what we do.
1152	* autodep.mk: skip the .OPTIONAL frobbing of .depend
1153	  bmake's FROM_DEPEND flag makes it redundant.
1154
11552010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1156
1157	* install-mk (MK_VERSION): bump version to 20100404
1158	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
1159	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
1160	Also create a target _SUBDIRUSE so that we can  be used without
1161	subdir.mk
1162
11632010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1164
1165	* dep.mk: use <> when .including so can override.
1166
11672010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1168
1169	* lib.mk (SHLIB_LINKS): ensure a string comparison.
1170
11712010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1172
1173	* install-mk (MK_VERSION): bump version to 20100102
1174	* own.mk: ensure PRINTOBJDIR works
1175	* autoconf.mk: pass on CONFIGURE_ARGS
1176	* init.mk: handle COPTS.${.IMPSRC:T} etc.
1177	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
1178	  fix handling of symlinks for darwin
1179	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
1180	* man.mk: suppress chown when not root.
1181	* rst2htm.mk: allow srcs from multiple locations.
1182	* sys.mk: M_whence, stop after 1st line of output.
1183	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
1184	* sys/SunOS.mk: we need to export PATH
1185
11862009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>
1187
1188	* install-mk (MK_VERSION): bump version
1189	  include rst2htm.mk
1190
11912009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>
1192
1193	* sys.mk,libnames.mk add .-include <local.*>
1194	  this allows local customization without the need to edit the
1195	  distributed files.
1196
11972009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>
1198
1199	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
1200	  older versions already installed.
1201
12022009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>
1203
1204	* stage.mk (.stage-install): generalize lib.mk's .libinstall
1205	* rules.mk rules for generic Makefile.
1206	* inc.mk install for includes.
1207
12082009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>
1209
1210	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
1211	  this, so provide it if using native make.
1212
12132009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>
1214
1215	* FILES: move all the platform *.sys.mk files to sys/*.mk
1216	* Rename Generic.sys.mk to sys.mk - we always want it.
1217
12182009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>
1219
1220	* install-mk (MK_VERSION): bump version
1221	* host-target.mk: only export the expensive stuff
1222	* Generic.sys.mk (sys_mk): for SunOS we need to look for
1223	  ${HOST_OS}.${HOST_OSMAJOR} too!
1224
12252009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>
1226
1227	* install-mk (MK_VERSION): bump version
1228	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
1229	  based on patch from Greg Olszewski.
1230	* Generic.sys.mk: if we have nothing to work with
1231	set LORDER etc only if we can find it.
1232
12332009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
1234
1235	* install-mk (MK_VERSION): bump version
1236	* man.mk: cleanman: remove CLEANMAN if defined.
1237
12382009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>
1239
1240	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
1241
12422009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>
1243
1244	* install-mk (MK_VERSION): bump version
1245	include auto.obj.mk
1246
1247
12482009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
1249
1250	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
1251
12522008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
1253
1254	* install-mk (MK_VERSION): bump version
1255	man.mk: ensure we generate *.cat1 etc in .
1256
12572008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>
1258
1259	* install-mk (MK_VERSION): bump version
1260	add prlist.mk
1261
12622007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
1263
1264	* Generic.sys.mk: Allow os specific sys.mk to be in a
1265	subdir of ${.PARSEDIR}
1266
12672007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>
1268
1269	* install-mk (MK_VERSION): bump version
1270	* general cleanup
1271	* dpadd.mk introduce DPMAGIC_LIBS_*
1272
12732007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>
1274
1275	* install-mk (MK_VERSION): bump version
1276
1277	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
1278	depend files and ensure clean is called for each lib/prog.
1279
12802007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>
1281
1282	* autodep.mk (.depend): delete lines that do not start with
1283	space and do not contain ':'
1284
12852007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>
1286
1287	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
1288	so make sure the transform for .OPTIONAL copes.
1289
12902007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1291
1292	* install-mk (MK_VERSION): bump version
1293
1294	* own.mk: make sure RM and LN are defined.
1295
1296	* obj.mk: fix a typo, and objlink target.
1297
12982006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>
1299
1300	* install-mk (MK_VERSION): bump version
1301	* added libs.mk - analogous to progs.mk
1302	  make both of them always inlcude {lib,prog}.mk
1303
13042006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>
1305
1306	* progs.mk: add a means of building multiple apps in one dir.
1307
13082006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
1309
1310	* install-mk (MK_VERSION): bump version to 20061126
1311
1312	* warnings.mk: detect invalid WARNINGS_SET
1313
1314	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
1315	specific warnings.
1316
1317	* For .cc sources, turn off warnings that g++ vomits on.
1318
13192006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>
1320
1321	* own.mk: if __initialized__ target doesn't exist and we are
1322	FreeBSD we got here directly from sys.mk
1323
13242006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>
1325
1326	* install-mk (MK_VERSION): bump version to 20061106
1327	add scripts.mk
1328
13292006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
1330
1331	* install-mk (MK_VERSION): bump version to 20060318
1332
1333	* autodep.mk: avoid := when modifying OBJS into __dependsrcs
1334
13352006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>
1336
1337	* install-mk (MK_VERSION): bump version to 20060302
1338	* autodep.mk: use -MF et al to help gcc+ccache DTRT.
1339
13402006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
1341
1342	* install-mk (MK_VERSION): bump version to 20060301
1343	* autodep.mk (.depend):
1344	if MAKE_VERSION is newer than  20050530 we can make .END depend on
1345	.depend and make .depend depend on __depsrcs that exist.
1346	* dpadd.mk: add SRC_PATHADD
1347
13482005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
1349
1350	* install-mk (MK_VERSION): bump version to 20051104
1351	* prog.mk: remove all the LIBC?= junk, use
1352	.-include libnames.mk instead (none by default).
1353	also if USE_DPADD_MK is set, include that.
1354
13552005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
1356
1357	* install-mk (MK_VERSION): bump version to 20051001
1358	Add UnixWare.sys.mk from Klaus Heinz.
1359
13602005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>
1361
1362	* install-mk: always install *.sys.mk and if need be symlink one
1363	to sys.mk
1364
13652005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
1366
1367	* subdir.mk, own.mk: use .MAKE rather than MAKE
1368
13692004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
1370
1371	* own.mk: don't use NetBSD's _SRC_TOP_ it can
1372	cause confusion.  Also don't take just 'mk' as a
1373	srctop indicator.
1374
13752004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
1376
1377	* warnings.mk: overhauled, now very powerful.
1378
13792004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1380
1381	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
1382
13832004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>
1384
1385	* install-mk (MK_VERSION): bump version to 20040201
1386	* extract HOST_TARGET stuff to host-target.mk so own.mk and
1387	Generic.sys.mk can share.
1388	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
1389
13902003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>
1391
1392	* install-mk (MK_VERSION): 20030930
1393	* rename generic.sys.mk to Generic.sys.mk
1394	so that it does not get installed (unless being used as sys.mk)
1395	* set OS and ROOT_GROUP for those that we know the value.
1396	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
1397	we don't do it again for each sub-make.
1398
13992003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
1400
1401	* install-mk (MK_VERSION): 20030928
1402	Add some extra *.sys.mk from bootstrap-pkgsrc
1403	some of these likely still need work.
1404	Make everything default to root:wheel ownership,
1405	sys.mk can set ROOT_GROUP accordingly.
1406
14072003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>
1408
1409	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
1410	not the portable ones.
1411
14122003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
1413
1414	* install-mk: add ability to use cp -f when updating
1415	destination .mk files.  Also now possible to play games with
1416	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
1417	into dest - not recommended unless you seriously want to.
1418
14192003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
1420
1421	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
1422	for semi-compatability with NetBSD.
1423
14242003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
1425
1426	* install-mk: add a version indicator
1427
14282003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>
1429
1430	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
1431
1432	* install-mk: Allow FORCE_SYS_MK to come from env
1433
1434
1435
1436