summaryrefslogtreecommitdiff
path: root/build.cfg.in
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2019-09-08 15:41:20 -0400
committerPaul Smith <psmith@gnu.org>2019-09-09 18:38:31 -0400
commitbde990bfeaa8797723e11cad216a9b074fa804fa (patch)
treef311ba982969eb3ee6ea4370b7e7791d5e10f076 /build.cfg.in
parent60e54608bdfa29c57ac4d934f413a8cf100c38d2 (diff)
downloadmake-git-bde990bfeaa8797723e11cad216a9b074fa804fa.tar.gz
Rework the creation of build.sh so it's not a template.
* build.sh: Rename from build.template. Get the list of objects from the Makefile. Move configure-replaced variables ... * build.cfg.in: to this new .in file. * configure.ac: Remove special handling of build.sh.in and add build.cfg as a generated file. * Makefile.am (EXTRA_DIST): Remove build.sh.in and add build.sh and build.cfg.in for build.sh.in. * maintMakefile: Remove handling for build.template. Treat build.sh as a source file, not a generated file. * .gitignore: Ignore generated build.cfg file.
Diffstat (limited to 'build.cfg.in')
-rw-r--r--build.cfg.in38
1 files changed, 38 insertions, 0 deletions
diff --git a/build.cfg.in b/build.cfg.in
new file mode 100644
index 00000000..3daa65a6
--- /dev/null
+++ b/build.cfg.in
@@ -0,0 +1,38 @@
+# Configuration for building GNU Make in the absence of any 'make' program.
+# @configure_input@
+
+# Copyright (C) 1993-2019 Free Software Foundation, Inc.
+# This file is part of GNU Make.
+#
+# GNU Make is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 3 of the License, or (at your option) any later
+# version.
+#
+# GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+# details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program. If not, see <http://www.gnu.org/licenses/>.
+
+# See Makefile.in for comments describing these variables.
+
+top_srcdir='@top_srcdir@'
+
+prefix='@prefix@'
+exec_prefix=`eval echo @exec_prefix@`
+
+CC='@CC@'
+AR='@AR@'
+CFLAGS='@CFLAGS@ @GUILE_CFLAGS@'
+CPPFLAGS='@CPPFLAGS@'
+DEFS='@DEFS@'
+ARFLAGS='@ARFLAGS@'
+LDFLAGS='@AM_LDFLAGS@ @LDFLAGS@'
+ALLOCA='@ALLOCA@'
+LOADLIBES='@LIBS@ @GUILE_LIBS@ @LIBINTL@'
+REMOTE='@REMOTE@'
+OBJEXT='@OBJEXT@'
+EXEEXT='@EXEEXT@'