Home | History | Annotate | only in /src/tools/make
History log of /src/tools/make
RevisionDateAuthorComments
 1.2 20-Jul-2023  lukem tools/make: build with -Wno-deprecated-declarations

Use NB_CHECK_CC_FLAG() from ../tools/compat to determine
if the compiler supports -Wno-deprecated-declarations.
Avoids sooking about vfork() on macOS.
 1.1 14-Oct-2007  apb branches: 1.1.2;
* Add Makefile.regen to regenerate configure from configure.ac;
* Add comments in configure.ac to explain how to regenerate configure.
 1.1.2.2 06-Nov-2007  matt sync with HEAD
 1.1.2.1 14-Oct-2007  matt file Makefile.regen was added on branch matt-armv6 on 2007-11-06 23:35:38 +0000
 1.1 20-Jul-2023  lukem tools/make: regen
 1.18 20-Jul-2023  lukem tools/make: build with -Wno-deprecated-declarations

Use NB_CHECK_CC_FLAG() from ../tools/compat to determine
if the compiler supports -Wno-deprecated-declarations.
Avoids sooking about vfork() on macOS.
 1.17 20-Jul-2023  lukem tools/make/buildmake.sh: fix quoting

autoconf 2.69 generates @DEFS@ with definitions with
quoted embedded spaces, so rework how docmd() is invoked
to avoid weird quoting issues.

As part of this, remove all the shell variables containing @var@
and just use @var@ directly.
 1.16 26-Jul-2020  rillig make(1): remove references to the removed lst.lib
 1.15 13-Jun-2020  lukem nbmake bootstrap: be quieter if MAKEVERBOSE==0

More accurately simulate <bsd.own.mk> and don't even print
the "compile" lines with MAKEVERBOSE=0
 1.14 13-Jun-2020  lukem nbmake bootstrap: consistency fix in MAKEVERBOSE<2 support
 1.13 13-Jun-2020  lukem nbmake bootstrap: if MAKEVERBOSE < 2, output similar to <bsd.own.mk>
 1.12 16-Jan-2018  uwe Do not use HOST_CFLAGS and others. build.sh calls configure with
CFLAGS set to HOST_CFLAGS, etc - so HOST_* environment variables are
already taken into account if set.

OTOH, if configure were to add anything to CFLAGS etc, the old code
would happily ignore those changes, picking up original environment
variables instead.
 1.11 15-Jan-2018  uwe Do not use HOST_CFLAGS to link the make binary.
 1.10 15-Jan-2018  uwe G/c unused runcmd.
 1.9 15-Jan-2018  uwe Make sure nbmake is always built with the right _PATH_DEFSYSPATH.
 1.8 26-Aug-2006  christos branches: 1.8.74;
undo previous. I'll do it differently.
 1.7 26-Aug-2006  christos compile efun.c too.
 1.6 30-Jun-2006  ross Use _TOOL_PREFIX if present.
 1.5 07-May-2004  ross Track make(1) build simplifications.

Instead of adding MAKE_BOOTSTRAP for hosted environments, i.e., when
you want things simple, instead add MAKE_NATIVE to get those hugely
important features like __RCSID().

Also, get rid of a now-unneeded -I.
 1.4 13-Sep-2002  thorpej branches: 1.4.2;
Be more conservative with quoting, to play nice with /bin/sh on Solaris 8.
 1.3 24-Apr-2002  bjh21 branches: 1.3.2;
Remove an "eval" from docmd, in order to stop it over-evaluating things
(and losing quotes from DEFS).
 1.2 25-Jan-2002  tv Abort on C compiler error. Add @DEFS@ to compile line.
 1.1 15-Jan-2002  tv Break out make(1) bootstrap config into an autoconf-based mechanism that
generates a shell script. Check for existence of POSIX regex, and make
sure an appropriate library is pulled in for it as needed.
 1.3.2.1 03-Nov-2002  he Pull up revision 1.4 (requested by thorpej in ticket #798):
Be more conservative with quoting, to play nice with
Solaris 8's /bin/sh.
 1.4.2.1 10-May-2004  tron Pull up revision 1.5 (requested by sjg in ticket #282):
Track make(1) build simplifications.
Instead of adding MAKE_BOOTSTRAP for hosted environments, i.e., when
you want things simple, instead add MAKE_NATIVE to get those hugely
important features like __RCSID().
Also, get rid of a now-unneeded -I.
 1.8.74.1 19-Feb-2018  snj Pull up following revision(s) (requested by uwe in ticket #555):
build.sh: 1.322-1.323
tools/make/buildmake.sh.in: 1.9-1.12
Make sure nbmake is always built with the right _PATH_DEFSYSPATH.
--
Restore formatting/indentation of the configure call in rebuildmake()
to what it used to be.
--
G/c unused runcmd.
--
Do not use HOST_CFLAGS to link the make binary.
--
Do not use HOST_CFLAGS and others. build.sh calls configure with
CFLAGS set to HOST_CFLAGS, etc - so HOST_* environment variables are
already taken into account if set.
OTOH, if configure were to add anything to CFLAGS etc, the old code
would happily ignore those changes, picking up original environment
variables instead.
 1.9 20-Jul-2023  lukem tools/make: regen
 1.8 14-Oct-2007  apb regen
 1.7 09-Oct-2006  apb branches: 1.7.8;
Configure the bootstrap make in such a way that it can use a shell other
than "sh" for executing commands. Useful in a cross-build environment.

* Do not define _PATH_BSHELL, because it is no longer used by make.

* In addition to _PATH_DEFSHELLDIR (the directory in which the default
shell can be found), define _BASENAME_DEFSHELL (the shell's basename).

* Use shell builtin string manipulation instead of sed to extract
the directory name and basename from $BSHELL.

OK sjg, christos
 1.6 26-Jul-2003  salo netbsd.org->NetBSD.org
 1.5 04-Oct-2002  thorpej Check for <poll.h>. If it is not found, -DUSE_SELECT=1.
 1.4 27-Apr-2002  bjh21 Define _PATH_BSHELL to the first "sh" on the PATH when bootstrapping
nbmake. This should remove our dependency on a nobbled /bin/sh on
Solaris.
 1.3 24-Apr-2002  bjh21 Check for the location of sh on the path, and use that to construct the
value for _PATH_DEFSHELLDIR. In theory, _PATH_DEFSHELLDIR will also be
used to find csh, but ".SHELL csh" shouldn't be used anywhere in our source
tree, and this make shouldn't be used for other things.

This should cause nbmake to use the right shell for most purposes when
cross-compiling from Solaris.
 1.2 25-Jan-2002  tv Make util.c replacement functions use autoconf conditionals to probe
what is Really available in the host OS.
 1.1 15-Jan-2002  tv Break out make(1) bootstrap config into an autoconf-based mechanism that
generates a shell script. Check for existence of POSIX regex, and make
sure an appropriate library is pulled in for it as needed.
 1.7.8.1 06-Nov-2007  matt sync with HEAD
 1.11 20-Jul-2023  lukem tools/make: build with -Wno-deprecated-declarations

Use NB_CHECK_CC_FLAG() from ../tools/compat to determine
if the compiler supports -Wno-deprecated-declarations.
Avoids sooking about vfork() on macOS.
 1.10 20-Jul-2023  lukem tools/make/configure.ac: style tweaks

Consistently use () in zero argument macro calls.
Display results at end.
 1.9 14-Oct-2007  apb Adapt to the changed way of telling make which shell to use.
 1.8 14-Oct-2007  apb * Add Makefile.regen to regenerate configure from configure.ac;
* Add comments in configure.ac to explain how to regenerate configure.
 1.7 09-Oct-2006  apb branches: 1.7.8;
Configure the bootstrap make in such a way that it can use a shell other
than "sh" for executing commands. Useful in a cross-build environment.

* Do not define _PATH_BSHELL, because it is no longer used by make.

* In addition to _PATH_DEFSHELLDIR (the directory in which the default
shell can be found), define _BASENAME_DEFSHELL (the shell's basename).

* Use shell builtin string manipulation instead of sed to extract
the directory name and basename from $BSHELL.

OK sjg, christos
 1.6 26-Jul-2003  salo netbsd.org->NetBSD.org
 1.5 04-Oct-2002  thorpej Check for <poll.h>. If it is not found, -DUSE_SELECT=1.
 1.4 27-Apr-2002  bjh21 Define _PATH_BSHELL to the first "sh" on the PATH when bootstrapping
nbmake. This should remove our dependency on a nobbled /bin/sh on
Solaris.
 1.3 24-Apr-2002  bjh21 Check for the location of sh on the path, and use that to construct the
value for _PATH_DEFSHELLDIR. In theory, _PATH_DEFSHELLDIR will also be
used to find csh, but ".SHELL csh" shouldn't be used anywhere in our source
tree, and this make shouldn't be used for other things.

This should cause nbmake to use the right shell for most purposes when
cross-compiling from Solaris.
 1.2 25-Jan-2002  tv Make util.c replacement functions use autoconf conditionals to probe
what is Really available in the host OS.
 1.1 15-Jan-2002  tv Break out make(1) bootstrap config into an autoconf-based mechanism that
generates a shell script. Check for existence of POSIX regex, and make
sure an appropriate library is pulled in for it as needed.
 1.7.8.1 06-Nov-2007  matt sync with HEAD

RSS XML Feed