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