From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28797 invoked by alias); 18 Nov 2002 14:00:00 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 28680 invoked from network); 18 Nov 2002 13:59:57 -0000 Received: from unknown (HELO mailout5-0.nyroc.rr.com) (24.92.226.122) by sources.redhat.com with SMTP; 18 Nov 2002 13:59:57 -0000 Received: from doctormoo (syr-24-24-16-193.twcny.rr.com [24.24.16.193]) by mailout5-0.nyroc.rr.com (8.11.6/RoadRunner 1.20) with ESMTP id gAIDxlF29971; Mon, 18 Nov 2002 08:59:47 -0500 (EST) Received: from neroden by doctormoo with local (Exim 3.36 #1 (Debian)) id 18DmQz-0004Rs-00; Mon, 18 Nov 2002 08:59:29 -0500 Date: Mon, 18 Nov 2002 06:00:00 -0000 To: gcc-patches@gcc.gnu.org Cc: dj@redhat.com, binutils@sources.redhat.com, gdb-patches@sources.redhat.com Subject: Toplevel patch: Autogenerate host module targets Message-ID: <20021118135928.GA16816@doctormoo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i From: Nathanael Nerode X-SW-Source: 2002-11/txt/msg00452.txt.bz2 Requires all my previous patches first. So for gcc 3.4bib branch. Note unification of X11 with other modules. Tested with a bootstrap on i686-pc-linux-gnu. Next comes a general-purpose cleanup pass, then dependency cleanup. * Makefile.tpl: Autogenerate host module targets. * Makefile.in: Regenerate. *** Makefile.tpl.5 Mon Nov 18 08:27:18 2002 --- Makefile.tpl Mon Nov 18 08:48:13 2002 *************** *** 535,583 **** configure-build-libiberty # This is a list of the targets for all of the modules which are compiled - # using $(FLAGS_TO_PASS). - ALL_MODULES = [+ FOR host_modules +][+ IF with_x +][+ ELSE with_x +]\ - all-[+module+] [+ ENDIF with_x +][+ ENDFOR host_modules +] - - # This is a list of the check targets for all of the modules which are - # compiled using $(FLAGS_TO_PASS). - # - # The list is in two parts. The first lists those tools which - # are tested as part of the host's native tool-chain, and not - # tested in a cross configuration. - NATIVE_CHECK_MODULES = \ - check-bison \ - check-byacc \ - check-fastjar \ - check-flex \ - check-zip - - CROSS_CHECK_MODULES = [+ FOR host_modules +][+ IF no_check +][+ ELIF no_check_cross +][+ ELIF with_x +][+ ELSE check +]\ - check-[+module+] [+ ENDIF no_check +][+ ENDFOR host_modules +] - - CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES) - - # This is a list of the install targets for all of the modules which are - # compiled using $(FLAGS_TO_PASS). - INSTALL_MODULES = [+ FOR host_modules+][+ IF no_install +][+ ELIF with_x +][+ ELSE install +]\ - install-[+module+] [+ ENDIF no_install +][+ ENDFOR host_modules +] - - # This is a list of the targets for all of the modules which are compiled - # using $(X11_FLAGS_TO_PASS). - ALL_X11_MODULES = [+ FOR host_modules +][+ IF with_x +]\ - all-[+module+] [+ ENDIF with_x +][+ ENDFOR host_modules +] - - # This is a list of the check targets for all of the modules which are - # compiled using $(X11_FLAGS_TO_PASS). - CHECK_X11_MODULES = [+ FOR host_modules +][+ IF with_x +]\ - check-[+module+] [+ ENDIF with_x +][+ ENDFOR host_modules +] - - # This is a list of the install targets for all the modules which are - # compiled using $(X11_FLAGS_TO_PASS). - INSTALL_X11_MODULES = [+ FOR host_modules +][+ IF with_x +]\ - install-[+module+] [+ ENDIF with_x +][+ ENDFOR host_modules +] - - # This is a list of the targets for all of the modules which are compiled # using $(TARGET_FLAGS_TO_PASS). ALL_TARGET_MODULES = [+ FOR target_modules +]\ all-target-[+module+] [+ ENDFOR target_modules +] --- 535,540 ---- *************** *** 939,1000 **** fi [+ ENDFOR build_modules +] ! # This rule is used to build the modules which use FLAGS_TO_PASS. To # build a target all-X means to cd to X and make all. ! .PHONY: $(ALL_MODULES) ! $(ALL_MODULES): ! @dir=`echo $@ | sed -e 's/all-//'`; \ ! if [ -f ./$${dir}/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \ else \ true; \ fi ! # These rules are used to check the modules which use FLAGS_TO_PASS. ! # To build a target check-X means to cd to X and make check. Some ! # modules are only tested in a native toolchain. ! ! .PHONY: $(CHECK_MODULES) $(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES) ! $(NATIVE_CHECK_MODULES): @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ ! dir=`echo $@ | sed -e 's/check-//'`; \ ! if [ -f ./$${dir}/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \ else \ true; \ fi; \ fi ! ! $(CROSS_CHECK_MODULES): ! @dir=`echo $@ | sed -e 's/check-//'`; \ ! if [ -f ./$${dir}/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \ else \ true; \ fi ! # This rule is used to install the modules which use FLAGS_TO_PASS. ! # To build a target install-X means to cd to X and make install. ! .PHONY: $(INSTALL_MODULES) ! $(INSTALL_MODULES): installdirs ! @dir=`echo $@ | sed -e 's/install-//'`; \ ! if [ -f ./$${dir}/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \ else \ true; \ fi # These rules are used to build the modules which are built with the target # tools. To make foo-X means to cd to X and make foo. --- 896,977 ---- fi [+ ENDFOR build_modules +] ! # These rules are used to build the modules which use FLAGS_TO_PASS. To # build a target all-X means to cd to X and make all. ! [+ FOR host_modules +] ! .PHONY: all-[+module+] ! all-[+module+]: ! @dir=[+module+]; \ ! if [ -f ./[+module+]/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd [+module+]; $(MAKE) $(FLAGS_TO_PASS)[+ ! IF with_x ! +] $(X11_FLAGS_TO_PASS)[+ ! ENDIF with_x +] all); \ else \ true; \ fi ! [+ IF no_check +] ! .PHONY: check-[+module+] ! check-[+module+]: ! [+ ELIF no_check_cross +] ! .PHONY: check-[+module+] ! # This module is only tested in a native toolchain. ! check-[+module+]: @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ ! dir=[+module+]; \ ! if [ -f ./[+module+]/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd [+module+]; $(MAKE) $(FLAGS_TO_PASS)[+ ! IF with_x ! +] $(X11_FLAGS_TO_PASS)[+ ! ENDIF with_x +] check); \ else \ true; \ fi; \ fi ! [+ ELSE check +] ! .PHONY: check-[+module+] ! check-[+module+]: ! @dir=[+module+]; \ ! if [ -f ./[+module+]/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd [+module+]; $(MAKE) $(FLAGS_TO_PASS)[+ ! IF with_x ! +] $(X11_FLAGS_TO_PASS)[+ ! ENDIF with_x +] check); \ else \ true; \ fi + [+ ENDIF no_check +] ! [+ IF no_install +] ! .PHONY: install-[+module+] ! install-[+module+]: ! [+ ELSE install +] ! .PHONY: install-[+module+] ! install-[+module+]: installdirs ! @dir=[+module+]; \ ! if [ -f ./[+module+]/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd [+module+]; $(MAKE) $(FLAGS_TO_PASS)[+ ! IF with_x ! +] $(X11_FLAGS_TO_PASS)[+ ! ENDIF with_x +] install); \ else \ true; \ fi + [+ ENDIF no_install +] + [+ ENDFOR host_modules +] # These rules are used to build the modules which are built with the target # tools. To make foo-X means to cd to X and make foo. *************** *** 1148,1198 **** [+ ENDIF no_install +] [+ ENDFOR target_modules +] - # This rule is used to build the modules which use X11_FLAGS_TO_PASS. - # To build a target all-X means to cd to X and make all. - .PHONY: $(ALL_X11_MODULES) - $(ALL_X11_MODULES): - @dir=`echo $@ | sed -e 's/all-//'`; \ - if [ -f ./$${dir}/Makefile ] ; then \ - r=`${PWD}`; export r; \ - s=`cd $(srcdir); ${PWD}`; export s; \ - $(SET_LIB_PATH) \ - (cd $${dir}; \ - $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all); \ - else \ - true; \ - fi - - # This rule is used to check the modules which use X11_FLAGS_TO_PASS. - # To build a target check-X means to cd to X and make all. - .PHONY: $(CHECK_X11_MODULES) - $(CHECK_X11_MODULES): - @dir=`echo $@ | sed -e 's/check-//'`; \ - if [ -f ./$${dir}/Makefile ] ; then \ - r=`${PWD}`; export r; \ - s=`cd $(srcdir); ${PWD}`; export s; \ - $(SET_LIB_PATH) \ - (cd $${dir}; \ - $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check); \ - else \ - true; \ - fi - - # This rule is used to install the modules which use X11_FLAGS_TO_PASS. - # To build a target install-X means to cd to X and make install. - .PHONY: $(INSTALL_X11_MODULES) - $(INSTALL_X11_MODULES): installdirs - @dir=`echo $@ | sed -e 's/install-//'`; \ - if [ -f ./$${dir}/Makefile ] ; then \ - r=`${PWD}`; export r; \ - s=`cd $(srcdir); ${PWD}`; export s; \ - $(SET_LIB_PATH) \ - (cd $${dir}; \ - $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install); \ - else \ - true; \ - fi - # gcc is the only module which uses GCC_FLAGS_TO_PASS. .PHONY: all-gcc all-gcc: --- 1125,1130 ---- *** Makefile.in.5 Mon Nov 18 08:27:14 2002 --- Makefile.in Mon Nov 18 08:48:17 2002 *************** *** 532,762 **** configure-build-libiberty # This is a list of the targets for all of the modules which are compiled - # using $(FLAGS_TO_PASS). - ALL_MODULES = \ - all-ash \ - all-autoconf \ - all-automake \ - all-bash \ - all-bfd \ - all-opcodes \ - all-binutils \ - all-bison \ - all-byacc \ - all-bzip2 \ - all-db \ - all-dejagnu \ - all-diff \ - all-dosutils \ - all-etc \ - all-fastjar \ - all-fileutils \ - all-findutils \ - all-find \ - all-flex \ - all-gas \ - all-gawk \ - all-gettext \ - all-gnuserv \ - all-gprof \ - all-grep \ - all-gzip \ - all-hello \ - all-indent \ - all-intl \ - all-tcl \ - all-itcl \ - all-ld \ - all-libgui \ - all-libiberty \ - all-libtool \ - all-m4 \ - all-make \ - all-mmalloc \ - all-patch \ - all-perl \ - all-prms \ - all-rcs \ - all-readline \ - all-release \ - all-recode \ - all-sed \ - all-send-pr \ - all-shellutils \ - all-sid \ - all-sim \ - all-snavigator \ - all-tar \ - all-texinfo \ - all-textutils \ - all-time \ - all-uudecode \ - all-wdiff \ - all-zip \ - all-zlib \ - all-libtermcap - - # This is a list of the check targets for all of the modules which are - # compiled using $(FLAGS_TO_PASS). - # - # The list is in two parts. The first lists those tools which - # are tested as part of the host's native tool-chain, and not - # tested in a cross configuration. - NATIVE_CHECK_MODULES = \ - check-bison \ - check-byacc \ - check-fastjar \ - check-flex \ - check-zip - - CROSS_CHECK_MODULES = \ - check-ash \ - check-autoconf \ - check-automake \ - check-bash \ - check-bfd \ - check-opcodes \ - check-binutils \ - check-bzip2 \ - check-db \ - check-dejagnu \ - check-diff \ - check-etc \ - check-fileutils \ - check-findutils \ - check-find \ - check-gas \ - check-gawk \ - check-gettext \ - check-gnuserv \ - check-gprof \ - check-grep \ - check-gzip \ - check-hello \ - check-indent \ - check-intl \ - check-tcl \ - check-itcl \ - check-ld \ - check-libgui \ - check-libiberty \ - check-libtool \ - check-m4 \ - check-make \ - check-patch \ - check-perl \ - check-prms \ - check-rcs \ - check-readline \ - check-recode \ - check-sed \ - check-send-pr \ - check-shellutils \ - check-sid \ - check-sim \ - check-snavigator \ - check-tar \ - check-texinfo \ - check-textutils \ - check-time \ - check-uudecode \ - check-wdiff - - CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES) - - # This is a list of the install targets for all of the modules which are - # compiled using $(FLAGS_TO_PASS). - INSTALL_MODULES = \ - install-ash \ - install-autoconf \ - install-automake \ - install-bash \ - install-bfd \ - install-opcodes \ - install-binutils \ - install-bison \ - install-byacc \ - install-bzip2 \ - install-db \ - install-dejagnu \ - install-diff \ - install-dosutils \ - install-etc \ - install-fastjar \ - install-fileutils \ - install-findutils \ - install-find \ - install-flex \ - install-gas \ - install-gawk \ - install-gettext \ - install-gnuserv \ - install-gprof \ - install-grep \ - install-gzip \ - install-hello \ - install-indent \ - install-intl \ - install-tcl \ - install-itcl \ - install-ld \ - install-libgui \ - install-libiberty \ - install-libtool \ - install-m4 \ - install-make \ - install-mmalloc \ - install-patch \ - install-perl \ - install-prms \ - install-rcs \ - install-readline \ - install-recode \ - install-sed \ - install-send-pr \ - install-shellutils \ - install-sid \ - install-sim \ - install-snavigator \ - install-tar \ - install-textutils \ - install-time \ - install-uudecode \ - install-wdiff \ - install-zip \ - install-libtermcap - - # This is a list of the targets for all of the modules which are compiled - # using $(X11_FLAGS_TO_PASS). - ALL_X11_MODULES = \ - all-gdb \ - all-expect \ - all-guile \ - all-tclX \ - all-tk \ - all-tix - - # This is a list of the check targets for all of the modules which are - # compiled using $(X11_FLAGS_TO_PASS). - CHECK_X11_MODULES = \ - check-gdb \ - check-expect \ - check-guile \ - check-tclX \ - check-tk \ - check-tix - - # This is a list of the install targets for all the modules which are - # compiled using $(X11_FLAGS_TO_PASS). - INSTALL_X11_MODULES = \ - install-gdb \ - install-expect \ - install-guile \ - install-tclX \ - install-tk \ - install-tix - - # This is a list of the targets for all of the modules which are compiled # using $(TARGET_FLAGS_TO_PASS). ALL_TARGET_MODULES = \ all-target-libstdc++-v3 \ --- 532,537 ---- *************** *** 1425,1689 **** r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd $(TARGET_SUBDIR)/$${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) clean); \ else \ true; \ fi - clean-target: $(CLEAN_TARGET_MODULES) clean-target-libgcc - clean-target-libgcc: - test ! -d gcc/libgcc || \ - (cd gcc/libgcc && find . -type d -print) | \ - while read d; do rm -f gcc/$$d/libgcc.a || : ; done - -rm -rf gcc/libgcc - - # Check target. - - .PHONY: check do-check - check: - $(MAKE) do-check NOTPARALLEL=parallel-ok ! # Only include modules actually being configured and built. ! do-check: @check_host_modules@ \ ! @check_target_modules@ - # Automated reporting of test results. - warning.log: build.log - $(srcdir)/contrib/warn_summary build.log > $@ ! mail-report.log: ! if test x'$(BOOT_CFLAGS)' != x''; then \ ! BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ ! fi; \ ! $(srcdir)/contrib/test_summary -t >$@ ! chmod +x $@ ! echo If you really want to send e-mail, run ./$@ now - mail-report-with-warnings.log: warning.log - if test x'$(BOOT_CFLAGS)' != x''; then \ - BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ - fi; \ - $(srcdir)/contrib/test_summary -t -i warning.log >$@ - chmod +x $@ - echo If you really want to send e-mail, run ./$@ now ! # Installation targets. - .PHONY: install uninstall source-vault binary-vault vault-install - install: installdirs @install_host_modules@ @install_target_modules@ ! uninstall: ! @echo "the uninstall target is not supported in this tree" - source-vault: - $(MAKE) -f ./release/Build-A-Release \ - host=$(host_alias) source-vault - binary-vault: - $(MAKE) -f ./release/Build-A-Release \ - host=$(host_alias) target=$(target_alias) ! vault-install: ! @if [ -f ./release/vault-install ] ; then \ ! ./release/vault-install $(host_alias) $(target_alias) ; \ else \ ! true ; \ fi ! .PHONY: install.all ! install.all: install-no-fixedincludes ! @if [ -f ./gcc/Makefile ] ; then \ ! r=`${PWD}` ; export r ; \ ! $(SET_LIB_PATH) \ ! (cd ./gcc; \ ! $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \ else \ ! true ; \ fi - # install-no-fixedincludes is used because Cygnus can not distribute - # the fixed header files. - .PHONY: install-no-fixedincludes - install-no-fixedincludes: installdirs @install_host_modules_nogcc@ \ - @install_target_modules@ gcc-no-fixedincludes ! # Install the gcc headers files, but not the fixed include files, ! # which Cygnus is not allowed to distribute. This rule is very ! # dependent on the workings of the gcc Makefile.in. ! .PHONY: gcc-no-fixedincludes ! gcc-no-fixedincludes: ! @if [ -f ./gcc/Makefile ]; then \ ! rm -rf gcc/tmp-include; \ ! mv gcc/include gcc/tmp-include 2>/dev/null; \ ! mkdir gcc/include; \ ! cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \ ! touch gcc/stmp-fixinc gcc/include/fixed; \ ! rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \ r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}` ; export s; \ $(SET_LIB_PATH) \ ! (cd ./gcc; \ ! $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ ! rm -rf gcc/include; \ ! mv gcc/tmp-include gcc/include 2>/dev/null; \ ! else true; fi - # These rules are used to build the modules which are built with the - # build machine's native compiler. ! .PHONY: all-build-libiberty ! all-build-libiberty: ! @if [ -f ./libiberty/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ ! (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all); \ else \ true; \ fi ! .PHONY: configure-build-libiberty ! configure-build-libiberty: ! @if [ ! -d $(BUILD_SUBDIR) ]; then \ ! true; \ ! elif [ -f $(BUILD_SUBDIR)/libiberty/Makefile ] ; then \ ! true; \ ! elif echo " $(BUILD_CONFIGDIRS) " | grep " libiberty " >/dev/null 2>&1; then \ ! if [ -d $(srcdir)/libiberty ]; then \ ! [ -d $(BUILD_SUBDIR)/libiberty ] || mkdir $(BUILD_SUBDIR)/libiberty;\ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! AR="$(AR_FOR_BUILD)"; export AR; \ ! AS="$(AS_FOR_BUILD)"; export AS; \ ! CC="$(CC_FOR_BUILD)"; export CC; \ ! CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \ ! CXX="$(CXX_FOR_BUILD)"; export CXX; \ ! CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \ ! GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \ ! DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \ ! LD="$(LD_FOR_BUILD)"; export LD; \ ! LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \ ! NM="$(NM_FOR_BUILD)"; export NM; \ ! RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \ ! WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \ ! echo Configuring in $(BUILD_SUBDIR)/libiberty; \ ! cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \ ! case $(srcdir) in \ ! /* | [A-Za-z]:[\\/]*) \ ! topdir=$(srcdir) ;; \ ! *) \ ! case "$(BUILD_SUBDIR)" in \ ! .) topdir="../$(srcdir)" ;; \ ! *) topdir="../../$(srcdir)" ;; \ ! esac ;; \ ! esac; \ ! if [ "$(srcdir)" = "." ] ; then \ ! if [ "$(BUILD_SUBDIR)" != "." ] ; then \ ! if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \ ! if [ -f Makefile ]; then \ ! if $(MAKE) distclean; then \ ! true; \ ! else \ ! exit 1; \ ! fi; \ ! else \ ! true; \ ! fi; \ ! else \ ! exit 1; \ ! fi; \ ! else \ ! true; \ ! fi; \ ! srcdiroption="--srcdir=."; \ ! libsrcdir="."; \ ! else \ ! srcdiroption="--srcdir=$${topdir}/libiberty"; \ ! libsrcdir="$$s/libiberty"; \ ! fi; \ ! if [ -f $${libsrcdir}/configure ] ; then \ ! rm -f no-such-file skip-this-dir; \ ! CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ ! $(BUILD_CONFIGARGS) $${srcdiroption} \ ! --with-build-subdir="$(BUILD_SUBDIR)"; \ ! else \ ! rm -f no-such-file skip-this-dir; \ ! CONFIG_SITE=no-such-file $(SHELL) $$s/configure \ ! $(BUILD_CONFIGARGS) $${srcdiroption} \ ! --with-build-subdir="$(BUILD_SUBDIR)"; \ ! fi || exit 1; \ ! if [ -f skip-this-dir ] ; then \ ! sh skip-this-dir; \ ! rm -f skip-this-dir; \ ! cd ..; rmdir libiberty || true; \ ! else \ ! true; \ ! fi; \ ! else \ ! true; \ ! fi; \ else \ true; \ fi ! # This rule is used to build the modules which use FLAGS_TO_PASS. To ! # build a target all-X means to cd to X and make all. ! .PHONY: $(ALL_MODULES) ! $(ALL_MODULES): ! @dir=`echo $@ | sed -e 's/all-//'`; \ ! if [ -f ./$${dir}/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) all); \ else \ true; \ fi - # These rules are used to check the modules which use FLAGS_TO_PASS. - # To build a target check-X means to cd to X and make check. Some - # modules are only tested in a native toolchain. ! .PHONY: $(CHECK_MODULES) $(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES) ! $(NATIVE_CHECK_MODULES): ! @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ ! dir=`echo $@ | sed -e 's/check-//'`; \ ! if [ -f ./$${dir}/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi; \ fi ! $(CROSS_CHECK_MODULES): ! @dir=`echo $@ | sed -e 's/check-//'`; \ ! if [ -f ./$${dir}/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) check); \ else \ true; \ fi ! # This rule is used to install the modules which use FLAGS_TO_PASS. ! # To build a target install-X means to cd to X and make install. ! .PHONY: $(INSTALL_MODULES) ! $(INSTALL_MODULES): installdirs ! @dir=`echo $@ | sed -e 's/install-//'`; \ ! if [ -f ./$${dir}/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) install); \ else \ true; \ fi # These rules are used to build the modules which are built with the target # tools. To make foo-X means to cd to X and make foo. --- 1200,4034 ---- r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd $(TARGET_SUBDIR)/$${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) clean); \ ! else \ ! true; \ ! fi ! ! clean-target: $(CLEAN_TARGET_MODULES) clean-target-libgcc ! clean-target-libgcc: ! test ! -d gcc/libgcc || \ ! (cd gcc/libgcc && find . -type d -print) | \ ! while read d; do rm -f gcc/$$d/libgcc.a || : ; done ! -rm -rf gcc/libgcc ! ! # Check target. ! ! .PHONY: check do-check ! check: ! $(MAKE) do-check NOTPARALLEL=parallel-ok ! ! # Only include modules actually being configured and built. ! do-check: @check_host_modules@ \ ! @check_target_modules@ ! ! # Automated reporting of test results. ! ! warning.log: build.log ! $(srcdir)/contrib/warn_summary build.log > $@ ! ! mail-report.log: ! if test x'$(BOOT_CFLAGS)' != x''; then \ ! BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ ! fi; \ ! $(srcdir)/contrib/test_summary -t >$@ ! chmod +x $@ ! echo If you really want to send e-mail, run ./$@ now ! ! mail-report-with-warnings.log: warning.log ! if test x'$(BOOT_CFLAGS)' != x''; then \ ! BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ ! fi; \ ! $(srcdir)/contrib/test_summary -t -i warning.log >$@ ! chmod +x $@ ! echo If you really want to send e-mail, run ./$@ now ! ! # Installation targets. ! ! .PHONY: install uninstall source-vault binary-vault vault-install ! install: installdirs @install_host_modules@ @install_target_modules@ ! ! uninstall: ! @echo "the uninstall target is not supported in this tree" ! ! source-vault: ! $(MAKE) -f ./release/Build-A-Release \ ! host=$(host_alias) source-vault ! ! binary-vault: ! $(MAKE) -f ./release/Build-A-Release \ ! host=$(host_alias) target=$(target_alias) ! ! vault-install: ! @if [ -f ./release/vault-install ] ; then \ ! ./release/vault-install $(host_alias) $(target_alias) ; \ ! else \ ! true ; \ ! fi ! ! .PHONY: install.all ! install.all: install-no-fixedincludes ! @if [ -f ./gcc/Makefile ] ; then \ ! r=`${PWD}` ; export r ; \ ! $(SET_LIB_PATH) \ ! (cd ./gcc; \ ! $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \ ! else \ ! true ; \ ! fi ! ! # install-no-fixedincludes is used because Cygnus can not distribute ! # the fixed header files. ! .PHONY: install-no-fixedincludes ! install-no-fixedincludes: installdirs @install_host_modules_nogcc@ \ ! @install_target_modules@ gcc-no-fixedincludes ! ! # Install the gcc headers files, but not the fixed include files, ! # which Cygnus is not allowed to distribute. This rule is very ! # dependent on the workings of the gcc Makefile.in. ! .PHONY: gcc-no-fixedincludes ! gcc-no-fixedincludes: ! @if [ -f ./gcc/Makefile ]; then \ ! rm -rf gcc/tmp-include; \ ! mv gcc/include gcc/tmp-include 2>/dev/null; \ ! mkdir gcc/include; \ ! cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \ ! touch gcc/stmp-fixinc gcc/include/fixed; \ ! rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}` ; export s; \ ! $(SET_LIB_PATH) \ ! (cd ./gcc; \ ! $(MAKE) $(GCC_FLAGS_TO_PASS) install); \ ! rm -rf gcc/include; \ ! mv gcc/tmp-include gcc/include 2>/dev/null; \ ! else true; fi ! ! # These rules are used to build the modules which are built with the ! # build machine's native compiler. ! ! .PHONY: all-build-libiberty ! all-build-libiberty: ! @if [ -f ./libiberty/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all); \ ! else \ ! true; \ ! fi ! ! .PHONY: configure-build-libiberty ! configure-build-libiberty: ! @if [ ! -d $(BUILD_SUBDIR) ]; then \ ! true; \ ! elif [ -f $(BUILD_SUBDIR)/libiberty/Makefile ] ; then \ ! true; \ ! elif echo " $(BUILD_CONFIGDIRS) " | grep " libiberty " >/dev/null 2>&1; then \ ! if [ -d $(srcdir)/libiberty ]; then \ ! [ -d $(BUILD_SUBDIR)/libiberty ] || mkdir $(BUILD_SUBDIR)/libiberty;\ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! AR="$(AR_FOR_BUILD)"; export AR; \ ! AS="$(AS_FOR_BUILD)"; export AS; \ ! CC="$(CC_FOR_BUILD)"; export CC; \ ! CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \ ! CXX="$(CXX_FOR_BUILD)"; export CXX; \ ! CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \ ! GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \ ! DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \ ! LD="$(LD_FOR_BUILD)"; export LD; \ ! LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \ ! NM="$(NM_FOR_BUILD)"; export NM; \ ! RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \ ! WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \ ! echo Configuring in $(BUILD_SUBDIR)/libiberty; \ ! cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \ ! case $(srcdir) in \ ! /* | [A-Za-z]:[\\/]*) \ ! topdir=$(srcdir) ;; \ ! *) \ ! case "$(BUILD_SUBDIR)" in \ ! .) topdir="../$(srcdir)" ;; \ ! *) topdir="../../$(srcdir)" ;; \ ! esac ;; \ ! esac; \ ! if [ "$(srcdir)" = "." ] ; then \ ! if [ "$(BUILD_SUBDIR)" != "." ] ; then \ ! if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \ ! if [ -f Makefile ]; then \ ! if $(MAKE) distclean; then \ ! true; \ ! else \ ! exit 1; \ ! fi; \ ! else \ ! true; \ ! fi; \ ! else \ ! exit 1; \ ! fi; \ ! else \ ! true; \ ! fi; \ ! srcdiroption="--srcdir=."; \ ! libsrcdir="."; \ ! else \ ! srcdiroption="--srcdir=$${topdir}/libiberty"; \ ! libsrcdir="$$s/libiberty"; \ ! fi; \ ! if [ -f $${libsrcdir}/configure ] ; then \ ! rm -f no-such-file skip-this-dir; \ ! CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ ! $(BUILD_CONFIGARGS) $${srcdiroption} \ ! --with-build-subdir="$(BUILD_SUBDIR)"; \ ! else \ ! rm -f no-such-file skip-this-dir; \ ! CONFIG_SITE=no-such-file $(SHELL) $$s/configure \ ! $(BUILD_CONFIGARGS) $${srcdiroption} \ ! --with-build-subdir="$(BUILD_SUBDIR)"; \ ! fi || exit 1; \ ! if [ -f skip-this-dir ] ; then \ ! sh skip-this-dir; \ ! rm -f skip-this-dir; \ ! cd ..; rmdir libiberty || true; \ ! else \ ! true; \ ! fi; \ ! else \ ! true; \ ! fi; \ ! else \ ! true; \ ! fi ! ! ! # These rules are used to build the modules which use FLAGS_TO_PASS. To ! # build a target all-X means to cd to X and make all. ! ! .PHONY: all-ash ! all-ash: ! @dir=ash; \ ! if [ -f ./ash/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd ash; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-ash ! check-ash: ! @dir=ash; \ ! if [ -f ./ash/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd ash; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-ash ! install-ash: installdirs ! @dir=ash; \ ! if [ -f ./ash/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd ash; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-autoconf ! all-autoconf: ! @dir=autoconf; \ ! if [ -f ./autoconf/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd autoconf; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-autoconf ! check-autoconf: ! @dir=autoconf; \ ! if [ -f ./autoconf/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd autoconf; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-autoconf ! install-autoconf: installdirs ! @dir=autoconf; \ ! if [ -f ./autoconf/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd autoconf; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-automake ! all-automake: ! @dir=automake; \ ! if [ -f ./automake/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd automake; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-automake ! check-automake: ! @dir=automake; \ ! if [ -f ./automake/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd automake; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-automake ! install-automake: installdirs ! @dir=automake; \ ! if [ -f ./automake/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd automake; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-bash ! all-bash: ! @dir=bash; \ ! if [ -f ./bash/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd bash; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-bash ! check-bash: ! @dir=bash; \ ! if [ -f ./bash/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd bash; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-bash ! install-bash: installdirs ! @dir=bash; \ ! if [ -f ./bash/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd bash; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-bfd ! all-bfd: ! @dir=bfd; \ ! if [ -f ./bfd/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd bfd; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-bfd ! check-bfd: ! @dir=bfd; \ ! if [ -f ./bfd/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd bfd; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-bfd ! install-bfd: installdirs ! @dir=bfd; \ ! if [ -f ./bfd/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd bfd; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-opcodes ! all-opcodes: ! @dir=opcodes; \ ! if [ -f ./opcodes/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd opcodes; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-opcodes ! check-opcodes: ! @dir=opcodes; \ ! if [ -f ./opcodes/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd opcodes; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-opcodes ! install-opcodes: installdirs ! @dir=opcodes; \ ! if [ -f ./opcodes/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd opcodes; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-binutils ! all-binutils: ! @dir=binutils; \ ! if [ -f ./binutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd binutils; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-binutils ! check-binutils: ! @dir=binutils; \ ! if [ -f ./binutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd binutils; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-binutils ! install-binutils: installdirs ! @dir=binutils; \ ! if [ -f ./binutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd binutils; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-bison ! all-bison: ! @dir=bison; \ ! if [ -f ./bison/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd bison; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-bison ! # This module is only tested in a native toolchain. ! check-bison: ! @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ ! dir=bison; \ ! if [ -f ./bison/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd bison; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi; \ ! fi ! ! ! ! .PHONY: install-bison ! install-bison: installdirs ! @dir=bison; \ ! if [ -f ./bison/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd bison; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-byacc ! all-byacc: ! @dir=byacc; \ ! if [ -f ./byacc/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd byacc; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-byacc ! # This module is only tested in a native toolchain. ! check-byacc: ! @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ ! dir=byacc; \ ! if [ -f ./byacc/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd byacc; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi; \ ! fi ! ! ! ! .PHONY: install-byacc ! install-byacc: installdirs ! @dir=byacc; \ ! if [ -f ./byacc/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd byacc; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-bzip2 ! all-bzip2: ! @dir=bzip2; \ ! if [ -f ./bzip2/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd bzip2; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-bzip2 ! check-bzip2: ! @dir=bzip2; \ ! if [ -f ./bzip2/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd bzip2; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-bzip2 ! install-bzip2: installdirs ! @dir=bzip2; \ ! if [ -f ./bzip2/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd bzip2; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-db ! all-db: ! @dir=db; \ ! if [ -f ./db/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd db; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-db ! check-db: ! @dir=db; \ ! if [ -f ./db/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd db; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-db ! install-db: installdirs ! @dir=db; \ ! if [ -f ./db/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd db; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-dejagnu ! all-dejagnu: ! @dir=dejagnu; \ ! if [ -f ./dejagnu/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd dejagnu; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-dejagnu ! check-dejagnu: ! @dir=dejagnu; \ ! if [ -f ./dejagnu/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd dejagnu; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-dejagnu ! install-dejagnu: installdirs ! @dir=dejagnu; \ ! if [ -f ./dejagnu/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd dejagnu; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-diff ! all-diff: ! @dir=diff; \ ! if [ -f ./diff/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd diff; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-diff ! check-diff: ! @dir=diff; \ ! if [ -f ./diff/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd diff; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-diff ! install-diff: installdirs ! @dir=diff; \ ! if [ -f ./diff/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd diff; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-dosutils ! all-dosutils: ! @dir=dosutils; \ ! if [ -f ./dosutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd dosutils; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-dosutils ! check-dosutils: ! ! ! ! .PHONY: install-dosutils ! install-dosutils: installdirs ! @dir=dosutils; \ ! if [ -f ./dosutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd dosutils; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-etc ! all-etc: ! @dir=etc; \ ! if [ -f ./etc/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd etc; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-etc ! check-etc: ! @dir=etc; \ ! if [ -f ./etc/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd etc; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-etc ! install-etc: installdirs ! @dir=etc; \ ! if [ -f ./etc/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd etc; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-fastjar ! all-fastjar: ! @dir=fastjar; \ ! if [ -f ./fastjar/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd fastjar; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-fastjar ! # This module is only tested in a native toolchain. ! check-fastjar: ! @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ ! dir=fastjar; \ ! if [ -f ./fastjar/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd fastjar; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi; \ ! fi ! ! ! ! .PHONY: install-fastjar ! install-fastjar: installdirs ! @dir=fastjar; \ ! if [ -f ./fastjar/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd fastjar; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-fileutils ! all-fileutils: ! @dir=fileutils; \ ! if [ -f ./fileutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd fileutils; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-fileutils ! check-fileutils: ! @dir=fileutils; \ ! if [ -f ./fileutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd fileutils; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-fileutils ! install-fileutils: installdirs ! @dir=fileutils; \ ! if [ -f ./fileutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd fileutils; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-findutils ! all-findutils: ! @dir=findutils; \ ! if [ -f ./findutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd findutils; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-findutils ! check-findutils: ! @dir=findutils; \ ! if [ -f ./findutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd findutils; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-findutils ! install-findutils: installdirs ! @dir=findutils; \ ! if [ -f ./findutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd findutils; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-find ! all-find: ! @dir=find; \ ! if [ -f ./find/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd find; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-find ! check-find: ! @dir=find; \ ! if [ -f ./find/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd find; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-find ! install-find: installdirs ! @dir=find; \ ! if [ -f ./find/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd find; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-flex ! all-flex: ! @dir=flex; \ ! if [ -f ./flex/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd flex; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-flex ! # This module is only tested in a native toolchain. ! check-flex: ! @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ ! dir=flex; \ ! if [ -f ./flex/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd flex; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi; \ ! fi ! ! ! ! .PHONY: install-flex ! install-flex: installdirs ! @dir=flex; \ ! if [ -f ./flex/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd flex; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-gas ! all-gas: ! @dir=gas; \ ! if [ -f ./gas/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gas; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-gas ! check-gas: ! @dir=gas; \ ! if [ -f ./gas/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gas; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-gas ! install-gas: installdirs ! @dir=gas; \ ! if [ -f ./gas/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gas; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-gawk ! all-gawk: ! @dir=gawk; \ ! if [ -f ./gawk/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gawk; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-gawk ! check-gawk: ! @dir=gawk; \ ! if [ -f ./gawk/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gawk; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-gawk ! install-gawk: installdirs ! @dir=gawk; \ ! if [ -f ./gawk/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gawk; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-gettext ! all-gettext: ! @dir=gettext; \ ! if [ -f ./gettext/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gettext; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-gettext ! check-gettext: ! @dir=gettext; \ ! if [ -f ./gettext/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gettext; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-gettext ! install-gettext: installdirs ! @dir=gettext; \ ! if [ -f ./gettext/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gettext; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-gnuserv ! all-gnuserv: ! @dir=gnuserv; \ ! if [ -f ./gnuserv/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gnuserv; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-gnuserv ! check-gnuserv: ! @dir=gnuserv; \ ! if [ -f ./gnuserv/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gnuserv; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-gnuserv ! install-gnuserv: installdirs ! @dir=gnuserv; \ ! if [ -f ./gnuserv/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gnuserv; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-gprof ! all-gprof: ! @dir=gprof; \ ! if [ -f ./gprof/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gprof; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-gprof ! check-gprof: ! @dir=gprof; \ ! if [ -f ./gprof/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gprof; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-gprof ! install-gprof: installdirs ! @dir=gprof; \ ! if [ -f ./gprof/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gprof; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-grep ! all-grep: ! @dir=grep; \ ! if [ -f ./grep/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd grep; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-grep ! check-grep: ! @dir=grep; \ ! if [ -f ./grep/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd grep; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-grep ! install-grep: installdirs ! @dir=grep; \ ! if [ -f ./grep/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd grep; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-gzip ! all-gzip: ! @dir=gzip; \ ! if [ -f ./gzip/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gzip; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-gzip ! check-gzip: ! @dir=gzip; \ ! if [ -f ./gzip/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gzip; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-gzip ! install-gzip: installdirs ! @dir=gzip; \ ! if [ -f ./gzip/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gzip; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-hello ! all-hello: ! @dir=hello; \ ! if [ -f ./hello/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd hello; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-hello ! check-hello: ! @dir=hello; \ ! if [ -f ./hello/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd hello; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-hello ! install-hello: installdirs ! @dir=hello; \ ! if [ -f ./hello/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd hello; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-indent ! all-indent: ! @dir=indent; \ ! if [ -f ./indent/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd indent; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-indent ! check-indent: ! @dir=indent; \ ! if [ -f ./indent/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd indent; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-indent ! install-indent: installdirs ! @dir=indent; \ ! if [ -f ./indent/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd indent; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-intl ! all-intl: ! @dir=intl; \ ! if [ -f ./intl/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd intl; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-intl ! check-intl: ! @dir=intl; \ ! if [ -f ./intl/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd intl; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-intl ! install-intl: installdirs ! @dir=intl; \ ! if [ -f ./intl/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd intl; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-tcl ! all-tcl: ! @dir=tcl; \ ! if [ -f ./tcl/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd tcl; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-tcl ! check-tcl: ! @dir=tcl; \ ! if [ -f ./tcl/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd tcl; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-tcl ! install-tcl: installdirs ! @dir=tcl; \ ! if [ -f ./tcl/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd tcl; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-itcl ! all-itcl: ! @dir=itcl; \ ! if [ -f ./itcl/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd itcl; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-itcl ! check-itcl: ! @dir=itcl; \ ! if [ -f ./itcl/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd itcl; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-itcl ! install-itcl: installdirs ! @dir=itcl; \ ! if [ -f ./itcl/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd itcl; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-ld ! all-ld: ! @dir=ld; \ ! if [ -f ./ld/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd ld; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-ld ! check-ld: ! @dir=ld; \ ! if [ -f ./ld/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd ld; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-ld ! install-ld: installdirs ! @dir=ld; \ ! if [ -f ./ld/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd ld; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-libgui ! all-libgui: ! @dir=libgui; \ ! if [ -f ./libgui/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd libgui; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-libgui ! check-libgui: ! @dir=libgui; \ ! if [ -f ./libgui/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd libgui; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-libgui ! install-libgui: installdirs ! @dir=libgui; \ ! if [ -f ./libgui/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd libgui; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-libiberty ! all-libiberty: ! @dir=libiberty; \ ! if [ -f ./libiberty/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd libiberty; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-libiberty ! check-libiberty: ! @dir=libiberty; \ ! if [ -f ./libiberty/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd libiberty; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-libiberty ! install-libiberty: installdirs ! @dir=libiberty; \ ! if [ -f ./libiberty/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd libiberty; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-libtool ! all-libtool: ! @dir=libtool; \ ! if [ -f ./libtool/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd libtool; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-libtool ! check-libtool: ! @dir=libtool; \ ! if [ -f ./libtool/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd libtool; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-libtool ! install-libtool: installdirs ! @dir=libtool; \ ! if [ -f ./libtool/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd libtool; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-m4 ! all-m4: ! @dir=m4; \ ! if [ -f ./m4/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd m4; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-m4 ! check-m4: ! @dir=m4; \ ! if [ -f ./m4/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd m4; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-m4 ! install-m4: installdirs ! @dir=m4; \ ! if [ -f ./m4/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd m4; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-make ! all-make: ! @dir=make; \ ! if [ -f ./make/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd make; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-make ! check-make: ! @dir=make; \ ! if [ -f ./make/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd make; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-make ! install-make: installdirs ! @dir=make; \ ! if [ -f ./make/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd make; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-mmalloc ! all-mmalloc: ! @dir=mmalloc; \ ! if [ -f ./mmalloc/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd mmalloc; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-mmalloc ! check-mmalloc: ! ! ! ! .PHONY: install-mmalloc ! install-mmalloc: installdirs ! @dir=mmalloc; \ ! if [ -f ./mmalloc/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd mmalloc; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-patch ! all-patch: ! @dir=patch; \ ! if [ -f ./patch/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd patch; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-patch ! check-patch: ! @dir=patch; \ ! if [ -f ./patch/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd patch; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-patch ! install-patch: installdirs ! @dir=patch; \ ! if [ -f ./patch/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd patch; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-perl ! all-perl: ! @dir=perl; \ ! if [ -f ./perl/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd perl; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-perl ! check-perl: ! @dir=perl; \ ! if [ -f ./perl/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd perl; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-perl ! install-perl: installdirs ! @dir=perl; \ ! if [ -f ./perl/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd perl; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-prms ! all-prms: ! @dir=prms; \ ! if [ -f ./prms/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd prms; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-prms ! check-prms: ! @dir=prms; \ ! if [ -f ./prms/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd prms; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-prms ! install-prms: installdirs ! @dir=prms; \ ! if [ -f ./prms/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd prms; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-rcs ! all-rcs: ! @dir=rcs; \ ! if [ -f ./rcs/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd rcs; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-rcs ! check-rcs: ! @dir=rcs; \ ! if [ -f ./rcs/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd rcs; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-rcs ! install-rcs: installdirs ! @dir=rcs; \ ! if [ -f ./rcs/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd rcs; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-readline ! all-readline: ! @dir=readline; \ ! if [ -f ./readline/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd readline; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-readline ! check-readline: ! @dir=readline; \ ! if [ -f ./readline/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd readline; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-readline ! install-readline: installdirs ! @dir=readline; \ ! if [ -f ./readline/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd readline; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-release ! all-release: ! @dir=release; \ ! if [ -f ./release/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd release; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-release ! check-release: ! ! ! ! .PHONY: install-release ! install-release: ! ! ! .PHONY: all-recode ! all-recode: ! @dir=recode; \ ! if [ -f ./recode/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd recode; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-recode ! check-recode: ! @dir=recode; \ ! if [ -f ./recode/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd recode; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-recode ! install-recode: installdirs ! @dir=recode; \ ! if [ -f ./recode/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd recode; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-sed ! all-sed: ! @dir=sed; \ ! if [ -f ./sed/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd sed; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-sed ! check-sed: ! @dir=sed; \ ! if [ -f ./sed/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd sed; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-sed ! install-sed: installdirs ! @dir=sed; \ ! if [ -f ./sed/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd sed; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-send-pr ! all-send-pr: ! @dir=send-pr; \ ! if [ -f ./send-pr/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd send-pr; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-send-pr ! check-send-pr: ! @dir=send-pr; \ ! if [ -f ./send-pr/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd send-pr; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-send-pr ! install-send-pr: installdirs ! @dir=send-pr; \ ! if [ -f ./send-pr/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd send-pr; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-shellutils ! all-shellutils: ! @dir=shellutils; \ ! if [ -f ./shellutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd shellutils; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-shellutils ! check-shellutils: ! @dir=shellutils; \ ! if [ -f ./shellutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd shellutils; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-shellutils ! install-shellutils: installdirs ! @dir=shellutils; \ ! if [ -f ./shellutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd shellutils; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-sid ! all-sid: ! @dir=sid; \ ! if [ -f ./sid/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd sid; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-sid ! check-sid: ! @dir=sid; \ ! if [ -f ./sid/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd sid; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-sid ! install-sid: installdirs ! @dir=sid; \ ! if [ -f ./sid/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd sid; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-sim ! all-sim: ! @dir=sim; \ ! if [ -f ./sim/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd sim; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-sim ! check-sim: ! @dir=sim; \ ! if [ -f ./sim/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd sim; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-sim ! install-sim: installdirs ! @dir=sim; \ ! if [ -f ./sim/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd sim; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-snavigator ! all-snavigator: ! @dir=snavigator; \ ! if [ -f ./snavigator/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd snavigator; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-snavigator ! check-snavigator: ! @dir=snavigator; \ ! if [ -f ./snavigator/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd snavigator; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-snavigator ! install-snavigator: installdirs ! @dir=snavigator; \ ! if [ -f ./snavigator/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd snavigator; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-tar ! all-tar: ! @dir=tar; \ ! if [ -f ./tar/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd tar; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-tar ! check-tar: ! @dir=tar; \ ! if [ -f ./tar/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd tar; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-tar ! install-tar: installdirs ! @dir=tar; \ ! if [ -f ./tar/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd tar; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-texinfo ! all-texinfo: ! @dir=texinfo; \ ! if [ -f ./texinfo/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd texinfo; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-texinfo ! check-texinfo: ! @dir=texinfo; \ ! if [ -f ./texinfo/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd texinfo; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-texinfo ! install-texinfo: ! ! ! .PHONY: all-textutils ! all-textutils: ! @dir=textutils; \ ! if [ -f ./textutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd textutils; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-textutils ! check-textutils: ! @dir=textutils; \ ! if [ -f ./textutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd textutils; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-textutils ! install-textutils: installdirs ! @dir=textutils; \ ! if [ -f ./textutils/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd textutils; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-time ! all-time: ! @dir=time; \ ! if [ -f ./time/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd time; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-time ! check-time: ! @dir=time; \ ! if [ -f ./time/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd time; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-time ! install-time: installdirs ! @dir=time; \ ! if [ -f ./time/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd time; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-uudecode ! all-uudecode: ! @dir=uudecode; \ ! if [ -f ./uudecode/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd uudecode; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-uudecode ! check-uudecode: ! @dir=uudecode; \ ! if [ -f ./uudecode/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd uudecode; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-uudecode ! install-uudecode: installdirs ! @dir=uudecode; \ ! if [ -f ./uudecode/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd uudecode; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-wdiff ! all-wdiff: ! @dir=wdiff; \ ! if [ -f ./wdiff/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd wdiff; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-wdiff ! check-wdiff: ! @dir=wdiff; \ ! if [ -f ./wdiff/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd wdiff; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-wdiff ! install-wdiff: installdirs ! @dir=wdiff; \ ! if [ -f ./wdiff/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd wdiff; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-zip ! all-zip: ! @dir=zip; \ ! if [ -f ./zip/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd zip; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-zip ! # This module is only tested in a native toolchain. ! check-zip: ! @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \ ! dir=zip; \ ! if [ -f ./zip/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd zip; $(MAKE) $(FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi; \ ! fi ! ! ! ! .PHONY: install-zip ! install-zip: installdirs ! @dir=zip; \ ! if [ -f ./zip/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd zip; $(MAKE) $(FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-zlib ! all-zlib: ! @dir=zlib; \ ! if [ -f ./zlib/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd zlib; $(MAKE) $(FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-zlib ! check-zlib: ! ! ! ! .PHONY: install-zlib ! install-zlib: ! ! ! .PHONY: all-gdb ! all-gdb: ! @dir=gdb; \ ! if [ -f ./gdb/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gdb; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-gdb ! check-gdb: ! @dir=gdb; \ ! if [ -f ./gdb/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gdb; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-gdb ! install-gdb: installdirs ! @dir=gdb; \ ! if [ -f ./gdb/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd gdb; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-expect ! all-expect: ! @dir=expect; \ ! if [ -f ./expect/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd expect; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: check-expect ! check-expect: ! @dir=expect; \ ! if [ -f ./expect/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd expect; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! ! ! .PHONY: install-expect ! install-expect: installdirs ! @dir=expect; \ ! if [ -f ./expect/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd expect; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! ! ! .PHONY: all-guile ! all-guile: ! @dir=guile; \ ! if [ -f ./guile/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd guile; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all); \ else \ true; \ fi ! .PHONY: check-guile ! check-guile: ! @dir=guile; \ ! if [ -f ./guile/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd guile; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! .PHONY: install-guile ! install-guile: installdirs ! @dir=guile; \ ! if [ -f ./guile/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd guile; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install); \ ! else \ ! true; \ ! fi ! .PHONY: all-tclX ! all-tclX: ! @dir=tclX; \ ! if [ -f ./tclX/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd tclX; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all); \ ! else \ ! true; \ ! fi ! .PHONY: check-tclX ! check-tclX: ! @dir=tclX; \ ! if [ -f ./tclX/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd tclX; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! .PHONY: install-tclX ! install-tclX: installdirs ! @dir=tclX; \ ! if [ -f ./tclX/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd tclX; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install); \ else \ ! true; \ fi ! ! .PHONY: all-tk ! all-tk: ! @dir=tk; \ ! if [ -f ./tk/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd tk; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all); \ else \ ! true; \ fi ! .PHONY: check-tk ! check-tk: ! @dir=tk; \ ! if [ -f ./tk/Makefile ] ; then \ r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd tk; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check); \ ! else \ ! true; \ ! fi ! ! .PHONY: install-tk ! install-tk: installdirs ! @dir=tk; \ ! if [ -f ./tk/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd tk; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install); \ else \ true; \ fi ! ! .PHONY: all-tix ! all-tix: ! @dir=tix; \ ! if [ -f ./tix/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd tix; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all); \ else \ true; \ fi ! .PHONY: check-tix ! check-tix: ! @dir=tix; \ ! if [ -f ./tix/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd tix; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check); \ else \ true; \ fi ! ! .PHONY: install-tix ! install-tix: installdirs ! @dir=tix; \ ! if [ -f ./tix/Makefile ] ; then \ ! r=`${PWD}`; export r; \ ! s=`cd $(srcdir); ${PWD}`; export s; \ ! $(SET_LIB_PATH) \ ! (cd tix; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install); \ ! else \ ! true; \ fi ! ! .PHONY: all-libtermcap ! all-libtermcap: ! @dir=libtermcap; \ ! if [ -f ./libtermcap/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd libtermcap; $(MAKE) $(FLAGS_TO_PASS) all); \ else \ true; \ fi ! ! .PHONY: check-libtermcap ! check-libtermcap: ! ! ! ! .PHONY: install-libtermcap ! install-libtermcap: installdirs ! @dir=libtermcap; \ ! if [ -f ./libtermcap/Makefile ] ; then \ r=`${PWD}`; export r; \ s=`cd $(srcdir); ${PWD}`; export s; \ $(SET_LIB_PATH) \ ! (cd libtermcap; $(MAKE) $(FLAGS_TO_PASS) install); \ else \ true; \ fi + + # These rules are used to build the modules which are built with the target # tools. To make foo-X means to cd to X and make foo. *************** *** 3939,3989 **** - # This rule is used to build the modules which use X11_FLAGS_TO_PASS. - # To build a target all-X means to cd to X and make all. - .PHONY: $(ALL_X11_MODULES) - $(ALL_X11_MODULES): - @dir=`echo $@ | sed -e 's/all-//'`; \ - if [ -f ./$${dir}/Makefile ] ; then \ - r=`${PWD}`; export r; \ - s=`cd $(srcdir); ${PWD}`; export s; \ - $(SET_LIB_PATH) \ - (cd $${dir}; \ - $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all); \ - else \ - true; \ - fi - - # This rule is used to check the modules which use X11_FLAGS_TO_PASS. - # To build a target check-X means to cd to X and make all. - .PHONY: $(CHECK_X11_MODULES) - $(CHECK_X11_MODULES): - @dir=`echo $@ | sed -e 's/check-//'`; \ - if [ -f ./$${dir}/Makefile ] ; then \ - r=`${PWD}`; export r; \ - s=`cd $(srcdir); ${PWD}`; export s; \ - $(SET_LIB_PATH) \ - (cd $${dir}; \ - $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check); \ - else \ - true; \ - fi - - # This rule is used to install the modules which use X11_FLAGS_TO_PASS. - # To build a target install-X means to cd to X and make install. - .PHONY: $(INSTALL_X11_MODULES) - $(INSTALL_X11_MODULES): installdirs - @dir=`echo $@ | sed -e 's/install-//'`; \ - if [ -f ./$${dir}/Makefile ] ; then \ - r=`${PWD}`; export r; \ - s=`cd $(srcdir); ${PWD}`; export s; \ - $(SET_LIB_PATH) \ - (cd $${dir}; \ - $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install); \ - else \ - true; \ - fi - # gcc is the only module which uses GCC_FLAGS_TO_PASS. .PHONY: all-gcc all-gcc: --- 6284,6289 ----