This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
GCC Makefile.in cleanup 3/n
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 6 Mar 2003 21:44:29 -0500
- Subject: GCC Makefile.in cleanup 3/n
Pull MAKEOVERRIDES up to a more obvious location. Break out another
collection of variables. Tested on i686-pc-linux-gnu, with previous two.
* Makefile.in: Rearrange.
--- Makefile.in.old 2003-03-06 21:23:36.000000000 -0500
+++ Makefile.in 2003-03-06 21:41:39.000000000 -0500
@@ -37,6 +37,8 @@
# This tells GNU make version 3 not to export all the variables
# defined in this file into the environment.
.NOEXPORT:
+# For GNUmake: let us decide what gets passed to recursive makes.
+MAKEOVERRIDES =
# The only suffixes we want for implicit rules are .c and .o, so clear
# the list and add them. This speeds up GNU Make, and allows -r to work.
@@ -184,6 +186,11 @@
AR_FLAGS = rc
DLLTOOL = dlltool
RANLIB = @RANLIB@
+
+# -------------------------------------------
+# Programs which operate on the build machine
+# -------------------------------------------
+
SHELL = @SHELL@
# pwd command to use. Allow user to override default by setting PWDCMD in
# the environment to account for automounters. The make variable must not
@@ -205,18 +212,21 @@
TEXI2DVI = texi2dvi
TEXI2POD = perl $(srcdir)/../contrib/texi2pod.pl
POD2MAN = pod2man --center="GNU" --release="gcc-$(version)"
-# For GNUmake: let us decide what gets passed to recursive makes.
-MAKEOVERRIDES =
- at SET_MAKE@
-# Some compilers can't handle cc -c blah.c -o foo/blah.o.
-# In stage2 and beyond, we force this to "-o $@" since we know we're using gcc.
-OUTPUT_OPTION = @OUTPUT_OPTION@
-
# Some versions of `touch' (such as the version on Solaris 2.8)
# do not correctly set the timestamp due to buggy versions of `utime'
# in the kernel. So, we use `echo' instead.
STAMP = echo timestamp >
+ at SET_MAKE@
+
+# --------
+# UNSORTED
+# --------
+
+# Some compilers can't handle cc -c blah.c -o foo/blah.o.
+# In stage2 and beyond, we force this to "-o $@" since we know we're using gcc.
+OUTPUT_OPTION = @OUTPUT_OPTION@
+
# This is where we get zlib from. zlibdir is -L../zlib and zlibinc is
# -I../zlib, unless we were configured with --with-system-zlib, in which
# case both are empty.