# Header files that are made available under the same name
# to programs compiled with GCC.
USER_H = assert.h va-alpha.h va-i860.h va-i960.h va-mips.h va-m88k.h \
- va-pa.h va-pyr.h va-sparc.h va-spur.h proto.h $(EXTRA_HEADERS)
+ va-pa.h va-pyr.h va-sparc.h va-spur.h proto.h syslimits.h $(EXTRA_HEADERS)
# All the header files that are installed for users from GCC itself.
INSTALLED_H = float.h stddef.h stdarg.h varargs.h $(USER_H) limits.h
$(INSTALL_DATA) float.h $(libsubdir)/include/float.h
chmod a-x $(libsubdir)/include/float.h
-# Install limits.h, optionally inheriting from the standard system version.
+# Install limits.h.
install-limits-h: xlimits.h install-dir
-rm -f $(libsubdir)/include/limits.h
$(INSTALL_DATA) xlimits.h $(libsubdir)/include/limits.h
rm -rf *
# Install fixed copies of system files.
$(srcdir)/$(FIXINCLUDES) $(libsubdir)/include /usr/include $(srcdir)
+ cd $(libsubdir)/include; if [ -f limits.h ]; mv limits.h ../tmp/syslimits.h; done
# Bring back gcc's header files.
cd $(libsubdir)/include; mv ../tmp/* .; rmdir ../tmp
# Install the README