1 |
282 |
jeremybenn |
# Rules common to all arm targets
|
2 |
|
|
#
|
3 |
|
|
# Copyright (C) 2004, 2005, 2007, 2008, 2009 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 |
|
|
# .
|
20 |
|
|
|
21 |
|
|
MD_INCLUDES= $(srcdir)/config/arm/arm-tune.md \
|
22 |
|
|
$(srcdir)/config/arm/predicates.md \
|
23 |
|
|
$(srcdir)/config/arm/arm-generic.md \
|
24 |
|
|
$(srcdir)/config/arm/arm1020e.md \
|
25 |
|
|
$(srcdir)/config/arm/arm1026ejs.md \
|
26 |
|
|
$(srcdir)/config/arm/arm1136jfs.md \
|
27 |
|
|
$(srcdir)/config/arm/arm926ejs.md \
|
28 |
|
|
$(srcdir)/config/arm/cirrus.md \
|
29 |
|
|
$(srcdir)/config/arm/fpa.md \
|
30 |
|
|
$(srcdir)/config/arm/vec-common.md \
|
31 |
|
|
$(srcdir)/config/arm/iwmmxt.md \
|
32 |
|
|
$(srcdir)/config/arm/vfp.md \
|
33 |
|
|
$(srcdir)/config/arm/neon.md \
|
34 |
|
|
$(srcdir)/config/arm/thumb2.md
|
35 |
|
|
|
36 |
|
|
LIB1ASMSRC = arm/lib1funcs.asm
|
37 |
|
|
LIB1ASMFUNCS = _thumb1_case_sqi _thumb1_case_uqi _thumb1_case_shi \
|
38 |
|
|
_thumb1_case_uhi _thumb1_case_si
|
39 |
|
|
s-config s-conditions s-flags s-codes s-constants s-emit s-recog s-preds \
|
40 |
|
|
s-opinit s-extract s-peep s-attr s-attrtab s-output: $(MD_INCLUDES)
|
41 |
|
|
|
42 |
|
|
$(srcdir)/config/arm/arm-tune.md: $(srcdir)/config/arm/gentune.sh \
|
43 |
|
|
$(srcdir)/config/arm/arm-cores.def
|
44 |
|
|
$(SHELL) $(srcdir)/config/arm/gentune.sh \
|
45 |
|
|
$(srcdir)/config/arm/arm-cores.def > \
|
46 |
|
|
$(srcdir)/config/arm/arm-tune.md
|
47 |
|
|
|
48 |
|
|
arm-c.o: $(srcdir)/config/arm/arm-c.c $(CONFIG_H) $(SYSTEM_H) \
|
49 |
|
|
coretypes.h $(TM_H) $(TREE_H) output.h $(C_COMMON_H)
|
50 |
|
|
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
51 |
|
|
$(srcdir)/config/arm/arm-c.c
|