xref: /freebsd/contrib/bmake/ChangeLog (revision 0dede8b0ba255c53c183d0cc15b6c52e9bb54794)
1*0dede8b0SSimon J. Gerraty2014-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>
2*0dede8b0SSimon J. Gerraty
3*0dede8b0SSimon J. Gerraty	* boot-strap: ignore mksrc=none
4*0dede8b0SSimon J. Gerraty
5*0dede8b0SSimon J. Gerraty2014-01-02  Simon J. Gerraty  <sjg@bad.crufty.net>
6*0dede8b0SSimon J. Gerraty
7*0dede8b0SSimon J. Gerraty	* Makefile (DEFAULT_SYS_PATH?): use just ${prefix}/share/mk
8*0dede8b0SSimon J. Gerraty
9*0dede8b0SSimon J. Gerraty2014-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
10*0dede8b0SSimon J. Gerraty
11*0dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140101
12*0dede8b0SSimon J. Gerraty	* configure.in: set bmake_path_max to min(_SC_PATH_MAX,1024)
13*0dede8b0SSimon J. Gerraty	* Makefile.config: defined BMAKE_PATH_MAX to bmake_path_max
14*0dede8b0SSimon J. Gerraty	* make.h: use BMAKE_PATH_MAX if MAXPATHLEN not defined (needed for
15*0dede8b0SSimon J. Gerraty	  Hurd)
16*0dede8b0SSimon J. Gerraty	* configure.in: Add AC_PREREQ and check for
17*0dede8b0SSimon J. Gerraty	  sysctl; patch from Andrew Shadura andrewsh at debian.org
18*0dede8b0SSimon J. Gerraty
19*0dede8b0SSimon J. Gerraty2013-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>
20*0dede8b0SSimon J. Gerraty
21*0dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20131010
22*0dede8b0SSimon J. Gerraty	* lose the const from arg to systcl to avoid problems on older BSDs.
23*0dede8b0SSimon J. Gerraty
24*0dede8b0SSimon J. Gerraty2013-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
25*0dede8b0SSimon J. Gerraty
26*0dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20131001
27*0dede8b0SSimon J. Gerraty	  Merge with NetBSD make, pick up
28*0dede8b0SSimon J. Gerraty	  o main.c: for NATIVE build sysctl to get MACHINE_ARCH from
29*0dede8b0SSimon J. Gerraty	    hw.machine_arch if necessary.
30*0dede8b0SSimon J. Gerraty	  o meta.c: meta_oodate - need to look at src of Link and target
31*0dede8b0SSimon J. Gerraty	    of Move as well.
32*0dede8b0SSimon J. Gerraty	* main.c: check that CTL_HW and HW_MACHINE_ARCH exist.
33*0dede8b0SSimon J. Gerraty	  provide __arraycount() if needed.
34*0dede8b0SSimon J. Gerraty
351bbe5942SSimon J. Gerraty2013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
361bbe5942SSimon J. Gerraty
371bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130904
381bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
391bbe5942SSimon J. Gerraty	  o Add VAR_INTERNAL context, so that internal setting of
401bbe5942SSimon J. Gerraty	    MAKEFILE does not override value set by makefiles.
411bbe5942SSimon J. Gerraty
421bbe5942SSimon J. Gerraty2013-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
431bbe5942SSimon J. Gerraty
441bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130902
451bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
461bbe5942SSimon J. Gerraty	  o CompatRunCommand: only apply shellErrFlag when errCheck is true
471bbe5942SSimon J. Gerraty
481bbe5942SSimon J. Gerraty2013-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
491bbe5942SSimon J. Gerraty
501bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130828
511bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
521bbe5942SSimon J. Gerraty	  o Fix VAR :sh = syntax from Will Andrews at freebsd.org
531bbe5942SSimon J. Gerraty	  o Call Job_SetPrefix() from Job_Init() so makefiles have
541bbe5942SSimon J. Gerraty	    opportunity to set .MAKE.JOB.PREFIX
551bbe5942SSimon J. Gerraty
5651ee2c1cSSimon J. Gerraty2013-07-30  Simon J. Gerraty  <sjg@bad.crufty.net>
5751ee2c1cSSimon J. Gerraty
5851ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130730
5951ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
6051ee2c1cSSimon J. Gerraty	  o Allow suppression of --- job -- tokens by setting
6151ee2c1cSSimon J. Gerraty	    .MAKE.JOB.PREFIX empty.
6251ee2c1cSSimon J. Gerraty
6351ee2c1cSSimon J. Gerraty2013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
6451ee2c1cSSimon J. Gerraty
6551ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130716
6651ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
6751ee2c1cSSimon J. Gerraty	  o number of gmake compatability tweaks
6851ee2c1cSSimon J. Gerraty	    -w for gmake style entering/leaving messages
6951ee2c1cSSimon J. Gerraty	    if .MAKE.LEVEL > 0 indicate it in progname "make[1]" etc.
7051ee2c1cSSimon J. Gerraty	    handle MAKEFLAGS containing only letters.
7151ee2c1cSSimon J. Gerraty	  o when overriding a GLOBAL variable on the command line,
7251ee2c1cSSimon J. Gerraty	    delete it from GLOBAL context so -V doesn't show the wrong
7351ee2c1cSSimon J. Gerraty	    value.
7451ee2c1cSSimon J. Gerraty
7551ee2c1cSSimon J. Gerraty2013-07-06  Simon J. Gerraty  <sjg@bad.crufty.net>
7651ee2c1cSSimon J. Gerraty
7751ee2c1cSSimon J. Gerraty	* configure.in: We don't need MAKE_LEVEL_SAFE anymore.
7851ee2c1cSSimon J. Gerraty
7951ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130706
8051ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
8151ee2c1cSSimon J. Gerraty	  o Shell_Init(): export shellErrFlag if commandShell hasErrCtl is
8251ee2c1cSSimon J. Gerraty	    true so that CompatRunCommand() can use it, to ensure
8351ee2c1cSSimon J. Gerraty	    consistent behavior with jobs mode.
8451ee2c1cSSimon J. Gerraty	  o use MAKE_LEVEL_ENV to define the variable to propagate
8551ee2c1cSSimon J. Gerraty	    .MAKE.LEVEL - currently set to MAKELEVEL (same as gmake).
8651ee2c1cSSimon J. Gerraty	  o meta.c: use .MAKE.META.IGNORE_PATHS to allow customization of
8751ee2c1cSSimon J. Gerraty	    paths to ignore.
8851ee2c1cSSimon J. Gerraty
8974d2e02bSSimon J. Gerraty2013-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
9074d2e02bSSimon J. Gerraty
9174d2e02bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130604
9274d2e02bSSimon J. Gerraty	  Merge with NetBSD make, pick up
9374d2e02bSSimon J. Gerraty	  o job.c: JobCreatePipe: do fcntl() after any tweaking of fd's
9474d2e02bSSimon J. Gerraty	    to avoid leaking descriptors.
9574d2e02bSSimon J. Gerraty
9674d2e02bSSimon J. Gerraty2013-05-28  Simon J. Gerraty  <sjg@bad.crufty.net>
9774d2e02bSSimon J. Gerraty
9874d2e02bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130528
9974d2e02bSSimon J. Gerraty	  Merge with NetBSD make, pick up
10074d2e02bSSimon J. Gerraty	  o var.c: cleanup some left-overs in VarHash()
10174d2e02bSSimon J. Gerraty
10252d86256SSimon J. Gerraty2013-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
10352d86256SSimon J. Gerraty
10452d86256SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130520
10552d86256SSimon J. Gerraty	  generate manifest from component FILES rather than have to
10652d86256SSimon J. Gerraty	  update FILES when mk/FILES changes.
10752d86256SSimon J. Gerraty
10852d86256SSimon J. Gerraty2013-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>
10952d86256SSimon J. Gerraty
11052d86256SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130518
11152d86256SSimon J. Gerraty	  Merge with NetBSD make, pick up
11252d86256SSimon J. Gerraty	  o suff.c: don't skip all processsing for .PHONY targets
11352d86256SSimon J. Gerraty	    else wildcard srcs do not get expanded.
11452d86256SSimon J. Gerraty	  o var.c: expand name of variable to delete if necessary.
11552d86256SSimon J. Gerraty
1161748de26SSimon J. Gerraty2013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
1171748de26SSimon J. Gerraty
1181748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130330
1191748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
1201748de26SSimon J. Gerraty	  o meta.c: refine the handling of .OODATE in commands.
1211748de26SSimon J. Gerraty	    Rather than suppress command comparison for the entire script
1221748de26SSimon J. Gerraty	    as though .NOMETA_CMP had been used, only suppress it for the
1231748de26SSimon J. Gerraty	    one command line.
1241748de26SSimon J. Gerraty	    This allows something like ${.OODATE:M.NOMETA_CMP} to be used to
1251748de26SSimon J. Gerraty	    suppress comparison of a command without otherwise affecting it.
1261748de26SSimon J. Gerraty	  o make.1: document that
1271748de26SSimon J. Gerraty
1281748de26SSimon J. Gerraty2013-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
1291748de26SSimon J. Gerraty
1301748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130321
1311748de26SSimon J. Gerraty	  yes, not quite right but its a cooler number.
1321748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
1331748de26SSimon J. Gerraty	  o parse.c: fix ParseGmakeExport to be portable
1341748de26SSimon J. Gerraty	    and add a unit-test.
1351748de26SSimon J. Gerraty	* meta.c: call meta_init() before makefiles are read and if built
1361748de26SSimon J. Gerraty	  with filemon support set .MAKE.PATH_FILEMON to _PATH_FILEMON
1371748de26SSimon J. Gerraty	  this let's makefiles test for support.
1381748de26SSimon J. Gerraty	  Call meta_mode_init() to process .MAKE.MODE.
1391748de26SSimon J. Gerraty
1401748de26SSimon J. Gerraty2013-03-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1411748de26SSimon J. Gerraty
1421748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130305
1431748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
1441748de26SSimon J. Gerraty	  o run .STALE: target when a dependency from .depend is missing.
1451748de26SSimon J. Gerraty	  o job.c: add Job_RunTarget() for the above and .BEGIN
1461748de26SSimon J. Gerraty
1471748de26SSimon J. Gerraty2013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1481748de26SSimon J. Gerraty
1491748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130303
1501748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
1511748de26SSimon J. Gerraty	  o main.c: set .MAKE.OS to utsname.sysname
1521748de26SSimon J. Gerraty	  o job.c: more checks for read and poll errors
1531748de26SSimon J. Gerraty	  o var.c: lose VarChangeCase() saves 4% time
1541748de26SSimon J. Gerraty
1551748de26SSimon J. Gerraty2013-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
1561748de26SSimon J. Gerraty
1571748de26SSimon J. Gerraty	* boot-strap: remove MAKEOBJDIRPREFIX from environment since we
1581748de26SSimon J. Gerraty	  want to use MAKEOBJDIR
1591748de26SSimon J. Gerraty
1603cbdda60SSimon J. Gerraty2013-01-27  Simon J. Gerraty  <sjg@bad.crufty.net>
1613cbdda60SSimon J. Gerraty
1623cbdda60SSimon J. Gerraty	* Merge with NetBSD make, pick up
1633cbdda60SSimon J. Gerraty	  o make.1: more info on how shell commands are handled.
1643cbdda60SSimon J. Gerraty	  o job.c,main.c: detect write errors to job pipes.
1653cbdda60SSimon J. Gerraty
1663cbdda60SSimon J. Gerraty2013-01-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1673cbdda60SSimon J. Gerraty
1683cbdda60SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130123
1693cbdda60SSimon J. Gerraty	  Merge with NetBSD make, pick up
1703cbdda60SSimon J. Gerraty	  o meta.c: if script uses .OODATE and meta_oodate() decides
1713cbdda60SSimon J. Gerraty	    rebuild is needed, .OODATE will be empty - set it to .ALLSRC.
1723cbdda60SSimon J. Gerraty	  o var.c: in debug output indicate which variabale modifiers
1733cbdda60SSimon J. Gerraty	    apply to.
1743cbdda60SSimon J. Gerraty	  o remove Check_Cwd logic the makefiles have been fixed.
1753cbdda60SSimon J. Gerraty
1763cbdda60SSimon J. Gerraty2012-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
1773cbdda60SSimon J. Gerraty
1783cbdda60SSimon J. Gerraty	* makefile.in: add a simple makefile for folk who insist on
1793cbdda60SSimon J. Gerraty	  ./configure; make; make install
1803cbdda60SSimon J. Gerraty	  it just runs boot-strap
1813cbdda60SSimon J. Gerraty	* include mk/* to accommodate the above
1823cbdda60SSimon J. Gerraty	* boot-strap:  re-work to accommodate the above
1833cbdda60SSimon J. Gerraty	  mksrc defaults to $Mydir/mk
1843cbdda60SSimon J. Gerraty	  allow op={configure,build,install,clean,all}
1853cbdda60SSimon J. Gerraty	  add options to facilitate install
1863cbdda60SSimon J. Gerraty	* Makefile.config.in: just the bits set by configure
1873cbdda60SSimon J. Gerraty	* Makefile: bump version to 20121212
1883cbdda60SSimon J. Gerraty	  abandon Makefile.in (NetBSD Makefile)
1893cbdda60SSimon J. Gerraty	  leverage mk/* instead
1903cbdda60SSimon J. Gerraty	* configure.in: ensure srcdir is absolute
1913cbdda60SSimon J. Gerraty
19259a02420SSimon J. Gerraty2012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
19359a02420SSimon J. Gerraty
19459a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121111
19559a02420SSimon J. Gerraty	  fix generation of bmake.cat1
19659a02420SSimon J. Gerraty
19759a02420SSimon J. Gerraty2012-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
19859a02420SSimon J. Gerraty
19959a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121109
20059a02420SSimon J. Gerraty	  Merge with NetBSD make, pick up
20159a02420SSimon J. Gerraty	  o make.c: MakeBuildChild: return 0 so search continues if a
20259a02420SSimon J. Gerraty	    .ORDER dependency is detected.
20359a02420SSimon J. Gerraty	  o unit-tests/order: test the above
20459a02420SSimon J. Gerraty
20559a02420SSimon J. Gerraty2012-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>
20659a02420SSimon J. Gerraty
20759a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121102
20859a02420SSimon J. Gerraty	  Merge with NetBSD make, pick up
20959a02420SSimon J. Gerraty	  o cond.c: allow cond_state[] to grow.
21059a02420SSimon J. Gerraty	    In meta mode with a very large tree, we can hit the limit
21159a02420SSimon J. Gerraty	    while processing dirdeps.
21259a02420SSimon J. Gerraty
21359a02420SSimon J. Gerraty2012-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
21459a02420SSimon J. Gerraty
21559a02420SSimon J. Gerraty	* Makefile.in: we need to use ${srcdir} not ${.CURDIR}
21659a02420SSimon J. Gerraty
21793036677SSimon J. Gerraty2012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
21893036677SSimon J. Gerraty
21993036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121010
22093036677SSimon J. Gerraty	  o protect syntax that only bmake parses correctly.
22193036677SSimon J. Gerraty	  o remove auto setting of FORCE_MACHINE, use configure's
22293036677SSimon J. Gerraty	    --with-force-machine=whatever if that is desired.
22393036677SSimon J. Gerraty
22493036677SSimon J. Gerraty2012-10-08  Simon J. Gerraty  <sjg@bad.crufty.net>
22593036677SSimon J. Gerraty
22693036677SSimon J. Gerraty	* Makefile.in: do not lose history from make.1 when generating bmake.1
22793036677SSimon J. Gerraty
22893036677SSimon J. Gerraty2012-10-07  Simon J. Gerraty  <sjg@bad.crufty.net>
22993036677SSimon J. Gerraty
23093036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121007
23193036677SSimon J. Gerraty	  Merge with NetBSD make, pick up
23293036677SSimon J. Gerraty	  o compat.c: ignore empty commands - same as jobs mode.
23393036677SSimon J. Gerraty	  o make.1: document meta chars that cause use of shell
23493036677SSimon J. Gerraty
23593036677SSimon J. Gerraty2012-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
23693036677SSimon J. Gerraty
23793036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): bump version to 20120911
23893036677SSimon J. Gerraty	* bsd.after-import.mk: include Makefile.inc early and allow it to
23993036677SSimon J. Gerraty	  override PROG
24093036677SSimon J. Gerraty
2413955d011SMarcel Moolenaar2012-08-31  Simon J. Gerraty  <sjg@bad.crufty.net>
2423955d011SMarcel Moolenaar
2433955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120831
2443955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
2453955d011SMarcel Moolenaar	  o cast sizeof() to int for comparison
2463955d011SMarcel Moolenaar	  o minor make.1 tweak
2473955d011SMarcel Moolenaar
2483955d011SMarcel Moolenaar2012-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>
2493955d011SMarcel Moolenaar
2503955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120830
2513955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
2523955d011SMarcel Moolenaar	  o .MAKE.EXPAND_VARIABLES knob can control default behavior of -V
2533955d011SMarcel Moolenaar	  o debug flag -dV causes -V to show raw value regardless.
2543955d011SMarcel Moolenaar
2553955d011SMarcel Moolenaar2012-07-05  Simon J. Gerraty  <sjg@bad.crufty.net>
2563955d011SMarcel Moolenaar
2573955d011SMarcel Moolenaar	* bsd.after-import.mk (after-import): ensure unit-tests/Makefile
2583955d011SMarcel Moolenaar	  gets SRCTOP set.
2593955d011SMarcel Moolenaar
2603955d011SMarcel Moolenaar2012-07-04  Simon J. Gerraty  <sjg@bad.crufty.net>
2613955d011SMarcel Moolenaar
2623955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120704
2633955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
2643955d011SMarcel Moolenaar	  o Job_ParseShell should call Shell_Init if it has been
2653955d011SMarcel Moolenaar	    previously called.
2663955d011SMarcel Moolenaar	* Makefile.in: set USE_META based on configure result.
2673955d011SMarcel Moolenaar	  also .PARSEDIR is safer indicator of bmake.
2683955d011SMarcel Moolenaar
2693955d011SMarcel Moolenaar2012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
2703955d011SMarcel Moolenaar
2713955d011SMarcel Moolenaar	* Makefile.in: bump version to 20120626
2723955d011SMarcel Moolenaar	  ensure CPPFLAGS is in CFLAGS
2733955d011SMarcel Moolenaar	* meta.c: avoid nested externs
2743955d011SMarcel Moolenaar	* bsd.after-import.mk: avoid ${.CURDIR}/Makefile as target
2753955d011SMarcel Moolenaar
2763955d011SMarcel Moolenaar2012-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>
2773955d011SMarcel Moolenaar
2783955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120620
2793955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
2803955d011SMarcel Moolenaar	  o make_malloc.c: avoid including make_malloc.h again
2813955d011SMarcel Moolenaar
2823955d011SMarcel Moolenaar	* Makefile.in: avoid bmake only syntax or protect with
2833955d011SMarcel Moolenaar	  .if defined(.MAKE.LEVEL)
2843955d011SMarcel Moolenaar	* bsd.after-import.mk: replace .-include with .sinclude
2853955d011SMarcel Moolenaar	  ensure? SRCTOP gets a value
2863955d011SMarcel Moolenaar	* configure.in: look for filemon.h in /usr/include/dev/filemon first.
2873955d011SMarcel Moolenaar
2883955d011SMarcel Moolenaar2012-06-19  Simon J. Gerraty  <sjg@bad.crufty.net>
2893955d011SMarcel Moolenaar
2903955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120612
2913955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
2923955d011SMarcel Moolenaar	  o use MAKE_ATTR_* rather than those defined by cdefs.h or compiler
2933955d011SMarcel Moolenaar	    for greater portability.
2943955d011SMarcel Moolenaar	  o unit-tests/forloop: check that .for works as expected wrt
2953955d011SMarcel Moolenaar	    number of times and with "quoted strings".
2963955d011SMarcel Moolenaar
2973955d011SMarcel Moolenaar2012-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
2983955d011SMarcel Moolenaar
2993955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120606
3003955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
3013955d011SMarcel Moolenaar	  o compat.c: use kill(2) rather than raise(3).
3023955d011SMarcel Moolenaar	* configure.in: look for sys/dev/filemon
3033955d011SMarcel Moolenaar	* bsd.after-import.mk: add a .-include "Makefile.inc" to Makefile
3043955d011SMarcel Moolenaar	  and pass BOOTSTRAP_XTRAS to boot-strap.
3053955d011SMarcel Moolenaar
3063955d011SMarcel Moolenaar2012-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
3073955d011SMarcel Moolenaar
3083955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120604
3093955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
3103955d011SMarcel Moolenaar	  o util.c and var.c share same var for tracking if environ
3113955d011SMarcel Moolenaar	    has been reallocated.
3123955d011SMarcel Moolenaar	  o util.c provide getenv with setenv.
3133955d011SMarcel Moolenaar	* Add MAKE_LEVEL_SAFE as an alternate means of passing MAKE_LEVEL
3143955d011SMarcel Moolenaar	  when the shell actively strips .MAKE.* from the environment.
3153955d011SMarcel Moolenaar	  We still refer to the variable always as .MAKE.LEVEL
3163955d011SMarcel Moolenaar	* util.c fix bug in findenv() was finding prefix of name.
3173955d011SMarcel Moolenaar	* compat.c: re-raising SIGINT etc after running .INTERRUPT
3183955d011SMarcel Moolenaar	  results in more reliable termination of all activity on many
3193955d011SMarcel Moolenaar	  platforms.
3203955d011SMarcel Moolenaar
3213955d011SMarcel Moolenaar2012-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
3223955d011SMarcel Moolenaar
3233955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120602
3243955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
3253955d011SMarcel Moolenaar	  o for.c: handle quoted items in .for list
3263955d011SMarcel Moolenaar
3273955d011SMarcel Moolenaar2012-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
3283955d011SMarcel Moolenaar
3293955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120530
3303955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
3313955d011SMarcel Moolenaar	  o compat.c: ignore empty command.
3323955d011SMarcel Moolenaar
3333955d011SMarcel Moolenaar2012-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
3343955d011SMarcel Moolenaar
3353955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120524
3363955d011SMarcel Moolenaar	* FILES: add bsd.after-import.mk:
3373955d011SMarcel Moolenaar	  A simple means of integrating bmake into a BSD build system.
3383955d011SMarcel Moolenaar
3393955d011SMarcel Moolenaar2012-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
3403955d011SMarcel Moolenaar
3413955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120520
3423955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
3433955d011SMarcel Moolenaar	  o increased limit for nested conditionals.
3443955d011SMarcel Moolenaar
3453955d011SMarcel Moolenaar2012-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>
3463955d011SMarcel Moolenaar
3473955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120518
3483955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
3493955d011SMarcel Moolenaar	  o use _exit(2) in signal hanlder
3503955d011SMarcel Moolenaar	  o Don't use the [dir] cache when building nodes that might have
3513955d011SMarcel Moolenaar	    changed since the last exec.
3523955d011SMarcel Moolenaar	  o Avoid nested extern declaration warnings.
3533955d011SMarcel Moolenaar
3543955d011SMarcel Moolenaar2012-04-27  Simon J. Gerraty  <sjg@bad.crufty.net>
3553955d011SMarcel Moolenaar
3563955d011SMarcel Moolenaar	* meta.c (fgetLine): avoid %z - not portable.
3573955d011SMarcel Moolenaar	* parse.c: Since we moved include of sys/mman.h
3583955d011SMarcel Moolenaar	  and def's of MAP_COPY etc. we got dups from a merge.
3593955d011SMarcel Moolenaar
3603955d011SMarcel Moolenaar2012-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
3613955d011SMarcel Moolenaar
3623955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120420
3633955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
3643955d011SMarcel Moolenaar	  o restore duplicate supression in .MAKE.MAKEFILES
3653955d011SMarcel Moolenaar	    runtime saving can be significant.
3663955d011SMarcel Moolenaar	  o Var_Subst() uses Buf_DestroyCompact() to reduce memory
3673955d011SMarcel Moolenaar	    consumption up to 20%.
3683955d011SMarcel Moolenaar
3693955d011SMarcel Moolenaar2012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
3703955d011SMarcel Moolenaar
3713955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120420
3723955d011SMarcel Moolenaar          Merge with NetBSD make, pick up
3733955d011SMarcel Moolenaar	  o remove duplicate supression in .MAKE.MAKEFILES
3743955d011SMarcel Moolenaar	  o improved dir cache behavior
3753955d011SMarcel Moolenaar	  o gmake'ish export command
3763955d011SMarcel Moolenaar
3773955d011SMarcel Moolenaar2012-03-25  Simon J. Gerraty  <sjg@bad.crufty.net>
3783955d011SMarcel Moolenaar
3793955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120325
3803955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
3813955d011SMarcel Moolenaar	  o fix parsing of :[#] in conditionals.
3823955d011SMarcel Moolenaar
3833955d011SMarcel Moolenaar2012-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
3843955d011SMarcel Moolenaar
3853955d011SMarcel Moolenaar	* Makefile.in: replace use of .Nx in bmake.1 with NetBSD
3863955d011SMarcel Moolenaar	  since some systems cannot cope with .Nx <version>
3873955d011SMarcel Moolenaar
3883955d011SMarcel Moolenaar2011-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
3893955d011SMarcel Moolenaar
3903955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20111111
3913955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
3923955d011SMarcel Moolenaar	  o debug output for .PARSEDIR and .PARSEFILE
3933955d011SMarcel Moolenaar
3943955d011SMarcel Moolenaar2011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
3953955d011SMarcel Moolenaar
3963955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION):  bump version to 20111010
3973955d011SMarcel Moolenaar
3983955d011SMarcel Moolenaar2011-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>
3993955d011SMarcel Moolenaar
4003955d011SMarcel Moolenaar	* boot-strap: check for an expected file in the dirs we look for.
4013955d011SMarcel Moolenaar	* make-bootstrap.sh: pass on LDSTATIC
4023955d011SMarcel Moolenaar
4033955d011SMarcel Moolenaar2011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
4043955d011SMarcel Moolenaar
4053955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20111001
4063955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4073955d011SMarcel Moolenaar	  o ensure .PREFIX is set for .PHONY
4083955d011SMarcel Moolenaar	    and .TARGET set for .PHONY run via .END
4093955d011SMarcel Moolenaar	  o __dead used consistently
4103955d011SMarcel Moolenaar
4113955d011SMarcel Moolenaar2011-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>
4123955d011SMarcel Moolenaar
4133955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): 20110909 is a better number ;-)
4143955d011SMarcel Moolenaar
4153955d011SMarcel Moolenaar2011-09-05  Simon J. Gerraty  <sjg@bad.crufty.net>
4163955d011SMarcel Moolenaar
4173955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110905
4183955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4193955d011SMarcel Moolenaar	  o meta_oodate: ignore makeDependfile
4203955d011SMarcel Moolenaar
4213955d011SMarcel Moolenaar2011-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
4223955d011SMarcel Moolenaar
4233955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110828
4243955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4253955d011SMarcel Moolenaar	  o silent=yes in .MAKE.MODE causes meta mode to mark targets
4263955d011SMarcel Moolenaar	    as SILENT if a .meta file is created
4273955d011SMarcel Moolenaar
4283955d011SMarcel Moolenaar2011-08-18  Simon J. Gerraty  <sjg@bad.crufty.net>
4293955d011SMarcel Moolenaar
4303955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110818
4313955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4323955d011SMarcel Moolenaar	  o in meta mode, if target flagged .META a missing .meta file
4333955d011SMarcel Moolenaar	    means target is out-of-date
4343955d011SMarcel Moolenaar	  o fixes for gcc 4.5 warnings
4353955d011SMarcel Moolenaar	  o simplify job printing code
4363955d011SMarcel Moolenaar
4373955d011SMarcel Moolenaar2011-08-09  Simon J. Gerraty  <sjg@bad.crufty.net>
4383955d011SMarcel Moolenaar
4393955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110808
4403955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4413955d011SMarcel Moolenaar	  o do not touch OP_SPECIAL targets when doing make -t
4423955d011SMarcel Moolenaar
4433955d011SMarcel Moolenaar2011-06-22  Simon J. Gerraty  <sjg@bad.crufty.net>
4443955d011SMarcel Moolenaar
4453955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110622
4463955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4473955d011SMarcel Moolenaar	  o meta_oodate detect corrupted .meta file and declare oodate.
4483955d011SMarcel Moolenaar	* configure.in: add check for setsid
4493955d011SMarcel Moolenaar
4503955d011SMarcel Moolenaar2011-06-07  Simon J. Gerraty  <sjg@bad.crufty.net>
4513955d011SMarcel Moolenaar
4523955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
4533955d011SMarcel Moolenaar	  o unit-tests/modts now works on MirBSD
4543955d011SMarcel Moolenaar
4553955d011SMarcel Moolenaar2011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
4563955d011SMarcel Moolenaar
4573955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110606
4583955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4593955d011SMarcel Moolenaar	  o ApplyModifiers: when we parse a variable which is not
4603955d011SMarcel Moolenaar	    the entire modifier string, or not followed by ':', do not
4613955d011SMarcel Moolenaar	    consider it as containing modifiers.
4623955d011SMarcel Moolenaar	  o loadfile: ensure newline at end of mapped file.
4633955d011SMarcel Moolenaar
4643955d011SMarcel Moolenaar2011-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
4653955d011SMarcel Moolenaar
4663955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110505
4673955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4683955d011SMarcel Moolenaar	  o .MAKE.META.BAILIWICK - list of prefixes which define the scope
4693955d011SMarcel Moolenaar	    of make's control.  In meta mode, any generated file within
4703955d011SMarcel Moolenaar	    said bailiwick, which  is found to be missing, causes current
4713955d011SMarcel Moolenaar	    target to be out-of-date.
4723955d011SMarcel Moolenaar
4733955d011SMarcel Moolenaar2011-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
4743955d011SMarcel Moolenaar
4753955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110411
4763955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4773955d011SMarcel Moolenaar	  o when long modifiers fail to match, check sysV style.
4783955d011SMarcel Moolenaar	    - add a test case
4793955d011SMarcel Moolenaar
4803955d011SMarcel Moolenaar2011-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>
4813955d011SMarcel Moolenaar
4823955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110410
4833955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4843955d011SMarcel Moolenaar	  o :hash - cheap 32bit hash of value
4853955d011SMarcel Moolenaar	  o :localtime, :gmtime - use value as format string for strftime.
4863955d011SMarcel Moolenaar
4873955d011SMarcel Moolenaar2011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
4883955d011SMarcel Moolenaar
4893955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110330
4903955d011SMarcel Moolenaar	  mostly because its a cooler version.
4913955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
4923955d011SMarcel Moolenaar	  o NetBSD tags for meta.[ch]
4933955d011SMarcel Moolenaar	  o job.c call meta_job_finish() after meta_job_error().
4943955d011SMarcel Moolenaar	  o meta_job_error() should call meta_job_finish() to ensure
4953955d011SMarcel Moolenaar	    .meta file is closed, and safe to copy - if .ERROR target wants.
4963955d011SMarcel Moolenaar	   meta_job_finish() is safe to call repeatedly.
4973955d011SMarcel Moolenaar
4983955d011SMarcel Moolenaar2011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
4993955d011SMarcel Moolenaar
5003955d011SMarcel Moolenaar	* unit-tests/modts: use printf if it is a builtin,
5013955d011SMarcel Moolenaar	  to save us from MirBSD
5023955d011SMarcel Moolenaar
5033955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110329
5043955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5053955d011SMarcel Moolenaar	  o fix for use after free() in CondDoExists().
5063955d011SMarcel Moolenaar	  o meta_oodate() report extra commands and return earlier.
5073955d011SMarcel Moolenaar
5083955d011SMarcel Moolenaar2011-03-27  Simon J. Gerraty  <sjg@bad.crufty.net>
5093955d011SMarcel Moolenaar
5103955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110327
5113955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5123955d011SMarcel Moolenaar	  o meta.c, if .MAKE.MODE contains curdirOk=yes
5133955d011SMarcel Moolenaar	    allow creating .meta files in .CURDIR
5143955d011SMarcel Moolenaar	* boot-strap (TOOL_DIFF): aparently at least on linux distro
5153955d011SMarcel Moolenaar	  formats the output of 'type' differently - so eat any "()"
5163955d011SMarcel Moolenaar
5173955d011SMarcel Moolenaar2011-03-06  Simon J. Gerraty  <sjg@bad.crufty.net>
5183955d011SMarcel Moolenaar
5193955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110306
5203955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5213955d011SMarcel Moolenaar	  o meta.c, only do getcwd() once
5223955d011SMarcel Moolenaar
5233955d011SMarcel Moolenaar2011-03-05  Simon J. Gerraty  <sjg@bad.crufty.net>
5243955d011SMarcel Moolenaar
5253955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110305
5263955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5273955d011SMarcel Moolenaar	  o correct sysV substitution handling of empty lhs and variable
5283955d011SMarcel Moolenaar	  o correct exists() check for dir with trailing /
5293955d011SMarcel Moolenaar	  o correct handling of modifiers for non-existant variables
5303955d011SMarcel Moolenaar	    during evaluation of conditionals.
5313955d011SMarcel Moolenaar	  o ensure MAP_FILE is defined.
5323955d011SMarcel Moolenaar	  o meta.c use curdir[] now exported by main.c
5333955d011SMarcel Moolenaar
5343955d011SMarcel Moolenaar2011-02-25  Simon J. Gerraty  <sjg@bad.crufty.net>
5353955d011SMarcel Moolenaar
5363955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110225
5373955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5383955d011SMarcel Moolenaar	  o fix for incorrect .PARSEDIR when .OBJDIR is re-computed after
5393955d011SMarcel Moolenaar	    makefiles have been read.
5403955d011SMarcel Moolenaar	  o fix example of :? modifier in man page.
5413955d011SMarcel Moolenaar
5423955d011SMarcel Moolenaar2011-02-13  Simon J. Gerraty  <sjg@bad.crufty.net>
5433955d011SMarcel Moolenaar
5443955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110214
5453955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5463955d011SMarcel Moolenaar	  o meta.c handle realpath() failing when generating meta file
5473955d011SMarcel Moolenaar	    name.
5483955d011SMarcel Moolenaar
5493955d011SMarcel Moolenaar	* sigcompat.c: convert to ansi so we can use higher warning levels.
5503955d011SMarcel Moolenaar
5513955d011SMarcel Moolenaar
5523955d011SMarcel Moolenaar2011-02-07  Simon J. Gerraty  <sjg@bad.crufty.net>
5533955d011SMarcel Moolenaar
5543955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110207
5553955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5563955d011SMarcel Moolenaar	  o fix for bug in meta mode.
5573955d011SMarcel Moolenaar
5583955d011SMarcel Moolenaar2011-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>
5593955d011SMarcel Moolenaar
5603955d011SMarcel Moolenaar	* parse.c: SunOS 5.8 at least does not have MAP_FILE
5613955d011SMarcel Moolenaar
5623955d011SMarcel Moolenaar2011-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
5633955d011SMarcel Moolenaar
5643955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110101
5653955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5663955d011SMarcel Moolenaar	  o use mmap(2) if available, for reading makefiles
5673955d011SMarcel Moolenaar
5683955d011SMarcel Moolenaar2010-12-15  Simon J. Gerraty  <sjg@bad.crufty.net>
5693955d011SMarcel Moolenaar
5703955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101215
5713955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5723955d011SMarcel Moolenaar	  o ensure meta_job_error() does not report a previous .meta file
5733955d011SMarcel Moolenaar	    as being culprit.
5743955d011SMarcel Moolenaar
5753955d011SMarcel Moolenaar2010-12-10  Simon J. Gerraty  <sjg@bad.crufty.net>
5763955d011SMarcel Moolenaar
5773955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101210
5783955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5793955d011SMarcel Moolenaar	  o meta_oodate: track cwd per process, and only consider target
5803955d011SMarcel Moolenaar	    out-of-date if missing file is outside make's CWD.
5813955d011SMarcel Moolenaar	    Ignore files in /tmp/ etc.
5823955d011SMarcel Moolenaar	  o to ensure unit-tests results match, need to control LC_ALL
5833955d011SMarcel Moolenaar	    as well as LANG.
5843955d011SMarcel Moolenaar	  o fix for parsing bug in var.c
5853955d011SMarcel Moolenaar
5863955d011SMarcel Moolenaar2010-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
5873955d011SMarcel Moolenaar
5883955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101126
5893955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
5903955d011SMarcel Moolenaar	  o if stale dependency is an IMPSRC, search via .PATH
5913955d011SMarcel Moolenaar	  o meta_oodate: if a referenced file is missing, target is
5923955d011SMarcel Moolenaar	    out-of-date.
5933955d011SMarcel Moolenaar	  o meta_oodate: if a target uses .OODATE in its commands,
5943955d011SMarcel Moolenaar	    it (.OODATE) needs to be recomputed.
5953955d011SMarcel Moolenaar	  o keep a pointer to youngest child node, rather than just its
5963955d011SMarcel Moolenaar	    mtime.
5973955d011SMarcel Moolenaar
5983955d011SMarcel Moolenaar2010-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>
5993955d011SMarcel Moolenaar
6003955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101101
6013955d011SMarcel Moolenaar
6023955d011SMarcel Moolenaar2010-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>
6033955d011SMarcel Moolenaar
6043955d011SMarcel Moolenaar	* machine.sh: like os.sh,
6053955d011SMarcel Moolenaar	allow for uname -p producing useless drivel
6063955d011SMarcel Moolenaar
6073955d011SMarcel Moolenaar2010-09-13  Simon J. Gerraty  <sjg@bad.crufty.net>
6083955d011SMarcel Moolenaar
6093955d011SMarcel Moolenaar	* boot-strap: document configure knobs for meta and filemon.
6103955d011SMarcel Moolenaar
6113955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100911
6123955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6133955d011SMarcel Moolenaar	  o meta.c - meta mode
6143955d011SMarcel Moolenaar
6153955d011SMarcel Moolenaar	* make-bootstrap.sh.in: handle meta.c
6163955d011SMarcel Moolenaar	* configure.in: add knobs for use_meta and filemon_h
6173955d011SMarcel Moolenaar	  also, look for dirname, str[e]sep and strlcpy
6183955d011SMarcel Moolenaar	* util.c: add simple err[x] and warn[x]
6193955d011SMarcel Moolenaar
6203955d011SMarcel Moolenaar2010-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
6213955d011SMarcel Moolenaar
6223955d011SMarcel Moolenaar	* boot-strap (TOOL_DIFF): set this to ensure tests use
6233955d011SMarcel Moolenaar	  the same version of diff that configure tested
6243955d011SMarcel Moolenaar
6253955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100808
6263955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6273955d011SMarcel Moolenaar	  o in jobs mode, when we discover we cannot make something,
6283955d011SMarcel Moolenaar	    call PrintOnError before exit.
6293955d011SMarcel Moolenaar
6303955d011SMarcel Moolenaar2010-08-06  Simon J. Gerraty  <sjg@bad.crufty.net>
6313955d011SMarcel Moolenaar
6323955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100806
6333955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6343955d011SMarcel Moolenaar	  o formatting fixes for ignored errors
6353955d011SMarcel Moolenaar	  o ensure jobs are cleaned up regardless of where wait() was called.
6363955d011SMarcel Moolenaar
6373955d011SMarcel Moolenaar2010-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
6383955d011SMarcel Moolenaar
6393955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100618
6403955d011SMarcel Moolenaar	* os.sh (MACHINE_ARCH): watch out for drivel from uname -p
6413955d011SMarcel Moolenaar
6423955d011SMarcel Moolenaar2010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
6433955d011SMarcel Moolenaar
6443955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100616
6453955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6463955d011SMarcel Moolenaar	  o man page update
6473955d011SMarcel Moolenaar	  o call PrintOnError from JobFinish when we detect an error we
6483955d011SMarcel Moolenaar	    are not ignoring.
6493955d011SMarcel Moolenaar
6503955d011SMarcel Moolenaar2010-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
6513955d011SMarcel Moolenaar
6523955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100606
6533955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6543955d011SMarcel Moolenaar	  o man page update
6553955d011SMarcel Moolenaar
6563955d011SMarcel Moolenaar2010-06-05  Simon J. Gerraty  <sjg@bad.crufty.net>
6573955d011SMarcel Moolenaar
6583955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100605
6593955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6603955d011SMarcel Moolenaar	  o use bmake_signal() which is a wrapper around sigaction()
6613955d011SMarcel Moolenaar	    in place of signal()
6623955d011SMarcel Moolenaar	  o add .export-env to allow exporting variables to environment
6633955d011SMarcel Moolenaar	    without tracking (so no re-export when the internal value is
6643955d011SMarcel Moolenaar	    changed).
6653955d011SMarcel Moolenaar
6663955d011SMarcel Moolenaar2010-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
6673955d011SMarcel Moolenaar
6683955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100524
6693955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6703955d011SMarcel Moolenaar	  o fix for .info et al being greedy.
6713955d011SMarcel Moolenaar
6723955d011SMarcel Moolenaar2010-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
6733955d011SMarcel Moolenaar
6743955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100520
6753955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6763955d011SMarcel Moolenaar	  o back to using realpath on argv[0]
6773955d011SMarcel Moolenaar	    but only if contains '/' and does not start with '/'.
6783955d011SMarcel Moolenaar
6793955d011SMarcel Moolenaar2010-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
6803955d011SMarcel Moolenaar
6813955d011SMarcel Moolenaar	* boot-strap: use absolute path for bmake when running tests.
6823955d011SMarcel Moolenaar
6833955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION):  bump version to 20100510
6843955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6853955d011SMarcel Moolenaar	  o revert use of realpath on argv[0]
6863955d011SMarcel Moolenaar	    too many corner cases.
6873955d011SMarcel Moolenaar	  o print MAKE_PRINT_VAR_ON_ERROR before running .ERROR target.
6883955d011SMarcel Moolenaar
6893955d011SMarcel Moolenaar2010-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
6903955d011SMarcel Moolenaar
6913955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100505
6923955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
6933955d011SMarcel Moolenaar	  o fix for missed SIGCHLD when compiled with SunPRO
6943955d011SMarcel Moolenaar	    actually for bmake, defining FORCE_POSIX_SIGNALS would have
6953955d011SMarcel Moolenaar	    done the job.
6963955d011SMarcel Moolenaar
6973955d011SMarcel Moolenaar2010-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
6983955d011SMarcel Moolenaar
6993955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100430
7003955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
7013955d011SMarcel Moolenaar	  o fflush stdout before writing to stdout
7023955d011SMarcel Moolenaar
7033955d011SMarcel Moolenaar2010-04-23  Simon J. Gerraty  <sjg@bad.crufty.net>
7043955d011SMarcel Moolenaar
7053955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100423
7063955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
7073955d011SMarcel Moolenaar	  o updated unit tests for Haiku (this time for sure).
7083955d011SMarcel Moolenaar	* boot-strap: based on patch from joerg
7093955d011SMarcel Moolenaar	  honor --with-default-sys-path better.
7103955d011SMarcel Moolenaar	* boot-strap: remove mention of --with-prefix-sys-path
7113955d011SMarcel Moolenaar
7123955d011SMarcel Moolenaar2010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
7133955d011SMarcel Moolenaar
7143955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100422
7153955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
7163955d011SMarcel Moolenaar	  o fix for vfork() on Darwin.
7173955d011SMarcel Moolenaar	  o fix for bogus $TMPDIR.
7183955d011SMarcel Moolenaar	  o set .MAKE.MODE=compat for -B
7193955d011SMarcel Moolenaar	  o set .MAKE.JOBS=max_jobs for -j max_jobs
7203955d011SMarcel Moolenaar	  o allow unit-tests to run without any *.mk
7213955d011SMarcel Moolenaar	  o unit-tests/modmisc be more conservative in dirs presumed to exist.
7223955d011SMarcel Moolenaar	* boot-strap: ignore /usr/share/mk except on NetBSD.
7233955d011SMarcel Moolenaar	* unit-tests/Makefile.in: set LANG=C when running unit-tests to
7243955d011SMarcel Moolenaar	  ensure sort(1) behaves as expected.
7253955d011SMarcel Moolenaar
7263955d011SMarcel Moolenaar2010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
7273955d011SMarcel Moolenaar
7283955d011SMarcel Moolenaar	* boot-strap: add FindHereOrAbove so we can use -m .../mk
7293955d011SMarcel Moolenaar
7303955d011SMarcel Moolenaar2010-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
7313955d011SMarcel Moolenaar
7323955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100420
7333955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
7343955d011SMarcel Moolenaar	  o fix for variable realpath() behavior.
7353955d011SMarcel Moolenaar	    we have to stat(2) the result to be sure.
7363955d011SMarcel Moolenaar	  o fix for .export (all) when nested vars use :sh
7373955d011SMarcel Moolenaar
7383955d011SMarcel Moolenaar2010-04-14  Simon J. Gerraty  <sjg@bad.crufty.net>
7393955d011SMarcel Moolenaar
7403955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100414
7413955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
7423955d011SMarcel Moolenaar	  o use realpath to resolve argv[0] (for .MAKE) if needed.
7433955d011SMarcel Moolenaar	  o add realpath from libc.
7443955d011SMarcel Moolenaar	  o add :tA to resolve variable via realpath(3) if possible.
7453955d011SMarcel Moolenaar
7463955d011SMarcel Moolenaar2010-04-08  Simon J. Gerraty  <sjg@bad.crufty.net>
7473955d011SMarcel Moolenaar
7483955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100408
7493955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
7503955d011SMarcel Moolenaar	  o unit tests for .ERROR, .error
7513955d011SMarcel Moolenaar	  o fix for .ERROR to ensure it cannot be default target.
7523955d011SMarcel Moolenaar
7533955d011SMarcel Moolenaar2010-04-06  Simon J. Gerraty  <sjg@bad.crufty.net>
7543955d011SMarcel Moolenaar
7553955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100406
7563955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
7573955d011SMarcel Moolenaar	  o fix for compat mode "Error code" going to debug_file.
7583955d011SMarcel Moolenaar	  o fix for .ALLSRC being populated twice.
7593955d011SMarcel Moolenaar	  o support for .info, .warning and .error directives
7603955d011SMarcel Moolenaar	  o .MAKE.MODE to control make's operational mode
7613955d011SMarcel Moolenaar	  o .MAKE.MAKEFILE_PREFERENCE to control the preferred makefile
7623955d011SMarcel Moolenaar	    name(s).
7633955d011SMarcel Moolenaar	  o .MAKE.DEPENDFILE to control the name of the depend file
7643955d011SMarcel Moolenaar	  o .ERROR target - run on failure.
7653955d011SMarcel Moolenaar
7663955d011SMarcel Moolenaar2010-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
7673955d011SMarcel Moolenaar
7683955d011SMarcel Moolenaar	* make-bootstrap.sh.in: extract MAKE_VERSION from Makefile
7693955d011SMarcel Moolenaar
7703955d011SMarcel Moolenaar	* os.sh,arch.c: patch for Haiku from joerg at netbsd
7713955d011SMarcel Moolenaar
7723955d011SMarcel Moolenaar2010-03-17  Simon J. Gerraty  <sjg@bad.crufty.net>
7733955d011SMarcel Moolenaar
7743955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100222
7753955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
7763955d011SMarcel Moolenaar	  o better error msg for .for with mutiple inter vars
7773955d011SMarcel Moolenaar
7783955d011SMarcel Moolenaar	* boot-strap:
7793955d011SMarcel Moolenaar	  o use make-bootstrap.sh from joerg at netbsd
7803955d011SMarcel Moolenaar	    to avoid the need for a native make when bootstrapping.
7813955d011SMarcel Moolenaar	  o add "" everywhere ;-)
7823955d011SMarcel Moolenaar	  o if /usr/share/tmac/andoc.tmac exists install nroff bmake.1
7833955d011SMarcel Moolenaar	    otherwise the pre-formated version.
7843955d011SMarcel Moolenaar
7853955d011SMarcel Moolenaar2010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
7863955d011SMarcel Moolenaar
7873955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100102
7883955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
7893955d011SMarcel Moolenaar	  o fix for -m .../
7903955d011SMarcel Moolenaar
7913955d011SMarcel Moolenaar2009-11-18  Simon J. Gerraty  <sjg@void.crufty.net>
7923955d011SMarcel Moolenaar
7933955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20091118
7943955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
7953955d011SMarcel Moolenaar	  o .unexport
7963955d011SMarcel Moolenaar	  o report lines that start with '.' and should have ':'
7973955d011SMarcel Moolenaar	    (catch typo's of .el*if).
7983955d011SMarcel Moolenaar
7993955d011SMarcel Moolenaar2009-10-30  Simon J. Gerraty  <sjg@void.crufty.net>
8003955d011SMarcel Moolenaar
8013955d011SMarcel Moolenaar	* configure.in: Ensure that srcdir and mksrc are absolute paths.
8023955d011SMarcel Moolenaar
8033955d011SMarcel Moolenaar2009-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
8043955d011SMarcel Moolenaar
8053955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): fix version to 20091007
8063955d011SMarcel Moolenaar
8073955d011SMarcel Moolenaar2009-10-07  Simon J. Gerraty  <sjg@void.crufty.net>
8083955d011SMarcel Moolenaar
8093955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 200910007
8103955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
8113955d011SMarcel Moolenaar	  o fix for parsing of :S;...;...; applied to .for loop iterator
8123955d011SMarcel Moolenaar	    appearing in a dependency line.
8133955d011SMarcel Moolenaar
8143955d011SMarcel Moolenaar2009-09-09  Simon J. Gerraty  <sjg@void.crufty.net>
8153955d011SMarcel Moolenaar
8163955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090909
8173955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
8183955d011SMarcel Moolenaar	  o fix for -C, .CURDIR and .OBJDIR
8193955d011SMarcel Moolenaar	* boot-strap:
8203955d011SMarcel Moolenaar	  o allow share_dir to be set independent of prefix.
8213955d011SMarcel Moolenaar	  o select default share_dir better when prefix ends in $HOST_TARGET
8223955d011SMarcel Moolenaar	  o if FORCE_BSD_MK etc were set, include them in the suggested
8233955d011SMarcel Moolenaar	    install-mk command.
8243955d011SMarcel Moolenaar
8253955d011SMarcel Moolenaar2009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
8263955d011SMarcel Moolenaar
8273955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090908
8283955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
8293955d011SMarcel Moolenaar	  o .MAKE.LEVEL for recursion tracking
8303955d011SMarcel Moolenaar	  o fix for :M scanning \:
8313955d011SMarcel Moolenaar
8323955d011SMarcel Moolenaar2009-09-03  Simon J. Gerraty  <sjg@void.crufty.net>
8333955d011SMarcel Moolenaar
8343955d011SMarcel Moolenaar	* configure.in: Don't -D__EXTENSIONS__ if
8353955d011SMarcel Moolenaar	AC_USE_SYSTEM_EXTENSIONS says "no".
8363955d011SMarcel Moolenaar
8373955d011SMarcel Moolenaar2009-08-26  Simon J. Gerraty  <sjg@void.crufty.net>
8383955d011SMarcel Moolenaar
8393955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090826
8403955d011SMarcel Moolenaar	Simplify MAKE_VERSION to just the bare date.
8413955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
8423955d011SMarcel Moolenaar	  o -C directory support.
8433955d011SMarcel Moolenaar	  o support for SIGINFO
8443955d011SMarcel Moolenaar	  o use $TMPDIR for temp files.
8453955d011SMarcel Moolenaar	  o child of vfork should be careful about modifying parent's state.
8463955d011SMarcel Moolenaar
8473955d011SMarcel Moolenaar
8483955d011SMarcel Moolenaar2009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
8493955d011SMarcel Moolenaar
8503955d011SMarcel Moolenaar	* Appy some patches for MiNT from David Brownlee
8513955d011SMarcel Moolenaar
8523955d011SMarcel Moolenaar2009-02-26  Simon J. Gerraty  <sjg@void.crufty.net>
8533955d011SMarcel Moolenaar
8543955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20090222
8553955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
8563955d011SMarcel Moolenaar	  o Possible null pointer de-ref in Var_Set.
8573955d011SMarcel Moolenaar
8583955d011SMarcel Moolenaar2009-02-08  Simon J. Gerraty  <sjg@void.crufty.net>
8593955d011SMarcel Moolenaar
8603955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20090204
8613955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
8623955d011SMarcel Moolenaar	  o bmake_malloc et al moved to their own .c
8633955d011SMarcel Moolenaar	  o Count both () and {} when looking for the end of a :M pattern
8643955d011SMarcel Moolenaar	  o Change 'Buffer' so that it is the actual struct, not a pointer to it.
8653955d011SMarcel Moolenaar	  o strlist.c - functions for processing extendable arrays of pointers to strings.
8663955d011SMarcel Moolenaar	  o ClientData replaced with void *, so const void * can be used.
8673955d011SMarcel Moolenaar	  o New debug flag C for DEBUG_CWD
8683955d011SMarcel Moolenaar
8693955d011SMarcel Moolenaar2008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
8703955d011SMarcel Moolenaar
8713955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081111
8723955d011SMarcel Moolenaar	  Apply patch from Joerg Sonnenberge to
8733955d011SMarcel Moolenaar	  configure.in:
8743955d011SMarcel Moolenaar	  o remove some redundant checks
8753955d011SMarcel Moolenaar	  o check for emlloc etc only in libutil and require the whole family.
8763955d011SMarcel Moolenaar	  util.c:
8773955d011SMarcel Moolenaar	  o remove [v]asprintf which is no longer used.
8783955d011SMarcel Moolenaar
8793955d011SMarcel Moolenaar2008-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
8803955d011SMarcel Moolenaar
8813955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081101
8823955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
8833955d011SMarcel Moolenaar	  o util.c: avoid use of putenv() - christos
8843955d011SMarcel Moolenaar
8853955d011SMarcel Moolenaar2008-10-30  Simon J. Gerraty  <sjg@void.crufty.net>
8863955d011SMarcel Moolenaar
8873955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081030
8883955d011SMarcel Moolenaar	  pick up man page tweaks.
8893955d011SMarcel Moolenaar
8903955d011SMarcel Moolenaar2008-10-29  Simon J. Gerraty  <sjg@void.crufty.net>
8913955d011SMarcel Moolenaar
8923955d011SMarcel Moolenaar	* Makefile.in: move processing of LIBOBJS to after is definition!
8933955d011SMarcel Moolenaar	  thus we'll have getenv.c in SRCS only if needed.
8943955d011SMarcel Moolenaar
8953955d011SMarcel Moolenaar	* make.1: add examples of how to use :?
8963955d011SMarcel Moolenaar
8973955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081029
8983955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
8993955d011SMarcel Moolenaar	  o fix for .END processing with -j
9003955d011SMarcel Moolenaar	  o segfault from Parse_Error when no makefile is open
9013955d011SMarcel Moolenaar	  o handle numeric expressions in any variable expansion
9023955d011SMarcel Moolenaar	  o debug output now defaults to stderr, -dF to change it - apb
9033955d011SMarcel Moolenaar	  o make now uses bmake_malloc etc so that it can build natively
9043955d011SMarcel Moolenaar	    on A/UX - wasn't an issue for bmake, but we want to keep in sync.
9053955d011SMarcel Moolenaar
9063955d011SMarcel Moolenaar2008-09-27  Simon J. Gerraty  <sjg@void.crufty.net>
9073955d011SMarcel Moolenaar
9083955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080808
9093955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
9103955d011SMarcel Moolenaar	  o fix for PR/38840: Pierre Pronchery: make crashes while parsing
9113955d011SMarcel Moolenaar	    long lines in Makefiles
9123955d011SMarcel Moolenaar	  o optimizations for VarQuote by joerg
9133955d011SMarcel Moolenaar	  o fix for PR/38756: dominik: make dumps core on invalid makefile
9143955d011SMarcel Moolenaar
9153955d011SMarcel Moolenaar2008-05-15  Simon J. Gerraty  <sjg@void.crufty.net>
9163955d011SMarcel Moolenaar
9173955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080515
9183955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
9193955d011SMarcel Moolenaar	  o fix skip setting vars in VAR_GLOBAL context, to handle
9203955d011SMarcel Moolenaar	    cases where VAR_CMD is used for other than command line vars.
9213955d011SMarcel Moolenaar
9223955d011SMarcel Moolenaar2008-05-14  Simon J. Gerraty  <sjg@void.crufty.net>
9233955d011SMarcel Moolenaar
9243955d011SMarcel Moolenaar	* boot-strap (make_version): we may need to look in
9253955d011SMarcel Moolenaar	$prefix/share/mk for sys.mk
9263955d011SMarcel Moolenaar
9273955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080514
9283955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
9293955d011SMarcel Moolenaar	  o skip setting vars in VAR_GLOBAL context, when already set in
9303955d011SMarcel Moolenaar	  VAR_CMD which takes precedence.
9313955d011SMarcel Moolenaar
9323955d011SMarcel Moolenaar2008-03-30  Simon J. Gerraty  <sjg@void.crufty.net>
9333955d011SMarcel Moolenaar
9343955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump version to 20080330
9353955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
9363955d011SMarcel Moolenaar	  o fix for ?= when LHS contains variable reference.
9373955d011SMarcel Moolenaar
9383955d011SMarcel Moolenaar2008-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
9393955d011SMarcel Moolenaar
9403955d011SMarcel Moolenaar	* merge some patches from NetBSD pkgsrc.
9413955d011SMarcel Moolenaar
9423955d011SMarcel Moolenaar	* makefile.boot.in (BOOTSTRAP_SYS_PATH): Allow better control of
9433955d011SMarcel Moolenaar	the MAKSYSPATH used during bootstrap.
9443955d011SMarcel Moolenaar
9453955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080215
9463955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
9473955d011SMarcel Moolenaar	  o warn if non-space chars follow 'empty' in a conditional.
9483955d011SMarcel Moolenaar
9493955d011SMarcel Moolenaar2008-01-18  Simon J. Gerraty  <sjg@void.crufty.net>
9503955d011SMarcel Moolenaar
9513955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080118
9523955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
9533955d011SMarcel Moolenaar	  o consider dependencies read from .depend as optional - dsl
9543955d011SMarcel Moolenaar	  o remember when buffer for reading makefile grows - dsl
9553955d011SMarcel Moolenaar	  o add -dl (aka LOUD) - David O'Brien
9563955d011SMarcel Moolenaar
9573955d011SMarcel Moolenaar2007-10-22  Simon J. Gerraty  <sjg@void.crufty.net>
9583955d011SMarcel Moolenaar
9593955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071022
9603955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
9613955d011SMarcel Moolenaar	  o Allow .PATH<suffix> to be used for .include ""
9623955d011SMarcel Moolenaar
9633955d011SMarcel Moolenaar	* boot-strap: source default settings from .bmake-boot-strap.rc
9643955d011SMarcel Moolenaar
9653955d011SMarcel Moolenaar2007-10-16  Simon J. Gerraty  <sjg@void.crufty.net>
9663955d011SMarcel Moolenaar
9673955d011SMarcel Moolenaar	* Makefile.in: fix maninstall on various systems
9683955d011SMarcel Moolenaar	  provided that our man.mk is used.
9693955d011SMarcel Moolenaar	  For non-BSD systems we install the preformatted page
9703955d011SMarcel Moolenaar	  into $MANDIR/cat1
9713955d011SMarcel Moolenaar
9723955d011SMarcel Moolenaar2007-10-15  Simon J. Gerraty  <sjg@void.crufty.net>
9733955d011SMarcel Moolenaar
9743955d011SMarcel Moolenaar	* boot-strap: make bmake.1 too, so maninstall works.
9753955d011SMarcel Moolenaar
9763955d011SMarcel Moolenaar2007-10-14  Simon J. Gerraty  <sjg@void.crufty.net>
9773955d011SMarcel Moolenaar
9783955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071014
9793955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
9803955d011SMarcel Moolenaar	  o revamped handling of defshell - configure no longer needs to
9813955d011SMarcel Moolenaar	    know the content of the shells array - apb
9823955d011SMarcel Moolenaar	  o stop Var_Subst modifying its input - apb
9833955d011SMarcel Moolenaar	  o avoid calling ParseTrackInput too often - dsl
9843955d011SMarcel Moolenaar
9853955d011SMarcel Moolenaar2007-10-11  Simon J. Gerraty  <sjg@void.crufty.net>
9863955d011SMarcel Moolenaar
9873955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071011
9883955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
9893955d011SMarcel Moolenaar	  o fix Shell_Init for case that _BASENAME_DEFSHELL is absolute path.
9903955d011SMarcel Moolenaar
9913955d011SMarcel Moolenaar	* sigcompat.c: some tweaks for HP-UX 11.x based on
9923955d011SMarcel Moolenaar	  patch from Tobias Nygren
9933955d011SMarcel Moolenaar
9943955d011SMarcel Moolenaar	* configure.in: update handling of --with-defshell to match
9953955d011SMarcel Moolenaar	  new make behavior.  --with-defshell=/usr/xpg4/bin/sh
9963955d011SMarcel Moolenaar	  will now do what one might hope - provided the chosen shell
9973955d011SMarcel Moolenaar	  behaves enough like sh.
9983955d011SMarcel Moolenaar
9993955d011SMarcel Moolenaar2007-10-08  Simon J. Gerraty  <sjg@void.crufty.net>
10003955d011SMarcel Moolenaar
10013955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20071008
10023955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10033955d011SMarcel Moolenaar	  o .MAKE.JOB.PREFIX - control the token output before jobs - sjg
10043955d011SMarcel Moolenaar	  o .export/.MAKE.EXPORTED - export of variables - sjg
10053955d011SMarcel Moolenaar	  o .MAKE.MAKEFILES - track all makefiles read - sjg
10063955d011SMarcel Moolenaar	  o performance improvements - dsl
10073955d011SMarcel Moolenaar	  o revamp parallel job scheduling - dsl
10083955d011SMarcel Moolenaar
10093955d011SMarcel Moolenaar2006-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
10103955d011SMarcel Moolenaar
10113955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060728
10123955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10133955d011SMarcel Moolenaar	  o extra debug info during variable and cond processing - sjg
10143955d011SMarcel Moolenaar	  o shell definition now covers newline - rillig
10153955d011SMarcel Moolenaar	  o minor mem leak in PrintOnError - sjg
10163955d011SMarcel Moolenaar
10173955d011SMarcel Moolenaar2006-05-11  Simon J. Gerraty  <sjg@void.crufty.net>
10183955d011SMarcel Moolenaar
10193955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump to 20060511
10203955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10213955d011SMarcel Moolenaar	  o more memory leaks - coverity
10223955d011SMarcel Moolenaar	  o possible overflow in ArchFindMember - coverity
10233955d011SMarcel Moolenaar	  o extract variable modifier code out of Var_Parse()
10243955d011SMarcel Moolenaar	    so it can be called recursively - sjg
10253955d011SMarcel Moolenaar	  o unit-tests/moderrs - sjg
10263955d011SMarcel Moolenaar
10273955d011SMarcel Moolenaar2006-04-12  Simon J. Gerraty  <sjg@void.crufty.net>
10283955d011SMarcel Moolenaar
10293955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060412
10303955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10313955d011SMarcel Moolenaar	  o fixes for some memory leaks - coverity
10323955d011SMarcel Moolenaar	  o only read first sys.mk etc when searching sysIncPath - sjg
10333955d011SMarcel Moolenaar
10343955d011SMarcel Moolenaar	* main.c (ReadMakefile): remove hack for __INTERIX that prevented
10353955d011SMarcel Moolenaar	setting ${MAKEFILE} - OBATA Akio
10363955d011SMarcel Moolenaar
10373955d011SMarcel Moolenaar2006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
10383955d011SMarcel Moolenaar
10393955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060318
10403955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10413955d011SMarcel Moolenaar	  o cleanup of job.c to remove remote handling, distcc is more
10423955d011SMarcel Moolenaar	    useful and this code was likely bit-rotting - dsl
10433955d011SMarcel Moolenaar	  o fix for :P modifier - sjg
10443955d011SMarcel Moolenaar	* boot-strap: set default prefix to something reasonable
10453955d011SMarcel Moolenaar	  (for me anyway).
10463955d011SMarcel Moolenaar
10473955d011SMarcel Moolenaar2006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
10483955d011SMarcel Moolenaar
10493955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060301
10503955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10513955d011SMarcel Moolenaar	  o make .WAIT apply recursively, document and test case - apb
10523955d011SMarcel Moolenaar	  o allow variable modifiers in a variable appear anywhere in
10533955d011SMarcel Moolenaar	    modifier list, document and test case - sjg
10543955d011SMarcel Moolenaar
10553955d011SMarcel Moolenaar2006-02-22  Simon J. Gerraty  <sjg@void.crufty.net>
10563955d011SMarcel Moolenaar
10573955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060222
10583955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
10593955d011SMarcel Moolenaar	  o improved job token handling - dsl
10603955d011SMarcel Moolenaar	  o SIG_DFL the correct signal before exec - dsl
10613955d011SMarcel Moolenaar	  o more debug info during parsing - dsl
10623955d011SMarcel Moolenaar	  o allow variable modifiers to be specified via variable - sjg
10633955d011SMarcel Moolenaar	* boot-strap: explain why we died if no mksrc
10643955d011SMarcel Moolenaar
10653955d011SMarcel Moolenaar2005-11-05  Simon J. Gerraty  <sjg@void.crufty.net>
10663955d011SMarcel Moolenaar
10673955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051105
10683955d011SMarcel Moolenaar	* configure.in: always set default_sys_path
10693955d011SMarcel Moolenaar	  default is ${prefix}/share/mk
10703955d011SMarcel Moolenaar	  - remove prefix_sys_path, anyone wanting more than above
10713955d011SMarcel Moolenaar	    needs to set it manually.
10723955d011SMarcel Moolenaar
10733955d011SMarcel Moolenaar2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
10743955d011SMarcel Moolenaar
10753955d011SMarcel Moolenaar	* boot-strap: make this a bit easier for pkgsrc folk.
10763955d011SMarcel Moolenaar	  bootstrap still fails on IRIX64 since MACHINE_ARCH gets set to
10773955d011SMarcel Moolenaar	  'mips' while pkgsrc wants 'mipseb' or 'mipsel'
10783955d011SMarcel Moolenaar
10793955d011SMarcel Moolenaar2005-11-02  Simon J. Gerraty  <sjg@void.crufty.net>
10803955d011SMarcel Moolenaar
10813955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051102
10823955d011SMarcel Moolenaar	* job.c (JobFinish): fix likely ancient merge lossage
10833955d011SMarcel Moolenaar	fix from Todd Vierling.
10843955d011SMarcel Moolenaar	* boot-strap (srcdir): allow setting mksrc=none
10853955d011SMarcel Moolenaar
10863955d011SMarcel Moolenaar2005-10-31  Simon J. Gerraty  <sjg@void.crufty.net>
10873955d011SMarcel Moolenaar
10883955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051031
10893955d011SMarcel Moolenaar	* ranlib.h: skip on OSF too.
10903955d011SMarcel Moolenaar	  (NetBSD PR 31864)
10913955d011SMarcel Moolenaar
10923955d011SMarcel Moolenaar2005-10-10  Simon J. Gerraty  <sjg@void.crufty.net>
10933955d011SMarcel Moolenaar
10943955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051002
10953955d011SMarcel Moolenaar	  fix a silly typo
10963955d011SMarcel Moolenaar
10973955d011SMarcel Moolenaar2005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
10983955d011SMarcel Moolenaar
10993955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051001
11003955d011SMarcel Moolenaar	  support for UnixWare and some other systems,
11013955d011SMarcel Moolenaar	  based on patches from pkgsrc/bootstrap
11023955d011SMarcel Moolenaar
11033955d011SMarcel Moolenaar2005-09-03  Simon J. Gerraty  <sjg@void.crufty.net>
11043955d011SMarcel Moolenaar
11053955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050901
11063955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11073955d011SMarcel Moolenaar	  o possible parse error causing us to wander off.
11083955d011SMarcel Moolenaar
11093955d011SMarcel Moolenaar2005-06-06  Simon J. Gerraty  <sjg@void.crufty.net>
11103955d011SMarcel Moolenaar
11113955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050606
11123955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11133955d011SMarcel Moolenaar	  o :0x modifier for randomizing a list
11143955d011SMarcel Moolenaar	  o fixes for a number of -Wuninitialized issues.
11153955d011SMarcel Moolenaar
11163955d011SMarcel Moolenaar2005-05-30  Simon J. Gerraty  <sjg@void.crufty.net>
11173955d011SMarcel Moolenaar
11183955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050530
11193955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11203955d011SMarcel Moolenaar	  o Handle dependencies for .BEGIN, .END and .INTERRUPT
11213955d011SMarcel Moolenaar
11223955d011SMarcel Moolenaar	* README: was seriously out of date.
11233955d011SMarcel Moolenaar
11243955d011SMarcel Moolenaar2005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
11253955d011SMarcel Moolenaar
11263955d011SMarcel Moolenaar	* Important to use .MAKE rather than MAKE.
11273955d011SMarcel Moolenaar
11283955d011SMarcel Moolenaar2005-03-15  Simon J. Gerraty  <sjg@void.crufty.net>
11293955d011SMarcel Moolenaar
11303955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050315
11313955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11323955d011SMarcel Moolenaar	  o don't mistake .elsefoo for .else
11333955d011SMarcel Moolenaar	  o use suffix-specific search path correctly
11343955d011SMarcel Moolenaar	  o bunch of style nits
11353955d011SMarcel Moolenaar
11363955d011SMarcel Moolenaar2004-05-11  Simon J. Gerraty  <sjg@void.crufty.net>
11373955d011SMarcel Moolenaar
11383955d011SMarcel Moolenaar	* boot-strap:
11393955d011SMarcel Moolenaar	o ensure that args to --src and --with-mksrc
11403955d011SMarcel Moolenaar	  are resolved before giving them to configure.
11413955d011SMarcel Moolenaar	o add -o "objdir" so that builder can control it,
11423955d011SMarcel Moolenaar	  default is $OS as determined by os.sh
11433955d011SMarcel Moolenaar	o add -q to suppress all the install instructions.
11443955d011SMarcel Moolenaar
11453955d011SMarcel Moolenaar2004-05-08  Simon J. Gerraty  <sjg@void.crufty.net>
11463955d011SMarcel Moolenaar
11473955d011SMarcel Moolenaar	* Remove __IDSTRING()
11483955d011SMarcel Moolenaar
11493955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040508
11503955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11513955d011SMarcel Moolenaar	  o posix fixes
11523955d011SMarcel Moolenaar	    - remove '-e' from compat mode
11533955d011SMarcel Moolenaar	    - add support for '+' command-line prefix.
11543955d011SMarcel Moolenaar	  o fix for handling '--' on command-line.
11553955d011SMarcel Moolenaar	  o fix include in lst.lib/lstInt.h to simplify '-I's
11563955d011SMarcel Moolenaar	  o we also picked up replacement of MAKE_BOOTSTRAP
11573955d011SMarcel Moolenaar	    with !MAKE_NATIVE which is a noop, but possibly confusing.
11583955d011SMarcel Moolenaar
11593955d011SMarcel Moolenaar2004-04-14  Simon J. Gerraty  <sjg@void.crufty.net>
11603955d011SMarcel Moolenaar
11613955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040414
11623955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11633955d011SMarcel Moolenaar	  o allow quoted strings on lhs of conditionals
11643955d011SMarcel Moolenaar	  o issue warning when extra .else is seen
11653955d011SMarcel Moolenaar	  o print line numer when errors encountered during parsing from
11663955d011SMarcel Moolenaar	  string.
11673955d011SMarcel Moolenaar
11683955d011SMarcel Moolenaar2004-02-20  Simon J. Gerraty  <sjg@void.crufty.net>
11693955d011SMarcel Moolenaar
11703955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump to 20040220
11713955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11723955d011SMarcel Moolenaar	  o fix for old :M parsing bug.
11733955d011SMarcel Moolenaar	  o re-jigged unit-tests
11743955d011SMarcel Moolenaar
11753955d011SMarcel Moolenaar2004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
11763955d011SMarcel Moolenaar
11773955d011SMarcel Moolenaar	* Makefile.in (accept test): use ${.MAKE:S,^./,${.CURDIR}/,}
11783955d011SMarcel Moolenaar	so that './bmake -f Makefile test' works.
11793955d011SMarcel Moolenaar
11803955d011SMarcel Moolenaar2004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
11813955d011SMarcel Moolenaar
11823955d011SMarcel Moolenaar	* Makefile.in: (BMAKE_VERSION): bump to 20040214
11833955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
11843955d011SMarcel Moolenaar	  o search upwards for *.mk
11853955d011SMarcel Moolenaar	  o fix for double free of var substitution buffers
11863955d011SMarcel Moolenaar	  o use of getopt replaced with custom code, since the usage
11873955d011SMarcel Moolenaar	  (re-scanning) isn't posix compatible.
11883955d011SMarcel Moolenaar
11893955d011SMarcel Moolenaar2004-02-12  Simon J. Gerraty  <sjg@void.crufty.net>
11903955d011SMarcel Moolenaar
11913955d011SMarcel Moolenaar	* arch.c: don't include ranlib.h on ELF systems
11923955d011SMarcel Moolenaar	(thanks to Chuck Cranor <chuck@ece.cmu.edu>).
11933955d011SMarcel Moolenaar
11943955d011SMarcel Moolenaar2004-01-18  Simon J. Gerraty  <sjg@void.crufty.net>
11953955d011SMarcel Moolenaar
11963955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040118
11973955d011SMarcel Moolenaar
11983955d011SMarcel Moolenaar	* boot-strap (while): export vars we assign to on cmdline
11993955d011SMarcel Moolenaar	* unit-test/Makefile.in: ternary is .PHONY
12003955d011SMarcel Moolenaar
12013955d011SMarcel Moolenaar2004-01-08  Simon J. Gerraty  <sjg@void.crufty.net>
12023955d011SMarcel Moolenaar
12033955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20040108
12043955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
12053955d011SMarcel Moolenaar	  o fix for ternary modifier
12063955d011SMarcel Moolenaar
12073955d011SMarcel Moolenaar2004-01-06  Simon J. Gerraty  <sjg@void.crufty.net>
12083955d011SMarcel Moolenaar
12093955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20040105
12103955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
12113955d011SMarcel Moolenaar	  o fix for cond.c to handle compound expressions better
12123955d011SMarcel Moolenaar	  o variable expansion within sysV style replacements
12133955d011SMarcel Moolenaar
12143955d011SMarcel Moolenaar2003-12-22  Simon J. Gerraty  <sjg@void.crufty.net>
12153955d011SMarcel Moolenaar
12163955d011SMarcel Moolenaar	* Make portable snprintf safer - output to /dev/null first to
12173955d011SMarcel Moolenaar	check space needed.
12183955d011SMarcel Moolenaar
12193955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20031222
12203955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
12213955d011SMarcel Moolenaar	  o -dg3 to show input graph when things go wrong.
12223955d011SMarcel Moolenaar	  o explicitly look for makefiles in objdir if not found in curdir so
12233955d011SMarcel Moolenaar	    that errors in .depend etc will be reported accurarely.
12243955d011SMarcel Moolenaar	  o avoid use of -e in shell scripts in jobs mode, use '|| exit $?'
12253955d011SMarcel Moolenaar	    instead as it more accurately reflects the expected behavior and
12263955d011SMarcel Moolenaar	    is more consistently implemented.
12273955d011SMarcel Moolenaar	  o avoid use of asprintf.
12283955d011SMarcel Moolenaar
12293955d011SMarcel Moolenaar2003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
12303955d011SMarcel Moolenaar
12313955d011SMarcel Moolenaar	* util.c: Add asprintf and vasprintf.
12323955d011SMarcel Moolenaar
12333955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030928
12343955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
12353955d011SMarcel Moolenaar	:[] modifier - allows picking words from a variable.
12363955d011SMarcel Moolenaar	:tW modifier - allows treating value as one big word.
12373955d011SMarcel Moolenaar	W flag for :C and :S - allows treating value as one big word.
12383955d011SMarcel Moolenaar
12393955d011SMarcel Moolenaar2003-09-12  Simon J. Gerraty  <sjg@void.crufty.net>
12403955d011SMarcel Moolenaar
12413955d011SMarcel Moolenaar	* Merge with NetBSD make
12423955d011SMarcel Moolenaar	pick up -de flag to enable printing failed command.
12433955d011SMarcel Moolenaar	don't skip 1st two dir entries (normally . and ..) since
12443955d011SMarcel Moolenaar	coda does not have them.
12453955d011SMarcel Moolenaar
12463955d011SMarcel Moolenaar2003-09-09  Simon J. Gerraty  <sjg@void.crufty.net>
12473955d011SMarcel Moolenaar
12483955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030909
12493955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
12503955d011SMarcel Moolenaar	- changes for -V '${VAR}' to print fully expanded value
12513955d011SMarcel Moolenaar	  cf. -V VAR
12523955d011SMarcel Moolenaar	- CompatRunCommand now prints the command that failed.
12533955d011SMarcel Moolenaar	- several files got updated 3 clause Berkeley license.
12543955d011SMarcel Moolenaar
12553955d011SMarcel Moolenaar2003-08-02  Simon J. Gerraty  <sjg@void.crufty.net>
12563955d011SMarcel Moolenaar
12573955d011SMarcel Moolenaar	* boot-strap: Allow setting configure args on command line.
12583955d011SMarcel Moolenaar
12593955d011SMarcel Moolenaar2003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
12603955d011SMarcel Moolenaar
12613955d011SMarcel Moolenaar	* configure.in: add --with-defshell to allow sh or ksh
12623955d011SMarcel Moolenaar	to be selected as default shell.
12633955d011SMarcel Moolenaar
12643955d011SMarcel Moolenaar	* Makefile.in: bump version to 20030731
12653955d011SMarcel Moolenaar
12663955d011SMarcel Moolenaar	* Merge with NetBSD make
12673955d011SMarcel Moolenaar	Pick up .SHELL spec for ksh and associate man page changes.
12683955d011SMarcel Moolenaar	Also compat mode now uses the same shell specs.
12693955d011SMarcel Moolenaar
12703955d011SMarcel Moolenaar2003-07-29  Simon J. Gerraty  <sjg@void.crufty.net>
12713955d011SMarcel Moolenaar
12723955d011SMarcel Moolenaar	* var.c (Var_Parse): ensure delim is initialized.
12733955d011SMarcel Moolenaar
12743955d011SMarcel Moolenaar	* unit-tests/Makefile.in: use single quotes to avoid problems from
12753955d011SMarcel Moolenaar	some shells.
12763955d011SMarcel Moolenaar
12773955d011SMarcel Moolenaar	* makefile.boot.in:
12783955d011SMarcel Moolenaar	Run the unit-tests as part of the bootstrap procedure.
12793955d011SMarcel Moolenaar
12803955d011SMarcel Moolenaar2003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
12813955d011SMarcel Moolenaar
12823955d011SMarcel Moolenaar	* unit-tests/Makefile.in: always force complaints from
12833955d011SMarcel Moolenaar	${TEST_MAKE} to be from 'make'.
12843955d011SMarcel Moolenaar
12853955d011SMarcel Moolenaar	* configure.in: add check for 'diff -u'
12863955d011SMarcel Moolenaar	also fix some old autoconf'isms
12873955d011SMarcel Moolenaar
12883955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030728.
12893955d011SMarcel Moolenaar	if using GCC add -Wno-cast-qual to CFLAGS for var.o
12903955d011SMarcel Moolenaar
12913955d011SMarcel Moolenaar	* Merge with NetBSD make
12923955d011SMarcel Moolenaar	Pick up fix for :ts parsing error in some cases.
12933955d011SMarcel Moolenaar	Pick unit-tests.
12943955d011SMarcel Moolenaar
12953955d011SMarcel Moolenaar2003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
12963955d011SMarcel Moolenaar
12973955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030723.
12983955d011SMarcel Moolenaar
12993955d011SMarcel Moolenaar	* var.c (Var_Parse): fix bug in :ts modifier, after const
13003955d011SMarcel Moolenaar	correctness fixes, must pass nstr to VarModify.
13013955d011SMarcel Moolenaar
13023955d011SMarcel Moolenaar2003-07-14  Simon J. Gerraty  <sjg@void.crufty.net>
13033955d011SMarcel Moolenaar
13043955d011SMarcel Moolenaar	* Makefile.in: BMAKE_VERSION switch to a date based version.
13053955d011SMarcel Moolenaar	We'll generally use the date of last import from NetBSD.
13063955d011SMarcel Moolenaar
13073955d011SMarcel Moolenaar	* Merge with NetBSD make
13083955d011SMarcel Moolenaar	Pick up fixes for const-correctness, now passes WARNS=3 on
13093955d011SMarcel Moolenaar	NetBSD.
13103955d011SMarcel Moolenaar	Pick up :ts modifier, allows controlling the separator used
13113955d011SMarcel Moolenaar	between words in variable expansion.
13123955d011SMarcel Moolenaar
13133955d011SMarcel Moolenaar2003-07-11  Simon J. Gerraty  <sjg@void.crufty.net>
13143955d011SMarcel Moolenaar
13153955d011SMarcel Moolenaar	* FILES: include boot-strap and os.sh
13163955d011SMarcel Moolenaar
13173955d011SMarcel Moolenaar	* Makefile.in: only set WARNS if we are NetBSD, the effect on
13183955d011SMarcel Moolenaar	FreeBSD is known to be bad.
13193955d011SMarcel Moolenaar
13203955d011SMarcel Moolenaar	* makefile.boot.in (bootstrap): make this the default target.
13213955d011SMarcel Moolenaar
13223955d011SMarcel Moolenaar	* Makefile.in: bump version to 3.1.19
13233955d011SMarcel Moolenaar
13243955d011SMarcel Moolenaar	* machine.sh: avoid A-Z with tr as it is bound to lose.
13253955d011SMarcel Moolenaar
13263955d011SMarcel Moolenaar2003-07-10  Simon J. Gerraty  <sjg@void.crufty.net>
13273955d011SMarcel Moolenaar
13283955d011SMarcel Moolenaar	* Merge with NetBSD make
13293955d011SMarcel Moolenaar	Pick up fix for PR/19781 - unhelpful error msg on unclosed ${var:foo
13303955d011SMarcel Moolenaar	Plus some doc fixes.
13313955d011SMarcel Moolenaar
13323955d011SMarcel Moolenaar2003-04-27  Simon J. Gerraty  <sjg@void.crufty.net>
13333955d011SMarcel Moolenaar
13343955d011SMarcel Moolenaar	* Merge with NetBSD make
13353955d011SMarcel Moolenaar	Pick up fix for PR/1523 - don't count a library as built, if there
13363955d011SMarcel Moolenaar	is no way to build it
13373955d011SMarcel Moolenaar
13383955d011SMarcel Moolenaar	* Bump version to 3.1.18
13393955d011SMarcel Moolenaar
13403955d011SMarcel Moolenaar2003-03-23  Simon J. Gerraty  <sjg@void.crufty.net>
13413955d011SMarcel Moolenaar
13423955d011SMarcel Moolenaar	* Merge with NetBSD make
13433955d011SMarcel Moolenaar	Pick up fix for ParseDoSpecialSrc - we only use it if .WAIT
13443955d011SMarcel Moolenaar	appears in src list.
13453955d011SMarcel Moolenaar
13463955d011SMarcel Moolenaar2003-03-21  Simon J. Gerraty  <sjg@void.crufty.net>
13473955d011SMarcel Moolenaar
13483955d011SMarcel Moolenaar	* Merge with NetBSD make (mmm 10th anniversary!)
13493955d011SMarcel Moolenaar	pick up fix for .WAIT in srcs that refer to $@ or $* (PR#20828)
13503955d011SMarcel Moolenaar	pick up -X which tells us to not export VAR=val via setenv if
13513955d011SMarcel Moolenaar	we are already doing so via MAKEFLAGS.  This saves valuable env
13523955d011SMarcel Moolenaar	space on systems like Darwin.
13533955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.17
13543955d011SMarcel Moolenaar
13553955d011SMarcel Moolenaar	* parse.c: pix up fix for suffix rules
13563955d011SMarcel Moolenaar
13573955d011SMarcel Moolenaar2003-03-06  Simon J. Gerraty  <sjg@void.crufty.net>
13583955d011SMarcel Moolenaar
13593955d011SMarcel Moolenaar	* Merge with NetBSD make.
13603955d011SMarcel Moolenaar	pick up fix for propagating -B via MAKEFLAGS.
13613955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.16
13623955d011SMarcel Moolenaar
13633955d011SMarcel Moolenaar	* Apply some patches from pkgsrc-bootstrap/bmake
13643955d011SMarcel Moolenaar	Originally by Grant Beattie <grant@netbsd.org>
13653955d011SMarcel Moolenaar	I may have missed some - since they are based on bmake-3.1.12
13663955d011SMarcel Moolenaar
13673955d011SMarcel Moolenaar2002-12-03  Simon J. Gerraty  <sjg@void.crufty.net>
13683955d011SMarcel Moolenaar
13693955d011SMarcel Moolenaar	* makefile.boot.in (bmake): update install targets for those that
13703955d011SMarcel Moolenaar	use them, also clear MAKEFLAGS when invoking bmake.boot to avoid
13713955d011SMarcel Moolenaar	havoc from gmake -w.  Thanks to Harlan Stenn <hstenn@cisco.com>.
13723955d011SMarcel Moolenaar
13733955d011SMarcel Moolenaar	* bmake.cat1: update the pre-formatted man page!
13743955d011SMarcel Moolenaar
13753955d011SMarcel Moolenaar2002-11-30  Simon J. Gerraty  <sjg@void.crufty.net>
13763955d011SMarcel Moolenaar
13773955d011SMarcel Moolenaar	* Merge with NetBSD make.
13783955d011SMarcel Moolenaar	pick up fix for premature free of pointer used in call
13793955d011SMarcel Moolenaar	to Dir_InitCur().
13803955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.15
13813955d011SMarcel Moolenaar
13823955d011SMarcel Moolenaar2002-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
13833955d011SMarcel Moolenaar
13843955d011SMarcel Moolenaar	* configure.in: determine suitable value for MKSRC.
13853955d011SMarcel Moolenaar	override using --with-mksrc=PATH.
13863955d011SMarcel Moolenaar
13873955d011SMarcel Moolenaar	* machine.sh: use `uname -p` for MACHINE_ARCH on modern SunOS systems.
13883955d011SMarcel Moolenaar	configs(8) will use 'sun4' as an alias for 'sparc'.
13893955d011SMarcel Moolenaar
13903955d011SMarcel Moolenaar2002-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
13913955d011SMarcel Moolenaar
13923955d011SMarcel Moolenaar	* Merge with NetBSD make.
13933955d011SMarcel Moolenaar	pick up ${.PATH}
13943955d011SMarcel Moolenaar	pick up fix for finding ../cat.c via .PATH when .CURDIR=..
13953955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.14
13963955d011SMarcel Moolenaar	add configure checks for killpg and sys/socket.h
13973955d011SMarcel Moolenaar
13983955d011SMarcel Moolenaar2002-09-16  Simon J. Gerraty  <sjg@void.crufty.net>
13993955d011SMarcel Moolenaar
14003955d011SMarcel Moolenaar	* tag bmake-3-1-13
14013955d011SMarcel Moolenaar
14023955d011SMarcel Moolenaar	* makefile.boot.in (bmake): use install-mk
14033955d011SMarcel Moolenaar	Also setup ./mk before trying to invoke bmake.boot incase we
14043955d011SMarcel Moolenaar	needed install-mk to create a sys.mk for us.
14053955d011SMarcel Moolenaar
14063955d011SMarcel Moolenaar	* configure.in: If we need to add -I${srcdir}/missing, make it an
14073955d011SMarcel Moolenaar	absolute path so that it works for lst.lib too.
14083955d011SMarcel Moolenaar
14093955d011SMarcel Moolenaar	* make.h: always include sys/cdefs.h since we provide one if the
14103955d011SMarcel Moolenaar	host does not.
14113955d011SMarcel Moolenaar
14123955d011SMarcel Moolenaar	* Makefile.in (install-mk):
14133955d011SMarcel Moolenaar	use MKSRC/install-mk which will do the right thing.
14143955d011SMarcel Moolenaar	use uname -p for ARCH if possible.
14153955d011SMarcel Moolenaar	since install-mk will setup links bsd.prog.mk -> prog.mk if
14163955d011SMarcel Moolenaar	needed, just .include bsd.prog.mk
14173955d011SMarcel Moolenaar
14183955d011SMarcel Moolenaar	* Merge with NetBSD make (NetBSD-1.6)
14193955d011SMarcel Moolenaar	Code is ansi-C only now.
14203955d011SMarcel Moolenaar	Bug in handling of dotLast is fixed.
14213955d011SMarcel Moolenaar	Can now assign .OBJDIR and make will reset its notions of life.
14223955d011SMarcel Moolenaar	New modifiers :tu :tl for toUpper and toLower.
14233955d011SMarcel Moolenaar
14243955d011SMarcel MoolenaarTue Oct 16 12:18:42 2001  Simon J. Gerraty  <sjg@zen.crufty.net>
14253955d011SMarcel Moolenaar
14263955d011SMarcel Moolenaar	* Merge with NetBSD make
14273955d011SMarcel Moolenaar	pick up fix for .END failure in compat mode.
14283955d011SMarcel Moolenaar	pick up fix for extra va_end() in ParseVErrorInternal.
14293955d011SMarcel Moolenaar
14303955d011SMarcel MoolenaarThu Oct 11 13:20:06 2001  Simon J. Gerraty  <sjg@zen.crufty.net>
14313955d011SMarcel Moolenaar
14323955d011SMarcel Moolenaar	* configure.in: for systems that have sys/cdefs.h check if it is
14333955d011SMarcel Moolenaar	compatible.  If not, include the one under missing, but tell it to
14343955d011SMarcel Moolenaar	include the native one too - necessary on Linux.
14353955d011SMarcel Moolenaar
14363955d011SMarcel Moolenaar	* missing/sys/cdefs.h: if NEED_HOST_CDEFS_H is defined, use
14373955d011SMarcel Moolenaar	include_next (for gcc) to get the native sys/cdefs.h
14383955d011SMarcel Moolenaar
14393955d011SMarcel MoolenaarTue Aug 21 02:29:34 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
14403955d011SMarcel Moolenaar
14413955d011SMarcel Moolenaar	* job.c (JobFinish): Fix an earlier merge bug that resulted in
14423955d011SMarcel Moolenaar	leaking descriptors when using -jN.
14433955d011SMarcel Moolenaar
14443955d011SMarcel Moolenaar	* job.c (JobPrintCommand): See if "curdir" exists before
14453955d011SMarcel Moolenaar	attempting to chdir().  Doing the chdir directly in make (when in
14463955d011SMarcel Moolenaar	compat mode) fails silently, so let the -jN version do the same.
14473955d011SMarcel Moolenaar	This can happen when building kernels in an object tree and
14483955d011SMarcel Moolenaar	playing clever games to reset .CURDIR.
14493955d011SMarcel Moolenaar
14503955d011SMarcel Moolenaar	* Merged with NetBSD make
14513955d011SMarcel Moolenaar	pick up .USEBEFORE
14523955d011SMarcel Moolenaar
14533955d011SMarcel MoolenaarTue Jun 26 23:45:11 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
14543955d011SMarcel Moolenaar
14553955d011SMarcel Moolenaar	* makefile.boot.in: Give bmake.boot a MAKESYSPATH that might work.
14563955d011SMarcel Moolenaar
14573955d011SMarcel MoolenaarTue Jun 12 16:48:57 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
14583955d011SMarcel Moolenaar
14593955d011SMarcel Moolenaar	* var.c (Var_Set): Add 4th (flags) arg so VarLoopExpand can tell
14603955d011SMarcel Moolenaar	us not to export the iterator variable when using VAR_CMD context.
14613955d011SMarcel Moolenaar
14623955d011SMarcel MoolenaarSun Jun 10 21:55:21 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
14633955d011SMarcel Moolenaar
14643955d011SMarcel Moolenaar	* job.c (Job_CatchChildren): don't call Job_CatchOutput() here,
14653955d011SMarcel Moolenaar	its the wrong "fix".
14663955d011SMarcel Moolenaar
14673955d011SMarcel MoolenaarSat Jun  9 00:11:24 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
14683955d011SMarcel Moolenaar
14693955d011SMarcel Moolenaar	* Redesigned export of VAR_CMD's via MAKEFLAGS.
14703955d011SMarcel Moolenaar	We now simply append the variable names to .MAKEOVERRIDES, and
14713955d011SMarcel Moolenaar	handle duplicate suppression and quoting in ExportMAKEFLAGS using:
14723955d011SMarcel Moolenaar	${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@}
14733955d011SMarcel Moolenaar	Apart from fixing quoting bugs in previous version, this allows us
14743955d011SMarcel Moolenaar	to export vars to the environment by simply doing:
14753955d011SMarcel Moolenaar	.MAKEOVERRIDES+= PATH
14763955d011SMarcel Moolenaar	Merged again with NetBSD make, but the above is the only change.
14773955d011SMarcel Moolenaar
14783955d011SMarcel Moolenaar	* configure.in: added
14793955d011SMarcel Moolenaar	--disable-pwd-override		disable $PWD overriding getcwd()
14803955d011SMarcel Moolenaar	--disable-check-make-chdir	disable make trying to guess
14813955d011SMarcel Moolenaar		when it should automatically cd ${.CURDIR}
14823955d011SMarcel Moolenaar
14833955d011SMarcel Moolenaar	* Merge with NetBSD make, changes include:
14843955d011SMarcel Moolenaar	parse.c (ParseDoDependency): Spot that the syntax error is
14853955d011SMarcel Moolenaar	caused by an unresolved cvs/rcs conflict and say so.
14863955d011SMarcel Moolenaar	var.c: most of Var* functions now take a ctxt as 1st arg.
14873955d011SMarcel Moolenaar	now does variable substituion on rhs of sysv style modifiers.
14883955d011SMarcel Moolenaar
14893955d011SMarcel Moolenaar	* var.c (Var_Set): exporting of command line variables (VAR_CMD)
14903955d011SMarcel Moolenaar	is now done here.  We append the name='value' to .MAKEOVERRIDES
14913955d011SMarcel Moolenaar	rather than directly into MAKEFLAGS as this allows a Makefile to
14923955d011SMarcel Moolenaar	use .MAKEOVERRIDES= to disable this behaviour.  GNU make uses a
14933955d011SMarcel Moolenaar	very similar mechanism.  Note that in adding name='value' to
14943955d011SMarcel Moolenaar	.MAKEOVERRIDES we do the moral equivalent of:
14953955d011SMarcel Moolenaar	.MAKEOVERRIDES:= ${.MAKEOVERRIDES:Nname=*} name='val'
14963955d011SMarcel Moolenaar
14973955d011SMarcel MoolenaarFri Jun  1 14:08:02 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
14983955d011SMarcel Moolenaar
14993955d011SMarcel Moolenaar	* make-conf.h (USE_IOVEC): make it conditional on HAVE_SYS_UIO_H
15003955d011SMarcel Moolenaar
15013955d011SMarcel Moolenaar	* Merged with NetBSD make
15023955d011SMarcel Moolenaar	make -dx can now be used to run commands via sh -x
15033955d011SMarcel Moolenaar	better error messages on exec failures.
15043955d011SMarcel Moolenaar
15053955d011SMarcel MoolenaarThu May 31 01:44:54 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
15063955d011SMarcel Moolenaar
15073955d011SMarcel Moolenaar	* Makefile.in (main.o): depends on ${SRCS} ${MAKEFILE} so that
15083955d011SMarcel Moolenaar	MAKE_VERSION gets updated.  Also don't use ?= for MAKE_VERSION,
15093955d011SMarcel Moolenaar	MACHINE etc otherwise they propagate from the previous bmake.
15103955d011SMarcel Moolenaar
15113955d011SMarcel Moolenaar	* configure.in (machine): allow --with-machine=generic to make
15123955d011SMarcel Moolenaar	configure use machine.sh to set MACHINE.
15133955d011SMarcel Moolenaar
15143955d011SMarcel Moolenaar	* job.c (JobInterrupt): convert to using WAIT_T and friends.
15153955d011SMarcel Moolenaar
15163955d011SMarcel Moolenaar	* Makefile.in: mention in bmake.1 that we use autoconf.
15173955d011SMarcel Moolenaar
15183955d011SMarcel Moolenaar	* make.1: mention MAKE_PRINT_VAR_ON_ERROR.
15193955d011SMarcel Moolenaar
15203955d011SMarcel MoolenaarWed May 30 23:17:18 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
15213955d011SMarcel Moolenaar
15223955d011SMarcel Moolenaar	* main.c (ReadMakefile): don't set MAKEFILE if reading ".depend"
15233955d011SMarcel Moolenaar	as that rather defeats the usefulness of ${MAKEFILE}.
15243955d011SMarcel Moolenaar
15253955d011SMarcel Moolenaar	* main.c (MainParseArgs): append command line variable assignments
15263955d011SMarcel Moolenaar	to MAKEFLAGS so that they get propagated to child make's.
15273955d011SMarcel Moolenaar	Apparently this is required POSIX behaviour?  Its useful anyway.
15283955d011SMarcel Moolenaar
15293955d011SMarcel MoolenaarTue May 29 02:20:07 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
15303955d011SMarcel Moolenaar
15313955d011SMarcel Moolenaar	* compat.c (CompatRunCommand): don't use perror() since stdio may
15323955d011SMarcel Moolenaar	cause problems in child of vfork().
15333955d011SMarcel Moolenaar
15343955d011SMarcel Moolenaar	* compat.c, main.c: Call PrintOnError() when we are going to bail.
15353955d011SMarcel Moolenaar	This routine prints out the .curdir where we stopped and will also
15363955d011SMarcel Moolenaar	display any vars listed in ${MAKE_PRINT_VAR_ON_ERROR}.
15373955d011SMarcel Moolenaar
15383955d011SMarcel Moolenaar	* main.c: add ${.newline} to hold a "\n" - sometimes handy in
15393955d011SMarcel Moolenaar	:@ expansion.
15403955d011SMarcel Moolenaar
15413955d011SMarcel Moolenaar	* var.c: VarLoopExpand: ignore addSpace if a \n is present.
15423955d011SMarcel Moolenaar
15433955d011SMarcel Moolenaar	* Added RCSid's for the files we've touched.
15443955d011SMarcel Moolenaar
15453955d011SMarcel MoolenaarThu May 24 15:41:37 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
15463955d011SMarcel Moolenaar
15473955d011SMarcel Moolenaar	* configure.in:	Thanks to some clues from mdb@juniper.net,
15483955d011SMarcel Moolenaar	added autoconf magic to control setting of MACHINE, MACHINE_ARCH
15493955d011SMarcel Moolenaar	as well as what ends up in _PATH_DEFSYSPATH.  We now have:
15503955d011SMarcel Moolenaar
15513955d011SMarcel Moolenaar  --with-machine=MACHINE  explicitly set MACHINE
15523955d011SMarcel Moolenaar  --with-force-machine=MACHINE  set FORCE_MACHINE
15533955d011SMarcel Moolenaar  --with-machine_arch=MACHINE_ARCH  explicitly set MACHINE_ARCH
15543955d011SMarcel Moolenaar  --with-default-sys-path=PATH:DIR:LIST  use an explicit _PATH_DEFSYSPATH
15553955d011SMarcel Moolenaar  --with-prefix-sys-path=PATH:DIR:LIST  prefix _PATH_PREFIX_SYSPATH
15563955d011SMarcel Moolenaar  --with-path-objdirprefix=PATH  override _PATH_OBJDIRPREFIX
15573955d011SMarcel Moolenaar
15583955d011SMarcel Moolenaar	If _PATH_OBJDIRPREFIX is set to "no" we won't define it.
15593955d011SMarcel Moolenaar
15603955d011SMarcel Moolenaar	* makefile: added a pathetically simple makefile to drive
15613955d011SMarcel Moolenaar	bootstrapping.  Running configure by hand is more useful.
15623955d011SMarcel Moolenaar
15633955d011SMarcel Moolenaar	* Makefile.in: added MAKE_VERSION, and reworked things to be less
15643955d011SMarcel Moolenaar	dependent on NetBSD bsd.*.mk
15653955d011SMarcel Moolenaar
15663955d011SMarcel Moolenaar	* pathnames.h: allow NO_PATH_OBJDIRPREFIX to stop us defining
15673955d011SMarcel Moolenaar	_PATH_OBJDIRPREFIX for those that don't want a default.
15683955d011SMarcel Moolenaar	construct _PATH_DEFSYSPATH from the info we get from configure.
15693955d011SMarcel Moolenaar
15703955d011SMarcel Moolenaar	* main.c: allow for no _PATH_OBJDIRPREFIX, set ${MAKE_VERSION}
15713955d011SMarcel Moolenaar	if MAKE_VERSION is defined.
15723955d011SMarcel Moolenaar
15733955d011SMarcel Moolenaar	* compat.c: when we bail, print out the .CURDIR we were in.
15743955d011SMarcel Moolenaar
15753955d011SMarcel MoolenaarSat May 12 00:34:12 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
15763955d011SMarcel Moolenaar
15773955d011SMarcel Moolenaar	* Merged with NetBSD make
15783955d011SMarcel Moolenaar
15793955d011SMarcel Moolenaar	* var.c: fixed a bug in the handling of the modifier :P
15803955d011SMarcel Moolenaar	if the node as found but the path was null, we segfault trying to
15813955d011SMarcel Moolenaar	duplicate it.
15823955d011SMarcel Moolenaar
15833955d011SMarcel MoolenaarMon Mar  5 16:20:33 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
15843955d011SMarcel Moolenaar
15853955d011SMarcel Moolenaar	* Merged with NetBSD make
15863955d011SMarcel Moolenaar
15873955d011SMarcel Moolenaar	* make.c: Make_OODate's test for a library out of date was using
15883955d011SMarcel Moolenaar	cmtime where it should have used mtime (my bug).
15893955d011SMarcel Moolenaar
15903955d011SMarcel Moolenaar	* compat.c: Use perror() to tell us what really went wrong when we
15913955d011SMarcel Moolenaar	cannot exec a command.
15923955d011SMarcel Moolenaar
15933955d011SMarcel MoolenaarFri Dec 15 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
15943955d011SMarcel Moolenaar
15953955d011SMarcel Moolenaar	* Merged with NetBSD make
15963955d011SMarcel Moolenaar
15973955d011SMarcel MoolenaarSat Jun 10 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
15983955d011SMarcel Moolenaar
15993955d011SMarcel Moolenaar	* Merged with NetBSD make
16003955d011SMarcel Moolenaar
16013955d011SMarcel MoolenaarThu Jun  1 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
16023955d011SMarcel Moolenaar
16033955d011SMarcel Moolenaar	* Merged with NetBSD make
16043955d011SMarcel Moolenaar
16053955d011SMarcel MoolenaarTue May 30 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
16063955d011SMarcel Moolenaar
16073955d011SMarcel Moolenaar	* Merged with NetBSD make
16083955d011SMarcel Moolenaar
16093955d011SMarcel MoolenaarThu Apr 27 00:07:47 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
16103955d011SMarcel Moolenaar
16113955d011SMarcel Moolenaar	* util.c: don't provide signal() since we use sigcompat.c
16123955d011SMarcel Moolenaar
16133955d011SMarcel Moolenaar	* Makefile.in: added a build target.
16143955d011SMarcel Moolenaar
16153955d011SMarcel Moolenaar	* var.c (Var_Parse): added ODE modifiers :U, :D, :L, :P, :@ and :!
16163955d011SMarcel Moolenaar	These allow some quite clever magic.
16173955d011SMarcel Moolenaar
16183955d011SMarcel Moolenaar	* main.c (main): added support for getenv(MAKESYSPATH).
16193955d011SMarcel Moolenaar
16203955d011SMarcel MoolenaarMon Apr  2 16:25:13 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
16213955d011SMarcel Moolenaar
16223955d011SMarcel Moolenaar	* Disable $PWD overriding getcwd() if MAKEOBJDIRPREFIX is set.
16233955d011SMarcel Moolenaar	This avoids objdir having a different value depending on how a
16243955d011SMarcel Moolenaar	directory was reached (via command line, or subdir.mk).
16253955d011SMarcel Moolenaar
16263955d011SMarcel Moolenaar	* If FORCE_MACHINE is defined, ignore getenv("MACHINE").
16273955d011SMarcel Moolenaar
16283955d011SMarcel MoolenaarMon Apr  2 23:15:31 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
16293955d011SMarcel Moolenaar
16303955d011SMarcel Moolenaar	* Do a chdir(${.CURDIR}) before invoking ${.MAKE} or ${.MAKE:T} if
16313955d011SMarcel Moolenaar	MAKEOBJDIRPREFIX is set and NOCHECKMAKECHDIR is not.
16323955d011SMarcel Moolenaar	I've been testing this in NetBSD's make for some weeks.
16333955d011SMarcel Moolenaar
16343955d011SMarcel Moolenaar	* Turn Makefile into Makefile.in and make it useful.
16353955d011SMarcel Moolenaar
16363955d011SMarcel MoolenaarTue Feb 29 22:08:00 2000 Simon J. Gerraty  <sjg@zen.quick.com.au>
16373955d011SMarcel Moolenaar
16383955d011SMarcel Moolenaar	* Imported NetBSD's -current make(1) and resolve conflicts.
16393955d011SMarcel Moolenaar
16403955d011SMarcel Moolenaar	* Applied autoconf patches from bmake v2
16413955d011SMarcel Moolenaar
16423955d011SMarcel Moolenaar	* Imported clean code base from NetBSD-1.0
1643