* config/rs6000/t-rs6000: Append rs6000-modes.h to TM_H.
[official-gcc.git] / gcc / config / rs6000 / t-rs6000
blobad274d9d1621ab26c679e963c501141371469603
1 # General rules that all rs6000/ targets must have.
3 # Copyright (C) 1995-2018 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)
10 # any later version.
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
27         $(COMPILE) $<
28         $(POSTCOMPILE)
30 rs6000-string.o: $(srcdir)/config/rs6000/rs6000-string.c
31         $(COMPILE) $<
32         $(POSTCOMPILE)
34 rs6000-p8swap.o: $(srcdir)/config/rs6000/rs6000-p8swap.c
35         $(COMPILE) $<
36         $(POSTCOMPILE)
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
43 # The rs6000 backend doesn't cause warnings in these files.
44 insn-conditions.o-warn =
46 MD_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/power8.md \
63         $(srcdir)/config/rs6000/power9.md \
64         $(srcdir)/config/rs6000/cell.md \
65         $(srcdir)/config/rs6000/a2.md \
66         $(srcdir)/config/rs6000/predicates.md \
67         $(srcdir)/config/rs6000/constraints.md \
68         $(srcdir)/config/rs6000/darwin.md \
69         $(srcdir)/config/rs6000/sync.md \
70         $(srcdir)/config/rs6000/vector.md \
71         $(srcdir)/config/rs6000/vsx.md \
72         $(srcdir)/config/rs6000/altivec.md \
73         $(srcdir)/config/rs6000/crypto.md \
74         $(srcdir)/config/rs6000/htm.md \
75         $(srcdir)/config/rs6000/dfp.md