xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/t-rs6000 (revision e6c7e151de239c49d2e38720a061ed9d1fa99309)
1# General rules that all rs6000/ targets must have.
2#
3# Copyright (C) 1995-2017 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
22TM_H += $(srcdir)/config/rs6000/rs6000-cpus.def
23PASSES_EXTRA += $(srcdir)/config/rs6000/rs6000-passes.def
24
25rs6000-c.o: $(srcdir)/config/rs6000/rs6000-c.c
26	$(COMPILE) $<
27	$(POSTCOMPILE)
28
29$(srcdir)/config/rs6000/rs6000-tables.opt: $(srcdir)/config/rs6000/genopt.sh \
30  $(srcdir)/config/rs6000/rs6000-cpus.def
31	@echo "NOT REBUILDING $@"
32NetBSD_DISABLED_rs6000-tables.opt:
33	$(SHELL) $(srcdir)/config/rs6000/genopt.sh $(srcdir)/config/rs6000 > \
34		$(srcdir)/config/rs6000/rs6000-tables.opt
35
36# The rs6000 backend doesn't cause warnings in these files.
37insn-conditions.o-warn =
38
39MD_INCLUDES = $(srcdir)/config/rs6000/rs64.md \
40	$(srcdir)/config/rs6000/mpc.md \
41	$(srcdir)/config/rs6000/40x.md \
42	$(srcdir)/config/rs6000/440.md \
43	$(srcdir)/config/rs6000/601.md \
44	$(srcdir)/config/rs6000/603.md \
45	$(srcdir)/config/rs6000/6xx.md \
46	$(srcdir)/config/rs6000/7xx.md \
47	$(srcdir)/config/rs6000/7450.md \
48	$(srcdir)/config/rs6000/8540.md \
49	$(srcdir)/config/rs6000/e300c2c3.md \
50	$(srcdir)/config/rs6000/e500mc.md \
51	$(srcdir)/config/rs6000/power4.md \
52	$(srcdir)/config/rs6000/power5.md \
53	$(srcdir)/config/rs6000/power6.md \
54	$(srcdir)/config/rs6000/power7.md \
55	$(srcdir)/config/rs6000/power8.md \
56	$(srcdir)/config/rs6000/power9.md \
57	$(srcdir)/config/rs6000/cell.md \
58	$(srcdir)/config/rs6000/xfpu.md \
59	$(srcdir)/config/rs6000/a2.md \
60	$(srcdir)/config/rs6000/predicates.md \
61	$(srcdir)/config/rs6000/constraints.md \
62	$(srcdir)/config/rs6000/darwin.md \
63	$(srcdir)/config/rs6000/sync.md \
64	$(srcdir)/config/rs6000/vector.md \
65	$(srcdir)/config/rs6000/vsx.md \
66	$(srcdir)/config/rs6000/altivec.md \
67	$(srcdir)/config/rs6000/crypto.md \
68	$(srcdir)/config/rs6000/htm.md \
69	$(srcdir)/config/rs6000/spe.md \
70	$(srcdir)/config/rs6000/dfp.md \
71	$(srcdir)/config/rs6000/paired.md
72