diff options
author | Jeffrey Wheat <cassidy@cygnus> | 1993-08-12 15:54:30 +0000 |
---|---|---|
committer | Jeffrey Wheat <cassidy@cygnus> | 1993-08-12 15:54:30 +0000 |
commit | d301e438b550484a18a56c12789c8145a1868a70 (patch) | |
tree | 5276150c07c61db6d532a9e6c5abb2f376d468d5 /ld/Makefile.in | |
parent | 0aa07269cfb496dd99f9d7d0c8bb052cfdda922d (diff) | |
download | gdb-d301e438b550484a18a56c12789c8145a1868a70.zip gdb-d301e438b550484a18a56c12789c8145a1868a70.tar.gz gdb-d301e438b550484a18a56c12789c8145a1868a70.tar.bz2 |
check targets reimplemented to old way.
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r-- | ld/Makefile.in | 48 |
1 files changed, 44 insertions, 4 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in index c47fc47..ebdc814 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) |