Rebase.
[official-gcc.git] / gcc / config / aarch64 / t-aarch64
blob158fbb5789cf70d760bb88e7b5b3f3ace4e2093c
1 # Machine description for AArch64 architecture.
2 #  Copyright (C) 2009-2014 Free Software Foundation, Inc.
3 #  Contributed by ARM Ltd.
5 #  This file is part of GCC.
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.
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.
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/aarch64/aarch64-cores.def
22 OPTIONS_H_EXTRA += $(srcdir)/config/aarch64/aarch64-cores.def
24 $(srcdir)/config/aarch64/aarch64-tune.md: $(srcdir)/config/aarch64/gentune.sh \
25         $(srcdir)/config/aarch64/aarch64-cores.def
26         $(SHELL) $(srcdir)/config/aarch64/gentune.sh \
27                 $(srcdir)/config/aarch64/aarch64-cores.def > \
28                 $(srcdir)/config/aarch64/aarch64-tune.md
30 aarch64-builtins.o: $(srcdir)/config/aarch64/aarch64-builtins.c $(CONFIG_H) \
31   $(SYSTEM_H) coretypes.h $(TM_H) \
32   $(RTL_H) $(TREE_H) expr.h $(TM_P_H) $(RECOG_H) langhooks.h \
33   $(DIAGNOSTIC_CORE_H) $(OPTABS_H) \
34   $(srcdir)/config/aarch64/aarch64-simd-builtins.def
35         $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
36                 $(srcdir)/config/aarch64/aarch64-builtins.c
38 aarch-common.o: $(srcdir)/config/arm/aarch-common.c $(CONFIG_H) $(SYSTEM_H) \
39     coretypes.h $(TM_H) $(TM_P_H) $(RTL_H) $(TREE_H) output.h $(C_COMMON_H)
40         $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
41                 $(srcdir)/config/arm/aarch-common.c
43 comma=,
44 MULTILIB_OPTIONS    = $(subst $(comma),/, $(patsubst %, mabi=%, $(subst $(comma),$(comma)mabi=,$(TM_MULTILIB_CONFIG))))
45 MULTILIB_DIRNAMES   = $(subst $(comma), ,$(TM_MULTILIB_CONFIG))