Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc avoid installing limits.h and fri...



details:   https://anonhg.NetBSD.org/src/rev/601d7f96a7fe
branches:  trunk
changeset: 766424:601d7f96a7fe
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jun 22 05:14:26 2011 +0000

description:
avoid installing limits.h and friends.

diffstat:

 external/gpl3/gcc/dist/gcc/Makefile.in |  19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diffs (74 lines):

diff -r 311461b1c753 -r 601d7f96a7fe external/gpl3/gcc/dist/gcc/Makefile.in
--- a/external/gpl3/gcc/dist/gcc/Makefile.in    Wed Jun 22 05:13:20 2011 +0000
+++ b/external/gpl3/gcc/dist/gcc/Makefile.in    Wed Jun 22 05:14:26 2011 +0000
@@ -727,6 +727,7 @@
 
 # Control whether header files are installed.
 INSTALL_HEADERS=install-headers install-mkheaders
+INSTALL_HEADERS=install-headers
 
 # Control whether Info documentation is built and installed.
 BUILD_INFO = @BUILD_INFO@
@@ -3830,6 +3831,7 @@
 # The touch command is here to workaround an AIX/Linux NFS bug.
        -if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi
        -if [ -d include-fixed ] ; then true; else mkdir include-fixed; chmod a+rx include-fixed; fi
+       if false; then \
        for file in .. $(USER_H); do \
          if [ X$$file != X.. ]; then \
            realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
@@ -3838,11 +3840,13 @@
            cp $$file include; \
            chmod a+r include/$$realfile; \
          fi; \
-       done
+       done; \
+       fi
        rm -f include/unwind.h
        cp $(UNWIND_H) include/unwind.h
        chmod a+r include/unwind.h
-       rm -f include/stdint.h
+       if false; then \
+       rm -f include/stdint.h; \
        if [ $(USE_GCC_STDINT) = wrap ]; then \
          rm -f include/stdint-gcc.h; \
          cp $(srcdir)/ginclude/stdint-gcc.h include/stdint-gcc.h; \
@@ -3852,7 +3856,7 @@
        elif [ $(USE_GCC_STDINT) = provide ]; then \
          cp $(srcdir)/ginclude/stdint-gcc.h include/stdint.h; \
          chmod a+r include/stdint.h; \
-       fi
+       fi; \
        set -e; for ml in `cat fixinc_list`; do \
          sysroot_headers_suffix=`echo $${ml} | sed -e 's/;.*$$//'`; \
          multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \
@@ -3867,7 +3871,8 @@
          rm -f $${fix_dir}/limits.h; \
          mv tmp-xlimits.h $${fix_dir}/limits.h; \
          chmod a+r $${fix_dir}/limits.h; \
-       done
+       done; \
+       fi
 # Install the README
        rm -f include-fixed/README
        cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README
@@ -3929,8 +3934,9 @@
 stmp-fixinc: gsyslimits.h macro_list fixinc_list \
   $(build_objdir)/fixincludes/fixincl$(build_exeext) \
   $(build_objdir)/fixincludes/fixinc.sh
-       rm -rf include-fixed; mkdir include-fixed
-       -chmod a+rx include-fixed
+       if false; then \
+       rm -rf include-fixed; mkdir include-fixed; \
+       -chmod a+rx include-fixed; \
        if [ -d ../prev-gcc ]; then \
          cd ../prev-gcc && \
          $(MAKE) real-$(INSTALL_HEADERS_DIR) DESTDIR=`pwd`/../gcc/ \
@@ -3964,6 +3970,7 @@
            fi; \
            chmod a+r $${fix_dir}/syslimits.h; \
          done; \
+       fi; \
        fi
        $(STAMP) stmp-fixinc
 #



Home | Main Index | Thread Index | Old Index