diff options
author | drow <drow@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-10-06 15:24:09 +0000 |
---|---|---|
committer | drow <drow@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-10-06 15:24:09 +0000 |
commit | ae74ffb7828b04a144ea765b35424214a08afb7e (patch) | |
tree | 19a11f25e2e72b6d1f92ac4cea42b0a8e1751c97 /Makefile.in | |
parent | 50bbb65933cf526c2c0ec038966eaad32dcf53d4 (diff) | |
download | gcc-ae74ffb7828b04a144ea765b35424214a08afb7e.tar.gz |
./
* Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET.
* Makefile.tpl (BASE_TARGET_EXPORTS): Add OBJDUMP.
(OBJDUMP_FOR_TARGET, CONFIGURED_OBJDUMP_FOR_TARGET)
(USUAL_OBJDUMP_FOR_TARGET): New.
(EXTRA_TARGET_FLAGS): Add OBJDUMP.
* configure.in: Check for $OBJDUMP_FOR_TARGET.
* configure, Makefile: Regenerated.
gcc/
* acinclude.m4 (gcc_AC_CHECK_TOOL): Handle environment variables
here. Use AC_PATH_PROG for environment variables instead of
test -x.
* configure.ac: Update calls to gcc_AC_CHECK_TOOL. Use it for
objdump also.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@105038 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index a99eff47cd4..0de1a3c7a23 100644 --- a/Makefile.in +++ b/Makefile.in @@ -196,6 +196,7 @@ BASE_TARGET_EXPORTS = \ LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \ NM="$(NM_FOR_TARGET)"; export NM; \ + OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \ RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \ WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ @@ -510,6 +511,23 @@ USUAL_NM_FOR_TARGET = ` \ fi; \ fi` +OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@ +CONFIGURED_OBJDUMP_FOR_TARGET=@CONFIGURED_OBJDUMP_FOR_TARGET@ +USUAL_OBJDUMP_FOR_TARGET = ` \ + if [ -f $$r/$(HOST_SUBDIR)/binutils/objdump ] ; then \ + echo $$r/$(HOST_SUBDIR)/binutils/objdump ; \ + else \ + if [ '$(host)' = '$(target)' ] ; then \ + if [ x'$(OBJDUMP)' != x ]; then \ + echo $(OBJDUMP); \ + else \ + echo objdump; \ + fi; \ + else \ + echo $(CONFIGURED_OBJDUMP_FOR_TARGET) ; \ + fi; \ + fi` + RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@ CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@ USUAL_RANLIB_FOR_TARGET = ` \ @@ -675,6 +693,7 @@ BASE_FLAGS_TO_PASS = \ "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \ "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \ "NM_FOR_TARGET=$(NM_FOR_TARGET)" \ + "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \ "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \ "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \ "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \ @@ -727,6 +746,7 @@ EXTRA_TARGET_FLAGS = \ 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \ 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \ 'NM=$$(NM_FOR_TARGET)' \ + 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \ 'RANLIB=$$(RANLIB_FOR_TARGET)' \ 'WINDRES=$$(WINDRES_FOR_TARGET)' |