* Makefile.in (AS_FOR_TARGET, OBJDUMP_FOR_TARGET): Don't set.

(uninstall): Don't set OBJDUMP and OBJDUMPFLAGS in site.exp.
* config/default.exp: Default OBJDUMP and OBJDUMPFLAGS.  Use findfile and
transform procedures to determine objdump program name.
This commit is contained in:
Ken Raeburn 1994-12-16 00:19:40 +00:00
parent 8b1f3552cf
commit 243babd424
1 changed files with 0 additions and 25 deletions

View File

@ -62,29 +62,6 @@ RUNTEST = `if [ -f $${srcdir}/../../dejagnu/runtest ] ; then \
else echo runtest ; fi`
RUNTESTFLAGS =
# The ugliness in the program_transform_name version seems necessary
# to work around some strange behavior of /bin/sh on 386bsd (0.1).
AS_FOR_TARGET = ` \
if [ -f ../Makefile ] ; then \
echo ../as.new ; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(AS); \
else \
(set -e ; t='$(program_transform_name)'; echo as | sed -e '' $$t); \
fi; \
fi`
OBJDUMP_FOR_TARGET = ` \
if [ -f ../../binutils/Makefile ] ; then \
echo ../../binutils/objdump ; \
else \
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
echo $(OBJDUMP); \
else \
(set -e ; t='$(program_transform_name)'; echo objdump | sed -e '' $$t); \
fi; \
fi`
#### host, target, and site specific Makefile frags come in here.
all:
@ -117,8 +94,6 @@ site.exp: ./Makefile
@echo set srcdir ${srcdir} >> ./tmp0
@echo set exec_prefix ${exec_prefix} >> ./tmp0
@echo set objdir `pwd` >> ./tmp0
@echo set OBJDUMP ${OBJDUMP_FOR_TARGET} >> ./tmp0
@echo set OBJDUMPFLAGS \"${OBJDUMPFLAGS}\" >> ./tmp0
@echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0
@sed -e '1,/^## All variables above are.*##/ d' < site.bak >> ./tmp0
@mv -f ./tmp0 site.exp