xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/t-rs6000 (revision 230b95665bbd3a9d1a53658a36b1053f8382a519)
1# General rules that all rs6000/ targets must have.
2#
3# Copyright (C) 1995, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2008, 2009
4# Free Software Foundation, Inc.
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/>.
21
22TM_H += $(srcdir)/config/rs6000/rs6000-builtin.def
23
24rs6000.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 \
28  output.h $(BASIC_BLOCK_H) $(INTEGRATE_H) toplev.h $(GGC_H) $(HASHTAB_H) \
29  $(TM_P_H) $(TARGET_H) $(TARGET_DEF_H) langhooks.h reload.h gt-rs6000.h \
30  cfglayout.h
31
32rs6000-c.o: $(srcdir)/config/rs6000/rs6000-c.c \
33    $(srcdir)/config/rs6000/rs6000-protos.h \
34    $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(CPPLIB_H) \
35    $(TM_P_H) c-pragma.h errors.h coretypes.h $(TM_H)
36	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
37		$(srcdir)/config/rs6000/rs6000-c.c
38
39# The rs6000 backend doesn't cause warnings in these files.
40insn-conditions.o-warn =
41
42MD_INCLUDES = $(srcdir)/config/rs6000/rios1.md \
43	$(srcdir)/config/rs6000/rios2.md \
44	$(srcdir)/config/rs6000/rs64.md \
45	$(srcdir)/config/rs6000/mpc.md \
46	$(srcdir)/config/rs6000/40x.md \
47	$(srcdir)/config/rs6000/440.md \
48	$(srcdir)/config/rs6000/603.md \
49	$(srcdir)/config/rs6000/6xx.md \
50	$(srcdir)/config/rs6000/7xx.md \
51	$(srcdir)/config/rs6000/7450.md \
52	$(srcdir)/config/rs6000/8540.md \
53	$(srcdir)/config/rs6000/e300c2c3.md \
54	$(srcdir)/config/rs6000/e500mc.md \
55	$(srcdir)/config/rs6000/power4.md \
56	$(srcdir)/config/rs6000/power5.md \
57	$(srcdir)/config/rs6000/power6.md \
58	$(srcdir)/config/rs6000/power7.md \
59	$(srcdir)/config/rs6000/cell.md \
60	$(srcdir)/config/rs6000/xfpu.md \
61	$(srcdir)/config/rs6000/a2.md \
62	$(srcdir)/config/rs6000/predicates.md \
63	$(srcdir)/config/rs6000/constraints.md \
64	$(srcdir)/config/rs6000/darwin.md \
65	$(srcdir)/config/rs6000/sync.md \
66	$(srcdir)/config/rs6000/vector.md \
67	$(srcdir)/config/rs6000/vsx.md \
68	$(srcdir)/config/rs6000/altivec.md \
69	$(srcdir)/config/rs6000/spe.md \
70	$(srcdir)/config/rs6000/dfp.md \
71	$(srcdir)/config/rs6000/paired.md
72