diff options
author | Richard Stallman <rms@gnu.org> | 1992-09-24 06:57:11 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-09-24 06:57:11 +0000 |
commit | 26363cdfd5e54e76b1724b2582cc9abc229d08a7 (patch) | |
tree | 89dac94a218faf6b6be8be7bc342ce8ae8c542fb /gcc | |
parent | b70af677f28020e48e4d80a036ad19c25ee8f389 (diff) | |
download | gcc-26363cdfd5e54e76b1724b2582cc9abc229d08a7.zip gcc-26363cdfd5e54e76b1724b2582cc9abc229d08a7.tar.gz gcc-26363cdfd5e54e76b1724b2582cc9abc229d08a7.tar.bz2 |
(USER_H): Add syslimits.h.
(install-fixincludes): If we fix system's limits.h, install that as syslimits.h
From-SVN: r2223
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index ef09089..afab645 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -391,7 +391,7 @@ LIB2FUNCS = _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 \ # 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 @@ -1461,7 +1461,7 @@ install-float-h: float.h install-dir $(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 @@ -1522,6 +1522,7 @@ install-fixincludes: install-headers 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 |