aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1993-01-23 21:55:04 +0000
committerPer Bothner <per@bothner.com>1993-01-23 21:55:04 +0000
commit5cc24596c82d1fdaa9df12750cb84e6678d72b08 (patch)
treef63cc4e2f2bc5e6447e4a7a93111fa311d417af9 /Makefile.in
parent18fae2a8dbd7555dd98043534a3ce7de19ab4e15 (diff)
downloadgdb-5cc24596c82d1fdaa9df12750cb84e6678d72b08.zip
gdb-5cc24596c82d1fdaa9df12750cb84e6678d72b08.tar.gz
gdb-5cc24596c82d1fdaa9df12750cb84e6678d72b08.tar.bz2
* guess-systype: Renamed to ...
* config.guess: ... by popular request. * configure.in, Makefile.in: Update accordingly.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in28
1 files changed, 19 insertions, 9 deletions
diff --git a/Makefile.in b/Makefile.in
index 106dc0f..d9ff33f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -406,15 +406,25 @@ install-no-fixedincludes: install-dirs gcc-no-fixedincludes \
install-fileutils install-find install-gawk install-m4 install-sed install-shellutils \
install-textutils install-time install-wdiff
+#
+# Install the gcc headers files, but not the fixed include files,
+# which we are not allowed to distribute. This rule is very dependent
+# on the workings of the gcc Makefile.in.
+#
gcc-no-fixedincludes:
- @if [ -f ./gcc/Makefile ] ; then \
- rootme=`pwd` ; export rootme ; \
- (cd ./gcc; \
- $(MAKE) $(FLAGS_TO_PASS) install install-man \
- "INSTALL_HEADERS=install-common-headers install-float-h install-limits-h") ; \
- else \
- true ; \
- fi
+ @if [ -f ./gcc/Makefile ]; then \
+ rm -rf gcc/tmp-include; \
+ mv gcc/include gcc/tmp-include 2>/dev/null; \
+ mkdir gcc/include; \
+ touch gcc/stmp-fixincludes; \
+ rm -f gcc/stmp-headers; \
+ rootme=`pwd`; export rootme; \
+ srcroot=`cd $(srcdir); pwd` ; export srcroot; \
+ (cd ./gcc; \
+ $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
+ rm -rf gcc/include; \
+ mv gcc/tmp-include gcc/include 2>/dev/null; \
+ else true; fi
install.cross: install-dirs install-libiberty install-mmalloc \
install-binutils install-opcodes install-byacc install-flex \
@@ -1439,7 +1449,7 @@ Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
# Build GDB distributions that contain BFD, Include, Libiberty, Readline, etc
DEVO_SUPPORT= README Makefile.in configure configure.in \
- config.sub config etc move-if-change \
+ config.guess config.sub config etc move-if-change \
COPYING.LIB
GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline glob
GDB_SUPPORT_FILES= $(GDB_SUPPORT_DIRS)