]>
Commit | Line | Data |
---|---|---|
1638c263 | 1 | # General rules that all rs6000/ targets must have. |
7dfbd804 | 2 | # |
d91f7526 | 3 | # Copyright (C) 1995, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2008, 2009, |
fba5dd52 | 4 | # 2010, 2011 Free Software Foundation, Inc. |
7dfbd804 | 5 | # |
6 | # This file is part of GCC. | |
7 | # | |
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) | |
11 | # any later version. | |
12 | # | |
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. | |
17 | # | |
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/>. | |
1638c263 | 21 | |
605afdd6 | 22 | TM_H += $(srcdir)/config/rs6000/rs6000-builtin.def |
23 | ||
21886706 | 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 \ | |
b5369b7d | 28 | output.h dbxout.h $(BASIC_BLOCK_H) toplev.h $(GGC_H) $(HASHTAB_H) \ |
21886706 | 29 | $(TM_P_H) $(TARGET_H) $(TARGET_DEF_H) langhooks.h reload.h gt-rs6000.h \ |
218e3e4e | 30 | cfglayout.h cfgloop.h $(OPTS_H) $(COMMON_TARGET_H) |
21886706 | 31 | |
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) \ | |
7bedc3a0 | 35 | $(TM_P_H) $(C_PRAGMA_H) errors.h coretypes.h $(TM_H) |
585d4848 | 36 | $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ |
37 | $(srcdir)/config/rs6000/rs6000-c.c | |
573aba85 | 38 | |
d41a5879 | 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 | |
43 | ||
b41d328d | 44 | # The rs6000 backend doesn't cause warnings in these files. |
b41d328d | 45 | insn-conditions.o-warn = |
9c878e1b | 46 | |
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 \ | |
32374e3c | 63 | $(srcdir)/config/rs6000/power7.md \ |
9c878e1b | 64 | $(srcdir)/config/rs6000/cell.md \ |
65 | $(srcdir)/config/rs6000/xfpu.md \ | |
605afdd6 | 66 | $(srcdir)/config/rs6000/a2.md \ |
9c878e1b | 67 | $(srcdir)/config/rs6000/predicates.md \ |
68 | $(srcdir)/config/rs6000/constraints.md \ | |
69 | $(srcdir)/config/rs6000/darwin.md \ | |
70 | $(srcdir)/config/rs6000/sync.md \ | |
702c5d85 | 71 | $(srcdir)/config/rs6000/vector.md \ |
32374e3c | 72 | $(srcdir)/config/rs6000/vsx.md \ |
9c878e1b | 73 | $(srcdir)/config/rs6000/altivec.md \ |
74 | $(srcdir)/config/rs6000/spe.md \ | |
75 | $(srcdir)/config/rs6000/dfp.md \ | |
76 | $(srcdir)/config/rs6000/paired.md |