xref: /freebsd/contrib/bmake/mk/ChangeLog (revision cd0d51baaa4509a1db83251a601d34404d20c990)
12018-09-19  Simon J Gerraty  <sjg@beast.crufty.net>
2
3	* install-mk (MK_VERSION): 20180919
4
5	* dirdeps-options.mk: .undef cannot handle var that expands to
6	  more than one var.
7
82018-07-08  Simon J Gerraty  <sjg@beast.crufty.net>
9
10	* meta.stage.mk: allow wildcards in STAGE_FILES.* etc.
11
122018-06-01  Simon J Gerraty  <sjg@beast.crufty.net>
13
14	* meta.autodep.mk: export META_FILES to avoid command line limit
15	* gendirdeps.mk: if we have lots of .meta files put them in
16	  an @list
17
182018-05-28  Simon J Gerraty  <sjg@beast.crufty.net>
19
20	* dirdeps-options.mk: use local.dirdeps-options.mk
21	  not local.dirdeps-option.mk
22
232018-04-20  Simon J Gerraty  <sjg@beast.crufty.net>
24
25	* install-mk (MK_VERSION): 20180420
26	* dirdeps.mk: include local.dirdeps-build.mk when .MAKE.LEVEL > 0
27	  ie. we are building something.
28
292018-04-14  Simon J Gerraty  <sjg@beast.crufty.net>
30
31	* FILES: add dirdeps-options.mk to deal with optional DIRDEPS.
32
332018-04-05  Simon J Gerraty  <sjg@beast.crufty.net>
34
35	* install-mk (MK_VERSION): 20180405
36
37	* ldorder.mk: describe how to use LDORDER_EXTERN_BARRIER
38	  if needed.
39
402018-01-18  Simon J Gerraty  <sjg@beast.crufty.net>
41
42	* install-mk (MK_VERSION): 20180118
43
44	* ldorder.mk: let make compute correct link order
45
462017-12-12  Simon J Gerraty  <sjg@beast.crufty.net>
47
48	* install-mk (MK_VERSION): 20171212
49
50	* gendirdeps.mk: guard against bogus entries in GENDIRDEPS_FILTER
51
522017-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
53
54	* install-mk (MK_VERSION): 20171111
55
56	* lib.mk: ensure META_NOECHO is set
57
582017-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
59
60	* Allow for host32 on rare occasions.
61
622017-10-18  Simon J. Gerraty  <sjg@bad.crufty.net>
63
64	* install-mk (MK_VERSION): 20171018
65
66	* whats.mk: include what_thing in what_uuid to avoid problem
67	  when building multiple apps in the same directory.
68
692017-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
70
71	* install-mk (MK_VERSION): 20170812
72
73	* autoconf.mk: Use CONFIGURE_DEPS so Makefile can
74	  add dependencies for config.recheck and config.gen
75
762017-06-30  Simon J. Gerraty  <sjg@bad.crufty.net>
77
78	* install-mk (MK_VERSION): 20170630
79
80	* meta.stage.mk: avoid triggering stage_* targets with nothing to do.
81
822017-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
83
84	* meta2deps.py: take special care of '..'
85
862017-05-15  Simon J. Gerraty  <sjg@bad.crufty.net>
87
88	* install-mk (MK_VERSION): 20170515
89
90	* dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is
91	useful/necessary for a Makefile.depend file to export some knobs.
92	This is complicated when we are doing DIRDEPS_CACHE, so we will
93	handle export of any variables listed in DEP_EXPORT_VARS.
94
952017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>
96
97	* install-mk (MK_VERSION): 20170505
98
99	* meta2deps.py: fix botched indenation.
100
1012017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
102
103	* sys/*.mk: Remove setting of MAKE it is unnecessary and
104	  in many cases wrong (basname rather than full path)
105
106	* scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk
107
108	* init.mk: define realbuild to simplify logic in {lib,prog}.mk etc
109
1102017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
111
112	* install-mk (MK_VERSION): 20170501
113
114	* doc.mk: fix typo in DOC_INSTALL_OWN
115
116	* inc.mk: handle INCGROUPS similar to freebsd
117
118	* files.mk: add something for files too
119
120	* add staging logic to lib.mk prog.mk etc.
121
1222017-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
123
124	* install-mk (MK_VERSION): 20170424
125
126	* dirdeps.mk: set NO_DIRDEPS when bootstrapping.
127	  also target of bootstrap-this when sed is needed should be ${_want:T}
128
1292017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
130
131	* install-mk (MK_VERSION): 20170418
132
133	* auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a
134	  prefix match for .CURDIR - in which case .CURDIR *is* __objdir.
135
1362017-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
137
138	* install-mk (MK_VERSION): 20170401
139
140	* meta2deps.py: add is_src so we can check if obj dependency
141	  is also a src dependency.
142
1432017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
144
145	* install-mk (MK_VERSION): 20170326
146
147	* meta.stage.mk: do nothing if NO_STAGING is defined.
148
1492017-03-24  Simon J. Gerraty  <sjg@bad.crufty.net>
150
151	* auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc.
152
1532017-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
154
155	* mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_*
156
1572017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
158
159	* install-mk (MK_VERSION): 20170301
160
161	* dirdeps.mk (_build_all_dirs): update this outside test for empty
162	  DIRDEPS.
163
164	* meta.stage.mk: allow multiple inclusion to the extent it makes
165	  sense.
166
1672017-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
168
169	* prog.mk (install_links): depends on realinstall
170
1712017-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>
172
173	* install-mk (MK_VERSION): 20170212
174
175	* dpadd.mk: avoid applying :T:R twice to DPLIBS entries
176
1772017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>
178
179	* install-mk (MK_VERSION): 20170130
180
181	* dirdeps.mk: use :range if we can.
182
183	* sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130
184
185	* meta2deps.py: clean paths without using realpath() where possible.
186	  fix sort_unique.
187
1882016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
189
190	* install-mk (MK_VERSION): 20161212
191
192	* meta2deps.py: set pid_cwd[pid] when we process 'C'hdir,
193	rather than when we detect pid change.
194
1952016-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>
196
197	* install-mk (MK_VERSION): 20161207
198
199	* meta.stage.mk: add stage_as_and_symlink for staging packages.
200	  We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able
201	  to use foo.tgz to reference the latest staged version - so we
202	  make foo.tgz a symlink to it.
203	  Using a target to do both operations ensures we stay in sync.
204
2052016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
206
207	* install-mk (MK_VERSION): 20161126
208
209	* dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk
210	  so it can add dependencies.
211
2122016-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
213
214	* dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE
215	  do that they can influence the result correctly.
216
217	* dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC
218
219	* dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST
220	  similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST
221
2222016-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>
223
224	* dirdeps.mk: remove dependence on jot (normal situations anyway).
225	  Before we read another Makefile.depend* set DEP_* vars from
226	  _DEP_TARGET_SPEC in case it uses any of them with :=
227	  When bootstrapping, trim any ,* from extention of chosen _src
228	  Makefile.depend* to get the machine value we subst for.
229
2302016-09-30  Simon J. Gerraty  <sjg@bad.crufty.net>
231
232	* dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to
233	  DEP_SKIP_DIR and DEP_DIRDEPS_FILTER
234
235	* sys.mk: extract some bits to sys.{debug,vars}.mk
236	  for easier re-use by others.
237
2382016-09-23  Simon Gerraty  <sjg@sjg-mba13>
239
240	* lib.mk: Use ${PICO} for extension for PIC objects.
241	  default to .pico (like NetBSD) safe on case insensitive filesystem.
242
2432016-08-19  Simon J. Gerraty  <sjg@bad.crufty.net>
244
245	* meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default
246
2472016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
248
249	* install-mk (MK_VERSION): 20160815
250
251	* dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only
252	consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date.
253
2542016-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>
255
256	* meta.sys.mk (.MAKE.META.IGNORE_PATHS):
257	  in meta mode we can ignore the mtime of makefiles
258
2592016-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
260
261	* install-mk (MK_VERSION): 20160802
262
263	* lib.mk (libinstall): depends on beforinstall
264
265	* prog.mk (proginstall): depends on beforinstall
266	  patch from Lauri Tirkkonen
267
268	* dirdeps.mk (bootstrap): When bootstrapping; creat
269	.MAKE.DEPENDFILE_DEFAULT and allow additional filtering via
270	.MAKE.DEPENDFILE_BOOTSTRAP_SED
271
272	* dirdeps.mk: move some comments to where they make sense.
273
2742016-07-27  Simon J. Gerraty  <sjg@bad.crufty.net>
275
276	* dirdeps.mk (DIRDEPS_CACHE): no dirname.
277
2782016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
279
280	* install-mk (MK_VERSION): 20160602
281	* meta.autodep.mk: when passing META_FILES to gendirdeps.mk
282	  do not apply :T to META_XTRAS
283	  patch from Bryan Drewery at FreeBSD.org.
284
2852016-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
286
287	* install-mk (MK_VERSION): 20160530
288	* meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH
289	  make it so.
290
2912016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
292
293	* install-mk (MK_VERSION): 20160512
294
295	* dpadd.mk: always include local.dpadd.mk if it exists
296	  remove some things that better belong in local.dpadd.mk
297	  skip INCLUDES_* for staged libs unless SRC_* defined.
298
299	* own.mk: add INCLUDEDIR
300
3012016-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
302
303	* dirdeps.mk: when doing -f dirdeps.mk if target suppies no
304	  TARGET_MACHINE - :E will be empty or match part of path, use
305	  ${MACHINE}
306
3072016-04-07  Simon J. Gerraty  <sjg@bad.crufty.net>
308
309	* meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
310	  NO_FILEMON_COOKIE
311
312	* dirdeps.mk: move the logic that allows for
313	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
314	  inside the check for !target(_DIRDEP_USE)
315
3162016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
317
318	* Use <> when including local*.mk and others which may exist
319	  elsewhere so that user can better control what they get.
320
321	* meta.autodep.mk (NO_FILEMON_COOKIE):
322	  create a cookie if we ever build dir with nofilemon
323	  so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
324
3252016-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
326
327	* install-mk (MK_VERSION): 20160401
328
329	* meta2deps.py: fix old print statement when debugging.
330
331	* gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
332	  patch from Bryan Drewery
333
3342016-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
335
336	* install-mk (MK_VERSION): 20160317 (St. Pats)
337
338	* warnings.mk: g++ does not like -Wimplicit
339
340	* sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
341	  pelthora of common suffixes for C++
342
343	* lib.mk: use .So for shared objects
344
3452016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
346
347	* install-mk (MK_VERSION): 20160315
348
349	* meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
350	  normally only applies to scripts.
351
352	* dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
353	  well as outside it.
354
3552016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
356
357	* install-mk (MK_VERSION): 20160310
358
359	* dirdeps.mk: use targets rather than a list to track DIRDEPS that
360	  we have processed; the list gets very inefficient as number of
361	  DIRDEPS gets large.
362
363	* sys.dependfile.mk: fix comment wrt MACHINE
364
365	* meta.autodep.mk: ignore staged DPADDs when bootstrapping.
366	  patch from Bryan Drewery
367
3682016-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
369
370	* meta2deps.sh: don't ignore subdirs.
371	  patch from Bryan Drewery
372
3732016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
374
375	* install-mk (MK_VERSION): 20160226
376
377	* gendirdeps.mk: mark _DEPENDFILE .NOMETA
378
3792016-02-20  Simon J. Gerraty  <sjg@bad.crufty.net>
380
381	* dirdeps.mk: we shouldn't normally include .depend but if we do
382	  use .dinclude if we can.
383
3842016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
385
386	* install-mk (MK_VERSION): 20160218
387	* sys.clean-env.mk: with recent change to Var_Subst()
388	  we cannot use the '$$' trick, but .export-literal does the job
389	  we need.
390	* auto.dep.mk: make use .dinclude if we can.
391
392
3932016-02-05  Simon J. Gerraty  <sjg@bad.crufty.net>
394
395	* dirdeps.mk:
396	  Add _build_all_dirs such that local.dirdeps.mk can
397	  add fully qualified dirs to it.
398	  These will be built normally but the current
399	  DEP_RELDIR will not depend on then (to avoid cycles).
400	  This makes it easy to hook things like unit-tests into build.
401
402
4032016-01-21  Simon J. Gerraty  <sjg@bad.crufty.net>
404
405	* dirdeps.mk: add bootstrap-empty
406
4072015-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
408
409	* install-mk (MK_VERSION): 20151212
410	* auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
411	  only apply :tA to __objdir when comparing to .OBJDIR
412
4132015-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
414
415	* install-mk (MK_VERSION): 20151111
416
417	* meta.sys.mk: include sys.dependfile.mk
418
419	* sys.mk (OPTIONS_DEFAULT_NO): use options.mk
420	  to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
421	  include local.sys.env.mk early
422	  include local.sys.mk later
423
424	* own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
425
4262015-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
427
428	* meta.sys.mk (META_COOKIE_TOUCH):
429	  add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
430
431	* meta.stage.mk: stage_libs should ignore SYMLINKS.
432
4332015-10-23  Simon J. Gerraty  <sjg@bad.crufty.net>
434
435	* install-mk (MK_VERSION): 20151022
436
437	* sys.mk: BSD/OS does not have 'type' as a shell builtin.
438
4392015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
440
441	* install-mk (MK_VERSION): 20151020
442
443	* dirdeps.mk: Add logic for
444	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
445
4462015-10-14  Simon J. Gerraty  <sjg@bad.crufty.net>
447
448	* install-mk (MK_VERSION): 20151010
449
4502015-10-02  Simon J. Gerraty  <sjg@bad.crufty.net>
451
452	* meta.stage.mk: use staging: ${STAGE_TARGETS:...
453	  to have stage_lins run last in non-jobs mode.
454	  Use .ORDER only for jobs mode.
455
4562015-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
457
458	* rst2htm.mk: allow for per target flags etc.
459
4602015-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
461
462	* install-mk (MK_VERSION): 20150901
463
464	* doc.mk: create dir if needed use DOC_INSTALL_OWN
465
4662015-06-15  Simon J. Gerraty  <sjg@bad.crufty.net>
467
468	* install-mk (MK_VERSION): 20150615
469
470	* auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
471	  Follow make's normal precedence rules.
472
473	* gendirdeps.mk: allow customization of the header.
474	  eg. for FreeBSD:
475	  GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
476
477	* meta.autodep.mk: ignore dirdeps.cache*
478
479	* meta.stage.mk: when bootstrapping options it can be handy to
480	  throw warnings rather than errors for staging conflicts.
481
482	* meta.sys.mk: include local.meta.sys.mk for customization
483
4842015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
485
486	* install-mk (MK_VERSION): 20150606
487
488	* dirdeps.mk: don't rely on manually maintained Makefile.depend
489	  to set DEP_RELDIR and reset DIRDEPS.
490	  By setting DEP_RELDIR ourselves we can skip :tA
491
492	* gendirdeps.mk: skip setting DEP_RELDIR.
493
4942015-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
495
496	* dirdeps.mk: avoid wildcards like make(bootstrap*)
497
4982015-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
499
500	* install-mk (MK_VERSION): 20150520
501
502	* dirdeps.mk: when we are building dirdeps cache file we *want*
503	  meta_oodate to look at all the Makefile.depend files, so
504	  set .MAKE.DEPENDFILE to something that won't match.
505
506	* meta.stage.mk: for STAGE_AS_* basename of file may not be unique
507	  so first use absolute path as key.
508	  Also skip staging at level 0.
509
5102015-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
511
512	* install-mk (MK_VERSION): 20150430
513
514	* dirdeps.mk: fix _count_dirdeps for non-cache case.
515
5162015-04-16  Simon J. Gerraty  <sjg@bad.crufty.net>
517
518	* install-mk (MK_VERSION): 20150411
519	  bump version
520
521	* own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
522	  it is here mainly for documentation purposes, since
523	  if using auto.obj.mk it is better done via sys.mk
524
5252015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
526
527	* install-mk (MK_VERSION): 20150401
528
529	* meta2deps.sh: support @list
530
531	* meta2deps.py: updates from Juniper
532	  o add EXCLUDES
533	  o skip bogus input files.
534	  o treat 'M' and 'L' as both an 'R' and a 'W'
535
5362015-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
537
538	* install-mk (MK_VERSION): 20150303
539
540	* dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
541	  which is built via sub-make so we have a .meta file to tell if
542	  it is out-of-date.
543	  The dirdeps-cache contains the same dependency rules that we
544	  normaly construct on the fly.
545	  This adds a few seconds overhead when the cache is out of date,
546	  but for a large target, the savings can be significant (10-20min).
547
5482014-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
549
550	* install-mk (MK_VERSION): 20141118
551
552	* meta.stage.mk: add stale_staged
553
554	* dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
555	  only useful under very rare conditions such as
556	  FreeBSD's make universe.
557
558	* auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
559
5602014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
561
562	* install-mk (MK_VERSION): 20141111
563
564	* mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
565
5662014-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
567
568	* FILES: include mkopt.sh which allows handling options in shell
569	  scripts in a manner compatible with options.mk
570
5712014-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
572
573	* meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
574	  for GENDIRDEPS_FILTER to avoid surprises.
575
5762014-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
577
578	* dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
579	  the time it is applied to __depdirs they have.
580
581	* dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
582	  expects patterns like *.${MACHINE}
583
584	* cython.mk (pyprefix?): use pyprefix to find python bits
585	  since prefix might be something else (where we install our
586	  stuff)
587
5882014-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
589
590	* install-mk (MK_VERSION): 20140911
591
592	* dirdeps.mk: add bootstrap target to simplify adding support for
593	  new MACHINE.
594
5952014-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
596
597	* gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
598	  GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
599	  Makefile.depend files.
600
6012014-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
602
603	* install-mk (MK_VERSION): 20140828
604
605	* cython.mk: capture logic for building python extension modules
606	  with Cython.
607
6082014-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
609
610	* meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
611
6122014-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
613
614	* install-mk (MK_VERSION): 20140801
615
616	* dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
617	identify the autodep.mk variant.
618
619	* sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
620	initial value does not match .MAKE.DEPENDFILE_PREFIX
621
622	* meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
623
6242014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
625
626	* install-mk (MK_VERSION): 20140522
627
628	* lib.mk: use CC to link shlib for linux too
629	  patch from Brendan MacDonell
630
6312014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
632
633	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
634	  if WITH_META_STATS is defined.
635
6362014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
637
638	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
639	  to supress dirdeps outside of .CURDIR.
640
6412014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
642
643	* Fix spelling errors - patch from Pedro Giffuni
644
6452014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>
646
647	* install-mk (MK_VERSION): 20140314
648
649	* dirdeps.mk (beforedirdeps): a handy hook
650
651	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
652	  to visit leaf dirs to be intercepted (eg. for distributed
653	  build).
654
655	* dirdeps.mk (__depdirs): ensure // don't sneak in
656
657	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in
658
659
6602014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>
661
662	* rst2htm.mk (RST2PDF): add support for rst2pdf
663
6642014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
665
666	* install-mk (MK_VERSION): bump version
667	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
668	  available.
669
6702014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
671
672	* options.mk: avoid :U so this isn't bmake dependent
673
6742014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>
675
676	* options.mk: cleanup and simplify semanitcs
677	  NO_* dominates all, if both WITH_* and WITHOUT_*
678	  are defined then result is DOMINATE_* which defaults to "no".
679	  Ie. WITHOUT_ normally wins.
680
6812013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
682
683	* install-mk (MK_VERSION): bump version
684	* meta2deps.py: convert to print function for python3 compat.
685	  we also need to open files with mode 'r' rather than 'rb'
686	  otherwise we get bytes instead of strings.
687
6882013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
689
690	* install-mk (MK_VERSION): bump version
691
692	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
693	  apply the same filtering (M_dep_qual_fixes) when setting _machines
694	  as _build_dirs.
695	  Also fix the filtering of Makefile.depend files - for reporting
696	  what we are looking for (M_dep_qual_fixes can get confused by
697	  Makefile.depend)
698	  Add some more debug info.
699
7002013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
701
702	* gendirdeps.mk (_objtops): fix typo also
703	  while processing M2D_OBJROOTS to gather qualdir_list
704	  qualify $ql with loop iterator to ensure correct results.
705
7062013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
707
708	* install-mk (MK_VERSION): 20130801
709	* libs.mk: update to match progs.mk
710
7112013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>
712
713	* install-mk (MK_VERSION): 20130726
714	  some updates from Juniper and FreeBSD
715	  o meta2deps.py: indicate file and line number when we hit parse
716	    errors
717	    also allow @file to provide huge list of .meta files.
718	* meta2deps.py: add try_parse() to cleanup the above.
719
7202013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
721
722	* install-mk (MK_VERSION): 20130716
723	* own.mk: add GPROG as an option
724	* prog.mk: honor MK_GPROF==yes
725
7262013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
727
728	* install-mk (MK_VERSION): 20130505
729	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
730	  for when $MACHINE isn't enough for objdir distinction.
731	  Bring meta2deps.sh closer to par with meta2deps.py.
732
7332013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
734
735	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
736	  also if the target 'beforeinstall' exists, make it depend on
737	  .dirdep (incase it uses STAGE_INSTALL).
738
7392013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
740
741	* install-mk (MK_VERSION): 20130401 ;-)
742	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
743	  wrapper around install(1).
744	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
745
7462013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
747
748	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
749	* install-mk (MK_VERSION): bump version
750
7512013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>
752
753	* install-mk (MK_VERSION): bump version
754	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
755	  any trailing /., rather apply :tA only when needed.
756	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
757	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
758	  consistently.
759	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
760
7612013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
762
763	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
764	  it is simpler to just not update when say building for "host"
765	  (where we know we apply filters to DIRDEPS), and using a
766	  non-machine qualified dependfile.
767
7682013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
769
770	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
771	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
772	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
773	* meta2deps.py: if machine is "host", then also trim
774	  self.host_target from any OBJROOTS.
775
776
7772013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
778
779	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
780	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
781	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
782	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.
783
7842013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>
785
786	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
787	  and hook to all: via staging:
788
7892013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
790
791	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
792	  use a separate variable for the default .MAKE.DEPENDFILE value
793	  so that it can be controlled independently of
794	  .MAKE.DEPENDFILE_PREFERENCE
795
796	* meta.stage.mk: throw error if cp fails etc.
797	  Stage*() return early if passed no args.
798	  .ORDER stage_*
799
8002013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
801
802	* install-mk (MK_VERSION): bump version
803	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
804
8052013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
806
807	* install-mk (MK_VERSION): bump version to 20130210
808	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
809	  from Juniper.
810	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
811	    than just MACHINE.
812	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.
813
8142013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>
815
816	* install-mk (MK_VERSION): bump version to 20130123
817	* meta.stage.mk: add stage_links (hard links).
818	  if doing hard links, we add dest to link as well.
819	  Default the stage dir for [sym]links to STAGE_OBJTOP since
820	  these are typically specified as absolute paths.
821	  Add -m "mode" flag to StageFiles and StageAs.
822
8232012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
824
825	* install-mk (MK_VERSION): bump version to 20121111
826	* autoconf.mk: avoid meta mode seeing changed commands for config.status
827	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
828	  in case we were found via .../mk
829	* sys.clean-env.mk: move it from examples, we and others use it
830	  "as is".
831	* FILES: add srctop.mk and options.mk
832	* own.mk: convert to using options.mk
833	  which is modeled after FreeBSD's handling of MK_*
834	  but more flexible.
835	  This allows MK_* for boolean knobs to not be confused
836	  with MK* which can be commands.
837
838	* examples/sys.clean-env.mk: add WITH[OUT]_ to
839	  MAKE_ENV_SAVE_PREFIX_LIST.
840	  Mention that HOME=/var/empty might be a good idea.
841
8422012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>
843
844	* sys.dependfile.mk: if not depend file exists, $MACHINE
845	  specific ones are supported but not the default,
846	  check if any exist and follow suit.
847
8482012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>
849
850	* install-mk (MK_VERSION): bump version to 20121106
851
8522012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
853
854	* import latest dirdeps.mk and meta2deps.py from Juniper.
855	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
856	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
857	  appropriate.
858
8592012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>
860
861	* meta.stage.mk: update CLEANFILES
862	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
863	* progs.mk: Add LDADD to PROG_VARS
864
8652012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
866
867	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
868	  _STAGED_DIRS so that these can be turned into filters for
869	  GENDIRDEPS_FILTER.
870
8712012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
872
873	* install-mk (MK_VERSION): bump version to 20121010
874	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
875	target.dirdep matches .dirdep
876
8772012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
878
879	* install-mk (MK_VERSION): bump version to 20120808
880	* import latest meta2deps.py from Juniper.
881
8822012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
883
884	* install-mk (MK_VERSION): bump version to 20120711
885	* dep.mk: add explicit dependencies on SRCS after applying
886	  SRCS_DEP_FILTER
887	* meta.autodep.mk: add explicit dependencies on SRCS after
888	  applying SRCS_DEP_FILTER
889	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
890
8912012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
892
893	* install-mk (MK_VERSION): bump version to 20120626
894	* meta.sys.mk: ignore PYTHON if it does not exist
895	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
896	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
897	  entries ending in .${MACHINE} to decide if qualified _dirdep is
898	  needed.
899	* gendirdeps.mk: only produce unqualified deps if no
900	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
901	* meta.subdir.mk: apply SUBDIRDEPS_FILTER
902
9032012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
904
905	* install-mk (MK_VERSION): bump version to 20120420
906	* add sys.dependfile.mk so we can experiment with
907	  .MAKE.DEPENDFILE_PREFERENCE
908	* meta.autodep.mk: _DEPENDFILE is precious!
909
9102012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
911
912	* install-mk (MK_VERSION): bump version to 20120315
913	* install-new.mk: avoid being interrupted
914
9152012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
916
917	* man.mk: MAN might have multiple values so be careful with exists().
918
9192012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>
920
921	* install-mk (MK_VERSION): bump version to 20120112
922	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
923	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
924
9252011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>
926
927	* install-mk (MK_VERSION):  bump version to 20111201
928	* import dirdeps.mk from Juniper sjg@
929	  o more consistent handling of DEP_MACHINE, especially when
930	    dealing with an odd Makefile.depend, when normally using
931	    Makefile.depend.${MACHINE}
932
9332011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>
934
935	* install-mk (MK_VERSION): bump version to 20111122
936	* meta.autodep.mk: add some debug output, be more crisp about
937	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend
938
9392011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
940
941	* install-mk (MK_VERSION): bump version to 20111111
942	  it's too cool to miss
943	* import meta* updates from Juniper sjg@
944	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
945	    normally using Makefile.depend.${MACHINE}), handy for
946	    read-only manually maintained dependencies.
947	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
948	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
949	    anything.
950
9512011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>
952
953	* install-new.mk separate the cmp and copy logic to its own function.
954
9552011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
956
957	* install-mk (MK_VERSION): bump version to 20111028
958	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
959	* subdir.mk: ensure _SUBDIRUSE is provided
960	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
961	* meta.subdir.mk: always allow for Makefile.depend
962
9632011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
964
965	* install-mk (MK_VERSION): bump version to 20111010
966	  o minor tweak to *dirdeps.mk from Juniper sjg@
967
9682011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
969
970	* install-mk (MK_VERSION): bump version to 20111001
971	  o add meta2deps.py from Juniper sjg@
972	  o tweak gendirdeps.mk to work with meta2deps.py when not
973	    cross-building
974	* autoconf.mk: add autoconf-input as a hook for regenerating
975	  AUTOCONF_INPUTS (configure).
976
9772011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>
978
979	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
980	  trigger for updating Makefile.depend*
981
9822011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
983
984	* install-mk (MK_VERSION): bump version to 20110808
985	* obj.mk: minor cleanup
986	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
987
9882011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
989
990	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
991	  specified dir.
992
9932011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
994
995	* meta.autodep.mk: if XMAKE_META_FILE is set
996	  the makefile uses a foreign make, and so dependencies
997	  can only be gathered from a clean tree build.
998
9992011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>
1000
1001	* install-mk (MK_VERSION): bump version to 20110622
1002	* meta.autodep.mk: improve bootstraping
1003
10042011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1005
1006	* yacc.mk: handle the corner case of .c being removed
1007	  while .h remains.
1008
10092011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1010
1011	* yacc.mk: do .y.h and .y.c separately
1012
10132011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1014
1015	* install-mk (MK_VERSION): bump version to 20110606
1016	* don't store SRC_DIRDEPS in Makefile.depend* by default
1017	  not everyone needs it.
1018
10192011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1020
1021	* install-mk (MK_VERSION): bump version to 20110505
1022	  first release including meta mode makefiles
1023
10242011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
1025
1026	* meta.stage.mk: add STAGE_AS_SETS and stage_as
1027	  for things that need to be staged with different names.
1028
10292011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1030
1031	* meta.stage.mk: add notion of STAGE_SETS
1032	  so a makefile can stage to multiple dirs
1033
10342011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1035
1036	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
1037	  on target name.
1038
10392011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
1040
1041	* install-mk (MK_VERSION): bump version to 20110330
1042
10432011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
1044
1045	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
1046	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
1047	* sys.mk: re-define M_whence in terms of M_type.
1048	  M_type is useful for checking if something is a builtin.
1049
10502011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1051
1052	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
1053	  stage_libs
1054
10552011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1056
1057	* dirdeps.mk: correct value for _depdir_files depends on
1058	  .MAKE.DEPENDFILE
1059	  Add our copyright - just to make it clear we have frobbed this
1060	  quite a bit.
1061	  DEP_MACHINE needs to be set to MACHINE each time, if using only
1062	  Makefile.depend (cf. Makefile.depend.${MACHINE})
1063
1064	* meta.stage.mk: meta mode version of staging
1065
1066	* init.mk, final.mk: include local.*.mk to simplify customization
1067
10682011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1069
1070	* auto.obj.mk: just because we are doing mk destroy, we should
1071	  still set .OBJDIR correctly if it exists.
1072
1073	* install-mk (mksrc): do not exclude meta.sys.mk
1074
10752011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1076
1077	* host-target.mk: set/export _HOST_ARCH etc separately,
1078	  catch junk resulting from uname -p, so we can find sys/Linux.mk
1079	  correctly.
1080
10812011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
1082
1083	* meta.sys.mk: throw an error if /dev/filemon is missing and we
1084	  expected to be updating Makefile.depend*
1085
10862011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
1087
1088	* install-mk (MK_VERSION): bump version to 20110214
1089	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
1090
10912010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1092
1093	* meta.sys.mk: not valid for older bmake
1094
10952010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>
1096
1097	* install-mk (MK_VERSION): bump version to 20100919
1098	include dirdeps.mk et al from Juniper Networks,
1099	for meta mode - requires filemon(9).
1100	* sys.mk, subdir.mk: Add hooks for meta mode.
1101	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
1102	to make turning it on/off simple.
1103
11042010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1105
1106	* install-mk (MK_VERSION): bump version to 20100616
1107	* fix typo in sys.mk
1108
11092010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1110
1111	* install-mk (MK_VERSION): bump version to 20100612
1112	* lib.mk: remove duplicate addition to SOBJS
1113
11142010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1115
1116	* sys.mk: Add a means of selectively turning on debug flags.
1117	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
1118	  will act as if we did make -dv if .CURDIR ends in lib/sjg
1119	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
1120	  the start of sys.mk rather than the end.
1121	  This only makes sense for leaf dirs, so we check that
1122	  .MAKE.LEVEL > 0
1123
11242010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>
1125
1126	* install-mk (MK_VERSION): bump version to 20100608
1127	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
1128	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
1129	  also make it easier for folk to tweak
1130
11312010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1132
1133	* install-mk (MK_VERSION): bump version to 20100606
1134	  do not install examples/*
1135	* FILES: add examples/sys.clean-env.mk
1136	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
1137	  this requires bmake-20100606 or later to work.
1138
11392010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1140
1141	* sys.mk (M_tA): better simulate the result of :tA if not available.
1142
11432010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1144
1145	* sys.mk: canonicalize MAKE_VERSION
1146	  old versions reported bmake-<src-date> build-<build-date>
1147	  whereas we only care about <src-date>
1148
11492010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1150
1151	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
1152	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
1153	  is !empty
1154
11552010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
1156
1157	* dpadd.mk: use LDADD_* if defined.
1158
11592010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
1160
1161	* install-mk (MK_VERSION): bump version to 20100420
1162	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
1163	* autoconf.mk allow AUTO_AUTOCONF
1164
11652010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>
1166
1167	* obj.mk: add objwarn to keep freebsd makefiles happy
1168	* auto.obj.mk: ensure Mkdirs is available.
1169	* FILES: add auto.dep.mk - a simpler version of autodep.mk
1170	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
1171	  asked to do that.
1172	  fix/simplify the tests for when to run mkdep.
1173	* auto.dep.mk: add some explanation of how/what we do.
1174	* autodep.mk: skip the .OPTIONAL frobbing of .depend
1175	  bmake's FROM_DEPEND flag makes it redundant.
1176
11772010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1178
1179	* install-mk (MK_VERSION): bump version to 20100404
1180	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
1181	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
1182	Also create a target _SUBDIRUSE so that we can  be used without
1183	subdir.mk
1184
11852010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1186
1187	* dep.mk: use <> when .including so can override.
1188
11892010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1190
1191	* lib.mk (SHLIB_LINKS): ensure a string comparison.
1192
11932010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1194
1195	* install-mk (MK_VERSION): bump version to 20100102
1196	* own.mk: ensure PRINTOBJDIR works
1197	* autoconf.mk: pass on CONFIGURE_ARGS
1198	* init.mk: handle COPTS.${.IMPSRC:T} etc.
1199	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
1200	  fix handling of symlinks for darwin
1201	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
1202	* man.mk: suppress chown when not root.
1203	* rst2htm.mk: allow srcs from multiple locations.
1204	* sys.mk: M_whence, stop after 1st line of output.
1205	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
1206	* sys/SunOS.mk: we need to export PATH
1207
12082009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>
1209
1210	* install-mk (MK_VERSION): bump version
1211	  include rst2htm.mk
1212
12132009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>
1214
1215	* sys.mk,libnames.mk add .-include <local.*>
1216	  this allows local customization without the need to edit the
1217	  distributed files.
1218
12192009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>
1220
1221	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
1222	  older versions already installed.
1223
12242009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>
1225
1226	* stage.mk (.stage-install): generalize lib.mk's .libinstall
1227	* rules.mk rules for generic Makefile.
1228	* inc.mk install for includes.
1229
12302009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>
1231
1232	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
1233	  this, so provide it if using native make.
1234
12352009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>
1236
1237	* FILES: move all the platform *.sys.mk files to sys/*.mk
1238	* Rename Generic.sys.mk to sys.mk - we always want it.
1239
12402009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>
1241
1242	* install-mk (MK_VERSION): bump version
1243	* host-target.mk: only export the expensive stuff
1244	* Generic.sys.mk (sys_mk): for SunOS we need to look for
1245	  ${HOST_OS}.${HOST_OSMAJOR} too!
1246
12472009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>
1248
1249	* install-mk (MK_VERSION): bump version
1250	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
1251	  based on patch from Greg Olszewski.
1252	* Generic.sys.mk: if we have nothing to work with
1253	set LORDER etc only if we can find it.
1254
12552009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
1256
1257	* install-mk (MK_VERSION): bump version
1258	* man.mk: cleanman: remove CLEANMAN if defined.
1259
12602009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>
1261
1262	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
1263
12642009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>
1265
1266	* install-mk (MK_VERSION): bump version
1267	include auto.obj.mk
1268
1269
12702009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
1271
1272	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
1273
12742008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
1275
1276	* install-mk (MK_VERSION): bump version
1277	man.mk: ensure we generate *.cat1 etc in .
1278
12792008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>
1280
1281	* install-mk (MK_VERSION): bump version
1282	add prlist.mk
1283
12842007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
1285
1286	* Generic.sys.mk: Allow os specific sys.mk to be in a
1287	subdir of ${.PARSEDIR}
1288
12892007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>
1290
1291	* install-mk (MK_VERSION): bump version
1292	* general cleanup
1293	* dpadd.mk introduce DPMAGIC_LIBS_*
1294
12952007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>
1296
1297	* install-mk (MK_VERSION): bump version
1298
1299	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
1300	depend files and ensure clean is called for each lib/prog.
1301
13022007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>
1303
1304	* autodep.mk (.depend): delete lines that do not start with
1305	space and do not contain ':'
1306
13072007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>
1308
1309	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
1310	so make sure the transform for .OPTIONAL copes.
1311
13122007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1313
1314	* install-mk (MK_VERSION): bump version
1315
1316	* own.mk: make sure RM and LN are defined.
1317
1318	* obj.mk: fix a typo, and objlink target.
1319
13202006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>
1321
1322	* install-mk (MK_VERSION): bump version
1323	* added libs.mk - analogous to progs.mk
1324	  make both of them always inlcude {lib,prog}.mk
1325
13262006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>
1327
1328	* progs.mk: add a means of building multiple apps in one dir.
1329
13302006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
1331
1332	* install-mk (MK_VERSION): bump version to 20061126
1333
1334	* warnings.mk: detect invalid WARNINGS_SET
1335
1336	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
1337	specific warnings.
1338
1339	* For .cc sources, turn off warnings that g++ vomits on.
1340
13412006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>
1342
1343	* own.mk: if __initialized__ target doesn't exist and we are
1344	FreeBSD we got here directly from sys.mk
1345
13462006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>
1347
1348	* install-mk (MK_VERSION): bump version to 20061106
1349	add scripts.mk
1350
13512006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
1352
1353	* install-mk (MK_VERSION): bump version to 20060318
1354
1355	* autodep.mk: avoid := when modifying OBJS into __dependsrcs
1356
13572006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>
1358
1359	* install-mk (MK_VERSION): bump version to 20060302
1360	* autodep.mk: use -MF et al to help gcc+ccache DTRT.
1361
13622006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
1363
1364	* install-mk (MK_VERSION): bump version to 20060301
1365	* autodep.mk (.depend):
1366	if MAKE_VERSION is newer than  20050530 we can make .END depend on
1367	.depend and make .depend depend on __depsrcs that exist.
1368	* dpadd.mk: add SRC_PATHADD
1369
13702005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
1371
1372	* install-mk (MK_VERSION): bump version to 20051104
1373	* prog.mk: remove all the LIBC?= junk, use
1374	.-include libnames.mk instead (none by default).
1375	also if USE_DPADD_MK is set, include that.
1376
13772005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
1378
1379	* install-mk (MK_VERSION): bump version to 20051001
1380	Add UnixWare.sys.mk from Klaus Heinz.
1381
13822005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>
1383
1384	* install-mk: always install *.sys.mk and if need be symlink one
1385	to sys.mk
1386
13872005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
1388
1389	* subdir.mk, own.mk: use .MAKE rather than MAKE
1390
13912004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
1392
1393	* own.mk: don't use NetBSD's _SRC_TOP_ it can
1394	cause confusion.  Also don't take just 'mk' as a
1395	srctop indicator.
1396
13972004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
1398
1399	* warnings.mk: overhauled, now very powerful.
1400
14012004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1402
1403	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
1404
14052004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>
1406
1407	* install-mk (MK_VERSION): bump version to 20040201
1408	* extract HOST_TARGET stuff to host-target.mk so own.mk and
1409	Generic.sys.mk can share.
1410	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
1411
14122003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>
1413
1414	* install-mk (MK_VERSION): 20030930
1415	* rename generic.sys.mk to Generic.sys.mk
1416	so that it does not get installed (unless being used as sys.mk)
1417	* set OS and ROOT_GROUP for those that we know the value.
1418	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
1419	we don't do it again for each sub-make.
1420
14212003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
1422
1423	* install-mk (MK_VERSION): 20030928
1424	Add some extra *.sys.mk from bootstrap-pkgsrc
1425	some of these likely still need work.
1426	Make everything default to root:wheel ownership,
1427	sys.mk can set ROOT_GROUP accordingly.
1428
14292003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>
1430
1431	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
1432	not the portable ones.
1433
14342003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
1435
1436	* install-mk: add ability to use cp -f when updating
1437	destination .mk files.  Also now possible to play games with
1438	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
1439	into dest - not recommended unless you seriously want to.
1440
14412003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
1442
1443	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
1444	for semi-compatability with NetBSD.
1445
14462003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
1447
1448	* install-mk: add a version indicator
1449
14502003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>
1451
1452	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
1453
1454	* install-mk: Allow FORCE_SYS_MK to come from env
1455
1456
1457
1458