summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/t-rs6000
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-18 22:45:36 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-18 22:45:36 +0000
commit1638c263fbc8a0f398ef5fb209a0c425b12a7311 (patch)
treec6d693fece2b4aa7c01f88d65ef8f05640ec8838 /gcc/config/rs6000/t-rs6000
parentedf5b57ac6124c07a2a78f891c62a3743d91d93e (diff)
downloadgcc-1638c263fbc8a0f398ef5fb209a0c425b12a7311.tar.gz
* config/rs6000/t-rs6000: Move contents to t-fprules,
add rules for dependencies of rs6000.o and to build rs6000-c.o * config/rs6000/t-fprules: New file from t-rs6000. * config/rs6000/t-beos: Remove soft-fp rules. * config/rs6000/t-ppccomm: Likewise. * config/rs6000/t-newas: Likewise. * config/rs6000/t-rs6000-c-rule: Delete. * config.gcc: Use t-fprules for rs6000/ ports when appropriate. Use t-rs6000 for all rs6000/ ports instead of t-rs6000-c-rule. Create generic Darwin rules. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60265 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/t-rs6000')
-rw-r--r--gcc/config/rs6000/t-rs600033
1 files changed, 14 insertions, 19 deletions
diff --git a/gcc/config/rs6000/t-rs6000 b/gcc/config/rs6000/t-rs6000
index f50ef17027c..805e15d4e82 100644
--- a/gcc/config/rs6000/t-rs6000
+++ b/gcc/config/rs6000/t-rs6000
@@ -1,19 +1,14 @@
-# We want fine grained libraries, so use the new code to build the
-# floating point emulation libraries.
-FPBIT = fp-bit.c
-DPBIT = dp-bit.c
-
-dp-bit.c: $(srcdir)/config/fp-bit.c
- cat $(srcdir)/config/fp-bit.c > dp-bit.c
-
-fp-bit.c: $(srcdir)/config/fp-bit.c
- echo '#define FLOAT' > fp-bit.c
- cat $(srcdir)/config/fp-bit.c >> fp-bit.c
-
-# Build the libraries for both hard and soft floating point
-
-MULTILIB_OPTIONS = msoft-float
-MULTILIB_DIRNAMES = soft-float
-
-LIBGCC = stmp-multilib
-INSTALL_LIBGCC = install-multilib
+# General rules that all rs6000/ targets must have.
+
+rs6000.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
+ $(RTL_H) $(REGS_H) hard-reg-set.h \
+ real.h insn-config.h conditions.h insn-attr.h flags.h $(RECOG_H) \
+ $(OBSTACK_H) $(TREE_H) $(EXPR_H) $(OPTABS_H) except.h function.h \
+ output.h $(BASIC_BLOCK_H) $(INTEGRATE_H) toplev.h $(GGC_H) $(HASHTAB_H) \
+ $(TM_P_H) $(TARGET_H) $(TARGET_DEF_H) langhooks.h reload.h
+
+rs6000-c.o: $(srcdir)/config/rs6000/rs6000-c.c \
+ $(srcdir)/config/rs6000/rs6000-protos.h \
+ $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(CPPLIB_H) \
+ $(TM_P_H) c-pragma.h errors.h coretypes.h $(TM_H)
+ $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/rs6000/rs6000-c.c