diff options
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r-- | gcc/Makefile.in | 277 |
1 files changed, 155 insertions, 122 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 2d85df63f21..1450d853bc6 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -584,7 +584,7 @@ SUBDIR_FLAGS_TO_PASS = $(ORDINARY_FLAGS_TO_PASS) \ # Language-specific object files for C and Objective C. C_AND_OBJC_OBJS = c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o \ - c-aux-info.o c-common.o c-iterate.o @extra_c_objs@ + c-aux-info.o c-common.o c-iterate.o mbchar.o @extra_c_objs@ # Language-specific object files for C. C_OBJS = c-parse.o c-lang.o $(C_AND_OBJC_OBJS) @@ -598,8 +598,8 @@ BC_ALL = bc-arity.h bc-opcode.h bc-opname.h # Language-independent object files. OBJS = toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o \ function.o stmt.o except.o expr.o calls.o expmed.o explow.o optabs.o \ - intl.o varasm.o rtl.o print-rtl.o rtlanal.o emit-rtl.o real.o \ - dbxout.o sdbout.o dwarfout.o dwarf2out.o xcoffout.o bitmap.o \ + intl.o varasm.o genrtl.o rtl.o print-rtl.o rtlanal.o emit-rtl.o real.o \ + dbxout.o sdbout.o dwarfout.o dwarf2out.o xcoffout.o bitmap.o dyn-string.o \ integrate.o jump.o cse.o loop.o unroll.o flow.o stupid.o combine.o \ regclass.o regmove.o local-alloc.o global.o reload.o reload1.o caller-save.o \ insn-peep.o reorg.o sched.o final.o recog.o reg-stack.o \ @@ -610,7 +610,7 @@ OBJS = toplev.o version.o tree.o print-tree.o stor-layout.o fold-const.o \ # makes for cc1 or cc1plus. Otherwise sequent parallel make attempts to load # them before rtl.o is compiled. GEN= genemit genoutput genrecog genextract genflags gencodes genconfig \ - genpeep gencheck + genpeep gengenrtl gencheck CCCP=cccp # Uncomment this line if you want to use cppmain (w/cpplib) as cpp. @@ -620,12 +620,13 @@ CCCP=cccp STAGESTUFF = *$(objext) insn-flags.h insn-config.h insn-codes.h \ insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c \ insn-attr.h insn-attrtab.c insn-opinit.c tree-check.h \ - s-flags s-config s-codes s-mlib s-under\ + s-flags s-config s-codes s-mlib s-unders s-genrtl \ s-output s-recog s-emit s-extract s-peep s-check \ s-attr s-attrtab s-opinit s-proto s-crt s-crtS s-crt0 \ genemit$(exeext) genoutput$(exeext) genrecog$(exeext) genextract$(exeext) \ genflags$(exeext) gencodes$(exeext) genconfig$(exeext) genpeep$(exeext) \ - genattrtab$(exeext) genattr$(exeext) genopinit$(exeext) gencheck$(exeext) \ + genattrtab$(exeext) genattr$(exeext) genopinit$(exeext) gengenrtl$(exeext) \ + gencheck$(exeext) \ $(BC_ALL) \ s-bcarity s-bcopcode s-bcopname \ bi-arity$(exeext) bi-opcode$(exeext) bi-opname$(exeext) \ @@ -668,7 +669,8 @@ LIB2FUNCS = _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 \ # If it is, rm *.o is an easy way to do it. # CONFIG_H = $(host_xm_file) $(tm_file) CONFIG_H = -RTL_H = rtl.h rtl.def gansidecl.h machmode.h machmode.def +RTL_BASE_H = rtl.h rtl.def gansidecl.h machmode.h machmode.def +RTL_H = $(RTL_BASE_H) genrtl.h TREE_H = tree.h real.h tree.def gansidecl.h machmode.h machmode.def tree-check.h BYTECODE_H = bytecode.h bc-emit.h bc-optab.h BASIC_BLOCK_H = basic-block.h bitmap.h @@ -703,12 +705,12 @@ RECOG_H = recog.h gansidecl.h .SUFFIXES: .in .def $(srcdir)/version.c: $(VERSION_DEP) - (cd $(srcdir); cvs log -h $?) >tmp-ver + (cd $(srcdir); cvs log -h `basename $?`) >tmp-ver tag=`sed '1,/^sym/d;s/ *gcc-//;s/:.*$$//;q' tmp-ver`; \ ver=`echo $${tag} | sed 's/-.*//' | sed 's/_/./g'`; \ date=`echo $${tag} | sed 's/.*-//'`; \ if [ $${date} != RELEASE ]; then ver="testgcc-$${ver} $${date} experimental"; fi; \ - echo "char *version_string = \"$${ver}\";" >>tmp-version.c + echo "char *version_string = \"$${ver}\";" >tmp-version.c rm -f tmp-ver $(srcdir)/move-if-change tmp-version.c $(srcdir)/version.c @@ -743,7 +745,7 @@ cstamp-h: config.in config.status # Really, really stupid make features, such as SUN's KEEP_STATE, may force # a target to build even if it is up-to-date. So we must verify that # config.status does not exist before failing. -config.status: configure version.c +config.status: $(srcdir)/configure version.c @if [ ! -f config.status ] ; then \ echo You must configure gcc. Look at the INSTALL file for details.; \ false; \ @@ -1208,8 +1210,8 @@ s-crt0: $(CRT0_S) $(MCRT0_S) $(GCC_PASSES) $(CONFIG_H) # C language specific files. -c-parse.o : $(srcdir)/c-parse.c $(CONFIG_H) $(TREE_H) c-lex.h \ - $(srcdir)/c-parse.h c-tree.h input.h flags.h +c-parse.o : $(srcdir)/c-parse.c $(CONFIG_H) system.h $(TREE_H) c-lex.h \ + $(srcdir)/c-parse.h c-tree.h input.h flags.h $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -c $(srcdir)/c-parse.c $(srcdir)/c-parse.h: $(srcdir)/c-parse.c $(srcdir)/c-parse.c: $(srcdir)/c-parse.y @@ -1226,16 +1228,21 @@ $(srcdir)/c-gperf.h: c-parse.gperf $(srcdir)/c-parse.gperf >tmp-gperf.h $(srcdir)/move-if-change tmp-gperf.h $(srcdir)/c-gperf.h -c-decl.o : c-decl.c $(CONFIG_H) $(TREE_H) c-tree.h c-lex.h flags.h output.h -c-typeck.o : c-typeck.c $(CONFIG_H) $(TREE_H) c-tree.h flags.h intl.h output.h -c-lang.o : c-lang.c $(CONFIG_H) $(TREE_H) -c-lex.o : c-lex.c $(CONFIG_H) $(TREE_H) c-lex.h c-tree.h $(srcdir)/c-parse.h \ - input.h intl.h flags.h $(srcdir)/c-gperf.h c-pragma.h -c-aux-info.o : c-aux-info.c $(CONFIG_H) $(TREE_H) c-tree.h flags.h -c-convert.o : c-convert.c $(CONFIG_H) $(TREE_H) flags.h -c-pragma.o: c-pragma.c $(CONFIG_H) $(TREE_H) except.h function.h \ - defaults.h c-pragma.h -c-iterate.o: c-iterate.c $(CONFIG_H) $(TREE_H) $(RTL_H) c-tree.h flags.h +c-decl.o : c-decl.c $(CONFIG_H) system.h $(TREE_H) c-tree.h c-lex.h flags.h \ + output.h +c-typeck.o : c-typeck.c $(CONFIG_H) system.h $(TREE_H) c-tree.h flags.h \ + intl.h output.h +c-lang.o : c-lang.c $(CONFIG_H) system.h $(TREE_H) +c-lex.o : c-lex.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) c-lex.h c-tree.h \ + mbchar.h $(srcdir)/c-parse.h input.h intl.h flags.h $(srcdir)/c-gperf.h \ + c-pragma.h +c-aux-info.o : c-aux-info.c $(CONFIG_H) system.h $(TREE_H) c-tree.h flags.h +c-convert.o : c-convert.c $(CONFIG_H) system.h $(TREE_H) flags.h +c-pragma.o: c-pragma.c $(CONFIG_H) system.h $(TREE_H) except.h function.h \ + defaults.h c-pragma.h +c-iterate.o: c-iterate.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) c-tree.h \ + flags.h +mbchar.o: $(CONFIG_H) mbchar.c system.h gansidecl.h mbchar.h # To make a configuration always use collect2, set USE_COLLECT2 to ld. ld: collect2 @@ -1245,13 +1252,14 @@ ld: collect2 COLLECT2_OBJS = collect2.o choose-temp.o cplus-dem.o \ intl.o underscore.o version.o + collect2 : $(COLLECT2_OBJS) $(LIBDEPS) # Don't try modifying collect2 (aka ld) in place--it might be linking this. -rm -f collect2$(exeext) $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(COLLECT2_OBJS) $(LIBS) -collect2.o : collect2.c $(CONFIG_H) gansidecl.h gstab.h intl.h \ - obstack.h $(DEMANGLE_H) +collect2.o : collect2.c $(CONFIG_H) system.h gansidecl.h gstab.h intl.h \ + obstack.h $(DEMANGLE_H) $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ -DTARGET_MACHINE=\"$(target_alias)\" $(MAYBE_USE_COLLECT2) \ -c `echo $(srcdir)/collect2.c | sed 's,^\./,,'` @@ -1275,7 +1283,7 @@ s-under: $(GCC_PASSES) # A file used by all variants of C. -c-common.o : c-common.c $(CONFIG_H) $(TREE_H) c-tree.h c-lex.h flags.h +c-common.o : c-common.c $(CONFIG_H) system.h $(TREE_H) c-tree.h c-lex.h flags.h # Language-independent files. @@ -1285,8 +1293,8 @@ DRIVER_DEFINES = \ -DDEFAULT_TARGET_VERSION=\"$(version)\" \ -DDEFAULT_TARGET_MACHINE=\"$(target_alias)\" \ -DTOOLDIR_BASE_PREFIX=\"$(exec_prefix)/\" -gcc.o: gcc.c $(CONFIG_H) gansidecl.h intl.h multilib.h \ - Makefile $(lang_specs_files) +gcc.o: gcc.c $(CONFIG_H) system.h gansidecl.h intl.h multilib.h \ + Makefile $(lang_specs_files) $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ $(DRIVER_DEFINES) \ -c `echo $(srcdir)/gcc.c | sed 's,^\./,,'` @@ -1301,137 +1309,142 @@ gencheck : gencheck.o $(HOST_LIBDEPS) $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \ gencheck.o $(HOST_LIBS) -gencheck.o: gencheck.c tree.def $(CONFIG_H) +gencheck.o: gencheck.c tree.def $(CONFIG_H) system.h $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) \ $(srcdir)/gencheck.c dumpvers: dumpvers.c version.o: version.c -obstack.o: obstack.c $(CONFIG_H) +obstack.o: obstack.c $(CONFIG_H) choose-temp.o: choose-temp.c $(CONFIG_H) gansidecl.h pexecute.o: pexecute.c $(CONFIG_H) gansidecl.h -prefix.o: prefix.c $(CONFIG_H) gansidecl.h Makefile +prefix.o: prefix.c $(CONFIG_H) system.h gansidecl.h Makefile $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ -DPREFIX=\"$(prefix)\" \ -c `echo $(srcdir)/prefix.c | sed 's,^\./,,'` -convert.o: convert.c $(CONFIG_H) $(TREE_H) flags.h convert.h +convert.o: convert.c $(CONFIG_H) system.h $(TREE_H) flags.h convert.h -tree.o : tree.c $(CONFIG_H) $(TREE_H) flags.h function.h -print-tree.o : print-tree.c $(CONFIG_H) $(TREE_H) -stor-layout.o : stor-layout.c $(CONFIG_H) $(TREE_H) flags.h function.h -fold-const.o : fold-const.c $(CONFIG_H) $(TREE_H) flags.h -toplev.o : toplev.c $(CONFIG_H) $(TREE_H) $(RTL_H) bytecode.h bc-emit.h \ - flags.h input.h insn-attr.h insn-codes.h insn-config.h intl.h recog.h \ - xcoffout.h defaults.h output.h Makefile \ +tree.o : tree.c $(CONFIG_H) system.h $(TREE_H) flags.h function.h +print-tree.o : print-tree.c $(CONFIG_H) system.h $(TREE_H) +stor-layout.o : stor-layout.c $(CONFIG_H) system.h $(TREE_H) flags.h function.h +fold-const.o : fold-const.c $(CONFIG_H) system.h $(TREE_H) flags.h +toplev.o : toplev.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) bytecode.h \ + bc-emit.h flags.h input.h insn-attr.h insn-codes.h insn-config.h intl.h \ + recog.h xcoffout.h defaults.h output.h Makefile \ $(lang_options_files) $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(MAYBE_USE_COLLECT2) \ -DTARGET_NAME=\"$(target_alias)\" \ -c `echo $(srcdir)/toplev.c | sed 's,^\./,,'` -rtl.o : rtl.c $(CONFIG_H) $(RTL_H) +rtl.o : rtl.c $(CONFIG_H) system.h $(RTL_H) -print-rtl.o : print-rtl.c $(CONFIG_H) $(RTL_H) +print-rtl.o : print-rtl.c $(CONFIG_H) system.h $(RTL_H) rtlanal.o : rtlanal.c $(CONFIG_H) $(RTL_H) -varasm.o : varasm.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h function.h \ - defaults.h insn-codes.h expr.h hard-reg-set.h regs.h xcoffout.h \ +varasm.o : varasm.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) flags.h \ + function.h defaults.h insn-codes.h expr.h hard-reg-set.h regs.h xcoffout.h \ output.h bytecode.h c-pragma.h -function.o : function.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h \ - insn-flags.h insn-codes.h expr.h regs.h hard-reg-set.h insn-config.h \ - $(RECOG_H) output.h bytecode.h bc-emit.h -stmt.o : stmt.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h \ +function.o : function.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \ + function.h insn-flags.h insn-codes.h expr.h regs.h hard-reg-set.h \ + insn-config.h $(RECOG_H) output.h bytecode.h bc-emit.h +stmt.o : stmt.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h function.h \ insn-flags.h insn-config.h insn-codes.h hard-reg-set.h expr.h except.h \ loop.h $(RECOG_H) bytecode.h bc-typecd.h bc-typecd.def bc-opcode.h \ bc-optab.h bc-emit.h -except.o : except.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h \ - insn-flags.h insn-codes.h expr.h regs.h hard-reg-set.h insn-config.h \ - $(RECOG_H) output.h except.h -expr.o : expr.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h function.h regs.h \ - insn-flags.h insn-codes.h expr.h insn-config.h $(RECOG_H) output.h \ +except.o : except.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \ + function.h insn-flags.h insn-codes.h expr.h regs.h hard-reg-set.h \ + insn-config.h $(RECOG_H) output.h except.h +expr.o : expr.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h function.h \ + regs.h insn-flags.h insn-codes.h expr.h insn-config.h $(RECOG_H) output.h \ typeclass.h bytecode.h bc-opcode.h bc-typecd.h bc-typecd.def bc-optab.h \ bc-emit.h modemap.def hard-reg-set.h calls.o : calls.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h expr.h insn-codes.h \ insn-flags.h regs.h -expmed.o : expmed.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h \ +expmed.o : expmed.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \ insn-flags.h insn-config.h insn-codes.h expr.h $(RECOG_H) real.h -explow.o : explow.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h hard-reg-set.h \ - insn-config.h expr.h $(RECOG_H) insn-flags.h insn-codes.h -optabs.o : optabs.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h \ +explow.o : explow.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \ + hard-reg-set.h insn-config.h expr.h $(RECOG_H) insn-flags.h insn-codes.h +optabs.o : optabs.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \ insn-flags.h insn-config.h insn-codes.h expr.h $(RECOG_H) reload.h -dbxout.o : dbxout.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h regs.h \ +dbxout.o : dbxout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) flags.h regs.h \ insn-config.h reload.h gstab.h xcoffout.h defaults.h output.h -sdbout.o : sdbout.c $(CONFIG_H) $(TREE_H) $(RTL_H) flags.h except.h \ +sdbout.o : sdbout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) flags.h except.h \ function.h expr.h output.h hard-reg-set.h regs.h defaults.h real.h \ insn-config.h bytecode.h obstack.h xcoffout.h c-pragma.h -dwarfout.o : dwarfout.c $(CONFIG_H) $(TREE_H) $(RTL_H) dwarf.h flags.h \ - insn-config.h reload.h output.h defaults.h -dwarf2out.o : dwarf2out.c $(CONFIG_H) $(TREE_H) $(RTL_H) dwarf2.h flags.h \ - insn-config.h reload.h output.h defaults.h hard-reg-set.h regs.h expr.h -xcoffout.o : xcoffout.c $(CONFIG_H) $(TREE_H) $(RTL_H) xcoffout.h flags.h -emit-rtl.o : emit-rtl.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h except.h \ - function.h regs.h insn-config.h $(RECOG_H) real.h expr.h obstack.h \ - bytecode.h bc-opcode.h bc-typecd.h bc-typecd.def bc-optab.h bc-emit.h \ - bc-opname.h hard-reg-set.h -real.o : real.c $(CONFIG_H) $(TREE_H) +dwarfout.o : dwarfout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) dwarf.h \ + flags.h insn-config.h reload.h output.h defaults.h +dwarf2out.o : dwarf2out.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) dwarf2.h \ + flags.h insn-config.h reload.h output.h defaults.h hard-reg-set.h regs.h \ + expr.h dyn-string.h +xcoffout.o : xcoffout.c $(CONFIG_H) system.h $(TREE_H) $(RTL_H) xcoffout.h \ + flags.h +emit-rtl.o : emit-rtl.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \ + except.h function.h regs.h insn-config.h $(RECOG_H) real.h expr.h \ + obstack.h bytecode.h bc-opcode.h bc-typecd.h bc-typecd.def bc-optab.h \ + bc-emit.h bc-opname.h hard-reg-set.h +real.o : real.c $(CONFIG_H) system.h $(TREE_H) getpwd.o : getpwd.c $(CONFIG_H) -integrate.o : integrate.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h integrate.h \ - insn-flags.h insn-config.h insn-codes.h expr.h real.h regs.h function.h \ - intl.h bytecode.h output.h $(RECOG_H) except.h +integrate.o : integrate.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h \ + integrate.h insn-flags.h insn-config.h insn-codes.h expr.h real.h regs.h \ + function.h intl.h bytecode.h output.h $(RECOG_H) except.h -jump.o : jump.c $(CONFIG_H) $(RTL_H) flags.h hard-reg-set.h regs.h \ +jump.o : jump.c $(CONFIG_H) system.h $(RTL_H) flags.h hard-reg-set.h regs.h \ insn-config.h insn-flags.h $(RECOG_H) expr.h real.h except.h -stupid.o : stupid.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h flags.h +stupid.o : stupid.c $(CONFIG_H) system.h $(RTL_H) regs.h hard-reg-set.h flags.h -cse.o : cse.c $(CONFIG_H) $(RTL_H) regs.h hard-reg-set.h flags.h real.h \ - insn-config.h $(RECOG_H) expr.h -profile.o : profile.c $(CONFIG_H) $(RTL_H) flags.h insn-flags.h gcov-io.h \ - $(TREE_H) output.h regs.h -loop.o : loop.c $(CONFIG_H) $(RTL_H) flags.h loop.h insn-config.h \ +cse.o : cse.c $(CONFIG_H) system.h $(RTL_H) regs.h hard-reg-set.h flags.h \ + real.h insn-config.h $(RECOG_H) expr.h +profile.o : profile.c $(CONFIG_H) system.h $(RTL_H) flags.h insn-flags.h \ + gcov-io.h $(TREE_H) output.h regs.h +loop.o : loop.c $(CONFIG_H) system.h $(RTL_H) flags.h loop.h insn-config.h \ insn-flags.h insn-codes.h regs.h hard-reg-set.h $(RECOG_H) expr.h real.h -unroll.o : unroll.c $(CONFIG_H) $(RTL_H) insn-config.h integrate.h regs.h \ - $(RECOG_H) flags.h expr.h loop.h -flow.o : flow.c $(CONFIG_H) $(RTL_H) flags.h insn-config.h \ +unroll.o : unroll.c $(CONFIG_H) system.h $(RTL_H) insn-config.h integrate.h \ + regs.h $(RECOG_H) flags.h expr.h loop.h +flow.o : flow.c $(CONFIG_H) system.h $(RTL_H) flags.h insn-config.h \ $(BASIC_BLOCK_H) regs.h hard-reg-set.h output.h -combine.o : combine.c $(CONFIG_H) $(RTL_H) flags.h \ +combine.o : combine.c $(CONFIG_H) system.h $(RTL_H) flags.h \ insn-config.h insn-flags.h insn-codes.h insn-attr.h regs.h expr.h \ $(BASIC_BLOCK_H) $(RECOG_H) real.h hard-reg-set.h -regclass.o : regclass.c $(CONFIG_H) $(RTL_H) hard-reg-set.h flags.h \ +regclass.o : regclass.c $(CONFIG_H) system.h $(RTL_H) hard-reg-set.h flags.h \ $(BASIC_BLOCK_H) regs.h insn-config.h $(RECOG_H) reload.h real.h bytecode.h -local-alloc.o : local-alloc.c $(CONFIG_H) $(RTL_H) flags.h $(BASIC_BLOCK_H) \ - regs.h hard-reg-set.h insn-config.h $(RECOG_H) output.h -bitmap.o : bitmap.c $(CONFIG_H) $(RTL_H) flags.h $(BASIC_BLOCK_H) regs.h -global.o : global.c $(CONFIG_H) $(RTL_H) flags.h \ +local-alloc.o : local-alloc.c $(CONFIG_H) system.h $(RTL_H) flags.h \ + $(BASIC_BLOCK_H) regs.h hard-reg-set.h insn-config.h $(RECOG_H) output.h +dyn-string.o : dyn-string.c dyn-string.h $(CONFIG_H) system.h +bitmap.o : bitmap.c $(CONFIG_H) system.h $(RTL_H) flags.h $(BASIC_BLOCK_H) \ + regs.h +global.o : global.c $(CONFIG_H) system.h $(RTL_H) flags.h \ $(BASIC_BLOCK_H) regs.h hard-reg-set.h insn-config.h output.h -reload.o : reload.c $(CONFIG_H) $(RTL_H) flags.h output.h expr.h\ +reload.o : reload.c $(CONFIG_H) system.h $(RTL_H) flags.h output.h expr.h\ reload.h $(RECOG_H) hard-reg-set.h insn-config.h insn-codes.h regs.h real.h -reload1.o : reload1.c $(CONFIG_H) $(RTL_H) real.h flags.h expr.h \ +reload1.o : reload1.c $(CONFIG_H) system.h $(RTL_H) real.h flags.h expr.h \ reload.h regs.h hard-reg-set.h insn-config.h insn-flags.h insn-codes.h \ $(BASIC_BLOCK_H) $(RECOG_H) output.h -caller-save.o : caller-save.c $(CONFIG_H) $(RTL_H) flags.h \ - regs.h hard-reg-set.h insn-codes.h insn-config.h $(BASIC_BLOCK_H) $(RECOG_H) \ - reload.h expr.h -reorg.o : reorg.c $(CONFIG_H) $(RTL_H) conditions.h hard-reg-set.h \ +caller-save.o : caller-save.c $(CONFIG_H) system.h $(RTL_H) flags.h \ + regs.h hard-reg-set.h insn-codes.h insn-config.h $(BASIC_BLOCK_H) \ + $(RECOG_H) reload.h expr.h +reorg.o : reorg.c $(CONFIG_H) system.h $(RTL_H) conditions.h hard-reg-set.h \ $(BASIC_BLOCK_H) regs.h insn-config.h insn-attr.h insn-flags.h $(RECOG_H) \ flags.h output.h -regmove.o : regmove.c $(CONFIG_H) $(RTL_H) insn-config.h \ +regmove.o : regmove.c $(CONFIG_H) system.h $(RTL_H) insn-config.h \ insn-codes.h recog.h output.h reload.h regs.h hard-reg-set.h flags.h \ expr.h insn-flags.h -sched.o : $(SCHED_PREFIX)sched.c $(CONFIG_H) $(RTL_H) $(BASIC_BLOCK_H) regs.h hard-reg-set.h \ - flags.h insn-config.h insn-attr.h -final.o : final.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h intl.h regs.h \ - $(RECOG_H) conditions.h insn-config.h insn-attr.h except.h real.h output.h \ - hard-reg-set.h insn-flags.h insn-codes.h gstab.h xcoffout.h defaults.h -recog.o : recog.c $(CONFIG_H) $(RTL_H) \ +sched.o : $(SCHED_PREFIX)sched.c $(CONFIG_H) system.h $(RTL_H) \ + $(BASIC_BLOCK_H) regs.h hard-reg-set.h flags.h insn-config.h insn-attr.h +final.o : final.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) flags.h intl.h \ + regs.h $(RECOG_H) conditions.h insn-config.h insn-attr.h except.h real.h \ + output.h hard-reg-set.h insn-flags.h insn-codes.h gstab.h xcoffout.h \ + defaults.h +recog.o : recog.c $(CONFIG_H) system.h $(RTL_H) \ regs.h $(RECOG_H) hard-reg-set.h flags.h insn-config.h insn-attr.h \ insn-flags.h insn-codes.h real.h -reg-stack.o : reg-stack.c $(CONFIG_H) $(RTL_H) $(TREE_H) \ +reg-stack.o : reg-stack.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) \ regs.h hard-reg-set.h flags.h insn-config.h insn-flags.h -$(out_object_file): $(out_file) $(CONFIG_H) $(TREE_H) \ +$(out_object_file): $(out_file) $(CONFIG_H) system.h $(TREE_H) \ $(RTL_H) regs.h hard-reg-set.h real.h insn-config.h conditions.h \ insn-flags.h output.h insn-attr.h insn-codes.h $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(out_file) @@ -1440,15 +1453,15 @@ $(out_object_file): $(out_file) $(CONFIG_H) $(TREE_H) \ mips-tfile: mips-tfile.o version.o $(LIBDEPS) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ mips-tfile.o version.o $(LIBS) -mips-tfile.o : mips-tfile.c $(CONFIG_H) $(RTL_H) +mips-tfile.o : mips-tfile.c $(CONFIG_H) system.h $(RTL_H) mips-tdump: mips-tdump.o version.o $(LIBDEPS) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ mips-tdump.o version.o $(LIBS) -mips-tdump.o : mips-tdump.c $(CONFIG_H) $(RTL_H) +mips-tdump.o : mips-tdump.c $(CONFIG_H) system.h $(RTL_H) # Build file to support OSF/rose half-pic format. -halfpic.o: halfpic.c $(CONFIG_H) $(RTL_H) $(TREE_H) +halfpic.o: halfpic.c $(CONFIG_H) system.h $(RTL_H) $(TREE_H) # Normally this target is not used; but it is used if you # define ALLOCA=alloca.o. In that case, you must get a suitable alloca.c @@ -1502,8 +1515,8 @@ s-codes : $(md_file) gencodes $(srcdir)/move-if-change $(srcdir)/move-if-change tmp-codes.h insn-codes.h touch s-codes -insn-emit.o : insn-emit.c $(CONFIG_H) $(RTL_H) expr.h real.h output.h \ - insn-config.h insn-flags.h insn-codes.h +insn-emit.o : insn-emit.c $(CONFIG_H) system.h $(RTL_H) expr.h real.h \ + output.h insn-config.h insn-flags.h insn-codes.h $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -c insn-emit.c insn-emit.c: s-emit ; @true @@ -1512,8 +1525,8 @@ s-emit : $(md_file) genemit $(srcdir)/move-if-change $(srcdir)/move-if-change tmp-emit.c insn-emit.c touch s-emit -insn-recog.o : insn-recog.c $(CONFIG_H) $(RTL_H) insn-config.h $(RECOG_H) \ - real.h output.h flags.h +insn-recog.o : insn-recog.c $(CONFIG_H) system.h $(RTL_H) insn-config.h \ + $(RECOG_H) real.h output.h flags.h $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -c insn-recog.c insn-recog.c: s-recog ; @true @@ -1522,8 +1535,8 @@ s-recog : $(md_file) genrecog $(srcdir)/move-if-change $(srcdir)/move-if-change tmp-recog.c insn-recog.c touch s-recog -insn-opinit.o : insn-opinit.c $(CONFIG_H) $(RTL_H) insn-codes.h insn-flags.h \ - insn-config.h flags.h $(RECOG_H) expr.h reload.h +insn-opinit.o : insn-opinit.c $(CONFIG_H) system.h $(RTL_H) insn-codes.h \ + insn-flags.h insn-config.h flags.h $(RECOG_H) expr.h reload.h $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -c insn-opinit.c insn-opinit.c: s-opinit ; @true @@ -1541,7 +1554,7 @@ s-extract : $(md_file) genextract $(srcdir)/move-if-change $(srcdir)/move-if-change tmp-extract.c insn-extract.c touch s-extract -insn-peep.o : insn-peep.c $(CONFIG_H) $(RTL_H) regs.h output.h real.h +insn-peep.o : insn-peep.c $(CONFIG_H) system.h $(RTL_H) regs.h output.h real.h $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -c insn-peep.c insn-peep.c: s-peep ; @true @@ -1550,8 +1563,8 @@ s-peep : $(md_file) genpeep $(srcdir)/move-if-change $(srcdir)/move-if-change tmp-peep.c insn-peep.c touch s-peep -insn-attrtab.o : insn-attrtab.c $(CONFIG_H) $(RTL_H) regs.h real.h output.h \ - insn-attr.h insn-config.h +insn-attrtab.o : insn-attrtab.c $(CONFIG_H) system.h $(RTL_H) regs.h real.h \ + output.h insn-attr.h insn-config.h $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -c insn-attrtab.c insn-attr.h: s-attr ; @true @@ -1572,9 +1585,9 @@ s-attrtab : $(md_file) genattrtab $(srcdir)/move-if-change $(srcdir)/move-if-change tmp-attrtab.c insn-attrtab.c touch s-attrtab -insn-output.o : insn-output.c $(CONFIG_H) $(RTL_H) regs.h real.h conditions.h \ - hard-reg-set.h insn-config.h insn-flags.h insn-attr.h output.h $(RECOG_H) \ - insn-codes.h +insn-output.o : insn-output.c $(CONFIG_H) system.h $(RTL_H) regs.h real.h \ + conditions.h hard-reg-set.h insn-config.h insn-flags.h insn-attr.h \ + output.h $(RECOG_H) insn-codes.h $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -c insn-output.c insn-output.c: s-output ; @true @@ -1582,6 +1595,17 @@ s-output : $(md_file) genoutput $(srcdir)/move-if-change ./genoutput $(md_file) > tmp-output.c $(srcdir)/move-if-change tmp-output.c insn-output.c touch s-output + +genrtl.o : genrtl.c $(CONFIG_H) $(RTL_H) system.h +genrtl.c genrtl.h : s-genrtl + @true # force gnu make to recheck modification times. + +s-genrtl: gengenrtl $(srcdir)/move-if-change $(RTL_BASE_H) + ./gengenrtl -h >tmp-genrtl.h + $(srcdir)/move-if-change tmp-genrtl.h genrtl.h + ./gengenrtl >tmp-genrtl.c + $(srcdir)/move-if-change tmp-genrtl.c genrtl.c + touch s-genrtl # # Compile the programs that generate insn-* from the machine description. # They are compiled with $(HOST_CC), and associated libraries, @@ -1675,6 +1699,13 @@ genoutput : genoutput.o $(HOST_RTL) $(HOST_LIBDEPS) genoutput.o : genoutput.c $(RTL_H) $(build_xm_file) $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/genoutput.c + +gengenrtl : gengenrtl.o $(HOST_LIBDEPS) + $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ \ + gengenrtl.o $(HOST_LIBS) + +gengenrtl.o : gengenrtl.c $(RTL_BASE_H) system.h + $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/gengenrtl.c # # Compile the libraries to be used by gen*. # If we are not cross-building, gen* use the same .o's that cc1 will use, @@ -1833,15 +1864,16 @@ cpp: $(CCCP) -rm -f cpp$(exeext) ln $(CCCP)$(exeext) cpp$(exeext) > /dev/null 2>&1 \ || cp $(CCCP)$(exeext) cpp$(exeext) -CCCP_OBJS = cccp.o cexp.o intl.o prefix.o version.o +CCCP_OBJS = cccp.o cexp.o intl.o prefix.o version.o mbchar.o cccp: $(CCCP_OBJS) $(LIBDEPS) $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(CCCP_OBJS) $(LIBS) -cexp.o: $(srcdir)/cexp.c $(CONFIG_H) +cexp.o: $(srcdir)/cexp.c $(CONFIG_H) system.h mbchar.h gansidecl.h $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -c $(srcdir)/cexp.c $(srcdir)/cexp.c: $(srcdir)/cexp.y cd $(srcdir); $(BISON) -o cexp.c cexp.y -cccp.o: cccp.c $(CONFIG_H) intl.h pcp.h version.c config.status +cccp.o: cccp.c $(CONFIG_H) system.h mbchar.h intl.h pcp.h version.c \ + config.status $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \ -DGPLUSPLUS_INCLUDE_DIR=\"$(gxx_include_dir)\" \ @@ -1852,7 +1884,7 @@ cccp.o: cccp.c $(CONFIG_H) intl.h pcp.h version.c config.status -c `echo $(srcdir)/cccp.c | sed 's,^\./,,'` CPPMAIN_OBJS = cppmain.o cppalloc.o cpperror.o cppexp.o cpphash.o cpplib.o \ - intl.o prefix.o version.o + intl.o prefix.o version.o mbchar.o cppmain: $(CPPMAIN_OBJS) $(LIBDEPS) $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(CPPMAIN_OBJS) $(LIBS) @@ -2001,6 +2033,7 @@ stmp-headers: stmp-int-hdrs gfloat.h stmp-fixinc: $(FIXINCLUDES) gsyslimits.h rm -rf include mkdir include + -chmod a+rx include if [ x$(FIXINCLUDES) != xMakefile.in ]; \ then \ for dir in $(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS); do \ @@ -2077,7 +2110,7 @@ fixhdr.ready: fix-header # if it has already been run on the files in `include'. stmp-fixproto: fixhdr.ready fixproto stmp-headers @echo "Various warnings and error messages from fixproto are normal" - -if [ -d include ] ; then true; else mkdir include; fi + -if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi -if [ -f include/fixed ] ; then true; \ else \ : This line works around a 'make' bug in BSDI 1.1.; \ @@ -2402,7 +2435,7 @@ install-libgcc: libgcc.a installdirs install-multilib: stmp-multilib installdirs for i in `$(GCC_FOR_TARGET) --print-multi-lib`; do \ dir=`echo $$i | sed -e 's/;.*$$//'`; \ - if [ -d $(libsubdir)/$${dir} ]; then true; else mkdir $(libsubdir)/$${dir}; fi; \ + if [ -d $(libsubdir)/$${dir} ]; then true; else mkdir $(libsubdir)/$${dir}; chmod a+rx $(libsubdir)/$${dir}; fi; \ for f in libgcc.a $(EXTRA_MULTILIB_PARTS); do \ rm -f $(libsubdir)/$${dir}/$${f}; \ $(INSTALL_DATA) $${dir}/$${f} $(libsubdir)/$${dir}/$${f}; \ |