Commit Graph

25 Commits

Author SHA1 Message Date
rillig ff40d26ffb make(1): remove references to the removed lst.lib 2020-07-26 09:17:24 +00:00
lukem b88ffc9699 nbmake bootstrap: be quieter if MAKEVERBOSE==0
More accurately simulate <bsd.own.mk> and don't even print
the "compile" lines with MAKEVERBOSE=0
2020-06-13 11:39:43 +00:00
lukem d9c439f9ab nbmake bootstrap: consistency fix in MAKEVERBOSE<2 support 2020-06-13 11:32:52 +00:00
lukem 7021f3fda6 nbmake bootstrap: if MAKEVERBOSE < 2, output similar to <bsd.own.mk> 2020-06-13 11:28:24 +00:00
uwe 4f2e9ed826 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.
2018-01-16 08:53:51 +00:00
uwe 4b7a180ace Do not use HOST_CFLAGS to link the make binary. 2018-01-15 20:14:49 +00:00
uwe 4b89f891fb G/c unused runcmd. 2018-01-15 19:57:49 +00:00
uwe 06ddb7b0da Make sure nbmake is always built with the right _PATH_DEFSYSPATH. 2018-01-15 19:52:54 +00:00
apb 810a68fb1a regen 2007-10-14 20:27:22 +00:00
apb 7f785f3945 Adapt to the changed way of telling make which shell to use. 2007-10-14 20:26:47 +00:00
apb 4d49fce1d6 * Add Makefile.regen to regenerate configure from configure.ac;
* Add comments in configure.ac to explain how to regenerate configure.
2007-10-14 20:25:35 +00:00
apb 71ba9763cb 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
2006-10-09 20:51:05 +00:00
christos 3f4976a941 undo previous. I'll do it differently. 2006-08-26 22:17:48 +00:00
christos d81e58017f compile efun.c too. 2006-08-26 22:15:14 +00:00
ross 43efe1a030 Use _TOOL_PREFIX if present. 2006-06-30 19:47:46 +00:00
ross 4ea0ff5fba 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.
2004-05-07 00:04:37 +00:00
salo 22a0ae4298 netbsd.org->NetBSD.org 2003-07-26 20:17:31 +00:00
thorpej 840b4a3a1c Check for <poll.h>. If it is not found, -DUSE_SELECT=1. 2002-10-04 22:21:57 +00:00
thorpej 0cbefac8eb Be more conservative with quoting, to play nice with /bin/sh on Solaris 8. 2002-09-13 19:55:52 +00:00
bjh21 0080fde9da 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.
2002-04-27 16:36:30 +00:00
bjh21 d68e9d36ad 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.
2002-04-24 21:20:08 +00:00
bjh21 a29c20f490 Remove an "eval" from docmd, in order to stop it over-evaluating things
(and losing quotes from DEFS).
2002-04-24 21:17:24 +00:00
tv 3dc61f3b98 Make util.c replacement functions use autoconf conditionals to probe
what is Really available in the host OS.
2002-01-25 17:51:31 +00:00
tv 371a05affa Abort on C compiler error. Add @DEFS@ to compile line. 2002-01-25 17:50:28 +00:00
tv a08f30a6ee 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.
2002-01-15 19:15:47 +00:00