all-gawk \
all-gprof \
all-grep \
+ all-grez \
all-gzip \
all-hello \
all-indent \
install-gawk \
install-gprof \
install-grep \
+ install-grez \
install-gzip \
install-hello \
install-indent \
# This is a list of the targets for all of the modules which are compiled
# using $(TARGET_FLAGS_TO_PASS).
-# RENAME these all-xinberty should be all-target-libiberty
ALL_TARGET_MODULES = \
all-target-libio \
all-target-libstdc++ \
# This is a list of the install targets for all of the modules which are
# compiled using $(TARGET_FLAGS_TO_PASS).
-
INSTALL_TARGET_MODULES = \
install-target-libio \
install-target-libstdc++ \
$${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 \
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 \
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
configure-target-newlib: $(ALL_GCC)
all-target-newlib: configure-target-newlib all-binutils all-gas all-gcc
all-opcodes: all-bfd
-all-patch:
+all-patch: all-libiberty
all-prms: all-libiberty
all-rcs:
all-readline:
all-tgas: all-libiberty all-bfd
all-time:
all-wdiff:
-all-target-winsup: all-target-newlib
+all-target-winsup: all-target-newlib configure-target-winsup
configure-target-winsup: configure-target-newlib
all-uudecode: all-libiberty
configure-target-libiberty: $(ALL_GCC)