1 |
709 |
jeremybenn |
# Rules common to all arm targets
|
2 |
|
|
#
|
3 |
|
|
# Copyright (C) 2004, 2005, 2007, 2008, 2009, 2010, 2011
|
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 |
|
|
# .
|
21 |
|
|
|
22 |
|
|
# All md files - except for arm.md.
|
23 |
|
|
# This list should be kept in alphabetical order and updated whenever an md
|
24 |
|
|
# file is added or removed.
|
25 |
|
|
MD_INCLUDES= $(srcdir)/config/arm/arm1020e.md \
|
26 |
|
|
$(srcdir)/config/arm/arm1026ejs.md \
|
27 |
|
|
$(srcdir)/config/arm/arm1136jfs.md \
|
28 |
|
|
$(srcdir)/config/arm/arm926ejs.md \
|
29 |
|
|
$(srcdir)/config/arm/arm-fixed.md \
|
30 |
|
|
$(srcdir)/config/arm/arm-generic.md \
|
31 |
|
|
$(srcdir)/config/arm/arm-tune.md \
|
32 |
|
|
$(srcdir)/config/arm/cirrus.md \
|
33 |
|
|
$(srcdir)/config/arm/constraints.md \
|
34 |
|
|
$(srcdir)/config/arm/cortex-a15.md \
|
35 |
|
|
$(srcdir)/config/arm/cortex-a5.md \
|
36 |
|
|
$(srcdir)/config/arm/cortex-a8.md \
|
37 |
|
|
$(srcdir)/config/arm/cortex-a8-neon.md \
|
38 |
|
|
$(srcdir)/config/arm/cortex-a9.md \
|
39 |
|
|
$(srcdir)/config/arm/cortex-a9-neon.md \
|
40 |
|
|
$(srcdir)/config/arm/cortex-m4-fpu.md \
|
41 |
|
|
$(srcdir)/config/arm/cortex-m4.md \
|
42 |
|
|
$(srcdir)/config/arm/cortex-r4f.md \
|
43 |
|
|
$(srcdir)/config/arm/cortex-r4.md \
|
44 |
|
|
$(srcdir)/config/arm/fa526.md \
|
45 |
|
|
$(srcdir)/config/arm/fa606te.md \
|
46 |
|
|
$(srcdir)/config/arm/fa626te.md \
|
47 |
|
|
$(srcdir)/config/arm/fa726te.md \
|
48 |
|
|
$(srcdir)/config/arm/fmp626.md \
|
49 |
|
|
$(srcdir)/config/arm/fpa.md \
|
50 |
|
|
$(srcdir)/config/arm/iterators.md \
|
51 |
|
|
$(srcdir)/config/arm/iwmmxt.md \
|
52 |
|
|
$(srcdir)/config/arm/ldmstm.md \
|
53 |
|
|
$(srcdir)/config/arm/neon.md \
|
54 |
|
|
$(srcdir)/config/arm/predicates.md \
|
55 |
|
|
$(srcdir)/config/arm/sync.md \
|
56 |
|
|
$(srcdir)/config/arm/thumb2.md \
|
57 |
|
|
$(srcdir)/config/arm/vec-common.md \
|
58 |
|
|
$(srcdir)/config/arm/vfp11.md \
|
59 |
|
|
$(srcdir)/config/arm/vfp.md
|
60 |
|
|
|
61 |
|
|
s-config s-conditions s-flags s-codes s-constants s-emit s-recog s-preds \
|
62 |
|
|
s-opinit s-extract s-peep s-attr s-attrtab s-output: $(MD_INCLUDES)
|
63 |
|
|
|
64 |
|
|
$(srcdir)/config/arm/arm-tune.md: $(srcdir)/config/arm/gentune.sh \
|
65 |
|
|
$(srcdir)/config/arm/arm-cores.def
|
66 |
|
|
$(SHELL) $(srcdir)/config/arm/gentune.sh \
|
67 |
|
|
$(srcdir)/config/arm/arm-cores.def > \
|
68 |
|
|
$(srcdir)/config/arm/arm-tune.md
|
69 |
|
|
|
70 |
|
|
$(srcdir)/config/arm/arm-tables.opt: $(srcdir)/config/arm/genopt.sh \
|
71 |
|
|
$(srcdir)/config/arm/arm-cores.def $(srcdir)/config/arm/arm-arches.def \
|
72 |
|
|
$(srcdir)/config/arm/arm-fpus.def
|
73 |
|
|
$(SHELL) $(srcdir)/config/arm/genopt.sh $(srcdir)/config/arm > \
|
74 |
|
|
$(srcdir)/config/arm/arm-tables.opt
|
75 |
|
|
|
76 |
|
|
arm.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
77 |
|
|
$(RTL_H) $(TREE_H) $(OBSTACK_H) $(REGS_H) hard-reg-set.h \
|
78 |
|
|
insn-config.h conditions.h output.h \
|
79 |
|
|
$(INSN_ATTR_H) $(FLAGS_H) reload.h $(FUNCTION_H) \
|
80 |
|
|
$(EXPR_H) $(OPTABS_H) $(RECOG_H) $(CGRAPH_H) \
|
81 |
|
|
$(GGC_H) except.h $(C_PRAGMA_H) $(INTEGRATE_H) $(TM_P_H) \
|
82 |
|
|
$(TARGET_H) $(TARGET_DEF_H) debug.h langhooks.h $(DF_H) \
|
83 |
|
|
intl.h libfuncs.h $(PARAMS_H) $(OPTS_H) $(srcdir)/config/arm/arm-cores.def \
|
84 |
|
|
$(srcdir)/config/arm/arm-arches.def $(srcdir)/config/arm/arm-fpus.def
|
85 |
|
|
|
86 |
|
|
arm-c.o: $(srcdir)/config/arm/arm-c.c $(CONFIG_H) $(SYSTEM_H) \
|
87 |
|
|
coretypes.h $(TM_H) $(TREE_H) output.h $(C_COMMON_H)
|
88 |
|
|
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
89 |
|
|
$(srcdir)/config/arm/arm-c.c
|