From: Richard Stallman Date: Fri, 23 Oct 1992 07:24:42 +0000 (+0000) Subject: (OTHER_FIXINCLUDES_DIRS): New variable, normally empty. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=66d7ffbfd3780557722510d8bcc5bae6aba634ef;p=gcc.git (OTHER_FIXINCLUDES_DIRS): New variable, normally empty. (install-fixincludes): Run fixincludes on those dirs. From-SVN: r2567 --- diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 271ff0eed34..363e1893846 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; \