]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/aarch64/t-aarch64
re PR target/69894 (dependency of gcc-plugin.h not installed on aarch64-linux-gnu)
[thirdparty/gcc.git] / gcc / config / aarch64 / t-aarch64
1 # Machine description for AArch64 architecture.
2 # Copyright (C) 2009-2016 Free Software Foundation, Inc.
3 # Contributed by ARM Ltd.
4 #
5 # This file is part of GCC.
6 #
7 # GCC is free software; you can redistribute it and/or modify it
8 # 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, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # 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
21 TM_H += $(srcdir)/config/aarch64/aarch64-cores.def
22 OPTIONS_H_EXTRA += $(srcdir)/config/aarch64/aarch64-cores.def \
23 $(srcdir)/config/aarch64/aarch64-arches.def
24
25 $(srcdir)/config/aarch64/aarch64-tune.md: $(srcdir)/config/aarch64/gentune.sh \
26 $(srcdir)/config/aarch64/aarch64-cores.def
27 $(SHELL) $(srcdir)/config/aarch64/gentune.sh \
28 $(srcdir)/config/aarch64/aarch64-cores.def > \
29 $(srcdir)/config/aarch64/aarch64-tune.md
30
31 aarch64-builtins.o: $(srcdir)/config/aarch64/aarch64-builtins.c $(CONFIG_H) \
32 $(SYSTEM_H) coretypes.h $(TM_H) \
33 $(RTL_H) $(TREE_H) expr.h $(TM_P_H) $(RECOG_H) langhooks.h \
34 $(DIAGNOSTIC_CORE_H) $(OPTABS_H) \
35 $(srcdir)/config/aarch64/aarch64-simd-builtins.def \
36 $(srcdir)/config/aarch64/aarch64-simd-builtin-types.def \
37 aarch64-builtin-iterators.h
38 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
39 $(srcdir)/config/aarch64/aarch64-builtins.c
40
41 aarch64-builtin-iterators.h: $(srcdir)/config/aarch64/geniterators.sh \
42 $(srcdir)/config/aarch64/iterators.md
43 $(SHELL) $(srcdir)/config/aarch64/geniterators.sh \
44 $(srcdir)/config/aarch64/iterators.md > \
45 aarch64-builtin-iterators.h
46
47 aarch-common.o: $(srcdir)/config/arm/aarch-common.c $(CONFIG_H) $(SYSTEM_H) \
48 coretypes.h $(TM_H) $(TM_P_H) $(RTL_H) $(TREE_H) output.h $(C_COMMON_H)
49 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
50 $(srcdir)/config/arm/aarch-common.c
51
52 aarch64-c.o: $(srcdir)/config/aarch64/aarch64-c.c $(CONFIG_H) $(SYSTEM_H) \
53 coretypes.h $(TM_H) $(TREE_H) output.h $(C_COMMON_H)
54 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
55 $(srcdir)/config/aarch64/aarch64-c.c
56
57 cortex-a57-fma-steering.o: $(srcdir)/config/aarch64/cortex-a57-fma-steering.c \
58 $(CONFIG_H) $(SYSTEM_H) $(TM_H) $(REGS_H) insn-config.h $(RTL_BASE_H) \
59 dominance.h cfg.h cfganal.h $(BASIC_BLOCK_H) $(INSN_ATTR_H) $(RECOG_H) \
60 output.h hash-map.h $(DF_H) $(OBSTACK_H) $(TARGET_H) $(RTL_H) \
61 $(CONTEXT_H) $(TREE_PASS_H) regrename.h \
62 $(srcdir)/config/aarch64/cortex-a57-fma-steering.h \
63 $(srcdir)/config/aarch64/aarch64-protos.h
64 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
65 $(srcdir)/config/aarch64/cortex-a57-fma-steering.c
66
67 comma=,
68 MULTILIB_OPTIONS = $(subst $(comma),/, $(patsubst %, mabi=%, $(subst $(comma),$(comma)mabi=,$(TM_MULTILIB_CONFIG))))
69 MULTILIB_DIRNAMES = $(subst $(comma), ,$(TM_MULTILIB_CONFIG))