[Patch ARM Refactor Builtins 7/8] Use qualifiers arrays when initialising builtins...
[official-gcc.git] / gcc / config / arm / t-arm
blobd82a123c7b5fe2b070e0a55928a7061a7f3bb80d
1 # Rules common to all arm targets
3 # Copyright (C) 2004-2014 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/arm/arm-cores.def
22 OPTIONS_H_EXTRA += $(srcdir)/config/arm/arm-cores.def
24 # All md files - except for arm.md.
25 # This list should be kept in alphabetical order and updated whenever an md
26 # file is added or removed.
27 MD_INCLUDES=    $(srcdir)/config/arm/arm1020e.md \
28                 $(srcdir)/config/arm/arm1026ejs.md \
29                 $(srcdir)/config/arm/arm1136jfs.md \
30                 $(srcdir)/config/arm/arm926ejs.md \
31                 $(srcdir)/config/arm/arm-fixed.md \
32                 $(srcdir)/config/arm/arm-generic.md \
33                 $(srcdir)/config/arm/arm-tune.md \
34                 $(srcdir)/config/arm/constraints.md \
35                 $(srcdir)/config/arm/cortex-a15.md \
36                 $(srcdir)/config/arm/cortex-a5.md \
37                 $(srcdir)/config/arm/cortex-a7.md \
38                 $(srcdir)/config/arm/cortex-a8.md \
39                 $(srcdir)/config/arm/cortex-a8-neon.md \
40                 $(srcdir)/config/arm/cortex-a9.md \
41                 $(srcdir)/config/arm/cortex-a9-neon.md \
42                 $(srcdir)/config/arm/cortex-a53.md \
43                 $(srcdir)/config/arm/cortex-m4-fpu.md \
44                 $(srcdir)/config/arm/cortex-m4.md \
45                 $(srcdir)/config/arm/cortex-r4f.md \
46                 $(srcdir)/config/arm/cortex-r4.md \
47                 $(srcdir)/config/arm/fa526.md \
48                 $(srcdir)/config/arm/fa606te.md \
49                 $(srcdir)/config/arm/fa626te.md \
50                 $(srcdir)/config/arm/fa726te.md \
51                 $(srcdir)/config/arm/fmp626.md \
52                 $(srcdir)/config/arm/iterators.md \
53                 $(srcdir)/config/arm/iwmmxt.md \
54                 $(srcdir)/config/arm/iwmmxt2.md \
55                 $(srcdir)/config/arm/ldmstm.md \
56                 $(srcdir)/config/arm/ldrdstrd.md \
57                 $(srcdir)/config/arm/marvell-f-iwmmxt.md \
58                 $(srcdir)/config/arm/neon.md \
59                 $(srcdir)/config/arm/predicates.md \
60                 $(srcdir)/config/arm/sync.md \
61                 $(srcdir)/config/arm/thumb2.md \
62                 $(srcdir)/config/arm/vec-common.md \
63                 $(srcdir)/config/arm/vfp11.md \
64                 $(srcdir)/config/arm/vfp.md
66 s-config s-conditions s-flags s-codes s-constants s-emit s-recog s-preds \
67         s-opinit s-extract s-peep s-attr s-attrtab s-output: $(MD_INCLUDES)
69 $(srcdir)/config/arm/arm-tune.md: $(srcdir)/config/arm/gentune.sh \
70         $(srcdir)/config/arm/arm-cores.def
71         $(SHELL) $(srcdir)/config/arm/gentune.sh \
72                 $(srcdir)/config/arm/arm-cores.def > \
73                 $(srcdir)/config/arm/arm-tune.md
75 $(srcdir)/config/arm/arm-tables.opt: $(srcdir)/config/arm/genopt.sh \
76   $(srcdir)/config/arm/arm-cores.def $(srcdir)/config/arm/arm-arches.def \
77   $(srcdir)/config/arm/arm-fpus.def
78         $(SHELL) $(srcdir)/config/arm/genopt.sh $(srcdir)/config/arm > \
79                 $(srcdir)/config/arm/arm-tables.opt
81 aarch-common.o: $(srcdir)/config/arm/aarch-common.c $(CONFIG_H) $(SYSTEM_H) \
82     coretypes.h $(TM_H) $(TM_P_H) $(RTL_H) $(TREE_H) output.h $(C_COMMON_H)
83         $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
84                 $(srcdir)/config/arm/aarch-common.c
86 arm.o: $(srcdir)/config/arm/arm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
87   $(RTL_H) $(TREE_H) $(HASH_TABLE_H) $(OBSTACK_H) $(REGS_H) hard-reg-set.h \
88   insn-config.h conditions.h output.h dumpfile.h \
89   $(INSN_ATTR_H) $(FLAGS_H) reload.h $(FUNCTION_H) \
90   $(EXPR_H) $(OPTABS_H) $(RECOG_H) $(CGRAPH_H) \
91   $(GGC_H) except.h $(C_PRAGMA_H) $(TM_P_H) \
92   $(TARGET_H) $(TARGET_DEF_H) debug.h langhooks.h $(DF_H) \
93   intl.h libfuncs.h $(PARAMS_H) $(OPTS_H) $(srcdir)/config/arm/arm-cores.def \
94   $(srcdir)/config/arm/arm-arches.def $(srcdir)/config/arm/arm-fpus.def \
95   $(srcdir)/config/arm/arm-protos.h \
96   $(srcdir)/config/arm/arm_neon_builtins.def
98 arm-builtins.o: $(srcdir)/config/arm/arm-builtins.c $(CONFIG_H) \
99   $(SYSTEM_H) coretypes.h $(TM_H) \
100   $(RTL_H) $(TREE_H) expr.h $(TM_P_H) $(RECOG_H) langhooks.h \
101   $(DIAGNOSTIC_CORE_H) $(OPTABS_H) \
102   $(srcdir)/config/arm/arm-protos.h \
103   $(srcdir)/config/arm/arm_neon_builtins.def \
104   $(srcdir)/config/arm/arm-simd-builtin-types.def
105         $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
106                 $(srcdir)/config/arm/arm-builtins.c
108 arm-c.o: $(srcdir)/config/arm/arm-c.c $(CONFIG_H) $(SYSTEM_H) \
109     coretypes.h $(TM_H) $(TREE_H) output.h $(C_COMMON_H)
110         $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
111                 $(srcdir)/config/arm/arm-c.c