12018-01-18  Simon J Gerraty  <sjg@beast.crufty.net>
2
3	* install-mk (MK_VERSION): 20180118
4
5	* ldorder.mk: let make compute correct link order
6
72017-12-12  Simon J Gerraty  <sjg@beast.crufty.net>
8
9	* install-mk (MK_VERSION): 20171212
10
11	* gendirdeps.mk: guard against bogus entries in GENDIRDEPS_FILTER
12
132017-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
14
15	* install-mk (MK_VERSION): 20171111
16
17	* lib.mk: ensure META_NOECHO is set
18
192017-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
20
21	* Allow for host32 on rare occasions.
22
232017-10-18  Simon J. Gerraty  <sjg@bad.crufty.net>
24
25	* install-mk (MK_VERSION): 20171018
26
27	* whats.mk: include what_thing in what_uuid to avoid problem
28	  when building multiple apps in the same directory.
29
302017-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
31
32	* install-mk (MK_VERSION): 20170812
33
34	* autoconf.mk: Use CONFIGURE_DEPS so Makefile can
35	  add dependencies for config.recheck and config.gen
36
372017-06-30  Simon J. Gerraty  <sjg@bad.crufty.net>
38
39	* install-mk (MK_VERSION): 20170630
40
41	* meta.stage.mk: avoid triggering stage_* targets with nothing to do.
42
432017-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
44
45	* meta2deps.py: take special care of '..'
46
472017-05-15  Simon J. Gerraty  <sjg@bad.crufty.net>
48
49	* install-mk (MK_VERSION): 20170515
50
51	* dirdeps.mk (DEP_EXPORT_VARS): on rare occasions it is
52	useful/necessary for a Makefile.depend file to export some knobs.
53	This is complicated when we are doing DIRDEPS_CACHE, so we will
54	handle export of any variables listed in DEP_EXPORT_VARS.
55
562017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>
57
58	* install-mk (MK_VERSION): 20170505
59
60	* meta2deps.py: fix botched indenation.
61
622017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
63
64	* sys/*.mk: Remove setting of MAKE it is unnecessary and
65	  in many cases wrong (basname rather than full path)
66
67	* scripts.mk (SCRIPTSGROUPS): make this more like files.mk and inc.mk
68
69	* init.mk: define realbuild to simplify logic in {lib,prog}.mk etc
70
712017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
72
73	* install-mk (MK_VERSION): 20170501
74
75	* doc.mk: fix typo in DOC_INSTALL_OWN
76
77	* inc.mk: handle INCGROUPS similar to freebsd
78
79	* files.mk: add something for files too
80
81	* add staging logic to lib.mk prog.mk etc.
82
832017-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
84
85	* install-mk (MK_VERSION): 20170424
86
87	* dirdeps.mk: set NO_DIRDEPS when bootstrapping.
88	  also target of bootstrap-this when sed is needed should be ${_want:T}
89
902017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
91
92	* install-mk (MK_VERSION): 20170418
93
94	* auto.obj.mk: if using MAKEOBJDIRPREFIX check if it is a
95	  prefix match for .CURDIR - in which case .CURDIR *is* __objdir.
96
972017-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
98
99	* install-mk (MK_VERSION): 20170401
100
101	* meta2deps.py: add is_src so we can check if obj dependency
102	  is also a src dependency.
103
1042017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
105
106	* install-mk (MK_VERSION): 20170326
107
108	* meta.stage.mk: do nothing if NO_STAGING is defined.
109
1102017-03-24  Simon J. Gerraty  <sjg@bad.crufty.net>
111
112	* auto.obj.mk: handle the case of __objdir=obj or obj.${MACHINE} etc.
113
1142017-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
115
116	* mkopt.sh: treat WITH_*=NO like no; ie. WITHOUT_*
117
1182017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
119
120	* install-mk (MK_VERSION): 20170301
121
122	* dirdeps.mk (_build_all_dirs): update this outside test for empty
123	  DIRDEPS.
124
125	* meta.stage.mk: allow multiple inclusion to the extent it makes
126	  sense.
127
1282017-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
129
130	* prog.mk (install_links): depends on realinstall
131
1322017-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>
133
134	* install-mk (MK_VERSION): 20170212
135
136	* dpadd.mk: avoid applying :T:R twice to DPLIBS entries
137
1382017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>
139
140	* install-mk (MK_VERSION): 20170130
141
142	* dirdeps.mk: use :range if we can.
143
144	* sys.vars.mk: provide M_cmpv if MAKE_VERSION >= 20170130
145
146	* meta2deps.py: clean paths without using realpath() where possible.
147	  fix sort_unique.
148
1492016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
150
151	* install-mk (MK_VERSION): 20161212
152	
153	* meta2deps.py: set pid_cwd[pid] when we process 'C'hdir, 
154	rather than when we detect pid change.
155
1562016-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>
157
158	* install-mk (MK_VERSION): 20161207
159
160	* meta.stage.mk: add stage_as_and_symlink for staging packages.
161	  We build foo.tgz stage_as foo-${VERSION}.tgz but want to be able
162	  to use foo.tgz to reference the latest staged version - so we
163	  make foo.tgz a symlink to it.
164	  Using a target to do both operations ensures we stay in sync.
165	
1662016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
167
168	* install-mk (MK_VERSION): 20161126
169
170	* dirdeps.mk: set DIRDEPS_CACHE before we include local.dirdeps.mk
171	  so it can add dependencies.
172
1732016-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
174
175	* dirdeps.mk: set DEP_* before we expand .MAKE.DEPENDFILE_PREFERENCE
176	  do that they can influence the result correctly.
177
178	* dirdeps.mk (${DIRDEPS_CACHE}): make sure we pass on TARGET_SPEC
179
180	* dirdeps.mk: Add ONLY_TARGET_SPEC_LIST and NOT_TARGET_SPEC_LIST
181	  similar to ONLY_MACHINE_LIST and NOT_MACHINE_LIST
182
1832016-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>
184
185	* dirdeps.mk: remove dependence on jot (normal situations anyway).
186	  Before we read another Makefile.depend* set DEP_* vars from
187	  _DEP_TARGET_SPEC in case it uses any of them with :=
188	  When bootstrapping, trim any ,* from extention of chosen _src
189	  Makefile.depend* to get the machine value we subst for.
190
1912016-09-30  Simon J. Gerraty  <sjg@bad.crufty.net>
192
193	* dirdeps.mk: use TARGET_SPEC_VARS to qualify components added to
194	  DEP_SKIP_DIR and DEP_DIRDEPS_FILTER
195
196	* sys.mk: extract some bits to sys.{debug,vars}.mk
197	  for easier re-use by others.
198
1992016-09-23  Simon Gerraty  <sjg@sjg-mba13>
200
201	* lib.mk: Use ${PICO} for extension for PIC objects.
202	  default to .pico (like NetBSD) safe on case insensitive filesystem.
203
2042016-08-19  Simon J. Gerraty  <sjg@bad.crufty.net>
205
206	* meta.sys.mk (META_COOKIE_TOUCH): use ${.OBJDIR}/${.TARGET:T} as default
207
2082016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
209
210	* install-mk (MK_VERSION): 20160815
211
212	* dirdeps.mk (.MAKE.META.IGNORE_FILTER): set filter to only
213	consider Makefile.depend* when checking if DIRDEPS_CACHE is up-to-date.
214
2152016-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>
216
217	* meta.sys.mk (.MAKE.META.IGNORE_PATHS): 
218	  in meta mode we can ignore the mtime of makefiles
219
2202016-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
221
222	* install-mk (MK_VERSION): 20160802
223	
224	* lib.mk (libinstall): depends on beforinstall
225
226	* prog.mk (proginstall): depends on beforinstall
227	  patch from Lauri Tirkkonen
228	
229	* dirdeps.mk (bootstrap): When bootstrapping; creat
230	.MAKE.DEPENDFILE_DEFAULT and allow additional filtering via
231	.MAKE.DEPENDFILE_BOOTSTRAP_SED
232
233	* dirdeps.mk: move some comments to where they make sense.
234
2352016-07-27  Simon J. Gerraty  <sjg@bad.crufty.net>
236
237	* dirdeps.mk (DIRDEPS_CACHE): no dirname.
238
2392016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
240
241	* install-mk (MK_VERSION): 20160602
242	* meta.autodep.mk: when passing META_FILES to gendirdeps.mk
243	  do not apply :T to META_XTRAS
244	  patch from Bryan Drewery at FreeBSD.org.
245
2462016-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
247
248	* install-mk (MK_VERSION): 20160530
249	* meta.stage.mk: we assume ${CLEANFILES} gets .NOPATH
250	  make it so.
251	
2522016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
253
254	* install-mk (MK_VERSION): 20160512
255
256	* dpadd.mk: always include local.dpadd.mk if it exists
257	  remove some things that better belong in local.dpadd.mk
258	  skip INCLUDES_* for staged libs unless SRC_* defined.
259
260	* own.mk: add INCLUDEDIR
261	
2622016-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
263
264	* dirdeps.mk: when doing -f dirdeps.mk if target suppies no
265	  TARGET_MACHINE - :E will be empty or match part of path, use
266	  ${MACHINE}
267
2682016-04-07  Simon J. Gerraty  <sjg@bad.crufty.net>
269
270	* meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
271	  NO_FILEMON_COOKIE  
272
273	* dirdeps.mk: move the logic that allows for 
274	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
275	  inside the check for !target(_DIRDEP_USE)
276
2772016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
278
279	* Use <> when including local*.mk and others which may exist
280	  elsewhere so that user can better control what they get.
281	
282	* meta.autodep.mk (NO_FILEMON_COOKIE): 
283	  create a cookie if we ever build dir with nofilemon
284	  so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
285
2862016-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
287
288	* install-mk (MK_VERSION): 20160401
289	
290	* meta2deps.py: fix old print statement when debugging.
291
292	* gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
293	  patch from Bryan Drewery
294
2952016-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
296
297	* install-mk (MK_VERSION): 20160317 (St. Pats)
298	
299	* warnings.mk: g++ does not like -Wimplicit
300	
301	* sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
302	  pelthora of common suffixes for C++
303	
304	* lib.mk: use .So for shared objects
305
3062016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
307
308	* install-mk (MK_VERSION): 20160315
309
310	* meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
311	  normally only applies to scripts.
312	
313	* dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
314	  well as outside it. 
315
3162016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
317
318	* install-mk (MK_VERSION): 20160310
319
320	* dirdeps.mk: use targets rather than a list to track DIRDEPS that
321	  we have processed; the list gets very inefficient as number of
322	  DIRDEPS gets large.
323
324	* sys.dependfile.mk: fix comment wrt MACHINE
325
326	* meta.autodep.mk: ignore staged DPADDs when bootstrapping.
327	  patch from Bryan Drewery
328
3292016-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
330
331	* meta2deps.sh: don't ignore subdirs.
332	  patch from Bryan Drewery
333
3342016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
335
336	* install-mk (MK_VERSION): 20160226
337
338	* gendirdeps.mk: mark _DEPENDFILE .NOMETA
339
3402016-02-20  Simon J. Gerraty  <sjg@bad.crufty.net>
341
342	* dirdeps.mk: we shouldn't normally include .depend but if we do
343	  use .dinclude if we can.
344
3452016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
346
347	* install-mk (MK_VERSION): 20160218
348	* sys.clean-env.mk: with recent change to Var_Subst()
349	  we cannot use the '$$' trick, but .export-literal does the job
350	  we need.
351	* auto.dep.mk: make use .dinclude if we can.
352	
353
3542016-02-05  Simon J. Gerraty  <sjg@bad.crufty.net>
355
356	* dirdeps.mk: 
357	  Add _build_all_dirs such that local.dirdeps.mk can
358	  add fully qualified dirs to it.
359	  These will be built normally but the current 
360	  DEP_RELDIR will not depend on then (to avoid cycles).
361	  This makes it easy to hook things like unit-tests into build.
362	
363
3642016-01-21  Simon J. Gerraty  <sjg@bad.crufty.net>
365
366	* dirdeps.mk: add bootstrap-empty
367
3682015-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
369
370	* install-mk (MK_VERSION): 20151212
371	* auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
372	  only apply :tA to __objdir when comparing to .OBJDIR
373
3742015-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
375
376	* install-mk (MK_VERSION): 20151111
377
378	* meta.sys.mk: include sys.dependfile.mk
379
380	* sys.mk (OPTIONS_DEFAULT_NO): use options.mk
381	  to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
382	  include local.sys.env.mk early
383	  include local.sys.mk later
384	
385	* own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
386
3872015-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
388
389	* meta.sys.mk (META_COOKIE_TOUCH):
390	  add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
391
392	* meta.stage.mk: stage_libs should ignore SYMLINKS.
393
3942015-10-23  Simon J. Gerraty  <sjg@bad.crufty.net>
395
396	* install-mk (MK_VERSION): 20151022
397
398	* sys.mk: BSD/OS does not have 'type' as a shell builtin.
399
4002015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
401
402	* install-mk (MK_VERSION): 20151020
403	
404	* dirdeps.mk: Add logic for 
405	  make -f dirdeps.mk some/dir.${TARGET_SPEC}
406
4072015-10-14  Simon J. Gerraty  <sjg@bad.crufty.net>
408
409	* install-mk (MK_VERSION): 20151010
410
4112015-10-02  Simon J. Gerraty  <sjg@bad.crufty.net>
412
413	* meta.stage.mk: use staging: ${STAGE_TARGETS:...
414	  to have stage_lins run last in non-jobs mode.
415	  Use .ORDER only for jobs mode.
416
4172015-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
418
419	* rst2htm.mk: allow for per target flags etc.
420
4212015-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
422
423	* install-mk (MK_VERSION): 20150901
424
425	* doc.mk: create dir if needed use DOC_INSTALL_OWN
426
4272015-06-15  Simon J. Gerraty  <sjg@bad.crufty.net>
428
429	* install-mk (MK_VERSION): 20150615
430	
431	* auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
432	  Follow make's normal precedence rules.
433	
434	* gendirdeps.mk: allow customization of the header.
435	  eg. for FreeBSD: 
436	  GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
437
438	* meta.autodep.mk: ignore dirdeps.cache*
439	
440	* meta.stage.mk: when bootstrapping options it can be handy to
441	  throw warnings rather than errors for staging conflicts.
442
443	* meta.sys.mk: include local.meta.sys.mk for customization
444
4452015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
446
447	* install-mk (MK_VERSION): 20150606
448	
449	* dirdeps.mk: don't rely on manually maintained Makefile.depend
450	  to set DEP_RELDIR and reset DIRDEPS.
451	  By setting DEP_RELDIR ourselves we can skip :tA
452	
453	* gendirdeps.mk: skip setting DEP_RELDIR.
454
4552015-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
456
457	* dirdeps.mk: avoid wildcards like make(bootstrap*)
458
4592015-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
460
461	* install-mk (MK_VERSION): 20150520
462
463	* dirdeps.mk: when we are building dirdeps cache file we *want*
464	  meta_oodate to look at all the Makefile.depend files, so
465	  set .MAKE.DEPENDFILE to something that won't match.
466
467	* meta.stage.mk: for STAGE_AS_* basename of file may not be unique
468	  so first use absolute path as key.
469	  Also skip staging at level 0. 
470
4712015-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
472
473	* install-mk (MK_VERSION): 20150430
474	
475	* dirdeps.mk: fix _count_dirdeps for non-cache case.
476
4772015-04-16  Simon J. Gerraty  <sjg@bad.crufty.net>
478
479	* install-mk (MK_VERSION): 20150411
480	  bump version
481	
482	* own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
483	  it is here mainly for documentation purposes, since
484	  if using auto.obj.mk it is better done via sys.mk
485
4862015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
487
488	* install-mk (MK_VERSION): 20150401
489	
490	* meta2deps.sh: support @list
491	
492	* meta2deps.py: updates from Juniper
493	  o add EXCLUDES 
494	  o skip bogus input files.
495	  o treat 'M' and 'L' as both an 'R' and a 'W'
496
4972015-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
498
499	* install-mk (MK_VERSION): 20150303
500	
501	* dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
502	  which is built via sub-make so we have a .meta file to tell if
503	  it is out-of-date. 
504	  The dirdeps-cache contains the same dependency rules that we
505	  normaly construct on the fly.
506	  This adds a few seconds overhead when the cache is out of date,
507	  but for a large target, the savings can be significant (10-20min).
508
5092014-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
510
511	* install-mk (MK_VERSION): 20141118
512	
513	* meta.stage.mk: add stale_staged
514	
515	* dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
516	  only useful under very rare conditions such as
517	  FreeBSD's make universe.
518
519	* auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
520	
5212014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
522
523	* install-mk (MK_VERSION): 20141111
524
525	* mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
526
5272014-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
528
529	* FILES: include mkopt.sh which allows handling options in shell
530	  scripts in a manner compatible with options.mk
531
5322014-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
533
534	* meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
535	  for GENDIRDEPS_FILTER to avoid surprises.
536
5372014-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
538	
539	* dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
540	  the time it is applied to __depdirs they have.
541	
542	* dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
543	  expects patterns like *.${MACHINE}
544	
545	* cython.mk (pyprefix?): use pyprefix to find python bits
546	  since prefix might be something else (where we install our
547	  stuff)
548	
5492014-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
550
551	* install-mk (MK_VERSION): 20140911
552	
553	* dirdeps.mk: add bootstrap target to simplify adding support for
554	  new MACHINE.
555	
5562014-09-01  Simon J. Gerraty  <sjg@bad.crufty.net>
557
558	* gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
559	  GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
560	  Makefile.depend files.
561
5622014-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
563
564	* install-mk (MK_VERSION): 20140828
565	
566	* cython.mk: capture logic for building python extension modules
567	  with Cython.
568
5692014-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
570
571	* meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
572
5732014-08-02  Simon J. Gerraty  <sjg@bad.crufty.net>
574
575	* install-mk (MK_VERSION): 20140801
576
577	* dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
578	identify the autodep.mk variant. 
579	
580	* sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
581	initial value does not match .MAKE.DEPENDFILE_PREFIX
582
583	* meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
584
5852014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
586
587	* install-mk (MK_VERSION): 20140522
588
589	* lib.mk: use CC to link shlib for linux too
590	  patch from Brendan MacDonell
591
5922014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
593
594	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
595	  if WITH_META_STATS is defined.
596
5972014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
598
599	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
600	  to supress dirdeps outside of .CURDIR.
601
6022014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
603
604	* Fix spelling errors - patch from Pedro Giffuni
605
6062014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>
607
608	* install-mk (MK_VERSION): 20140314
609
610	* dirdeps.mk (beforedirdeps): a handy hook
611
612	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
613	  to visit leaf dirs to be intercepted (eg. for distributed
614	  build).
615
616	* dirdeps.mk (__depdirs): ensure // don't sneak in
617	
618	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in
619
620
6212014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>
622
623	* rst2htm.mk (RST2PDF): add support for rst2pdf
624
6252014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
626
627	* install-mk (MK_VERSION): bump version
628	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
629	  available.
630
6312014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
632
633	* options.mk: avoid :U so this isn't bmake dependent
634
6352014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>
636
637	* options.mk: cleanup and simplify semanitcs 
638	  NO_* dominates all, if both WITH_* and WITHOUT_*
639	  are defined then result is DOMINATE_* which defaults to "no".
640	  Ie. WITHOUT_ normally wins.
641
6422013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
643
644	* install-mk (MK_VERSION): bump version
645	* meta2deps.py: convert to print function for python3 compat.
646	  we also need to open files with mode 'r' rather than 'rb'
647	  otherwise we get bytes instead of strings.
648
6492013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
650
651	* install-mk (MK_VERSION): bump version
652
653	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
654	  apply the same filtering (M_dep_qual_fixes) when setting _machines
655	  as _build_dirs.
656	  Also fix the filtering of Makefile.depend files - for reporting
657	  what we are looking for (M_dep_qual_fixes can get confused by
658	  Makefile.depend) 
659	  Add some more debug info.
660
6612013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
662
663	* gendirdeps.mk (_objtops): fix typo also
664	  while processing M2D_OBJROOTS to gather qualdir_list
665	  qualify $ql with loop iterator to ensure correct results.
666
6672013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
668
669	* install-mk (MK_VERSION): 20130801
670	* libs.mk: update to match progs.mk
671	
6722013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>
673
674	* install-mk (MK_VERSION): 20130726
675	  some updates from Juniper and FreeBSD
676	  o meta2deps.py: indicate file and line number when we hit parse
677	    errors
678	    also allow @file to provide huge list of .meta files.
679	* meta2deps.py: add try_parse() to cleanup the above.
680	
6812013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
682
683	* install-mk (MK_VERSION): 20130716
684	* own.mk: add GPROG as an option
685	* prog.mk: honor MK_GPROF==yes
686	
6872013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
688
689	* install-mk (MK_VERSION): 20130505
690	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
691	  for when $MACHINE isn't enough for objdir distinction.
692	  Bring meta2deps.sh closer to par with meta2deps.py.
693
6942013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
695
696	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
697	  also if the target 'beforeinstall' exists, make it depend on
698	  .dirdep (incase it uses STAGE_INSTALL).
699
7002013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
701
702	* install-mk (MK_VERSION): 20130401 ;-)
703	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
704	  wrapper around install(1).
705	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
706
7072013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
708
709	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
710	* install-mk (MK_VERSION): bump version
711
7122013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>
713
714	* install-mk (MK_VERSION): bump version
715	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
716	  any trailing /., rather apply :tA only when needed.
717	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
718	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
719	  consistently.
720	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
721	
7222013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
723
724	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
725	  it is simpler to just not update when say building for "host"
726	  (where we know we apply filters to DIRDEPS), and using a
727	  non-machine qualified dependfile.
728
7292013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
730
731	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
732	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
733	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
734	* meta2deps.py: if machine is "host", then also trim
735	  self.host_target from any OBJROOTS.
736	
737
7382013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
739
740	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
741	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
742	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
743	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.
744
7452013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>
746
747	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
748	  and hook to all: via staging:
749
7502013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
751
752	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT): 
753	  use a separate variable for the default .MAKE.DEPENDFILE value
754	  so that it can be controlled independently of
755	  .MAKE.DEPENDFILE_PREFERENCE
756
757	* meta.stage.mk: throw error if cp fails etc.
758	  Stage*() return early if passed no args.
759	  .ORDER stage_*
760
7612013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
762
763	* install-mk (MK_VERSION): bump version
764	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
765
7662013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
767
768	* install-mk (MK_VERSION): bump version to 20130210
769	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py 
770	  from Juniper. 
771	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
772	    than just MACHINE.
773	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.
774	
7752013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>
776
777	* install-mk (MK_VERSION): bump version to 20130123
778	* meta.stage.mk: add stage_links (hard links).
779	  if doing hard links, we add dest to link as well.
780	  Default the stage dir for [sym]links to STAGE_OBJTOP since
781	  these are typically specified as absolute paths.
782	  Add -m "mode" flag to StageFiles and StageAs.
783
7842012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
785
786	* install-mk (MK_VERSION): bump version to 20121111
787	* autoconf.mk: avoid meta mode seeing changed commands for config.status
788	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
789	  in case we were found via .../mk
790	* sys.clean-env.mk: move it from examples, we and others use it
791	  "as is".
792	* FILES: add srctop.mk and options.mk
793	* own.mk: convert to using options.mk
794	  which is modeled after FreeBSD's handling of MK_*
795	  but more flexible.
796	  This allows MK_* for boolean knobs to not be confused
797	  with MK* which can be commands.
798
799	* examples/sys.clean-env.mk: add WITH[OUT]_ to
800	  MAKE_ENV_SAVE_PREFIX_LIST.
801	  Mention that HOME=/var/empty might be a good idea.
802
8032012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>
804
805	* sys.dependfile.mk: if not depend file exists, $MACHINE
806	  specific ones are supported but not the default,
807	  check if any exist and follow suit.
808
8092012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>
810
811	* install-mk (MK_VERSION): bump version to 20121106
812
8132012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
814
815	* import latest dirdeps.mk and meta2deps.py from Juniper.
816	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
817	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
818	  appropriate.
819	
8202012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>
821
822	* meta.stage.mk: update CLEANFILES
823	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
824	* progs.mk: Add LDADD to PROG_VARS
825	
8262012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
827
828	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
829	  _STAGED_DIRS so that these can be turned into filters for
830	  GENDIRDEPS_FILTER.
831
8322012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
833
834	* install-mk (MK_VERSION): bump version to 20121010
835	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
836	target.dirdep matches .dirdep
837
8382012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
839
840	* install-mk (MK_VERSION): bump version to 20120808
841	* import latest meta2deps.py from Juniper.
842
8432012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
844
845	* install-mk (MK_VERSION): bump version to 20120711
846	* dep.mk: add explicit dependencies on SRCS after applying
847	  SRCS_DEP_FILTER 
848	* meta.autodep.mk: add explicit dependencies on SRCS after
849	  applying SRCS_DEP_FILTER
850	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
851	
8522012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
853
854	* install-mk (MK_VERSION): bump version to 20120626
855	* meta.sys.mk: ignore PYTHON if it does not exist
856	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
857	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
858	  entries ending in .${MACHINE} to decide if qualified _dirdep is
859	  needed.
860	* gendirdeps.mk: only produce unqualified deps if no
861	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
862	* meta.subdir.mk: apply SUBDIRDEPS_FILTER
863	
8642012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
865
866	* install-mk (MK_VERSION): bump version to 20120420
867	* add sys.dependfile.mk so we can experiment with
868	  .MAKE.DEPENDFILE_PREFERENCE 
869	* meta.autodep.mk: _DEPENDFILE is precious!
870	
8712012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
872
873	* install-mk (MK_VERSION): bump version to 20120315
874	* install-new.mk: avoid being interrupted
875
8762012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
877
878	* man.mk: MAN might have multiple values so be careful with exists().
879
8802012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>
881
882	* install-mk (MK_VERSION): bump version to 20120112
883	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
884	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
885
8862011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>
887
888	* install-mk (MK_VERSION):  bump version to 20111201
889	* import dirdeps.mk from Juniper sjg@
890	  o more consistent handling of DEP_MACHINE, especially when
891	    dealing with an odd Makefile.depend, when normally using
892	    Makefile.depend.${MACHINE}
893
8942011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>
895
896	* install-mk (MK_VERSION): bump version to 20111122
897	* meta.autodep.mk: add some debug output, be more crisp about
898	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend
899
9002011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
901
902	* install-mk (MK_VERSION): bump version to 20111111
903	  it's too cool to miss
904	* import meta* updates from Juniper sjg@
905	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
906	    normally using Makefile.depend.${MACHINE}), handy for
907	    read-only manually maintained dependencies.
908	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
909	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
910	    anything.
911	
9122011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>
913
914	* install-new.mk separate the cmp and copy logic to its own function.
915	
9162011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
917
918	* install-mk (MK_VERSION): bump version to 20111028
919	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
920	* subdir.mk: ensure _SUBDIRUSE is provided
921	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk 
922	* meta.subdir.mk: always allow for Makefile.depend
923	
9242011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
925
926	* install-mk (MK_VERSION): bump version to 20111010
927	  o minor tweak to *dirdeps.mk from Juniper sjg@
928	
9292011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
930
931	* install-mk (MK_VERSION): bump version to 20111001
932	  o add meta2deps.py from Juniper sjg@
933	  o tweak gendirdeps.mk to work with meta2deps.py when not
934	    cross-building 
935	* autoconf.mk: add autoconf-input as a hook for regenerating 
936	  AUTOCONF_INPUTS (configure).
937
9382011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>
939
940	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
941	  trigger for updating Makefile.depend* 
942
9432011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
944
945	* install-mk (MK_VERSION): bump version to 20110808
946	* obj.mk: minor cleanup
947	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
948
9492011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
950
951	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
952	  specified dir.
953
9542011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
955
956	* meta.autodep.mk: if XMAKE_META_FILE is set
957	  the makefile uses a foreign make, and so dependencies
958	  can only be gathered from a clean tree build.
959
9602011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>
961
962	* install-mk (MK_VERSION): bump version to 20110622
963	* meta.autodep.mk: improve bootstraping
964
9652011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
966
967	* yacc.mk: handle the corner case of .c being removed
968	  while .h remains.
969
9702011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
971
972	* yacc.mk: do .y.h and .y.c separately
973
9742011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
975
976	* install-mk (MK_VERSION): bump version to 20110606
977	* don't store SRC_DIRDEPS in Makefile.depend* by default
978	  not everyone needs it.
979
9802011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
981
982	* install-mk (MK_VERSION): bump version to 20110505
983	  first release including meta mode makefiles
984
9852011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
986
987	* meta.stage.mk: add STAGE_AS_SETS and stage_as
988	  for things that need to be staged with different names.
989
9902011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
991
992	* meta.stage.mk: add notion of STAGE_SETS
993	  so a makefile can stage to multiple dirs
994
9952011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>
996
997	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
998	  on target name. 
999
10002011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
1001
1002	* install-mk (MK_VERSION): bump version to 20110330
1003
10042011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
1005
1006	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
1007	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
1008	* sys.mk: re-define M_whence in terms of M_type.
1009	  M_type is useful for checking if something is a builtin.
1010	
10112011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1012
1013	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
1014	  stage_libs 
1015
10162011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1017
1018	* dirdeps.mk: correct value for _depdir_files depends on
1019	  .MAKE.DEPENDFILE 
1020	  Add our copyright - just to make it clear we have frobbed this
1021	  quite a bit.
1022	  DEP_MACHINE needs to be set to MACHINE each time, if using only
1023	  Makefile.depend (cf. Makefile.depend.${MACHINE})
1024
1025	* meta.stage.mk: meta mode version of staging
1026
1027	* init.mk, final.mk: include local.*.mk to simplify customization
1028
10292011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1030
1031	* auto.obj.mk: just because we are doing mk destroy, we should
1032	  still set .OBJDIR correctly if it exists.
1033
1034	* install-mk (mksrc): do not exclude meta.sys.mk
1035
10362011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1037
1038	* host-target.mk: set/export _HOST_ARCH etc separately,
1039	  catch junk resulting from uname -p, so we can find sys/Linux.mk
1040	  correctly.
1041
10422011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
1043
1044	* meta.sys.mk: throw an error if /dev/filemon is missing and we
1045	  expected to be updating Makefile.depend*
1046
10472011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
1048
1049	* install-mk (MK_VERSION): bump version to 20110214
1050	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
1051
10522010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1053
1054	* meta.sys.mk: not valid for older bmake
1055
10562010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>
1057
1058	* install-mk (MK_VERSION): bump version to 20100919
1059	include dirdeps.mk et al from Juniper Networks, 
1060	for meta mode - requires filemon(9).
1061	* sys.mk, subdir.mk: Add hooks for meta mode.
1062	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
1063	to make turning it on/off simple.
1064
10652010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1066
1067	* install-mk (MK_VERSION): bump version to 20100616
1068	* fix typo in sys.mk
1069
10702010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1071
1072	* install-mk (MK_VERSION): bump version to 20100612
1073	* lib.mk: remove duplicate addition to SOBJS
1074
10752010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1076
1077	* sys.mk: Add a means of selectively turning on debug flags.
1078	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
1079	  will act as if we did make -dv if .CURDIR ends in lib/sjg
1080	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
1081	  the start of sys.mk rather than the end.
1082	  This only makes sense for leaf dirs, so we check that
1083	  .MAKE.LEVEL > 0
1084
10852010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>
1086
1087	* install-mk (MK_VERSION): bump version to 20100608
1088	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
1089	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
1090	  also make it easier for folk to tweak
1091
10922010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1093
1094	* install-mk (MK_VERSION): bump version to 20100606
1095	  do not install examples/*
1096	* FILES: add examples/sys.clean-env.mk
1097	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
1098	  this requires bmake-20100606 or later to work.
1099
11002010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1101
1102	* sys.mk (M_tA): better simulate the result of :tA if not available.
1103
11042010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1105
1106	* sys.mk: canonicalize MAKE_VERSION
1107	  old versions reported bmake-<src-date> build-<build-date>
1108	  whereas we only care about <src-date>
1109
11102010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1111
1112	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
1113	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
1114	  is !empty
1115
11162010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
1117
1118	* dpadd.mk: use LDADD_* if defined.
1119
11202010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
1121
1122	* install-mk (MK_VERSION): bump version to 20100420
1123	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
1124	* autoconf.mk allow AUTO_AUTOCONF
1125	
11262010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>
1127
1128	* obj.mk: add objwarn to keep freebsd makefiles happy
1129	* auto.obj.mk: ensure Mkdirs is available.
1130	* FILES: add auto.dep.mk - a simpler version of autodep.mk
1131	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
1132	  asked to do that.
1133	  fix/simplify the tests for when to run mkdep.
1134	* auto.dep.mk: add some explanation of how/what we do.
1135	* autodep.mk: skip the .OPTIONAL frobbing of .depend
1136	  bmake's FROM_DEPEND flag makes it redundant.
1137	
11382010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1139
1140	* install-mk (MK_VERSION): bump version to 20100404
1141	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
1142	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
1143	Also create a target _SUBDIRUSE so that we can  be used without
1144	subdir.mk
1145
11462010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1147
1148	* dep.mk: use <> when .including so can override.
1149
11502010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1151
1152	* lib.mk (SHLIB_LINKS): ensure a string comparison.
1153
11542010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1155
1156	* install-mk (MK_VERSION): bump version to 20100102
1157	* own.mk: ensure PRINTOBJDIR works
1158	* autoconf.mk: pass on CONFIGURE_ARGS
1159	* init.mk: handle COPTS.${.IMPSRC:T} etc.
1160	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
1161	  fix handling of symlinks for darwin
1162	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
1163	* man.mk: suppress chown when not root.
1164	* rst2htm.mk: allow srcs from multiple locations.
1165	* sys.mk: M_whence, stop after 1st line of output.
1166	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
1167	* sys/SunOS.mk: we need to export PATH
1168
11692009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>
1170
1171	* install-mk (MK_VERSION): bump version
1172	  include rst2htm.mk
1173
11742009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>
1175
1176	* sys.mk,libnames.mk add .-include <local.*>
1177	  this allows local customization without the need to edit the
1178	  distributed files. 
1179
11802009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>
1181
1182	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
1183	  older versions already installed.
1184
11852009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>
1186
1187	* stage.mk (.stage-install): generalize lib.mk's .libinstall
1188	* rules.mk rules for generic Makefile.
1189	* inc.mk install for includes.
1190
11912009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>
1192
1193	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
1194	  this, so provide it if using native make.
1195
11962009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>
1197
1198	* FILES: move all the platform *.sys.mk files to sys/*.mk
1199	* Rename Generic.sys.mk to sys.mk - we always want it.
1200
12012009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>
1202
1203	* install-mk (MK_VERSION): bump version
1204	* host-target.mk: only export the expensive stuff 
1205	* Generic.sys.mk (sys_mk): for SunOS we need to look for
1206	  ${HOST_OS}.${HOST_OSMAJOR} too!
1207
12082009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>
1209
1210	* install-mk (MK_VERSION): bump version
1211	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
1212	  based on patch from Greg Olszewski.
1213	* Generic.sys.mk: if we have nothing to work with
1214	set LORDER etc only if we can find it.
1215
12162009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
1217
1218	* install-mk (MK_VERSION): bump version
1219	* man.mk: cleanman: remove CLEANMAN if defined.
1220
12212009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>
1222
1223	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
1224
12252009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>
1226
1227	* install-mk (MK_VERSION): bump version
1228	include auto.obj.mk
1229
1230
12312009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
1232
1233	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
1234
12352008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
1236
1237	* install-mk (MK_VERSION): bump version
1238	man.mk: ensure we generate *.cat1 etc in .
1239
12402008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>
1241
1242	* install-mk (MK_VERSION): bump version
1243	add prlist.mk
1244
12452007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
1246
1247	* Generic.sys.mk: Allow os specific sys.mk to be in a
1248	subdir of ${.PARSEDIR}
1249
12502007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>
1251
1252	* install-mk (MK_VERSION): bump version
1253	* general cleanup
1254	* dpadd.mk introduce DPMAGIC_LIBS_* 
1255
12562007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>
1257
1258	* install-mk (MK_VERSION): bump version
1259
1260	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
1261	depend files and ensure clean is called for each lib/prog.
1262
12632007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>
1264
1265	* autodep.mk (.depend): delete lines that do not start with
1266	space and do not contain ':'
1267
12682007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>
1269
1270	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
1271	so make sure the transform for .OPTIONAL copes.
1272
12732007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1274
1275	* install-mk (MK_VERSION): bump version
1276
1277	* own.mk: make sure RM and LN are defined.
1278
1279	* obj.mk: fix a typo, and objlink target.
1280
12812006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>
1282
1283	* install-mk (MK_VERSION): bump version
1284	* added libs.mk - analogous to progs.mk
1285	  make both of them always inlcude {lib,prog}.mk
1286
12872006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>
1288
1289	* progs.mk: add a means of building multiple apps in one dir.
1290
12912006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
1292
1293	* install-mk (MK_VERSION): bump version to 20061126
1294
1295	* warnings.mk: detect invalid WARNINGS_SET
1296	
1297	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
1298	specific warnings. 
1299	
1300	* For .cc sources, turn off warnings that g++ vomits on.
1301
13022006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>
1303
1304	* own.mk: if __initialized__ target doesn't exist and we are
1305	FreeBSD we got here directly from sys.mk
1306
13072006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>
1308
1309	* install-mk (MK_VERSION): bump version to 20061106
1310	add scripts.mk
1311
13122006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
1313
1314	* install-mk (MK_VERSION): bump version to 20060318
1315
1316	* autodep.mk: avoid := when modifying OBJS into __dependsrcs
1317
13182006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>
1319
1320	* install-mk (MK_VERSION): bump version to 20060302
1321	* autodep.mk: use -MF et al to help gcc+ccache DTRT.
1322
13232006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
1324
1325	* install-mk (MK_VERSION): bump version to 20060301
1326	* autodep.mk (.depend): 
1327	if MAKE_VERSION is newer than  20050530 we can make .END depend on
1328	.depend and make .depend depend on __depsrcs that exist.
1329	* dpadd.mk: add SRC_PATHADD
1330	
13312005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
1332
1333	* install-mk (MK_VERSION): bump version to 20051104
1334	* prog.mk: remove all the LIBC?= junk, use
1335	.-include libnames.mk instead (none by default).
1336	also if USE_DPADD_MK is set, include that.
1337
13382005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
1339
1340	* install-mk (MK_VERSION): bump version to 20051001
1341	Add UnixWare.sys.mk from Klaus Heinz.
1342
13432005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>
1344
1345	* install-mk: always install *.sys.mk and if need be symlink one
1346	to sys.mk
1347
13482005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
1349
1350	* subdir.mk, own.mk: use .MAKE rather than MAKE
1351
13522004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
1353
1354	* own.mk: don't use NetBSD's _SRC_TOP_ it can
1355	cause confusion.  Also don't take just 'mk' as a 
1356	srctop indicator.
1357
13582004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
1359
1360	* warnings.mk: overhauled, now very powerful.
1361
13622004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
1363
1364	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
1365
13662004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>
1367
1368	* install-mk (MK_VERSION): bump version to 20040201
1369	* extract HOST_TARGET stuff to host-target.mk so own.mk and
1370	Generic.sys.mk can share.
1371	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
1372
13732003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>
1374
1375	* install-mk (MK_VERSION): 20030930
1376	* rename generic.sys.mk to Generic.sys.mk
1377	so that it does not get installed (unless being used as sys.mk)
1378	* set OS and ROOT_GROUP for those that we know the value.
1379	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
1380	we don't do it again for each sub-make.
1381	
13822003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
1383
1384	* install-mk (MK_VERSION): 20030928
1385	Add some extra *.sys.mk from bootstrap-pkgsrc
1386	some of these likely still need work.
1387	Make everything default to root:wheel ownership,
1388	sys.mk can set ROOT_GROUP accordingly.
1389
13902003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>
1391
1392	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
1393	not the portable ones.
1394
13952003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
1396
1397	* install-mk: add ability to use cp -f when updating 
1398	destination .mk files.  Also now possible to play games with 
1399	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
1400	into dest - not recommended unless you seriously want to.
1401
14022003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
1403
1404	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
1405	for semi-compatability with NetBSD.
1406
14072003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
1408
1409	* install-mk: add a version indicator
1410
14112003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>
1412
1413	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
1414
1415	* install-mk: Allow FORCE_SYS_MK to come from env
1416
1417
1418	
1419