Revision | c0c25232da12f3985041cded1bb7e761d4d0cd1e (tree) |
---|---|
Zeit | 2022-11-05 22:00:56 |
Autor | Mike Frysinger <vapier@gent...> |
Commiter | Mike Frysinger |
sim: run: move linking into top-level
Automake will run each subdir individually before moving on to the next
one. This means that the linking phase, a single threaded process, will
not run in parallel with anything else. When we have to link ~32 ports,
that's 32 link steps that don't take advantage of parallel systems. On
my really old 4-core system, this cuts a multi-target build from ~60 sec
to ~30 sec. We eventually want to move all compile+link steps to this
common dir anyways, so might as well move linking now for a nice speedup.
We use noinst_PROGRAMS instead of bin_PROGRAMS because we're taking care
of the install ourselves rather than letting automake process it.
@@ -33,6 +33,7 @@ AM_MAKEFLAGS = SIM_PRIMARY_TARGET=$(SIM_PRIMARY_TARGET) | ||
33 | 33 | ## be used consistently in local.mk files we include below. |
34 | 34 | pkginclude_HEADERS = |
35 | 35 | check_PROGRAMS = |
36 | +noinst_PROGRAMS = | |
36 | 37 | noinst_LIBRARIES = |
37 | 38 | EXTRA_PROGRAMS = |
38 | 39 |
@@ -85,9 +86,19 @@ include igen/local.mk | ||
85 | 86 | endif |
86 | 87 | include testsuite/local.mk |
87 | 88 | |
89 | +## Arch includes must come after common/local.mk. | |
90 | +if SIM_ENABLE_ARCH_aarch64 | |
91 | +include aarch64/local.mk | |
92 | +endif | |
88 | 93 | if SIM_ENABLE_ARCH_arm |
89 | 94 | include arm/local.mk |
90 | 95 | endif |
96 | +if SIM_ENABLE_ARCH_avr | |
97 | +include avr/local.mk | |
98 | +endif | |
99 | +if SIM_ENABLE_ARCH_bfin | |
100 | +include bfin/local.mk | |
101 | +endif | |
91 | 102 | if SIM_ENABLE_ARCH_bpf |
92 | 103 | include bpf/local.mk |
93 | 104 | endif |
@@ -103,9 +114,18 @@ endif | ||
103 | 114 | if SIM_ENABLE_ARCH_erc32 |
104 | 115 | include erc32/local.mk |
105 | 116 | endif |
117 | +if SIM_ENABLE_ARCH_examples | |
118 | +include example-synacor/local.mk | |
119 | +endif | |
106 | 120 | if SIM_ENABLE_ARCH_frv |
107 | 121 | include frv/local.mk |
108 | 122 | endif |
123 | +if SIM_ENABLE_ARCH_ft32 | |
124 | +include ft32/local.mk | |
125 | +endif | |
126 | +if SIM_ENABLE_ARCH_h8300 | |
127 | +include h8300/local.mk | |
128 | +endif | |
109 | 129 | if SIM_ENABLE_ARCH_iq2000 |
110 | 130 | include iq2000/local.mk |
111 | 131 | endif |
@@ -121,18 +141,39 @@ endif | ||
121 | 141 | if SIM_ENABLE_ARCH_m68hc11 |
122 | 142 | include m68hc11/local.mk |
123 | 143 | endif |
144 | +if SIM_ENABLE_ARCH_mcore | |
145 | +include mcore/local.mk | |
146 | +endif | |
147 | +if SIM_ENABLE_ARCH_microblaze | |
148 | +include microblaze/local.mk | |
149 | +endif | |
150 | +if SIM_ENABLE_ARCH_mips | |
151 | +include mips/local.mk | |
152 | +endif | |
124 | 153 | if SIM_ENABLE_ARCH_mn10300 |
125 | 154 | include mn10300/local.mk |
126 | 155 | endif |
127 | 156 | if SIM_ENABLE_ARCH_moxie |
128 | 157 | include moxie/local.mk |
129 | 158 | endif |
159 | +if SIM_ENABLE_ARCH_msp430 | |
160 | +include msp430/local.mk | |
161 | +endif | |
130 | 162 | if SIM_ENABLE_ARCH_or1k |
131 | 163 | include or1k/local.mk |
132 | 164 | endif |
133 | 165 | if SIM_ENABLE_ARCH_ppc |
134 | 166 | include ppc/local.mk |
135 | 167 | endif |
168 | +if SIM_ENABLE_ARCH_pru | |
169 | +include pru/local.mk | |
170 | +endif | |
171 | +if SIM_ENABLE_ARCH_riscv | |
172 | +include riscv/local.mk | |
173 | +endif | |
174 | +if SIM_ENABLE_ARCH_rl78 | |
175 | +include rl78/local.mk | |
176 | +endif | |
136 | 177 | if SIM_ENABLE_ARCH_rx |
137 | 178 | include rx/local.mk |
138 | 179 | endif |
@@ -143,6 +184,15 @@ if SIM_ENABLE_ARCH_v850 | ||
143 | 184 | include v850/local.mk |
144 | 185 | endif |
145 | 186 | |
187 | +## Helper targets for running make from the top-level when some subdirs still | |
188 | +## have Makefiles in subdirs. | |
189 | + | |
190 | +%/libsim.a: | $(SIM_ALL_RECURSIVE_DEPS) | |
191 | + $(MAKE) -C $(@D) $(@F) | |
192 | + | |
193 | +%/nrun.o: common/nrun.c | %/libsim.a $(SIM_ALL_RECURSIVE_DEPS) | |
194 | + $(MAKE) -C $(@D) $(@F) | |
195 | + | |
146 | 196 | all-recursive: $(SIM_ALL_RECURSIVE_DEPS) |
147 | 197 | |
148 | 198 | install-data-local: installdirs $(SIM_INSTALL_DATA_LOCAL_DEPS) |
@@ -31,6 +31,7 @@ | ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | + | |
34 | 35 | VPATH = @srcdir@ |
35 | 36 | am__is_gnu_make = { \ |
36 | 37 | if test -z '$(MAKELEVEL)'; then \ |
@@ -107,6 +108,17 @@ build_triplet = @build@ | ||
107 | 108 | host_triplet = @host@ |
108 | 109 | target_triplet = @target@ |
109 | 110 | check_PROGRAMS = $(am__EXEEXT_8) $(am__EXEEXT_9) |
111 | +noinst_PROGRAMS = $(am__EXEEXT_10) $(am__EXEEXT_11) $(am__EXEEXT_12) \ | |
112 | + $(am__EXEEXT_13) $(am__EXEEXT_14) $(am__EXEEXT_15) \ | |
113 | + $(am__EXEEXT_16) $(am__EXEEXT_17) $(am__EXEEXT_18) \ | |
114 | + $(am__EXEEXT_19) $(am__EXEEXT_20) $(am__EXEEXT_21) \ | |
115 | + $(am__EXEEXT_22) $(am__EXEEXT_23) $(am__EXEEXT_24) \ | |
116 | + $(am__EXEEXT_25) $(am__EXEEXT_26) $(am__EXEEXT_27) \ | |
117 | + $(am__EXEEXT_28) $(am__EXEEXT_29) $(am__EXEEXT_30) \ | |
118 | + $(am__EXEEXT_31) $(am__EXEEXT_32) $(am__EXEEXT_33) \ | |
119 | + $(am__EXEEXT_34) $(am__EXEEXT_35) $(am__EXEEXT_36) \ | |
120 | + $(am__EXEEXT_37) $(am__EXEEXT_38) $(am__EXEEXT_39) \ | |
121 | + $(am__EXEEXT_40) $(am__EXEEXT_41) | |
110 | 122 | EXTRA_PROGRAMS = $(am__EXEEXT_2) testsuite/common/bits-gen$(EXEEXT) \ |
111 | 123 | testsuite/common/fpu-tst$(EXEEXT) $(am__EXEEXT_3) \ |
112 | 124 | $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) \ |
@@ -124,47 +136,78 @@ TESTS = testsuite/common/bits32m0$(EXEEXT) \ | ||
124 | 136 | testsuite/common/bits64m0$(EXEEXT) \ |
125 | 137 | testsuite/common/bits64m63$(EXEEXT) \ |
126 | 138 | testsuite/common/alu-tst$(EXEEXT) |
127 | -@SIM_ENABLE_ARCH_bpf_TRUE@am__append_6 = $(bpf_BUILD_OUTPUTS) | |
128 | -@SIM_ENABLE_ARCH_bpf_TRUE@am__append_7 = $(bpf_BUILD_OUTPUTS) | |
129 | -@SIM_ENABLE_ARCH_cr16_TRUE@am__append_8 = $(cr16_BUILD_OUTPUTS) | |
130 | -@SIM_ENABLE_ARCH_cr16_TRUE@am__append_9 = cr16/gencode | |
131 | -@SIM_ENABLE_ARCH_cr16_TRUE@am__append_10 = $(cr16_BUILD_OUTPUTS) | |
132 | -@SIM_ENABLE_ARCH_cris_TRUE@am__append_11 = cris/rvdummy | |
133 | -@SIM_ENABLE_ARCH_cris_TRUE@am__append_12 = $(cris_BUILD_OUTPUTS) | |
134 | -@SIM_ENABLE_ARCH_cris_TRUE@am__append_13 = $(cris_BUILD_OUTPUTS) | |
135 | -@SIM_ENABLE_ARCH_d10v_TRUE@am__append_14 = $(d10v_BUILD_OUTPUTS) | |
136 | -@SIM_ENABLE_ARCH_d10v_TRUE@am__append_15 = d10v/gencode | |
137 | -@SIM_ENABLE_ARCH_d10v_TRUE@am__append_16 = $(d10v_BUILD_OUTPUTS) | |
138 | -@SIM_ENABLE_ARCH_erc32_TRUE@am__append_17 = sim-%D-install-exec-local | |
139 | -@SIM_ENABLE_ARCH_erc32_TRUE@am__append_18 = sim-erc32-uninstall-local | |
140 | -@SIM_ENABLE_ARCH_frv_TRUE@am__append_19 = $(frv_BUILD_OUTPUTS) | |
141 | -@SIM_ENABLE_ARCH_frv_TRUE@am__append_20 = $(frv_BUILD_OUTPUTS) | |
142 | -@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_21 = $(iq2000_BUILD_OUTPUTS) | |
143 | -@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_22 = $(iq2000_BUILD_OUTPUTS) | |
144 | -@SIM_ENABLE_ARCH_lm32_TRUE@am__append_23 = $(lm32_BUILD_OUTPUTS) | |
145 | -@SIM_ENABLE_ARCH_lm32_TRUE@am__append_24 = $(lm32_BUILD_OUTPUTS) | |
146 | -@SIM_ENABLE_ARCH_m32c_TRUE@am__append_25 = $(m32c_BUILD_OUTPUTS) | |
147 | -@SIM_ENABLE_ARCH_m32c_TRUE@am__append_26 = m32c/opc2c | |
148 | -@SIM_ENABLE_ARCH_m32c_TRUE@am__append_27 = \ | |
139 | +@SIM_ENABLE_ARCH_aarch64_TRUE@am__append_6 = aarch64/run | |
140 | +@SIM_ENABLE_ARCH_arm_TRUE@am__append_7 = arm/run | |
141 | +@SIM_ENABLE_ARCH_avr_TRUE@am__append_8 = avr/run | |
142 | +@SIM_ENABLE_ARCH_bfin_TRUE@am__append_9 = bfin/run | |
143 | +@SIM_ENABLE_ARCH_bpf_TRUE@am__append_10 = bpf/run | |
144 | +@SIM_ENABLE_ARCH_bpf_TRUE@am__append_11 = $(bpf_BUILD_OUTPUTS) | |
145 | +@SIM_ENABLE_ARCH_bpf_TRUE@am__append_12 = $(bpf_BUILD_OUTPUTS) | |
146 | +@SIM_ENABLE_ARCH_cr16_TRUE@am__append_13 = cr16/run | |
147 | +@SIM_ENABLE_ARCH_cr16_TRUE@am__append_14 = $(cr16_BUILD_OUTPUTS) | |
148 | +@SIM_ENABLE_ARCH_cr16_TRUE@am__append_15 = cr16/gencode | |
149 | +@SIM_ENABLE_ARCH_cr16_TRUE@am__append_16 = $(cr16_BUILD_OUTPUTS) | |
150 | +@SIM_ENABLE_ARCH_cris_TRUE@am__append_17 = cris/run | |
151 | +@SIM_ENABLE_ARCH_cris_TRUE@am__append_18 = cris/rvdummy | |
152 | +@SIM_ENABLE_ARCH_cris_TRUE@am__append_19 = $(cris_BUILD_OUTPUTS) | |
153 | +@SIM_ENABLE_ARCH_cris_TRUE@am__append_20 = $(cris_BUILD_OUTPUTS) | |
154 | +@SIM_ENABLE_ARCH_d10v_TRUE@am__append_21 = d10v/run | |
155 | +@SIM_ENABLE_ARCH_d10v_TRUE@am__append_22 = $(d10v_BUILD_OUTPUTS) | |
156 | +@SIM_ENABLE_ARCH_d10v_TRUE@am__append_23 = d10v/gencode | |
157 | +@SIM_ENABLE_ARCH_d10v_TRUE@am__append_24 = $(d10v_BUILD_OUTPUTS) | |
158 | +@SIM_ENABLE_ARCH_erc32_TRUE@am__append_25 = erc32/run erc32/sis | |
159 | +@SIM_ENABLE_ARCH_erc32_TRUE@am__append_26 = sim-%D-install-exec-local | |
160 | +@SIM_ENABLE_ARCH_erc32_TRUE@am__append_27 = sim-erc32-uninstall-local | |
161 | +@SIM_ENABLE_ARCH_examples_TRUE@am__append_28 = example-synacor/run | |
162 | +@SIM_ENABLE_ARCH_frv_TRUE@am__append_29 = frv/run | |
163 | +@SIM_ENABLE_ARCH_frv_TRUE@am__append_30 = $(frv_BUILD_OUTPUTS) | |
164 | +@SIM_ENABLE_ARCH_frv_TRUE@am__append_31 = $(frv_BUILD_OUTPUTS) | |
165 | +@SIM_ENABLE_ARCH_ft32_TRUE@am__append_32 = ft32/run | |
166 | +@SIM_ENABLE_ARCH_h8300_TRUE@am__append_33 = h8300/run | |
167 | +@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_34 = iq2000/run | |
168 | +@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_35 = $(iq2000_BUILD_OUTPUTS) | |
169 | +@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_36 = $(iq2000_BUILD_OUTPUTS) | |
170 | +@SIM_ENABLE_ARCH_lm32_TRUE@am__append_37 = lm32/run | |
171 | +@SIM_ENABLE_ARCH_lm32_TRUE@am__append_38 = $(lm32_BUILD_OUTPUTS) | |
172 | +@SIM_ENABLE_ARCH_lm32_TRUE@am__append_39 = $(lm32_BUILD_OUTPUTS) | |
173 | +@SIM_ENABLE_ARCH_m32c_TRUE@am__append_40 = m32c/run | |
174 | +@SIM_ENABLE_ARCH_m32c_TRUE@am__append_41 = $(m32c_BUILD_OUTPUTS) | |
175 | +@SIM_ENABLE_ARCH_m32c_TRUE@am__append_42 = m32c/opc2c | |
176 | +@SIM_ENABLE_ARCH_m32c_TRUE@am__append_43 = \ | |
149 | 177 | @SIM_ENABLE_ARCH_m32c_TRUE@ $(m32c_BUILD_OUTPUTS) \ |
150 | 178 | @SIM_ENABLE_ARCH_m32c_TRUE@ m32c/m32c.c.log \ |
151 | 179 | @SIM_ENABLE_ARCH_m32c_TRUE@ m32c/r8c.c.log |
152 | 180 | |
153 | -@SIM_ENABLE_ARCH_m32r_TRUE@am__append_28 = $(m32r_BUILD_OUTPUTS) | |
154 | -@SIM_ENABLE_ARCH_m32r_TRUE@am__append_29 = $(m32r_BUILD_OUTPUTS) | |
155 | -@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_30 = $(m68hc11_BUILD_OUTPUTS) | |
156 | -@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_31 = m68hc11/gencode | |
157 | -@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_32 = $(m68hc11_BUILD_OUTPUTS) | |
158 | -@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_33 = $(mn10300_BUILD_OUTPUTS) | |
159 | -@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_34 = $(mn10300_BUILD_OUTPUTS) | |
160 | -@SIM_ENABLE_ARCH_moxie_TRUE@am__append_35 = moxie/$(am__dirstamp) | |
161 | -@SIM_ENABLE_ARCH_or1k_TRUE@am__append_36 = $(or1k_BUILD_OUTPUTS) | |
162 | -@SIM_ENABLE_ARCH_or1k_TRUE@am__append_37 = $(or1k_BUILD_OUTPUTS) | |
163 | -@SIM_ENABLE_ARCH_sh_TRUE@am__append_38 = $(sh_BUILD_OUTPUTS) | |
164 | -@SIM_ENABLE_ARCH_sh_TRUE@am__append_39 = sh/gencode | |
165 | -@SIM_ENABLE_ARCH_sh_TRUE@am__append_40 = $(sh_BUILD_OUTPUTS) | |
166 | -@SIM_ENABLE_ARCH_v850_TRUE@am__append_41 = $(v850_BUILD_OUTPUTS) | |
167 | -@SIM_ENABLE_ARCH_v850_TRUE@am__append_42 = $(v850_BUILD_OUTPUTS) | |
181 | +@SIM_ENABLE_ARCH_m32r_TRUE@am__append_44 = m32r/run | |
182 | +@SIM_ENABLE_ARCH_m32r_TRUE@am__append_45 = $(m32r_BUILD_OUTPUTS) | |
183 | +@SIM_ENABLE_ARCH_m32r_TRUE@am__append_46 = $(m32r_BUILD_OUTPUTS) | |
184 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_47 = m68hc11/run | |
185 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_48 = $(m68hc11_BUILD_OUTPUTS) | |
186 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_49 = m68hc11/gencode | |
187 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_50 = $(m68hc11_BUILD_OUTPUTS) | |
188 | +@SIM_ENABLE_ARCH_mcore_TRUE@am__append_51 = mcore/run | |
189 | +@SIM_ENABLE_ARCH_microblaze_TRUE@am__append_52 = microblaze/run | |
190 | +@SIM_ENABLE_ARCH_mips_TRUE@am__append_53 = mips/run | |
191 | +@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_54 = mn10300/run | |
192 | +@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_55 = $(mn10300_BUILD_OUTPUTS) | |
193 | +@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_56 = $(mn10300_BUILD_OUTPUTS) | |
194 | +@SIM_ENABLE_ARCH_moxie_TRUE@am__append_57 = moxie/run | |
195 | +@SIM_ENABLE_ARCH_msp430_TRUE@am__append_58 = msp430/run | |
196 | +@SIM_ENABLE_ARCH_or1k_TRUE@am__append_59 = or1k/run | |
197 | +@SIM_ENABLE_ARCH_or1k_TRUE@am__append_60 = $(or1k_BUILD_OUTPUTS) | |
198 | +@SIM_ENABLE_ARCH_or1k_TRUE@am__append_61 = $(or1k_BUILD_OUTPUTS) | |
199 | +@SIM_ENABLE_ARCH_ppc_TRUE@am__append_62 = ppc/run ppc/psim | |
200 | +@SIM_ENABLE_ARCH_pru_TRUE@am__append_63 = pru/run | |
201 | +@SIM_ENABLE_ARCH_riscv_TRUE@am__append_64 = riscv/run | |
202 | +@SIM_ENABLE_ARCH_rl78_TRUE@am__append_65 = rl78/run | |
203 | +@SIM_ENABLE_ARCH_rx_TRUE@am__append_66 = rx/run | |
204 | +@SIM_ENABLE_ARCH_sh_TRUE@am__append_67 = sh/run | |
205 | +@SIM_ENABLE_ARCH_sh_TRUE@am__append_68 = $(sh_BUILD_OUTPUTS) | |
206 | +@SIM_ENABLE_ARCH_sh_TRUE@am__append_69 = sh/gencode | |
207 | +@SIM_ENABLE_ARCH_sh_TRUE@am__append_70 = $(sh_BUILD_OUTPUTS) | |
208 | +@SIM_ENABLE_ARCH_v850_TRUE@am__append_71 = v850/run | |
209 | +@SIM_ENABLE_ARCH_v850_TRUE@am__append_72 = $(v850_BUILD_OUTPUTS) | |
210 | +@SIM_ENABLE_ARCH_v850_TRUE@am__append_73 = $(v850_BUILD_OUTPUTS) | |
168 | 211 | subdir = . |
169 | 212 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
170 | 213 | am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \ |
@@ -271,24 +314,127 @@ am__EXEEXT_8 = testsuite/common/bits32m0$(EXEEXT) \ | ||
271 | 314 | testsuite/common/bits64m63$(EXEEXT) \ |
272 | 315 | testsuite/common/alu-tst$(EXEEXT) |
273 | 316 | @SIM_ENABLE_ARCH_cris_TRUE@am__EXEEXT_9 = cris/rvdummy$(EXEEXT) |
317 | +@SIM_ENABLE_ARCH_aarch64_TRUE@am__EXEEXT_10 = aarch64/run$(EXEEXT) | |
318 | +@SIM_ENABLE_ARCH_arm_TRUE@am__EXEEXT_11 = arm/run$(EXEEXT) | |
319 | +@SIM_ENABLE_ARCH_avr_TRUE@am__EXEEXT_12 = avr/run$(EXEEXT) | |
320 | +@SIM_ENABLE_ARCH_bfin_TRUE@am__EXEEXT_13 = bfin/run$(EXEEXT) | |
321 | +@SIM_ENABLE_ARCH_bpf_TRUE@am__EXEEXT_14 = bpf/run$(EXEEXT) | |
322 | +@SIM_ENABLE_ARCH_cr16_TRUE@am__EXEEXT_15 = cr16/run$(EXEEXT) | |
323 | +@SIM_ENABLE_ARCH_cris_TRUE@am__EXEEXT_16 = cris/run$(EXEEXT) | |
324 | +@SIM_ENABLE_ARCH_d10v_TRUE@am__EXEEXT_17 = d10v/run$(EXEEXT) | |
325 | +@SIM_ENABLE_ARCH_erc32_TRUE@am__EXEEXT_18 = erc32/run$(EXEEXT) \ | |
326 | +@SIM_ENABLE_ARCH_erc32_TRUE@ erc32/sis$(EXEEXT) | |
327 | +@SIM_ENABLE_ARCH_examples_TRUE@am__EXEEXT_19 = \ | |
328 | +@SIM_ENABLE_ARCH_examples_TRUE@ example-synacor/run$(EXEEXT) | |
329 | +@SIM_ENABLE_ARCH_frv_TRUE@am__EXEEXT_20 = frv/run$(EXEEXT) | |
330 | +@SIM_ENABLE_ARCH_ft32_TRUE@am__EXEEXT_21 = ft32/run$(EXEEXT) | |
331 | +@SIM_ENABLE_ARCH_h8300_TRUE@am__EXEEXT_22 = h8300/run$(EXEEXT) | |
332 | +@SIM_ENABLE_ARCH_iq2000_TRUE@am__EXEEXT_23 = iq2000/run$(EXEEXT) | |
333 | +@SIM_ENABLE_ARCH_lm32_TRUE@am__EXEEXT_24 = lm32/run$(EXEEXT) | |
334 | +@SIM_ENABLE_ARCH_m32c_TRUE@am__EXEEXT_25 = m32c/run$(EXEEXT) | |
335 | +@SIM_ENABLE_ARCH_m32r_TRUE@am__EXEEXT_26 = m32r/run$(EXEEXT) | |
336 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@am__EXEEXT_27 = m68hc11/run$(EXEEXT) | |
337 | +@SIM_ENABLE_ARCH_mcore_TRUE@am__EXEEXT_28 = mcore/run$(EXEEXT) | |
338 | +@SIM_ENABLE_ARCH_microblaze_TRUE@am__EXEEXT_29 = \ | |
339 | +@SIM_ENABLE_ARCH_microblaze_TRUE@ microblaze/run$(EXEEXT) | |
340 | +@SIM_ENABLE_ARCH_mips_TRUE@am__EXEEXT_30 = mips/run$(EXEEXT) | |
341 | +@SIM_ENABLE_ARCH_mn10300_TRUE@am__EXEEXT_31 = mn10300/run$(EXEEXT) | |
342 | +@SIM_ENABLE_ARCH_moxie_TRUE@am__EXEEXT_32 = moxie/run$(EXEEXT) | |
343 | +@SIM_ENABLE_ARCH_msp430_TRUE@am__EXEEXT_33 = msp430/run$(EXEEXT) | |
344 | +@SIM_ENABLE_ARCH_or1k_TRUE@am__EXEEXT_34 = or1k/run$(EXEEXT) | |
345 | +@SIM_ENABLE_ARCH_ppc_TRUE@am__EXEEXT_35 = ppc/run$(EXEEXT) \ | |
346 | +@SIM_ENABLE_ARCH_ppc_TRUE@ ppc/psim$(EXEEXT) | |
347 | +@SIM_ENABLE_ARCH_pru_TRUE@am__EXEEXT_36 = pru/run$(EXEEXT) | |
348 | +@SIM_ENABLE_ARCH_riscv_TRUE@am__EXEEXT_37 = riscv/run$(EXEEXT) | |
349 | +@SIM_ENABLE_ARCH_rl78_TRUE@am__EXEEXT_38 = rl78/run$(EXEEXT) | |
350 | +@SIM_ENABLE_ARCH_rx_TRUE@am__EXEEXT_39 = rx/run$(EXEEXT) | |
351 | +@SIM_ENABLE_ARCH_sh_TRUE@am__EXEEXT_40 = sh/run$(EXEEXT) | |
352 | +@SIM_ENABLE_ARCH_v850_TRUE@am__EXEEXT_41 = v850/run$(EXEEXT) | |
353 | +PROGRAMS = $(noinst_PROGRAMS) | |
354 | +am_aarch64_run_OBJECTS = | |
355 | +aarch64_run_OBJECTS = $(am_aarch64_run_OBJECTS) | |
356 | +am__DEPENDENCIES_1 = $(SIM_COMMON_LIB) $(BFD_LIB) $(OPCODES_LIB) \ | |
357 | + $(LIBIBERTY_LIB) | |
358 | +@SIM_ENABLE_ARCH_aarch64_TRUE@aarch64_run_DEPENDENCIES = \ | |
359 | +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/nrun.o aarch64/libsim.a \ | |
360 | +@SIM_ENABLE_ARCH_aarch64_TRUE@ $(am__DEPENDENCIES_1) | |
361 | +AM_V_lt = $(am__v_lt_@AM_V@) | |
362 | +am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) | |
363 | +am__v_lt_0 = --silent | |
364 | +am__v_lt_1 = | |
365 | +am_arm_run_OBJECTS = | |
366 | +arm_run_OBJECTS = $(am_arm_run_OBJECTS) | |
367 | +@SIM_ENABLE_ARCH_arm_TRUE@arm_run_DEPENDENCIES = arm/nrun.o \ | |
368 | +@SIM_ENABLE_ARCH_arm_TRUE@ arm/libsim.a $(am__DEPENDENCIES_1) | |
369 | +am_avr_run_OBJECTS = | |
370 | +avr_run_OBJECTS = $(am_avr_run_OBJECTS) | |
371 | +@SIM_ENABLE_ARCH_avr_TRUE@avr_run_DEPENDENCIES = avr/nrun.o \ | |
372 | +@SIM_ENABLE_ARCH_avr_TRUE@ avr/libsim.a $(am__DEPENDENCIES_1) | |
373 | +am_bfin_run_OBJECTS = | |
374 | +bfin_run_OBJECTS = $(am_bfin_run_OBJECTS) | |
375 | +@SIM_ENABLE_ARCH_bfin_TRUE@bfin_run_DEPENDENCIES = bfin/nrun.o \ | |
376 | +@SIM_ENABLE_ARCH_bfin_TRUE@ bfin/libsim.a $(am__DEPENDENCIES_1) | |
377 | +am_bpf_run_OBJECTS = | |
378 | +bpf_run_OBJECTS = $(am_bpf_run_OBJECTS) | |
379 | +@SIM_ENABLE_ARCH_bpf_TRUE@bpf_run_DEPENDENCIES = bpf/nrun.o \ | |
380 | +@SIM_ENABLE_ARCH_bpf_TRUE@ bpf/libsim.a $(am__DEPENDENCIES_1) | |
274 | 381 | @SIM_ENABLE_ARCH_cr16_TRUE@am_cr16_gencode_OBJECTS = \ |
275 | 382 | @SIM_ENABLE_ARCH_cr16_TRUE@ cr16/gencode.$(OBJEXT) |
276 | 383 | cr16_gencode_OBJECTS = $(am_cr16_gencode_OBJECTS) |
277 | 384 | @SIM_ENABLE_ARCH_cr16_TRUE@cr16_gencode_DEPENDENCIES = \ |
278 | 385 | @SIM_ENABLE_ARCH_cr16_TRUE@ cr16/cr16-opc.o |
279 | -AM_V_lt = $(am__v_lt_@AM_V@) | |
280 | -am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) | |
281 | -am__v_lt_0 = --silent | |
282 | -am__v_lt_1 = | |
386 | +am_cr16_run_OBJECTS = | |
387 | +cr16_run_OBJECTS = $(am_cr16_run_OBJECTS) | |
388 | +@SIM_ENABLE_ARCH_cr16_TRUE@cr16_run_DEPENDENCIES = cr16/nrun.o \ | |
389 | +@SIM_ENABLE_ARCH_cr16_TRUE@ cr16/libsim.a $(am__DEPENDENCIES_1) | |
390 | +am_cris_run_OBJECTS = | |
391 | +cris_run_OBJECTS = $(am_cris_run_OBJECTS) | |
392 | +@SIM_ENABLE_ARCH_cris_TRUE@cris_run_DEPENDENCIES = cris/nrun.o \ | |
393 | +@SIM_ENABLE_ARCH_cris_TRUE@ cris/libsim.a $(am__DEPENDENCIES_1) | |
283 | 394 | @SIM_ENABLE_ARCH_cris_TRUE@am_cris_rvdummy_OBJECTS = \ |
284 | 395 | @SIM_ENABLE_ARCH_cris_TRUE@ cris/rvdummy.$(OBJEXT) |
285 | 396 | cris_rvdummy_OBJECTS = $(am_cris_rvdummy_OBJECTS) |
286 | -cris_rvdummy_DEPENDENCIES = | |
397 | +@SIM_ENABLE_ARCH_cris_TRUE@cris_rvdummy_DEPENDENCIES = \ | |
398 | +@SIM_ENABLE_ARCH_cris_TRUE@ $(LIBIBERTY_LIB) | |
287 | 399 | @SIM_ENABLE_ARCH_d10v_TRUE@am_d10v_gencode_OBJECTS = \ |
288 | 400 | @SIM_ENABLE_ARCH_d10v_TRUE@ d10v/gencode.$(OBJEXT) |
289 | 401 | d10v_gencode_OBJECTS = $(am_d10v_gencode_OBJECTS) |
290 | 402 | @SIM_ENABLE_ARCH_d10v_TRUE@d10v_gencode_DEPENDENCIES = \ |
291 | 403 | @SIM_ENABLE_ARCH_d10v_TRUE@ d10v/d10v-opc.o |
404 | +am_d10v_run_OBJECTS = | |
405 | +d10v_run_OBJECTS = $(am_d10v_run_OBJECTS) | |
406 | +@SIM_ENABLE_ARCH_d10v_TRUE@d10v_run_DEPENDENCIES = d10v/nrun.o \ | |
407 | +@SIM_ENABLE_ARCH_d10v_TRUE@ d10v/libsim.a $(am__DEPENDENCIES_1) | |
408 | +am_erc32_run_OBJECTS = | |
409 | +erc32_run_OBJECTS = $(am_erc32_run_OBJECTS) | |
410 | +am__DEPENDENCIES_2 = | |
411 | +@SIM_ENABLE_ARCH_erc32_TRUE@erc32_run_DEPENDENCIES = erc32/sis.o \ | |
412 | +@SIM_ENABLE_ARCH_erc32_TRUE@ erc32/libsim.a \ | |
413 | +@SIM_ENABLE_ARCH_erc32_TRUE@ $(am__DEPENDENCIES_1) \ | |
414 | +@SIM_ENABLE_ARCH_erc32_TRUE@ $(am__DEPENDENCIES_2) \ | |
415 | +@SIM_ENABLE_ARCH_erc32_TRUE@ $(am__DEPENDENCIES_2) | |
416 | +erc32_sis_SOURCES = erc32/sis.c | |
417 | +erc32_sis_OBJECTS = erc32/sis.$(OBJEXT) | |
418 | +erc32_sis_LDADD = $(LDADD) | |
419 | +am_example_synacor_run_OBJECTS = | |
420 | +example_synacor_run_OBJECTS = $(am_example_synacor_run_OBJECTS) | |
421 | +@SIM_ENABLE_ARCH_examples_TRUE@example_synacor_run_DEPENDENCIES = \ | |
422 | +@SIM_ENABLE_ARCH_examples_TRUE@ example-synacor/nrun.o \ | |
423 | +@SIM_ENABLE_ARCH_examples_TRUE@ example-synacor/libsim.a \ | |
424 | +@SIM_ENABLE_ARCH_examples_TRUE@ $(am__DEPENDENCIES_1) | |
425 | +am_frv_run_OBJECTS = | |
426 | +frv_run_OBJECTS = $(am_frv_run_OBJECTS) | |
427 | +@SIM_ENABLE_ARCH_frv_TRUE@frv_run_DEPENDENCIES = frv/nrun.o \ | |
428 | +@SIM_ENABLE_ARCH_frv_TRUE@ frv/libsim.a $(am__DEPENDENCIES_1) | |
429 | +am_ft32_run_OBJECTS = | |
430 | +ft32_run_OBJECTS = $(am_ft32_run_OBJECTS) | |
431 | +@SIM_ENABLE_ARCH_ft32_TRUE@ft32_run_DEPENDENCIES = ft32/nrun.o \ | |
432 | +@SIM_ENABLE_ARCH_ft32_TRUE@ ft32/libsim.a $(am__DEPENDENCIES_1) | |
433 | +am_h8300_run_OBJECTS = | |
434 | +h8300_run_OBJECTS = $(am_h8300_run_OBJECTS) | |
435 | +@SIM_ENABLE_ARCH_h8300_TRUE@h8300_run_DEPENDENCIES = h8300/nrun.o \ | |
436 | +@SIM_ENABLE_ARCH_h8300_TRUE@ h8300/libsim.a \ | |
437 | +@SIM_ENABLE_ARCH_h8300_TRUE@ $(am__DEPENDENCIES_1) | |
292 | 438 | am_igen_filter_OBJECTS = |
293 | 439 | igen_filter_OBJECTS = $(am_igen_filter_OBJECTS) |
294 | 440 | @SIM_ENABLE_IGEN_TRUE@igen_filter_DEPENDENCIES = igen/filter-main.o \ |
@@ -316,17 +462,101 @@ am_igen_table_OBJECTS = | ||
316 | 462 | igen_table_OBJECTS = $(am_igen_table_OBJECTS) |
317 | 463 | @SIM_ENABLE_IGEN_TRUE@igen_table_DEPENDENCIES = igen/table-main.o \ |
318 | 464 | @SIM_ENABLE_IGEN_TRUE@ igen/libigen.a |
465 | +am_iq2000_run_OBJECTS = | |
466 | +iq2000_run_OBJECTS = $(am_iq2000_run_OBJECTS) | |
467 | +@SIM_ENABLE_ARCH_iq2000_TRUE@iq2000_run_DEPENDENCIES = iq2000/nrun.o \ | |
468 | +@SIM_ENABLE_ARCH_iq2000_TRUE@ iq2000/libsim.a \ | |
469 | +@SIM_ENABLE_ARCH_iq2000_TRUE@ $(am__DEPENDENCIES_1) | |
470 | +am_lm32_run_OBJECTS = | |
471 | +lm32_run_OBJECTS = $(am_lm32_run_OBJECTS) | |
472 | +@SIM_ENABLE_ARCH_lm32_TRUE@lm32_run_DEPENDENCIES = lm32/nrun.o \ | |
473 | +@SIM_ENABLE_ARCH_lm32_TRUE@ lm32/libsim.a $(am__DEPENDENCIES_1) | |
319 | 474 | @SIM_ENABLE_ARCH_m32c_TRUE@am_m32c_opc2c_OBJECTS = \ |
320 | 475 | @SIM_ENABLE_ARCH_m32c_TRUE@ m32c/opc2c.$(OBJEXT) |
321 | 476 | m32c_opc2c_OBJECTS = $(am_m32c_opc2c_OBJECTS) |
322 | 477 | m32c_opc2c_LDADD = $(LDADD) |
478 | +am_m32c_run_OBJECTS = | |
479 | +m32c_run_OBJECTS = $(am_m32c_run_OBJECTS) | |
480 | +@SIM_ENABLE_ARCH_m32c_TRUE@m32c_run_DEPENDENCIES = m32c/main.o \ | |
481 | +@SIM_ENABLE_ARCH_m32c_TRUE@ m32c/libsim.a $(am__DEPENDENCIES_1) | |
482 | +am_m32r_run_OBJECTS = | |
483 | +m32r_run_OBJECTS = $(am_m32r_run_OBJECTS) | |
484 | +@SIM_ENABLE_ARCH_m32r_TRUE@m32r_run_DEPENDENCIES = m32r/nrun.o \ | |
485 | +@SIM_ENABLE_ARCH_m32r_TRUE@ m32r/libsim.a $(am__DEPENDENCIES_1) | |
323 | 486 | @SIM_ENABLE_ARCH_m68hc11_TRUE@am_m68hc11_gencode_OBJECTS = \ |
324 | 487 | @SIM_ENABLE_ARCH_m68hc11_TRUE@ m68hc11/gencode.$(OBJEXT) |
325 | 488 | m68hc11_gencode_OBJECTS = $(am_m68hc11_gencode_OBJECTS) |
326 | 489 | m68hc11_gencode_LDADD = $(LDADD) |
490 | +am_m68hc11_run_OBJECTS = | |
491 | +m68hc11_run_OBJECTS = $(am_m68hc11_run_OBJECTS) | |
492 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@m68hc11_run_DEPENDENCIES = \ | |
493 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@ m68hc11/nrun.o m68hc11/libsim.a \ | |
494 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@ $(am__DEPENDENCIES_1) | |
495 | +am_mcore_run_OBJECTS = | |
496 | +mcore_run_OBJECTS = $(am_mcore_run_OBJECTS) | |
497 | +@SIM_ENABLE_ARCH_mcore_TRUE@mcore_run_DEPENDENCIES = mcore/nrun.o \ | |
498 | +@SIM_ENABLE_ARCH_mcore_TRUE@ mcore/libsim.a \ | |
499 | +@SIM_ENABLE_ARCH_mcore_TRUE@ $(am__DEPENDENCIES_1) | |
500 | +am_microblaze_run_OBJECTS = | |
501 | +microblaze_run_OBJECTS = $(am_microblaze_run_OBJECTS) | |
502 | +@SIM_ENABLE_ARCH_microblaze_TRUE@microblaze_run_DEPENDENCIES = \ | |
503 | +@SIM_ENABLE_ARCH_microblaze_TRUE@ microblaze/nrun.o \ | |
504 | +@SIM_ENABLE_ARCH_microblaze_TRUE@ microblaze/libsim.a \ | |
505 | +@SIM_ENABLE_ARCH_microblaze_TRUE@ $(am__DEPENDENCIES_1) | |
506 | +am_mips_run_OBJECTS = | |
507 | +mips_run_OBJECTS = $(am_mips_run_OBJECTS) | |
508 | +@SIM_ENABLE_ARCH_mips_TRUE@mips_run_DEPENDENCIES = mips/nrun.o \ | |
509 | +@SIM_ENABLE_ARCH_mips_TRUE@ mips/libsim.a $(am__DEPENDENCIES_1) | |
510 | +am_mn10300_run_OBJECTS = | |
511 | +mn10300_run_OBJECTS = $(am_mn10300_run_OBJECTS) | |
512 | +@SIM_ENABLE_ARCH_mn10300_TRUE@mn10300_run_DEPENDENCIES = \ | |
513 | +@SIM_ENABLE_ARCH_mn10300_TRUE@ mn10300/nrun.o mn10300/libsim.a \ | |
514 | +@SIM_ENABLE_ARCH_mn10300_TRUE@ $(am__DEPENDENCIES_1) | |
515 | +am_moxie_run_OBJECTS = | |
516 | +moxie_run_OBJECTS = $(am_moxie_run_OBJECTS) | |
517 | +@SIM_ENABLE_ARCH_moxie_TRUE@moxie_run_DEPENDENCIES = moxie/nrun.o \ | |
518 | +@SIM_ENABLE_ARCH_moxie_TRUE@ moxie/libsim.a \ | |
519 | +@SIM_ENABLE_ARCH_moxie_TRUE@ $(am__DEPENDENCIES_1) | |
520 | +am_msp430_run_OBJECTS = | |
521 | +msp430_run_OBJECTS = $(am_msp430_run_OBJECTS) | |
522 | +@SIM_ENABLE_ARCH_msp430_TRUE@msp430_run_DEPENDENCIES = msp430/nrun.o \ | |
523 | +@SIM_ENABLE_ARCH_msp430_TRUE@ msp430/libsim.a \ | |
524 | +@SIM_ENABLE_ARCH_msp430_TRUE@ $(am__DEPENDENCIES_1) | |
525 | +am_or1k_run_OBJECTS = | |
526 | +or1k_run_OBJECTS = $(am_or1k_run_OBJECTS) | |
527 | +@SIM_ENABLE_ARCH_or1k_TRUE@or1k_run_DEPENDENCIES = or1k/nrun.o \ | |
528 | +@SIM_ENABLE_ARCH_or1k_TRUE@ or1k/libsim.a $(am__DEPENDENCIES_1) | |
529 | +ppc_psim_SOURCES = ppc/psim.c | |
530 | +ppc_psim_OBJECTS = ppc/psim.$(OBJEXT) | |
531 | +ppc_psim_LDADD = $(LDADD) | |
532 | +am_ppc_run_OBJECTS = | |
533 | +ppc_run_OBJECTS = $(am_ppc_run_OBJECTS) | |
534 | +@SIM_ENABLE_ARCH_ppc_TRUE@ppc_run_DEPENDENCIES = ppc/main.o \ | |
535 | +@SIM_ENABLE_ARCH_ppc_TRUE@ ppc/libsim.a $(am__DEPENDENCIES_1) | |
536 | +am_pru_run_OBJECTS = | |
537 | +pru_run_OBJECTS = $(am_pru_run_OBJECTS) | |
538 | +@SIM_ENABLE_ARCH_pru_TRUE@pru_run_DEPENDENCIES = pru/nrun.o \ | |
539 | +@SIM_ENABLE_ARCH_pru_TRUE@ pru/libsim.a $(am__DEPENDENCIES_1) | |
540 | +am_riscv_run_OBJECTS = | |
541 | +riscv_run_OBJECTS = $(am_riscv_run_OBJECTS) | |
542 | +@SIM_ENABLE_ARCH_riscv_TRUE@riscv_run_DEPENDENCIES = riscv/nrun.o \ | |
543 | +@SIM_ENABLE_ARCH_riscv_TRUE@ riscv/libsim.a \ | |
544 | +@SIM_ENABLE_ARCH_riscv_TRUE@ $(am__DEPENDENCIES_1) | |
545 | +am_rl78_run_OBJECTS = | |
546 | +rl78_run_OBJECTS = $(am_rl78_run_OBJECTS) | |
547 | +@SIM_ENABLE_ARCH_rl78_TRUE@rl78_run_DEPENDENCIES = rl78/main.o \ | |
548 | +@SIM_ENABLE_ARCH_rl78_TRUE@ rl78/libsim.a $(am__DEPENDENCIES_1) | |
549 | +am_rx_run_OBJECTS = | |
550 | +rx_run_OBJECTS = $(am_rx_run_OBJECTS) | |
551 | +@SIM_ENABLE_ARCH_rx_TRUE@rx_run_DEPENDENCIES = rx/main.o rx/libsim.a \ | |
552 | +@SIM_ENABLE_ARCH_rx_TRUE@ $(am__DEPENDENCIES_1) | |
327 | 553 | @SIM_ENABLE_ARCH_sh_TRUE@am_sh_gencode_OBJECTS = sh/gencode.$(OBJEXT) |
328 | 554 | sh_gencode_OBJECTS = $(am_sh_gencode_OBJECTS) |
329 | 555 | sh_gencode_LDADD = $(LDADD) |
556 | +am_sh_run_OBJECTS = | |
557 | +sh_run_OBJECTS = $(am_sh_run_OBJECTS) | |
558 | +@SIM_ENABLE_ARCH_sh_TRUE@sh_run_DEPENDENCIES = sh/nrun.o sh/libsim.a \ | |
559 | +@SIM_ENABLE_ARCH_sh_TRUE@ $(am__DEPENDENCIES_1) | |
330 | 560 | testsuite_common_alu_tst_SOURCES = testsuite/common/alu-tst.c |
331 | 561 | testsuite_common_alu_tst_OBJECTS = testsuite/common/alu-tst.$(OBJEXT) |
332 | 562 | testsuite_common_alu_tst_LDADD = $(LDADD) |
@@ -353,6 +583,10 @@ testsuite_common_bits64m63_LDADD = $(LDADD) | ||
353 | 583 | testsuite_common_fpu_tst_SOURCES = testsuite/common/fpu-tst.c |
354 | 584 | testsuite_common_fpu_tst_OBJECTS = testsuite/common/fpu-tst.$(OBJEXT) |
355 | 585 | testsuite_common_fpu_tst_LDADD = $(LDADD) |
586 | +am_v850_run_OBJECTS = | |
587 | +v850_run_OBJECTS = $(am_v850_run_OBJECTS) | |
588 | +@SIM_ENABLE_ARCH_v850_TRUE@v850_run_DEPENDENCIES = v850/nrun.o \ | |
589 | +@SIM_ENABLE_ARCH_v850_TRUE@ v850/libsim.a $(am__DEPENDENCIES_1) | |
356 | 590 | AM_V_P = $(am__v_P_@AM_V@) |
357 | 591 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) |
358 | 592 | am__v_P_0 = false |
@@ -388,16 +622,30 @@ am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | ||
388 | 622 | am__v_CCLD_0 = @echo " CCLD " $@; |
389 | 623 | am__v_CCLD_1 = |
390 | 624 | SOURCES = $(common_libcommon_a_SOURCES) $(igen_libigen_a_SOURCES) \ |
391 | - $(cr16_gencode_SOURCES) $(cris_rvdummy_SOURCES) \ | |
392 | - $(d10v_gencode_SOURCES) $(igen_filter_SOURCES) \ | |
393 | - $(igen_gen_SOURCES) $(igen_igen_SOURCES) \ | |
394 | - $(igen_ld_cache_SOURCES) $(igen_ld_decode_SOURCES) \ | |
395 | - $(igen_ld_insn_SOURCES) $(igen_table_SOURCES) \ | |
396 | - $(m32c_opc2c_SOURCES) $(m68hc11_gencode_SOURCES) \ | |
397 | - $(sh_gencode_SOURCES) testsuite/common/alu-tst.c \ | |
625 | + $(aarch64_run_SOURCES) $(arm_run_SOURCES) $(avr_run_SOURCES) \ | |
626 | + $(bfin_run_SOURCES) $(bpf_run_SOURCES) $(cr16_gencode_SOURCES) \ | |
627 | + $(cr16_run_SOURCES) $(cris_run_SOURCES) \ | |
628 | + $(cris_rvdummy_SOURCES) $(d10v_gencode_SOURCES) \ | |
629 | + $(d10v_run_SOURCES) $(erc32_run_SOURCES) erc32/sis.c \ | |
630 | + $(example_synacor_run_SOURCES) $(frv_run_SOURCES) \ | |
631 | + $(ft32_run_SOURCES) $(h8300_run_SOURCES) \ | |
632 | + $(igen_filter_SOURCES) $(igen_gen_SOURCES) \ | |
633 | + $(igen_igen_SOURCES) $(igen_ld_cache_SOURCES) \ | |
634 | + $(igen_ld_decode_SOURCES) $(igen_ld_insn_SOURCES) \ | |
635 | + $(igen_table_SOURCES) $(iq2000_run_SOURCES) \ | |
636 | + $(lm32_run_SOURCES) $(m32c_opc2c_SOURCES) $(m32c_run_SOURCES) \ | |
637 | + $(m32r_run_SOURCES) $(m68hc11_gencode_SOURCES) \ | |
638 | + $(m68hc11_run_SOURCES) $(mcore_run_SOURCES) \ | |
639 | + $(microblaze_run_SOURCES) $(mips_run_SOURCES) \ | |
640 | + $(mn10300_run_SOURCES) $(moxie_run_SOURCES) \ | |
641 | + $(msp430_run_SOURCES) $(or1k_run_SOURCES) ppc/psim.c \ | |
642 | + $(ppc_run_SOURCES) $(pru_run_SOURCES) $(riscv_run_SOURCES) \ | |
643 | + $(rl78_run_SOURCES) $(rx_run_SOURCES) $(sh_gencode_SOURCES) \ | |
644 | + $(sh_run_SOURCES) testsuite/common/alu-tst.c \ | |
398 | 645 | testsuite/common/bits-gen.c testsuite/common/bits32m0.c \ |
399 | 646 | testsuite/common/bits32m31.c testsuite/common/bits64m0.c \ |
400 | - testsuite/common/bits64m63.c testsuite/common/fpu-tst.c | |
647 | + testsuite/common/bits64m63.c testsuite/common/fpu-tst.c \ | |
648 | + $(v850_run_SOURCES) | |
401 | 649 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ |
402 | 650 | ctags-recursive dvi-recursive html-recursive info-recursive \ |
403 | 651 | install-data-recursive install-dvi-recursive \ |
@@ -918,18 +1166,18 @@ srcroot = $(srcdir)/.. | ||
918 | 1166 | SUBDIRS = @subdirs@ $(SIM_SUBDIRS) |
919 | 1167 | AM_MAKEFLAGS = SIM_PRIMARY_TARGET=$(SIM_PRIMARY_TARGET) |
920 | 1168 | pkginclude_HEADERS = $(am__append_1) |
921 | -noinst_LIBRARIES = common/libcommon.a $(am__append_3) | |
1169 | +noinst_LIBRARIES = $(SIM_COMMON_LIB) $(am__append_3) | |
922 | 1170 | CLEANFILES = common/version.c common/version.c-stamp \ |
923 | 1171 | testsuite/common/bits-gen testsuite/common/bits32m0.c \ |
924 | 1172 | testsuite/common/bits32m31.c testsuite/common/bits64m0.c \ |
925 | 1173 | testsuite/common/bits64m63.c |
926 | -DISTCLEANFILES = $(am__append_35) | |
1174 | +DISTCLEANFILES = | |
927 | 1175 | MOSTLYCLEANFILES = core $(am__append_5) site-sim-config.exp \ |
928 | - testrun.log testrun.sum $(am__append_7) $(am__append_10) \ | |
929 | - $(am__append_13) $(am__append_16) $(am__append_20) \ | |
930 | - $(am__append_22) $(am__append_24) $(am__append_27) \ | |
931 | - $(am__append_29) $(am__append_32) $(am__append_34) \ | |
932 | - $(am__append_37) $(am__append_40) $(am__append_42) | |
1176 | + testrun.log testrun.sum $(am__append_12) $(am__append_16) \ | |
1177 | + $(am__append_20) $(am__append_24) $(am__append_31) \ | |
1178 | + $(am__append_36) $(am__append_39) $(am__append_43) \ | |
1179 | + $(am__append_46) $(am__append_50) $(am__append_56) \ | |
1180 | + $(am__append_61) $(am__append_70) $(am__append_73) | |
933 | 1181 | AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) |
934 | 1182 | AM_CPPFLAGS = $(INCGNU) -I$(srcroot)/include -I../bfd -I.. \ |
935 | 1183 | $(SIM_HW_CFLAGS) $(SIM_INLINE) -I$(srcdir)/common \ |
@@ -939,14 +1187,15 @@ AM_CPPFLAGS_FOR_BUILD = -I$(srcroot)/include $(SIM_HW_CFLAGS) \ | ||
939 | 1187 | COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) |
940 | 1188 | LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ |
941 | 1189 | SIM_ALL_RECURSIVE_DEPS = common/libcommon.a $(am__append_2) \ |
942 | - $(am__append_6) $(am__append_8) $(am__append_12) \ | |
943 | - $(am__append_14) $(am__append_19) $(am__append_21) \ | |
944 | - $(am__append_23) $(am__append_25) $(am__append_28) \ | |
945 | - $(am__append_30) $(am__append_33) $(am__append_36) \ | |
946 | - $(am__append_38) $(am__append_41) | |
1190 | + $(am__append_11) $(am__append_14) $(am__append_19) \ | |
1191 | + $(am__append_22) $(am__append_30) $(am__append_35) \ | |
1192 | + $(am__append_38) $(am__append_41) $(am__append_45) \ | |
1193 | + $(am__append_48) $(am__append_55) $(am__append_60) \ | |
1194 | + $(am__append_68) $(am__append_72) | |
947 | 1195 | SIM_INSTALL_DATA_LOCAL_DEPS = |
948 | -SIM_INSTALL_EXEC_LOCAL_DEPS = $(am__append_17) | |
949 | -SIM_UNINSTALL_LOCAL_DEPS = $(am__append_18) | |
1196 | +SIM_INSTALL_EXEC_LOCAL_DEPS = $(am__append_26) | |
1197 | +SIM_UNINSTALL_LOCAL_DEPS = $(am__append_27) | |
1198 | +SIM_COMMON_LIB = common/libcommon.a | |
950 | 1199 | common_libcommon_a_SOURCES = \ |
951 | 1200 | common/callback.c \ |
952 | 1201 | common/portability.c \ |
@@ -958,6 +1207,17 @@ common_libcommon_a_SOURCES = \ | ||
958 | 1207 | common/target-newlib-syscall.c \ |
959 | 1208 | common/version.c |
960 | 1209 | |
1210 | +LIBIBERTY_LIB = ../libiberty/libiberty.a | |
1211 | +BFD_LIB = ../bfd/libbfd.la | |
1212 | +OPCODES_LIB = ../opcodes/libopcodes.la | |
1213 | +SIM_COMMON_LIBS = \ | |
1214 | + $(SIM_COMMON_LIB) \ | |
1215 | + $(BFD_LIB) \ | |
1216 | + $(OPCODES_LIB) \ | |
1217 | + $(LIBIBERTY_LIB) \ | |
1218 | + $(LIBGNU) \ | |
1219 | + $(LIBGNU_EXTRA_LIBS) | |
1220 | + | |
961 | 1221 | |
962 | 1222 | # igen leaks memory, and therefore makes AddressSanitizer unhappy. Disable |
963 | 1223 | # leak detection while running it. |
@@ -1022,8 +1282,38 @@ testsuite_common_CPPFLAGS = \ | ||
1022 | 1282 | -I$(srcroot)/include \ |
1023 | 1283 | -I../bfd |
1024 | 1284 | |
1285 | +@SIM_ENABLE_ARCH_aarch64_TRUE@aarch64_run_SOURCES = | |
1286 | +@SIM_ENABLE_ARCH_aarch64_TRUE@aarch64_run_LDADD = \ | |
1287 | +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/nrun.o \ | |
1288 | +@SIM_ENABLE_ARCH_aarch64_TRUE@ aarch64/libsim.a \ | |
1289 | +@SIM_ENABLE_ARCH_aarch64_TRUE@ $(SIM_COMMON_LIBS) | |
1290 | + | |
1291 | +@SIM_ENABLE_ARCH_arm_TRUE@arm_run_SOURCES = | |
1292 | +@SIM_ENABLE_ARCH_arm_TRUE@arm_run_LDADD = \ | |
1293 | +@SIM_ENABLE_ARCH_arm_TRUE@ arm/nrun.o \ | |
1294 | +@SIM_ENABLE_ARCH_arm_TRUE@ arm/libsim.a \ | |
1295 | +@SIM_ENABLE_ARCH_arm_TRUE@ $(SIM_COMMON_LIBS) | |
1296 | + | |
1025 | 1297 | @SIM_ENABLE_ARCH_arm_TRUE@armdocdir = $(docdir)/arm |
1026 | 1298 | @SIM_ENABLE_ARCH_arm_TRUE@armdoc_DATA = arm/README |
1299 | +@SIM_ENABLE_ARCH_avr_TRUE@avr_run_SOURCES = | |
1300 | +@SIM_ENABLE_ARCH_avr_TRUE@avr_run_LDADD = \ | |
1301 | +@SIM_ENABLE_ARCH_avr_TRUE@ avr/nrun.o \ | |
1302 | +@SIM_ENABLE_ARCH_avr_TRUE@ avr/libsim.a \ | |
1303 | +@SIM_ENABLE_ARCH_avr_TRUE@ $(SIM_COMMON_LIBS) | |
1304 | + | |
1305 | +@SIM_ENABLE_ARCH_bfin_TRUE@bfin_run_SOURCES = | |
1306 | +@SIM_ENABLE_ARCH_bfin_TRUE@bfin_run_LDADD = \ | |
1307 | +@SIM_ENABLE_ARCH_bfin_TRUE@ bfin/nrun.o \ | |
1308 | +@SIM_ENABLE_ARCH_bfin_TRUE@ bfin/libsim.a \ | |
1309 | +@SIM_ENABLE_ARCH_bfin_TRUE@ $(SIM_COMMON_LIBS) | |
1310 | + | |
1311 | +@SIM_ENABLE_ARCH_bpf_TRUE@bpf_run_SOURCES = | |
1312 | +@SIM_ENABLE_ARCH_bpf_TRUE@bpf_run_LDADD = \ | |
1313 | +@SIM_ENABLE_ARCH_bpf_TRUE@ bpf/nrun.o \ | |
1314 | +@SIM_ENABLE_ARCH_bpf_TRUE@ bpf/libsim.a \ | |
1315 | +@SIM_ENABLE_ARCH_bpf_TRUE@ $(SIM_COMMON_LIBS) | |
1316 | + | |
1027 | 1317 | @SIM_ENABLE_ARCH_bpf_TRUE@bpf_BUILD_OUTPUTS = \ |
1028 | 1318 | @SIM_ENABLE_ARCH_bpf_TRUE@ bpf/eng-le.h \ |
1029 | 1319 | @SIM_ENABLE_ARCH_bpf_TRUE@ bpf/mloop-le.c \ |
@@ -1032,6 +1322,12 @@ testsuite_common_CPPFLAGS = \ | ||
1032 | 1322 | @SIM_ENABLE_ARCH_bpf_TRUE@ bpf/mloop-be.c \ |
1033 | 1323 | @SIM_ENABLE_ARCH_bpf_TRUE@ bpf/stamp-mloop-be |
1034 | 1324 | |
1325 | +@SIM_ENABLE_ARCH_cr16_TRUE@cr16_run_SOURCES = | |
1326 | +@SIM_ENABLE_ARCH_cr16_TRUE@cr16_run_LDADD = \ | |
1327 | +@SIM_ENABLE_ARCH_cr16_TRUE@ cr16/nrun.o \ | |
1328 | +@SIM_ENABLE_ARCH_cr16_TRUE@ cr16/libsim.a \ | |
1329 | +@SIM_ENABLE_ARCH_cr16_TRUE@ $(SIM_COMMON_LIBS) | |
1330 | + | |
1035 | 1331 | @SIM_ENABLE_ARCH_cr16_TRUE@cr16_BUILD_OUTPUTS = \ |
1036 | 1332 | @SIM_ENABLE_ARCH_cr16_TRUE@ cr16/gencode$(EXEEXT) \ |
1037 | 1333 | @SIM_ENABLE_ARCH_cr16_TRUE@ cr16/simops.h \ |
@@ -1039,6 +1335,12 @@ testsuite_common_CPPFLAGS = \ | ||
1039 | 1335 | |
1040 | 1336 | @SIM_ENABLE_ARCH_cr16_TRUE@cr16_gencode_SOURCES = cr16/gencode.c |
1041 | 1337 | @SIM_ENABLE_ARCH_cr16_TRUE@cr16_gencode_LDADD = cr16/cr16-opc.o |
1338 | +@SIM_ENABLE_ARCH_cris_TRUE@cris_run_SOURCES = | |
1339 | +@SIM_ENABLE_ARCH_cris_TRUE@cris_run_LDADD = \ | |
1340 | +@SIM_ENABLE_ARCH_cris_TRUE@ cris/nrun.o \ | |
1341 | +@SIM_ENABLE_ARCH_cris_TRUE@ cris/libsim.a \ | |
1342 | +@SIM_ENABLE_ARCH_cris_TRUE@ $(SIM_COMMON_LIBS) | |
1343 | + | |
1042 | 1344 | @SIM_ENABLE_ARCH_cris_TRUE@cris_rvdummy_SOURCES = cris/rvdummy.c |
1043 | 1345 | @SIM_ENABLE_ARCH_cris_TRUE@cris_rvdummy_LDADD = $(LIBIBERTY_LIB) |
1044 | 1346 | @SIM_ENABLE_ARCH_cris_TRUE@cris_BUILD_OUTPUTS = \ |
@@ -1049,6 +1351,12 @@ testsuite_common_CPPFLAGS = \ | ||
1049 | 1351 | @SIM_ENABLE_ARCH_cris_TRUE@ cris/mloopv32f.c \ |
1050 | 1352 | @SIM_ENABLE_ARCH_cris_TRUE@ cris/stamp-mloop-v32f |
1051 | 1353 | |
1354 | +@SIM_ENABLE_ARCH_d10v_TRUE@d10v_run_SOURCES = | |
1355 | +@SIM_ENABLE_ARCH_d10v_TRUE@d10v_run_LDADD = \ | |
1356 | +@SIM_ENABLE_ARCH_d10v_TRUE@ d10v/nrun.o \ | |
1357 | +@SIM_ENABLE_ARCH_d10v_TRUE@ d10v/libsim.a \ | |
1358 | +@SIM_ENABLE_ARCH_d10v_TRUE@ $(SIM_COMMON_LIBS) | |
1359 | + | |
1052 | 1360 | @SIM_ENABLE_ARCH_d10v_TRUE@d10v_BUILD_OUTPUTS = \ |
1053 | 1361 | @SIM_ENABLE_ARCH_d10v_TRUE@ d10v/gencode$(EXEEXT) \ |
1054 | 1362 | @SIM_ENABLE_ARCH_d10v_TRUE@ d10v/simops.h \ |
@@ -1056,8 +1364,26 @@ testsuite_common_CPPFLAGS = \ | ||
1056 | 1364 | |
1057 | 1365 | @SIM_ENABLE_ARCH_d10v_TRUE@d10v_gencode_SOURCES = d10v/gencode.c |
1058 | 1366 | @SIM_ENABLE_ARCH_d10v_TRUE@d10v_gencode_LDADD = d10v/d10v-opc.o |
1367 | +@SIM_ENABLE_ARCH_erc32_TRUE@erc32_run_SOURCES = | |
1368 | +@SIM_ENABLE_ARCH_erc32_TRUE@erc32_run_LDADD = \ | |
1369 | +@SIM_ENABLE_ARCH_erc32_TRUE@ erc32/sis.o \ | |
1370 | +@SIM_ENABLE_ARCH_erc32_TRUE@ erc32/libsim.a \ | |
1371 | +@SIM_ENABLE_ARCH_erc32_TRUE@ $(SIM_COMMON_LIBS) $(READLINE_LIB) $(TERMCAP_LIB) | |
1372 | + | |
1059 | 1373 | @SIM_ENABLE_ARCH_erc32_TRUE@erc32docdir = $(docdir)/erc32 |
1060 | 1374 | @SIM_ENABLE_ARCH_erc32_TRUE@erc32doc_DATA = erc32/README.erc32 erc32/README.gdb erc32/README.sis |
1375 | +@SIM_ENABLE_ARCH_examples_TRUE@example_synacor_run_SOURCES = | |
1376 | +@SIM_ENABLE_ARCH_examples_TRUE@example_synacor_run_LDADD = \ | |
1377 | +@SIM_ENABLE_ARCH_examples_TRUE@ example-synacor/nrun.o \ | |
1378 | +@SIM_ENABLE_ARCH_examples_TRUE@ example-synacor/libsim.a \ | |
1379 | +@SIM_ENABLE_ARCH_examples_TRUE@ $(SIM_COMMON_LIBS) | |
1380 | + | |
1381 | +@SIM_ENABLE_ARCH_frv_TRUE@frv_run_SOURCES = | |
1382 | +@SIM_ENABLE_ARCH_frv_TRUE@frv_run_LDADD = \ | |
1383 | +@SIM_ENABLE_ARCH_frv_TRUE@ frv/nrun.o \ | |
1384 | +@SIM_ENABLE_ARCH_frv_TRUE@ frv/libsim.a \ | |
1385 | +@SIM_ENABLE_ARCH_frv_TRUE@ $(SIM_COMMON_LIBS) | |
1386 | + | |
1061 | 1387 | @SIM_ENABLE_ARCH_frv_TRUE@frvdocdir = $(docdir)/frv |
1062 | 1388 | @SIM_ENABLE_ARCH_frv_TRUE@frvdoc_DATA = frv/README |
1063 | 1389 | @SIM_ENABLE_ARCH_frv_TRUE@frv_BUILD_OUTPUTS = \ |
@@ -1065,16 +1391,46 @@ testsuite_common_CPPFLAGS = \ | ||
1065 | 1391 | @SIM_ENABLE_ARCH_frv_TRUE@ frv/mloop.c \ |
1066 | 1392 | @SIM_ENABLE_ARCH_frv_TRUE@ frv/stamp-mloop |
1067 | 1393 | |
1394 | +@SIM_ENABLE_ARCH_ft32_TRUE@ft32_run_SOURCES = | |
1395 | +@SIM_ENABLE_ARCH_ft32_TRUE@ft32_run_LDADD = \ | |
1396 | +@SIM_ENABLE_ARCH_ft32_TRUE@ ft32/nrun.o \ | |
1397 | +@SIM_ENABLE_ARCH_ft32_TRUE@ ft32/libsim.a \ | |
1398 | +@SIM_ENABLE_ARCH_ft32_TRUE@ $(SIM_COMMON_LIBS) | |
1399 | + | |
1400 | +@SIM_ENABLE_ARCH_h8300_TRUE@h8300_run_SOURCES = | |
1401 | +@SIM_ENABLE_ARCH_h8300_TRUE@h8300_run_LDADD = \ | |
1402 | +@SIM_ENABLE_ARCH_h8300_TRUE@ h8300/nrun.o \ | |
1403 | +@SIM_ENABLE_ARCH_h8300_TRUE@ h8300/libsim.a \ | |
1404 | +@SIM_ENABLE_ARCH_h8300_TRUE@ $(SIM_COMMON_LIBS) | |
1405 | + | |
1406 | +@SIM_ENABLE_ARCH_iq2000_TRUE@iq2000_run_SOURCES = | |
1407 | +@SIM_ENABLE_ARCH_iq2000_TRUE@iq2000_run_LDADD = \ | |
1408 | +@SIM_ENABLE_ARCH_iq2000_TRUE@ iq2000/nrun.o \ | |
1409 | +@SIM_ENABLE_ARCH_iq2000_TRUE@ iq2000/libsim.a \ | |
1410 | +@SIM_ENABLE_ARCH_iq2000_TRUE@ $(SIM_COMMON_LIBS) | |
1411 | + | |
1068 | 1412 | @SIM_ENABLE_ARCH_iq2000_TRUE@iq2000_BUILD_OUTPUTS = \ |
1069 | 1413 | @SIM_ENABLE_ARCH_iq2000_TRUE@ iq2000/eng.h \ |
1070 | 1414 | @SIM_ENABLE_ARCH_iq2000_TRUE@ iq2000/mloop.c \ |
1071 | 1415 | @SIM_ENABLE_ARCH_iq2000_TRUE@ iq2000/stamp-mloop |
1072 | 1416 | |
1417 | +@SIM_ENABLE_ARCH_lm32_TRUE@lm32_run_SOURCES = | |
1418 | +@SIM_ENABLE_ARCH_lm32_TRUE@lm32_run_LDADD = \ | |
1419 | +@SIM_ENABLE_ARCH_lm32_TRUE@ lm32/nrun.o \ | |
1420 | +@SIM_ENABLE_ARCH_lm32_TRUE@ lm32/libsim.a \ | |
1421 | +@SIM_ENABLE_ARCH_lm32_TRUE@ $(SIM_COMMON_LIBS) | |
1422 | + | |
1073 | 1423 | @SIM_ENABLE_ARCH_lm32_TRUE@lm32_BUILD_OUTPUTS = \ |
1074 | 1424 | @SIM_ENABLE_ARCH_lm32_TRUE@ lm32/eng.h \ |
1075 | 1425 | @SIM_ENABLE_ARCH_lm32_TRUE@ lm32/mloop.c \ |
1076 | 1426 | @SIM_ENABLE_ARCH_lm32_TRUE@ lm32/stamp-mloop |
1077 | 1427 | |
1428 | +@SIM_ENABLE_ARCH_m32c_TRUE@m32c_run_SOURCES = | |
1429 | +@SIM_ENABLE_ARCH_m32c_TRUE@m32c_run_LDADD = \ | |
1430 | +@SIM_ENABLE_ARCH_m32c_TRUE@ m32c/main.o \ | |
1431 | +@SIM_ENABLE_ARCH_m32c_TRUE@ m32c/libsim.a \ | |
1432 | +@SIM_ENABLE_ARCH_m32c_TRUE@ $(SIM_COMMON_LIBS) | |
1433 | + | |
1078 | 1434 | @SIM_ENABLE_ARCH_m32c_TRUE@m32c_BUILD_OUTPUTS = \ |
1079 | 1435 | @SIM_ENABLE_ARCH_m32c_TRUE@ m32c/opc2c$(EXEEXT) \ |
1080 | 1436 | @SIM_ENABLE_ARCH_m32c_TRUE@ m32c/m32c.c \ |
@@ -1085,6 +1441,12 @@ testsuite_common_CPPFLAGS = \ | ||
1085 | 1441 | # opc2c leaks memory, and therefore makes AddressSanitizer unhappy. Disable |
1086 | 1442 | # leak detection while running it. |
1087 | 1443 | @SIM_ENABLE_ARCH_m32c_TRUE@m32c_OPC2C_RUN = ASAN_OPTIONS=detect_leaks=0 m32c/opc2c$(EXEEXT) |
1444 | +@SIM_ENABLE_ARCH_m32r_TRUE@m32r_run_SOURCES = | |
1445 | +@SIM_ENABLE_ARCH_m32r_TRUE@m32r_run_LDADD = \ | |
1446 | +@SIM_ENABLE_ARCH_m32r_TRUE@ m32r/nrun.o \ | |
1447 | +@SIM_ENABLE_ARCH_m32r_TRUE@ m32r/libsim.a \ | |
1448 | +@SIM_ENABLE_ARCH_m32r_TRUE@ $(SIM_COMMON_LIBS) | |
1449 | + | |
1088 | 1450 | @SIM_ENABLE_ARCH_m32r_TRUE@m32r_BUILD_OUTPUTS = \ |
1089 | 1451 | @SIM_ENABLE_ARCH_m32r_TRUE@ m32r/eng.h \ |
1090 | 1452 | @SIM_ENABLE_ARCH_m32r_TRUE@ m32r/mloop.c \ |
@@ -1096,12 +1458,42 @@ testsuite_common_CPPFLAGS = \ | ||
1096 | 1458 | @SIM_ENABLE_ARCH_m32r_TRUE@ m32r/mloop2.c \ |
1097 | 1459 | @SIM_ENABLE_ARCH_m32r_TRUE@ m32r/stamp-mloop-2 |
1098 | 1460 | |
1461 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@m68hc11_run_SOURCES = | |
1462 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@m68hc11_run_LDADD = \ | |
1463 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@ m68hc11/nrun.o \ | |
1464 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@ m68hc11/libsim.a \ | |
1465 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@ $(SIM_COMMON_LIBS) | |
1466 | + | |
1099 | 1467 | @SIM_ENABLE_ARCH_m68hc11_TRUE@m68hc11_BUILD_OUTPUTS = \ |
1100 | 1468 | @SIM_ENABLE_ARCH_m68hc11_TRUE@ m68hc11/gencode$(EXEEXT) \ |
1101 | 1469 | @SIM_ENABLE_ARCH_m68hc11_TRUE@ m68hc11/m68hc11int.c \ |
1102 | 1470 | @SIM_ENABLE_ARCH_m68hc11_TRUE@ m68hc11/m68hc12int.c |
1103 | 1471 | |
1104 | 1472 | @SIM_ENABLE_ARCH_m68hc11_TRUE@m68hc11_gencode_SOURCES = m68hc11/gencode.c |
1473 | +@SIM_ENABLE_ARCH_mcore_TRUE@mcore_run_SOURCES = | |
1474 | +@SIM_ENABLE_ARCH_mcore_TRUE@mcore_run_LDADD = \ | |
1475 | +@SIM_ENABLE_ARCH_mcore_TRUE@ mcore/nrun.o \ | |
1476 | +@SIM_ENABLE_ARCH_mcore_TRUE@ mcore/libsim.a \ | |
1477 | +@SIM_ENABLE_ARCH_mcore_TRUE@ $(SIM_COMMON_LIBS) | |
1478 | + | |
1479 | +@SIM_ENABLE_ARCH_microblaze_TRUE@microblaze_run_SOURCES = | |
1480 | +@SIM_ENABLE_ARCH_microblaze_TRUE@microblaze_run_LDADD = \ | |
1481 | +@SIM_ENABLE_ARCH_microblaze_TRUE@ microblaze/nrun.o \ | |
1482 | +@SIM_ENABLE_ARCH_microblaze_TRUE@ microblaze/libsim.a \ | |
1483 | +@SIM_ENABLE_ARCH_microblaze_TRUE@ $(SIM_COMMON_LIBS) | |
1484 | + | |
1485 | +@SIM_ENABLE_ARCH_mips_TRUE@mips_run_SOURCES = | |
1486 | +@SIM_ENABLE_ARCH_mips_TRUE@mips_run_LDADD = \ | |
1487 | +@SIM_ENABLE_ARCH_mips_TRUE@ mips/nrun.o \ | |
1488 | +@SIM_ENABLE_ARCH_mips_TRUE@ mips/libsim.a \ | |
1489 | +@SIM_ENABLE_ARCH_mips_TRUE@ $(SIM_COMMON_LIBS) | |
1490 | + | |
1491 | +@SIM_ENABLE_ARCH_mn10300_TRUE@mn10300_run_SOURCES = | |
1492 | +@SIM_ENABLE_ARCH_mn10300_TRUE@mn10300_run_LDADD = \ | |
1493 | +@SIM_ENABLE_ARCH_mn10300_TRUE@ mn10300/nrun.o \ | |
1494 | +@SIM_ENABLE_ARCH_mn10300_TRUE@ mn10300/libsim.a \ | |
1495 | +@SIM_ENABLE_ARCH_mn10300_TRUE@ $(SIM_COMMON_LIBS) | |
1496 | + | |
1105 | 1497 | @SIM_ENABLE_ARCH_mn10300_TRUE@mn10300_BUILT_SRC_FROM_IGEN = \ |
1106 | 1498 | @SIM_ENABLE_ARCH_mn10300_TRUE@ mn10300/icache.h \ |
1107 | 1499 | @SIM_ENABLE_ARCH_mn10300_TRUE@ mn10300/icache.c \ |
@@ -1127,8 +1519,26 @@ testsuite_common_CPPFLAGS = \ | ||
1127 | 1519 | @SIM_ENABLE_ARCH_mn10300_TRUE@mn10300_IGEN_INSN = $(srcdir)/mn10300/mn10300.igen |
1128 | 1520 | @SIM_ENABLE_ARCH_mn10300_TRUE@mn10300_IGEN_INSN_INC = mn10300/am33.igen mn10300/am33-2.igen |
1129 | 1521 | @SIM_ENABLE_ARCH_mn10300_TRUE@mn10300_IGEN_DC = $(srcdir)/mn10300/mn10300.dc |
1522 | +@SIM_ENABLE_ARCH_moxie_TRUE@moxie_run_SOURCES = | |
1523 | +@SIM_ENABLE_ARCH_moxie_TRUE@moxie_run_LDADD = \ | |
1524 | +@SIM_ENABLE_ARCH_moxie_TRUE@ moxie/nrun.o \ | |
1525 | +@SIM_ENABLE_ARCH_moxie_TRUE@ moxie/libsim.a \ | |
1526 | +@SIM_ENABLE_ARCH_moxie_TRUE@ $(SIM_COMMON_LIBS) | |
1527 | + | |
1130 | 1528 | @SIM_ENABLE_ARCH_moxie_TRUE@dtbdir = $(datadir)/gdb/dtb |
1131 | 1529 | @SIM_ENABLE_ARCH_moxie_TRUE@dtb_DATA = moxie/moxie-gdb.dtb |
1530 | +@SIM_ENABLE_ARCH_msp430_TRUE@msp430_run_SOURCES = | |
1531 | +@SIM_ENABLE_ARCH_msp430_TRUE@msp430_run_LDADD = \ | |
1532 | +@SIM_ENABLE_ARCH_msp430_TRUE@ msp430/nrun.o \ | |
1533 | +@SIM_ENABLE_ARCH_msp430_TRUE@ msp430/libsim.a \ | |
1534 | +@SIM_ENABLE_ARCH_msp430_TRUE@ $(SIM_COMMON_LIBS) | |
1535 | + | |
1536 | +@SIM_ENABLE_ARCH_or1k_TRUE@or1k_run_SOURCES = | |
1537 | +@SIM_ENABLE_ARCH_or1k_TRUE@or1k_run_LDADD = \ | |
1538 | +@SIM_ENABLE_ARCH_or1k_TRUE@ or1k/nrun.o \ | |
1539 | +@SIM_ENABLE_ARCH_or1k_TRUE@ or1k/libsim.a \ | |
1540 | +@SIM_ENABLE_ARCH_or1k_TRUE@ $(SIM_COMMON_LIBS) | |
1541 | + | |
1132 | 1542 | @SIM_ENABLE_ARCH_or1k_TRUE@or1kdocdir = $(docdir)/or1k |
1133 | 1543 | @SIM_ENABLE_ARCH_or1k_TRUE@or1kdoc_DATA = or1k/README |
1134 | 1544 | @SIM_ENABLE_ARCH_or1k_TRUE@or1k_BUILD_OUTPUTS = \ |
@@ -1136,10 +1546,46 @@ testsuite_common_CPPFLAGS = \ | ||
1136 | 1546 | @SIM_ENABLE_ARCH_or1k_TRUE@ or1k/mloop.c \ |
1137 | 1547 | @SIM_ENABLE_ARCH_or1k_TRUE@ or1k/stamp-mloop |
1138 | 1548 | |
1549 | +@SIM_ENABLE_ARCH_ppc_TRUE@ppc_run_SOURCES = | |
1550 | +@SIM_ENABLE_ARCH_ppc_TRUE@ppc_run_LDADD = \ | |
1551 | +@SIM_ENABLE_ARCH_ppc_TRUE@ ppc/main.o \ | |
1552 | +@SIM_ENABLE_ARCH_ppc_TRUE@ ppc/libsim.a \ | |
1553 | +@SIM_ENABLE_ARCH_ppc_TRUE@ $(SIM_COMMON_LIBS) | |
1554 | + | |
1139 | 1555 | @SIM_ENABLE_ARCH_ppc_TRUE@ppcdocdir = $(docdir)/ppc |
1140 | 1556 | @SIM_ENABLE_ARCH_ppc_TRUE@ppcdoc_DATA = ppc/BUGS ppc/INSTALL ppc/README ppc/RUN |
1557 | +@SIM_ENABLE_ARCH_pru_TRUE@pru_run_SOURCES = | |
1558 | +@SIM_ENABLE_ARCH_pru_TRUE@pru_run_LDADD = \ | |
1559 | +@SIM_ENABLE_ARCH_pru_TRUE@ pru/nrun.o \ | |
1560 | +@SIM_ENABLE_ARCH_pru_TRUE@ pru/libsim.a \ | |
1561 | +@SIM_ENABLE_ARCH_pru_TRUE@ $(SIM_COMMON_LIBS) | |
1562 | + | |
1563 | +@SIM_ENABLE_ARCH_riscv_TRUE@riscv_run_SOURCES = | |
1564 | +@SIM_ENABLE_ARCH_riscv_TRUE@riscv_run_LDADD = \ | |
1565 | +@SIM_ENABLE_ARCH_riscv_TRUE@ riscv/nrun.o \ | |
1566 | +@SIM_ENABLE_ARCH_riscv_TRUE@ riscv/libsim.a \ | |
1567 | +@SIM_ENABLE_ARCH_riscv_TRUE@ $(SIM_COMMON_LIBS) | |
1568 | + | |
1569 | +@SIM_ENABLE_ARCH_rl78_TRUE@rl78_run_SOURCES = | |
1570 | +@SIM_ENABLE_ARCH_rl78_TRUE@rl78_run_LDADD = \ | |
1571 | +@SIM_ENABLE_ARCH_rl78_TRUE@ rl78/main.o \ | |
1572 | +@SIM_ENABLE_ARCH_rl78_TRUE@ rl78/libsim.a \ | |
1573 | +@SIM_ENABLE_ARCH_rl78_TRUE@ $(SIM_COMMON_LIBS) | |
1574 | + | |
1575 | +@SIM_ENABLE_ARCH_rx_TRUE@rx_run_SOURCES = | |
1576 | +@SIM_ENABLE_ARCH_rx_TRUE@rx_run_LDADD = \ | |
1577 | +@SIM_ENABLE_ARCH_rx_TRUE@ rx/main.o \ | |
1578 | +@SIM_ENABLE_ARCH_rx_TRUE@ rx/libsim.a \ | |
1579 | +@SIM_ENABLE_ARCH_rx_TRUE@ $(SIM_COMMON_LIBS) | |
1580 | + | |
1141 | 1581 | @SIM_ENABLE_ARCH_rx_TRUE@rxdocdir = $(docdir)/rx |
1142 | 1582 | @SIM_ENABLE_ARCH_rx_TRUE@rxdoc_DATA = rx/README.txt |
1583 | +@SIM_ENABLE_ARCH_sh_TRUE@sh_run_SOURCES = | |
1584 | +@SIM_ENABLE_ARCH_sh_TRUE@sh_run_LDADD = \ | |
1585 | +@SIM_ENABLE_ARCH_sh_TRUE@ sh/nrun.o \ | |
1586 | +@SIM_ENABLE_ARCH_sh_TRUE@ sh/libsim.a \ | |
1587 | +@SIM_ENABLE_ARCH_sh_TRUE@ $(SIM_COMMON_LIBS) | |
1588 | + | |
1143 | 1589 | @SIM_ENABLE_ARCH_sh_TRUE@sh_BUILD_OUTPUTS = \ |
1144 | 1590 | @SIM_ENABLE_ARCH_sh_TRUE@ sh/gencode$(EXEEXT) \ |
1145 | 1591 | @SIM_ENABLE_ARCH_sh_TRUE@ sh/code.c \ |
@@ -1147,6 +1593,12 @@ testsuite_common_CPPFLAGS = \ | ||
1147 | 1593 | @SIM_ENABLE_ARCH_sh_TRUE@ sh/table.c |
1148 | 1594 | |
1149 | 1595 | @SIM_ENABLE_ARCH_sh_TRUE@sh_gencode_SOURCES = sh/gencode.c |
1596 | +@SIM_ENABLE_ARCH_v850_TRUE@v850_run_SOURCES = | |
1597 | +@SIM_ENABLE_ARCH_v850_TRUE@v850_run_LDADD = \ | |
1598 | +@SIM_ENABLE_ARCH_v850_TRUE@ v850/nrun.o \ | |
1599 | +@SIM_ENABLE_ARCH_v850_TRUE@ v850/libsim.a \ | |
1600 | +@SIM_ENABLE_ARCH_v850_TRUE@ $(SIM_COMMON_LIBS) | |
1601 | + | |
1150 | 1602 | @SIM_ENABLE_ARCH_v850_TRUE@v850_BUILT_SRC_FROM_IGEN = \ |
1151 | 1603 | @SIM_ENABLE_ARCH_v850_TRUE@ v850/icache.h \ |
1152 | 1604 | @SIM_ENABLE_ARCH_v850_TRUE@ v850/icache.c \ |
@@ -1178,7 +1630,7 @@ all: config.h | ||
1178 | 1630 | .SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs |
1179 | 1631 | am--refresh: Makefile |
1180 | 1632 | @: |
1181 | -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/common/local.mk $(srcdir)/igen/local.mk $(srcdir)/testsuite/local.mk $(srcdir)/testsuite/common/local.mk $(srcdir)/arm/local.mk $(srcdir)/bpf/local.mk $(srcdir)/cr16/local.mk $(srcdir)/cris/local.mk $(srcdir)/d10v/local.mk $(srcdir)/erc32/local.mk $(srcdir)/frv/local.mk $(srcdir)/iq2000/local.mk $(srcdir)/lm32/local.mk $(srcdir)/m32c/local.mk $(srcdir)/m32r/local.mk $(srcdir)/m68hc11/local.mk $(srcdir)/mn10300/local.mk $(srcdir)/moxie/local.mk $(srcdir)/or1k/local.mk $(srcdir)/ppc/local.mk $(srcdir)/rx/local.mk $(srcdir)/sh/local.mk $(srcdir)/v850/local.mk $(am__configure_deps) | |
1633 | +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/common/local.mk $(srcdir)/igen/local.mk $(srcdir)/testsuite/local.mk $(srcdir)/testsuite/common/local.mk $(srcdir)/aarch64/local.mk $(srcdir)/arm/local.mk $(srcdir)/avr/local.mk $(srcdir)/bfin/local.mk $(srcdir)/bpf/local.mk $(srcdir)/cr16/local.mk $(srcdir)/cris/local.mk $(srcdir)/d10v/local.mk $(srcdir)/erc32/local.mk $(srcdir)/example-synacor/local.mk $(srcdir)/frv/local.mk $(srcdir)/ft32/local.mk $(srcdir)/h8300/local.mk $(srcdir)/iq2000/local.mk $(srcdir)/lm32/local.mk $(srcdir)/m32c/local.mk $(srcdir)/m32r/local.mk $(srcdir)/m68hc11/local.mk $(srcdir)/mcore/local.mk $(srcdir)/microblaze/local.mk $(srcdir)/mips/local.mk $(srcdir)/mn10300/local.mk $(srcdir)/moxie/local.mk $(srcdir)/msp430/local.mk $(srcdir)/or1k/local.mk $(srcdir)/ppc/local.mk $(srcdir)/pru/local.mk $(srcdir)/riscv/local.mk $(srcdir)/rl78/local.mk $(srcdir)/rx/local.mk $(srcdir)/sh/local.mk $(srcdir)/v850/local.mk $(am__configure_deps) | |
1182 | 1634 | @for dep in $?; do \ |
1183 | 1635 | case '$(am__configure_deps)' in \ |
1184 | 1636 | *$$dep*) \ |
@@ -1200,7 +1652,7 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | ||
1200 | 1652 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ |
1201 | 1653 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ |
1202 | 1654 | esac; |
1203 | -$(srcdir)/common/local.mk $(srcdir)/igen/local.mk $(srcdir)/testsuite/local.mk $(srcdir)/testsuite/common/local.mk $(srcdir)/arm/local.mk $(srcdir)/bpf/local.mk $(srcdir)/cr16/local.mk $(srcdir)/cris/local.mk $(srcdir)/d10v/local.mk $(srcdir)/erc32/local.mk $(srcdir)/frv/local.mk $(srcdir)/iq2000/local.mk $(srcdir)/lm32/local.mk $(srcdir)/m32c/local.mk $(srcdir)/m32r/local.mk $(srcdir)/m68hc11/local.mk $(srcdir)/mn10300/local.mk $(srcdir)/moxie/local.mk $(srcdir)/or1k/local.mk $(srcdir)/ppc/local.mk $(srcdir)/rx/local.mk $(srcdir)/sh/local.mk $(srcdir)/v850/local.mk $(am__empty): | |
1655 | +$(srcdir)/common/local.mk $(srcdir)/igen/local.mk $(srcdir)/testsuite/local.mk $(srcdir)/testsuite/common/local.mk $(srcdir)/aarch64/local.mk $(srcdir)/arm/local.mk $(srcdir)/avr/local.mk $(srcdir)/bfin/local.mk $(srcdir)/bpf/local.mk $(srcdir)/cr16/local.mk $(srcdir)/cris/local.mk $(srcdir)/d10v/local.mk $(srcdir)/erc32/local.mk $(srcdir)/example-synacor/local.mk $(srcdir)/frv/local.mk $(srcdir)/ft32/local.mk $(srcdir)/h8300/local.mk $(srcdir)/iq2000/local.mk $(srcdir)/lm32/local.mk $(srcdir)/m32c/local.mk $(srcdir)/m32r/local.mk $(srcdir)/m68hc11/local.mk $(srcdir)/mcore/local.mk $(srcdir)/microblaze/local.mk $(srcdir)/mips/local.mk $(srcdir)/mn10300/local.mk $(srcdir)/moxie/local.mk $(srcdir)/msp430/local.mk $(srcdir)/or1k/local.mk $(srcdir)/ppc/local.mk $(srcdir)/pru/local.mk $(srcdir)/riscv/local.mk $(srcdir)/rl78/local.mk $(srcdir)/rx/local.mk $(srcdir)/sh/local.mk $(srcdir)/v850/local.mk $(am__empty): | |
1204 | 1656 | |
1205 | 1657 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
1206 | 1658 | $(SHELL) ./config.status --recheck |
@@ -1414,6 +1866,50 @@ clean-checkPROGRAMS: | ||
1414 | 1866 | list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ |
1415 | 1867 | echo " rm -f" $$list; \ |
1416 | 1868 | rm -f $$list |
1869 | + | |
1870 | +clean-noinstPROGRAMS: | |
1871 | + @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ | |
1872 | + echo " rm -f" $$list; \ | |
1873 | + rm -f $$list || exit $$?; \ | |
1874 | + test -n "$(EXEEXT)" || exit 0; \ | |
1875 | + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ | |
1876 | + echo " rm -f" $$list; \ | |
1877 | + rm -f $$list | |
1878 | +aarch64/$(am__dirstamp): | |
1879 | + @$(MKDIR_P) aarch64 | |
1880 | + @: > aarch64/$(am__dirstamp) | |
1881 | + | |
1882 | +aarch64/run$(EXEEXT): $(aarch64_run_OBJECTS) $(aarch64_run_DEPENDENCIES) $(EXTRA_aarch64_run_DEPENDENCIES) aarch64/$(am__dirstamp) | |
1883 | + @rm -f aarch64/run$(EXEEXT) | |
1884 | + $(AM_V_CCLD)$(LINK) $(aarch64_run_OBJECTS) $(aarch64_run_LDADD) $(LIBS) | |
1885 | +arm/$(am__dirstamp): | |
1886 | + @$(MKDIR_P) arm | |
1887 | + @: > arm/$(am__dirstamp) | |
1888 | + | |
1889 | +arm/run$(EXEEXT): $(arm_run_OBJECTS) $(arm_run_DEPENDENCIES) $(EXTRA_arm_run_DEPENDENCIES) arm/$(am__dirstamp) | |
1890 | + @rm -f arm/run$(EXEEXT) | |
1891 | + $(AM_V_CCLD)$(LINK) $(arm_run_OBJECTS) $(arm_run_LDADD) $(LIBS) | |
1892 | +avr/$(am__dirstamp): | |
1893 | + @$(MKDIR_P) avr | |
1894 | + @: > avr/$(am__dirstamp) | |
1895 | + | |
1896 | +avr/run$(EXEEXT): $(avr_run_OBJECTS) $(avr_run_DEPENDENCIES) $(EXTRA_avr_run_DEPENDENCIES) avr/$(am__dirstamp) | |
1897 | + @rm -f avr/run$(EXEEXT) | |
1898 | + $(AM_V_CCLD)$(LINK) $(avr_run_OBJECTS) $(avr_run_LDADD) $(LIBS) | |
1899 | +bfin/$(am__dirstamp): | |
1900 | + @$(MKDIR_P) bfin | |
1901 | + @: > bfin/$(am__dirstamp) | |
1902 | + | |
1903 | +bfin/run$(EXEEXT): $(bfin_run_OBJECTS) $(bfin_run_DEPENDENCIES) $(EXTRA_bfin_run_DEPENDENCIES) bfin/$(am__dirstamp) | |
1904 | + @rm -f bfin/run$(EXEEXT) | |
1905 | + $(AM_V_CCLD)$(LINK) $(bfin_run_OBJECTS) $(bfin_run_LDADD) $(LIBS) | |
1906 | +bpf/$(am__dirstamp): | |
1907 | + @$(MKDIR_P) bpf | |
1908 | + @: > bpf/$(am__dirstamp) | |
1909 | + | |
1910 | +bpf/run$(EXEEXT): $(bpf_run_OBJECTS) $(bpf_run_DEPENDENCIES) $(EXTRA_bpf_run_DEPENDENCIES) bpf/$(am__dirstamp) | |
1911 | + @rm -f bpf/run$(EXEEXT) | |
1912 | + $(AM_V_CCLD)$(LINK) $(bpf_run_OBJECTS) $(bpf_run_LDADD) $(LIBS) | |
1417 | 1913 | cr16/$(am__dirstamp): |
1418 | 1914 | @$(MKDIR_P) cr16 |
1419 | 1915 | @: > cr16/$(am__dirstamp) |
@@ -1426,9 +1922,17 @@ cr16/gencode.$(OBJEXT): cr16/$(am__dirstamp) \ | ||
1426 | 1922 | @SIM_ENABLE_ARCH_cr16_FALSE@cr16/gencode$(EXEEXT): $(cr16_gencode_OBJECTS) $(cr16_gencode_DEPENDENCIES) $(EXTRA_cr16_gencode_DEPENDENCIES) cr16/$(am__dirstamp) |
1427 | 1923 | @SIM_ENABLE_ARCH_cr16_FALSE@ @rm -f cr16/gencode$(EXEEXT) |
1428 | 1924 | @SIM_ENABLE_ARCH_cr16_FALSE@ $(AM_V_CCLD)$(LINK) $(cr16_gencode_OBJECTS) $(cr16_gencode_LDADD) $(LIBS) |
1925 | + | |
1926 | +cr16/run$(EXEEXT): $(cr16_run_OBJECTS) $(cr16_run_DEPENDENCIES) $(EXTRA_cr16_run_DEPENDENCIES) cr16/$(am__dirstamp) | |
1927 | + @rm -f cr16/run$(EXEEXT) | |
1928 | + $(AM_V_CCLD)$(LINK) $(cr16_run_OBJECTS) $(cr16_run_LDADD) $(LIBS) | |
1429 | 1929 | cris/$(am__dirstamp): |
1430 | 1930 | @$(MKDIR_P) cris |
1431 | 1931 | @: > cris/$(am__dirstamp) |
1932 | + | |
1933 | +cris/run$(EXEEXT): $(cris_run_OBJECTS) $(cris_run_DEPENDENCIES) $(EXTRA_cris_run_DEPENDENCIES) cris/$(am__dirstamp) | |
1934 | + @rm -f cris/run$(EXEEXT) | |
1935 | + $(AM_V_CCLD)$(LINK) $(cris_run_OBJECTS) $(cris_run_LDADD) $(LIBS) | |
1432 | 1936 | cris/$(DEPDIR)/$(am__dirstamp): |
1433 | 1937 | @$(MKDIR_P) cris/$(DEPDIR) |
1434 | 1938 | @: > cris/$(DEPDIR)/$(am__dirstamp) |
@@ -1451,6 +1955,54 @@ d10v/gencode.$(OBJEXT): d10v/$(am__dirstamp) \ | ||
1451 | 1955 | @SIM_ENABLE_ARCH_d10v_FALSE@ @rm -f d10v/gencode$(EXEEXT) |
1452 | 1956 | @SIM_ENABLE_ARCH_d10v_FALSE@ $(AM_V_CCLD)$(LINK) $(d10v_gencode_OBJECTS) $(d10v_gencode_LDADD) $(LIBS) |
1453 | 1957 | |
1958 | +d10v/run$(EXEEXT): $(d10v_run_OBJECTS) $(d10v_run_DEPENDENCIES) $(EXTRA_d10v_run_DEPENDENCIES) d10v/$(am__dirstamp) | |
1959 | + @rm -f d10v/run$(EXEEXT) | |
1960 | + $(AM_V_CCLD)$(LINK) $(d10v_run_OBJECTS) $(d10v_run_LDADD) $(LIBS) | |
1961 | +erc32/$(am__dirstamp): | |
1962 | + @$(MKDIR_P) erc32 | |
1963 | + @: > erc32/$(am__dirstamp) | |
1964 | + | |
1965 | +erc32/run$(EXEEXT): $(erc32_run_OBJECTS) $(erc32_run_DEPENDENCIES) $(EXTRA_erc32_run_DEPENDENCIES) erc32/$(am__dirstamp) | |
1966 | + @rm -f erc32/run$(EXEEXT) | |
1967 | + $(AM_V_CCLD)$(LINK) $(erc32_run_OBJECTS) $(erc32_run_LDADD) $(LIBS) | |
1968 | +erc32/$(DEPDIR)/$(am__dirstamp): | |
1969 | + @$(MKDIR_P) erc32/$(DEPDIR) | |
1970 | + @: > erc32/$(DEPDIR)/$(am__dirstamp) | |
1971 | +erc32/sis.$(OBJEXT): erc32/$(am__dirstamp) \ | |
1972 | + erc32/$(DEPDIR)/$(am__dirstamp) | |
1973 | + | |
1974 | +@SIM_ENABLE_ARCH_erc32_FALSE@erc32/sis$(EXEEXT): $(erc32_sis_OBJECTS) $(erc32_sis_DEPENDENCIES) $(EXTRA_erc32_sis_DEPENDENCIES) erc32/$(am__dirstamp) | |
1975 | +@SIM_ENABLE_ARCH_erc32_FALSE@ @rm -f erc32/sis$(EXEEXT) | |
1976 | +@SIM_ENABLE_ARCH_erc32_FALSE@ $(AM_V_CCLD)$(LINK) $(erc32_sis_OBJECTS) $(erc32_sis_LDADD) $(LIBS) | |
1977 | +example-synacor/$(am__dirstamp): | |
1978 | + @$(MKDIR_P) example-synacor | |
1979 | + @: > example-synacor/$(am__dirstamp) | |
1980 | + | |
1981 | +example-synacor/run$(EXEEXT): $(example_synacor_run_OBJECTS) $(example_synacor_run_DEPENDENCIES) $(EXTRA_example_synacor_run_DEPENDENCIES) example-synacor/$(am__dirstamp) | |
1982 | + @rm -f example-synacor/run$(EXEEXT) | |
1983 | + $(AM_V_CCLD)$(LINK) $(example_synacor_run_OBJECTS) $(example_synacor_run_LDADD) $(LIBS) | |
1984 | +frv/$(am__dirstamp): | |
1985 | + @$(MKDIR_P) frv | |
1986 | + @: > frv/$(am__dirstamp) | |
1987 | + | |
1988 | +frv/run$(EXEEXT): $(frv_run_OBJECTS) $(frv_run_DEPENDENCIES) $(EXTRA_frv_run_DEPENDENCIES) frv/$(am__dirstamp) | |
1989 | + @rm -f frv/run$(EXEEXT) | |
1990 | + $(AM_V_CCLD)$(LINK) $(frv_run_OBJECTS) $(frv_run_LDADD) $(LIBS) | |
1991 | +ft32/$(am__dirstamp): | |
1992 | + @$(MKDIR_P) ft32 | |
1993 | + @: > ft32/$(am__dirstamp) | |
1994 | + | |
1995 | +ft32/run$(EXEEXT): $(ft32_run_OBJECTS) $(ft32_run_DEPENDENCIES) $(EXTRA_ft32_run_DEPENDENCIES) ft32/$(am__dirstamp) | |
1996 | + @rm -f ft32/run$(EXEEXT) | |
1997 | + $(AM_V_CCLD)$(LINK) $(ft32_run_OBJECTS) $(ft32_run_LDADD) $(LIBS) | |
1998 | +h8300/$(am__dirstamp): | |
1999 | + @$(MKDIR_P) h8300 | |
2000 | + @: > h8300/$(am__dirstamp) | |
2001 | + | |
2002 | +h8300/run$(EXEEXT): $(h8300_run_OBJECTS) $(h8300_run_DEPENDENCIES) $(EXTRA_h8300_run_DEPENDENCIES) h8300/$(am__dirstamp) | |
2003 | + @rm -f h8300/run$(EXEEXT) | |
2004 | + $(AM_V_CCLD)$(LINK) $(h8300_run_OBJECTS) $(h8300_run_LDADD) $(LIBS) | |
2005 | + | |
1454 | 2006 | igen/filter$(EXEEXT): $(igen_filter_OBJECTS) $(igen_filter_DEPENDENCIES) $(EXTRA_igen_filter_DEPENDENCIES) igen/$(am__dirstamp) |
1455 | 2007 | @rm -f igen/filter$(EXEEXT) |
1456 | 2008 | $(AM_V_CCLD)$(LINK) $(igen_filter_OBJECTS) $(igen_filter_LDADD) $(LIBS) |
@@ -1480,6 +2032,20 @@ igen/ld-insn$(EXEEXT): $(igen_ld_insn_OBJECTS) $(igen_ld_insn_DEPENDENCIES) $(EX | ||
1480 | 2032 | igen/table$(EXEEXT): $(igen_table_OBJECTS) $(igen_table_DEPENDENCIES) $(EXTRA_igen_table_DEPENDENCIES) igen/$(am__dirstamp) |
1481 | 2033 | @rm -f igen/table$(EXEEXT) |
1482 | 2034 | $(AM_V_CCLD)$(LINK) $(igen_table_OBJECTS) $(igen_table_LDADD) $(LIBS) |
2035 | +iq2000/$(am__dirstamp): | |
2036 | + @$(MKDIR_P) iq2000 | |
2037 | + @: > iq2000/$(am__dirstamp) | |
2038 | + | |
2039 | +iq2000/run$(EXEEXT): $(iq2000_run_OBJECTS) $(iq2000_run_DEPENDENCIES) $(EXTRA_iq2000_run_DEPENDENCIES) iq2000/$(am__dirstamp) | |
2040 | + @rm -f iq2000/run$(EXEEXT) | |
2041 | + $(AM_V_CCLD)$(LINK) $(iq2000_run_OBJECTS) $(iq2000_run_LDADD) $(LIBS) | |
2042 | +lm32/$(am__dirstamp): | |
2043 | + @$(MKDIR_P) lm32 | |
2044 | + @: > lm32/$(am__dirstamp) | |
2045 | + | |
2046 | +lm32/run$(EXEEXT): $(lm32_run_OBJECTS) $(lm32_run_DEPENDENCIES) $(EXTRA_lm32_run_DEPENDENCIES) lm32/$(am__dirstamp) | |
2047 | + @rm -f lm32/run$(EXEEXT) | |
2048 | + $(AM_V_CCLD)$(LINK) $(lm32_run_OBJECTS) $(lm32_run_LDADD) $(LIBS) | |
1483 | 2049 | m32c/$(am__dirstamp): |
1484 | 2050 | @$(MKDIR_P) m32c |
1485 | 2051 | @: > m32c/$(am__dirstamp) |
@@ -1492,6 +2058,17 @@ m32c/opc2c.$(OBJEXT): m32c/$(am__dirstamp) \ | ||
1492 | 2058 | @SIM_ENABLE_ARCH_m32c_FALSE@m32c/opc2c$(EXEEXT): $(m32c_opc2c_OBJECTS) $(m32c_opc2c_DEPENDENCIES) $(EXTRA_m32c_opc2c_DEPENDENCIES) m32c/$(am__dirstamp) |
1493 | 2059 | @SIM_ENABLE_ARCH_m32c_FALSE@ @rm -f m32c/opc2c$(EXEEXT) |
1494 | 2060 | @SIM_ENABLE_ARCH_m32c_FALSE@ $(AM_V_CCLD)$(LINK) $(m32c_opc2c_OBJECTS) $(m32c_opc2c_LDADD) $(LIBS) |
2061 | + | |
2062 | +m32c/run$(EXEEXT): $(m32c_run_OBJECTS) $(m32c_run_DEPENDENCIES) $(EXTRA_m32c_run_DEPENDENCIES) m32c/$(am__dirstamp) | |
2063 | + @rm -f m32c/run$(EXEEXT) | |
2064 | + $(AM_V_CCLD)$(LINK) $(m32c_run_OBJECTS) $(m32c_run_LDADD) $(LIBS) | |
2065 | +m32r/$(am__dirstamp): | |
2066 | + @$(MKDIR_P) m32r | |
2067 | + @: > m32r/$(am__dirstamp) | |
2068 | + | |
2069 | +m32r/run$(EXEEXT): $(m32r_run_OBJECTS) $(m32r_run_DEPENDENCIES) $(EXTRA_m32r_run_DEPENDENCIES) m32r/$(am__dirstamp) | |
2070 | + @rm -f m32r/run$(EXEEXT) | |
2071 | + $(AM_V_CCLD)$(LINK) $(m32r_run_OBJECTS) $(m32r_run_LDADD) $(LIBS) | |
1495 | 2072 | m68hc11/$(am__dirstamp): |
1496 | 2073 | @$(MKDIR_P) m68hc11 |
1497 | 2074 | @: > m68hc11/$(am__dirstamp) |
@@ -1504,6 +2081,102 @@ m68hc11/gencode.$(OBJEXT): m68hc11/$(am__dirstamp) \ | ||
1504 | 2081 | @SIM_ENABLE_ARCH_m68hc11_FALSE@m68hc11/gencode$(EXEEXT): $(m68hc11_gencode_OBJECTS) $(m68hc11_gencode_DEPENDENCIES) $(EXTRA_m68hc11_gencode_DEPENDENCIES) m68hc11/$(am__dirstamp) |
1505 | 2082 | @SIM_ENABLE_ARCH_m68hc11_FALSE@ @rm -f m68hc11/gencode$(EXEEXT) |
1506 | 2083 | @SIM_ENABLE_ARCH_m68hc11_FALSE@ $(AM_V_CCLD)$(LINK) $(m68hc11_gencode_OBJECTS) $(m68hc11_gencode_LDADD) $(LIBS) |
2084 | + | |
2085 | +m68hc11/run$(EXEEXT): $(m68hc11_run_OBJECTS) $(m68hc11_run_DEPENDENCIES) $(EXTRA_m68hc11_run_DEPENDENCIES) m68hc11/$(am__dirstamp) | |
2086 | + @rm -f m68hc11/run$(EXEEXT) | |
2087 | + $(AM_V_CCLD)$(LINK) $(m68hc11_run_OBJECTS) $(m68hc11_run_LDADD) $(LIBS) | |
2088 | +mcore/$(am__dirstamp): | |
2089 | + @$(MKDIR_P) mcore | |
2090 | + @: > mcore/$(am__dirstamp) | |
2091 | + | |
2092 | +mcore/run$(EXEEXT): $(mcore_run_OBJECTS) $(mcore_run_DEPENDENCIES) $(EXTRA_mcore_run_DEPENDENCIES) mcore/$(am__dirstamp) | |
2093 | + @rm -f mcore/run$(EXEEXT) | |
2094 | + $(AM_V_CCLD)$(LINK) $(mcore_run_OBJECTS) $(mcore_run_LDADD) $(LIBS) | |
2095 | +microblaze/$(am__dirstamp): | |
2096 | + @$(MKDIR_P) microblaze | |
2097 | + @: > microblaze/$(am__dirstamp) | |
2098 | + | |
2099 | +microblaze/run$(EXEEXT): $(microblaze_run_OBJECTS) $(microblaze_run_DEPENDENCIES) $(EXTRA_microblaze_run_DEPENDENCIES) microblaze/$(am__dirstamp) | |
2100 | + @rm -f microblaze/run$(EXEEXT) | |
2101 | + $(AM_V_CCLD)$(LINK) $(microblaze_run_OBJECTS) $(microblaze_run_LDADD) $(LIBS) | |
2102 | +mips/$(am__dirstamp): | |
2103 | + @$(MKDIR_P) mips | |
2104 | + @: > mips/$(am__dirstamp) | |
2105 | + | |
2106 | +mips/run$(EXEEXT): $(mips_run_OBJECTS) $(mips_run_DEPENDENCIES) $(EXTRA_mips_run_DEPENDENCIES) mips/$(am__dirstamp) | |
2107 | + @rm -f mips/run$(EXEEXT) | |
2108 | + $(AM_V_CCLD)$(LINK) $(mips_run_OBJECTS) $(mips_run_LDADD) $(LIBS) | |
2109 | +mn10300/$(am__dirstamp): | |
2110 | + @$(MKDIR_P) mn10300 | |
2111 | + @: > mn10300/$(am__dirstamp) | |
2112 | + | |
2113 | +mn10300/run$(EXEEXT): $(mn10300_run_OBJECTS) $(mn10300_run_DEPENDENCIES) $(EXTRA_mn10300_run_DEPENDENCIES) mn10300/$(am__dirstamp) | |
2114 | + @rm -f mn10300/run$(EXEEXT) | |
2115 | + $(AM_V_CCLD)$(LINK) $(mn10300_run_OBJECTS) $(mn10300_run_LDADD) $(LIBS) | |
2116 | +moxie/$(am__dirstamp): | |
2117 | + @$(MKDIR_P) moxie | |
2118 | + @: > moxie/$(am__dirstamp) | |
2119 | + | |
2120 | +moxie/run$(EXEEXT): $(moxie_run_OBJECTS) $(moxie_run_DEPENDENCIES) $(EXTRA_moxie_run_DEPENDENCIES) moxie/$(am__dirstamp) | |
2121 | + @rm -f moxie/run$(EXEEXT) | |
2122 | + $(AM_V_CCLD)$(LINK) $(moxie_run_OBJECTS) $(moxie_run_LDADD) $(LIBS) | |
2123 | +msp430/$(am__dirstamp): | |
2124 | + @$(MKDIR_P) msp430 | |
2125 | + @: > msp430/$(am__dirstamp) | |
2126 | + | |
2127 | +msp430/run$(EXEEXT): $(msp430_run_OBJECTS) $(msp430_run_DEPENDENCIES) $(EXTRA_msp430_run_DEPENDENCIES) msp430/$(am__dirstamp) | |
2128 | + @rm -f msp430/run$(EXEEXT) | |
2129 | + $(AM_V_CCLD)$(LINK) $(msp430_run_OBJECTS) $(msp430_run_LDADD) $(LIBS) | |
2130 | +or1k/$(am__dirstamp): | |
2131 | + @$(MKDIR_P) or1k | |
2132 | + @: > or1k/$(am__dirstamp) | |
2133 | + | |
2134 | +or1k/run$(EXEEXT): $(or1k_run_OBJECTS) $(or1k_run_DEPENDENCIES) $(EXTRA_or1k_run_DEPENDENCIES) or1k/$(am__dirstamp) | |
2135 | + @rm -f or1k/run$(EXEEXT) | |
2136 | + $(AM_V_CCLD)$(LINK) $(or1k_run_OBJECTS) $(or1k_run_LDADD) $(LIBS) | |
2137 | +ppc/$(am__dirstamp): | |
2138 | + @$(MKDIR_P) ppc | |
2139 | + @: > ppc/$(am__dirstamp) | |
2140 | +ppc/$(DEPDIR)/$(am__dirstamp): | |
2141 | + @$(MKDIR_P) ppc/$(DEPDIR) | |
2142 | + @: > ppc/$(DEPDIR)/$(am__dirstamp) | |
2143 | +ppc/psim.$(OBJEXT): ppc/$(am__dirstamp) ppc/$(DEPDIR)/$(am__dirstamp) | |
2144 | + | |
2145 | +@SIM_ENABLE_ARCH_ppc_FALSE@ppc/psim$(EXEEXT): $(ppc_psim_OBJECTS) $(ppc_psim_DEPENDENCIES) $(EXTRA_ppc_psim_DEPENDENCIES) ppc/$(am__dirstamp) | |
2146 | +@SIM_ENABLE_ARCH_ppc_FALSE@ @rm -f ppc/psim$(EXEEXT) | |
2147 | +@SIM_ENABLE_ARCH_ppc_FALSE@ $(AM_V_CCLD)$(LINK) $(ppc_psim_OBJECTS) $(ppc_psim_LDADD) $(LIBS) | |
2148 | + | |
2149 | +ppc/run$(EXEEXT): $(ppc_run_OBJECTS) $(ppc_run_DEPENDENCIES) $(EXTRA_ppc_run_DEPENDENCIES) ppc/$(am__dirstamp) | |
2150 | + @rm -f ppc/run$(EXEEXT) | |
2151 | + $(AM_V_CCLD)$(LINK) $(ppc_run_OBJECTS) $(ppc_run_LDADD) $(LIBS) | |
2152 | +pru/$(am__dirstamp): | |
2153 | + @$(MKDIR_P) pru | |
2154 | + @: > pru/$(am__dirstamp) | |
2155 | + | |
2156 | +pru/run$(EXEEXT): $(pru_run_OBJECTS) $(pru_run_DEPENDENCIES) $(EXTRA_pru_run_DEPENDENCIES) pru/$(am__dirstamp) | |
2157 | + @rm -f pru/run$(EXEEXT) | |
2158 | + $(AM_V_CCLD)$(LINK) $(pru_run_OBJECTS) $(pru_run_LDADD) $(LIBS) | |
2159 | +riscv/$(am__dirstamp): | |
2160 | + @$(MKDIR_P) riscv | |
2161 | + @: > riscv/$(am__dirstamp) | |
2162 | + | |
2163 | +riscv/run$(EXEEXT): $(riscv_run_OBJECTS) $(riscv_run_DEPENDENCIES) $(EXTRA_riscv_run_DEPENDENCIES) riscv/$(am__dirstamp) | |
2164 | + @rm -f riscv/run$(EXEEXT) | |
2165 | + $(AM_V_CCLD)$(LINK) $(riscv_run_OBJECTS) $(riscv_run_LDADD) $(LIBS) | |
2166 | +rl78/$(am__dirstamp): | |
2167 | + @$(MKDIR_P) rl78 | |
2168 | + @: > rl78/$(am__dirstamp) | |
2169 | + | |
2170 | +rl78/run$(EXEEXT): $(rl78_run_OBJECTS) $(rl78_run_DEPENDENCIES) $(EXTRA_rl78_run_DEPENDENCIES) rl78/$(am__dirstamp) | |
2171 | + @rm -f rl78/run$(EXEEXT) | |
2172 | + $(AM_V_CCLD)$(LINK) $(rl78_run_OBJECTS) $(rl78_run_LDADD) $(LIBS) | |
2173 | +rx/$(am__dirstamp): | |
2174 | + @$(MKDIR_P) rx | |
2175 | + @: > rx/$(am__dirstamp) | |
2176 | + | |
2177 | +rx/run$(EXEEXT): $(rx_run_OBJECTS) $(rx_run_DEPENDENCIES) $(EXTRA_rx_run_DEPENDENCIES) rx/$(am__dirstamp) | |
2178 | + @rm -f rx/run$(EXEEXT) | |
2179 | + $(AM_V_CCLD)$(LINK) $(rx_run_OBJECTS) $(rx_run_LDADD) $(LIBS) | |
1507 | 2180 | sh/$(am__dirstamp): |
1508 | 2181 | @$(MKDIR_P) sh |
1509 | 2182 | @: > sh/$(am__dirstamp) |
@@ -1515,6 +2188,10 @@ sh/gencode.$(OBJEXT): sh/$(am__dirstamp) sh/$(DEPDIR)/$(am__dirstamp) | ||
1515 | 2188 | @SIM_ENABLE_ARCH_sh_FALSE@sh/gencode$(EXEEXT): $(sh_gencode_OBJECTS) $(sh_gencode_DEPENDENCIES) $(EXTRA_sh_gencode_DEPENDENCIES) sh/$(am__dirstamp) |
1516 | 2189 | @SIM_ENABLE_ARCH_sh_FALSE@ @rm -f sh/gencode$(EXEEXT) |
1517 | 2190 | @SIM_ENABLE_ARCH_sh_FALSE@ $(AM_V_CCLD)$(LINK) $(sh_gencode_OBJECTS) $(sh_gencode_LDADD) $(LIBS) |
2191 | + | |
2192 | +sh/run$(EXEEXT): $(sh_run_OBJECTS) $(sh_run_DEPENDENCIES) $(EXTRA_sh_run_DEPENDENCIES) sh/$(am__dirstamp) | |
2193 | + @rm -f sh/run$(EXEEXT) | |
2194 | + $(AM_V_CCLD)$(LINK) $(sh_run_OBJECTS) $(sh_run_LDADD) $(LIBS) | |
1518 | 2195 | testsuite/common/$(am__dirstamp): |
1519 | 2196 | @$(MKDIR_P) testsuite/common |
1520 | 2197 | @: > testsuite/common/$(am__dirstamp) |
@@ -1537,6 +2214,13 @@ testsuite/common/bits64m63.$(OBJEXT): \ | ||
1537 | 2214 | testsuite/common/$(DEPDIR)/$(am__dirstamp) |
1538 | 2215 | testsuite/common/fpu-tst.$(OBJEXT): testsuite/common/$(am__dirstamp) \ |
1539 | 2216 | testsuite/common/$(DEPDIR)/$(am__dirstamp) |
2217 | +v850/$(am__dirstamp): | |
2218 | + @$(MKDIR_P) v850 | |
2219 | + @: > v850/$(am__dirstamp) | |
2220 | + | |
2221 | +v850/run$(EXEEXT): $(v850_run_OBJECTS) $(v850_run_DEPENDENCIES) $(EXTRA_v850_run_DEPENDENCIES) v850/$(am__dirstamp) | |
2222 | + @rm -f v850/run$(EXEEXT) | |
2223 | + $(AM_V_CCLD)$(LINK) $(v850_run_OBJECTS) $(v850_run_LDADD) $(LIBS) | |
1540 | 2224 | |
1541 | 2225 | mostlyclean-compile: |
1542 | 2226 | -rm -f *.$(OBJEXT) |
@@ -1544,9 +2228,11 @@ mostlyclean-compile: | ||
1544 | 2228 | -rm -f cr16/*.$(OBJEXT) |
1545 | 2229 | -rm -f cris/*.$(OBJEXT) |
1546 | 2230 | -rm -f d10v/*.$(OBJEXT) |
2231 | + -rm -f erc32/*.$(OBJEXT) | |
1547 | 2232 | -rm -f igen/*.$(OBJEXT) |
1548 | 2233 | -rm -f m32c/*.$(OBJEXT) |
1549 | 2234 | -rm -f m68hc11/*.$(OBJEXT) |
2235 | + -rm -f ppc/*.$(OBJEXT) | |
1550 | 2236 | -rm -f sh/*.$(OBJEXT) |
1551 | 2237 | -rm -f testsuite/common/*.$(OBJEXT) |
1552 | 2238 |
@@ -1565,6 +2251,7 @@ distclean-compile: | ||
1565 | 2251 | @AMDEP_TRUE@@am__include@ @am__quote@cr16/$(DEPDIR)/gencode.Po@am__quote@ |
1566 | 2252 | @AMDEP_TRUE@@am__include@ @am__quote@cris/$(DEPDIR)/rvdummy.Po@am__quote@ |
1567 | 2253 | @AMDEP_TRUE@@am__include@ @am__quote@d10v/$(DEPDIR)/gencode.Po@am__quote@ |
2254 | +@AMDEP_TRUE@@am__include@ @am__quote@erc32/$(DEPDIR)/sis.Po@am__quote@ | |
1568 | 2255 | @AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/filter.Po@am__quote@ |
1569 | 2256 | @AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/filter_host.Po@am__quote@ |
1570 | 2257 | @AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/gen-engine.Po@am__quote@ |
@@ -1584,6 +2271,7 @@ distclean-compile: | ||
1584 | 2271 | @AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/table.Po@am__quote@ |
1585 | 2272 | @AMDEP_TRUE@@am__include@ @am__quote@m32c/$(DEPDIR)/opc2c.Po@am__quote@ |
1586 | 2273 | @AMDEP_TRUE@@am__include@ @am__quote@m68hc11/$(DEPDIR)/gencode.Po@am__quote@ |
2274 | +@AMDEP_TRUE@@am__include@ @am__quote@ppc/$(DEPDIR)/psim.Po@am__quote@ | |
1587 | 2275 | @AMDEP_TRUE@@am__include@ @am__quote@sh/$(DEPDIR)/gencode.Po@am__quote@ |
1588 | 2276 | @AMDEP_TRUE@@am__include@ @am__quote@testsuite/common/$(DEPDIR)/alu-tst.Po@am__quote@ |
1589 | 2277 | @AMDEP_TRUE@@am__include@ @am__quote@testsuite/common/$(DEPDIR)/bits-gen.Po@am__quote@ |
@@ -1622,14 +2310,40 @@ mostlyclean-libtool: | ||
1622 | 2310 | |
1623 | 2311 | clean-libtool: |
1624 | 2312 | -rm -rf .libs _libs |
2313 | + -rm -rf aarch64/.libs aarch64/_libs | |
2314 | + -rm -rf arm/.libs arm/_libs | |
2315 | + -rm -rf avr/.libs avr/_libs | |
2316 | + -rm -rf bfin/.libs bfin/_libs | |
2317 | + -rm -rf bpf/.libs bpf/_libs | |
1625 | 2318 | -rm -rf cr16/.libs cr16/_libs |
1626 | 2319 | -rm -rf cris/.libs cris/_libs |
1627 | 2320 | -rm -rf d10v/.libs d10v/_libs |
2321 | + -rm -rf erc32/.libs erc32/_libs | |
2322 | + -rm -rf example-synacor/.libs example-synacor/_libs | |
2323 | + -rm -rf frv/.libs frv/_libs | |
2324 | + -rm -rf ft32/.libs ft32/_libs | |
2325 | + -rm -rf h8300/.libs h8300/_libs | |
1628 | 2326 | -rm -rf igen/.libs igen/_libs |
2327 | + -rm -rf iq2000/.libs iq2000/_libs | |
2328 | + -rm -rf lm32/.libs lm32/_libs | |
1629 | 2329 | -rm -rf m32c/.libs m32c/_libs |
2330 | + -rm -rf m32r/.libs m32r/_libs | |
1630 | 2331 | -rm -rf m68hc11/.libs m68hc11/_libs |
2332 | + -rm -rf mcore/.libs mcore/_libs | |
2333 | + -rm -rf microblaze/.libs microblaze/_libs | |
2334 | + -rm -rf mips/.libs mips/_libs | |
2335 | + -rm -rf mn10300/.libs mn10300/_libs | |
2336 | + -rm -rf moxie/.libs moxie/_libs | |
2337 | + -rm -rf msp430/.libs msp430/_libs | |
2338 | + -rm -rf or1k/.libs or1k/_libs | |
2339 | + -rm -rf ppc/.libs ppc/_libs | |
2340 | + -rm -rf pru/.libs pru/_libs | |
2341 | + -rm -rf riscv/.libs riscv/_libs | |
2342 | + -rm -rf rl78/.libs rl78/_libs | |
2343 | + -rm -rf rx/.libs rx/_libs | |
1631 | 2344 | -rm -rf sh/.libs sh/_libs |
1632 | 2345 | -rm -rf testsuite/common/.libs testsuite/common/_libs |
2346 | + -rm -rf v850/.libs v850/_libs | |
1633 | 2347 | |
1634 | 2348 | distclean-libtool: |
1635 | 2349 | -rm -f libtool config.lt |
@@ -2134,7 +2848,7 @@ check-am: all-am | ||
2134 | 2848 | $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) |
2135 | 2849 | $(MAKE) $(AM_MAKEFLAGS) check-DEJAGNU check-TESTS |
2136 | 2850 | check: check-recursive |
2137 | -all-am: Makefile $(LIBRARIES) $(DATA) $(HEADERS) config.h | |
2851 | +all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(DATA) $(HEADERS) config.h | |
2138 | 2852 | installdirs: installdirs-recursive |
2139 | 2853 | installdirs-am: |
2140 | 2854 | for dir in "$(DESTDIR)$(armdocdir)" "$(DESTDIR)$(dtbdir)" "$(DESTDIR)$(erc32docdir)" "$(DESTDIR)$(frvdocdir)" "$(DESTDIR)$(or1kdocdir)" "$(DESTDIR)$(ppcdocdir)" "$(DESTDIR)$(rxdocdir)" "$(DESTDIR)$(pkgincludedir)"; do \ |
@@ -2171,6 +2885,11 @@ clean-generic: | ||
2171 | 2885 | distclean-generic: |
2172 | 2886 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) |
2173 | 2887 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) |
2888 | + -rm -f aarch64/$(am__dirstamp) | |
2889 | + -rm -f arm/$(am__dirstamp) | |
2890 | + -rm -f avr/$(am__dirstamp) | |
2891 | + -rm -f bfin/$(am__dirstamp) | |
2892 | + -rm -f bpf/$(am__dirstamp) | |
2174 | 2893 | -rm -f common/$(DEPDIR)/$(am__dirstamp) |
2175 | 2894 | -rm -f common/$(am__dirstamp) |
2176 | 2895 | -rm -f cr16/$(DEPDIR)/$(am__dirstamp) |
@@ -2179,16 +2898,39 @@ distclean-generic: | ||
2179 | 2898 | -rm -f cris/$(am__dirstamp) |
2180 | 2899 | -rm -f d10v/$(DEPDIR)/$(am__dirstamp) |
2181 | 2900 | -rm -f d10v/$(am__dirstamp) |
2901 | + -rm -f erc32/$(DEPDIR)/$(am__dirstamp) | |
2902 | + -rm -f erc32/$(am__dirstamp) | |
2903 | + -rm -f example-synacor/$(am__dirstamp) | |
2904 | + -rm -f frv/$(am__dirstamp) | |
2905 | + -rm -f ft32/$(am__dirstamp) | |
2906 | + -rm -f h8300/$(am__dirstamp) | |
2182 | 2907 | -rm -f igen/$(DEPDIR)/$(am__dirstamp) |
2183 | 2908 | -rm -f igen/$(am__dirstamp) |
2909 | + -rm -f iq2000/$(am__dirstamp) | |
2910 | + -rm -f lm32/$(am__dirstamp) | |
2184 | 2911 | -rm -f m32c/$(DEPDIR)/$(am__dirstamp) |
2185 | 2912 | -rm -f m32c/$(am__dirstamp) |
2913 | + -rm -f m32r/$(am__dirstamp) | |
2186 | 2914 | -rm -f m68hc11/$(DEPDIR)/$(am__dirstamp) |
2187 | 2915 | -rm -f m68hc11/$(am__dirstamp) |
2916 | + -rm -f mcore/$(am__dirstamp) | |
2917 | + -rm -f microblaze/$(am__dirstamp) | |
2918 | + -rm -f mips/$(am__dirstamp) | |
2919 | + -rm -f mn10300/$(am__dirstamp) | |
2920 | + -rm -f moxie/$(am__dirstamp) | |
2921 | + -rm -f msp430/$(am__dirstamp) | |
2922 | + -rm -f or1k/$(am__dirstamp) | |
2923 | + -rm -f ppc/$(DEPDIR)/$(am__dirstamp) | |
2924 | + -rm -f ppc/$(am__dirstamp) | |
2925 | + -rm -f pru/$(am__dirstamp) | |
2926 | + -rm -f riscv/$(am__dirstamp) | |
2927 | + -rm -f rl78/$(am__dirstamp) | |
2928 | + -rm -f rx/$(am__dirstamp) | |
2188 | 2929 | -rm -f sh/$(DEPDIR)/$(am__dirstamp) |
2189 | 2930 | -rm -f sh/$(am__dirstamp) |
2190 | 2931 | -rm -f testsuite/common/$(DEPDIR)/$(am__dirstamp) |
2191 | 2932 | -rm -f testsuite/common/$(am__dirstamp) |
2933 | + -rm -f v850/$(am__dirstamp) | |
2192 | 2934 | -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) |
2193 | 2935 | |
2194 | 2936 | maintainer-clean-generic: |
@@ -2197,11 +2939,11 @@ maintainer-clean-generic: | ||
2197 | 2939 | clean: clean-recursive |
2198 | 2940 | |
2199 | 2941 | clean-am: clean-checkPROGRAMS clean-generic clean-libtool \ |
2200 | - clean-noinstLIBRARIES mostlyclean-am | |
2942 | + clean-noinstLIBRARIES clean-noinstPROGRAMS mostlyclean-am | |
2201 | 2943 | |
2202 | 2944 | distclean: distclean-recursive |
2203 | 2945 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
2204 | - -rm -rf common/$(DEPDIR) cr16/$(DEPDIR) cris/$(DEPDIR) d10v/$(DEPDIR) igen/$(DEPDIR) m32c/$(DEPDIR) m68hc11/$(DEPDIR) sh/$(DEPDIR) testsuite/common/$(DEPDIR) | |
2946 | + -rm -rf common/$(DEPDIR) cr16/$(DEPDIR) cris/$(DEPDIR) d10v/$(DEPDIR) erc32/$(DEPDIR) igen/$(DEPDIR) m32c/$(DEPDIR) m68hc11/$(DEPDIR) ppc/$(DEPDIR) sh/$(DEPDIR) testsuite/common/$(DEPDIR) | |
2205 | 2947 | -rm -f Makefile |
2206 | 2948 | distclean-am: clean-am distclean-DEJAGNU distclean-compile \ |
2207 | 2949 | distclean-generic distclean-hdr distclean-libtool \ |
@@ -2252,7 +2994,7 @@ installcheck-am: | ||
2252 | 2994 | maintainer-clean: maintainer-clean-recursive |
2253 | 2995 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
2254 | 2996 | -rm -rf $(top_srcdir)/autom4te.cache |
2255 | - -rm -rf common/$(DEPDIR) cr16/$(DEPDIR) cris/$(DEPDIR) d10v/$(DEPDIR) igen/$(DEPDIR) m32c/$(DEPDIR) m68hc11/$(DEPDIR) sh/$(DEPDIR) testsuite/common/$(DEPDIR) | |
2997 | + -rm -rf common/$(DEPDIR) cr16/$(DEPDIR) cris/$(DEPDIR) d10v/$(DEPDIR) erc32/$(DEPDIR) igen/$(DEPDIR) m32c/$(DEPDIR) m68hc11/$(DEPDIR) ppc/$(DEPDIR) sh/$(DEPDIR) testsuite/common/$(DEPDIR) | |
2256 | 2998 | -rm -f Makefile |
2257 | 2999 | maintainer-clean-am: distclean-am maintainer-clean-generic |
2258 | 3000 |
@@ -2279,16 +3021,16 @@ uninstall-am: uninstall-armdocDATA uninstall-dtbDATA \ | ||
2279 | 3021 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ |
2280 | 3022 | am--refresh check check-DEJAGNU check-TESTS check-am clean \ |
2281 | 3023 | clean-checkPROGRAMS clean-cscope clean-generic clean-libtool \ |
2282 | - clean-noinstLIBRARIES cscope cscopelist-am ctags ctags-am \ | |
2283 | - distclean distclean-DEJAGNU distclean-compile \ | |
2284 | - distclean-generic distclean-hdr distclean-libtool \ | |
2285 | - distclean-tags dvi dvi-am html html-am info info-am install \ | |
2286 | - install-am install-armdocDATA install-data install-data-am \ | |
2287 | - install-data-local install-dtbDATA install-dvi install-dvi-am \ | |
2288 | - install-erc32docDATA install-exec install-exec-am \ | |
2289 | - install-exec-local install-frvdocDATA install-html \ | |
2290 | - install-html-am install-info install-info-am install-man \ | |
2291 | - install-or1kdocDATA install-pdf install-pdf-am \ | |
3024 | + clean-noinstLIBRARIES clean-noinstPROGRAMS cscope \ | |
3025 | + cscopelist-am ctags ctags-am distclean distclean-DEJAGNU \ | |
3026 | + distclean-compile distclean-generic distclean-hdr \ | |
3027 | + distclean-libtool distclean-tags dvi dvi-am html html-am info \ | |
3028 | + info-am install install-am install-armdocDATA install-data \ | |
3029 | + install-data-am install-data-local install-dtbDATA install-dvi \ | |
3030 | + install-dvi-am install-erc32docDATA install-exec \ | |
3031 | + install-exec-am install-exec-local install-frvdocDATA \ | |
3032 | + install-html install-html-am install-info install-info-am \ | |
3033 | + install-man install-or1kdocDATA install-pdf install-pdf-am \ | |
2292 | 3034 | install-pkgincludeHEADERS install-ppcdocDATA install-ps \ |
2293 | 3035 | install-ps-am install-rxdocDATA install-strip installcheck \ |
2294 | 3036 | installcheck-am installdirs installdirs-am maintainer-clean \ |
@@ -2502,6 +3244,12 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo | ||
2502 | 3244 | |
2503 | 3245 | @SIM_ENABLE_ARCH_d10v_TRUE@d10v/table.c: d10v/gencode$(EXEEXT) |
2504 | 3246 | @SIM_ENABLE_ARCH_d10v_TRUE@ $(AM_V_GEN)$< >$@ |
3247 | + | |
3248 | +@SIM_ENABLE_ARCH_erc32_TRUE@erc32/sis$(EXEEXT): erc32/run$(EXEEXT) | |
3249 | +@SIM_ENABLE_ARCH_erc32_TRUE@ $(AM_V_GEN)ln $< $@ 2>/dev/null || $(LN_S) $< $@ 2>/dev/null || cp -p $< $@ | |
3250 | + | |
3251 | +@SIM_ENABLE_ARCH_erc32_TRUE@erc32/%.o: erc32/%.c | erc32/libsim.a $(SIM_ALL_RECURSIVE_DEPS) | |
3252 | +@SIM_ENABLE_ARCH_erc32_TRUE@ $(MAKE) -C $(@D) $(@F) | |
2505 | 3253 | @SIM_ENABLE_ARCH_erc32_TRUE@sim-%D-install-exec-local: installdirs |
2506 | 3254 | @SIM_ENABLE_ARCH_erc32_TRUE@ $(AM_V_at)$(MKDIR_P) $(DESTDIR)$(bindir) |
2507 | 3255 | @SIM_ENABLE_ARCH_erc32_TRUE@ n=`echo sis | sed '$(program_transform_name)'`; \ |
@@ -2539,6 +3287,9 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo | ||
2539 | 3287 | @SIM_ENABLE_ARCH_lm32_TRUE@ $(AM_V_at)$(SHELL) $(srcroot)/move-if-change lm32/mloop.cin lm32/mloop.c |
2540 | 3288 | @SIM_ENABLE_ARCH_lm32_TRUE@ $(AM_V_at)touch $@ |
2541 | 3289 | |
3290 | +@SIM_ENABLE_ARCH_m32c_TRUE@m32c/%.o: m32c/%.c | m32c/libsim.a $(SIM_ALL_RECURSIVE_DEPS) | |
3291 | +@SIM_ENABLE_ARCH_m32c_TRUE@ $(MAKE) -C $(@D) $(@F) | |
3292 | + | |
2542 | 3293 | # These rules are copied from automake, but tweaked to use FOR_BUILD variables. |
2543 | 3294 | @SIM_ENABLE_ARCH_m32c_TRUE@m32c/opc2c$(EXEEXT): $(m32c_opc2c_OBJECTS) $(m32c_opc2c_DEPENDENCIES) m32c/$(am__dirstamp) |
2544 | 3295 | @SIM_ENABLE_ARCH_m32c_TRUE@ $(AM_V_CCLD)$(LINK_FOR_BUILD) $(m32c_opc2c_OBJECTS) $(m32c_opc2c_LDADD) |
@@ -2654,12 +3405,6 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo | ||
2654 | 3405 | @SIM_ENABLE_ARCH_moxie_TRUE@ echo "update the device tree blob."; \ |
2655 | 3406 | @SIM_ENABLE_ARCH_moxie_TRUE@ fi |
2656 | 3407 | |
2657 | -# Rule to create the .dirstamp file (on which moxie-gdb.dtb depends) | |
2658 | -# as automake fails to automatically create this rule for _DATA items. | |
2659 | -@SIM_ENABLE_ARCH_moxie_TRUE@moxie/$(am__dirstamp): | |
2660 | -@SIM_ENABLE_ARCH_moxie_TRUE@ @$(MKDIR_P) moxie | |
2661 | -@SIM_ENABLE_ARCH_moxie_TRUE@ @: >moxie/$(am__dirstamp) | |
2662 | - | |
2663 | 3408 | @SIM_ENABLE_ARCH_or1k_TRUE@or1k/mloop.c or1k/eng.h: or1k/stamp-mloop ; @true |
2664 | 3409 | @SIM_ENABLE_ARCH_or1k_TRUE@or1k/stamp-mloop: $(srccom)/genmloop.sh or1k/mloop.in |
2665 | 3410 | @SIM_ENABLE_ARCH_or1k_TRUE@ $(AM_V_GEN)$(SHELL) $(srccom)/genmloop.sh -shell $(SHELL) \ |
@@ -2670,6 +3415,18 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo | ||
2670 | 3415 | @SIM_ENABLE_ARCH_or1k_TRUE@ $(AM_V_at)$(SHELL) $(srcroot)/move-if-change or1k/mloop.cin or1k/mloop.c |
2671 | 3416 | @SIM_ENABLE_ARCH_or1k_TRUE@ $(AM_V_at)touch $@ |
2672 | 3417 | |
3418 | +@SIM_ENABLE_ARCH_ppc_TRUE@ppc/psim$(EXEEXT): ppc/run$(EXEEXT) | |
3419 | +@SIM_ENABLE_ARCH_ppc_TRUE@ $(AM_V_GEN)ln $< $@ 2>/dev/null || $(LN_S) $< $@ 2>/dev/null || cp -p $< $@ | |
3420 | + | |
3421 | +@SIM_ENABLE_ARCH_ppc_TRUE@ppc/%.o: ppc/%.c | ppc/libsim.a $(SIM_ALL_RECURSIVE_DEPS) | |
3422 | +@SIM_ENABLE_ARCH_ppc_TRUE@ $(MAKE) -C $(@D) $(@F) | |
3423 | + | |
3424 | +@SIM_ENABLE_ARCH_rl78_TRUE@rl78/%.o: rl78/%.c | rl78/libsim.a $(SIM_ALL_RECURSIVE_DEPS) | |
3425 | +@SIM_ENABLE_ARCH_rl78_TRUE@ $(MAKE) -C $(@D) $(@F) | |
3426 | + | |
3427 | +@SIM_ENABLE_ARCH_rx_TRUE@rx/%.o: rx/%.c | rx/libsim.a $(SIM_ALL_RECURSIVE_DEPS) | |
3428 | +@SIM_ENABLE_ARCH_rx_TRUE@ $(MAKE) -C $(@D) $(@F) | |
3429 | + | |
2673 | 3430 | # These rules are copied from automake, but tweaked to use FOR_BUILD variables. |
2674 | 3431 | @SIM_ENABLE_ARCH_sh_TRUE@sh/gencode$(EXEEXT): $(sh_gencode_OBJECTS) $(sh_gencode_DEPENDENCIES) sh/$(am__dirstamp) |
2675 | 3432 | @SIM_ENABLE_ARCH_sh_TRUE@ $(AM_V_CCLD)$(LINK_FOR_BUILD) $(sh_gencode_OBJECTS) $(sh_gencode_LDADD) |
@@ -2728,6 +3485,12 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo | ||
2728 | 3485 | @SIM_ENABLE_ARCH_v850_TRUE@ $(AM_V_at)$(SHELL) $(srcroot)/move-if-change v850/tmp-irun.c v850/irun.c |
2729 | 3486 | @SIM_ENABLE_ARCH_v850_TRUE@ $(AM_V_at)touch $@ |
2730 | 3487 | |
3488 | +%/libsim.a: | $(SIM_ALL_RECURSIVE_DEPS) | |
3489 | + $(MAKE) -C $(@D) $(@F) | |
3490 | + | |
3491 | +%/nrun.o: common/nrun.c | %/libsim.a $(SIM_ALL_RECURSIVE_DEPS) | |
3492 | + $(MAKE) -C $(@D) $(@F) | |
3493 | + | |
2731 | 3494 | all-recursive: $(SIM_ALL_RECURSIVE_DEPS) |
2732 | 3495 | |
2733 | 3496 | install-data-local: installdirs $(SIM_INSTALL_DATA_LOCAL_DEPS) |
@@ -0,0 +1,25 @@ | ||
1 | +## See sim/Makefile.am | |
2 | +## | |
3 | +## Copyright (C) 2015-2022 Free Software Foundation, Inc. | |
4 | +## Contributed by Red Hat. | |
5 | +## | |
6 | +## This program is free software; you can redistribute it and/or modify | |
7 | +## it under the terms of the GNU General Public License as published by | |
8 | +## the Free Software Foundation; either version 3 of the License, or | |
9 | +## (at your option) any later version. | |
10 | +## | |
11 | +## This program is distributed in the hope that it will be useful, | |
12 | +## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | +## GNU General Public License for more details. | |
15 | +## | |
16 | +## You should have received a copy of the GNU General Public License | |
17 | +## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | + | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run |
@@ -1,6 +1,7 @@ | ||
1 | 1 | ## See sim/Makefile.am |
2 | 2 | ## |
3 | 3 | ## Copyright (C) 1995-2022 Free Software Foundation, Inc. |
4 | +## Written by Cygnus Support. | |
4 | 5 | ## |
5 | 6 | ## This program is free software; you can redistribute it and/or modify |
6 | 7 | ## it under the terms of the GNU General Public License as published by |
@@ -15,5 +16,13 @@ | ||
15 | 16 | ## You should have received a copy of the GNU General Public License |
16 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
18 | 27 | %C%docdir = $(docdir)/%C% |
19 | 28 | %C%doc_DATA = %D%/README |
@@ -0,0 +1,24 @@ | ||
1 | +## See sim/Makefile.am | |
2 | +## | |
3 | +## Copyright (C) 2009-2022 Free Software Foundation, Inc. | |
4 | +## | |
5 | +## This program is free software; you can redistribute it and/or modify | |
6 | +## it under the terms of the GNU General Public License as published by | |
7 | +## the Free Software Foundation; either version 3 of the License, or | |
8 | +## (at your option) any later version. | |
9 | +## | |
10 | +## This program is distributed in the hope that it will be useful, | |
11 | +## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | +## GNU General Public License for more details. | |
14 | +## | |
15 | +## You should have received a copy of the GNU General Public License | |
16 | +## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
17 | + | |
18 | +%C%_run_SOURCES = | |
19 | +%C%_run_LDADD = \ | |
20 | + %D%/nrun.o \ | |
21 | + %D%/libsim.a \ | |
22 | + $(SIM_COMMON_LIBS) | |
23 | + | |
24 | +noinst_PROGRAMS += %D%/run |
@@ -0,0 +1,25 @@ | ||
1 | +## See sim/Makefile.am | |
2 | +## | |
3 | +## Copyright (C) 2005-2022 Free Software Foundation, Inc. | |
4 | +## Written by Analog Devices, Inc. | |
5 | +## | |
6 | +## This program is free software; you can redistribute it and/or modify | |
7 | +## it under the terms of the GNU General Public License as published by | |
8 | +## the Free Software Foundation; either version 3 of the License, or | |
9 | +## (at your option) any later version. | |
10 | +## | |
11 | +## This program is distributed in the hope that it will be useful, | |
12 | +## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | +## GNU General Public License for more details. | |
15 | +## | |
16 | +## You should have received a copy of the GNU General Public License | |
17 | +## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | + | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run |
@@ -15,6 +15,14 @@ | ||
15 | 15 | ## You should have received a copy of the GNU General Public License |
16 | 16 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | |
18 | +%C%_run_SOURCES = | |
19 | +%C%_run_LDADD = \ | |
20 | + %D%/nrun.o \ | |
21 | + %D%/libsim.a \ | |
22 | + $(SIM_COMMON_LIBS) | |
23 | + | |
24 | +noinst_PROGRAMS += %D%/run | |
25 | + | |
18 | 26 | %C%_BUILD_OUTPUTS = \ |
19 | 27 | %D%/eng-le.h \ |
20 | 28 | %D%/mloop-le.c \ |
@@ -208,18 +208,13 @@ LINK_FOR_BUILD = $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(LDFLAGS_FOR_BUILD) -o $@ | ||
208 | 208 | |
209 | 209 | RUNTESTFLAGS = |
210 | 210 | |
211 | -all: libsim.a run$(EXEEXT) | |
211 | +all: libsim.a $(SIM_RUN_OBJS) | |
212 | 212 | |
213 | 213 | libsim.a: $(LIB_OBJS) |
214 | 214 | $(SILENCE) rm -f libsim.a |
215 | 215 | $(ECHO_AR) $(AR) $(AR_FLAGS) libsim.a $(LIB_OBJS) |
216 | 216 | $(ECHO_RANLIB) $(RANLIB) libsim.a |
217 | 217 | |
218 | -run$(EXEEXT): $(SIM_RUN_OBJS) libsim.a $(LIBDEPS) | |
219 | - $(ECHO_CCLD) $(LIBTOOL) $(AM_V_lt) --tag=CC --mode=link \ | |
220 | - $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o run$(EXEEXT) \ | |
221 | - $(SIM_RUN_OBJS) libsim.a $(EXTRA_LIBS) | |
222 | - | |
223 | 218 | # |
224 | 219 | # Dependency tracking. Most of this is conditional on GNU Make being |
225 | 220 | # found by configure; if GNU Make is not found, we fall back to a |
@@ -30,7 +30,8 @@ SIM_ALL_RECURSIVE_DEPS += \ | ||
30 | 30 | |
31 | 31 | ## NB: libcommon.a isn't used directly by ports. We need a target for common |
32 | 32 | ## objects to be a part of, and ports use the individual objects directly. |
33 | -noinst_LIBRARIES += %D%/libcommon.a | |
33 | +SIM_COMMON_LIB = %D%/libcommon.a | |
34 | +noinst_LIBRARIES += $(SIM_COMMON_LIB) | |
34 | 35 | %C%_libcommon_a_SOURCES = \ |
35 | 36 | %D%/callback.c \ |
36 | 37 | %D%/portability.c \ |
@@ -50,3 +51,19 @@ noinst_LIBRARIES += %D%/libcommon.a | ||
50 | 51 | |
51 | 52 | CLEANFILES += \ |
52 | 53 | %D%/version.c %D%/version.c-stamp |
54 | + | |
55 | +## | |
56 | +## For subdirs. | |
57 | +## | |
58 | + | |
59 | +LIBIBERTY_LIB = ../libiberty/libiberty.a | |
60 | +BFD_LIB = ../bfd/libbfd.la | |
61 | +OPCODES_LIB = ../opcodes/libopcodes.la | |
62 | + | |
63 | +SIM_COMMON_LIBS = \ | |
64 | + $(SIM_COMMON_LIB) \ | |
65 | + $(BFD_LIB) \ | |
66 | + $(OPCODES_LIB) \ | |
67 | + $(LIBIBERTY_LIB) \ | |
68 | + $(LIBGNU) \ | |
69 | + $(LIBGNU_EXTRA_LIBS) |
@@ -655,6 +655,8 @@ ENABLE_SIM_FALSE | ||
655 | 655 | ENABLE_SIM_TRUE |
656 | 656 | SIM_ENABLE_IGEN_FALSE |
657 | 657 | SIM_ENABLE_IGEN_TRUE |
658 | +SIM_ENABLE_ARCH_examples_FALSE | |
659 | +SIM_ENABLE_ARCH_examples_TRUE | |
658 | 660 | CC_FOR_TARGET_EXAMPLE_SYNACOR |
659 | 661 | LD_FOR_TARGET_EXAMPLE_SYNACOR |
660 | 662 | AS_FOR_TARGET_EXAMPLE_SYNACOR |
@@ -12426,7 +12428,7 @@ else | ||
12426 | 12428 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12427 | 12429 | lt_status=$lt_dlunknown |
12428 | 12430 | cat > conftest.$ac_ext <<_LT_EOF |
12429 | -#line 12429 "configure" | |
12431 | +#line 12431 "configure" | |
12430 | 12432 | #include "confdefs.h" |
12431 | 12433 | |
12432 | 12434 | #if HAVE_DLFCN_H |
@@ -12532,7 +12534,7 @@ else | ||
12532 | 12534 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12533 | 12535 | lt_status=$lt_dlunknown |
12534 | 12536 | cat > conftest.$ac_ext <<_LT_EOF |
12535 | -#line 12535 "configure" | |
12537 | +#line 12537 "configure" | |
12536 | 12538 | #include "confdefs.h" |
12537 | 12539 | |
12538 | 12540 | #if HAVE_DLFCN_H |
@@ -15680,6 +15682,14 @@ as_fn_append SIM_TOOLCHAIN_VARS " AS_FOR_TARGET_EXAMPLE_SYNACOR LD_FOR_TARGET_EX | ||
15680 | 15682 | |
15681 | 15683 | |
15682 | 15684 | fi |
15685 | + if test "${enable_example_sims}" = "yes"; then | |
15686 | + SIM_ENABLE_ARCH_examples_TRUE= | |
15687 | + SIM_ENABLE_ARCH_examples_FALSE='#' | |
15688 | +else | |
15689 | + SIM_ENABLE_ARCH_examples_TRUE='#' | |
15690 | + SIM_ENABLE_ARCH_examples_FALSE= | |
15691 | +fi | |
15692 | + | |
15683 | 15693 | fi |
15684 | 15694 | if test "$sim_igen" = "yes"; then |
15685 | 15695 | SIM_ENABLE_IGEN_TRUE= |
@@ -16487,6 +16497,10 @@ if test -z "${SIM_ENABLE_ARCH_v850_TRUE}" && test -z "${SIM_ENABLE_ARCH_v850_FAL | ||
16487 | 16497 | as_fn_error $? "conditional \"SIM_ENABLE_ARCH_v850\" was never defined. |
16488 | 16498 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
16489 | 16499 | fi |
16500 | +if test -z "${SIM_ENABLE_ARCH_examples_TRUE}" && test -z "${SIM_ENABLE_ARCH_examples_FALSE}"; then | |
16501 | + as_fn_error $? "conditional \"SIM_ENABLE_ARCH_examples\" was never defined. | |
16502 | +Usually this means the macro was only invoked conditionally." "$LINENO" 5 | |
16503 | +fi | |
16490 | 16504 | if test -z "${SIM_ENABLE_IGEN_TRUE}" && test -z "${SIM_ENABLE_IGEN_FALSE}"; then |
16491 | 16505 | as_fn_error $? "conditional \"SIM_ENABLE_IGEN\" was never defined. |
16492 | 16506 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
@@ -156,6 +156,7 @@ if test "${enable_sim}" != no; then | ||
156 | 156 | SIM_AC_TOOLCHAIN_FOR_TARGET(example-synacor) |
157 | 157 | SIM_BUILD_TARGET([example-synacor]) |
158 | 158 | fi |
159 | + AM_CONDITIONAL([SIM_ENABLE_ARCH_examples], [test "${enable_example_sims}" = "yes"]) | |
159 | 160 | fi |
160 | 161 | AM_CONDITIONAL([SIM_ENABLE_IGEN], [test "$sim_igen" = "yes"]) |
161 | 162 | AM_CONDITIONAL([ENABLE_SIM], [test -n "$SIM_SUBDIRS"]) |
@@ -16,6 +16,14 @@ | ||
16 | 16 | ## You should have received a copy of the GNU General Public License |
17 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
19 | 27 | %C%_BUILD_OUTPUTS = \ |
20 | 28 | %D%/gencode$(EXEEXT) \ |
21 | 29 | %D%/simops.h \ |
@@ -16,6 +16,14 @@ | ||
16 | 16 | ## You should have received a copy of the GNU General Public License |
17 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
19 | 27 | ## rvdummy is just used for testing -- it runs on the same host as `run`. |
20 | 28 | ## It does nothing if --enable-sim-hardware isn't active. |
21 | 29 | %C%_rvdummy_SOURCES = %D%/rvdummy.c |
@@ -16,6 +16,14 @@ | ||
16 | 16 | ## You should have received a copy of the GNU General Public License |
17 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
19 | 27 | %C%_BUILD_OUTPUTS = \ |
20 | 28 | %D%/gencode$(EXEEXT) \ |
21 | 29 | %D%/simops.h \ |
@@ -24,7 +24,6 @@ SIM_OBJS = exec.o erc32.o func.o help.o float.o interf.o | ||
24 | 24 | SIM_RUN_OBJS = sis.o |
25 | 25 | SIM_EXTRA_CFLAGS = $(READLINE_CFLAGS) |
26 | 26 | SIM_EXTRA_LIBS = $(READLINE_LIB) $(TERMCAP_LIB) |
27 | -SIM_EXTRA_CLEAN = clean-sis | |
28 | 27 | |
29 | 28 | # UARTS run at about 115200 baud (simulator time). Add -DFAST_UART to |
30 | 29 | # CFLAGS if faster (infinite) UART speed is desired. Might affect the |
@@ -32,11 +31,3 @@ SIM_EXTRA_CLEAN = clean-sis | ||
32 | 31 | SIM_EXTRA_CFLAGS += -DFAST_UART -I$(srcroot) |
33 | 32 | |
34 | 33 | ## COMMON_POST_CONFIG_FRAG |
35 | - | |
36 | -all: sis$(EXEEXT) | |
37 | -sis$(EXEEXT): run$(EXEEXT) | |
38 | - $(SILENCE) rm -f $@ | |
39 | - $(ECHO_GEN) ln $< $@ 2>/dev/null || $(LN_S) $< $@ 2>/dev/null || cp -p $< $@ | |
40 | - | |
41 | -clean-sis: | |
42 | - rm -f sis |
@@ -1,6 +1,8 @@ | ||
1 | 1 | ## See sim/Makefile.am |
2 | 2 | ## |
3 | 3 | ## Copyright (C) 1993-2022 Free Software Foundation, Inc. |
4 | +## Written by Cygnus Support | |
5 | +## Modified by J.Gaisler ESA/ESTEC | |
4 | 6 | ## |
5 | 7 | ## This program is free software; you can redistribute it and/or modify |
6 | 8 | ## it under the terms of the GNU General Public License as published by |
@@ -15,6 +17,21 @@ | ||
15 | 17 | ## You should have received a copy of the GNU General Public License |
16 | 18 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 19 | |
20 | +%C%_run_SOURCES = | |
21 | +%C%_run_LDADD = \ | |
22 | + %D%/sis.o \ | |
23 | + %D%/libsim.a \ | |
24 | + $(SIM_COMMON_LIBS) $(READLINE_LIB) $(TERMCAP_LIB) | |
25 | + | |
26 | +%D%/sis$(EXEEXT): %D%/run$(EXEEXT) | |
27 | + $(AM_V_GEN)ln $< $@ 2>/dev/null || $(LN_S) $< $@ 2>/dev/null || cp -p $< $@ | |
28 | + | |
29 | +## Helper targets for running make from the top-level due to run's sis.o. | |
30 | +%D%/%.o: %D%/%.c | %D%/libsim.a $(SIM_ALL_RECURSIVE_DEPS) | |
31 | + $(MAKE) -C $(@D) $(@F) | |
32 | + | |
33 | +noinst_PROGRAMS += %D%/run %D%/sis | |
34 | + | |
18 | 35 | %C%docdir = $(docdir)/%C% |
19 | 36 | %C%doc_DATA = %D%/README.erc32 %D%/README.gdb %D%/README.sis |
20 | 37 |
@@ -0,0 +1,25 @@ | ||
1 | +## See sim/Makefile.am | |
2 | +## | |
3 | +## Copyright (C) 2005-2022 Free Software Foundation, Inc. | |
4 | +## Written by Mike Frysinger <vapier@gentoo.org> | |
5 | +## | |
6 | +## This program is free software; you can redistribute it and/or modify | |
7 | +## it under the terms of the GNU General Public License as published by | |
8 | +## the Free Software Foundation; either version 3 of the License, or | |
9 | +## (at your option) any later version. | |
10 | +## | |
11 | +## This program is distributed in the hope that it will be useful, | |
12 | +## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | +## GNU General Public License for more details. | |
15 | +## | |
16 | +## You should have received a copy of the GNU General Public License | |
17 | +## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | + | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run |
@@ -16,6 +16,14 @@ | ||
16 | 16 | ## You should have received a copy of the GNU General Public License |
17 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
19 | 27 | %C%docdir = $(docdir)/%C% |
20 | 28 | %C%doc_DATA = %D%/README |
21 | 29 |
@@ -0,0 +1,25 @@ | ||
1 | +## See sim/Makefile.am | |
2 | +## | |
3 | +## Copyright (C) 2008-2022 Free Software Foundation, Inc. | |
4 | +## Written by FTDI | |
5 | +## | |
6 | +## This program is free software; you can redistribute it and/or modify | |
7 | +## it under the terms of the GNU General Public License as published by | |
8 | +## the Free Software Foundation; either version 3 of the License, or | |
9 | +## (at your option) any later version. | |
10 | +## | |
11 | +## This program is distributed in the hope that it will be useful, | |
12 | +## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | +## GNU General Public License for more details. | |
15 | +## | |
16 | +## You should have received a copy of the GNU General Public License | |
17 | +## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | + | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run |
@@ -0,0 +1,25 @@ | ||
1 | +## See sim/Makefile.am | |
2 | +## | |
3 | +## Copyright (C) 1990-2022 Free Software Foundation, Inc. | |
4 | +## Written by Cygnus Support. | |
5 | +## | |
6 | +## This program is free software; you can redistribute it and/or modify | |
7 | +## it under the terms of the GNU General Public License as published by | |
8 | +## the Free Software Foundation; either version 3 of the License, or | |
9 | +## (at your option) any later version. | |
10 | +## | |
11 | +## This program is distributed in the hope that it will be useful, | |
12 | +## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | +## GNU General Public License for more details. | |
15 | +## | |
16 | +## You should have received a copy of the GNU General Public License | |
17 | +## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | + | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run |
@@ -16,6 +16,14 @@ | ||
16 | 16 | ## You should have received a copy of the GNU General Public License |
17 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
19 | 27 | %C%_BUILD_OUTPUTS = \ |
20 | 28 | %D%/eng.h \ |
21 | 29 | %D%/mloop.c \ |
@@ -16,6 +16,14 @@ | ||
16 | 16 | ## You should have received a copy of the GNU General Public License |
17 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
19 | 27 | %C%_BUILD_OUTPUTS = \ |
20 | 28 | %D%/eng.h \ |
21 | 29 | %D%/mloop.c \ |
@@ -16,6 +16,18 @@ | ||
16 | 16 | ## You should have received a copy of the GNU General Public License |
17 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/main.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
27 | +## Helper targets for running make from the top-level due to run's main.o. | |
28 | +%D%/%.o: %D%/%.c | %D%/libsim.a $(SIM_ALL_RECURSIVE_DEPS) | |
29 | + $(MAKE) -C $(@D) $(@F) | |
30 | + | |
19 | 31 | %C%_BUILD_OUTPUTS = \ |
20 | 32 | %D%/opc2c$(EXEEXT) \ |
21 | 33 | %D%/m32c.c \ |
@@ -16,6 +16,14 @@ | ||
16 | 16 | ## You should have received a copy of the GNU General Public License |
17 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
19 | 27 | %C%_BUILD_OUTPUTS = \ |
20 | 28 | %D%/eng.h \ |
21 | 29 | %D%/mloop.c \ |
@@ -16,6 +16,14 @@ | ||
16 | 16 | ## You should have received a copy of the GNU General Public License |
17 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
19 | 27 | %C%_BUILD_OUTPUTS = \ |
20 | 28 | %D%/gencode$(EXEEXT) \ |
21 | 29 | %D%/m68hc11int.c \ |
@@ -0,0 +1,25 @@ | ||
1 | +## See sim/Makefile.am | |
2 | +## | |
3 | +## Copyright (C) 1990-2022 Free Software Foundation, Inc. | |
4 | +## Written by Cygnus Solutions. | |
5 | +## | |
6 | +## This program is free software; you can redistribute it and/or modify | |
7 | +## it under the terms of the GNU General Public License as published by | |
8 | +## the Free Software Foundation; either version 3 of the License, or | |
9 | +## (at your option) any later version. | |
10 | +## | |
11 | +## This program is distributed in the hope that it will be useful, | |
12 | +## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | +## GNU General Public License for more details. | |
15 | +## | |
16 | +## You should have received a copy of the GNU General Public License | |
17 | +## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | + | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run |
@@ -0,0 +1,25 @@ | ||
1 | +## See sim/Makefile.am | |
2 | +## | |
3 | +## Copyright (C) 1990-2022 Free Software Foundation, Inc. | |
4 | +## Written by Cygnus Solutions. | |
5 | +## | |
6 | +## This program is free software; you can redistribute it and/or modify | |
7 | +## it under the terms of the GNU General Public License as published by | |
8 | +## the Free Software Foundation; either version 3 of the License, or | |
9 | +## (at your option) any later version. | |
10 | +## | |
11 | +## This program is distributed in the hope that it will be useful, | |
12 | +## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | +## GNU General Public License for more details. | |
15 | +## | |
16 | +## You should have received a copy of the GNU General Public License | |
17 | +## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | + | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run |
@@ -0,0 +1,25 @@ | ||
1 | +## See sim/Makefile.am | |
2 | +## | |
3 | +## Copyright (C) 1995-2022 Free Software Foundation, Inc. | |
4 | +## Written by Cygnus Support. | |
5 | +## | |
6 | +## This program is free software; you can redistribute it and/or modify | |
7 | +## it under the terms of the GNU General Public License as published by | |
8 | +## the Free Software Foundation; either version 3 of the License, or | |
9 | +## (at your option) any later version. | |
10 | +## | |
11 | +## This program is distributed in the hope that it will be useful, | |
12 | +## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | +## GNU General Public License for more details. | |
15 | +## | |
16 | +## You should have received a copy of the GNU General Public License | |
17 | +## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | + | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run |
@@ -16,6 +16,14 @@ | ||
16 | 16 | ## You should have received a copy of the GNU General Public License |
17 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
19 | 27 | %C%_BUILT_SRC_FROM_IGEN = \ |
20 | 28 | %D%/icache.h \ |
21 | 29 | %D%/icache.c \ |
@@ -1,6 +1,7 @@ | ||
1 | 1 | ## See sim/Makefile.am |
2 | 2 | ## |
3 | -## Copyright (C) 1993-2022 Free Software Foundation, Inc. | |
3 | +## Copyright (C) 2008-2022 Free Software Foundation, Inc. | |
4 | +## Written by Anthony Green | |
4 | 5 | ## |
5 | 6 | ## This program is free software; you can redistribute it and/or modify |
6 | 7 | ## it under the terms of the GNU General Public License as published by |
@@ -15,6 +16,14 @@ | ||
15 | 16 | ## You should have received a copy of the GNU General Public License |
16 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
18 | 27 | dtbdir = $(datadir)/gdb/dtb |
19 | 28 | |
20 | 29 | dtb_DATA = %D%/moxie-gdb.dtb |
@@ -30,10 +39,3 @@ dtb_DATA = %D%/moxie-gdb.dtb | ||
30 | 39 | echo "tree compiler tool (dtc) is missing. Install the tool to "; \ |
31 | 40 | echo "update the device tree blob."; \ |
32 | 41 | fi |
33 | - | |
34 | -# Rule to create the .dirstamp file (on which moxie-gdb.dtb depends) | |
35 | -# as automake fails to automatically create this rule for _DATA items. | |
36 | -%D%/$(am__dirstamp): | |
37 | - @$(MKDIR_P) %D% | |
38 | - @: >%D%/$(am__dirstamp) | |
39 | -DISTCLEANFILES += %D%/$(am__dirstamp) |
@@ -0,0 +1,25 @@ | ||
1 | +## See sim/Makefile.am | |
2 | +## | |
3 | +## Copyright (C) 2012-2022 Free Software Foundation, Inc. | |
4 | +## Written by Red Hat Inc. | |
5 | +## | |
6 | +## This program is free software; you can redistribute it and/or modify | |
7 | +## it under the terms of the GNU General Public License as published by | |
8 | +## the Free Software Foundation; either version 3 of the License, or | |
9 | +## (at your option) any later version. | |
10 | +## | |
11 | +## This program is distributed in the hope that it will be useful, | |
12 | +## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | +## GNU General Public License for more details. | |
15 | +## | |
16 | +## You should have received a copy of the GNU General Public License | |
17 | +## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | + | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run |
@@ -15,6 +15,14 @@ | ||
15 | 15 | ## You should have received a copy of the GNU General Public License |
16 | 16 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | |
18 | +%C%_run_SOURCES = | |
19 | +%C%_run_LDADD = \ | |
20 | + %D%/nrun.o \ | |
21 | + %D%/libsim.a \ | |
22 | + $(SIM_COMMON_LIBS) | |
23 | + | |
24 | +noinst_PROGRAMS += %D%/run | |
25 | + | |
18 | 26 | %C%docdir = $(docdir)/%C% |
19 | 27 | %C%doc_DATA = %D%/README |
20 | 28 |
@@ -37,10 +37,6 @@ include ../arch-subdir.mk | ||
37 | 37 | prefix = @prefix@ |
38 | 38 | exec_prefix = @exec_prefix@ |
39 | 39 | |
40 | -bindir = @bindir@ | |
41 | -libdir = @libdir@ | |
42 | -tooldir = $(libdir)/$(target_alias) | |
43 | - | |
44 | 40 | datarootdir = @datarootdir@ |
45 | 41 | datadir = @datadir@ |
46 | 42 | mandir = @mandir@ |
@@ -135,7 +131,7 @@ BFD_LIB = ../../bfd/libbfd.la | ||
135 | 131 | |
136 | 132 | TARGETLIB = libsim.a |
137 | 133 | |
138 | -all: run$(EXEEXT) $(TARGETLIB) $(GDB_OBJ) | |
134 | +all: main.o $(TARGETLIB) $(GDB_OBJ) | |
139 | 135 | |
140 | 136 | .c.o: |
141 | 137 | $(ECHO_CC) $(CC) -c $(STD_CFLAGS) $< |
@@ -518,14 +514,6 @@ PACKAGE_SRC = pk_disklabel.c | ||
518 | 514 | PACKAGE_OBJ = $(PACKAGE_SRC:.c=.o) |
519 | 515 | |
520 | 516 | |
521 | -psim$(EXEEXT): $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) | |
522 | - $(ECHO_CCLD) $(LIBTOOL) $(AM_V_lt) --tag=CC --mode=link \ | |
523 | - $(CC) $(CFLAGS) $(LDFLAGS) -o psim$(EXEEXT) main.o $(TARGETLIB) $(BFD_LIB) $(LIBIBERTY_LIB) $(LIBS) | |
524 | - | |
525 | -run$(EXEEXT): psim$(EXEEXT) | |
526 | - $(SILENCE) rm -f $@ | |
527 | - $(ECHO_GEN) ln $< $@ 2>/dev/null || $(LN_S) $< $@ 2>/dev/null || cp -p $< $@ | |
528 | - | |
529 | 517 | $(TARGETLIB): tmp-igen tmp-dgen tmp-hw tmp-defines $(LIB_OBJ) $(GDB_OBJ) |
530 | 518 | $(ECHO_AR) $(AR) $(AR_FLAGS) $(TARGETLIB) $(LIB_OBJ) $(GDB_OBJ) |
531 | 519 | $(ECHO_RANLIB) $(RANLIB) $(TARGETLIB) |
@@ -811,7 +799,7 @@ TAGS: $(BUILT_SRC) | ||
811 | 799 | etags $(srcdir)/*.h $(srcdir)/*.c $(BUILT_SRC) |
812 | 800 | |
813 | 801 | clean mostlyclean: |
814 | - rm -f tmp-* *.[oasi] core psim$(EXEEXT) run$(EXEEXT) igen dgen $(BUILT_SRC_WO_CONFIG) | |
802 | + rm -f tmp-* *.[oasi] core igen dgen $(BUILT_SRC_WO_CONFIG) | |
815 | 803 | |
816 | 804 | distclean realclean: clean |
817 | 805 | rm -f TAGS Makefile config.cache config.status config.h defines.h stamp-h config.log |
@@ -15,5 +15,20 @@ | ||
15 | 15 | ## You should have received a copy of the GNU General Public License |
16 | 16 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | |
18 | +%C%_run_SOURCES = | |
19 | +%C%_run_LDADD = \ | |
20 | + %D%/main.o \ | |
21 | + %D%/libsim.a \ | |
22 | + $(SIM_COMMON_LIBS) | |
23 | + | |
24 | +%D%/psim$(EXEEXT): %D%/run$(EXEEXT) | |
25 | + $(AM_V_GEN)ln $< $@ 2>/dev/null || $(LN_S) $< $@ 2>/dev/null || cp -p $< $@ | |
26 | + | |
27 | +## Helper targets for running make from the top-level due to run's sis.o. | |
28 | +%D%/%.o: %D%/%.c | %D%/libsim.a $(SIM_ALL_RECURSIVE_DEPS) | |
29 | + $(MAKE) -C $(@D) $(@F) | |
30 | + | |
31 | +noinst_PROGRAMS += %D%/run %D%/psim | |
32 | + | |
18 | 33 | %C%docdir = $(docdir)/%C% |
19 | 34 | %C%doc_DATA = %D%/BUGS %D%/INSTALL %D%/README %D%/RUN |
@@ -0,0 +1,25 @@ | ||
1 | +## See sim/Makefile.am | |
2 | +## | |
3 | +## Copyright (C) 1990-2022 Free Software Foundation, Inc. | |
4 | +## Written by Dimitar Dimitrov <dimitar@dinux.eu> | |
5 | +## | |
6 | +## This program is free software; you can redistribute it and/or modify | |
7 | +## it under the terms of the GNU General Public License as published by | |
8 | +## the Free Software Foundation; either version 3 of the License, or | |
9 | +## (at your option) any later version. | |
10 | +## | |
11 | +## This program is distributed in the hope that it will be useful, | |
12 | +## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | +## GNU General Public License for more details. | |
15 | +## | |
16 | +## You should have received a copy of the GNU General Public License | |
17 | +## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | + | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run |
@@ -0,0 +1,25 @@ | ||
1 | +## See sim/Makefile.am | |
2 | +## | |
3 | +## Copyright (C) 2005-2022 Free Software Foundation, Inc. | |
4 | +## Written by Mike Frysinger. | |
5 | +## | |
6 | +## This program is free software; you can redistribute it and/or modify | |
7 | +## it under the terms of the GNU General Public License as published by | |
8 | +## the Free Software Foundation; either version 3 of the License, or | |
9 | +## (at your option) any later version. | |
10 | +## | |
11 | +## This program is distributed in the hope that it will be useful, | |
12 | +## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | +## GNU General Public License for more details. | |
15 | +## | |
16 | +## You should have received a copy of the GNU General Public License | |
17 | +## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | + | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run |
@@ -0,0 +1,29 @@ | ||
1 | +## See sim/Makefile.am | |
2 | +## | |
3 | +## Copyright (C) 2008-2022 Free Software Foundation, Inc. | |
4 | +## Contributed by Red Hat, Inc. | |
5 | +## | |
6 | +## This program is free software; you can redistribute it and/or modify | |
7 | +## it under the terms of the GNU General Public License as published by | |
8 | +## the Free Software Foundation; either version 3 of the License, or | |
9 | +## (at your option) any later version. | |
10 | +## | |
11 | +## This program is distributed in the hope that it will be useful, | |
12 | +## but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | +## GNU General Public License for more details. | |
15 | +## | |
16 | +## You should have received a copy of the GNU General Public License | |
17 | +## along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | + | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/main.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
27 | +## Helper targets for running make from the top-level due to run's main.o. | |
28 | +%D%/%.o: %D%/%.c | %D%/libsim.a $(SIM_ALL_RECURSIVE_DEPS) | |
29 | + $(MAKE) -C $(@D) $(@F) |
@@ -1,6 +1,7 @@ | ||
1 | 1 | ## See sim/Makefile.am |
2 | 2 | ## |
3 | 3 | ## Copyright (C) 2008-2022 Free Software Foundation, Inc. |
4 | +## Contributed by Red Hat, Inc. | |
4 | 5 | ## |
5 | 6 | ## This program is free software; you can redistribute it and/or modify |
6 | 7 | ## it under the terms of the GNU General Public License as published by |
@@ -15,5 +16,17 @@ | ||
15 | 16 | ## You should have received a copy of the GNU General Public License |
16 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/main.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
27 | +## Helper targets for running make from the top-level due to run's main.o. | |
28 | +%D%/%.o: %D%/%.c | %D%/libsim.a $(SIM_ALL_RECURSIVE_DEPS) | |
29 | + $(MAKE) -C $(@D) $(@F) | |
30 | + | |
18 | 31 | %C%docdir = $(docdir)/%C% |
19 | 32 | %C%doc_DATA = %D%/README.txt |
@@ -16,6 +16,14 @@ | ||
16 | 16 | ## You should have received a copy of the GNU General Public License |
17 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
19 | 27 | %C%_BUILD_OUTPUTS = \ |
20 | 28 | %D%/gencode$(EXEEXT) \ |
21 | 29 | %D%/code.c \ |
@@ -16,6 +16,14 @@ | ||
16 | 16 | ## You should have received a copy of the GNU General Public License |
17 | 17 | ## along with this program. If not, see <http://www.gnu.org/licenses/>. |
18 | 18 | |
19 | +%C%_run_SOURCES = | |
20 | +%C%_run_LDADD = \ | |
21 | + %D%/nrun.o \ | |
22 | + %D%/libsim.a \ | |
23 | + $(SIM_COMMON_LIBS) | |
24 | + | |
25 | +noinst_PROGRAMS += %D%/run | |
26 | + | |
19 | 27 | %C%_BUILT_SRC_FROM_IGEN = \ |
20 | 28 | %D%/icache.h \ |
21 | 29 | %D%/icache.c \ |