mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 23:57:03 +08:00
check targets reimplemented to old way.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
Thu Aug 12 08:52:29 1993 Jeffrey Wheat (cassidy@cygnus.com)
|
||||||
|
|
||||||
|
* Makefile.in: check targets reimplemented to old way.
|
||||||
|
|
||||||
Wed Aug 11 08:26:11 1993 Ian Lance Taylor (ian@cygnus.com)
|
Wed Aug 11 08:26:11 1993 Ian Lance Taylor (ian@cygnus.com)
|
||||||
|
|
||||||
* config/i386v.mh, config/irix4.mh: Use gcc
|
* config/i386v.mh, config/irix4.mh: Use gcc
|
||||||
|
@ -253,7 +253,7 @@ em_a29k.c: $(srcdir)/emulparams/a29k.sh \
|
|||||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
|
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
|
||||||
${GENSCRIPTS} a29k
|
${GENSCRIPTS} a29k
|
||||||
em_m88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
|
em_m88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
|
||||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
|
$(srcdir)/emultempl/m88kbcs.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
|
||||||
${GENSCRIPTS} m88kbcs
|
${GENSCRIPTS} m88kbcs
|
||||||
em_h8300.c: $(srcdir)/emulparams/h8300.sh \
|
em_h8300.c: $(srcdir)/emulparams/h8300.sh \
|
||||||
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
|
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
|
||||||
@ -310,10 +310,49 @@ em_mipsidtl.c: $(srcdir)/emulparams/mipsidtl.sh \
|
|||||||
$(LD_PROG): $(OFILES) $(BFDLIB) $(LIBIBERTY)
|
$(LD_PROG): $(OFILES) $(BFDLIB) $(LIBIBERTY)
|
||||||
$(CC) $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $(LDFLAGS) -o $(LD_PROG) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(LOADLIBES) $(CFLAGS)
|
$(CC) $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $(LDFLAGS) -o $(LD_PROG) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(LOADLIBES) $(CFLAGS)
|
||||||
|
|
||||||
|
# START OF CHECK TARGETS
|
||||||
|
site.exp: ./config.status Makefile
|
||||||
|
@echo "Making a new config file..."
|
||||||
|
-@rm -f ./tmp?
|
||||||
|
@touch site.exp
|
||||||
|
|
||||||
# CHECK TARGETS
|
-@mv site.exp site.bak
|
||||||
|
@echo "## variables are automatically generated by make ##" > ./tmp0
|
||||||
|
@echo "# Do not edit here. If you wish to override these" >> ./tmp0
|
||||||
|
@echo "# values, add them to the last section" >> ./tmp0
|
||||||
|
@echo "set host_os ${host_os}" >> ./tmp0
|
||||||
|
@echo "set host_alias ${host_alias}" >> ./tmp0
|
||||||
|
@echo "set host_cpu ${host_cpu}" >> ./tmp0
|
||||||
|
@echo "set host_vendor ${host_vendor}" >> ./tmp0
|
||||||
|
@echo "set target_os ${target_os}" >> ./tmp0
|
||||||
|
@echo "set target_alias ${target_alias}" >> ./tmp0
|
||||||
|
@echo "set target_cpu ${target_cpu}" >> ./tmp0
|
||||||
|
@echo "set target_vendor ${target_vendor}" >> ./tmp0
|
||||||
|
@echo "set host_triplet ${host_canonical}" >> ./tmp0
|
||||||
|
@echo "set target_triplet ${target_canonical}" >> ./tmp0
|
||||||
|
@echo "set srcdir ${srcdir}/testsuite" >> ./tmp0
|
||||||
|
@echo "set objdir `pwd`" >> ./tmp0
|
||||||
|
@echo "set tool ld" >> ./tmp0
|
||||||
|
@echo "" >> ./tmp0
|
||||||
|
@echo "# LD DEPENDANCIES" >> ./tmp0
|
||||||
|
@echo "set OFILES \"${OFILES}\"" >> ./tmp0
|
||||||
|
@echo "set BFDLIB \"${BFDLIB}\"" >> ./tmp0
|
||||||
|
@echo "set LIBIBERTY \"${LIBIBERTY}\"" >> ./tmp0
|
||||||
|
@echo "set HOSTING_EMU \"${HOSTING_EMU}\"" >> ./tmp0
|
||||||
|
@echo "set HOSTING_CRT0 \"${HOSTING_CRT0}\"" >> ./tmp0
|
||||||
|
@echo "set HOSTING_LIBS \"${HOSTING_LIBS}\"" >> ./tmp0
|
||||||
|
@echo "" >> ./tmp0
|
||||||
|
@echo "## Variables generated by configure. Do Not Edit ##" >> ./tmp0
|
||||||
|
@cat ./tmp0 > site.exp
|
||||||
|
@cat site.bak | sed \
|
||||||
|
-e '1,/^## Variables generated by.*##/ d' >> site.exp
|
||||||
|
-@rm -f ./tmp?
|
||||||
|
|
||||||
check: bootstrap check-cdtest
|
check: bootstrap check-cdtest
|
||||||
|
|
||||||
|
new-check: ld.new site.exp
|
||||||
|
$(RUNTEST) $(RUNTESTFLAGS)
|
||||||
|
|
||||||
installcheck:
|
installcheck:
|
||||||
|
|
||||||
# Rules for testing by relinking ld itself.
|
# Rules for testing by relinking ld itself.
|
||||||
@ -344,6 +383,7 @@ cdtest: cdtest-main.o cdtest-func.o cdtest-foo.o ld.new
|
|||||||
check-cdtest: cdtest $(srcdir)/cdtest.exp
|
check-cdtest: cdtest $(srcdir)/cdtest.exp
|
||||||
./cdtest >cdtest.out
|
./cdtest >cdtest.out
|
||||||
diff $(srcdir)/cdtest.exp cdtest.out
|
diff $(srcdir)/cdtest.exp cdtest.out
|
||||||
|
# END OF CHECK TARGETS
|
||||||
|
|
||||||
# DOCUMENTATION TARGETS
|
# DOCUMENTATION TARGETS
|
||||||
# Manual configuration file; not usually attached to normal configuration,
|
# Manual configuration file; not usually attached to normal configuration,
|
||||||
@ -505,7 +545,7 @@ mostlyclean:
|
|||||||
clean: mostlyclean
|
clean: mostlyclean
|
||||||
-rm -f $(LD_PROG)
|
-rm -f $(LD_PROG)
|
||||||
distclean: clean
|
distclean: clean
|
||||||
-rm -fr Makefile config.status TAGS sysdep.h ldscripts
|
-rm -fr Makefile config.status TAGS sysdep.h ldscripts site.exp
|
||||||
realclean: distclean
|
realclean: distclean
|
||||||
-rm -f $(LDDISTSTUFF)
|
-rm -f $(LDDISTSTUFF)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user