1
2013-09-04 Simon J. Gerraty <sjg@bad.crufty.net>
3
* gendirdeps.mk (_objtops): fix typo also
4
while processing M2D_OBJROOTS to gather qualdir_list
5
qualify $ql with loop iterator to ensure correct results.
7
2013-08-01 Simon J. Gerraty <sjg@bad.crufty.net>
9
* install-mk (MK_VERSION): 20130801
10
* libs.mk: update to match progs.mk
12
2013-07-26 Simon J. Gerraty <sjg@bad.crufty.net>
14
* install-mk (MK_VERSION): 20130726
15
some updates from Juniper and FreeBSD
16
o meta2deps.py: indicate file and line number when we hit parse
18
also allow @file to provide huge list of .meta files.
19
* meta2deps.py: add try_parse() to cleanup the above.
21
2013-07-16 Simon J. Gerraty <sjg@bad.crufty.net>
23
* install-mk (MK_VERSION): 20130716
24
* own.mk: add GPROG as an option
25
* prog.mk: honor MK_GPROF==yes
27
2013-05-10 Simon J. Gerraty <sjg@bad.crufty.net>
29
* install-mk (MK_VERSION): 20130505
30
* gendirdeps.mk, meta2deps.py, meta2deps.sh: handle $TARGET_SPEC
31
for when $MACHINE isn't enough for objdir distinction.
32
Bring meta2deps.sh closer to par with meta2deps.py.
34
2013-04-18 Simon J. Gerraty <sjg@bad.crufty.net>
36
* meta.stage.mk: set INSTALL to STAGE_INSTALL when making 'all'
37
also if the target 'beforeinstall' exists, make it depend on
38
.dirdep (incase it uses STAGE_INSTALL).
40
2013-04-17 Simon J. Gerraty <sjg@bad.crufty.net>
42
* install-mk (MK_VERSION): 20130401 ;-)
43
* meta.stage.mk (STAGE_INSTALL_SH): add stage-install.sh as
44
wrapper around install(1).
45
* options.mk (OPTION_PREFIX): Allow a prefix other than MK_
47
2013-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
49
* meta2deps.py (MetaFile.__init__): ensure self.cwd is initialized.
50
* install-mk (MK_VERSION): bump version
52
2013-03-21 Simon J. Gerraty <sjg@bad.crufty.net>
54
* install-mk (MK_VERSION): bump version
55
* gendirdeps.mk: do not apply :tA to DPADD entries, since we lose
56
any trailing /., rather apply :tA only when needed.
57
* gendirdeps.mk: better mimic meta2deps handling of .dirdep files.
58
* meta.stage.mk (LN_CP_SCRIPT): Add LnCp to do the ln||cp dance
60
* dirdeps.mk: better describe the dance in sys.mk for TARGET_SPEC.
62
2013-03-18 Simon J. Gerraty <sjg@bad.crufty.net>
64
* gendirdeps.mk: revert the dance around .MAKE.DEPENDFILE_DEFAULT
65
it is simpler to just not update when say building for "host"
66
(where we know we apply filters to DIRDEPS), and using a
67
non-machine qualified dependfile.
69
2013-03-16 Simon J. Gerraty <sjg@bad.crufty.net>
71
* dirdeps.mk: improve DIRDEPS filtering by allowing DEP_SKIP_DIR
72
and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE and DEP_TARGET_SPEC
73
* gendirdeps.mk: ensure _objroot has trailing / if it needs it.
74
* meta2deps.py: if machine is "host", then also trim
75
self.host_target from any OBJROOTS.
78
2013-03-11 Simon J. Gerraty <sjg@bad.crufty.net>
80
* gendirdeps.mk: if .MAKE.DEPENDFILE_DEFAULT is not machine
81
qualified but _DEPENDFILE is, and .MAKE.DEPENDFILE_DEFAULT exists
82
but _DEPENDFILE does not, compare the new _DEPENDFILE against
83
.MAKE.DEPENDFILE_DEFAULT and discard if the same.
85
2013-03-08 Simon J. Gerraty <sjg@bad.crufty.net>
87
* meta.stage.mk: use STAGE_TARGETS to control .ORDER
88
and hook to all: via staging:
90
2013-03-07 Simon J. Gerraty <sjg@bad.crufty.net>
92
* sys.dependfile.mk (.MAKE.DEPENDFILE_DEFAULT):
93
use a separate variable for the default .MAKE.DEPENDFILE value
94
so that it can be controlled independently of
95
.MAKE.DEPENDFILE_PREFERENCE
97
* meta.stage.mk: throw error if cp fails etc.
98
Stage*() return early if passed no args.
101
2013-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
103
* install-mk (MK_VERSION): bump version
104
* gendirdeps.mk: handle multiple M2D_OBJROOTS better.
106
2013-02-10 Simon J. Gerraty <sjg@bad.crufty.net>
108
* install-mk (MK_VERSION): bump version to 20130210
109
* import latest dirdeps.mk, gendirdeps.mk and meta2deps.py
111
o dirdeps.mk now fully supports TARGET_SPEC consisting of more
113
o no longer use DEP_MACHINE from Makefile.depend* so remove it.
115
2013-01-23 Simon J. Gerraty <sjg@bad.crufty.net>
117
* install-mk (MK_VERSION): bump version to 20130123
118
* meta.stage.mk: add stage_links (hard links).
119
if doing hard links, we add dest to link as well.
120
Default the stage dir for [sym]links to STAGE_OBJTOP since
121
these are typically specified as absolute paths.
122
Add -m "mode" flag to StageFiles and StageAs.
124
2012-11-11 Simon J. Gerraty <sjg@bad.crufty.net>
126
* install-mk (MK_VERSION): bump version to 20121111
127
* autoconf.mk: avoid meta mode seeing changed commands for config.status
128
* meta.autodep.mk: pass resolved MAKESYSPATH to gendirdeps
129
in case we were found via .../mk
130
* sys.clean-env.mk: move it from examples, we and others use it
132
* FILES: add srctop.mk and options.mk
133
* own.mk: convert to using options.mk
134
which is modeled after FreeBSD's handling of MK_*
136
This allows MK_* for boolean knobs to not be confused
137
with MK* which can be commands.
139
* examples/sys.clean-env.mk: add WITH[OUT]_ to
140
MAKE_ENV_SAVE_PREFIX_LIST.
141
Mention that HOME=/var/empty might be a good idea.
143
2012-11-08 Simon J. Gerraty <sjg@bad.crufty.net>
145
* sys.dependfile.mk: if not depend file exists, $MACHINE
146
specific ones are supported but not the default,
147
check if any exist and follow suit.
149
2012-11-06 Simon J. Gerraty <sjg@bad.crufty.net>
151
* install-mk (MK_VERSION): bump version to 20121106
153
2012-11-05 Simon J. Gerraty <sjg@bad.crufty.net>
155
* import latest dirdeps.mk and meta2deps.py from Juniper.
156
* progs.mk: add MAN and CXXFLAGS to PROG_VARS
157
also add PROGS_TARGETS and pass on PROG_CXX if it seems
160
2012-11-04 Simon J. Gerraty <sjg@bad.crufty.net>
162
* meta.stage.mk: update CLEANFILES
163
remove redundant cp of .dirdep from STAGE_AS_SCRIPT.
164
* progs.mk: Add LDADD to PROG_VARS
166
2012-10-12 Simon J. Gerraty <sjg@bad.crufty.net>
168
* meta.stage.mk (STAGE_DIR_FILTER): track dirs we stage to in
169
_STAGED_DIRS so that these can be turned into filters for
172
2012-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
174
* install-mk (MK_VERSION): bump version to 20121010
175
* meta.stage.mk (STAGE_DIRDEP_SCRIPT): check that an existing
176
target.dirdep matches .dirdep
178
2012-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
180
* install-mk (MK_VERSION): bump version to 20120808
181
* import latest meta2deps.py from Juniper.
183
2012-07-11 Simon J. Gerraty <sjg@bad.crufty.net>
185
* install-mk (MK_VERSION): bump version to 20120711
186
* dep.mk: add explicit dependencies on SRCS after applying
188
* meta.autodep.mk: add explicit dependencies on SRCS after
189
applying SRCS_DEP_FILTER
190
* meta.autodep.mk: ensure GENDIRDEPS_FILTER is exported if needed.
192
2012-06-26 Simon J. Gerraty <sjg@bad.crufty.net>
194
* install-mk (MK_VERSION): bump version to 20120626
195
* meta.sys.mk: ignore PYTHON if it does not exist
196
compare ${.MAKE.DEPENDFILE:E} against ${MACHINE} is more reliable.
197
* meta.stage.mk: examine .MAKE.DEPENDFILE_PREFERENCE for any
198
entries ending in .${MACHINE} to decide if qualified _dirdep is
200
* gendirdeps.mk: only produce unqualified deps if no
201
.MAKE.DEPENDFILE_PREFERENCE ends in .${MACHINE}
202
* meta.subdir.mk: apply SUBDIREPS_FILTER
204
2012-04-20 Simon J. Gerraty <sjg@bad.crufty.net>
206
* install-mk (MK_VERSION): bump version to 20120420
207
* add sys.dependfile.mk so we can experiment with
208
.MAKE.DEPENDFILE_PREFERENCE
209
* meta.autodep.mk: _DEPENDFILE is precious!
211
2012-03-15 Simon J. Gerraty <sjg@bad.crufty.net>
213
* install-mk (MK_VERSION): bump version to 20120315
214
* install-new.mk: avoid being interrupted
216
2012-02-26 Simon J. Gerraty <sjg@bad.crufty.net>
218
* man.mk: MAN might have multiple values so be careful with exists().
220
2012-01-19 Simon J. Gerraty <sjg@bad.crufty.net>
222
* install-mk (MK_VERSION): bump version to 20120112
223
* fix examples/sys.clean-env.mk so that MAKEOBJDIR is handled
224
as: MAKEOBJDIR='${.CURDIR:S,${SRCTOP},${OBJTOP},}'
226
2011-12-03 Simon J. Gerraty <sjg@bad.crufty.net>
228
* install-mk (MK_VERSION): bump version to 20111201
229
* import dirdeps.mk from Juniper sjg@
230
o more consistent handling of DEP_MACHINE, especially when
231
dealing with an odd Makefile.depend, when normally using
232
Makefile.depend.${MACHINE}
234
2011-11-22 Simon J. Gerraty <sjg@bad.crufty.net>
236
* install-mk (MK_VERSION): bump version to 20111122
237
* meta.autodep.mk: add some debug output, be more crisp about
238
updating. Use ${.ALLTARGETS:M*.o} as a clue for .depend
240
2011-11-13 Simon J. Gerraty <sjg@bad.crufty.net>
242
* install-mk (MK_VERSION): bump version to 20111111
243
it's too cool to miss
244
* import meta* updates from Juniper sjg@
245
o dirdeps.mk set DEP_MACHINE for Makefile.depend (when we are
246
normally using Makefile.depend.${MACHINE}), handy for
247
read-only manually maintained dependencies.
248
o meta2deps.py add a clear 'ERROR:' token if an exception is raised.
249
o gendirdeps.mk if ERROR: from meta2deps.py do not update
252
2011-10-30 Simon J. Gerraty <sjg@bad.crufty.net>
254
* install-new.mk separate the cmp and copy logic to its own function.
256
2011-10-28 Simon J. Gerraty <sjg@bad.crufty.net>
258
* install-mk (MK_VERSION): bump version to 20111028
259
* sys.mk: include auto.obj.mk if MKOBJDIRS is set to auto
260
* subdir.mk: ensure _SUBDIRUSE is provided
261
* meta.autodep.mk: remove dependency of gendirdeps.mk on auto.obj.mk
262
* meta.subdir.mk: always allow for Makefile.depend
264
2011-10-10 Simon J. Gerraty <sjg@bad.crufty.net>
266
* install-mk (MK_VERSION): bump version to 20111010
267
o minor tweak to *dirdeps.mk from Juniper sjg@
269
2011-10-01 Simon J. Gerraty <sjg@bad.crufty.net>
271
* install-mk (MK_VERSION): bump version to 20111001
272
o add meta2deps.py from Juniper sjg@
273
o tweak gendirdeps.mk to work with meta2deps.py when not
275
* autoconf.mk: add autoconf-input as a hook for regenerating
276
AUTOCONF_INPUTS (configure).
278
2011-08-24 Simon J. Gerraty <sjg@bad.crufty.net>
280
* meta.autodep.mk: if we do not have OBJS, .depend isn't a useful
281
trigger for updating Makefile.depend*
283
2011-08-08 Simon J. Gerraty <sjg@bad.crufty.net>
285
* install-mk (MK_VERSION): bump version to 20110808
286
* obj.mk: minor cleanup
287
* auto.obj.mk: improve description of Mkdirs and honor NO_OBJ too.
289
2011-08-01 Simon J. Gerraty <sjg@bad.crufty.net>
291
* auto.obj.mk (.OBJDIR): throw an error if we cannot use the
294
2011-06-28 Simon J. Gerraty <sjg@bad.crufty.net>
296
* meta.autodep.mk: if XMAKE_META_FILE is set
297
the makefile uses a foreign make, and so dependencies
298
can only be gathered from a clean tree build.
300
2011-06-24 Simon J. Gerraty <sjg@bad.crufty.net>
302
* install-mk (MK_VERSION): bump version to 20110622
303
* meta.autodep.mk: improve bootstraping
305
2011-06-10 Simon J. Gerraty <sjg@bad.crufty.net>
307
* yacc.mk: handle the corner case of .c being removed
310
2011-06-08 Simon J. Gerraty <sjg@bad.crufty.net>
312
* yacc.mk: do .y.h and .y.c separately
314
2011-06-04 Simon J. Gerraty <sjg@bad.crufty.net>
316
* install-mk (MK_VERSION): bump version to 20110606
317
* don't store SRC_DIRDEPS in Makefile.depend* by default
318
not everyone needs it.
320
2011-05-04 Simon J. Gerraty <sjg@bad.crufty.net>
322
* install-mk (MK_VERSION): bump version to 20110505
323
first release including meta mode makefiles
325
2011-05-02 Simon J. Gerraty <sjg@bad.crufty.net>
327
* meta.stage.mk: add STAGE_AS_SETS and stage_as
328
for things that need to be staged with different names.
330
2011-05-01 Simon J. Gerraty <sjg@bad.crufty.net>
332
* meta.stage.mk: add notion of STAGE_SETS
333
so a makefile can stage to multiple dirs
335
2011-04-03 Simon J. Gerraty <sjg@bad.crufty.net>
337
* rst2htm.mk: convert rst to s5 (slides) or plain html depending
340
2011-03-30 Simon J. Gerraty <sjg@bad.crufty.net>
342
* install-mk (MK_VERSION): bump version to 20110330
344
2011-03-29 Simon J. Gerraty <sjg@bad.crufty.net>
346
* sys.mk (_DEBUG_MAKE_FLAGS): use indirection so that DEBUG_MAKE_FLAGS0
347
can be used to debug level 0 only and DEBUG_MAKE_FLAGS for the rest.
348
* sys.mk: re-define M_whence in terms of M_type.
349
M_type is useful for checking if something is a builtin.
351
2011-03-16 Simon J. Gerraty <sjg@bad.crufty.net>
353
* meta.stage.mk: add stage_symlinks and leverage StageLinks for
356
2011-03-10 Simon J. Gerraty <sjg@bad.crufty.net>
358
* dirdeps.mk: correct value for _depdir_files depends on
360
Add our copyright - just to make it clear we have frobbed this
362
DEP_MACHINE needs to be set to MACHINE each time, if using only
363
Makefile.depend (cf. Makefile.depend.${MACHINE})
365
* meta.stage.mk: meta mode version of staging
367
* init.mk, final.mk: include local.*.mk to simplify customization
369
2011-03-03 Simon J. Gerraty <sjg@bad.crufty.net>
371
* auto.obj.mk: just because we are doing mk destroy, we should
372
still set .OBJDIR correctly if it exists.
374
* install-mk (mksrc): do not exclude meta.sys.mk
376
2011-03-01 Simon J. Gerraty <sjg@bad.crufty.net>
378
* host-target.mk: set/export _HOST_ARCH etc separately,
379
catch junk resulting from uname -p, so we can find sys/Linux.mk
382
2011-02-18 Simon J. Gerraty <sjg@bad.crufty.net>
384
* meta.sys.mk: throw an error if /dev/filemon is missing and we
385
expected to be updating Makefile.depend*
387
2011-02-14 Simon J. Gerraty <sjg@bad.crufty.net>
389
* install-mk (MK_VERSION): bump version to 20110214
390
* meta.subdir.mk: add support for -DBOOTSTRAP_DEPENDFILES
392
2010-09-25 Simon J. Gerraty <sjg@bad.crufty.net>
394
* meta.sys.mk: not valid for older bmake
396
2010-09-24 Simon J. Gerraty <sjg@bad.crufty.net>
398
* install-mk (MK_VERSION): bump version to 20100919
399
include dirdeps.mk et al from Juniper Networks,
400
for meta mode - requires filemon(9).
401
* sys.mk, subdir.mk: Add hooks for meta mode.
402
we do this as meta.sys.mk, meta.autodep.mk and meta.subdir.mk
403
to make turning it on/off simple.
405
2010-06-16 Simon J. Gerraty <sjg@bad.crufty.net>
407
* install-mk (MK_VERSION): bump version to 20100616
410
2010-06-12 Simon J. Gerraty <sjg@bad.crufty.net>
412
* install-mk (MK_VERSION): bump version to 20100612
413
* lib.mk: remove duplicate addition to SOBJS
415
2010-06-10 Simon J. Gerraty <sjg@bad.crufty.net>
417
* sys.mk: Add a means of selectively turning on debug flags.
418
Eg. DEBUG_MAKE_FLAGS=-dv DEBUG_MAKE_DIRS="*lib/sjg"
419
will act as if we did make -dv if .CURDIR ends in lib/sjg
420
DEBUG_MAKE_SYS_DIRS does the same thing, but we set the flags at
421
the start of sys.mk rather than the end.
422
This only makes sense for leaf dirs, so we check that
425
2010-06-09 Simon J. Gerraty <sjg@bad.crufty.net>
427
* install-mk (MK_VERSION): bump version to 20100608
428
* sys.mk: include sys.env.mk later so it can use M_ListToSkip et al.
429
* examples/sys.clean-env.mk: require MAKE_VERIONS >= 20100606
430
also make it easier for folk to tweak
432
2010-06-08 Simon J. Gerraty <sjg@bad.crufty.net>
434
* install-mk (MK_VERSION): bump version to 20100606
435
do not install examples/*
436
* FILES: add examples/sys.clean-env.mk
437
* examples/sys.clean-env.mk: use .export-env to handle MAKEOBJDIR
438
this requires bmake-20100606 or later to work.
440
2010-05-13 Simon J. Gerraty <sjg@bad.crufty.net>
442
* sys.mk (M_tA): better simulate the result of :tA if not available.
444
2010-05-04 Simon J. Gerraty <sjg@bad.crufty.net>
446
* sys.mk: canonicalize MAKE_VERSION
447
old versions reported bmake-<src-date> build-<build-date>
448
whereas we only care about <src-date>
450
2010-04-25 Simon J. Gerraty <sjg@bad.crufty.net>
452
* install-mk: just warn about FORCE_{BSD,SYS}_MK being ignored
453
* lib.mk: we only build the shared lib if SHLIB_FULLVERSION
456
2010-04-22 Simon J. Gerraty <sjg@bad.crufty.net>
458
* dpadd.mk: use LDADD_* if defined.
460
2010-04-21 Simon J. Gerraty <sjg@bad.crufty.net>
462
* install-mk (MK_VERSION): bump version to 20100420
463
* sys/NetBSD.mk: add MACHINE_CPU to keep netbsd makefiles happy
464
* autoconf.mk allow AUTO_AUTOCONF
466
2010-04-19 Simon J. Gerraty <sjg@bad.crufty.net>
468
* obj.mk: add objwarn to keep freebsd makefiles happy
469
* auto.obj.mk: ensure Mkdirs is available.
470
* FILES: add auto.dep.mk - a simpler version of autodep.mk
471
* dep.mk: auto.dep.mk does not do 'make depend' so ignore it if
473
fix/simplify the tests for when to run mkdep.
474
* auto.dep.mk: add some explaination of how/what we do.
475
* autodep.mk: skip the .OPTIONAL frobbing of .depend
476
bmake's FROM_DEPEND flag makes it redundant.
478
2010-04-13 Simon J. Gerraty <sjg@bad.crufty.net>
480
* install-mk (MK_VERSION): bump version to 20100404
481
* subdir.mk: protect from multiple inclusion using _SUBDIRUSE.
482
* obj.mk: protect from multiple inclusion even as bsd.obj.mk
483
Also create a target _SUBDIRUSE so that we can be used without
486
2010-04-12 Simon J. Gerraty <sjg@bad.crufty.net>
488
* dep.mk: use <> when .including so can override.
490
2010-01-11 Simon J. Gerraty <sjg@bad.crufty.net>
492
* lib.mk (SHLIB_LINKS): ensure a string comparison.
494
2010-01-04 Simon J. Gerraty <sjg@bad.crufty.net>
496
* install-mk (MK_VERSION): bump version to 20100102
497
* own.mk: ensure PRINTOBJDIR works
498
* autoconf.mk: pass on CONFIGURE_ARGS
499
* init.mk: handle COPTS.${.IMPSRC:T} etc.
500
* lib.mk: allow sys.mk to control SHLIB_FULLVERSION
501
fix handling of symlinks for darwin
502
* libnames.mk: add DSHLIBEXT for libs which only exist as shared.
503
* man.mk: suppress chown when not root.
504
* rst2htm.mk: allow srcs from multiple locations.
505
* sys.mk: M_whence, stop after 1st line of output.
506
* sys/Darwin.mk: Use .dylib for DSHLIBEXT and HOST_LIBEXT
507
* sys/SunOS.mk: we need to export PATH
509
2009-12-23 Simon J. Gerraty <sjg@void.crufty.net>
511
* install-mk (MK_VERSION): bump version
514
2009-12-17 Simon J. Gerraty <sjg@void.crufty.net>
516
* sys.mk,libnames.mk add .-include <local.*>
517
this allows local customization without the need to edit the
520
2009-12-14 Simon J. Gerraty <sjg@void.crufty.net>
522
* dpadd.mk (__dpadd_libdirs): order -L's to avoid picking up
523
older versions already installed.
525
2009-12-13 Simon J. Gerraty <sjg@void.crufty.net>
527
* stage.mk (.stage-install): generalize lib.mk's .libinstall
528
* rules.mk rules for generic Makefile.
529
* inc.mk install for includes.
531
2009-12-11 Simon J. Gerraty <sjg@void.crufty.net>
533
* sys/NetBSD.mk (MAKE_VERSION): some of our *.mk want to check
534
this, so provide it if using native make.
536
2009-12-10 Simon J. Gerraty <sjg@void.crufty.net>
538
* FILES: move all the platform *.sys.mk files to sys/*.mk
539
* Rename Generic.sys.mk to sys.mk - we always want it.
541
2009-11-17 Simon J. Gerraty <sjg@void.crufty.net>
543
* install-mk (MK_VERSION): bump version
544
* host-target.mk: only export the expensive stuff
545
* Generic.sys.mk (sys_mk): for SunOS we need to look for
546
${HOST_OS}.${HOST_OSMAJOR} too!
548
2009-11-07 Simon J. Gerraty <sjg@void.crufty.net>
550
* install-mk (MK_VERSION): bump version
551
* lib.mk: if sys.mk doesn't give us an lorder, don't use it.
552
based on patch from Greg Olszewski.
553
* Generic.sys.mk: if we have nothing to work with
554
set LORDER etc only if we can find it.
556
2009-09-08 Simon J. Gerraty <sjg@void.crufty.net>
558
* install-mk (MK_VERSION): bump version
559
* man.mk: cleanman: remove CLEANMAN if defined.
561
2009-09-04 Simon J. Gerraty <sjg@void.crufty.net>
563
* SunOS.5.sys.mk (CC): Use ?= like the other *sys.mk
565
2009-07-17 Simon J. Gerraty <sjg@void.crufty.net>
567
* install-mk (MK_VERSION): bump version
571
2009-03-26 Simon J. Gerraty <sjg@void.crufty.net>
573
* prog.mk,lib.mk: ensure test of USE_DPADD_MK doesn't fail.
575
2008-11-11 Simon J. Gerraty <sjg@void.crufty.net>
577
* install-mk (MK_VERSION): bump version
578
man.mk: ensure we generate *.cat1 etc in .
580
2008-07-16 Simon J. Gerraty <sjg@void.crufty.net>
582
* install-mk (MK_VERSION): bump version
585
2007-11-25 Simon J. Gerraty <sjg@void.crufty.net>
587
* Generic.sys.mk: Allow os specific sys.mk to be in a
588
subdir of ${.PARSEDIR}
590
2007-11-22 Simon J. Gerraty <sjg@void.crufty.net>
592
* install-mk (MK_VERSION): bump version
594
* dpadd.mk introduce DPMAGIC_LIBS_*
596
2007-04-30 Simon J. Gerraty <sjg@void.crufty.net>
598
* install-mk (MK_VERSION): bump version
600
* libs.mk, progs.mk, autodep.mk: allow for per lib/prog
601
depend files and ensure clean is called for each lib/prog.
603
2007-03-27 Simon J. Gerraty <sjg@void.crufty.net>
605
* autodep.mk (.depend): delete lines that do not start with
606
space and do not contain ':'
608
2007-02-16 Simon J. Gerraty <sjg@void.crufty.net>
610
* autodep.mk (.depend): gcc may wrap lines if pathnames are long
611
so make sure the transform for .OPTIONAL copes.
613
2007-02-03 Simon J. Gerraty <sjg@void.crufty.net>
615
* install-mk (MK_VERSION): bump version
617
* own.mk: make sure RM and LN are defined.
619
* obj.mk: fix a typo, and objlink target.
621
2006-12-30 Simon J. Gerraty <sjg@void.crufty.net>
623
* install-mk (MK_VERSION): bump version
624
* added libs.mk - analagous to progs.mk
625
make both of them always inlcude {lib,prog}.mk
627
2006-12-28 Simon J. Gerraty <sjg@void.crufty.net>
629
* progs.mk: add a means of building multiple apps in one dir.
631
2006-11-26 Simon J. Gerraty <sjg@void.crufty.net>
633
* install-mk (MK_VERSION): bump version to 20061126
635
* warnings.mk: detect invalid WARNINGS_SET
637
* warnings.mk: use ${.TARGET:T:R}.o when looking for target
640
* For .cc sources, turn off warnings that g++ vomits on.
642
2006-11-08 Simon J. Gerraty <sjg@void.crufty.net>
644
* own.mk: if __initialized__ target doesn't exist and we are
645
FreeBSD we got here directly from sys.mk
647
2006-11-06 Simon J. Gerraty <sjg@void.crufty.net>
649
* install-mk (MK_VERSION): bump version to 20061106
652
2006-03-18 Simon J. Gerraty <sjg@void.crufty.net>
654
* install-mk (MK_VERSION): bump version to 20060318
656
* autodep.mk: avoid := when modifying OBJS into __dependsrcs
658
2006-03-02 Simon J. Gerraty <sjg@void.crufty.net>
660
* install-mk (MK_VERSION): bump version to 20060302
661
* autodep.mk: use -MF et al to help gcc+ccache DTRT.
663
2006-03-01 Simon J. Gerraty <sjg@void.crufty.net>
665
* install-mk (MK_VERSION): bump version to 20060301
666
* autodep.mk (.depend):
667
if MAKE_VERSION is newer than 20050530 we can make .END depend on
668
.depend and make .depend depend on __depsrcs that exist.
669
* dpadd.mk: add SRC_PATHADD
671
2005-11-04 Simon J. Gerraty <sjg@void.crufty.net>
673
* install-mk (MK_VERSION): bump version to 20051104
674
* prog.mk: remove all the LIBC?= junk, use
675
.-include libnames.mk instead (none by default).
676
also if USE_DPADD_MK is set, include that.
678
2005-10-09 Simon J. Gerraty <sjg@void.crufty.net>
680
* install-mk (MK_VERSION): bump version to 20051001
681
Add UnixWare.sys.mk from Klaus Heinz.
683
2005-04-05 Simon J. Gerraty <sjg@void.crufty.net>
685
* install-mk: always install *.sys.mk and if need be symlink one
688
2005-03-22 Simon J. Gerraty <sjg@void.crufty.net>
690
* subdir.mk, own.mk: use .MAKE rather than MAKE
692
2004-02-15 Simon J. Gerraty <sjg@void.crufty.net>
694
* own.mk: don't use NetBSD's _SRC_TOP_ it can
695
cause confusion. Also don't take just 'mk' as a
698
2004-02-14 Simon J. Gerraty <sjg@void.crufty.net>
700
* warnings.mk: overhauled, now very powerful.
702
2004-02-03 Simon J. Gerraty <sjg@void.crufty.net>
704
* Generic.sys.mk: need to use ${.PARSEDIR} with exists().
706
2004-02-01 Simon J. Gerraty <sjg@void.crufty.net>
708
* install-mk (MK_VERSION): bump version to 20040201
709
* extract HOST_TARGET stuff to host-target.mk so own.mk and
710
Generic.sys.mk can share.
711
* fix typo in autodep.mk _SUBDIRUSE not _SUBDIR.
713
2003-09-30 Simon J. Gerraty <sjg@void.crufty.net>
715
* install-mk (MK_VERSION): 20030930
716
* rename generic.sys.mk to Generic.sys.mk
717
so that it does not get installed (unless being used as sys.mk)
718
* set OS and ROOT_GROUP for those that we know the value.
719
for others (eg. Generic.sys.mk) wrap the != in an .ifndef so
720
we don't do it again for each sub-make.
722
2003-09-28 Simon J. Gerraty <sjg@void.crufty.net>
724
* install-mk (MK_VERSION): 20030928
725
Add some extra *.sys.mk from bootstrap-pkgsrc
726
some of these likely still need work.
727
Make everything default to root:wheel ownership,
728
sys.mk can set ROOT_GROUP accordingly.
730
2003-08-07 Simon J. Gerraty <sjg@void.crufty.net>
732
* install-mk: if FORCE_BSD_MK={cp,ln} use the ones in SYS_MK_DIR
733
not the portable ones.
735
2003-07-31 Simon J. Gerraty <sjg@void.crufty.net>
737
* install-mk: add ability to use cp -f when updating
738
destination .mk files. Also now possible to play games with
739
FORCE_SYS_MK=ln etc on *BSD machines to link /usr/share/mk/sys.mk
740
into dest - not recommended unless you seriously want to.
742
2003-07-28 Simon J. Gerraty <sjg@void.crufty.net>
744
* own.mk (IMPFLAGS): add support for COPTS.${IMPSRC:T} etc
745
for semi-compatability with NetBSD.
747
2003-07-23 Simon J. Gerraty <sjg@void.crufty.net>
749
* install-mk: add a version indicator
751
2003-07-22 Simon J. Gerraty <sjg@void.crufty.net>
753
* prog.mk: don't try and use ${LIBCRT0} if its /dev/null
755
* install-mk: Allow FORCE_SYS_MK to come from env