| |
| # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'. |
| # |
| # Makefile for directory with subdirs to build. |
| # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, |
| # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 |
| # Free Software Foundation |
| # |
| # This file is free software; you can redistribute it and/or modify |
| # it under the terms of the GNU General Public License as published by |
| # the Free Software Foundation; either version 3 of the License, or |
| # (at your option) any later version. |
| # |
| # This program is distributed in the hope that it will be useful, |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| # GNU General Public License for more details. |
| # |
| # You should have received a copy of the GNU General Public License |
| # along with this program; see the file COPYING3. If not see |
| # <http://www.gnu.org/licenses/>. |
| # |
| |
| # First, test for a proper version of make, but only where one is required. |
| |
| @if gcc |
| ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty. |
| $(error GNU make version 3.80 or newer is required.) |
| endif |
| @endif gcc |
| |
| # ------------------------------- |
| # Standard Autoconf-set variables |
| # ------------------------------- |
| VPATH=@srcdir@ |
| |
| build_alias=@build_noncanonical@ |
| build_vendor=@build_vendor@ |
| build_os=@build_os@ |
| build=@build@ |
| host_alias=@host_noncanonical@ |
| host_vendor=@host_vendor@ |
| host_os=@host_os@ |
| host=@host@ |
| target_alias=@target_noncanonical@ |
| target_vendor=@target_vendor@ |
| target_os=@target_os@ |
| target=@target@ |
| |
| program_transform_name = @program_transform_name@ |
| |
| prefix = @prefix@ |
| exec_prefix = @exec_prefix@ |
| |
| srcdir = @srcdir@ |
| |
| bindir = @bindir@ |
| sbindir = @sbindir@ |
| libexecdir = @libexecdir@ |
| datadir = @datadir@ |
| sysconfdir = @sysconfdir@ |
| sharedstatedir = @sharedstatedir@ |
| localstatedir = @localstatedir@ |
| libdir = @libdir@ |
| includedir = @includedir@ |
| oldincludedir = @oldincludedir@ |
| infodir = @infodir@ |
| datarootdir = @datarootdir@ |
| docdir = @docdir@ |
| pdfdir = @pdfdir@ |
| htmldir = @htmldir@ |
| mandir = @mandir@ |
| man1dir = $(mandir)/man1 |
| man2dir = $(mandir)/man2 |
| man3dir = $(mandir)/man3 |
| man4dir = $(mandir)/man4 |
| man5dir = $(mandir)/man5 |
| man6dir = $(mandir)/man6 |
| man7dir = $(mandir)/man7 |
| man8dir = $(mandir)/man8 |
| man9dir = $(mandir)/man9 |
| |
| INSTALL = @INSTALL@ |
| INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
| INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
| INSTALL_DATA = @INSTALL_DATA@ |
| LN = @LN@ |
| LN_S = @LN_S@ |
| MAINT = @MAINT@ |
| MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ |
| MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ |
| |
| # ------------------------------------------------- |
| # Miscellaneous non-standard autoconf-set variables |
| # ------------------------------------------------- |
| |
| # The gcc driver likes to know the arguments it was configured with. |
| TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@ |
| |
| tooldir = @tooldir@ |
| build_tooldir = @build_tooldir@ |
| |
| # This is the name of the environment variable used for the path to |
| # the libraries. |
| RPATH_ENVVAR = @RPATH_ENVVAR@ |
| |
| # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path |
| # is used instead of the directory itself to avoid including built |
| # executables in PATH. |
| GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@ |
| |
| # Build programs are put under this directory. |
| BUILD_SUBDIR = @build_subdir@ |
| # This is set by the configure script to the arguments to use when configuring |
| # directories built for the build system. |
| BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)" |
| |
| # Linker flags to use on the host, for stage1 or when not |
| # bootstrapping. |
| STAGE1_LDFLAGS = @stage1_ldflags@ |
| |
| # Libraries to use on the host, for stage1 or when not bootstrapping. |
| STAGE1_LIBS = @stage1_libs@ |
| |
| # Linker flags to use for stage2 and later. |
| POSTSTAGE1_LDFLAGS = @poststage1_ldflags@ |
| |
| # Libraries to use for stage2 and later. |
| POSTSTAGE1_LIBS = @poststage1_libs@ |
| |
| # This is the list of variables to export in the environment when |
| # configuring any subdirectory. It must also be exported whenever |
| # recursing into a build directory in case that directory's Makefile |
| # re-runs configure. |
| BASE_EXPORTS = \ |
| FLEX="$(FLEX)"; export FLEX; \ |
| LEX="$(LEX)"; export LEX; \ |
| BISON="$(BISON)"; export BISON; \ |
| YACC="$(YACC)"; export YACC; \ |
| M4="$(M4)"; export M4; \ |
| SED="$(SED)"; export SED; \ |
| AWK="$(AWK)"; export AWK; \ |
| MAKEINFO="$(MAKEINFO)"; export MAKEINFO; |
| |
| # This is the list of variables to export in the environment when |
| # configuring subdirectories for the build system. |
| BUILD_EXPORTS = \ |
| $(BASE_EXPORTS) \ |
| AR="$(AR_FOR_BUILD)"; export AR; \ |
| AS="$(AS_FOR_BUILD)"; export AS; \ |
| CC="$(CC_FOR_BUILD)"; export CC; \ |
| CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \ |
| CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ |
| CXX="$(CXX_FOR_BUILD)"; export CXX; \ |
| CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \ |
| GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \ |
| GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \ |
| GOC="$(GOC_FOR_BUILD)"; export GOC; \ |
| GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \ |
| 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; \ |
| WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC; |
| |
| # These variables must be set on the make command line for directories |
| # built for the build system to override those in BASE_FLAGS_TO_PASS. |
| EXTRA_BUILD_FLAGS = \ |
| CFLAGS="$(CFLAGS_FOR_BUILD)" \ |
| LDFLAGS="$(LDFLAGS_FOR_BUILD)" |
| |
| # This is the list of directories to built for the host system. |
| SUBDIRS = @configdirs@ |
| TARGET_CONFIGDIRS = @target_configdirs@ |
| # This is set by the configure script to the arguments to use when configuring |
| # directories built for the host system. |
| HOST_CONFIGARGS = @host_configargs@ |
| # Host programs are put under this directory, which is . except if building |
| # with srcdir=.. |
| HOST_SUBDIR = @host_subdir@ |
| # This is the list of variables to export in the environment when |
| # configuring subdirectories for the host system. We need to pass |
| # some to the GCC configure because of its hybrid host/target nature. |
| HOST_EXPORTS = \ |
| $(BASE_EXPORTS) \ |
| CC="$(CC)"; export CC; \ |
| ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \ |
| CFLAGS="$(CFLAGS)"; export CFLAGS; \ |
| CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ |
| CXX="$(CXX)"; export CXX; \ |
| CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ |
| GCJ="$(GCJ)"; export GCJ; \ |
| GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \ |
| GOC="$(GOC)"; export GOC; \ |
| AR="$(AR)"; export AR; \ |
| AS="$(AS)"; export AS; \ |
| CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ |
| DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ |
| LD="$(LD)"; export LD; \ |
| LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \ |
| NM="$(NM)"; export NM; \ |
| RANLIB="$(RANLIB)"; export RANLIB; \ |
| WINDRES="$(WINDRES)"; export WINDRES; \ |
| WINDMC="$(WINDMC)"; export WINDMC; \ |
| OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ |
| OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ |
| READELF="$(READELF)"; export READELF; \ |
| AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \ |
| AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \ |
| GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \ |
| LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \ |
| NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \ |
| OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \ |
| RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \ |
| READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \ |
| TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \ |
| HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \ |
| GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \ |
| GMPINC="$(HOST_GMPINC)"; export GMPINC; \ |
| ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \ |
| ISLINC="$(HOST_ISLINC)"; export ISLINC; \ |
| CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \ |
| CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \ |
| LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \ |
| LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \ |
| @if gcc-bootstrap |
| $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ |
| @endif gcc-bootstrap |
| $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); |
| |
| POSTSTAGE1_CXX_EXPORT = \ |
| CXX='$(CXX)'; export CXX; \ |
| CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD; |
| @if target-libstdc++-v3-bootstrap |
| # Override the above if we're bootstrapping C++. |
| POSTSTAGE1_CXX_EXPORT = \ |
| CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \ |
| -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \ |
| -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \ |
| -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \ |
| `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \ |
| `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \ |
| `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \ |
| -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \ |
| -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \ |
| export CXX; \ |
| CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD; |
| @endif target-libstdc++-v3-bootstrap |
| |
| # Similar, for later GCC stages. |
| POSTSTAGE1_HOST_EXPORTS = \ |
| $(HOST_EXPORTS) \ |
| CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \ |
| -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \ |
| $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \ |
| CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \ |
| $(POSTSTAGE1_CXX_EXPORT) \ |
| GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \ |
| LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \ |
| HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS; |
| |
| # Target libraries are put under this directory: |
| TARGET_SUBDIR = @target_subdir@ |
| # This is set by the configure script to the arguments to use when configuring |
| # directories built for the target. |
| TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)" |
| # This is the list of variables to export in the environment when |
| # configuring subdirectories for the target system. |
| BASE_TARGET_EXPORTS = \ |
| $(BASE_EXPORTS) \ |
| AR="$(AR_FOR_TARGET)"; export AR; \ |
| AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \ |
| CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \ |
| CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ |
| CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ |
| CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \ |
| CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ |
| GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \ |
| GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \ |
| GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \ |
| DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ |
| LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \ |
| LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ |
| LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \ |
| NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \ |
| OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \ |
| RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ |
| READELF="$(READELF_FOR_TARGET)"; export READELF; \ |
| STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \ |
| WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ |
| WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \ |
| @if gcc-bootstrap |
| $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ |
| @endif gcc-bootstrap |
| $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ |
| TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS; |
| |
| RAW_CXX_TARGET_EXPORTS = \ |
| $(BASE_TARGET_EXPORTS) \ |
| CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \ |
| CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX; |
| |
| NORMAL_TARGET_EXPORTS = \ |
| $(BASE_TARGET_EXPORTS) \ |
| CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX; |
| |
| # Where to find GMP |
| HOST_GMPLIBS = @gmplibs@ |
| HOST_GMPINC = @gmpinc@ |
| |
| # Where to find ISL |
| HOST_ISLLIBS = @isllibs@ |
| HOST_ISLINC = @islinc@ |
| |
| # Where to find CLOOG |
| HOST_CLOOGLIBS = @clooglibs@ |
| HOST_CLOOGINC = @clooginc@ |
| |
| # Where to find libelf |
| HOST_LIBELFLIBS = @libelflibs@ |
| HOST_LIBELFINC = @libelfinc@ |
| |
| EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@ |
| |
| # ---------------------------------------------- |
| # Programs producing files for the BUILD machine |
| # ---------------------------------------------- |
| |
| SHELL = @SHELL@ |
| |
| # pwd command to use. Allow user to override default by setting PWDCMD in |
| # the environment to account for automounters. The make variable must not |
| # be called PWDCMD, otherwise the value set here is passed to make |
| # subprocesses and overrides the setting from the user's environment. |
| # Don't use PWD since it is a common shell environment variable and we |
| # don't want to corrupt it. |
| PWD_COMMAND = $${PWDCMD-pwd} |
| |
| # compilers to use to create programs which must be run in the build |
| # environment. |
| AR_FOR_BUILD = @AR_FOR_BUILD@ |
| AS_FOR_BUILD = @AS_FOR_BUILD@ |
| CC_FOR_BUILD = @CC_FOR_BUILD@ |
| CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ |
| CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@ |
| CXX_FOR_BUILD = @CXX_FOR_BUILD@ |
| DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@ |
| GCJ_FOR_BUILD = @GCJ_FOR_BUILD@ |
| GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@ |
| GOC_FOR_BUILD = @GOC_FOR_BUILD@ |
| LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ |
| LD_FOR_BUILD = @LD_FOR_BUILD@ |
| NM_FOR_BUILD = @NM_FOR_BUILD@ |
| RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@ |
| WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@ |
| WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@ |
| |
| # Special variables passed down in EXTRA_GCC_FLAGS. They are defined |
| # here so that they can be overridden by Makefile fragments. |
| BUILD_PREFIX = @BUILD_PREFIX@ |
| BUILD_PREFIX_1 = @BUILD_PREFIX_1@ |
| |
| # Flags to pass to stage2 and later makes. They are defined |
| # here so that they can be overridden by Makefile fragments. |
| BOOT_CFLAGS= -g -O2 |
| BOOT_LDFLAGS= |
| BOOT_ADAFLAGS= -gnatpg |
| |
| AWK = @AWK@ |
| SED = @SED@ |
| BISON = @BISON@ |
| YACC = @YACC@ |
| FLEX = @FLEX@ |
| LEX = @LEX@ |
| M4 = @M4@ |
| MAKEINFO = @MAKEINFO@ |
| EXPECT = @EXPECT@ |
| RUNTEST = @RUNTEST@ |
| |
| # This just becomes part of the MAKEINFO definition passed down to |
| # sub-makes. It lets flags be given on the command line while still |
| # using the makeinfo from the object tree. |
| # (Default to avoid splitting info files by setting the threshold high.) |
| MAKEINFOFLAGS = --split-size=5000000 |
| |
| # --------------------------------------------- |
| # Programs producing files for the HOST machine |
| # --------------------------------------------- |
| |
| AS = @AS@ |
| AR = @AR@ |
| AR_FLAGS = rc |
| CC = @CC@ |
| CXX = @CXX@ |
| DLLTOOL = @DLLTOOL@ |
| LD = @LD@ |
| LIPO = @LIPO@ |
| NM = @NM@ |
| OBJDUMP = @OBJDUMP@ |
| RANLIB = @RANLIB@ |
| READELF = @READELF@ |
| STRIP = @STRIP@ |
| WINDRES = @WINDRES@ |
| WINDMC = @WINDMC@ |
| |
| GNATBIND = @GNATBIND@ |
| GNATMAKE = @GNATMAKE@ |
| |
| CFLAGS = @CFLAGS@ |
| LDFLAGS = @LDFLAGS@ |
| LIBCFLAGS = $(CFLAGS) |
| CXXFLAGS = @CXXFLAGS@ |
| LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates |
| GOCFLAGS = $(CFLAGS) |
| |
| TFLAGS = |
| |
| # Defaults for all stages; some are overridden below. |
| |
| STAGE_CFLAGS = $(BOOT_CFLAGS) |
| STAGE_TFLAGS = $(TFLAGS) |
| STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@ |
| |
| |
| # Defaults for stage 1; some are overridden below. |
| STAGE1_CFLAGS = $(STAGE_CFLAGS) |
| STAGE1_CXXFLAGS = $(CXXFLAGS) |
| @if target-libstdc++-v3-bootstrap |
| # Override the above if we're bootstrapping C++. |
| STAGE1_CXXFLAGS = $(STAGE1_CFLAGS) |
| @endif target-libstdc++-v3-bootstrap |
| STAGE1_TFLAGS = $(STAGE_TFLAGS) |
| STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) |
| |
| # Defaults for stage 2; some are overridden below. |
| STAGE2_CFLAGS = $(STAGE_CFLAGS) |
| STAGE2_CXXFLAGS = $(CXXFLAGS) |
| @if target-libstdc++-v3-bootstrap |
| # Override the above if we're bootstrapping C++. |
| STAGE2_CXXFLAGS = $(STAGE2_CFLAGS) |
| @endif target-libstdc++-v3-bootstrap |
| STAGE2_TFLAGS = $(STAGE_TFLAGS) |
| STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) |
| |
| # Defaults for stage 3; some are overridden below. |
| STAGE3_CFLAGS = $(STAGE_CFLAGS) |
| STAGE3_CXXFLAGS = $(CXXFLAGS) |
| @if target-libstdc++-v3-bootstrap |
| # Override the above if we're bootstrapping C++. |
| STAGE3_CXXFLAGS = $(STAGE3_CFLAGS) |
| @endif target-libstdc++-v3-bootstrap |
| STAGE3_TFLAGS = $(STAGE_TFLAGS) |
| STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) |
| |
| # Defaults for stage 4; some are overridden below. |
| STAGE4_CFLAGS = $(STAGE_CFLAGS) |
| STAGE4_CXXFLAGS = $(CXXFLAGS) |
| @if target-libstdc++-v3-bootstrap |
| # Override the above if we're bootstrapping C++. |
| STAGE4_CXXFLAGS = $(STAGE4_CFLAGS) |
| @endif target-libstdc++-v3-bootstrap |
| STAGE4_TFLAGS = $(STAGE_TFLAGS) |
| STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) |
| |
| # Defaults for stage profile; some are overridden below. |
| STAGEprofile_CFLAGS = $(STAGE_CFLAGS) |
| STAGEprofile_CXXFLAGS = $(CXXFLAGS) |
| @if target-libstdc++-v3-bootstrap |
| # Override the above if we're bootstrapping C++. |
| STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS) |
| @endif target-libstdc++-v3-bootstrap |
| STAGEprofile_TFLAGS = $(STAGE_TFLAGS) |
| STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) |
| |
| # Defaults for stage feedback; some are overridden below. |
| STAGEfeedback_CFLAGS = $(STAGE_CFLAGS) |
| STAGEfeedback_CXXFLAGS = $(CXXFLAGS) |
| @if target-libstdc++-v3-bootstrap |
| # Override the above if we're bootstrapping C++. |
| STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS) |
| @endif target-libstdc++-v3-bootstrap |
| STAGEfeedback_TFLAGS = $(STAGE_TFLAGS) |
| STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) |
| |
| |
| # Only build the C compiler for stage1, because that is the only one that |
| # we can guarantee will build with the native compiler, and also it is the |
| # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS), |
| # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them |
| # overrideable (for a bootstrap build stage1 also builds gcc.info). |
| |
| STAGE1_CFLAGS = @stage1_cflags@ |
| STAGE1_CHECKING = @stage1_checking@ |
| STAGE1_LANGUAGES = @stage1_languages@ |
| # * We force-disable intermodule optimizations, even if |
| # --enable-intermodule was passed, since the installed compiler |
| # probably can't handle them. Luckily, autoconf always respects |
| # the last argument when conflicting --enable arguments are passed. |
| # * Likewise, we force-disable coverage flags, since the installed |
| # compiler probably has never heard of them. |
| # * We also disable -Wformat, since older GCCs don't understand newer %s. |
| STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \ |
| --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \ |
| --disable-build-format-warnings |
| |
| STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate |
| STAGEprofile_TFLAGS = $(STAGE2_TFLAGS) |
| |
| STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use |
| STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS) |
| |
| do-compare = @do_compare@ |
| do-compare3 = $(do-compare) |
| |
| # ----------------------------------------------- |
| # Programs producing files for the TARGET machine |
| # ----------------------------------------------- |
| |
| AR_FOR_TARGET=@AR_FOR_TARGET@ |
| AS_FOR_TARGET=@AS_FOR_TARGET@ |
| CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ |
| |
| # If GCC_FOR_TARGET is not overriden on the command line, then this |
| # variable is passed down to the gcc Makefile, where it is used to |
| # build libgcc2.a. We define it here so that it can itself be |
| # overridden on the command line. |
| GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ |
| CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ |
| RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ |
| GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ |
| GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ |
| GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@ |
| DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@ |
| LD_FOR_TARGET=@LD_FOR_TARGET@ |
| |
| LIPO_FOR_TARGET=@LIPO_FOR_TARGET@ |
| NM_FOR_TARGET=@NM_FOR_TARGET@ |
| OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@ |
| RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@ |
| READELF_FOR_TARGET=@READELF_FOR_TARGET@ |
| STRIP_FOR_TARGET=@STRIP_FOR_TARGET@ |
| WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@ |
| WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@ |
| |
| COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@ |
| COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@ |
| COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@ |
| |
| CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@ |
| CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@ |
| |
| LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) |
| LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates |
| LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@ |
| GOCFLAGS_FOR_TARGET = -O2 -g |
| |
| FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@ |
| SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@ |
| DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@ |
| |
| XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET) |
| |
| # ------------------------------------ |
| # Miscellaneous targets and flag lists |
| # ------------------------------------ |
| |
| # The first rule in the file had better be this one. Don't put any above it. |
| # This lives here to allow makefile fragments to contain dependencies. |
| all: |
| |
| #### host and target specific makefile fragments come in here. |
| @target_makefile_frag@ |
| @alphaieee_frag@ |
| @ospace_frag@ |
| @host_makefile_frag@ |
| ### |
| |
| # This is the list of directories that may be needed in RPATH_ENVVAR |
| # so that programs built for the target machine work. |
| TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc) |
| |
| @if target-libstdc++-v3 |
| TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs: |
| @endif target-libstdc++-v3 |
| |
| @if target-libsanitizer |
| TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs: |
| @endif target-libsanitizer |
| |
| @if target-libvtv |
| TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs: |
| @endif target-libvtv |
| |
| @if target-libcilkrts |
| TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs: |
| @endif target-libcilkrts |
| |
| @if target-libssp |
| TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs: |
| @endif target-libssp |
| |
| @if target-libgomp |
| TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs: |
| @endif target-libgomp |
| |
| @if target-libitm |
| TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs: |
| @endif target-libitm |
| |
| @if target-libatomic |
| TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs: |
| @endif target-libatomic |
| |
| |
| |
| # This is the list of directories that may be needed in RPATH_ENVVAR |
| # so that programs built for the host machine work. |
| HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf) |
| |
| # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch |
| @if gcc |
| HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR): |
| @endif gcc |
| |
| |
| @if gmp |
| HOST_LIB_PATH_gmp = \ |
| $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs: |
| @endif gmp |
| |
| @if mpfr |
| HOST_LIB_PATH_mpfr = \ |
| $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs: |
| @endif mpfr |
| |
| @if mpc |
| HOST_LIB_PATH_mpc = \ |
| $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs: |
| @endif mpc |
| |
| @if isl |
| HOST_LIB_PATH_isl = \ |
| $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs: |
| @endif isl |
| |
| @if cloog |
| HOST_LIB_PATH_cloog = \ |
| $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs: |
| @endif cloog |
| |
| @if libelf |
| HOST_LIB_PATH_libelf = \ |
| $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs: |
| @endif libelf |
| |
| |
| CXX_FOR_TARGET_FLAG_TO_PASS = \ |
| "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" |
| @if target-libstdc++-v3 |
| # CXX_FOR_TARGET is tricky to get right for target libs that require a |
| # functional C++ compiler. When we recurse, if we expand |
| # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get |
| # libstdc++ include flags from the script. Instead, we get an |
| # -funconfigured-* word, so that we'll get errors if this invalid C++ |
| # command line is used for anything, but also so that we can use the |
| # word to decide whether or not to pass on this CXX_FOR_TARGET. If we |
| # don't pass it on, sub-make will use the default definition, that |
| # re-expands it at the time of use, so we'll get it right when we need |
| # it. One potential exception is the expansion of CXX_FOR_TARGET |
| # passed down as part of CXX within TARGET_FLAGS, but this wouldn't |
| # really work, for C++ host programs can't depend on the current-stage |
| # C++ target library. |
| CXX_FOR_TARGET_FLAG_TO_PASS = \ |
| $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi) |
| @endif target-libstdc++-v3 |
| |
| # Flags to pass down to all sub-makes. |
| BASE_FLAGS_TO_PASS = \ |
| "DESTDIR=$(DESTDIR)" \ |
| "RPATH_ENVVAR=$(RPATH_ENVVAR)" \ |
| "TARGET_SUBDIR=$(TARGET_SUBDIR)" \ |
| "bindir=$(bindir)" \ |
| "datadir=$(datadir)" \ |
| "exec_prefix=$(exec_prefix)" \ |
| "includedir=$(includedir)" \ |
| "datarootdir=$(datarootdir)" \ |
| "docdir=$(docdir)" \ |
| "infodir=$(infodir)" \ |
| "pdfdir=$(pdfdir)" \ |
| "htmldir=$(htmldir)" \ |
| "libdir=$(libdir)" \ |
| "libexecdir=$(libexecdir)" \ |
| "lispdir=$(lispdir)" \ |
| "localstatedir=$(localstatedir)" \ |
| "mandir=$(mandir)" \ |
| "oldincludedir=$(oldincludedir)" \ |
| "prefix=$(prefix)" \ |
| "sbindir=$(sbindir)" \ |
| "sharedstatedir=$(sharedstatedir)" \ |
| "sysconfdir=$(sysconfdir)" \ |
| "tooldir=$(tooldir)" \ |
| "build_tooldir=$(build_tooldir)" \ |
| "target_alias=$(target_alias)" \ |
| "AWK=$(AWK)" \ |
| "BISON=$(BISON)" \ |
| "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ |
| "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ |
| "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ |
| "EXPECT=$(EXPECT)" \ |
| "FLEX=$(FLEX)" \ |
| "INSTALL=$(INSTALL)" \ |
| "INSTALL_DATA=$(INSTALL_DATA)" \ |
| "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ |
| "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ |
| "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \ |
| "LEX=$(LEX)" \ |
| "M4=$(M4)" \ |
| "MAKE=$(MAKE)" \ |
| "RUNTEST=$(RUNTEST)" \ |
| "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ |
| "SED=$(SED)" \ |
| "SHELL=$(SHELL)" \ |
| "YACC=$(YACC)" \ |
| "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ |
| "ADA_CFLAGS=$(ADA_CFLAGS)" \ |
| "AR_FLAGS=$(AR_FLAGS)" \ |
| "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ |
| "BOOT_CFLAGS=$(BOOT_CFLAGS)" \ |
| "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \ |
| "CFLAGS=$(CFLAGS)" \ |
| "CXXFLAGS=$(CXXFLAGS)" \ |
| "LDFLAGS=$(LDFLAGS)" \ |
| "LIBCFLAGS=$(LIBCFLAGS)" \ |
| "LIBCXXFLAGS=$(LIBCXXFLAGS)" \ |
| "STAGE1_CHECKING=$(STAGE1_CHECKING)" \ |
| "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \ |
| "GNATBIND=$(GNATBIND)" \ |
| "GNATMAKE=$(GNATMAKE)" \ |
| "AR_FOR_TARGET=$(AR_FOR_TARGET)" \ |
| "AS_FOR_TARGET=$(AS_FOR_TARGET)" \ |
| "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ |
| "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ |
| "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \ |
| "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \ |
| "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \ |
| "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \ |
| "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \ |
| "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \ |
| "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \ |
| "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \ |
| "LD_FOR_TARGET=$(LD_FOR_TARGET)" \ |
| "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \ |
| "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \ |
| "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)" \ |
| "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \ |
| "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \ |
| "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \ |
| "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \ |
| "BUILD_CONFIG=$(BUILD_CONFIG)" \ |
| "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ |
| "LEAN=$(LEAN)" \ |
| "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \ |
| "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \ |
| "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \ |
| "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \ |
| "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \ |
| "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \ |
| "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \ |
| "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \ |
| "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \ |
| "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \ |
| "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \ |
| "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \ |
| "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \ |
| "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \ |
| "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \ |
| "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \ |
| "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \ |
| "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \ |
| $(CXX_FOR_TARGET_FLAG_TO_PASS) \ |
| "TFLAGS=$(TFLAGS)" \ |
| "CONFIG_SHELL=$(SHELL)" \ |
| "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" |
| |
| # We leave this in just in case, but it is not needed anymore. |
| RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) |
| |
| # Flags to pass down to most sub-makes, in which we're building with |
| # the host environment. |
| EXTRA_HOST_FLAGS = \ |
| 'AR=$(AR)' \ |
| 'AS=$(AS)' \ |
| 'CC=$(CC)' \ |
| 'CXX=$(CXX)' \ |
| 'DLLTOOL=$(DLLTOOL)' \ |
| 'GCJ=$(GCJ)' \ |
| 'GFORTRAN=$(GFORTRAN)' \ |
| 'GOC=$(GOC)' \ |
| 'LD=$(LD)' \ |
| 'LIPO=$(LIPO)' \ |
| 'NM=$(NM)' \ |
| 'OBJDUMP=$(OBJDUMP)' \ |
| 'RANLIB=$(RANLIB)' \ |
| 'READELF=$(READELF)' \ |
| 'STRIP=$(STRIP)' \ |
| 'WINDRES=$(WINDRES)' \ |
| 'WINDMC=$(WINDMC)' |
| |
| FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) |
| |
| # Flags to pass to stage1 or when not bootstrapping. |
| |
| STAGE1_FLAGS_TO_PASS = \ |
| LDFLAGS="$${LDFLAGS}" \ |
| HOST_LIBS="$${HOST_LIBS}" |
| |
| # Flags to pass to stage2 and later makes. |
| |
| POSTSTAGE1_FLAGS_TO_PASS = \ |
| CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \ |
| CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \ |
| GNATBIND="$${GNATBIND}" \ |
| LDFLAGS="$${LDFLAGS}" \ |
| HOST_LIBS="$${HOST_LIBS}" \ |
| "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" |
| |
| # Flags to pass down to makes which are built with the target environment. |
| # The double $ decreases the length of the command line; those variables |
| # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The |
| # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty, |
| # so we expand them here. |
| EXTRA_TARGET_FLAGS = \ |
| 'AR=$$(AR_FOR_TARGET)' \ |
| 'AS=$(COMPILER_AS_FOR_TARGET)' \ |
| 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ |
| 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \ |
| 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ |
| 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \ |
| 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ |
| 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ |
| 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ |
| 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ |
| 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \ |
| 'LD=$(COMPILER_LD_FOR_TARGET)' \ |
| 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \ |
| 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \ |
| 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \ |
| 'NM=$(COMPILER_NM_FOR_TARGET)' \ |
| 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \ |
| 'RANLIB=$$(RANLIB_FOR_TARGET)' \ |
| 'READELF=$$(READELF_FOR_TARGET)' \ |
| 'WINDRES=$$(WINDRES_FOR_TARGET)' \ |
| 'WINDMC=$$(WINDMC_FOR_TARGET)' \ |
| 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \ |
| "TFLAGS=$$TFLAGS" |
| |
| TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) |
| |
| # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it |
| # unfortunately needs the native compiler and the target ar and |
| # ranlib. |
| # If any variables are added here, they must be added to do-*, below. |
| # The BUILD_* variables are a special case, which are used for the gcc |
| # cross-building scheme. |
| EXTRA_GCC_FLAGS = \ |
| "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \ |
| "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ |
| "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" |
| |
| GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) |
| |
| @if gcc |
| BUILD_CONFIG = @BUILD_CONFIG@ |
| ifneq ($(BUILD_CONFIG),) |
| include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk) |
| endif |
| @endif gcc |
| |
| .PHONY: configure-host |
| configure-host: \ |
| maybe-configure-bfd \ |
| maybe-configure-opcodes \ |
| maybe-configure-binutils \ |
| maybe-configure-bison \ |
| maybe-configure-cgen \ |
| maybe-configure-dejagnu \ |
| maybe-configure-etc \ |
| maybe-configure-fastjar \ |
| maybe-configure-fixincludes \ |
| maybe-configure-flex \ |
| maybe-configure-gas \ |
| maybe-configure-gcc \ |
| maybe-configure-gmp \ |
| maybe-configure-mpfr \ |
| maybe-configure-mpc \ |
| maybe-configure-isl \ |
| maybe-configure-cloog \ |
| maybe-configure-libelf \ |
| maybe-configure-gold \ |
| maybe-configure-gprof \ |
| maybe-configure-intl \ |
| maybe-configure-tcl \ |
| maybe-configure-itcl \ |
| maybe-configure-ld \ |
| maybe-configure-libbacktrace \ |
| maybe-configure-libcpp \ |
| maybe-configure-libdecnumber \ |
| maybe-configure-libgui \ |
| maybe-configure-libiberty \ |
| maybe-configure-libiberty-linker-plugin \ |
| maybe-configure-libiconv \ |
| maybe-configure-m4 \ |
| maybe-configure-readline \ |
| maybe-configure-sid \ |
| maybe-configure-sim \ |
| maybe-configure-texinfo \ |
| maybe-configure-zlib \ |
| maybe-configure-gdb \ |
| maybe-configure-expect \ |
| maybe-configure-guile \ |
| maybe-configure-tk \ |
| maybe-configure-libtermcap \ |
| maybe-configure-utils \ |
| maybe-configure-gnattools \ |
| maybe-configure-lto-plugin |
| .PHONY: configure-target |
| configure-target: \ |
| maybe-configure-target-libstdc++-v3 \ |
| maybe-configure-target-libsanitizer \ |
| maybe-configure-target-libvtv \ |
| maybe-configure-target-libcilkrts \ |
| maybe-configure-target-libssp \ |
| maybe-configure-target-newlib \ |
| maybe-configure-target-libgcc \ |
| maybe-configure-target-libbacktrace \ |
| maybe-configure-target-libquadmath \ |
| maybe-configure-target-libgfortran \ |
| maybe-configure-target-libobjc \ |
| maybe-configure-target-libgo \ |
| maybe-configure-target-libtermcap \ |
| maybe-configure-target-winsup \ |
| maybe-configure-target-libgloss \ |
| maybe-configure-target-libffi \ |
| maybe-configure-target-libjava \ |
| maybe-configure-target-zlib \ |
| maybe-configure-target-boehm-gc \ |
| maybe-configure-target-rda \ |
| maybe-configure-target-libada \ |
| maybe-configure-target-libgomp \ |
| maybe-configure-target-libitm \ |
| maybe-configure-target-libatomic |
| |
| # The target built for a native non-bootstrap build. |
| .PHONY: all |
| all: |
| @if gcc-bootstrap |
| [ -f stage_final ] || echo stage3 > stage_final |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble |
| @endif gcc-bootstrap |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| @if gcc-bootstrap |
| if [ -f stage_last ]; then \ |
| TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \ |
| $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \ |
| else \ |
| @endif gcc-bootstrap |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \ |
| @if gcc-bootstrap |
| ; \ |
| fi \ |
| @endif gcc-bootstrap |
| && : |
| |
| .PHONY: all-build |
| |
| all-build: maybe-all-build-libiberty |
| all-build: maybe-all-build-bison |
| all-build: maybe-all-build-flex |
| all-build: maybe-all-build-m4 |
| all-build: maybe-all-build-texinfo |
| all-build: maybe-all-build-fixincludes |
| |
| .PHONY: all-host |
| |
| @if bfd-no-bootstrap |
| all-host: maybe-all-bfd |
| @endif bfd-no-bootstrap |
| @if opcodes-no-bootstrap |
| all-host: maybe-all-opcodes |
| @endif opcodes-no-bootstrap |
| @if binutils-no-bootstrap |
| all-host: maybe-all-binutils |
| @endif binutils-no-bootstrap |
| all-host: maybe-all-bison |
| all-host: maybe-all-cgen |
| all-host: maybe-all-dejagnu |
| all-host: maybe-all-etc |
| all-host: maybe-all-fastjar |
| @if fixincludes-no-bootstrap |
| all-host: maybe-all-fixincludes |
| @endif fixincludes-no-bootstrap |
| all-host: maybe-all-flex |
| @if gas-no-bootstrap |
| all-host: maybe-all-gas |
| @endif gas-no-bootstrap |
| @if gcc-no-bootstrap |
| all-host: maybe-all-gcc |
| @endif gcc-no-bootstrap |
| @if gmp-no-bootstrap |
| all-host: maybe-all-gmp |
| @endif gmp-no-bootstrap |
| @if mpfr-no-bootstrap |
| all-host: maybe-all-mpfr |
| @endif mpfr-no-bootstrap |
| @if mpc-no-bootstrap |
| all-host: maybe-all-mpc |
| @endif mpc-no-bootstrap |
| @if isl-no-bootstrap |
| all-host: maybe-all-isl |
| @endif isl-no-bootstrap |
| @if cloog-no-bootstrap |
| all-host: maybe-all-cloog |
| @endif cloog-no-bootstrap |
| @if libelf-no-bootstrap |
| all-host: maybe-all-libelf |
| @endif libelf-no-bootstrap |
| @if gold-no-bootstrap |
| all-host: maybe-all-gold |
| @endif gold-no-bootstrap |
| all-host: maybe-all-gprof |
| @if intl-no-bootstrap |
| all-host: maybe-all-intl |
| @endif intl-no-bootstrap |
| all-host: maybe-all-tcl |
| all-host: maybe-all-itcl |
| @if ld-no-bootstrap |
| all-host: maybe-all-ld |
| @endif ld-no-bootstrap |
| @if libbacktrace-no-bootstrap |
| all-host: maybe-all-libbacktrace |
| @endif libbacktrace-no-bootstrap |
| @if libcpp-no-bootstrap |
| all-host: maybe-all-libcpp |
| @endif libcpp-no-bootstrap |
| @if libdecnumber-no-bootstrap |
| all-host: maybe-all-libdecnumber |
| @endif libdecnumber-no-bootstrap |
| all-host: maybe-all-libgui |
| @if libiberty-no-bootstrap |
| all-host: maybe-all-libiberty |
| @endif libiberty-no-bootstrap |
| @if libiberty-linker-plugin-no-bootstrap |
| all-host: maybe-all-libiberty-linker-plugin |
| @endif libiberty-linker-plugin-no-bootstrap |
| all-host: maybe-all-libiconv |
| all-host: maybe-all-m4 |
| all-host: maybe-all-readline |
| all-host: maybe-all-sid |
| all-host: maybe-all-sim |
| all-host: maybe-all-texinfo |
| @if zlib-no-bootstrap |
| all-host: maybe-all-zlib |
| @endif zlib-no-bootstrap |
| all-host: maybe-all-gdb |
| all-host: maybe-all-expect |
| all-host: maybe-all-guile |
| all-host: maybe-all-tk |
| all-host: maybe-all-libtermcap |
| all-host: maybe-all-utils |
| all-host: maybe-all-gnattools |
| @if lto-plugin-no-bootstrap |
| all-host: maybe-all-lto-plugin |
| @endif lto-plugin-no-bootstrap |
| |
| .PHONY: all-target |
| |
| @if target-libstdc++-v3-no-bootstrap |
| all-target: maybe-all-target-libstdc++-v3 |
| @endif target-libstdc++-v3-no-bootstrap |
| @if target-libsanitizer-no-bootstrap |
| all-target: maybe-all-target-libsanitizer |
| @endif target-libsanitizer-no-bootstrap |
| @if target-libvtv-no-bootstrap |
| all-target: maybe-all-target-libvtv |
| @endif target-libvtv-no-bootstrap |
| all-target: maybe-all-target-libcilkrts |
| all-target: maybe-all-target-libssp |
| all-target: maybe-all-target-newlib |
| @if target-libgcc-no-bootstrap |
| all-target: maybe-all-target-libgcc |
| @endif target-libgcc-no-bootstrap |
| all-target: maybe-all-target-libbacktrace |
| all-target: maybe-all-target-libquadmath |
| all-target: maybe-all-target-libgfortran |
| all-target: maybe-all-target-libobjc |
| all-target: maybe-all-target-libgo |
| all-target: maybe-all-target-libtermcap |
| all-target: maybe-all-target-winsup |
| all-target: maybe-all-target-libgloss |
| all-target: maybe-all-target-libffi |
| all-target: maybe-all-target-libjava |
| all-target: maybe-all-target-zlib |
| all-target: maybe-all-target-boehm-gc |
| all-target: maybe-all-target-rda |
| all-target: maybe-all-target-libada |
| @if target-libgomp-no-bootstrap |
| all-target: maybe-all-target-libgomp |
| @endif target-libgomp-no-bootstrap |
| all-target: maybe-all-target-libitm |
| all-target: maybe-all-target-libatomic |
| |
| # Do a target for all the subdirectories. A ``make do-X'' will do a |
| # ``make X'' in all subdirectories (because, in general, there is a |
| # dependency (below) of X upon do-X, a ``make X'' will also do this, |
| # but it may do additional work as well). |
| |
| .PHONY: do-info |
| do-info: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \ |
| info-target |
| |
| |
| .PHONY: info-host |
| |
| info-host: maybe-info-bfd |
| info-host: maybe-info-opcodes |
| info-host: maybe-info-binutils |
| info-host: maybe-info-bison |
| info-host: maybe-info-cgen |
| info-host: maybe-info-dejagnu |
| info-host: maybe-info-etc |
| info-host: maybe-info-fastjar |
| info-host: maybe-info-fixincludes |
| info-host: maybe-info-flex |
| info-host: maybe-info-gas |
| info-host: maybe-info-gcc |
| info-host: maybe-info-gmp |
| info-host: maybe-info-mpfr |
| info-host: maybe-info-mpc |
| info-host: maybe-info-isl |
| info-host: maybe-info-cloog |
| info-host: maybe-info-libelf |
| info-host: maybe-info-gold |
| info-host: maybe-info-gprof |
| info-host: maybe-info-intl |
| info-host: maybe-info-tcl |
| info-host: maybe-info-itcl |
| info-host: maybe-info-ld |
| info-host: maybe-info-libbacktrace |
| info-host: maybe-info-libcpp |
| info-host: maybe-info-libdecnumber |
| info-host: maybe-info-libgui |
| info-host: maybe-info-libiberty |
| info-host: maybe-info-libiberty-linker-plugin |
| info-host: maybe-info-libiconv |
| info-host: maybe-info-m4 |
| info-host: maybe-info-readline |
| info-host: maybe-info-sid |
| info-host: maybe-info-sim |
| info-host: maybe-info-texinfo |
| info-host: maybe-info-zlib |
| info-host: maybe-info-gdb |
| info-host: maybe-info-expect |
| info-host: maybe-info-guile |
| info-host: maybe-info-tk |
| info-host: maybe-info-libtermcap |
| info-host: maybe-info-utils |
| info-host: maybe-info-gnattools |
| info-host: maybe-info-lto-plugin |
| |
| .PHONY: info-target |
| |
| info-target: maybe-info-target-libstdc++-v3 |
| info-target: maybe-info-target-libsanitizer |
| info-target: maybe-info-target-libvtv |
| info-target: maybe-info-target-libcilkrts |
| info-target: maybe-info-target-libssp |
| info-target: maybe-info-target-newlib |
| info-target: maybe-info-target-libgcc |
| info-target: maybe-info-target-libbacktrace |
| info-target: maybe-info-target-libquadmath |
| info-target: maybe-info-target-libgfortran |
| info-target: maybe-info-target-libobjc |
| info-target: maybe-info-target-libgo |
| info-target: maybe-info-target-libtermcap |
| info-target: maybe-info-target-winsup |
| info-target: maybe-info-target-libgloss |
| info-target: maybe-info-target-libffi |
| info-target: maybe-info-target-libjava |
| info-target: maybe-info-target-zlib |
| info-target: maybe-info-target-boehm-gc |
| info-target: maybe-info-target-rda |
| info-target: maybe-info-target-libada |
| info-target: maybe-info-target-libgomp |
| info-target: maybe-info-target-libitm |
| info-target: maybe-info-target-libatomic |
| |
| .PHONY: do-dvi |
| do-dvi: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \ |
| dvi-target |
| |
| |
| .PHONY: dvi-host |
| |
| dvi-host: maybe-dvi-bfd |
| dvi-host: maybe-dvi-opcodes |
| dvi-host: maybe-dvi-binutils |
| dvi-host: maybe-dvi-bison |
| dvi-host: maybe-dvi-cgen |
| dvi-host: maybe-dvi-dejagnu |
| dvi-host: maybe-dvi-etc |
| dvi-host: maybe-dvi-fastjar |
| dvi-host: maybe-dvi-fixincludes |
| dvi-host: maybe-dvi-flex |
| dvi-host: maybe-dvi-gas |
| dvi-host: maybe-dvi-gcc |
| dvi-host: maybe-dvi-gmp |
| dvi-host: maybe-dvi-mpfr |
| dvi-host: maybe-dvi-mpc |
| dvi-host: maybe-dvi-isl |
| dvi-host: maybe-dvi-cloog |
| dvi-host: maybe-dvi-libelf |
| dvi-host: maybe-dvi-gold |
| dvi-host: maybe-dvi-gprof |
| dvi-host: maybe-dvi-intl |
| dvi-host: maybe-dvi-tcl |
| dvi-host: maybe-dvi-itcl |
| dvi-host: maybe-dvi-ld |
| dvi-host: maybe-dvi-libbacktrace |
| dvi-host: maybe-dvi-libcpp |
| dvi-host: maybe-dvi-libdecnumber |
| dvi-host: maybe-dvi-libgui |
| dvi-host: maybe-dvi-libiberty |
| dvi-host: maybe-dvi-libiberty-linker-plugin |
| dvi-host: maybe-dvi-libiconv |
| dvi-host: maybe-dvi-m4 |
| dvi-host: maybe-dvi-readline |
| dvi-host: maybe-dvi-sid |
| dvi-host: maybe-dvi-sim |
| dvi-host: maybe-dvi-texinfo |
| dvi-host: maybe-dvi-zlib |
| dvi-host: maybe-dvi-gdb |
| dvi-host: maybe-dvi-expect |
| dvi-host: maybe-dvi-guile |
| dvi-host: maybe-dvi-tk |
| dvi-host: maybe-dvi-libtermcap |
| dvi-host: maybe-dvi-utils |
| dvi-host: maybe-dvi-gnattools |
| dvi-host: maybe-dvi-lto-plugin |
| |
| .PHONY: dvi-target |
| |
| dvi-target: maybe-dvi-target-libstdc++-v3 |
| dvi-target: maybe-dvi-target-libsanitizer |
| dvi-target: maybe-dvi-target-libvtv |
| dvi-target: maybe-dvi-target-libcilkrts |
| dvi-target: maybe-dvi-target-libssp |
| dvi-target: maybe-dvi-target-newlib |
| dvi-target: maybe-dvi-target-libgcc |
| dvi-target: maybe-dvi-target-libbacktrace |
| dvi-target: maybe-dvi-target-libquadmath |
| dvi-target: maybe-dvi-target-libgfortran |
| dvi-target: maybe-dvi-target-libobjc |
| dvi-target: maybe-dvi-target-libgo |
| dvi-target: maybe-dvi-target-libtermcap |
| dvi-target: maybe-dvi-target-winsup |
| dvi-target: maybe-dvi-target-libgloss |
| dvi-target: maybe-dvi-target-libffi |
| dvi-target: maybe-dvi-target-libjava |
| dvi-target: maybe-dvi-target-zlib |
| dvi-target: maybe-dvi-target-boehm-gc |
| dvi-target: maybe-dvi-target-rda |
| dvi-target: maybe-dvi-target-libada |
| dvi-target: maybe-dvi-target-libgomp |
| dvi-target: maybe-dvi-target-libitm |
| dvi-target: maybe-dvi-target-libatomic |
| |
| .PHONY: do-pdf |
| do-pdf: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \ |
| pdf-target |
| |
| |
| .PHONY: pdf-host |
| |
| pdf-host: maybe-pdf-bfd |
| pdf-host: maybe-pdf-opcodes |
| pdf-host: maybe-pdf-binutils |
| pdf-host: maybe-pdf-bison |
| pdf-host: maybe-pdf-cgen |
| pdf-host: maybe-pdf-dejagnu |
| pdf-host: maybe-pdf-etc |
| pdf-host: maybe-pdf-fastjar |
| pdf-host: maybe-pdf-fixincludes |
| pdf-host: maybe-pdf-flex |
| pdf-host: maybe-pdf-gas |
| pdf-host: maybe-pdf-gcc |
| pdf-host: maybe-pdf-gmp |
| pdf-host: maybe-pdf-mpfr |
| pdf-host: maybe-pdf-mpc |
| pdf-host: maybe-pdf-isl |
| pdf-host: maybe-pdf-cloog |
| pdf-host: maybe-pdf-libelf |
| pdf-host: maybe-pdf-gold |
| pdf-host: maybe-pdf-gprof |
| pdf-host: maybe-pdf-intl |
| pdf-host: maybe-pdf-tcl |
| pdf-host: maybe-pdf-itcl |
| pdf-host: maybe-pdf-ld |
| pdf-host: maybe-pdf-libbacktrace |
| pdf-host: maybe-pdf-libcpp |
| pdf-host: maybe-pdf-libdecnumber |
| pdf-host: maybe-pdf-libgui |
| pdf-host: maybe-pdf-libiberty |
| pdf-host: maybe-pdf-libiberty-linker-plugin |
| pdf-host: maybe-pdf-libiconv |
| pdf-host: maybe-pdf-m4 |
| pdf-host: maybe-pdf-readline |
| pdf-host: maybe-pdf-sid |
| pdf-host: maybe-pdf-sim |
| pdf-host: maybe-pdf-texinfo |
| pdf-host: maybe-pdf-zlib |
| pdf-host: maybe-pdf-gdb |
| pdf-host: maybe-pdf-expect |
| pdf-host: maybe-pdf-guile |
| pdf-host: maybe-pdf-tk |
| pdf-host: maybe-pdf-libtermcap |
| pdf-host: maybe-pdf-utils |
| pdf-host: maybe-pdf-gnattools |
| pdf-host: maybe-pdf-lto-plugin |
| |
| .PHONY: pdf-target |
| |
| pdf-target: maybe-pdf-target-libstdc++-v3 |
| pdf-target: maybe-pdf-target-libsanitizer |
| pdf-target: maybe-pdf-target-libvtv |
| pdf-target: maybe-pdf-target-libcilkrts |
| pdf-target: maybe-pdf-target-libssp |
| pdf-target: maybe-pdf-target-newlib |
| pdf-target: maybe-pdf-target-libgcc |
| pdf-target: maybe-pdf-target-libbacktrace |
| pdf-target: maybe-pdf-target-libquadmath |
| pdf-target: maybe-pdf-target-libgfortran |
| pdf-target: maybe-pdf-target-libobjc |
| pdf-target: maybe-pdf-target-libgo |
| pdf-target: maybe-pdf-target-libtermcap |
| pdf-target: maybe-pdf-target-winsup |
| pdf-target: maybe-pdf-target-libgloss |
| pdf-target: maybe-pdf-target-libffi |
| pdf-target: maybe-pdf-target-libjava |
| pdf-target: maybe-pdf-target-zlib |
| pdf-target: maybe-pdf-target-boehm-gc |
| pdf-target: maybe-pdf-target-rda |
| pdf-target: maybe-pdf-target-libada |
| pdf-target: maybe-pdf-target-libgomp |
| pdf-target: maybe-pdf-target-libitm |
| pdf-target: maybe-pdf-target-libatomic |
| |
| .PHONY: do-html |
| do-html: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \ |
| html-target |
| |
| |
| .PHONY: html-host |
| |
| html-host: maybe-html-bfd |
| html-host: maybe-html-opcodes |
| html-host: maybe-html-binutils |
| html-host: maybe-html-bison |
| html-host: maybe-html-cgen |
| html-host: maybe-html-dejagnu |
| html-host: maybe-html-etc |
| html-host: maybe-html-fastjar |
| html-host: maybe-html-fixincludes |
| html-host: maybe-html-flex |
| html-host: maybe-html-gas |
| html-host: maybe-html-gcc |
| html-host: maybe-html-gmp |
| html-host: maybe-html-mpfr |
| html-host: maybe-html-mpc |
| html-host: maybe-html-isl |
| html-host: maybe-html-cloog |
| html-host: maybe-html-libelf |
| html-host: maybe-html-gold |
| html-host: maybe-html-gprof |
| html-host: maybe-html-intl |
| html-host: maybe-html-tcl |
| html-host: maybe-html-itcl |
| html-host: maybe-html-ld |
| html-host: maybe-html-libbacktrace |
| html-host: maybe-html-libcpp |
| html-host: maybe-html-libdecnumber |
| html-host: maybe-html-libgui |
| html-host: maybe-html-libiberty |
| html-host: maybe-html-libiberty-linker-plugin |
| html-host: maybe-html-libiconv |
| html-host: maybe-html-m4 |
| html-host: maybe-html-readline |
| html-host: maybe-html-sid |
| html-host: maybe-html-sim |
| html-host: maybe-html-texinfo |
| html-host: maybe-html-zlib |
| html-host: maybe-html-gdb |
| html-host: maybe-html-expect |
| html-host: maybe-html-guile |
| html-host: maybe-html-tk |
| html-host: maybe-html-libtermcap |
| html-host: maybe-html-utils |
| html-host: maybe-html-gnattools |
| html-host: maybe-html-lto-plugin |
| |
| .PHONY: html-target |
| |
| html-target: maybe-html-target-libstdc++-v3 |
| html-target: maybe-html-target-libsanitizer |
| html-target: maybe-html-target-libvtv |
| html-target: maybe-html-target-libcilkrts |
| html-target: maybe-html-target-libssp |
| html-target: maybe-html-target-newlib |
| html-target: maybe-html-target-libgcc |
| html-target: maybe-html-target-libbacktrace |
| html-target: maybe-html-target-libquadmath |
| html-target: maybe-html-target-libgfortran |
| html-target: maybe-html-target-libobjc |
| html-target: maybe-html-target-libgo |
| html-target: maybe-html-target-libtermcap |
| html-target: maybe-html-target-winsup |
| html-target: maybe-html-target-libgloss |
| html-target: maybe-html-target-libffi |
| html-target: maybe-html-target-libjava |
| html-target: maybe-html-target-zlib |
| html-target: maybe-html-target-boehm-gc |
| html-target: maybe-html-target-rda |
| html-target: maybe-html-target-libada |
| html-target: maybe-html-target-libgomp |
| html-target: maybe-html-target-libitm |
| html-target: maybe-html-target-libatomic |
| |
| .PHONY: do-TAGS |
| do-TAGS: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \ |
| TAGS-target |
| |
| |
| .PHONY: TAGS-host |
| |
| TAGS-host: maybe-TAGS-bfd |
| TAGS-host: maybe-TAGS-opcodes |
| TAGS-host: maybe-TAGS-binutils |
| TAGS-host: maybe-TAGS-bison |
| TAGS-host: maybe-TAGS-cgen |
| TAGS-host: maybe-TAGS-dejagnu |
| TAGS-host: maybe-TAGS-etc |
| TAGS-host: maybe-TAGS-fastjar |
| TAGS-host: maybe-TAGS-fixincludes |
| TAGS-host: maybe-TAGS-flex |
| TAGS-host: maybe-TAGS-gas |
| TAGS-host: maybe-TAGS-gcc |
| TAGS-host: maybe-TAGS-gmp |
| TAGS-host: maybe-TAGS-mpfr |
| TAGS-host: maybe-TAGS-mpc |
| TAGS-host: maybe-TAGS-isl |
| TAGS-host: maybe-TAGS-cloog |
| TAGS-host: maybe-TAGS-libelf |
| TAGS-host: maybe-TAGS-gold |
| TAGS-host: maybe-TAGS-gprof |
| TAGS-host: maybe-TAGS-intl |
| TAGS-host: maybe-TAGS-tcl |
| TAGS-host: maybe-TAGS-itcl |
| TAGS-host: maybe-TAGS-ld |
| TAGS-host: maybe-TAGS-libbacktrace |
| TAGS-host: maybe-TAGS-libcpp |
| TAGS-host: maybe-TAGS-libdecnumber |
| TAGS-host: maybe-TAGS-libgui |
| TAGS-host: maybe-TAGS-libiberty |
| TAGS-host: maybe-TAGS-libiberty-linker-plugin |
| TAGS-host: maybe-TAGS-libiconv |
| TAGS-host: maybe-TAGS-m4 |
| TAGS-host: maybe-TAGS-readline |
| TAGS-host: maybe-TAGS-sid |
| TAGS-host: maybe-TAGS-sim |
| TAGS-host: maybe-TAGS-texinfo |
| TAGS-host: maybe-TAGS-zlib |
| TAGS-host: maybe-TAGS-gdb |
| TAGS-host: maybe-TAGS-expect |
| TAGS-host: maybe-TAGS-guile |
| TAGS-host: maybe-TAGS-tk |
| TAGS-host: maybe-TAGS-libtermcap |
| TAGS-host: maybe-TAGS-utils |
| TAGS-host: maybe-TAGS-gnattools |
| TAGS-host: maybe-TAGS-lto-plugin |
| |
| .PHONY: TAGS-target |
| |
| TAGS-target: maybe-TAGS-target-libstdc++-v3 |
| TAGS-target: maybe-TAGS-target-libsanitizer |
| TAGS-target: maybe-TAGS-target-libvtv |
| TAGS-target: maybe-TAGS-target-libcilkrts |
| TAGS-target: maybe-TAGS-target-libssp |
| TAGS-target: maybe-TAGS-target-newlib |
| TAGS-target: maybe-TAGS-target-libgcc |
| TAGS-target: maybe-TAGS-target-libbacktrace |
| TAGS-target: maybe-TAGS-target-libquadmath |
| TAGS-target: maybe-TAGS-target-libgfortran |
| TAGS-target: maybe-TAGS-target-libobjc |
| TAGS-target: maybe-TAGS-target-libgo |
| TAGS-target: maybe-TAGS-target-libtermcap |
| TAGS-target: maybe-TAGS-target-winsup |
| TAGS-target: maybe-TAGS-target-libgloss |
| TAGS-target: maybe-TAGS-target-libffi |
| TAGS-target: maybe-TAGS-target-libjava |
| TAGS-target: maybe-TAGS-target-zlib |
| TAGS-target: maybe-TAGS-target-boehm-gc |
| TAGS-target: maybe-TAGS-target-rda |
| TAGS-target: maybe-TAGS-target-libada |
| TAGS-target: maybe-TAGS-target-libgomp |
| TAGS-target: maybe-TAGS-target-libitm |
| TAGS-target: maybe-TAGS-target-libatomic |
| |
| .PHONY: do-install-info |
| do-install-info: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \ |
| install-info-target |
| |
| |
| .PHONY: install-info-host |
| |
| install-info-host: maybe-install-info-bfd |
| install-info-host: maybe-install-info-opcodes |
| install-info-host: maybe-install-info-binutils |
| install-info-host: maybe-install-info-bison |
| install-info-host: maybe-install-info-cgen |
| install-info-host: maybe-install-info-dejagnu |
| install-info-host: maybe-install-info-etc |
| install-info-host: maybe-install-info-fastjar |
| install-info-host: maybe-install-info-fixincludes |
| install-info-host: maybe-install-info-flex |
| install-info-host: maybe-install-info-gas |
| install-info-host: maybe-install-info-gcc |
| install-info-host: maybe-install-info-gmp |
| install-info-host: maybe-install-info-mpfr |
| install-info-host: maybe-install-info-mpc |
| install-info-host: maybe-install-info-isl |
| install-info-host: maybe-install-info-cloog |
| install-info-host: maybe-install-info-libelf |
| install-info-host: maybe-install-info-gold |
| install-info-host: maybe-install-info-gprof |
| install-info-host: maybe-install-info-intl |
| install-info-host: maybe-install-info-tcl |
| install-info-host: maybe-install-info-itcl |
| install-info-host: maybe-install-info-ld |
| install-info-host: maybe-install-info-libbacktrace |
| install-info-host: maybe-install-info-libcpp |
| install-info-host: maybe-install-info-libdecnumber |
| install-info-host: maybe-install-info-libgui |
| install-info-host: maybe-install-info-libiberty |
| install-info-host: maybe-install-info-libiberty-linker-plugin |
| install-info-host: maybe-install-info-libiconv |
| install-info-host: maybe-install-info-m4 |
| install-info-host: maybe-install-info-readline |
| install-info-host: maybe-install-info-sid |
| install-info-host: maybe-install-info-sim |
| install-info-host: maybe-install-info-texinfo |
| install-info-host: maybe-install-info-zlib |
| install-info-host: maybe-install-info-gdb |
| install-info-host: maybe-install-info-expect |
| install-info-host: maybe-install-info-guile |
| install-info-host: maybe-install-info-tk |
| install-info-host: maybe-install-info-libtermcap |
| install-info-host: maybe-install-info-utils |
| install-info-host: maybe-install-info-gnattools |
| install-info-host: maybe-install-info-lto-plugin |
| |
| .PHONY: install-info-target |
| |
| install-info-target: maybe-install-info-target-libstdc++-v3 |
| install-info-target: maybe-install-info-target-libsanitizer |
| install-info-target: maybe-install-info-target-libvtv |
| install-info-target: maybe-install-info-target-libcilkrts |
| install-info-target: maybe-install-info-target-libssp |
| install-info-target: maybe-install-info-target-newlib |
| install-info-target: maybe-install-info-target-libgcc |
| install-info-target: maybe-install-info-target-libbacktrace |
| install-info-target: maybe-install-info-target-libquadmath |
| install-info-target: maybe-install-info-target-libgfortran |
| install-info-target: maybe-install-info-target-libobjc |
| install-info-target: maybe-install-info-target-libgo |
| install-info-target: maybe-install-info-target-libtermcap |
| install-info-target: maybe-install-info-target-winsup |
| install-info-target: maybe-install-info-target-libgloss |
| install-info-target: maybe-install-info-target-libffi |
| install-info-target: maybe-install-info-target-libjava |
| install-info-target: maybe-install-info-target-zlib |
| install-info-target: maybe-install-info-target-boehm-gc |
| install-info-target: maybe-install-info-target-rda |
| install-info-target: maybe-install-info-target-libada |
| install-info-target: maybe-install-info-target-libgomp |
| install-info-target: maybe-install-info-target-libitm |
| install-info-target: maybe-install-info-target-libatomic |
| |
| .PHONY: do-install-pdf |
| do-install-pdf: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \ |
| install-pdf-target |
| |
| |
| .PHONY: install-pdf-host |
| |
| install-pdf-host: maybe-install-pdf-bfd |
| install-pdf-host: maybe-install-pdf-opcodes |
| install-pdf-host: maybe-install-pdf-binutils |
| install-pdf-host: maybe-install-pdf-bison |
| install-pdf-host: maybe-install-pdf-cgen |
| install-pdf-host: maybe-install-pdf-dejagnu |
| install-pdf-host: maybe-install-pdf-etc |
| install-pdf-host: maybe-install-pdf-fastjar |
| install-pdf-host: maybe-install-pdf-fixincludes |
| install-pdf-host: maybe-install-pdf-flex |
| install-pdf-host: maybe-install-pdf-gas |
| install-pdf-host: maybe-install-pdf-gcc |
| install-pdf-host: maybe-install-pdf-gmp |
| install-pdf-host: maybe-install-pdf-mpfr |
| install-pdf-host: maybe-install-pdf-mpc |
| install-pdf-host: maybe-install-pdf-isl |
| install-pdf-host: maybe-install-pdf-cloog |
| install-pdf-host: maybe-install-pdf-libelf |
| install-pdf-host: maybe-install-pdf-gold |
| install-pdf-host: maybe-install-pdf-gprof |
| install-pdf-host: maybe-install-pdf-intl |
| install-pdf-host: maybe-install-pdf-tcl |
| install-pdf-host: maybe-install-pdf-itcl |
| install-pdf-host: maybe-install-pdf-ld |
| install-pdf-host: maybe-install-pdf-libbacktrace |
| install-pdf-host: maybe-install-pdf-libcpp |
| install-pdf-host: maybe-install-pdf-libdecnumber |
| install-pdf-host: maybe-install-pdf-libgui |
| install-pdf-host: maybe-install-pdf-libiberty |
| install-pdf-host: maybe-install-pdf-libiberty-linker-plugin |
| install-pdf-host: maybe-install-pdf-libiconv |
| install-pdf-host: maybe-install-pdf-m4 |
| install-pdf-host: maybe-install-pdf-readline |
| install-pdf-host: maybe-install-pdf-sid |
| install-pdf-host: maybe-install-pdf-sim |
| install-pdf-host: maybe-install-pdf-texinfo |
| install-pdf-host: maybe-install-pdf-zlib |
| install-pdf-host: maybe-install-pdf-gdb |
| install-pdf-host: maybe-install-pdf-expect |
| install-pdf-host: maybe-install-pdf-guile |
| install-pdf-host: maybe-install-pdf-tk |
| install-pdf-host: maybe-install-pdf-libtermcap |
| install-pdf-host: maybe-install-pdf-utils |
| install-pdf-host: maybe-install-pdf-gnattools |
| install-pdf-host: maybe-install-pdf-lto-plugin |
| |
| .PHONY: install-pdf-target |
| |
| install-pdf-target: maybe-install-pdf-target-libstdc++-v3 |
| install-pdf-target: maybe-install-pdf-target-libsanitizer |
| install-pdf-target: maybe-install-pdf-target-libvtv |
| install-pdf-target: maybe-install-pdf-target-libcilkrts |
| install-pdf-target: maybe-install-pdf-target-libssp |
| install-pdf-target: maybe-install-pdf-target-newlib |
| install-pdf-target: maybe-install-pdf-target-libgcc |
| install-pdf-target: maybe-install-pdf-target-libbacktrace |
| install-pdf-target: maybe-install-pdf-target-libquadmath |
| install-pdf-target: maybe-install-pdf-target-libgfortran |
| install-pdf-target: maybe-install-pdf-target-libobjc |
| install-pdf-target: maybe-install-pdf-target-libgo |
| install-pdf-target: maybe-install-pdf-target-libtermcap |
| install-pdf-target: maybe-install-pdf-target-winsup |
| install-pdf-target: maybe-install-pdf-target-libgloss |
| install-pdf-target: maybe-install-pdf-target-libffi |
| install-pdf-target: maybe-install-pdf-target-libjava |
| install-pdf-target: maybe-install-pdf-target-zlib |
| install-pdf-target: maybe-install-pdf-target-boehm-gc |
| install-pdf-target: maybe-install-pdf-target-rda |
| install-pdf-target: maybe-install-pdf-target-libada |
| install-pdf-target: maybe-install-pdf-target-libgomp |
| install-pdf-target: maybe-install-pdf-target-libitm |
| install-pdf-target: maybe-install-pdf-target-libatomic |
| |
| .PHONY: do-install-html |
| do-install-html: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \ |
| install-html-target |
| |
| |
| .PHONY: install-html-host |
| |
| install-html-host: maybe-install-html-bfd |
| install-html-host: maybe-install-html-opcodes |
| install-html-host: maybe-install-html-binutils |
| install-html-host: maybe-install-html-bison |
| install-html-host: maybe-install-html-cgen |
| install-html-host: maybe-install-html-dejagnu |
| install-html-host: maybe-install-html-etc |
| install-html-host: maybe-install-html-fastjar |
| install-html-host: maybe-install-html-fixincludes |
| install-html-host: maybe-install-html-flex |
| install-html-host: maybe-install-html-gas |
| install-html-host: maybe-install-html-gcc |
| install-html-host: maybe-install-html-gmp |
| install-html-host: maybe-install-html-mpfr |
| install-html-host: maybe-install-html-mpc |
| install-html-host: maybe-install-html-isl |
| install-html-host: maybe-install-html-cloog |
| install-html-host: maybe-install-html-libelf |
| install-html-host: maybe-install-html-gold |
| install-html-host: maybe-install-html-gprof |
| install-html-host: maybe-install-html-intl |
| install-html-host: maybe-install-html-tcl |
| install-html-host: maybe-install-html-itcl |
| install-html-host: maybe-install-html-ld |
| install-html-host: maybe-install-html-libbacktrace |
| install-html-host: maybe-install-html-libcpp |
| install-html-host: maybe-install-html-libdecnumber |
| install-html-host: maybe-install-html-libgui |
| install-html-host: maybe-install-html-libiberty |
| install-html-host: maybe-install-html-libiberty-linker-plugin |
| install-html-host: maybe-install-html-libiconv |
| install-html-host: maybe-install-html-m4 |
| install-html-host: maybe-install-html-readline |
| install-html-host: maybe-install-html-sid |
| install-html-host: maybe-install-html-sim |
| install-html-host: maybe-install-html-texinfo |
| install-html-host: maybe-install-html-zlib |
| install-html-host: maybe-install-html-gdb |
| install-html-host: maybe-install-html-expect |
| install-html-host: maybe-install-html-guile |
| install-html-host: maybe-install-html-tk |
| install-html-host: maybe-install-html-libtermcap |
| install-html-host: maybe-install-html-utils |
| install-html-host: maybe-install-html-gnattools |
| install-html-host: maybe-install-html-lto-plugin |
| |
| .PHONY: install-html-target |
| |
| install-html-target: maybe-install-html-target-libstdc++-v3 |
| install-html-target: maybe-install-html-target-libsanitizer |
| install-html-target: maybe-install-html-target-libvtv |
| install-html-target: maybe-install-html-target-libcilkrts |
| install-html-target: maybe-install-html-target-libssp |
| install-html-target: maybe-install-html-target-newlib |
| install-html-target: maybe-install-html-target-libgcc |
| install-html-target: maybe-install-html-target-libbacktrace |
| install-html-target: maybe-install-html-target-libquadmath |
| install-html-target: maybe-install-html-target-libgfortran |
| install-html-target: maybe-install-html-target-libobjc |
| install-html-target: maybe-install-html-target-libgo |
| install-html-target: maybe-install-html-target-libtermcap |
| install-html-target: maybe-install-html-target-winsup |
| install-html-target: maybe-install-html-target-libgloss |
| install-html-target: maybe-install-html-target-libffi |
| install-html-target: maybe-install-html-target-libjava |
| install-html-target: maybe-install-html-target-zlib |
| install-html-target: maybe-install-html-target-boehm-gc |
| install-html-target: maybe-install-html-target-rda |
| install-html-target: maybe-install-html-target-libada |
| install-html-target: maybe-install-html-target-libgomp |
| install-html-target: maybe-install-html-target-libitm |
| install-html-target: maybe-install-html-target-libatomic |
| |
| .PHONY: do-installcheck |
| do-installcheck: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \ |
| installcheck-target |
| |
| |
| .PHONY: installcheck-host |
| |
| installcheck-host: maybe-installcheck-bfd |
| installcheck-host: maybe-installcheck-opcodes |
| installcheck-host: maybe-installcheck-binutils |
| installcheck-host: maybe-installcheck-bison |
| installcheck-host: maybe-installcheck-cgen |
| installcheck-host: maybe-installcheck-dejagnu |
| installcheck-host: maybe-installcheck-etc |
| installcheck-host: maybe-installcheck-fastjar |
| installcheck-host: maybe-installcheck-fixincludes |
| installcheck-host: maybe-installcheck-flex |
| installcheck-host: maybe-installcheck-gas |
| installcheck-host: maybe-installcheck-gcc |
| installcheck-host: maybe-installcheck-gmp |
| installcheck-host: maybe-installcheck-mpfr |
| installcheck-host: maybe-installcheck-mpc |
| installcheck-host: maybe-installcheck-isl |
| installcheck-host: maybe-installcheck-cloog |
| installcheck-host: maybe-installcheck-libelf |
| installcheck-host: maybe-installcheck-gold |
| installcheck-host: maybe-installcheck-gprof |
| installcheck-host: maybe-installcheck-intl |
| installcheck-host: maybe-installcheck-tcl |
| installcheck-host: maybe-installcheck-itcl |
| installcheck-host: maybe-installcheck-ld |
| installcheck-host: maybe-installcheck-libbacktrace |
| installcheck-host: maybe-installcheck-libcpp |
| installcheck-host: maybe-installcheck-libdecnumber |
| installcheck-host: maybe-installcheck-libgui |
| installcheck-host: maybe-installcheck-libiberty |
| installcheck-host: maybe-installcheck-libiberty-linker-plugin |
| installcheck-host: maybe-installcheck-libiconv |
| installcheck-host: maybe-installcheck-m4 |
| installcheck-host: maybe-installcheck-readline |
| installcheck-host: maybe-installcheck-sid |
| installcheck-host: maybe-installcheck-sim |
| installcheck-host: maybe-installcheck-texinfo |
| installcheck-host: maybe-installcheck-zlib |
| installcheck-host: maybe-installcheck-gdb |
| installcheck-host: maybe-installcheck-expect |
| installcheck-host: maybe-installcheck-guile |
| installcheck-host: maybe-installcheck-tk |
| installcheck-host: maybe-installcheck-libtermcap |
| installcheck-host: maybe-installcheck-utils |
| installcheck-host: maybe-installcheck-gnattools |
| installcheck-host: maybe-installcheck-lto-plugin |
| |
| .PHONY: installcheck-target |
| |
| installcheck-target: maybe-installcheck-target-libstdc++-v3 |
| installcheck-target: maybe-installcheck-target-libsanitizer |
| installcheck-target: maybe-installcheck-target-libvtv |
| installcheck-target: maybe-installcheck-target-libcilkrts |
| installcheck-target: maybe-installcheck-target-libssp |
| installcheck-target: maybe-installcheck-target-newlib |
| installcheck-target: maybe-installcheck-target-libgcc |
| installcheck-target: maybe-installcheck-target-libbacktrace |
| installcheck-target: maybe-installcheck-target-libquadmath |
| installcheck-target: maybe-installcheck-target-libgfortran |
| installcheck-target: maybe-installcheck-target-libobjc |
| installcheck-target: maybe-installcheck-target-libgo |
| installcheck-target: maybe-installcheck-target-libtermcap |
| installcheck-target: maybe-installcheck-target-winsup |
| installcheck-target: maybe-installcheck-target-libgloss |
| installcheck-target: maybe-installcheck-target-libffi |
| installcheck-target: maybe-installcheck-target-libjava |
| installcheck-target: maybe-installcheck-target-zlib |
| installcheck-target: maybe-installcheck-target-boehm-gc |
| installcheck-target: maybe-installcheck-target-rda |
| installcheck-target: maybe-installcheck-target-libada |
| installcheck-target: maybe-installcheck-target-libgomp |
| installcheck-target: maybe-installcheck-target-libitm |
| installcheck-target: maybe-installcheck-target-libatomic |
| |
| .PHONY: do-mostlyclean |
| do-mostlyclean: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \ |
| mostlyclean-target |
| |
| |
| .PHONY: mostlyclean-host |
| |
| mostlyclean-host: maybe-mostlyclean-bfd |
| mostlyclean-host: maybe-mostlyclean-opcodes |
| mostlyclean-host: maybe-mostlyclean-binutils |
| mostlyclean-host: maybe-mostlyclean-bison |
| mostlyclean-host: maybe-mostlyclean-cgen |
| mostlyclean-host: maybe-mostlyclean-dejagnu |
| mostlyclean-host: maybe-mostlyclean-etc |
| mostlyclean-host: maybe-mostlyclean-fastjar |
| mostlyclean-host: maybe-mostlyclean-fixincludes |
| mostlyclean-host: maybe-mostlyclean-flex |
| mostlyclean-host: maybe-mostlyclean-gas |
| mostlyclean-host: maybe-mostlyclean-gcc |
| mostlyclean-host: maybe-mostlyclean-gmp |
| mostlyclean-host: maybe-mostlyclean-mpfr |
| mostlyclean-host: maybe-mostlyclean-mpc |
| mostlyclean-host: maybe-mostlyclean-isl |
| mostlyclean-host: maybe-mostlyclean-cloog |
| mostlyclean-host: maybe-mostlyclean-libelf |
| mostlyclean-host: maybe-mostlyclean-gold |
| mostlyclean-host: maybe-mostlyclean-gprof |
| mostlyclean-host: maybe-mostlyclean-intl |
| mostlyclean-host: maybe-mostlyclean-tcl |
| mostlyclean-host: maybe-mostlyclean-itcl |
| mostlyclean-host: maybe-mostlyclean-ld |
| mostlyclean-host: maybe-mostlyclean-libbacktrace |
| mostlyclean-host: maybe-mostlyclean-libcpp |
| mostlyclean-host: maybe-mostlyclean-libdecnumber |
| mostlyclean-host: maybe-mostlyclean-libgui |
| mostlyclean-host: maybe-mostlyclean-libiberty |
| mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin |
| mostlyclean-host: maybe-mostlyclean-libiconv |
| mostlyclean-host: maybe-mostlyclean-m4 |
| mostlyclean-host: maybe-mostlyclean-readline |
| mostlyclean-host: maybe-mostlyclean-sid |
| mostlyclean-host: maybe-mostlyclean-sim |
| mostlyclean-host: maybe-mostlyclean-texinfo |
| mostlyclean-host: maybe-mostlyclean-zlib |
| mostlyclean-host: maybe-mostlyclean-gdb |
| mostlyclean-host: maybe-mostlyclean-expect |
| mostlyclean-host: maybe-mostlyclean-guile |
| mostlyclean-host: maybe-mostlyclean-tk |
| mostlyclean-host: maybe-mostlyclean-libtermcap |
| mostlyclean-host: maybe-mostlyclean-utils |
| mostlyclean-host: maybe-mostlyclean-gnattools |
| mostlyclean-host: maybe-mostlyclean-lto-plugin |
| |
| .PHONY: mostlyclean-target |
| |
| mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3 |
| mostlyclean-target: maybe-mostlyclean-target-libsanitizer |
| mostlyclean-target: maybe-mostlyclean-target-libvtv |
| mostlyclean-target: maybe-mostlyclean-target-libcilkrts |
| mostlyclean-target: maybe-mostlyclean-target-libssp |
| mostlyclean-target: maybe-mostlyclean-target-newlib |
| mostlyclean-target: maybe-mostlyclean-target-libgcc |
| mostlyclean-target: maybe-mostlyclean-target-libbacktrace |
| mostlyclean-target: maybe-mostlyclean-target-libquadmath |
| mostlyclean-target: maybe-mostlyclean-target-libgfortran |
| mostlyclean-target: maybe-mostlyclean-target-libobjc |
| mostlyclean-target: maybe-mostlyclean-target-libgo |
| mostlyclean-target: maybe-mostlyclean-target-libtermcap |
| mostlyclean-target: maybe-mostlyclean-target-winsup |
| mostlyclean-target: maybe-mostlyclean-target-libgloss |
| mostlyclean-target: maybe-mostlyclean-target-libffi |
| mostlyclean-target: maybe-mostlyclean-target-libjava |
| mostlyclean-target: maybe-mostlyclean-target-zlib |
| mostlyclean-target: maybe-mostlyclean-target-boehm-gc |
| mostlyclean-target: maybe-mostlyclean-target-rda |
| mostlyclean-target: maybe-mostlyclean-target-libada |
| mostlyclean-target: maybe-mostlyclean-target-libgomp |
| mostlyclean-target: maybe-mostlyclean-target-libitm |
| mostlyclean-target: maybe-mostlyclean-target-libatomic |
| |
| .PHONY: do-clean |
| do-clean: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \ |
| clean-target |
| |
| |
| .PHONY: clean-host |
| |
| clean-host: maybe-clean-bfd |
| clean-host: maybe-clean-opcodes |
| clean-host: maybe-clean-binutils |
| clean-host: maybe-clean-bison |
| clean-host: maybe-clean-cgen |
| clean-host: maybe-clean-dejagnu |
| clean-host: maybe-clean-etc |
| clean-host: maybe-clean-fastjar |
| clean-host: maybe-clean-fixincludes |
| clean-host: maybe-clean-flex |
| clean-host: maybe-clean-gas |
| clean-host: maybe-clean-gcc |
| clean-host: maybe-clean-gmp |
| clean-host: maybe-clean-mpfr |
| clean-host: maybe-clean-mpc |
| clean-host: maybe-clean-isl |
| clean-host: maybe-clean-cloog |
| clean-host: maybe-clean-libelf |
| clean-host: maybe-clean-gold |
| clean-host: maybe-clean-gprof |
| clean-host: maybe-clean-intl |
| clean-host: maybe-clean-tcl |
| clean-host: maybe-clean-itcl |
| clean-host: maybe-clean-ld |
| clean-host: maybe-clean-libbacktrace |
| clean-host: maybe-clean-libcpp |
| clean-host: maybe-clean-libdecnumber |
| clean-host: maybe-clean-libgui |
| clean-host: maybe-clean-libiberty |
| clean-host: maybe-clean-libiberty-linker-plugin |
| clean-host: maybe-clean-libiconv |
| clean-host: maybe-clean-m4 |
| clean-host: maybe-clean-readline |
| clean-host: maybe-clean-sid |
| clean-host: maybe-clean-sim |
| clean-host: maybe-clean-texinfo |
| clean-host: maybe-clean-zlib |
| clean-host: maybe-clean-gdb |
| clean-host: maybe-clean-expect |
| clean-host: maybe-clean-guile |
| clean-host: maybe-clean-tk |
| clean-host: maybe-clean-libtermcap |
| clean-host: maybe-clean-utils |
| clean-host: maybe-clean-gnattools |
| clean-host: maybe-clean-lto-plugin |
| |
| .PHONY: clean-target |
| |
| clean-target: maybe-clean-target-libstdc++-v3 |
| clean-target: maybe-clean-target-libsanitizer |
| clean-target: maybe-clean-target-libvtv |
| clean-target: maybe-clean-target-libcilkrts |
| clean-target: maybe-clean-target-libssp |
| clean-target: maybe-clean-target-newlib |
| clean-target: maybe-clean-target-libgcc |
| clean-target: maybe-clean-target-libbacktrace |
| clean-target: maybe-clean-target-libquadmath |
| clean-target: maybe-clean-target-libgfortran |
| clean-target: maybe-clean-target-libobjc |
| clean-target: maybe-clean-target-libgo |
| clean-target: maybe-clean-target-libtermcap |
| clean-target: maybe-clean-target-winsup |
| clean-target: maybe-clean-target-libgloss |
| clean-target: maybe-clean-target-libffi |
| clean-target: maybe-clean-target-libjava |
| clean-target: maybe-clean-target-zlib |
| clean-target: maybe-clean-target-boehm-gc |
| clean-target: maybe-clean-target-rda |
| clean-target: maybe-clean-target-libada |
| clean-target: maybe-clean-target-libgomp |
| clean-target: maybe-clean-target-libitm |
| clean-target: maybe-clean-target-libatomic |
| |
| .PHONY: do-distclean |
| do-distclean: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \ |
| distclean-target |
| |
| |
| .PHONY: distclean-host |
| |
| distclean-host: maybe-distclean-bfd |
| distclean-host: maybe-distclean-opcodes |
| distclean-host: maybe-distclean-binutils |
| distclean-host: maybe-distclean-bison |
| distclean-host: maybe-distclean-cgen |
| distclean-host: maybe-distclean-dejagnu |
| distclean-host: maybe-distclean-etc |
| distclean-host: maybe-distclean-fastjar |
| distclean-host: maybe-distclean-fixincludes |
| distclean-host: maybe-distclean-flex |
| distclean-host: maybe-distclean-gas |
| distclean-host: maybe-distclean-gcc |
| distclean-host: maybe-distclean-gmp |
| distclean-host: maybe-distclean-mpfr |
| distclean-host: maybe-distclean-mpc |
| distclean-host: maybe-distclean-isl |
| distclean-host: maybe-distclean-cloog |
| distclean-host: maybe-distclean-libelf |
| distclean-host: maybe-distclean-gold |
| distclean-host: maybe-distclean-gprof |
| distclean-host: maybe-distclean-intl |
| distclean-host: maybe-distclean-tcl |
| distclean-host: maybe-distclean-itcl |
| distclean-host: maybe-distclean-ld |
| distclean-host: maybe-distclean-libbacktrace |
| distclean-host: maybe-distclean-libcpp |
| distclean-host: maybe-distclean-libdecnumber |
| distclean-host: maybe-distclean-libgui |
| distclean-host: maybe-distclean-libiberty |
| distclean-host: maybe-distclean-libiberty-linker-plugin |
| distclean-host: maybe-distclean-libiconv |
| distclean-host: maybe-distclean-m4 |
| distclean-host: maybe-distclean-readline |
| distclean-host: maybe-distclean-sid |
| distclean-host: maybe-distclean-sim |
| distclean-host: maybe-distclean-texinfo |
| distclean-host: maybe-distclean-zlib |
| distclean-host: maybe-distclean-gdb |
| distclean-host: maybe-distclean-expect |
| distclean-host: maybe-distclean-guile |
| distclean-host: maybe-distclean-tk |
| distclean-host: maybe-distclean-libtermcap |
| distclean-host: maybe-distclean-utils |
| distclean-host: maybe-distclean-gnattools |
| distclean-host: maybe-distclean-lto-plugin |
| |
| .PHONY: distclean-target |
| |
| distclean-target: maybe-distclean-target-libstdc++-v3 |
| distclean-target: maybe-distclean-target-libsanitizer |
| distclean-target: maybe-distclean-target-libvtv |
| distclean-target: maybe-distclean-target-libcilkrts |
| distclean-target: maybe-distclean-target-libssp |
| distclean-target: maybe-distclean-target-newlib |
| distclean-target: maybe-distclean-target-libgcc |
| distclean-target: maybe-distclean-target-libbacktrace |
| distclean-target: maybe-distclean-target-libquadmath |
| distclean-target: maybe-distclean-target-libgfortran |
| distclean-target: maybe-distclean-target-libobjc |
| distclean-target: maybe-distclean-target-libgo |
| distclean-target: maybe-distclean-target-libtermcap |
| distclean-target: maybe-distclean-target-winsup |
| distclean-target: maybe-distclean-target-libgloss |
| distclean-target: maybe-distclean-target-libffi |
| distclean-target: maybe-distclean-target-libjava |
| distclean-target: maybe-distclean-target-zlib |
| distclean-target: maybe-distclean-target-boehm-gc |
| distclean-target: maybe-distclean-target-rda |
| distclean-target: maybe-distclean-target-libada |
| distclean-target: maybe-distclean-target-libgomp |
| distclean-target: maybe-distclean-target-libitm |
| distclean-target: maybe-distclean-target-libatomic |
| |
| .PHONY: do-maintainer-clean |
| do-maintainer-clean: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \ |
| maintainer-clean-target |
| |
| |
| .PHONY: maintainer-clean-host |
| |
| maintainer-clean-host: maybe-maintainer-clean-bfd |
| maintainer-clean-host: maybe-maintainer-clean-opcodes |
| maintainer-clean-host: maybe-maintainer-clean-binutils |
| maintainer-clean-host: maybe-maintainer-clean-bison |
| maintainer-clean-host: maybe-maintainer-clean-cgen |
| maintainer-clean-host: maybe-maintainer-clean-dejagnu |
| maintainer-clean-host: maybe-maintainer-clean-etc |
| maintainer-clean-host: maybe-maintainer-clean-fastjar |
| maintainer-clean-host: maybe-maintainer-clean-fixincludes |
| maintainer-clean-host: maybe-maintainer-clean-flex |
| maintainer-clean-host: maybe-maintainer-clean-gas |
| maintainer-clean-host: maybe-maintainer-clean-gcc |
| maintainer-clean-host: maybe-maintainer-clean-gmp |
| maintainer-clean-host: maybe-maintainer-clean-mpfr |
| maintainer-clean-host: maybe-maintainer-clean-mpc |
| maintainer-clean-host: maybe-maintainer-clean-isl |
| maintainer-clean-host: maybe-maintainer-clean-cloog |
| maintainer-clean-host: maybe-maintainer-clean-libelf |
| maintainer-clean-host: maybe-maintainer-clean-gold |
| maintainer-clean-host: maybe-maintainer-clean-gprof |
| maintainer-clean-host: maybe-maintainer-clean-intl |
| maintainer-clean-host: maybe-maintainer-clean-tcl |
| maintainer-clean-host: maybe-maintainer-clean-itcl |
| maintainer-clean-host: maybe-maintainer-clean-ld |
| maintainer-clean-host: maybe-maintainer-clean-libbacktrace |
| maintainer-clean-host: maybe-maintainer-clean-libcpp |
| maintainer-clean-host: maybe-maintainer-clean-libdecnumber |
| maintainer-clean-host: maybe-maintainer-clean-libgui |
| maintainer-clean-host: maybe-maintainer-clean-libiberty |
| maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin |
| maintainer-clean-host: maybe-maintainer-clean-libiconv |
| maintainer-clean-host: maybe-maintainer-clean-m4 |
| maintainer-clean-host: maybe-maintainer-clean-readline |
| maintainer-clean-host: maybe-maintainer-clean-sid |
| maintainer-clean-host: maybe-maintainer-clean-sim |
| maintainer-clean-host: maybe-maintainer-clean-texinfo |
| maintainer-clean-host: maybe-maintainer-clean-zlib |
| maintainer-clean-host: maybe-maintainer-clean-gdb |
| maintainer-clean-host: maybe-maintainer-clean-expect |
| maintainer-clean-host: maybe-maintainer-clean-guile |
| maintainer-clean-host: maybe-maintainer-clean-tk |
| maintainer-clean-host: maybe-maintainer-clean-libtermcap |
| maintainer-clean-host: maybe-maintainer-clean-utils |
| maintainer-clean-host: maybe-maintainer-clean-gnattools |
| maintainer-clean-host: maybe-maintainer-clean-lto-plugin |
| |
| .PHONY: maintainer-clean-target |
| |
| maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3 |
| maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer |
| maintainer-clean-target: maybe-maintainer-clean-target-libvtv |
| maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts |
| maintainer-clean-target: maybe-maintainer-clean-target-libssp |
| maintainer-clean-target: maybe-maintainer-clean-target-newlib |
| maintainer-clean-target: maybe-maintainer-clean-target-libgcc |
| maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace |
| maintainer-clean-target: maybe-maintainer-clean-target-libquadmath |
| maintainer-clean-target: maybe-maintainer-clean-target-libgfortran |
| maintainer-clean-target: maybe-maintainer-clean-target-libobjc |
| maintainer-clean-target: maybe-maintainer-clean-target-libgo |
| maintainer-clean-target: maybe-maintainer-clean-target-libtermcap |
| maintainer-clean-target: maybe-maintainer-clean-target-winsup |
| maintainer-clean-target: maybe-maintainer-clean-target-libgloss |
| maintainer-clean-target: maybe-maintainer-clean-target-libffi |
| maintainer-clean-target: maybe-maintainer-clean-target-libjava |
| maintainer-clean-target: maybe-maintainer-clean-target-zlib |
| maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc |
| maintainer-clean-target: maybe-maintainer-clean-target-rda |
| maintainer-clean-target: maybe-maintainer-clean-target-libada |
| maintainer-clean-target: maybe-maintainer-clean-target-libgomp |
| maintainer-clean-target: maybe-maintainer-clean-target-libitm |
| maintainer-clean-target: maybe-maintainer-clean-target-libatomic |
| |
| |
| # Here are the targets which correspond to the do-X targets. |
| |
| .PHONY: info installcheck dvi pdf html |
| .PHONY: install-info install-pdf install-html |
| .PHONY: clean distclean mostlyclean maintainer-clean realclean |
| .PHONY: local-clean local-distclean local-maintainer-clean |
| info: do-info |
| installcheck: do-installcheck |
| dvi: do-dvi |
| pdf: do-pdf |
| html: do-html |
| |
| # Make sure makeinfo is built before we do a `make info', if we're |
| # in fact building texinfo. |
| do-info: maybe-all-texinfo |
| |
| install-info: do-install-info dir.info |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| if [ -f dir.info ] ; then \ |
| $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \ |
| else true ; fi |
| |
| install-pdf: do-install-pdf |
| |
| install-html: do-install-html |
| |
| local-clean: |
| -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log |
| |
| local-distclean: |
| -rm -f Makefile config.status config.cache mh-frag mt-frag |
| -rm -f maybedep.tmp serdep.tmp |
| -if [ "$(TARGET_SUBDIR)" != "." ]; then \ |
| rm -rf $(TARGET_SUBDIR); \ |
| else true; fi |
| -rm -rf $(BUILD_SUBDIR) |
| -if [ "$(HOST_SUBDIR)" != "." ]; then \ |
| rm -rf $(HOST_SUBDIR); \ |
| else true; fi |
| -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile |
| -rm -f texinfo/doc/Makefile texinfo/po/POTFILES |
| -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null |
| -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null |
| -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null |
| -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null |
| |
| local-maintainer-clean: |
| @echo "This command is intended for maintainers to use;" |
| @echo "it deletes files that may require special tools to rebuild." |
| |
| clean: do-clean local-clean |
| mostlyclean: do-mostlyclean local-clean |
| distclean: do-distclean local-clean local-distclean |
| maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean |
| maintainer-clean: local-distclean |
| realclean: maintainer-clean |
| |
| # Check target. |
| |
| .PHONY: check do-check |
| check: do-check |
| |
| # Only include modules actually being configured and built. |
| .PHONY: check-host |
| check-host: \ |
| maybe-check-bfd \ |
| maybe-check-opcodes \ |
| maybe-check-binutils \ |
| maybe-check-bison \ |
| maybe-check-cgen \ |
| maybe-check-dejagnu \ |
| maybe-check-etc \ |
| maybe-check-fastjar \ |
| maybe-check-fixincludes \ |
| maybe-check-flex \ |
| maybe-check-gas \ |
| maybe-check-gcc \ |
| maybe-check-gmp \ |
| maybe-check-mpfr \ |
| maybe-check-mpc \ |
| maybe-check-isl \ |
| maybe-check-cloog \ |
| maybe-check-libelf \ |
| maybe-check-gold \ |
| maybe-check-gprof \ |
| maybe-check-intl \ |
| maybe-check-tcl \ |
| maybe-check-itcl \ |
| maybe-check-ld \ |
| maybe-check-libbacktrace \ |
| maybe-check-libcpp \ |
| maybe-check-libdecnumber \ |
| maybe-check-libgui \ |
| maybe-check-libiberty \ |
| maybe-check-libiberty-linker-plugin \ |
| maybe-check-libiconv \ |
| maybe-check-m4 \ |
| maybe-check-readline \ |
| maybe-check-sid \ |
| maybe-check-sim \ |
| maybe-check-texinfo \ |
| maybe-check-zlib \ |
| maybe-check-gdb \ |
| maybe-check-expect \ |
| maybe-check-guile \ |
| maybe-check-tk \ |
| maybe-check-libtermcap \ |
| maybe-check-utils \ |
| maybe-check-gnattools \ |
| maybe-check-lto-plugin |
| |
| .PHONY: check-target |
| check-target: \ |
| maybe-check-target-libstdc++-v3 \ |
| maybe-check-target-libsanitizer \ |
| maybe-check-target-libvtv \ |
| maybe-check-target-libcilkrts \ |
| maybe-check-target-libssp \ |
| maybe-check-target-newlib \ |
| maybe-check-target-libgcc \ |
| maybe-check-target-libbacktrace \ |
| maybe-check-target-libquadmath \ |
| maybe-check-target-libgfortran \ |
| maybe-check-target-libobjc \ |
| maybe-check-target-libgo \ |
| maybe-check-target-libtermcap \ |
| maybe-check-target-winsup \ |
| maybe-check-target-libgloss \ |
| maybe-check-target-libffi \ |
| maybe-check-target-libjava \ |
| maybe-check-target-zlib \ |
| maybe-check-target-boehm-gc \ |
| maybe-check-target-rda \ |
| maybe-check-target-libada \ |
| maybe-check-target-libgomp \ |
| maybe-check-target-libitm \ |
| maybe-check-target-libatomic |
| |
| do-check: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target |
| |
| # 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 |
| install: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target |
| |
| .PHONY: install-host-nogcc |
| install-host-nogcc: \ |
| maybe-install-bfd \ |
| maybe-install-opcodes \ |
| maybe-install-binutils \ |
| maybe-install-bison \ |
| maybe-install-cgen \ |
| maybe-install-dejagnu \ |
| maybe-install-etc \ |
| maybe-install-fastjar \ |
| maybe-install-fixincludes \ |
| maybe-install-flex \ |
| maybe-install-gas \ |
| maybe-install-gmp \ |
| maybe-install-mpfr \ |
| maybe-install-mpc \ |
| maybe-install-isl \ |
| maybe-install-cloog \ |
| maybe-install-libelf \ |
| maybe-install-gold \ |
| maybe-install-gprof \ |
| maybe-install-intl \ |
| maybe-install-tcl \ |
| maybe-install-itcl \ |
| maybe-install-ld \ |
| maybe-install-libbacktrace \ |
| maybe-install-libcpp \ |
| maybe-install-libdecnumber \ |
| maybe-install-libgui \ |
| maybe-install-libiberty \ |
| maybe-install-libiberty-linker-plugin \ |
| maybe-install-libiconv \ |
| maybe-install-m4 \ |
| maybe-install-readline \ |
| maybe-install-sid \ |
| maybe-install-sim \ |
| maybe-install-texinfo \ |
| maybe-install-zlib \ |
| maybe-install-gdb \ |
| maybe-install-expect \ |
| maybe-install-guile \ |
| maybe-install-tk \ |
| maybe-install-libtermcap \ |
| maybe-install-utils \ |
| maybe-install-gnattools \ |
| maybe-install-lto-plugin |
| |
| .PHONY: install-host |
| install-host: \ |
| maybe-install-bfd \ |
| maybe-install-opcodes \ |
| maybe-install-binutils \ |
| maybe-install-bison \ |
| maybe-install-cgen \ |
| maybe-install-dejagnu \ |
| maybe-install-etc \ |
| maybe-install-fastjar \ |
| maybe-install-fixincludes \ |
| maybe-install-flex \ |
| maybe-install-gas \ |
| maybe-install-gcc \ |
| maybe-install-gmp \ |
| maybe-install-mpfr \ |
| maybe-install-mpc \ |
| maybe-install-isl \ |
| maybe-install-cloog \ |
| maybe-install-libelf \ |
| maybe-install-gold \ |
| maybe-install-gprof \ |
| maybe-install-intl \ |
| maybe-install-tcl \ |
| maybe-install-itcl \ |
| maybe-install-ld \ |
| maybe-install-libbacktrace \ |
| maybe-install-libcpp \ |
| maybe-install-libdecnumber \ |
| maybe-install-libgui \ |
| maybe-install-libiberty \ |
| maybe-install-libiberty-linker-plugin \ |
| maybe-install-libiconv \ |
| maybe-install-m4 \ |
| maybe-install-readline \ |
| maybe-install-sid \ |
| maybe-install-sim \ |
| maybe-install-texinfo \ |
| maybe-install-zlib \ |
| maybe-install-gdb \ |
| maybe-install-expect \ |
| maybe-install-guile \ |
| maybe-install-tk \ |
| maybe-install-libtermcap \ |
| maybe-install-utils \ |
| maybe-install-gnattools \ |
| maybe-install-lto-plugin |
| |
| .PHONY: install-target |
| install-target: \ |
| maybe-install-target-libstdc++-v3 \ |
| maybe-install-target-libsanitizer \ |
| maybe-install-target-libvtv \ |
| maybe-install-target-libcilkrts \ |
| maybe-install-target-libssp \ |
| maybe-install-target-newlib \ |
| maybe-install-target-libgcc \ |
| maybe-install-target-libbacktrace \ |
| maybe-install-target-libquadmath \ |
| maybe-install-target-libgfortran \ |
| maybe-install-target-libobjc \ |
| maybe-install-target-libgo \ |
| maybe-install-target-libtermcap \ |
| maybe-install-target-winsup \ |
| maybe-install-target-libgloss \ |
| maybe-install-target-libffi \ |
| maybe-install-target-libjava \ |
| maybe-install-target-zlib \ |
| maybe-install-target-boehm-gc \ |
| maybe-install-target-rda \ |
| maybe-install-target-libada \ |
| maybe-install-target-libgomp \ |
| maybe-install-target-libitm \ |
| maybe-install-target-libatomic |
| |
| uninstall: |
| @echo "the uninstall target is not supported in this tree" |
| |
| .PHONY: install.all |
| install.all: install-no-fixedincludes |
| @if [ -f ./gcc/Makefile ] ; then \ |
| r=`${PWD_COMMAND}` ; export r ; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd ./gcc && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \ |
| else \ |
| true ; \ |
| fi |
| |
| # install-no-fixedincludes is used to allow the elaboration of binary packages |
| # suitable for distribution, where we cannot include the fixed system header |
| # files. |
| .PHONY: install-no-fixedincludes |
| install-no-fixedincludes: installdirs install-host-nogcc \ |
| install-target gcc-install-no-fixedincludes |
| |
| .PHONY: install-strip |
| install-strip: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target |
| |
| .PHONY: install-strip-host |
| install-strip-host: \ |
| maybe-install-strip-bfd \ |
| maybe-install-strip-opcodes \ |
| maybe-install-strip-binutils \ |
| maybe-install-strip-bison \ |
| maybe-install-strip-cgen \ |
| maybe-install-strip-dejagnu \ |
| maybe-install-strip-etc \ |
| maybe-install-strip-fastjar \ |
| maybe-install-strip-fixincludes \ |
| maybe-install-strip-flex \ |
| maybe-install-strip-gas \ |
| maybe-install-strip-gcc \ |
| maybe-install-strip-gmp \ |
| maybe-install-strip-mpfr \ |
| maybe-install-strip-mpc \ |
| maybe-install-strip-isl \ |
| maybe-install-strip-cloog \ |
| maybe-install-strip-libelf \ |
| maybe-install-strip-gold \ |
| maybe-install-strip-gprof \ |
| maybe-install-strip-intl \ |
| maybe-install-strip-tcl \ |
| maybe-install-strip-itcl \ |
| maybe-install-strip-ld \ |
| maybe-install-strip-libbacktrace \ |
| maybe-install-strip-libcpp \ |
| maybe-install-strip-libdecnumber \ |
| maybe-install-strip-libgui \ |
| maybe-install-strip-libiberty \ |
| maybe-install-strip-libiberty-linker-plugin \ |
| maybe-install-strip-libiconv \ |
| maybe-install-strip-m4 \ |
| maybe-install-strip-readline \ |
| maybe-install-strip-sid \ |
| maybe-install-strip-sim \ |
| maybe-install-strip-texinfo \ |
| maybe-install-strip-zlib \ |
| maybe-install-strip-gdb \ |
| maybe-install-strip-expect \ |
| maybe-install-strip-guile \ |
| maybe-install-strip-tk \ |
| maybe-install-strip-libtermcap \ |
| maybe-install-strip-utils \ |
| maybe-install-strip-gnattools \ |
| maybe-install-strip-lto-plugin |
| |
| .PHONY: install-strip-target |
| install-strip-target: \ |
| maybe-install-strip-target-libstdc++-v3 \ |
| maybe-install-strip-target-libsanitizer \ |
| maybe-install-strip-target-libvtv \ |
| maybe-install-strip-target-libcilkrts \ |
| maybe-install-strip-target-libssp \ |
| maybe-install-strip-target-newlib \ |
| maybe-install-strip-target-libgcc \ |
| maybe-install-strip-target-libbacktrace \ |
| maybe-install-strip-target-libquadmath \ |
| maybe-install-strip-target-libgfortran \ |
| maybe-install-strip-target-libobjc \ |
| maybe-install-strip-target-libgo \ |
| maybe-install-strip-target-libtermcap \ |
| maybe-install-strip-target-winsup \ |
| maybe-install-strip-target-libgloss \ |
| maybe-install-strip-target-libffi \ |
| maybe-install-strip-target-libjava \ |
| maybe-install-strip-target-zlib \ |
| maybe-install-strip-target-boehm-gc \ |
| maybe-install-strip-target-rda \ |
| maybe-install-strip-target-libada \ |
| maybe-install-strip-target-libgomp \ |
| maybe-install-strip-target-libitm \ |
| maybe-install-strip-target-libatomic |
| |
| |
| ### other supporting targets |
| |
| MAKEDIRS= \ |
| $(DESTDIR)$(prefix) \ |
| $(DESTDIR)$(exec_prefix) |
| .PHONY: installdirs |
| installdirs: mkinstalldirs |
| $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS) |
| |
| dir.info: do-install-info |
| if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \ |
| $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \ |
| mv -f dir.info.new dir.info ; \ |
| else true ; \ |
| fi |
| |
| dist: |
| @echo "Building a full distribution of this tree isn't done" |
| @echo "via 'make dist'. Check out the etc/ subdirectory" |
| |
| etags tags: TAGS |
| |
| # Right now this just builds TAGS in each subdirectory. emacs19 has the |
| # ability to use several tags files at once, so there is probably no need |
| # to combine them into one big TAGS file (like CVS 1.3 does). We could |
| # (if we felt like it) have this Makefile write a piece of elisp which |
| # the user could load to tell emacs19 where all the TAGS files we just |
| # built are. |
| TAGS: do-TAGS |
| |
| # ------------------------------------ |
| # Macros for configure and all targets |
| # ------------------------------------ |
| |
| |
| |
| |
| |
| # -------------------------------------- |
| # Modules which run on the build machine |
| # -------------------------------------- |
| |
| |
| .PHONY: configure-build-libiberty maybe-configure-build-libiberty |
| maybe-configure-build-libiberty: |
| @if gcc-bootstrap |
| configure-build-libiberty: stage_current |
| @endif gcc-bootstrap |
| @if build-libiberty |
| maybe-configure-build-libiberty: configure-build-libiberty |
| configure-build-libiberty: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \ |
| $(BUILD_EXPORTS) \ |
| echo Configuring in $(BUILD_SUBDIR)/libiberty; \ |
| cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libiberty; \ |
| rm -f no-such-file || : ; \ |
| CONFIG_SITE=no-such-file $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif build-libiberty |
| |
| |
| |
| |
| |
| .PHONY: all-build-libiberty maybe-all-build-libiberty |
| maybe-all-build-libiberty: |
| @if gcc-bootstrap |
| all-build-libiberty: stage_current |
| @endif gcc-bootstrap |
| @if build-libiberty |
| TARGET-build-libiberty=all |
| maybe-all-build-libiberty: all-build-libiberty |
| all-build-libiberty: configure-build-libiberty |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(BUILD_EXPORTS) \ |
| (cd $(BUILD_SUBDIR)/libiberty && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ |
| $(TARGET-build-libiberty)) |
| @endif build-libiberty |
| |
| |
| |
| |
| |
| .PHONY: configure-build-bison maybe-configure-build-bison |
| maybe-configure-build-bison: |
| @if gcc-bootstrap |
| configure-build-bison: stage_current |
| @endif gcc-bootstrap |
| @if build-bison |
| maybe-configure-build-bison: configure-build-bison |
| configure-build-bison: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \ |
| $(BUILD_EXPORTS) \ |
| echo Configuring in $(BUILD_SUBDIR)/bison; \ |
| cd "$(BUILD_SUBDIR)/bison" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=bison; \ |
| rm -f no-such-file || : ; \ |
| CONFIG_SITE=no-such-file $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif build-bison |
| |
| |
| |
| |
| |
| .PHONY: all-build-bison maybe-all-build-bison |
| maybe-all-build-bison: |
| @if gcc-bootstrap |
| all-build-bison: stage_current |
| @endif gcc-bootstrap |
| @if build-bison |
| TARGET-build-bison=all |
| maybe-all-build-bison: all-build-bison |
| all-build-bison: configure-build-bison |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(BUILD_EXPORTS) \ |
| (cd $(BUILD_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ |
| $(TARGET-build-bison)) |
| @endif build-bison |
| |
| |
| |
| |
| |
| .PHONY: configure-build-flex maybe-configure-build-flex |
| maybe-configure-build-flex: |
| @if gcc-bootstrap |
| configure-build-flex: stage_current |
| @endif gcc-bootstrap |
| @if build-flex |
| maybe-configure-build-flex: configure-build-flex |
| configure-build-flex: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \ |
| $(BUILD_EXPORTS) \ |
| echo Configuring in $(BUILD_SUBDIR)/flex; \ |
| cd "$(BUILD_SUBDIR)/flex" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=flex; \ |
| rm -f no-such-file || : ; \ |
| CONFIG_SITE=no-such-file $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif build-flex |
| |
| |
| |
| |
| |
| .PHONY: all-build-flex maybe-all-build-flex |
| maybe-all-build-flex: |
| @if gcc-bootstrap |
| all-build-flex: stage_current |
| @endif gcc-bootstrap |
| @if build-flex |
| TARGET-build-flex=all |
| maybe-all-build-flex: all-build-flex |
| all-build-flex: configure-build-flex |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(BUILD_EXPORTS) \ |
| (cd $(BUILD_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ |
| $(TARGET-build-flex)) |
| @endif build-flex |
| |
| |
| |
| |
| |
| .PHONY: configure-build-m4 maybe-configure-build-m4 |
| maybe-configure-build-m4: |
| @if gcc-bootstrap |
| configure-build-m4: stage_current |
| @endif gcc-bootstrap |
| @if build-m4 |
| maybe-configure-build-m4: configure-build-m4 |
| configure-build-m4: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \ |
| $(BUILD_EXPORTS) \ |
| echo Configuring in $(BUILD_SUBDIR)/m4; \ |
| cd "$(BUILD_SUBDIR)/m4" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=m4; \ |
| rm -f no-such-file || : ; \ |
| CONFIG_SITE=no-such-file $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif build-m4 |
| |
| |
| |
| |
| |
| .PHONY: all-build-m4 maybe-all-build-m4 |
| maybe-all-build-m4: |
| @if gcc-bootstrap |
| all-build-m4: stage_current |
| @endif gcc-bootstrap |
| @if build-m4 |
| TARGET-build-m4=all |
| maybe-all-build-m4: all-build-m4 |
| all-build-m4: configure-build-m4 |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(BUILD_EXPORTS) \ |
| (cd $(BUILD_SUBDIR)/m4 && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ |
| $(TARGET-build-m4)) |
| @endif build-m4 |
| |
| |
| |
| |
| |
| .PHONY: configure-build-texinfo maybe-configure-build-texinfo |
| maybe-configure-build-texinfo: |
| @if gcc-bootstrap |
| configure-build-texinfo: stage_current |
| @endif gcc-bootstrap |
| @if build-texinfo |
| maybe-configure-build-texinfo: configure-build-texinfo |
| configure-build-texinfo: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \ |
| $(BUILD_EXPORTS) \ |
| echo Configuring in $(BUILD_SUBDIR)/texinfo; \ |
| cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=texinfo; \ |
| rm -f no-such-file || : ; \ |
| CONFIG_SITE=no-such-file $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif build-texinfo |
| |
| |
| |
| |
| |
| .PHONY: all-build-texinfo maybe-all-build-texinfo |
| maybe-all-build-texinfo: |
| @if gcc-bootstrap |
| all-build-texinfo: stage_current |
| @endif gcc-bootstrap |
| @if build-texinfo |
| TARGET-build-texinfo=all |
| maybe-all-build-texinfo: all-build-texinfo |
| all-build-texinfo: configure-build-texinfo |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(BUILD_EXPORTS) \ |
| (cd $(BUILD_SUBDIR)/texinfo && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ |
| $(TARGET-build-texinfo)) |
| @endif build-texinfo |
| |
| |
| |
| |
| |
| .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes |
| maybe-configure-build-fixincludes: |
| @if gcc-bootstrap |
| configure-build-fixincludes: stage_current |
| @endif gcc-bootstrap |
| @if build-fixincludes |
| maybe-configure-build-fixincludes: configure-build-fixincludes |
| configure-build-fixincludes: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \ |
| $(BUILD_EXPORTS) \ |
| echo Configuring in $(BUILD_SUBDIR)/fixincludes; \ |
| cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=fixincludes; \ |
| rm -f no-such-file || : ; \ |
| CONFIG_SITE=no-such-file $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif build-fixincludes |
| |
| |
| |
| |
| |
| .PHONY: all-build-fixincludes maybe-all-build-fixincludes |
| maybe-all-build-fixincludes: |
| @if gcc-bootstrap |
| all-build-fixincludes: stage_current |
| @endif gcc-bootstrap |
| @if build-fixincludes |
| TARGET-build-fixincludes=all |
| maybe-all-build-fixincludes: all-build-fixincludes |
| all-build-fixincludes: configure-build-fixincludes |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(BUILD_EXPORTS) \ |
| (cd $(BUILD_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ |
| $(TARGET-build-fixincludes)) |
| @endif build-fixincludes |
| |
| |
| |
| |
| |
| # -------------------------------------- |
| # Modules which run on the host machine |
| # -------------------------------------- |
| |
| |
| .PHONY: configure-bfd maybe-configure-bfd |
| maybe-configure-bfd: |
| @if gcc-bootstrap |
| configure-bfd: stage_current |
| @endif gcc-bootstrap |
| @if bfd |
| maybe-configure-bfd: configure-bfd |
| configure-bfd: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/bfd; \ |
| cd "$(HOST_SUBDIR)/bfd" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=bfd; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif bfd |
| |
| |
| |
| .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd |
| maybe-configure-stage1-bfd: |
| @if bfd-bootstrap |
| maybe-configure-stage1-bfd: configure-stage1-bfd |
| configure-stage1-bfd: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ |
| cd $(HOST_SUBDIR)/bfd || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=bfd; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) |
| @endif bfd-bootstrap |
| |
| .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd |
| maybe-configure-stage2-bfd: |
| @if bfd-bootstrap |
| maybe-configure-stage2-bfd: configure-stage2-bfd |
| configure-stage2-bfd: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ |
| cd $(HOST_SUBDIR)/bfd || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=bfd; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) |
| @endif bfd-bootstrap |
| |
| .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd |
| maybe-configure-stage3-bfd: |
| @if bfd-bootstrap |
| maybe-configure-stage3-bfd: configure-stage3-bfd |
| configure-stage3-bfd: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ |
| cd $(HOST_SUBDIR)/bfd || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=bfd; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) |
| @endif bfd-bootstrap |
| |
| .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd |
| maybe-configure-stage4-bfd: |
| @if bfd-bootstrap |
| maybe-configure-stage4-bfd: configure-stage4-bfd |
| configure-stage4-bfd: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ |
| cd $(HOST_SUBDIR)/bfd || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=bfd; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) |
| @endif bfd-bootstrap |
| |
| .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd |
| maybe-configure-stageprofile-bfd: |
| @if bfd-bootstrap |
| maybe-configure-stageprofile-bfd: configure-stageprofile-bfd |
| configure-stageprofile-bfd: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ |
| cd $(HOST_SUBDIR)/bfd || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=bfd; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) |
| @endif bfd-bootstrap |
| |
| .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd |
| maybe-configure-stagefeedback-bfd: |
| @if bfd-bootstrap |
| maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd |
| configure-stagefeedback-bfd: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ |
| cd $(HOST_SUBDIR)/bfd || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=bfd; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) |
| @endif bfd-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-bfd maybe-all-bfd |
| maybe-all-bfd: |
| @if gcc-bootstrap |
| all-bfd: stage_current |
| @endif gcc-bootstrap |
| @if bfd |
| TARGET-bfd=all |
| maybe-all-bfd: all-bfd |
| all-bfd: configure-bfd |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-bfd)) |
| @endif bfd |
| |
| |
| |
| .PHONY: all-stage1-bfd maybe-all-stage1-bfd |
| .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd |
| maybe-all-stage1-bfd: |
| maybe-clean-stage1-bfd: |
| @if bfd-bootstrap |
| maybe-all-stage1-bfd: all-stage1-bfd |
| all-stage1: all-stage1-bfd |
| TARGET-stage1-bfd = $(TARGET-bfd) |
| all-stage1-bfd: configure-stage1-bfd |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-bfd) |
| |
| maybe-clean-stage1-bfd: clean-stage1-bfd |
| clean-stage1: clean-stage1-bfd |
| clean-stage1-bfd: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) clean |
| @endif bfd-bootstrap |
| |
| |
| .PHONY: all-stage2-bfd maybe-all-stage2-bfd |
| .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd |
| maybe-all-stage2-bfd: |
| maybe-clean-stage2-bfd: |
| @if bfd-bootstrap |
| maybe-all-stage2-bfd: all-stage2-bfd |
| all-stage2: all-stage2-bfd |
| TARGET-stage2-bfd = $(TARGET-bfd) |
| all-stage2-bfd: configure-stage2-bfd |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-bfd) |
| |
| maybe-clean-stage2-bfd: clean-stage2-bfd |
| clean-stage2: clean-stage2-bfd |
| clean-stage2-bfd: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif bfd-bootstrap |
| |
| |
| .PHONY: all-stage3-bfd maybe-all-stage3-bfd |
| .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd |
| maybe-all-stage3-bfd: |
| maybe-clean-stage3-bfd: |
| @if bfd-bootstrap |
| maybe-all-stage3-bfd: all-stage3-bfd |
| all-stage3: all-stage3-bfd |
| TARGET-stage3-bfd = $(TARGET-bfd) |
| all-stage3-bfd: configure-stage3-bfd |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-bfd) |
| |
| maybe-clean-stage3-bfd: clean-stage3-bfd |
| clean-stage3: clean-stage3-bfd |
| clean-stage3-bfd: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif bfd-bootstrap |
| |
| |
| .PHONY: all-stage4-bfd maybe-all-stage4-bfd |
| .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd |
| maybe-all-stage4-bfd: |
| maybe-clean-stage4-bfd: |
| @if bfd-bootstrap |
| maybe-all-stage4-bfd: all-stage4-bfd |
| all-stage4: all-stage4-bfd |
| TARGET-stage4-bfd = $(TARGET-bfd) |
| all-stage4-bfd: configure-stage4-bfd |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-bfd) |
| |
| maybe-clean-stage4-bfd: clean-stage4-bfd |
| clean-stage4: clean-stage4-bfd |
| clean-stage4-bfd: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif bfd-bootstrap |
| |
| |
| .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd |
| .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd |
| maybe-all-stageprofile-bfd: |
| maybe-clean-stageprofile-bfd: |
| @if bfd-bootstrap |
| maybe-all-stageprofile-bfd: all-stageprofile-bfd |
| all-stageprofile: all-stageprofile-bfd |
| TARGET-stageprofile-bfd = $(TARGET-bfd) |
| all-stageprofile-bfd: configure-stageprofile-bfd |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-bfd) |
| |
| maybe-clean-stageprofile-bfd: clean-stageprofile-bfd |
| clean-stageprofile: clean-stageprofile-bfd |
| clean-stageprofile-bfd: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif bfd-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd |
| .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd |
| maybe-all-stagefeedback-bfd: |
| maybe-clean-stagefeedback-bfd: |
| @if bfd-bootstrap |
| maybe-all-stagefeedback-bfd: all-stagefeedback-bfd |
| all-stagefeedback: all-stagefeedback-bfd |
| TARGET-stagefeedback-bfd = $(TARGET-bfd) |
| all-stagefeedback-bfd: configure-stagefeedback-bfd |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-bfd) |
| |
| maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd |
| clean-stagefeedback: clean-stagefeedback-bfd |
| clean-stagefeedback-bfd: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif bfd-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-bfd maybe-check-bfd |
| maybe-check-bfd: |
| @if bfd |
| maybe-check-bfd: check-bfd |
| |
| check-bfd: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif bfd |
| |
| .PHONY: install-bfd maybe-install-bfd |
| maybe-install-bfd: |
| @if bfd |
| maybe-install-bfd: install-bfd |
| |
| install-bfd: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif bfd |
| |
| .PHONY: install-strip-bfd maybe-install-strip-bfd |
| maybe-install-strip-bfd: |
| @if bfd |
| maybe-install-strip-bfd: install-strip-bfd |
| |
| install-strip-bfd: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif bfd |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-bfd info-bfd |
| maybe-info-bfd: |
| @if bfd |
| maybe-info-bfd: info-bfd |
| |
| info-bfd: \ |
| configure-bfd |
| @[ -f ./bfd/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in bfd" ; \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif bfd |
| |
| .PHONY: maybe-dvi-bfd dvi-bfd |
| maybe-dvi-bfd: |
| @if bfd |
| maybe-dvi-bfd: dvi-bfd |
| |
| dvi-bfd: \ |
| configure-bfd |
| @[ -f ./bfd/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in bfd" ; \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif bfd |
| |
| .PHONY: maybe-pdf-bfd pdf-bfd |
| maybe-pdf-bfd: |
| @if bfd |
| maybe-pdf-bfd: pdf-bfd |
| |
| pdf-bfd: \ |
| configure-bfd |
| @[ -f ./bfd/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in bfd" ; \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif bfd |
| |
| .PHONY: maybe-html-bfd html-bfd |
| maybe-html-bfd: |
| @if bfd |
| maybe-html-bfd: html-bfd |
| |
| html-bfd: \ |
| configure-bfd |
| @[ -f ./bfd/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in bfd" ; \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif bfd |
| |
| .PHONY: maybe-TAGS-bfd TAGS-bfd |
| maybe-TAGS-bfd: |
| @if bfd |
| maybe-TAGS-bfd: TAGS-bfd |
| |
| TAGS-bfd: \ |
| configure-bfd |
| @[ -f ./bfd/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in bfd" ; \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif bfd |
| |
| .PHONY: maybe-install-info-bfd install-info-bfd |
| maybe-install-info-bfd: |
| @if bfd |
| maybe-install-info-bfd: install-info-bfd |
| |
| install-info-bfd: \ |
| configure-bfd \ |
| info-bfd |
| @[ -f ./bfd/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in bfd" ; \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif bfd |
| |
| .PHONY: maybe-install-pdf-bfd install-pdf-bfd |
| maybe-install-pdf-bfd: |
| @if bfd |
| maybe-install-pdf-bfd: install-pdf-bfd |
| |
| install-pdf-bfd: \ |
| configure-bfd \ |
| pdf-bfd |
| @[ -f ./bfd/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in bfd" ; \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif bfd |
| |
| .PHONY: maybe-install-html-bfd install-html-bfd |
| maybe-install-html-bfd: |
| @if bfd |
| maybe-install-html-bfd: install-html-bfd |
| |
| install-html-bfd: \ |
| configure-bfd \ |
| html-bfd |
| @[ -f ./bfd/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in bfd" ; \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif bfd |
| |
| .PHONY: maybe-installcheck-bfd installcheck-bfd |
| maybe-installcheck-bfd: |
| @if bfd |
| maybe-installcheck-bfd: installcheck-bfd |
| |
| installcheck-bfd: \ |
| configure-bfd |
| @[ -f ./bfd/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in bfd" ; \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif bfd |
| |
| .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd |
| maybe-mostlyclean-bfd: |
| @if bfd |
| maybe-mostlyclean-bfd: mostlyclean-bfd |
| |
| mostlyclean-bfd: |
| @[ -f ./bfd/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in bfd" ; \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif bfd |
| |
| .PHONY: maybe-clean-bfd clean-bfd |
| maybe-clean-bfd: |
| @if bfd |
| maybe-clean-bfd: clean-bfd |
| |
| clean-bfd: |
| @[ -f ./bfd/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in bfd" ; \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif bfd |
| |
| .PHONY: maybe-distclean-bfd distclean-bfd |
| maybe-distclean-bfd: |
| @if bfd |
| maybe-distclean-bfd: distclean-bfd |
| |
| distclean-bfd: |
| @[ -f ./bfd/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in bfd" ; \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif bfd |
| |
| .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd |
| maybe-maintainer-clean-bfd: |
| @if bfd |
| maybe-maintainer-clean-bfd: maintainer-clean-bfd |
| |
| maintainer-clean-bfd: |
| @[ -f ./bfd/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in bfd" ; \ |
| (cd $(HOST_SUBDIR)/bfd && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif bfd |
| |
| |
| |
| .PHONY: configure-opcodes maybe-configure-opcodes |
| maybe-configure-opcodes: |
| @if gcc-bootstrap |
| configure-opcodes: stage_current |
| @endif gcc-bootstrap |
| @if opcodes |
| maybe-configure-opcodes: configure-opcodes |
| configure-opcodes: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/opcodes; \ |
| cd "$(HOST_SUBDIR)/opcodes" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=opcodes; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif opcodes |
| |
| |
| |
| .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes |
| maybe-configure-stage1-opcodes: |
| @if opcodes-bootstrap |
| maybe-configure-stage1-opcodes: configure-stage1-opcodes |
| configure-stage1-opcodes: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ |
| cd $(HOST_SUBDIR)/opcodes || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=opcodes; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) |
| @endif opcodes-bootstrap |
| |
| .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes |
| maybe-configure-stage2-opcodes: |
| @if opcodes-bootstrap |
| maybe-configure-stage2-opcodes: configure-stage2-opcodes |
| configure-stage2-opcodes: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ |
| cd $(HOST_SUBDIR)/opcodes || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=opcodes; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) |
| @endif opcodes-bootstrap |
| |
| .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes |
| maybe-configure-stage3-opcodes: |
| @if opcodes-bootstrap |
| maybe-configure-stage3-opcodes: configure-stage3-opcodes |
| configure-stage3-opcodes: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ |
| cd $(HOST_SUBDIR)/opcodes || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=opcodes; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) |
| @endif opcodes-bootstrap |
| |
| .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes |
| maybe-configure-stage4-opcodes: |
| @if opcodes-bootstrap |
| maybe-configure-stage4-opcodes: configure-stage4-opcodes |
| configure-stage4-opcodes: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ |
| cd $(HOST_SUBDIR)/opcodes || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=opcodes; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) |
| @endif opcodes-bootstrap |
| |
| .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes |
| maybe-configure-stageprofile-opcodes: |
| @if opcodes-bootstrap |
| maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes |
| configure-stageprofile-opcodes: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ |
| cd $(HOST_SUBDIR)/opcodes || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=opcodes; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) |
| @endif opcodes-bootstrap |
| |
| .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes |
| maybe-configure-stagefeedback-opcodes: |
| @if opcodes-bootstrap |
| maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes |
| configure-stagefeedback-opcodes: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ |
| cd $(HOST_SUBDIR)/opcodes || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=opcodes; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) |
| @endif opcodes-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-opcodes maybe-all-opcodes |
| maybe-all-opcodes: |
| @if gcc-bootstrap |
| all-opcodes: stage_current |
| @endif gcc-bootstrap |
| @if opcodes |
| TARGET-opcodes=all |
| maybe-all-opcodes: all-opcodes |
| all-opcodes: configure-opcodes |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-opcodes)) |
| @endif opcodes |
| |
| |
| |
| .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes |
| .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes |
| maybe-all-stage1-opcodes: |
| maybe-clean-stage1-opcodes: |
| @if opcodes-bootstrap |
| maybe-all-stage1-opcodes: all-stage1-opcodes |
| all-stage1: all-stage1-opcodes |
| TARGET-stage1-opcodes = $(TARGET-opcodes) |
| all-stage1-opcodes: configure-stage1-opcodes |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-opcodes) |
| |
| maybe-clean-stage1-opcodes: clean-stage1-opcodes |
| clean-stage1: clean-stage1-opcodes |
| clean-stage1-opcodes: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) clean |
| @endif opcodes-bootstrap |
| |
| |
| .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes |
| .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes |
| maybe-all-stage2-opcodes: |
| maybe-clean-stage2-opcodes: |
| @if opcodes-bootstrap |
| maybe-all-stage2-opcodes: all-stage2-opcodes |
| all-stage2: all-stage2-opcodes |
| TARGET-stage2-opcodes = $(TARGET-opcodes) |
| all-stage2-opcodes: configure-stage2-opcodes |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-opcodes) |
| |
| maybe-clean-stage2-opcodes: clean-stage2-opcodes |
| clean-stage2: clean-stage2-opcodes |
| clean-stage2-opcodes: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif opcodes-bootstrap |
| |
| |
| .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes |
| .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes |
| maybe-all-stage3-opcodes: |
| maybe-clean-stage3-opcodes: |
| @if opcodes-bootstrap |
| maybe-all-stage3-opcodes: all-stage3-opcodes |
| all-stage3: all-stage3-opcodes |
| TARGET-stage3-opcodes = $(TARGET-opcodes) |
| all-stage3-opcodes: configure-stage3-opcodes |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-opcodes) |
| |
| maybe-clean-stage3-opcodes: clean-stage3-opcodes |
| clean-stage3: clean-stage3-opcodes |
| clean-stage3-opcodes: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif opcodes-bootstrap |
| |
| |
| .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes |
| .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes |
| maybe-all-stage4-opcodes: |
| maybe-clean-stage4-opcodes: |
| @if opcodes-bootstrap |
| maybe-all-stage4-opcodes: all-stage4-opcodes |
| all-stage4: all-stage4-opcodes |
| TARGET-stage4-opcodes = $(TARGET-opcodes) |
| all-stage4-opcodes: configure-stage4-opcodes |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-opcodes) |
| |
| maybe-clean-stage4-opcodes: clean-stage4-opcodes |
| clean-stage4: clean-stage4-opcodes |
| clean-stage4-opcodes: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif opcodes-bootstrap |
| |
| |
| .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes |
| .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes |
| maybe-all-stageprofile-opcodes: |
| maybe-clean-stageprofile-opcodes: |
| @if opcodes-bootstrap |
| maybe-all-stageprofile-opcodes: all-stageprofile-opcodes |
| all-stageprofile: all-stageprofile-opcodes |
| TARGET-stageprofile-opcodes = $(TARGET-opcodes) |
| all-stageprofile-opcodes: configure-stageprofile-opcodes |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-opcodes) |
| |
| maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes |
| clean-stageprofile: clean-stageprofile-opcodes |
| clean-stageprofile-opcodes: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif opcodes-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes |
| .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes |
| maybe-all-stagefeedback-opcodes: |
| maybe-clean-stagefeedback-opcodes: |
| @if opcodes-bootstrap |
| maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes |
| all-stagefeedback: all-stagefeedback-opcodes |
| TARGET-stagefeedback-opcodes = $(TARGET-opcodes) |
| all-stagefeedback-opcodes: configure-stagefeedback-opcodes |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-opcodes) |
| |
| maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes |
| clean-stagefeedback: clean-stagefeedback-opcodes |
| clean-stagefeedback-opcodes: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif opcodes-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-opcodes maybe-check-opcodes |
| maybe-check-opcodes: |
| @if opcodes |
| maybe-check-opcodes: check-opcodes |
| |
| check-opcodes: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif opcodes |
| |
| .PHONY: install-opcodes maybe-install-opcodes |
| maybe-install-opcodes: |
| @if opcodes |
| maybe-install-opcodes: install-opcodes |
| |
| install-opcodes: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif opcodes |
| |
| .PHONY: install-strip-opcodes maybe-install-strip-opcodes |
| maybe-install-strip-opcodes: |
| @if opcodes |
| maybe-install-strip-opcodes: install-strip-opcodes |
| |
| install-strip-opcodes: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif opcodes |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-opcodes info-opcodes |
| maybe-info-opcodes: |
| @if opcodes |
| maybe-info-opcodes: info-opcodes |
| |
| info-opcodes: \ |
| configure-opcodes |
| @[ -f ./opcodes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in opcodes" ; \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif opcodes |
| |
| .PHONY: maybe-dvi-opcodes dvi-opcodes |
| maybe-dvi-opcodes: |
| @if opcodes |
| maybe-dvi-opcodes: dvi-opcodes |
| |
| dvi-opcodes: \ |
| configure-opcodes |
| @[ -f ./opcodes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in opcodes" ; \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif opcodes |
| |
| .PHONY: maybe-pdf-opcodes pdf-opcodes |
| maybe-pdf-opcodes: |
| @if opcodes |
| maybe-pdf-opcodes: pdf-opcodes |
| |
| pdf-opcodes: \ |
| configure-opcodes |
| @[ -f ./opcodes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in opcodes" ; \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif opcodes |
| |
| .PHONY: maybe-html-opcodes html-opcodes |
| maybe-html-opcodes: |
| @if opcodes |
| maybe-html-opcodes: html-opcodes |
| |
| html-opcodes: \ |
| configure-opcodes |
| @[ -f ./opcodes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in opcodes" ; \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif opcodes |
| |
| .PHONY: maybe-TAGS-opcodes TAGS-opcodes |
| maybe-TAGS-opcodes: |
| @if opcodes |
| maybe-TAGS-opcodes: TAGS-opcodes |
| |
| TAGS-opcodes: \ |
| configure-opcodes |
| @[ -f ./opcodes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in opcodes" ; \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif opcodes |
| |
| .PHONY: maybe-install-info-opcodes install-info-opcodes |
| maybe-install-info-opcodes: |
| @if opcodes |
| maybe-install-info-opcodes: install-info-opcodes |
| |
| install-info-opcodes: \ |
| configure-opcodes \ |
| info-opcodes |
| @[ -f ./opcodes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in opcodes" ; \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif opcodes |
| |
| .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes |
| maybe-install-pdf-opcodes: |
| @if opcodes |
| maybe-install-pdf-opcodes: install-pdf-opcodes |
| |
| install-pdf-opcodes: \ |
| configure-opcodes \ |
| pdf-opcodes |
| @[ -f ./opcodes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in opcodes" ; \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif opcodes |
| |
| .PHONY: maybe-install-html-opcodes install-html-opcodes |
| maybe-install-html-opcodes: |
| @if opcodes |
| maybe-install-html-opcodes: install-html-opcodes |
| |
| install-html-opcodes: \ |
| configure-opcodes \ |
| html-opcodes |
| @[ -f ./opcodes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in opcodes" ; \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif opcodes |
| |
| .PHONY: maybe-installcheck-opcodes installcheck-opcodes |
| maybe-installcheck-opcodes: |
| @if opcodes |
| maybe-installcheck-opcodes: installcheck-opcodes |
| |
| installcheck-opcodes: \ |
| configure-opcodes |
| @[ -f ./opcodes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in opcodes" ; \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif opcodes |
| |
| .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes |
| maybe-mostlyclean-opcodes: |
| @if opcodes |
| maybe-mostlyclean-opcodes: mostlyclean-opcodes |
| |
| mostlyclean-opcodes: |
| @[ -f ./opcodes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in opcodes" ; \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif opcodes |
| |
| .PHONY: maybe-clean-opcodes clean-opcodes |
| maybe-clean-opcodes: |
| @if opcodes |
| maybe-clean-opcodes: clean-opcodes |
| |
| clean-opcodes: |
| @[ -f ./opcodes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in opcodes" ; \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif opcodes |
| |
| .PHONY: maybe-distclean-opcodes distclean-opcodes |
| maybe-distclean-opcodes: |
| @if opcodes |
| maybe-distclean-opcodes: distclean-opcodes |
| |
| distclean-opcodes: |
| @[ -f ./opcodes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in opcodes" ; \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif opcodes |
| |
| .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes |
| maybe-maintainer-clean-opcodes: |
| @if opcodes |
| maybe-maintainer-clean-opcodes: maintainer-clean-opcodes |
| |
| maintainer-clean-opcodes: |
| @[ -f ./opcodes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in opcodes" ; \ |
| (cd $(HOST_SUBDIR)/opcodes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif opcodes |
| |
| |
| |
| .PHONY: configure-binutils maybe-configure-binutils |
| maybe-configure-binutils: |
| @if gcc-bootstrap |
| configure-binutils: stage_current |
| @endif gcc-bootstrap |
| @if binutils |
| maybe-configure-binutils: configure-binutils |
| configure-binutils: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/binutils; \ |
| cd "$(HOST_SUBDIR)/binutils" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=binutils; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif binutils |
| |
| |
| |
| .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils |
| maybe-configure-stage1-binutils: |
| @if binutils-bootstrap |
| maybe-configure-stage1-binutils: configure-stage1-binutils |
| configure-stage1-binutils: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ |
| cd $(HOST_SUBDIR)/binutils || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=binutils; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) |
| @endif binutils-bootstrap |
| |
| .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils |
| maybe-configure-stage2-binutils: |
| @if binutils-bootstrap |
| maybe-configure-stage2-binutils: configure-stage2-binutils |
| configure-stage2-binutils: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ |
| cd $(HOST_SUBDIR)/binutils || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=binutils; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) |
| @endif binutils-bootstrap |
| |
| .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils |
| maybe-configure-stage3-binutils: |
| @if binutils-bootstrap |
| maybe-configure-stage3-binutils: configure-stage3-binutils |
| configure-stage3-binutils: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ |
| cd $(HOST_SUBDIR)/binutils || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=binutils; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) |
| @endif binutils-bootstrap |
| |
| .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils |
| maybe-configure-stage4-binutils: |
| @if binutils-bootstrap |
| maybe-configure-stage4-binutils: configure-stage4-binutils |
| configure-stage4-binutils: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ |
| cd $(HOST_SUBDIR)/binutils || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=binutils; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) |
| @endif binutils-bootstrap |
| |
| .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils |
| maybe-configure-stageprofile-binutils: |
| @if binutils-bootstrap |
| maybe-configure-stageprofile-binutils: configure-stageprofile-binutils |
| configure-stageprofile-binutils: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ |
| cd $(HOST_SUBDIR)/binutils || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=binutils; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) |
| @endif binutils-bootstrap |
| |
| .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils |
| maybe-configure-stagefeedback-binutils: |
| @if binutils-bootstrap |
| maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils |
| configure-stagefeedback-binutils: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ |
| cd $(HOST_SUBDIR)/binutils || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=binutils; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) |
| @endif binutils-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-binutils maybe-all-binutils |
| maybe-all-binutils: |
| @if gcc-bootstrap |
| all-binutils: stage_current |
| @endif gcc-bootstrap |
| @if binutils |
| TARGET-binutils=all |
| maybe-all-binutils: all-binutils |
| all-binutils: configure-binutils |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-binutils)) |
| @endif binutils |
| |
| |
| |
| .PHONY: all-stage1-binutils maybe-all-stage1-binutils |
| .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils |
| maybe-all-stage1-binutils: |
| maybe-clean-stage1-binutils: |
| @if binutils-bootstrap |
| maybe-all-stage1-binutils: all-stage1-binutils |
| all-stage1: all-stage1-binutils |
| TARGET-stage1-binutils = $(TARGET-binutils) |
| all-stage1-binutils: configure-stage1-binutils |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-binutils) |
| |
| maybe-clean-stage1-binutils: clean-stage1-binutils |
| clean-stage1: clean-stage1-binutils |
| clean-stage1-binutils: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) clean |
| @endif binutils-bootstrap |
| |
| |
| .PHONY: all-stage2-binutils maybe-all-stage2-binutils |
| .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils |
| maybe-all-stage2-binutils: |
| maybe-clean-stage2-binutils: |
| @if binutils-bootstrap |
| maybe-all-stage2-binutils: all-stage2-binutils |
| all-stage2: all-stage2-binutils |
| TARGET-stage2-binutils = $(TARGET-binutils) |
| all-stage2-binutils: configure-stage2-binutils |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-binutils) |
| |
| maybe-clean-stage2-binutils: clean-stage2-binutils |
| clean-stage2: clean-stage2-binutils |
| clean-stage2-binutils: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif binutils-bootstrap |
| |
| |
| .PHONY: all-stage3-binutils maybe-all-stage3-binutils |
| .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils |
| maybe-all-stage3-binutils: |
| maybe-clean-stage3-binutils: |
| @if binutils-bootstrap |
| maybe-all-stage3-binutils: all-stage3-binutils |
| all-stage3: all-stage3-binutils |
| TARGET-stage3-binutils = $(TARGET-binutils) |
| all-stage3-binutils: configure-stage3-binutils |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-binutils) |
| |
| maybe-clean-stage3-binutils: clean-stage3-binutils |
| clean-stage3: clean-stage3-binutils |
| clean-stage3-binutils: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif binutils-bootstrap |
| |
| |
| .PHONY: all-stage4-binutils maybe-all-stage4-binutils |
| .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils |
| maybe-all-stage4-binutils: |
| maybe-clean-stage4-binutils: |
| @if binutils-bootstrap |
| maybe-all-stage4-binutils: all-stage4-binutils |
| all-stage4: all-stage4-binutils |
| TARGET-stage4-binutils = $(TARGET-binutils) |
| all-stage4-binutils: configure-stage4-binutils |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-binutils) |
| |
| maybe-clean-stage4-binutils: clean-stage4-binutils |
| clean-stage4: clean-stage4-binutils |
| clean-stage4-binutils: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif binutils-bootstrap |
| |
| |
| .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils |
| .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils |
| maybe-all-stageprofile-binutils: |
| maybe-clean-stageprofile-binutils: |
| @if binutils-bootstrap |
| maybe-all-stageprofile-binutils: all-stageprofile-binutils |
| all-stageprofile: all-stageprofile-binutils |
| TARGET-stageprofile-binutils = $(TARGET-binutils) |
| all-stageprofile-binutils: configure-stageprofile-binutils |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-binutils) |
| |
| maybe-clean-stageprofile-binutils: clean-stageprofile-binutils |
| clean-stageprofile: clean-stageprofile-binutils |
| clean-stageprofile-binutils: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif binutils-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils |
| .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils |
| maybe-all-stagefeedback-binutils: |
| maybe-clean-stagefeedback-binutils: |
| @if binutils-bootstrap |
| maybe-all-stagefeedback-binutils: all-stagefeedback-binutils |
| all-stagefeedback: all-stagefeedback-binutils |
| TARGET-stagefeedback-binutils = $(TARGET-binutils) |
| all-stagefeedback-binutils: configure-stagefeedback-binutils |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-binutils) |
| |
| maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils |
| clean-stagefeedback: clean-stagefeedback-binutils |
| clean-stagefeedback-binutils: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif binutils-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-binutils maybe-check-binutils |
| maybe-check-binutils: |
| @if binutils |
| maybe-check-binutils: check-binutils |
| |
| check-binutils: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif binutils |
| |
| .PHONY: install-binutils maybe-install-binutils |
| maybe-install-binutils: |
| @if binutils |
| maybe-install-binutils: install-binutils |
| |
| install-binutils: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif binutils |
| |
| .PHONY: install-strip-binutils maybe-install-strip-binutils |
| maybe-install-strip-binutils: |
| @if binutils |
| maybe-install-strip-binutils: install-strip-binutils |
| |
| install-strip-binutils: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif binutils |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-binutils info-binutils |
| maybe-info-binutils: |
| @if binutils |
| maybe-info-binutils: info-binutils |
| |
| info-binutils: \ |
| configure-binutils |
| @[ -f ./binutils/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in binutils" ; \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif binutils |
| |
| .PHONY: maybe-dvi-binutils dvi-binutils |
| maybe-dvi-binutils: |
| @if binutils |
| maybe-dvi-binutils: dvi-binutils |
| |
| dvi-binutils: \ |
| configure-binutils |
| @[ -f ./binutils/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in binutils" ; \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif binutils |
| |
| .PHONY: maybe-pdf-binutils pdf-binutils |
| maybe-pdf-binutils: |
| @if binutils |
| maybe-pdf-binutils: pdf-binutils |
| |
| pdf-binutils: \ |
| configure-binutils |
| @[ -f ./binutils/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in binutils" ; \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif binutils |
| |
| .PHONY: maybe-html-binutils html-binutils |
| maybe-html-binutils: |
| @if binutils |
| maybe-html-binutils: html-binutils |
| |
| html-binutils: \ |
| configure-binutils |
| @[ -f ./binutils/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in binutils" ; \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif binutils |
| |
| .PHONY: maybe-TAGS-binutils TAGS-binutils |
| maybe-TAGS-binutils: |
| @if binutils |
| maybe-TAGS-binutils: TAGS-binutils |
| |
| TAGS-binutils: \ |
| configure-binutils |
| @[ -f ./binutils/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in binutils" ; \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif binutils |
| |
| .PHONY: maybe-install-info-binutils install-info-binutils |
| maybe-install-info-binutils: |
| @if binutils |
| maybe-install-info-binutils: install-info-binutils |
| |
| install-info-binutils: \ |
| configure-binutils \ |
| info-binutils |
| @[ -f ./binutils/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in binutils" ; \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif binutils |
| |
| .PHONY: maybe-install-pdf-binutils install-pdf-binutils |
| maybe-install-pdf-binutils: |
| @if binutils |
| maybe-install-pdf-binutils: install-pdf-binutils |
| |
| install-pdf-binutils: \ |
| configure-binutils \ |
| pdf-binutils |
| @[ -f ./binutils/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in binutils" ; \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif binutils |
| |
| .PHONY: maybe-install-html-binutils install-html-binutils |
| maybe-install-html-binutils: |
| @if binutils |
| maybe-install-html-binutils: install-html-binutils |
| |
| install-html-binutils: \ |
| configure-binutils \ |
| html-binutils |
| @[ -f ./binutils/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in binutils" ; \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif binutils |
| |
| .PHONY: maybe-installcheck-binutils installcheck-binutils |
| maybe-installcheck-binutils: |
| @if binutils |
| maybe-installcheck-binutils: installcheck-binutils |
| |
| installcheck-binutils: \ |
| configure-binutils |
| @[ -f ./binutils/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in binutils" ; \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif binutils |
| |
| .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils |
| maybe-mostlyclean-binutils: |
| @if binutils |
| maybe-mostlyclean-binutils: mostlyclean-binutils |
| |
| mostlyclean-binutils: |
| @[ -f ./binutils/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in binutils" ; \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif binutils |
| |
| .PHONY: maybe-clean-binutils clean-binutils |
| maybe-clean-binutils: |
| @if binutils |
| maybe-clean-binutils: clean-binutils |
| |
| clean-binutils: |
| @[ -f ./binutils/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in binutils" ; \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif binutils |
| |
| .PHONY: maybe-distclean-binutils distclean-binutils |
| maybe-distclean-binutils: |
| @if binutils |
| maybe-distclean-binutils: distclean-binutils |
| |
| distclean-binutils: |
| @[ -f ./binutils/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in binutils" ; \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif binutils |
| |
| .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils |
| maybe-maintainer-clean-binutils: |
| @if binutils |
| maybe-maintainer-clean-binutils: maintainer-clean-binutils |
| |
| maintainer-clean-binutils: |
| @[ -f ./binutils/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in binutils" ; \ |
| (cd $(HOST_SUBDIR)/binutils && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif binutils |
| |
| |
| |
| .PHONY: configure-bison maybe-configure-bison |
| maybe-configure-bison: |
| @if gcc-bootstrap |
| configure-bison: stage_current |
| @endif gcc-bootstrap |
| @if bison |
| maybe-configure-bison: configure-bison |
| configure-bison: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/bison; \ |
| cd "$(HOST_SUBDIR)/bison" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/bison/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=bison; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif bison |
| |
| |
| |
| |
| |
| .PHONY: all-bison maybe-all-bison |
| maybe-all-bison: |
| @if gcc-bootstrap |
| all-bison: stage_current |
| @endif gcc-bootstrap |
| @if bison |
| TARGET-bison=all |
| maybe-all-bison: all-bison |
| all-bison: configure-bison |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-bison)) |
| @endif bison |
| |
| |
| |
| |
| .PHONY: check-bison maybe-check-bison |
| maybe-check-bison: |
| @if bison |
| maybe-check-bison: check-bison |
| |
| # This module is only tested in a native toolchain. |
| check-bison: |
| @: $(MAKE); $(unstage) |
| @if [ '$(host)' = '$(target)' ] ; then \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(FLAGS_TO_PASS) check); \ |
| fi |
| |
| @endif bison |
| |
| .PHONY: install-bison maybe-install-bison |
| maybe-install-bison: |
| @if bison |
| maybe-install-bison: install-bison |
| |
| install-bison: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif bison |
| |
| .PHONY: install-strip-bison maybe-install-strip-bison |
| maybe-install-strip-bison: |
| @if bison |
| maybe-install-strip-bison: install-strip-bison |
| |
| install-strip-bison: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif bison |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-bison info-bison |
| maybe-info-bison: |
| @if bison |
| maybe-info-bison: info-bison |
| |
| info-bison: \ |
| configure-bison |
| @: $(MAKE); $(unstage) |
| @[ -f ./bison/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in bison" ; \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif bison |
| |
| .PHONY: maybe-dvi-bison dvi-bison |
| maybe-dvi-bison: |
| @if bison |
| maybe-dvi-bison: dvi-bison |
| |
| dvi-bison: \ |
| configure-bison |
| @: $(MAKE); $(unstage) |
| @[ -f ./bison/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in bison" ; \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif bison |
| |
| .PHONY: maybe-pdf-bison pdf-bison |
| maybe-pdf-bison: |
| @if bison |
| maybe-pdf-bison: pdf-bison |
| |
| pdf-bison: \ |
| configure-bison |
| @: $(MAKE); $(unstage) |
| @[ -f ./bison/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in bison" ; \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif bison |
| |
| .PHONY: maybe-html-bison html-bison |
| maybe-html-bison: |
| @if bison |
| maybe-html-bison: html-bison |
| |
| html-bison: \ |
| configure-bison |
| @: $(MAKE); $(unstage) |
| @[ -f ./bison/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in bison" ; \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif bison |
| |
| .PHONY: maybe-TAGS-bison TAGS-bison |
| maybe-TAGS-bison: |
| @if bison |
| maybe-TAGS-bison: TAGS-bison |
| |
| TAGS-bison: \ |
| configure-bison |
| @: $(MAKE); $(unstage) |
| @[ -f ./bison/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in bison" ; \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif bison |
| |
| .PHONY: maybe-install-info-bison install-info-bison |
| maybe-install-info-bison: |
| @if bison |
| maybe-install-info-bison: install-info-bison |
| |
| install-info-bison: \ |
| configure-bison \ |
| info-bison |
| @: $(MAKE); $(unstage) |
| @[ -f ./bison/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in bison" ; \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif bison |
| |
| .PHONY: maybe-install-pdf-bison install-pdf-bison |
| maybe-install-pdf-bison: |
| @if bison |
| maybe-install-pdf-bison: install-pdf-bison |
| |
| install-pdf-bison: \ |
| configure-bison \ |
| pdf-bison |
| @: $(MAKE); $(unstage) |
| @[ -f ./bison/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in bison" ; \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif bison |
| |
| .PHONY: maybe-install-html-bison install-html-bison |
| maybe-install-html-bison: |
| @if bison |
| maybe-install-html-bison: install-html-bison |
| |
| install-html-bison: \ |
| configure-bison \ |
| html-bison |
| @: $(MAKE); $(unstage) |
| @[ -f ./bison/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in bison" ; \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif bison |
| |
| .PHONY: maybe-installcheck-bison installcheck-bison |
| maybe-installcheck-bison: |
| @if bison |
| maybe-installcheck-bison: installcheck-bison |
| |
| installcheck-bison: \ |
| configure-bison |
| @: $(MAKE); $(unstage) |
| @[ -f ./bison/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in bison" ; \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif bison |
| |
| .PHONY: maybe-mostlyclean-bison mostlyclean-bison |
| maybe-mostlyclean-bison: |
| @if bison |
| maybe-mostlyclean-bison: mostlyclean-bison |
| |
| mostlyclean-bison: |
| @: $(MAKE); $(unstage) |
| @[ -f ./bison/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in bison" ; \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif bison |
| |
| .PHONY: maybe-clean-bison clean-bison |
| maybe-clean-bison: |
| @if bison |
| maybe-clean-bison: clean-bison |
| |
| clean-bison: |
| @: $(MAKE); $(unstage) |
| @[ -f ./bison/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in bison" ; \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif bison |
| |
| .PHONY: maybe-distclean-bison distclean-bison |
| maybe-distclean-bison: |
| @if bison |
| maybe-distclean-bison: distclean-bison |
| |
| distclean-bison: |
| @: $(MAKE); $(unstage) |
| @[ -f ./bison/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in bison" ; \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif bison |
| |
| .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison |
| maybe-maintainer-clean-bison: |
| @if bison |
| maybe-maintainer-clean-bison: maintainer-clean-bison |
| |
| maintainer-clean-bison: |
| @: $(MAKE); $(unstage) |
| @[ -f ./bison/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in bison" ; \ |
| (cd $(HOST_SUBDIR)/bison && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif bison |
| |
| |
| |
| .PHONY: configure-cgen maybe-configure-cgen |
| maybe-configure-cgen: |
| @if gcc-bootstrap |
| configure-cgen: stage_current |
| @endif gcc-bootstrap |
| @if cgen |
| maybe-configure-cgen: configure-cgen |
| configure-cgen: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/cgen; \ |
| cd "$(HOST_SUBDIR)/cgen" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=cgen; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif cgen |
| |
| |
| |
| |
| |
| .PHONY: all-cgen maybe-all-cgen |
| maybe-all-cgen: |
| @if gcc-bootstrap |
| all-cgen: stage_current |
| @endif gcc-bootstrap |
| @if cgen |
| TARGET-cgen=all |
| maybe-all-cgen: all-cgen |
| all-cgen: configure-cgen |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-cgen)) |
| @endif cgen |
| |
| |
| |
| |
| .PHONY: check-cgen maybe-check-cgen |
| maybe-check-cgen: |
| @if cgen |
| maybe-check-cgen: check-cgen |
| |
| check-cgen: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif cgen |
| |
| .PHONY: install-cgen maybe-install-cgen |
| maybe-install-cgen: |
| @if cgen |
| maybe-install-cgen: install-cgen |
| |
| install-cgen: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif cgen |
| |
| .PHONY: install-strip-cgen maybe-install-strip-cgen |
| maybe-install-strip-cgen: |
| @if cgen |
| maybe-install-strip-cgen: install-strip-cgen |
| |
| install-strip-cgen: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif cgen |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-cgen info-cgen |
| maybe-info-cgen: |
| @if cgen |
| maybe-info-cgen: info-cgen |
| |
| info-cgen: \ |
| configure-cgen |
| @: $(MAKE); $(unstage) |
| @[ -f ./cgen/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in cgen" ; \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif cgen |
| |
| .PHONY: maybe-dvi-cgen dvi-cgen |
| maybe-dvi-cgen: |
| @if cgen |
| maybe-dvi-cgen: dvi-cgen |
| |
| dvi-cgen: \ |
| configure-cgen |
| @: $(MAKE); $(unstage) |
| @[ -f ./cgen/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in cgen" ; \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif cgen |
| |
| .PHONY: maybe-pdf-cgen pdf-cgen |
| maybe-pdf-cgen: |
| @if cgen |
| maybe-pdf-cgen: pdf-cgen |
| |
| pdf-cgen: \ |
| configure-cgen |
| @: $(MAKE); $(unstage) |
| @[ -f ./cgen/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in cgen" ; \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif cgen |
| |
| .PHONY: maybe-html-cgen html-cgen |
| maybe-html-cgen: |
| @if cgen |
| maybe-html-cgen: html-cgen |
| |
| html-cgen: \ |
| configure-cgen |
| @: $(MAKE); $(unstage) |
| @[ -f ./cgen/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in cgen" ; \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif cgen |
| |
| .PHONY: maybe-TAGS-cgen TAGS-cgen |
| maybe-TAGS-cgen: |
| @if cgen |
| maybe-TAGS-cgen: TAGS-cgen |
| |
| TAGS-cgen: \ |
| configure-cgen |
| @: $(MAKE); $(unstage) |
| @[ -f ./cgen/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in cgen" ; \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif cgen |
| |
| .PHONY: maybe-install-info-cgen install-info-cgen |
| maybe-install-info-cgen: |
| @if cgen |
| maybe-install-info-cgen: install-info-cgen |
| |
| install-info-cgen: \ |
| configure-cgen \ |
| info-cgen |
| @: $(MAKE); $(unstage) |
| @[ -f ./cgen/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in cgen" ; \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif cgen |
| |
| .PHONY: maybe-install-pdf-cgen install-pdf-cgen |
| maybe-install-pdf-cgen: |
| @if cgen |
| maybe-install-pdf-cgen: install-pdf-cgen |
| |
| install-pdf-cgen: \ |
| configure-cgen \ |
| pdf-cgen |
| @: $(MAKE); $(unstage) |
| @[ -f ./cgen/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in cgen" ; \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif cgen |
| |
| .PHONY: maybe-install-html-cgen install-html-cgen |
| maybe-install-html-cgen: |
| @if cgen |
| maybe-install-html-cgen: install-html-cgen |
| |
| install-html-cgen: \ |
| configure-cgen \ |
| html-cgen |
| @: $(MAKE); $(unstage) |
| @[ -f ./cgen/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in cgen" ; \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif cgen |
| |
| .PHONY: maybe-installcheck-cgen installcheck-cgen |
| maybe-installcheck-cgen: |
| @if cgen |
| maybe-installcheck-cgen: installcheck-cgen |
| |
| installcheck-cgen: \ |
| configure-cgen |
| @: $(MAKE); $(unstage) |
| @[ -f ./cgen/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in cgen" ; \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif cgen |
| |
| .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen |
| maybe-mostlyclean-cgen: |
| @if cgen |
| maybe-mostlyclean-cgen: mostlyclean-cgen |
| |
| mostlyclean-cgen: |
| @: $(MAKE); $(unstage) |
| @[ -f ./cgen/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in cgen" ; \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif cgen |
| |
| .PHONY: maybe-clean-cgen clean-cgen |
| maybe-clean-cgen: |
| @if cgen |
| maybe-clean-cgen: clean-cgen |
| |
| clean-cgen: |
| @: $(MAKE); $(unstage) |
| @[ -f ./cgen/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in cgen" ; \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif cgen |
| |
| .PHONY: maybe-distclean-cgen distclean-cgen |
| maybe-distclean-cgen: |
| @if cgen |
| maybe-distclean-cgen: distclean-cgen |
| |
| distclean-cgen: |
| @: $(MAKE); $(unstage) |
| @[ -f ./cgen/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in cgen" ; \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif cgen |
| |
| .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen |
| maybe-maintainer-clean-cgen: |
| @if cgen |
| maybe-maintainer-clean-cgen: maintainer-clean-cgen |
| |
| maintainer-clean-cgen: |
| @: $(MAKE); $(unstage) |
| @[ -f ./cgen/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in cgen" ; \ |
| (cd $(HOST_SUBDIR)/cgen && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif cgen |
| |
| |
| |
| .PHONY: configure-dejagnu maybe-configure-dejagnu |
| maybe-configure-dejagnu: |
| @if gcc-bootstrap |
| configure-dejagnu: stage_current |
| @endif gcc-bootstrap |
| @if dejagnu |
| maybe-configure-dejagnu: configure-dejagnu |
| configure-dejagnu: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/dejagnu; \ |
| cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=dejagnu; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif dejagnu |
| |
| |
| |
| |
| |
| .PHONY: all-dejagnu maybe-all-dejagnu |
| maybe-all-dejagnu: |
| @if gcc-bootstrap |
| all-dejagnu: stage_current |
| @endif gcc-bootstrap |
| @if dejagnu |
| TARGET-dejagnu=all |
| maybe-all-dejagnu: all-dejagnu |
| all-dejagnu: configure-dejagnu |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-dejagnu)) |
| @endif dejagnu |
| |
| |
| |
| |
| .PHONY: check-dejagnu maybe-check-dejagnu |
| maybe-check-dejagnu: |
| @if dejagnu |
| maybe-check-dejagnu: check-dejagnu |
| |
| check-dejagnu: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif dejagnu |
| |
| .PHONY: install-dejagnu maybe-install-dejagnu |
| maybe-install-dejagnu: |
| @if dejagnu |
| maybe-install-dejagnu: install-dejagnu |
| |
| install-dejagnu: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif dejagnu |
| |
| .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu |
| maybe-install-strip-dejagnu: |
| @if dejagnu |
| maybe-install-strip-dejagnu: install-strip-dejagnu |
| |
| install-strip-dejagnu: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif dejagnu |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-dejagnu info-dejagnu |
| maybe-info-dejagnu: |
| @if dejagnu |
| maybe-info-dejagnu: info-dejagnu |
| |
| info-dejagnu: \ |
| configure-dejagnu |
| @: $(MAKE); $(unstage) |
| @[ -f ./dejagnu/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in dejagnu" ; \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif dejagnu |
| |
| .PHONY: maybe-dvi-dejagnu dvi-dejagnu |
| maybe-dvi-dejagnu: |
| @if dejagnu |
| maybe-dvi-dejagnu: dvi-dejagnu |
| |
| dvi-dejagnu: \ |
| configure-dejagnu |
| @: $(MAKE); $(unstage) |
| @[ -f ./dejagnu/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in dejagnu" ; \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif dejagnu |
| |
| .PHONY: maybe-pdf-dejagnu pdf-dejagnu |
| maybe-pdf-dejagnu: |
| @if dejagnu |
| maybe-pdf-dejagnu: pdf-dejagnu |
| |
| pdf-dejagnu: \ |
| configure-dejagnu |
| @: $(MAKE); $(unstage) |
| @[ -f ./dejagnu/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in dejagnu" ; \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif dejagnu |
| |
| .PHONY: maybe-html-dejagnu html-dejagnu |
| maybe-html-dejagnu: |
| @if dejagnu |
| maybe-html-dejagnu: html-dejagnu |
| |
| html-dejagnu: \ |
| configure-dejagnu |
| @: $(MAKE); $(unstage) |
| @[ -f ./dejagnu/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in dejagnu" ; \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif dejagnu |
| |
| .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu |
| maybe-TAGS-dejagnu: |
| @if dejagnu |
| maybe-TAGS-dejagnu: TAGS-dejagnu |
| |
| TAGS-dejagnu: \ |
| configure-dejagnu |
| @: $(MAKE); $(unstage) |
| @[ -f ./dejagnu/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in dejagnu" ; \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif dejagnu |
| |
| .PHONY: maybe-install-info-dejagnu install-info-dejagnu |
| maybe-install-info-dejagnu: |
| @if dejagnu |
| maybe-install-info-dejagnu: install-info-dejagnu |
| |
| install-info-dejagnu: \ |
| configure-dejagnu \ |
| info-dejagnu |
| @: $(MAKE); $(unstage) |
| @[ -f ./dejagnu/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in dejagnu" ; \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif dejagnu |
| |
| .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu |
| maybe-install-pdf-dejagnu: |
| @if dejagnu |
| maybe-install-pdf-dejagnu: install-pdf-dejagnu |
| |
| install-pdf-dejagnu: \ |
| configure-dejagnu \ |
| pdf-dejagnu |
| @: $(MAKE); $(unstage) |
| @[ -f ./dejagnu/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in dejagnu" ; \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif dejagnu |
| |
| .PHONY: maybe-install-html-dejagnu install-html-dejagnu |
| maybe-install-html-dejagnu: |
| @if dejagnu |
| maybe-install-html-dejagnu: install-html-dejagnu |
| |
| install-html-dejagnu: \ |
| configure-dejagnu \ |
| html-dejagnu |
| @: $(MAKE); $(unstage) |
| @[ -f ./dejagnu/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in dejagnu" ; \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif dejagnu |
| |
| .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu |
| maybe-installcheck-dejagnu: |
| @if dejagnu |
| maybe-installcheck-dejagnu: installcheck-dejagnu |
| |
| installcheck-dejagnu: \ |
| configure-dejagnu |
| @: $(MAKE); $(unstage) |
| @[ -f ./dejagnu/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in dejagnu" ; \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif dejagnu |
| |
| .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu |
| maybe-mostlyclean-dejagnu: |
| @if dejagnu |
| maybe-mostlyclean-dejagnu: mostlyclean-dejagnu |
| |
| mostlyclean-dejagnu: |
| @: $(MAKE); $(unstage) |
| @[ -f ./dejagnu/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in dejagnu" ; \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif dejagnu |
| |
| .PHONY: maybe-clean-dejagnu clean-dejagnu |
| maybe-clean-dejagnu: |
| @if dejagnu |
| maybe-clean-dejagnu: clean-dejagnu |
| |
| clean-dejagnu: |
| @: $(MAKE); $(unstage) |
| @[ -f ./dejagnu/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in dejagnu" ; \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif dejagnu |
| |
| .PHONY: maybe-distclean-dejagnu distclean-dejagnu |
| maybe-distclean-dejagnu: |
| @if dejagnu |
| maybe-distclean-dejagnu: distclean-dejagnu |
| |
| distclean-dejagnu: |
| @: $(MAKE); $(unstage) |
| @[ -f ./dejagnu/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in dejagnu" ; \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif dejagnu |
| |
| .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu |
| maybe-maintainer-clean-dejagnu: |
| @if dejagnu |
| maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu |
| |
| maintainer-clean-dejagnu: |
| @: $(MAKE); $(unstage) |
| @[ -f ./dejagnu/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in dejagnu" ; \ |
| (cd $(HOST_SUBDIR)/dejagnu && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif dejagnu |
| |
| |
| |
| .PHONY: configure-etc maybe-configure-etc |
| maybe-configure-etc: |
| @if gcc-bootstrap |
| configure-etc: stage_current |
| @endif gcc-bootstrap |
| @if etc |
| maybe-configure-etc: configure-etc |
| configure-etc: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/etc; \ |
| cd "$(HOST_SUBDIR)/etc" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/etc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=etc; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif etc |
| |
| |
| |
| |
| |
| .PHONY: all-etc maybe-all-etc |
| maybe-all-etc: |
| @if gcc-bootstrap |
| all-etc: stage_current |
| @endif gcc-bootstrap |
| @if etc |
| TARGET-etc=all |
| maybe-all-etc: all-etc |
| all-etc: configure-etc |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-etc)) |
| @endif etc |
| |
| |
| |
| |
| .PHONY: check-etc maybe-check-etc |
| maybe-check-etc: |
| @if etc |
| maybe-check-etc: check-etc |
| |
| check-etc: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif etc |
| |
| .PHONY: install-etc maybe-install-etc |
| maybe-install-etc: |
| @if etc |
| maybe-install-etc: install-etc |
| |
| install-etc: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif etc |
| |
| .PHONY: install-strip-etc maybe-install-strip-etc |
| maybe-install-strip-etc: |
| @if etc |
| maybe-install-strip-etc: install-strip-etc |
| |
| install-strip-etc: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif etc |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-etc info-etc |
| maybe-info-etc: |
| @if etc |
| maybe-info-etc: info-etc |
| |
| info-etc: \ |
| configure-etc |
| @: $(MAKE); $(unstage) |
| @[ -f ./etc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in etc" ; \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif etc |
| |
| .PHONY: maybe-dvi-etc dvi-etc |
| maybe-dvi-etc: |
| @if etc |
| maybe-dvi-etc: dvi-etc |
| |
| dvi-etc: \ |
| configure-etc |
| @: $(MAKE); $(unstage) |
| @[ -f ./etc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in etc" ; \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif etc |
| |
| .PHONY: maybe-pdf-etc pdf-etc |
| maybe-pdf-etc: |
| @if etc |
| maybe-pdf-etc: pdf-etc |
| |
| pdf-etc: \ |
| configure-etc |
| @: $(MAKE); $(unstage) |
| @[ -f ./etc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in etc" ; \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif etc |
| |
| .PHONY: maybe-html-etc html-etc |
| maybe-html-etc: |
| @if etc |
| maybe-html-etc: html-etc |
| |
| html-etc: \ |
| configure-etc |
| @: $(MAKE); $(unstage) |
| @[ -f ./etc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in etc" ; \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif etc |
| |
| .PHONY: maybe-TAGS-etc TAGS-etc |
| maybe-TAGS-etc: |
| @if etc |
| maybe-TAGS-etc: TAGS-etc |
| |
| TAGS-etc: \ |
| configure-etc |
| @: $(MAKE); $(unstage) |
| @[ -f ./etc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in etc" ; \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif etc |
| |
| .PHONY: maybe-install-info-etc install-info-etc |
| maybe-install-info-etc: |
| @if etc |
| maybe-install-info-etc: install-info-etc |
| |
| install-info-etc: \ |
| configure-etc \ |
| info-etc |
| @: $(MAKE); $(unstage) |
| @[ -f ./etc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in etc" ; \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif etc |
| |
| .PHONY: maybe-install-pdf-etc install-pdf-etc |
| maybe-install-pdf-etc: |
| @if etc |
| maybe-install-pdf-etc: install-pdf-etc |
| |
| install-pdf-etc: \ |
| configure-etc \ |
| pdf-etc |
| @: $(MAKE); $(unstage) |
| @[ -f ./etc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in etc" ; \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif etc |
| |
| .PHONY: maybe-install-html-etc install-html-etc |
| maybe-install-html-etc: |
| @if etc |
| maybe-install-html-etc: install-html-etc |
| |
| install-html-etc: \ |
| configure-etc \ |
| html-etc |
| @: $(MAKE); $(unstage) |
| @[ -f ./etc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in etc" ; \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif etc |
| |
| .PHONY: maybe-installcheck-etc installcheck-etc |
| maybe-installcheck-etc: |
| @if etc |
| maybe-installcheck-etc: installcheck-etc |
| |
| installcheck-etc: \ |
| configure-etc |
| @: $(MAKE); $(unstage) |
| @[ -f ./etc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in etc" ; \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif etc |
| |
| .PHONY: maybe-mostlyclean-etc mostlyclean-etc |
| maybe-mostlyclean-etc: |
| @if etc |
| maybe-mostlyclean-etc: mostlyclean-etc |
| |
| mostlyclean-etc: |
| @: $(MAKE); $(unstage) |
| @[ -f ./etc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in etc" ; \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif etc |
| |
| .PHONY: maybe-clean-etc clean-etc |
| maybe-clean-etc: |
| @if etc |
| maybe-clean-etc: clean-etc |
| |
| clean-etc: |
| @: $(MAKE); $(unstage) |
| @[ -f ./etc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in etc" ; \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif etc |
| |
| .PHONY: maybe-distclean-etc distclean-etc |
| maybe-distclean-etc: |
| @if etc |
| maybe-distclean-etc: distclean-etc |
| |
| distclean-etc: |
| @: $(MAKE); $(unstage) |
| @[ -f ./etc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in etc" ; \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif etc |
| |
| .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc |
| maybe-maintainer-clean-etc: |
| @if etc |
| maybe-maintainer-clean-etc: maintainer-clean-etc |
| |
| maintainer-clean-etc: |
| @: $(MAKE); $(unstage) |
| @[ -f ./etc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in etc" ; \ |
| (cd $(HOST_SUBDIR)/etc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif etc |
| |
| |
| |
| .PHONY: configure-fastjar maybe-configure-fastjar |
| maybe-configure-fastjar: |
| @if gcc-bootstrap |
| configure-fastjar: stage_current |
| @endif gcc-bootstrap |
| @if fastjar |
| maybe-configure-fastjar: configure-fastjar |
| configure-fastjar: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/fastjar; \ |
| cd "$(HOST_SUBDIR)/fastjar" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=fastjar; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif fastjar |
| |
| |
| |
| |
| |
| .PHONY: all-fastjar maybe-all-fastjar |
| maybe-all-fastjar: |
| @if gcc-bootstrap |
| all-fastjar: stage_current |
| @endif gcc-bootstrap |
| @if fastjar |
| TARGET-fastjar=all |
| maybe-all-fastjar: all-fastjar |
| all-fastjar: configure-fastjar |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-fastjar)) |
| @endif fastjar |
| |
| |
| |
| |
| .PHONY: check-fastjar maybe-check-fastjar |
| maybe-check-fastjar: |
| @if fastjar |
| maybe-check-fastjar: check-fastjar |
| |
| # This module is only tested in a native toolchain. |
| check-fastjar: |
| @: $(MAKE); $(unstage) |
| @if [ '$(host)' = '$(target)' ] ; then \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(FLAGS_TO_PASS) check); \ |
| fi |
| |
| @endif fastjar |
| |
| .PHONY: install-fastjar maybe-install-fastjar |
| maybe-install-fastjar: |
| @if fastjar |
| maybe-install-fastjar: install-fastjar |
| |
| install-fastjar: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif fastjar |
| |
| .PHONY: install-strip-fastjar maybe-install-strip-fastjar |
| maybe-install-strip-fastjar: |
| @if fastjar |
| maybe-install-strip-fastjar: install-strip-fastjar |
| |
| install-strip-fastjar: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif fastjar |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-fastjar info-fastjar |
| maybe-info-fastjar: |
| @if fastjar |
| maybe-info-fastjar: info-fastjar |
| |
| info-fastjar: \ |
| configure-fastjar |
| @: $(MAKE); $(unstage) |
| @[ -f ./fastjar/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in fastjar" ; \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif fastjar |
| |
| .PHONY: maybe-dvi-fastjar dvi-fastjar |
| maybe-dvi-fastjar: |
| @if fastjar |
| maybe-dvi-fastjar: dvi-fastjar |
| |
| dvi-fastjar: \ |
| configure-fastjar |
| @: $(MAKE); $(unstage) |
| @[ -f ./fastjar/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in fastjar" ; \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif fastjar |
| |
| .PHONY: maybe-pdf-fastjar pdf-fastjar |
| maybe-pdf-fastjar: |
| @if fastjar |
| maybe-pdf-fastjar: pdf-fastjar |
| |
| pdf-fastjar: \ |
| configure-fastjar |
| @: $(MAKE); $(unstage) |
| @[ -f ./fastjar/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in fastjar" ; \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif fastjar |
| |
| .PHONY: maybe-html-fastjar html-fastjar |
| maybe-html-fastjar: |
| @if fastjar |
| maybe-html-fastjar: html-fastjar |
| |
| html-fastjar: \ |
| configure-fastjar |
| @: $(MAKE); $(unstage) |
| @[ -f ./fastjar/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in fastjar" ; \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif fastjar |
| |
| .PHONY: maybe-TAGS-fastjar TAGS-fastjar |
| maybe-TAGS-fastjar: |
| @if fastjar |
| maybe-TAGS-fastjar: TAGS-fastjar |
| |
| TAGS-fastjar: \ |
| configure-fastjar |
| @: $(MAKE); $(unstage) |
| @[ -f ./fastjar/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in fastjar" ; \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif fastjar |
| |
| .PHONY: maybe-install-info-fastjar install-info-fastjar |
| maybe-install-info-fastjar: |
| @if fastjar |
| maybe-install-info-fastjar: install-info-fastjar |
| |
| install-info-fastjar: \ |
| configure-fastjar \ |
| info-fastjar |
| @: $(MAKE); $(unstage) |
| @[ -f ./fastjar/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in fastjar" ; \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif fastjar |
| |
| .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar |
| maybe-install-pdf-fastjar: |
| @if fastjar |
| maybe-install-pdf-fastjar: install-pdf-fastjar |
| |
| install-pdf-fastjar: \ |
| configure-fastjar \ |
| pdf-fastjar |
| @: $(MAKE); $(unstage) |
| @[ -f ./fastjar/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in fastjar" ; \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif fastjar |
| |
| .PHONY: maybe-install-html-fastjar install-html-fastjar |
| maybe-install-html-fastjar: |
| @if fastjar |
| maybe-install-html-fastjar: install-html-fastjar |
| |
| install-html-fastjar: \ |
| configure-fastjar \ |
| html-fastjar |
| @: $(MAKE); $(unstage) |
| @[ -f ./fastjar/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in fastjar" ; \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif fastjar |
| |
| .PHONY: maybe-installcheck-fastjar installcheck-fastjar |
| maybe-installcheck-fastjar: |
| @if fastjar |
| maybe-installcheck-fastjar: installcheck-fastjar |
| |
| installcheck-fastjar: \ |
| configure-fastjar |
| @: $(MAKE); $(unstage) |
| @[ -f ./fastjar/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in fastjar" ; \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif fastjar |
| |
| .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar |
| maybe-mostlyclean-fastjar: |
| @if fastjar |
| maybe-mostlyclean-fastjar: mostlyclean-fastjar |
| |
| mostlyclean-fastjar: |
| @: $(MAKE); $(unstage) |
| @[ -f ./fastjar/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in fastjar" ; \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif fastjar |
| |
| .PHONY: maybe-clean-fastjar clean-fastjar |
| maybe-clean-fastjar: |
| @if fastjar |
| maybe-clean-fastjar: clean-fastjar |
| |
| clean-fastjar: |
| @: $(MAKE); $(unstage) |
| @[ -f ./fastjar/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in fastjar" ; \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif fastjar |
| |
| .PHONY: maybe-distclean-fastjar distclean-fastjar |
| maybe-distclean-fastjar: |
| @if fastjar |
| maybe-distclean-fastjar: distclean-fastjar |
| |
| distclean-fastjar: |
| @: $(MAKE); $(unstage) |
| @[ -f ./fastjar/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in fastjar" ; \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif fastjar |
| |
| .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar |
| maybe-maintainer-clean-fastjar: |
| @if fastjar |
| maybe-maintainer-clean-fastjar: maintainer-clean-fastjar |
| |
| maintainer-clean-fastjar: |
| @: $(MAKE); $(unstage) |
| @[ -f ./fastjar/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in fastjar" ; \ |
| (cd $(HOST_SUBDIR)/fastjar && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif fastjar |
| |
| |
| |
| .PHONY: configure-fixincludes maybe-configure-fixincludes |
| maybe-configure-fixincludes: |
| @if gcc-bootstrap |
| configure-fixincludes: stage_current |
| @endif gcc-bootstrap |
| @if fixincludes |
| maybe-configure-fixincludes: configure-fixincludes |
| configure-fixincludes: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/fixincludes; \ |
| cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=fixincludes; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif fixincludes |
| |
| |
| |
| .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes |
| maybe-configure-stage1-fixincludes: |
| @if fixincludes-bootstrap |
| maybe-configure-stage1-fixincludes: configure-stage1-fixincludes |
| configure-stage1-fixincludes: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ |
| cd $(HOST_SUBDIR)/fixincludes || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=fixincludes; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) |
| @endif fixincludes-bootstrap |
| |
| .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes |
| maybe-configure-stage2-fixincludes: |
| @if fixincludes-bootstrap |
| maybe-configure-stage2-fixincludes: configure-stage2-fixincludes |
| configure-stage2-fixincludes: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ |
| cd $(HOST_SUBDIR)/fixincludes || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=fixincludes; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) |
| @endif fixincludes-bootstrap |
| |
| .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes |
| maybe-configure-stage3-fixincludes: |
| @if fixincludes-bootstrap |
| maybe-configure-stage3-fixincludes: configure-stage3-fixincludes |
| configure-stage3-fixincludes: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ |
| cd $(HOST_SUBDIR)/fixincludes || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=fixincludes; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) |
| @endif fixincludes-bootstrap |
| |
| .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes |
| maybe-configure-stage4-fixincludes: |
| @if fixincludes-bootstrap |
| maybe-configure-stage4-fixincludes: configure-stage4-fixincludes |
| configure-stage4-fixincludes: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ |
| cd $(HOST_SUBDIR)/fixincludes || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=fixincludes; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) |
| @endif fixincludes-bootstrap |
| |
| .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes |
| maybe-configure-stageprofile-fixincludes: |
| @if fixincludes-bootstrap |
| maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes |
| configure-stageprofile-fixincludes: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ |
| cd $(HOST_SUBDIR)/fixincludes || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=fixincludes; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) |
| @endif fixincludes-bootstrap |
| |
| .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes |
| maybe-configure-stagefeedback-fixincludes: |
| @if fixincludes-bootstrap |
| maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes |
| configure-stagefeedback-fixincludes: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ |
| cd $(HOST_SUBDIR)/fixincludes || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=fixincludes; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) |
| @endif fixincludes-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-fixincludes maybe-all-fixincludes |
| maybe-all-fixincludes: |
| @if gcc-bootstrap |
| all-fixincludes: stage_current |
| @endif gcc-bootstrap |
| @if fixincludes |
| TARGET-fixincludes=all |
| maybe-all-fixincludes: all-fixincludes |
| all-fixincludes: configure-fixincludes |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-fixincludes)) |
| @endif fixincludes |
| |
| |
| |
| .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes |
| .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes |
| maybe-all-stage1-fixincludes: |
| maybe-clean-stage1-fixincludes: |
| @if fixincludes-bootstrap |
| maybe-all-stage1-fixincludes: all-stage1-fixincludes |
| all-stage1: all-stage1-fixincludes |
| TARGET-stage1-fixincludes = $(TARGET-fixincludes) |
| all-stage1-fixincludes: configure-stage1-fixincludes |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-fixincludes) |
| |
| maybe-clean-stage1-fixincludes: clean-stage1-fixincludes |
| clean-stage1: clean-stage1-fixincludes |
| clean-stage1-fixincludes: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) clean |
| @endif fixincludes-bootstrap |
| |
| |
| .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes |
| .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes |
| maybe-all-stage2-fixincludes: |
| maybe-clean-stage2-fixincludes: |
| @if fixincludes-bootstrap |
| maybe-all-stage2-fixincludes: all-stage2-fixincludes |
| all-stage2: all-stage2-fixincludes |
| TARGET-stage2-fixincludes = $(TARGET-fixincludes) |
| all-stage2-fixincludes: configure-stage2-fixincludes |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-fixincludes) |
| |
| maybe-clean-stage2-fixincludes: clean-stage2-fixincludes |
| clean-stage2: clean-stage2-fixincludes |
| clean-stage2-fixincludes: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif fixincludes-bootstrap |
| |
| |
| .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes |
| .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes |
| maybe-all-stage3-fixincludes: |
| maybe-clean-stage3-fixincludes: |
| @if fixincludes-bootstrap |
| maybe-all-stage3-fixincludes: all-stage3-fixincludes |
| all-stage3: all-stage3-fixincludes |
| TARGET-stage3-fixincludes = $(TARGET-fixincludes) |
| all-stage3-fixincludes: configure-stage3-fixincludes |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-fixincludes) |
| |
| maybe-clean-stage3-fixincludes: clean-stage3-fixincludes |
| clean-stage3: clean-stage3-fixincludes |
| clean-stage3-fixincludes: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif fixincludes-bootstrap |
| |
| |
| .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes |
| .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes |
| maybe-all-stage4-fixincludes: |
| maybe-clean-stage4-fixincludes: |
| @if fixincludes-bootstrap |
| maybe-all-stage4-fixincludes: all-stage4-fixincludes |
| all-stage4: all-stage4-fixincludes |
| TARGET-stage4-fixincludes = $(TARGET-fixincludes) |
| all-stage4-fixincludes: configure-stage4-fixincludes |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-fixincludes) |
| |
| maybe-clean-stage4-fixincludes: clean-stage4-fixincludes |
| clean-stage4: clean-stage4-fixincludes |
| clean-stage4-fixincludes: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif fixincludes-bootstrap |
| |
| |
| .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes |
| .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes |
| maybe-all-stageprofile-fixincludes: |
| maybe-clean-stageprofile-fixincludes: |
| @if fixincludes-bootstrap |
| maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes |
| all-stageprofile: all-stageprofile-fixincludes |
| TARGET-stageprofile-fixincludes = $(TARGET-fixincludes) |
| all-stageprofile-fixincludes: configure-stageprofile-fixincludes |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-fixincludes) |
| |
| maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes |
| clean-stageprofile: clean-stageprofile-fixincludes |
| clean-stageprofile-fixincludes: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif fixincludes-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes |
| .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes |
| maybe-all-stagefeedback-fixincludes: |
| maybe-clean-stagefeedback-fixincludes: |
| @if fixincludes-bootstrap |
| maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes |
| all-stagefeedback: all-stagefeedback-fixincludes |
| TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes) |
| all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-fixincludes) |
| |
| maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes |
| clean-stagefeedback: clean-stagefeedback-fixincludes |
| clean-stagefeedback-fixincludes: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif fixincludes-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-fixincludes maybe-check-fixincludes |
| maybe-check-fixincludes: |
| @if fixincludes |
| maybe-check-fixincludes: check-fixincludes |
| |
| check-fixincludes: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif fixincludes |
| |
| .PHONY: install-fixincludes maybe-install-fixincludes |
| maybe-install-fixincludes: |
| @if fixincludes |
| maybe-install-fixincludes: install-fixincludes |
| |
| install-fixincludes: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif fixincludes |
| |
| .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes |
| maybe-install-strip-fixincludes: |
| @if fixincludes |
| maybe-install-strip-fixincludes: install-strip-fixincludes |
| |
| install-strip-fixincludes: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif fixincludes |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-fixincludes info-fixincludes |
| maybe-info-fixincludes: |
| @if fixincludes |
| maybe-info-fixincludes: info-fixincludes |
| |
| info-fixincludes: \ |
| configure-fixincludes |
| @[ -f ./fixincludes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in fixincludes" ; \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif fixincludes |
| |
| .PHONY: maybe-dvi-fixincludes dvi-fixincludes |
| maybe-dvi-fixincludes: |
| @if fixincludes |
| maybe-dvi-fixincludes: dvi-fixincludes |
| |
| dvi-fixincludes: \ |
| configure-fixincludes |
| @[ -f ./fixincludes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in fixincludes" ; \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif fixincludes |
| |
| .PHONY: maybe-pdf-fixincludes pdf-fixincludes |
| maybe-pdf-fixincludes: |
| @if fixincludes |
| maybe-pdf-fixincludes: pdf-fixincludes |
| |
| pdf-fixincludes: \ |
| configure-fixincludes |
| @[ -f ./fixincludes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in fixincludes" ; \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif fixincludes |
| |
| .PHONY: maybe-html-fixincludes html-fixincludes |
| maybe-html-fixincludes: |
| @if fixincludes |
| maybe-html-fixincludes: html-fixincludes |
| |
| html-fixincludes: \ |
| configure-fixincludes |
| @[ -f ./fixincludes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in fixincludes" ; \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif fixincludes |
| |
| .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes |
| maybe-TAGS-fixincludes: |
| @if fixincludes |
| maybe-TAGS-fixincludes: TAGS-fixincludes |
| |
| # fixincludes doesn't support TAGS. |
| TAGS-fixincludes: |
| |
| @endif fixincludes |
| |
| .PHONY: maybe-install-info-fixincludes install-info-fixincludes |
| maybe-install-info-fixincludes: |
| @if fixincludes |
| maybe-install-info-fixincludes: install-info-fixincludes |
| |
| install-info-fixincludes: \ |
| configure-fixincludes \ |
| info-fixincludes |
| @[ -f ./fixincludes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in fixincludes" ; \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif fixincludes |
| |
| .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes |
| maybe-install-pdf-fixincludes: |
| @if fixincludes |
| maybe-install-pdf-fixincludes: install-pdf-fixincludes |
| |
| install-pdf-fixincludes: \ |
| configure-fixincludes \ |
| pdf-fixincludes |
| @[ -f ./fixincludes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in fixincludes" ; \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif fixincludes |
| |
| .PHONY: maybe-install-html-fixincludes install-html-fixincludes |
| maybe-install-html-fixincludes: |
| @if fixincludes |
| maybe-install-html-fixincludes: install-html-fixincludes |
| |
| install-html-fixincludes: \ |
| configure-fixincludes \ |
| html-fixincludes |
| @[ -f ./fixincludes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in fixincludes" ; \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif fixincludes |
| |
| .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes |
| maybe-installcheck-fixincludes: |
| @if fixincludes |
| maybe-installcheck-fixincludes: installcheck-fixincludes |
| |
| installcheck-fixincludes: \ |
| configure-fixincludes |
| @[ -f ./fixincludes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in fixincludes" ; \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif fixincludes |
| |
| .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes |
| maybe-mostlyclean-fixincludes: |
| @if fixincludes |
| maybe-mostlyclean-fixincludes: mostlyclean-fixincludes |
| |
| mostlyclean-fixincludes: |
| @[ -f ./fixincludes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in fixincludes" ; \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif fixincludes |
| |
| .PHONY: maybe-clean-fixincludes clean-fixincludes |
| maybe-clean-fixincludes: |
| @if fixincludes |
| maybe-clean-fixincludes: clean-fixincludes |
| |
| clean-fixincludes: |
| @[ -f ./fixincludes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in fixincludes" ; \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif fixincludes |
| |
| .PHONY: maybe-distclean-fixincludes distclean-fixincludes |
| maybe-distclean-fixincludes: |
| @if fixincludes |
| maybe-distclean-fixincludes: distclean-fixincludes |
| |
| distclean-fixincludes: |
| @[ -f ./fixincludes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in fixincludes" ; \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif fixincludes |
| |
| .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes |
| maybe-maintainer-clean-fixincludes: |
| @if fixincludes |
| maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes |
| |
| maintainer-clean-fixincludes: |
| @[ -f ./fixincludes/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in fixincludes" ; \ |
| (cd $(HOST_SUBDIR)/fixincludes && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif fixincludes |
| |
| |
| |
| .PHONY: configure-flex maybe-configure-flex |
| maybe-configure-flex: |
| @if gcc-bootstrap |
| configure-flex: stage_current |
| @endif gcc-bootstrap |
| @if flex |
| maybe-configure-flex: configure-flex |
| configure-flex: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/flex; \ |
| cd "$(HOST_SUBDIR)/flex" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/flex/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=flex; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif flex |
| |
| |
| |
| |
| |
| .PHONY: all-flex maybe-all-flex |
| maybe-all-flex: |
| @if gcc-bootstrap |
| all-flex: stage_current |
| @endif gcc-bootstrap |
| @if flex |
| TARGET-flex=all |
| maybe-all-flex: all-flex |
| all-flex: configure-flex |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-flex)) |
| @endif flex |
| |
| |
| |
| |
| .PHONY: check-flex maybe-check-flex |
| maybe-check-flex: |
| @if flex |
| maybe-check-flex: check-flex |
| |
| # This module is only tested in a native toolchain. |
| check-flex: |
| @: $(MAKE); $(unstage) |
| @if [ '$(host)' = '$(target)' ] ; then \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(FLAGS_TO_PASS) check); \ |
| fi |
| |
| @endif flex |
| |
| .PHONY: install-flex maybe-install-flex |
| maybe-install-flex: |
| @if flex |
| maybe-install-flex: install-flex |
| |
| install-flex: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif flex |
| |
| .PHONY: install-strip-flex maybe-install-strip-flex |
| maybe-install-strip-flex: |
| @if flex |
| maybe-install-strip-flex: install-strip-flex |
| |
| install-strip-flex: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif flex |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-flex info-flex |
| maybe-info-flex: |
| @if flex |
| maybe-info-flex: info-flex |
| |
| info-flex: \ |
| configure-flex |
| @: $(MAKE); $(unstage) |
| @[ -f ./flex/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in flex" ; \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif flex |
| |
| .PHONY: maybe-dvi-flex dvi-flex |
| maybe-dvi-flex: |
| @if flex |
| maybe-dvi-flex: dvi-flex |
| |
| dvi-flex: \ |
| configure-flex |
| @: $(MAKE); $(unstage) |
| @[ -f ./flex/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in flex" ; \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif flex |
| |
| .PHONY: maybe-pdf-flex pdf-flex |
| maybe-pdf-flex: |
| @if flex |
| maybe-pdf-flex: pdf-flex |
| |
| pdf-flex: \ |
| configure-flex |
| @: $(MAKE); $(unstage) |
| @[ -f ./flex/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in flex" ; \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif flex |
| |
| .PHONY: maybe-html-flex html-flex |
| maybe-html-flex: |
| @if flex |
| maybe-html-flex: html-flex |
| |
| html-flex: \ |
| configure-flex |
| @: $(MAKE); $(unstage) |
| @[ -f ./flex/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in flex" ; \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif flex |
| |
| .PHONY: maybe-TAGS-flex TAGS-flex |
| maybe-TAGS-flex: |
| @if flex |
| maybe-TAGS-flex: TAGS-flex |
| |
| TAGS-flex: \ |
| configure-flex |
| @: $(MAKE); $(unstage) |
| @[ -f ./flex/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in flex" ; \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif flex |
| |
| .PHONY: maybe-install-info-flex install-info-flex |
| maybe-install-info-flex: |
| @if flex |
| maybe-install-info-flex: install-info-flex |
| |
| install-info-flex: \ |
| configure-flex \ |
| info-flex |
| @: $(MAKE); $(unstage) |
| @[ -f ./flex/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in flex" ; \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif flex |
| |
| .PHONY: maybe-install-pdf-flex install-pdf-flex |
| maybe-install-pdf-flex: |
| @if flex |
| maybe-install-pdf-flex: install-pdf-flex |
| |
| install-pdf-flex: \ |
| configure-flex \ |
| pdf-flex |
| @: $(MAKE); $(unstage) |
| @[ -f ./flex/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in flex" ; \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif flex |
| |
| .PHONY: maybe-install-html-flex install-html-flex |
| maybe-install-html-flex: |
| @if flex |
| maybe-install-html-flex: install-html-flex |
| |
| install-html-flex: \ |
| configure-flex \ |
| html-flex |
| @: $(MAKE); $(unstage) |
| @[ -f ./flex/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in flex" ; \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif flex |
| |
| .PHONY: maybe-installcheck-flex installcheck-flex |
| maybe-installcheck-flex: |
| @if flex |
| maybe-installcheck-flex: installcheck-flex |
| |
| installcheck-flex: \ |
| configure-flex |
| @: $(MAKE); $(unstage) |
| @[ -f ./flex/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in flex" ; \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif flex |
| |
| .PHONY: maybe-mostlyclean-flex mostlyclean-flex |
| maybe-mostlyclean-flex: |
| @if flex |
| maybe-mostlyclean-flex: mostlyclean-flex |
| |
| mostlyclean-flex: |
| @: $(MAKE); $(unstage) |
| @[ -f ./flex/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in flex" ; \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif flex |
| |
| .PHONY: maybe-clean-flex clean-flex |
| maybe-clean-flex: |
| @if flex |
| maybe-clean-flex: clean-flex |
| |
| clean-flex: |
| @: $(MAKE); $(unstage) |
| @[ -f ./flex/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in flex" ; \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif flex |
| |
| .PHONY: maybe-distclean-flex distclean-flex |
| maybe-distclean-flex: |
| @if flex |
| maybe-distclean-flex: distclean-flex |
| |
| distclean-flex: |
| @: $(MAKE); $(unstage) |
| @[ -f ./flex/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in flex" ; \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif flex |
| |
| .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex |
| maybe-maintainer-clean-flex: |
| @if flex |
| maybe-maintainer-clean-flex: maintainer-clean-flex |
| |
| maintainer-clean-flex: |
| @: $(MAKE); $(unstage) |
| @[ -f ./flex/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in flex" ; \ |
| (cd $(HOST_SUBDIR)/flex && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif flex |
| |
| |
| |
| .PHONY: configure-gas maybe-configure-gas |
| maybe-configure-gas: |
| @if gcc-bootstrap |
| configure-gas: stage_current |
| @endif gcc-bootstrap |
| @if gas |
| maybe-configure-gas: configure-gas |
| configure-gas: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/gas; \ |
| cd "$(HOST_SUBDIR)/gas" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gas; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif gas |
| |
| |
| |
| .PHONY: configure-stage1-gas maybe-configure-stage1-gas |
| maybe-configure-stage1-gas: |
| @if gas-bootstrap |
| maybe-configure-stage1-gas: configure-stage1-gas |
| configure-stage1-gas: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ |
| cd $(HOST_SUBDIR)/gas || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gas; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) |
| @endif gas-bootstrap |
| |
| .PHONY: configure-stage2-gas maybe-configure-stage2-gas |
| maybe-configure-stage2-gas: |
| @if gas-bootstrap |
| maybe-configure-stage2-gas: configure-stage2-gas |
| configure-stage2-gas: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ |
| cd $(HOST_SUBDIR)/gas || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gas; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) |
| @endif gas-bootstrap |
| |
| .PHONY: configure-stage3-gas maybe-configure-stage3-gas |
| maybe-configure-stage3-gas: |
| @if gas-bootstrap |
| maybe-configure-stage3-gas: configure-stage3-gas |
| configure-stage3-gas: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ |
| cd $(HOST_SUBDIR)/gas || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gas; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) |
| @endif gas-bootstrap |
| |
| .PHONY: configure-stage4-gas maybe-configure-stage4-gas |
| maybe-configure-stage4-gas: |
| @if gas-bootstrap |
| maybe-configure-stage4-gas: configure-stage4-gas |
| configure-stage4-gas: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ |
| cd $(HOST_SUBDIR)/gas || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gas; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) |
| @endif gas-bootstrap |
| |
| .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas |
| maybe-configure-stageprofile-gas: |
| @if gas-bootstrap |
| maybe-configure-stageprofile-gas: configure-stageprofile-gas |
| configure-stageprofile-gas: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ |
| cd $(HOST_SUBDIR)/gas || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gas; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) |
| @endif gas-bootstrap |
| |
| .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas |
| maybe-configure-stagefeedback-gas: |
| @if gas-bootstrap |
| maybe-configure-stagefeedback-gas: configure-stagefeedback-gas |
| configure-stagefeedback-gas: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ |
| cd $(HOST_SUBDIR)/gas || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gas; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) |
| @endif gas-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-gas maybe-all-gas |
| maybe-all-gas: |
| @if gcc-bootstrap |
| all-gas: stage_current |
| @endif gcc-bootstrap |
| @if gas |
| TARGET-gas=all |
| maybe-all-gas: all-gas |
| all-gas: configure-gas |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-gas)) |
| @endif gas |
| |
| |
| |
| .PHONY: all-stage1-gas maybe-all-stage1-gas |
| .PHONY: clean-stage1-gas maybe-clean-stage1-gas |
| maybe-all-stage1-gas: |
| maybe-clean-stage1-gas: |
| @if gas-bootstrap |
| maybe-all-stage1-gas: all-stage1-gas |
| all-stage1: all-stage1-gas |
| TARGET-stage1-gas = $(TARGET-gas) |
| all-stage1-gas: configure-stage1-gas |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-gas) |
| |
| maybe-clean-stage1-gas: clean-stage1-gas |
| clean-stage1: clean-stage1-gas |
| clean-stage1-gas: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) clean |
| @endif gas-bootstrap |
| |
| |
| .PHONY: all-stage2-gas maybe-all-stage2-gas |
| .PHONY: clean-stage2-gas maybe-clean-stage2-gas |
| maybe-all-stage2-gas: |
| maybe-clean-stage2-gas: |
| @if gas-bootstrap |
| maybe-all-stage2-gas: all-stage2-gas |
| all-stage2: all-stage2-gas |
| TARGET-stage2-gas = $(TARGET-gas) |
| all-stage2-gas: configure-stage2-gas |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-gas) |
| |
| maybe-clean-stage2-gas: clean-stage2-gas |
| clean-stage2: clean-stage2-gas |
| clean-stage2-gas: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gas-bootstrap |
| |
| |
| .PHONY: all-stage3-gas maybe-all-stage3-gas |
| .PHONY: clean-stage3-gas maybe-clean-stage3-gas |
| maybe-all-stage3-gas: |
| maybe-clean-stage3-gas: |
| @if gas-bootstrap |
| maybe-all-stage3-gas: all-stage3-gas |
| all-stage3: all-stage3-gas |
| TARGET-stage3-gas = $(TARGET-gas) |
| all-stage3-gas: configure-stage3-gas |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-gas) |
| |
| maybe-clean-stage3-gas: clean-stage3-gas |
| clean-stage3: clean-stage3-gas |
| clean-stage3-gas: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gas-bootstrap |
| |
| |
| .PHONY: all-stage4-gas maybe-all-stage4-gas |
| .PHONY: clean-stage4-gas maybe-clean-stage4-gas |
| maybe-all-stage4-gas: |
| maybe-clean-stage4-gas: |
| @if gas-bootstrap |
| maybe-all-stage4-gas: all-stage4-gas |
| all-stage4: all-stage4-gas |
| TARGET-stage4-gas = $(TARGET-gas) |
| all-stage4-gas: configure-stage4-gas |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-gas) |
| |
| maybe-clean-stage4-gas: clean-stage4-gas |
| clean-stage4: clean-stage4-gas |
| clean-stage4-gas: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gas-bootstrap |
| |
| |
| .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas |
| .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas |
| maybe-all-stageprofile-gas: |
| maybe-clean-stageprofile-gas: |
| @if gas-bootstrap |
| maybe-all-stageprofile-gas: all-stageprofile-gas |
| all-stageprofile: all-stageprofile-gas |
| TARGET-stageprofile-gas = $(TARGET-gas) |
| all-stageprofile-gas: configure-stageprofile-gas |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-gas) |
| |
| maybe-clean-stageprofile-gas: clean-stageprofile-gas |
| clean-stageprofile: clean-stageprofile-gas |
| clean-stageprofile-gas: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gas-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas |
| .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas |
| maybe-all-stagefeedback-gas: |
| maybe-clean-stagefeedback-gas: |
| @if gas-bootstrap |
| maybe-all-stagefeedback-gas: all-stagefeedback-gas |
| all-stagefeedback: all-stagefeedback-gas |
| TARGET-stagefeedback-gas = $(TARGET-gas) |
| all-stagefeedback-gas: configure-stagefeedback-gas |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-gas) |
| |
| maybe-clean-stagefeedback-gas: clean-stagefeedback-gas |
| clean-stagefeedback: clean-stagefeedback-gas |
| clean-stagefeedback-gas: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gas-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-gas maybe-check-gas |
| maybe-check-gas: |
| @if gas |
| maybe-check-gas: check-gas |
| |
| check-gas: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif gas |
| |
| .PHONY: install-gas maybe-install-gas |
| maybe-install-gas: |
| @if gas |
| maybe-install-gas: install-gas |
| |
| install-gas: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif gas |
| |
| .PHONY: install-strip-gas maybe-install-strip-gas |
| maybe-install-strip-gas: |
| @if gas |
| maybe-install-strip-gas: install-strip-gas |
| |
| install-strip-gas: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif gas |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-gas info-gas |
| maybe-info-gas: |
| @if gas |
| maybe-info-gas: info-gas |
| |
| info-gas: \ |
| configure-gas |
| @[ -f ./gas/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in gas" ; \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif gas |
| |
| .PHONY: maybe-dvi-gas dvi-gas |
| maybe-dvi-gas: |
| @if gas |
| maybe-dvi-gas: dvi-gas |
| |
| dvi-gas: \ |
| configure-gas |
| @[ -f ./gas/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in gas" ; \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif gas |
| |
| .PHONY: maybe-pdf-gas pdf-gas |
| maybe-pdf-gas: |
| @if gas |
| maybe-pdf-gas: pdf-gas |
| |
| pdf-gas: \ |
| configure-gas |
| @[ -f ./gas/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in gas" ; \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif gas |
| |
| .PHONY: maybe-html-gas html-gas |
| maybe-html-gas: |
| @if gas |
| maybe-html-gas: html-gas |
| |
| html-gas: \ |
| configure-gas |
| @[ -f ./gas/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in gas" ; \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif gas |
| |
| .PHONY: maybe-TAGS-gas TAGS-gas |
| maybe-TAGS-gas: |
| @if gas |
| maybe-TAGS-gas: TAGS-gas |
| |
| TAGS-gas: \ |
| configure-gas |
| @[ -f ./gas/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in gas" ; \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif gas |
| |
| .PHONY: maybe-install-info-gas install-info-gas |
| maybe-install-info-gas: |
| @if gas |
| maybe-install-info-gas: install-info-gas |
| |
| install-info-gas: \ |
| configure-gas \ |
| info-gas |
| @[ -f ./gas/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in gas" ; \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif gas |
| |
| .PHONY: maybe-install-pdf-gas install-pdf-gas |
| maybe-install-pdf-gas: |
| @if gas |
| maybe-install-pdf-gas: install-pdf-gas |
| |
| install-pdf-gas: \ |
| configure-gas \ |
| pdf-gas |
| @[ -f ./gas/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in gas" ; \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif gas |
| |
| .PHONY: maybe-install-html-gas install-html-gas |
| maybe-install-html-gas: |
| @if gas |
| maybe-install-html-gas: install-html-gas |
| |
| install-html-gas: \ |
| configure-gas \ |
| html-gas |
| @[ -f ./gas/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in gas" ; \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif gas |
| |
| .PHONY: maybe-installcheck-gas installcheck-gas |
| maybe-installcheck-gas: |
| @if gas |
| maybe-installcheck-gas: installcheck-gas |
| |
| installcheck-gas: \ |
| configure-gas |
| @[ -f ./gas/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in gas" ; \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif gas |
| |
| .PHONY: maybe-mostlyclean-gas mostlyclean-gas |
| maybe-mostlyclean-gas: |
| @if gas |
| maybe-mostlyclean-gas: mostlyclean-gas |
| |
| mostlyclean-gas: |
| @[ -f ./gas/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in gas" ; \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif gas |
| |
| .PHONY: maybe-clean-gas clean-gas |
| maybe-clean-gas: |
| @if gas |
| maybe-clean-gas: clean-gas |
| |
| clean-gas: |
| @[ -f ./gas/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in gas" ; \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif gas |
| |
| .PHONY: maybe-distclean-gas distclean-gas |
| maybe-distclean-gas: |
| @if gas |
| maybe-distclean-gas: distclean-gas |
| |
| distclean-gas: |
| @[ -f ./gas/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in gas" ; \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif gas |
| |
| .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas |
| maybe-maintainer-clean-gas: |
| @if gas |
| maybe-maintainer-clean-gas: maintainer-clean-gas |
| |
| maintainer-clean-gas: |
| @[ -f ./gas/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in gas" ; \ |
| (cd $(HOST_SUBDIR)/gas && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif gas |
| |
| |
| |
| .PHONY: configure-gcc maybe-configure-gcc |
| maybe-configure-gcc: |
| @if gcc-bootstrap |
| configure-gcc: stage_current |
| @endif gcc-bootstrap |
| @if gcc |
| maybe-configure-gcc: configure-gcc |
| configure-gcc: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/gcc; \ |
| cd "$(HOST_SUBDIR)/gcc" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gcc; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif gcc |
| |
| |
| |
| .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc |
| maybe-configure-stage1-gcc: |
| @if gcc-bootstrap |
| maybe-configure-stage1-gcc: configure-stage1-gcc |
| configure-stage1-gcc: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ |
| cd $(HOST_SUBDIR)/gcc || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gcc; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) |
| @endif gcc-bootstrap |
| |
| .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc |
| maybe-configure-stage2-gcc: |
| @if gcc-bootstrap |
| maybe-configure-stage2-gcc: configure-stage2-gcc |
| configure-stage2-gcc: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ |
| cd $(HOST_SUBDIR)/gcc || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gcc; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) |
| @endif gcc-bootstrap |
| |
| .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc |
| maybe-configure-stage3-gcc: |
| @if gcc-bootstrap |
| maybe-configure-stage3-gcc: configure-stage3-gcc |
| configure-stage3-gcc: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ |
| cd $(HOST_SUBDIR)/gcc || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gcc; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) |
| @endif gcc-bootstrap |
| |
| .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc |
| maybe-configure-stage4-gcc: |
| @if gcc-bootstrap |
| maybe-configure-stage4-gcc: configure-stage4-gcc |
| configure-stage4-gcc: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ |
| cd $(HOST_SUBDIR)/gcc || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gcc; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) |
| @endif gcc-bootstrap |
| |
| .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc |
| maybe-configure-stageprofile-gcc: |
| @if gcc-bootstrap |
| maybe-configure-stageprofile-gcc: configure-stageprofile-gcc |
| configure-stageprofile-gcc: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ |
| cd $(HOST_SUBDIR)/gcc || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gcc; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) |
| @endif gcc-bootstrap |
| |
| .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc |
| maybe-configure-stagefeedback-gcc: |
| @if gcc-bootstrap |
| maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc |
| configure-stagefeedback-gcc: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ |
| cd $(HOST_SUBDIR)/gcc || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gcc; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) |
| @endif gcc-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-gcc maybe-all-gcc |
| maybe-all-gcc: |
| @if gcc-bootstrap |
| all-gcc: stage_current |
| @endif gcc-bootstrap |
| @if gcc |
| TARGET-gcc=all |
| maybe-all-gcc: all-gcc |
| all-gcc: configure-gcc |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ |
| $(TARGET-gcc)) |
| @endif gcc |
| |
| |
| |
| .PHONY: all-stage1-gcc maybe-all-stage1-gcc |
| .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc |
| maybe-all-stage1-gcc: |
| maybe-clean-stage1-gcc: |
| @if gcc-bootstrap |
| maybe-all-stage1-gcc: all-stage1-gcc |
| all-stage1: all-stage1-gcc |
| TARGET-stage1-gcc = $(TARGET-gcc) |
| all-stage1-gcc: configure-stage1-gcc |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-gcc) |
| |
| maybe-clean-stage1-gcc: clean-stage1-gcc |
| clean-stage1: clean-stage1-gcc |
| clean-stage1-gcc: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean |
| @endif gcc-bootstrap |
| |
| |
| .PHONY: all-stage2-gcc maybe-all-stage2-gcc |
| .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc |
| maybe-all-stage2-gcc: |
| maybe-clean-stage2-gcc: |
| @if gcc-bootstrap |
| maybe-all-stage2-gcc: all-stage2-gcc |
| all-stage2: all-stage2-gcc |
| TARGET-stage2-gcc = $(TARGET-gcc) |
| all-stage2-gcc: configure-stage2-gcc |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-gcc) |
| |
| maybe-clean-stage2-gcc: clean-stage2-gcc |
| clean-stage2: clean-stage2-gcc |
| clean-stage2-gcc: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean |
| @endif gcc-bootstrap |
| |
| |
| .PHONY: all-stage3-gcc maybe-all-stage3-gcc |
| .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc |
| maybe-all-stage3-gcc: |
| maybe-clean-stage3-gcc: |
| @if gcc-bootstrap |
| maybe-all-stage3-gcc: all-stage3-gcc |
| all-stage3: all-stage3-gcc |
| TARGET-stage3-gcc = $(TARGET-gcc) |
| all-stage3-gcc: configure-stage3-gcc |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-gcc) |
| |
| maybe-clean-stage3-gcc: clean-stage3-gcc |
| clean-stage3: clean-stage3-gcc |
| clean-stage3-gcc: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean |
| @endif gcc-bootstrap |
| |
| |
| .PHONY: all-stage4-gcc maybe-all-stage4-gcc |
| .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc |
| maybe-all-stage4-gcc: |
| maybe-clean-stage4-gcc: |
| @if gcc-bootstrap |
| maybe-all-stage4-gcc: all-stage4-gcc |
| all-stage4: all-stage4-gcc |
| TARGET-stage4-gcc = $(TARGET-gcc) |
| all-stage4-gcc: configure-stage4-gcc |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-gcc) |
| |
| maybe-clean-stage4-gcc: clean-stage4-gcc |
| clean-stage4: clean-stage4-gcc |
| clean-stage4-gcc: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean |
| @endif gcc-bootstrap |
| |
| |
| .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc |
| .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc |
| maybe-all-stageprofile-gcc: |
| maybe-clean-stageprofile-gcc: |
| @if gcc-bootstrap |
| maybe-all-stageprofile-gcc: all-stageprofile-gcc |
| all-stageprofile: all-stageprofile-gcc |
| TARGET-stageprofile-gcc = $(TARGET-gcc) |
| all-stageprofile-gcc: configure-stageprofile-gcc |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-gcc) |
| |
| maybe-clean-stageprofile-gcc: clean-stageprofile-gcc |
| clean-stageprofile: clean-stageprofile-gcc |
| clean-stageprofile-gcc: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean |
| @endif gcc-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc |
| .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc |
| maybe-all-stagefeedback-gcc: |
| maybe-clean-stagefeedback-gcc: |
| @if gcc-bootstrap |
| maybe-all-stagefeedback-gcc: all-stagefeedback-gcc |
| all-stagefeedback: all-stagefeedback-gcc |
| TARGET-stagefeedback-gcc = $(TARGET-gcc) |
| all-stagefeedback-gcc: configure-stagefeedback-gcc |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-gcc) |
| |
| maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc |
| clean-stagefeedback: clean-stagefeedback-gcc |
| clean-stagefeedback-gcc: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean |
| @endif gcc-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-gcc maybe-check-gcc |
| maybe-check-gcc: |
| @if gcc |
| maybe-check-gcc: check-gcc |
| |
| check-gcc: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check) |
| |
| @endif gcc |
| |
| .PHONY: install-gcc maybe-install-gcc |
| maybe-install-gcc: |
| @if gcc |
| maybe-install-gcc: install-gcc |
| |
| install-gcc: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install) |
| |
| @endif gcc |
| |
| .PHONY: install-strip-gcc maybe-install-strip-gcc |
| maybe-install-strip-gcc: |
| @if gcc |
| maybe-install-strip-gcc: install-strip-gcc |
| |
| install-strip-gcc: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip) |
| |
| @endif gcc |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-gcc info-gcc |
| maybe-info-gcc: |
| @if gcc |
| maybe-info-gcc: info-gcc |
| |
| info-gcc: \ |
| configure-gcc |
| @[ -f ./gcc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in gcc" ; \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif gcc |
| |
| .PHONY: maybe-dvi-gcc dvi-gcc |
| maybe-dvi-gcc: |
| @if gcc |
| maybe-dvi-gcc: dvi-gcc |
| |
| dvi-gcc: \ |
| configure-gcc |
| @[ -f ./gcc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in gcc" ; \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif gcc |
| |
| .PHONY: maybe-pdf-gcc pdf-gcc |
| maybe-pdf-gcc: |
| @if gcc |
| maybe-pdf-gcc: pdf-gcc |
| |
| pdf-gcc: \ |
| configure-gcc |
| @[ -f ./gcc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in gcc" ; \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif gcc |
| |
| .PHONY: maybe-html-gcc html-gcc |
| maybe-html-gcc: |
| @if gcc |
| maybe-html-gcc: html-gcc |
| |
| html-gcc: \ |
| configure-gcc |
| @[ -f ./gcc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in gcc" ; \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif gcc |
| |
| .PHONY: maybe-TAGS-gcc TAGS-gcc |
| maybe-TAGS-gcc: |
| @if gcc |
| maybe-TAGS-gcc: TAGS-gcc |
| |
| TAGS-gcc: \ |
| configure-gcc |
| @[ -f ./gcc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in gcc" ; \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif gcc |
| |
| .PHONY: maybe-install-info-gcc install-info-gcc |
| maybe-install-info-gcc: |
| @if gcc |
| maybe-install-info-gcc: install-info-gcc |
| |
| install-info-gcc: \ |
| configure-gcc \ |
| info-gcc |
| @[ -f ./gcc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in gcc" ; \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif gcc |
| |
| .PHONY: maybe-install-pdf-gcc install-pdf-gcc |
| maybe-install-pdf-gcc: |
| @if gcc |
| maybe-install-pdf-gcc: install-pdf-gcc |
| |
| install-pdf-gcc: \ |
| configure-gcc \ |
| pdf-gcc |
| @[ -f ./gcc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in gcc" ; \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif gcc |
| |
| .PHONY: maybe-install-html-gcc install-html-gcc |
| maybe-install-html-gcc: |
| @if gcc |
| maybe-install-html-gcc: install-html-gcc |
| |
| install-html-gcc: \ |
| configure-gcc \ |
| html-gcc |
| @[ -f ./gcc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in gcc" ; \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif gcc |
| |
| .PHONY: maybe-installcheck-gcc installcheck-gcc |
| maybe-installcheck-gcc: |
| @if gcc |
| maybe-installcheck-gcc: installcheck-gcc |
| |
| installcheck-gcc: \ |
| configure-gcc |
| @[ -f ./gcc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in gcc" ; \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif gcc |
| |
| .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc |
| maybe-mostlyclean-gcc: |
| @if gcc |
| maybe-mostlyclean-gcc: mostlyclean-gcc |
| |
| mostlyclean-gcc: |
| @[ -f ./gcc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in gcc" ; \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif gcc |
| |
| .PHONY: maybe-clean-gcc clean-gcc |
| maybe-clean-gcc: |
| @if gcc |
| maybe-clean-gcc: clean-gcc |
| |
| clean-gcc: |
| @[ -f ./gcc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in gcc" ; \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif gcc |
| |
| .PHONY: maybe-distclean-gcc distclean-gcc |
| maybe-distclean-gcc: |
| @if gcc |
| maybe-distclean-gcc: distclean-gcc |
| |
| distclean-gcc: |
| @[ -f ./gcc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in gcc" ; \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif gcc |
| |
| .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc |
| maybe-maintainer-clean-gcc: |
| @if gcc |
| maybe-maintainer-clean-gcc: maintainer-clean-gcc |
| |
| maintainer-clean-gcc: |
| @[ -f ./gcc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in gcc" ; \ |
| (cd $(HOST_SUBDIR)/gcc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif gcc |
| |
| |
| |
| .PHONY: configure-gmp maybe-configure-gmp |
| maybe-configure-gmp: |
| @if gcc-bootstrap |
| configure-gmp: stage_current |
| @endif gcc-bootstrap |
| @if gmp |
| maybe-configure-gmp: configure-gmp |
| configure-gmp: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/gmp; \ |
| cd "$(HOST_SUBDIR)/gmp" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gmp; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ |
| --target=none-${host_vendor}-${host_os} --disable-shared \ |
| || exit 1 |
| @endif gmp |
| |
| |
| |
| .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp |
| maybe-configure-stage1-gmp: |
| @if gmp-bootstrap |
| maybe-configure-stage1-gmp: configure-stage1-gmp |
| configure-stage1-gmp: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ |
| cd $(HOST_SUBDIR)/gmp || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gmp; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ |
| --target=none-${host_vendor}-${host_os} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) \ |
| --disable-shared |
| @endif gmp-bootstrap |
| |
| .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp |
| maybe-configure-stage2-gmp: |
| @if gmp-bootstrap |
| maybe-configure-stage2-gmp: configure-stage2-gmp |
| configure-stage2-gmp: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ |
| cd $(HOST_SUBDIR)/gmp || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gmp; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ |
| --target=none-${host_vendor}-${host_os} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) \ |
| --disable-shared |
| @endif gmp-bootstrap |
| |
| .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp |
| maybe-configure-stage3-gmp: |
| @if gmp-bootstrap |
| maybe-configure-stage3-gmp: configure-stage3-gmp |
| configure-stage3-gmp: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ |
| cd $(HOST_SUBDIR)/gmp || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gmp; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ |
| --target=none-${host_vendor}-${host_os} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) \ |
| --disable-shared |
| @endif gmp-bootstrap |
| |
| .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp |
| maybe-configure-stage4-gmp: |
| @if gmp-bootstrap |
| maybe-configure-stage4-gmp: configure-stage4-gmp |
| configure-stage4-gmp: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ |
| cd $(HOST_SUBDIR)/gmp || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gmp; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ |
| --target=none-${host_vendor}-${host_os} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) \ |
| --disable-shared |
| @endif gmp-bootstrap |
| |
| .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp |
| maybe-configure-stageprofile-gmp: |
| @if gmp-bootstrap |
| maybe-configure-stageprofile-gmp: configure-stageprofile-gmp |
| configure-stageprofile-gmp: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ |
| cd $(HOST_SUBDIR)/gmp || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gmp; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ |
| --target=none-${host_vendor}-${host_os} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) \ |
| --disable-shared |
| @endif gmp-bootstrap |
| |
| .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp |
| maybe-configure-stagefeedback-gmp: |
| @if gmp-bootstrap |
| maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp |
| configure-stagefeedback-gmp: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ |
| cd $(HOST_SUBDIR)/gmp || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gmp; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ |
| --target=none-${host_vendor}-${host_os} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) \ |
| --disable-shared |
| @endif gmp-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-gmp maybe-all-gmp |
| maybe-all-gmp: |
| @if gcc-bootstrap |
| all-gmp: stage_current |
| @endif gcc-bootstrap |
| @if gmp |
| TARGET-gmp=all |
| maybe-all-gmp: all-gmp |
| all-gmp: configure-gmp |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-gmp)) |
| @endif gmp |
| |
| |
| |
| .PHONY: all-stage1-gmp maybe-all-stage1-gmp |
| .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp |
| maybe-all-stage1-gmp: |
| maybe-clean-stage1-gmp: |
| @if gmp-bootstrap |
| maybe-all-stage1-gmp: all-stage1-gmp |
| all-stage1: all-stage1-gmp |
| TARGET-stage1-gmp = $(TARGET-gmp) |
| all-stage1-gmp: configure-stage1-gmp |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-gmp) |
| |
| maybe-clean-stage1-gmp: clean-stage1-gmp |
| clean-stage1: clean-stage1-gmp |
| clean-stage1-gmp: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) clean |
| @endif gmp-bootstrap |
| |
| |
| .PHONY: all-stage2-gmp maybe-all-stage2-gmp |
| .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp |
| maybe-all-stage2-gmp: |
| maybe-clean-stage2-gmp: |
| @if gmp-bootstrap |
| maybe-all-stage2-gmp: all-stage2-gmp |
| all-stage2: all-stage2-gmp |
| TARGET-stage2-gmp = $(TARGET-gmp) |
| all-stage2-gmp: configure-stage2-gmp |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-gmp) |
| |
| maybe-clean-stage2-gmp: clean-stage2-gmp |
| clean-stage2: clean-stage2-gmp |
| clean-stage2-gmp: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gmp-bootstrap |
| |
| |
| .PHONY: all-stage3-gmp maybe-all-stage3-gmp |
| .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp |
| maybe-all-stage3-gmp: |
| maybe-clean-stage3-gmp: |
| @if gmp-bootstrap |
| maybe-all-stage3-gmp: all-stage3-gmp |
| all-stage3: all-stage3-gmp |
| TARGET-stage3-gmp = $(TARGET-gmp) |
| all-stage3-gmp: configure-stage3-gmp |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-gmp) |
| |
| maybe-clean-stage3-gmp: clean-stage3-gmp |
| clean-stage3: clean-stage3-gmp |
| clean-stage3-gmp: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gmp-bootstrap |
| |
| |
| .PHONY: all-stage4-gmp maybe-all-stage4-gmp |
| .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp |
| maybe-all-stage4-gmp: |
| maybe-clean-stage4-gmp: |
| @if gmp-bootstrap |
| maybe-all-stage4-gmp: all-stage4-gmp |
| all-stage4: all-stage4-gmp |
| TARGET-stage4-gmp = $(TARGET-gmp) |
| all-stage4-gmp: configure-stage4-gmp |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-gmp) |
| |
| maybe-clean-stage4-gmp: clean-stage4-gmp |
| clean-stage4: clean-stage4-gmp |
| clean-stage4-gmp: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gmp-bootstrap |
| |
| |
| .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp |
| .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp |
| maybe-all-stageprofile-gmp: |
| maybe-clean-stageprofile-gmp: |
| @if gmp-bootstrap |
| maybe-all-stageprofile-gmp: all-stageprofile-gmp |
| all-stageprofile: all-stageprofile-gmp |
| TARGET-stageprofile-gmp = $(TARGET-gmp) |
| all-stageprofile-gmp: configure-stageprofile-gmp |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-gmp) |
| |
| maybe-clean-stageprofile-gmp: clean-stageprofile-gmp |
| clean-stageprofile: clean-stageprofile-gmp |
| clean-stageprofile-gmp: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gmp-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp |
| .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp |
| maybe-all-stagefeedback-gmp: |
| maybe-clean-stagefeedback-gmp: |
| @if gmp-bootstrap |
| maybe-all-stagefeedback-gmp: all-stagefeedback-gmp |
| all-stagefeedback: all-stagefeedback-gmp |
| TARGET-stagefeedback-gmp = $(TARGET-gmp) |
| all-stagefeedback-gmp: configure-stagefeedback-gmp |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-gmp) |
| |
| maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp |
| clean-stagefeedback: clean-stagefeedback-gmp |
| clean-stagefeedback-gmp: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gmp-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-gmp maybe-check-gmp |
| maybe-check-gmp: |
| @if gmp |
| maybe-check-gmp: check-gmp |
| |
| check-gmp: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif gmp |
| |
| .PHONY: install-gmp maybe-install-gmp |
| maybe-install-gmp: |
| @if gmp |
| maybe-install-gmp: install-gmp |
| |
| install-gmp: |
| |
| @endif gmp |
| |
| .PHONY: install-strip-gmp maybe-install-strip-gmp |
| maybe-install-strip-gmp: |
| @if gmp |
| maybe-install-strip-gmp: install-strip-gmp |
| |
| install-strip-gmp: |
| |
| @endif gmp |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-gmp info-gmp |
| maybe-info-gmp: |
| @if gmp |
| maybe-info-gmp: info-gmp |
| |
| info-gmp: \ |
| configure-gmp |
| @[ -f ./gmp/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in gmp" ; \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif gmp |
| |
| .PHONY: maybe-dvi-gmp dvi-gmp |
| maybe-dvi-gmp: |
| @if gmp |
| maybe-dvi-gmp: dvi-gmp |
| |
| dvi-gmp: \ |
| configure-gmp |
| @[ -f ./gmp/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in gmp" ; \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif gmp |
| |
| .PHONY: maybe-pdf-gmp pdf-gmp |
| maybe-pdf-gmp: |
| @if gmp |
| maybe-pdf-gmp: pdf-gmp |
| |
| pdf-gmp: \ |
| configure-gmp |
| @[ -f ./gmp/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in gmp" ; \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif gmp |
| |
| .PHONY: maybe-html-gmp html-gmp |
| maybe-html-gmp: |
| @if gmp |
| maybe-html-gmp: html-gmp |
| |
| html-gmp: \ |
| configure-gmp |
| @[ -f ./gmp/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in gmp" ; \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif gmp |
| |
| .PHONY: maybe-TAGS-gmp TAGS-gmp |
| maybe-TAGS-gmp: |
| @if gmp |
| maybe-TAGS-gmp: TAGS-gmp |
| |
| TAGS-gmp: \ |
| configure-gmp |
| @[ -f ./gmp/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in gmp" ; \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif gmp |
| |
| .PHONY: maybe-install-info-gmp install-info-gmp |
| maybe-install-info-gmp: |
| @if gmp |
| maybe-install-info-gmp: install-info-gmp |
| |
| install-info-gmp: \ |
| configure-gmp \ |
| info-gmp |
| @[ -f ./gmp/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in gmp" ; \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif gmp |
| |
| .PHONY: maybe-install-pdf-gmp install-pdf-gmp |
| maybe-install-pdf-gmp: |
| @if gmp |
| maybe-install-pdf-gmp: install-pdf-gmp |
| |
| install-pdf-gmp: \ |
| configure-gmp \ |
| pdf-gmp |
| @[ -f ./gmp/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in gmp" ; \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif gmp |
| |
| .PHONY: maybe-install-html-gmp install-html-gmp |
| maybe-install-html-gmp: |
| @if gmp |
| maybe-install-html-gmp: install-html-gmp |
| |
| install-html-gmp: \ |
| configure-gmp \ |
| html-gmp |
| @[ -f ./gmp/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in gmp" ; \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif gmp |
| |
| .PHONY: maybe-installcheck-gmp installcheck-gmp |
| maybe-installcheck-gmp: |
| @if gmp |
| maybe-installcheck-gmp: installcheck-gmp |
| |
| installcheck-gmp: \ |
| configure-gmp |
| @[ -f ./gmp/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in gmp" ; \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif gmp |
| |
| .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp |
| maybe-mostlyclean-gmp: |
| @if gmp |
| maybe-mostlyclean-gmp: mostlyclean-gmp |
| |
| mostlyclean-gmp: |
| @[ -f ./gmp/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in gmp" ; \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif gmp |
| |
| .PHONY: maybe-clean-gmp clean-gmp |
| maybe-clean-gmp: |
| @if gmp |
| maybe-clean-gmp: clean-gmp |
| |
| clean-gmp: |
| @[ -f ./gmp/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in gmp" ; \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif gmp |
| |
| .PHONY: maybe-distclean-gmp distclean-gmp |
| maybe-distclean-gmp: |
| @if gmp |
| maybe-distclean-gmp: distclean-gmp |
| |
| distclean-gmp: |
| @[ -f ./gmp/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in gmp" ; \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif gmp |
| |
| .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp |
| maybe-maintainer-clean-gmp: |
| @if gmp |
| maybe-maintainer-clean-gmp: maintainer-clean-gmp |
| |
| maintainer-clean-gmp: |
| @[ -f ./gmp/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in gmp" ; \ |
| (cd $(HOST_SUBDIR)/gmp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif gmp |
| |
| |
| |
| .PHONY: configure-mpfr maybe-configure-mpfr |
| maybe-configure-mpfr: |
| @if gcc-bootstrap |
| configure-mpfr: stage_current |
| @endif gcc-bootstrap |
| @if mpfr |
| maybe-configure-mpfr: configure-mpfr |
| configure-mpfr: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/mpfr; \ |
| cd "$(HOST_SUBDIR)/mpfr" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=mpfr; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \ |
| || exit 1 |
| @endif mpfr |
| |
| |
| |
| .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr |
| maybe-configure-stage1-mpfr: |
| @if mpfr-bootstrap |
| maybe-configure-stage1-mpfr: configure-stage1-mpfr |
| configure-stage1-mpfr: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ |
| cd $(HOST_SUBDIR)/mpfr || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=mpfr; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_mpfr_configure_flags@ |
| @endif mpfr-bootstrap |
| |
| .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr |
| maybe-configure-stage2-mpfr: |
| @if mpfr-bootstrap |
| maybe-configure-stage2-mpfr: configure-stage2-mpfr |
| configure-stage2-mpfr: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ |
| cd $(HOST_SUBDIR)/mpfr || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=mpfr; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_mpfr_configure_flags@ |
| @endif mpfr-bootstrap |
| |
| .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr |
| maybe-configure-stage3-mpfr: |
| @if mpfr-bootstrap |
| maybe-configure-stage3-mpfr: configure-stage3-mpfr |
| configure-stage3-mpfr: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ |
| cd $(HOST_SUBDIR)/mpfr || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=mpfr; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_mpfr_configure_flags@ |
| @endif mpfr-bootstrap |
| |
| .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr |
| maybe-configure-stage4-mpfr: |
| @if mpfr-bootstrap |
| maybe-configure-stage4-mpfr: configure-stage4-mpfr |
| configure-stage4-mpfr: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ |
| cd $(HOST_SUBDIR)/mpfr || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=mpfr; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_mpfr_configure_flags@ |
| @endif mpfr-bootstrap |
| |
| .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr |
| maybe-configure-stageprofile-mpfr: |
| @if mpfr-bootstrap |
| maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr |
| configure-stageprofile-mpfr: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ |
| cd $(HOST_SUBDIR)/mpfr || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=mpfr; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_mpfr_configure_flags@ |
| @endif mpfr-bootstrap |
| |
| .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr |
| maybe-configure-stagefeedback-mpfr: |
| @if mpfr-bootstrap |
| maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr |
| configure-stagefeedback-mpfr: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ |
| cd $(HOST_SUBDIR)/mpfr || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=mpfr; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_mpfr_configure_flags@ |
| @endif mpfr-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-mpfr maybe-all-mpfr |
| maybe-all-mpfr: |
| @if gcc-bootstrap |
| all-mpfr: stage_current |
| @endif gcc-bootstrap |
| @if mpfr |
| TARGET-mpfr=all |
| maybe-all-mpfr: all-mpfr |
| all-mpfr: configure-mpfr |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-mpfr)) |
| @endif mpfr |
| |
| |
| |
| .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr |
| .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr |
| maybe-all-stage1-mpfr: |
| maybe-clean-stage1-mpfr: |
| @if mpfr-bootstrap |
| maybe-all-stage1-mpfr: all-stage1-mpfr |
| all-stage1: all-stage1-mpfr |
| TARGET-stage1-mpfr = $(TARGET-mpfr) |
| all-stage1-mpfr: configure-stage1-mpfr |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-mpfr) |
| |
| maybe-clean-stage1-mpfr: clean-stage1-mpfr |
| clean-stage1: clean-stage1-mpfr |
| clean-stage1-mpfr: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) clean |
| @endif mpfr-bootstrap |
| |
| |
| .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr |
| .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr |
| maybe-all-stage2-mpfr: |
| maybe-clean-stage2-mpfr: |
| @if mpfr-bootstrap |
| maybe-all-stage2-mpfr: all-stage2-mpfr |
| all-stage2: all-stage2-mpfr |
| TARGET-stage2-mpfr = $(TARGET-mpfr) |
| all-stage2-mpfr: configure-stage2-mpfr |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-mpfr) |
| |
| maybe-clean-stage2-mpfr: clean-stage2-mpfr |
| clean-stage2: clean-stage2-mpfr |
| clean-stage2-mpfr: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif mpfr-bootstrap |
| |
| |
| .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr |
| .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr |
| maybe-all-stage3-mpfr: |
| maybe-clean-stage3-mpfr: |
| @if mpfr-bootstrap |
| maybe-all-stage3-mpfr: all-stage3-mpfr |
| all-stage3: all-stage3-mpfr |
| TARGET-stage3-mpfr = $(TARGET-mpfr) |
| all-stage3-mpfr: configure-stage3-mpfr |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-mpfr) |
| |
| maybe-clean-stage3-mpfr: clean-stage3-mpfr |
| clean-stage3: clean-stage3-mpfr |
| clean-stage3-mpfr: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif mpfr-bootstrap |
| |
| |
| .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr |
| .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr |
| maybe-all-stage4-mpfr: |
| maybe-clean-stage4-mpfr: |
| @if mpfr-bootstrap |
| maybe-all-stage4-mpfr: all-stage4-mpfr |
| all-stage4: all-stage4-mpfr |
| TARGET-stage4-mpfr = $(TARGET-mpfr) |
| all-stage4-mpfr: configure-stage4-mpfr |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-mpfr) |
| |
| maybe-clean-stage4-mpfr: clean-stage4-mpfr |
| clean-stage4: clean-stage4-mpfr |
| clean-stage4-mpfr: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif mpfr-bootstrap |
| |
| |
| .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr |
| .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr |
| maybe-all-stageprofile-mpfr: |
| maybe-clean-stageprofile-mpfr: |
| @if mpfr-bootstrap |
| maybe-all-stageprofile-mpfr: all-stageprofile-mpfr |
| all-stageprofile: all-stageprofile-mpfr |
| TARGET-stageprofile-mpfr = $(TARGET-mpfr) |
| all-stageprofile-mpfr: configure-stageprofile-mpfr |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-mpfr) |
| |
| maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr |
| clean-stageprofile: clean-stageprofile-mpfr |
| clean-stageprofile-mpfr: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif mpfr-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr |
| .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr |
| maybe-all-stagefeedback-mpfr: |
| maybe-clean-stagefeedback-mpfr: |
| @if mpfr-bootstrap |
| maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr |
| all-stagefeedback: all-stagefeedback-mpfr |
| TARGET-stagefeedback-mpfr = $(TARGET-mpfr) |
| all-stagefeedback-mpfr: configure-stagefeedback-mpfr |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-mpfr) |
| |
| maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr |
| clean-stagefeedback: clean-stagefeedback-mpfr |
| clean-stagefeedback-mpfr: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif mpfr-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-mpfr maybe-check-mpfr |
| maybe-check-mpfr: |
| @if mpfr |
| maybe-check-mpfr: check-mpfr |
| |
| check-mpfr: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif mpfr |
| |
| .PHONY: install-mpfr maybe-install-mpfr |
| maybe-install-mpfr: |
| @if mpfr |
| maybe-install-mpfr: install-mpfr |
| |
| install-mpfr: |
| |
| @endif mpfr |
| |
| .PHONY: install-strip-mpfr maybe-install-strip-mpfr |
| maybe-install-strip-mpfr: |
| @if mpfr |
| maybe-install-strip-mpfr: install-strip-mpfr |
| |
| install-strip-mpfr: |
| |
| @endif mpfr |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-mpfr info-mpfr |
| maybe-info-mpfr: |
| @if mpfr |
| maybe-info-mpfr: info-mpfr |
| |
| info-mpfr: \ |
| configure-mpfr |
| @[ -f ./mpfr/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in mpfr" ; \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif mpfr |
| |
| .PHONY: maybe-dvi-mpfr dvi-mpfr |
| maybe-dvi-mpfr: |
| @if mpfr |
| maybe-dvi-mpfr: dvi-mpfr |
| |
| dvi-mpfr: \ |
| configure-mpfr |
| @[ -f ./mpfr/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in mpfr" ; \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif mpfr |
| |
| .PHONY: maybe-pdf-mpfr pdf-mpfr |
| maybe-pdf-mpfr: |
| @if mpfr |
| maybe-pdf-mpfr: pdf-mpfr |
| |
| pdf-mpfr: \ |
| configure-mpfr |
| @[ -f ./mpfr/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in mpfr" ; \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif mpfr |
| |
| .PHONY: maybe-html-mpfr html-mpfr |
| maybe-html-mpfr: |
| @if mpfr |
| maybe-html-mpfr: html-mpfr |
| |
| html-mpfr: \ |
| configure-mpfr |
| @[ -f ./mpfr/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in mpfr" ; \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif mpfr |
| |
| .PHONY: maybe-TAGS-mpfr TAGS-mpfr |
| maybe-TAGS-mpfr: |
| @if mpfr |
| maybe-TAGS-mpfr: TAGS-mpfr |
| |
| TAGS-mpfr: \ |
| configure-mpfr |
| @[ -f ./mpfr/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in mpfr" ; \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif mpfr |
| |
| .PHONY: maybe-install-info-mpfr install-info-mpfr |
| maybe-install-info-mpfr: |
| @if mpfr |
| maybe-install-info-mpfr: install-info-mpfr |
| |
| install-info-mpfr: \ |
| configure-mpfr \ |
| info-mpfr |
| @[ -f ./mpfr/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in mpfr" ; \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif mpfr |
| |
| .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr |
| maybe-install-pdf-mpfr: |
| @if mpfr |
| maybe-install-pdf-mpfr: install-pdf-mpfr |
| |
| install-pdf-mpfr: \ |
| configure-mpfr \ |
| pdf-mpfr |
| @[ -f ./mpfr/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in mpfr" ; \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif mpfr |
| |
| .PHONY: maybe-install-html-mpfr install-html-mpfr |
| maybe-install-html-mpfr: |
| @if mpfr |
| maybe-install-html-mpfr: install-html-mpfr |
| |
| install-html-mpfr: \ |
| configure-mpfr \ |
| html-mpfr |
| @[ -f ./mpfr/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in mpfr" ; \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif mpfr |
| |
| .PHONY: maybe-installcheck-mpfr installcheck-mpfr |
| maybe-installcheck-mpfr: |
| @if mpfr |
| maybe-installcheck-mpfr: installcheck-mpfr |
| |
| installcheck-mpfr: \ |
| configure-mpfr |
| @[ -f ./mpfr/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in mpfr" ; \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif mpfr |
| |
| .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr |
| maybe-mostlyclean-mpfr: |
| @if mpfr |
| maybe-mostlyclean-mpfr: mostlyclean-mpfr |
| |
| mostlyclean-mpfr: |
| @[ -f ./mpfr/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in mpfr" ; \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif mpfr |
| |
| .PHONY: maybe-clean-mpfr clean-mpfr |
| maybe-clean-mpfr: |
| @if mpfr |
| maybe-clean-mpfr: clean-mpfr |
| |
| clean-mpfr: |
| @[ -f ./mpfr/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in mpfr" ; \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif mpfr |
| |
| .PHONY: maybe-distclean-mpfr distclean-mpfr |
| maybe-distclean-mpfr: |
| @if mpfr |
| maybe-distclean-mpfr: distclean-mpfr |
| |
| distclean-mpfr: |
| @[ -f ./mpfr/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in mpfr" ; \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif mpfr |
| |
| .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr |
| maybe-maintainer-clean-mpfr: |
| @if mpfr |
| maybe-maintainer-clean-mpfr: maintainer-clean-mpfr |
| |
| maintainer-clean-mpfr: |
| @[ -f ./mpfr/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in mpfr" ; \ |
| (cd $(HOST_SUBDIR)/mpfr && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif mpfr |
| |
| |
| |
| .PHONY: configure-mpc maybe-configure-mpc |
| maybe-configure-mpc: |
| @if gcc-bootstrap |
| configure-mpc: stage_current |
| @endif gcc-bootstrap |
| @if mpc |
| maybe-configure-mpc: configure-mpc |
| configure-mpc: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/mpc; \ |
| cd "$(HOST_SUBDIR)/mpc" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=mpc; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \ |
| || exit 1 |
| @endif mpc |
| |
| |
| |
| .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc |
| maybe-configure-stage1-mpc: |
| @if mpc-bootstrap |
| maybe-configure-stage1-mpc: configure-stage1-mpc |
| configure-stage1-mpc: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ |
| cd $(HOST_SUBDIR)/mpc || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=mpc; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ |
| @endif mpc-bootstrap |
| |
| .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc |
| maybe-configure-stage2-mpc: |
| @if mpc-bootstrap |
| maybe-configure-stage2-mpc: configure-stage2-mpc |
| configure-stage2-mpc: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ |
| cd $(HOST_SUBDIR)/mpc || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=mpc; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ |
| @endif mpc-bootstrap |
| |
| .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc |
| maybe-configure-stage3-mpc: |
| @if mpc-bootstrap |
| maybe-configure-stage3-mpc: configure-stage3-mpc |
| configure-stage3-mpc: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ |
| cd $(HOST_SUBDIR)/mpc || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=mpc; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ |
| @endif mpc-bootstrap |
| |
| .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc |
| maybe-configure-stage4-mpc: |
| @if mpc-bootstrap |
| maybe-configure-stage4-mpc: configure-stage4-mpc |
| configure-stage4-mpc: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ |
| cd $(HOST_SUBDIR)/mpc || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=mpc; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ |
| @endif mpc-bootstrap |
| |
| .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc |
| maybe-configure-stageprofile-mpc: |
| @if mpc-bootstrap |
| maybe-configure-stageprofile-mpc: configure-stageprofile-mpc |
| configure-stageprofile-mpc: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ |
| cd $(HOST_SUBDIR)/mpc || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=mpc; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ |
| @endif mpc-bootstrap |
| |
| .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc |
| maybe-configure-stagefeedback-mpc: |
| @if mpc-bootstrap |
| maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc |
| configure-stagefeedback-mpc: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ |
| cd $(HOST_SUBDIR)/mpc || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=mpc; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ |
| @endif mpc-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-mpc maybe-all-mpc |
| maybe-all-mpc: |
| @if gcc-bootstrap |
| all-mpc: stage_current |
| @endif gcc-bootstrap |
| @if mpc |
| TARGET-mpc=all |
| maybe-all-mpc: all-mpc |
| all-mpc: configure-mpc |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-mpc)) |
| @endif mpc |
| |
| |
| |
| .PHONY: all-stage1-mpc maybe-all-stage1-mpc |
| .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc |
| maybe-all-stage1-mpc: |
| maybe-clean-stage1-mpc: |
| @if mpc-bootstrap |
| maybe-all-stage1-mpc: all-stage1-mpc |
| all-stage1: all-stage1-mpc |
| TARGET-stage1-mpc = $(TARGET-mpc) |
| all-stage1-mpc: configure-stage1-mpc |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-mpc) |
| |
| maybe-clean-stage1-mpc: clean-stage1-mpc |
| clean-stage1: clean-stage1-mpc |
| clean-stage1-mpc: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) clean |
| @endif mpc-bootstrap |
| |
| |
| .PHONY: all-stage2-mpc maybe-all-stage2-mpc |
| .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc |
| maybe-all-stage2-mpc: |
| maybe-clean-stage2-mpc: |
| @if mpc-bootstrap |
| maybe-all-stage2-mpc: all-stage2-mpc |
| all-stage2: all-stage2-mpc |
| TARGET-stage2-mpc = $(TARGET-mpc) |
| all-stage2-mpc: configure-stage2-mpc |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-mpc) |
| |
| maybe-clean-stage2-mpc: clean-stage2-mpc |
| clean-stage2: clean-stage2-mpc |
| clean-stage2-mpc: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif mpc-bootstrap |
| |
| |
| .PHONY: all-stage3-mpc maybe-all-stage3-mpc |
| .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc |
| maybe-all-stage3-mpc: |
| maybe-clean-stage3-mpc: |
| @if mpc-bootstrap |
| maybe-all-stage3-mpc: all-stage3-mpc |
| all-stage3: all-stage3-mpc |
| TARGET-stage3-mpc = $(TARGET-mpc) |
| all-stage3-mpc: configure-stage3-mpc |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-mpc) |
| |
| maybe-clean-stage3-mpc: clean-stage3-mpc |
| clean-stage3: clean-stage3-mpc |
| clean-stage3-mpc: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif mpc-bootstrap |
| |
| |
| .PHONY: all-stage4-mpc maybe-all-stage4-mpc |
| .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc |
| maybe-all-stage4-mpc: |
| maybe-clean-stage4-mpc: |
| @if mpc-bootstrap |
| maybe-all-stage4-mpc: all-stage4-mpc |
| all-stage4: all-stage4-mpc |
| TARGET-stage4-mpc = $(TARGET-mpc) |
| all-stage4-mpc: configure-stage4-mpc |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-mpc) |
| |
| maybe-clean-stage4-mpc: clean-stage4-mpc |
| clean-stage4: clean-stage4-mpc |
| clean-stage4-mpc: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif mpc-bootstrap |
| |
| |
| .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc |
| .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc |
| maybe-all-stageprofile-mpc: |
| maybe-clean-stageprofile-mpc: |
| @if mpc-bootstrap |
| maybe-all-stageprofile-mpc: all-stageprofile-mpc |
| all-stageprofile: all-stageprofile-mpc |
| TARGET-stageprofile-mpc = $(TARGET-mpc) |
| all-stageprofile-mpc: configure-stageprofile-mpc |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-mpc) |
| |
| maybe-clean-stageprofile-mpc: clean-stageprofile-mpc |
| clean-stageprofile: clean-stageprofile-mpc |
| clean-stageprofile-mpc: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif mpc-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc |
| .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc |
| maybe-all-stagefeedback-mpc: |
| maybe-clean-stagefeedback-mpc: |
| @if mpc-bootstrap |
| maybe-all-stagefeedback-mpc: all-stagefeedback-mpc |
| all-stagefeedback: all-stagefeedback-mpc |
| TARGET-stagefeedback-mpc = $(TARGET-mpc) |
| all-stagefeedback-mpc: configure-stagefeedback-mpc |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-mpc) |
| |
| maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc |
| clean-stagefeedback: clean-stagefeedback-mpc |
| clean-stagefeedback-mpc: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif mpc-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-mpc maybe-check-mpc |
| maybe-check-mpc: |
| @if mpc |
| maybe-check-mpc: check-mpc |
| |
| check-mpc: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif mpc |
| |
| .PHONY: install-mpc maybe-install-mpc |
| maybe-install-mpc: |
| @if mpc |
| maybe-install-mpc: install-mpc |
| |
| install-mpc: |
| |
| @endif mpc |
| |
| .PHONY: install-strip-mpc maybe-install-strip-mpc |
| maybe-install-strip-mpc: |
| @if mpc |
| maybe-install-strip-mpc: install-strip-mpc |
| |
| install-strip-mpc: |
| |
| @endif mpc |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-mpc info-mpc |
| maybe-info-mpc: |
| @if mpc |
| maybe-info-mpc: info-mpc |
| |
| info-mpc: \ |
| configure-mpc |
| @[ -f ./mpc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in mpc" ; \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif mpc |
| |
| .PHONY: maybe-dvi-mpc dvi-mpc |
| maybe-dvi-mpc: |
| @if mpc |
| maybe-dvi-mpc: dvi-mpc |
| |
| dvi-mpc: \ |
| configure-mpc |
| @[ -f ./mpc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in mpc" ; \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif mpc |
| |
| .PHONY: maybe-pdf-mpc pdf-mpc |
| maybe-pdf-mpc: |
| @if mpc |
| maybe-pdf-mpc: pdf-mpc |
| |
| pdf-mpc: \ |
| configure-mpc |
| @[ -f ./mpc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in mpc" ; \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif mpc |
| |
| .PHONY: maybe-html-mpc html-mpc |
| maybe-html-mpc: |
| @if mpc |
| maybe-html-mpc: html-mpc |
| |
| html-mpc: \ |
| configure-mpc |
| @[ -f ./mpc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in mpc" ; \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif mpc |
| |
| .PHONY: maybe-TAGS-mpc TAGS-mpc |
| maybe-TAGS-mpc: |
| @if mpc |
| maybe-TAGS-mpc: TAGS-mpc |
| |
| TAGS-mpc: \ |
| configure-mpc |
| @[ -f ./mpc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in mpc" ; \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif mpc |
| |
| .PHONY: maybe-install-info-mpc install-info-mpc |
| maybe-install-info-mpc: |
| @if mpc |
| maybe-install-info-mpc: install-info-mpc |
| |
| install-info-mpc: \ |
| configure-mpc \ |
| info-mpc |
| @[ -f ./mpc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in mpc" ; \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif mpc |
| |
| .PHONY: maybe-install-pdf-mpc install-pdf-mpc |
| maybe-install-pdf-mpc: |
| @if mpc |
| maybe-install-pdf-mpc: install-pdf-mpc |
| |
| install-pdf-mpc: \ |
| configure-mpc \ |
| pdf-mpc |
| @[ -f ./mpc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in mpc" ; \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif mpc |
| |
| .PHONY: maybe-install-html-mpc install-html-mpc |
| maybe-install-html-mpc: |
| @if mpc |
| maybe-install-html-mpc: install-html-mpc |
| |
| install-html-mpc: \ |
| configure-mpc \ |
| html-mpc |
| @[ -f ./mpc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in mpc" ; \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif mpc |
| |
| .PHONY: maybe-installcheck-mpc installcheck-mpc |
| maybe-installcheck-mpc: |
| @if mpc |
| maybe-installcheck-mpc: installcheck-mpc |
| |
| installcheck-mpc: \ |
| configure-mpc |
| @[ -f ./mpc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in mpc" ; \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif mpc |
| |
| .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc |
| maybe-mostlyclean-mpc: |
| @if mpc |
| maybe-mostlyclean-mpc: mostlyclean-mpc |
| |
| mostlyclean-mpc: |
| @[ -f ./mpc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in mpc" ; \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif mpc |
| |
| .PHONY: maybe-clean-mpc clean-mpc |
| maybe-clean-mpc: |
| @if mpc |
| maybe-clean-mpc: clean-mpc |
| |
| clean-mpc: |
| @[ -f ./mpc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in mpc" ; \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif mpc |
| |
| .PHONY: maybe-distclean-mpc distclean-mpc |
| maybe-distclean-mpc: |
| @if mpc |
| maybe-distclean-mpc: distclean-mpc |
| |
| distclean-mpc: |
| @[ -f ./mpc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in mpc" ; \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif mpc |
| |
| .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc |
| maybe-maintainer-clean-mpc: |
| @if mpc |
| maybe-maintainer-clean-mpc: maintainer-clean-mpc |
| |
| maintainer-clean-mpc: |
| @[ -f ./mpc/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in mpc" ; \ |
| (cd $(HOST_SUBDIR)/mpc && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif mpc |
| |
| |
| |
| .PHONY: configure-isl maybe-configure-isl |
| maybe-configure-isl: |
| @if gcc-bootstrap |
| configure-isl: stage_current |
| @endif gcc-bootstrap |
| @if isl |
| maybe-configure-isl: configure-isl |
| configure-isl: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/isl; \ |
| cd "$(HOST_SUBDIR)/isl" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/isl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=isl; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \ |
| || exit 1 |
| @endif isl |
| |
| |
| |
| .PHONY: configure-stage1-isl maybe-configure-stage1-isl |
| maybe-configure-stage1-isl: |
| @if isl-bootstrap |
| maybe-configure-stage1-isl: configure-stage1-isl |
| configure-stage1-isl: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \ |
| cd $(HOST_SUBDIR)/isl || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/isl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=isl; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_isl_gmp_configure_flags@ |
| @endif isl-bootstrap |
| |
| .PHONY: configure-stage2-isl maybe-configure-stage2-isl |
| maybe-configure-stage2-isl: |
| @if isl-bootstrap |
| maybe-configure-stage2-isl: configure-stage2-isl |
| configure-stage2-isl: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \ |
| cd $(HOST_SUBDIR)/isl || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/isl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=isl; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_isl_gmp_configure_flags@ |
| @endif isl-bootstrap |
| |
| .PHONY: configure-stage3-isl maybe-configure-stage3-isl |
| maybe-configure-stage3-isl: |
| @if isl-bootstrap |
| maybe-configure-stage3-isl: configure-stage3-isl |
| configure-stage3-isl: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \ |
| cd $(HOST_SUBDIR)/isl || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/isl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=isl; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_isl_gmp_configure_flags@ |
| @endif isl-bootstrap |
| |
| .PHONY: configure-stage4-isl maybe-configure-stage4-isl |
| maybe-configure-stage4-isl: |
| @if isl-bootstrap |
| maybe-configure-stage4-isl: configure-stage4-isl |
| configure-stage4-isl: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \ |
| cd $(HOST_SUBDIR)/isl || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/isl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=isl; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_isl_gmp_configure_flags@ |
| @endif isl-bootstrap |
| |
| .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl |
| maybe-configure-stageprofile-isl: |
| @if isl-bootstrap |
| maybe-configure-stageprofile-isl: configure-stageprofile-isl |
| configure-stageprofile-isl: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \ |
| cd $(HOST_SUBDIR)/isl || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/isl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=isl; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_isl_gmp_configure_flags@ |
| @endif isl-bootstrap |
| |
| .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl |
| maybe-configure-stagefeedback-isl: |
| @if isl-bootstrap |
| maybe-configure-stagefeedback-isl: configure-stagefeedback-isl |
| configure-stagefeedback-isl: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \ |
| cd $(HOST_SUBDIR)/isl || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/isl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=isl; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) \ |
| --disable-shared @extra_isl_gmp_configure_flags@ |
| @endif isl-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-isl maybe-all-isl |
| maybe-all-isl: |
| @if gcc-bootstrap |
| all-isl: stage_current |
| @endif gcc-bootstrap |
| @if isl |
| TARGET-isl=all |
| maybe-all-isl: all-isl |
| all-isl: configure-isl |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \ |
| $(TARGET-isl)) |
| @endif isl |
| |
| |
| |
| .PHONY: all-stage1-isl maybe-all-stage1-isl |
| .PHONY: clean-stage1-isl maybe-clean-stage1-isl |
| maybe-all-stage1-isl: |
| maybe-clean-stage1-isl: |
| @if isl-bootstrap |
| maybe-all-stage1-isl: all-stage1-isl |
| all-stage1: all-stage1-isl |
| TARGET-stage1-isl = $(TARGET-isl) |
| all-stage1-isl: configure-stage1-isl |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) V=1 \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-isl) |
| |
| maybe-clean-stage1-isl: clean-stage1-isl |
| clean-stage1: clean-stage1-isl |
| clean-stage1-isl: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) V=1 clean |
| @endif isl-bootstrap |
| |
| |
| .PHONY: all-stage2-isl maybe-all-stage2-isl |
| .PHONY: clean-stage2-isl maybe-clean-stage2-isl |
| maybe-all-stage2-isl: |
| maybe-clean-stage2-isl: |
| @if isl-bootstrap |
| maybe-all-stage2-isl: all-stage2-isl |
| all-stage2: all-stage2-isl |
| TARGET-stage2-isl = $(TARGET-isl) |
| all-stage2-isl: configure-stage2-isl |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-isl) |
| |
| maybe-clean-stage2-isl: clean-stage2-isl |
| clean-stage2: clean-stage2-isl |
| clean-stage2-isl: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean |
| @endif isl-bootstrap |
| |
| |
| .PHONY: all-stage3-isl maybe-all-stage3-isl |
| .PHONY: clean-stage3-isl maybe-clean-stage3-isl |
| maybe-all-stage3-isl: |
| maybe-clean-stage3-isl: |
| @if isl-bootstrap |
| maybe-all-stage3-isl: all-stage3-isl |
| all-stage3: all-stage3-isl |
| TARGET-stage3-isl = $(TARGET-isl) |
| all-stage3-isl: configure-stage3-isl |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-isl) |
| |
| maybe-clean-stage3-isl: clean-stage3-isl |
| clean-stage3: clean-stage3-isl |
| clean-stage3-isl: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean |
| @endif isl-bootstrap |
| |
| |
| .PHONY: all-stage4-isl maybe-all-stage4-isl |
| .PHONY: clean-stage4-isl maybe-clean-stage4-isl |
| maybe-all-stage4-isl: |
| maybe-clean-stage4-isl: |
| @if isl-bootstrap |
| maybe-all-stage4-isl: all-stage4-isl |
| all-stage4: all-stage4-isl |
| TARGET-stage4-isl = $(TARGET-isl) |
| all-stage4-isl: configure-stage4-isl |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-isl) |
| |
| maybe-clean-stage4-isl: clean-stage4-isl |
| clean-stage4: clean-stage4-isl |
| clean-stage4-isl: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean |
| @endif isl-bootstrap |
| |
| |
| .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl |
| .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl |
| maybe-all-stageprofile-isl: |
| maybe-clean-stageprofile-isl: |
| @if isl-bootstrap |
| maybe-all-stageprofile-isl: all-stageprofile-isl |
| all-stageprofile: all-stageprofile-isl |
| TARGET-stageprofile-isl = $(TARGET-isl) |
| all-stageprofile-isl: configure-stageprofile-isl |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-isl) |
| |
| maybe-clean-stageprofile-isl: clean-stageprofile-isl |
| clean-stageprofile: clean-stageprofile-isl |
| clean-stageprofile-isl: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean |
| @endif isl-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl |
| .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl |
| maybe-all-stagefeedback-isl: |
| maybe-clean-stagefeedback-isl: |
| @if isl-bootstrap |
| maybe-all-stagefeedback-isl: all-stagefeedback-isl |
| all-stagefeedback: all-stagefeedback-isl |
| TARGET-stagefeedback-isl = $(TARGET-isl) |
| all-stagefeedback-isl: configure-stagefeedback-isl |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-isl) |
| |
| maybe-clean-stagefeedback-isl: clean-stagefeedback-isl |
| clean-stagefeedback: clean-stagefeedback-isl |
| clean-stagefeedback-isl: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean |
| @endif isl-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-isl maybe-check-isl |
| maybe-check-isl: |
| @if isl |
| maybe-check-isl: check-isl |
| |
| check-isl: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(FLAGS_TO_PASS) V=1 check) |
| |
| @endif isl |
| |
| .PHONY: install-isl maybe-install-isl |
| maybe-install-isl: |
| @if isl |
| maybe-install-isl: install-isl |
| |
| install-isl: |
| |
| @endif isl |
| |
| .PHONY: install-strip-isl maybe-install-strip-isl |
| maybe-install-strip-isl: |
| @if isl |
| maybe-install-strip-isl: install-strip-isl |
| |
| install-strip-isl: |
| |
| @endif isl |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-isl info-isl |
| maybe-info-isl: |
| @if isl |
| maybe-info-isl: info-isl |
| |
| info-isl: \ |
| configure-isl |
| @[ -f ./isl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in isl" ; \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif isl |
| |
| .PHONY: maybe-dvi-isl dvi-isl |
| maybe-dvi-isl: |
| @if isl |
| maybe-dvi-isl: dvi-isl |
| |
| dvi-isl: \ |
| configure-isl |
| @[ -f ./isl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in isl" ; \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif isl |
| |
| .PHONY: maybe-pdf-isl pdf-isl |
| maybe-pdf-isl: |
| @if isl |
| maybe-pdf-isl: pdf-isl |
| |
| pdf-isl: \ |
| configure-isl |
| @[ -f ./isl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in isl" ; \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif isl |
| |
| .PHONY: maybe-html-isl html-isl |
| maybe-html-isl: |
| @if isl |
| maybe-html-isl: html-isl |
| |
| html-isl: \ |
| configure-isl |
| @[ -f ./isl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in isl" ; \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif isl |
| |
| .PHONY: maybe-TAGS-isl TAGS-isl |
| maybe-TAGS-isl: |
| @if isl |
| maybe-TAGS-isl: TAGS-isl |
| |
| TAGS-isl: \ |
| configure-isl |
| @[ -f ./isl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in isl" ; \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif isl |
| |
| .PHONY: maybe-install-info-isl install-info-isl |
| maybe-install-info-isl: |
| @if isl |
| maybe-install-info-isl: install-info-isl |
| |
| install-info-isl: \ |
| configure-isl \ |
| info-isl |
| @[ -f ./isl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in isl" ; \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif isl |
| |
| .PHONY: maybe-install-pdf-isl install-pdf-isl |
| maybe-install-pdf-isl: |
| @if isl |
| maybe-install-pdf-isl: install-pdf-isl |
| |
| install-pdf-isl: \ |
| configure-isl \ |
| pdf-isl |
| @[ -f ./isl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in isl" ; \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif isl |
| |
| .PHONY: maybe-install-html-isl install-html-isl |
| maybe-install-html-isl: |
| @if isl |
| maybe-install-html-isl: install-html-isl |
| |
| install-html-isl: \ |
| configure-isl \ |
| html-isl |
| @[ -f ./isl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in isl" ; \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif isl |
| |
| .PHONY: maybe-installcheck-isl installcheck-isl |
| maybe-installcheck-isl: |
| @if isl |
| maybe-installcheck-isl: installcheck-isl |
| |
| installcheck-isl: \ |
| configure-isl |
| @[ -f ./isl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in isl" ; \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif isl |
| |
| .PHONY: maybe-mostlyclean-isl mostlyclean-isl |
| maybe-mostlyclean-isl: |
| @if isl |
| maybe-mostlyclean-isl: mostlyclean-isl |
| |
| mostlyclean-isl: |
| @[ -f ./isl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in isl" ; \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif isl |
| |
| .PHONY: maybe-clean-isl clean-isl |
| maybe-clean-isl: |
| @if isl |
| maybe-clean-isl: clean-isl |
| |
| clean-isl: |
| @[ -f ./isl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in isl" ; \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif isl |
| |
| .PHONY: maybe-distclean-isl distclean-isl |
| maybe-distclean-isl: |
| @if isl |
| maybe-distclean-isl: distclean-isl |
| |
| distclean-isl: |
| @[ -f ./isl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in isl" ; \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif isl |
| |
| .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl |
| maybe-maintainer-clean-isl: |
| @if isl |
| maybe-maintainer-clean-isl: maintainer-clean-isl |
| |
| maintainer-clean-isl: |
| @[ -f ./isl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in isl" ; \ |
| (cd $(HOST_SUBDIR)/isl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif isl |
| |
| |
| |
| .PHONY: configure-cloog maybe-configure-cloog |
| maybe-configure-cloog: |
| @if gcc-bootstrap |
| configure-cloog: stage_current |
| @endif gcc-bootstrap |
| @if cloog |
| maybe-configure-cloog: configure-cloog |
| configure-cloog: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ |
| $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ |
| echo Configuring in $(HOST_SUBDIR)/cloog; \ |
| cd "$(HOST_SUBDIR)/cloog" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=cloog; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \ |
| || exit 1 |
| @endif cloog |
| |
| |
| |
| .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog |
| maybe-configure-stage1-cloog: |
| @if cloog-bootstrap |
| maybe-configure-stage1-cloog: configure-stage1-cloog |
| configure-stage1-cloog: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ |
| cd $(HOST_SUBDIR)/cloog || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=cloog; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) \ |
| --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system |
| @endif cloog-bootstrap |
| |
| .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog |
| maybe-configure-stage2-cloog: |
| @if cloog-bootstrap |
| maybe-configure-stage2-cloog: configure-stage2-cloog |
| configure-stage2-cloog: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ |
| cd $(HOST_SUBDIR)/cloog || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=cloog; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) \ |
| --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system |
| @endif cloog-bootstrap |
| |
| .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog |
| maybe-configure-stage3-cloog: |
| @if cloog-bootstrap |
| maybe-configure-stage3-cloog: configure-stage3-cloog |
| configure-stage3-cloog: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ |
| cd $(HOST_SUBDIR)/cloog || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=cloog; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) \ |
| --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system |
| @endif cloog-bootstrap |
| |
| .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog |
| maybe-configure-stage4-cloog: |
| @if cloog-bootstrap |
| maybe-configure-stage4-cloog: configure-stage4-cloog |
| configure-stage4-cloog: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ |
| cd $(HOST_SUBDIR)/cloog || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=cloog; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) \ |
| --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system |
| @endif cloog-bootstrap |
| |
| .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog |
| maybe-configure-stageprofile-cloog: |
| @if cloog-bootstrap |
| maybe-configure-stageprofile-cloog: configure-stageprofile-cloog |
| configure-stageprofile-cloog: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ |
| cd $(HOST_SUBDIR)/cloog || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=cloog; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) \ |
| --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system |
| @endif cloog-bootstrap |
| |
| .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog |
| maybe-configure-stagefeedback-cloog: |
| @if cloog-bootstrap |
| maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog |
| configure-stagefeedback-cloog: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ |
| cd $(HOST_SUBDIR)/cloog || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=cloog; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) \ |
| --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system |
| @endif cloog-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-cloog maybe-all-cloog |
| maybe-all-cloog: |
| @if gcc-bootstrap |
| all-cloog: stage_current |
| @endif gcc-bootstrap |
| @if cloog |
| TARGET-cloog=all |
| maybe-all-cloog: all-cloog |
| all-cloog: configure-cloog |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \ |
| $(TARGET-cloog)) |
| @endif cloog |
| |
| |
| |
| .PHONY: all-stage1-cloog maybe-all-stage1-cloog |
| .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog |
| maybe-all-stage1-cloog: |
| maybe-clean-stage1-cloog: |
| @if cloog-bootstrap |
| maybe-all-stage1-cloog: all-stage1-cloog |
| all-stage1: all-stage1-cloog |
| TARGET-stage1-cloog = $(TARGET-cloog) |
| all-stage1-cloog: configure-stage1-cloog |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ |
| cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-cloog) |
| |
| maybe-clean-stage1-cloog: clean-stage1-cloog |
| clean-stage1: clean-stage1-cloog |
| clean-stage1-cloog: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean |
| @endif cloog-bootstrap |
| |
| |
| .PHONY: all-stage2-cloog maybe-all-stage2-cloog |
| .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog |
| maybe-all-stage2-cloog: |
| maybe-clean-stage2-cloog: |
| @if cloog-bootstrap |
| maybe-all-stage2-cloog: all-stage2-cloog |
| all-stage2: all-stage2-cloog |
| TARGET-stage2-cloog = $(TARGET-cloog) |
| all-stage2-cloog: configure-stage2-cloog |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ |
| cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-cloog) |
| |
| maybe-clean-stage2-cloog: clean-stage2-cloog |
| clean-stage2: clean-stage2-cloog |
| clean-stage2-cloog: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean |
| @endif cloog-bootstrap |
| |
| |
| .PHONY: all-stage3-cloog maybe-all-stage3-cloog |
| .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog |
| maybe-all-stage3-cloog: |
| maybe-clean-stage3-cloog: |
| @if cloog-bootstrap |
| maybe-all-stage3-cloog: all-stage3-cloog |
| all-stage3: all-stage3-cloog |
| TARGET-stage3-cloog = $(TARGET-cloog) |
| all-stage3-cloog: configure-stage3-cloog |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ |
| cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-cloog) |
| |
| maybe-clean-stage3-cloog: clean-stage3-cloog |
| clean-stage3: clean-stage3-cloog |
| clean-stage3-cloog: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean |
| @endif cloog-bootstrap |
| |
| |
| .PHONY: all-stage4-cloog maybe-all-stage4-cloog |
| .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog |
| maybe-all-stage4-cloog: |
| maybe-clean-stage4-cloog: |
| @if cloog-bootstrap |
| maybe-all-stage4-cloog: all-stage4-cloog |
| all-stage4: all-stage4-cloog |
| TARGET-stage4-cloog = $(TARGET-cloog) |
| all-stage4-cloog: configure-stage4-cloog |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ |
| cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-cloog) |
| |
| maybe-clean-stage4-cloog: clean-stage4-cloog |
| clean-stage4: clean-stage4-cloog |
| clean-stage4-cloog: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean |
| @endif cloog-bootstrap |
| |
| |
| .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog |
| .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog |
| maybe-all-stageprofile-cloog: |
| maybe-clean-stageprofile-cloog: |
| @if cloog-bootstrap |
| maybe-all-stageprofile-cloog: all-stageprofile-cloog |
| all-stageprofile: all-stageprofile-cloog |
| TARGET-stageprofile-cloog = $(TARGET-cloog) |
| all-stageprofile-cloog: configure-stageprofile-cloog |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ |
| cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-cloog) |
| |
| maybe-clean-stageprofile-cloog: clean-stageprofile-cloog |
| clean-stageprofile: clean-stageprofile-cloog |
| clean-stageprofile-cloog: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean |
| @endif cloog-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog |
| .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog |
| maybe-all-stagefeedback-cloog: |
| maybe-clean-stagefeedback-cloog: |
| @if cloog-bootstrap |
| maybe-all-stagefeedback-cloog: all-stagefeedback-cloog |
| all-stagefeedback: all-stagefeedback-cloog |
| TARGET-stagefeedback-cloog = $(TARGET-cloog) |
| all-stagefeedback-cloog: configure-stagefeedback-cloog |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ |
| cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-cloog) |
| |
| maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog |
| clean-stagefeedback: clean-stagefeedback-cloog |
| clean-stagefeedback-cloog: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean |
| @endif cloog-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-cloog maybe-check-cloog |
| maybe-check-cloog: |
| @if cloog |
| maybe-check-cloog: check-cloog |
| |
| check-cloog: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check) |
| |
| @endif cloog |
| |
| .PHONY: install-cloog maybe-install-cloog |
| maybe-install-cloog: |
| @if cloog |
| maybe-install-cloog: install-cloog |
| |
| install-cloog: |
| |
| @endif cloog |
| |
| .PHONY: install-strip-cloog maybe-install-strip-cloog |
| maybe-install-strip-cloog: |
| @if cloog |
| maybe-install-strip-cloog: install-strip-cloog |
| |
| install-strip-cloog: |
| |
| @endif cloog |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-cloog info-cloog |
| maybe-info-cloog: |
| @if cloog |
| maybe-info-cloog: info-cloog |
| |
| info-cloog: \ |
| configure-cloog |
| @[ -f ./cloog/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in cloog" ; \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif cloog |
| |
| .PHONY: maybe-dvi-cloog dvi-cloog |
| maybe-dvi-cloog: |
| @if cloog |
| maybe-dvi-cloog: dvi-cloog |
| |
| dvi-cloog: \ |
| configure-cloog |
| @[ -f ./cloog/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in cloog" ; \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif cloog |
| |
| .PHONY: maybe-pdf-cloog pdf-cloog |
| maybe-pdf-cloog: |
| @if cloog |
| maybe-pdf-cloog: pdf-cloog |
| |
| pdf-cloog: \ |
| configure-cloog |
| @[ -f ./cloog/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in cloog" ; \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif cloog |
| |
| .PHONY: maybe-html-cloog html-cloog |
| maybe-html-cloog: |
| @if cloog |
| maybe-html-cloog: html-cloog |
| |
| html-cloog: \ |
| configure-cloog |
| @[ -f ./cloog/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in cloog" ; \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif cloog |
| |
| .PHONY: maybe-TAGS-cloog TAGS-cloog |
| maybe-TAGS-cloog: |
| @if cloog |
| maybe-TAGS-cloog: TAGS-cloog |
| |
| TAGS-cloog: \ |
| configure-cloog |
| @[ -f ./cloog/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in cloog" ; \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif cloog |
| |
| .PHONY: maybe-install-info-cloog install-info-cloog |
| maybe-install-info-cloog: |
| @if cloog |
| maybe-install-info-cloog: install-info-cloog |
| |
| install-info-cloog: \ |
| configure-cloog \ |
| info-cloog |
| @[ -f ./cloog/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in cloog" ; \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif cloog |
| |
| .PHONY: maybe-install-pdf-cloog install-pdf-cloog |
| maybe-install-pdf-cloog: |
| @if cloog |
| maybe-install-pdf-cloog: install-pdf-cloog |
| |
| install-pdf-cloog: \ |
| configure-cloog \ |
| pdf-cloog |
| @[ -f ./cloog/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in cloog" ; \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif cloog |
| |
| .PHONY: maybe-install-html-cloog install-html-cloog |
| maybe-install-html-cloog: |
| @if cloog |
| maybe-install-html-cloog: install-html-cloog |
| |
| install-html-cloog: \ |
| configure-cloog \ |
| html-cloog |
| @[ -f ./cloog/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in cloog" ; \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif cloog |
| |
| .PHONY: maybe-installcheck-cloog installcheck-cloog |
| maybe-installcheck-cloog: |
| @if cloog |
| maybe-installcheck-cloog: installcheck-cloog |
| |
| installcheck-cloog: \ |
| configure-cloog |
| @[ -f ./cloog/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in cloog" ; \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif cloog |
| |
| .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog |
| maybe-mostlyclean-cloog: |
| @if cloog |
| maybe-mostlyclean-cloog: mostlyclean-cloog |
| |
| mostlyclean-cloog: |
| @[ -f ./cloog/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in cloog" ; \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif cloog |
| |
| .PHONY: maybe-clean-cloog clean-cloog |
| maybe-clean-cloog: |
| @if cloog |
| maybe-clean-cloog: clean-cloog |
| |
| clean-cloog: |
| @[ -f ./cloog/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in cloog" ; \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif cloog |
| |
| .PHONY: maybe-distclean-cloog distclean-cloog |
| maybe-distclean-cloog: |
| @if cloog |
| maybe-distclean-cloog: distclean-cloog |
| |
| distclean-cloog: |
| @[ -f ./cloog/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in cloog" ; \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif cloog |
| |
| .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog |
| maybe-maintainer-clean-cloog: |
| @if cloog |
| maybe-maintainer-clean-cloog: maintainer-clean-cloog |
| |
| maintainer-clean-cloog: |
| @[ -f ./cloog/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in cloog" ; \ |
| (cd $(HOST_SUBDIR)/cloog && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif cloog |
| |
| |
| |
| .PHONY: configure-libelf maybe-configure-libelf |
| maybe-configure-libelf: |
| @if gcc-bootstrap |
| configure-libelf: stage_current |
| @endif gcc-bootstrap |
| @if libelf |
| maybe-configure-libelf: configure-libelf |
| configure-libelf: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/libelf; \ |
| cd "$(HOST_SUBDIR)/libelf" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libelf; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} --disable-shared \ |
| || exit 1 |
| @endif libelf |
| |
| |
| |
| .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf |
| maybe-configure-stage1-libelf: |
| @if libelf-bootstrap |
| maybe-configure-stage1-libelf: configure-stage1-libelf |
| configure-stage1-libelf: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ |
| cd $(HOST_SUBDIR)/libelf || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libelf; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) \ |
| --disable-shared |
| @endif libelf-bootstrap |
| |
| .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf |
| maybe-configure-stage2-libelf: |
| @if libelf-bootstrap |
| maybe-configure-stage2-libelf: configure-stage2-libelf |
| configure-stage2-libelf: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ |
| cd $(HOST_SUBDIR)/libelf || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libelf; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) \ |
| --disable-shared |
| @endif libelf-bootstrap |
| |
| .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf |
| maybe-configure-stage3-libelf: |
| @if libelf-bootstrap |
| maybe-configure-stage3-libelf: configure-stage3-libelf |
| configure-stage3-libelf: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ |
| cd $(HOST_SUBDIR)/libelf || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libelf; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) \ |
| --disable-shared |
| @endif libelf-bootstrap |
| |
| .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf |
| maybe-configure-stage4-libelf: |
| @if libelf-bootstrap |
| maybe-configure-stage4-libelf: configure-stage4-libelf |
| configure-stage4-libelf: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ |
| cd $(HOST_SUBDIR)/libelf || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libelf; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) \ |
| --disable-shared |
| @endif libelf-bootstrap |
| |
| .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf |
| maybe-configure-stageprofile-libelf: |
| @if libelf-bootstrap |
| maybe-configure-stageprofile-libelf: configure-stageprofile-libelf |
| configure-stageprofile-libelf: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ |
| cd $(HOST_SUBDIR)/libelf || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libelf; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) \ |
| --disable-shared |
| @endif libelf-bootstrap |
| |
| .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf |
| maybe-configure-stagefeedback-libelf: |
| @if libelf-bootstrap |
| maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf |
| configure-stagefeedback-libelf: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ |
| cd $(HOST_SUBDIR)/libelf || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libelf; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) \ |
| --disable-shared |
| @endif libelf-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-libelf maybe-all-libelf |
| maybe-all-libelf: |
| @if gcc-bootstrap |
| all-libelf: stage_current |
| @endif gcc-bootstrap |
| @if libelf |
| TARGET-libelf=all |
| maybe-all-libelf: all-libelf |
| all-libelf: configure-libelf |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-libelf)) |
| @endif libelf |
| |
| |
| |
| .PHONY: all-stage1-libelf maybe-all-stage1-libelf |
| .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf |
| maybe-all-stage1-libelf: |
| maybe-clean-stage1-libelf: |
| @if libelf-bootstrap |
| maybe-all-stage1-libelf: all-stage1-libelf |
| all-stage1: all-stage1-libelf |
| TARGET-stage1-libelf = $(TARGET-libelf) |
| all-stage1-libelf: configure-stage1-libelf |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-libelf) |
| |
| maybe-clean-stage1-libelf: clean-stage1-libelf |
| clean-stage1: clean-stage1-libelf |
| clean-stage1-libelf: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) clean |
| @endif libelf-bootstrap |
| |
| |
| .PHONY: all-stage2-libelf maybe-all-stage2-libelf |
| .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf |
| maybe-all-stage2-libelf: |
| maybe-clean-stage2-libelf: |
| @if libelf-bootstrap |
| maybe-all-stage2-libelf: all-stage2-libelf |
| all-stage2: all-stage2-libelf |
| TARGET-stage2-libelf = $(TARGET-libelf) |
| all-stage2-libelf: configure-stage2-libelf |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-libelf) |
| |
| maybe-clean-stage2-libelf: clean-stage2-libelf |
| clean-stage2: clean-stage2-libelf |
| clean-stage2-libelf: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif libelf-bootstrap |
| |
| |
| .PHONY: all-stage3-libelf maybe-all-stage3-libelf |
| .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf |
| maybe-all-stage3-libelf: |
| maybe-clean-stage3-libelf: |
| @if libelf-bootstrap |
| maybe-all-stage3-libelf: all-stage3-libelf |
| all-stage3: all-stage3-libelf |
| TARGET-stage3-libelf = $(TARGET-libelf) |
| all-stage3-libelf: configure-stage3-libelf |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-libelf) |
| |
| maybe-clean-stage3-libelf: clean-stage3-libelf |
| clean-stage3: clean-stage3-libelf |
| clean-stage3-libelf: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif libelf-bootstrap |
| |
| |
| .PHONY: all-stage4-libelf maybe-all-stage4-libelf |
| .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf |
| maybe-all-stage4-libelf: |
| maybe-clean-stage4-libelf: |
| @if libelf-bootstrap |
| maybe-all-stage4-libelf: all-stage4-libelf |
| all-stage4: all-stage4-libelf |
| TARGET-stage4-libelf = $(TARGET-libelf) |
| all-stage4-libelf: configure-stage4-libelf |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-libelf) |
| |
| maybe-clean-stage4-libelf: clean-stage4-libelf |
| clean-stage4: clean-stage4-libelf |
| clean-stage4-libelf: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif libelf-bootstrap |
| |
| |
| .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf |
| .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf |
| maybe-all-stageprofile-libelf: |
| maybe-clean-stageprofile-libelf: |
| @if libelf-bootstrap |
| maybe-all-stageprofile-libelf: all-stageprofile-libelf |
| all-stageprofile: all-stageprofile-libelf |
| TARGET-stageprofile-libelf = $(TARGET-libelf) |
| all-stageprofile-libelf: configure-stageprofile-libelf |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-libelf) |
| |
| maybe-clean-stageprofile-libelf: clean-stageprofile-libelf |
| clean-stageprofile: clean-stageprofile-libelf |
| clean-stageprofile-libelf: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif libelf-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf |
| .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf |
| maybe-all-stagefeedback-libelf: |
| maybe-clean-stagefeedback-libelf: |
| @if libelf-bootstrap |
| maybe-all-stagefeedback-libelf: all-stagefeedback-libelf |
| all-stagefeedback: all-stagefeedback-libelf |
| TARGET-stagefeedback-libelf = $(TARGET-libelf) |
| all-stagefeedback-libelf: configure-stagefeedback-libelf |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-libelf) |
| |
| maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf |
| clean-stagefeedback: clean-stagefeedback-libelf |
| clean-stagefeedback-libelf: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif libelf-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-libelf maybe-check-libelf |
| maybe-check-libelf: |
| @if libelf |
| maybe-check-libelf: check-libelf |
| |
| check-libelf: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif libelf |
| |
| .PHONY: install-libelf maybe-install-libelf |
| maybe-install-libelf: |
| @if libelf |
| maybe-install-libelf: install-libelf |
| |
| install-libelf: |
| |
| @endif libelf |
| |
| .PHONY: install-strip-libelf maybe-install-strip-libelf |
| maybe-install-strip-libelf: |
| @if libelf |
| maybe-install-strip-libelf: install-strip-libelf |
| |
| install-strip-libelf: |
| |
| @endif libelf |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-libelf info-libelf |
| maybe-info-libelf: |
| @if libelf |
| maybe-info-libelf: info-libelf |
| |
| info-libelf: \ |
| configure-libelf |
| @[ -f ./libelf/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in libelf" ; \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif libelf |
| |
| .PHONY: maybe-dvi-libelf dvi-libelf |
| maybe-dvi-libelf: |
| @if libelf |
| maybe-dvi-libelf: dvi-libelf |
| |
| dvi-libelf: \ |
| configure-libelf |
| @[ -f ./libelf/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in libelf" ; \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif libelf |
| |
| .PHONY: maybe-pdf-libelf pdf-libelf |
| maybe-pdf-libelf: |
| @if libelf |
| maybe-pdf-libelf: pdf-libelf |
| |
| pdf-libelf: \ |
| configure-libelf |
| @[ -f ./libelf/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in libelf" ; \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif libelf |
| |
| .PHONY: maybe-html-libelf html-libelf |
| maybe-html-libelf: |
| @if libelf |
| maybe-html-libelf: html-libelf |
| |
| html-libelf: \ |
| configure-libelf |
| @[ -f ./libelf/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in libelf" ; \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif libelf |
| |
| .PHONY: maybe-TAGS-libelf TAGS-libelf |
| maybe-TAGS-libelf: |
| @if libelf |
| maybe-TAGS-libelf: TAGS-libelf |
| |
| TAGS-libelf: \ |
| configure-libelf |
| @[ -f ./libelf/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in libelf" ; \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif libelf |
| |
| .PHONY: maybe-install-info-libelf install-info-libelf |
| maybe-install-info-libelf: |
| @if libelf |
| maybe-install-info-libelf: install-info-libelf |
| |
| install-info-libelf: \ |
| configure-libelf \ |
| info-libelf |
| @[ -f ./libelf/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in libelf" ; \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif libelf |
| |
| .PHONY: maybe-install-pdf-libelf install-pdf-libelf |
| maybe-install-pdf-libelf: |
| @if libelf |
| maybe-install-pdf-libelf: install-pdf-libelf |
| |
| install-pdf-libelf: \ |
| configure-libelf \ |
| pdf-libelf |
| @[ -f ./libelf/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in libelf" ; \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif libelf |
| |
| .PHONY: maybe-install-html-libelf install-html-libelf |
| maybe-install-html-libelf: |
| @if libelf |
| maybe-install-html-libelf: install-html-libelf |
| |
| install-html-libelf: \ |
| configure-libelf \ |
| html-libelf |
| @[ -f ./libelf/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in libelf" ; \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif libelf |
| |
| .PHONY: maybe-installcheck-libelf installcheck-libelf |
| maybe-installcheck-libelf: |
| @if libelf |
| maybe-installcheck-libelf: installcheck-libelf |
| |
| installcheck-libelf: \ |
| configure-libelf |
| @[ -f ./libelf/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in libelf" ; \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif libelf |
| |
| .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf |
| maybe-mostlyclean-libelf: |
| @if libelf |
| maybe-mostlyclean-libelf: mostlyclean-libelf |
| |
| mostlyclean-libelf: |
| @[ -f ./libelf/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in libelf" ; \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif libelf |
| |
| .PHONY: maybe-clean-libelf clean-libelf |
| maybe-clean-libelf: |
| @if libelf |
| maybe-clean-libelf: clean-libelf |
| |
| clean-libelf: |
| @[ -f ./libelf/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in libelf" ; \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif libelf |
| |
| .PHONY: maybe-distclean-libelf distclean-libelf |
| maybe-distclean-libelf: |
| @if libelf |
| maybe-distclean-libelf: distclean-libelf |
| |
| distclean-libelf: |
| @[ -f ./libelf/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in libelf" ; \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif libelf |
| |
| .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf |
| maybe-maintainer-clean-libelf: |
| @if libelf |
| maybe-maintainer-clean-libelf: maintainer-clean-libelf |
| |
| maintainer-clean-libelf: |
| @[ -f ./libelf/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in libelf" ; \ |
| (cd $(HOST_SUBDIR)/libelf && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif libelf |
| |
| |
| |
| .PHONY: configure-gold maybe-configure-gold |
| maybe-configure-gold: |
| @if gcc-bootstrap |
| configure-gold: stage_current |
| @endif gcc-bootstrap |
| @if gold |
| maybe-configure-gold: configure-gold |
| configure-gold: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/gold; \ |
| cd "$(HOST_SUBDIR)/gold" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gold; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif gold |
| |
| |
| |
| .PHONY: configure-stage1-gold maybe-configure-stage1-gold |
| maybe-configure-stage1-gold: |
| @if gold-bootstrap |
| maybe-configure-stage1-gold: configure-stage1-gold |
| configure-stage1-gold: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ |
| cd $(HOST_SUBDIR)/gold || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gold; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) |
| @endif gold-bootstrap |
| |
| .PHONY: configure-stage2-gold maybe-configure-stage2-gold |
| maybe-configure-stage2-gold: |
| @if gold-bootstrap |
| maybe-configure-stage2-gold: configure-stage2-gold |
| configure-stage2-gold: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ |
| cd $(HOST_SUBDIR)/gold || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gold; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) |
| @endif gold-bootstrap |
| |
| .PHONY: configure-stage3-gold maybe-configure-stage3-gold |
| maybe-configure-stage3-gold: |
| @if gold-bootstrap |
| maybe-configure-stage3-gold: configure-stage3-gold |
| configure-stage3-gold: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ |
| cd $(HOST_SUBDIR)/gold || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gold; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) |
| @endif gold-bootstrap |
| |
| .PHONY: configure-stage4-gold maybe-configure-stage4-gold |
| maybe-configure-stage4-gold: |
| @if gold-bootstrap |
| maybe-configure-stage4-gold: configure-stage4-gold |
| configure-stage4-gold: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ |
| cd $(HOST_SUBDIR)/gold || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gold; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) |
| @endif gold-bootstrap |
| |
| .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold |
| maybe-configure-stageprofile-gold: |
| @if gold-bootstrap |
| maybe-configure-stageprofile-gold: configure-stageprofile-gold |
| configure-stageprofile-gold: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ |
| cd $(HOST_SUBDIR)/gold || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gold; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) |
| @endif gold-bootstrap |
| |
| .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold |
| maybe-configure-stagefeedback-gold: |
| @if gold-bootstrap |
| maybe-configure-stagefeedback-gold: configure-stagefeedback-gold |
| configure-stagefeedback-gold: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ |
| cd $(HOST_SUBDIR)/gold || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gold; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) |
| @endif gold-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-gold maybe-all-gold |
| maybe-all-gold: |
| @if gcc-bootstrap |
| all-gold: stage_current |
| @endif gcc-bootstrap |
| @if gold |
| TARGET-gold=all |
| maybe-all-gold: all-gold |
| all-gold: configure-gold |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-gold)) |
| @endif gold |
| |
| |
| |
| .PHONY: all-stage1-gold maybe-all-stage1-gold |
| .PHONY: clean-stage1-gold maybe-clean-stage1-gold |
| maybe-all-stage1-gold: |
| maybe-clean-stage1-gold: |
| @if gold-bootstrap |
| maybe-all-stage1-gold: all-stage1-gold |
| all-stage1: all-stage1-gold |
| TARGET-stage1-gold = $(TARGET-gold) |
| all-stage1-gold: configure-stage1-gold |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-gold) |
| |
| maybe-clean-stage1-gold: clean-stage1-gold |
| clean-stage1: clean-stage1-gold |
| clean-stage1-gold: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) clean |
| @endif gold-bootstrap |
| |
| |
| .PHONY: all-stage2-gold maybe-all-stage2-gold |
| .PHONY: clean-stage2-gold maybe-clean-stage2-gold |
| maybe-all-stage2-gold: |
| maybe-clean-stage2-gold: |
| @if gold-bootstrap |
| maybe-all-stage2-gold: all-stage2-gold |
| all-stage2: all-stage2-gold |
| TARGET-stage2-gold = $(TARGET-gold) |
| all-stage2-gold: configure-stage2-gold |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-gold) |
| |
| maybe-clean-stage2-gold: clean-stage2-gold |
| clean-stage2: clean-stage2-gold |
| clean-stage2-gold: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gold-bootstrap |
| |
| |
| .PHONY: all-stage3-gold maybe-all-stage3-gold |
| .PHONY: clean-stage3-gold maybe-clean-stage3-gold |
| maybe-all-stage3-gold: |
| maybe-clean-stage3-gold: |
| @if gold-bootstrap |
| maybe-all-stage3-gold: all-stage3-gold |
| all-stage3: all-stage3-gold |
| TARGET-stage3-gold = $(TARGET-gold) |
| all-stage3-gold: configure-stage3-gold |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-gold) |
| |
| maybe-clean-stage3-gold: clean-stage3-gold |
| clean-stage3: clean-stage3-gold |
| clean-stage3-gold: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gold-bootstrap |
| |
| |
| .PHONY: all-stage4-gold maybe-all-stage4-gold |
| .PHONY: clean-stage4-gold maybe-clean-stage4-gold |
| maybe-all-stage4-gold: |
| maybe-clean-stage4-gold: |
| @if gold-bootstrap |
| maybe-all-stage4-gold: all-stage4-gold |
| all-stage4: all-stage4-gold |
| TARGET-stage4-gold = $(TARGET-gold) |
| all-stage4-gold: configure-stage4-gold |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-gold) |
| |
| maybe-clean-stage4-gold: clean-stage4-gold |
| clean-stage4: clean-stage4-gold |
| clean-stage4-gold: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gold-bootstrap |
| |
| |
| .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold |
| .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold |
| maybe-all-stageprofile-gold: |
| maybe-clean-stageprofile-gold: |
| @if gold-bootstrap |
| maybe-all-stageprofile-gold: all-stageprofile-gold |
| all-stageprofile: all-stageprofile-gold |
| TARGET-stageprofile-gold = $(TARGET-gold) |
| all-stageprofile-gold: configure-stageprofile-gold |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-gold) |
| |
| maybe-clean-stageprofile-gold: clean-stageprofile-gold |
| clean-stageprofile: clean-stageprofile-gold |
| clean-stageprofile-gold: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gold-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold |
| .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold |
| maybe-all-stagefeedback-gold: |
| maybe-clean-stagefeedback-gold: |
| @if gold-bootstrap |
| maybe-all-stagefeedback-gold: all-stagefeedback-gold |
| all-stagefeedback: all-stagefeedback-gold |
| TARGET-stagefeedback-gold = $(TARGET-gold) |
| all-stagefeedback-gold: configure-stagefeedback-gold |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-gold) |
| |
| maybe-clean-stagefeedback-gold: clean-stagefeedback-gold |
| clean-stagefeedback: clean-stagefeedback-gold |
| clean-stagefeedback-gold: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif gold-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-gold maybe-check-gold |
| maybe-check-gold: |
| @if gold |
| maybe-check-gold: check-gold |
| |
| check-gold: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif gold |
| |
| .PHONY: install-gold maybe-install-gold |
| maybe-install-gold: |
| @if gold |
| maybe-install-gold: install-gold |
| |
| install-gold: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif gold |
| |
| .PHONY: install-strip-gold maybe-install-strip-gold |
| maybe-install-strip-gold: |
| @if gold |
| maybe-install-strip-gold: install-strip-gold |
| |
| install-strip-gold: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif gold |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-gold info-gold |
| maybe-info-gold: |
| @if gold |
| maybe-info-gold: info-gold |
| |
| info-gold: \ |
| configure-gold |
| @[ -f ./gold/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in gold" ; \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif gold |
| |
| .PHONY: maybe-dvi-gold dvi-gold |
| maybe-dvi-gold: |
| @if gold |
| maybe-dvi-gold: dvi-gold |
| |
| dvi-gold: \ |
| configure-gold |
| @[ -f ./gold/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in gold" ; \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif gold |
| |
| .PHONY: maybe-pdf-gold pdf-gold |
| maybe-pdf-gold: |
| @if gold |
| maybe-pdf-gold: pdf-gold |
| |
| pdf-gold: \ |
| configure-gold |
| @[ -f ./gold/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in gold" ; \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif gold |
| |
| .PHONY: maybe-html-gold html-gold |
| maybe-html-gold: |
| @if gold |
| maybe-html-gold: html-gold |
| |
| html-gold: \ |
| configure-gold |
| @[ -f ./gold/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in gold" ; \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif gold |
| |
| .PHONY: maybe-TAGS-gold TAGS-gold |
| maybe-TAGS-gold: |
| @if gold |
| maybe-TAGS-gold: TAGS-gold |
| |
| TAGS-gold: \ |
| configure-gold |
| @[ -f ./gold/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in gold" ; \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif gold |
| |
| .PHONY: maybe-install-info-gold install-info-gold |
| maybe-install-info-gold: |
| @if gold |
| maybe-install-info-gold: install-info-gold |
| |
| install-info-gold: \ |
| configure-gold \ |
| info-gold |
| @[ -f ./gold/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in gold" ; \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif gold |
| |
| .PHONY: maybe-install-pdf-gold install-pdf-gold |
| maybe-install-pdf-gold: |
| @if gold |
| maybe-install-pdf-gold: install-pdf-gold |
| |
| install-pdf-gold: \ |
| configure-gold \ |
| pdf-gold |
| @[ -f ./gold/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in gold" ; \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif gold |
| |
| .PHONY: maybe-install-html-gold install-html-gold |
| maybe-install-html-gold: |
| @if gold |
| maybe-install-html-gold: install-html-gold |
| |
| install-html-gold: \ |
| configure-gold \ |
| html-gold |
| @[ -f ./gold/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in gold" ; \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif gold |
| |
| .PHONY: maybe-installcheck-gold installcheck-gold |
| maybe-installcheck-gold: |
| @if gold |
| maybe-installcheck-gold: installcheck-gold |
| |
| installcheck-gold: \ |
| configure-gold |
| @[ -f ./gold/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in gold" ; \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif gold |
| |
| .PHONY: maybe-mostlyclean-gold mostlyclean-gold |
| maybe-mostlyclean-gold: |
| @if gold |
| maybe-mostlyclean-gold: mostlyclean-gold |
| |
| mostlyclean-gold: |
| @[ -f ./gold/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in gold" ; \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif gold |
| |
| .PHONY: maybe-clean-gold clean-gold |
| maybe-clean-gold: |
| @if gold |
| maybe-clean-gold: clean-gold |
| |
| clean-gold: |
| @[ -f ./gold/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in gold" ; \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif gold |
| |
| .PHONY: maybe-distclean-gold distclean-gold |
| maybe-distclean-gold: |
| @if gold |
| maybe-distclean-gold: distclean-gold |
| |
| distclean-gold: |
| @[ -f ./gold/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in gold" ; \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif gold |
| |
| .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold |
| maybe-maintainer-clean-gold: |
| @if gold |
| maybe-maintainer-clean-gold: maintainer-clean-gold |
| |
| maintainer-clean-gold: |
| @[ -f ./gold/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in gold" ; \ |
| (cd $(HOST_SUBDIR)/gold && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif gold |
| |
| |
| |
| .PHONY: configure-gprof maybe-configure-gprof |
| maybe-configure-gprof: |
| @if gcc-bootstrap |
| configure-gprof: stage_current |
| @endif gcc-bootstrap |
| @if gprof |
| maybe-configure-gprof: configure-gprof |
| configure-gprof: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/gprof; \ |
| cd "$(HOST_SUBDIR)/gprof" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=gprof; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif gprof |
| |
| |
| |
| |
| |
| .PHONY: all-gprof maybe-all-gprof |
| maybe-all-gprof: |
| @if gcc-bootstrap |
| all-gprof: stage_current |
| @endif gcc-bootstrap |
| @if gprof |
| TARGET-gprof=all |
| maybe-all-gprof: all-gprof |
| all-gprof: configure-gprof |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-gprof)) |
| @endif gprof |
| |
| |
| |
| |
| .PHONY: check-gprof maybe-check-gprof |
| maybe-check-gprof: |
| @if gprof |
| maybe-check-gprof: check-gprof |
| |
| check-gprof: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif gprof |
| |
| .PHONY: install-gprof maybe-install-gprof |
| maybe-install-gprof: |
| @if gprof |
| maybe-install-gprof: install-gprof |
| |
| install-gprof: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif gprof |
| |
| .PHONY: install-strip-gprof maybe-install-strip-gprof |
| maybe-install-strip-gprof: |
| @if gprof |
| maybe-install-strip-gprof: install-strip-gprof |
| |
| install-strip-gprof: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif gprof |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-gprof info-gprof |
| maybe-info-gprof: |
| @if gprof |
| maybe-info-gprof: info-gprof |
| |
| info-gprof: \ |
| configure-gprof |
| @: $(MAKE); $(unstage) |
| @[ -f ./gprof/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in gprof" ; \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif gprof |
| |
| .PHONY: maybe-dvi-gprof dvi-gprof |
| maybe-dvi-gprof: |
| @if gprof |
| maybe-dvi-gprof: dvi-gprof |
| |
| dvi-gprof: \ |
| configure-gprof |
| @: $(MAKE); $(unstage) |
| @[ -f ./gprof/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in gprof" ; \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif gprof |
| |
| .PHONY: maybe-pdf-gprof pdf-gprof |
| maybe-pdf-gprof: |
| @if gprof |
| maybe-pdf-gprof: pdf-gprof |
| |
| pdf-gprof: \ |
| configure-gprof |
| @: $(MAKE); $(unstage) |
| @[ -f ./gprof/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in gprof" ; \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif gprof |
| |
| .PHONY: maybe-html-gprof html-gprof |
| maybe-html-gprof: |
| @if gprof |
| maybe-html-gprof: html-gprof |
| |
| html-gprof: \ |
| configure-gprof |
| @: $(MAKE); $(unstage) |
| @[ -f ./gprof/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in gprof" ; \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif gprof |
| |
| .PHONY: maybe-TAGS-gprof TAGS-gprof |
| maybe-TAGS-gprof: |
| @if gprof |
| maybe-TAGS-gprof: TAGS-gprof |
| |
| TAGS-gprof: \ |
| configure-gprof |
| @: $(MAKE); $(unstage) |
| @[ -f ./gprof/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in gprof" ; \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif gprof |
| |
| .PHONY: maybe-install-info-gprof install-info-gprof |
| maybe-install-info-gprof: |
| @if gprof |
| maybe-install-info-gprof: install-info-gprof |
| |
| install-info-gprof: \ |
| configure-gprof \ |
| info-gprof |
| @: $(MAKE); $(unstage) |
| @[ -f ./gprof/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in gprof" ; \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif gprof |
| |
| .PHONY: maybe-install-pdf-gprof install-pdf-gprof |
| maybe-install-pdf-gprof: |
| @if gprof |
| maybe-install-pdf-gprof: install-pdf-gprof |
| |
| install-pdf-gprof: \ |
| configure-gprof \ |
| pdf-gprof |
| @: $(MAKE); $(unstage) |
| @[ -f ./gprof/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in gprof" ; \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif gprof |
| |
| .PHONY: maybe-install-html-gprof install-html-gprof |
| maybe-install-html-gprof: |
| @if gprof |
| maybe-install-html-gprof: install-html-gprof |
| |
| install-html-gprof: \ |
| configure-gprof \ |
| html-gprof |
| @: $(MAKE); $(unstage) |
| @[ -f ./gprof/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in gprof" ; \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif gprof |
| |
| .PHONY: maybe-installcheck-gprof installcheck-gprof |
| maybe-installcheck-gprof: |
| @if gprof |
| maybe-installcheck-gprof: installcheck-gprof |
| |
| installcheck-gprof: \ |
| configure-gprof |
| @: $(MAKE); $(unstage) |
| @[ -f ./gprof/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in gprof" ; \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif gprof |
| |
| .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof |
| maybe-mostlyclean-gprof: |
| @if gprof |
| maybe-mostlyclean-gprof: mostlyclean-gprof |
| |
| mostlyclean-gprof: |
| @: $(MAKE); $(unstage) |
| @[ -f ./gprof/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in gprof" ; \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif gprof |
| |
| .PHONY: maybe-clean-gprof clean-gprof |
| maybe-clean-gprof: |
| @if gprof |
| maybe-clean-gprof: clean-gprof |
| |
| clean-gprof: |
| @: $(MAKE); $(unstage) |
| @[ -f ./gprof/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in gprof" ; \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif gprof |
| |
| .PHONY: maybe-distclean-gprof distclean-gprof |
| maybe-distclean-gprof: |
| @if gprof |
| maybe-distclean-gprof: distclean-gprof |
| |
| distclean-gprof: |
| @: $(MAKE); $(unstage) |
| @[ -f ./gprof/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in gprof" ; \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif gprof |
| |
| .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof |
| maybe-maintainer-clean-gprof: |
| @if gprof |
| maybe-maintainer-clean-gprof: maintainer-clean-gprof |
| |
| maintainer-clean-gprof: |
| @: $(MAKE); $(unstage) |
| @[ -f ./gprof/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in gprof" ; \ |
| (cd $(HOST_SUBDIR)/gprof && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif gprof |
| |
| |
| |
| .PHONY: configure-intl maybe-configure-intl |
| maybe-configure-intl: |
| @if gcc-bootstrap |
| configure-intl: stage_current |
| @endif gcc-bootstrap |
| @if intl |
| maybe-configure-intl: configure-intl |
| configure-intl: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/intl; \ |
| cd "$(HOST_SUBDIR)/intl" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=intl; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif intl |
| |
| |
| |
| .PHONY: configure-stage1-intl maybe-configure-stage1-intl |
| maybe-configure-stage1-intl: |
| @if intl-bootstrap |
| maybe-configure-stage1-intl: configure-stage1-intl |
| configure-stage1-intl: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ |
| cd $(HOST_SUBDIR)/intl || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=intl; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) |
| @endif intl-bootstrap |
| |
| .PHONY: configure-stage2-intl maybe-configure-stage2-intl |
| maybe-configure-stage2-intl: |
| @if intl-bootstrap |
| maybe-configure-stage2-intl: configure-stage2-intl |
| configure-stage2-intl: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ |
| cd $(HOST_SUBDIR)/intl || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=intl; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) |
| @endif intl-bootstrap |
| |
| .PHONY: configure-stage3-intl maybe-configure-stage3-intl |
| maybe-configure-stage3-intl: |
| @if intl-bootstrap |
| maybe-configure-stage3-intl: configure-stage3-intl |
| configure-stage3-intl: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ |
| cd $(HOST_SUBDIR)/intl || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=intl; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) |
| @endif intl-bootstrap |
| |
| .PHONY: configure-stage4-intl maybe-configure-stage4-intl |
| maybe-configure-stage4-intl: |
| @if intl-bootstrap |
| maybe-configure-stage4-intl: configure-stage4-intl |
| configure-stage4-intl: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ |
| cd $(HOST_SUBDIR)/intl || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=intl; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) |
| @endif intl-bootstrap |
| |
| .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl |
| maybe-configure-stageprofile-intl: |
| @if intl-bootstrap |
| maybe-configure-stageprofile-intl: configure-stageprofile-intl |
| configure-stageprofile-intl: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ |
| cd $(HOST_SUBDIR)/intl || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=intl; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) |
| @endif intl-bootstrap |
| |
| .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl |
| maybe-configure-stagefeedback-intl: |
| @if intl-bootstrap |
| maybe-configure-stagefeedback-intl: configure-stagefeedback-intl |
| configure-stagefeedback-intl: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ |
| cd $(HOST_SUBDIR)/intl || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=intl; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) |
| @endif intl-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-intl maybe-all-intl |
| maybe-all-intl: |
| @if gcc-bootstrap |
| all-intl: stage_current |
| @endif gcc-bootstrap |
| @if intl |
| TARGET-intl=all |
| maybe-all-intl: all-intl |
| all-intl: configure-intl |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-intl)) |
| @endif intl |
| |
| |
| |
| .PHONY: all-stage1-intl maybe-all-stage1-intl |
| .PHONY: clean-stage1-intl maybe-clean-stage1-intl |
| maybe-all-stage1-intl: |
| maybe-clean-stage1-intl: |
| @if intl-bootstrap |
| maybe-all-stage1-intl: all-stage1-intl |
| all-stage1: all-stage1-intl |
| TARGET-stage1-intl = $(TARGET-intl) |
| all-stage1-intl: configure-stage1-intl |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-intl) |
| |
| maybe-clean-stage1-intl: clean-stage1-intl |
| clean-stage1: clean-stage1-intl |
| clean-stage1-intl: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) clean |
| @endif intl-bootstrap |
| |
| |
| .PHONY: all-stage2-intl maybe-all-stage2-intl |
| .PHONY: clean-stage2-intl maybe-clean-stage2-intl |
| maybe-all-stage2-intl: |
| maybe-clean-stage2-intl: |
| @if intl-bootstrap |
| maybe-all-stage2-intl: all-stage2-intl |
| all-stage2: all-stage2-intl |
| TARGET-stage2-intl = $(TARGET-intl) |
| all-stage2-intl: configure-stage2-intl |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-intl) |
| |
| maybe-clean-stage2-intl: clean-stage2-intl |
| clean-stage2: clean-stage2-intl |
| clean-stage2-intl: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif intl-bootstrap |
| |
| |
| .PHONY: all-stage3-intl maybe-all-stage3-intl |
| .PHONY: clean-stage3-intl maybe-clean-stage3-intl |
| maybe-all-stage3-intl: |
| maybe-clean-stage3-intl: |
| @if intl-bootstrap |
| maybe-all-stage3-intl: all-stage3-intl |
| all-stage3: all-stage3-intl |
| TARGET-stage3-intl = $(TARGET-intl) |
| all-stage3-intl: configure-stage3-intl |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-intl) |
| |
| maybe-clean-stage3-intl: clean-stage3-intl |
| clean-stage3: clean-stage3-intl |
| clean-stage3-intl: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif intl-bootstrap |
| |
| |
| .PHONY: all-stage4-intl maybe-all-stage4-intl |
| .PHONY: clean-stage4-intl maybe-clean-stage4-intl |
| maybe-all-stage4-intl: |
| maybe-clean-stage4-intl: |
| @if intl-bootstrap |
| maybe-all-stage4-intl: all-stage4-intl |
| all-stage4: all-stage4-intl |
| TARGET-stage4-intl = $(TARGET-intl) |
| all-stage4-intl: configure-stage4-intl |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-intl) |
| |
| maybe-clean-stage4-intl: clean-stage4-intl |
| clean-stage4: clean-stage4-intl |
| clean-stage4-intl: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif intl-bootstrap |
| |
| |
| .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl |
| .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl |
| maybe-all-stageprofile-intl: |
| maybe-clean-stageprofile-intl: |
| @if intl-bootstrap |
| maybe-all-stageprofile-intl: all-stageprofile-intl |
| all-stageprofile: all-stageprofile-intl |
| TARGET-stageprofile-intl = $(TARGET-intl) |
| all-stageprofile-intl: configure-stageprofile-intl |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-intl) |
| |
| maybe-clean-stageprofile-intl: clean-stageprofile-intl |
| clean-stageprofile: clean-stageprofile-intl |
| clean-stageprofile-intl: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif intl-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl |
| .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl |
| maybe-all-stagefeedback-intl: |
| maybe-clean-stagefeedback-intl: |
| @if intl-bootstrap |
| maybe-all-stagefeedback-intl: all-stagefeedback-intl |
| all-stagefeedback: all-stagefeedback-intl |
| TARGET-stagefeedback-intl = $(TARGET-intl) |
| all-stagefeedback-intl: configure-stagefeedback-intl |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-intl) |
| |
| maybe-clean-stagefeedback-intl: clean-stagefeedback-intl |
| clean-stagefeedback: clean-stagefeedback-intl |
| clean-stagefeedback-intl: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif intl-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-intl maybe-check-intl |
| maybe-check-intl: |
| @if intl |
| maybe-check-intl: check-intl |
| |
| check-intl: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif intl |
| |
| .PHONY: install-intl maybe-install-intl |
| maybe-install-intl: |
| @if intl |
| maybe-install-intl: install-intl |
| |
| install-intl: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif intl |
| |
| .PHONY: install-strip-intl maybe-install-strip-intl |
| maybe-install-strip-intl: |
| @if intl |
| maybe-install-strip-intl: install-strip-intl |
| |
| install-strip-intl: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif intl |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-intl info-intl |
| maybe-info-intl: |
| @if intl |
| maybe-info-intl: info-intl |
| |
| info-intl: \ |
| configure-intl |
| @[ -f ./intl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in intl" ; \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif intl |
| |
| .PHONY: maybe-dvi-intl dvi-intl |
| maybe-dvi-intl: |
| @if intl |
| maybe-dvi-intl: dvi-intl |
| |
| dvi-intl: \ |
| configure-intl |
| @[ -f ./intl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in intl" ; \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif intl |
| |
| .PHONY: maybe-pdf-intl pdf-intl |
| maybe-pdf-intl: |
| @if intl |
| maybe-pdf-intl: pdf-intl |
| |
| pdf-intl: \ |
| configure-intl |
| @[ -f ./intl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in intl" ; \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif intl |
| |
| .PHONY: maybe-html-intl html-intl |
| maybe-html-intl: |
| @if intl |
| maybe-html-intl: html-intl |
| |
| html-intl: \ |
| configure-intl |
| @[ -f ./intl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in intl" ; \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif intl |
| |
| .PHONY: maybe-TAGS-intl TAGS-intl |
| maybe-TAGS-intl: |
| @if intl |
| maybe-TAGS-intl: TAGS-intl |
| |
| TAGS-intl: \ |
| configure-intl |
| @[ -f ./intl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in intl" ; \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif intl |
| |
| .PHONY: maybe-install-info-intl install-info-intl |
| maybe-install-info-intl: |
| @if intl |
| maybe-install-info-intl: install-info-intl |
| |
| install-info-intl: \ |
| configure-intl \ |
| info-intl |
| @[ -f ./intl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in intl" ; \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif intl |
| |
| .PHONY: maybe-install-pdf-intl install-pdf-intl |
| maybe-install-pdf-intl: |
| @if intl |
| maybe-install-pdf-intl: install-pdf-intl |
| |
| install-pdf-intl: \ |
| configure-intl \ |
| pdf-intl |
| @[ -f ./intl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in intl" ; \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif intl |
| |
| .PHONY: maybe-install-html-intl install-html-intl |
| maybe-install-html-intl: |
| @if intl |
| maybe-install-html-intl: install-html-intl |
| |
| install-html-intl: \ |
| configure-intl \ |
| html-intl |
| @[ -f ./intl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in intl" ; \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif intl |
| |
| .PHONY: maybe-installcheck-intl installcheck-intl |
| maybe-installcheck-intl: |
| @if intl |
| maybe-installcheck-intl: installcheck-intl |
| |
| installcheck-intl: \ |
| configure-intl |
| @[ -f ./intl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in intl" ; \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif intl |
| |
| .PHONY: maybe-mostlyclean-intl mostlyclean-intl |
| maybe-mostlyclean-intl: |
| @if intl |
| maybe-mostlyclean-intl: mostlyclean-intl |
| |
| mostlyclean-intl: |
| @[ -f ./intl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in intl" ; \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif intl |
| |
| .PHONY: maybe-clean-intl clean-intl |
| maybe-clean-intl: |
| @if intl |
| maybe-clean-intl: clean-intl |
| |
| clean-intl: |
| @[ -f ./intl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in intl" ; \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif intl |
| |
| .PHONY: maybe-distclean-intl distclean-intl |
| maybe-distclean-intl: |
| @if intl |
| maybe-distclean-intl: distclean-intl |
| |
| distclean-intl: |
| @[ -f ./intl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in intl" ; \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif intl |
| |
| .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl |
| maybe-maintainer-clean-intl: |
| @if intl |
| maybe-maintainer-clean-intl: maintainer-clean-intl |
| |
| maintainer-clean-intl: |
| @[ -f ./intl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in intl" ; \ |
| (cd $(HOST_SUBDIR)/intl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif intl |
| |
| |
| |
| .PHONY: configure-tcl maybe-configure-tcl |
| maybe-configure-tcl: |
| @if gcc-bootstrap |
| configure-tcl: stage_current |
| @endif gcc-bootstrap |
| @if tcl |
| maybe-configure-tcl: configure-tcl |
| configure-tcl: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/tcl; \ |
| cd "$(HOST_SUBDIR)/tcl" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=tcl; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif tcl |
| |
| |
| |
| |
| |
| .PHONY: all-tcl maybe-all-tcl |
| maybe-all-tcl: |
| @if gcc-bootstrap |
| all-tcl: stage_current |
| @endif gcc-bootstrap |
| @if tcl |
| TARGET-tcl=all |
| maybe-all-tcl: all-tcl |
| all-tcl: configure-tcl |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-tcl)) |
| @endif tcl |
| |
| |
| |
| |
| .PHONY: check-tcl maybe-check-tcl |
| maybe-check-tcl: |
| @if tcl |
| maybe-check-tcl: check-tcl |
| |
| check-tcl: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif tcl |
| |
| .PHONY: install-tcl maybe-install-tcl |
| maybe-install-tcl: |
| @if tcl |
| maybe-install-tcl: install-tcl |
| |
| install-tcl: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif tcl |
| |
| .PHONY: install-strip-tcl maybe-install-strip-tcl |
| maybe-install-strip-tcl: |
| @if tcl |
| maybe-install-strip-tcl: install-strip-tcl |
| |
| install-strip-tcl: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif tcl |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-tcl info-tcl |
| maybe-info-tcl: |
| @if tcl |
| maybe-info-tcl: info-tcl |
| |
| info-tcl: \ |
| configure-tcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./tcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in tcl" ; \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif tcl |
| |
| .PHONY: maybe-dvi-tcl dvi-tcl |
| maybe-dvi-tcl: |
| @if tcl |
| maybe-dvi-tcl: dvi-tcl |
| |
| dvi-tcl: \ |
| configure-tcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./tcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in tcl" ; \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif tcl |
| |
| .PHONY: maybe-pdf-tcl pdf-tcl |
| maybe-pdf-tcl: |
| @if tcl |
| maybe-pdf-tcl: pdf-tcl |
| |
| pdf-tcl: \ |
| configure-tcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./tcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in tcl" ; \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif tcl |
| |
| .PHONY: maybe-html-tcl html-tcl |
| maybe-html-tcl: |
| @if tcl |
| maybe-html-tcl: html-tcl |
| |
| html-tcl: \ |
| configure-tcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./tcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in tcl" ; \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif tcl |
| |
| .PHONY: maybe-TAGS-tcl TAGS-tcl |
| maybe-TAGS-tcl: |
| @if tcl |
| maybe-TAGS-tcl: TAGS-tcl |
| |
| TAGS-tcl: \ |
| configure-tcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./tcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in tcl" ; \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif tcl |
| |
| .PHONY: maybe-install-info-tcl install-info-tcl |
| maybe-install-info-tcl: |
| @if tcl |
| maybe-install-info-tcl: install-info-tcl |
| |
| install-info-tcl: \ |
| configure-tcl \ |
| info-tcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./tcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in tcl" ; \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif tcl |
| |
| .PHONY: maybe-install-pdf-tcl install-pdf-tcl |
| maybe-install-pdf-tcl: |
| @if tcl |
| maybe-install-pdf-tcl: install-pdf-tcl |
| |
| install-pdf-tcl: \ |
| configure-tcl \ |
| pdf-tcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./tcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in tcl" ; \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif tcl |
| |
| .PHONY: maybe-install-html-tcl install-html-tcl |
| maybe-install-html-tcl: |
| @if tcl |
| maybe-install-html-tcl: install-html-tcl |
| |
| install-html-tcl: \ |
| configure-tcl \ |
| html-tcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./tcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in tcl" ; \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif tcl |
| |
| .PHONY: maybe-installcheck-tcl installcheck-tcl |
| maybe-installcheck-tcl: |
| @if tcl |
| maybe-installcheck-tcl: installcheck-tcl |
| |
| installcheck-tcl: \ |
| configure-tcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./tcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in tcl" ; \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif tcl |
| |
| .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl |
| maybe-mostlyclean-tcl: |
| @if tcl |
| maybe-mostlyclean-tcl: mostlyclean-tcl |
| |
| # tcl doesn't support mostlyclean. |
| mostlyclean-tcl: |
| |
| @endif tcl |
| |
| .PHONY: maybe-clean-tcl clean-tcl |
| maybe-clean-tcl: |
| @if tcl |
| maybe-clean-tcl: clean-tcl |
| |
| clean-tcl: |
| @: $(MAKE); $(unstage) |
| @[ -f ./tcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in tcl" ; \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif tcl |
| |
| .PHONY: maybe-distclean-tcl distclean-tcl |
| maybe-distclean-tcl: |
| @if tcl |
| maybe-distclean-tcl: distclean-tcl |
| |
| distclean-tcl: |
| @: $(MAKE); $(unstage) |
| @[ -f ./tcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in tcl" ; \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif tcl |
| |
| .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl |
| maybe-maintainer-clean-tcl: |
| @if tcl |
| maybe-maintainer-clean-tcl: maintainer-clean-tcl |
| |
| maintainer-clean-tcl: |
| @: $(MAKE); $(unstage) |
| @[ -f ./tcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in tcl" ; \ |
| (cd $(HOST_SUBDIR)/tcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif tcl |
| |
| |
| |
| .PHONY: configure-itcl maybe-configure-itcl |
| maybe-configure-itcl: |
| @if gcc-bootstrap |
| configure-itcl: stage_current |
| @endif gcc-bootstrap |
| @if itcl |
| maybe-configure-itcl: configure-itcl |
| configure-itcl: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/itcl; \ |
| cd "$(HOST_SUBDIR)/itcl" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=itcl; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif itcl |
| |
| |
| |
| |
| |
| .PHONY: all-itcl maybe-all-itcl |
| maybe-all-itcl: |
| @if gcc-bootstrap |
| all-itcl: stage_current |
| @endif gcc-bootstrap |
| @if itcl |
| TARGET-itcl=all |
| maybe-all-itcl: all-itcl |
| all-itcl: configure-itcl |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-itcl)) |
| @endif itcl |
| |
| |
| |
| |
| .PHONY: check-itcl maybe-check-itcl |
| maybe-check-itcl: |
| @if itcl |
| maybe-check-itcl: check-itcl |
| |
| check-itcl: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif itcl |
| |
| .PHONY: install-itcl maybe-install-itcl |
| maybe-install-itcl: |
| @if itcl |
| maybe-install-itcl: install-itcl |
| |
| install-itcl: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif itcl |
| |
| .PHONY: install-strip-itcl maybe-install-strip-itcl |
| maybe-install-strip-itcl: |
| @if itcl |
| maybe-install-strip-itcl: install-strip-itcl |
| |
| install-strip-itcl: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif itcl |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-itcl info-itcl |
| maybe-info-itcl: |
| @if itcl |
| maybe-info-itcl: info-itcl |
| |
| info-itcl: \ |
| configure-itcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./itcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in itcl" ; \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif itcl |
| |
| .PHONY: maybe-dvi-itcl dvi-itcl |
| maybe-dvi-itcl: |
| @if itcl |
| maybe-dvi-itcl: dvi-itcl |
| |
| dvi-itcl: \ |
| configure-itcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./itcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in itcl" ; \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif itcl |
| |
| .PHONY: maybe-pdf-itcl pdf-itcl |
| maybe-pdf-itcl: |
| @if itcl |
| maybe-pdf-itcl: pdf-itcl |
| |
| pdf-itcl: \ |
| configure-itcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./itcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in itcl" ; \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif itcl |
| |
| .PHONY: maybe-html-itcl html-itcl |
| maybe-html-itcl: |
| @if itcl |
| maybe-html-itcl: html-itcl |
| |
| html-itcl: \ |
| configure-itcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./itcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in itcl" ; \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif itcl |
| |
| .PHONY: maybe-TAGS-itcl TAGS-itcl |
| maybe-TAGS-itcl: |
| @if itcl |
| maybe-TAGS-itcl: TAGS-itcl |
| |
| TAGS-itcl: \ |
| configure-itcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./itcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in itcl" ; \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif itcl |
| |
| .PHONY: maybe-install-info-itcl install-info-itcl |
| maybe-install-info-itcl: |
| @if itcl |
| maybe-install-info-itcl: install-info-itcl |
| |
| install-info-itcl: \ |
| configure-itcl \ |
| info-itcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./itcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in itcl" ; \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif itcl |
| |
| .PHONY: maybe-install-pdf-itcl install-pdf-itcl |
| maybe-install-pdf-itcl: |
| @if itcl |
| maybe-install-pdf-itcl: install-pdf-itcl |
| |
| install-pdf-itcl: \ |
| configure-itcl \ |
| pdf-itcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./itcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in itcl" ; \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif itcl |
| |
| .PHONY: maybe-install-html-itcl install-html-itcl |
| maybe-install-html-itcl: |
| @if itcl |
| maybe-install-html-itcl: install-html-itcl |
| |
| install-html-itcl: \ |
| configure-itcl \ |
| html-itcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./itcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in itcl" ; \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif itcl |
| |
| .PHONY: maybe-installcheck-itcl installcheck-itcl |
| maybe-installcheck-itcl: |
| @if itcl |
| maybe-installcheck-itcl: installcheck-itcl |
| |
| installcheck-itcl: \ |
| configure-itcl |
| @: $(MAKE); $(unstage) |
| @[ -f ./itcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in itcl" ; \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif itcl |
| |
| .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl |
| maybe-mostlyclean-itcl: |
| @if itcl |
| maybe-mostlyclean-itcl: mostlyclean-itcl |
| |
| mostlyclean-itcl: |
| @: $(MAKE); $(unstage) |
| @[ -f ./itcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in itcl" ; \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif itcl |
| |
| .PHONY: maybe-clean-itcl clean-itcl |
| maybe-clean-itcl: |
| @if itcl |
| maybe-clean-itcl: clean-itcl |
| |
| clean-itcl: |
| @: $(MAKE); $(unstage) |
| @[ -f ./itcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in itcl" ; \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif itcl |
| |
| .PHONY: maybe-distclean-itcl distclean-itcl |
| maybe-distclean-itcl: |
| @if itcl |
| maybe-distclean-itcl: distclean-itcl |
| |
| distclean-itcl: |
| @: $(MAKE); $(unstage) |
| @[ -f ./itcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in itcl" ; \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif itcl |
| |
| .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl |
| maybe-maintainer-clean-itcl: |
| @if itcl |
| maybe-maintainer-clean-itcl: maintainer-clean-itcl |
| |
| maintainer-clean-itcl: |
| @: $(MAKE); $(unstage) |
| @[ -f ./itcl/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in itcl" ; \ |
| (cd $(HOST_SUBDIR)/itcl && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif itcl |
| |
| |
| |
| .PHONY: configure-ld maybe-configure-ld |
| maybe-configure-ld: |
| @if gcc-bootstrap |
| configure-ld: stage_current |
| @endif gcc-bootstrap |
| @if ld |
| maybe-configure-ld: configure-ld |
| configure-ld: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/ld; \ |
| cd "$(HOST_SUBDIR)/ld" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=ld; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif ld |
| |
| |
| |
| .PHONY: configure-stage1-ld maybe-configure-stage1-ld |
| maybe-configure-stage1-ld: |
| @if ld-bootstrap |
| maybe-configure-stage1-ld: configure-stage1-ld |
| configure-stage1-ld: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ |
| cd $(HOST_SUBDIR)/ld || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=ld; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) |
| @endif ld-bootstrap |
| |
| .PHONY: configure-stage2-ld maybe-configure-stage2-ld |
| maybe-configure-stage2-ld: |
| @if ld-bootstrap |
| maybe-configure-stage2-ld: configure-stage2-ld |
| configure-stage2-ld: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ |
| cd $(HOST_SUBDIR)/ld || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=ld; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) |
| @endif ld-bootstrap |
| |
| .PHONY: configure-stage3-ld maybe-configure-stage3-ld |
| maybe-configure-stage3-ld: |
| @if ld-bootstrap |
| maybe-configure-stage3-ld: configure-stage3-ld |
| configure-stage3-ld: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ |
| cd $(HOST_SUBDIR)/ld || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=ld; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) |
| @endif ld-bootstrap |
| |
| .PHONY: configure-stage4-ld maybe-configure-stage4-ld |
| maybe-configure-stage4-ld: |
| @if ld-bootstrap |
| maybe-configure-stage4-ld: configure-stage4-ld |
| configure-stage4-ld: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ |
| cd $(HOST_SUBDIR)/ld || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=ld; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) |
| @endif ld-bootstrap |
| |
| .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld |
| maybe-configure-stageprofile-ld: |
| @if ld-bootstrap |
| maybe-configure-stageprofile-ld: configure-stageprofile-ld |
| configure-stageprofile-ld: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ |
| cd $(HOST_SUBDIR)/ld || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=ld; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) |
| @endif ld-bootstrap |
| |
| .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld |
| maybe-configure-stagefeedback-ld: |
| @if ld-bootstrap |
| maybe-configure-stagefeedback-ld: configure-stagefeedback-ld |
| configure-stagefeedback-ld: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ |
| cd $(HOST_SUBDIR)/ld || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=ld; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) |
| @endif ld-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-ld maybe-all-ld |
| maybe-all-ld: |
| @if gcc-bootstrap |
| all-ld: stage_current |
| @endif gcc-bootstrap |
| @if ld |
| TARGET-ld=all |
| maybe-all-ld: all-ld |
| all-ld: configure-ld |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-ld)) |
| @endif ld |
| |
| |
| |
| .PHONY: all-stage1-ld maybe-all-stage1-ld |
| .PHONY: clean-stage1-ld maybe-clean-stage1-ld |
| maybe-all-stage1-ld: |
| maybe-clean-stage1-ld: |
| @if ld-bootstrap |
| maybe-all-stage1-ld: all-stage1-ld |
| all-stage1: all-stage1-ld |
| TARGET-stage1-ld = $(TARGET-ld) |
| all-stage1-ld: configure-stage1-ld |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-ld) |
| |
| maybe-clean-stage1-ld: clean-stage1-ld |
| clean-stage1: clean-stage1-ld |
| clean-stage1-ld: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) clean |
| @endif ld-bootstrap |
| |
| |
| .PHONY: all-stage2-ld maybe-all-stage2-ld |
| .PHONY: clean-stage2-ld maybe-clean-stage2-ld |
| maybe-all-stage2-ld: |
| maybe-clean-stage2-ld: |
| @if ld-bootstrap |
| maybe-all-stage2-ld: all-stage2-ld |
| all-stage2: all-stage2-ld |
| TARGET-stage2-ld = $(TARGET-ld) |
| all-stage2-ld: configure-stage2-ld |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-ld) |
| |
| maybe-clean-stage2-ld: clean-stage2-ld |
| clean-stage2: clean-stage2-ld |
| clean-stage2-ld: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif ld-bootstrap |
| |
| |
| .PHONY: all-stage3-ld maybe-all-stage3-ld |
| .PHONY: clean-stage3-ld maybe-clean-stage3-ld |
| maybe-all-stage3-ld: |
| maybe-clean-stage3-ld: |
| @if ld-bootstrap |
| maybe-all-stage3-ld: all-stage3-ld |
| all-stage3: all-stage3-ld |
| TARGET-stage3-ld = $(TARGET-ld) |
| all-stage3-ld: configure-stage3-ld |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-ld) |
| |
| maybe-clean-stage3-ld: clean-stage3-ld |
| clean-stage3: clean-stage3-ld |
| clean-stage3-ld: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif ld-bootstrap |
| |
| |
| .PHONY: all-stage4-ld maybe-all-stage4-ld |
| .PHONY: clean-stage4-ld maybe-clean-stage4-ld |
| maybe-all-stage4-ld: |
| maybe-clean-stage4-ld: |
| @if ld-bootstrap |
| maybe-all-stage4-ld: all-stage4-ld |
| all-stage4: all-stage4-ld |
| TARGET-stage4-ld = $(TARGET-ld) |
| all-stage4-ld: configure-stage4-ld |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-ld) |
| |
| maybe-clean-stage4-ld: clean-stage4-ld |
| clean-stage4: clean-stage4-ld |
| clean-stage4-ld: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif ld-bootstrap |
| |
| |
| .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld |
| .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld |
| maybe-all-stageprofile-ld: |
| maybe-clean-stageprofile-ld: |
| @if ld-bootstrap |
| maybe-all-stageprofile-ld: all-stageprofile-ld |
| all-stageprofile: all-stageprofile-ld |
| TARGET-stageprofile-ld = $(TARGET-ld) |
| all-stageprofile-ld: configure-stageprofile-ld |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-ld) |
| |
| maybe-clean-stageprofile-ld: clean-stageprofile-ld |
| clean-stageprofile: clean-stageprofile-ld |
| clean-stageprofile-ld: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif ld-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld |
| .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld |
| maybe-all-stagefeedback-ld: |
| maybe-clean-stagefeedback-ld: |
| @if ld-bootstrap |
| maybe-all-stagefeedback-ld: all-stagefeedback-ld |
| all-stagefeedback: all-stagefeedback-ld |
| TARGET-stagefeedback-ld = $(TARGET-ld) |
| all-stagefeedback-ld: configure-stagefeedback-ld |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-ld) |
| |
| maybe-clean-stagefeedback-ld: clean-stagefeedback-ld |
| clean-stagefeedback: clean-stagefeedback-ld |
| clean-stagefeedback-ld: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif ld-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-ld maybe-check-ld |
| maybe-check-ld: |
| @if ld |
| maybe-check-ld: check-ld |
| |
| check-ld: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif ld |
| |
| .PHONY: install-ld maybe-install-ld |
| maybe-install-ld: |
| @if ld |
| maybe-install-ld: install-ld |
| |
| install-ld: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif ld |
| |
| .PHONY: install-strip-ld maybe-install-strip-ld |
| maybe-install-strip-ld: |
| @if ld |
| maybe-install-strip-ld: install-strip-ld |
| |
| install-strip-ld: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif ld |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-ld info-ld |
| maybe-info-ld: |
| @if ld |
| maybe-info-ld: info-ld |
| |
| info-ld: \ |
| configure-ld |
| @[ -f ./ld/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in ld" ; \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif ld |
| |
| .PHONY: maybe-dvi-ld dvi-ld |
| maybe-dvi-ld: |
| @if ld |
| maybe-dvi-ld: dvi-ld |
| |
| dvi-ld: \ |
| configure-ld |
| @[ -f ./ld/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in ld" ; \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif ld |
| |
| .PHONY: maybe-pdf-ld pdf-ld |
| maybe-pdf-ld: |
| @if ld |
| maybe-pdf-ld: pdf-ld |
| |
| pdf-ld: \ |
| configure-ld |
| @[ -f ./ld/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in ld" ; \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif ld |
| |
| .PHONY: maybe-html-ld html-ld |
| maybe-html-ld: |
| @if ld |
| maybe-html-ld: html-ld |
| |
| html-ld: \ |
| configure-ld |
| @[ -f ./ld/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in ld" ; \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif ld |
| |
| .PHONY: maybe-TAGS-ld TAGS-ld |
| maybe-TAGS-ld: |
| @if ld |
| maybe-TAGS-ld: TAGS-ld |
| |
| TAGS-ld: \ |
| configure-ld |
| @[ -f ./ld/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in ld" ; \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif ld |
| |
| .PHONY: maybe-install-info-ld install-info-ld |
| maybe-install-info-ld: |
| @if ld |
| maybe-install-info-ld: install-info-ld |
| |
| install-info-ld: \ |
| configure-ld \ |
| info-ld |
| @[ -f ./ld/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in ld" ; \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif ld |
| |
| .PHONY: maybe-install-pdf-ld install-pdf-ld |
| maybe-install-pdf-ld: |
| @if ld |
| maybe-install-pdf-ld: install-pdf-ld |
| |
| install-pdf-ld: \ |
| configure-ld \ |
| pdf-ld |
| @[ -f ./ld/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in ld" ; \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif ld |
| |
| .PHONY: maybe-install-html-ld install-html-ld |
| maybe-install-html-ld: |
| @if ld |
| maybe-install-html-ld: install-html-ld |
| |
| install-html-ld: \ |
| configure-ld \ |
| html-ld |
| @[ -f ./ld/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in ld" ; \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif ld |
| |
| .PHONY: maybe-installcheck-ld installcheck-ld |
| maybe-installcheck-ld: |
| @if ld |
| maybe-installcheck-ld: installcheck-ld |
| |
| installcheck-ld: \ |
| configure-ld |
| @[ -f ./ld/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in ld" ; \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif ld |
| |
| .PHONY: maybe-mostlyclean-ld mostlyclean-ld |
| maybe-mostlyclean-ld: |
| @if ld |
| maybe-mostlyclean-ld: mostlyclean-ld |
| |
| mostlyclean-ld: |
| @[ -f ./ld/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in ld" ; \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif ld |
| |
| .PHONY: maybe-clean-ld clean-ld |
| maybe-clean-ld: |
| @if ld |
| maybe-clean-ld: clean-ld |
| |
| clean-ld: |
| @[ -f ./ld/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in ld" ; \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif ld |
| |
| .PHONY: maybe-distclean-ld distclean-ld |
| maybe-distclean-ld: |
| @if ld |
| maybe-distclean-ld: distclean-ld |
| |
| distclean-ld: |
| @[ -f ./ld/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in ld" ; \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif ld |
| |
| .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld |
| maybe-maintainer-clean-ld: |
| @if ld |
| maybe-maintainer-clean-ld: maintainer-clean-ld |
| |
| maintainer-clean-ld: |
| @[ -f ./ld/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in ld" ; \ |
| (cd $(HOST_SUBDIR)/ld && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif ld |
| |
| |
| |
| .PHONY: configure-libbacktrace maybe-configure-libbacktrace |
| maybe-configure-libbacktrace: |
| @if gcc-bootstrap |
| configure-libbacktrace: stage_current |
| @endif gcc-bootstrap |
| @if libbacktrace |
| maybe-configure-libbacktrace: configure-libbacktrace |
| configure-libbacktrace: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/libbacktrace; \ |
| cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libbacktrace; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif libbacktrace |
| |
| |
| |
| .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace |
| maybe-configure-stage1-libbacktrace: |
| @if libbacktrace-bootstrap |
| maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace |
| configure-stage1-libbacktrace: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \ |
| cd $(HOST_SUBDIR)/libbacktrace || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libbacktrace; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) |
| @endif libbacktrace-bootstrap |
| |
| .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace |
| maybe-configure-stage2-libbacktrace: |
| @if libbacktrace-bootstrap |
| maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace |
| configure-stage2-libbacktrace: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \ |
| cd $(HOST_SUBDIR)/libbacktrace || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libbacktrace; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) |
| @endif libbacktrace-bootstrap |
| |
| .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace |
| maybe-configure-stage3-libbacktrace: |
| @if libbacktrace-bootstrap |
| maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace |
| configure-stage3-libbacktrace: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \ |
| cd $(HOST_SUBDIR)/libbacktrace || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libbacktrace; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) |
| @endif libbacktrace-bootstrap |
| |
| .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace |
| maybe-configure-stage4-libbacktrace: |
| @if libbacktrace-bootstrap |
| maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace |
| configure-stage4-libbacktrace: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \ |
| cd $(HOST_SUBDIR)/libbacktrace || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libbacktrace; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) |
| @endif libbacktrace-bootstrap |
| |
| .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace |
| maybe-configure-stageprofile-libbacktrace: |
| @if libbacktrace-bootstrap |
| maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace |
| configure-stageprofile-libbacktrace: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \ |
| cd $(HOST_SUBDIR)/libbacktrace || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libbacktrace; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) |
| @endif libbacktrace-bootstrap |
| |
| .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace |
| maybe-configure-stagefeedback-libbacktrace: |
| @if libbacktrace-bootstrap |
| maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace |
| configure-stagefeedback-libbacktrace: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \ |
| cd $(HOST_SUBDIR)/libbacktrace || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libbacktrace; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) |
| @endif libbacktrace-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-libbacktrace maybe-all-libbacktrace |
| maybe-all-libbacktrace: |
| @if gcc-bootstrap |
| all-libbacktrace: stage_current |
| @endif gcc-bootstrap |
| @if libbacktrace |
| TARGET-libbacktrace=all |
| maybe-all-libbacktrace: all-libbacktrace |
| all-libbacktrace: configure-libbacktrace |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-libbacktrace)) |
| @endif libbacktrace |
| |
| |
| |
| .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace |
| .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace |
| maybe-all-stage1-libbacktrace: |
| maybe-clean-stage1-libbacktrace: |
| @if libbacktrace-bootstrap |
| maybe-all-stage1-libbacktrace: all-stage1-libbacktrace |
| all-stage1: all-stage1-libbacktrace |
| TARGET-stage1-libbacktrace = $(TARGET-libbacktrace) |
| all-stage1-libbacktrace: configure-stage1-libbacktrace |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-libbacktrace) |
| |
| maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace |
| clean-stage1: clean-stage1-libbacktrace |
| clean-stage1-libbacktrace: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) clean |
| @endif libbacktrace-bootstrap |
| |
| |
| .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace |
| .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace |
| maybe-all-stage2-libbacktrace: |
| maybe-clean-stage2-libbacktrace: |
| @if libbacktrace-bootstrap |
| maybe-all-stage2-libbacktrace: all-stage2-libbacktrace |
| all-stage2: all-stage2-libbacktrace |
| TARGET-stage2-libbacktrace = $(TARGET-libbacktrace) |
| all-stage2-libbacktrace: configure-stage2-libbacktrace |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE2_CFLAGS)" \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE2_TFLAGS)" \ |
| $(TARGET-stage2-libbacktrace) |
| |
| maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace |
| clean-stage2: clean-stage2-libbacktrace |
| clean-stage2-libbacktrace: |
| @if [ $(current_stage) = stage2 ]; then \ |
| [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \ |
| $(MAKE) stage2-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif libbacktrace-bootstrap |
| |
| |
| .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace |
| .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace |
| maybe-all-stage3-libbacktrace: |
| maybe-clean-stage3-libbacktrace: |
| @if libbacktrace-bootstrap |
| maybe-all-stage3-libbacktrace: all-stage3-libbacktrace |
| all-stage3: all-stage3-libbacktrace |
| TARGET-stage3-libbacktrace = $(TARGET-libbacktrace) |
| all-stage3-libbacktrace: configure-stage3-libbacktrace |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE3_CFLAGS)" \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE3_TFLAGS)" \ |
| $(TARGET-stage3-libbacktrace) |
| |
| maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace |
| clean-stage3: clean-stage3-libbacktrace |
| clean-stage3-libbacktrace: |
| @if [ $(current_stage) = stage3 ]; then \ |
| [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \ |
| $(MAKE) stage3-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif libbacktrace-bootstrap |
| |
| |
| .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace |
| .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace |
| maybe-all-stage4-libbacktrace: |
| maybe-clean-stage4-libbacktrace: |
| @if libbacktrace-bootstrap |
| maybe-all-stage4-libbacktrace: all-stage4-libbacktrace |
| all-stage4: all-stage4-libbacktrace |
| TARGET-stage4-libbacktrace = $(TARGET-libbacktrace) |
| all-stage4-libbacktrace: configure-stage4-libbacktrace |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE4_CFLAGS)" \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE4_TFLAGS)" \ |
| $(TARGET-stage4-libbacktrace) |
| |
| maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace |
| clean-stage4: clean-stage4-libbacktrace |
| clean-stage4-libbacktrace: |
| @if [ $(current_stage) = stage4 ]; then \ |
| [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \ |
| $(MAKE) stage4-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif libbacktrace-bootstrap |
| |
| |
| .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace |
| .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace |
| maybe-all-stageprofile-libbacktrace: |
| maybe-clean-stageprofile-libbacktrace: |
| @if libbacktrace-bootstrap |
| maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace |
| all-stageprofile: all-stageprofile-libbacktrace |
| TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace) |
| all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEprofile_TFLAGS)" \ |
| $(TARGET-stageprofile-libbacktrace) |
| |
| maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace |
| clean-stageprofile: clean-stageprofile-libbacktrace |
| clean-stageprofile-libbacktrace: |
| @if [ $(current_stage) = stageprofile ]; then \ |
| [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \ |
| $(MAKE) stageprofile-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif libbacktrace-bootstrap |
| |
| |
| .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace |
| .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace |
| maybe-all-stagefeedback-libbacktrace: |
| maybe-clean-stagefeedback-libbacktrace: |
| @if libbacktrace-bootstrap |
| maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace |
| all-stagefeedback: all-stagefeedback-libbacktrace |
| TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace) |
| all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)" \ |
| $(TARGET-stagefeedback-libbacktrace) |
| |
| maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace |
| clean-stagefeedback: clean-stagefeedback-libbacktrace |
| clean-stagefeedback-libbacktrace: |
| @if [ $(current_stage) = stagefeedback ]; then \ |
| [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \ |
| $(MAKE) stagefeedback-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean |
| @endif libbacktrace-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: check-libbacktrace maybe-check-libbacktrace |
| maybe-check-libbacktrace: |
| @if libbacktrace |
| maybe-check-libbacktrace: check-libbacktrace |
| |
| check-libbacktrace: |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(FLAGS_TO_PASS) check) |
| |
| @endif libbacktrace |
| |
| .PHONY: install-libbacktrace maybe-install-libbacktrace |
| maybe-install-libbacktrace: |
| @if libbacktrace |
| maybe-install-libbacktrace: install-libbacktrace |
| |
| install-libbacktrace: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(FLAGS_TO_PASS) install) |
| |
| @endif libbacktrace |
| |
| .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace |
| maybe-install-strip-libbacktrace: |
| @if libbacktrace |
| maybe-install-strip-libbacktrace: install-strip-libbacktrace |
| |
| install-strip-libbacktrace: installdirs |
| @: $(MAKE); $(unstage) |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(FLAGS_TO_PASS) install-strip) |
| |
| @endif libbacktrace |
| |
| # Other targets (info, dvi, pdf, etc.) |
| |
| .PHONY: maybe-info-libbacktrace info-libbacktrace |
| maybe-info-libbacktrace: |
| @if libbacktrace |
| maybe-info-libbacktrace: info-libbacktrace |
| |
| info-libbacktrace: \ |
| configure-libbacktrace |
| @[ -f ./libbacktrace/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing info in libbacktrace" ; \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| info) \ |
| || exit 1 |
| |
| @endif libbacktrace |
| |
| .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace |
| maybe-dvi-libbacktrace: |
| @if libbacktrace |
| maybe-dvi-libbacktrace: dvi-libbacktrace |
| |
| dvi-libbacktrace: \ |
| configure-libbacktrace |
| @[ -f ./libbacktrace/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing dvi in libbacktrace" ; \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| dvi) \ |
| || exit 1 |
| |
| @endif libbacktrace |
| |
| .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace |
| maybe-pdf-libbacktrace: |
| @if libbacktrace |
| maybe-pdf-libbacktrace: pdf-libbacktrace |
| |
| pdf-libbacktrace: \ |
| configure-libbacktrace |
| @[ -f ./libbacktrace/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing pdf in libbacktrace" ; \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| pdf) \ |
| || exit 1 |
| |
| @endif libbacktrace |
| |
| .PHONY: maybe-html-libbacktrace html-libbacktrace |
| maybe-html-libbacktrace: |
| @if libbacktrace |
| maybe-html-libbacktrace: html-libbacktrace |
| |
| html-libbacktrace: \ |
| configure-libbacktrace |
| @[ -f ./libbacktrace/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing html in libbacktrace" ; \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| html) \ |
| || exit 1 |
| |
| @endif libbacktrace |
| |
| .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace |
| maybe-TAGS-libbacktrace: |
| @if libbacktrace |
| maybe-TAGS-libbacktrace: TAGS-libbacktrace |
| |
| TAGS-libbacktrace: \ |
| configure-libbacktrace |
| @[ -f ./libbacktrace/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing TAGS in libbacktrace" ; \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| TAGS) \ |
| || exit 1 |
| |
| @endif libbacktrace |
| |
| .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace |
| maybe-install-info-libbacktrace: |
| @if libbacktrace |
| maybe-install-info-libbacktrace: install-info-libbacktrace |
| |
| install-info-libbacktrace: \ |
| configure-libbacktrace \ |
| info-libbacktrace |
| @[ -f ./libbacktrace/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-info in libbacktrace" ; \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-info) \ |
| || exit 1 |
| |
| @endif libbacktrace |
| |
| .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace |
| maybe-install-pdf-libbacktrace: |
| @if libbacktrace |
| maybe-install-pdf-libbacktrace: install-pdf-libbacktrace |
| |
| install-pdf-libbacktrace: \ |
| configure-libbacktrace \ |
| pdf-libbacktrace |
| @[ -f ./libbacktrace/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-pdf in libbacktrace" ; \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-pdf) \ |
| || exit 1 |
| |
| @endif libbacktrace |
| |
| .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace |
| maybe-install-html-libbacktrace: |
| @if libbacktrace |
| maybe-install-html-libbacktrace: install-html-libbacktrace |
| |
| install-html-libbacktrace: \ |
| configure-libbacktrace \ |
| html-libbacktrace |
| @[ -f ./libbacktrace/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing install-html in libbacktrace" ; \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| install-html) \ |
| || exit 1 |
| |
| @endif libbacktrace |
| |
| .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace |
| maybe-installcheck-libbacktrace: |
| @if libbacktrace |
| maybe-installcheck-libbacktrace: installcheck-libbacktrace |
| |
| installcheck-libbacktrace: \ |
| configure-libbacktrace |
| @[ -f ./libbacktrace/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing installcheck in libbacktrace" ; \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| installcheck) \ |
| || exit 1 |
| |
| @endif libbacktrace |
| |
| .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace |
| maybe-mostlyclean-libbacktrace: |
| @if libbacktrace |
| maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace |
| |
| mostlyclean-libbacktrace: |
| @[ -f ./libbacktrace/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing mostlyclean in libbacktrace" ; \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| mostlyclean) \ |
| || exit 1 |
| |
| @endif libbacktrace |
| |
| .PHONY: maybe-clean-libbacktrace clean-libbacktrace |
| maybe-clean-libbacktrace: |
| @if libbacktrace |
| maybe-clean-libbacktrace: clean-libbacktrace |
| |
| clean-libbacktrace: |
| @[ -f ./libbacktrace/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing clean in libbacktrace" ; \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| clean) \ |
| || exit 1 |
| |
| @endif libbacktrace |
| |
| .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace |
| maybe-distclean-libbacktrace: |
| @if libbacktrace |
| maybe-distclean-libbacktrace: distclean-libbacktrace |
| |
| distclean-libbacktrace: |
| @[ -f ./libbacktrace/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing distclean in libbacktrace" ; \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| distclean) \ |
| || exit 1 |
| |
| @endif libbacktrace |
| |
| .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace |
| maybe-maintainer-clean-libbacktrace: |
| @if libbacktrace |
| maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace |
| |
| maintainer-clean-libbacktrace: |
| @[ -f ./libbacktrace/Makefile ] || exit 0; \ |
| r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| for flag in $(EXTRA_HOST_FLAGS) ; do \ |
| eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ |
| done; \ |
| echo "Doing maintainer-clean in libbacktrace" ; \ |
| (cd $(HOST_SUBDIR)/libbacktrace && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ |
| "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ |
| "RANLIB=$${RANLIB}" \ |
| "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ |
| maintainer-clean) \ |
| || exit 1 |
| |
| @endif libbacktrace |
| |
| |
| |
| .PHONY: configure-libcpp maybe-configure-libcpp |
| maybe-configure-libcpp: |
| @if gcc-bootstrap |
| configure-libcpp: stage_current |
| @endif gcc-bootstrap |
| @if libcpp |
| maybe-configure-libcpp: configure-libcpp |
| configure-libcpp: |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ |
| $(HOST_EXPORTS) \ |
| echo Configuring in $(HOST_SUBDIR)/libcpp; \ |
| cd "$(HOST_SUBDIR)/libcpp" || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libcpp; \ |
| $(SHELL) \ |
| $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| || exit 1 |
| @endif libcpp |
| |
| |
| |
| .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp |
| maybe-configure-stage1-libcpp: |
| @if libcpp-bootstrap |
| maybe-configure-stage1-libcpp: configure-stage1-libcpp |
| configure-stage1-libcpp: |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ |
| cd $(HOST_SUBDIR)/libcpp || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libcpp; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| \ |
| $(STAGE1_CONFIGURE_FLAGS) |
| @endif libcpp-bootstrap |
| |
| .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp |
| maybe-configure-stage2-libcpp: |
| @if libcpp-bootstrap |
| maybe-configure-stage2-libcpp: configure-stage2-libcpp |
| configure-stage2-libcpp: |
| @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE2_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ |
| cd $(HOST_SUBDIR)/libcpp || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libcpp; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE2_CONFIGURE_FLAGS) |
| @endif libcpp-bootstrap |
| |
| .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp |
| maybe-configure-stage3-libcpp: |
| @if libcpp-bootstrap |
| maybe-configure-stage3-libcpp: configure-stage3-libcpp |
| configure-stage3-libcpp: |
| @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE3_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ |
| cd $(HOST_SUBDIR)/libcpp || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libcpp; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE3_CONFIGURE_FLAGS) |
| @endif libcpp-bootstrap |
| |
| .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp |
| maybe-configure-stage4-libcpp: |
| @if libcpp-bootstrap |
| maybe-configure-stage4-libcpp: configure-stage4-libcpp |
| configure-stage4-libcpp: |
| @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE4_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ |
| cd $(HOST_SUBDIR)/libcpp || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libcpp; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGE4_CONFIGURE_FLAGS) |
| @endif libcpp-bootstrap |
| |
| .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp |
| maybe-configure-stageprofile-libcpp: |
| @if libcpp-bootstrap |
| maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp |
| configure-stageprofile-libcpp: |
| @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEprofile_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ |
| cd $(HOST_SUBDIR)/libcpp || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libcpp; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEprofile_CONFIGURE_FLAGS) |
| @endif libcpp-bootstrap |
| |
| .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp |
| maybe-configure-stagefeedback-libcpp: |
| @if libcpp-bootstrap |
| maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp |
| configure-stagefeedback-libcpp: |
| @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start |
| @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGEfeedback_TFLAGS)"; \ |
| test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ |
| $(HOST_EXPORTS) \ |
| $(POSTSTAGE1_HOST_EXPORTS) \ |
| CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ |
| CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ |
| LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ |
| echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \ |
| $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ |
| cd $(HOST_SUBDIR)/libcpp || exit 1; \ |
| case $(srcdir) in \ |
| /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ |
| *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ |
| sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ |
| esac; \ |
| module_srcdir=libcpp; \ |
| $(SHELL) $$s/$$module_srcdir/configure \ |
| --srcdir=$${topdir}/$$module_srcdir \ |
| $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ |
| --target=${target_alias} \ |
| --with-build-libsubdir=$(HOST_SUBDIR) \ |
| $(STAGEfeedback_CONFIGURE_FLAGS) |
| @endif libcpp-bootstrap |
| |
| |
| |
| |
| |
| .PHONY: all-libcpp maybe-all-libcpp |
| maybe-all-libcpp: |
| @if gcc-bootstrap |
| all-libcpp: stage_current |
| @endif gcc-bootstrap |
| @if libcpp |
| TARGET-libcpp=all |
| maybe-all-libcpp: all-libcpp |
| all-libcpp: configure-libcpp |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| $(HOST_EXPORTS) \ |
| (cd $(HOST_SUBDIR)/libcpp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ |
| $(TARGET-libcpp)) |
| @endif libcpp |
| |
| |
| |
| .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp |
| .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp |
| maybe-all-stage1-libcpp: |
| maybe-clean-stage1-libcpp: |
| @if libcpp-bootstrap |
| maybe-all-stage1-libcpp: all-stage1-libcpp |
| all-stage1: all-stage1-libcpp |
| TARGET-stage1-libcpp = $(TARGET-libcpp) |
| all-stage1-libcpp: configure-stage1-libcpp |
| @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start |
| @r=`${PWD_COMMAND}`; export r; \ |
| s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ |
| TFLAGS="$(STAGE1_TFLAGS)"; \ |
| $(HOST_EXPORTS) \ |
| cd $(HOST_SUBDIR)/libcpp && \ |
| $(MAKE) $(BASE_FLAGS_TO_PASS) \ |
| CFLAGS="$(STAGE1_CFLAGS)" \ |
| CXXFLAGS="$(STAGE1_CXXFLAGS)" \ |
| LIBCFLAGS="$(LIBCFLAGS)" \ |
| CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ |
| CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ |
| LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ |
| $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) \ |
| TFLAGS="$(STAGE1_TFLAGS)" \ |
| $(TARGET-stage1-libcpp) |
| |
| maybe-clean-stage1-libcpp: clean-stage1-libcpp |
| clean-stage1: clean-stage1-libcpp |
| clean-stage1-libcpp: |
| @if [ $(current_stage) = stage1 ]; then \ |
| [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \ |
| else \ |
| [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \ |
| $(MAKE) stage1-start; \ |
| fi; \ |
| cd $(HOST_SUBDIR)/libcpp && \ |
| $(MAKE) $(EXTRA_HOST_FLAGS) \ |
| $(STAGE1_FLAGS_TO_PASS) clean |
| @endif libcpp-bootstrap |
| |
| |
| .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp |
| .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp |
| maybe-all-stage2-libcpp: |
| maybe-clean-stage2-libcpp: |
| @if libcpp-bootstrap |
| maybe-all-stage2-libcpp: all-stage2-libcpp |
| all-stage2: all-stage2-libcpp |
| TARGET-stage2-libcpp = $(TARGET-libcpp) |
| all-stage2-libcpp: configure-stage2-libcpp |
| |