X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=Makefile.in;h=3840e4dbe089b097f80eb010dc9fdced5c74a9c5;hb=b5403ad75475a885a050a070de97e640ff3add44;hp=2489f1e108e75876fbdbca7148cda9c71ccb96be;hpb=be2c65d3c5b2758369d73c202fd0550b863e8827;p=binutils-gdb.git diff --git a/Makefile.in b/Makefile.in index 2489f1e108e..3840e4dbe08 100644 --- a/Makefile.in +++ b/Makefile.in @@ -394,6 +394,7 @@ ALL_MODULES = \ all-gawk \ all-gprof \ all-grep \ + all-grez \ all-gzip \ all-hello \ all-indent \ @@ -498,6 +499,7 @@ INSTALL_MODULES = \ install-gawk \ install-gprof \ install-grep \ + install-grez \ install-gzip \ install-hello \ install-indent \ @@ -659,7 +661,10 @@ $(DO_X): $${target}); \ then true; else exit 1; fi; \ else true; fi; \ - done;\ + done + @target=`echo $@ | sed -e 's/^do-//'`; \ + r=`pwd`; export r; \ + srcroot=`cd $(srcdir); pwd`; export srcroot; \ for i in $(TARGET_CONFIGDIRS) -dummy-; do \ if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \ for flag in $(EXTRA_TARGET_FLAGS); do \ @@ -856,8 +861,15 @@ $(CONFIGURE_TARGET_MODULES): LD="$(LD_FOR_TARGET)"; export LD; \ NM="$(NM_FOR_TARGET)"; export NM; \ RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ + echo Configuring in $(TARGET_SUBDIR)/$${dir}; \ cd $(TARGET_SUBDIR)/$${dir}; \ - $${srcroot}/configure $(CONFIG_ARGUMENTS) --srcdir=$${srcroot}/$${dir}; \ + if [ -f $${srcroot}/$${dir}/configure ] ; then \ + $${srcroot}/$${dir}/configure \ + $(CONFIG_ARGUMENTS) --srcdir=$${srcroot}/$${dir}; \ + else \ + $${srcroot}/configure \ + $(CONFIG_ARGUMENTS) --srcdir=$${srcroot}/$${dir}; \ + fi; \ else \ true; \ fi \ @@ -1020,6 +1032,7 @@ all-gcc: all-libiberty all-byacc all-binutils all-gas all-ld all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-byacc all-sim $(gdbnlmrequirements) all-gprof: all-libiberty all-bfd all-grep: all-libiberty +all-grez: all-libiberty all-bfd all-gui: all-gdb all-libproc all-target-librx all-gzip: all-libiberty all-hello: all-libiberty