1 # General rules that all rs6000/ targets must have.
3 # Copyright (C) 1995-2020 Free Software Foundation, Inc.
5 # This file is part of GCC.
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)
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.
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/>.
21 TM_H += $(srcdir)/config/rs6000/rs6000-builtin.def
22 TM_H += $(srcdir)/config/rs6000/rs6000-cpus.def
23 TM_H += $(srcdir)/config/rs6000/rs6000-modes.h
24 PASSES_EXTRA += $(srcdir)/config/rs6000/rs6000-passes.def
26 rs6000-c.o: $(srcdir)/config/rs6000/rs6000-c.c
30 rs6000-string.o: $(srcdir)/config/rs6000/rs6000-string.c
34 rs6000-p8swap.o: $(srcdir)/config/rs6000/rs6000-p8swap.c
38 rs6000-d.o: $(srcdir)/config/rs6000/rs6000-d.c
42 rs6000-logue.o: $(srcdir)/config/rs6000/rs6000-logue.c
46 rs6000-call.o: $(srcdir)/config/rs6000/rs6000-call.c
50 $(srcdir)/config/rs6000/rs6000-tables.opt: $(srcdir)/config/rs6000/genopt.sh \
51 $(srcdir)/config/rs6000/rs6000-cpus.def
52 $(SHELL) $(srcdir)/config/rs6000/genopt.sh $(srcdir)/config/rs6000 > \
53 $(srcdir)/config/rs6000/rs6000-tables.opt
55 # The rs6000 backend doesn't cause warnings in these files.
56 insn-conditions.o-warn =
58 MD_INCLUDES = $(srcdir)/config/rs6000/rs64.md \
59 $(srcdir)/config/rs6000/mpc.md \
60 $(srcdir)/config/rs6000/40x.md \
61 $(srcdir)/config/rs6000/440.md \
62 $(srcdir)/config/rs6000/601.md \
63 $(srcdir)/config/rs6000/603.md \
64 $(srcdir)/config/rs6000/6xx.md \
65 $(srcdir)/config/rs6000/7xx.md \
66 $(srcdir)/config/rs6000/7450.md \
67 $(srcdir)/config/rs6000/8540.md \
68 $(srcdir)/config/rs6000/e300c2c3.md \
69 $(srcdir)/config/rs6000/e500mc.md \
70 $(srcdir)/config/rs6000/power4.md \
71 $(srcdir)/config/rs6000/power5.md \
72 $(srcdir)/config/rs6000/power6.md \
73 $(srcdir)/config/rs6000/power7.md \
74 $(srcdir)/config/rs6000/power8.md \
75 $(srcdir)/config/rs6000/power9.md \
76 $(srcdir)/config/rs6000/future.md \
77 $(srcdir)/config/rs6000/cell.md \
78 $(srcdir)/config/rs6000/a2.md \
79 $(srcdir)/config/rs6000/predicates.md \
80 $(srcdir)/config/rs6000/constraints.md \
81 $(srcdir)/config/rs6000/darwin.md \
82 $(srcdir)/config/rs6000/sync.md \
83 $(srcdir)/config/rs6000/vector.md \
84 $(srcdir)/config/rs6000/vsx.md \
85 $(srcdir)/config/rs6000/altivec.md \
86 $(srcdir)/config/rs6000/crypto.md \
87 $(srcdir)/config/rs6000/htm.md \
88 $(srcdir)/config/rs6000/dfp.md