xref: /freebsd/contrib/bmake/mk/ChangeLog (revision bc96366c864c07ef352edb92017357917c75b36c)
12014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
2
3	* install-mk (MK_VERSION): 20140522
4
5	* lib.mk: use CC to link shlib for linux too
6	  patch from Brendan MacDonell
7
82014-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
9
10	* meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
11	  if WITH_META_STATS is defined.
12
132014-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
14
15	* dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
16	  to supress dirdeps outside of .CURDIR.
17
182014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
19
20	* Fix spelling errors - patch from Pedro Giffuni
21
222014-03-14  Simon J. Gerraty  <sjg@bad.crufty.net>
23
24	* install-mk (MK_VERSION): 20140314
25
26	* dirdeps.mk (beforedirdeps): a handy hook
27
28	* dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
29	  to visit leaf dirs to be intercepted (eg. for distributed
30	  build).
31
32	* dirdeps.mk (__depdirs): ensure // don't sneak in
33
34	* gendirdeps.mk (DIRDEPS): ensure // don't sneak in
35
36
372014-02-21  Simon J. Gerraty  <sjg@bad.crufty.net>
38
39	* rst2htm.mk (RST2PDF): add support for rst2pdf
40
412014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
42
43	* install-mk (MK_VERSION): bump version
44	* dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
45	  available.
46
472014-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
48
49	* options.mk: avoid :U so this isn't bmake dependent
50
512014-02-09  Simon J. Gerraty  <sjg@bad.crufty.net>
52
53	* options.mk: cleanup and simplify semanitcs
54	  NO_* dominates all, if both WITH_* and WITHOUT_*
55	  are defined then result is DOMINATE_* which defaults to "no".
56	  Ie. WITHOUT_ normally wins.
57
582013-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
59
60	* install-mk (MK_VERSION): bump version
61	* meta2deps.py: convert to print function for python3 compat.
62	  we also need to open files with mode 'r' rather than 'rb'
63	  otherwise we get bytes instead of strings.
64
652013-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
66
67	* install-mk (MK_VERSION): bump version
68
69	* dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
70	  apply the same filtering (M_dep_qual_fixes) when setting _machines
71	  as _build_dirs.
72	  Also fix the filtering of Makefile.depend files - for reporting
73	  what we are looking for (M_dep_qual_fixes can get confused by
74	  Makefile.depend)
75	  Add some more debug info.
76
772013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
78
79	* gendirdeps.mk (_objtops): fix typo also
80	  while processing M2D_OBJROOTS to gather qualdir_list
81	  qualify $ql with loop iterator to ensure correct results.
82
832013-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
84
85	* install-mk (MK_VERSION): 20130801
86	* libs.mk: update to match progs.mk
87
882013-07-26  Simon J. Gerraty  <sjg@bad.crufty.net>
89
90	* install-mk (MK_VERSION): 20130726
91	  some updates from Juniper and FreeBSD
92	  o meta2deps.py: indicate file and line number when we hit parse
93	    errors
94	    also allow @file to provide huge list of .meta files.
95	* meta2deps.py: add try_parse() to cleanup the above.
96
972013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
98
99	* install-mk (MK_VERSION): 20130716
100	* own.mk: add GPROG as an option
101	* prog.mk: honor MK_GPROF==yes
102
1032013-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
104
105	* install-mk (MK_VERSION): 20130505
106	* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
107	  for when $MACHINE isn't enough for objdir distinction.
108	  Bring meta2deps.sh closer to par with meta2deps.py.
109
1102013-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
111
112	* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
113	  also if the target 'beforeinstall' exists, make it depend on
114	  .dirdep (incase it uses STAGE_INSTALL).
115
1162013-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
117
118	* install-mk (MK_VERSION): 20130401 ;-)
119	* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
120	  wrapper around install(1).
121	* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
122
1232013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
124
125	* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
126	* install-mk (MK_VERSION): bump version
127
1282013-03-21  Simon J. Gerraty  <sjg@bad.crufty.net>
129
130	* install-mk (MK_VERSION): bump version
131	* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
132	  any trailing /., rather apply :tA only when needed.
133	* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
134	* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
135	  consistently.
136	* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
137
1382013-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
139
140	* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
141	  it is simpler to just not update when say building for "host"
142	  (where we know we apply filters to DIRDEPS), and using a
143	  non-machine qualified dependfile.
144
1452013-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
146
147	* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
148	  and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
149	* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
150	* meta2deps.py: if machine is "host", then also trim
151	  self.host_target from any OBJROOTS.
152
153
1542013-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
155
156	* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
157	  qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
158	  but _DEPENDFILE does not, compare the new _DEPENDFILE against
159	  .MAKE.DEPENDFILE_DEFAULT and discard if the same.
160
1612013-03-08  Simon J. Gerraty  <sjg@bad.crufty.net>
162
163	* meta.stage.mk: use STAGE_TARGETS to control .ORDER
164	  and hook to all: via staging:
165
1662013-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
167
168	* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
169	  use a separate variable for the default .MAKE.DEPENDFILE value
170	  so that it can be controlled independently of
171	  .MAKE.DEPENDFILE_PREFERENCE
172
173	* meta.stage.mk: throw error if cp fails etc.
174	  Stage*() return early if passed no args.
175	  .ORDER stage_*
176
1772013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
178
179	* install-mk (MK_VERSION): bump version
180	* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
181
1822013-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
183
184	* install-mk (MK_VERSION): bump version to 20130210
185	* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
186	  from Juniper.
187	  o dirdeps.mk now fully supports TARGET_SPEC consisting of more
188	    than just MACHINE.
189	  o no longer use DEP_MACHINE from Makefile.depend* so remove it.
190
1912013-01-23  Simon J. Gerraty  <sjg@bad.crufty.net>
192
193	* install-mk (MK_VERSION): bump version to 20130123
194	* meta.stage.mk: add stage_links (hard links).
195	  if doing hard links, we add dest to link as well.
196	  Default the stage dir for [sym]links to STAGE_OBJTOP since
197	  these are typically specified as absolute paths.
198	  Add -m "mode" flag to StageFiles and StageAs.
199
2002012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
201
202	* install-mk (MK_VERSION): bump version to 20121111
203	* autoconf.mk: avoid meta mode seeing changed commands for config.status
204	* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
205	  in case we were found via .../mk
206	* sys.clean-env.mk: move it from examples, we and others use it
207	  "as is".
208	* FILES: add srctop.mk and options.mk
209	* own.mk: convert to using options.mk
210	  which is modeled after FreeBSD's handling of MK_*
211	  but more flexible.
212	  This allows MK_* for boolean knobs to not be confused
213	  with MK* which can be commands.
214
215	* examples/sys.clean-env.mk: add WITH[OUT]_ to
216	  MAKE_ENV_SAVE_PREFIX_LIST.
217	  Mention that HOME=/var/empty might be a good idea.
218
2192012-11-08  Simon J. Gerraty  <sjg@bad.crufty.net>
220
221	* sys.dependfile.mk: if not depend file exists, $MACHINE
222	  specific ones are supported but not the default,
223	  check if any exist and follow suit.
224
2252012-11-06  Simon J. Gerraty  <sjg@bad.crufty.net>
226
227	* install-mk (MK_VERSION): bump version to 20121106
228
2292012-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
230
231	* import latest dirdeps.mk and meta2deps.py from Juniper.
232	* progs.mk: add MAN and CXXFLAGS to PROG_VARS
233	  also add PROGS_TARGETS and pass on PROG_CXX if it seems
234	  appropriate.
235
2362012-11-04  Simon J. Gerraty  <sjg@bad.crufty.net>
237
238	* meta.stage.mk: update CLEANFILES
239	  remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
240	* progs.mk: Add LDADD to PROG_VARS
241
2422012-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
243
244	* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
245	  _STAGED_DIRS so that these can be turned into filters for
246	  GENDIRDEPS_FILTER.
247
2482012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
249
250	* install-mk (MK_VERSION): bump version to 20121010
251	* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
252	target.dirdep matches .dirdep
253
2542012-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
255
256	* install-mk (MK_VERSION): bump version to 20120808
257	* import latest meta2deps.py from Juniper.
258
2592012-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
260
261	* install-mk (MK_VERSION): bump version to 20120711
262	* dep.mk: add explicit dependencies on SRCS after applying
263	  SRCS_DEP_FILTER
264	* meta.autodep.mk: add explicit dependencies on SRCS after
265	  applying SRCS_DEP_FILTER
266	* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
267
2682012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
269
270	* install-mk (MK_VERSION): bump version to 20120626
271	* meta.sys.mk: ignore PYTHON if it does not exist
272	  compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
273	* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
274	  entries ending in .${MACHINE} to decide if qualified _dirdep is
275	  needed.
276	* gendirdeps.mk: only produce unqualified deps if no
277	  .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
278	* meta.subdir.mk: apply SUBDIREPS_FILTER
279
2802012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
281
282	* install-mk (MK_VERSION): bump version to 20120420
283	* add sys.dependfile.mk so we can experiment with
284	  .MAKE.DEPENDFILE_PREFERENCE
285	* meta.autodep.mk: _DEPENDFILE is precious!
286
2872012-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
288
289	* install-mk (MK_VERSION): bump version to 20120315
290	* install-new.mk: avoid being interrupted
291
2922012-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
293
294	* man.mk: MAN might have multiple values so be careful with exists().
295
2962012-01-19  Simon J. Gerraty  <sjg@bad.crufty.net>
297
298	* install-mk (MK_VERSION): bump version to 20120112
299	* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
300	  as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
301
3022011-12-03  Simon J. Gerraty  <sjg@bad.crufty.net>
303
304	* install-mk (MK_VERSION):  bump version to 20111201
305	* import dirdeps.mk from Juniper sjg@
306	  o more consistent handling of DEP_MACHINE, especially when
307	    dealing with an odd Makefile.depend, when normally using
308	    Makefile.depend.${MACHINE}
309
3102011-11-22  Simon J. Gerraty  <sjg@bad.crufty.net>
311
312	* install-mk (MK_VERSION): bump version to 20111122
313	* meta.autodep.mk: add some debug output, be more crisp about
314	  updating.  Use ${.ALLTARGETS:M*.o} as a clue for .depend
315
3162011-11-13  Simon J. Gerraty  <sjg@bad.crufty.net>
317
318	* install-mk (MK_VERSION): bump version to 20111111
319	  it's too cool to miss
320	* import meta* updates from Juniper sjg@
321	  o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
322	    normally using Makefile.depend.${MACHINE}), handy for
323	    read-only manually maintained dependencies.
324	  o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
325	  o gendirdeps.mk if ERROR: from meta2deps.py do not update
326	    anything.
327
3282011-10-30  Simon J. Gerraty  <sjg@bad.crufty.net>
329
330	* install-new.mk separate the cmp and copy logic to its own function.
331
3322011-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
333
334	* install-mk (MK_VERSION): bump version to 20111028
335	* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
336	* subdir.mk: ensure _SUBDIRUSE is provided
337	* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
338	* meta.subdir.mk: always allow for Makefile.depend
339
3402011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
341
342	* install-mk (MK_VERSION): bump version to 20111010
343	  o minor tweak to *dirdeps.mk from Juniper sjg@
344
3452011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
346
347	* install-mk (MK_VERSION): bump version to 20111001
348	  o add meta2deps.py from Juniper sjg@
349	  o tweak gendirdeps.mk to work with meta2deps.py when not
350	    cross-building
351	* autoconf.mk: add autoconf-input as a hook for regenerating
352	  AUTOCONF_INPUTS (configure).
353
3542011-08-24  Simon J. Gerraty  <sjg@bad.crufty.net>
355
356	* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
357	  trigger for updating Makefile.depend*
358
3592011-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
360
361	* install-mk (MK_VERSION): bump version to 20110808
362	* obj.mk: minor cleanup
363	* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
364
3652011-08-01  Simon J. Gerraty  <sjg@bad.crufty.net>
366
367	* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
368	  specified dir.
369
3702011-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
371
372	* meta.autodep.mk: if XMAKE_META_FILE is set
373	  the makefile uses a foreign make, and so dependencies
374	  can only be gathered from a clean tree build.
375
3762011-06-24  Simon J. Gerraty  <sjg@bad.crufty.net>
377
378	* install-mk (MK_VERSION): bump version to 20110622
379	* meta.autodep.mk: improve bootstraping
380
3812011-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
382
383	* yacc.mk: handle the corner case of .c being removed
384	  while .h remains.
385
3862011-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
387
388	* yacc.mk: do .y.h and .y.c separately
389
3902011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
391
392	* install-mk (MK_VERSION): bump version to 20110606
393	* don't store SRC_DIRDEPS in Makefile.depend* by default
394	  not everyone needs it.
395
3962011-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
397
398	* install-mk (MK_VERSION): bump version to 20110505
399	  first release including meta mode makefiles
400
4012011-05-02  Simon J. Gerraty  <sjg@bad.crufty.net>
402
403	* meta.stage.mk: add STAGE_AS_SETS and stage_as
404	  for things that need to be staged with different names.
405
4062011-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
407
408	* meta.stage.mk: add notion of STAGE_SETS
409	  so a makefile can stage to multiple dirs
410
4112011-04-03  Simon J. Gerraty  <sjg@bad.crufty.net>
412
413	* rst2htm.mk: convert rst to s5 (slides) or plain html depending
414	  on target name.
415
4162011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
417
418	* install-mk (MK_VERSION): bump version to 20110330
419
4202011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
421
422	* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
423	  can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
424	* sys.mk: re-define M_whence in terms of M_type.
425	  M_type is useful for checking if something is a builtin.
426
4272011-03-16  Simon J. Gerraty  <sjg@bad.crufty.net>
428
429	* meta.stage.mk: add stage_symlinks and leverage StageLinks for
430	  stage_libs
431
4322011-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
433
434	* dirdeps.mk: correct value for _depdir_files depends on
435	  .MAKE.DEPENDFILE
436	  Add our copyright - just to make it clear we have frobbed this
437	  quite a bit.
438	  DEP_MACHINE needs to be set to MACHINE each time, if using only
439	  Makefile.depend (cf. Makefile.depend.${MACHINE})
440
441	* meta.stage.mk: meta mode version of staging
442
443	* init.mk, final.mk: include local.*.mk to simplify customization
444
4452011-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
446
447	* auto.obj.mk: just because we are doing mk destroy, we should
448	  still set .OBJDIR correctly if it exists.
449
450	* install-mk (mksrc): do not exclude meta.sys.mk
451
4522011-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
453
454	* host-target.mk: set/export _HOST_ARCH etc separately,
455	  catch junk resulting from uname -p, so we can find sys/Linux.mk
456	  correctly.
457
4582011-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
459
460	* meta.sys.mk: throw an error if /dev/filemon is missing and we
461	  expected to be updating Makefile.depend*
462
4632011-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
464
465	* install-mk (MK_VERSION): bump version to 20110214
466	* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
467
4682010-09-25  Simon J. Gerraty  <sjg@bad.crufty.net>
469
470	* meta.sys.mk: not valid for older bmake
471
4722010-09-24  Simon J. Gerraty  <sjg@bad.crufty.net>
473
474	* install-mk (MK_VERSION): bump version to 20100919
475	include dirdeps.mk et al from Juniper Networks,
476	for meta mode - requires filemon(9).
477	* sys.mk, subdir.mk: Add hooks for meta mode.
478	we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
479	to make turning it on/off simple.
480
4812010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
482
483	* install-mk (MK_VERSION): bump version to 20100616
484	* fix typo in sys.mk
485
4862010-06-12  Simon J. Gerraty  <sjg@bad.crufty.net>
487
488	* install-mk (MK_VERSION): bump version to 20100612
489	* lib.mk: remove duplicate addition to SOBJS
490
4912010-06-10  Simon J. Gerraty  <sjg@bad.crufty.net>
492
493	* sys.mk: Add a means of selectively turning on debug flags.
494	  Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
495	  will act as if we did make -dv if .CURDIR ends in lib/sjg
496	  DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
497	  the start of sys.mk rather than the end.
498	  This only makes sense for leaf dirs, so we check that
499	  .MAKE.LEVEL > 0
500
5012010-06-09  Simon J. Gerraty  <sjg@bad.crufty.net>
502
503	* install-mk (MK_VERSION): bump version to 20100608
504	* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
505	* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
506	  also make it easier for folk to tweak
507
5082010-06-08  Simon J. Gerraty  <sjg@bad.crufty.net>
509
510	* install-mk (MK_VERSION): bump version to 20100606
511	  do not install examples/*
512	* FILES: add examples/sys.clean-env.mk
513	* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
514	  this requires bmake-20100606 or later to work.
515
5162010-05-13  Simon J. Gerraty  <sjg@bad.crufty.net>
517
518	* sys.mk (M_tA): better simulate the result of :tA if not available.
519
5202010-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
521
522	* sys.mk: canonicalize MAKE_VERSION
523	  old versions reported bmake-<src-date> build-<build-date>
524	  whereas we only care about <src-date>
525
5262010-04-25  Simon J. Gerraty  <sjg@bad.crufty.net>
527
528	* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
529	* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
530	  is !empty
531
5322010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
533
534	* dpadd.mk: use LDADD_* if defined.
535
5362010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
537
538	* install-mk (MK_VERSION): bump version to 20100420
539	* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
540	* autoconf.mk allow AUTO_AUTOCONF
541
5422010-04-19  Simon J. Gerraty  <sjg@bad.crufty.net>
543
544	* obj.mk: add objwarn to keep freebsd makefiles happy
545	* auto.obj.mk: ensure Mkdirs is available.
546	* FILES: add auto.dep.mk - a simpler version of autodep.mk
547	* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
548	  asked to do that.
549	  fix/simplify the tests for when to run mkdep.
550	* auto.dep.mk: add some explanation of how/what we do.
551	* autodep.mk: skip the .OPTIONAL frobbing of .depend
552	  bmake's FROM_DEPEND flag makes it redundant.
553
5542010-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
555
556	* install-mk (MK_VERSION): bump version to 20100404
557	* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
558	* obj.mk: protect from multiple inclusion even as bsd.obj.mk
559	Also create a target _SUBDIRUSE so that we can  be used without
560	subdir.mk
561
5622010-04-12  Simon J. Gerraty  <sjg@bad.crufty.net>
563
564	* dep.mk: use <> when .including so can override.
565
5662010-01-11  Simon J. Gerraty  <sjg@bad.crufty.net>
567
568	* lib.mk (SHLIB_LINKS): ensure a string comparison.
569
5702010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
571
572	* install-mk (MK_VERSION): bump version to 20100102
573	* own.mk: ensure PRINTOBJDIR works
574	* autoconf.mk: pass on CONFIGURE_ARGS
575	* init.mk: handle COPTS.${.IMPSRC:T} etc.
576	* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
577	  fix handling of symlinks for darwin
578	* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
579	* man.mk: suppress chown when not root.
580	* rst2htm.mk: allow srcs from multiple locations.
581	* sys.mk: M_whence, stop after 1st line of output.
582	* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
583	* sys/SunOS.mk: we need to export PATH
584
5852009-12-23  Simon J. Gerraty  <sjg@void.crufty.net>
586
587	* install-mk (MK_VERSION): bump version
588	  include rst2htm.mk
589
5902009-12-17  Simon J. Gerraty  <sjg@void.crufty.net>
591
592	* sys.mk,libnames.mk add .-include <local.*>
593	  this allows local customization without the need to edit the
594	  distributed files.
595
5962009-12-14  Simon J. Gerraty  <sjg@void.crufty.net>
597
598	* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
599	  older versions already installed.
600
6012009-12-13  Simon J. Gerraty  <sjg@void.crufty.net>
602
603	* stage.mk (.stage-install): generalize lib.mk's .libinstall
604	* rules.mk rules for generic Makefile.
605	* inc.mk install for includes.
606
6072009-12-11  Simon J. Gerraty  <sjg@void.crufty.net>
608
609	* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
610	  this, so provide it if using native make.
611
6122009-12-10  Simon J. Gerraty  <sjg@void.crufty.net>
613
614	* FILES: move all the platform *.sys.mk files to sys/*.mk
615	* Rename Generic.sys.mk to sys.mk - we always want it.
616
6172009-11-17  Simon J. Gerraty  <sjg@void.crufty.net>
618
619	* install-mk (MK_VERSION): bump version
620	* host-target.mk: only export the expensive stuff
621	* Generic.sys.mk (sys_mk): for SunOS we need to look for
622	  ${HOST_OS}.${HOST_OSMAJOR} too!
623
6242009-11-07  Simon J. Gerraty  <sjg@void.crufty.net>
625
626	* install-mk (MK_VERSION): bump version
627	* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
628	  based on patch from Greg Olszewski.
629	* Generic.sys.mk: if we have nothing to work with
630	set LORDER etc only if we can find it.
631
6322009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
633
634	* install-mk (MK_VERSION): bump version
635	* man.mk: cleanman: remove CLEANMAN if defined.
636
6372009-09-04  Simon J. Gerraty  <sjg@void.crufty.net>
638
639	* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
640
6412009-07-17  Simon J. Gerraty  <sjg@void.crufty.net>
642
643	* install-mk (MK_VERSION): bump version
644	include auto.obj.mk
645
646
6472009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
648
649	* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
650
6512008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
652
653	* install-mk (MK_VERSION): bump version
654	man.mk: ensure we generate *.cat1 etc in .
655
6562008-07-16  Simon J. Gerraty  <sjg@void.crufty.net>
657
658	* install-mk (MK_VERSION): bump version
659	add prlist.mk
660
6612007-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
662
663	* Generic.sys.mk: Allow os specific sys.mk to be in a
664	subdir of ${.PARSEDIR}
665
6662007-11-22  Simon J. Gerraty  <sjg@void.crufty.net>
667
668	* install-mk (MK_VERSION): bump version
669	* general cleanup
670	* dpadd.mk introduce DPMAGIC_LIBS_*
671
6722007-04-30  Simon J. Gerraty  <sjg@void.crufty.net>
673
674	* install-mk (MK_VERSION): bump version
675
676	* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
677	depend files and ensure clean is called for each lib/prog.
678
6792007-03-27  Simon J. Gerraty  <sjg@void.crufty.net>
680
681	* autodep.mk (.depend): delete lines that do not start with
682	space and do not contain ':'
683
6842007-02-16  Simon J. Gerraty  <sjg@void.crufty.net>
685
686	* autodep.mk (.depend): gcc may wrap lines if pathnames are long
687	so make sure the transform for .OPTIONAL copes.
688
6892007-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
690
691	* install-mk (MK_VERSION): bump version
692
693	* own.mk: make sure RM and LN are defined.
694
695	* obj.mk: fix a typo, and objlink target.
696
6972006-12-30  Simon J. Gerraty  <sjg@void.crufty.net>
698
699	* install-mk (MK_VERSION): bump version
700	* added libs.mk - analogous to progs.mk
701	  make both of them always inlcude {lib,prog}.mk
702
7032006-12-28  Simon J. Gerraty  <sjg@void.crufty.net>
704
705	* progs.mk: add a means of building multiple apps in one dir.
706
7072006-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
708
709	* install-mk (MK_VERSION): bump version to 20061126
710
711	* warnings.mk: detect invalid WARNINGS_SET
712
713	* warnings.mk: use ${.TARGET:T:R}.o when looking for target
714	specific warnings.
715
716	* For .cc sources, turn off warnings that g++ vomits on.
717
7182006-11-08  Simon J. Gerraty  <sjg@void.crufty.net>
719
720	* own.mk: if __initialized__ target doesn't exist and we are
721	FreeBSD we got here directly from sys.mk
722
7232006-11-06  Simon J. Gerraty  <sjg@void.crufty.net>
724
725	* install-mk (MK_VERSION): bump version to 20061106
726	add scripts.mk
727
7282006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
729
730	* install-mk (MK_VERSION): bump version to 20060318
731
732	* autodep.mk: avoid := when modifying OBJS into __dependsrcs
733
7342006-03-02  Simon J. Gerraty  <sjg@void.crufty.net>
735
736	* install-mk (MK_VERSION): bump version to 20060302
737	* autodep.mk: use -MF et al to help gcc+ccache DTRT.
738
7392006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
740
741	* install-mk (MK_VERSION): bump version to 20060301
742	* autodep.mk (.depend):
743	if MAKE_VERSION is newer than  20050530 we can make .END depend on
744	.depend and make .depend depend on __depsrcs that exist.
745	* dpadd.mk: add SRC_PATHADD
746
7472005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
748
749	* install-mk (MK_VERSION): bump version to 20051104
750	* prog.mk: remove all the LIBC?= junk, use
751	.-include libnames.mk instead (none by default).
752	also if USE_DPADD_MK is set, include that.
753
7542005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
755
756	* install-mk (MK_VERSION): bump version to 20051001
757	Add UnixWare.sys.mk from Klaus Heinz.
758
7592005-04-05  Simon J. Gerraty  <sjg@void.crufty.net>
760
761	* install-mk: always install *.sys.mk and if need be symlink one
762	to sys.mk
763
7642005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
765
766	* subdir.mk, own.mk: use .MAKE rather than MAKE
767
7682004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
769
770	* own.mk: don't use NetBSD's _SRC_TOP_ it can
771	cause confusion.  Also don't take just 'mk' as a
772	srctop indicator.
773
7742004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
775
776	* warnings.mk: overhauled, now very powerful.
777
7782004-02-03  Simon J. Gerraty  <sjg@void.crufty.net>
779
780	* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
781
7822004-02-01  Simon J. Gerraty  <sjg@void.crufty.net>
783
784	* install-mk (MK_VERSION): bump version to 20040201
785	* extract HOST_TARGET stuff to host-target.mk so own.mk and
786	Generic.sys.mk can share.
787	* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
788
7892003-09-30  Simon J. Gerraty  <sjg@void.crufty.net>
790
791	* install-mk (MK_VERSION): 20030930
792	* rename generic.sys.mk to Generic.sys.mk
793	so that it does not get installed (unless being used as sys.mk)
794	* set OS and ROOT_GROUP for those that we know the value.
795	for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
796	we don't do it again for each sub-make.
797
7982003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
799
800	* install-mk (MK_VERSION): 20030928
801	Add some extra *.sys.mk from bootstrap-pkgsrc
802	some of these likely still need work.
803	Make everything default to root:wheel ownership,
804	sys.mk can set ROOT_GROUP accordingly.
805
8062003-08-07  Simon J. Gerraty  <sjg@void.crufty.net>
807
808	* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
809	not the portable ones.
810
8112003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
812
813	* install-mk: add ability to use cp -f when updating
814	destination .mk files.  Also now possible to play games with
815	FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
816	into dest - not recommended unless you seriously want to.
817
8182003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
819
820	* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
821	for semi-compatability with NetBSD.
822
8232003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
824
825	* install-mk: add a version indicator
826
8272003-07-22  Simon J. Gerraty  <sjg@void.crufty.net>
828
829	* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
830
831	* install-mk: Allow FORCE_SYS_MK to come from env
832
833
834
835