1 # General rules that all rs6000/ targets must have.
3 # Copyright (C) 1995, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2008, 2009,
4 # 2010, 2011 Free Software Foundation, Inc.
6 # This file is part of GCC.
8 # GCC is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 3, or (at your option)
13 # GCC is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with GCC; see the file COPYING3. If not see
20 # <http://www.gnu.org/licenses/>.
22 TM_H += $(srcdir)/config/rs6000/rs6000-builtin.def
24 rs6000.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
25 $(RTL_H) $(REGS_H) hard-reg-set.h \
26 real.h insn-config.h conditions.h insn-attr.h flags.h $(RECOG_H) \
27 $(OBSTACK_H) $(TREE_H) $(EXPR_H) $(OPTABS_H) except.h function.h \
28 output.h $(BASIC_BLOCK_H) toplev.h $(GGC_H) $(HASHTAB_H) \
29 $(TM_P_H) $(TARGET_H) $(TARGET_DEF_H) langhooks.h reload.h gt-rs6000.h \
30 cfglayout.h cfgloop.h $(OPTS_H) $(COMMON_TARGET_H)
32 rs6000-c.o: $(srcdir)/config/rs6000/rs6000-c.c \
33 $(srcdir)/config/rs6000/rs6000-protos.h \
34 $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(CPPLIB_H) \
35 $(TM_P_H) $(C_PRAGMA_H) errors.h coretypes.h $(TM_H)
36 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
37 $(srcdir)/config/rs6000/rs6000-c.c
39 $(srcdir)/config/rs6000/rs6000-tables.opt: $(srcdir)/config/rs6000/genopt.sh \
40 $(srcdir)/config/rs6000/rs6000-cpus.def
41 $(SHELL) $(srcdir)/config/rs6000/genopt.sh $(srcdir)/config/rs6000 > \
42 $(srcdir)/config/rs6000/rs6000-tables.opt
44 # The rs6000 backend doesn't cause warnings in these files.
45 insn-conditions.o-warn =
47 MD_INCLUDES = $(srcdir)/config/rs6000/rios1.md \
48 $(srcdir)/config/rs6000/rios2.md \
49 $(srcdir)/config/rs6000/rs64.md \
50 $(srcdir)/config/rs6000/mpc.md \
51 $(srcdir)/config/rs6000/40x.md \
52 $(srcdir)/config/rs6000/440.md \
53 $(srcdir)/config/rs6000/603.md \
54 $(srcdir)/config/rs6000/6xx.md \
55 $(srcdir)/config/rs6000/7xx.md \
56 $(srcdir)/config/rs6000/7450.md \
57 $(srcdir)/config/rs6000/8540.md \
58 $(srcdir)/config/rs6000/e300c2c3.md \
59 $(srcdir)/config/rs6000/e500mc.md \
60 $(srcdir)/config/rs6000/power4.md \
61 $(srcdir)/config/rs6000/power5.md \
62 $(srcdir)/config/rs6000/power6.md \
63 $(srcdir)/config/rs6000/power7.md \
64 $(srcdir)/config/rs6000/cell.md \
65 $(srcdir)/config/rs6000/xfpu.md \
66 $(srcdir)/config/rs6000/a2.md \
67 $(srcdir)/config/rs6000/predicates.md \
68 $(srcdir)/config/rs6000/constraints.md \
69 $(srcdir)/config/rs6000/darwin.md \
70 $(srcdir)/config/rs6000/sync.md \
71 $(srcdir)/config/rs6000/vector.md \
72 $(srcdir)/config/rs6000/vsx.md \
73 $(srcdir)/config/rs6000/altivec.md \
74 $(srcdir)/config/rs6000/spe.md \
75 $(srcdir)/config/rs6000/dfp.md \
76 $(srcdir)/config/rs6000/paired.md