aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-01-19 08:54:40 +0000
committerRichard Stallman <rms@gnu.org>1993-01-19 08:54:40 +0000
commitc844ddda6f887dff835bf0ae1e690ca5ac236f27 (patch)
tree2c371c2e1dbdd0a4132d888c1fbc052034d94f6b
parent812e2cfeca90625c9bc3f540c4f571f23e20777b (diff)
downloadgcc-c844ddda6f887dff835bf0ae1e690ca5ac236f27.zip
gcc-c844ddda6f887dff835bf0ae1e690ca5ac236f27.tar.gz
gcc-c844ddda6f887dff835bf0ae1e690ca5ac236f27.tar.bz2
(local_prefix): new prefix, the default is /usr/local.
(cccp.o): change LOCAL_INCLUDE_DIR to $(local_prefix)/include. From-SVN: r3274
-rw-r--r--gcc/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 11b6b0f..446b357 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -137,6 +137,10 @@ srcdir = .
# Common prefix for installation directories.
# NOTE: This directory must exist when you start installation.
prefix = /usr/local
+# Directory in which to put localized header files. On the systems with
+# gcc as the native cc, `local_prefix' may not be `prefix' which is
+# `/usr'.
+local_prefix = $(prefix)
# Directory in which to put host dependent programs and libraries
exec_prefix = $(prefix)
# Directory in which to put the executable for the command `gcc'
@@ -1176,7 +1180,7 @@ cccp.o: cccp.c $(CONFIG_H) pcp.h version.c
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
-DGPLUSPLUS_INCLUDE_DIR=\"$(libdir)/g++-include\" \
- -DLOCAL_INCLUDE_DIR=\"$(prefix)/include\" \
+ -DLOCAL_INCLUDE_DIR=\"$(local_prefix)/include\" \
-DCROSS_INCLUDE_DIR=\"$(libsubdir)/sys-include\" \
-DTOOL_INCLUDE_DIR=\"$(tooldir)/include\" \
-DTOOLDIR=\"$(tooldir)/\" \