mirror of
https://github.com/autc04/Retro68.git
synced 2024-10-13 18:23:53 +00:00
66727 lines
2.2 MiB
66727 lines
2.2 MiB
|
|
# 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@
|
|
|
|
# If the build should make suitable code for shared host resources.
|
|
host_shared = @host_shared@
|
|
|
|
# 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; \
|
|
CPP="$(CPP_FOR_BUILD)"; export CPP; \
|
|
CPPFLAGS="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS; \
|
|
CXX="$(CXX_FOR_BUILD)"; export CXX; \
|
|
CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
|
|
GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
|
|
GOC="$(GOC_FOR_BUILD)"; export GOC; \
|
|
GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
|
|
GDC="$(GDC_FOR_BUILD)"; export GDC; \
|
|
GDCFLAGS="$(GDCFLAGS_FOR_BUILD)"; export GDCFLAGS; \
|
|
DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
|
|
DSYMUTIL="$(DSYMUTIL_FOR_BUILD)"; export DSYMUTIL; \
|
|
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; \
|
|
GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
|
|
GOC="$(GOC)"; export GOC; \
|
|
GDC="$(GDC)"; export GDC; \
|
|
AR="$(AR)"; export AR; \
|
|
AS="$(AS)"; export AS; \
|
|
CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
|
|
CPP_FOR_BUILD="$(CPP_FOR_BUILD)"; export CPP_FOR_BUILD; \
|
|
CPPFLAGS_FOR_BUILD="$(CPPFLAGS_FOR_BUILD)"; export CPPFLAGS_FOR_BUILD; \
|
|
CXX_FOR_BUILD="$(CXX_FOR_BUILD)"; export CXX_FOR_BUILD; \
|
|
DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
|
|
DSYMUTIL="$(DSYMUTIL)"; export DSYMUTIL; \
|
|
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; \
|
|
OTOOL="$(OTOOL)"; export OTOOL; \
|
|
READELF="$(READELF)"; export READELF; \
|
|
AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
|
|
AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
|
|
DSYMUTIL_FOR_TARGET="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL_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; \
|
|
OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
|
|
OTOOL_FOR_TARGET="$(OTOOL_FOR_TARGET)"; export OTOOL_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; \
|
|
LIBELFLIBS="$(HOST_LIBELFLIBS)"; export LIBELFLIBS; \
|
|
LIBELFINC="$(HOST_LIBELFINC)"; export LIBELFINC; \
|
|
XGCC_FLAGS_FOR_TARGET="$(XGCC_FLAGS_FOR_TARGET)"; export XGCC_FLAGS_FOR_TARGET; \
|
|
@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) \
|
|
$(LTO_EXPORTS) \
|
|
GDC="$$r/$(HOST_SUBDIR)/prev-gcc/gdc$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
|
|
-B$(build_tooldir)/bin/ $(GDCFLAGS_FOR_TARGET) \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime/gcc \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libphobos/src \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \
|
|
-I$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime -I$$s/libphobos/libdruntime \
|
|
-L$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \
|
|
-B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
|
|
-L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; \
|
|
export GDC; \
|
|
GDC_FOR_BUILD="$$GDC"; export GDC_FOR_BUILD; \
|
|
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; \
|
|
GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
|
|
GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
|
|
GDC="$(GDC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GDC; \
|
|
DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
|
|
DSYMUTIL="$(DSYMUTIL_FOR_TARGET)"; export DSYMUTIL; \
|
|
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; \
|
|
OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
|
|
OTOOL="$(OTOOL_FOR_TARGET)"; export OTOOL; \
|
|
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 libelf
|
|
HOST_LIBELFLIBS = @libelflibs@
|
|
HOST_LIBELFINC = @libelfinc@
|
|
|
|
# ----------------------------------------------
|
|
# 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@
|
|
CPP_FOR_BUILD = @CPP_FOR_BUILD@
|
|
CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
|
|
CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
|
|
CXX_FOR_BUILD = @CXX_FOR_BUILD@
|
|
DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
|
|
DSYMUTIL_FOR_BUILD = @DSYMUTIL_FOR_BUILD@
|
|
GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
|
|
GOC_FOR_BUILD = @GOC_FOR_BUILD@
|
|
GDC_FOR_BUILD = @GDC_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@
|
|
|
|
AUTO_PROFILE = gcc-auto-profile -c 10000000
|
|
|
|
# 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@
|
|
DSYMUTIL = @DSYMUTIL@
|
|
LD = @LD@
|
|
LIPO = @LIPO@
|
|
NM = @NM@
|
|
OBJDUMP = @OBJDUMP@
|
|
OTOOL = @OTOOL@
|
|
RANLIB = @RANLIB@
|
|
READELF = @READELF@
|
|
STRIP = @STRIP@
|
|
WINDRES = @WINDRES@
|
|
WINDMC = @WINDMC@
|
|
|
|
GDC = @GDC@
|
|
GNATBIND = @GNATBIND@
|
|
GNATMAKE = @GNATMAKE@
|
|
|
|
CFLAGS = @CFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBCFLAGS = $(CFLAGS)
|
|
CXXFLAGS = @CXXFLAGS@
|
|
LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
|
|
GOCFLAGS = $(CFLAGS)
|
|
GDCFLAGS = $(CFLAGS)
|
|
|
|
# Pass additional PGO and LTO compiler options to the PGO build.
|
|
BUILD_CFLAGS = $(PGO_BUILD_CFLAGS) $(PGO_BUILD_LTO_CFLAGS)
|
|
override CFLAGS += $(BUILD_CFLAGS)
|
|
override CXXFLAGS += $(BUILD_CFLAGS)
|
|
|
|
# Additional PGO and LTO compiler options to generate profiling data
|
|
# for the PGO build.
|
|
PGO_BUILD_GEN_FLAGS_TO_PASS = \
|
|
PGO_BUILD_CFLAGS="@PGO_BUILD_GEN_CFLAGS@" \
|
|
PGO_BUILD_LTO_CFLAGS="@PGO_BUILD_LTO_CFLAGS@"
|
|
|
|
# NB: Filter out any compiler options which may fail PGO training runs.
|
|
PGO_BUILD_TRAINING_CFLAGS:= \
|
|
$(filter-out -Werror=%,$(CFLAGS))
|
|
PGO_BUILD_TRAINING_CXXFLAGS:=\
|
|
$(filter-out -Werror=%,$(CXXFLAGS))
|
|
PGO_BUILD_TRAINING_CFLAGS:= \
|
|
$(filter-out -Wall,$(PGO_BUILD_TRAINING_CFLAGS))
|
|
PGO_BUILD_TRAINING_CXXFLAGS:= \
|
|
$(filter-out -Wall,$(PGO_BUILD_TRAINING_CXXFLAGS))
|
|
PGO_BUILD_TRAINING_CFLAGS:= \
|
|
$(filter-out -specs=%,$(PGO_BUILD_TRAINING_CFLAGS))
|
|
PGO_BUILD_TRAINING_CXXFLAGS:= \
|
|
$(filter-out -specs=%,$(PGO_BUILD_TRAINING_CXXFLAGS))
|
|
PGO_BUILD_TRAINING_FLAGS_TO_PASS = \
|
|
PGO_BUILD_TRAINING=yes \
|
|
CFLAGS_FOR_TARGET="$(PGO_BUILD_TRAINING_CFLAGS)" \
|
|
CXXFLAGS_FOR_TARGET="$(PGO_BUILD_TRAINING_CXXFLAGS)"
|
|
|
|
# Ignore "make check" errors in PGO training runs.
|
|
PGO_BUILD_TRAINING_MFLAGS = -i
|
|
|
|
# Additional PGO and LTO compiler options to use profiling data for the
|
|
# PGO build.
|
|
PGO_BUILD_USE_FLAGS_TO_PASS = \
|
|
PGO_BUILD_CFLAGS="@PGO_BUILD_USE_CFLAGS@" \
|
|
PGO_BUILD_LTO_CFLAGS="@PGO_BUILD_LTO_CFLAGS@"
|
|
|
|
# PGO training targets for the PGO build. FIXME: Add gold tests to
|
|
# training.
|
|
PGO-TRAINING-TARGETS = binutils gas gdb ld sim
|
|
PGO_BUILD_TRAINING = $(addprefix maybe-check-,$(PGO-TRAINING-TARGETS))
|
|
|
|
CREATE_GCOV = create_gcov
|
|
|
|
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 train; some are overridden below.
|
|
STAGEtrain_CFLAGS = $(STAGE_CFLAGS)
|
|
STAGEtrain_CXXFLAGS = $(CXXFLAGS)
|
|
@if target-libstdc++-v3-bootstrap
|
|
# Override the above if we're bootstrapping C++.
|
|
STAGEtrain_CXXFLAGS = $(STAGEtrain_CFLAGS)
|
|
@endif target-libstdc++-v3-bootstrap
|
|
STAGEtrain_TFLAGS = $(STAGE_TFLAGS)
|
|
STAGEtrain_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)
|
|
|
|
# Defaults for stage autoprofile; some are overridden below.
|
|
STAGEautoprofile_CFLAGS = $(STAGE_CFLAGS)
|
|
STAGEautoprofile_CXXFLAGS = $(CXXFLAGS)
|
|
@if target-libstdc++-v3-bootstrap
|
|
# Override the above if we're bootstrapping C++.
|
|
STAGEautoprofile_CXXFLAGS = $(STAGEautoprofile_CFLAGS)
|
|
@endif target-libstdc++-v3-bootstrap
|
|
STAGEautoprofile_TFLAGS = $(STAGE_TFLAGS)
|
|
STAGEautoprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
|
|
|
|
# Defaults for stage autofeedback; some are overridden below.
|
|
STAGEautofeedback_CFLAGS = $(STAGE_CFLAGS)
|
|
STAGEautofeedback_CXXFLAGS = $(CXXFLAGS)
|
|
@if target-libstdc++-v3-bootstrap
|
|
# Override the above if we're bootstrapping C++.
|
|
STAGEautofeedback_CXXFLAGS = $(STAGEautofeedback_CFLAGS)
|
|
@endif target-libstdc++-v3-bootstrap
|
|
STAGEautofeedback_TFLAGS = $(STAGE_TFLAGS)
|
|
STAGEautofeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
|
|
|
|
|
|
# By default, C and C++ are the only stage1 languages, because they are the
|
|
# only ones we require to build with the bootstrap compiler, and also the
|
|
# only ones useful for building stage2.
|
|
|
|
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
|
|
|
|
@if target-libphobos-bootstrap
|
|
STAGE1_CONFIGURE_FLAGS += --with-libphobos-druntime-only
|
|
STAGE2_CONFIGURE_FLAGS += --with-libphobos-druntime-only
|
|
@endif target-libphobos-bootstrap
|
|
|
|
# When using the slow stage1 compiler disable IL verification and forcefully
|
|
# enable it when using the stage2 compiler instead. As we later compare
|
|
# stage2 and stage3 we are merely avoid doing redundant work, plus we apply
|
|
# checking when building all target libraries for release builds.
|
|
STAGE1_TFLAGS += -fno-checking
|
|
STAGE2_CFLAGS += -fno-checking
|
|
STAGE2_TFLAGS += -fno-checking
|
|
STAGE3_CFLAGS += -fchecking=1
|
|
STAGE3_TFLAGS += -fchecking=1
|
|
|
|
STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
|
|
STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
|
|
|
|
STAGEtrain_CFLAGS = $(filter-out -fchecking=1,$(STAGE3_CFLAGS))
|
|
STAGEtrain_TFLAGS = $(filter-out -fchecking=1,$(STAGE3_TFLAGS))
|
|
|
|
STAGEfeedback_CFLAGS = $(STAGE4_CFLAGS) -fprofile-use -fprofile-reproducible=parallel-runs
|
|
STAGEfeedback_TFLAGS = $(STAGE4_TFLAGS)
|
|
|
|
STAGEautoprofile_CFLAGS = $(STAGE2_CFLAGS) -g
|
|
STAGEautoprofile_TFLAGS = $(STAGE2_TFLAGS)
|
|
|
|
STAGEautofeedback_CFLAGS = $(STAGE3_CFLAGS)
|
|
STAGEautofeedback_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@
|
|
GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
|
|
GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
|
|
GDC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GDC_FOR_TARGET@
|
|
DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
|
|
DSYMUTIL_FOR_TARGET=@DSYMUTIL_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@
|
|
OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
|
|
OTOOL_FOR_TARGET=@OTOOL_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
|
|
GDCFLAGS_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_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libphobos)$(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-liboffloadmic
|
|
TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
|
|
@endif target-liboffloadmic
|
|
|
|
@if target-libssp
|
|
TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
|
|
@endif target-libssp
|
|
|
|
@if target-libphobos
|
|
TARGET_LIB_PATH_libphobos = $$r/$(TARGET_SUBDIR)/libphobos/src/.libs:
|
|
@endif target-libphobos
|
|
|
|
@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_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/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/src/.libs:
|
|
@endif mpfr
|
|
|
|
@if mpc
|
|
HOST_LIB_PATH_mpc = \
|
|
$$r/$(HOST_SUBDIR)/mpc/src/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/src/.libs:
|
|
@endif mpc
|
|
|
|
@if isl
|
|
HOST_LIB_PATH_isl = \
|
|
$$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
|
|
@endif isl
|
|
|
|
@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. STAGE*FLAGS,
|
|
# MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
|
|
# overrideable (for a bootstrap build stage1 also builds gcc.info).
|
|
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)" \
|
|
"GDC=$(GDC)" \
|
|
"GDCFLAGS=$(GDCFLAGS)" \
|
|
"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)" \
|
|
"DSYMUTIL_FOR_TARGET=$(DSYMUTIL_FOR_TARGET)" \
|
|
"FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
|
|
"GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
|
|
"GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
|
|
"GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
|
|
"GDC_FOR_TARGET=$(GDC_FOR_TARGET)" \
|
|
"GDCFLAGS_FOR_TARGET=$(GDCFLAGS_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)" \
|
|
"OBJCOPY_FOR_TARGET=$(OBJCOPY_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_GENERATOR_CFLAGS=$(STAGE1_GENERATOR_CFLAGS)" \
|
|
"STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
|
|
"STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
|
|
"STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
|
|
"STAGE2_GENERATOR_CFLAGS=$(STAGE2_GENERATOR_CFLAGS)" \
|
|
"STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
|
|
"STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
|
|
"STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
|
|
"STAGE3_GENERATOR_CFLAGS=$(STAGE3_GENERATOR_CFLAGS)" \
|
|
"STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
|
|
"STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
|
|
"STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
|
|
"STAGE4_GENERATOR_CFLAGS=$(STAGE4_GENERATOR_CFLAGS)" \
|
|
"STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
|
|
"STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
|
|
"STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
|
|
"STAGEprofile_GENERATOR_CFLAGS=$(STAGEprofile_GENERATOR_CFLAGS)" \
|
|
"STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
|
|
"STAGEtrain_CFLAGS=$(STAGEtrain_CFLAGS)" \
|
|
"STAGEtrain_CXXFLAGS=$(STAGEtrain_CXXFLAGS)" \
|
|
"STAGEtrain_GENERATOR_CFLAGS=$(STAGEtrain_GENERATOR_CFLAGS)" \
|
|
"STAGEtrain_TFLAGS=$(STAGEtrain_TFLAGS)" \
|
|
"STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
|
|
"STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
|
|
"STAGEfeedback_GENERATOR_CFLAGS=$(STAGEfeedback_GENERATOR_CFLAGS)" \
|
|
"STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
|
|
"STAGEautoprofile_CFLAGS=$(STAGEautoprofile_CFLAGS)" \
|
|
"STAGEautoprofile_CXXFLAGS=$(STAGEautoprofile_CXXFLAGS)" \
|
|
"STAGEautoprofile_GENERATOR_CFLAGS=$(STAGEautoprofile_GENERATOR_CFLAGS)" \
|
|
"STAGEautoprofile_TFLAGS=$(STAGEautoprofile_TFLAGS)" \
|
|
"STAGEautofeedback_CFLAGS=$(STAGEautofeedback_CFLAGS)" \
|
|
"STAGEautofeedback_CXXFLAGS=$(STAGEautofeedback_CXXFLAGS)" \
|
|
"STAGEautofeedback_GENERATOR_CFLAGS=$(STAGEautofeedback_GENERATOR_CFLAGS)" \
|
|
"STAGEautofeedback_TFLAGS=$(STAGEautofeedback_TFLAGS)" \
|
|
$(CXX_FOR_TARGET_FLAG_TO_PASS) \
|
|
"TFLAGS=$(TFLAGS)" \
|
|
"CONFIG_SHELL=$(SHELL)" \
|
|
"MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
|
|
$(if $(LSAN_OPTIONS),"LSAN_OPTIONS=$(LSAN_OPTIONS)")
|
|
|
|
# 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)' \
|
|
'DSYMUTIL=$(DSYMUTIL)' \
|
|
'GFORTRAN=$(GFORTRAN)' \
|
|
'GOC=$(GOC)' \
|
|
'GDC=$(GDC)' \
|
|
'LD=$(LD)' \
|
|
'LIPO=$(LIPO)' \
|
|
'NM=$(NM)' \
|
|
'OBJDUMP=$(OBJDUMP)' \
|
|
'OTOOL=$(OTOOL)' \
|
|
'RANLIB=$(RANLIB)' \
|
|
'READELF=$(READELF)' \
|
|
'STRIP=$(STRIP)' \
|
|
'WINDRES=$(WINDRES)' \
|
|
'WINDMC=$(WINDMC)' \
|
|
'CREATE_GCOV=$(CREATE_GCOV)'
|
|
|
|
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}" \
|
|
GDC="$${GDC}" GDC_FOR_BUILD="$${GDC_FOR_BUILD}" \
|
|
GNATBIND="$${GNATBIND}" \
|
|
LDFLAGS="$${LDFLAGS}" \
|
|
HOST_LIBS="$${HOST_LIBS}" \
|
|
$(LTO_FLAGS_TO_PASS) \
|
|
"`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
|
|
|
|
@if gcc-bootstrap
|
|
EXTRA_HOST_EXPORTS = if [ $(current_stage) != stage1 ]; then \
|
|
$(POSTSTAGE1_HOST_EXPORTS) \
|
|
fi;
|
|
|
|
EXTRA_BOOTSTRAP_FLAGS = CC="$$CC" CXX="$$CXX" LDFLAGS="$$LDFLAGS"
|
|
@endif gcc-bootstrap
|
|
|
|
# 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) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
|
|
-B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
|
|
$$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
|
|
'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
|
|
'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
|
|
'DSYMUTIL=$$(DSYMUTIL_FOR_TARGET)' \
|
|
'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
|
|
'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
|
|
'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
|
|
'GDC=$$(GDC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
|
|
'GDCFLAGS=$$(GDCFLAGS_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)' \
|
|
'OBJCOPY=$$(OBJCOPY_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)' \
|
|
'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
|
|
'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
|
|
"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-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-libcody \
|
|
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-gnulib \
|
|
maybe-configure-gdbsupport \
|
|
maybe-configure-gdbserver \
|
|
maybe-configure-gdb \
|
|
maybe-configure-expect \
|
|
maybe-configure-guile \
|
|
maybe-configure-tk \
|
|
maybe-configure-libtermcap \
|
|
maybe-configure-utils \
|
|
maybe-configure-c++tools \
|
|
maybe-configure-gnattools \
|
|
maybe-configure-lto-plugin \
|
|
maybe-configure-libcc1 \
|
|
maybe-configure-gotools \
|
|
maybe-configure-libctf
|
|
.PHONY: configure-target
|
|
configure-target: \
|
|
maybe-configure-target-libstdc++-v3 \
|
|
maybe-configure-target-libsanitizer \
|
|
maybe-configure-target-libvtv \
|
|
maybe-configure-target-liboffloadmic \
|
|
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-libphobos \
|
|
maybe-configure-target-libtermcap \
|
|
maybe-configure-target-winsup \
|
|
maybe-configure-target-libgloss \
|
|
maybe-configure-target-libffi \
|
|
maybe-configure-target-zlib \
|
|
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
|
|
|
|
# --enable-pgo-build enables the PGO build.
|
|
# 1. First build with -fprofile-generate.
|
|
# 2. Use "make maybe-check-*" to generate profiling data.
|
|
# 3. Use "make clean" to remove the previous build.
|
|
# 4. Rebuild with -fprofile-use.
|
|
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) \
|
|
$(PGO_BUILD_GEN_FLAGS_TO_PASS) all-host all-target \
|
|
@if pgo-build
|
|
&& $(MAKE) $(RECURSE_FLAGS_TO_PASS) \
|
|
$(PGO_BUILD_TRAINING_MFLAGS) \
|
|
$(PGO_BUILD_TRAINING_FLAGS_TO_PASS) \
|
|
$(PGO_BUILD_TRAINING) \
|
|
&& $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean \
|
|
&& $(MAKE) $(RECURSE_FLAGS_TO_PASS) \
|
|
$(PGO_BUILD_USE_FLAGS_TO_PASS) all-host all-target \
|
|
@endif pgo-build
|
|
@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
|
|
all-build: maybe-all-build-libcpp
|
|
|
|
.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 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 libcody-no-bootstrap
|
|
all-host: maybe-all-libcody
|
|
@endif libcody-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
|
|
@if libiconv-no-bootstrap
|
|
all-host: maybe-all-libiconv
|
|
@endif libiconv-no-bootstrap
|
|
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-gnulib
|
|
all-host: maybe-all-gdbsupport
|
|
all-host: maybe-all-gdbserver
|
|
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-c++tools
|
|
all-host: maybe-all-gnattools
|
|
@if lto-plugin-no-bootstrap
|
|
all-host: maybe-all-lto-plugin
|
|
@endif lto-plugin-no-bootstrap
|
|
all-host: maybe-all-libcc1
|
|
all-host: maybe-all-gotools
|
|
@if libctf-no-bootstrap
|
|
all-host: maybe-all-libctf
|
|
@endif libctf-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-liboffloadmic
|
|
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
|
|
@if target-libbacktrace-no-bootstrap
|
|
all-target: maybe-all-target-libbacktrace
|
|
@endif target-libbacktrace-no-bootstrap
|
|
all-target: maybe-all-target-libquadmath
|
|
all-target: maybe-all-target-libgfortran
|
|
all-target: maybe-all-target-libobjc
|
|
all-target: maybe-all-target-libgo
|
|
@if target-libphobos-no-bootstrap
|
|
all-target: maybe-all-target-libphobos
|
|
@endif target-libphobos-no-bootstrap
|
|
all-target: maybe-all-target-libtermcap
|
|
all-target: maybe-all-target-winsup
|
|
all-target: maybe-all-target-libgloss
|
|
all-target: maybe-all-target-libffi
|
|
@if target-zlib-no-bootstrap
|
|
all-target: maybe-all-target-zlib
|
|
@endif target-zlib-no-bootstrap
|
|
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
|
|
@if target-libatomic-no-bootstrap
|
|
all-target: maybe-all-target-libatomic
|
|
@endif target-libatomic-no-bootstrap
|
|
|
|
# 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-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-libcody
|
|
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-gnulib
|
|
info-host: maybe-info-gdbsupport
|
|
info-host: maybe-info-gdbserver
|
|
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-c++tools
|
|
info-host: maybe-info-gnattools
|
|
info-host: maybe-info-lto-plugin
|
|
info-host: maybe-info-libcc1
|
|
info-host: maybe-info-gotools
|
|
info-host: maybe-info-libctf
|
|
|
|
.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-liboffloadmic
|
|
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-libphobos
|
|
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-zlib
|
|
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-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-libcody
|
|
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-gnulib
|
|
dvi-host: maybe-dvi-gdbsupport
|
|
dvi-host: maybe-dvi-gdbserver
|
|
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-c++tools
|
|
dvi-host: maybe-dvi-gnattools
|
|
dvi-host: maybe-dvi-lto-plugin
|
|
dvi-host: maybe-dvi-libcc1
|
|
dvi-host: maybe-dvi-gotools
|
|
dvi-host: maybe-dvi-libctf
|
|
|
|
.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-liboffloadmic
|
|
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-libphobos
|
|
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-zlib
|
|
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-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-libcody
|
|
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-gnulib
|
|
pdf-host: maybe-pdf-gdbsupport
|
|
pdf-host: maybe-pdf-gdbserver
|
|
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-c++tools
|
|
pdf-host: maybe-pdf-gnattools
|
|
pdf-host: maybe-pdf-lto-plugin
|
|
pdf-host: maybe-pdf-libcc1
|
|
pdf-host: maybe-pdf-gotools
|
|
pdf-host: maybe-pdf-libctf
|
|
|
|
.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-liboffloadmic
|
|
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-libphobos
|
|
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-zlib
|
|
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-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-libcody
|
|
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-gnulib
|
|
html-host: maybe-html-gdbsupport
|
|
html-host: maybe-html-gdbserver
|
|
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-c++tools
|
|
html-host: maybe-html-gnattools
|
|
html-host: maybe-html-lto-plugin
|
|
html-host: maybe-html-libcc1
|
|
html-host: maybe-html-gotools
|
|
html-host: maybe-html-libctf
|
|
|
|
.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-liboffloadmic
|
|
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-libphobos
|
|
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-zlib
|
|
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-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-libcody
|
|
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-gnulib
|
|
TAGS-host: maybe-TAGS-gdbsupport
|
|
TAGS-host: maybe-TAGS-gdbserver
|
|
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-c++tools
|
|
TAGS-host: maybe-TAGS-gnattools
|
|
TAGS-host: maybe-TAGS-lto-plugin
|
|
TAGS-host: maybe-TAGS-libcc1
|
|
TAGS-host: maybe-TAGS-gotools
|
|
TAGS-host: maybe-TAGS-libctf
|
|
|
|
.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-liboffloadmic
|
|
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-libphobos
|
|
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-zlib
|
|
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-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-libcody
|
|
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-gnulib
|
|
install-info-host: maybe-install-info-gdbsupport
|
|
install-info-host: maybe-install-info-gdbserver
|
|
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-c++tools
|
|
install-info-host: maybe-install-info-gnattools
|
|
install-info-host: maybe-install-info-lto-plugin
|
|
install-info-host: maybe-install-info-libcc1
|
|
install-info-host: maybe-install-info-gotools
|
|
install-info-host: maybe-install-info-libctf
|
|
|
|
.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-liboffloadmic
|
|
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-libphobos
|
|
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-zlib
|
|
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-dvi
|
|
do-install-dvi:
|
|
@: $(MAKE); $(unstage)
|
|
@r=`${PWD_COMMAND}`; export r; \
|
|
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
|
$(MAKE) $(RECURSE_FLAGS_TO_PASS) install-dvi-host \
|
|
install-dvi-target
|
|
|
|
|
|
.PHONY: install-dvi-host
|
|
|
|
install-dvi-host: maybe-install-dvi-bfd
|
|
install-dvi-host: maybe-install-dvi-opcodes
|
|
install-dvi-host: maybe-install-dvi-binutils
|
|
install-dvi-host: maybe-install-dvi-bison
|
|
install-dvi-host: maybe-install-dvi-cgen
|
|
install-dvi-host: maybe-install-dvi-dejagnu
|
|
install-dvi-host: maybe-install-dvi-etc
|
|
install-dvi-host: maybe-install-dvi-fastjar
|
|
install-dvi-host: maybe-install-dvi-fixincludes
|
|
install-dvi-host: maybe-install-dvi-flex
|
|
install-dvi-host: maybe-install-dvi-gas
|
|
install-dvi-host: maybe-install-dvi-gcc
|
|
install-dvi-host: maybe-install-dvi-gmp
|
|
install-dvi-host: maybe-install-dvi-mpfr
|
|
install-dvi-host: maybe-install-dvi-mpc
|
|
install-dvi-host: maybe-install-dvi-isl
|
|
install-dvi-host: maybe-install-dvi-libelf
|
|
install-dvi-host: maybe-install-dvi-gold
|
|
install-dvi-host: maybe-install-dvi-gprof
|
|
install-dvi-host: maybe-install-dvi-intl
|
|
install-dvi-host: maybe-install-dvi-tcl
|
|
install-dvi-host: maybe-install-dvi-itcl
|
|
install-dvi-host: maybe-install-dvi-ld
|
|
install-dvi-host: maybe-install-dvi-libbacktrace
|
|
install-dvi-host: maybe-install-dvi-libcpp
|
|
install-dvi-host: maybe-install-dvi-libcody
|
|
install-dvi-host: maybe-install-dvi-libdecnumber
|
|
install-dvi-host: maybe-install-dvi-libgui
|
|
install-dvi-host: maybe-install-dvi-libiberty
|
|
install-dvi-host: maybe-install-dvi-libiberty-linker-plugin
|
|
install-dvi-host: maybe-install-dvi-libiconv
|
|
install-dvi-host: maybe-install-dvi-m4
|
|
install-dvi-host: maybe-install-dvi-readline
|
|
install-dvi-host: maybe-install-dvi-sid
|
|
install-dvi-host: maybe-install-dvi-sim
|
|
install-dvi-host: maybe-install-dvi-texinfo
|
|
install-dvi-host: maybe-install-dvi-zlib
|
|
install-dvi-host: maybe-install-dvi-gnulib
|
|
install-dvi-host: maybe-install-dvi-gdbsupport
|
|
install-dvi-host: maybe-install-dvi-gdbserver
|
|
install-dvi-host: maybe-install-dvi-gdb
|
|
install-dvi-host: maybe-install-dvi-expect
|
|
install-dvi-host: maybe-install-dvi-guile
|
|
install-dvi-host: maybe-install-dvi-tk
|
|
install-dvi-host: maybe-install-dvi-libtermcap
|
|
install-dvi-host: maybe-install-dvi-utils
|
|
install-dvi-host: maybe-install-dvi-c++tools
|
|
install-dvi-host: maybe-install-dvi-gnattools
|
|
install-dvi-host: maybe-install-dvi-lto-plugin
|
|
install-dvi-host: maybe-install-dvi-libcc1
|
|
install-dvi-host: maybe-install-dvi-gotools
|
|
install-dvi-host: maybe-install-dvi-libctf
|
|
|
|
.PHONY: install-dvi-target
|
|
|
|
install-dvi-target: maybe-install-dvi-target-libstdc++-v3
|
|
install-dvi-target: maybe-install-dvi-target-libsanitizer
|
|
install-dvi-target: maybe-install-dvi-target-libvtv
|
|
install-dvi-target: maybe-install-dvi-target-liboffloadmic
|
|
install-dvi-target: maybe-install-dvi-target-libssp
|
|
install-dvi-target: maybe-install-dvi-target-newlib
|
|
install-dvi-target: maybe-install-dvi-target-libgcc
|
|
install-dvi-target: maybe-install-dvi-target-libbacktrace
|
|
install-dvi-target: maybe-install-dvi-target-libquadmath
|
|
install-dvi-target: maybe-install-dvi-target-libgfortran
|
|
install-dvi-target: maybe-install-dvi-target-libobjc
|
|
install-dvi-target: maybe-install-dvi-target-libgo
|
|
install-dvi-target: maybe-install-dvi-target-libphobos
|
|
install-dvi-target: maybe-install-dvi-target-libtermcap
|
|
install-dvi-target: maybe-install-dvi-target-winsup
|
|
install-dvi-target: maybe-install-dvi-target-libgloss
|
|
install-dvi-target: maybe-install-dvi-target-libffi
|
|
install-dvi-target: maybe-install-dvi-target-zlib
|
|
install-dvi-target: maybe-install-dvi-target-rda
|
|
install-dvi-target: maybe-install-dvi-target-libada
|
|
install-dvi-target: maybe-install-dvi-target-libgomp
|
|
install-dvi-target: maybe-install-dvi-target-libitm
|
|
install-dvi-target: maybe-install-dvi-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-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-libcody
|
|
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-gnulib
|
|
install-pdf-host: maybe-install-pdf-gdbsupport
|
|
install-pdf-host: maybe-install-pdf-gdbserver
|
|
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-c++tools
|
|
install-pdf-host: maybe-install-pdf-gnattools
|
|
install-pdf-host: maybe-install-pdf-lto-plugin
|
|
install-pdf-host: maybe-install-pdf-libcc1
|
|
install-pdf-host: maybe-install-pdf-gotools
|
|
install-pdf-host: maybe-install-pdf-libctf
|
|
|
|
.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-liboffloadmic
|
|
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-libphobos
|
|
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-zlib
|
|
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-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-libcody
|
|
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-gnulib
|
|
install-html-host: maybe-install-html-gdbsupport
|
|
install-html-host: maybe-install-html-gdbserver
|
|
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-c++tools
|
|
install-html-host: maybe-install-html-gnattools
|
|
install-html-host: maybe-install-html-lto-plugin
|
|
install-html-host: maybe-install-html-libcc1
|
|
install-html-host: maybe-install-html-gotools
|
|
install-html-host: maybe-install-html-libctf
|
|
|
|
.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-liboffloadmic
|
|
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-libphobos
|
|
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-zlib
|
|
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-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-libcody
|
|
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-gnulib
|
|
installcheck-host: maybe-installcheck-gdbsupport
|
|
installcheck-host: maybe-installcheck-gdbserver
|
|
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-c++tools
|
|
installcheck-host: maybe-installcheck-gnattools
|
|
installcheck-host: maybe-installcheck-lto-plugin
|
|
installcheck-host: maybe-installcheck-libcc1
|
|
installcheck-host: maybe-installcheck-gotools
|
|
installcheck-host: maybe-installcheck-libctf
|
|
|
|
.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-liboffloadmic
|
|
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-libphobos
|
|
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-zlib
|
|
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-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-libcody
|
|
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-gnulib
|
|
mostlyclean-host: maybe-mostlyclean-gdbsupport
|
|
mostlyclean-host: maybe-mostlyclean-gdbserver
|
|
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-c++tools
|
|
mostlyclean-host: maybe-mostlyclean-gnattools
|
|
mostlyclean-host: maybe-mostlyclean-lto-plugin
|
|
mostlyclean-host: maybe-mostlyclean-libcc1
|
|
mostlyclean-host: maybe-mostlyclean-gotools
|
|
mostlyclean-host: maybe-mostlyclean-libctf
|
|
|
|
.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-liboffloadmic
|
|
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-libphobos
|
|
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-zlib
|
|
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-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-libcody
|
|
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-gnulib
|
|
clean-host: maybe-clean-gdbsupport
|
|
clean-host: maybe-clean-gdbserver
|
|
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-c++tools
|
|
clean-host: maybe-clean-gnattools
|
|
clean-host: maybe-clean-lto-plugin
|
|
clean-host: maybe-clean-libcc1
|
|
clean-host: maybe-clean-gotools
|
|
clean-host: maybe-clean-libctf
|
|
|
|
.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-liboffloadmic
|
|
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-libphobos
|
|
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-zlib
|
|
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-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-libcody
|
|
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-gnulib
|
|
distclean-host: maybe-distclean-gdbsupport
|
|
distclean-host: maybe-distclean-gdbserver
|
|
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-c++tools
|
|
distclean-host: maybe-distclean-gnattools
|
|
distclean-host: maybe-distclean-lto-plugin
|
|
distclean-host: maybe-distclean-libcc1
|
|
distclean-host: maybe-distclean-gotools
|
|
distclean-host: maybe-distclean-libctf
|
|
|
|
.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-liboffloadmic
|
|
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-libphobos
|
|
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-zlib
|
|
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-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-libcody
|
|
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-gnulib
|
|
maintainer-clean-host: maybe-maintainer-clean-gdbsupport
|
|
maintainer-clean-host: maybe-maintainer-clean-gdbserver
|
|
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-c++tools
|
|
maintainer-clean-host: maybe-maintainer-clean-gnattools
|
|
maintainer-clean-host: maybe-maintainer-clean-lto-plugin
|
|
maintainer-clean-host: maybe-maintainer-clean-libcc1
|
|
maintainer-clean-host: maybe-maintainer-clean-gotools
|
|
maintainer-clean-host: maybe-maintainer-clean-libctf
|
|
|
|
.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-liboffloadmic
|
|
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-libphobos
|
|
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-zlib
|
|
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-dvi 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-dvi: do-install-dvi
|
|
|
|
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 stage_final
|
|
-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 c++tools fastjar gcc gnattools gotools 2>/dev/null
|
|
-rmdir libcc1 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-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-libcody \
|
|
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-gnulib \
|
|
maybe-check-gdbsupport \
|
|
maybe-check-gdbserver \
|
|
maybe-check-gdb \
|
|
maybe-check-expect \
|
|
maybe-check-guile \
|
|
maybe-check-tk \
|
|
maybe-check-libtermcap \
|
|
maybe-check-utils \
|
|
maybe-check-c++tools \
|
|
maybe-check-gnattools \
|
|
maybe-check-lto-plugin \
|
|
maybe-check-libcc1 \
|
|
maybe-check-gotools \
|
|
maybe-check-libctf
|
|
|
|
.PHONY: check-target
|
|
check-target: \
|
|
maybe-check-target-libstdc++-v3 \
|
|
maybe-check-target-libsanitizer \
|
|
maybe-check-target-libvtv \
|
|
maybe-check-target-liboffloadmic \
|
|
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-libphobos \
|
|
maybe-check-target-libtermcap \
|
|
maybe-check-target-winsup \
|
|
maybe-check-target-libgloss \
|
|
maybe-check-target-libffi \
|
|
maybe-check-target-zlib \
|
|
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
|
|
|
|
# Local Vim config
|
|
|
|
$(srcdir)/.local.vimrc:
|
|
$(LN_S) contrib/vimrc $@
|
|
|
|
$(srcdir)/.lvimrc:
|
|
$(LN_S) contrib/vimrc $@
|
|
|
|
vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
|
|
|
|
.PHONY: vimrc
|
|
|
|
# clang-format config
|
|
|
|
$(srcdir)/.clang-format:
|
|
$(LN_S) contrib/clang-format $@
|
|
|
|
clang-format: $(srcdir)/.clang-format
|
|
|
|
.PHONY: clang-format
|
|
|
|
# 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-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-libcody \
|
|
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-gnulib \
|
|
maybe-install-gdbsupport \
|
|
maybe-install-gdbserver \
|
|
maybe-install-gdb \
|
|
maybe-install-expect \
|
|
maybe-install-guile \
|
|
maybe-install-tk \
|
|
maybe-install-libtermcap \
|
|
maybe-install-utils \
|
|
maybe-install-c++tools \
|
|
maybe-install-gnattools \
|
|
maybe-install-lto-plugin \
|
|
maybe-install-libcc1 \
|
|
maybe-install-gotools \
|
|
maybe-install-libctf
|
|
|
|
.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-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-libcody \
|
|
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-gnulib \
|
|
maybe-install-gdbsupport \
|
|
maybe-install-gdbserver \
|
|
maybe-install-gdb \
|
|
maybe-install-expect \
|
|
maybe-install-guile \
|
|
maybe-install-tk \
|
|
maybe-install-libtermcap \
|
|
maybe-install-utils \
|
|
maybe-install-c++tools \
|
|
maybe-install-gnattools \
|
|
maybe-install-lto-plugin \
|
|
maybe-install-libcc1 \
|
|
maybe-install-gotools \
|
|
maybe-install-libctf
|
|
|
|
.PHONY: install-target
|
|
install-target: \
|
|
maybe-install-target-libstdc++-v3 \
|
|
maybe-install-target-libsanitizer \
|
|
maybe-install-target-libvtv \
|
|
maybe-install-target-liboffloadmic \
|
|
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-libphobos \
|
|
maybe-install-target-libtermcap \
|
|
maybe-install-target-winsup \
|
|
maybe-install-target-libgloss \
|
|
maybe-install-target-libffi \
|
|
maybe-install-target-zlib \
|
|
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-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-libcody \
|
|
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-gnulib \
|
|
maybe-install-strip-gdbsupport \
|
|
maybe-install-strip-gdbserver \
|
|
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-c++tools \
|
|
maybe-install-strip-gnattools \
|
|
maybe-install-strip-lto-plugin \
|
|
maybe-install-strip-libcc1 \
|
|
maybe-install-strip-gotools \
|
|
maybe-install-strip-libctf
|
|
|
|
.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-liboffloadmic \
|
|
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-libphobos \
|
|
maybe-install-strip-target-libtermcap \
|
|
maybe-install-strip-target-winsup \
|
|
maybe-install-strip-target-libgloss \
|
|
maybe-install-strip-target-libffi \
|
|
maybe-install-strip-target-zlib \
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: configure-build-libcpp maybe-configure-build-libcpp
|
|
maybe-configure-build-libcpp:
|
|
@if gcc-bootstrap
|
|
configure-build-libcpp: stage_current
|
|
@endif gcc-bootstrap
|
|
@if build-libcpp
|
|
maybe-configure-build-libcpp: configure-build-libcpp
|
|
configure-build-libcpp:
|
|
@: $(MAKE); $(unstage)
|
|
@r=`${PWD_COMMAND}`; export r; \
|
|
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
|
test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
|
|
$(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp; \
|
|
$(BUILD_EXPORTS) \
|
|
echo Configuring in $(BUILD_SUBDIR)/libcpp; \
|
|
cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
|
|
case $(srcdir) in \
|
|
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
|
|
*) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
|
|
sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
|
|
esac; \
|
|
module_srcdir=libcpp; \
|
|
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} --disable-nls am_cv_func_iconv=no \
|
|
|| exit 1
|
|
@endif build-libcpp
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: all-build-libcpp maybe-all-build-libcpp
|
|
maybe-all-build-libcpp:
|
|
@if gcc-bootstrap
|
|
all-build-libcpp: stage_current
|
|
@endif gcc-bootstrap
|
|
@if build-libcpp
|
|
TARGET-build-libcpp=all
|
|
maybe-all-build-libcpp: all-build-libcpp
|
|
all-build-libcpp: configure-build-libcpp
|
|
@: $(MAKE); $(unstage)
|
|
@r=`${PWD_COMMAND}`; export r; \
|
|
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
|
$(BUILD_EXPORTS) \
|
|
(cd $(BUILD_SUBDIR)/libcpp && \
|
|
$(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
|
|
$(TARGET-build-libcpp))
|
|
@endif build-libcpp
|
|
|
|
|
|
|
|
|
|
|
|
# --------------------------------------
|
|
# 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-stagetrain-bfd maybe-configure-stagetrain-bfd
|
|
maybe-configure-stagetrain-bfd:
|
|
@if bfd-bootstrap
|
|
maybe-configure-stagetrain-bfd: configure-stagetrain-bfd
|
|
configure-stagetrain-bfd:
|
|
@[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
|
|
@$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
|
|
@r=`${PWD_COMMAND}`; export r; \
|
|
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
|
TFLAGS="$(STAGEtrain_TFLAGS)"; \
|
|
test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
|
|
$(HOST_EXPORTS) \
|
|
$(POSTSTAGE1_HOST_EXPORTS) \
|
|
CFLAGS="$(STAGEtrain_CFLAGS)"; export CFLAGS; \
|
|
CXXFLAGS="$(STAGEtrain_CXXFLAGS)"; export CXXFLAGS; \
|
|
LIBCFLAGS="$(STAGEtrain_CFLAGS)"; export LIBCFLAGS; \
|
|
echo Configuring stage train 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) \
|
|
$(STAGEtrain_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: configure-stageautoprofile-bfd maybe-configure-stageautoprofile-bfd
|
|
maybe-configure-stageautoprofile-bfd:
|
|
@if bfd-bootstrap
|
|
maybe-configure-stageautoprofile-bfd: configure-stageautoprofile-bfd
|
|
configure-stageautoprofile-bfd:
|
|
@[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
|
|
@$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
|
|
@r=`${PWD_COMMAND}`; export r; \
|
|
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
|
TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
|
|
test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
|
|
$(HOST_EXPORTS) \
|
|
$(POSTSTAGE1_HOST_EXPORTS) \
|
|
CFLAGS="$(STAGEautoprofile_CFLAGS)"; export CFLAGS; \
|
|
CXXFLAGS="$(STAGEautoprofile_CXXFLAGS)"; export CXXFLAGS; \
|
|
LIBCFLAGS="$(STAGEautoprofile_CFLAGS)"; export LIBCFLAGS; \
|
|
echo Configuring stage autoprofile 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) \
|
|
$(STAGEautoprofile_CONFIGURE_FLAGS)
|
|
@endif bfd-bootstrap
|
|
|
|
.PHONY: configure-stageautofeedback-bfd maybe-configure-stageautofeedback-bfd
|
|
maybe-configure-stageautofeedback-bfd:
|
|
@if bfd-bootstrap
|
|
maybe-configure-stageautofeedback-bfd: configure-stageautofeedback-bfd
|
|
configure-stageautofeedback-bfd:
|
|
@[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
|
|
@$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
|
|
@r=`${PWD_COMMAND}`; export r; \
|
|
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
|
TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
|
|
test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
|
|
$(HOST_EXPORTS) \
|
|
$(POSTSTAGE1_HOST_EXPORTS) \
|
|
CFLAGS="$(STAGEautofeedback_CFLAGS)"; export CFLAGS; \
|
|
CXXFLAGS="$(STAGEautofeedback_CXXFLAGS)"; export CXXFLAGS; \
|
|
LIBCFLAGS="$(STAGEautofeedback_CFLAGS)"; export LIBCFLAGS; \
|
|
echo Configuring stage autofeedback 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) \
|
|
$(STAGEautofeedback_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)" \
|
|
GENERATOR_CFLAGS="$(STAGE1_GENERATOR_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)" \
|
|
GENERATOR_CFLAGS="$(STAGE2_GENERATOR_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
|
|
|
|
|
|