From 2c43a51c576ee438b4d969fd386c612eac87886d Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sun, 29 Sep 2013 19:14:37 +0000 Subject: [PATCH] t-darwin (darwin.o, [...]): Use COMPILE and POSTCOMPILE. gcc: * config/t-darwin (darwin.o, darwin-c.o, darwin-f.o, darwin-driver.o): Use COMPILE and POSTCOMPILE. * config/x-darwin (host-darwin.o): Likewise. * config/i386/x-darwin (host-i386-darwin.o): Likewise. * config/rs6000/x-darwin (host-ppc-darwin.o): Likewise. * config/rs6000/x-darwin64 (host-ppc64-darwin.o): Likewise. From-SVN: r203016 --- gcc/ChangeLog | 9 +++++++++ gcc/config/i386/x-darwin | 7 +++---- gcc/config/rs6000/x-darwin | 8 +++----- gcc/config/rs6000/x-darwin64 | 8 +++----- gcc/config/t-darwin | 32 +++++++++++++------------------- gcc/config/x-darwin | 6 +++--- 6 files changed, 34 insertions(+), 36 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bb40908b13c..57edfbbd924 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2013-09-29 Iain Sandoe + + * config/t-darwin (darwin.o, darwin-c.o, darwin-f.o, + darwin-driver.o): Use COMPILE and POSTCOMPILE. + * config/x-darwin (host-darwin.o): Likewise. + * config/i386/x-darwin (host-i386-darwin.o): Likewise. + * config/rs6000/x-darwin (host-ppc-darwin.o): Likewise. + * config/rs6000/x-darwin64 (host-ppc64-darwin.o): Likewise. + 2013-09-29 Uros Bizjak * doc/invoke.texi: Fix usage of @tie{} command. diff --git a/gcc/config/i386/x-darwin b/gcc/config/i386/x-darwin index f0196bac41d..4967d695ce9 100644 --- a/gcc/config/i386/x-darwin +++ b/gcc/config/i386/x-darwin @@ -1,4 +1,3 @@ -host-i386-darwin.o : $(srcdir)/config/i386/host-i386-darwin.c \ - $(CONFIG_H) $(SYSTEM_H) coretypes.h hosthooks.h $(HOSTHOOKS_DEF_H) \ - config/host-darwin.h - $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< +host-i386-darwin.o : $(srcdir)/config/i386/host-i386-darwin.c + $(COMPILE) $< + $(POSTCOMPILE) diff --git a/gcc/config/rs6000/x-darwin b/gcc/config/rs6000/x-darwin index 5672c698b1e..9d92ef547c8 100644 --- a/gcc/config/rs6000/x-darwin +++ b/gcc/config/rs6000/x-darwin @@ -1,5 +1,3 @@ -host-ppc-darwin.o : $(srcdir)/config/rs6000/host-darwin.c \ - $(CONFIG_H) $(SYSTEM_H) coretypes.h hosthooks.h $(HOSTHOOKS_DEF_H) toplev.h \ - config/host-darwin.h $(DIAGNOSTIC_H) - $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \ - $(INCLUDES) $< -o $@ +host-ppc-darwin.o : $(srcdir)/config/rs6000/host-darwin.c + $(COMPILE) $< + $(POSTCOMPILE) diff --git a/gcc/config/rs6000/x-darwin64 b/gcc/config/rs6000/x-darwin64 index 921d555ba01..093277147bc 100644 --- a/gcc/config/rs6000/x-darwin64 +++ b/gcc/config/rs6000/x-darwin64 @@ -1,5 +1,3 @@ -host-ppc64-darwin.o : $(srcdir)/config/rs6000/host-ppc64-darwin.c \ - $(CONFIG_H) $(SYSTEM_H) coretypes.h hosthooks.h $(HOSTHOOKS_DEF_H) toplev.h \ - config/host-darwin.h $(DIAGNOSTIC_H) - $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \ - $(INCLUDES) $< -o $@ +host-ppc64-darwin.o : $(srcdir)/config/rs6000/host-ppc64-darwin.c + $(COMPILE) $< + $(POSTCOMPILE) diff --git a/gcc/config/t-darwin b/gcc/config/t-darwin index fdd52c2f29d..87d5df7a935 100644 --- a/gcc/config/t-darwin +++ b/gcc/config/t-darwin @@ -18,25 +18,19 @@ TM_H += $(srcdir)/config/darwin-sections.def -darwin.o: $(srcdir)/config/darwin.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ - $(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(REAL_H) insn-config.h \ - conditions.h insn-flags.h output.h insn-attr.h flags.h $(TREE_H) expr.h \ - reload.h function.h $(GGC_H) langhooks.h $(TARGET_H) $(TM_P_H) gt-darwin.h \ - config/darwin-sections.def - $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ - $(srcdir)/config/darwin.c +darwin.o: $(srcdir)/config/darwin.c config/darwin-sections.def + $(COMPILE) $< + $(POSTCOMPILE) -darwin-c.o: $(srcdir)/config/darwin-c.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ - $(TM_H) $(CPPLIB_H) $(TREE_H) $(C_PRAGMA_H) $(TM_P_H) \ - incpath.h flags.h $(C_COMMON_H) $(C_TARGET_H) $(C_TARGET_DEF_H) $(CPP_INTERNAL_H) - $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ - $(srcdir)/config/darwin-c.c $(PREPROCESSOR_DEFINES) +darwin-c.o: $(srcdir)/config/darwin-c.c + $(COMPILE) $(PREPROCESSOR_DEFINES) $< + $(POSTCOMPILE) -darwin-f.o: $(srcdir)/config/darwin-f.c $(CONFIG_H) $(SYSTEM_H) coretypes.h - $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ - $(srcdir)/config/darwin-f.c $(PREPROCESSOR_DEFINES) -darwin-driver.o: $(srcdir)/config/darwin-driver.c \ - $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(GCC_H) opts.h - $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ - $(srcdir)/config/darwin-driver.c +darwin-f.o: $(srcdir)/config/darwin-f.c + $(COMPILE) $< + $(POSTCOMPILE) + +darwin-driver.o: $(srcdir)/config/darwin-driver.c + $(COMPILE) $< + $(POSTCOMPILE) diff --git a/gcc/config/x-darwin b/gcc/config/x-darwin index f671d911f0d..e95ed1bb454 100644 --- a/gcc/config/x-darwin +++ b/gcc/config/x-darwin @@ -1,3 +1,3 @@ -host-darwin.o : $(srcdir)/config/host-darwin.c $(CONFIG_H) $(SYSTEM_H) \ - coretypes.h toplev.h config/host-darwin.h - $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< +#host-darwin.o : $(srcdir)/config/host-darwin.c +# $(COMPILE) $< +# $(POSTCOMPILE)