diff options
author | Richard Stallman <rms@gnu.org> | 1992-10-23 07:24:42 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-10-23 07:24:42 +0000 |
commit | 66d7ffbfd3780557722510d8bcc5bae6aba634ef (patch) | |
tree | 1d9816300444417b4e4bb1f912009b849d3b0874 | |
parent | b5d27be7d7803e6537c3f0dce4abfe62a8b60643 (diff) | |
download | gcc-66d7ffbfd3780557722510d8bcc5bae6aba634ef.zip gcc-66d7ffbfd3780557722510d8bcc5bae6aba634ef.tar.gz gcc-66d7ffbfd3780557722510d8bcc5bae6aba634ef.tar.bz2 |
(OTHER_FIXINCLUDES_DIRS): New variable, normally empty.
(install-fixincludes): Run fixincludes on those dirs.
From-SVN: r2567
-rw-r--r-- | gcc/Makefile.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 271ff0e..363e189 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -218,6 +218,10 @@ INSTALL_HEADERS=install-headers # Select which version of fixincludes to use (I.E. regular versus SVR4) FIXINCLUDES=fixincludes +# Additional directories of header files to run fixincludes on. +# On most systems, this is empty. +OTHER_FIXINCLUDES_DIRS= + # List of things which should already be built whenever we try to use xgcc # to compile anything (without linking). GCC_PASSES=xgcc cc1 cpp $(EXTRA_PASSES) @@ -1593,7 +1597,9 @@ install-fixincludes: install-headers done; \ rm -rf * # Install fixed copies of system files. - $(srcdir)/$(FIXINCLUDES) $(libsubdir)/include /usr/include $(srcdir) + for dir in /usr/include $(OTHER_FIXINCLUDES_DIRS); do \ + $(srcdir)/$(FIXINCLUDES) $(libsubdir)/include $(dir) $(srcdir); \ + done -cd $(libsubdir)/include; \ if [ -f limits.h ]; then \ rm -f ../tmp/syslimits.h; \ |