diff options
author | Zack Weinberg <zack@wolery.cumb.org> | 2000-05-27 21:37:17 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-05-27 14:37:17 -0700 |
commit | c190ed67f702f98dc1aa1d9b6bc83a42333e8731 (patch) | |
tree | 56c82f5c8fbf5ff7a040ae0f8df9f6c96e786137 /gcc/Makefile.in | |
parent | 0e7f0e650e96b48cae89bd6e8fb4ecb3e80eccbb (diff) | |
download | gcc-c190ed67f702f98dc1aa1d9b6bc83a42333e8731.zip gcc-c190ed67f702f98dc1aa1d9b6bc83a42333e8731.tar.gz gcc-c190ed67f702f98dc1aa1d9b6bc83a42333e8731.tar.bz2 |
Makefile.in (libgcc2.ready): Rename to libgcc.ready.
* Makefile.in (libgcc2.ready): Rename to libgcc.ready.
Depend on $(LANGUAGES) as well as $(GCC_PATCHES) and fixed
headers.
(clean): No need to delete libgcc1.a, libgcc1-asm.a,
libgcc2.a, or libgcc1.null.
From-SVN: r34211
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r-- | gcc/Makefile.in | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 5456c47..b8bbfa1 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -159,7 +159,7 @@ USER_H = $(srcdir)/ginclude/stdarg.h $(srcdir)/ginclude/stddef.h \ # want to set this empty. INSTALL_ASSERT_H = install-assert-h -# The GCC to use for compiling libgcc2.a, enquire, and libgcc1-test. +# The GCC to use for compiling libgcc.a, enquire, and libgcc1-test. # Usually the one we just built. # Don't use this as a dependency--use $(GCC_PASSES) or $(GCC_PARTS). GCC_FOR_TARGET = ./xgcc -B$(build_tooldir)/bin/ -B./ -isystem $(build_tooldir)/include @@ -349,9 +349,6 @@ LIBGCC1 = libgcc1.a # The default rule assumes that libgcc1.a is supplied by the user. CROSS_LIBGCC1 = libgcc1.cross -# Specify the rule for actually making libgcc2.a. -LIBGCC2 = libgcc2.a - # Options to use when compiling libgcc2.a. # -g1 causes output of debug info only for file-scope entities. # we use this here because that should be enough, and also @@ -944,14 +941,14 @@ xlimits.h: glimits.h limitx.h limity.h # # Build libgcc.a. -# Compiling libgcc2.a requires making sure that cc1, etc. have been compiled. -# But recompiling cc1 should not force recompilation of libgcc2.a. -# If you want to force recompilation, delete libgcc2.a. -libgcc2.ready: $(GCC_PASSES) stmp-int-hdrs $(STMP_FIXPROTO) - -if [ -f libgcc2.ready ] ; then \ +# Compiling libgcc.a requires making sure that cc1, etc. have been compiled. +# But recompiling cc1 should not force recompilation of libgcc.a. +# If you want to force recompilation, delete libgcc.a. +libgcc.ready: $(GCC_PASSES) $(LANGUAGES) stmp-int-hdrs $(STMP_FIXPROTO) + -if [ -f libgcc.ready ] ; then \ true; \ else \ - touch libgcc2.ready; \ + touch libgcc.ready; \ fi LIB2ADD = $(LIB2ADDEH) $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS) @@ -975,7 +972,7 @@ libgcc.mk: config.status Makefile mklibgcc $(LIB2ADD) xgcc$(exeext) $(SHELL) mklibgcc > tmp-libgcc.mk $(SHELL) $(srcdir)/move-if-change tmp-libgcc.mk libgcc.mk -libgcc.a: libgcc2.ready libgcc.mk $(FPBIT) $(DPBIT) +libgcc.a: libgcc.ready libgcc.mk $(FPBIT) $(DPBIT) $(MAKE) GCC_FOR_TARGET="$(GCC_FOR_TARGET)" \ HOST_PREFIX="$(HOST_PREFIX)" HOST_PREFIX_1="$(HOST_PREFIX_1)" \ AR_FOR_TARGET="$(AR_FOR_TARGET)" \ @@ -1006,7 +1003,7 @@ s-mlib: $(srcdir)/genmultilib Makefile touch s-mlib # Build multiple copies of libgcc.a, one for each target switch. -stmp-multilib: libgcc2.ready libgcc.mk $(FPBIT) $(DPBIT) +stmp-multilib: libgcc.ready libgcc.mk $(FPBIT) $(DPBIT) $(MAKE) GCC_FOR_TARGET="$(GCC_FOR_TARGET)" \ HOST_PREFIX="$(HOST_PREFIX)" HOST_PREFIX_1="$(HOST_PREFIX_1)" \ AR_FOR_TARGET="$(AR_FOR_TARGET)" \ @@ -2139,8 +2136,7 @@ mostlyclean: $(INTL_MOSTLYCLEAN) lang.mostlyclean # that don't exist in the distribution. INTL_CLEAN = intl.clean clean: mostlyclean $(INTL_CLEAN) lang.clean - -rm -f libgcc.a libgcc1.a libgcc1-asm.a libgcc2.a libgcc2.ready - -rm -f libgcc1.null + -rm -f libgcc.a libgcc.ready -rm -f *.dvi -rm -f */*.dvi -if [ -f md.pre-cpp ]; then \ |