avoid installing limits.h and friends.
This commit is contained in:
parent
a8eadc0087
commit
65a1c6301f
|
@ -727,6 +727,7 @@ LIBCONVERT =
|
||||||
|
|
||||||
# Control whether header files are installed.
|
# Control whether header files are installed.
|
||||||
INSTALL_HEADERS=install-headers install-mkheaders
|
INSTALL_HEADERS=install-headers install-mkheaders
|
||||||
|
INSTALL_HEADERS=install-headers
|
||||||
|
|
||||||
# Control whether Info documentation is built and installed.
|
# Control whether Info documentation is built and installed.
|
||||||
BUILD_INFO = @BUILD_INFO@
|
BUILD_INFO = @BUILD_INFO@
|
||||||
|
@ -3830,6 +3831,7 @@ stmp-int-hdrs: $(STMP_FIXINC) $(USER_H) $(UNWIND_H) fixinc_list
|
||||||
# The touch command is here to workaround an AIX/Linux NFS bug.
|
# 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 ] ; 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 [ -d include-fixed ] ; then true; else mkdir include-fixed; chmod a+rx include-fixed; fi
|
||||||
|
if false; then \
|
||||||
for file in .. $(USER_H); do \
|
for file in .. $(USER_H); do \
|
||||||
if [ X$$file != X.. ]; then \
|
if [ X$$file != X.. ]; then \
|
||||||
realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
|
realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
|
||||||
|
@ -3838,11 +3840,13 @@ stmp-int-hdrs: $(STMP_FIXINC) $(USER_H) $(UNWIND_H) fixinc_list
|
||||||
cp $$file include; \
|
cp $$file include; \
|
||||||
chmod a+r include/$$realfile; \
|
chmod a+r include/$$realfile; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done; \
|
||||||
|
fi
|
||||||
rm -f include/unwind.h
|
rm -f include/unwind.h
|
||||||
cp $(UNWIND_H) include/unwind.h
|
cp $(UNWIND_H) include/unwind.h
|
||||||
chmod a+r 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 \
|
if [ $(USE_GCC_STDINT) = wrap ]; then \
|
||||||
rm -f include/stdint-gcc.h; \
|
rm -f include/stdint-gcc.h; \
|
||||||
cp $(srcdir)/ginclude/stdint-gcc.h include/stdint-gcc.h; \
|
cp $(srcdir)/ginclude/stdint-gcc.h include/stdint-gcc.h; \
|
||||||
|
@ -3852,7 +3856,7 @@ stmp-int-hdrs: $(STMP_FIXINC) $(USER_H) $(UNWIND_H) fixinc_list
|
||||||
elif [ $(USE_GCC_STDINT) = provide ]; then \
|
elif [ $(USE_GCC_STDINT) = provide ]; then \
|
||||||
cp $(srcdir)/ginclude/stdint-gcc.h include/stdint.h; \
|
cp $(srcdir)/ginclude/stdint-gcc.h include/stdint.h; \
|
||||||
chmod a+r include/stdint.h; \
|
chmod a+r include/stdint.h; \
|
||||||
fi
|
fi; \
|
||||||
set -e; for ml in `cat fixinc_list`; do \
|
set -e; for ml in `cat fixinc_list`; do \
|
||||||
sysroot_headers_suffix=`echo $${ml} | sed -e 's/;.*$$//'`; \
|
sysroot_headers_suffix=`echo $${ml} | sed -e 's/;.*$$//'`; \
|
||||||
multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \
|
multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \
|
||||||
|
@ -3867,7 +3871,8 @@ stmp-int-hdrs: $(STMP_FIXINC) $(USER_H) $(UNWIND_H) fixinc_list
|
||||||
rm -f $${fix_dir}/limits.h; \
|
rm -f $${fix_dir}/limits.h; \
|
||||||
mv tmp-xlimits.h $${fix_dir}/limits.h; \
|
mv tmp-xlimits.h $${fix_dir}/limits.h; \
|
||||||
chmod a+r $${fix_dir}/limits.h; \
|
chmod a+r $${fix_dir}/limits.h; \
|
||||||
done
|
done; \
|
||||||
|
fi
|
||||||
# Install the README
|
# Install the README
|
||||||
rm -f include-fixed/README
|
rm -f include-fixed/README
|
||||||
cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README
|
cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README
|
||||||
|
@ -3929,8 +3934,9 @@ s-fixinc_list : $(GCC_PASSES)
|
||||||
stmp-fixinc: gsyslimits.h macro_list fixinc_list \
|
stmp-fixinc: gsyslimits.h macro_list fixinc_list \
|
||||||
$(build_objdir)/fixincludes/fixincl$(build_exeext) \
|
$(build_objdir)/fixincludes/fixincl$(build_exeext) \
|
||||||
$(build_objdir)/fixincludes/fixinc.sh
|
$(build_objdir)/fixincludes/fixinc.sh
|
||||||
rm -rf include-fixed; mkdir include-fixed
|
if false; then \
|
||||||
-chmod a+rx include-fixed
|
rm -rf include-fixed; mkdir include-fixed; \
|
||||||
|
-chmod a+rx include-fixed; \
|
||||||
if [ -d ../prev-gcc ]; then \
|
if [ -d ../prev-gcc ]; then \
|
||||||
cd ../prev-gcc && \
|
cd ../prev-gcc && \
|
||||||
$(MAKE) real-$(INSTALL_HEADERS_DIR) DESTDIR=`pwd`/../gcc/ \
|
$(MAKE) real-$(INSTALL_HEADERS_DIR) DESTDIR=`pwd`/../gcc/ \
|
||||||
|
@ -3964,6 +3970,7 @@ stmp-fixinc: gsyslimits.h macro_list fixinc_list \
|
||||||
fi; \
|
fi; \
|
||||||
chmod a+r $${fix_dir}/syslimits.h; \
|
chmod a+r $${fix_dir}/syslimits.h; \
|
||||||
done; \
|
done; \
|
||||||
|
fi; \
|
||||||
fi
|
fi
|
||||||
$(STAMP) stmp-fixinc
|
$(STAMP) stmp-fixinc
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue