summaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-03 06:12:27 +0000
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>2008-04-03 06:12:27 +0000
commit6fb2153aa6d3fcd61853d07a9161b7e00be471d2 (patch)
tree7c4324ea853fb369a86500067d7b72f3706b012f /gcc/Makefile.in
parent32020b1004b335bd87616484a8c3c3d5e7a33f04 (diff)
downloadgcc-6fb2153aa6d3fcd61853d07a9161b7e00be471d2.tar.gz
gcc/
2008-04-03 Tom Tromey <tromey@redhat.com> Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * config/m68k/t-uclinux (generated_files): Add sysroot-suffix.h. * config/bfin/t-bfin-linux (generated_files): Add linux-sysroot-suffix.h. * doc/install.texi (Prerequisites): Require make 3.80. * doc/sourcebuild.texi (Front End Directory): Document new variable. * Makefile.in (generated_files): New variable. (ALL_HOST_OBJS): New variable. ($(ALL_HOST_OBJS)): New target. gcc/java/ 2008-04-03 Tom Tromey <tromey@redhat.com> * Make-lang.in (java_OBJS): New variable. gcc/objc/ 2008-04-03 Tom Tromey <tromey@redhat.com> * Make-lang.in (objc_OBJS): New variable. gcc/objcp/ 2008-04-03 Tom Tromey <tromey@redhat.com> * Make-lang.in (obj-c++_OBJS): New variable. gcc/cp/ 2008-04-03 Tom Tromey <tromey@redhat.com> * Make-lang.in (c++_OBJS): New variable. gcc/fortran/ 2008-04-03 Tom Tromey <tromey@redhat.com> * Make-lang.in (fortran_OBJS): New variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133862 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index c39aa469fb0..eca3497e4ba 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1246,6 +1246,15 @@ OBJS = $(OBJS-common) $(OBJS-md) $(OBJS-archive)
OBJS-onestep = libbackend.o $(OBJS-archive)
+# This lists all host object files, whether they are included in this
+# compilation or not.
+ALL_HOST_OBJS = $(GCC_OBJS) $(C_OBJS) $(OBJS) libbackend.o \
+ @TREEBROWSER@ main.o gccspec.o version.o intl.o prefix.o cppspec.o \
+ $(foreach v,$(CONFIG_LANGUAGES),$($(v)_OBJS)) \
+ $(COLLECT2_OBJS) $(EXTRA_GCC_OBJS) \
+ mips-tfile.o mips-tdump.o \
+ $(PROTO_OBJS) $(GCOV_OBJS) $(GCOV_DUMP_OBJS)
+
BACKEND = main.o @TREEBROWSER@ libbackend.a $(CPPLIB) $(LIBDECNUMBER)
MOSTLYCLEANFILES = insn-flags.h insn-config.h insn-codes.h \
@@ -2999,6 +3008,16 @@ $(simple_generated_c:insn-%.c=s-%): s-%: build/gen%$(build_exeext) \
$(SHELL) $(srcdir)/../move-if-change tmp-$*.c insn-$*.c
$(STAMP) s-$*
+generated_files = config.h tm.h $(TM_P_H) $(TM_H) multilib.h \
+ $(simple_generated_h) $(simple_generated_c) specs.h \
+ tree-check.h genrtl.h insn-modes.h tm-preds.h tm-constrs.h \
+ $(ALL_GTFILES_H) gtype-desc.c gtype-desc.h gcov-iov.h
+
+# In order for parallel make to really start compiling the expensive
+# objects from $(OBJS-common) as early as possible, build all their
+# prerequisites strictly before all objects.
+$(ALL_HOST_OBJS) : | $(generated_files)
+
# genconstants needs to run before insn-conditions.md is available
# (because the constants may be used in the conditions).
insn-constants.h: s-constants; @true