From: Jeffrey Wheat Date: Thu, 12 Aug 1993 15:54:30 +0000 (+0000) Subject: check targets reimplemented to old way. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d301e438b550484a18a56c12789c8145a1868a70;p=binutils-gdb.git check targets reimplemented to old way. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 219862bdda4..b5cc0cd93bc 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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) * config/i386v.mh, config/irix4.mh: Use gcc diff --git a/ld/Makefile.in b/ld/Makefile.in index c47fc47389d..ebdc8144849 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -253,7 +253,7 @@ em_a29k.c: $(srcdir)/emulparams/a29k.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS} ${GENSCRIPTS} a29k 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 em_h8300.c: $(srcdir)/emulparams/h8300.sh \ $(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) $(CC) $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $(LDFLAGS) -o $(LD_PROG) $(OFILES) $(BFDLIB) $(LIBIBERTY) $(LOADLIBES) $(CFLAGS) - -# CHECK TARGETS +# START OF CHECK TARGETS +site.exp: ./config.status Makefile + @echo "Making a new config file..." + -@rm -f ./tmp? + @touch site.exp + + -@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 + +new-check: ld.new site.exp + $(RUNTEST) $(RUNTESTFLAGS) + installcheck: # 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 ./cdtest >cdtest.out diff $(srcdir)/cdtest.exp cdtest.out +# END OF CHECK TARGETS # DOCUMENTATION TARGETS # Manual configuration file; not usually attached to normal configuration, @@ -505,7 +545,7 @@ mostlyclean: clean: mostlyclean -rm -f $(LD_PROG) distclean: clean - -rm -fr Makefile config.status TAGS sysdep.h ldscripts + -rm -fr Makefile config.status TAGS sysdep.h ldscripts site.exp realclean: distclean -rm -f $(LDDISTSTUFF)