12016-05-12 Simon J. Gerraty <sjg@bad.crufty.net>
2
3 * install-mk (MK_VERSION): 20160512
4
5 * dpadd.mk: always include local.dpadd.mk if it exists
6 remove some things that better belong in local.dpadd.mk
7 skip INCLUDES_* for staged libs unless SRC_* defined.
8
9 * own.mk: add INCLUDEDIR
10
112016-04-18 Simon J. Gerraty <sjg@bad.crufty.net>
12
13 * dirdeps.mk: when doing -f dirdeps.mk if target suppies no
14 TARGET_MACHINE - :E will be empty or match part of path, use
15 ${MACHINE}
16
172016-04-07 Simon J. Gerraty <sjg@bad.crufty.net>
18
19 * meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
20 NO_FILEMON_COOKIE
21
22 * dirdeps.mk: move the logic that allows for
23 make -f dirdeps.mk some/dir.${TARGET_SPEC}
24 inside the check for !target(_DIRDEP_USE)
25
262016-04-04 Simon J. Gerraty <sjg@bad.crufty.net>
27
28 * Use <> when including local*.mk and others which may exist
29 elsewhere so that user can better control what they get.
30
31 * meta.autodep.mk (NO_FILEMON_COOKIE):
32 create a cookie if we ever build dir with nofilemon
33 so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
34
352016-04-01 Simon J. Gerraty <sjg@bad.crufty.net>
36
37 * install-mk (MK_VERSION): 20160401
38
39 * meta2deps.py: fix old print statement when debugging.
40
41 * gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
42 patch from Bryan Drewery
43
442016-03-22 Simon J. Gerraty <sjg@bad.crufty.net>
45
46 * install-mk (MK_VERSION): 20160317 (St. Pats)
47
48 * warnings.mk: g++ does not like -Wimplicit
49
50 * sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
51 pelthora of common suffixes for C++
52
53 * lib.mk: use .So for shared objects
54
552016-03-15 Simon J. Gerraty <sjg@bad.crufty.net>
56
57 * install-mk (MK_VERSION): 20160315
58
59 * meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
60 normally only applies to scripts.
61
62 * dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
63 well as outside it.
64
652016-03-10 Simon J. Gerraty <sjg@bad.crufty.net>
66
67 * install-mk (MK_VERSION): 20160310
68
69 * dirdeps.mk: use targets rather than a list to track DIRDEPS that
70 we have processed; the list gets very inefficient as number of
71 DIRDEPS gets large.
72
73 * sys.dependfile.mk: fix comment wrt MACHINE
74
75 * meta.autodep.mk: ignore staged DPADDs when bootstrapping.
76 patch from Bryan Drewery
77
782016-03-02 Simon J. Gerraty <sjg@bad.crufty.net>
79
80 * meta2deps.sh: don't ignore subdirs.
81 patch from Bryan Drewery
82
832016-02-26 Simon J. Gerraty <sjg@bad.crufty.net>
84
85 * install-mk (MK_VERSION): 20160226
86
87 * gendirdeps.mk: mark _DEPENDFILE .NOMETA
88
892016-02-20 Simon J. Gerraty <sjg@bad.crufty.net>
90
91 * dirdeps.mk: we shouldn't normally include .depend but if we do
92 use .dinclude if we can.
93
942016-02-18 Simon J. Gerraty <sjg@bad.crufty.net>
95
96 * install-mk (MK_VERSION): 20160218
97 * sys.clean-env.mk: with recent change to Var_Subst()
98 we cannot use the '$$' trick, but .export-literal does the job
99 we need.
100 * auto.dep.mk: make use .dinclude if we can.
101
102
1032016-02-05 Simon J. Gerraty <sjg@bad.crufty.net>
104
105 * dirdeps.mk:
106 Add _build_all_dirs such that local.dirdeps.mk can
107 add fully qualified dirs to it.
108 These will be built normally but the current
109 DEP_RELDIR will not depend on then (to avoid cycles).
110 This makes it easy to hook things like unit-tests into build.
111
112
1132016-01-21 Simon J. Gerraty <sjg@bad.crufty.net>
114
115 * dirdeps.mk: add bootstrap-empty
116
1172015-12-12 Simon J. Gerraty <sjg@bad.crufty.net>
118
119 * install-mk (MK_VERSION): 20151212
120 * auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
121 only apply :tA to __objdir when comparing to .OBJDIR
122
1232015-11-14 Simon J. Gerraty <sjg@bad.crufty.net>
124
125 * install-mk (MK_VERSION): 20151111
126
127 * meta.sys.mk: include sys.dependfile.mk
128
129 * sys.mk (OPTIONS_DEFAULT_NO): use options.mk
130 to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
131 include local.sys.env.mk early
132 include local.sys.mk later
133
134 * own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
135
1362015-11-13 Simon J. Gerraty <sjg@bad.crufty.net>
137
138 * meta.sys.mk (META_COOKIE_TOUCH):
139 add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
140
141 * meta.stage.mk: stage_libs should ignore SYMLINKS.
142
1432015-10-23 Simon J. Gerraty <sjg@bad.crufty.net>
144
145 * install-mk (MK_VERSION): 20151022
146
147 * sys.mk: BSD/OS does not have 'type' as a shell builtin.
148
1492015-10-20 Simon J. Gerraty <sjg@bad.crufty.net>
150
151 * install-mk (MK_VERSION): 20151020
152
153 * dirdeps.mk: Add logic for
154 make -f dirdeps.mk some/dir.${TARGET_SPEC}
155
1562015-10-14 Simon J. Gerraty <sjg@bad.crufty.net>
157
158 * install-mk (MK_VERSION): 20151010
159
1602015-10-02 Simon J. Gerraty <sjg@bad.crufty.net>
161
162 * meta.stage.mk: use staging: ${STAGE_TARGETS:...
163 to have stage_lins run last in non-jobs mode.
164 Use .ORDER only for jobs mode.
165
1662015-09-02 Simon J. Gerraty <sjg@bad.crufty.net>
167
168 * rst2htm.mk: allow for per target flags etc.
169
1702015-09-01 Simon J. Gerraty <sjg@bad.crufty.net>
171
172 * install-mk (MK_VERSION): 20150901
173
174 * doc.mk: create dir if needed use DOC_INSTALL_OWN
175
1762015-06-15 Simon J. Gerraty <sjg@bad.crufty.net>
177
178 * install-mk (MK_VERSION): 20150615
179
180 * auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
181 Follow make's normal precedence rules.
182
183 * gendirdeps.mk: allow customization of the header.
184 eg. for FreeBSD:
185 GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
186
187 * meta.autodep.mk: ignore dirdeps.cache*
188
189 * meta.stage.mk: when bootstrapping options it can be handy to
190 throw warnings rather than errors for staging conflicts.
191
192 * meta.sys.mk: include local.meta.sys.mk for customization
193
1942015-06-06 Simon J. Gerraty <sjg@bad.crufty.net>
195
196 * install-mk (MK_VERSION): 20150606
197
198 * dirdeps.mk: don't rely on manually maintained Makefile.depend
199 to set DEP_RELDIR and reset DIRDEPS.
200 By setting DEP_RELDIR ourselves we can skip :tA
201
202 * gendirdeps.mk: skip setting DEP_RELDIR.
203
2042015-05-24 Simon J. Gerraty <sjg@bad.crufty.net>
205
206 * dirdeps.mk: avoid wildcards like make(bootstrap*)
207
2082015-05-20 Simon J. Gerraty <sjg@bad.crufty.net>
209
210 * install-mk (MK_VERSION): 20150520
211
212 * dirdeps.mk: when we are building dirdeps cache file we *want*
213 meta_oodate to look at all the Makefile.depend files, so
214 set .MAKE.DEPENDFILE to something that won't match.
215
216 * meta.stage.mk: for STAGE_AS_* basename of file may not be unique
217 so first use absolute path as key.
218 Also skip staging at level 0.
219
2202015-04-30 Simon J. Gerraty <sjg@bad.crufty.net>
221
222 * install-mk (MK_VERSION): 20150430
223
224 * dirdeps.mk: fix _count_dirdeps for non-cache case.
225
2262015-04-16 Simon J. Gerraty <sjg@bad.crufty.net>
227
228 * install-mk (MK_VERSION): 20150411
229 bump version
230
231 * own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
232 it is here mainly for documentation purposes, since
233 if using auto.obj.mk it is better done via sys.mk
234
2352015-04-01 Simon J. Gerraty <sjg@bad.crufty.net>
236
237 * install-mk (MK_VERSION): 20150401
238
239 * meta2deps.sh: support @list
240
241 * meta2deps.py: updates from Juniper
242 o add EXCLUDES
243 o skip bogus input files.
244 o treat 'M' and 'L' as both an 'R' and a 'W'
245
2462015-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
247
248 * install-mk (MK_VERSION): 20150303
249
250 * dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
251 which is built via sub-make so we have a .meta file to tell if
252 it is out-of-date.
253 The dirdeps-cache contains the same dependency rules that we
254 normaly construct on the fly.
255 This adds a few seconds overhead when the cache is out of date,
256 but for a large target, the savings can be significant (10-20min).
257
2582014-11-18 Simon J. Gerraty <sjg@bad.crufty.net>
259
260 * install-mk (MK_VERSION): 20141118
261
262 * meta.stage.mk: add stale_staged
263
264 * dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
265 only useful under very rare conditions such as
266 FreeBSD's make universe.
267
268 * auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
269
2702014-11-11 Simon J. Gerraty <sjg@bad.crufty.net>
271
272 * install-mk (MK_VERSION): 20141111
273
274 * mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
275
2762014-11-09 Simon J. Gerraty <sjg@bad.crufty.net>
277
278 * FILES: include mkopt.sh which allows handling options in shell
279 scripts in a manner compatible with options.mk
280
2812014-10-12 Simon J. Gerraty <sjg@bad.crufty.net>
282
283 * meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
284 for GENDIRDEPS_FILTER to avoid surprises.
285
2862014-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
287
288 * dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
289 the time it is applied to __depdirs they have.
290
291 * dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
292 expects patterns like *.${MACHINE}
293
294 * cython.mk (pyprefix?): use pyprefix to find python bits
295 since prefix might be something else (where we install our
296 stuff)
297
2982014-09-11 Simon J. Gerraty <sjg@bad.crufty.net>
299
300 * install-mk (MK_VERSION): 20140911
301
302 * dirdeps.mk: add bootstrap target to simplify adding support for
303 new MACHINE.
304
3052014-09-01 Simon J. Gerraty <sjg@bad.crufty.net>
306
307 * gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
308 GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
309 Makefile.depend files.
310
3112014-08-28 Simon J. Gerraty <sjg@bad.crufty.net>
312
313 * install-mk (MK_VERSION): 20140828
314
315 * cython.mk: capture logic for building python extension modules
316 with Cython.
317
3182014-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
319
320 * meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
321
3222014-08-02 Simon J. Gerraty <sjg@bad.crufty.net>
323
324 * install-mk (MK_VERSION): 20140801
325
326 * dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
327 identify the autodep.mk variant.
328
329 * sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
330 initial value does not match .MAKE.DEPENDFILE_PREFIX
331
332 * meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
333
3342014-05-22 Simon J. Gerraty <sjg@bad.crufty.net>
335
336 * install-mk (MK_VERSION): 20140522
337
338 * lib.mk: use CC to link shlib for linux too
339 patch from Brendan MacDonell
340
3412014-05-05 Simon J. Gerraty <sjg@bad.crufty.net>
342
343 * meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
344 if WITH_META_STATS is defined.
345
3462014-05-02 Simon J. Gerraty <sjg@bad.crufty.net>
347
348 * dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
349 to supress dirdeps outside of .CURDIR.
350
3512014-04-05 Simon J. Gerraty <sjg@bad.crufty.net>
352
353 * Fix spelling errors - patch from Pedro Giffuni
354
3552014-03-14 Simon J. Gerraty <sjg@bad.crufty.net>
356
357 * install-mk (MK_VERSION): 20140314
358
359 * dirdeps.mk (beforedirdeps): a handy hook
360
361 * dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
362 to visit leaf dirs to be intercepted (eg. for distributed
363 build).
364
365 * dirdeps.mk (__depdirs): ensure // don't sneak in
366
367 * gendirdeps.mk (DIRDEPS): ensure // don't sneak in
368
369
3702014-02-21 Simon J. Gerraty <sjg@bad.crufty.net>
371
372 * rst2htm.mk (RST2PDF): add support for rst2pdf
373
3742014-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
375
376 * install-mk (MK_VERSION): bump version
377 * dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
378 available.
379
3802014-02-10 Simon J. Gerraty <sjg@bad.crufty.net>
381
382 * options.mk: avoid :U so this isn't bmake dependent
383
3842014-02-09 Simon J. Gerraty <sjg@bad.crufty.net>
385
386 * options.mk: cleanup and simplify semanitcs
387 NO_* dominates all, if both WITH_* and WITHOUT_*
388 are defined then result is DOMINATE_* which defaults to "no".
389 Ie. WITHOUT_ normally wins.
390
3912013-12-12 Simon J. Gerraty <sjg@bad.crufty.net>
392
393 * install-mk (MK_VERSION): bump version
394 * meta2deps.py: convert to print function for python3 compat.
395 we also need to open files with mode 'r' rather than 'rb'
396 otherwise we get bytes instead of strings.
397
3982013-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
399
400 * install-mk (MK_VERSION): bump version
401
402 * dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
403 apply the same filtering (M_dep_qual_fixes) when setting _machines
404 as _build_dirs.
405 Also fix the filtering of Makefile.depend files - for reporting
406 what we are looking for (M_dep_qual_fixes can get confused by
407 Makefile.depend)
408 Add some more debug info.
409
4102013-09-04 Simon J. Gerraty <sjg@bad.crufty.net>
411
412 * gendirdeps.mk (_objtops): fix typo also
413 while processing M2D_OBJROOTS to gather qualdir_list
414 qualify $ql with loop iterator to ensure correct results.
415
4162013-08-01 Simon J. Gerraty <sjg@bad.crufty.net>
417
418 * install-mk (MK_VERSION): 20130801
419 * libs.mk: update to match progs.mk
420
4212013-07-26 Simon J. Gerraty <sjg@bad.crufty.net>
422
423 * install-mk (MK_VERSION): 20130726
424 some updates from Juniper and FreeBSD
425 o meta2deps.py: indicate file and line number when we hit parse
426 errors
427 also allow @file to provide huge list of .meta files.
428 * meta2deps.py: add try_parse() to cleanup the above.
429
4302013-07-16 Simon J. Gerraty <sjg@bad.crufty.net>
431
432 * install-mk (MK_VERSION): 20130716
433 * own.mk: add GPROG as an option
434 * prog.mk: honor MK_GPROF==yes
435
4362013-05-10 Simon J. Gerraty <sjg@bad.crufty.net>
437
438 * install-mk (MK_VERSION): 20130505
439 * gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
440 for when $MACHINE isn't enough for objdir distinction.
441 Bring meta2deps.sh closer to par with meta2deps.py.
442
4432013-04-18 Simon J. Gerraty <sjg@bad.crufty.net>
444
445 * meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
446 also if the target 'beforeinstall' exists, make it depend on
447 .dirdep (incase it uses STAGE_INSTALL).
448
4492013-04-17 Simon J. Gerraty <sjg@bad.crufty.net>
450
451 * install-mk (MK_VERSION): 20130401 ;-)
452 * meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
453 wrapper around install(1).
454 * options.mk (OPTION_PREFIX): Allow a prefix other than MK_
455
4562013-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
457
458 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
459 * install-mk (MK_VERSION): bump version
460
4612013-03-21 Simon J. Gerraty <sjg@bad.crufty.net>
462
463 * install-mk (MK_VERSION): bump version
464 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
465 any trailing /., rather apply :tA only when needed.
466 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
467 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
468 consistently.
469 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
470
4712013-03-18 Simon J. Gerraty <sjg@bad.crufty.net>
472
473 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
474 it is simpler to just not update when say building for "host"
475 (where we know we apply filters to DIRDEPS), and using a
476 non-machine qualified dependfile.
477
4782013-03-16 Simon J. Gerraty <sjg@bad.crufty.net>
479
480 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
481 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
482 * gendirdeps.mk: ensure _objroot has trailing / if it needs it.
483 * meta2deps.py: if machine is "host", then also trim
484 self.host_target from any OBJROOTS.
485
486
4872013-03-11 Simon J. Gerraty <sjg@bad.crufty.net>
488
489 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
490 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
491 but _DEPENDFILE does not, compare the new _DEPENDFILE against
492 .MAKE.DEPENDFILE_DEFAULT and discard if the same.
493
4942013-03-08 Simon J. Gerraty <sjg@bad.crufty.net>
495
496 * meta.stage.mk: use STAGE_TARGETS to control .ORDER
497 and hook to all: via staging:
498
4992013-03-07 Simon J. Gerraty <sjg@bad.crufty.net>
500
501 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
502 use a separate variable for the default .MAKE.DEPENDFILE value
503 so that it can be controlled independently of
504 .MAKE.DEPENDFILE_PREFERENCE
505
506 * meta.stage.mk: throw error if cp fails etc.
507 Stage*() return early if passed no args.
508 .ORDER stage_*
509
5102013-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
511
512 * install-mk (MK_VERSION): bump version
513 * gendirdeps.mk: handle multiple M2D_OBJROOTS better.
514
5152013-02-10 Simon J. Gerraty <sjg@bad.crufty.net>
516
517 * install-mk (MK_VERSION): bump version to 20130210
518 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
519 from Juniper.
520 o dirdeps.mk now fully supports TARGET_SPEC consisting of more
521 than just MACHINE.
522 o no longer use DEP_MACHINE from Makefile.depend* so remove it.
523
5242013-01-23 Simon J. Gerraty <sjg@bad.crufty.net>
525
526 * install-mk (MK_VERSION): bump version to 20130123
527 * meta.stage.mk: add stage_links (hard links).
528 if doing hard links, we add dest to link as well.
529 Default the stage dir for [sym]links to STAGE_OBJTOP since
530 these are typically specified as absolute paths.
531 Add -m "mode" flag to StageFiles and StageAs.
532
5332012-11-11 Simon J. Gerraty <sjg@bad.crufty.net>
534
535 * install-mk (MK_VERSION): bump version to 20121111
536 * autoconf.mk: avoid meta mode seeing changed commands for config.status
537 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
538 in case we were found via .../mk
539 * sys.clean-env.mk: move it from examples, we and others use it
540 "as is".
541 * FILES: add srctop.mk and options.mk
542 * own.mk: convert to using options.mk
543 which is modeled after FreeBSD's handling of MK_*
544 but more flexible.
545 This allows MK_* for boolean knobs to not be confused
546 with MK* which can be commands.
547
548 * examples/sys.clean-env.mk: add WITH[OUT]_ to
549 MAKE_ENV_SAVE_PREFIX_LIST.
550 Mention that HOME=/var/empty might be a good idea.
551
5522012-11-08 Simon J. Gerraty <sjg@bad.crufty.net>
553
554 * sys.dependfile.mk: if not depend file exists, $MACHINE
555 specific ones are supported but not the default,
556 check if any exist and follow suit.
557
5582012-11-06 Simon J. Gerraty <sjg@bad.crufty.net>
559
560 * install-mk (MK_VERSION): bump version to 20121106
561
5622012-11-05 Simon J. Gerraty <sjg@bad.crufty.net>
563
564 * import latest dirdeps.mk and meta2deps.py from Juniper.
565 * progs.mk: add MAN and CXXFLAGS to PROG_VARS
566 also add PROGS_TARGETS and pass on PROG_CXX if it seems
567 appropriate.
568
5692012-11-04 Simon J. Gerraty <sjg@bad.crufty.net>
570
571 * meta.stage.mk: update CLEANFILES
572 remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
573 * progs.mk: Add LDADD to PROG_VARS
574
5752012-10-12 Simon J. Gerraty <sjg@bad.crufty.net>
576
577 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
578 _STAGED_DIRS so that these can be turned into filters for
579 GENDIRDEPS_FILTER.
580
5812012-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
582
583 * install-mk (MK_VERSION): bump version to 20121010
584 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
585 target.dirdep matches .dirdep
586
5872012-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
588
589 * install-mk (MK_VERSION): bump version to 20120808
590 * import latest meta2deps.py from Juniper.
591
5922012-07-11 Simon J. Gerraty <sjg@bad.crufty.net>
593
594 * install-mk (MK_VERSION): bump version to 20120711
595 * dep.mk: add explicit dependencies on SRCS after applying
596 SRCS_DEP_FILTER
597 * meta.autodep.mk: add explicit dependencies on SRCS after
598 applying SRCS_DEP_FILTER
599 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
600
6012012-06-26 Simon J. Gerraty <sjg@bad.crufty.net>
602
603 * install-mk (MK_VERSION): bump version to 20120626
604 * meta.sys.mk: ignore PYTHON if it does not exist
605 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
606 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
607 entries ending in .${MACHINE} to decide if qualified _dirdep is
608 needed.
609 * gendirdeps.mk: only produce unqualified deps if no
610 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
611 * meta.subdir.mk: apply SUBDIRDEPS_FILTER
612
6132012-04-20 Simon J. Gerraty <sjg@bad.crufty.net>
614
615 * install-mk (MK_VERSION): bump version to 20120420
616 * add sys.dependfile.mk so we can experiment with
617 .MAKE.DEPENDFILE_PREFERENCE
618 * meta.autodep.mk: _DEPENDFILE is precious!
619
6202012-03-15 Simon J. Gerraty <sjg@bad.crufty.net>
621
622 * install-mk (MK_VERSION): bump version to 20120315
623 * install-new.mk: avoid being interrupted
624
6252012-02-26 Simon J. Gerraty <sjg@bad.crufty.net>
626
627 * man.mk: MAN might have multiple values so be careful with exists().
628
6292012-01-19 Simon J. Gerraty <sjg@bad.crufty.net>
630
631 * install-mk (MK_VERSION): bump version to 20120112
632 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
633 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
634
6352011-12-03 Simon J. Gerraty <sjg@bad.crufty.net>
636
637 * install-mk (MK_VERSION): bump version to 20111201
638 * import dirdeps.mk from Juniper sjg@
639 o more consistent handling of DEP_MACHINE, especially when
640 dealing with an odd Makefile.depend, when normally using
641 Makefile.depend.${MACHINE}
642
6432011-11-22 Simon J. Gerraty <sjg@bad.crufty.net>
644
645 * install-mk (MK_VERSION): bump version to 20111122
646 * meta.autodep.mk: add some debug output, be more crisp about
647 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend
648
6492011-11-13 Simon J. Gerraty <sjg@bad.crufty.net>
650
651 * install-mk (MK_VERSION): bump version to 20111111
652 it's too cool to miss
653 * import meta* updates from Juniper sjg@
654 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
655 normally using Makefile.depend.${MACHINE}), handy for
656 read-only manually maintained dependencies.
657 o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
658 o gendirdeps.mk if ERROR: from meta2deps.py do not update
659 anything.
660
6612011-10-30 Simon J. Gerraty <sjg@bad.crufty.net>
662
663 * install-new.mk separate the cmp and copy logic to its own function.
664
6652011-10-28 Simon J. Gerraty <sjg@bad.crufty.net>
666
667 * install-mk (MK_VERSION): bump version to 20111028
668 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
669 * subdir.mk: ensure _SUBDIRUSE is provided
670 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
671 * meta.subdir.mk: always allow for Makefile.depend
672
6732011-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
674
675 * install-mk (MK_VERSION): bump version to 20111010
676 o minor tweak to *dirdeps.mk from Juniper sjg@
677
6782011-10-01 Simon J. Gerraty <sjg@bad.crufty.net>
679
680 * install-mk (MK_VERSION): bump version to 20111001
681 o add meta2deps.py from Juniper sjg@
682 o tweak gendirdeps.mk to work with meta2deps.py when not
683 cross-building
684 * autoconf.mk: add autoconf-input as a hook for regenerating
685 AUTOCONF_INPUTS (configure).
686
6872011-08-24 Simon J. Gerraty <sjg@bad.crufty.net>
688
689 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
690 trigger for updating Makefile.depend*
691
6922011-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
693
694 * install-mk (MK_VERSION): bump version to 20110808
695 * obj.mk: minor cleanup
696 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
697
6982011-08-01 Simon J. Gerraty <sjg@bad.crufty.net>
699
700 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the
701 specified dir.
702
7032011-06-28 Simon J. Gerraty <sjg@bad.crufty.net>
704
705 * meta.autodep.mk: if XMAKE_META_FILE is set
706 the makefile uses a foreign make, and so dependencies
707 can only be gathered from a clean tree build.
708
7092011-06-24 Simon J. Gerraty <sjg@bad.crufty.net>
710
711 * install-mk (MK_VERSION): bump version to 20110622
712 * meta.autodep.mk: improve bootstraping
713
7142011-06-10 Simon J. Gerraty <sjg@bad.crufty.net>
715
716 * yacc.mk: handle the corner case of .c being removed
717 while .h remains.
718
7192011-06-08 Simon J. Gerraty <sjg@bad.crufty.net>
720
721 * yacc.mk: do .y.h and .y.c separately
722
7232011-06-04 Simon J. Gerraty <sjg@bad.crufty.net>
724
725 * install-mk (MK_VERSION): bump version to 20110606
726 * don't store SRC_DIRDEPS in Makefile.depend* by default
727 not everyone needs it.
728
7292011-05-04 Simon J. Gerraty <sjg@bad.crufty.net>
730
731 * install-mk (MK_VERSION): bump version to 20110505
732 first release including meta mode makefiles
733
7342011-05-02 Simon J. Gerraty <sjg@bad.crufty.net>
735
736 * meta.stage.mk: add STAGE_AS_SETS and stage_as
737 for things that need to be staged with different names.
738
7392011-05-01 Simon J. Gerraty <sjg@bad.crufty.net>
740
741 * meta.stage.mk: add notion of STAGE_SETS
742 so a makefile can stage to multiple dirs
743
7442011-04-03 Simon J. Gerraty <sjg@bad.crufty.net>
745
746 * rst2htm.mk: convert rst to s5 (slides) or plain html depending
747 on target name.
748
7492011-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
750
751 * install-mk (MK_VERSION): bump version to 20110330
752
7532011-03-29 Simon J. Gerraty <sjg@bad.crufty.net>
754
755 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
756 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
757 * sys.mk: re-define M_whence in terms of M_type.
758 M_type is useful for checking if something is a builtin.
759
7602011-03-16 Simon J. Gerraty <sjg@bad.crufty.net>
761
762 * meta.stage.mk: add stage_symlinks and leverage StageLinks for
763 stage_libs
764
7652011-03-10 Simon J. Gerraty <sjg@bad.crufty.net>
766
767 * dirdeps.mk: correct value for _depdir_files depends on
768 .MAKE.DEPENDFILE
769 Add our copyright - just to make it clear we have frobbed this
770 quite a bit.
771 DEP_MACHINE needs to be set to MACHINE each time, if using only
772 Makefile.depend (cf. Makefile.depend.${MACHINE})
773
774 * meta.stage.mk: meta mode version of staging
775
776 * init.mk, final.mk: include local.*.mk to simplify customization
777
7782011-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
779
780 * auto.obj.mk: just because we are doing mk destroy, we should
781 still set .OBJDIR correctly if it exists.
782
783 * install-mk (mksrc): do not exclude meta.sys.mk
784
7852011-03-01 Simon J. Gerraty <sjg@bad.crufty.net>
786
787 * host-target.mk: set/export _HOST_ARCH etc separately,
788 catch junk resulting from uname -p, so we can find sys/Linux.mk
789 correctly.
790
7912011-02-18 Simon J. Gerraty <sjg@bad.crufty.net>
792
793 * meta.sys.mk: throw an error if /dev/filemon is missing and we
794 expected to be updating Makefile.depend*
795
7962011-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
797
798 * install-mk (MK_VERSION): bump version to 20110214
799 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
800
8012010-09-25 Simon J. Gerraty <sjg@bad.crufty.net>
802
803 * meta.sys.mk: not valid for older bmake
804
8052010-09-24 Simon J. Gerraty <sjg@bad.crufty.net>
806
807 * install-mk (MK_VERSION): bump version to 20100919
808 include dirdeps.mk et al from Juniper Networks,
809 for meta mode - requires filemon(9).
810 * sys.mk, subdir.mk: Add hooks for meta mode.
811 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
812 to make turning it on/off simple.
813
8142010-06-16 Simon J. Gerraty <sjg@bad.crufty.net>
815
816 * install-mk (MK_VERSION): bump version to 20100616
817 * fix typo in sys.mk
818
8192010-06-12 Simon J. Gerraty <sjg@bad.crufty.net>
820
821 * install-mk (MK_VERSION): bump version to 20100612
822 * lib.mk: remove duplicate addition to SOBJS
823
8242010-06-10 Simon J. Gerraty <sjg@bad.crufty.net>
825
826 * sys.mk: Add a means of selectively turning on debug flags.
827 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
828 will act as if we did make -dv if .CURDIR ends in lib/sjg
829 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
830 the start of sys.mk rather than the end.
831 This only makes sense for leaf dirs, so we check that
832 .MAKE.LEVEL > 0
833
8342010-06-09 Simon J. Gerraty <sjg@bad.crufty.net>
835
836 * install-mk (MK_VERSION): bump version to 20100608
837 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
838 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
839 also make it easier for folk to tweak
840
8412010-06-08 Simon J. Gerraty <sjg@bad.crufty.net>
842
843 * install-mk (MK_VERSION): bump version to 20100606
844 do not install examples/*
845 * FILES: add examples/sys.clean-env.mk
846 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
847 this requires bmake-20100606 or later to work.
848
8492010-05-13 Simon J. Gerraty <sjg@bad.crufty.net>
850
851 * sys.mk (M_tA): better simulate the result of :tA if not available.
852
8532010-05-04 Simon J. Gerraty <sjg@bad.crufty.net>
854
855 * sys.mk: canonicalize MAKE_VERSION
856 old versions reported bmake-<src-date> build-<build-date>
857 whereas we only care about <src-date>
858
8592010-04-25 Simon J. Gerraty <sjg@bad.crufty.net>
860
861 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
862 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION
863 is !empty
864
8652010-04-22 Simon J. Gerraty <sjg@bad.crufty.net>
866
867 * dpadd.mk: use LDADD_* if defined.
868
8692010-04-21 Simon J. Gerraty <sjg@bad.crufty.net>
870
871 * install-mk (MK_VERSION): bump version to 20100420
872 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
873 * autoconf.mk allow AUTO_AUTOCONF
874
8752010-04-19 Simon J. Gerraty <sjg@bad.crufty.net>
876
877 * obj.mk: add objwarn to keep freebsd makefiles happy
878 * auto.obj.mk: ensure Mkdirs is available.
879 * FILES: add auto.dep.mk - a simpler version of autodep.mk
880 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
881 asked to do that.
882 fix/simplify the tests for when to run mkdep.
883 * auto.dep.mk: add some explanation of how/what we do.
884 * autodep.mk: skip the .OPTIONAL frobbing of .depend
885 bmake's FROM_DEPEND flag makes it redundant.
886
8872010-04-13 Simon J. Gerraty <sjg@bad.crufty.net>
888
889 * install-mk (MK_VERSION): bump version to 20100404
890 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
891 * obj.mk: protect from multiple inclusion even as bsd.obj.mk
892 Also create a target _SUBDIRUSE so that we can be used without
893 subdir.mk
894
8952010-04-12 Simon J. Gerraty <sjg@bad.crufty.net>
896
897 * dep.mk: use <> when .including so can override.
898
8992010-01-11 Simon J. Gerraty <sjg@bad.crufty.net>
900
901 * lib.mk (SHLIB_LINKS): ensure a string comparison.
902
9032010-01-04 Simon J. Gerraty <sjg@bad.crufty.net>
904
905 * install-mk (MK_VERSION): bump version to 20100102
906 * own.mk: ensure PRINTOBJDIR works
907 * autoconf.mk: pass on CONFIGURE_ARGS
908 * init.mk: handle COPTS.${.IMPSRC:T} etc.
909 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION
910 fix handling of symlinks for darwin
911 * libnames.mk: add DSHLIBEXT for libs which only exist as shared.
912 * man.mk: suppress chown when not root.
913 * rst2htm.mk: allow srcs from multiple locations.
914 * sys.mk: M_whence, stop after 1st line of output.
915 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
916 * sys/SunOS.mk: we need to export PATH
917
9182009-12-23 Simon J. Gerraty <sjg@void.crufty.net>
919
920 * install-mk (MK_VERSION): bump version
921 include rst2htm.mk
922
9232009-12-17 Simon J. Gerraty <sjg@void.crufty.net>
924
925 * sys.mk,libnames.mk add .-include <local.*>
926 this allows local customization without the need to edit the
927 distributed files.
928
9292009-12-14 Simon J. Gerraty <sjg@void.crufty.net>
930
931 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
932 older versions already installed.
933
9342009-12-13 Simon J. Gerraty <sjg@void.crufty.net>
935
936 * stage.mk (.stage-install): generalize lib.mk's .libinstall
937 * rules.mk rules for generic Makefile.
938 * inc.mk install for includes.
939
9402009-12-11 Simon J. Gerraty <sjg@void.crufty.net>
941
942 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
943 this, so provide it if using native make.
944
9452009-12-10 Simon J. Gerraty <sjg@void.crufty.net>
946
947 * FILES: move all the platform *.sys.mk files to sys/*.mk
948 * Rename Generic.sys.mk to sys.mk - we always want it.
949
9502009-11-17 Simon J. Gerraty <sjg@void.crufty.net>
951
952 * install-mk (MK_VERSION): bump version
953 * host-target.mk: only export the expensive stuff
954 * Generic.sys.mk (sys_mk): for SunOS we need to look for
955 ${HOST_OS}.${HOST_OSMAJOR} too!
956
9572009-11-07 Simon J. Gerraty <sjg@void.crufty.net>
958
959 * install-mk (MK_VERSION): bump version
960 * lib.mk: if sys.mk doesn't give us an lorder, don't use it.
961 based on patch from Greg Olszewski.
962 * Generic.sys.mk: if we have nothing to work with
963 set LORDER etc only if we can find it.
964
9652009-09-08 Simon J. Gerraty <sjg@void.crufty.net>
966
967 * install-mk (MK_VERSION): bump version
968 * man.mk: cleanman: remove CLEANMAN if defined.
969
9702009-09-04 Simon J. Gerraty <sjg@void.crufty.net>
971
972 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
973
9742009-07-17 Simon J. Gerraty <sjg@void.crufty.net>
975
976 * install-mk (MK_VERSION): bump version
977 include auto.obj.mk
978
979
9802009-03-26 Simon J. Gerraty <sjg@void.crufty.net>
981
982 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
983
9842008-11-11 Simon J. Gerraty <sjg@void.crufty.net>
985
986 * install-mk (MK_VERSION): bump version
987 man.mk: ensure we generate *.cat1 etc in .
988
9892008-07-16 Simon J. Gerraty <sjg@void.crufty.net>
990
991 * install-mk (MK_VERSION): bump version
992 add prlist.mk
993
9942007-11-25 Simon J. Gerraty <sjg@void.crufty.net>
995
996 * Generic.sys.mk: Allow os specific sys.mk to be in a
997 subdir of ${.PARSEDIR}
998
9992007-11-22 Simon J. Gerraty <sjg@void.crufty.net>
1000
1001 * install-mk (MK_VERSION): bump version
1002 * general cleanup
1003 * dpadd.mk introduce DPMAGIC_LIBS_*
1004
10052007-04-30 Simon J. Gerraty <sjg@void.crufty.net>
1006
1007 * install-mk (MK_VERSION): bump version
1008
1009 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog
1010 depend files and ensure clean is called for each lib/prog.
1011
10122007-03-27 Simon J. Gerraty <sjg@void.crufty.net>
1013
1014 * autodep.mk (.depend): delete lines that do not start with
1015 space and do not contain ':'
1016
10172007-02-16 Simon J. Gerraty <sjg@void.crufty.net>
1018
1019 * autodep.mk (.depend): gcc may wrap lines if pathnames are long
1020 so make sure the transform for .OPTIONAL copes.
1021
10222007-02-03 Simon J. Gerraty <sjg@void.crufty.net>
1023
1024 * install-mk (MK_VERSION): bump version
1025
1026 * own.mk: make sure RM and LN are defined.
1027
1028 * obj.mk: fix a typo, and objlink target.
1029
10302006-12-30 Simon J. Gerraty <sjg@void.crufty.net>
1031
1032 * install-mk (MK_VERSION): bump version
1033 * added libs.mk - analogous to progs.mk
1034 make both of them always inlcude {lib,prog}.mk
1035
10362006-12-28 Simon J. Gerraty <sjg@void.crufty.net>
1037
1038 * progs.mk: add a means of building multiple apps in one dir.
1039
10402006-11-26 Simon J. Gerraty <sjg@void.crufty.net>
1041
1042 * install-mk (MK_VERSION): bump version to 20061126
1043
1044 * warnings.mk: detect invalid WARNINGS_SET
1045
1046 * warnings.mk: use ${.TARGET:T:R}.o when looking for target
1047 specific warnings.
1048
1049 * For .cc sources, turn off warnings that g++ vomits on.
1050
10512006-11-08 Simon J. Gerraty <sjg@void.crufty.net>
1052
1053 * own.mk: if __initialized__ target doesn't exist and we are
1054 FreeBSD we got here directly from sys.mk
1055
10562006-11-06 Simon J. Gerraty <sjg@void.crufty.net>
1057
1058 * install-mk (MK_VERSION): bump version to 20061106
1059 add scripts.mk
1060
10612006-03-18 Simon J. Gerraty <sjg@void.crufty.net>
1062
1063 * install-mk (MK_VERSION): bump version to 20060318
1064
1065 * autodep.mk: avoid := when modifying OBJS into __dependsrcs
1066
10672006-03-02 Simon J. Gerraty <sjg@void.crufty.net>
1068
1069 * install-mk (MK_VERSION): bump version to 20060302
1070 * autodep.mk: use -MF et al to help gcc+ccache DTRT.
1071
10722006-03-01 Simon J. Gerraty <sjg@void.crufty.net>
1073
1074 * install-mk (MK_VERSION): bump version to 20060301
1075 * autodep.mk (.depend):
1076 if MAKE_VERSION is newer than 20050530 we can make .END depend on
1077 .depend and make .depend depend on __depsrcs that exist.
1078 * dpadd.mk: add SRC_PATHADD
1079
10802005-11-04 Simon J. Gerraty <sjg@void.crufty.net>
1081
1082 * install-mk (MK_VERSION): bump version to 20051104
1083 * prog.mk: remove all the LIBC?= junk, use
1084 .-include libnames.mk instead (none by default).
1085 also if USE_DPADD_MK is set, include that.
1086
10872005-10-09 Simon J. Gerraty <sjg@void.crufty.net>
1088
1089 * install-mk (MK_VERSION): bump version to 20051001
1090 Add UnixWare.sys.mk from Klaus Heinz.
1091
10922005-04-05 Simon J. Gerraty <sjg@void.crufty.net>
1093
1094 * install-mk: always install *.sys.mk and if need be symlink one
1095 to sys.mk
1096
10972005-03-22 Simon J. Gerraty <sjg@void.crufty.net>
1098
1099 * subdir.mk, own.mk: use .MAKE rather than MAKE
1100
11012004-02-15 Simon J. Gerraty <sjg@void.crufty.net>
1102
1103 * own.mk: don't use NetBSD's _SRC_TOP_ it can
1104 cause confusion. Also don't take just 'mk' as a
1105 srctop indicator.
1106
11072004-02-14 Simon J. Gerraty <sjg@void.crufty.net>
1108
1109 * warnings.mk: overhauled, now very powerful.
1110
11112004-02-03 Simon J. Gerraty <sjg@void.crufty.net>
1112
1113 * Generic.sys.mk: need to use ${.PARSEDIR} with exists().
1114
11152004-02-01 Simon J. Gerraty <sjg@void.crufty.net>
1116
1117 * install-mk (MK_VERSION): bump version to 20040201
1118 * extract HOST_TARGET stuff to host-target.mk so own.mk and
1119 Generic.sys.mk can share.
1120 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
1121
11222003-09-30 Simon J. Gerraty <sjg@void.crufty.net>
1123
1124 * install-mk (MK_VERSION): 20030930
1125 * rename generic.sys.mk to Generic.sys.mk
1126 so that it does not get installed (unless being used as sys.mk)
1127 * set OS and ROOT_GROUP for those that we know the value.
1128 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
1129 we don't do it again for each sub-make.
1130
11312003-09-28 Simon J. Gerraty <sjg@void.crufty.net>
1132
1133 * install-mk (MK_VERSION): 20030928
1134 Add some extra *.sys.mk from bootstrap-pkgsrc
1135 some of these likely still need work.
1136 Make everything default to root:wheel ownership,
1137 sys.mk can set ROOT_GROUP accordingly.
1138
11392003-08-07 Simon J. Gerraty <sjg@void.crufty.net>
1140
1141 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
1142 not the portable ones.
1143
11442003-07-31 Simon J. Gerraty <sjg@void.crufty.net>
1145
1146 * install-mk: add ability to use cp -f when updating
1147 destination .mk files. Also now possible to play games with
1148 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
1149 into dest - not recommended unless you seriously want to.
1150
11512003-07-28 Simon J. Gerraty <sjg@void.crufty.net>
1152
1153 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
1154 for semi-compatability with NetBSD.
1155
11562003-07-23 Simon J. Gerraty <sjg@void.crufty.net>
1157
1158 * install-mk: add a version indicator
1159
11602003-07-22 Simon J. Gerraty <sjg@void.crufty.net>
1161
1162 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null
1163
1164 * install-mk: Allow FORCE_SYS_MK to come from env
1165
1166
1167
2
3 * install-mk (MK_VERSION): 20160512
4
5 * dpadd.mk: always include local.dpadd.mk if it exists
6 remove some things that better belong in local.dpadd.mk
7 skip INCLUDES_* for staged libs unless SRC_* defined.
8
9 * own.mk: add INCLUDEDIR
10
112016-04-18 Simon J. Gerraty <sjg@bad.crufty.net>
12
13 * dirdeps.mk: when doing -f dirdeps.mk if target suppies no
14 TARGET_MACHINE - :E will be empty or match part of path, use
15 ${MACHINE}
16
172016-04-07 Simon J. Gerraty <sjg@bad.crufty.net>
18
19 * meta.autodep.mk: issue a warning if UPDATE_DEPENDFILE=NO due to
20 NO_FILEMON_COOKIE
21
22 * dirdeps.mk: move the logic that allows for
23 make -f dirdeps.mk some/dir.${TARGET_SPEC}
24 inside the check for !target(_DIRDEP_USE)
25
262016-04-04 Simon J. Gerraty <sjg@bad.crufty.net>
27
28 * Use <> when including local*.mk and others which may exist
29 elsewhere so that user can better control what they get.
30
31 * meta.autodep.mk (NO_FILEMON_COOKIE):
32 create a cookie if we ever build dir with nofilemon
33 so that UPDATE_DEPENDFILE will be forced to NO until cleaned.
34
352016-04-01 Simon J. Gerraty <sjg@bad.crufty.net>
36
37 * install-mk (MK_VERSION): 20160401
38
39 * meta2deps.py: fix old print statement when debugging.
40
41 * gendirdeps.mk: META2DEPS_CMD append M2D_EXCLUDES with -X
42 patch from Bryan Drewery
43
442016-03-22 Simon J. Gerraty <sjg@bad.crufty.net>
45
46 * install-mk (MK_VERSION): 20160317 (St. Pats)
47
48 * warnings.mk: g++ does not like -Wimplicit
49
50 * sys.mk sys/*.mk lib.mk prog.mk: use CXX_SUFFIXES to handle the
51 pelthora of common suffixes for C++
52
53 * lib.mk: use .So for shared objects
54
552016-03-15 Simon J. Gerraty <sjg@bad.crufty.net>
56
57 * install-mk (MK_VERSION): 20160315
58
59 * meta.stage.mk (LN_CP_SCRIPT): do not ln(1) if we have to chmod(1)
60 normally only applies to scripts.
61
62 * dirdeps.mk: NO_DIRDEPS_BELOW to supress DIRDEPS below RELDIR as
63 well as outside it.
64
652016-03-10 Simon J. Gerraty <sjg@bad.crufty.net>
66
67 * install-mk (MK_VERSION): 20160310
68
69 * dirdeps.mk: use targets rather than a list to track DIRDEPS that
70 we have processed; the list gets very inefficient as number of
71 DIRDEPS gets large.
72
73 * sys.dependfile.mk: fix comment wrt MACHINE
74
75 * meta.autodep.mk: ignore staged DPADDs when bootstrapping.
76 patch from Bryan Drewery
77
782016-03-02 Simon J. Gerraty <sjg@bad.crufty.net>
79
80 * meta2deps.sh: don't ignore subdirs.
81 patch from Bryan Drewery
82
832016-02-26 Simon J. Gerraty <sjg@bad.crufty.net>
84
85 * install-mk (MK_VERSION): 20160226
86
87 * gendirdeps.mk: mark _DEPENDFILE .NOMETA
88
892016-02-20 Simon J. Gerraty <sjg@bad.crufty.net>
90
91 * dirdeps.mk: we shouldn't normally include .depend but if we do
92 use .dinclude if we can.
93
942016-02-18 Simon J. Gerraty <sjg@bad.crufty.net>
95
96 * install-mk (MK_VERSION): 20160218
97 * sys.clean-env.mk: with recent change to Var_Subst()
98 we cannot use the '$$' trick, but .export-literal does the job
99 we need.
100 * auto.dep.mk: make use .dinclude if we can.
101
102
1032016-02-05 Simon J. Gerraty <sjg@bad.crufty.net>
104
105 * dirdeps.mk:
106 Add _build_all_dirs such that local.dirdeps.mk can
107 add fully qualified dirs to it.
108 These will be built normally but the current
109 DEP_RELDIR will not depend on then (to avoid cycles).
110 This makes it easy to hook things like unit-tests into build.
111
112
1132016-01-21 Simon J. Gerraty <sjg@bad.crufty.net>
114
115 * dirdeps.mk: add bootstrap-empty
116
1172015-12-12 Simon J. Gerraty <sjg@bad.crufty.net>
118
119 * install-mk (MK_VERSION): 20151212
120 * auto.obj.mk: do not require MAKEOBJDIRPREFIX to exist.
121 only apply :tA to __objdir when comparing to .OBJDIR
122
1232015-11-14 Simon J. Gerraty <sjg@bad.crufty.net>
124
125 * install-mk (MK_VERSION): 20151111
126
127 * meta.sys.mk: include sys.dependfile.mk
128
129 * sys.mk (OPTIONS_DEFAULT_NO): use options.mk
130 to set MK_AUTO_OBJ and MK_DIRDEPS_BUILD
131 include local.sys.env.mk early
132 include local.sys.mk later
133
134 * own.mk (OPTIONS_DEFAULT_NO): AUTO_OBJ etc moved to sys.mk
135
1362015-11-13 Simon J. Gerraty <sjg@bad.crufty.net>
137
138 * meta.sys.mk (META_COOKIE_TOUCH):
139 add ${META_COOKIE_TOUCH} to the end of scripts to touch cookie
140
141 * meta.stage.mk: stage_libs should ignore SYMLINKS.
142
1432015-10-23 Simon J. Gerraty <sjg@bad.crufty.net>
144
145 * install-mk (MK_VERSION): 20151022
146
147 * sys.mk: BSD/OS does not have 'type' as a shell builtin.
148
1492015-10-20 Simon J. Gerraty <sjg@bad.crufty.net>
150
151 * install-mk (MK_VERSION): 20151020
152
153 * dirdeps.mk: Add logic for
154 make -f dirdeps.mk some/dir.${TARGET_SPEC}
155
1562015-10-14 Simon J. Gerraty <sjg@bad.crufty.net>
157
158 * install-mk (MK_VERSION): 20151010
159
1602015-10-02 Simon J. Gerraty <sjg@bad.crufty.net>
161
162 * meta.stage.mk: use staging: ${STAGE_TARGETS:...
163 to have stage_lins run last in non-jobs mode.
164 Use .ORDER only for jobs mode.
165
1662015-09-02 Simon J. Gerraty <sjg@bad.crufty.net>
167
168 * rst2htm.mk: allow for per target flags etc.
169
1702015-09-01 Simon J. Gerraty <sjg@bad.crufty.net>
171
172 * install-mk (MK_VERSION): 20150901
173
174 * doc.mk: create dir if needed use DOC_INSTALL_OWN
175
1762015-06-15 Simon J. Gerraty <sjg@bad.crufty.net>
177
178 * install-mk (MK_VERSION): 20150615
179
180 * auto.obj.mk: allow use of MAKEOBJDIRPREFIX too.
181 Follow make's normal precedence rules.
182
183 * gendirdeps.mk: allow customization of the header.
184 eg. for FreeBSD:
185 GENDIRDEPS_HEADER= echo '\# ${FreeBSD:L:@v@$$$v$$ @:M*F*}';
186
187 * meta.autodep.mk: ignore dirdeps.cache*
188
189 * meta.stage.mk: when bootstrapping options it can be handy to
190 throw warnings rather than errors for staging conflicts.
191
192 * meta.sys.mk: include local.meta.sys.mk for customization
193
1942015-06-06 Simon J. Gerraty <sjg@bad.crufty.net>
195
196 * install-mk (MK_VERSION): 20150606
197
198 * dirdeps.mk: don't rely on manually maintained Makefile.depend
199 to set DEP_RELDIR and reset DIRDEPS.
200 By setting DEP_RELDIR ourselves we can skip :tA
201
202 * gendirdeps.mk: skip setting DEP_RELDIR.
203
2042015-05-24 Simon J. Gerraty <sjg@bad.crufty.net>
205
206 * dirdeps.mk: avoid wildcards like make(bootstrap*)
207
2082015-05-20 Simon J. Gerraty <sjg@bad.crufty.net>
209
210 * install-mk (MK_VERSION): 20150520
211
212 * dirdeps.mk: when we are building dirdeps cache file we *want*
213 meta_oodate to look at all the Makefile.depend files, so
214 set .MAKE.DEPENDFILE to something that won't match.
215
216 * meta.stage.mk: for STAGE_AS_* basename of file may not be unique
217 so first use absolute path as key.
218 Also skip staging at level 0.
219
2202015-04-30 Simon J. Gerraty <sjg@bad.crufty.net>
221
222 * install-mk (MK_VERSION): 20150430
223
224 * dirdeps.mk: fix _count_dirdeps for non-cache case.
225
2262015-04-16 Simon J. Gerraty <sjg@bad.crufty.net>
227
228 * install-mk (MK_VERSION): 20150411
229 bump version
230
231 * own.mk: put AUTO_OBJ in OPTIONS_DEFAULT_NO rather than YES.
232 it is here mainly for documentation purposes, since
233 if using auto.obj.mk it is better done via sys.mk
234
2352015-04-01 Simon J. Gerraty <sjg@bad.crufty.net>
236
237 * install-mk (MK_VERSION): 20150401
238
239 * meta2deps.sh: support @list
240
241 * meta2deps.py: updates from Juniper
242 o add EXCLUDES
243 o skip bogus input files.
244 o treat 'M' and 'L' as both an 'R' and a 'W'
245
2462015-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
247
248 * install-mk (MK_VERSION): 20150303
249
250 * dirdeps.mk: if MK_DIRDEPS_CACHE is yes, use dirdeps-cache
251 which is built via sub-make so we have a .meta file to tell if
252 it is out-of-date.
253 The dirdeps-cache contains the same dependency rules that we
254 normaly construct on the fly.
255 This adds a few seconds overhead when the cache is out of date,
256 but for a large target, the savings can be significant (10-20min).
257
2582014-11-18 Simon J. Gerraty <sjg@bad.crufty.net>
259
260 * install-mk (MK_VERSION): 20141118
261
262 * meta.stage.mk: add stale_staged
263
264 * dirdeps.mk (_DIRDEP_USE_LEVEL): allow this to be tweaked
265 only useful under very rare conditions such as
266 FreeBSD's make universe.
267
268 * auto.obj.mk: Allow MK_AUTO_OBJ to set MKOBJDIRS=auto
269
2702014-11-11 Simon J. Gerraty <sjg@bad.crufty.net>
271
272 * install-mk (MK_VERSION): 20141111
273
274 * mkopt.sh: use consistent semantics for _mk_opt and _mk_opts
275
2762014-11-09 Simon J. Gerraty <sjg@bad.crufty.net>
277
278 * FILES: include mkopt.sh which allows handling options in shell
279 scripts in a manner compatible with options.mk
280
2812014-10-12 Simon J. Gerraty <sjg@bad.crufty.net>
282
283 * meta.stage.mk: ensure only _STAGED_DIRS under objroot are used
284 for GENDIRDEPS_FILTER to avoid surprises.
285
2862014-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
287
288 * dirdeps.mk (NSkipHostDir): this needs SRCTOP prepended since by
289 the time it is applied to __depdirs they have.
290
291 * dirdeps.mk fix filtering of _machines since M_dep_qual_fixes
292 expects patterns like *.${MACHINE}
293
294 * cython.mk (pyprefix?): use pyprefix to find python bits
295 since prefix might be something else (where we install our
296 stuff)
297
2982014-09-11 Simon J. Gerraty <sjg@bad.crufty.net>
299
300 * install-mk (MK_VERSION): 20140911
301
302 * dirdeps.mk: add bootstrap target to simplify adding support for
303 new MACHINE.
304
3052014-09-01 Simon J. Gerraty <sjg@bad.crufty.net>
306
307 * gendirdeps.mk: Add handling of GENDIRDEPS_FILTER_DIR_VARS and
308 GENDIRDEPS_FILTER_VARS to make it easier to produce sharable
309 Makefile.depend files.
310
3112014-08-28 Simon J. Gerraty <sjg@bad.crufty.net>
312
313 * install-mk (MK_VERSION): 20140828
314
315 * cython.mk: capture logic for building python extension modules
316 with Cython.
317
3182014-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
319
320 * meta.stage.mk (_STAGE_AS_BASENAME_USE): Add StageAs variant
321
3222014-08-02 Simon J. Gerraty <sjg@bad.crufty.net>
323
324 * install-mk (MK_VERSION): 20140801
325
326 * dep.mk: use explicit MKDEP_MK rather than overload MKDEP to
327 identify the autodep.mk variant.
328
329 * sys.dependfile.mk: delete .MAKE.DEPENDFILE if its
330 initial value does not match .MAKE.DEPENDFILE_PREFIX
331
332 * meta.autodep.mk: if _bootstrap_dirdeps add RELDIR to DIRDEPS
333
3342014-05-22 Simon J. Gerraty <sjg@bad.crufty.net>
335
336 * install-mk (MK_VERSION): 20140522
337
338 * lib.mk: use CC to link shlib for linux too
339 patch from Brendan MacDonell
340
3412014-05-05 Simon J. Gerraty <sjg@bad.crufty.net>
342
343 * meta.autodep.mk: add _reldir_{finish,failed} for gathering stats
344 if WITH_META_STATS is defined.
345
3462014-05-02 Simon J. Gerraty <sjg@bad.crufty.net>
347
348 * dirdeps.mk: accept -DWITHOUT_DIRDEPS (same a as -DNO_DIRDEPS)
349 to supress dirdeps outside of .CURDIR.
350
3512014-04-05 Simon J. Gerraty <sjg@bad.crufty.net>
352
353 * Fix spelling errors - patch from Pedro Giffuni
354
3552014-03-14 Simon J. Gerraty <sjg@bad.crufty.net>
356
357 * install-mk (MK_VERSION): 20140314
358
359 * dirdeps.mk (beforedirdeps): a handy hook
360
361 * dirdeps.mk (DIRDEP_MAKE): allow the actual command we run
362 to visit leaf dirs to be intercepted (eg. for distributed
363 build).
364
365 * dirdeps.mk (__depdirs): ensure // don't sneak in
366
367 * gendirdeps.mk (DIRDEPS): ensure // don't sneak in
368
369
3702014-02-21 Simon J. Gerraty <sjg@bad.crufty.net>
371
372 * rst2htm.mk (RST2PDF): add support for rst2pdf
373
3742014-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
375
376 * install-mk (MK_VERSION): bump version
377 * dirdeps.mk (_last_dependfile): use .INCLUDEDFROMFILE if
378 available.
379
3802014-02-10 Simon J. Gerraty <sjg@bad.crufty.net>
381
382 * options.mk: avoid :U so this isn't bmake dependent
383
3842014-02-09 Simon J. Gerraty <sjg@bad.crufty.net>
385
386 * options.mk: cleanup and simplify semanitcs
387 NO_* dominates all, if both WITH_* and WITHOUT_*
388 are defined then result is DOMINATE_* which defaults to "no".
389 Ie. WITHOUT_ normally wins.
390
3912013-12-12 Simon J. Gerraty <sjg@bad.crufty.net>
392
393 * install-mk (MK_VERSION): bump version
394 * meta2deps.py: convert to print function for python3 compat.
395 we also need to open files with mode 'r' rather than 'rb'
396 otherwise we get bytes instead of strings.
397
3982013-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
399
400 * install-mk (MK_VERSION): bump version
401
402 * dirdeps.mk: when TARGET_SPEC_VARS is more than just MACHINE
403 apply the same filtering (M_dep_qual_fixes) when setting _machines
404 as _build_dirs.
405 Also fix the filtering of Makefile.depend files - for reporting
406 what we are looking for (M_dep_qual_fixes can get confused by
407 Makefile.depend)
408 Add some more debug info.
409
4102013-09-04 Simon J. Gerraty <sjg@bad.crufty.net>
411
412 * gendirdeps.mk (_objtops): fix typo also
413 while processing M2D_OBJROOTS to gather qualdir_list
414 qualify $ql with loop iterator to ensure correct results.
415
4162013-08-01 Simon J. Gerraty <sjg@bad.crufty.net>
417
418 * install-mk (MK_VERSION): 20130801
419 * libs.mk: update to match progs.mk
420
4212013-07-26 Simon J. Gerraty <sjg@bad.crufty.net>
422
423 * install-mk (MK_VERSION): 20130726
424 some updates from Juniper and FreeBSD
425 o meta2deps.py: indicate file and line number when we hit parse
426 errors
427 also allow @file to provide huge list of .meta files.
428 * meta2deps.py: add try_parse() to cleanup the above.
429
4302013-07-16 Simon J. Gerraty <sjg@bad.crufty.net>
431
432 * install-mk (MK_VERSION): 20130716
433 * own.mk: add GPROG as an option
434 * prog.mk: honor MK_GPROF==yes
435
4362013-05-10 Simon J. Gerraty <sjg@bad.crufty.net>
437
438 * install-mk (MK_VERSION): 20130505
439 * gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
440 for when $MACHINE isn't enough for objdir distinction.
441 Bring meta2deps.sh closer to par with meta2deps.py.
442
4432013-04-18 Simon J. Gerraty <sjg@bad.crufty.net>
444
445 * meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
446 also if the target 'beforeinstall' exists, make it depend on
447 .dirdep (incase it uses STAGE_INSTALL).
448
4492013-04-17 Simon J. Gerraty <sjg@bad.crufty.net>
450
451 * install-mk (MK_VERSION): 20130401 ;-)
452 * meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
453 wrapper around install(1).
454 * options.mk (OPTION_PREFIX): Allow a prefix other than MK_
455
4562013-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
457
458 * meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
459 * install-mk (MK_VERSION): bump version
460
4612013-03-21 Simon J. Gerraty <sjg@bad.crufty.net>
462
463 * install-mk (MK_VERSION): bump version
464 * gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
465 any trailing /., rather apply :tA only when needed.
466 * gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
467 * meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
468 consistently.
469 * dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
470
4712013-03-18 Simon J. Gerraty <sjg@bad.crufty.net>
472
473 * gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
474 it is simpler to just not update when say building for "host"
475 (where we know we apply filters to DIRDEPS), and using a
476 non-machine qualified dependfile.
477
4782013-03-16 Simon J. Gerraty <sjg@bad.crufty.net>
479
480 * dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
481 and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
482 * gendirdeps.mk: ensure _objroot has trailing / if it needs it.
483 * meta2deps.py: if machine is "host", then also trim
484 self.host_target from any OBJROOTS.
485
486
4872013-03-11 Simon J. Gerraty <sjg@bad.crufty.net>
488
489 * gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
490 qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
491 but _DEPENDFILE does not, compare the new _DEPENDFILE against
492 .MAKE.DEPENDFILE_DEFAULT and discard if the same.
493
4942013-03-08 Simon J. Gerraty <sjg@bad.crufty.net>
495
496 * meta.stage.mk: use STAGE_TARGETS to control .ORDER
497 and hook to all: via staging:
498
4992013-03-07 Simon J. Gerraty <sjg@bad.crufty.net>
500
501 * sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
502 use a separate variable for the default .MAKE.DEPENDFILE value
503 so that it can be controlled independently of
504 .MAKE.DEPENDFILE_PREFERENCE
505
506 * meta.stage.mk: throw error if cp fails etc.
507 Stage*() return early if passed no args.
508 .ORDER stage_*
509
5102013-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
511
512 * install-mk (MK_VERSION): bump version
513 * gendirdeps.mk: handle multiple M2D_OBJROOTS better.
514
5152013-02-10 Simon J. Gerraty <sjg@bad.crufty.net>
516
517 * install-mk (MK_VERSION): bump version to 20130210
518 * import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
519 from Juniper.
520 o dirdeps.mk now fully supports TARGET_SPEC consisting of more
521 than just MACHINE.
522 o no longer use DEP_MACHINE from Makefile.depend* so remove it.
523
5242013-01-23 Simon J. Gerraty <sjg@bad.crufty.net>
525
526 * install-mk (MK_VERSION): bump version to 20130123
527 * meta.stage.mk: add stage_links (hard links).
528 if doing hard links, we add dest to link as well.
529 Default the stage dir for [sym]links to STAGE_OBJTOP since
530 these are typically specified as absolute paths.
531 Add -m "mode" flag to StageFiles and StageAs.
532
5332012-11-11 Simon J. Gerraty <sjg@bad.crufty.net>
534
535 * install-mk (MK_VERSION): bump version to 20121111
536 * autoconf.mk: avoid meta mode seeing changed commands for config.status
537 * meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
538 in case we were found via .../mk
539 * sys.clean-env.mk: move it from examples, we and others use it
540 "as is".
541 * FILES: add srctop.mk and options.mk
542 * own.mk: convert to using options.mk
543 which is modeled after FreeBSD's handling of MK_*
544 but more flexible.
545 This allows MK_* for boolean knobs to not be confused
546 with MK* which can be commands.
547
548 * examples/sys.clean-env.mk: add WITH[OUT]_ to
549 MAKE_ENV_SAVE_PREFIX_LIST.
550 Mention that HOME=/var/empty might be a good idea.
551
5522012-11-08 Simon J. Gerraty <sjg@bad.crufty.net>
553
554 * sys.dependfile.mk: if not depend file exists, $MACHINE
555 specific ones are supported but not the default,
556 check if any exist and follow suit.
557
5582012-11-06 Simon J. Gerraty <sjg@bad.crufty.net>
559
560 * install-mk (MK_VERSION): bump version to 20121106
561
5622012-11-05 Simon J. Gerraty <sjg@bad.crufty.net>
563
564 * import latest dirdeps.mk and meta2deps.py from Juniper.
565 * progs.mk: add MAN and CXXFLAGS to PROG_VARS
566 also add PROGS_TARGETS and pass on PROG_CXX if it seems
567 appropriate.
568
5692012-11-04 Simon J. Gerraty <sjg@bad.crufty.net>
570
571 * meta.stage.mk: update CLEANFILES
572 remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
573 * progs.mk: Add LDADD to PROG_VARS
574
5752012-10-12 Simon J. Gerraty <sjg@bad.crufty.net>
576
577 * meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
578 _STAGED_DIRS so that these can be turned into filters for
579 GENDIRDEPS_FILTER.
580
5812012-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
582
583 * install-mk (MK_VERSION): bump version to 20121010
584 * meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
585 target.dirdep matches .dirdep
586
5872012-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
588
589 * install-mk (MK_VERSION): bump version to 20120808
590 * import latest meta2deps.py from Juniper.
591
5922012-07-11 Simon J. Gerraty <sjg@bad.crufty.net>
593
594 * install-mk (MK_VERSION): bump version to 20120711
595 * dep.mk: add explicit dependencies on SRCS after applying
596 SRCS_DEP_FILTER
597 * meta.autodep.mk: add explicit dependencies on SRCS after
598 applying SRCS_DEP_FILTER
599 * meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
600
6012012-06-26 Simon J. Gerraty <sjg@bad.crufty.net>
602
603 * install-mk (MK_VERSION): bump version to 20120626
604 * meta.sys.mk: ignore PYTHON if it does not exist
605 compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
606 * meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
607 entries ending in .${MACHINE} to decide if qualified _dirdep is
608 needed.
609 * gendirdeps.mk: only produce unqualified deps if no
610 .MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
611 * meta.subdir.mk: apply SUBDIRDEPS_FILTER
612
6132012-04-20 Simon J. Gerraty <sjg@bad.crufty.net>
614
615 * install-mk (MK_VERSION): bump version to 20120420
616 * add sys.dependfile.mk so we can experiment with
617 .MAKE.DEPENDFILE_PREFERENCE
618 * meta.autodep.mk: _DEPENDFILE is precious!
619
6202012-03-15 Simon J. Gerraty <sjg@bad.crufty.net>
621
622 * install-mk (MK_VERSION): bump version to 20120315
623 * install-new.mk: avoid being interrupted
624
6252012-02-26 Simon J. Gerraty <sjg@bad.crufty.net>
626
627 * man.mk: MAN might have multiple values so be careful with exists().
628
6292012-01-19 Simon J. Gerraty <sjg@bad.crufty.net>
630
631 * install-mk (MK_VERSION): bump version to 20120112
632 * fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
633 as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
634
6352011-12-03 Simon J. Gerraty <sjg@bad.crufty.net>
636
637 * install-mk (MK_VERSION): bump version to 20111201
638 * import dirdeps.mk from Juniper sjg@
639 o more consistent handling of DEP_MACHINE, especially when
640 dealing with an odd Makefile.depend, when normally using
641 Makefile.depend.${MACHINE}
642
6432011-11-22 Simon J. Gerraty <sjg@bad.crufty.net>
644
645 * install-mk (MK_VERSION): bump version to 20111122
646 * meta.autodep.mk: add some debug output, be more crisp about
647 updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend
648
6492011-11-13 Simon J. Gerraty <sjg@bad.crufty.net>
650
651 * install-mk (MK_VERSION): bump version to 20111111
652 it's too cool to miss
653 * import meta* updates from Juniper sjg@
654 o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
655 normally using Makefile.depend.${MACHINE}), handy for
656 read-only manually maintained dependencies.
657 o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
658 o gendirdeps.mk if ERROR: from meta2deps.py do not update
659 anything.
660
6612011-10-30 Simon J. Gerraty <sjg@bad.crufty.net>
662
663 * install-new.mk separate the cmp and copy logic to its own function.
664
6652011-10-28 Simon J. Gerraty <sjg@bad.crufty.net>
666
667 * install-mk (MK_VERSION): bump version to 20111028
668 * sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
669 * subdir.mk: ensure _SUBDIRUSE is provided
670 * meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
671 * meta.subdir.mk: always allow for Makefile.depend
672
6732011-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
674
675 * install-mk (MK_VERSION): bump version to 20111010
676 o minor tweak to *dirdeps.mk from Juniper sjg@
677
6782011-10-01 Simon J. Gerraty <sjg@bad.crufty.net>
679
680 * install-mk (MK_VERSION): bump version to 20111001
681 o add meta2deps.py from Juniper sjg@
682 o tweak gendirdeps.mk to work with meta2deps.py when not
683 cross-building
684 * autoconf.mk: add autoconf-input as a hook for regenerating
685 AUTOCONF_INPUTS (configure).
686
6872011-08-24 Simon J. Gerraty <sjg@bad.crufty.net>
688
689 * meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
690 trigger for updating Makefile.depend*
691
6922011-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
693
694 * install-mk (MK_VERSION): bump version to 20110808
695 * obj.mk: minor cleanup
696 * auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
697
6982011-08-01 Simon J. Gerraty <sjg@bad.crufty.net>
699
700 * auto.obj.mk (.OBJDIR): throw an error if we cannot use the
701 specified dir.
702
7032011-06-28 Simon J. Gerraty <sjg@bad.crufty.net>
704
705 * meta.autodep.mk: if XMAKE_META_FILE is set
706 the makefile uses a foreign make, and so dependencies
707 can only be gathered from a clean tree build.
708
7092011-06-24 Simon J. Gerraty <sjg@bad.crufty.net>
710
711 * install-mk (MK_VERSION): bump version to 20110622
712 * meta.autodep.mk: improve bootstraping
713
7142011-06-10 Simon J. Gerraty <sjg@bad.crufty.net>
715
716 * yacc.mk: handle the corner case of .c being removed
717 while .h remains.
718
7192011-06-08 Simon J. Gerraty <sjg@bad.crufty.net>
720
721 * yacc.mk: do .y.h and .y.c separately
722
7232011-06-04 Simon J. Gerraty <sjg@bad.crufty.net>
724
725 * install-mk (MK_VERSION): bump version to 20110606
726 * don't store SRC_DIRDEPS in Makefile.depend* by default
727 not everyone needs it.
728
7292011-05-04 Simon J. Gerraty <sjg@bad.crufty.net>
730
731 * install-mk (MK_VERSION): bump version to 20110505
732 first release including meta mode makefiles
733
7342011-05-02 Simon J. Gerraty <sjg@bad.crufty.net>
735
736 * meta.stage.mk: add STAGE_AS_SETS and stage_as
737 for things that need to be staged with different names.
738
7392011-05-01 Simon J. Gerraty <sjg@bad.crufty.net>
740
741 * meta.stage.mk: add notion of STAGE_SETS
742 so a makefile can stage to multiple dirs
743
7442011-04-03 Simon J. Gerraty <sjg@bad.crufty.net>
745
746 * rst2htm.mk: convert rst to s5 (slides) or plain html depending
747 on target name.
748
7492011-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
750
751 * install-mk (MK_VERSION): bump version to 20110330
752
7532011-03-29 Simon J. Gerraty <sjg@bad.crufty.net>
754
755 * sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
756 can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
757 * sys.mk: re-define M_whence in terms of M_type.
758 M_type is useful for checking if something is a builtin.
759
7602011-03-16 Simon J. Gerraty <sjg@bad.crufty.net>
761
762 * meta.stage.mk: add stage_symlinks and leverage StageLinks for
763 stage_libs
764
7652011-03-10 Simon J. Gerraty <sjg@bad.crufty.net>
766
767 * dirdeps.mk: correct value for _depdir_files depends on
768 .MAKE.DEPENDFILE
769 Add our copyright - just to make it clear we have frobbed this
770 quite a bit.
771 DEP_MACHINE needs to be set to MACHINE each time, if using only
772 Makefile.depend (cf. Makefile.depend.${MACHINE})
773
774 * meta.stage.mk: meta mode version of staging
775
776 * init.mk, final.mk: include local.*.mk to simplify customization
777
7782011-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
779
780 * auto.obj.mk: just because we are doing mk destroy, we should
781 still set .OBJDIR correctly if it exists.
782
783 * install-mk (mksrc): do not exclude meta.sys.mk
784
7852011-03-01 Simon J. Gerraty <sjg@bad.crufty.net>
786
787 * host-target.mk: set/export _HOST_ARCH etc separately,
788 catch junk resulting from uname -p, so we can find sys/Linux.mk
789 correctly.
790
7912011-02-18 Simon J. Gerraty <sjg@bad.crufty.net>
792
793 * meta.sys.mk: throw an error if /dev/filemon is missing and we
794 expected to be updating Makefile.depend*
795
7962011-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
797
798 * install-mk (MK_VERSION): bump version to 20110214
799 * meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
800
8012010-09-25 Simon J. Gerraty <sjg@bad.crufty.net>
802
803 * meta.sys.mk: not valid for older bmake
804
8052010-09-24 Simon J. Gerraty <sjg@bad.crufty.net>
806
807 * install-mk (MK_VERSION): bump version to 20100919
808 include dirdeps.mk et al from Juniper Networks,
809 for meta mode - requires filemon(9).
810 * sys.mk, subdir.mk: Add hooks for meta mode.
811 we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
812 to make turning it on/off simple.
813
8142010-06-16 Simon J. Gerraty <sjg@bad.crufty.net>
815
816 * install-mk (MK_VERSION): bump version to 20100616
817 * fix typo in sys.mk
818
8192010-06-12 Simon J. Gerraty <sjg@bad.crufty.net>
820
821 * install-mk (MK_VERSION): bump version to 20100612
822 * lib.mk: remove duplicate addition to SOBJS
823
8242010-06-10 Simon J. Gerraty <sjg@bad.crufty.net>
825
826 * sys.mk: Add a means of selectively turning on debug flags.
827 Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
828 will act as if we did make -dv if .CURDIR ends in lib/sjg
829 DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
830 the start of sys.mk rather than the end.
831 This only makes sense for leaf dirs, so we check that
832 .MAKE.LEVEL > 0
833
8342010-06-09 Simon J. Gerraty <sjg@bad.crufty.net>
835
836 * install-mk (MK_VERSION): bump version to 20100608
837 * sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
838 * examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
839 also make it easier for folk to tweak
840
8412010-06-08 Simon J. Gerraty <sjg@bad.crufty.net>
842
843 * install-mk (MK_VERSION): bump version to 20100606
844 do not install examples/*
845 * FILES: add examples/sys.clean-env.mk
846 * examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
847 this requires bmake-20100606 or later to work.
848
8492010-05-13 Simon J. Gerraty <sjg@bad.crufty.net>
850
851 * sys.mk (M_tA): better simulate the result of :tA if not available.
852
8532010-05-04 Simon J. Gerraty <sjg@bad.crufty.net>
854
855 * sys.mk: canonicalize MAKE_VERSION
856 old versions reported bmake-<src-date> build-<build-date>
857 whereas we only care about <src-date>
858
8592010-04-25 Simon J. Gerraty <sjg@bad.crufty.net>
860
861 * install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
862 * lib.mk: we only build the shared lib if SHLIB_FULLVERSION
863 is !empty
864
8652010-04-22 Simon J. Gerraty <sjg@bad.crufty.net>
866
867 * dpadd.mk: use LDADD_* if defined.
868
8692010-04-21 Simon J. Gerraty <sjg@bad.crufty.net>
870
871 * install-mk (MK_VERSION): bump version to 20100420
872 * sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
873 * autoconf.mk allow AUTO_AUTOCONF
874
8752010-04-19 Simon J. Gerraty <sjg@bad.crufty.net>
876
877 * obj.mk: add objwarn to keep freebsd makefiles happy
878 * auto.obj.mk: ensure Mkdirs is available.
879 * FILES: add auto.dep.mk - a simpler version of autodep.mk
880 * dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
881 asked to do that.
882 fix/simplify the tests for when to run mkdep.
883 * auto.dep.mk: add some explanation of how/what we do.
884 * autodep.mk: skip the .OPTIONAL frobbing of .depend
885 bmake's FROM_DEPEND flag makes it redundant.
886
8872010-04-13 Simon J. Gerraty <sjg@bad.crufty.net>
888
889 * install-mk (MK_VERSION): bump version to 20100404
890 * subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
891 * obj.mk: protect from multiple inclusion even as bsd.obj.mk
892 Also create a target _SUBDIRUSE so that we can be used without
893 subdir.mk
894
8952010-04-12 Simon J. Gerraty <sjg@bad.crufty.net>
896
897 * dep.mk: use <> when .including so can override.
898
8992010-01-11 Simon J. Gerraty <sjg@bad.crufty.net>
900
901 * lib.mk (SHLIB_LINKS): ensure a string comparison.
902
9032010-01-04 Simon J. Gerraty <sjg@bad.crufty.net>
904
905 * install-mk (MK_VERSION): bump version to 20100102
906 * own.mk: ensure PRINTOBJDIR works
907 * autoconf.mk: pass on CONFIGURE_ARGS
908 * init.mk: handle COPTS.${.IMPSRC:T} etc.
909 * lib.mk: allow sys.mk to control SHLIB_FULLVERSION
910 fix handling of symlinks for darwin
911 * libnames.mk: add DSHLIBEXT for libs which only exist as shared.
912 * man.mk: suppress chown when not root.
913 * rst2htm.mk: allow srcs from multiple locations.
914 * sys.mk: M_whence, stop after 1st line of output.
915 * sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
916 * sys/SunOS.mk: we need to export PATH
917
9182009-12-23 Simon J. Gerraty <sjg@void.crufty.net>
919
920 * install-mk (MK_VERSION): bump version
921 include rst2htm.mk
922
9232009-12-17 Simon J. Gerraty <sjg@void.crufty.net>
924
925 * sys.mk,libnames.mk add .-include <local.*>
926 this allows local customization without the need to edit the
927 distributed files.
928
9292009-12-14 Simon J. Gerraty <sjg@void.crufty.net>
930
931 * dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
932 older versions already installed.
933
9342009-12-13 Simon J. Gerraty <sjg@void.crufty.net>
935
936 * stage.mk (.stage-install): generalize lib.mk's .libinstall
937 * rules.mk rules for generic Makefile.
938 * inc.mk install for includes.
939
9402009-12-11 Simon J. Gerraty <sjg@void.crufty.net>
941
942 * sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
943 this, so provide it if using native make.
944
9452009-12-10 Simon J. Gerraty <sjg@void.crufty.net>
946
947 * FILES: move all the platform *.sys.mk files to sys/*.mk
948 * Rename Generic.sys.mk to sys.mk - we always want it.
949
9502009-11-17 Simon J. Gerraty <sjg@void.crufty.net>
951
952 * install-mk (MK_VERSION): bump version
953 * host-target.mk: only export the expensive stuff
954 * Generic.sys.mk (sys_mk): for SunOS we need to look for
955 ${HOST_OS}.${HOST_OSMAJOR} too!
956
9572009-11-07 Simon J. Gerraty <sjg@void.crufty.net>
958
959 * install-mk (MK_VERSION): bump version
960 * lib.mk: if sys.mk doesn't give us an lorder, don't use it.
961 based on patch from Greg Olszewski.
962 * Generic.sys.mk: if we have nothing to work with
963 set LORDER etc only if we can find it.
964
9652009-09-08 Simon J. Gerraty <sjg@void.crufty.net>
966
967 * install-mk (MK_VERSION): bump version
968 * man.mk: cleanman: remove CLEANMAN if defined.
969
9702009-09-04 Simon J. Gerraty <sjg@void.crufty.net>
971
972 * SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
973
9742009-07-17 Simon J. Gerraty <sjg@void.crufty.net>
975
976 * install-mk (MK_VERSION): bump version
977 include auto.obj.mk
978
979
9802009-03-26 Simon J. Gerraty <sjg@void.crufty.net>
981
982 * prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
983
9842008-11-11 Simon J. Gerraty <sjg@void.crufty.net>
985
986 * install-mk (MK_VERSION): bump version
987 man.mk: ensure we generate *.cat1 etc in .
988
9892008-07-16 Simon J. Gerraty <sjg@void.crufty.net>
990
991 * install-mk (MK_VERSION): bump version
992 add prlist.mk
993
9942007-11-25 Simon J. Gerraty <sjg@void.crufty.net>
995
996 * Generic.sys.mk: Allow os specific sys.mk to be in a
997 subdir of ${.PARSEDIR}
998
9992007-11-22 Simon J. Gerraty <sjg@void.crufty.net>
1000
1001 * install-mk (MK_VERSION): bump version
1002 * general cleanup
1003 * dpadd.mk introduce DPMAGIC_LIBS_*
1004
10052007-04-30 Simon J. Gerraty <sjg@void.crufty.net>
1006
1007 * install-mk (MK_VERSION): bump version
1008
1009 * libs.mk, progs.mk, autodep.mk: allow for per lib/prog
1010 depend files and ensure clean is called for each lib/prog.
1011
10122007-03-27 Simon J. Gerraty <sjg@void.crufty.net>
1013
1014 * autodep.mk (.depend): delete lines that do not start with
1015 space and do not contain ':'
1016
10172007-02-16 Simon J. Gerraty <sjg@void.crufty.net>
1018
1019 * autodep.mk (.depend): gcc may wrap lines if pathnames are long
1020 so make sure the transform for .OPTIONAL copes.
1021
10222007-02-03 Simon J. Gerraty <sjg@void.crufty.net>
1023
1024 * install-mk (MK_VERSION): bump version
1025
1026 * own.mk: make sure RM and LN are defined.
1027
1028 * obj.mk: fix a typo, and objlink target.
1029
10302006-12-30 Simon J. Gerraty <sjg@void.crufty.net>
1031
1032 * install-mk (MK_VERSION): bump version
1033 * added libs.mk - analogous to progs.mk
1034 make both of them always inlcude {lib,prog}.mk
1035
10362006-12-28 Simon J. Gerraty <sjg@void.crufty.net>
1037
1038 * progs.mk: add a means of building multiple apps in one dir.
1039
10402006-11-26 Simon J. Gerraty <sjg@void.crufty.net>
1041
1042 * install-mk (MK_VERSION): bump version to 20061126
1043
1044 * warnings.mk: detect invalid WARNINGS_SET
1045
1046 * warnings.mk: use ${.TARGET:T:R}.o when looking for target
1047 specific warnings.
1048
1049 * For .cc sources, turn off warnings that g++ vomits on.
1050
10512006-11-08 Simon J. Gerraty <sjg@void.crufty.net>
1052
1053 * own.mk: if __initialized__ target doesn't exist and we are
1054 FreeBSD we got here directly from sys.mk
1055
10562006-11-06 Simon J. Gerraty <sjg@void.crufty.net>
1057
1058 * install-mk (MK_VERSION): bump version to 20061106
1059 add scripts.mk
1060
10612006-03-18 Simon J. Gerraty <sjg@void.crufty.net>
1062
1063 * install-mk (MK_VERSION): bump version to 20060318
1064
1065 * autodep.mk: avoid := when modifying OBJS into __dependsrcs
1066
10672006-03-02 Simon J. Gerraty <sjg@void.crufty.net>
1068
1069 * install-mk (MK_VERSION): bump version to 20060302
1070 * autodep.mk: use -MF et al to help gcc+ccache DTRT.
1071
10722006-03-01 Simon J. Gerraty <sjg@void.crufty.net>
1073
1074 * install-mk (MK_VERSION): bump version to 20060301
1075 * autodep.mk (.depend):
1076 if MAKE_VERSION is newer than 20050530 we can make .END depend on
1077 .depend and make .depend depend on __depsrcs that exist.
1078 * dpadd.mk: add SRC_PATHADD
1079
10802005-11-04 Simon J. Gerraty <sjg@void.crufty.net>
1081
1082 * install-mk (MK_VERSION): bump version to 20051104
1083 * prog.mk: remove all the LIBC?= junk, use
1084 .-include libnames.mk instead (none by default).
1085 also if USE_DPADD_MK is set, include that.
1086
10872005-10-09 Simon J. Gerraty <sjg@void.crufty.net>
1088
1089 * install-mk (MK_VERSION): bump version to 20051001
1090 Add UnixWare.sys.mk from Klaus Heinz.
1091
10922005-04-05 Simon J. Gerraty <sjg@void.crufty.net>
1093
1094 * install-mk: always install *.sys.mk and if need be symlink one
1095 to sys.mk
1096
10972005-03-22 Simon J. Gerraty <sjg@void.crufty.net>
1098
1099 * subdir.mk, own.mk: use .MAKE rather than MAKE
1100
11012004-02-15 Simon J. Gerraty <sjg@void.crufty.net>
1102
1103 * own.mk: don't use NetBSD's _SRC_TOP_ it can
1104 cause confusion. Also don't take just 'mk' as a
1105 srctop indicator.
1106
11072004-02-14 Simon J. Gerraty <sjg@void.crufty.net>
1108
1109 * warnings.mk: overhauled, now very powerful.
1110
11112004-02-03 Simon J. Gerraty <sjg@void.crufty.net>
1112
1113 * Generic.sys.mk: need to use ${.PARSEDIR} with exists().
1114
11152004-02-01 Simon J. Gerraty <sjg@void.crufty.net>
1116
1117 * install-mk (MK_VERSION): bump version to 20040201
1118 * extract HOST_TARGET stuff to host-target.mk so own.mk and
1119 Generic.sys.mk can share.
1120 * fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
1121
11222003-09-30 Simon J. Gerraty <sjg@void.crufty.net>
1123
1124 * install-mk (MK_VERSION): 20030930
1125 * rename generic.sys.mk to Generic.sys.mk
1126 so that it does not get installed (unless being used as sys.mk)
1127 * set OS and ROOT_GROUP for those that we know the value.
1128 for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
1129 we don't do it again for each sub-make.
1130
11312003-09-28 Simon J. Gerraty <sjg@void.crufty.net>
1132
1133 * install-mk (MK_VERSION): 20030928
1134 Add some extra *.sys.mk from bootstrap-pkgsrc
1135 some of these likely still need work.
1136 Make everything default to root:wheel ownership,
1137 sys.mk can set ROOT_GROUP accordingly.
1138
11392003-08-07 Simon J. Gerraty <sjg@void.crufty.net>
1140
1141 * install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
1142 not the portable ones.
1143
11442003-07-31 Simon J. Gerraty <sjg@void.crufty.net>
1145
1146 * install-mk: add ability to use cp -f when updating
1147 destination .mk files. Also now possible to play games with
1148 FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
1149 into dest - not recommended unless you seriously want to.
1150
11512003-07-28 Simon J. Gerraty <sjg@void.crufty.net>
1152
1153 * own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
1154 for semi-compatability with NetBSD.
1155
11562003-07-23 Simon J. Gerraty <sjg@void.crufty.net>
1157
1158 * install-mk: add a version indicator
1159
11602003-07-22 Simon J. Gerraty <sjg@void.crufty.net>
1161
1162 * prog.mk: don't try and use ${LIBCRT0} if its /dev/null
1163
1164 * install-mk: Allow FORCE_SYS_MK to come from env
1165
1166
1167