1 # General rules that all nds32/ targets must have.
2 # Copyright (C) 2012-2018 Free Software Foundation, Inc.
3 # Contributed by Andes Technology Corporation.
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)
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/>.
22 nds32-md-auxiliary.o: $(srcdir)/config/nds32/nds32-md-auxiliary.c \
23 $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
24 $(RTL_H) $(TREE_H) $(HASH_TABLE_H) $(OBSTACK_H) $(REGS_H) hard-reg-set.h \
25 insn-config.h conditions.h output.h dumpfile.h \
26 $(INSN_ATTR_H) $(FLAGS_H) reload.h $(FUNCTION_H) \
27 $(EXPR_H) $(OPTABS_H) $(RECOG_H) $(CGRAPH_H) \
28 $(GGC_H) except.h $(C_PRAGMA_H) $(TM_P_H) \
29 $(TARGET_H) $(TARGET_DEF_H) debug.h langhooks.h $(DF_H) \
30 intl.h libfuncs.h $(PARAMS_H) $(OPTS_H)
31 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
32 $(srcdir)/config/nds32/nds32-md-auxiliary.c
34 nds32-memory-manipulation.o: $(srcdir)/config/nds32/nds32-memory-manipulation.c \
35 $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
36 $(RTL_H) $(TREE_H) $(HASH_TABLE_H) $(OBSTACK_H) $(REGS_H) hard-reg-set.h \
37 insn-config.h conditions.h output.h dumpfile.h \
38 $(INSN_ATTR_H) $(FLAGS_H) reload.h $(FUNCTION_H) \
39 $(EXPR_H) $(OPTABS_H) $(RECOG_H) $(CGRAPH_H) \
40 $(GGC_H) except.h $(C_PRAGMA_H) $(TM_P_H) \
41 $(TARGET_H) $(TARGET_DEF_H) debug.h langhooks.h $(DF_H) \
42 intl.h libfuncs.h $(PARAMS_H) $(OPTS_H)
43 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
44 $(srcdir)/config/nds32/nds32-memory-manipulation.c
46 nds32-predicates.o: $(srcdir)/config/nds32/nds32-predicates.c \
47 $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
48 $(RTL_H) $(TREE_H) $(HASH_TABLE_H) $(OBSTACK_H) $(REGS_H) hard-reg-set.h \
49 insn-config.h conditions.h output.h dumpfile.h \
50 $(INSN_ATTR_H) $(FLAGS_H) reload.h $(FUNCTION_H) \
51 $(EXPR_H) $(OPTABS_H) $(RECOG_H) $(CGRAPH_H) \
52 $(GGC_H) except.h $(C_PRAGMA_H) $(TM_P_H) \
53 $(TARGET_H) $(TARGET_DEF_H) debug.h langhooks.h $(DF_H) \
54 intl.h libfuncs.h $(PARAMS_H) $(OPTS_H)
55 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
56 $(srcdir)/config/nds32/nds32-predicates.c
58 nds32-intrinsic.o: $(srcdir)/config/nds32/nds32-intrinsic.c \
59 $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
60 $(RTL_H) $(TREE_H) $(HASH_TABLE_H) $(OBSTACK_H) $(REGS_H) hard-reg-set.h \
61 insn-config.h conditions.h output.h dumpfile.h \
62 $(INSN_ATTR_H) $(FLAGS_H) reload.h $(FUNCTION_H) \
63 $(EXPR_H) $(OPTABS_H) $(RECOG_H) $(CGRAPH_H) \
64 $(GGC_H) except.h $(C_PRAGMA_H) $(TM_P_H) \
65 $(TARGET_H) $(TARGET_DEF_H) debug.h langhooks.h $(DF_H) \
66 intl.h libfuncs.h $(PARAMS_H) $(OPTS_H)
67 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
68 $(srcdir)/config/nds32/nds32-intrinsic.c
70 nds32-pipelines-auxiliary.o: \
71 $(srcdir)/config/nds32/nds32-pipelines-auxiliary.c \
72 $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
73 $(RTL_H) $(TREE_H) $(HASH_TABLE_H) $(OBSTACK_H) $(REGS_H) hard-reg-set.h \
74 insn-config.h conditions.h output.h dumpfile.h \
75 $(INSN_ATTR_H) $(FLAGS_H) reload.h $(FUNCTION_H) \
76 $(EXPR_H) $(OPTABS_H) $(RECOG_H) $(CGRAPH_H) \
77 $(GGC_H) except.h $(C_PRAGMA_H) $(TM_P_H) \
78 $(TARGET_H) $(TARGET_DEF_H) debug.h langhooks.h $(DF_H) \
79 intl.h libfuncs.h $(PARAMS_H) $(OPTS_H)
80 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
81 $(srcdir)/config/nds32/nds32-pipelines-auxiliary.c
84 $(srcdir)/config/nds32/nds32-isr.c \
85 $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
86 $(RTL_H) $(TREE_H) $(HASH_TABLE_H) $(OBSTACK_H) $(REGS_H) hard-reg-set.h \
87 insn-config.h conditions.h output.h dumpfile.h \
88 $(INSN_ATTR_H) $(FLAGS_H) reload.h $(FUNCTION_H) \
89 $(EXPR_H) $(OPTABS_H) $(RECOG_H) $(CGRAPH_H) \
90 $(GGC_H) except.h $(C_PRAGMA_H) $(TM_P_H) \
91 $(TARGET_H) $(TARGET_DEF_H) debug.h langhooks.h $(DF_H) \
92 intl.h libfuncs.h $(PARAMS_H) $(OPTS_H)
93 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
94 $(srcdir)/config/nds32/nds32-isr.c
97 $(srcdir)/config/nds32/nds32-cost.c \
98 $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
99 $(RTL_H) $(TREE_H) $(HASH_TABLE_H) $(OBSTACK_H) $(REGS_H) hard-reg-set.h \
100 insn-config.h conditions.h output.h dumpfile.h \
101 $(INSN_ATTR_H) $(FLAGS_H) reload.h $(FUNCTION_H) \
102 $(EXPR_H) $(OPTABS_H) $(RECOG_H) $(CGRAPH_H) \
103 $(GGC_H) except.h $(C_PRAGMA_H) $(TM_P_H) \
104 $(TARGET_H) $(TARGET_DEF_H) debug.h langhooks.h $(DF_H) \
105 intl.h libfuncs.h $(PARAMS_H) $(OPTS_H)
106 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
107 $(srcdir)/config/nds32/nds32-cost.c
110 $(srcdir)/config/nds32/nds32-fp-as-gp.c \
111 $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
112 $(RTL_H) $(TREE_H) $(HASH_TABLE_H) $(OBSTACK_H) $(REGS_H) hard-reg-set.h \
113 insn-config.h conditions.h output.h dumpfile.h \
114 $(INSN_ATTR_H) $(FLAGS_H) reload.h $(FUNCTION_H) \
115 $(EXPR_H) $(OPTABS_H) $(RECOG_H) $(CGRAPH_H) \
116 $(GGC_H) except.h $(C_PRAGMA_H) $(TM_P_H) \
117 $(TARGET_H) $(TARGET_DEF_H) debug.h langhooks.h $(DF_H) \
118 intl.h libfuncs.h $(PARAMS_H) $(OPTS_H)
119 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
120 $(srcdir)/config/nds32/nds32-fp-as-gp.c
123 $(srcdir)/config/nds32/nds32-relax-opt.c \
124 $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
125 $(RTL_H) $(TREE_H) $(HASH_TABLE_H) $(OBSTACK_H) $(REGS_H) hard-reg-set.h \
126 insn-config.h conditions.h output.h dumpfile.h \
127 $(INSN_ATTR_H) $(FLAGS_H) reload.h $(FUNCTION_H) \
128 $(EXPR_H) $(OPTABS_H) $(RECOG_H) $(CGRAPH_H) \
129 $(GGC_H) except.h $(C_PRAGMA_H) $(TM_P_H) \
130 $(TARGET_H) $(TARGET_DEF_H) debug.h langhooks.h $(DF_H) \
131 intl.h libfuncs.h $(PARAMS_H) $(OPTS_H)
132 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
133 $(srcdir)/config/nds32/nds32-relax-opt.c
136 $(srcdir)/config/nds32/nds32-utils.c \
137 $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
138 $(RTL_H) $(TREE_H) $(HASH_TABLE_H) $(OBSTACK_H) $(REGS_H) hard-reg-set.h \
139 insn-config.h conditions.h output.h dumpfile.h \
140 $(INSN_ATTR_H) $(FLAGS_H) reload.h $(FUNCTION_H) \
141 $(EXPR_H) $(OPTABS_H) $(RECOG_H) $(CGRAPH_H) \
142 $(GGC_H) except.h $(C_PRAGMA_H) $(TM_P_H) \
143 $(TARGET_H) $(TARGET_DEF_H) debug.h langhooks.h $(DF_H) \
144 intl.h libfuncs.h $(PARAMS_H) $(OPTS_H)
145 $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
146 $(srcdir)/config/nds32/nds32-utils.c