Revisão | cb9bdc02fdf1650341276861f6ca7e7a215a1ce6 (tree) |
---|---|
Hora | 2022-11-05 13:22:38 |
Autor | Mike Frysinger <vapier@gent...> |
Commiter | Mike Frysinger |
sim: cris: move rvdummy linking to top-level
This is only used by make check, so we can move it out of the
default build too.
@@ -106,7 +106,7 @@ POST_UNINSTALL = : | ||
106 | 106 | build_triplet = @build@ |
107 | 107 | host_triplet = @host@ |
108 | 108 | target_triplet = @target@ |
109 | -check_PROGRAMS = $(am__EXEEXT_8) | |
109 | +check_PROGRAMS = $(am__EXEEXT_8) $(am__EXEEXT_9) | |
110 | 110 | EXTRA_PROGRAMS = $(am__EXEEXT_2) testsuite/common/bits-gen$(EXEEXT) \ |
111 | 111 | testsuite/common/fpu-tst$(EXEEXT) $(am__EXEEXT_3) \ |
112 | 112 | $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) \ |
@@ -129,39 +129,40 @@ TESTS = testsuite/common/bits32m0$(EXEEXT) \ | ||
129 | 129 | @SIM_ENABLE_ARCH_cr16_TRUE@am__append_8 = $(cr16_BUILD_OUTPUTS) |
130 | 130 | @SIM_ENABLE_ARCH_cr16_TRUE@am__append_9 = cr16/gencode |
131 | 131 | @SIM_ENABLE_ARCH_cr16_TRUE@am__append_10 = $(cr16_BUILD_OUTPUTS) |
132 | -@SIM_ENABLE_ARCH_cris_TRUE@am__append_11 = $(cris_BUILD_OUTPUTS) | |
132 | +@SIM_ENABLE_ARCH_cris_TRUE@am__append_11 = cris/rvdummy | |
133 | 133 | @SIM_ENABLE_ARCH_cris_TRUE@am__append_12 = $(cris_BUILD_OUTPUTS) |
134 | -@SIM_ENABLE_ARCH_d10v_TRUE@am__append_13 = $(d10v_BUILD_OUTPUTS) | |
135 | -@SIM_ENABLE_ARCH_d10v_TRUE@am__append_14 = d10v/gencode | |
136 | -@SIM_ENABLE_ARCH_d10v_TRUE@am__append_15 = $(d10v_BUILD_OUTPUTS) | |
137 | -@SIM_ENABLE_ARCH_frv_TRUE@am__append_16 = $(frv_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 | 138 | @SIM_ENABLE_ARCH_frv_TRUE@am__append_17 = $(frv_BUILD_OUTPUTS) |
139 | -@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_18 = $(iq2000_BUILD_OUTPUTS) | |
139 | +@SIM_ENABLE_ARCH_frv_TRUE@am__append_18 = $(frv_BUILD_OUTPUTS) | |
140 | 140 | @SIM_ENABLE_ARCH_iq2000_TRUE@am__append_19 = $(iq2000_BUILD_OUTPUTS) |
141 | -@SIM_ENABLE_ARCH_lm32_TRUE@am__append_20 = $(lm32_BUILD_OUTPUTS) | |
141 | +@SIM_ENABLE_ARCH_iq2000_TRUE@am__append_20 = $(iq2000_BUILD_OUTPUTS) | |
142 | 142 | @SIM_ENABLE_ARCH_lm32_TRUE@am__append_21 = $(lm32_BUILD_OUTPUTS) |
143 | -@SIM_ENABLE_ARCH_m32c_TRUE@am__append_22 = $(m32c_BUILD_OUTPUTS) | |
144 | -@SIM_ENABLE_ARCH_m32c_TRUE@am__append_23 = m32c/opc2c | |
145 | -@SIM_ENABLE_ARCH_m32c_TRUE@am__append_24 = \ | |
143 | +@SIM_ENABLE_ARCH_lm32_TRUE@am__append_22 = $(lm32_BUILD_OUTPUTS) | |
144 | +@SIM_ENABLE_ARCH_m32c_TRUE@am__append_23 = $(m32c_BUILD_OUTPUTS) | |
145 | +@SIM_ENABLE_ARCH_m32c_TRUE@am__append_24 = m32c/opc2c | |
146 | +@SIM_ENABLE_ARCH_m32c_TRUE@am__append_25 = \ | |
146 | 147 | @SIM_ENABLE_ARCH_m32c_TRUE@ $(m32c_BUILD_OUTPUTS) \ |
147 | 148 | @SIM_ENABLE_ARCH_m32c_TRUE@ m32c/m32c.c.log \ |
148 | 149 | @SIM_ENABLE_ARCH_m32c_TRUE@ m32c/r8c.c.log |
149 | 150 | |
150 | -@SIM_ENABLE_ARCH_m32r_TRUE@am__append_25 = $(m32r_BUILD_OUTPUTS) | |
151 | 151 | @SIM_ENABLE_ARCH_m32r_TRUE@am__append_26 = $(m32r_BUILD_OUTPUTS) |
152 | -@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_27 = $(m68hc11_BUILD_OUTPUTS) | |
153 | -@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_28 = m68hc11/gencode | |
154 | -@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_29 = $(m68hc11_BUILD_OUTPUTS) | |
155 | -@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_30 = $(mn10300_BUILD_OUTPUTS) | |
152 | +@SIM_ENABLE_ARCH_m32r_TRUE@am__append_27 = $(m32r_BUILD_OUTPUTS) | |
153 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_28 = $(m68hc11_BUILD_OUTPUTS) | |
154 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_29 = m68hc11/gencode | |
155 | +@SIM_ENABLE_ARCH_m68hc11_TRUE@am__append_30 = $(m68hc11_BUILD_OUTPUTS) | |
156 | 156 | @SIM_ENABLE_ARCH_mn10300_TRUE@am__append_31 = $(mn10300_BUILD_OUTPUTS) |
157 | -@SIM_ENABLE_ARCH_moxie_TRUE@am__append_32 = moxie/$(am__dirstamp) | |
158 | -@SIM_ENABLE_ARCH_or1k_TRUE@am__append_33 = $(or1k_BUILD_OUTPUTS) | |
157 | +@SIM_ENABLE_ARCH_mn10300_TRUE@am__append_32 = $(mn10300_BUILD_OUTPUTS) | |
158 | +@SIM_ENABLE_ARCH_moxie_TRUE@am__append_33 = moxie/$(am__dirstamp) | |
159 | 159 | @SIM_ENABLE_ARCH_or1k_TRUE@am__append_34 = $(or1k_BUILD_OUTPUTS) |
160 | -@SIM_ENABLE_ARCH_sh_TRUE@am__append_35 = $(sh_BUILD_OUTPUTS) | |
161 | -@SIM_ENABLE_ARCH_sh_TRUE@am__append_36 = sh/gencode | |
162 | -@SIM_ENABLE_ARCH_sh_TRUE@am__append_37 = $(sh_BUILD_OUTPUTS) | |
163 | -@SIM_ENABLE_ARCH_v850_TRUE@am__append_38 = $(v850_BUILD_OUTPUTS) | |
160 | +@SIM_ENABLE_ARCH_or1k_TRUE@am__append_35 = $(or1k_BUILD_OUTPUTS) | |
161 | +@SIM_ENABLE_ARCH_sh_TRUE@am__append_36 = $(sh_BUILD_OUTPUTS) | |
162 | +@SIM_ENABLE_ARCH_sh_TRUE@am__append_37 = sh/gencode | |
163 | +@SIM_ENABLE_ARCH_sh_TRUE@am__append_38 = $(sh_BUILD_OUTPUTS) | |
164 | 164 | @SIM_ENABLE_ARCH_v850_TRUE@am__append_39 = $(v850_BUILD_OUTPUTS) |
165 | +@SIM_ENABLE_ARCH_v850_TRUE@am__append_40 = $(v850_BUILD_OUTPUTS) | |
165 | 166 | subdir = . |
166 | 167 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
167 | 168 | am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \ |
@@ -267,6 +268,7 @@ am__EXEEXT_8 = testsuite/common/bits32m0$(EXEEXT) \ | ||
267 | 268 | testsuite/common/bits64m0$(EXEEXT) \ |
268 | 269 | testsuite/common/bits64m63$(EXEEXT) \ |
269 | 270 | testsuite/common/alu-tst$(EXEEXT) |
271 | +@SIM_ENABLE_ARCH_cris_TRUE@am__EXEEXT_9 = cris/rvdummy$(EXEEXT) | |
270 | 272 | @SIM_ENABLE_ARCH_cr16_TRUE@am_cr16_gencode_OBJECTS = \ |
271 | 273 | @SIM_ENABLE_ARCH_cr16_TRUE@ cr16/gencode.$(OBJEXT) |
272 | 274 | cr16_gencode_OBJECTS = $(am_cr16_gencode_OBJECTS) |
@@ -276,6 +278,10 @@ AM_V_lt = $(am__v_lt_@AM_V@) | ||
276 | 278 | am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) |
277 | 279 | am__v_lt_0 = --silent |
278 | 280 | am__v_lt_1 = |
281 | +@SIM_ENABLE_ARCH_cris_TRUE@am_cris_rvdummy_OBJECTS = \ | |
282 | +@SIM_ENABLE_ARCH_cris_TRUE@ cris/rvdummy.$(OBJEXT) | |
283 | +cris_rvdummy_OBJECTS = $(am_cris_rvdummy_OBJECTS) | |
284 | +cris_rvdummy_DEPENDENCIES = | |
279 | 285 | @SIM_ENABLE_ARCH_d10v_TRUE@am_d10v_gencode_OBJECTS = \ |
280 | 286 | @SIM_ENABLE_ARCH_d10v_TRUE@ d10v/gencode.$(OBJEXT) |
281 | 287 | d10v_gencode_OBJECTS = $(am_d10v_gencode_OBJECTS) |
@@ -380,16 +386,16 @@ am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) | ||
380 | 386 | am__v_CCLD_0 = @echo " CCLD " $@; |
381 | 387 | am__v_CCLD_1 = |
382 | 388 | SOURCES = $(common_libcommon_a_SOURCES) $(igen_libigen_a_SOURCES) \ |
383 | - $(cr16_gencode_SOURCES) $(d10v_gencode_SOURCES) \ | |
384 | - $(igen_filter_SOURCES) $(igen_gen_SOURCES) \ | |
385 | - $(igen_igen_SOURCES) $(igen_ld_cache_SOURCES) \ | |
386 | - $(igen_ld_decode_SOURCES) $(igen_ld_insn_SOURCES) \ | |
387 | - $(igen_table_SOURCES) $(m32c_opc2c_SOURCES) \ | |
388 | - $(m68hc11_gencode_SOURCES) $(sh_gencode_SOURCES) \ | |
389 | - testsuite/common/alu-tst.c testsuite/common/bits-gen.c \ | |
390 | - testsuite/common/bits32m0.c testsuite/common/bits32m31.c \ | |
391 | - testsuite/common/bits64m0.c testsuite/common/bits64m63.c \ | |
392 | - testsuite/common/fpu-tst.c | |
389 | + $(cr16_gencode_SOURCES) $(cris_rvdummy_SOURCES) \ | |
390 | + $(d10v_gencode_SOURCES) $(igen_filter_SOURCES) \ | |
391 | + $(igen_gen_SOURCES) $(igen_igen_SOURCES) \ | |
392 | + $(igen_ld_cache_SOURCES) $(igen_ld_decode_SOURCES) \ | |
393 | + $(igen_ld_insn_SOURCES) $(igen_table_SOURCES) \ | |
394 | + $(m32c_opc2c_SOURCES) $(m68hc11_gencode_SOURCES) \ | |
395 | + $(sh_gencode_SOURCES) testsuite/common/alu-tst.c \ | |
396 | + testsuite/common/bits-gen.c testsuite/common/bits32m0.c \ | |
397 | + testsuite/common/bits32m31.c testsuite/common/bits64m0.c \ | |
398 | + testsuite/common/bits64m63.c testsuite/common/fpu-tst.c | |
393 | 399 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ |
394 | 400 | ctags-recursive dvi-recursive html-recursive info-recursive \ |
395 | 401 | install-data-recursive install-dvi-recursive \ |
@@ -915,13 +921,13 @@ CLEANFILES = common/version.c common/version.c-stamp \ | ||
915 | 921 | testsuite/common/bits-gen testsuite/common/bits32m0.c \ |
916 | 922 | testsuite/common/bits32m31.c testsuite/common/bits64m0.c \ |
917 | 923 | testsuite/common/bits64m63.c |
918 | -DISTCLEANFILES = $(am__append_32) | |
924 | +DISTCLEANFILES = $(am__append_33) | |
919 | 925 | MOSTLYCLEANFILES = core $(am__append_5) site-sim-config.exp \ |
920 | 926 | testrun.log testrun.sum $(am__append_7) $(am__append_10) \ |
921 | - $(am__append_12) $(am__append_15) $(am__append_17) \ | |
922 | - $(am__append_19) $(am__append_21) $(am__append_24) \ | |
923 | - $(am__append_26) $(am__append_29) $(am__append_31) \ | |
924 | - $(am__append_34) $(am__append_37) $(am__append_39) | |
927 | + $(am__append_13) $(am__append_16) $(am__append_18) \ | |
928 | + $(am__append_20) $(am__append_22) $(am__append_25) \ | |
929 | + $(am__append_27) $(am__append_30) $(am__append_32) \ | |
930 | + $(am__append_35) $(am__append_38) $(am__append_40) | |
925 | 931 | AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS) |
926 | 932 | AM_CPPFLAGS = $(INCGNU) -I$(srcroot)/include -I../bfd -I.. \ |
927 | 933 | $(SIM_HW_CFLAGS) $(SIM_INLINE) -I$(srcdir)/common \ |
@@ -931,11 +937,11 @@ AM_CPPFLAGS_FOR_BUILD = -I$(srcroot)/include $(SIM_HW_CFLAGS) \ | ||
931 | 937 | COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS_FOR_BUILD) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) |
932 | 938 | LINK_FOR_BUILD = $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ |
933 | 939 | SIM_ALL_RECURSIVE_DEPS = common/libcommon.a $(am__append_2) \ |
934 | - $(am__append_6) $(am__append_8) $(am__append_11) \ | |
935 | - $(am__append_13) $(am__append_16) $(am__append_18) \ | |
936 | - $(am__append_20) $(am__append_22) $(am__append_25) \ | |
937 | - $(am__append_27) $(am__append_30) $(am__append_33) \ | |
938 | - $(am__append_35) $(am__append_38) | |
940 | + $(am__append_6) $(am__append_8) $(am__append_12) \ | |
941 | + $(am__append_14) $(am__append_17) $(am__append_19) \ | |
942 | + $(am__append_21) $(am__append_23) $(am__append_26) \ | |
943 | + $(am__append_28) $(am__append_31) $(am__append_34) \ | |
944 | + $(am__append_36) $(am__append_39) | |
939 | 945 | common_libcommon_a_SOURCES = \ |
940 | 946 | common/callback.c \ |
941 | 947 | common/portability.c \ |
@@ -1028,6 +1034,8 @@ testsuite_common_CPPFLAGS = \ | ||
1028 | 1034 | |
1029 | 1035 | @SIM_ENABLE_ARCH_cr16_TRUE@cr16_gencode_SOURCES = cr16/gencode.c |
1030 | 1036 | @SIM_ENABLE_ARCH_cr16_TRUE@cr16_gencode_LDADD = cr16/cr16-opc.o |
1037 | +@SIM_ENABLE_ARCH_cris_TRUE@cris_rvdummy_SOURCES = cris/rvdummy.c | |
1038 | +@SIM_ENABLE_ARCH_cris_TRUE@cris_rvdummy_LDADD = $(LIBIBERTY_LIB) | |
1031 | 1039 | @SIM_ENABLE_ARCH_cris_TRUE@cris_BUILD_OUTPUTS = \ |
1032 | 1040 | @SIM_ENABLE_ARCH_cris_TRUE@ cris/engv10.h \ |
1033 | 1041 | @SIM_ENABLE_ARCH_cris_TRUE@ cris/mloopv10f.c \ |
@@ -1413,6 +1421,18 @@ cr16/gencode.$(OBJEXT): cr16/$(am__dirstamp) \ | ||
1413 | 1421 | @SIM_ENABLE_ARCH_cr16_FALSE@cr16/gencode$(EXEEXT): $(cr16_gencode_OBJECTS) $(cr16_gencode_DEPENDENCIES) $(EXTRA_cr16_gencode_DEPENDENCIES) cr16/$(am__dirstamp) |
1414 | 1422 | @SIM_ENABLE_ARCH_cr16_FALSE@ @rm -f cr16/gencode$(EXEEXT) |
1415 | 1423 | @SIM_ENABLE_ARCH_cr16_FALSE@ $(AM_V_CCLD)$(LINK) $(cr16_gencode_OBJECTS) $(cr16_gencode_LDADD) $(LIBS) |
1424 | +cris/$(am__dirstamp): | |
1425 | + @$(MKDIR_P) cris | |
1426 | + @: > cris/$(am__dirstamp) | |
1427 | +cris/$(DEPDIR)/$(am__dirstamp): | |
1428 | + @$(MKDIR_P) cris/$(DEPDIR) | |
1429 | + @: > cris/$(DEPDIR)/$(am__dirstamp) | |
1430 | +cris/rvdummy.$(OBJEXT): cris/$(am__dirstamp) \ | |
1431 | + cris/$(DEPDIR)/$(am__dirstamp) | |
1432 | + | |
1433 | +cris/rvdummy$(EXEEXT): $(cris_rvdummy_OBJECTS) $(cris_rvdummy_DEPENDENCIES) $(EXTRA_cris_rvdummy_DEPENDENCIES) cris/$(am__dirstamp) | |
1434 | + @rm -f cris/rvdummy$(EXEEXT) | |
1435 | + $(AM_V_CCLD)$(LINK) $(cris_rvdummy_OBJECTS) $(cris_rvdummy_LDADD) $(LIBS) | |
1416 | 1436 | d10v/$(am__dirstamp): |
1417 | 1437 | @$(MKDIR_P) d10v |
1418 | 1438 | @: > d10v/$(am__dirstamp) |
@@ -1517,6 +1537,7 @@ mostlyclean-compile: | ||
1517 | 1537 | -rm -f *.$(OBJEXT) |
1518 | 1538 | -rm -f common/*.$(OBJEXT) |
1519 | 1539 | -rm -f cr16/*.$(OBJEXT) |
1540 | + -rm -f cris/*.$(OBJEXT) | |
1520 | 1541 | -rm -f d10v/*.$(OBJEXT) |
1521 | 1542 | -rm -f igen/*.$(OBJEXT) |
1522 | 1543 | -rm -f m32c/*.$(OBJEXT) |
@@ -1537,6 +1558,7 @@ distclean-compile: | ||
1537 | 1558 | @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/target-newlib-syscall.Po@am__quote@ |
1538 | 1559 | @AMDEP_TRUE@@am__include@ @am__quote@common/$(DEPDIR)/version.Po@am__quote@ |
1539 | 1560 | @AMDEP_TRUE@@am__include@ @am__quote@cr16/$(DEPDIR)/gencode.Po@am__quote@ |
1561 | +@AMDEP_TRUE@@am__include@ @am__quote@cris/$(DEPDIR)/rvdummy.Po@am__quote@ | |
1540 | 1562 | @AMDEP_TRUE@@am__include@ @am__quote@d10v/$(DEPDIR)/gencode.Po@am__quote@ |
1541 | 1563 | @AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/filter.Po@am__quote@ |
1542 | 1564 | @AMDEP_TRUE@@am__include@ @am__quote@igen/$(DEPDIR)/filter_host.Po@am__quote@ |
@@ -1596,6 +1618,7 @@ mostlyclean-libtool: | ||
1596 | 1618 | clean-libtool: |
1597 | 1619 | -rm -rf .libs _libs |
1598 | 1620 | -rm -rf cr16/.libs cr16/_libs |
1621 | + -rm -rf cris/.libs cris/_libs | |
1599 | 1622 | -rm -rf d10v/.libs d10v/_libs |
1600 | 1623 | -rm -rf igen/.libs igen/_libs |
1601 | 1624 | -rm -rf m32c/.libs m32c/_libs |
@@ -2147,6 +2170,8 @@ distclean-generic: | ||
2147 | 2170 | -rm -f common/$(am__dirstamp) |
2148 | 2171 | -rm -f cr16/$(DEPDIR)/$(am__dirstamp) |
2149 | 2172 | -rm -f cr16/$(am__dirstamp) |
2173 | + -rm -f cris/$(DEPDIR)/$(am__dirstamp) | |
2174 | + -rm -f cris/$(am__dirstamp) | |
2150 | 2175 | -rm -f d10v/$(DEPDIR)/$(am__dirstamp) |
2151 | 2176 | -rm -f d10v/$(am__dirstamp) |
2152 | 2177 | -rm -f igen/$(DEPDIR)/$(am__dirstamp) |
@@ -2171,7 +2196,7 @@ clean-am: clean-checkPROGRAMS clean-generic clean-libtool \ | ||
2171 | 2196 | |
2172 | 2197 | distclean: distclean-recursive |
2173 | 2198 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
2174 | - -rm -rf common/$(DEPDIR) cr16/$(DEPDIR) d10v/$(DEPDIR) igen/$(DEPDIR) m32c/$(DEPDIR) m68hc11/$(DEPDIR) sh/$(DEPDIR) testsuite/common/$(DEPDIR) | |
2199 | + -rm -rf common/$(DEPDIR) cr16/$(DEPDIR) cris/$(DEPDIR) d10v/$(DEPDIR) igen/$(DEPDIR) m32c/$(DEPDIR) m68hc11/$(DEPDIR) sh/$(DEPDIR) testsuite/common/$(DEPDIR) | |
2175 | 2200 | -rm -f Makefile |
2176 | 2201 | distclean-am: clean-am distclean-DEJAGNU distclean-compile \ |
2177 | 2202 | distclean-generic distclean-hdr distclean-libtool \ |
@@ -2222,7 +2247,7 @@ installcheck-am: | ||
2222 | 2247 | maintainer-clean: maintainer-clean-recursive |
2223 | 2248 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) |
2224 | 2249 | -rm -rf $(top_srcdir)/autom4te.cache |
2225 | - -rm -rf common/$(DEPDIR) cr16/$(DEPDIR) d10v/$(DEPDIR) igen/$(DEPDIR) m32c/$(DEPDIR) m68hc11/$(DEPDIR) sh/$(DEPDIR) testsuite/common/$(DEPDIR) | |
2250 | + -rm -rf common/$(DEPDIR) cr16/$(DEPDIR) cris/$(DEPDIR) d10v/$(DEPDIR) igen/$(DEPDIR) m32c/$(DEPDIR) m68hc11/$(DEPDIR) sh/$(DEPDIR) testsuite/common/$(DEPDIR) | |
2226 | 2251 | -rm -f Makefile |
2227 | 2252 | maintainer-clean-am: distclean-am maintainer-clean-generic |
2228 | 2253 |
@@ -39,20 +39,9 @@ SIM_EXTRA_CLEAN = cris-clean | ||
39 | 39 | |
40 | 40 | arch = cris |
41 | 41 | |
42 | -# rvdummy is just used for testing. It does nothing if | |
43 | -# --enable-sim-hardware isn't active. | |
44 | - | |
45 | -all: rvdummy$(EXEEXT) | |
46 | - | |
47 | -check: rvdummy$(EXEEXT) | |
48 | - | |
49 | -rvdummy$(EXEEXT): rvdummy.o $(EXTRA_LIBDEPS) | |
50 | - $(ECHO_CCLD) $(LIBTOOL) $(AM_V_lt) --tag=CC --mode=link \ | |
51 | - $(CC) $(ALL_CFLAGS) -o rvdummy$(EXEEXT) rvdummy.o $(EXTRA_LIBS) | |
52 | - | |
53 | 42 | cris-clean: |
54 | 43 | -rm -f stamp-arch |
55 | - -rm -f tmp-* rvdummy$(EXEEXT) | |
44 | + -rm -f tmp-* | |
56 | 45 | |
57 | 46 | # Useful when making CGEN-generated files manually, without --enable-cgen-maint. |
58 | 47 | stamps: stamp-arch stamp-v10fcpu stamp-v32fcpu |
@@ -16,6 +16,13 @@ | ||
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 | +## rvdummy is just used for testing -- it runs on the same host as `run`. | |
20 | +## It does nothing if --enable-sim-hardware isn't active. | |
21 | +%C%_rvdummy_SOURCES = %D%/rvdummy.c | |
22 | +%C%_rvdummy_LDADD = $(LIBIBERTY_LIB) | |
23 | + | |
24 | +check_PROGRAMS += %D%/rvdummy | |
25 | + | |
19 | 26 | %C%_BUILD_OUTPUTS = \ |
20 | 27 | %D%/engv10.h \ |
21 | 28 | %D%/mloopv10f.c \ |