Update t-sparc, t-sol2 etc. for automatic dependencies
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Wed, 2 Oct 2013 11:29:32 +0000 (11:29 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Wed, 2 Oct 2013 11:29:32 +0000 (11:29 +0000)
* config/t-sol2 (sol2-c.o): Remove header dependencies.
Use $(COMPILE) and $(POSTCOMPILE).
(sol2-cxx.o): Likewise.
(sol2-stubs.o): Likewise.
(sol2.o): Likewise.
* config/x-solaris (host-solaris.o): Likewise.

* config/sparc/t-sparc (sparc.o): Remove.
(sparc-c.o): Remove header dependencies.
Use $(COMPILE) and $(POSTCOMPILE).
* config/sparc/x-sparc: Likewise.

From-SVN: r203111

gcc/ChangeLog
gcc/config/sparc/t-sparc
gcc/config/sparc/x-sparc
gcc/config/t-sol2
gcc/config/x-solaris

index 37560fb..40fd0bd 100644 (file)
@@ -1,3 +1,17 @@
+2013-10-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config/t-sol2 (sol2-c.o): Remove header dependencies.
+       Use $(COMPILE) and $(POSTCOMPILE).
+       (sol2-cxx.o): Likewise.
+       (sol2-stubs.o): Likewise.
+       (sol2.o): Likewise.
+       * config/x-solaris (host-solaris.o): Likewise.
+
+       * config/sparc/t-sparc (sparc.o): Remove.
+       (sparc-c.o): Remove header dependencies.
+       Use $(COMPILE) and $(POSTCOMPILE).
+       * config/sparc/x-sparc: Likewise.
+
 2013-10-02  Joern Rennecke  <joern.rennecke@embecosm.com>
 
        * config/arc/arc-opts.h: Add 2013 to Copyright years.
index 62ad3f7..0f76508 100644 (file)
 # along with GCC; see the file COPYING3.  If not see
 # <http://www.gnu.org/licenses/>.
 
-sparc.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
-  $(TREE_H) $(RTL_H) $(REGS_H) hard-reg-set.h insn-config.h  \
-  insn-codes.h conditions.h output.h $(INSN_ATTR_H) $(FLAGS_H) \
-  $(FUNCTION_H) $(EXCEPT_H) $(EXPR_H) $(OPTABS_H) $(RECOG_H) \
-  $(DIAGNOSTIC_CORE_H) $(GGC_H) $(TM_P_H) debug.h $(TARGET_H) \
-  $(TARGET_DEF_H) $(COMMON_TARGET_H) $(GIMPLE_H) $(TREE_PASS_H) \
-  langhooks.h reload.h $(PARAMS_H) $(DF_H) $(OPTS_H) $(CONTEXT_H) \
-  gt-sparc.h
-
-sparc-c.o: $(srcdir)/config/sparc/sparc-c.c \
-    $(srcdir)/config/sparc/sparc-protos.h \
-    $(CONFIG_H) $(SYSTEM_H) $(CPPLIB_H) $(FLAGS_H) \
-    $(TM_P_H) coretypes.h $(TM_H) $(TREE_H) \
-    $(C_COMMON_H) $(C_PRAGMA_H)
-       $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-               $(srcdir)/config/sparc/sparc-c.c
+sparc-c.o: $(srcdir)/config/sparc/sparc-c.c
+       $(COMPILE) $<
+       $(POSTCOMPILE)
index 693ba61..5fc65be 100644 (file)
@@ -1,3 +1,4 @@
-driver-sparc.o: $(srcdir)/config/sparc/driver-sparc.c \
-  $(CONFIG_H) $(SYSTEM_H)
-       $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
+driver-sparc.o: $(srcdir)/config/sparc/driver-sparc.c
+       $(COMPILE) $<
+       $(POSTCOMPILE)
+
index 142de89..2d0bd72 100644 (file)
 # <http://www.gnu.org/licenses/>.
 
 # Solaris-specific format checking and pragmas
-sol2-c.o: $(srcdir)/config/sol2-c.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
-  tree.h c-family/c-format.h $(C_PRAGMA_H) $(C_COMMON_H) $(CPPLIB_H) \
-  intl.h $(TM_H) $(TM_P_H)
-       $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
+sol2-c.o: $(srcdir)/config/sol2-c.c
+       $(COMPILE) $<
+       $(POSTCOMPILE)
 
 # Solaris-specific C++ mangling.
-sol2-cxx.o: $(srcdir)/config/sol2-cxx.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
-  tree.h cp/cp-tree.h $(TM_H) $(TM_P_H)
-       $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
+sol2-cxx.o: $(srcdir)/config/sol2-cxx.c
+       $(COMPILE) $<
+       $(POSTCOMPILE)
 
 # Corresponding stub routines.
-sol2-stubs.o: $(srcdir)/config/sol2-stubs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
-  tree.h $(TM_H) $(TM_P_H)
-       $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
+sol2-stubs.o: $(srcdir)/config/sol2-stubs.c
+       $(COMPILE) $<
+       $(POSTCOMPILE)
 
 # Solaris-specific attributes
-sol2.o: $(srcdir)/config/sol2.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
-  tree.h output.h $(TM_H) $(TARGET_H) $(TM_P_H) $(GGC_H) $(HASH_TABLE_H)
-       $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
+sol2.o: $(srcdir)/config/sol2.c
+       $(COMPILE) $<
+       $(POSTCOMPILE)
index 3e99df6..d50b4f5 100644 (file)
@@ -1,4 +1,3 @@
-host-solaris.o : $(srcdir)/config/host-solaris.c $(CONFIG_H) $(SYSTEM_H) \
-  coretypes.h hosthooks.h hosthooks-def.h $(HOOKS_H)
-       $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-               $(srcdir)/config/host-solaris.c
+host-solaris.o: $(srcdir)/config/host-solaris.c
+       $(COMPILE) $<
+       $(POSTCOMPILE)