(OTHER_FIXINCLUDES_DIRS): New variable, normally empty.
authorRichard Stallman <rms@gnu.org>
Fri, 23 Oct 1992 07:24:42 +0000 (07:24 +0000)
committerRichard Stallman <rms@gnu.org>
Fri, 23 Oct 1992 07:24:42 +0000 (07:24 +0000)
(install-fixincludes): Run fixincludes on those dirs.

From-SVN: r2567

gcc/Makefile.in

index 271ff0eed349ae821e4d8c804f07cea1c9c2dc07..363e189384631f908f3d07c5224dacd3425415dd 100644 (file)
@@ -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; \