aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-11-11 05:43:23 +0000
committerRichard Stallman <rms@gnu.org>1992-11-11 05:43:23 +0000
commitc3279a01819fd24376062db63abba17e603c4a47 (patch)
treeb6c2cc475b2265c339e2cadd3fb732fc3e5c410b
parent461819928caad65a96d7c1886a0051a48e7bcbf6 (diff)
downloadgcc-c3279a01819fd24376062db63abba17e603c4a47.zip
gcc-c3279a01819fd24376062db63abba17e603c4a47.tar.gz
gcc-c3279a01819fd24376062db63abba17e603c4a47.tar.bz2
(install-common): Delete deps $(srcdir)/g++ $(srcdir)/c++
(USER_H): syslimits.h deleted. (install-common-headers): Install gsyslimits.h as syslimits.h. Depend on gsyslimits.h and assert.h. From-SVN: r2742
-rw-r--r--gcc/Makefile.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 0a2f74f..6e3310f 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1,5 +1,5 @@
# Makefile for GNU C compiler.
-# Copyright (C) 1987, 1988, 1990, 1991 Free Software Foundation, Inc.
+# Copyright (C) 1987, 1988, 1990, 1991, 1992 Free Software Foundation, Inc.
#This file is part of GNU CC.
@@ -402,7 +402,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 = 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 syslimits.h $(EXTRA_HEADERS)
+ va-pa.h va-pyr.h va-sparc.h va-spur.h proto.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
@@ -1449,7 +1449,9 @@ install-dir:
-if [ -d $(mandir) ] ; then true ; else mkdir $(mandir) ; fi
# Install the compiler executables built during cross compilation.
-install-common: native install-dir xgcc $(srcdir)/g++ $(srcdir)/c++ $(EXTRA_PARTS)
+# Deps on $(srcdir)/g++ $(srcdir)/c++ would be natural here,
+# but the latter would get confused with the target `c++'.
+install-common: native install-dir xgcc $(EXTRA_PARTS)
for file in $(COMPILERS); do \
if [ -f $$file ] ; then \
rm -f $(libsubdir)/$$file; \
@@ -1550,7 +1552,7 @@ install-limits-h: xlimits.h install-dir
chmod a-x $(libsubdir)/include/limits.h
# Install the fixed headers that are the same for all machines.
-install-common-headers: install-dir $(USER_H) gvarargs.h gstdarg.h gstddef.h
+install-common-headers: install-dir $(USER_H) gvarargs.h gstdarg.h gstddef.h gsyslimits.h assert.h
-if [ -d $(libsubdir)/include ] ; then true ; else mkdir $(libsubdir)/include ; fi
-chmod ugo+rx $(libsubdir)/include
# Must compute $(libsubdir) before the cd; the awk script won't work after.
@@ -1579,6 +1581,9 @@ install-common-headers: install-dir $(USER_H) gvarargs.h gstdarg.h gstddef.h
$(INSTALL_DATA) $(srcdir)/assert.h $(assertdir)/assert.h; \
chmod a-x $(assertdir)/assert.h; \
fi
+ -rm -f $(libsubdir)/include/syslimits.h
+ $(INSTALL_DATA) $(srcdir)/gsyslimits.h $(libsubdir)/include/syslimits.h
+ chmod a-x $(libsubdir)/include/syslimits.h
-rm -f $(libsubdir)/include/varargs.h
$(INSTALL_DATA) $(srcdir)/gvarargs.h $(libsubdir)/include/varargs.h
chmod a-x $(libsubdir)/include/varargs.h