1 2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'. 3 # 4 # Makefile for directory with subdirs to build. 5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 6 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 7 # Free Software Foundation 8 # 9 # This file is free software; you can redistribute it and/or modify 10 # it under the terms of the GNU General Public License as published by 11 # the Free Software Foundation; either version 3 of the License, or 12 # (at your option) any later version. 13 # 14 # This program is distributed in the hope that it will be useful, 15 # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 # GNU General Public License for more details. 18 # 19 # You should have received a copy of the GNU General Public License 20 # along with this program; see the file COPYING3. If not see 21 # <http://www.gnu.org/licenses/>. 22 # 23 24 # First, test for a proper version of make, but only where one is required. 25 26 @if gcc 27 ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty. 28 $(error GNU make version 3.80 or newer is required.) 29 endif 30 @endif gcc 31 32 # ------------------------------- 33 # Standard Autoconf-set variables 34 # ------------------------------- 35 VPATH=@srcdir@ 36 37 build_alias=@build_noncanonical@ 38 build_vendor=@build_vendor@ 39 build_os=@build_os@ 40 build=@build@ 41 host_alias=@host_noncanonical@ 42 host_vendor=@host_vendor@ 43 host_os=@host_os@ 44 host=@host@ 45 target_alias=@target_noncanonical@ 46 target_vendor=@target_vendor@ 47 target_os=@target_os@ 48 target=@target@ 49 50 program_transform_name = @program_transform_name@ 51 52 prefix = @prefix@ 53 exec_prefix = @exec_prefix@ 54 55 srcdir = @srcdir@ 56 57 bindir = @bindir@ 58 sbindir = @sbindir@ 59 libexecdir = @libexecdir@ 60 datadir = @datadir@ 61 sysconfdir = @sysconfdir@ 62 sharedstatedir = @sharedstatedir@ 63 localstatedir = @localstatedir@ 64 libdir = @libdir@ 65 includedir = @includedir@ 66 oldincludedir = @oldincludedir@ 67 infodir = @infodir@ 68 datarootdir = @datarootdir@ 69 docdir = @docdir@ 70 pdfdir = @pdfdir@ 71 htmldir = @htmldir@ 72 mandir = @mandir@ 73 man1dir = $(mandir)/man1 74 man2dir = $(mandir)/man2 75 man3dir = $(mandir)/man3 76 man4dir = $(mandir)/man4 77 man5dir = $(mandir)/man5 78 man6dir = $(mandir)/man6 79 man7dir = $(mandir)/man7 80 man8dir = $(mandir)/man8 81 man9dir = $(mandir)/man9 82 83 INSTALL = @INSTALL@ 84 INSTALL_PROGRAM = @INSTALL_PROGRAM@ 85 INSTALL_SCRIPT = @INSTALL_SCRIPT@ 86 INSTALL_DATA = @INSTALL_DATA@ 87 LN = @LN@ 88 LN_S = @LN_S@ 89 MAINT = @MAINT@ 90 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ 91 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ 92 93 # ------------------------------------------------- 94 # Miscellaneous non-standard autoconf-set variables 95 # ------------------------------------------------- 96 97 # The gcc driver likes to know the arguments it was configured with. 98 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@ 99 100 tooldir = @tooldir@ 101 build_tooldir = @build_tooldir@ 102 103 # This is the name of the environment variable used for the path to 104 # the libraries. 105 RPATH_ENVVAR = @RPATH_ENVVAR@ 106 107 # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path 108 # is used instead of the directory itself to avoid including built 109 # executables in PATH. 110 GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@ 111 112 # Build programs are put under this directory. 113 BUILD_SUBDIR = @build_subdir@ 114 # This is set by the configure script to the arguments to use when configuring 115 # directories built for the build system. 116 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)" 117 118 # Linker flags to use on the host, for stage1 or when not 119 # bootstrapping. 120 STAGE1_LDFLAGS = @stage1_ldflags@ 121 122 # Libraries to use on the host, for stage1 or when not bootstrapping. 123 STAGE1_LIBS = @stage1_libs@ 124 125 # Linker flags to use for stage2 and later. 126 POSTSTAGE1_LDFLAGS = @poststage1_ldflags@ 127 128 # Libraries to use for stage2 and later. 129 POSTSTAGE1_LIBS = @poststage1_libs@ 130 131 # This is the list of variables to export in the environment when 132 # configuring any subdirectory. It must also be exported whenever 133 # recursing into a build directory in case that directory's Makefile 134 # re-runs configure. 135 BASE_EXPORTS = \ 136 FLEX="$(FLEX)"; export FLEX; \ 137 LEX="$(LEX)"; export LEX; \ 138 BISON="$(BISON)"; export BISON; \ 139 YACC="$(YACC)"; export YACC; \ 140 M4="$(M4)"; export M4; \ 141 SED="$(SED)"; export SED; \ 142 AWK="$(AWK)"; export AWK; \ 143 MAKEINFO="$(MAKEINFO)"; export MAKEINFO; 144 145 # This is the list of variables to export in the environment when 146 # configuring subdirectories for the build system. 147 BUILD_EXPORTS = \ 148 $(BASE_EXPORTS) \ 149 AR="$(AR_FOR_BUILD)"; export AR; \ 150 AS="$(AS_FOR_BUILD)"; export AS; \ 151 CC="$(CC_FOR_BUILD)"; export CC; \ 152 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \ 153 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ 154 CXX="$(CXX_FOR_BUILD)"; export CXX; \ 155 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \ 156 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \ 157 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \ 158 GOC="$(GOC_FOR_BUILD)"; export GOC; \ 159 GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \ 160 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \ 161 LD="$(LD_FOR_BUILD)"; export LD; \ 162 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \ 163 NM="$(NM_FOR_BUILD)"; export NM; \ 164 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \ 165 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \ 166 WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC; 167 168 # These variables must be set on the make command line for directories 169 # built for the build system to override those in BASE_FLAGS_TO_PASS. 170 EXTRA_BUILD_FLAGS = \ 171 CFLAGS="$(CFLAGS_FOR_BUILD)" \ 172 LDFLAGS="$(LDFLAGS_FOR_BUILD)" 173 174 # This is the list of directories to built for the host system. 175 SUBDIRS = @configdirs@ 176 TARGET_CONFIGDIRS = @target_configdirs@ 177 # This is set by the configure script to the arguments to use when configuring 178 # directories built for the host system. 179 HOST_CONFIGARGS = @host_configargs@ 180 # Host programs are put under this directory, which is . except if building 181 # with srcdir=.. 182 HOST_SUBDIR = @host_subdir@ 183 # This is the list of variables to export in the environment when 184 # configuring subdirectories for the host system. We need to pass 185 # some to the GCC configure because of its hybrid host/target nature. 186 HOST_EXPORTS = \ 187 $(BASE_EXPORTS) \ 188 CC="$(CC)"; export CC; \ 189 ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \ 190 CFLAGS="$(CFLAGS)"; export CFLAGS; \ 191 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ 192 CXX="$(CXX)"; export CXX; \ 193 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ 194 GCJ="$(GCJ)"; export GCJ; \ 195 GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \ 196 GOC="$(GOC)"; export GOC; \ 197 AR="$(AR)"; export AR; \ 198 AS="$(AS)"; export AS; \ 199 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ 200 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ 201 LD="$(LD)"; export LD; \ 202 LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \ 203 NM="$(NM)"; export NM; \ 204 RANLIB="$(RANLIB)"; export RANLIB; \ 205 WINDRES="$(WINDRES)"; export WINDRES; \ 206 WINDMC="$(WINDMC)"; export WINDMC; \ 207 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ 208 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ 209 READELF="$(READELF)"; export READELF; \ 210 AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \ 211 AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \ 212 GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \ 213 LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \ 214 NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \ 215 OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \ 216 RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \ 217 READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \ 218 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \ 219 HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \ 220 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \ 221 GMPINC="$(HOST_GMPINC)"; export GMPINC; \ 222 ISLINC="$(HOST_ISLINC)"; export ISLINC; \ 223 CLOOGLIBS="$(HOST_CLOOGLIBS)"; export CLOOGLIBS; \ 224 CLOOGINC="$(HOST_CLOOGINC)"; export CLOOGINC; \ 225 LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \ 226 LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \ 227 @if gcc-bootstrap 228 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ 229 @endif gcc-bootstrap 230 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); 231 232 POSTSTAGE1_CXX_EXPORT = \ 233 CXX='$(CXX)'; export CXX; \ 234 CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD; 235 @if target-libstdc++-v3-bootstrap 236 # Override the above if we're bootstrapping C++. 237 POSTSTAGE1_CXX_EXPORT = \ 238 CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \ 239 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \ 240 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \ 241 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \ 242 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \ 243 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \ 244 `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \ 245 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \ 246 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \ 247 export CXX; \ 248 CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD; 249 @endif target-libstdc++-v3-bootstrap 250 251 # Similar, for later GCC stages. 252 POSTSTAGE1_HOST_EXPORTS = \ 253 $(HOST_EXPORTS) \ 254 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \ 255 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \ 256 $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \ 257 CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \ 258 $(POSTSTAGE1_CXX_EXPORT) \ 259 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \ 260 LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \ 261 HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS; 262 263 # Target libraries are put under this directory: 264 TARGET_SUBDIR = @target_subdir@ 265 # This is set by the configure script to the arguments to use when configuring 266 # directories built for the target. 267 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)" 268 # This is the list of variables to export in the environment when 269 # configuring subdirectories for the target system. 270 BASE_TARGET_EXPORTS = \ 271 $(BASE_EXPORTS) \ 272 AR="$(AR_FOR_TARGET)"; export AR; \ 273 AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \ 274 CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \ 275 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 276 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ 277 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \ 278 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 279 GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \ 280 GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \ 281 GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \ 282 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \ 283 LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \ 284 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \ 285 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \ 286 NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \ 287 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \ 288 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \ 289 READELF="$(READELF_FOR_TARGET)"; export READELF; \ 290 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \ 291 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \ 292 WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \ 293 @if gcc-bootstrap 294 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ 295 @endif gcc-bootstrap 296 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \ 297 TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS; 298 299 RAW_CXX_TARGET_EXPORTS = \ 300 $(BASE_TARGET_EXPORTS) \ 301 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \ 302 CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX; 303 304 NORMAL_TARGET_EXPORTS = \ 305 $(BASE_TARGET_EXPORTS) \ 306 CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX; 307 308 # Where to find GMP 309 HOST_GMPLIBS = @gmplibs@ 310 HOST_GMPINC = @gmpinc@ 311 312 # Where to find ISL 313 HOST_ISLINC = @islinc@ 314 315 # Where to find CLOOG 316 HOST_CLOOGLIBS = @clooglibs@ 317 HOST_CLOOGINC = @clooginc@ 318 319 # Where to find libelf 320 HOST_LIBELFLIBS = @libelflibs@ 321 HOST_LIBELFINC = @libelfinc@ 322 323 EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@ 324 325 # ---------------------------------------------- 326 # Programs producing files for the BUILD machine 327 # ---------------------------------------------- 328 329 SHELL = @SHELL@ 330 331 # pwd command to use. Allow user to override default by setting PWDCMD in 332 # the environment to account for automounters. The make variable must not 333 # be called PWDCMD, otherwise the value set here is passed to make 334 # subprocesses and overrides the setting from the user's environment. 335 # Don't use PWD since it is a common shell environment variable and we 336 # don't want to corrupt it. 337 PWD_COMMAND = $${PWDCMD-pwd} 338 339 # compilers to use to create programs which must be run in the build 340 # environment. 341 AR_FOR_BUILD = @AR_FOR_BUILD@ 342 AS_FOR_BUILD = @AS_FOR_BUILD@ 343 CC_FOR_BUILD = @CC_FOR_BUILD@ 344 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ 345 CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@ 346 CXX_FOR_BUILD = @CXX_FOR_BUILD@ 347 DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@ 348 GCJ_FOR_BUILD = @GCJ_FOR_BUILD@ 349 GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@ 350 GOC_FOR_BUILD = @GOC_FOR_BUILD@ 351 LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@ 352 LD_FOR_BUILD = @LD_FOR_BUILD@ 353 NM_FOR_BUILD = @NM_FOR_BUILD@ 354 RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@ 355 WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@ 356 WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@ 357 358 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined 359 # here so that they can be overridden by Makefile fragments. 360 BUILD_PREFIX = @BUILD_PREFIX@ 361 BUILD_PREFIX_1 = @BUILD_PREFIX_1@ 362 363 # Flags to pass to stage2 and later makes. They are defined 364 # here so that they can be overridden by Makefile fragments. 365 BOOT_CFLAGS= -g -O2 366 BOOT_LDFLAGS= 367 BOOT_ADAFLAGS= -gnatpg 368 369 AWK = @AWK@ 370 SED = @SED@ 371 BISON = @BISON@ 372 YACC = @YACC@ 373 FLEX = @FLEX@ 374 LEX = @LEX@ 375 M4 = @M4@ 376 MAKEINFO = @MAKEINFO@ 377 EXPECT = @EXPECT@ 378 RUNTEST = @RUNTEST@ 379 380 # This just becomes part of the MAKEINFO definition passed down to 381 # sub-makes. It lets flags be given on the command line while still 382 # using the makeinfo from the object tree. 383 # (Default to avoid splitting info files by setting the threshold high.) 384 MAKEINFOFLAGS = --split-size=5000000 385 386 # --------------------------------------------- 387 # Programs producing files for the HOST machine 388 # --------------------------------------------- 389 390 AS = @AS@ 391 AR = @AR@ 392 AR_FLAGS = rc 393 CC = @CC@ 394 CXX = @CXX@ 395 DLLTOOL = @DLLTOOL@ 396 LD = @LD@ 397 LIPO = @LIPO@ 398 NM = @NM@ 399 OBJDUMP = @OBJDUMP@ 400 RANLIB = @RANLIB@ 401 READELF = @READELF@ 402 STRIP = @STRIP@ 403 WINDRES = @WINDRES@ 404 WINDMC = @WINDMC@ 405 406 GNATBIND = @GNATBIND@ 407 GNATMAKE = @GNATMAKE@ 408 409 CFLAGS = @CFLAGS@ 410 LDFLAGS = @LDFLAGS@ 411 LIBCFLAGS = $(CFLAGS) 412 CXXFLAGS = @CXXFLAGS@ 413 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates 414 GOCFLAGS = $(CFLAGS) 415 416 TFLAGS = 417 418 # Defaults for all stages; some are overridden below. 419 420 STAGE_CFLAGS = $(BOOT_CFLAGS) 421 STAGE_TFLAGS = $(TFLAGS) 422 STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@ 423 424 425 # Defaults for stage 1; some are overridden below. 426 STAGE1_CFLAGS = $(STAGE_CFLAGS) 427 STAGE1_CXXFLAGS = $(CXXFLAGS) 428 @if target-libstdc++-v3-bootstrap 429 # Override the above if we're bootstrapping C++. 430 STAGE1_CXXFLAGS = $(STAGE1_CFLAGS) 431 @endif target-libstdc++-v3-bootstrap 432 STAGE1_TFLAGS = $(STAGE_TFLAGS) 433 STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) 434 435 # Defaults for stage 2; some are overridden below. 436 STAGE2_CFLAGS = $(STAGE_CFLAGS) 437 STAGE2_CXXFLAGS = $(CXXFLAGS) 438 @if target-libstdc++-v3-bootstrap 439 # Override the above if we're bootstrapping C++. 440 STAGE2_CXXFLAGS = $(STAGE2_CFLAGS) 441 @endif target-libstdc++-v3-bootstrap 442 STAGE2_TFLAGS = $(STAGE_TFLAGS) 443 STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) 444 445 # Defaults for stage 3; some are overridden below. 446 STAGE3_CFLAGS = $(STAGE_CFLAGS) 447 STAGE3_CXXFLAGS = $(CXXFLAGS) 448 @if target-libstdc++-v3-bootstrap 449 # Override the above if we're bootstrapping C++. 450 STAGE3_CXXFLAGS = $(STAGE3_CFLAGS) 451 @endif target-libstdc++-v3-bootstrap 452 STAGE3_TFLAGS = $(STAGE_TFLAGS) 453 STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) 454 455 # Defaults for stage 4; some are overridden below. 456 STAGE4_CFLAGS = $(STAGE_CFLAGS) 457 STAGE4_CXXFLAGS = $(CXXFLAGS) 458 @if target-libstdc++-v3-bootstrap 459 # Override the above if we're bootstrapping C++. 460 STAGE4_CXXFLAGS = $(STAGE4_CFLAGS) 461 @endif target-libstdc++-v3-bootstrap 462 STAGE4_TFLAGS = $(STAGE_TFLAGS) 463 STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) 464 465 # Defaults for stage profile; some are overridden below. 466 STAGEprofile_CFLAGS = $(STAGE_CFLAGS) 467 STAGEprofile_CXXFLAGS = $(CXXFLAGS) 468 @if target-libstdc++-v3-bootstrap 469 # Override the above if we're bootstrapping C++. 470 STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS) 471 @endif target-libstdc++-v3-bootstrap 472 STAGEprofile_TFLAGS = $(STAGE_TFLAGS) 473 STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) 474 475 # Defaults for stage feedback; some are overridden below. 476 STAGEfeedback_CFLAGS = $(STAGE_CFLAGS) 477 STAGEfeedback_CXXFLAGS = $(CXXFLAGS) 478 @if target-libstdc++-v3-bootstrap 479 # Override the above if we're bootstrapping C++. 480 STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS) 481 @endif target-libstdc++-v3-bootstrap 482 STAGEfeedback_TFLAGS = $(STAGE_TFLAGS) 483 STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) 484 485 486 # Only build the C compiler for stage1, because that is the only one that 487 # we can guarantee will build with the native compiler, and also it is the 488 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS), 489 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them 490 # overrideable (for a bootstrap build stage1 also builds gcc.info). 491 492 STAGE1_CFLAGS = @stage1_cflags@ 493 STAGE1_CHECKING = @stage1_checking@ 494 STAGE1_LANGUAGES = @stage1_languages@ 495 # * We force-disable intermodule optimizations, even if 496 # --enable-intermodule was passed, since the installed compiler 497 # probably can't handle them. Luckily, autoconf always respects 498 # the last argument when conflicting --enable arguments are passed. 499 # * Likewise, we force-disable coverage flags, since the installed 500 # compiler probably has never heard of them. 501 # * We also disable -Wformat, since older GCCs don't understand newer %s. 502 STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \ 503 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \ 504 --disable-build-format-warnings 505 506 STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate 507 STAGEprofile_TFLAGS = $(STAGE2_TFLAGS) 508 509 STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use 510 STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS) 511 512 do-compare = @do_compare@ 513 do-compare3 = $(do-compare) 514 515 # ----------------------------------------------- 516 # Programs producing files for the TARGET machine 517 # ----------------------------------------------- 518 519 AR_FOR_TARGET=@AR_FOR_TARGET@ 520 AS_FOR_TARGET=@AS_FOR_TARGET@ 521 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ 522 523 # If GCC_FOR_TARGET is not overriden on the command line, then this 524 # variable is passed down to the gcc Makefile, where it is used to 525 # build libgcc2.a. We define it here so that it can itself be 526 # overridden on the command line. 527 GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@ 528 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ 529 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ 530 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ 531 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ 532 GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@ 533 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@ 534 LD_FOR_TARGET=@LD_FOR_TARGET@ 535 536 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@ 537 NM_FOR_TARGET=@NM_FOR_TARGET@ 538 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@ 539 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@ 540 READELF_FOR_TARGET=@READELF_FOR_TARGET@ 541 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@ 542 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@ 543 WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@ 544 545 COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@ 546 COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@ 547 COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@ 548 549 CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@ 550 CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@ 551 552 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) 553 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates 554 LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@ 555 GOCFLAGS_FOR_TARGET = -O2 -g 556 557 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@ 558 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@ 559 DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@ 560 561 XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET) 562 563 # ------------------------------------ 564 # Miscellaneous targets and flag lists 565 # ------------------------------------ 566 567 # The first rule in the file had better be this one. Don't put any above it. 568 # This lives here to allow makefile fragments to contain dependencies. 569 all: 570 571 #### host and target specific makefile fragments come in here. 572 @target_makefile_frag@ 573 @alphaieee_frag@ 574 @ospace_frag@ 575 @host_makefile_frag@ 576 ### 577 578 # This is the list of directories that may be needed in RPATH_ENVVAR 579 # so that programs built for the target machine work. 580 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc) 581 582 @if target-libstdc++-v3 583 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs: 584 @endif target-libstdc++-v3 585 586 @if target-libsanitizer 587 TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs: 588 @endif target-libsanitizer 589 590 @if target-libvtv 591 TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs: 592 @endif target-libvtv 593 594 @if target-libcilkrts 595 TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs: 596 @endif target-libcilkrts 597 598 @if target-libssp 599 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs: 600 @endif target-libssp 601 602 @if target-libgomp 603 TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs: 604 @endif target-libgomp 605 606 @if target-libitm 607 TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs: 608 @endif target-libitm 609 610 @if target-libatomic 611 TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs: 612 @endif target-libatomic 613 614 615 616 # This is the list of directories that may be needed in RPATH_ENVVAR 617 # so that programs built for the host machine work. 618 HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf) 619 620 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch 621 @if gcc 622 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR): 623 @endif gcc 624 625 626 @if gmp 627 HOST_LIB_PATH_gmp = \ 628 $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs: 629 @endif gmp 630 631 @if mpfr 632 HOST_LIB_PATH_mpfr = \ 633 $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs: 634 @endif mpfr 635 636 @if mpc 637 HOST_LIB_PATH_mpc = \ 638 $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs: 639 @endif mpc 640 641 @if isl 642 HOST_LIB_PATH_isl = \ 643 $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs: 644 @endif isl 645 646 @if cloog 647 HOST_LIB_PATH_cloog = \ 648 $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs: 649 @endif cloog 650 651 @if libelf 652 HOST_LIB_PATH_libelf = \ 653 $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs: 654 @endif libelf 655 656 657 CXX_FOR_TARGET_FLAG_TO_PASS = \ 658 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" 659 @if target-libstdc++-v3 660 # CXX_FOR_TARGET is tricky to get right for target libs that require a 661 # functional C++ compiler. When we recurse, if we expand 662 # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get 663 # libstdc++ include flags from the script. Instead, we get an 664 # -funconfigured-* word, so that we'll get errors if this invalid C++ 665 # command line is used for anything, but also so that we can use the 666 # word to decide whether or not to pass on this CXX_FOR_TARGET. If we 667 # don't pass it on, sub-make will use the default definition, that 668 # re-expands it at the time of use, so we'll get it right when we need 669 # it. One potential exception is the expansion of CXX_FOR_TARGET 670 # passed down as part of CXX within TARGET_FLAGS, but this wouldn't 671 # really work, for C++ host programs can't depend on the current-stage 672 # C++ target library. 673 CXX_FOR_TARGET_FLAG_TO_PASS = \ 674 $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi) 675 @endif target-libstdc++-v3 676 677 # Flags to pass down to all sub-makes. 678 BASE_FLAGS_TO_PASS = \ 679 "DESTDIR=$(DESTDIR)" \ 680 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \ 681 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \ 682 "bindir=$(bindir)" \ 683 "datadir=$(datadir)" \ 684 "exec_prefix=$(exec_prefix)" \ 685 "includedir=$(includedir)" \ 686 "datarootdir=$(datarootdir)" \ 687 "docdir=$(docdir)" \ 688 "infodir=$(infodir)" \ 689 "pdfdir=$(pdfdir)" \ 690 "htmldir=$(htmldir)" \ 691 "libdir=$(libdir)" \ 692 "libexecdir=$(libexecdir)" \ 693 "lispdir=$(lispdir)" \ 694 "localstatedir=$(localstatedir)" \ 695 "mandir=$(mandir)" \ 696 "oldincludedir=$(oldincludedir)" \ 697 "prefix=$(prefix)" \ 698 "sbindir=$(sbindir)" \ 699 "sharedstatedir=$(sharedstatedir)" \ 700 "sysconfdir=$(sysconfdir)" \ 701 "tooldir=$(tooldir)" \ 702 "build_tooldir=$(build_tooldir)" \ 703 "target_alias=$(target_alias)" \ 704 "AWK=$(AWK)" \ 705 "BISON=$(BISON)" \ 706 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ 707 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ 708 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ 709 "EXPECT=$(EXPECT)" \ 710 "FLEX=$(FLEX)" \ 711 "INSTALL=$(INSTALL)" \ 712 "INSTALL_DATA=$(INSTALL_DATA)" \ 713 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ 714 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ 715 "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \ 716 "LEX=$(LEX)" \ 717 "M4=$(M4)" \ 718 "MAKE=$(MAKE)" \ 719 "RUNTEST=$(RUNTEST)" \ 720 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \ 721 "SED=$(SED)" \ 722 "SHELL=$(SHELL)" \ 723 "YACC=$(YACC)" \ 724 "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ 725 "ADA_CFLAGS=$(ADA_CFLAGS)" \ 726 "AR_FLAGS=$(AR_FLAGS)" \ 727 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ 728 "BOOT_CFLAGS=$(BOOT_CFLAGS)" \ 729 "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \ 730 "CFLAGS=$(CFLAGS)" \ 731 "CXXFLAGS=$(CXXFLAGS)" \ 732 "LDFLAGS=$(LDFLAGS)" \ 733 "LIBCFLAGS=$(LIBCFLAGS)" \ 734 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \ 735 "STAGE1_CHECKING=$(STAGE1_CHECKING)" \ 736 "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \ 737 "GNATBIND=$(GNATBIND)" \ 738 "GNATMAKE=$(GNATMAKE)" \ 739 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \ 740 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \ 741 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \ 742 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ 743 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \ 744 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \ 745 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \ 746 "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \ 747 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \ 748 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \ 749 "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \ 750 "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \ 751 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \ 752 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \ 753 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \ 754 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \ 755 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \ 756 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \ 757 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \ 758 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \ 759 "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \ 760 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \ 761 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \ 762 "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \ 763 "BUILD_CONFIG=$(BUILD_CONFIG)" \ 764 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ 765 "LEAN=$(LEAN)" \ 766 "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \ 767 "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \ 768 "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \ 769 "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \ 770 "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \ 771 "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \ 772 "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \ 773 "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \ 774 "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \ 775 "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \ 776 "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \ 777 "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \ 778 "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \ 779 "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \ 780 "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \ 781 "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \ 782 "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \ 783 "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \ 784 $(CXX_FOR_TARGET_FLAG_TO_PASS) \ 785 "TFLAGS=$(TFLAGS)" \ 786 "CONFIG_SHELL=$(SHELL)" \ 787 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" 788 789 # We leave this in just in case, but it is not needed anymore. 790 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) 791 792 # Flags to pass down to most sub-makes, in which we're building with 793 # the host environment. 794 EXTRA_HOST_FLAGS = \ 795 'AR=$(AR)' \ 796 'AS=$(AS)' \ 797 'CC=$(CC)' \ 798 'CXX=$(CXX)' \ 799 'DLLTOOL=$(DLLTOOL)' \ 800 'GCJ=$(GCJ)' \ 801 'GFORTRAN=$(GFORTRAN)' \ 802 'GOC=$(GOC)' \ 803 'LD=$(LD)' \ 804 'LIPO=$(LIPO)' \ 805 'NM=$(NM)' \ 806 'OBJDUMP=$(OBJDUMP)' \ 807 'RANLIB=$(RANLIB)' \ 808 'READELF=$(READELF)' \ 809 'STRIP=$(STRIP)' \ 810 'WINDRES=$(WINDRES)' \ 811 'WINDMC=$(WINDMC)' 812 813 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) 814 815 # Flags to pass to stage1 or when not bootstrapping. 816 817 STAGE1_FLAGS_TO_PASS = \ 818 LDFLAGS="$${LDFLAGS}" \ 819 HOST_LIBS="$${HOST_LIBS}" 820 821 # Flags to pass to stage2 and later makes. 822 823 POSTSTAGE1_FLAGS_TO_PASS = \ 824 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \ 825 CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \ 826 GNATBIND="$${GNATBIND}" \ 827 LDFLAGS="$${LDFLAGS}" \ 828 HOST_LIBS="$${HOST_LIBS}" \ 829 "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" 830 831 # Flags to pass down to makes which are built with the target environment. 832 # The double $ decreases the length of the command line; those variables 833 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The 834 # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty, 835 # so we expand them here. 836 EXTRA_TARGET_FLAGS = \ 837 'AR=$$(AR_FOR_TARGET)' \ 838 'AS=$(COMPILER_AS_FOR_TARGET)' \ 839 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ 840 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \ 841 'CXX=$$(CXX_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ 842 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \ 843 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \ 844 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ 845 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ 846 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \ 847 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \ 848 'LD=$(COMPILER_LD_FOR_TARGET)' \ 849 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \ 850 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \ 851 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \ 852 'NM=$(COMPILER_NM_FOR_TARGET)' \ 853 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \ 854 'RANLIB=$$(RANLIB_FOR_TARGET)' \ 855 'READELF=$$(READELF_FOR_TARGET)' \ 856 'WINDRES=$$(WINDRES_FOR_TARGET)' \ 857 'WINDMC=$$(WINDMC_FOR_TARGET)' \ 858 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \ 859 "TFLAGS=$$TFLAGS" 860 861 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 862 863 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it 864 # unfortunately needs the native compiler and the target ar and 865 # ranlib. 866 # If any variables are added here, they must be added to do-*, below. 867 # The BUILD_* variables are a special case, which are used for the gcc 868 # cross-building scheme. 869 EXTRA_GCC_FLAGS = \ 870 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \ 871 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ 872 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" 873 874 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS) 875 876 @if gcc 877 BUILD_CONFIG = @BUILD_CONFIG@ 878 ifneq ($(BUILD_CONFIG),) 879 include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk) 880 endif 881 @endif gcc 882 883 .PHONY: configure-host 884 configure-host: \ 885 maybe-configure-bfd \ 886 maybe-configure-opcodes \ 887 maybe-configure-binutils \ 888 maybe-configure-bison \ 889 maybe-configure-cgen \ 890 maybe-configure-dejagnu \ 891 maybe-configure-etc \ 892 maybe-configure-fastjar \ 893 maybe-configure-fixincludes \ 894 maybe-configure-flex \ 895 maybe-configure-gas \ 896 maybe-configure-gcc \ 897 maybe-configure-gmp \ 898 maybe-configure-mpfr \ 899 maybe-configure-mpc \ 900 maybe-configure-isl \ 901 maybe-configure-cloog \ 902 maybe-configure-libelf \ 903 maybe-configure-gold \ 904 maybe-configure-gprof \ 905 maybe-configure-intl \ 906 maybe-configure-tcl \ 907 maybe-configure-itcl \ 908 maybe-configure-ld \ 909 maybe-configure-libbacktrace \ 910 maybe-configure-libcpp \ 911 maybe-configure-libdecnumber \ 912 maybe-configure-libgui \ 913 maybe-configure-libiberty \ 914 maybe-configure-libiconv \ 915 maybe-configure-m4 \ 916 maybe-configure-readline \ 917 maybe-configure-sid \ 918 maybe-configure-sim \ 919 maybe-configure-texinfo \ 920 maybe-configure-zlib \ 921 maybe-configure-gdb \ 922 maybe-configure-expect \ 923 maybe-configure-guile \ 924 maybe-configure-tk \ 925 maybe-configure-libtermcap \ 926 maybe-configure-utils \ 927 maybe-configure-gnattools \ 928 maybe-configure-lto-plugin 929 .PHONY: configure-target 930 configure-target: \ 931 maybe-configure-target-libstdc++-v3 \ 932 maybe-configure-target-libsanitizer \ 933 maybe-configure-target-libvtv \ 934 maybe-configure-target-libcilkrts \ 935 maybe-configure-target-libssp \ 936 maybe-configure-target-newlib \ 937 maybe-configure-target-libgcc \ 938 maybe-configure-target-libbacktrace \ 939 maybe-configure-target-libquadmath \ 940 maybe-configure-target-libgfortran \ 941 maybe-configure-target-libobjc \ 942 maybe-configure-target-libgo \ 943 maybe-configure-target-libtermcap \ 944 maybe-configure-target-winsup \ 945 maybe-configure-target-libgloss \ 946 maybe-configure-target-libffi \ 947 maybe-configure-target-libjava \ 948 maybe-configure-target-zlib \ 949 maybe-configure-target-boehm-gc \ 950 maybe-configure-target-rda \ 951 maybe-configure-target-libada \ 952 maybe-configure-target-libgomp \ 953 maybe-configure-target-libitm \ 954 maybe-configure-target-libatomic 955 956 # The target built for a native non-bootstrap build. 957 .PHONY: all 958 all: 959 @if gcc-bootstrap 960 [ -f stage_final ] || echo stage3 > stage_final 961 @r=`${PWD_COMMAND}`; export r; \ 962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 963 $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble 964 @endif gcc-bootstrap 965 @: $(MAKE); $(unstage) 966 @r=`${PWD_COMMAND}`; export r; \ 967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 968 @if gcc-bootstrap 969 if [ -f stage_last ]; then \ 970 TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \ 971 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \ 972 else \ 973 @endif gcc-bootstrap 974 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \ 975 @if gcc-bootstrap 976 ; \ 977 fi \ 978 @endif gcc-bootstrap 979 && : 980 981 .PHONY: all-build 982 983 all-build: maybe-all-build-libiberty 984 all-build: maybe-all-build-bison 985 all-build: maybe-all-build-flex 986 all-build: maybe-all-build-m4 987 all-build: maybe-all-build-texinfo 988 all-build: maybe-all-build-fixincludes 989 990 .PHONY: all-host 991 992 @if bfd-no-bootstrap 993 all-host: maybe-all-bfd 994 @endif bfd-no-bootstrap 995 @if opcodes-no-bootstrap 996 all-host: maybe-all-opcodes 997 @endif opcodes-no-bootstrap 998 @if binutils-no-bootstrap 999 all-host: maybe-all-binutils 1000 @endif binutils-no-bootstrap 1001 all-host: maybe-all-bison 1002 all-host: maybe-all-cgen 1003 all-host: maybe-all-dejagnu 1004 all-host: maybe-all-etc 1005 all-host: maybe-all-fastjar 1006 @if fixincludes-no-bootstrap 1007 all-host: maybe-all-fixincludes 1008 @endif fixincludes-no-bootstrap 1009 all-host: maybe-all-flex 1010 @if gas-no-bootstrap 1011 all-host: maybe-all-gas 1012 @endif gas-no-bootstrap 1013 @if gcc-no-bootstrap 1014 all-host: maybe-all-gcc 1015 @endif gcc-no-bootstrap 1016 @if gmp-no-bootstrap 1017 all-host: maybe-all-gmp 1018 @endif gmp-no-bootstrap 1019 @if mpfr-no-bootstrap 1020 all-host: maybe-all-mpfr 1021 @endif mpfr-no-bootstrap 1022 @if mpc-no-bootstrap 1023 all-host: maybe-all-mpc 1024 @endif mpc-no-bootstrap 1025 @if isl-no-bootstrap 1026 all-host: maybe-all-isl 1027 @endif isl-no-bootstrap 1028 @if cloog-no-bootstrap 1029 all-host: maybe-all-cloog 1030 @endif cloog-no-bootstrap 1031 @if libelf-no-bootstrap 1032 all-host: maybe-all-libelf 1033 @endif libelf-no-bootstrap 1034 @if gold-no-bootstrap 1035 all-host: maybe-all-gold 1036 @endif gold-no-bootstrap 1037 all-host: maybe-all-gprof 1038 @if intl-no-bootstrap 1039 all-host: maybe-all-intl 1040 @endif intl-no-bootstrap 1041 all-host: maybe-all-tcl 1042 all-host: maybe-all-itcl 1043 @if ld-no-bootstrap 1044 all-host: maybe-all-ld 1045 @endif ld-no-bootstrap 1046 @if libbacktrace-no-bootstrap 1047 all-host: maybe-all-libbacktrace 1048 @endif libbacktrace-no-bootstrap 1049 @if libcpp-no-bootstrap 1050 all-host: maybe-all-libcpp 1051 @endif libcpp-no-bootstrap 1052 @if libdecnumber-no-bootstrap 1053 all-host: maybe-all-libdecnumber 1054 @endif libdecnumber-no-bootstrap 1055 all-host: maybe-all-libgui 1056 @if libiberty-no-bootstrap 1057 all-host: maybe-all-libiberty 1058 @endif libiberty-no-bootstrap 1059 all-host: maybe-all-libiconv 1060 all-host: maybe-all-m4 1061 all-host: maybe-all-readline 1062 all-host: maybe-all-sid 1063 all-host: maybe-all-sim 1064 all-host: maybe-all-texinfo 1065 @if zlib-no-bootstrap 1066 all-host: maybe-all-zlib 1067 @endif zlib-no-bootstrap 1068 all-host: maybe-all-gdb 1069 all-host: maybe-all-expect 1070 all-host: maybe-all-guile 1071 all-host: maybe-all-tk 1072 all-host: maybe-all-libtermcap 1073 all-host: maybe-all-utils 1074 all-host: maybe-all-gnattools 1075 @if lto-plugin-no-bootstrap 1076 all-host: maybe-all-lto-plugin 1077 @endif lto-plugin-no-bootstrap 1078 1079 .PHONY: all-target 1080 1081 @if target-libstdc++-v3-no-bootstrap 1082 all-target: maybe-all-target-libstdc++-v3 1083 @endif target-libstdc++-v3-no-bootstrap 1084 @if target-libsanitizer-no-bootstrap 1085 all-target: maybe-all-target-libsanitizer 1086 @endif target-libsanitizer-no-bootstrap 1087 @if target-libvtv-no-bootstrap 1088 all-target: maybe-all-target-libvtv 1089 @endif target-libvtv-no-bootstrap 1090 all-target: maybe-all-target-libcilkrts 1091 all-target: maybe-all-target-libssp 1092 all-target: maybe-all-target-newlib 1093 @if target-libgcc-no-bootstrap 1094 all-target: maybe-all-target-libgcc 1095 @endif target-libgcc-no-bootstrap 1096 all-target: maybe-all-target-libbacktrace 1097 all-target: maybe-all-target-libquadmath 1098 all-target: maybe-all-target-libgfortran 1099 all-target: maybe-all-target-libobjc 1100 all-target: maybe-all-target-libgo 1101 all-target: maybe-all-target-libtermcap 1102 all-target: maybe-all-target-winsup 1103 all-target: maybe-all-target-libgloss 1104 all-target: maybe-all-target-libffi 1105 all-target: maybe-all-target-libjava 1106 all-target: maybe-all-target-zlib 1107 all-target: maybe-all-target-boehm-gc 1108 all-target: maybe-all-target-rda 1109 all-target: maybe-all-target-libada 1110 @if target-libgomp-no-bootstrap 1111 all-target: maybe-all-target-libgomp 1112 @endif target-libgomp-no-bootstrap 1113 all-target: maybe-all-target-libitm 1114 all-target: maybe-all-target-libatomic 1115 1116 # Do a target for all the subdirectories. A ``make do-X'' will do a 1117 # ``make X'' in all subdirectories (because, in general, there is a 1118 # dependency (below) of X upon do-X, a ``make X'' will also do this, 1119 # but it may do additional work as well). 1120 1121 .PHONY: do-info 1122 do-info: 1123 @: $(MAKE); $(unstage) 1124 @r=`${PWD_COMMAND}`; export r; \ 1125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1126 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \ 1127 info-target 1128 1129 1130 .PHONY: info-host 1131 1132 info-host: maybe-info-bfd 1133 info-host: maybe-info-opcodes 1134 info-host: maybe-info-binutils 1135 info-host: maybe-info-bison 1136 info-host: maybe-info-cgen 1137 info-host: maybe-info-dejagnu 1138 info-host: maybe-info-etc 1139 info-host: maybe-info-fastjar 1140 info-host: maybe-info-fixincludes 1141 info-host: maybe-info-flex 1142 info-host: maybe-info-gas 1143 info-host: maybe-info-gcc 1144 info-host: maybe-info-gmp 1145 info-host: maybe-info-mpfr 1146 info-host: maybe-info-mpc 1147 info-host: maybe-info-isl 1148 info-host: maybe-info-cloog 1149 info-host: maybe-info-libelf 1150 info-host: maybe-info-gold 1151 info-host: maybe-info-gprof 1152 info-host: maybe-info-intl 1153 info-host: maybe-info-tcl 1154 info-host: maybe-info-itcl 1155 info-host: maybe-info-ld 1156 info-host: maybe-info-libbacktrace 1157 info-host: maybe-info-libcpp 1158 info-host: maybe-info-libdecnumber 1159 info-host: maybe-info-libgui 1160 info-host: maybe-info-libiberty 1161 info-host: maybe-info-libiconv 1162 info-host: maybe-info-m4 1163 info-host: maybe-info-readline 1164 info-host: maybe-info-sid 1165 info-host: maybe-info-sim 1166 info-host: maybe-info-texinfo 1167 info-host: maybe-info-zlib 1168 info-host: maybe-info-gdb 1169 info-host: maybe-info-expect 1170 info-host: maybe-info-guile 1171 info-host: maybe-info-tk 1172 info-host: maybe-info-libtermcap 1173 info-host: maybe-info-utils 1174 info-host: maybe-info-gnattools 1175 info-host: maybe-info-lto-plugin 1176 1177 .PHONY: info-target 1178 1179 info-target: maybe-info-target-libstdc++-v3 1180 info-target: maybe-info-target-libsanitizer 1181 info-target: maybe-info-target-libvtv 1182 info-target: maybe-info-target-libcilkrts 1183 info-target: maybe-info-target-libssp 1184 info-target: maybe-info-target-newlib 1185 info-target: maybe-info-target-libgcc 1186 info-target: maybe-info-target-libbacktrace 1187 info-target: maybe-info-target-libquadmath 1188 info-target: maybe-info-target-libgfortran 1189 info-target: maybe-info-target-libobjc 1190 info-target: maybe-info-target-libgo 1191 info-target: maybe-info-target-libtermcap 1192 info-target: maybe-info-target-winsup 1193 info-target: maybe-info-target-libgloss 1194 info-target: maybe-info-target-libffi 1195 info-target: maybe-info-target-libjava 1196 info-target: maybe-info-target-zlib 1197 info-target: maybe-info-target-boehm-gc 1198 info-target: maybe-info-target-rda 1199 info-target: maybe-info-target-libada 1200 info-target: maybe-info-target-libgomp 1201 info-target: maybe-info-target-libitm 1202 info-target: maybe-info-target-libatomic 1203 1204 .PHONY: do-dvi 1205 do-dvi: 1206 @: $(MAKE); $(unstage) 1207 @r=`${PWD_COMMAND}`; export r; \ 1208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1209 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \ 1210 dvi-target 1211 1212 1213 .PHONY: dvi-host 1214 1215 dvi-host: maybe-dvi-bfd 1216 dvi-host: maybe-dvi-opcodes 1217 dvi-host: maybe-dvi-binutils 1218 dvi-host: maybe-dvi-bison 1219 dvi-host: maybe-dvi-cgen 1220 dvi-host: maybe-dvi-dejagnu 1221 dvi-host: maybe-dvi-etc 1222 dvi-host: maybe-dvi-fastjar 1223 dvi-host: maybe-dvi-fixincludes 1224 dvi-host: maybe-dvi-flex 1225 dvi-host: maybe-dvi-gas 1226 dvi-host: maybe-dvi-gcc 1227 dvi-host: maybe-dvi-gmp 1228 dvi-host: maybe-dvi-mpfr 1229 dvi-host: maybe-dvi-mpc 1230 dvi-host: maybe-dvi-isl 1231 dvi-host: maybe-dvi-cloog 1232 dvi-host: maybe-dvi-libelf 1233 dvi-host: maybe-dvi-gold 1234 dvi-host: maybe-dvi-gprof 1235 dvi-host: maybe-dvi-intl 1236 dvi-host: maybe-dvi-tcl 1237 dvi-host: maybe-dvi-itcl 1238 dvi-host: maybe-dvi-ld 1239 dvi-host: maybe-dvi-libbacktrace 1240 dvi-host: maybe-dvi-libcpp 1241 dvi-host: maybe-dvi-libdecnumber 1242 dvi-host: maybe-dvi-libgui 1243 dvi-host: maybe-dvi-libiberty 1244 dvi-host: maybe-dvi-libiconv 1245 dvi-host: maybe-dvi-m4 1246 dvi-host: maybe-dvi-readline 1247 dvi-host: maybe-dvi-sid 1248 dvi-host: maybe-dvi-sim 1249 dvi-host: maybe-dvi-texinfo 1250 dvi-host: maybe-dvi-zlib 1251 dvi-host: maybe-dvi-gdb 1252 dvi-host: maybe-dvi-expect 1253 dvi-host: maybe-dvi-guile 1254 dvi-host: maybe-dvi-tk 1255 dvi-host: maybe-dvi-libtermcap 1256 dvi-host: maybe-dvi-utils 1257 dvi-host: maybe-dvi-gnattools 1258 dvi-host: maybe-dvi-lto-plugin 1259 1260 .PHONY: dvi-target 1261 1262 dvi-target: maybe-dvi-target-libstdc++-v3 1263 dvi-target: maybe-dvi-target-libsanitizer 1264 dvi-target: maybe-dvi-target-libvtv 1265 dvi-target: maybe-dvi-target-libcilkrts 1266 dvi-target: maybe-dvi-target-libssp 1267 dvi-target: maybe-dvi-target-newlib 1268 dvi-target: maybe-dvi-target-libgcc 1269 dvi-target: maybe-dvi-target-libbacktrace 1270 dvi-target: maybe-dvi-target-libquadmath 1271 dvi-target: maybe-dvi-target-libgfortran 1272 dvi-target: maybe-dvi-target-libobjc 1273 dvi-target: maybe-dvi-target-libgo 1274 dvi-target: maybe-dvi-target-libtermcap 1275 dvi-target: maybe-dvi-target-winsup 1276 dvi-target: maybe-dvi-target-libgloss 1277 dvi-target: maybe-dvi-target-libffi 1278 dvi-target: maybe-dvi-target-libjava 1279 dvi-target: maybe-dvi-target-zlib 1280 dvi-target: maybe-dvi-target-boehm-gc 1281 dvi-target: maybe-dvi-target-rda 1282 dvi-target: maybe-dvi-target-libada 1283 dvi-target: maybe-dvi-target-libgomp 1284 dvi-target: maybe-dvi-target-libitm 1285 dvi-target: maybe-dvi-target-libatomic 1286 1287 .PHONY: do-pdf 1288 do-pdf: 1289 @: $(MAKE); $(unstage) 1290 @r=`${PWD_COMMAND}`; export r; \ 1291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1292 $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \ 1293 pdf-target 1294 1295 1296 .PHONY: pdf-host 1297 1298 pdf-host: maybe-pdf-bfd 1299 pdf-host: maybe-pdf-opcodes 1300 pdf-host: maybe-pdf-binutils 1301 pdf-host: maybe-pdf-bison 1302 pdf-host: maybe-pdf-cgen 1303 pdf-host: maybe-pdf-dejagnu 1304 pdf-host: maybe-pdf-etc 1305 pdf-host: maybe-pdf-fastjar 1306 pdf-host: maybe-pdf-fixincludes 1307 pdf-host: maybe-pdf-flex 1308 pdf-host: maybe-pdf-gas 1309 pdf-host: maybe-pdf-gcc 1310 pdf-host: maybe-pdf-gmp 1311 pdf-host: maybe-pdf-mpfr 1312 pdf-host: maybe-pdf-mpc 1313 pdf-host: maybe-pdf-isl 1314 pdf-host: maybe-pdf-cloog 1315 pdf-host: maybe-pdf-libelf 1316 pdf-host: maybe-pdf-gold 1317 pdf-host: maybe-pdf-gprof 1318 pdf-host: maybe-pdf-intl 1319 pdf-host: maybe-pdf-tcl 1320 pdf-host: maybe-pdf-itcl 1321 pdf-host: maybe-pdf-ld 1322 pdf-host: maybe-pdf-libbacktrace 1323 pdf-host: maybe-pdf-libcpp 1324 pdf-host: maybe-pdf-libdecnumber 1325 pdf-host: maybe-pdf-libgui 1326 pdf-host: maybe-pdf-libiberty 1327 pdf-host: maybe-pdf-libiconv 1328 pdf-host: maybe-pdf-m4 1329 pdf-host: maybe-pdf-readline 1330 pdf-host: maybe-pdf-sid 1331 pdf-host: maybe-pdf-sim 1332 pdf-host: maybe-pdf-texinfo 1333 pdf-host: maybe-pdf-zlib 1334 pdf-host: maybe-pdf-gdb 1335 pdf-host: maybe-pdf-expect 1336 pdf-host: maybe-pdf-guile 1337 pdf-host: maybe-pdf-tk 1338 pdf-host: maybe-pdf-libtermcap 1339 pdf-host: maybe-pdf-utils 1340 pdf-host: maybe-pdf-gnattools 1341 pdf-host: maybe-pdf-lto-plugin 1342 1343 .PHONY: pdf-target 1344 1345 pdf-target: maybe-pdf-target-libstdc++-v3 1346 pdf-target: maybe-pdf-target-libsanitizer 1347 pdf-target: maybe-pdf-target-libvtv 1348 pdf-target: maybe-pdf-target-libcilkrts 1349 pdf-target: maybe-pdf-target-libssp 1350 pdf-target: maybe-pdf-target-newlib 1351 pdf-target: maybe-pdf-target-libgcc 1352 pdf-target: maybe-pdf-target-libbacktrace 1353 pdf-target: maybe-pdf-target-libquadmath 1354 pdf-target: maybe-pdf-target-libgfortran 1355 pdf-target: maybe-pdf-target-libobjc 1356 pdf-target: maybe-pdf-target-libgo 1357 pdf-target: maybe-pdf-target-libtermcap 1358 pdf-target: maybe-pdf-target-winsup 1359 pdf-target: maybe-pdf-target-libgloss 1360 pdf-target: maybe-pdf-target-libffi 1361 pdf-target: maybe-pdf-target-libjava 1362 pdf-target: maybe-pdf-target-zlib 1363 pdf-target: maybe-pdf-target-boehm-gc 1364 pdf-target: maybe-pdf-target-rda 1365 pdf-target: maybe-pdf-target-libada 1366 pdf-target: maybe-pdf-target-libgomp 1367 pdf-target: maybe-pdf-target-libitm 1368 pdf-target: maybe-pdf-target-libatomic 1369 1370 .PHONY: do-html 1371 do-html: 1372 @: $(MAKE); $(unstage) 1373 @r=`${PWD_COMMAND}`; export r; \ 1374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1375 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \ 1376 html-target 1377 1378 1379 .PHONY: html-host 1380 1381 html-host: maybe-html-bfd 1382 html-host: maybe-html-opcodes 1383 html-host: maybe-html-binutils 1384 html-host: maybe-html-bison 1385 html-host: maybe-html-cgen 1386 html-host: maybe-html-dejagnu 1387 html-host: maybe-html-etc 1388 html-host: maybe-html-fastjar 1389 html-host: maybe-html-fixincludes 1390 html-host: maybe-html-flex 1391 html-host: maybe-html-gas 1392 html-host: maybe-html-gcc 1393 html-host: maybe-html-gmp 1394 html-host: maybe-html-mpfr 1395 html-host: maybe-html-mpc 1396 html-host: maybe-html-isl 1397 html-host: maybe-html-cloog 1398 html-host: maybe-html-libelf 1399 html-host: maybe-html-gold 1400 html-host: maybe-html-gprof 1401 html-host: maybe-html-intl 1402 html-host: maybe-html-tcl 1403 html-host: maybe-html-itcl 1404 html-host: maybe-html-ld 1405 html-host: maybe-html-libbacktrace 1406 html-host: maybe-html-libcpp 1407 html-host: maybe-html-libdecnumber 1408 html-host: maybe-html-libgui 1409 html-host: maybe-html-libiberty 1410 html-host: maybe-html-libiconv 1411 html-host: maybe-html-m4 1412 html-host: maybe-html-readline 1413 html-host: maybe-html-sid 1414 html-host: maybe-html-sim 1415 html-host: maybe-html-texinfo 1416 html-host: maybe-html-zlib 1417 html-host: maybe-html-gdb 1418 html-host: maybe-html-expect 1419 html-host: maybe-html-guile 1420 html-host: maybe-html-tk 1421 html-host: maybe-html-libtermcap 1422 html-host: maybe-html-utils 1423 html-host: maybe-html-gnattools 1424 html-host: maybe-html-lto-plugin 1425 1426 .PHONY: html-target 1427 1428 html-target: maybe-html-target-libstdc++-v3 1429 html-target: maybe-html-target-libsanitizer 1430 html-target: maybe-html-target-libvtv 1431 html-target: maybe-html-target-libcilkrts 1432 html-target: maybe-html-target-libssp 1433 html-target: maybe-html-target-newlib 1434 html-target: maybe-html-target-libgcc 1435 html-target: maybe-html-target-libbacktrace 1436 html-target: maybe-html-target-libquadmath 1437 html-target: maybe-html-target-libgfortran 1438 html-target: maybe-html-target-libobjc 1439 html-target: maybe-html-target-libgo 1440 html-target: maybe-html-target-libtermcap 1441 html-target: maybe-html-target-winsup 1442 html-target: maybe-html-target-libgloss 1443 html-target: maybe-html-target-libffi 1444 html-target: maybe-html-target-libjava 1445 html-target: maybe-html-target-zlib 1446 html-target: maybe-html-target-boehm-gc 1447 html-target: maybe-html-target-rda 1448 html-target: maybe-html-target-libada 1449 html-target: maybe-html-target-libgomp 1450 html-target: maybe-html-target-libitm 1451 html-target: maybe-html-target-libatomic 1452 1453 .PHONY: do-TAGS 1454 do-TAGS: 1455 @: $(MAKE); $(unstage) 1456 @r=`${PWD_COMMAND}`; export r; \ 1457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1458 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \ 1459 TAGS-target 1460 1461 1462 .PHONY: TAGS-host 1463 1464 TAGS-host: maybe-TAGS-bfd 1465 TAGS-host: maybe-TAGS-opcodes 1466 TAGS-host: maybe-TAGS-binutils 1467 TAGS-host: maybe-TAGS-bison 1468 TAGS-host: maybe-TAGS-cgen 1469 TAGS-host: maybe-TAGS-dejagnu 1470 TAGS-host: maybe-TAGS-etc 1471 TAGS-host: maybe-TAGS-fastjar 1472 TAGS-host: maybe-TAGS-fixincludes 1473 TAGS-host: maybe-TAGS-flex 1474 TAGS-host: maybe-TAGS-gas 1475 TAGS-host: maybe-TAGS-gcc 1476 TAGS-host: maybe-TAGS-gmp 1477 TAGS-host: maybe-TAGS-mpfr 1478 TAGS-host: maybe-TAGS-mpc 1479 TAGS-host: maybe-TAGS-isl 1480 TAGS-host: maybe-TAGS-cloog 1481 TAGS-host: maybe-TAGS-libelf 1482 TAGS-host: maybe-TAGS-gold 1483 TAGS-host: maybe-TAGS-gprof 1484 TAGS-host: maybe-TAGS-intl 1485 TAGS-host: maybe-TAGS-tcl 1486 TAGS-host: maybe-TAGS-itcl 1487 TAGS-host: maybe-TAGS-ld 1488 TAGS-host: maybe-TAGS-libbacktrace 1489 TAGS-host: maybe-TAGS-libcpp 1490 TAGS-host: maybe-TAGS-libdecnumber 1491 TAGS-host: maybe-TAGS-libgui 1492 TAGS-host: maybe-TAGS-libiberty 1493 TAGS-host: maybe-TAGS-libiconv 1494 TAGS-host: maybe-TAGS-m4 1495 TAGS-host: maybe-TAGS-readline 1496 TAGS-host: maybe-TAGS-sid 1497 TAGS-host: maybe-TAGS-sim 1498 TAGS-host: maybe-TAGS-texinfo 1499 TAGS-host: maybe-TAGS-zlib 1500 TAGS-host: maybe-TAGS-gdb 1501 TAGS-host: maybe-TAGS-expect 1502 TAGS-host: maybe-TAGS-guile 1503 TAGS-host: maybe-TAGS-tk 1504 TAGS-host: maybe-TAGS-libtermcap 1505 TAGS-host: maybe-TAGS-utils 1506 TAGS-host: maybe-TAGS-gnattools 1507 TAGS-host: maybe-TAGS-lto-plugin 1508 1509 .PHONY: TAGS-target 1510 1511 TAGS-target: maybe-TAGS-target-libstdc++-v3 1512 TAGS-target: maybe-TAGS-target-libsanitizer 1513 TAGS-target: maybe-TAGS-target-libvtv 1514 TAGS-target: maybe-TAGS-target-libcilkrts 1515 TAGS-target: maybe-TAGS-target-libssp 1516 TAGS-target: maybe-TAGS-target-newlib 1517 TAGS-target: maybe-TAGS-target-libgcc 1518 TAGS-target: maybe-TAGS-target-libbacktrace 1519 TAGS-target: maybe-TAGS-target-libquadmath 1520 TAGS-target: maybe-TAGS-target-libgfortran 1521 TAGS-target: maybe-TAGS-target-libobjc 1522 TAGS-target: maybe-TAGS-target-libgo 1523 TAGS-target: maybe-TAGS-target-libtermcap 1524 TAGS-target: maybe-TAGS-target-winsup 1525 TAGS-target: maybe-TAGS-target-libgloss 1526 TAGS-target: maybe-TAGS-target-libffi 1527 TAGS-target: maybe-TAGS-target-libjava 1528 TAGS-target: maybe-TAGS-target-zlib 1529 TAGS-target: maybe-TAGS-target-boehm-gc 1530 TAGS-target: maybe-TAGS-target-rda 1531 TAGS-target: maybe-TAGS-target-libada 1532 TAGS-target: maybe-TAGS-target-libgomp 1533 TAGS-target: maybe-TAGS-target-libitm 1534 TAGS-target: maybe-TAGS-target-libatomic 1535 1536 .PHONY: do-install-info 1537 do-install-info: 1538 @: $(MAKE); $(unstage) 1539 @r=`${PWD_COMMAND}`; export r; \ 1540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1541 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \ 1542 install-info-target 1543 1544 1545 .PHONY: install-info-host 1546 1547 install-info-host: maybe-install-info-bfd 1548 install-info-host: maybe-install-info-opcodes 1549 install-info-host: maybe-install-info-binutils 1550 install-info-host: maybe-install-info-bison 1551 install-info-host: maybe-install-info-cgen 1552 install-info-host: maybe-install-info-dejagnu 1553 install-info-host: maybe-install-info-etc 1554 install-info-host: maybe-install-info-fastjar 1555 install-info-host: maybe-install-info-fixincludes 1556 install-info-host: maybe-install-info-flex 1557 install-info-host: maybe-install-info-gas 1558 install-info-host: maybe-install-info-gcc 1559 install-info-host: maybe-install-info-gmp 1560 install-info-host: maybe-install-info-mpfr 1561 install-info-host: maybe-install-info-mpc 1562 install-info-host: maybe-install-info-isl 1563 install-info-host: maybe-install-info-cloog 1564 install-info-host: maybe-install-info-libelf 1565 install-info-host: maybe-install-info-gold 1566 install-info-host: maybe-install-info-gprof 1567 install-info-host: maybe-install-info-intl 1568 install-info-host: maybe-install-info-tcl 1569 install-info-host: maybe-install-info-itcl 1570 install-info-host: maybe-install-info-ld 1571 install-info-host: maybe-install-info-libbacktrace 1572 install-info-host: maybe-install-info-libcpp 1573 install-info-host: maybe-install-info-libdecnumber 1574 install-info-host: maybe-install-info-libgui 1575 install-info-host: maybe-install-info-libiberty 1576 install-info-host: maybe-install-info-libiconv 1577 install-info-host: maybe-install-info-m4 1578 install-info-host: maybe-install-info-readline 1579 install-info-host: maybe-install-info-sid 1580 install-info-host: maybe-install-info-sim 1581 install-info-host: maybe-install-info-texinfo 1582 install-info-host: maybe-install-info-zlib 1583 install-info-host: maybe-install-info-gdb 1584 install-info-host: maybe-install-info-expect 1585 install-info-host: maybe-install-info-guile 1586 install-info-host: maybe-install-info-tk 1587 install-info-host: maybe-install-info-libtermcap 1588 install-info-host: maybe-install-info-utils 1589 install-info-host: maybe-install-info-gnattools 1590 install-info-host: maybe-install-info-lto-plugin 1591 1592 .PHONY: install-info-target 1593 1594 install-info-target: maybe-install-info-target-libstdc++-v3 1595 install-info-target: maybe-install-info-target-libsanitizer 1596 install-info-target: maybe-install-info-target-libvtv 1597 install-info-target: maybe-install-info-target-libcilkrts 1598 install-info-target: maybe-install-info-target-libssp 1599 install-info-target: maybe-install-info-target-newlib 1600 install-info-target: maybe-install-info-target-libgcc 1601 install-info-target: maybe-install-info-target-libbacktrace 1602 install-info-target: maybe-install-info-target-libquadmath 1603 install-info-target: maybe-install-info-target-libgfortran 1604 install-info-target: maybe-install-info-target-libobjc 1605 install-info-target: maybe-install-info-target-libgo 1606 install-info-target: maybe-install-info-target-libtermcap 1607 install-info-target: maybe-install-info-target-winsup 1608 install-info-target: maybe-install-info-target-libgloss 1609 install-info-target: maybe-install-info-target-libffi 1610 install-info-target: maybe-install-info-target-libjava 1611 install-info-target: maybe-install-info-target-zlib 1612 install-info-target: maybe-install-info-target-boehm-gc 1613 install-info-target: maybe-install-info-target-rda 1614 install-info-target: maybe-install-info-target-libada 1615 install-info-target: maybe-install-info-target-libgomp 1616 install-info-target: maybe-install-info-target-libitm 1617 install-info-target: maybe-install-info-target-libatomic 1618 1619 .PHONY: do-install-pdf 1620 do-install-pdf: 1621 @: $(MAKE); $(unstage) 1622 @r=`${PWD_COMMAND}`; export r; \ 1623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1624 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \ 1625 install-pdf-target 1626 1627 1628 .PHONY: install-pdf-host 1629 1630 install-pdf-host: maybe-install-pdf-bfd 1631 install-pdf-host: maybe-install-pdf-opcodes 1632 install-pdf-host: maybe-install-pdf-binutils 1633 install-pdf-host: maybe-install-pdf-bison 1634 install-pdf-host: maybe-install-pdf-cgen 1635 install-pdf-host: maybe-install-pdf-dejagnu 1636 install-pdf-host: maybe-install-pdf-etc 1637 install-pdf-host: maybe-install-pdf-fastjar 1638 install-pdf-host: maybe-install-pdf-fixincludes 1639 install-pdf-host: maybe-install-pdf-flex 1640 install-pdf-host: maybe-install-pdf-gas 1641 install-pdf-host: maybe-install-pdf-gcc 1642 install-pdf-host: maybe-install-pdf-gmp 1643 install-pdf-host: maybe-install-pdf-mpfr 1644 install-pdf-host: maybe-install-pdf-mpc 1645 install-pdf-host: maybe-install-pdf-isl 1646 install-pdf-host: maybe-install-pdf-cloog 1647 install-pdf-host: maybe-install-pdf-libelf 1648 install-pdf-host: maybe-install-pdf-gold 1649 install-pdf-host: maybe-install-pdf-gprof 1650 install-pdf-host: maybe-install-pdf-intl 1651 install-pdf-host: maybe-install-pdf-tcl 1652 install-pdf-host: maybe-install-pdf-itcl 1653 install-pdf-host: maybe-install-pdf-ld 1654 install-pdf-host: maybe-install-pdf-libbacktrace 1655 install-pdf-host: maybe-install-pdf-libcpp 1656 install-pdf-host: maybe-install-pdf-libdecnumber 1657 install-pdf-host: maybe-install-pdf-libgui 1658 install-pdf-host: maybe-install-pdf-libiberty 1659 install-pdf-host: maybe-install-pdf-libiconv 1660 install-pdf-host: maybe-install-pdf-m4 1661 install-pdf-host: maybe-install-pdf-readline 1662 install-pdf-host: maybe-install-pdf-sid 1663 install-pdf-host: maybe-install-pdf-sim 1664 install-pdf-host: maybe-install-pdf-texinfo 1665 install-pdf-host: maybe-install-pdf-zlib 1666 install-pdf-host: maybe-install-pdf-gdb 1667 install-pdf-host: maybe-install-pdf-expect 1668 install-pdf-host: maybe-install-pdf-guile 1669 install-pdf-host: maybe-install-pdf-tk 1670 install-pdf-host: maybe-install-pdf-libtermcap 1671 install-pdf-host: maybe-install-pdf-utils 1672 install-pdf-host: maybe-install-pdf-gnattools 1673 install-pdf-host: maybe-install-pdf-lto-plugin 1674 1675 .PHONY: install-pdf-target 1676 1677 install-pdf-target: maybe-install-pdf-target-libstdc++-v3 1678 install-pdf-target: maybe-install-pdf-target-libsanitizer 1679 install-pdf-target: maybe-install-pdf-target-libvtv 1680 install-pdf-target: maybe-install-pdf-target-libcilkrts 1681 install-pdf-target: maybe-install-pdf-target-libssp 1682 install-pdf-target: maybe-install-pdf-target-newlib 1683 install-pdf-target: maybe-install-pdf-target-libgcc 1684 install-pdf-target: maybe-install-pdf-target-libbacktrace 1685 install-pdf-target: maybe-install-pdf-target-libquadmath 1686 install-pdf-target: maybe-install-pdf-target-libgfortran 1687 install-pdf-target: maybe-install-pdf-target-libobjc 1688 install-pdf-target: maybe-install-pdf-target-libgo 1689 install-pdf-target: maybe-install-pdf-target-libtermcap 1690 install-pdf-target: maybe-install-pdf-target-winsup 1691 install-pdf-target: maybe-install-pdf-target-libgloss 1692 install-pdf-target: maybe-install-pdf-target-libffi 1693 install-pdf-target: maybe-install-pdf-target-libjava 1694 install-pdf-target: maybe-install-pdf-target-zlib 1695 install-pdf-target: maybe-install-pdf-target-boehm-gc 1696 install-pdf-target: maybe-install-pdf-target-rda 1697 install-pdf-target: maybe-install-pdf-target-libada 1698 install-pdf-target: maybe-install-pdf-target-libgomp 1699 install-pdf-target: maybe-install-pdf-target-libitm 1700 install-pdf-target: maybe-install-pdf-target-libatomic 1701 1702 .PHONY: do-install-html 1703 do-install-html: 1704 @: $(MAKE); $(unstage) 1705 @r=`${PWD_COMMAND}`; export r; \ 1706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1707 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \ 1708 install-html-target 1709 1710 1711 .PHONY: install-html-host 1712 1713 install-html-host: maybe-install-html-bfd 1714 install-html-host: maybe-install-html-opcodes 1715 install-html-host: maybe-install-html-binutils 1716 install-html-host: maybe-install-html-bison 1717 install-html-host: maybe-install-html-cgen 1718 install-html-host: maybe-install-html-dejagnu 1719 install-html-host: maybe-install-html-etc 1720 install-html-host: maybe-install-html-fastjar 1721 install-html-host: maybe-install-html-fixincludes 1722 install-html-host: maybe-install-html-flex 1723 install-html-host: maybe-install-html-gas 1724 install-html-host: maybe-install-html-gcc 1725 install-html-host: maybe-install-html-gmp 1726 install-html-host: maybe-install-html-mpfr 1727 install-html-host: maybe-install-html-mpc 1728 install-html-host: maybe-install-html-isl 1729 install-html-host: maybe-install-html-cloog 1730 install-html-host: maybe-install-html-libelf 1731 install-html-host: maybe-install-html-gold 1732 install-html-host: maybe-install-html-gprof 1733 install-html-host: maybe-install-html-intl 1734 install-html-host: maybe-install-html-tcl 1735 install-html-host: maybe-install-html-itcl 1736 install-html-host: maybe-install-html-ld 1737 install-html-host: maybe-install-html-libbacktrace 1738 install-html-host: maybe-install-html-libcpp 1739 install-html-host: maybe-install-html-libdecnumber 1740 install-html-host: maybe-install-html-libgui 1741 install-html-host: maybe-install-html-libiberty 1742 install-html-host: maybe-install-html-libiconv 1743 install-html-host: maybe-install-html-m4 1744 install-html-host: maybe-install-html-readline 1745 install-html-host: maybe-install-html-sid 1746 install-html-host: maybe-install-html-sim 1747 install-html-host: maybe-install-html-texinfo 1748 install-html-host: maybe-install-html-zlib 1749 install-html-host: maybe-install-html-gdb 1750 install-html-host: maybe-install-html-expect 1751 install-html-host: maybe-install-html-guile 1752 install-html-host: maybe-install-html-tk 1753 install-html-host: maybe-install-html-libtermcap 1754 install-html-host: maybe-install-html-utils 1755 install-html-host: maybe-install-html-gnattools 1756 install-html-host: maybe-install-html-lto-plugin 1757 1758 .PHONY: install-html-target 1759 1760 install-html-target: maybe-install-html-target-libstdc++-v3 1761 install-html-target: maybe-install-html-target-libsanitizer 1762 install-html-target: maybe-install-html-target-libvtv 1763 install-html-target: maybe-install-html-target-libcilkrts 1764 install-html-target: maybe-install-html-target-libssp 1765 install-html-target: maybe-install-html-target-newlib 1766 install-html-target: maybe-install-html-target-libgcc 1767 install-html-target: maybe-install-html-target-libbacktrace 1768 install-html-target: maybe-install-html-target-libquadmath 1769 install-html-target: maybe-install-html-target-libgfortran 1770 install-html-target: maybe-install-html-target-libobjc 1771 install-html-target: maybe-install-html-target-libgo 1772 install-html-target: maybe-install-html-target-libtermcap 1773 install-html-target: maybe-install-html-target-winsup 1774 install-html-target: maybe-install-html-target-libgloss 1775 install-html-target: maybe-install-html-target-libffi 1776 install-html-target: maybe-install-html-target-libjava 1777 install-html-target: maybe-install-html-target-zlib 1778 install-html-target: maybe-install-html-target-boehm-gc 1779 install-html-target: maybe-install-html-target-rda 1780 install-html-target: maybe-install-html-target-libada 1781 install-html-target: maybe-install-html-target-libgomp 1782 install-html-target: maybe-install-html-target-libitm 1783 install-html-target: maybe-install-html-target-libatomic 1784 1785 .PHONY: do-installcheck 1786 do-installcheck: 1787 @: $(MAKE); $(unstage) 1788 @r=`${PWD_COMMAND}`; export r; \ 1789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1790 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \ 1791 installcheck-target 1792 1793 1794 .PHONY: installcheck-host 1795 1796 installcheck-host: maybe-installcheck-bfd 1797 installcheck-host: maybe-installcheck-opcodes 1798 installcheck-host: maybe-installcheck-binutils 1799 installcheck-host: maybe-installcheck-bison 1800 installcheck-host: maybe-installcheck-cgen 1801 installcheck-host: maybe-installcheck-dejagnu 1802 installcheck-host: maybe-installcheck-etc 1803 installcheck-host: maybe-installcheck-fastjar 1804 installcheck-host: maybe-installcheck-fixincludes 1805 installcheck-host: maybe-installcheck-flex 1806 installcheck-host: maybe-installcheck-gas 1807 installcheck-host: maybe-installcheck-gcc 1808 installcheck-host: maybe-installcheck-gmp 1809 installcheck-host: maybe-installcheck-mpfr 1810 installcheck-host: maybe-installcheck-mpc 1811 installcheck-host: maybe-installcheck-isl 1812 installcheck-host: maybe-installcheck-cloog 1813 installcheck-host: maybe-installcheck-libelf 1814 installcheck-host: maybe-installcheck-gold 1815 installcheck-host: maybe-installcheck-gprof 1816 installcheck-host: maybe-installcheck-intl 1817 installcheck-host: maybe-installcheck-tcl 1818 installcheck-host: maybe-installcheck-itcl 1819 installcheck-host: maybe-installcheck-ld 1820 installcheck-host: maybe-installcheck-libbacktrace 1821 installcheck-host: maybe-installcheck-libcpp 1822 installcheck-host: maybe-installcheck-libdecnumber 1823 installcheck-host: maybe-installcheck-libgui 1824 installcheck-host: maybe-installcheck-libiberty 1825 installcheck-host: maybe-installcheck-libiconv 1826 installcheck-host: maybe-installcheck-m4 1827 installcheck-host: maybe-installcheck-readline 1828 installcheck-host: maybe-installcheck-sid 1829 installcheck-host: maybe-installcheck-sim 1830 installcheck-host: maybe-installcheck-texinfo 1831 installcheck-host: maybe-installcheck-zlib 1832 installcheck-host: maybe-installcheck-gdb 1833 installcheck-host: maybe-installcheck-expect 1834 installcheck-host: maybe-installcheck-guile 1835 installcheck-host: maybe-installcheck-tk 1836 installcheck-host: maybe-installcheck-libtermcap 1837 installcheck-host: maybe-installcheck-utils 1838 installcheck-host: maybe-installcheck-gnattools 1839 installcheck-host: maybe-installcheck-lto-plugin 1840 1841 .PHONY: installcheck-target 1842 1843 installcheck-target: maybe-installcheck-target-libstdc++-v3 1844 installcheck-target: maybe-installcheck-target-libsanitizer 1845 installcheck-target: maybe-installcheck-target-libvtv 1846 installcheck-target: maybe-installcheck-target-libcilkrts 1847 installcheck-target: maybe-installcheck-target-libssp 1848 installcheck-target: maybe-installcheck-target-newlib 1849 installcheck-target: maybe-installcheck-target-libgcc 1850 installcheck-target: maybe-installcheck-target-libbacktrace 1851 installcheck-target: maybe-installcheck-target-libquadmath 1852 installcheck-target: maybe-installcheck-target-libgfortran 1853 installcheck-target: maybe-installcheck-target-libobjc 1854 installcheck-target: maybe-installcheck-target-libgo 1855 installcheck-target: maybe-installcheck-target-libtermcap 1856 installcheck-target: maybe-installcheck-target-winsup 1857 installcheck-target: maybe-installcheck-target-libgloss 1858 installcheck-target: maybe-installcheck-target-libffi 1859 installcheck-target: maybe-installcheck-target-libjava 1860 installcheck-target: maybe-installcheck-target-zlib 1861 installcheck-target: maybe-installcheck-target-boehm-gc 1862 installcheck-target: maybe-installcheck-target-rda 1863 installcheck-target: maybe-installcheck-target-libada 1864 installcheck-target: maybe-installcheck-target-libgomp 1865 installcheck-target: maybe-installcheck-target-libitm 1866 installcheck-target: maybe-installcheck-target-libatomic 1867 1868 .PHONY: do-mostlyclean 1869 do-mostlyclean: 1870 @: $(MAKE); $(unstage) 1871 @r=`${PWD_COMMAND}`; export r; \ 1872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1873 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \ 1874 mostlyclean-target 1875 1876 1877 .PHONY: mostlyclean-host 1878 1879 mostlyclean-host: maybe-mostlyclean-bfd 1880 mostlyclean-host: maybe-mostlyclean-opcodes 1881 mostlyclean-host: maybe-mostlyclean-binutils 1882 mostlyclean-host: maybe-mostlyclean-bison 1883 mostlyclean-host: maybe-mostlyclean-cgen 1884 mostlyclean-host: maybe-mostlyclean-dejagnu 1885 mostlyclean-host: maybe-mostlyclean-etc 1886 mostlyclean-host: maybe-mostlyclean-fastjar 1887 mostlyclean-host: maybe-mostlyclean-fixincludes 1888 mostlyclean-host: maybe-mostlyclean-flex 1889 mostlyclean-host: maybe-mostlyclean-gas 1890 mostlyclean-host: maybe-mostlyclean-gcc 1891 mostlyclean-host: maybe-mostlyclean-gmp 1892 mostlyclean-host: maybe-mostlyclean-mpfr 1893 mostlyclean-host: maybe-mostlyclean-mpc 1894 mostlyclean-host: maybe-mostlyclean-isl 1895 mostlyclean-host: maybe-mostlyclean-cloog 1896 mostlyclean-host: maybe-mostlyclean-libelf 1897 mostlyclean-host: maybe-mostlyclean-gold 1898 mostlyclean-host: maybe-mostlyclean-gprof 1899 mostlyclean-host: maybe-mostlyclean-intl 1900 mostlyclean-host: maybe-mostlyclean-tcl 1901 mostlyclean-host: maybe-mostlyclean-itcl 1902 mostlyclean-host: maybe-mostlyclean-ld 1903 mostlyclean-host: maybe-mostlyclean-libbacktrace 1904 mostlyclean-host: maybe-mostlyclean-libcpp 1905 mostlyclean-host: maybe-mostlyclean-libdecnumber 1906 mostlyclean-host: maybe-mostlyclean-libgui 1907 mostlyclean-host: maybe-mostlyclean-libiberty 1908 mostlyclean-host: maybe-mostlyclean-libiconv 1909 mostlyclean-host: maybe-mostlyclean-m4 1910 mostlyclean-host: maybe-mostlyclean-readline 1911 mostlyclean-host: maybe-mostlyclean-sid 1912 mostlyclean-host: maybe-mostlyclean-sim 1913 mostlyclean-host: maybe-mostlyclean-texinfo 1914 mostlyclean-host: maybe-mostlyclean-zlib 1915 mostlyclean-host: maybe-mostlyclean-gdb 1916 mostlyclean-host: maybe-mostlyclean-expect 1917 mostlyclean-host: maybe-mostlyclean-guile 1918 mostlyclean-host: maybe-mostlyclean-tk 1919 mostlyclean-host: maybe-mostlyclean-libtermcap 1920 mostlyclean-host: maybe-mostlyclean-utils 1921 mostlyclean-host: maybe-mostlyclean-gnattools 1922 mostlyclean-host: maybe-mostlyclean-lto-plugin 1923 1924 .PHONY: mostlyclean-target 1925 1926 mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3 1927 mostlyclean-target: maybe-mostlyclean-target-libsanitizer 1928 mostlyclean-target: maybe-mostlyclean-target-libvtv 1929 mostlyclean-target: maybe-mostlyclean-target-libcilkrts 1930 mostlyclean-target: maybe-mostlyclean-target-libssp 1931 mostlyclean-target: maybe-mostlyclean-target-newlib 1932 mostlyclean-target: maybe-mostlyclean-target-libgcc 1933 mostlyclean-target: maybe-mostlyclean-target-libbacktrace 1934 mostlyclean-target: maybe-mostlyclean-target-libquadmath 1935 mostlyclean-target: maybe-mostlyclean-target-libgfortran 1936 mostlyclean-target: maybe-mostlyclean-target-libobjc 1937 mostlyclean-target: maybe-mostlyclean-target-libgo 1938 mostlyclean-target: maybe-mostlyclean-target-libtermcap 1939 mostlyclean-target: maybe-mostlyclean-target-winsup 1940 mostlyclean-target: maybe-mostlyclean-target-libgloss 1941 mostlyclean-target: maybe-mostlyclean-target-libffi 1942 mostlyclean-target: maybe-mostlyclean-target-libjava 1943 mostlyclean-target: maybe-mostlyclean-target-zlib 1944 mostlyclean-target: maybe-mostlyclean-target-boehm-gc 1945 mostlyclean-target: maybe-mostlyclean-target-rda 1946 mostlyclean-target: maybe-mostlyclean-target-libada 1947 mostlyclean-target: maybe-mostlyclean-target-libgomp 1948 mostlyclean-target: maybe-mostlyclean-target-libitm 1949 mostlyclean-target: maybe-mostlyclean-target-libatomic 1950 1951 .PHONY: do-clean 1952 do-clean: 1953 @: $(MAKE); $(unstage) 1954 @r=`${PWD_COMMAND}`; export r; \ 1955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 1956 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \ 1957 clean-target 1958 1959 1960 .PHONY: clean-host 1961 1962 clean-host: maybe-clean-bfd 1963 clean-host: maybe-clean-opcodes 1964 clean-host: maybe-clean-binutils 1965 clean-host: maybe-clean-bison 1966 clean-host: maybe-clean-cgen 1967 clean-host: maybe-clean-dejagnu 1968 clean-host: maybe-clean-etc 1969 clean-host: maybe-clean-fastjar 1970 clean-host: maybe-clean-fixincludes 1971 clean-host: maybe-clean-flex 1972 clean-host: maybe-clean-gas 1973 clean-host: maybe-clean-gcc 1974 clean-host: maybe-clean-gmp 1975 clean-host: maybe-clean-mpfr 1976 clean-host: maybe-clean-mpc 1977 clean-host: maybe-clean-isl 1978 clean-host: maybe-clean-cloog 1979 clean-host: maybe-clean-libelf 1980 clean-host: maybe-clean-gold 1981 clean-host: maybe-clean-gprof 1982 clean-host: maybe-clean-intl 1983 clean-host: maybe-clean-tcl 1984 clean-host: maybe-clean-itcl 1985 clean-host: maybe-clean-ld 1986 clean-host: maybe-clean-libbacktrace 1987 clean-host: maybe-clean-libcpp 1988 clean-host: maybe-clean-libdecnumber 1989 clean-host: maybe-clean-libgui 1990 clean-host: maybe-clean-libiberty 1991 clean-host: maybe-clean-libiconv 1992 clean-host: maybe-clean-m4 1993 clean-host: maybe-clean-readline 1994 clean-host: maybe-clean-sid 1995 clean-host: maybe-clean-sim 1996 clean-host: maybe-clean-texinfo 1997 clean-host: maybe-clean-zlib 1998 clean-host: maybe-clean-gdb 1999 clean-host: maybe-clean-expect 2000 clean-host: maybe-clean-guile 2001 clean-host: maybe-clean-tk 2002 clean-host: maybe-clean-libtermcap 2003 clean-host: maybe-clean-utils 2004 clean-host: maybe-clean-gnattools 2005 clean-host: maybe-clean-lto-plugin 2006 2007 .PHONY: clean-target 2008 2009 clean-target: maybe-clean-target-libstdc++-v3 2010 clean-target: maybe-clean-target-libsanitizer 2011 clean-target: maybe-clean-target-libvtv 2012 clean-target: maybe-clean-target-libcilkrts 2013 clean-target: maybe-clean-target-libssp 2014 clean-target: maybe-clean-target-newlib 2015 clean-target: maybe-clean-target-libgcc 2016 clean-target: maybe-clean-target-libbacktrace 2017 clean-target: maybe-clean-target-libquadmath 2018 clean-target: maybe-clean-target-libgfortran 2019 clean-target: maybe-clean-target-libobjc 2020 clean-target: maybe-clean-target-libgo 2021 clean-target: maybe-clean-target-libtermcap 2022 clean-target: maybe-clean-target-winsup 2023 clean-target: maybe-clean-target-libgloss 2024 clean-target: maybe-clean-target-libffi 2025 clean-target: maybe-clean-target-libjava 2026 clean-target: maybe-clean-target-zlib 2027 clean-target: maybe-clean-target-boehm-gc 2028 clean-target: maybe-clean-target-rda 2029 clean-target: maybe-clean-target-libada 2030 clean-target: maybe-clean-target-libgomp 2031 clean-target: maybe-clean-target-libitm 2032 clean-target: maybe-clean-target-libatomic 2033 2034 .PHONY: do-distclean 2035 do-distclean: 2036 @: $(MAKE); $(unstage) 2037 @r=`${PWD_COMMAND}`; export r; \ 2038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2039 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \ 2040 distclean-target 2041 2042 2043 .PHONY: distclean-host 2044 2045 distclean-host: maybe-distclean-bfd 2046 distclean-host: maybe-distclean-opcodes 2047 distclean-host: maybe-distclean-binutils 2048 distclean-host: maybe-distclean-bison 2049 distclean-host: maybe-distclean-cgen 2050 distclean-host: maybe-distclean-dejagnu 2051 distclean-host: maybe-distclean-etc 2052 distclean-host: maybe-distclean-fastjar 2053 distclean-host: maybe-distclean-fixincludes 2054 distclean-host: maybe-distclean-flex 2055 distclean-host: maybe-distclean-gas 2056 distclean-host: maybe-distclean-gcc 2057 distclean-host: maybe-distclean-gmp 2058 distclean-host: maybe-distclean-mpfr 2059 distclean-host: maybe-distclean-mpc 2060 distclean-host: maybe-distclean-isl 2061 distclean-host: maybe-distclean-cloog 2062 distclean-host: maybe-distclean-libelf 2063 distclean-host: maybe-distclean-gold 2064 distclean-host: maybe-distclean-gprof 2065 distclean-host: maybe-distclean-intl 2066 distclean-host: maybe-distclean-tcl 2067 distclean-host: maybe-distclean-itcl 2068 distclean-host: maybe-distclean-ld 2069 distclean-host: maybe-distclean-libbacktrace 2070 distclean-host: maybe-distclean-libcpp 2071 distclean-host: maybe-distclean-libdecnumber 2072 distclean-host: maybe-distclean-libgui 2073 distclean-host: maybe-distclean-libiberty 2074 distclean-host: maybe-distclean-libiconv 2075 distclean-host: maybe-distclean-m4 2076 distclean-host: maybe-distclean-readline 2077 distclean-host: maybe-distclean-sid 2078 distclean-host: maybe-distclean-sim 2079 distclean-host: maybe-distclean-texinfo 2080 distclean-host: maybe-distclean-zlib 2081 distclean-host: maybe-distclean-gdb 2082 distclean-host: maybe-distclean-expect 2083 distclean-host: maybe-distclean-guile 2084 distclean-host: maybe-distclean-tk 2085 distclean-host: maybe-distclean-libtermcap 2086 distclean-host: maybe-distclean-utils 2087 distclean-host: maybe-distclean-gnattools 2088 distclean-host: maybe-distclean-lto-plugin 2089 2090 .PHONY: distclean-target 2091 2092 distclean-target: maybe-distclean-target-libstdc++-v3 2093 distclean-target: maybe-distclean-target-libsanitizer 2094 distclean-target: maybe-distclean-target-libvtv 2095 distclean-target: maybe-distclean-target-libcilkrts 2096 distclean-target: maybe-distclean-target-libssp 2097 distclean-target: maybe-distclean-target-newlib 2098 distclean-target: maybe-distclean-target-libgcc 2099 distclean-target: maybe-distclean-target-libbacktrace 2100 distclean-target: maybe-distclean-target-libquadmath 2101 distclean-target: maybe-distclean-target-libgfortran 2102 distclean-target: maybe-distclean-target-libobjc 2103 distclean-target: maybe-distclean-target-libgo 2104 distclean-target: maybe-distclean-target-libtermcap 2105 distclean-target: maybe-distclean-target-winsup 2106 distclean-target: maybe-distclean-target-libgloss 2107 distclean-target: maybe-distclean-target-libffi 2108 distclean-target: maybe-distclean-target-libjava 2109 distclean-target: maybe-distclean-target-zlib 2110 distclean-target: maybe-distclean-target-boehm-gc 2111 distclean-target: maybe-distclean-target-rda 2112 distclean-target: maybe-distclean-target-libada 2113 distclean-target: maybe-distclean-target-libgomp 2114 distclean-target: maybe-distclean-target-libitm 2115 distclean-target: maybe-distclean-target-libatomic 2116 2117 .PHONY: do-maintainer-clean 2118 do-maintainer-clean: 2119 @: $(MAKE); $(unstage) 2120 @r=`${PWD_COMMAND}`; export r; \ 2121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2122 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \ 2123 maintainer-clean-target 2124 2125 2126 .PHONY: maintainer-clean-host 2127 2128 maintainer-clean-host: maybe-maintainer-clean-bfd 2129 maintainer-clean-host: maybe-maintainer-clean-opcodes 2130 maintainer-clean-host: maybe-maintainer-clean-binutils 2131 maintainer-clean-host: maybe-maintainer-clean-bison 2132 maintainer-clean-host: maybe-maintainer-clean-cgen 2133 maintainer-clean-host: maybe-maintainer-clean-dejagnu 2134 maintainer-clean-host: maybe-maintainer-clean-etc 2135 maintainer-clean-host: maybe-maintainer-clean-fastjar 2136 maintainer-clean-host: maybe-maintainer-clean-fixincludes 2137 maintainer-clean-host: maybe-maintainer-clean-flex 2138 maintainer-clean-host: maybe-maintainer-clean-gas 2139 maintainer-clean-host: maybe-maintainer-clean-gcc 2140 maintainer-clean-host: maybe-maintainer-clean-gmp 2141 maintainer-clean-host: maybe-maintainer-clean-mpfr 2142 maintainer-clean-host: maybe-maintainer-clean-mpc 2143 maintainer-clean-host: maybe-maintainer-clean-isl 2144 maintainer-clean-host: maybe-maintainer-clean-cloog 2145 maintainer-clean-host: maybe-maintainer-clean-libelf 2146 maintainer-clean-host: maybe-maintainer-clean-gold 2147 maintainer-clean-host: maybe-maintainer-clean-gprof 2148 maintainer-clean-host: maybe-maintainer-clean-intl 2149 maintainer-clean-host: maybe-maintainer-clean-tcl 2150 maintainer-clean-host: maybe-maintainer-clean-itcl 2151 maintainer-clean-host: maybe-maintainer-clean-ld 2152 maintainer-clean-host: maybe-maintainer-clean-libbacktrace 2153 maintainer-clean-host: maybe-maintainer-clean-libcpp 2154 maintainer-clean-host: maybe-maintainer-clean-libdecnumber 2155 maintainer-clean-host: maybe-maintainer-clean-libgui 2156 maintainer-clean-host: maybe-maintainer-clean-libiberty 2157 maintainer-clean-host: maybe-maintainer-clean-libiconv 2158 maintainer-clean-host: maybe-maintainer-clean-m4 2159 maintainer-clean-host: maybe-maintainer-clean-readline 2160 maintainer-clean-host: maybe-maintainer-clean-sid 2161 maintainer-clean-host: maybe-maintainer-clean-sim 2162 maintainer-clean-host: maybe-maintainer-clean-texinfo 2163 maintainer-clean-host: maybe-maintainer-clean-zlib 2164 maintainer-clean-host: maybe-maintainer-clean-gdb 2165 maintainer-clean-host: maybe-maintainer-clean-expect 2166 maintainer-clean-host: maybe-maintainer-clean-guile 2167 maintainer-clean-host: maybe-maintainer-clean-tk 2168 maintainer-clean-host: maybe-maintainer-clean-libtermcap 2169 maintainer-clean-host: maybe-maintainer-clean-utils 2170 maintainer-clean-host: maybe-maintainer-clean-gnattools 2171 maintainer-clean-host: maybe-maintainer-clean-lto-plugin 2172 2173 .PHONY: maintainer-clean-target 2174 2175 maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3 2176 maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer 2177 maintainer-clean-target: maybe-maintainer-clean-target-libvtv 2178 maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts 2179 maintainer-clean-target: maybe-maintainer-clean-target-libssp 2180 maintainer-clean-target: maybe-maintainer-clean-target-newlib 2181 maintainer-clean-target: maybe-maintainer-clean-target-libgcc 2182 maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace 2183 maintainer-clean-target: maybe-maintainer-clean-target-libquadmath 2184 maintainer-clean-target: maybe-maintainer-clean-target-libgfortran 2185 maintainer-clean-target: maybe-maintainer-clean-target-libobjc 2186 maintainer-clean-target: maybe-maintainer-clean-target-libgo 2187 maintainer-clean-target: maybe-maintainer-clean-target-libtermcap 2188 maintainer-clean-target: maybe-maintainer-clean-target-winsup 2189 maintainer-clean-target: maybe-maintainer-clean-target-libgloss 2190 maintainer-clean-target: maybe-maintainer-clean-target-libffi 2191 maintainer-clean-target: maybe-maintainer-clean-target-libjava 2192 maintainer-clean-target: maybe-maintainer-clean-target-zlib 2193 maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc 2194 maintainer-clean-target: maybe-maintainer-clean-target-rda 2195 maintainer-clean-target: maybe-maintainer-clean-target-libada 2196 maintainer-clean-target: maybe-maintainer-clean-target-libgomp 2197 maintainer-clean-target: maybe-maintainer-clean-target-libitm 2198 maintainer-clean-target: maybe-maintainer-clean-target-libatomic 2199 2200 2201 # Here are the targets which correspond to the do-X targets. 2202 2203 .PHONY: info installcheck dvi pdf html 2204 .PHONY: install-info install-pdf install-html 2205 .PHONY: clean distclean mostlyclean maintainer-clean realclean 2206 .PHONY: local-clean local-distclean local-maintainer-clean 2207 info: do-info 2208 installcheck: do-installcheck 2209 dvi: do-dvi 2210 pdf: do-pdf 2211 html: do-html 2212 2213 # Make sure makeinfo is built before we do a `make info', if we're 2214 # in fact building texinfo. 2215 do-info: maybe-all-texinfo 2216 2217 install-info: do-install-info dir.info 2218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2219 if [ -f dir.info ] ; then \ 2220 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \ 2221 else true ; fi 2222 2223 install-pdf: do-install-pdf 2224 2225 install-html: do-install-html 2226 2227 local-clean: 2228 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log 2229 2230 local-distclean: 2231 -rm -f Makefile config.status config.cache mh-frag mt-frag 2232 -rm -f maybedep.tmp serdep.tmp 2233 -if [ "$(TARGET_SUBDIR)" != "." ]; then \ 2234 rm -rf $(TARGET_SUBDIR); \ 2235 else true; fi 2236 -rm -rf $(BUILD_SUBDIR) 2237 -if [ "$(HOST_SUBDIR)" != "." ]; then \ 2238 rm -rf $(HOST_SUBDIR); \ 2239 else true; fi 2240 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile 2241 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES 2242 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null 2243 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null 2244 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null 2245 -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null 2246 2247 local-maintainer-clean: 2248 @echo "This command is intended for maintainers to use;" 2249 @echo "it deletes files that may require special tools to rebuild." 2250 2251 clean: do-clean local-clean 2252 mostlyclean: do-mostlyclean local-clean 2253 distclean: do-distclean local-clean local-distclean 2254 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean 2255 maintainer-clean: local-distclean 2256 realclean: maintainer-clean 2257 2258 # Check target. 2259 2260 .PHONY: check do-check 2261 check: do-check 2262 2263 # Only include modules actually being configured and built. 2264 .PHONY: check-host 2265 check-host: \ 2266 maybe-check-bfd \ 2267 maybe-check-opcodes \ 2268 maybe-check-binutils \ 2269 maybe-check-bison \ 2270 maybe-check-cgen \ 2271 maybe-check-dejagnu \ 2272 maybe-check-etc \ 2273 maybe-check-fastjar \ 2274 maybe-check-fixincludes \ 2275 maybe-check-flex \ 2276 maybe-check-gas \ 2277 maybe-check-gcc \ 2278 maybe-check-gmp \ 2279 maybe-check-mpfr \ 2280 maybe-check-mpc \ 2281 maybe-check-isl \ 2282 maybe-check-cloog \ 2283 maybe-check-libelf \ 2284 maybe-check-gold \ 2285 maybe-check-gprof \ 2286 maybe-check-intl \ 2287 maybe-check-tcl \ 2288 maybe-check-itcl \ 2289 maybe-check-ld \ 2290 maybe-check-libbacktrace \ 2291 maybe-check-libcpp \ 2292 maybe-check-libdecnumber \ 2293 maybe-check-libgui \ 2294 maybe-check-libiberty \ 2295 maybe-check-libiconv \ 2296 maybe-check-m4 \ 2297 maybe-check-readline \ 2298 maybe-check-sid \ 2299 maybe-check-sim \ 2300 maybe-check-texinfo \ 2301 maybe-check-zlib \ 2302 maybe-check-gdb \ 2303 maybe-check-expect \ 2304 maybe-check-guile \ 2305 maybe-check-tk \ 2306 maybe-check-libtermcap \ 2307 maybe-check-utils \ 2308 maybe-check-gnattools \ 2309 maybe-check-lto-plugin 2310 2311 .PHONY: check-target 2312 check-target: \ 2313 maybe-check-target-libstdc++-v3 \ 2314 maybe-check-target-libsanitizer \ 2315 maybe-check-target-libvtv \ 2316 maybe-check-target-libcilkrts \ 2317 maybe-check-target-libssp \ 2318 maybe-check-target-newlib \ 2319 maybe-check-target-libgcc \ 2320 maybe-check-target-libbacktrace \ 2321 maybe-check-target-libquadmath \ 2322 maybe-check-target-libgfortran \ 2323 maybe-check-target-libobjc \ 2324 maybe-check-target-libgo \ 2325 maybe-check-target-libtermcap \ 2326 maybe-check-target-winsup \ 2327 maybe-check-target-libgloss \ 2328 maybe-check-target-libffi \ 2329 maybe-check-target-libjava \ 2330 maybe-check-target-zlib \ 2331 maybe-check-target-boehm-gc \ 2332 maybe-check-target-rda \ 2333 maybe-check-target-libada \ 2334 maybe-check-target-libgomp \ 2335 maybe-check-target-libitm \ 2336 maybe-check-target-libatomic 2337 2338 do-check: 2339 @: $(MAKE); $(unstage) 2340 @r=`${PWD_COMMAND}`; export r; \ 2341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2342 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target 2343 2344 # Automated reporting of test results. 2345 2346 warning.log: build.log 2347 $(srcdir)/contrib/warn_summary build.log > $@ 2348 2349 mail-report.log: 2350 if test x'$(BOOT_CFLAGS)' != x''; then \ 2351 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ 2352 fi; \ 2353 $(srcdir)/contrib/test_summary -t >$@ 2354 chmod +x $@ 2355 echo If you really want to send e-mail, run ./$@ now 2356 2357 mail-report-with-warnings.log: warning.log 2358 if test x'$(BOOT_CFLAGS)' != x''; then \ 2359 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \ 2360 fi; \ 2361 $(srcdir)/contrib/test_summary -t -i warning.log >$@ 2362 chmod +x $@ 2363 echo If you really want to send e-mail, run ./$@ now 2364 2365 # Installation targets. 2366 2367 .PHONY: install uninstall 2368 install: 2369 @: $(MAKE); $(unstage) 2370 @r=`${PWD_COMMAND}`; export r; \ 2371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2372 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target 2373 2374 .PHONY: install-host-nogcc 2375 install-host-nogcc: \ 2376 maybe-install-bfd \ 2377 maybe-install-opcodes \ 2378 maybe-install-binutils \ 2379 maybe-install-bison \ 2380 maybe-install-cgen \ 2381 maybe-install-dejagnu \ 2382 maybe-install-etc \ 2383 maybe-install-fastjar \ 2384 maybe-install-fixincludes \ 2385 maybe-install-flex \ 2386 maybe-install-gas \ 2387 maybe-install-gmp \ 2388 maybe-install-mpfr \ 2389 maybe-install-mpc \ 2390 maybe-install-isl \ 2391 maybe-install-cloog \ 2392 maybe-install-libelf \ 2393 maybe-install-gold \ 2394 maybe-install-gprof \ 2395 maybe-install-intl \ 2396 maybe-install-tcl \ 2397 maybe-install-itcl \ 2398 maybe-install-ld \ 2399 maybe-install-libbacktrace \ 2400 maybe-install-libcpp \ 2401 maybe-install-libdecnumber \ 2402 maybe-install-libgui \ 2403 maybe-install-libiberty \ 2404 maybe-install-libiconv \ 2405 maybe-install-m4 \ 2406 maybe-install-readline \ 2407 maybe-install-sid \ 2408 maybe-install-sim \ 2409 maybe-install-texinfo \ 2410 maybe-install-zlib \ 2411 maybe-install-gdb \ 2412 maybe-install-expect \ 2413 maybe-install-guile \ 2414 maybe-install-tk \ 2415 maybe-install-libtermcap \ 2416 maybe-install-utils \ 2417 maybe-install-gnattools \ 2418 maybe-install-lto-plugin 2419 2420 .PHONY: install-host 2421 install-host: \ 2422 maybe-install-bfd \ 2423 maybe-install-opcodes \ 2424 maybe-install-binutils \ 2425 maybe-install-bison \ 2426 maybe-install-cgen \ 2427 maybe-install-dejagnu \ 2428 maybe-install-etc \ 2429 maybe-install-fastjar \ 2430 maybe-install-fixincludes \ 2431 maybe-install-flex \ 2432 maybe-install-gas \ 2433 maybe-install-gcc \ 2434 maybe-install-gmp \ 2435 maybe-install-mpfr \ 2436 maybe-install-mpc \ 2437 maybe-install-isl \ 2438 maybe-install-cloog \ 2439 maybe-install-libelf \ 2440 maybe-install-gold \ 2441 maybe-install-gprof \ 2442 maybe-install-intl \ 2443 maybe-install-tcl \ 2444 maybe-install-itcl \ 2445 maybe-install-ld \ 2446 maybe-install-libbacktrace \ 2447 maybe-install-libcpp \ 2448 maybe-install-libdecnumber \ 2449 maybe-install-libgui \ 2450 maybe-install-libiberty \ 2451 maybe-install-libiconv \ 2452 maybe-install-m4 \ 2453 maybe-install-readline \ 2454 maybe-install-sid \ 2455 maybe-install-sim \ 2456 maybe-install-texinfo \ 2457 maybe-install-zlib \ 2458 maybe-install-gdb \ 2459 maybe-install-expect \ 2460 maybe-install-guile \ 2461 maybe-install-tk \ 2462 maybe-install-libtermcap \ 2463 maybe-install-utils \ 2464 maybe-install-gnattools \ 2465 maybe-install-lto-plugin 2466 2467 .PHONY: install-target 2468 install-target: \ 2469 maybe-install-target-libstdc++-v3 \ 2470 maybe-install-target-libsanitizer \ 2471 maybe-install-target-libvtv \ 2472 maybe-install-target-libcilkrts \ 2473 maybe-install-target-libssp \ 2474 maybe-install-target-newlib \ 2475 maybe-install-target-libgcc \ 2476 maybe-install-target-libbacktrace \ 2477 maybe-install-target-libquadmath \ 2478 maybe-install-target-libgfortran \ 2479 maybe-install-target-libobjc \ 2480 maybe-install-target-libgo \ 2481 maybe-install-target-libtermcap \ 2482 maybe-install-target-winsup \ 2483 maybe-install-target-libgloss \ 2484 maybe-install-target-libffi \ 2485 maybe-install-target-libjava \ 2486 maybe-install-target-zlib \ 2487 maybe-install-target-boehm-gc \ 2488 maybe-install-target-rda \ 2489 maybe-install-target-libada \ 2490 maybe-install-target-libgomp \ 2491 maybe-install-target-libitm \ 2492 maybe-install-target-libatomic 2493 2494 uninstall: 2495 @echo "the uninstall target is not supported in this tree" 2496 2497 .PHONY: install.all 2498 install.all: install-no-fixedincludes 2499 @if [ -f ./gcc/Makefile ] ; then \ 2500 r=`${PWD_COMMAND}` ; export r ; \ 2501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2502 $(HOST_EXPORTS) \ 2503 (cd ./gcc && \ 2504 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \ 2505 else \ 2506 true ; \ 2507 fi 2508 2509 # install-no-fixedincludes is used to allow the elaboration of binary packages 2510 # suitable for distribution, where we cannot include the fixed system header 2511 # files. 2512 .PHONY: install-no-fixedincludes 2513 install-no-fixedincludes: installdirs install-host-nogcc \ 2514 install-target gcc-install-no-fixedincludes 2515 2516 .PHONY: install-strip 2517 install-strip: 2518 @: $(MAKE); $(unstage) 2519 @r=`${PWD_COMMAND}`; export r; \ 2520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2521 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target 2522 2523 .PHONY: install-strip-host 2524 install-strip-host: \ 2525 maybe-install-strip-bfd \ 2526 maybe-install-strip-opcodes \ 2527 maybe-install-strip-binutils \ 2528 maybe-install-strip-bison \ 2529 maybe-install-strip-cgen \ 2530 maybe-install-strip-dejagnu \ 2531 maybe-install-strip-etc \ 2532 maybe-install-strip-fastjar \ 2533 maybe-install-strip-fixincludes \ 2534 maybe-install-strip-flex \ 2535 maybe-install-strip-gas \ 2536 maybe-install-strip-gcc \ 2537 maybe-install-strip-gmp \ 2538 maybe-install-strip-mpfr \ 2539 maybe-install-strip-mpc \ 2540 maybe-install-strip-isl \ 2541 maybe-install-strip-cloog \ 2542 maybe-install-strip-libelf \ 2543 maybe-install-strip-gold \ 2544 maybe-install-strip-gprof \ 2545 maybe-install-strip-intl \ 2546 maybe-install-strip-tcl \ 2547 maybe-install-strip-itcl \ 2548 maybe-install-strip-ld \ 2549 maybe-install-strip-libbacktrace \ 2550 maybe-install-strip-libcpp \ 2551 maybe-install-strip-libdecnumber \ 2552 maybe-install-strip-libgui \ 2553 maybe-install-strip-libiberty \ 2554 maybe-install-strip-libiconv \ 2555 maybe-install-strip-m4 \ 2556 maybe-install-strip-readline \ 2557 maybe-install-strip-sid \ 2558 maybe-install-strip-sim \ 2559 maybe-install-strip-texinfo \ 2560 maybe-install-strip-zlib \ 2561 maybe-install-strip-gdb \ 2562 maybe-install-strip-expect \ 2563 maybe-install-strip-guile \ 2564 maybe-install-strip-tk \ 2565 maybe-install-strip-libtermcap \ 2566 maybe-install-strip-utils \ 2567 maybe-install-strip-gnattools \ 2568 maybe-install-strip-lto-plugin 2569 2570 .PHONY: install-strip-target 2571 install-strip-target: \ 2572 maybe-install-strip-target-libstdc++-v3 \ 2573 maybe-install-strip-target-libsanitizer \ 2574 maybe-install-strip-target-libvtv \ 2575 maybe-install-strip-target-libcilkrts \ 2576 maybe-install-strip-target-libssp \ 2577 maybe-install-strip-target-newlib \ 2578 maybe-install-strip-target-libgcc \ 2579 maybe-install-strip-target-libbacktrace \ 2580 maybe-install-strip-target-libquadmath \ 2581 maybe-install-strip-target-libgfortran \ 2582 maybe-install-strip-target-libobjc \ 2583 maybe-install-strip-target-libgo \ 2584 maybe-install-strip-target-libtermcap \ 2585 maybe-install-strip-target-winsup \ 2586 maybe-install-strip-target-libgloss \ 2587 maybe-install-strip-target-libffi \ 2588 maybe-install-strip-target-libjava \ 2589 maybe-install-strip-target-zlib \ 2590 maybe-install-strip-target-boehm-gc \ 2591 maybe-install-strip-target-rda \ 2592 maybe-install-strip-target-libada \ 2593 maybe-install-strip-target-libgomp \ 2594 maybe-install-strip-target-libitm \ 2595 maybe-install-strip-target-libatomic 2596 2597 2598 ### other supporting targets 2599 2600 MAKEDIRS= \ 2601 $(DESTDIR)$(prefix) \ 2602 $(DESTDIR)$(exec_prefix) 2603 .PHONY: installdirs 2604 installdirs: mkinstalldirs 2605 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS) 2606 2607 dir.info: do-install-info 2608 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \ 2609 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \ 2610 mv -f dir.info.new dir.info ; \ 2611 else true ; \ 2612 fi 2613 2614 dist: 2615 @echo "Building a full distribution of this tree isn't done" 2616 @echo "via 'make dist'. Check out the etc/ subdirectory" 2617 2618 etags tags: TAGS 2619 2620 # Right now this just builds TAGS in each subdirectory. emacs19 has the 2621 # ability to use several tags files at once, so there is probably no need 2622 # to combine them into one big TAGS file (like CVS 1.3 does). We could 2623 # (if we felt like it) have this Makefile write a piece of elisp which 2624 # the user could load to tell emacs19 where all the TAGS files we just 2625 # built are. 2626 TAGS: do-TAGS 2627 2628 # ------------------------------------ 2629 # Macros for configure and all targets 2630 # ------------------------------------ 2631 2632 2633 2634 2635 2636 # -------------------------------------- 2637 # Modules which run on the build machine 2638 # -------------------------------------- 2639 2640 2641 .PHONY: configure-build-libiberty maybe-configure-build-libiberty 2642 maybe-configure-build-libiberty: 2643 @if gcc-bootstrap 2644 configure-build-libiberty: stage_current 2645 @endif gcc-bootstrap 2646 @if build-libiberty 2647 maybe-configure-build-libiberty: configure-build-libiberty 2648 configure-build-libiberty: 2649 @: $(MAKE); $(unstage) 2650 @r=`${PWD_COMMAND}`; export r; \ 2651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2652 test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \ 2653 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \ 2654 $(BUILD_EXPORTS) \ 2655 echo Configuring in $(BUILD_SUBDIR)/libiberty; \ 2656 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \ 2657 case $(srcdir) in \ 2658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 2659 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \ 2660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 2661 esac; \ 2662 srcdiroption="--srcdir=$${topdir}/libiberty"; \ 2663 libsrcdir="$$s/libiberty"; \ 2664 rm -f no-such-file || : ; \ 2665 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 2666 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ 2667 --target=${target_alias} $${srcdiroption} \ 2668 || exit 1 2669 @endif build-libiberty 2670 2671 2672 2673 2674 2675 .PHONY: all-build-libiberty maybe-all-build-libiberty 2676 maybe-all-build-libiberty: 2677 @if gcc-bootstrap 2678 all-build-libiberty: stage_current 2679 @endif gcc-bootstrap 2680 @if build-libiberty 2681 TARGET-build-libiberty=all 2682 maybe-all-build-libiberty: all-build-libiberty 2683 all-build-libiberty: configure-build-libiberty 2684 @: $(MAKE); $(unstage) 2685 @r=`${PWD_COMMAND}`; export r; \ 2686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2687 $(BUILD_EXPORTS) \ 2688 (cd $(BUILD_SUBDIR)/libiberty && \ 2689 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ 2690 $(TARGET-build-libiberty)) 2691 @endif build-libiberty 2692 2693 2694 2695 2696 2697 .PHONY: configure-build-bison maybe-configure-build-bison 2698 maybe-configure-build-bison: 2699 @if gcc-bootstrap 2700 configure-build-bison: stage_current 2701 @endif gcc-bootstrap 2702 @if build-bison 2703 maybe-configure-build-bison: configure-build-bison 2704 configure-build-bison: 2705 @: $(MAKE); $(unstage) 2706 @r=`${PWD_COMMAND}`; export r; \ 2707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2708 test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \ 2709 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \ 2710 $(BUILD_EXPORTS) \ 2711 echo Configuring in $(BUILD_SUBDIR)/bison; \ 2712 cd "$(BUILD_SUBDIR)/bison" || exit 1; \ 2713 case $(srcdir) in \ 2714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 2715 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \ 2716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 2717 esac; \ 2718 srcdiroption="--srcdir=$${topdir}/bison"; \ 2719 libsrcdir="$$s/bison"; \ 2720 rm -f no-such-file || : ; \ 2721 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 2722 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ 2723 --target=${target_alias} $${srcdiroption} \ 2724 || exit 1 2725 @endif build-bison 2726 2727 2728 2729 2730 2731 .PHONY: all-build-bison maybe-all-build-bison 2732 maybe-all-build-bison: 2733 @if gcc-bootstrap 2734 all-build-bison: stage_current 2735 @endif gcc-bootstrap 2736 @if build-bison 2737 TARGET-build-bison=all 2738 maybe-all-build-bison: all-build-bison 2739 all-build-bison: configure-build-bison 2740 @: $(MAKE); $(unstage) 2741 @r=`${PWD_COMMAND}`; export r; \ 2742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2743 $(BUILD_EXPORTS) \ 2744 (cd $(BUILD_SUBDIR)/bison && \ 2745 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ 2746 $(TARGET-build-bison)) 2747 @endif build-bison 2748 2749 2750 2751 2752 2753 .PHONY: configure-build-flex maybe-configure-build-flex 2754 maybe-configure-build-flex: 2755 @if gcc-bootstrap 2756 configure-build-flex: stage_current 2757 @endif gcc-bootstrap 2758 @if build-flex 2759 maybe-configure-build-flex: configure-build-flex 2760 configure-build-flex: 2761 @: $(MAKE); $(unstage) 2762 @r=`${PWD_COMMAND}`; export r; \ 2763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2764 test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \ 2765 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \ 2766 $(BUILD_EXPORTS) \ 2767 echo Configuring in $(BUILD_SUBDIR)/flex; \ 2768 cd "$(BUILD_SUBDIR)/flex" || exit 1; \ 2769 case $(srcdir) in \ 2770 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 2771 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \ 2772 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 2773 esac; \ 2774 srcdiroption="--srcdir=$${topdir}/flex"; \ 2775 libsrcdir="$$s/flex"; \ 2776 rm -f no-such-file || : ; \ 2777 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 2778 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ 2779 --target=${target_alias} $${srcdiroption} \ 2780 || exit 1 2781 @endif build-flex 2782 2783 2784 2785 2786 2787 .PHONY: all-build-flex maybe-all-build-flex 2788 maybe-all-build-flex: 2789 @if gcc-bootstrap 2790 all-build-flex: stage_current 2791 @endif gcc-bootstrap 2792 @if build-flex 2793 TARGET-build-flex=all 2794 maybe-all-build-flex: all-build-flex 2795 all-build-flex: configure-build-flex 2796 @: $(MAKE); $(unstage) 2797 @r=`${PWD_COMMAND}`; export r; \ 2798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2799 $(BUILD_EXPORTS) \ 2800 (cd $(BUILD_SUBDIR)/flex && \ 2801 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ 2802 $(TARGET-build-flex)) 2803 @endif build-flex 2804 2805 2806 2807 2808 2809 .PHONY: configure-build-m4 maybe-configure-build-m4 2810 maybe-configure-build-m4: 2811 @if gcc-bootstrap 2812 configure-build-m4: stage_current 2813 @endif gcc-bootstrap 2814 @if build-m4 2815 maybe-configure-build-m4: configure-build-m4 2816 configure-build-m4: 2817 @: $(MAKE); $(unstage) 2818 @r=`${PWD_COMMAND}`; export r; \ 2819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2820 test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \ 2821 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \ 2822 $(BUILD_EXPORTS) \ 2823 echo Configuring in $(BUILD_SUBDIR)/m4; \ 2824 cd "$(BUILD_SUBDIR)/m4" || exit 1; \ 2825 case $(srcdir) in \ 2826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 2827 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \ 2828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 2829 esac; \ 2830 srcdiroption="--srcdir=$${topdir}/m4"; \ 2831 libsrcdir="$$s/m4"; \ 2832 rm -f no-such-file || : ; \ 2833 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 2834 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ 2835 --target=${target_alias} $${srcdiroption} \ 2836 || exit 1 2837 @endif build-m4 2838 2839 2840 2841 2842 2843 .PHONY: all-build-m4 maybe-all-build-m4 2844 maybe-all-build-m4: 2845 @if gcc-bootstrap 2846 all-build-m4: stage_current 2847 @endif gcc-bootstrap 2848 @if build-m4 2849 TARGET-build-m4=all 2850 maybe-all-build-m4: all-build-m4 2851 all-build-m4: configure-build-m4 2852 @: $(MAKE); $(unstage) 2853 @r=`${PWD_COMMAND}`; export r; \ 2854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2855 $(BUILD_EXPORTS) \ 2856 (cd $(BUILD_SUBDIR)/m4 && \ 2857 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ 2858 $(TARGET-build-m4)) 2859 @endif build-m4 2860 2861 2862 2863 2864 2865 .PHONY: configure-build-texinfo maybe-configure-build-texinfo 2866 maybe-configure-build-texinfo: 2867 @if gcc-bootstrap 2868 configure-build-texinfo: stage_current 2869 @endif gcc-bootstrap 2870 @if build-texinfo 2871 maybe-configure-build-texinfo: configure-build-texinfo 2872 configure-build-texinfo: 2873 @: $(MAKE); $(unstage) 2874 @r=`${PWD_COMMAND}`; export r; \ 2875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2876 test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \ 2877 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \ 2878 $(BUILD_EXPORTS) \ 2879 echo Configuring in $(BUILD_SUBDIR)/texinfo; \ 2880 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \ 2881 case $(srcdir) in \ 2882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 2883 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \ 2884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 2885 esac; \ 2886 srcdiroption="--srcdir=$${topdir}/texinfo"; \ 2887 libsrcdir="$$s/texinfo"; \ 2888 rm -f no-such-file || : ; \ 2889 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 2890 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ 2891 --target=${target_alias} $${srcdiroption} \ 2892 || exit 1 2893 @endif build-texinfo 2894 2895 2896 2897 2898 2899 .PHONY: all-build-texinfo maybe-all-build-texinfo 2900 maybe-all-build-texinfo: 2901 @if gcc-bootstrap 2902 all-build-texinfo: stage_current 2903 @endif gcc-bootstrap 2904 @if build-texinfo 2905 TARGET-build-texinfo=all 2906 maybe-all-build-texinfo: all-build-texinfo 2907 all-build-texinfo: configure-build-texinfo 2908 @: $(MAKE); $(unstage) 2909 @r=`${PWD_COMMAND}`; export r; \ 2910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2911 $(BUILD_EXPORTS) \ 2912 (cd $(BUILD_SUBDIR)/texinfo && \ 2913 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ 2914 $(TARGET-build-texinfo)) 2915 @endif build-texinfo 2916 2917 2918 2919 2920 2921 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes 2922 maybe-configure-build-fixincludes: 2923 @if gcc-bootstrap 2924 configure-build-fixincludes: stage_current 2925 @endif gcc-bootstrap 2926 @if build-fixincludes 2927 maybe-configure-build-fixincludes: configure-build-fixincludes 2928 configure-build-fixincludes: 2929 @: $(MAKE); $(unstage) 2930 @r=`${PWD_COMMAND}`; export r; \ 2931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2932 test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \ 2933 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \ 2934 $(BUILD_EXPORTS) \ 2935 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \ 2936 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \ 2937 case $(srcdir) in \ 2938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 2939 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \ 2940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 2941 esac; \ 2942 srcdiroption="--srcdir=$${topdir}/fixincludes"; \ 2943 libsrcdir="$$s/fixincludes"; \ 2944 rm -f no-such-file || : ; \ 2945 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 2946 $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \ 2947 --target=${target_alias} $${srcdiroption} \ 2948 || exit 1 2949 @endif build-fixincludes 2950 2951 2952 2953 2954 2955 .PHONY: all-build-fixincludes maybe-all-build-fixincludes 2956 maybe-all-build-fixincludes: 2957 @if gcc-bootstrap 2958 all-build-fixincludes: stage_current 2959 @endif gcc-bootstrap 2960 @if build-fixincludes 2961 TARGET-build-fixincludes=all 2962 maybe-all-build-fixincludes: all-build-fixincludes 2963 all-build-fixincludes: configure-build-fixincludes 2964 @: $(MAKE); $(unstage) 2965 @r=`${PWD_COMMAND}`; export r; \ 2966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2967 $(BUILD_EXPORTS) \ 2968 (cd $(BUILD_SUBDIR)/fixincludes && \ 2969 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ 2970 $(TARGET-build-fixincludes)) 2971 @endif build-fixincludes 2972 2973 2974 2975 2976 2977 # -------------------------------------- 2978 # Modules which run on the host machine 2979 # -------------------------------------- 2980 2981 2982 .PHONY: configure-bfd maybe-configure-bfd 2983 maybe-configure-bfd: 2984 @if gcc-bootstrap 2985 configure-bfd: stage_current 2986 @endif gcc-bootstrap 2987 @if bfd 2988 maybe-configure-bfd: configure-bfd 2989 configure-bfd: 2990 @r=`${PWD_COMMAND}`; export r; \ 2991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 2992 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ 2993 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ 2994 $(HOST_EXPORTS) \ 2995 echo Configuring in $(HOST_SUBDIR)/bfd; \ 2996 cd "$(HOST_SUBDIR)/bfd" || exit 1; \ 2997 case $(srcdir) in \ 2998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 2999 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ 3000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 3001 esac; \ 3002 srcdiroption="--srcdir=$${topdir}/bfd"; \ 3003 libsrcdir="$$s/bfd"; \ 3004 $(SHELL) $${libsrcdir}/configure \ 3005 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 3006 --target=${target_alias} $${srcdiroption} \ 3007 || exit 1 3008 @endif bfd 3009 3010 3011 3012 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd 3013 maybe-configure-stage1-bfd: 3014 @if bfd-bootstrap 3015 maybe-configure-stage1-bfd: configure-stage1-bfd 3016 configure-stage1-bfd: 3017 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 3018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd 3019 @r=`${PWD_COMMAND}`; export r; \ 3020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3021 TFLAGS="$(STAGE1_TFLAGS)"; \ 3022 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ 3023 $(HOST_EXPORTS) \ 3024 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 3025 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 3026 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 3027 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \ 3028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ 3029 cd $(HOST_SUBDIR)/bfd || exit 1; \ 3030 case $(srcdir) in \ 3031 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 3032 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ 3033 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 3034 esac; \ 3035 srcdiroption="--srcdir=$${topdir}/bfd"; \ 3036 libsrcdir="$$s/bfd"; \ 3037 $(SHELL) $${libsrcdir}/configure \ 3038 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 3039 --target=${target_alias} $${srcdiroption} \ 3040 $(STAGE1_CONFIGURE_FLAGS) 3041 @endif bfd-bootstrap 3042 3043 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd 3044 maybe-configure-stage2-bfd: 3045 @if bfd-bootstrap 3046 maybe-configure-stage2-bfd: configure-stage2-bfd 3047 configure-stage2-bfd: 3048 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 3049 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd 3050 @r=`${PWD_COMMAND}`; export r; \ 3051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3052 TFLAGS="$(STAGE2_TFLAGS)"; \ 3053 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ 3054 $(HOST_EXPORTS) \ 3055 $(POSTSTAGE1_HOST_EXPORTS) \ 3056 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 3057 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 3058 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 3059 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \ 3060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ 3061 cd $(HOST_SUBDIR)/bfd || exit 1; \ 3062 case $(srcdir) in \ 3063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 3064 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ 3065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 3066 esac; \ 3067 srcdiroption="--srcdir=$${topdir}/bfd"; \ 3068 libsrcdir="$$s/bfd"; \ 3069 $(SHELL) $${libsrcdir}/configure \ 3070 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 3071 --target=${target_alias} $${srcdiroption} \ 3072 --with-build-libsubdir=$(HOST_SUBDIR) \ 3073 $(STAGE2_CONFIGURE_FLAGS) 3074 @endif bfd-bootstrap 3075 3076 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd 3077 maybe-configure-stage3-bfd: 3078 @if bfd-bootstrap 3079 maybe-configure-stage3-bfd: configure-stage3-bfd 3080 configure-stage3-bfd: 3081 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 3082 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd 3083 @r=`${PWD_COMMAND}`; export r; \ 3084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3085 TFLAGS="$(STAGE3_TFLAGS)"; \ 3086 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ 3087 $(HOST_EXPORTS) \ 3088 $(POSTSTAGE1_HOST_EXPORTS) \ 3089 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 3090 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 3091 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 3092 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \ 3093 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ 3094 cd $(HOST_SUBDIR)/bfd || exit 1; \ 3095 case $(srcdir) in \ 3096 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 3097 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ 3098 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 3099 esac; \ 3100 srcdiroption="--srcdir=$${topdir}/bfd"; \ 3101 libsrcdir="$$s/bfd"; \ 3102 $(SHELL) $${libsrcdir}/configure \ 3103 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 3104 --target=${target_alias} $${srcdiroption} \ 3105 --with-build-libsubdir=$(HOST_SUBDIR) \ 3106 $(STAGE3_CONFIGURE_FLAGS) 3107 @endif bfd-bootstrap 3108 3109 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd 3110 maybe-configure-stage4-bfd: 3111 @if bfd-bootstrap 3112 maybe-configure-stage4-bfd: configure-stage4-bfd 3113 configure-stage4-bfd: 3114 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 3115 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd 3116 @r=`${PWD_COMMAND}`; export r; \ 3117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3118 TFLAGS="$(STAGE4_TFLAGS)"; \ 3119 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ 3120 $(HOST_EXPORTS) \ 3121 $(POSTSTAGE1_HOST_EXPORTS) \ 3122 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 3123 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 3124 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 3125 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \ 3126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ 3127 cd $(HOST_SUBDIR)/bfd || exit 1; \ 3128 case $(srcdir) in \ 3129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 3130 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ 3131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 3132 esac; \ 3133 srcdiroption="--srcdir=$${topdir}/bfd"; \ 3134 libsrcdir="$$s/bfd"; \ 3135 $(SHELL) $${libsrcdir}/configure \ 3136 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 3137 --target=${target_alias} $${srcdiroption} \ 3138 --with-build-libsubdir=$(HOST_SUBDIR) \ 3139 $(STAGE4_CONFIGURE_FLAGS) 3140 @endif bfd-bootstrap 3141 3142 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd 3143 maybe-configure-stageprofile-bfd: 3144 @if bfd-bootstrap 3145 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd 3146 configure-stageprofile-bfd: 3147 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 3148 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd 3149 @r=`${PWD_COMMAND}`; export r; \ 3150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3151 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 3152 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ 3153 $(HOST_EXPORTS) \ 3154 $(POSTSTAGE1_HOST_EXPORTS) \ 3155 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 3156 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 3157 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 3158 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \ 3159 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ 3160 cd $(HOST_SUBDIR)/bfd || exit 1; \ 3161 case $(srcdir) in \ 3162 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 3163 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ 3164 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 3165 esac; \ 3166 srcdiroption="--srcdir=$${topdir}/bfd"; \ 3167 libsrcdir="$$s/bfd"; \ 3168 $(SHELL) $${libsrcdir}/configure \ 3169 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 3170 --target=${target_alias} $${srcdiroption} \ 3171 --with-build-libsubdir=$(HOST_SUBDIR) \ 3172 $(STAGEprofile_CONFIGURE_FLAGS) 3173 @endif bfd-bootstrap 3174 3175 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd 3176 maybe-configure-stagefeedback-bfd: 3177 @if bfd-bootstrap 3178 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd 3179 configure-stagefeedback-bfd: 3180 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 3181 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd 3182 @r=`${PWD_COMMAND}`; export r; \ 3183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3184 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 3185 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \ 3186 $(HOST_EXPORTS) \ 3187 $(POSTSTAGE1_HOST_EXPORTS) \ 3188 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 3189 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 3190 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 3191 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \ 3192 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \ 3193 cd $(HOST_SUBDIR)/bfd || exit 1; \ 3194 case $(srcdir) in \ 3195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 3196 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \ 3197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 3198 esac; \ 3199 srcdiroption="--srcdir=$${topdir}/bfd"; \ 3200 libsrcdir="$$s/bfd"; \ 3201 $(SHELL) $${libsrcdir}/configure \ 3202 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 3203 --target=${target_alias} $${srcdiroption} \ 3204 --with-build-libsubdir=$(HOST_SUBDIR) \ 3205 $(STAGEfeedback_CONFIGURE_FLAGS) 3206 @endif bfd-bootstrap 3207 3208 3209 3210 3211 3212 .PHONY: all-bfd maybe-all-bfd 3213 maybe-all-bfd: 3214 @if gcc-bootstrap 3215 all-bfd: stage_current 3216 @endif gcc-bootstrap 3217 @if bfd 3218 TARGET-bfd=all 3219 maybe-all-bfd: all-bfd 3220 all-bfd: configure-bfd 3221 @r=`${PWD_COMMAND}`; export r; \ 3222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3223 $(HOST_EXPORTS) \ 3224 (cd $(HOST_SUBDIR)/bfd && \ 3225 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 3226 $(TARGET-bfd)) 3227 @endif bfd 3228 3229 3230 3231 .PHONY: all-stage1-bfd maybe-all-stage1-bfd 3232 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd 3233 maybe-all-stage1-bfd: 3234 maybe-clean-stage1-bfd: 3235 @if bfd-bootstrap 3236 maybe-all-stage1-bfd: all-stage1-bfd 3237 all-stage1: all-stage1-bfd 3238 TARGET-stage1-bfd = $(TARGET-bfd) 3239 all-stage1-bfd: configure-stage1-bfd 3240 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 3241 @r=`${PWD_COMMAND}`; export r; \ 3242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3243 TFLAGS="$(STAGE1_TFLAGS)"; \ 3244 $(HOST_EXPORTS) \ 3245 cd $(HOST_SUBDIR)/bfd && \ 3246 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 3247 CFLAGS="$(STAGE1_CFLAGS)" \ 3248 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 3249 LIBCFLAGS="$(LIBCFLAGS)" \ 3250 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 3251 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 3252 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 3253 $(EXTRA_HOST_FLAGS) \ 3254 $(STAGE1_FLAGS_TO_PASS) \ 3255 TFLAGS="$(STAGE1_TFLAGS)" \ 3256 $(TARGET-stage1-bfd) 3257 3258 maybe-clean-stage1-bfd: clean-stage1-bfd 3259 clean-stage1: clean-stage1-bfd 3260 clean-stage1-bfd: 3261 @if [ $(current_stage) = stage1 ]; then \ 3262 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ 3263 else \ 3264 [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \ 3265 $(MAKE) stage1-start; \ 3266 fi; \ 3267 cd $(HOST_SUBDIR)/bfd && \ 3268 $(MAKE) $(EXTRA_HOST_FLAGS) \ 3269 $(STAGE1_FLAGS_TO_PASS) clean 3270 @endif bfd-bootstrap 3271 3272 3273 .PHONY: all-stage2-bfd maybe-all-stage2-bfd 3274 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd 3275 maybe-all-stage2-bfd: 3276 maybe-clean-stage2-bfd: 3277 @if bfd-bootstrap 3278 maybe-all-stage2-bfd: all-stage2-bfd 3279 all-stage2: all-stage2-bfd 3280 TARGET-stage2-bfd = $(TARGET-bfd) 3281 all-stage2-bfd: configure-stage2-bfd 3282 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 3283 @r=`${PWD_COMMAND}`; export r; \ 3284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3285 TFLAGS="$(STAGE2_TFLAGS)"; \ 3286 $(HOST_EXPORTS) \ 3287 $(POSTSTAGE1_HOST_EXPORTS) \ 3288 cd $(HOST_SUBDIR)/bfd && \ 3289 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 3290 CFLAGS="$(STAGE2_CFLAGS)" \ 3291 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 3292 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 3293 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 3294 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 3295 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 3296 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 3297 TFLAGS="$(STAGE2_TFLAGS)" \ 3298 $(TARGET-stage2-bfd) 3299 3300 maybe-clean-stage2-bfd: clean-stage2-bfd 3301 clean-stage2: clean-stage2-bfd 3302 clean-stage2-bfd: 3303 @if [ $(current_stage) = stage2 ]; then \ 3304 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ 3305 else \ 3306 [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \ 3307 $(MAKE) stage2-start; \ 3308 fi; \ 3309 cd $(HOST_SUBDIR)/bfd && \ 3310 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 3311 @endif bfd-bootstrap 3312 3313 3314 .PHONY: all-stage3-bfd maybe-all-stage3-bfd 3315 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd 3316 maybe-all-stage3-bfd: 3317 maybe-clean-stage3-bfd: 3318 @if bfd-bootstrap 3319 maybe-all-stage3-bfd: all-stage3-bfd 3320 all-stage3: all-stage3-bfd 3321 TARGET-stage3-bfd = $(TARGET-bfd) 3322 all-stage3-bfd: configure-stage3-bfd 3323 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 3324 @r=`${PWD_COMMAND}`; export r; \ 3325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3326 TFLAGS="$(STAGE3_TFLAGS)"; \ 3327 $(HOST_EXPORTS) \ 3328 $(POSTSTAGE1_HOST_EXPORTS) \ 3329 cd $(HOST_SUBDIR)/bfd && \ 3330 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 3331 CFLAGS="$(STAGE3_CFLAGS)" \ 3332 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 3333 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 3334 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 3335 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 3336 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 3337 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 3338 TFLAGS="$(STAGE3_TFLAGS)" \ 3339 $(TARGET-stage3-bfd) 3340 3341 maybe-clean-stage3-bfd: clean-stage3-bfd 3342 clean-stage3: clean-stage3-bfd 3343 clean-stage3-bfd: 3344 @if [ $(current_stage) = stage3 ]; then \ 3345 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ 3346 else \ 3347 [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \ 3348 $(MAKE) stage3-start; \ 3349 fi; \ 3350 cd $(HOST_SUBDIR)/bfd && \ 3351 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 3352 @endif bfd-bootstrap 3353 3354 3355 .PHONY: all-stage4-bfd maybe-all-stage4-bfd 3356 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd 3357 maybe-all-stage4-bfd: 3358 maybe-clean-stage4-bfd: 3359 @if bfd-bootstrap 3360 maybe-all-stage4-bfd: all-stage4-bfd 3361 all-stage4: all-stage4-bfd 3362 TARGET-stage4-bfd = $(TARGET-bfd) 3363 all-stage4-bfd: configure-stage4-bfd 3364 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 3365 @r=`${PWD_COMMAND}`; export r; \ 3366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3367 TFLAGS="$(STAGE4_TFLAGS)"; \ 3368 $(HOST_EXPORTS) \ 3369 $(POSTSTAGE1_HOST_EXPORTS) \ 3370 cd $(HOST_SUBDIR)/bfd && \ 3371 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 3372 CFLAGS="$(STAGE4_CFLAGS)" \ 3373 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 3374 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 3375 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 3376 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 3377 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 3378 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 3379 TFLAGS="$(STAGE4_TFLAGS)" \ 3380 $(TARGET-stage4-bfd) 3381 3382 maybe-clean-stage4-bfd: clean-stage4-bfd 3383 clean-stage4: clean-stage4-bfd 3384 clean-stage4-bfd: 3385 @if [ $(current_stage) = stage4 ]; then \ 3386 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ 3387 else \ 3388 [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \ 3389 $(MAKE) stage4-start; \ 3390 fi; \ 3391 cd $(HOST_SUBDIR)/bfd && \ 3392 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 3393 @endif bfd-bootstrap 3394 3395 3396 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd 3397 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd 3398 maybe-all-stageprofile-bfd: 3399 maybe-clean-stageprofile-bfd: 3400 @if bfd-bootstrap 3401 maybe-all-stageprofile-bfd: all-stageprofile-bfd 3402 all-stageprofile: all-stageprofile-bfd 3403 TARGET-stageprofile-bfd = $(TARGET-bfd) 3404 all-stageprofile-bfd: configure-stageprofile-bfd 3405 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 3406 @r=`${PWD_COMMAND}`; export r; \ 3407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3408 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 3409 $(HOST_EXPORTS) \ 3410 $(POSTSTAGE1_HOST_EXPORTS) \ 3411 cd $(HOST_SUBDIR)/bfd && \ 3412 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 3413 CFLAGS="$(STAGEprofile_CFLAGS)" \ 3414 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 3415 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 3416 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 3417 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 3418 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 3419 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 3420 TFLAGS="$(STAGEprofile_TFLAGS)" \ 3421 $(TARGET-stageprofile-bfd) 3422 3423 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd 3424 clean-stageprofile: clean-stageprofile-bfd 3425 clean-stageprofile-bfd: 3426 @if [ $(current_stage) = stageprofile ]; then \ 3427 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ 3428 else \ 3429 [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \ 3430 $(MAKE) stageprofile-start; \ 3431 fi; \ 3432 cd $(HOST_SUBDIR)/bfd && \ 3433 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 3434 @endif bfd-bootstrap 3435 3436 3437 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd 3438 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd 3439 maybe-all-stagefeedback-bfd: 3440 maybe-clean-stagefeedback-bfd: 3441 @if bfd-bootstrap 3442 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd 3443 all-stagefeedback: all-stagefeedback-bfd 3444 TARGET-stagefeedback-bfd = $(TARGET-bfd) 3445 all-stagefeedback-bfd: configure-stagefeedback-bfd 3446 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 3447 @r=`${PWD_COMMAND}`; export r; \ 3448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3449 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 3450 $(HOST_EXPORTS) \ 3451 $(POSTSTAGE1_HOST_EXPORTS) \ 3452 cd $(HOST_SUBDIR)/bfd && \ 3453 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 3454 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 3455 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 3456 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 3457 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 3458 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 3459 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 3460 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 3461 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 3462 $(TARGET-stagefeedback-bfd) 3463 3464 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd 3465 clean-stagefeedback: clean-stagefeedback-bfd 3466 clean-stagefeedback-bfd: 3467 @if [ $(current_stage) = stagefeedback ]; then \ 3468 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \ 3469 else \ 3470 [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \ 3471 $(MAKE) stagefeedback-start; \ 3472 fi; \ 3473 cd $(HOST_SUBDIR)/bfd && \ 3474 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 3475 @endif bfd-bootstrap 3476 3477 3478 3479 3480 3481 .PHONY: check-bfd maybe-check-bfd 3482 maybe-check-bfd: 3483 @if bfd 3484 maybe-check-bfd: check-bfd 3485 3486 check-bfd: 3487 @: $(MAKE); $(unstage) 3488 @r=`${PWD_COMMAND}`; export r; \ 3489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3490 $(HOST_EXPORTS) \ 3491 (cd $(HOST_SUBDIR)/bfd && \ 3492 $(MAKE) $(FLAGS_TO_PASS) check) 3493 3494 @endif bfd 3495 3496 .PHONY: install-bfd maybe-install-bfd 3497 maybe-install-bfd: 3498 @if bfd 3499 maybe-install-bfd: install-bfd 3500 3501 install-bfd: installdirs 3502 @: $(MAKE); $(unstage) 3503 @r=`${PWD_COMMAND}`; export r; \ 3504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3505 $(HOST_EXPORTS) \ 3506 (cd $(HOST_SUBDIR)/bfd && \ 3507 $(MAKE) $(FLAGS_TO_PASS) install) 3508 3509 @endif bfd 3510 3511 .PHONY: install-strip-bfd maybe-install-strip-bfd 3512 maybe-install-strip-bfd: 3513 @if bfd 3514 maybe-install-strip-bfd: install-strip-bfd 3515 3516 install-strip-bfd: installdirs 3517 @: $(MAKE); $(unstage) 3518 @r=`${PWD_COMMAND}`; export r; \ 3519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3520 $(HOST_EXPORTS) \ 3521 (cd $(HOST_SUBDIR)/bfd && \ 3522 $(MAKE) $(FLAGS_TO_PASS) install-strip) 3523 3524 @endif bfd 3525 3526 # Other targets (info, dvi, pdf, etc.) 3527 3528 .PHONY: maybe-info-bfd info-bfd 3529 maybe-info-bfd: 3530 @if bfd 3531 maybe-info-bfd: info-bfd 3532 3533 info-bfd: \ 3534 configure-bfd 3535 @[ -f ./bfd/Makefile ] || exit 0; \ 3536 r=`${PWD_COMMAND}`; export r; \ 3537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3538 $(HOST_EXPORTS) \ 3539 for flag in $(EXTRA_HOST_FLAGS) ; do \ 3540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 3541 done; \ 3542 echo "Doing info in bfd" ; \ 3543 (cd $(HOST_SUBDIR)/bfd && \ 3544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 3545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 3546 "RANLIB=$${RANLIB}" \ 3547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 3548 info) \ 3549 || exit 1 3550 3551 @endif bfd 3552 3553 .PHONY: maybe-dvi-bfd dvi-bfd 3554 maybe-dvi-bfd: 3555 @if bfd 3556 maybe-dvi-bfd: dvi-bfd 3557 3558 dvi-bfd: \ 3559 configure-bfd 3560 @[ -f ./bfd/Makefile ] || exit 0; \ 3561 r=`${PWD_COMMAND}`; export r; \ 3562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3563 $(HOST_EXPORTS) \ 3564 for flag in $(EXTRA_HOST_FLAGS) ; do \ 3565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 3566 done; \ 3567 echo "Doing dvi in bfd" ; \ 3568 (cd $(HOST_SUBDIR)/bfd && \ 3569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 3570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 3571 "RANLIB=$${RANLIB}" \ 3572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 3573 dvi) \ 3574 || exit 1 3575 3576 @endif bfd 3577 3578 .PHONY: maybe-pdf-bfd pdf-bfd 3579 maybe-pdf-bfd: 3580 @if bfd 3581 maybe-pdf-bfd: pdf-bfd 3582 3583 pdf-bfd: \ 3584 configure-bfd 3585 @[ -f ./bfd/Makefile ] || exit 0; \ 3586 r=`${PWD_COMMAND}`; export r; \ 3587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3588 $(HOST_EXPORTS) \ 3589 for flag in $(EXTRA_HOST_FLAGS) ; do \ 3590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 3591 done; \ 3592 echo "Doing pdf in bfd" ; \ 3593 (cd $(HOST_SUBDIR)/bfd && \ 3594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 3595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 3596 "RANLIB=$${RANLIB}" \ 3597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 3598 pdf) \ 3599 || exit 1 3600 3601 @endif bfd 3602 3603 .PHONY: maybe-html-bfd html-bfd 3604 maybe-html-bfd: 3605 @if bfd 3606 maybe-html-bfd: html-bfd 3607 3608 html-bfd: \ 3609 configure-bfd 3610 @[ -f ./bfd/Makefile ] || exit 0; \ 3611 r=`${PWD_COMMAND}`; export r; \ 3612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3613 $(HOST_EXPORTS) \ 3614 for flag in $(EXTRA_HOST_FLAGS) ; do \ 3615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 3616 done; \ 3617 echo "Doing html in bfd" ; \ 3618 (cd $(HOST_SUBDIR)/bfd && \ 3619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 3620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 3621 "RANLIB=$${RANLIB}" \ 3622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 3623 html) \ 3624 || exit 1 3625 3626 @endif bfd 3627 3628 .PHONY: maybe-TAGS-bfd TAGS-bfd 3629 maybe-TAGS-bfd: 3630 @if bfd 3631 maybe-TAGS-bfd: TAGS-bfd 3632 3633 TAGS-bfd: \ 3634 configure-bfd 3635 @[ -f ./bfd/Makefile ] || exit 0; \ 3636 r=`${PWD_COMMAND}`; export r; \ 3637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3638 $(HOST_EXPORTS) \ 3639 for flag in $(EXTRA_HOST_FLAGS) ; do \ 3640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 3641 done; \ 3642 echo "Doing TAGS in bfd" ; \ 3643 (cd $(HOST_SUBDIR)/bfd && \ 3644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 3645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 3646 "RANLIB=$${RANLIB}" \ 3647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 3648 TAGS) \ 3649 || exit 1 3650 3651 @endif bfd 3652 3653 .PHONY: maybe-install-info-bfd install-info-bfd 3654 maybe-install-info-bfd: 3655 @if bfd 3656 maybe-install-info-bfd: install-info-bfd 3657 3658 install-info-bfd: \ 3659 configure-bfd \ 3660 info-bfd 3661 @[ -f ./bfd/Makefile ] || exit 0; \ 3662 r=`${PWD_COMMAND}`; export r; \ 3663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3664 $(HOST_EXPORTS) \ 3665 for flag in $(EXTRA_HOST_FLAGS) ; do \ 3666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 3667 done; \ 3668 echo "Doing install-info in bfd" ; \ 3669 (cd $(HOST_SUBDIR)/bfd && \ 3670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 3671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 3672 "RANLIB=$${RANLIB}" \ 3673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 3674 install-info) \ 3675 || exit 1 3676 3677 @endif bfd 3678 3679 .PHONY: maybe-install-pdf-bfd install-pdf-bfd 3680 maybe-install-pdf-bfd: 3681 @if bfd 3682 maybe-install-pdf-bfd: install-pdf-bfd 3683 3684 install-pdf-bfd: \ 3685 configure-bfd \ 3686 pdf-bfd 3687 @[ -f ./bfd/Makefile ] || exit 0; \ 3688 r=`${PWD_COMMAND}`; export r; \ 3689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3690 $(HOST_EXPORTS) \ 3691 for flag in $(EXTRA_HOST_FLAGS) ; do \ 3692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 3693 done; \ 3694 echo "Doing install-pdf in bfd" ; \ 3695 (cd $(HOST_SUBDIR)/bfd && \ 3696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 3697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 3698 "RANLIB=$${RANLIB}" \ 3699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 3700 install-pdf) \ 3701 || exit 1 3702 3703 @endif bfd 3704 3705 .PHONY: maybe-install-html-bfd install-html-bfd 3706 maybe-install-html-bfd: 3707 @if bfd 3708 maybe-install-html-bfd: install-html-bfd 3709 3710 install-html-bfd: \ 3711 configure-bfd \ 3712 html-bfd 3713 @[ -f ./bfd/Makefile ] || exit 0; \ 3714 r=`${PWD_COMMAND}`; export r; \ 3715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3716 $(HOST_EXPORTS) \ 3717 for flag in $(EXTRA_HOST_FLAGS) ; do \ 3718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 3719 done; \ 3720 echo "Doing install-html in bfd" ; \ 3721 (cd $(HOST_SUBDIR)/bfd && \ 3722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 3723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 3724 "RANLIB=$${RANLIB}" \ 3725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 3726 install-html) \ 3727 || exit 1 3728 3729 @endif bfd 3730 3731 .PHONY: maybe-installcheck-bfd installcheck-bfd 3732 maybe-installcheck-bfd: 3733 @if bfd 3734 maybe-installcheck-bfd: installcheck-bfd 3735 3736 installcheck-bfd: \ 3737 configure-bfd 3738 @[ -f ./bfd/Makefile ] || exit 0; \ 3739 r=`${PWD_COMMAND}`; export r; \ 3740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3741 $(HOST_EXPORTS) \ 3742 for flag in $(EXTRA_HOST_FLAGS) ; do \ 3743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 3744 done; \ 3745 echo "Doing installcheck in bfd" ; \ 3746 (cd $(HOST_SUBDIR)/bfd && \ 3747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 3748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 3749 "RANLIB=$${RANLIB}" \ 3750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 3751 installcheck) \ 3752 || exit 1 3753 3754 @endif bfd 3755 3756 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd 3757 maybe-mostlyclean-bfd: 3758 @if bfd 3759 maybe-mostlyclean-bfd: mostlyclean-bfd 3760 3761 mostlyclean-bfd: 3762 @[ -f ./bfd/Makefile ] || exit 0; \ 3763 r=`${PWD_COMMAND}`; export r; \ 3764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3765 $(HOST_EXPORTS) \ 3766 for flag in $(EXTRA_HOST_FLAGS) ; do \ 3767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 3768 done; \ 3769 echo "Doing mostlyclean in bfd" ; \ 3770 (cd $(HOST_SUBDIR)/bfd && \ 3771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 3772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 3773 "RANLIB=$${RANLIB}" \ 3774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 3775 mostlyclean) \ 3776 || exit 1 3777 3778 @endif bfd 3779 3780 .PHONY: maybe-clean-bfd clean-bfd 3781 maybe-clean-bfd: 3782 @if bfd 3783 maybe-clean-bfd: clean-bfd 3784 3785 clean-bfd: 3786 @[ -f ./bfd/Makefile ] || exit 0; \ 3787 r=`${PWD_COMMAND}`; export r; \ 3788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3789 $(HOST_EXPORTS) \ 3790 for flag in $(EXTRA_HOST_FLAGS) ; do \ 3791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 3792 done; \ 3793 echo "Doing clean in bfd" ; \ 3794 (cd $(HOST_SUBDIR)/bfd && \ 3795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 3796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 3797 "RANLIB=$${RANLIB}" \ 3798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 3799 clean) \ 3800 || exit 1 3801 3802 @endif bfd 3803 3804 .PHONY: maybe-distclean-bfd distclean-bfd 3805 maybe-distclean-bfd: 3806 @if bfd 3807 maybe-distclean-bfd: distclean-bfd 3808 3809 distclean-bfd: 3810 @[ -f ./bfd/Makefile ] || exit 0; \ 3811 r=`${PWD_COMMAND}`; export r; \ 3812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3813 $(HOST_EXPORTS) \ 3814 for flag in $(EXTRA_HOST_FLAGS) ; do \ 3815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 3816 done; \ 3817 echo "Doing distclean in bfd" ; \ 3818 (cd $(HOST_SUBDIR)/bfd && \ 3819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 3820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 3821 "RANLIB=$${RANLIB}" \ 3822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 3823 distclean) \ 3824 || exit 1 3825 3826 @endif bfd 3827 3828 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd 3829 maybe-maintainer-clean-bfd: 3830 @if bfd 3831 maybe-maintainer-clean-bfd: maintainer-clean-bfd 3832 3833 maintainer-clean-bfd: 3834 @[ -f ./bfd/Makefile ] || exit 0; \ 3835 r=`${PWD_COMMAND}`; export r; \ 3836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3837 $(HOST_EXPORTS) \ 3838 for flag in $(EXTRA_HOST_FLAGS) ; do \ 3839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 3840 done; \ 3841 echo "Doing maintainer-clean in bfd" ; \ 3842 (cd $(HOST_SUBDIR)/bfd && \ 3843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 3844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 3845 "RANLIB=$${RANLIB}" \ 3846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 3847 maintainer-clean) \ 3848 || exit 1 3849 3850 @endif bfd 3851 3852 3853 3854 .PHONY: configure-opcodes maybe-configure-opcodes 3855 maybe-configure-opcodes: 3856 @if gcc-bootstrap 3857 configure-opcodes: stage_current 3858 @endif gcc-bootstrap 3859 @if opcodes 3860 maybe-configure-opcodes: configure-opcodes 3861 configure-opcodes: 3862 @r=`${PWD_COMMAND}`; export r; \ 3863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3864 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ 3865 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ 3866 $(HOST_EXPORTS) \ 3867 echo Configuring in $(HOST_SUBDIR)/opcodes; \ 3868 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \ 3869 case $(srcdir) in \ 3870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 3871 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ 3872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 3873 esac; \ 3874 srcdiroption="--srcdir=$${topdir}/opcodes"; \ 3875 libsrcdir="$$s/opcodes"; \ 3876 $(SHELL) $${libsrcdir}/configure \ 3877 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 3878 --target=${target_alias} $${srcdiroption} \ 3879 || exit 1 3880 @endif opcodes 3881 3882 3883 3884 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes 3885 maybe-configure-stage1-opcodes: 3886 @if opcodes-bootstrap 3887 maybe-configure-stage1-opcodes: configure-stage1-opcodes 3888 configure-stage1-opcodes: 3889 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 3890 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes 3891 @r=`${PWD_COMMAND}`; export r; \ 3892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3893 TFLAGS="$(STAGE1_TFLAGS)"; \ 3894 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ 3895 $(HOST_EXPORTS) \ 3896 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 3897 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 3898 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 3899 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \ 3900 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ 3901 cd $(HOST_SUBDIR)/opcodes || exit 1; \ 3902 case $(srcdir) in \ 3903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 3904 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ 3905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 3906 esac; \ 3907 srcdiroption="--srcdir=$${topdir}/opcodes"; \ 3908 libsrcdir="$$s/opcodes"; \ 3909 $(SHELL) $${libsrcdir}/configure \ 3910 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 3911 --target=${target_alias} $${srcdiroption} \ 3912 $(STAGE1_CONFIGURE_FLAGS) 3913 @endif opcodes-bootstrap 3914 3915 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes 3916 maybe-configure-stage2-opcodes: 3917 @if opcodes-bootstrap 3918 maybe-configure-stage2-opcodes: configure-stage2-opcodes 3919 configure-stage2-opcodes: 3920 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 3921 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes 3922 @r=`${PWD_COMMAND}`; export r; \ 3923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3924 TFLAGS="$(STAGE2_TFLAGS)"; \ 3925 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ 3926 $(HOST_EXPORTS) \ 3927 $(POSTSTAGE1_HOST_EXPORTS) \ 3928 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 3929 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 3930 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 3931 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \ 3932 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ 3933 cd $(HOST_SUBDIR)/opcodes || exit 1; \ 3934 case $(srcdir) in \ 3935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 3936 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ 3937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 3938 esac; \ 3939 srcdiroption="--srcdir=$${topdir}/opcodes"; \ 3940 libsrcdir="$$s/opcodes"; \ 3941 $(SHELL) $${libsrcdir}/configure \ 3942 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 3943 --target=${target_alias} $${srcdiroption} \ 3944 --with-build-libsubdir=$(HOST_SUBDIR) \ 3945 $(STAGE2_CONFIGURE_FLAGS) 3946 @endif opcodes-bootstrap 3947 3948 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes 3949 maybe-configure-stage3-opcodes: 3950 @if opcodes-bootstrap 3951 maybe-configure-stage3-opcodes: configure-stage3-opcodes 3952 configure-stage3-opcodes: 3953 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 3954 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes 3955 @r=`${PWD_COMMAND}`; export r; \ 3956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3957 TFLAGS="$(STAGE3_TFLAGS)"; \ 3958 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ 3959 $(HOST_EXPORTS) \ 3960 $(POSTSTAGE1_HOST_EXPORTS) \ 3961 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 3962 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 3963 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 3964 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \ 3965 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ 3966 cd $(HOST_SUBDIR)/opcodes || exit 1; \ 3967 case $(srcdir) in \ 3968 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 3969 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ 3970 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 3971 esac; \ 3972 srcdiroption="--srcdir=$${topdir}/opcodes"; \ 3973 libsrcdir="$$s/opcodes"; \ 3974 $(SHELL) $${libsrcdir}/configure \ 3975 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 3976 --target=${target_alias} $${srcdiroption} \ 3977 --with-build-libsubdir=$(HOST_SUBDIR) \ 3978 $(STAGE3_CONFIGURE_FLAGS) 3979 @endif opcodes-bootstrap 3980 3981 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes 3982 maybe-configure-stage4-opcodes: 3983 @if opcodes-bootstrap 3984 maybe-configure-stage4-opcodes: configure-stage4-opcodes 3985 configure-stage4-opcodes: 3986 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 3987 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes 3988 @r=`${PWD_COMMAND}`; export r; \ 3989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 3990 TFLAGS="$(STAGE4_TFLAGS)"; \ 3991 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ 3992 $(HOST_EXPORTS) \ 3993 $(POSTSTAGE1_HOST_EXPORTS) \ 3994 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 3995 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 3996 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 3997 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \ 3998 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ 3999 cd $(HOST_SUBDIR)/opcodes || exit 1; \ 4000 case $(srcdir) in \ 4001 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 4002 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ 4003 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 4004 esac; \ 4005 srcdiroption="--srcdir=$${topdir}/opcodes"; \ 4006 libsrcdir="$$s/opcodes"; \ 4007 $(SHELL) $${libsrcdir}/configure \ 4008 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 4009 --target=${target_alias} $${srcdiroption} \ 4010 --with-build-libsubdir=$(HOST_SUBDIR) \ 4011 $(STAGE4_CONFIGURE_FLAGS) 4012 @endif opcodes-bootstrap 4013 4014 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes 4015 maybe-configure-stageprofile-opcodes: 4016 @if opcodes-bootstrap 4017 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes 4018 configure-stageprofile-opcodes: 4019 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 4020 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes 4021 @r=`${PWD_COMMAND}`; export r; \ 4022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4023 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 4024 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ 4025 $(HOST_EXPORTS) \ 4026 $(POSTSTAGE1_HOST_EXPORTS) \ 4027 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 4028 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 4029 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 4030 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \ 4031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ 4032 cd $(HOST_SUBDIR)/opcodes || exit 1; \ 4033 case $(srcdir) in \ 4034 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 4035 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ 4036 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 4037 esac; \ 4038 srcdiroption="--srcdir=$${topdir}/opcodes"; \ 4039 libsrcdir="$$s/opcodes"; \ 4040 $(SHELL) $${libsrcdir}/configure \ 4041 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 4042 --target=${target_alias} $${srcdiroption} \ 4043 --with-build-libsubdir=$(HOST_SUBDIR) \ 4044 $(STAGEprofile_CONFIGURE_FLAGS) 4045 @endif opcodes-bootstrap 4046 4047 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes 4048 maybe-configure-stagefeedback-opcodes: 4049 @if opcodes-bootstrap 4050 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes 4051 configure-stagefeedback-opcodes: 4052 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 4053 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes 4054 @r=`${PWD_COMMAND}`; export r; \ 4055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4056 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 4057 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \ 4058 $(HOST_EXPORTS) \ 4059 $(POSTSTAGE1_HOST_EXPORTS) \ 4060 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 4061 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 4062 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 4063 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \ 4064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \ 4065 cd $(HOST_SUBDIR)/opcodes || exit 1; \ 4066 case $(srcdir) in \ 4067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 4068 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \ 4069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 4070 esac; \ 4071 srcdiroption="--srcdir=$${topdir}/opcodes"; \ 4072 libsrcdir="$$s/opcodes"; \ 4073 $(SHELL) $${libsrcdir}/configure \ 4074 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 4075 --target=${target_alias} $${srcdiroption} \ 4076 --with-build-libsubdir=$(HOST_SUBDIR) \ 4077 $(STAGEfeedback_CONFIGURE_FLAGS) 4078 @endif opcodes-bootstrap 4079 4080 4081 4082 4083 4084 .PHONY: all-opcodes maybe-all-opcodes 4085 maybe-all-opcodes: 4086 @if gcc-bootstrap 4087 all-opcodes: stage_current 4088 @endif gcc-bootstrap 4089 @if opcodes 4090 TARGET-opcodes=all 4091 maybe-all-opcodes: all-opcodes 4092 all-opcodes: configure-opcodes 4093 @r=`${PWD_COMMAND}`; export r; \ 4094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4095 $(HOST_EXPORTS) \ 4096 (cd $(HOST_SUBDIR)/opcodes && \ 4097 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 4098 $(TARGET-opcodes)) 4099 @endif opcodes 4100 4101 4102 4103 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes 4104 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes 4105 maybe-all-stage1-opcodes: 4106 maybe-clean-stage1-opcodes: 4107 @if opcodes-bootstrap 4108 maybe-all-stage1-opcodes: all-stage1-opcodes 4109 all-stage1: all-stage1-opcodes 4110 TARGET-stage1-opcodes = $(TARGET-opcodes) 4111 all-stage1-opcodes: configure-stage1-opcodes 4112 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 4113 @r=`${PWD_COMMAND}`; export r; \ 4114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4115 TFLAGS="$(STAGE1_TFLAGS)"; \ 4116 $(HOST_EXPORTS) \ 4117 cd $(HOST_SUBDIR)/opcodes && \ 4118 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 4119 CFLAGS="$(STAGE1_CFLAGS)" \ 4120 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 4121 LIBCFLAGS="$(LIBCFLAGS)" \ 4122 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 4123 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 4124 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 4125 $(EXTRA_HOST_FLAGS) \ 4126 $(STAGE1_FLAGS_TO_PASS) \ 4127 TFLAGS="$(STAGE1_TFLAGS)" \ 4128 $(TARGET-stage1-opcodes) 4129 4130 maybe-clean-stage1-opcodes: clean-stage1-opcodes 4131 clean-stage1: clean-stage1-opcodes 4132 clean-stage1-opcodes: 4133 @if [ $(current_stage) = stage1 ]; then \ 4134 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ 4135 else \ 4136 [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \ 4137 $(MAKE) stage1-start; \ 4138 fi; \ 4139 cd $(HOST_SUBDIR)/opcodes && \ 4140 $(MAKE) $(EXTRA_HOST_FLAGS) \ 4141 $(STAGE1_FLAGS_TO_PASS) clean 4142 @endif opcodes-bootstrap 4143 4144 4145 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes 4146 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes 4147 maybe-all-stage2-opcodes: 4148 maybe-clean-stage2-opcodes: 4149 @if opcodes-bootstrap 4150 maybe-all-stage2-opcodes: all-stage2-opcodes 4151 all-stage2: all-stage2-opcodes 4152 TARGET-stage2-opcodes = $(TARGET-opcodes) 4153 all-stage2-opcodes: configure-stage2-opcodes 4154 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 4155 @r=`${PWD_COMMAND}`; export r; \ 4156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4157 TFLAGS="$(STAGE2_TFLAGS)"; \ 4158 $(HOST_EXPORTS) \ 4159 $(POSTSTAGE1_HOST_EXPORTS) \ 4160 cd $(HOST_SUBDIR)/opcodes && \ 4161 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 4162 CFLAGS="$(STAGE2_CFLAGS)" \ 4163 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 4164 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 4165 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 4166 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 4167 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 4168 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 4169 TFLAGS="$(STAGE2_TFLAGS)" \ 4170 $(TARGET-stage2-opcodes) 4171 4172 maybe-clean-stage2-opcodes: clean-stage2-opcodes 4173 clean-stage2: clean-stage2-opcodes 4174 clean-stage2-opcodes: 4175 @if [ $(current_stage) = stage2 ]; then \ 4176 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ 4177 else \ 4178 [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \ 4179 $(MAKE) stage2-start; \ 4180 fi; \ 4181 cd $(HOST_SUBDIR)/opcodes && \ 4182 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 4183 @endif opcodes-bootstrap 4184 4185 4186 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes 4187 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes 4188 maybe-all-stage3-opcodes: 4189 maybe-clean-stage3-opcodes: 4190 @if opcodes-bootstrap 4191 maybe-all-stage3-opcodes: all-stage3-opcodes 4192 all-stage3: all-stage3-opcodes 4193 TARGET-stage3-opcodes = $(TARGET-opcodes) 4194 all-stage3-opcodes: configure-stage3-opcodes 4195 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 4196 @r=`${PWD_COMMAND}`; export r; \ 4197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4198 TFLAGS="$(STAGE3_TFLAGS)"; \ 4199 $(HOST_EXPORTS) \ 4200 $(POSTSTAGE1_HOST_EXPORTS) \ 4201 cd $(HOST_SUBDIR)/opcodes && \ 4202 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 4203 CFLAGS="$(STAGE3_CFLAGS)" \ 4204 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 4205 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 4206 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 4207 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 4208 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 4209 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 4210 TFLAGS="$(STAGE3_TFLAGS)" \ 4211 $(TARGET-stage3-opcodes) 4212 4213 maybe-clean-stage3-opcodes: clean-stage3-opcodes 4214 clean-stage3: clean-stage3-opcodes 4215 clean-stage3-opcodes: 4216 @if [ $(current_stage) = stage3 ]; then \ 4217 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ 4218 else \ 4219 [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \ 4220 $(MAKE) stage3-start; \ 4221 fi; \ 4222 cd $(HOST_SUBDIR)/opcodes && \ 4223 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 4224 @endif opcodes-bootstrap 4225 4226 4227 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes 4228 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes 4229 maybe-all-stage4-opcodes: 4230 maybe-clean-stage4-opcodes: 4231 @if opcodes-bootstrap 4232 maybe-all-stage4-opcodes: all-stage4-opcodes 4233 all-stage4: all-stage4-opcodes 4234 TARGET-stage4-opcodes = $(TARGET-opcodes) 4235 all-stage4-opcodes: configure-stage4-opcodes 4236 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 4237 @r=`${PWD_COMMAND}`; export r; \ 4238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4239 TFLAGS="$(STAGE4_TFLAGS)"; \ 4240 $(HOST_EXPORTS) \ 4241 $(POSTSTAGE1_HOST_EXPORTS) \ 4242 cd $(HOST_SUBDIR)/opcodes && \ 4243 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 4244 CFLAGS="$(STAGE4_CFLAGS)" \ 4245 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 4246 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 4247 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 4248 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 4249 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 4250 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 4251 TFLAGS="$(STAGE4_TFLAGS)" \ 4252 $(TARGET-stage4-opcodes) 4253 4254 maybe-clean-stage4-opcodes: clean-stage4-opcodes 4255 clean-stage4: clean-stage4-opcodes 4256 clean-stage4-opcodes: 4257 @if [ $(current_stage) = stage4 ]; then \ 4258 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ 4259 else \ 4260 [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \ 4261 $(MAKE) stage4-start; \ 4262 fi; \ 4263 cd $(HOST_SUBDIR)/opcodes && \ 4264 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 4265 @endif opcodes-bootstrap 4266 4267 4268 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes 4269 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes 4270 maybe-all-stageprofile-opcodes: 4271 maybe-clean-stageprofile-opcodes: 4272 @if opcodes-bootstrap 4273 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes 4274 all-stageprofile: all-stageprofile-opcodes 4275 TARGET-stageprofile-opcodes = $(TARGET-opcodes) 4276 all-stageprofile-opcodes: configure-stageprofile-opcodes 4277 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 4278 @r=`${PWD_COMMAND}`; export r; \ 4279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4280 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 4281 $(HOST_EXPORTS) \ 4282 $(POSTSTAGE1_HOST_EXPORTS) \ 4283 cd $(HOST_SUBDIR)/opcodes && \ 4284 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 4285 CFLAGS="$(STAGEprofile_CFLAGS)" \ 4286 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 4287 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 4288 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 4289 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 4290 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 4291 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 4292 TFLAGS="$(STAGEprofile_TFLAGS)" \ 4293 $(TARGET-stageprofile-opcodes) 4294 4295 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes 4296 clean-stageprofile: clean-stageprofile-opcodes 4297 clean-stageprofile-opcodes: 4298 @if [ $(current_stage) = stageprofile ]; then \ 4299 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ 4300 else \ 4301 [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \ 4302 $(MAKE) stageprofile-start; \ 4303 fi; \ 4304 cd $(HOST_SUBDIR)/opcodes && \ 4305 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 4306 @endif opcodes-bootstrap 4307 4308 4309 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes 4310 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes 4311 maybe-all-stagefeedback-opcodes: 4312 maybe-clean-stagefeedback-opcodes: 4313 @if opcodes-bootstrap 4314 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes 4315 all-stagefeedback: all-stagefeedback-opcodes 4316 TARGET-stagefeedback-opcodes = $(TARGET-opcodes) 4317 all-stagefeedback-opcodes: configure-stagefeedback-opcodes 4318 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 4319 @r=`${PWD_COMMAND}`; export r; \ 4320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4321 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 4322 $(HOST_EXPORTS) \ 4323 $(POSTSTAGE1_HOST_EXPORTS) \ 4324 cd $(HOST_SUBDIR)/opcodes && \ 4325 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 4326 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 4327 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 4328 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 4329 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 4330 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 4331 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 4332 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 4333 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 4334 $(TARGET-stagefeedback-opcodes) 4335 4336 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes 4337 clean-stagefeedback: clean-stagefeedback-opcodes 4338 clean-stagefeedback-opcodes: 4339 @if [ $(current_stage) = stagefeedback ]; then \ 4340 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \ 4341 else \ 4342 [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \ 4343 $(MAKE) stagefeedback-start; \ 4344 fi; \ 4345 cd $(HOST_SUBDIR)/opcodes && \ 4346 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 4347 @endif opcodes-bootstrap 4348 4349 4350 4351 4352 4353 .PHONY: check-opcodes maybe-check-opcodes 4354 maybe-check-opcodes: 4355 @if opcodes 4356 maybe-check-opcodes: check-opcodes 4357 4358 check-opcodes: 4359 @: $(MAKE); $(unstage) 4360 @r=`${PWD_COMMAND}`; export r; \ 4361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4362 $(HOST_EXPORTS) \ 4363 (cd $(HOST_SUBDIR)/opcodes && \ 4364 $(MAKE) $(FLAGS_TO_PASS) check) 4365 4366 @endif opcodes 4367 4368 .PHONY: install-opcodes maybe-install-opcodes 4369 maybe-install-opcodes: 4370 @if opcodes 4371 maybe-install-opcodes: install-opcodes 4372 4373 install-opcodes: installdirs 4374 @: $(MAKE); $(unstage) 4375 @r=`${PWD_COMMAND}`; export r; \ 4376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4377 $(HOST_EXPORTS) \ 4378 (cd $(HOST_SUBDIR)/opcodes && \ 4379 $(MAKE) $(FLAGS_TO_PASS) install) 4380 4381 @endif opcodes 4382 4383 .PHONY: install-strip-opcodes maybe-install-strip-opcodes 4384 maybe-install-strip-opcodes: 4385 @if opcodes 4386 maybe-install-strip-opcodes: install-strip-opcodes 4387 4388 install-strip-opcodes: installdirs 4389 @: $(MAKE); $(unstage) 4390 @r=`${PWD_COMMAND}`; export r; \ 4391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4392 $(HOST_EXPORTS) \ 4393 (cd $(HOST_SUBDIR)/opcodes && \ 4394 $(MAKE) $(FLAGS_TO_PASS) install-strip) 4395 4396 @endif opcodes 4397 4398 # Other targets (info, dvi, pdf, etc.) 4399 4400 .PHONY: maybe-info-opcodes info-opcodes 4401 maybe-info-opcodes: 4402 @if opcodes 4403 maybe-info-opcodes: info-opcodes 4404 4405 info-opcodes: \ 4406 configure-opcodes 4407 @[ -f ./opcodes/Makefile ] || exit 0; \ 4408 r=`${PWD_COMMAND}`; export r; \ 4409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4410 $(HOST_EXPORTS) \ 4411 for flag in $(EXTRA_HOST_FLAGS) ; do \ 4412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 4413 done; \ 4414 echo "Doing info in opcodes" ; \ 4415 (cd $(HOST_SUBDIR)/opcodes && \ 4416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 4417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 4418 "RANLIB=$${RANLIB}" \ 4419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 4420 info) \ 4421 || exit 1 4422 4423 @endif opcodes 4424 4425 .PHONY: maybe-dvi-opcodes dvi-opcodes 4426 maybe-dvi-opcodes: 4427 @if opcodes 4428 maybe-dvi-opcodes: dvi-opcodes 4429 4430 dvi-opcodes: \ 4431 configure-opcodes 4432 @[ -f ./opcodes/Makefile ] || exit 0; \ 4433 r=`${PWD_COMMAND}`; export r; \ 4434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4435 $(HOST_EXPORTS) \ 4436 for flag in $(EXTRA_HOST_FLAGS) ; do \ 4437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 4438 done; \ 4439 echo "Doing dvi in opcodes" ; \ 4440 (cd $(HOST_SUBDIR)/opcodes && \ 4441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 4442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 4443 "RANLIB=$${RANLIB}" \ 4444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 4445 dvi) \ 4446 || exit 1 4447 4448 @endif opcodes 4449 4450 .PHONY: maybe-pdf-opcodes pdf-opcodes 4451 maybe-pdf-opcodes: 4452 @if opcodes 4453 maybe-pdf-opcodes: pdf-opcodes 4454 4455 pdf-opcodes: \ 4456 configure-opcodes 4457 @[ -f ./opcodes/Makefile ] || exit 0; \ 4458 r=`${PWD_COMMAND}`; export r; \ 4459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4460 $(HOST_EXPORTS) \ 4461 for flag in $(EXTRA_HOST_FLAGS) ; do \ 4462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 4463 done; \ 4464 echo "Doing pdf in opcodes" ; \ 4465 (cd $(HOST_SUBDIR)/opcodes && \ 4466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 4467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 4468 "RANLIB=$${RANLIB}" \ 4469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 4470 pdf) \ 4471 || exit 1 4472 4473 @endif opcodes 4474 4475 .PHONY: maybe-html-opcodes html-opcodes 4476 maybe-html-opcodes: 4477 @if opcodes 4478 maybe-html-opcodes: html-opcodes 4479 4480 html-opcodes: \ 4481 configure-opcodes 4482 @[ -f ./opcodes/Makefile ] || exit 0; \ 4483 r=`${PWD_COMMAND}`; export r; \ 4484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4485 $(HOST_EXPORTS) \ 4486 for flag in $(EXTRA_HOST_FLAGS) ; do \ 4487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 4488 done; \ 4489 echo "Doing html in opcodes" ; \ 4490 (cd $(HOST_SUBDIR)/opcodes && \ 4491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 4492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 4493 "RANLIB=$${RANLIB}" \ 4494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 4495 html) \ 4496 || exit 1 4497 4498 @endif opcodes 4499 4500 .PHONY: maybe-TAGS-opcodes TAGS-opcodes 4501 maybe-TAGS-opcodes: 4502 @if opcodes 4503 maybe-TAGS-opcodes: TAGS-opcodes 4504 4505 TAGS-opcodes: \ 4506 configure-opcodes 4507 @[ -f ./opcodes/Makefile ] || exit 0; \ 4508 r=`${PWD_COMMAND}`; export r; \ 4509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4510 $(HOST_EXPORTS) \ 4511 for flag in $(EXTRA_HOST_FLAGS) ; do \ 4512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 4513 done; \ 4514 echo "Doing TAGS in opcodes" ; \ 4515 (cd $(HOST_SUBDIR)/opcodes && \ 4516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 4517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 4518 "RANLIB=$${RANLIB}" \ 4519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 4520 TAGS) \ 4521 || exit 1 4522 4523 @endif opcodes 4524 4525 .PHONY: maybe-install-info-opcodes install-info-opcodes 4526 maybe-install-info-opcodes: 4527 @if opcodes 4528 maybe-install-info-opcodes: install-info-opcodes 4529 4530 install-info-opcodes: \ 4531 configure-opcodes \ 4532 info-opcodes 4533 @[ -f ./opcodes/Makefile ] || exit 0; \ 4534 r=`${PWD_COMMAND}`; export r; \ 4535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4536 $(HOST_EXPORTS) \ 4537 for flag in $(EXTRA_HOST_FLAGS) ; do \ 4538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 4539 done; \ 4540 echo "Doing install-info in opcodes" ; \ 4541 (cd $(HOST_SUBDIR)/opcodes && \ 4542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 4543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 4544 "RANLIB=$${RANLIB}" \ 4545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 4546 install-info) \ 4547 || exit 1 4548 4549 @endif opcodes 4550 4551 .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes 4552 maybe-install-pdf-opcodes: 4553 @if opcodes 4554 maybe-install-pdf-opcodes: install-pdf-opcodes 4555 4556 install-pdf-opcodes: \ 4557 configure-opcodes \ 4558 pdf-opcodes 4559 @[ -f ./opcodes/Makefile ] || exit 0; \ 4560 r=`${PWD_COMMAND}`; export r; \ 4561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4562 $(HOST_EXPORTS) \ 4563 for flag in $(EXTRA_HOST_FLAGS) ; do \ 4564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 4565 done; \ 4566 echo "Doing install-pdf in opcodes" ; \ 4567 (cd $(HOST_SUBDIR)/opcodes && \ 4568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 4569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 4570 "RANLIB=$${RANLIB}" \ 4571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 4572 install-pdf) \ 4573 || exit 1 4574 4575 @endif opcodes 4576 4577 .PHONY: maybe-install-html-opcodes install-html-opcodes 4578 maybe-install-html-opcodes: 4579 @if opcodes 4580 maybe-install-html-opcodes: install-html-opcodes 4581 4582 install-html-opcodes: \ 4583 configure-opcodes \ 4584 html-opcodes 4585 @[ -f ./opcodes/Makefile ] || exit 0; \ 4586 r=`${PWD_COMMAND}`; export r; \ 4587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4588 $(HOST_EXPORTS) \ 4589 for flag in $(EXTRA_HOST_FLAGS) ; do \ 4590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 4591 done; \ 4592 echo "Doing install-html in opcodes" ; \ 4593 (cd $(HOST_SUBDIR)/opcodes && \ 4594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 4595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 4596 "RANLIB=$${RANLIB}" \ 4597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 4598 install-html) \ 4599 || exit 1 4600 4601 @endif opcodes 4602 4603 .PHONY: maybe-installcheck-opcodes installcheck-opcodes 4604 maybe-installcheck-opcodes: 4605 @if opcodes 4606 maybe-installcheck-opcodes: installcheck-opcodes 4607 4608 installcheck-opcodes: \ 4609 configure-opcodes 4610 @[ -f ./opcodes/Makefile ] || exit 0; \ 4611 r=`${PWD_COMMAND}`; export r; \ 4612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4613 $(HOST_EXPORTS) \ 4614 for flag in $(EXTRA_HOST_FLAGS) ; do \ 4615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 4616 done; \ 4617 echo "Doing installcheck in opcodes" ; \ 4618 (cd $(HOST_SUBDIR)/opcodes && \ 4619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 4620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 4621 "RANLIB=$${RANLIB}" \ 4622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 4623 installcheck) \ 4624 || exit 1 4625 4626 @endif opcodes 4627 4628 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes 4629 maybe-mostlyclean-opcodes: 4630 @if opcodes 4631 maybe-mostlyclean-opcodes: mostlyclean-opcodes 4632 4633 mostlyclean-opcodes: 4634 @[ -f ./opcodes/Makefile ] || exit 0; \ 4635 r=`${PWD_COMMAND}`; export r; \ 4636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4637 $(HOST_EXPORTS) \ 4638 for flag in $(EXTRA_HOST_FLAGS) ; do \ 4639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 4640 done; \ 4641 echo "Doing mostlyclean in opcodes" ; \ 4642 (cd $(HOST_SUBDIR)/opcodes && \ 4643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 4644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 4645 "RANLIB=$${RANLIB}" \ 4646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 4647 mostlyclean) \ 4648 || exit 1 4649 4650 @endif opcodes 4651 4652 .PHONY: maybe-clean-opcodes clean-opcodes 4653 maybe-clean-opcodes: 4654 @if opcodes 4655 maybe-clean-opcodes: clean-opcodes 4656 4657 clean-opcodes: 4658 @[ -f ./opcodes/Makefile ] || exit 0; \ 4659 r=`${PWD_COMMAND}`; export r; \ 4660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4661 $(HOST_EXPORTS) \ 4662 for flag in $(EXTRA_HOST_FLAGS) ; do \ 4663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 4664 done; \ 4665 echo "Doing clean in opcodes" ; \ 4666 (cd $(HOST_SUBDIR)/opcodes && \ 4667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 4668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 4669 "RANLIB=$${RANLIB}" \ 4670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 4671 clean) \ 4672 || exit 1 4673 4674 @endif opcodes 4675 4676 .PHONY: maybe-distclean-opcodes distclean-opcodes 4677 maybe-distclean-opcodes: 4678 @if opcodes 4679 maybe-distclean-opcodes: distclean-opcodes 4680 4681 distclean-opcodes: 4682 @[ -f ./opcodes/Makefile ] || exit 0; \ 4683 r=`${PWD_COMMAND}`; export r; \ 4684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4685 $(HOST_EXPORTS) \ 4686 for flag in $(EXTRA_HOST_FLAGS) ; do \ 4687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 4688 done; \ 4689 echo "Doing distclean in opcodes" ; \ 4690 (cd $(HOST_SUBDIR)/opcodes && \ 4691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 4692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 4693 "RANLIB=$${RANLIB}" \ 4694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 4695 distclean) \ 4696 || exit 1 4697 4698 @endif opcodes 4699 4700 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes 4701 maybe-maintainer-clean-opcodes: 4702 @if opcodes 4703 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes 4704 4705 maintainer-clean-opcodes: 4706 @[ -f ./opcodes/Makefile ] || exit 0; \ 4707 r=`${PWD_COMMAND}`; export r; \ 4708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4709 $(HOST_EXPORTS) \ 4710 for flag in $(EXTRA_HOST_FLAGS) ; do \ 4711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 4712 done; \ 4713 echo "Doing maintainer-clean in opcodes" ; \ 4714 (cd $(HOST_SUBDIR)/opcodes && \ 4715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 4716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 4717 "RANLIB=$${RANLIB}" \ 4718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 4719 maintainer-clean) \ 4720 || exit 1 4721 4722 @endif opcodes 4723 4724 4725 4726 .PHONY: configure-binutils maybe-configure-binutils 4727 maybe-configure-binutils: 4728 @if gcc-bootstrap 4729 configure-binutils: stage_current 4730 @endif gcc-bootstrap 4731 @if binutils 4732 maybe-configure-binutils: configure-binutils 4733 configure-binutils: 4734 @r=`${PWD_COMMAND}`; export r; \ 4735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4736 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ 4737 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ 4738 $(HOST_EXPORTS) \ 4739 echo Configuring in $(HOST_SUBDIR)/binutils; \ 4740 cd "$(HOST_SUBDIR)/binutils" || exit 1; \ 4741 case $(srcdir) in \ 4742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 4743 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ 4744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 4745 esac; \ 4746 srcdiroption="--srcdir=$${topdir}/binutils"; \ 4747 libsrcdir="$$s/binutils"; \ 4748 $(SHELL) $${libsrcdir}/configure \ 4749 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 4750 --target=${target_alias} $${srcdiroption} \ 4751 || exit 1 4752 @endif binutils 4753 4754 4755 4756 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils 4757 maybe-configure-stage1-binutils: 4758 @if binutils-bootstrap 4759 maybe-configure-stage1-binutils: configure-stage1-binutils 4760 configure-stage1-binutils: 4761 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 4762 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils 4763 @r=`${PWD_COMMAND}`; export r; \ 4764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4765 TFLAGS="$(STAGE1_TFLAGS)"; \ 4766 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ 4767 $(HOST_EXPORTS) \ 4768 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 4769 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 4770 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 4771 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \ 4772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ 4773 cd $(HOST_SUBDIR)/binutils || exit 1; \ 4774 case $(srcdir) in \ 4775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 4776 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ 4777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 4778 esac; \ 4779 srcdiroption="--srcdir=$${topdir}/binutils"; \ 4780 libsrcdir="$$s/binutils"; \ 4781 $(SHELL) $${libsrcdir}/configure \ 4782 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 4783 --target=${target_alias} $${srcdiroption} \ 4784 $(STAGE1_CONFIGURE_FLAGS) 4785 @endif binutils-bootstrap 4786 4787 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils 4788 maybe-configure-stage2-binutils: 4789 @if binutils-bootstrap 4790 maybe-configure-stage2-binutils: configure-stage2-binutils 4791 configure-stage2-binutils: 4792 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 4793 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils 4794 @r=`${PWD_COMMAND}`; export r; \ 4795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4796 TFLAGS="$(STAGE2_TFLAGS)"; \ 4797 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ 4798 $(HOST_EXPORTS) \ 4799 $(POSTSTAGE1_HOST_EXPORTS) \ 4800 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 4801 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 4802 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 4803 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \ 4804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ 4805 cd $(HOST_SUBDIR)/binutils || exit 1; \ 4806 case $(srcdir) in \ 4807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 4808 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ 4809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 4810 esac; \ 4811 srcdiroption="--srcdir=$${topdir}/binutils"; \ 4812 libsrcdir="$$s/binutils"; \ 4813 $(SHELL) $${libsrcdir}/configure \ 4814 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 4815 --target=${target_alias} $${srcdiroption} \ 4816 --with-build-libsubdir=$(HOST_SUBDIR) \ 4817 $(STAGE2_CONFIGURE_FLAGS) 4818 @endif binutils-bootstrap 4819 4820 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils 4821 maybe-configure-stage3-binutils: 4822 @if binutils-bootstrap 4823 maybe-configure-stage3-binutils: configure-stage3-binutils 4824 configure-stage3-binutils: 4825 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 4826 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils 4827 @r=`${PWD_COMMAND}`; export r; \ 4828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4829 TFLAGS="$(STAGE3_TFLAGS)"; \ 4830 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ 4831 $(HOST_EXPORTS) \ 4832 $(POSTSTAGE1_HOST_EXPORTS) \ 4833 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 4834 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 4835 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 4836 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \ 4837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ 4838 cd $(HOST_SUBDIR)/binutils || exit 1; \ 4839 case $(srcdir) in \ 4840 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 4841 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ 4842 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 4843 esac; \ 4844 srcdiroption="--srcdir=$${topdir}/binutils"; \ 4845 libsrcdir="$$s/binutils"; \ 4846 $(SHELL) $${libsrcdir}/configure \ 4847 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 4848 --target=${target_alias} $${srcdiroption} \ 4849 --with-build-libsubdir=$(HOST_SUBDIR) \ 4850 $(STAGE3_CONFIGURE_FLAGS) 4851 @endif binutils-bootstrap 4852 4853 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils 4854 maybe-configure-stage4-binutils: 4855 @if binutils-bootstrap 4856 maybe-configure-stage4-binutils: configure-stage4-binutils 4857 configure-stage4-binutils: 4858 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 4859 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils 4860 @r=`${PWD_COMMAND}`; export r; \ 4861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4862 TFLAGS="$(STAGE4_TFLAGS)"; \ 4863 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ 4864 $(HOST_EXPORTS) \ 4865 $(POSTSTAGE1_HOST_EXPORTS) \ 4866 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 4867 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 4868 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 4869 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \ 4870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ 4871 cd $(HOST_SUBDIR)/binutils || exit 1; \ 4872 case $(srcdir) in \ 4873 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 4874 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ 4875 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 4876 esac; \ 4877 srcdiroption="--srcdir=$${topdir}/binutils"; \ 4878 libsrcdir="$$s/binutils"; \ 4879 $(SHELL) $${libsrcdir}/configure \ 4880 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 4881 --target=${target_alias} $${srcdiroption} \ 4882 --with-build-libsubdir=$(HOST_SUBDIR) \ 4883 $(STAGE4_CONFIGURE_FLAGS) 4884 @endif binutils-bootstrap 4885 4886 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils 4887 maybe-configure-stageprofile-binutils: 4888 @if binutils-bootstrap 4889 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils 4890 configure-stageprofile-binutils: 4891 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 4892 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils 4893 @r=`${PWD_COMMAND}`; export r; \ 4894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4895 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 4896 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ 4897 $(HOST_EXPORTS) \ 4898 $(POSTSTAGE1_HOST_EXPORTS) \ 4899 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 4900 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 4901 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 4902 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \ 4903 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ 4904 cd $(HOST_SUBDIR)/binutils || exit 1; \ 4905 case $(srcdir) in \ 4906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 4907 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ 4908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 4909 esac; \ 4910 srcdiroption="--srcdir=$${topdir}/binutils"; \ 4911 libsrcdir="$$s/binutils"; \ 4912 $(SHELL) $${libsrcdir}/configure \ 4913 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 4914 --target=${target_alias} $${srcdiroption} \ 4915 --with-build-libsubdir=$(HOST_SUBDIR) \ 4916 $(STAGEprofile_CONFIGURE_FLAGS) 4917 @endif binutils-bootstrap 4918 4919 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils 4920 maybe-configure-stagefeedback-binutils: 4921 @if binutils-bootstrap 4922 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils 4923 configure-stagefeedback-binutils: 4924 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 4925 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils 4926 @r=`${PWD_COMMAND}`; export r; \ 4927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4928 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 4929 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \ 4930 $(HOST_EXPORTS) \ 4931 $(POSTSTAGE1_HOST_EXPORTS) \ 4932 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 4933 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 4934 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 4935 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \ 4936 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \ 4937 cd $(HOST_SUBDIR)/binutils || exit 1; \ 4938 case $(srcdir) in \ 4939 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 4940 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \ 4941 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 4942 esac; \ 4943 srcdiroption="--srcdir=$${topdir}/binutils"; \ 4944 libsrcdir="$$s/binutils"; \ 4945 $(SHELL) $${libsrcdir}/configure \ 4946 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 4947 --target=${target_alias} $${srcdiroption} \ 4948 --with-build-libsubdir=$(HOST_SUBDIR) \ 4949 $(STAGEfeedback_CONFIGURE_FLAGS) 4950 @endif binutils-bootstrap 4951 4952 4953 4954 4955 4956 .PHONY: all-binutils maybe-all-binutils 4957 maybe-all-binutils: 4958 @if gcc-bootstrap 4959 all-binutils: stage_current 4960 @endif gcc-bootstrap 4961 @if binutils 4962 TARGET-binutils=all 4963 maybe-all-binutils: all-binutils 4964 all-binutils: configure-binutils 4965 @r=`${PWD_COMMAND}`; export r; \ 4966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4967 $(HOST_EXPORTS) \ 4968 (cd $(HOST_SUBDIR)/binutils && \ 4969 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 4970 $(TARGET-binutils)) 4971 @endif binutils 4972 4973 4974 4975 .PHONY: all-stage1-binutils maybe-all-stage1-binutils 4976 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils 4977 maybe-all-stage1-binutils: 4978 maybe-clean-stage1-binutils: 4979 @if binutils-bootstrap 4980 maybe-all-stage1-binutils: all-stage1-binutils 4981 all-stage1: all-stage1-binutils 4982 TARGET-stage1-binutils = $(TARGET-binutils) 4983 all-stage1-binutils: configure-stage1-binutils 4984 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 4985 @r=`${PWD_COMMAND}`; export r; \ 4986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 4987 TFLAGS="$(STAGE1_TFLAGS)"; \ 4988 $(HOST_EXPORTS) \ 4989 cd $(HOST_SUBDIR)/binutils && \ 4990 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 4991 CFLAGS="$(STAGE1_CFLAGS)" \ 4992 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 4993 LIBCFLAGS="$(LIBCFLAGS)" \ 4994 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 4995 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 4996 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 4997 $(EXTRA_HOST_FLAGS) \ 4998 $(STAGE1_FLAGS_TO_PASS) \ 4999 TFLAGS="$(STAGE1_TFLAGS)" \ 5000 $(TARGET-stage1-binutils) 5001 5002 maybe-clean-stage1-binutils: clean-stage1-binutils 5003 clean-stage1: clean-stage1-binutils 5004 clean-stage1-binutils: 5005 @if [ $(current_stage) = stage1 ]; then \ 5006 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ 5007 else \ 5008 [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \ 5009 $(MAKE) stage1-start; \ 5010 fi; \ 5011 cd $(HOST_SUBDIR)/binutils && \ 5012 $(MAKE) $(EXTRA_HOST_FLAGS) \ 5013 $(STAGE1_FLAGS_TO_PASS) clean 5014 @endif binutils-bootstrap 5015 5016 5017 .PHONY: all-stage2-binutils maybe-all-stage2-binutils 5018 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils 5019 maybe-all-stage2-binutils: 5020 maybe-clean-stage2-binutils: 5021 @if binutils-bootstrap 5022 maybe-all-stage2-binutils: all-stage2-binutils 5023 all-stage2: all-stage2-binutils 5024 TARGET-stage2-binutils = $(TARGET-binutils) 5025 all-stage2-binutils: configure-stage2-binutils 5026 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 5027 @r=`${PWD_COMMAND}`; export r; \ 5028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5029 TFLAGS="$(STAGE2_TFLAGS)"; \ 5030 $(HOST_EXPORTS) \ 5031 $(POSTSTAGE1_HOST_EXPORTS) \ 5032 cd $(HOST_SUBDIR)/binutils && \ 5033 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 5034 CFLAGS="$(STAGE2_CFLAGS)" \ 5035 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 5036 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 5037 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 5038 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 5039 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 5040 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 5041 TFLAGS="$(STAGE2_TFLAGS)" \ 5042 $(TARGET-stage2-binutils) 5043 5044 maybe-clean-stage2-binutils: clean-stage2-binutils 5045 clean-stage2: clean-stage2-binutils 5046 clean-stage2-binutils: 5047 @if [ $(current_stage) = stage2 ]; then \ 5048 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ 5049 else \ 5050 [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \ 5051 $(MAKE) stage2-start; \ 5052 fi; \ 5053 cd $(HOST_SUBDIR)/binutils && \ 5054 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 5055 @endif binutils-bootstrap 5056 5057 5058 .PHONY: all-stage3-binutils maybe-all-stage3-binutils 5059 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils 5060 maybe-all-stage3-binutils: 5061 maybe-clean-stage3-binutils: 5062 @if binutils-bootstrap 5063 maybe-all-stage3-binutils: all-stage3-binutils 5064 all-stage3: all-stage3-binutils 5065 TARGET-stage3-binutils = $(TARGET-binutils) 5066 all-stage3-binutils: configure-stage3-binutils 5067 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 5068 @r=`${PWD_COMMAND}`; export r; \ 5069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5070 TFLAGS="$(STAGE3_TFLAGS)"; \ 5071 $(HOST_EXPORTS) \ 5072 $(POSTSTAGE1_HOST_EXPORTS) \ 5073 cd $(HOST_SUBDIR)/binutils && \ 5074 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 5075 CFLAGS="$(STAGE3_CFLAGS)" \ 5076 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 5077 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 5078 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 5079 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 5080 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 5081 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 5082 TFLAGS="$(STAGE3_TFLAGS)" \ 5083 $(TARGET-stage3-binutils) 5084 5085 maybe-clean-stage3-binutils: clean-stage3-binutils 5086 clean-stage3: clean-stage3-binutils 5087 clean-stage3-binutils: 5088 @if [ $(current_stage) = stage3 ]; then \ 5089 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ 5090 else \ 5091 [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \ 5092 $(MAKE) stage3-start; \ 5093 fi; \ 5094 cd $(HOST_SUBDIR)/binutils && \ 5095 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 5096 @endif binutils-bootstrap 5097 5098 5099 .PHONY: all-stage4-binutils maybe-all-stage4-binutils 5100 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils 5101 maybe-all-stage4-binutils: 5102 maybe-clean-stage4-binutils: 5103 @if binutils-bootstrap 5104 maybe-all-stage4-binutils: all-stage4-binutils 5105 all-stage4: all-stage4-binutils 5106 TARGET-stage4-binutils = $(TARGET-binutils) 5107 all-stage4-binutils: configure-stage4-binutils 5108 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 5109 @r=`${PWD_COMMAND}`; export r; \ 5110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5111 TFLAGS="$(STAGE4_TFLAGS)"; \ 5112 $(HOST_EXPORTS) \ 5113 $(POSTSTAGE1_HOST_EXPORTS) \ 5114 cd $(HOST_SUBDIR)/binutils && \ 5115 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 5116 CFLAGS="$(STAGE4_CFLAGS)" \ 5117 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 5118 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 5119 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 5120 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 5121 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 5122 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 5123 TFLAGS="$(STAGE4_TFLAGS)" \ 5124 $(TARGET-stage4-binutils) 5125 5126 maybe-clean-stage4-binutils: clean-stage4-binutils 5127 clean-stage4: clean-stage4-binutils 5128 clean-stage4-binutils: 5129 @if [ $(current_stage) = stage4 ]; then \ 5130 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ 5131 else \ 5132 [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \ 5133 $(MAKE) stage4-start; \ 5134 fi; \ 5135 cd $(HOST_SUBDIR)/binutils && \ 5136 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 5137 @endif binutils-bootstrap 5138 5139 5140 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils 5141 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils 5142 maybe-all-stageprofile-binutils: 5143 maybe-clean-stageprofile-binutils: 5144 @if binutils-bootstrap 5145 maybe-all-stageprofile-binutils: all-stageprofile-binutils 5146 all-stageprofile: all-stageprofile-binutils 5147 TARGET-stageprofile-binutils = $(TARGET-binutils) 5148 all-stageprofile-binutils: configure-stageprofile-binutils 5149 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 5150 @r=`${PWD_COMMAND}`; export r; \ 5151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5152 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 5153 $(HOST_EXPORTS) \ 5154 $(POSTSTAGE1_HOST_EXPORTS) \ 5155 cd $(HOST_SUBDIR)/binutils && \ 5156 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 5157 CFLAGS="$(STAGEprofile_CFLAGS)" \ 5158 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 5159 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 5160 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 5161 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 5162 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 5163 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 5164 TFLAGS="$(STAGEprofile_TFLAGS)" \ 5165 $(TARGET-stageprofile-binutils) 5166 5167 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils 5168 clean-stageprofile: clean-stageprofile-binutils 5169 clean-stageprofile-binutils: 5170 @if [ $(current_stage) = stageprofile ]; then \ 5171 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ 5172 else \ 5173 [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \ 5174 $(MAKE) stageprofile-start; \ 5175 fi; \ 5176 cd $(HOST_SUBDIR)/binutils && \ 5177 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 5178 @endif binutils-bootstrap 5179 5180 5181 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils 5182 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils 5183 maybe-all-stagefeedback-binutils: 5184 maybe-clean-stagefeedback-binutils: 5185 @if binutils-bootstrap 5186 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils 5187 all-stagefeedback: all-stagefeedback-binutils 5188 TARGET-stagefeedback-binutils = $(TARGET-binutils) 5189 all-stagefeedback-binutils: configure-stagefeedback-binutils 5190 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 5191 @r=`${PWD_COMMAND}`; export r; \ 5192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5193 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 5194 $(HOST_EXPORTS) \ 5195 $(POSTSTAGE1_HOST_EXPORTS) \ 5196 cd $(HOST_SUBDIR)/binutils && \ 5197 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 5198 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 5199 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 5200 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 5201 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 5202 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 5203 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 5204 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 5205 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 5206 $(TARGET-stagefeedback-binutils) 5207 5208 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils 5209 clean-stagefeedback: clean-stagefeedback-binutils 5210 clean-stagefeedback-binutils: 5211 @if [ $(current_stage) = stagefeedback ]; then \ 5212 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \ 5213 else \ 5214 [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \ 5215 $(MAKE) stagefeedback-start; \ 5216 fi; \ 5217 cd $(HOST_SUBDIR)/binutils && \ 5218 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 5219 @endif binutils-bootstrap 5220 5221 5222 5223 5224 5225 .PHONY: check-binutils maybe-check-binutils 5226 maybe-check-binutils: 5227 @if binutils 5228 maybe-check-binutils: check-binutils 5229 5230 check-binutils: 5231 @: $(MAKE); $(unstage) 5232 @r=`${PWD_COMMAND}`; export r; \ 5233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5234 $(HOST_EXPORTS) \ 5235 (cd $(HOST_SUBDIR)/binutils && \ 5236 $(MAKE) $(FLAGS_TO_PASS) check) 5237 5238 @endif binutils 5239 5240 .PHONY: install-binutils maybe-install-binutils 5241 maybe-install-binutils: 5242 @if binutils 5243 maybe-install-binutils: install-binutils 5244 5245 install-binutils: installdirs 5246 @: $(MAKE); $(unstage) 5247 @r=`${PWD_COMMAND}`; export r; \ 5248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5249 $(HOST_EXPORTS) \ 5250 (cd $(HOST_SUBDIR)/binutils && \ 5251 $(MAKE) $(FLAGS_TO_PASS) install) 5252 5253 @endif binutils 5254 5255 .PHONY: install-strip-binutils maybe-install-strip-binutils 5256 maybe-install-strip-binutils: 5257 @if binutils 5258 maybe-install-strip-binutils: install-strip-binutils 5259 5260 install-strip-binutils: installdirs 5261 @: $(MAKE); $(unstage) 5262 @r=`${PWD_COMMAND}`; export r; \ 5263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5264 $(HOST_EXPORTS) \ 5265 (cd $(HOST_SUBDIR)/binutils && \ 5266 $(MAKE) $(FLAGS_TO_PASS) install-strip) 5267 5268 @endif binutils 5269 5270 # Other targets (info, dvi, pdf, etc.) 5271 5272 .PHONY: maybe-info-binutils info-binutils 5273 maybe-info-binutils: 5274 @if binutils 5275 maybe-info-binutils: info-binutils 5276 5277 info-binutils: \ 5278 configure-binutils 5279 @[ -f ./binutils/Makefile ] || exit 0; \ 5280 r=`${PWD_COMMAND}`; export r; \ 5281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5282 $(HOST_EXPORTS) \ 5283 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5285 done; \ 5286 echo "Doing info in binutils" ; \ 5287 (cd $(HOST_SUBDIR)/binutils && \ 5288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5290 "RANLIB=$${RANLIB}" \ 5291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5292 info) \ 5293 || exit 1 5294 5295 @endif binutils 5296 5297 .PHONY: maybe-dvi-binutils dvi-binutils 5298 maybe-dvi-binutils: 5299 @if binutils 5300 maybe-dvi-binutils: dvi-binutils 5301 5302 dvi-binutils: \ 5303 configure-binutils 5304 @[ -f ./binutils/Makefile ] || exit 0; \ 5305 r=`${PWD_COMMAND}`; export r; \ 5306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5307 $(HOST_EXPORTS) \ 5308 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5310 done; \ 5311 echo "Doing dvi in binutils" ; \ 5312 (cd $(HOST_SUBDIR)/binutils && \ 5313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5315 "RANLIB=$${RANLIB}" \ 5316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5317 dvi) \ 5318 || exit 1 5319 5320 @endif binutils 5321 5322 .PHONY: maybe-pdf-binutils pdf-binutils 5323 maybe-pdf-binutils: 5324 @if binutils 5325 maybe-pdf-binutils: pdf-binutils 5326 5327 pdf-binutils: \ 5328 configure-binutils 5329 @[ -f ./binutils/Makefile ] || exit 0; \ 5330 r=`${PWD_COMMAND}`; export r; \ 5331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5332 $(HOST_EXPORTS) \ 5333 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5335 done; \ 5336 echo "Doing pdf in binutils" ; \ 5337 (cd $(HOST_SUBDIR)/binutils && \ 5338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5340 "RANLIB=$${RANLIB}" \ 5341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5342 pdf) \ 5343 || exit 1 5344 5345 @endif binutils 5346 5347 .PHONY: maybe-html-binutils html-binutils 5348 maybe-html-binutils: 5349 @if binutils 5350 maybe-html-binutils: html-binutils 5351 5352 html-binutils: \ 5353 configure-binutils 5354 @[ -f ./binutils/Makefile ] || exit 0; \ 5355 r=`${PWD_COMMAND}`; export r; \ 5356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5357 $(HOST_EXPORTS) \ 5358 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5360 done; \ 5361 echo "Doing html in binutils" ; \ 5362 (cd $(HOST_SUBDIR)/binutils && \ 5363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5365 "RANLIB=$${RANLIB}" \ 5366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5367 html) \ 5368 || exit 1 5369 5370 @endif binutils 5371 5372 .PHONY: maybe-TAGS-binutils TAGS-binutils 5373 maybe-TAGS-binutils: 5374 @if binutils 5375 maybe-TAGS-binutils: TAGS-binutils 5376 5377 TAGS-binutils: \ 5378 configure-binutils 5379 @[ -f ./binutils/Makefile ] || exit 0; \ 5380 r=`${PWD_COMMAND}`; export r; \ 5381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5382 $(HOST_EXPORTS) \ 5383 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5385 done; \ 5386 echo "Doing TAGS in binutils" ; \ 5387 (cd $(HOST_SUBDIR)/binutils && \ 5388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5390 "RANLIB=$${RANLIB}" \ 5391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5392 TAGS) \ 5393 || exit 1 5394 5395 @endif binutils 5396 5397 .PHONY: maybe-install-info-binutils install-info-binutils 5398 maybe-install-info-binutils: 5399 @if binutils 5400 maybe-install-info-binutils: install-info-binutils 5401 5402 install-info-binutils: \ 5403 configure-binutils \ 5404 info-binutils 5405 @[ -f ./binutils/Makefile ] || exit 0; \ 5406 r=`${PWD_COMMAND}`; export r; \ 5407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5408 $(HOST_EXPORTS) \ 5409 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5411 done; \ 5412 echo "Doing install-info in binutils" ; \ 5413 (cd $(HOST_SUBDIR)/binutils && \ 5414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5416 "RANLIB=$${RANLIB}" \ 5417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5418 install-info) \ 5419 || exit 1 5420 5421 @endif binutils 5422 5423 .PHONY: maybe-install-pdf-binutils install-pdf-binutils 5424 maybe-install-pdf-binutils: 5425 @if binutils 5426 maybe-install-pdf-binutils: install-pdf-binutils 5427 5428 install-pdf-binutils: \ 5429 configure-binutils \ 5430 pdf-binutils 5431 @[ -f ./binutils/Makefile ] || exit 0; \ 5432 r=`${PWD_COMMAND}`; export r; \ 5433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5434 $(HOST_EXPORTS) \ 5435 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5437 done; \ 5438 echo "Doing install-pdf in binutils" ; \ 5439 (cd $(HOST_SUBDIR)/binutils && \ 5440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5442 "RANLIB=$${RANLIB}" \ 5443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5444 install-pdf) \ 5445 || exit 1 5446 5447 @endif binutils 5448 5449 .PHONY: maybe-install-html-binutils install-html-binutils 5450 maybe-install-html-binutils: 5451 @if binutils 5452 maybe-install-html-binutils: install-html-binutils 5453 5454 install-html-binutils: \ 5455 configure-binutils \ 5456 html-binutils 5457 @[ -f ./binutils/Makefile ] || exit 0; \ 5458 r=`${PWD_COMMAND}`; export r; \ 5459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5460 $(HOST_EXPORTS) \ 5461 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5463 done; \ 5464 echo "Doing install-html in binutils" ; \ 5465 (cd $(HOST_SUBDIR)/binutils && \ 5466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5468 "RANLIB=$${RANLIB}" \ 5469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5470 install-html) \ 5471 || exit 1 5472 5473 @endif binutils 5474 5475 .PHONY: maybe-installcheck-binutils installcheck-binutils 5476 maybe-installcheck-binutils: 5477 @if binutils 5478 maybe-installcheck-binutils: installcheck-binutils 5479 5480 installcheck-binutils: \ 5481 configure-binutils 5482 @[ -f ./binutils/Makefile ] || exit 0; \ 5483 r=`${PWD_COMMAND}`; export r; \ 5484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5485 $(HOST_EXPORTS) \ 5486 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5488 done; \ 5489 echo "Doing installcheck in binutils" ; \ 5490 (cd $(HOST_SUBDIR)/binutils && \ 5491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5493 "RANLIB=$${RANLIB}" \ 5494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5495 installcheck) \ 5496 || exit 1 5497 5498 @endif binutils 5499 5500 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils 5501 maybe-mostlyclean-binutils: 5502 @if binutils 5503 maybe-mostlyclean-binutils: mostlyclean-binutils 5504 5505 mostlyclean-binutils: 5506 @[ -f ./binutils/Makefile ] || exit 0; \ 5507 r=`${PWD_COMMAND}`; export r; \ 5508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5509 $(HOST_EXPORTS) \ 5510 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5512 done; \ 5513 echo "Doing mostlyclean in binutils" ; \ 5514 (cd $(HOST_SUBDIR)/binutils && \ 5515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5517 "RANLIB=$${RANLIB}" \ 5518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5519 mostlyclean) \ 5520 || exit 1 5521 5522 @endif binutils 5523 5524 .PHONY: maybe-clean-binutils clean-binutils 5525 maybe-clean-binutils: 5526 @if binutils 5527 maybe-clean-binutils: clean-binutils 5528 5529 clean-binutils: 5530 @[ -f ./binutils/Makefile ] || exit 0; \ 5531 r=`${PWD_COMMAND}`; export r; \ 5532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5533 $(HOST_EXPORTS) \ 5534 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5536 done; \ 5537 echo "Doing clean in binutils" ; \ 5538 (cd $(HOST_SUBDIR)/binutils && \ 5539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5541 "RANLIB=$${RANLIB}" \ 5542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5543 clean) \ 5544 || exit 1 5545 5546 @endif binutils 5547 5548 .PHONY: maybe-distclean-binutils distclean-binutils 5549 maybe-distclean-binutils: 5550 @if binutils 5551 maybe-distclean-binutils: distclean-binutils 5552 5553 distclean-binutils: 5554 @[ -f ./binutils/Makefile ] || exit 0; \ 5555 r=`${PWD_COMMAND}`; export r; \ 5556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5557 $(HOST_EXPORTS) \ 5558 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5560 done; \ 5561 echo "Doing distclean in binutils" ; \ 5562 (cd $(HOST_SUBDIR)/binutils && \ 5563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5565 "RANLIB=$${RANLIB}" \ 5566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5567 distclean) \ 5568 || exit 1 5569 5570 @endif binutils 5571 5572 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils 5573 maybe-maintainer-clean-binutils: 5574 @if binutils 5575 maybe-maintainer-clean-binutils: maintainer-clean-binutils 5576 5577 maintainer-clean-binutils: 5578 @[ -f ./binutils/Makefile ] || exit 0; \ 5579 r=`${PWD_COMMAND}`; export r; \ 5580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5581 $(HOST_EXPORTS) \ 5582 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5584 done; \ 5585 echo "Doing maintainer-clean in binutils" ; \ 5586 (cd $(HOST_SUBDIR)/binutils && \ 5587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5589 "RANLIB=$${RANLIB}" \ 5590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5591 maintainer-clean) \ 5592 || exit 1 5593 5594 @endif binutils 5595 5596 5597 5598 .PHONY: configure-bison maybe-configure-bison 5599 maybe-configure-bison: 5600 @if gcc-bootstrap 5601 configure-bison: stage_current 5602 @endif gcc-bootstrap 5603 @if bison 5604 maybe-configure-bison: configure-bison 5605 configure-bison: 5606 @: $(MAKE); $(unstage) 5607 @r=`${PWD_COMMAND}`; export r; \ 5608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5609 test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \ 5610 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \ 5611 $(HOST_EXPORTS) \ 5612 echo Configuring in $(HOST_SUBDIR)/bison; \ 5613 cd "$(HOST_SUBDIR)/bison" || exit 1; \ 5614 case $(srcdir) in \ 5615 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 5616 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \ 5617 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 5618 esac; \ 5619 srcdiroption="--srcdir=$${topdir}/bison"; \ 5620 libsrcdir="$$s/bison"; \ 5621 $(SHELL) $${libsrcdir}/configure \ 5622 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 5623 --target=${target_alias} $${srcdiroption} \ 5624 || exit 1 5625 @endif bison 5626 5627 5628 5629 5630 5631 .PHONY: all-bison maybe-all-bison 5632 maybe-all-bison: 5633 @if gcc-bootstrap 5634 all-bison: stage_current 5635 @endif gcc-bootstrap 5636 @if bison 5637 TARGET-bison=all 5638 maybe-all-bison: all-bison 5639 all-bison: configure-bison 5640 @: $(MAKE); $(unstage) 5641 @r=`${PWD_COMMAND}`; export r; \ 5642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5643 $(HOST_EXPORTS) \ 5644 (cd $(HOST_SUBDIR)/bison && \ 5645 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 5646 $(TARGET-bison)) 5647 @endif bison 5648 5649 5650 5651 5652 .PHONY: check-bison maybe-check-bison 5653 maybe-check-bison: 5654 @if bison 5655 maybe-check-bison: check-bison 5656 5657 # This module is only tested in a native toolchain. 5658 check-bison: 5659 @: $(MAKE); $(unstage) 5660 @if [ '$(host)' = '$(target)' ] ; then \ 5661 r=`${PWD_COMMAND}`; export r; \ 5662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5663 $(HOST_EXPORTS) \ 5664 (cd $(HOST_SUBDIR)/bison && \ 5665 $(MAKE) $(FLAGS_TO_PASS) check); \ 5666 fi 5667 5668 @endif bison 5669 5670 .PHONY: install-bison maybe-install-bison 5671 maybe-install-bison: 5672 @if bison 5673 maybe-install-bison: install-bison 5674 5675 install-bison: installdirs 5676 @: $(MAKE); $(unstage) 5677 @r=`${PWD_COMMAND}`; export r; \ 5678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5679 $(HOST_EXPORTS) \ 5680 (cd $(HOST_SUBDIR)/bison && \ 5681 $(MAKE) $(FLAGS_TO_PASS) install) 5682 5683 @endif bison 5684 5685 .PHONY: install-strip-bison maybe-install-strip-bison 5686 maybe-install-strip-bison: 5687 @if bison 5688 maybe-install-strip-bison: install-strip-bison 5689 5690 install-strip-bison: installdirs 5691 @: $(MAKE); $(unstage) 5692 @r=`${PWD_COMMAND}`; export r; \ 5693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5694 $(HOST_EXPORTS) \ 5695 (cd $(HOST_SUBDIR)/bison && \ 5696 $(MAKE) $(FLAGS_TO_PASS) install-strip) 5697 5698 @endif bison 5699 5700 # Other targets (info, dvi, pdf, etc.) 5701 5702 .PHONY: maybe-info-bison info-bison 5703 maybe-info-bison: 5704 @if bison 5705 maybe-info-bison: info-bison 5706 5707 info-bison: \ 5708 configure-bison 5709 @: $(MAKE); $(unstage) 5710 @[ -f ./bison/Makefile ] || exit 0; \ 5711 r=`${PWD_COMMAND}`; export r; \ 5712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5713 $(HOST_EXPORTS) \ 5714 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5716 done; \ 5717 echo "Doing info in bison" ; \ 5718 (cd $(HOST_SUBDIR)/bison && \ 5719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5721 "RANLIB=$${RANLIB}" \ 5722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5723 info) \ 5724 || exit 1 5725 5726 @endif bison 5727 5728 .PHONY: maybe-dvi-bison dvi-bison 5729 maybe-dvi-bison: 5730 @if bison 5731 maybe-dvi-bison: dvi-bison 5732 5733 dvi-bison: \ 5734 configure-bison 5735 @: $(MAKE); $(unstage) 5736 @[ -f ./bison/Makefile ] || exit 0; \ 5737 r=`${PWD_COMMAND}`; export r; \ 5738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5739 $(HOST_EXPORTS) \ 5740 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5742 done; \ 5743 echo "Doing dvi in bison" ; \ 5744 (cd $(HOST_SUBDIR)/bison && \ 5745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5747 "RANLIB=$${RANLIB}" \ 5748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5749 dvi) \ 5750 || exit 1 5751 5752 @endif bison 5753 5754 .PHONY: maybe-pdf-bison pdf-bison 5755 maybe-pdf-bison: 5756 @if bison 5757 maybe-pdf-bison: pdf-bison 5758 5759 pdf-bison: \ 5760 configure-bison 5761 @: $(MAKE); $(unstage) 5762 @[ -f ./bison/Makefile ] || exit 0; \ 5763 r=`${PWD_COMMAND}`; export r; \ 5764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5765 $(HOST_EXPORTS) \ 5766 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5768 done; \ 5769 echo "Doing pdf in bison" ; \ 5770 (cd $(HOST_SUBDIR)/bison && \ 5771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5773 "RANLIB=$${RANLIB}" \ 5774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5775 pdf) \ 5776 || exit 1 5777 5778 @endif bison 5779 5780 .PHONY: maybe-html-bison html-bison 5781 maybe-html-bison: 5782 @if bison 5783 maybe-html-bison: html-bison 5784 5785 html-bison: \ 5786 configure-bison 5787 @: $(MAKE); $(unstage) 5788 @[ -f ./bison/Makefile ] || exit 0; \ 5789 r=`${PWD_COMMAND}`; export r; \ 5790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5791 $(HOST_EXPORTS) \ 5792 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5794 done; \ 5795 echo "Doing html in bison" ; \ 5796 (cd $(HOST_SUBDIR)/bison && \ 5797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5799 "RANLIB=$${RANLIB}" \ 5800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5801 html) \ 5802 || exit 1 5803 5804 @endif bison 5805 5806 .PHONY: maybe-TAGS-bison TAGS-bison 5807 maybe-TAGS-bison: 5808 @if bison 5809 maybe-TAGS-bison: TAGS-bison 5810 5811 TAGS-bison: \ 5812 configure-bison 5813 @: $(MAKE); $(unstage) 5814 @[ -f ./bison/Makefile ] || exit 0; \ 5815 r=`${PWD_COMMAND}`; export r; \ 5816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5817 $(HOST_EXPORTS) \ 5818 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5820 done; \ 5821 echo "Doing TAGS in bison" ; \ 5822 (cd $(HOST_SUBDIR)/bison && \ 5823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5825 "RANLIB=$${RANLIB}" \ 5826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5827 TAGS) \ 5828 || exit 1 5829 5830 @endif bison 5831 5832 .PHONY: maybe-install-info-bison install-info-bison 5833 maybe-install-info-bison: 5834 @if bison 5835 maybe-install-info-bison: install-info-bison 5836 5837 install-info-bison: \ 5838 configure-bison \ 5839 info-bison 5840 @: $(MAKE); $(unstage) 5841 @[ -f ./bison/Makefile ] || exit 0; \ 5842 r=`${PWD_COMMAND}`; export r; \ 5843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5844 $(HOST_EXPORTS) \ 5845 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5847 done; \ 5848 echo "Doing install-info in bison" ; \ 5849 (cd $(HOST_SUBDIR)/bison && \ 5850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5852 "RANLIB=$${RANLIB}" \ 5853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5854 install-info) \ 5855 || exit 1 5856 5857 @endif bison 5858 5859 .PHONY: maybe-install-pdf-bison install-pdf-bison 5860 maybe-install-pdf-bison: 5861 @if bison 5862 maybe-install-pdf-bison: install-pdf-bison 5863 5864 install-pdf-bison: \ 5865 configure-bison \ 5866 pdf-bison 5867 @: $(MAKE); $(unstage) 5868 @[ -f ./bison/Makefile ] || exit 0; \ 5869 r=`${PWD_COMMAND}`; export r; \ 5870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5871 $(HOST_EXPORTS) \ 5872 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5874 done; \ 5875 echo "Doing install-pdf in bison" ; \ 5876 (cd $(HOST_SUBDIR)/bison && \ 5877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5879 "RANLIB=$${RANLIB}" \ 5880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5881 install-pdf) \ 5882 || exit 1 5883 5884 @endif bison 5885 5886 .PHONY: maybe-install-html-bison install-html-bison 5887 maybe-install-html-bison: 5888 @if bison 5889 maybe-install-html-bison: install-html-bison 5890 5891 install-html-bison: \ 5892 configure-bison \ 5893 html-bison 5894 @: $(MAKE); $(unstage) 5895 @[ -f ./bison/Makefile ] || exit 0; \ 5896 r=`${PWD_COMMAND}`; export r; \ 5897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5898 $(HOST_EXPORTS) \ 5899 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5901 done; \ 5902 echo "Doing install-html in bison" ; \ 5903 (cd $(HOST_SUBDIR)/bison && \ 5904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5906 "RANLIB=$${RANLIB}" \ 5907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5908 install-html) \ 5909 || exit 1 5910 5911 @endif bison 5912 5913 .PHONY: maybe-installcheck-bison installcheck-bison 5914 maybe-installcheck-bison: 5915 @if bison 5916 maybe-installcheck-bison: installcheck-bison 5917 5918 installcheck-bison: \ 5919 configure-bison 5920 @: $(MAKE); $(unstage) 5921 @[ -f ./bison/Makefile ] || exit 0; \ 5922 r=`${PWD_COMMAND}`; export r; \ 5923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5924 $(HOST_EXPORTS) \ 5925 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5927 done; \ 5928 echo "Doing installcheck in bison" ; \ 5929 (cd $(HOST_SUBDIR)/bison && \ 5930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5932 "RANLIB=$${RANLIB}" \ 5933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5934 installcheck) \ 5935 || exit 1 5936 5937 @endif bison 5938 5939 .PHONY: maybe-mostlyclean-bison mostlyclean-bison 5940 maybe-mostlyclean-bison: 5941 @if bison 5942 maybe-mostlyclean-bison: mostlyclean-bison 5943 5944 mostlyclean-bison: 5945 @: $(MAKE); $(unstage) 5946 @[ -f ./bison/Makefile ] || exit 0; \ 5947 r=`${PWD_COMMAND}`; export r; \ 5948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5949 $(HOST_EXPORTS) \ 5950 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5952 done; \ 5953 echo "Doing mostlyclean in bison" ; \ 5954 (cd $(HOST_SUBDIR)/bison && \ 5955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5957 "RANLIB=$${RANLIB}" \ 5958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5959 mostlyclean) \ 5960 || exit 1 5961 5962 @endif bison 5963 5964 .PHONY: maybe-clean-bison clean-bison 5965 maybe-clean-bison: 5966 @if bison 5967 maybe-clean-bison: clean-bison 5968 5969 clean-bison: 5970 @: $(MAKE); $(unstage) 5971 @[ -f ./bison/Makefile ] || exit 0; \ 5972 r=`${PWD_COMMAND}`; export r; \ 5973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5974 $(HOST_EXPORTS) \ 5975 for flag in $(EXTRA_HOST_FLAGS) ; do \ 5976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 5977 done; \ 5978 echo "Doing clean in bison" ; \ 5979 (cd $(HOST_SUBDIR)/bison && \ 5980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 5981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 5982 "RANLIB=$${RANLIB}" \ 5983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 5984 clean) \ 5985 || exit 1 5986 5987 @endif bison 5988 5989 .PHONY: maybe-distclean-bison distclean-bison 5990 maybe-distclean-bison: 5991 @if bison 5992 maybe-distclean-bison: distclean-bison 5993 5994 distclean-bison: 5995 @: $(MAKE); $(unstage) 5996 @[ -f ./bison/Makefile ] || exit 0; \ 5997 r=`${PWD_COMMAND}`; export r; \ 5998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 5999 $(HOST_EXPORTS) \ 6000 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6002 done; \ 6003 echo "Doing distclean in bison" ; \ 6004 (cd $(HOST_SUBDIR)/bison && \ 6005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6007 "RANLIB=$${RANLIB}" \ 6008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6009 distclean) \ 6010 || exit 1 6011 6012 @endif bison 6013 6014 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison 6015 maybe-maintainer-clean-bison: 6016 @if bison 6017 maybe-maintainer-clean-bison: maintainer-clean-bison 6018 6019 maintainer-clean-bison: 6020 @: $(MAKE); $(unstage) 6021 @[ -f ./bison/Makefile ] || exit 0; \ 6022 r=`${PWD_COMMAND}`; export r; \ 6023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6024 $(HOST_EXPORTS) \ 6025 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6027 done; \ 6028 echo "Doing maintainer-clean in bison" ; \ 6029 (cd $(HOST_SUBDIR)/bison && \ 6030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6032 "RANLIB=$${RANLIB}" \ 6033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6034 maintainer-clean) \ 6035 || exit 1 6036 6037 @endif bison 6038 6039 6040 6041 .PHONY: configure-cgen maybe-configure-cgen 6042 maybe-configure-cgen: 6043 @if gcc-bootstrap 6044 configure-cgen: stage_current 6045 @endif gcc-bootstrap 6046 @if cgen 6047 maybe-configure-cgen: configure-cgen 6048 configure-cgen: 6049 @: $(MAKE); $(unstage) 6050 @r=`${PWD_COMMAND}`; export r; \ 6051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6052 test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \ 6053 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \ 6054 $(HOST_EXPORTS) \ 6055 echo Configuring in $(HOST_SUBDIR)/cgen; \ 6056 cd "$(HOST_SUBDIR)/cgen" || exit 1; \ 6057 case $(srcdir) in \ 6058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 6059 *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \ 6060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 6061 esac; \ 6062 srcdiroption="--srcdir=$${topdir}/cgen"; \ 6063 libsrcdir="$$s/cgen"; \ 6064 $(SHELL) $${libsrcdir}/configure \ 6065 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 6066 --target=${target_alias} $${srcdiroption} \ 6067 || exit 1 6068 @endif cgen 6069 6070 6071 6072 6073 6074 .PHONY: all-cgen maybe-all-cgen 6075 maybe-all-cgen: 6076 @if gcc-bootstrap 6077 all-cgen: stage_current 6078 @endif gcc-bootstrap 6079 @if cgen 6080 TARGET-cgen=all 6081 maybe-all-cgen: all-cgen 6082 all-cgen: configure-cgen 6083 @: $(MAKE); $(unstage) 6084 @r=`${PWD_COMMAND}`; export r; \ 6085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6086 $(HOST_EXPORTS) \ 6087 (cd $(HOST_SUBDIR)/cgen && \ 6088 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 6089 $(TARGET-cgen)) 6090 @endif cgen 6091 6092 6093 6094 6095 .PHONY: check-cgen maybe-check-cgen 6096 maybe-check-cgen: 6097 @if cgen 6098 maybe-check-cgen: check-cgen 6099 6100 check-cgen: 6101 @: $(MAKE); $(unstage) 6102 @r=`${PWD_COMMAND}`; export r; \ 6103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6104 $(HOST_EXPORTS) \ 6105 (cd $(HOST_SUBDIR)/cgen && \ 6106 $(MAKE) $(FLAGS_TO_PASS) check) 6107 6108 @endif cgen 6109 6110 .PHONY: install-cgen maybe-install-cgen 6111 maybe-install-cgen: 6112 @if cgen 6113 maybe-install-cgen: install-cgen 6114 6115 install-cgen: installdirs 6116 @: $(MAKE); $(unstage) 6117 @r=`${PWD_COMMAND}`; export r; \ 6118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6119 $(HOST_EXPORTS) \ 6120 (cd $(HOST_SUBDIR)/cgen && \ 6121 $(MAKE) $(FLAGS_TO_PASS) install) 6122 6123 @endif cgen 6124 6125 .PHONY: install-strip-cgen maybe-install-strip-cgen 6126 maybe-install-strip-cgen: 6127 @if cgen 6128 maybe-install-strip-cgen: install-strip-cgen 6129 6130 install-strip-cgen: installdirs 6131 @: $(MAKE); $(unstage) 6132 @r=`${PWD_COMMAND}`; export r; \ 6133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6134 $(HOST_EXPORTS) \ 6135 (cd $(HOST_SUBDIR)/cgen && \ 6136 $(MAKE) $(FLAGS_TO_PASS) install-strip) 6137 6138 @endif cgen 6139 6140 # Other targets (info, dvi, pdf, etc.) 6141 6142 .PHONY: maybe-info-cgen info-cgen 6143 maybe-info-cgen: 6144 @if cgen 6145 maybe-info-cgen: info-cgen 6146 6147 info-cgen: \ 6148 configure-cgen 6149 @: $(MAKE); $(unstage) 6150 @[ -f ./cgen/Makefile ] || exit 0; \ 6151 r=`${PWD_COMMAND}`; export r; \ 6152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6153 $(HOST_EXPORTS) \ 6154 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6156 done; \ 6157 echo "Doing info in cgen" ; \ 6158 (cd $(HOST_SUBDIR)/cgen && \ 6159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6161 "RANLIB=$${RANLIB}" \ 6162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6163 info) \ 6164 || exit 1 6165 6166 @endif cgen 6167 6168 .PHONY: maybe-dvi-cgen dvi-cgen 6169 maybe-dvi-cgen: 6170 @if cgen 6171 maybe-dvi-cgen: dvi-cgen 6172 6173 dvi-cgen: \ 6174 configure-cgen 6175 @: $(MAKE); $(unstage) 6176 @[ -f ./cgen/Makefile ] || exit 0; \ 6177 r=`${PWD_COMMAND}`; export r; \ 6178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6179 $(HOST_EXPORTS) \ 6180 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6182 done; \ 6183 echo "Doing dvi in cgen" ; \ 6184 (cd $(HOST_SUBDIR)/cgen && \ 6185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6187 "RANLIB=$${RANLIB}" \ 6188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6189 dvi) \ 6190 || exit 1 6191 6192 @endif cgen 6193 6194 .PHONY: maybe-pdf-cgen pdf-cgen 6195 maybe-pdf-cgen: 6196 @if cgen 6197 maybe-pdf-cgen: pdf-cgen 6198 6199 pdf-cgen: \ 6200 configure-cgen 6201 @: $(MAKE); $(unstage) 6202 @[ -f ./cgen/Makefile ] || exit 0; \ 6203 r=`${PWD_COMMAND}`; export r; \ 6204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6205 $(HOST_EXPORTS) \ 6206 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6208 done; \ 6209 echo "Doing pdf in cgen" ; \ 6210 (cd $(HOST_SUBDIR)/cgen && \ 6211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6213 "RANLIB=$${RANLIB}" \ 6214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6215 pdf) \ 6216 || exit 1 6217 6218 @endif cgen 6219 6220 .PHONY: maybe-html-cgen html-cgen 6221 maybe-html-cgen: 6222 @if cgen 6223 maybe-html-cgen: html-cgen 6224 6225 html-cgen: \ 6226 configure-cgen 6227 @: $(MAKE); $(unstage) 6228 @[ -f ./cgen/Makefile ] || exit 0; \ 6229 r=`${PWD_COMMAND}`; export r; \ 6230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6231 $(HOST_EXPORTS) \ 6232 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6234 done; \ 6235 echo "Doing html in cgen" ; \ 6236 (cd $(HOST_SUBDIR)/cgen && \ 6237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6239 "RANLIB=$${RANLIB}" \ 6240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6241 html) \ 6242 || exit 1 6243 6244 @endif cgen 6245 6246 .PHONY: maybe-TAGS-cgen TAGS-cgen 6247 maybe-TAGS-cgen: 6248 @if cgen 6249 maybe-TAGS-cgen: TAGS-cgen 6250 6251 TAGS-cgen: \ 6252 configure-cgen 6253 @: $(MAKE); $(unstage) 6254 @[ -f ./cgen/Makefile ] || exit 0; \ 6255 r=`${PWD_COMMAND}`; export r; \ 6256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6257 $(HOST_EXPORTS) \ 6258 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6260 done; \ 6261 echo "Doing TAGS in cgen" ; \ 6262 (cd $(HOST_SUBDIR)/cgen && \ 6263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6265 "RANLIB=$${RANLIB}" \ 6266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6267 TAGS) \ 6268 || exit 1 6269 6270 @endif cgen 6271 6272 .PHONY: maybe-install-info-cgen install-info-cgen 6273 maybe-install-info-cgen: 6274 @if cgen 6275 maybe-install-info-cgen: install-info-cgen 6276 6277 install-info-cgen: \ 6278 configure-cgen \ 6279 info-cgen 6280 @: $(MAKE); $(unstage) 6281 @[ -f ./cgen/Makefile ] || exit 0; \ 6282 r=`${PWD_COMMAND}`; export r; \ 6283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6284 $(HOST_EXPORTS) \ 6285 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6287 done; \ 6288 echo "Doing install-info in cgen" ; \ 6289 (cd $(HOST_SUBDIR)/cgen && \ 6290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6292 "RANLIB=$${RANLIB}" \ 6293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6294 install-info) \ 6295 || exit 1 6296 6297 @endif cgen 6298 6299 .PHONY: maybe-install-pdf-cgen install-pdf-cgen 6300 maybe-install-pdf-cgen: 6301 @if cgen 6302 maybe-install-pdf-cgen: install-pdf-cgen 6303 6304 install-pdf-cgen: \ 6305 configure-cgen \ 6306 pdf-cgen 6307 @: $(MAKE); $(unstage) 6308 @[ -f ./cgen/Makefile ] || exit 0; \ 6309 r=`${PWD_COMMAND}`; export r; \ 6310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6311 $(HOST_EXPORTS) \ 6312 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6314 done; \ 6315 echo "Doing install-pdf in cgen" ; \ 6316 (cd $(HOST_SUBDIR)/cgen && \ 6317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6319 "RANLIB=$${RANLIB}" \ 6320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6321 install-pdf) \ 6322 || exit 1 6323 6324 @endif cgen 6325 6326 .PHONY: maybe-install-html-cgen install-html-cgen 6327 maybe-install-html-cgen: 6328 @if cgen 6329 maybe-install-html-cgen: install-html-cgen 6330 6331 install-html-cgen: \ 6332 configure-cgen \ 6333 html-cgen 6334 @: $(MAKE); $(unstage) 6335 @[ -f ./cgen/Makefile ] || exit 0; \ 6336 r=`${PWD_COMMAND}`; export r; \ 6337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6338 $(HOST_EXPORTS) \ 6339 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6341 done; \ 6342 echo "Doing install-html in cgen" ; \ 6343 (cd $(HOST_SUBDIR)/cgen && \ 6344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6346 "RANLIB=$${RANLIB}" \ 6347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6348 install-html) \ 6349 || exit 1 6350 6351 @endif cgen 6352 6353 .PHONY: maybe-installcheck-cgen installcheck-cgen 6354 maybe-installcheck-cgen: 6355 @if cgen 6356 maybe-installcheck-cgen: installcheck-cgen 6357 6358 installcheck-cgen: \ 6359 configure-cgen 6360 @: $(MAKE); $(unstage) 6361 @[ -f ./cgen/Makefile ] || exit 0; \ 6362 r=`${PWD_COMMAND}`; export r; \ 6363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6364 $(HOST_EXPORTS) \ 6365 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6367 done; \ 6368 echo "Doing installcheck in cgen" ; \ 6369 (cd $(HOST_SUBDIR)/cgen && \ 6370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6372 "RANLIB=$${RANLIB}" \ 6373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6374 installcheck) \ 6375 || exit 1 6376 6377 @endif cgen 6378 6379 .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen 6380 maybe-mostlyclean-cgen: 6381 @if cgen 6382 maybe-mostlyclean-cgen: mostlyclean-cgen 6383 6384 mostlyclean-cgen: 6385 @: $(MAKE); $(unstage) 6386 @[ -f ./cgen/Makefile ] || exit 0; \ 6387 r=`${PWD_COMMAND}`; export r; \ 6388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6389 $(HOST_EXPORTS) \ 6390 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6392 done; \ 6393 echo "Doing mostlyclean in cgen" ; \ 6394 (cd $(HOST_SUBDIR)/cgen && \ 6395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6397 "RANLIB=$${RANLIB}" \ 6398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6399 mostlyclean) \ 6400 || exit 1 6401 6402 @endif cgen 6403 6404 .PHONY: maybe-clean-cgen clean-cgen 6405 maybe-clean-cgen: 6406 @if cgen 6407 maybe-clean-cgen: clean-cgen 6408 6409 clean-cgen: 6410 @: $(MAKE); $(unstage) 6411 @[ -f ./cgen/Makefile ] || exit 0; \ 6412 r=`${PWD_COMMAND}`; export r; \ 6413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6414 $(HOST_EXPORTS) \ 6415 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6417 done; \ 6418 echo "Doing clean in cgen" ; \ 6419 (cd $(HOST_SUBDIR)/cgen && \ 6420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6422 "RANLIB=$${RANLIB}" \ 6423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6424 clean) \ 6425 || exit 1 6426 6427 @endif cgen 6428 6429 .PHONY: maybe-distclean-cgen distclean-cgen 6430 maybe-distclean-cgen: 6431 @if cgen 6432 maybe-distclean-cgen: distclean-cgen 6433 6434 distclean-cgen: 6435 @: $(MAKE); $(unstage) 6436 @[ -f ./cgen/Makefile ] || exit 0; \ 6437 r=`${PWD_COMMAND}`; export r; \ 6438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6439 $(HOST_EXPORTS) \ 6440 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6442 done; \ 6443 echo "Doing distclean in cgen" ; \ 6444 (cd $(HOST_SUBDIR)/cgen && \ 6445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6447 "RANLIB=$${RANLIB}" \ 6448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6449 distclean) \ 6450 || exit 1 6451 6452 @endif cgen 6453 6454 .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen 6455 maybe-maintainer-clean-cgen: 6456 @if cgen 6457 maybe-maintainer-clean-cgen: maintainer-clean-cgen 6458 6459 maintainer-clean-cgen: 6460 @: $(MAKE); $(unstage) 6461 @[ -f ./cgen/Makefile ] || exit 0; \ 6462 r=`${PWD_COMMAND}`; export r; \ 6463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6464 $(HOST_EXPORTS) \ 6465 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6467 done; \ 6468 echo "Doing maintainer-clean in cgen" ; \ 6469 (cd $(HOST_SUBDIR)/cgen && \ 6470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6472 "RANLIB=$${RANLIB}" \ 6473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6474 maintainer-clean) \ 6475 || exit 1 6476 6477 @endif cgen 6478 6479 6480 6481 .PHONY: configure-dejagnu maybe-configure-dejagnu 6482 maybe-configure-dejagnu: 6483 @if gcc-bootstrap 6484 configure-dejagnu: stage_current 6485 @endif gcc-bootstrap 6486 @if dejagnu 6487 maybe-configure-dejagnu: configure-dejagnu 6488 configure-dejagnu: 6489 @: $(MAKE); $(unstage) 6490 @r=`${PWD_COMMAND}`; export r; \ 6491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6492 test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \ 6493 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \ 6494 $(HOST_EXPORTS) \ 6495 echo Configuring in $(HOST_SUBDIR)/dejagnu; \ 6496 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \ 6497 case $(srcdir) in \ 6498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 6499 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \ 6500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 6501 esac; \ 6502 srcdiroption="--srcdir=$${topdir}/dejagnu"; \ 6503 libsrcdir="$$s/dejagnu"; \ 6504 $(SHELL) $${libsrcdir}/configure \ 6505 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 6506 --target=${target_alias} $${srcdiroption} \ 6507 || exit 1 6508 @endif dejagnu 6509 6510 6511 6512 6513 6514 .PHONY: all-dejagnu maybe-all-dejagnu 6515 maybe-all-dejagnu: 6516 @if gcc-bootstrap 6517 all-dejagnu: stage_current 6518 @endif gcc-bootstrap 6519 @if dejagnu 6520 TARGET-dejagnu=all 6521 maybe-all-dejagnu: all-dejagnu 6522 all-dejagnu: configure-dejagnu 6523 @: $(MAKE); $(unstage) 6524 @r=`${PWD_COMMAND}`; export r; \ 6525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6526 $(HOST_EXPORTS) \ 6527 (cd $(HOST_SUBDIR)/dejagnu && \ 6528 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 6529 $(TARGET-dejagnu)) 6530 @endif dejagnu 6531 6532 6533 6534 6535 .PHONY: check-dejagnu maybe-check-dejagnu 6536 maybe-check-dejagnu: 6537 @if dejagnu 6538 maybe-check-dejagnu: check-dejagnu 6539 6540 check-dejagnu: 6541 @: $(MAKE); $(unstage) 6542 @r=`${PWD_COMMAND}`; export r; \ 6543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6544 $(HOST_EXPORTS) \ 6545 (cd $(HOST_SUBDIR)/dejagnu && \ 6546 $(MAKE) $(FLAGS_TO_PASS) check) 6547 6548 @endif dejagnu 6549 6550 .PHONY: install-dejagnu maybe-install-dejagnu 6551 maybe-install-dejagnu: 6552 @if dejagnu 6553 maybe-install-dejagnu: install-dejagnu 6554 6555 install-dejagnu: installdirs 6556 @: $(MAKE); $(unstage) 6557 @r=`${PWD_COMMAND}`; export r; \ 6558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6559 $(HOST_EXPORTS) \ 6560 (cd $(HOST_SUBDIR)/dejagnu && \ 6561 $(MAKE) $(FLAGS_TO_PASS) install) 6562 6563 @endif dejagnu 6564 6565 .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu 6566 maybe-install-strip-dejagnu: 6567 @if dejagnu 6568 maybe-install-strip-dejagnu: install-strip-dejagnu 6569 6570 install-strip-dejagnu: installdirs 6571 @: $(MAKE); $(unstage) 6572 @r=`${PWD_COMMAND}`; export r; \ 6573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6574 $(HOST_EXPORTS) \ 6575 (cd $(HOST_SUBDIR)/dejagnu && \ 6576 $(MAKE) $(FLAGS_TO_PASS) install-strip) 6577 6578 @endif dejagnu 6579 6580 # Other targets (info, dvi, pdf, etc.) 6581 6582 .PHONY: maybe-info-dejagnu info-dejagnu 6583 maybe-info-dejagnu: 6584 @if dejagnu 6585 maybe-info-dejagnu: info-dejagnu 6586 6587 info-dejagnu: \ 6588 configure-dejagnu 6589 @: $(MAKE); $(unstage) 6590 @[ -f ./dejagnu/Makefile ] || exit 0; \ 6591 r=`${PWD_COMMAND}`; export r; \ 6592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6593 $(HOST_EXPORTS) \ 6594 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6596 done; \ 6597 echo "Doing info in dejagnu" ; \ 6598 (cd $(HOST_SUBDIR)/dejagnu && \ 6599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6601 "RANLIB=$${RANLIB}" \ 6602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6603 info) \ 6604 || exit 1 6605 6606 @endif dejagnu 6607 6608 .PHONY: maybe-dvi-dejagnu dvi-dejagnu 6609 maybe-dvi-dejagnu: 6610 @if dejagnu 6611 maybe-dvi-dejagnu: dvi-dejagnu 6612 6613 dvi-dejagnu: \ 6614 configure-dejagnu 6615 @: $(MAKE); $(unstage) 6616 @[ -f ./dejagnu/Makefile ] || exit 0; \ 6617 r=`${PWD_COMMAND}`; export r; \ 6618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6619 $(HOST_EXPORTS) \ 6620 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6622 done; \ 6623 echo "Doing dvi in dejagnu" ; \ 6624 (cd $(HOST_SUBDIR)/dejagnu && \ 6625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6627 "RANLIB=$${RANLIB}" \ 6628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6629 dvi) \ 6630 || exit 1 6631 6632 @endif dejagnu 6633 6634 .PHONY: maybe-pdf-dejagnu pdf-dejagnu 6635 maybe-pdf-dejagnu: 6636 @if dejagnu 6637 maybe-pdf-dejagnu: pdf-dejagnu 6638 6639 pdf-dejagnu: \ 6640 configure-dejagnu 6641 @: $(MAKE); $(unstage) 6642 @[ -f ./dejagnu/Makefile ] || exit 0; \ 6643 r=`${PWD_COMMAND}`; export r; \ 6644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6645 $(HOST_EXPORTS) \ 6646 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6648 done; \ 6649 echo "Doing pdf in dejagnu" ; \ 6650 (cd $(HOST_SUBDIR)/dejagnu && \ 6651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6653 "RANLIB=$${RANLIB}" \ 6654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6655 pdf) \ 6656 || exit 1 6657 6658 @endif dejagnu 6659 6660 .PHONY: maybe-html-dejagnu html-dejagnu 6661 maybe-html-dejagnu: 6662 @if dejagnu 6663 maybe-html-dejagnu: html-dejagnu 6664 6665 html-dejagnu: \ 6666 configure-dejagnu 6667 @: $(MAKE); $(unstage) 6668 @[ -f ./dejagnu/Makefile ] || exit 0; \ 6669 r=`${PWD_COMMAND}`; export r; \ 6670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6671 $(HOST_EXPORTS) \ 6672 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6674 done; \ 6675 echo "Doing html in dejagnu" ; \ 6676 (cd $(HOST_SUBDIR)/dejagnu && \ 6677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6679 "RANLIB=$${RANLIB}" \ 6680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6681 html) \ 6682 || exit 1 6683 6684 @endif dejagnu 6685 6686 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu 6687 maybe-TAGS-dejagnu: 6688 @if dejagnu 6689 maybe-TAGS-dejagnu: TAGS-dejagnu 6690 6691 TAGS-dejagnu: \ 6692 configure-dejagnu 6693 @: $(MAKE); $(unstage) 6694 @[ -f ./dejagnu/Makefile ] || exit 0; \ 6695 r=`${PWD_COMMAND}`; export r; \ 6696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6697 $(HOST_EXPORTS) \ 6698 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6700 done; \ 6701 echo "Doing TAGS in dejagnu" ; \ 6702 (cd $(HOST_SUBDIR)/dejagnu && \ 6703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6705 "RANLIB=$${RANLIB}" \ 6706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6707 TAGS) \ 6708 || exit 1 6709 6710 @endif dejagnu 6711 6712 .PHONY: maybe-install-info-dejagnu install-info-dejagnu 6713 maybe-install-info-dejagnu: 6714 @if dejagnu 6715 maybe-install-info-dejagnu: install-info-dejagnu 6716 6717 install-info-dejagnu: \ 6718 configure-dejagnu \ 6719 info-dejagnu 6720 @: $(MAKE); $(unstage) 6721 @[ -f ./dejagnu/Makefile ] || exit 0; \ 6722 r=`${PWD_COMMAND}`; export r; \ 6723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6724 $(HOST_EXPORTS) \ 6725 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6727 done; \ 6728 echo "Doing install-info in dejagnu" ; \ 6729 (cd $(HOST_SUBDIR)/dejagnu && \ 6730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6732 "RANLIB=$${RANLIB}" \ 6733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6734 install-info) \ 6735 || exit 1 6736 6737 @endif dejagnu 6738 6739 .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu 6740 maybe-install-pdf-dejagnu: 6741 @if dejagnu 6742 maybe-install-pdf-dejagnu: install-pdf-dejagnu 6743 6744 install-pdf-dejagnu: \ 6745 configure-dejagnu \ 6746 pdf-dejagnu 6747 @: $(MAKE); $(unstage) 6748 @[ -f ./dejagnu/Makefile ] || exit 0; \ 6749 r=`${PWD_COMMAND}`; export r; \ 6750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6751 $(HOST_EXPORTS) \ 6752 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6754 done; \ 6755 echo "Doing install-pdf in dejagnu" ; \ 6756 (cd $(HOST_SUBDIR)/dejagnu && \ 6757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6759 "RANLIB=$${RANLIB}" \ 6760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6761 install-pdf) \ 6762 || exit 1 6763 6764 @endif dejagnu 6765 6766 .PHONY: maybe-install-html-dejagnu install-html-dejagnu 6767 maybe-install-html-dejagnu: 6768 @if dejagnu 6769 maybe-install-html-dejagnu: install-html-dejagnu 6770 6771 install-html-dejagnu: \ 6772 configure-dejagnu \ 6773 html-dejagnu 6774 @: $(MAKE); $(unstage) 6775 @[ -f ./dejagnu/Makefile ] || exit 0; \ 6776 r=`${PWD_COMMAND}`; export r; \ 6777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6778 $(HOST_EXPORTS) \ 6779 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6781 done; \ 6782 echo "Doing install-html in dejagnu" ; \ 6783 (cd $(HOST_SUBDIR)/dejagnu && \ 6784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6786 "RANLIB=$${RANLIB}" \ 6787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6788 install-html) \ 6789 || exit 1 6790 6791 @endif dejagnu 6792 6793 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu 6794 maybe-installcheck-dejagnu: 6795 @if dejagnu 6796 maybe-installcheck-dejagnu: installcheck-dejagnu 6797 6798 installcheck-dejagnu: \ 6799 configure-dejagnu 6800 @: $(MAKE); $(unstage) 6801 @[ -f ./dejagnu/Makefile ] || exit 0; \ 6802 r=`${PWD_COMMAND}`; export r; \ 6803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6804 $(HOST_EXPORTS) \ 6805 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6807 done; \ 6808 echo "Doing installcheck in dejagnu" ; \ 6809 (cd $(HOST_SUBDIR)/dejagnu && \ 6810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6812 "RANLIB=$${RANLIB}" \ 6813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6814 installcheck) \ 6815 || exit 1 6816 6817 @endif dejagnu 6818 6819 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu 6820 maybe-mostlyclean-dejagnu: 6821 @if dejagnu 6822 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu 6823 6824 mostlyclean-dejagnu: 6825 @: $(MAKE); $(unstage) 6826 @[ -f ./dejagnu/Makefile ] || exit 0; \ 6827 r=`${PWD_COMMAND}`; export r; \ 6828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6829 $(HOST_EXPORTS) \ 6830 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6832 done; \ 6833 echo "Doing mostlyclean in dejagnu" ; \ 6834 (cd $(HOST_SUBDIR)/dejagnu && \ 6835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6837 "RANLIB=$${RANLIB}" \ 6838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6839 mostlyclean) \ 6840 || exit 1 6841 6842 @endif dejagnu 6843 6844 .PHONY: maybe-clean-dejagnu clean-dejagnu 6845 maybe-clean-dejagnu: 6846 @if dejagnu 6847 maybe-clean-dejagnu: clean-dejagnu 6848 6849 clean-dejagnu: 6850 @: $(MAKE); $(unstage) 6851 @[ -f ./dejagnu/Makefile ] || exit 0; \ 6852 r=`${PWD_COMMAND}`; export r; \ 6853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6854 $(HOST_EXPORTS) \ 6855 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6857 done; \ 6858 echo "Doing clean in dejagnu" ; \ 6859 (cd $(HOST_SUBDIR)/dejagnu && \ 6860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6862 "RANLIB=$${RANLIB}" \ 6863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6864 clean) \ 6865 || exit 1 6866 6867 @endif dejagnu 6868 6869 .PHONY: maybe-distclean-dejagnu distclean-dejagnu 6870 maybe-distclean-dejagnu: 6871 @if dejagnu 6872 maybe-distclean-dejagnu: distclean-dejagnu 6873 6874 distclean-dejagnu: 6875 @: $(MAKE); $(unstage) 6876 @[ -f ./dejagnu/Makefile ] || exit 0; \ 6877 r=`${PWD_COMMAND}`; export r; \ 6878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6879 $(HOST_EXPORTS) \ 6880 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6882 done; \ 6883 echo "Doing distclean in dejagnu" ; \ 6884 (cd $(HOST_SUBDIR)/dejagnu && \ 6885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6887 "RANLIB=$${RANLIB}" \ 6888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6889 distclean) \ 6890 || exit 1 6891 6892 @endif dejagnu 6893 6894 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu 6895 maybe-maintainer-clean-dejagnu: 6896 @if dejagnu 6897 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu 6898 6899 maintainer-clean-dejagnu: 6900 @: $(MAKE); $(unstage) 6901 @[ -f ./dejagnu/Makefile ] || exit 0; \ 6902 r=`${PWD_COMMAND}`; export r; \ 6903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6904 $(HOST_EXPORTS) \ 6905 for flag in $(EXTRA_HOST_FLAGS) ; do \ 6906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 6907 done; \ 6908 echo "Doing maintainer-clean in dejagnu" ; \ 6909 (cd $(HOST_SUBDIR)/dejagnu && \ 6910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 6911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 6912 "RANLIB=$${RANLIB}" \ 6913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 6914 maintainer-clean) \ 6915 || exit 1 6916 6917 @endif dejagnu 6918 6919 6920 6921 .PHONY: configure-etc maybe-configure-etc 6922 maybe-configure-etc: 6923 @if gcc-bootstrap 6924 configure-etc: stage_current 6925 @endif gcc-bootstrap 6926 @if etc 6927 maybe-configure-etc: configure-etc 6928 configure-etc: 6929 @: $(MAKE); $(unstage) 6930 @r=`${PWD_COMMAND}`; export r; \ 6931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6932 test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \ 6933 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \ 6934 $(HOST_EXPORTS) \ 6935 echo Configuring in $(HOST_SUBDIR)/etc; \ 6936 cd "$(HOST_SUBDIR)/etc" || exit 1; \ 6937 case $(srcdir) in \ 6938 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 6939 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \ 6940 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 6941 esac; \ 6942 srcdiroption="--srcdir=$${topdir}/etc"; \ 6943 libsrcdir="$$s/etc"; \ 6944 $(SHELL) $${libsrcdir}/configure \ 6945 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 6946 --target=${target_alias} $${srcdiroption} \ 6947 || exit 1 6948 @endif etc 6949 6950 6951 6952 6953 6954 .PHONY: all-etc maybe-all-etc 6955 maybe-all-etc: 6956 @if gcc-bootstrap 6957 all-etc: stage_current 6958 @endif gcc-bootstrap 6959 @if etc 6960 TARGET-etc=all 6961 maybe-all-etc: all-etc 6962 all-etc: configure-etc 6963 @: $(MAKE); $(unstage) 6964 @r=`${PWD_COMMAND}`; export r; \ 6965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6966 $(HOST_EXPORTS) \ 6967 (cd $(HOST_SUBDIR)/etc && \ 6968 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 6969 $(TARGET-etc)) 6970 @endif etc 6971 6972 6973 6974 6975 .PHONY: check-etc maybe-check-etc 6976 maybe-check-etc: 6977 @if etc 6978 maybe-check-etc: check-etc 6979 6980 check-etc: 6981 @: $(MAKE); $(unstage) 6982 @r=`${PWD_COMMAND}`; export r; \ 6983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6984 $(HOST_EXPORTS) \ 6985 (cd $(HOST_SUBDIR)/etc && \ 6986 $(MAKE) $(FLAGS_TO_PASS) check) 6987 6988 @endif etc 6989 6990 .PHONY: install-etc maybe-install-etc 6991 maybe-install-etc: 6992 @if etc 6993 maybe-install-etc: install-etc 6994 6995 install-etc: installdirs 6996 @: $(MAKE); $(unstage) 6997 @r=`${PWD_COMMAND}`; export r; \ 6998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 6999 $(HOST_EXPORTS) \ 7000 (cd $(HOST_SUBDIR)/etc && \ 7001 $(MAKE) $(FLAGS_TO_PASS) install) 7002 7003 @endif etc 7004 7005 .PHONY: install-strip-etc maybe-install-strip-etc 7006 maybe-install-strip-etc: 7007 @if etc 7008 maybe-install-strip-etc: install-strip-etc 7009 7010 install-strip-etc: installdirs 7011 @: $(MAKE); $(unstage) 7012 @r=`${PWD_COMMAND}`; export r; \ 7013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7014 $(HOST_EXPORTS) \ 7015 (cd $(HOST_SUBDIR)/etc && \ 7016 $(MAKE) $(FLAGS_TO_PASS) install-strip) 7017 7018 @endif etc 7019 7020 # Other targets (info, dvi, pdf, etc.) 7021 7022 .PHONY: maybe-info-etc info-etc 7023 maybe-info-etc: 7024 @if etc 7025 maybe-info-etc: info-etc 7026 7027 info-etc: \ 7028 configure-etc 7029 @: $(MAKE); $(unstage) 7030 @[ -f ./etc/Makefile ] || exit 0; \ 7031 r=`${PWD_COMMAND}`; export r; \ 7032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7033 $(HOST_EXPORTS) \ 7034 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7036 done; \ 7037 echo "Doing info in etc" ; \ 7038 (cd $(HOST_SUBDIR)/etc && \ 7039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7041 "RANLIB=$${RANLIB}" \ 7042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7043 info) \ 7044 || exit 1 7045 7046 @endif etc 7047 7048 .PHONY: maybe-dvi-etc dvi-etc 7049 maybe-dvi-etc: 7050 @if etc 7051 maybe-dvi-etc: dvi-etc 7052 7053 dvi-etc: \ 7054 configure-etc 7055 @: $(MAKE); $(unstage) 7056 @[ -f ./etc/Makefile ] || exit 0; \ 7057 r=`${PWD_COMMAND}`; export r; \ 7058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7059 $(HOST_EXPORTS) \ 7060 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7062 done; \ 7063 echo "Doing dvi in etc" ; \ 7064 (cd $(HOST_SUBDIR)/etc && \ 7065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7067 "RANLIB=$${RANLIB}" \ 7068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7069 dvi) \ 7070 || exit 1 7071 7072 @endif etc 7073 7074 .PHONY: maybe-pdf-etc pdf-etc 7075 maybe-pdf-etc: 7076 @if etc 7077 maybe-pdf-etc: pdf-etc 7078 7079 pdf-etc: \ 7080 configure-etc 7081 @: $(MAKE); $(unstage) 7082 @[ -f ./etc/Makefile ] || exit 0; \ 7083 r=`${PWD_COMMAND}`; export r; \ 7084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7085 $(HOST_EXPORTS) \ 7086 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7088 done; \ 7089 echo "Doing pdf in etc" ; \ 7090 (cd $(HOST_SUBDIR)/etc && \ 7091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7093 "RANLIB=$${RANLIB}" \ 7094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7095 pdf) \ 7096 || exit 1 7097 7098 @endif etc 7099 7100 .PHONY: maybe-html-etc html-etc 7101 maybe-html-etc: 7102 @if etc 7103 maybe-html-etc: html-etc 7104 7105 html-etc: \ 7106 configure-etc 7107 @: $(MAKE); $(unstage) 7108 @[ -f ./etc/Makefile ] || exit 0; \ 7109 r=`${PWD_COMMAND}`; export r; \ 7110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7111 $(HOST_EXPORTS) \ 7112 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7114 done; \ 7115 echo "Doing html in etc" ; \ 7116 (cd $(HOST_SUBDIR)/etc && \ 7117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7119 "RANLIB=$${RANLIB}" \ 7120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7121 html) \ 7122 || exit 1 7123 7124 @endif etc 7125 7126 .PHONY: maybe-TAGS-etc TAGS-etc 7127 maybe-TAGS-etc: 7128 @if etc 7129 maybe-TAGS-etc: TAGS-etc 7130 7131 TAGS-etc: \ 7132 configure-etc 7133 @: $(MAKE); $(unstage) 7134 @[ -f ./etc/Makefile ] || exit 0; \ 7135 r=`${PWD_COMMAND}`; export r; \ 7136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7137 $(HOST_EXPORTS) \ 7138 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7140 done; \ 7141 echo "Doing TAGS in etc" ; \ 7142 (cd $(HOST_SUBDIR)/etc && \ 7143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7145 "RANLIB=$${RANLIB}" \ 7146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7147 TAGS) \ 7148 || exit 1 7149 7150 @endif etc 7151 7152 .PHONY: maybe-install-info-etc install-info-etc 7153 maybe-install-info-etc: 7154 @if etc 7155 maybe-install-info-etc: install-info-etc 7156 7157 install-info-etc: \ 7158 configure-etc \ 7159 info-etc 7160 @: $(MAKE); $(unstage) 7161 @[ -f ./etc/Makefile ] || exit 0; \ 7162 r=`${PWD_COMMAND}`; export r; \ 7163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7164 $(HOST_EXPORTS) \ 7165 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7167 done; \ 7168 echo "Doing install-info in etc" ; \ 7169 (cd $(HOST_SUBDIR)/etc && \ 7170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7172 "RANLIB=$${RANLIB}" \ 7173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7174 install-info) \ 7175 || exit 1 7176 7177 @endif etc 7178 7179 .PHONY: maybe-install-pdf-etc install-pdf-etc 7180 maybe-install-pdf-etc: 7181 @if etc 7182 maybe-install-pdf-etc: install-pdf-etc 7183 7184 install-pdf-etc: \ 7185 configure-etc \ 7186 pdf-etc 7187 @: $(MAKE); $(unstage) 7188 @[ -f ./etc/Makefile ] || exit 0; \ 7189 r=`${PWD_COMMAND}`; export r; \ 7190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7191 $(HOST_EXPORTS) \ 7192 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7194 done; \ 7195 echo "Doing install-pdf in etc" ; \ 7196 (cd $(HOST_SUBDIR)/etc && \ 7197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7199 "RANLIB=$${RANLIB}" \ 7200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7201 install-pdf) \ 7202 || exit 1 7203 7204 @endif etc 7205 7206 .PHONY: maybe-install-html-etc install-html-etc 7207 maybe-install-html-etc: 7208 @if etc 7209 maybe-install-html-etc: install-html-etc 7210 7211 install-html-etc: \ 7212 configure-etc \ 7213 html-etc 7214 @: $(MAKE); $(unstage) 7215 @[ -f ./etc/Makefile ] || exit 0; \ 7216 r=`${PWD_COMMAND}`; export r; \ 7217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7218 $(HOST_EXPORTS) \ 7219 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7221 done; \ 7222 echo "Doing install-html in etc" ; \ 7223 (cd $(HOST_SUBDIR)/etc && \ 7224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7226 "RANLIB=$${RANLIB}" \ 7227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7228 install-html) \ 7229 || exit 1 7230 7231 @endif etc 7232 7233 .PHONY: maybe-installcheck-etc installcheck-etc 7234 maybe-installcheck-etc: 7235 @if etc 7236 maybe-installcheck-etc: installcheck-etc 7237 7238 installcheck-etc: \ 7239 configure-etc 7240 @: $(MAKE); $(unstage) 7241 @[ -f ./etc/Makefile ] || exit 0; \ 7242 r=`${PWD_COMMAND}`; export r; \ 7243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7244 $(HOST_EXPORTS) \ 7245 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7247 done; \ 7248 echo "Doing installcheck in etc" ; \ 7249 (cd $(HOST_SUBDIR)/etc && \ 7250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7252 "RANLIB=$${RANLIB}" \ 7253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7254 installcheck) \ 7255 || exit 1 7256 7257 @endif etc 7258 7259 .PHONY: maybe-mostlyclean-etc mostlyclean-etc 7260 maybe-mostlyclean-etc: 7261 @if etc 7262 maybe-mostlyclean-etc: mostlyclean-etc 7263 7264 mostlyclean-etc: 7265 @: $(MAKE); $(unstage) 7266 @[ -f ./etc/Makefile ] || exit 0; \ 7267 r=`${PWD_COMMAND}`; export r; \ 7268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7269 $(HOST_EXPORTS) \ 7270 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7272 done; \ 7273 echo "Doing mostlyclean in etc" ; \ 7274 (cd $(HOST_SUBDIR)/etc && \ 7275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7277 "RANLIB=$${RANLIB}" \ 7278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7279 mostlyclean) \ 7280 || exit 1 7281 7282 @endif etc 7283 7284 .PHONY: maybe-clean-etc clean-etc 7285 maybe-clean-etc: 7286 @if etc 7287 maybe-clean-etc: clean-etc 7288 7289 clean-etc: 7290 @: $(MAKE); $(unstage) 7291 @[ -f ./etc/Makefile ] || exit 0; \ 7292 r=`${PWD_COMMAND}`; export r; \ 7293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7294 $(HOST_EXPORTS) \ 7295 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7297 done; \ 7298 echo "Doing clean in etc" ; \ 7299 (cd $(HOST_SUBDIR)/etc && \ 7300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7302 "RANLIB=$${RANLIB}" \ 7303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7304 clean) \ 7305 || exit 1 7306 7307 @endif etc 7308 7309 .PHONY: maybe-distclean-etc distclean-etc 7310 maybe-distclean-etc: 7311 @if etc 7312 maybe-distclean-etc: distclean-etc 7313 7314 distclean-etc: 7315 @: $(MAKE); $(unstage) 7316 @[ -f ./etc/Makefile ] || exit 0; \ 7317 r=`${PWD_COMMAND}`; export r; \ 7318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7319 $(HOST_EXPORTS) \ 7320 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7322 done; \ 7323 echo "Doing distclean in etc" ; \ 7324 (cd $(HOST_SUBDIR)/etc && \ 7325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7327 "RANLIB=$${RANLIB}" \ 7328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7329 distclean) \ 7330 || exit 1 7331 7332 @endif etc 7333 7334 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc 7335 maybe-maintainer-clean-etc: 7336 @if etc 7337 maybe-maintainer-clean-etc: maintainer-clean-etc 7338 7339 maintainer-clean-etc: 7340 @: $(MAKE); $(unstage) 7341 @[ -f ./etc/Makefile ] || exit 0; \ 7342 r=`${PWD_COMMAND}`; export r; \ 7343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7344 $(HOST_EXPORTS) \ 7345 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7347 done; \ 7348 echo "Doing maintainer-clean in etc" ; \ 7349 (cd $(HOST_SUBDIR)/etc && \ 7350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7352 "RANLIB=$${RANLIB}" \ 7353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7354 maintainer-clean) \ 7355 || exit 1 7356 7357 @endif etc 7358 7359 7360 7361 .PHONY: configure-fastjar maybe-configure-fastjar 7362 maybe-configure-fastjar: 7363 @if gcc-bootstrap 7364 configure-fastjar: stage_current 7365 @endif gcc-bootstrap 7366 @if fastjar 7367 maybe-configure-fastjar: configure-fastjar 7368 configure-fastjar: 7369 @: $(MAKE); $(unstage) 7370 @r=`${PWD_COMMAND}`; export r; \ 7371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7372 test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \ 7373 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \ 7374 $(HOST_EXPORTS) \ 7375 echo Configuring in $(HOST_SUBDIR)/fastjar; \ 7376 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \ 7377 case $(srcdir) in \ 7378 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 7379 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \ 7380 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 7381 esac; \ 7382 srcdiroption="--srcdir=$${topdir}/fastjar"; \ 7383 libsrcdir="$$s/fastjar"; \ 7384 $(SHELL) $${libsrcdir}/configure \ 7385 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 7386 --target=${target_alias} $${srcdiroption} \ 7387 || exit 1 7388 @endif fastjar 7389 7390 7391 7392 7393 7394 .PHONY: all-fastjar maybe-all-fastjar 7395 maybe-all-fastjar: 7396 @if gcc-bootstrap 7397 all-fastjar: stage_current 7398 @endif gcc-bootstrap 7399 @if fastjar 7400 TARGET-fastjar=all 7401 maybe-all-fastjar: all-fastjar 7402 all-fastjar: configure-fastjar 7403 @: $(MAKE); $(unstage) 7404 @r=`${PWD_COMMAND}`; export r; \ 7405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7406 $(HOST_EXPORTS) \ 7407 (cd $(HOST_SUBDIR)/fastjar && \ 7408 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 7409 $(TARGET-fastjar)) 7410 @endif fastjar 7411 7412 7413 7414 7415 .PHONY: check-fastjar maybe-check-fastjar 7416 maybe-check-fastjar: 7417 @if fastjar 7418 maybe-check-fastjar: check-fastjar 7419 7420 # This module is only tested in a native toolchain. 7421 check-fastjar: 7422 @: $(MAKE); $(unstage) 7423 @if [ '$(host)' = '$(target)' ] ; then \ 7424 r=`${PWD_COMMAND}`; export r; \ 7425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7426 $(HOST_EXPORTS) \ 7427 (cd $(HOST_SUBDIR)/fastjar && \ 7428 $(MAKE) $(FLAGS_TO_PASS) check); \ 7429 fi 7430 7431 @endif fastjar 7432 7433 .PHONY: install-fastjar maybe-install-fastjar 7434 maybe-install-fastjar: 7435 @if fastjar 7436 maybe-install-fastjar: install-fastjar 7437 7438 install-fastjar: installdirs 7439 @: $(MAKE); $(unstage) 7440 @r=`${PWD_COMMAND}`; export r; \ 7441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7442 $(HOST_EXPORTS) \ 7443 (cd $(HOST_SUBDIR)/fastjar && \ 7444 $(MAKE) $(FLAGS_TO_PASS) install) 7445 7446 @endif fastjar 7447 7448 .PHONY: install-strip-fastjar maybe-install-strip-fastjar 7449 maybe-install-strip-fastjar: 7450 @if fastjar 7451 maybe-install-strip-fastjar: install-strip-fastjar 7452 7453 install-strip-fastjar: installdirs 7454 @: $(MAKE); $(unstage) 7455 @r=`${PWD_COMMAND}`; export r; \ 7456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7457 $(HOST_EXPORTS) \ 7458 (cd $(HOST_SUBDIR)/fastjar && \ 7459 $(MAKE) $(FLAGS_TO_PASS) install-strip) 7460 7461 @endif fastjar 7462 7463 # Other targets (info, dvi, pdf, etc.) 7464 7465 .PHONY: maybe-info-fastjar info-fastjar 7466 maybe-info-fastjar: 7467 @if fastjar 7468 maybe-info-fastjar: info-fastjar 7469 7470 info-fastjar: \ 7471 configure-fastjar 7472 @: $(MAKE); $(unstage) 7473 @[ -f ./fastjar/Makefile ] || exit 0; \ 7474 r=`${PWD_COMMAND}`; export r; \ 7475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7476 $(HOST_EXPORTS) \ 7477 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7479 done; \ 7480 echo "Doing info in fastjar" ; \ 7481 (cd $(HOST_SUBDIR)/fastjar && \ 7482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7484 "RANLIB=$${RANLIB}" \ 7485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7486 info) \ 7487 || exit 1 7488 7489 @endif fastjar 7490 7491 .PHONY: maybe-dvi-fastjar dvi-fastjar 7492 maybe-dvi-fastjar: 7493 @if fastjar 7494 maybe-dvi-fastjar: dvi-fastjar 7495 7496 dvi-fastjar: \ 7497 configure-fastjar 7498 @: $(MAKE); $(unstage) 7499 @[ -f ./fastjar/Makefile ] || exit 0; \ 7500 r=`${PWD_COMMAND}`; export r; \ 7501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7502 $(HOST_EXPORTS) \ 7503 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7505 done; \ 7506 echo "Doing dvi in fastjar" ; \ 7507 (cd $(HOST_SUBDIR)/fastjar && \ 7508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7510 "RANLIB=$${RANLIB}" \ 7511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7512 dvi) \ 7513 || exit 1 7514 7515 @endif fastjar 7516 7517 .PHONY: maybe-pdf-fastjar pdf-fastjar 7518 maybe-pdf-fastjar: 7519 @if fastjar 7520 maybe-pdf-fastjar: pdf-fastjar 7521 7522 pdf-fastjar: \ 7523 configure-fastjar 7524 @: $(MAKE); $(unstage) 7525 @[ -f ./fastjar/Makefile ] || exit 0; \ 7526 r=`${PWD_COMMAND}`; export r; \ 7527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7528 $(HOST_EXPORTS) \ 7529 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7531 done; \ 7532 echo "Doing pdf in fastjar" ; \ 7533 (cd $(HOST_SUBDIR)/fastjar && \ 7534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7536 "RANLIB=$${RANLIB}" \ 7537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7538 pdf) \ 7539 || exit 1 7540 7541 @endif fastjar 7542 7543 .PHONY: maybe-html-fastjar html-fastjar 7544 maybe-html-fastjar: 7545 @if fastjar 7546 maybe-html-fastjar: html-fastjar 7547 7548 html-fastjar: \ 7549 configure-fastjar 7550 @: $(MAKE); $(unstage) 7551 @[ -f ./fastjar/Makefile ] || exit 0; \ 7552 r=`${PWD_COMMAND}`; export r; \ 7553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7554 $(HOST_EXPORTS) \ 7555 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7557 done; \ 7558 echo "Doing html in fastjar" ; \ 7559 (cd $(HOST_SUBDIR)/fastjar && \ 7560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7562 "RANLIB=$${RANLIB}" \ 7563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7564 html) \ 7565 || exit 1 7566 7567 @endif fastjar 7568 7569 .PHONY: maybe-TAGS-fastjar TAGS-fastjar 7570 maybe-TAGS-fastjar: 7571 @if fastjar 7572 maybe-TAGS-fastjar: TAGS-fastjar 7573 7574 TAGS-fastjar: \ 7575 configure-fastjar 7576 @: $(MAKE); $(unstage) 7577 @[ -f ./fastjar/Makefile ] || exit 0; \ 7578 r=`${PWD_COMMAND}`; export r; \ 7579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7580 $(HOST_EXPORTS) \ 7581 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7583 done; \ 7584 echo "Doing TAGS in fastjar" ; \ 7585 (cd $(HOST_SUBDIR)/fastjar && \ 7586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7588 "RANLIB=$${RANLIB}" \ 7589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7590 TAGS) \ 7591 || exit 1 7592 7593 @endif fastjar 7594 7595 .PHONY: maybe-install-info-fastjar install-info-fastjar 7596 maybe-install-info-fastjar: 7597 @if fastjar 7598 maybe-install-info-fastjar: install-info-fastjar 7599 7600 install-info-fastjar: \ 7601 configure-fastjar \ 7602 info-fastjar 7603 @: $(MAKE); $(unstage) 7604 @[ -f ./fastjar/Makefile ] || exit 0; \ 7605 r=`${PWD_COMMAND}`; export r; \ 7606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7607 $(HOST_EXPORTS) \ 7608 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7610 done; \ 7611 echo "Doing install-info in fastjar" ; \ 7612 (cd $(HOST_SUBDIR)/fastjar && \ 7613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7615 "RANLIB=$${RANLIB}" \ 7616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7617 install-info) \ 7618 || exit 1 7619 7620 @endif fastjar 7621 7622 .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar 7623 maybe-install-pdf-fastjar: 7624 @if fastjar 7625 maybe-install-pdf-fastjar: install-pdf-fastjar 7626 7627 install-pdf-fastjar: \ 7628 configure-fastjar \ 7629 pdf-fastjar 7630 @: $(MAKE); $(unstage) 7631 @[ -f ./fastjar/Makefile ] || exit 0; \ 7632 r=`${PWD_COMMAND}`; export r; \ 7633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7634 $(HOST_EXPORTS) \ 7635 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7637 done; \ 7638 echo "Doing install-pdf in fastjar" ; \ 7639 (cd $(HOST_SUBDIR)/fastjar && \ 7640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7642 "RANLIB=$${RANLIB}" \ 7643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7644 install-pdf) \ 7645 || exit 1 7646 7647 @endif fastjar 7648 7649 .PHONY: maybe-install-html-fastjar install-html-fastjar 7650 maybe-install-html-fastjar: 7651 @if fastjar 7652 maybe-install-html-fastjar: install-html-fastjar 7653 7654 install-html-fastjar: \ 7655 configure-fastjar \ 7656 html-fastjar 7657 @: $(MAKE); $(unstage) 7658 @[ -f ./fastjar/Makefile ] || exit 0; \ 7659 r=`${PWD_COMMAND}`; export r; \ 7660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7661 $(HOST_EXPORTS) \ 7662 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7664 done; \ 7665 echo "Doing install-html in fastjar" ; \ 7666 (cd $(HOST_SUBDIR)/fastjar && \ 7667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7669 "RANLIB=$${RANLIB}" \ 7670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7671 install-html) \ 7672 || exit 1 7673 7674 @endif fastjar 7675 7676 .PHONY: maybe-installcheck-fastjar installcheck-fastjar 7677 maybe-installcheck-fastjar: 7678 @if fastjar 7679 maybe-installcheck-fastjar: installcheck-fastjar 7680 7681 installcheck-fastjar: \ 7682 configure-fastjar 7683 @: $(MAKE); $(unstage) 7684 @[ -f ./fastjar/Makefile ] || exit 0; \ 7685 r=`${PWD_COMMAND}`; export r; \ 7686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7687 $(HOST_EXPORTS) \ 7688 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7690 done; \ 7691 echo "Doing installcheck in fastjar" ; \ 7692 (cd $(HOST_SUBDIR)/fastjar && \ 7693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7695 "RANLIB=$${RANLIB}" \ 7696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7697 installcheck) \ 7698 || exit 1 7699 7700 @endif fastjar 7701 7702 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar 7703 maybe-mostlyclean-fastjar: 7704 @if fastjar 7705 maybe-mostlyclean-fastjar: mostlyclean-fastjar 7706 7707 mostlyclean-fastjar: 7708 @: $(MAKE); $(unstage) 7709 @[ -f ./fastjar/Makefile ] || exit 0; \ 7710 r=`${PWD_COMMAND}`; export r; \ 7711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7712 $(HOST_EXPORTS) \ 7713 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7715 done; \ 7716 echo "Doing mostlyclean in fastjar" ; \ 7717 (cd $(HOST_SUBDIR)/fastjar && \ 7718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7720 "RANLIB=$${RANLIB}" \ 7721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7722 mostlyclean) \ 7723 || exit 1 7724 7725 @endif fastjar 7726 7727 .PHONY: maybe-clean-fastjar clean-fastjar 7728 maybe-clean-fastjar: 7729 @if fastjar 7730 maybe-clean-fastjar: clean-fastjar 7731 7732 clean-fastjar: 7733 @: $(MAKE); $(unstage) 7734 @[ -f ./fastjar/Makefile ] || exit 0; \ 7735 r=`${PWD_COMMAND}`; export r; \ 7736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7737 $(HOST_EXPORTS) \ 7738 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7740 done; \ 7741 echo "Doing clean in fastjar" ; \ 7742 (cd $(HOST_SUBDIR)/fastjar && \ 7743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7745 "RANLIB=$${RANLIB}" \ 7746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7747 clean) \ 7748 || exit 1 7749 7750 @endif fastjar 7751 7752 .PHONY: maybe-distclean-fastjar distclean-fastjar 7753 maybe-distclean-fastjar: 7754 @if fastjar 7755 maybe-distclean-fastjar: distclean-fastjar 7756 7757 distclean-fastjar: 7758 @: $(MAKE); $(unstage) 7759 @[ -f ./fastjar/Makefile ] || exit 0; \ 7760 r=`${PWD_COMMAND}`; export r; \ 7761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7762 $(HOST_EXPORTS) \ 7763 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7765 done; \ 7766 echo "Doing distclean in fastjar" ; \ 7767 (cd $(HOST_SUBDIR)/fastjar && \ 7768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7770 "RANLIB=$${RANLIB}" \ 7771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7772 distclean) \ 7773 || exit 1 7774 7775 @endif fastjar 7776 7777 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar 7778 maybe-maintainer-clean-fastjar: 7779 @if fastjar 7780 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar 7781 7782 maintainer-clean-fastjar: 7783 @: $(MAKE); $(unstage) 7784 @[ -f ./fastjar/Makefile ] || exit 0; \ 7785 r=`${PWD_COMMAND}`; export r; \ 7786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7787 $(HOST_EXPORTS) \ 7788 for flag in $(EXTRA_HOST_FLAGS) ; do \ 7789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 7790 done; \ 7791 echo "Doing maintainer-clean in fastjar" ; \ 7792 (cd $(HOST_SUBDIR)/fastjar && \ 7793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 7794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 7795 "RANLIB=$${RANLIB}" \ 7796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 7797 maintainer-clean) \ 7798 || exit 1 7799 7800 @endif fastjar 7801 7802 7803 7804 .PHONY: configure-fixincludes maybe-configure-fixincludes 7805 maybe-configure-fixincludes: 7806 @if gcc-bootstrap 7807 configure-fixincludes: stage_current 7808 @endif gcc-bootstrap 7809 @if fixincludes 7810 maybe-configure-fixincludes: configure-fixincludes 7811 configure-fixincludes: 7812 @r=`${PWD_COMMAND}`; export r; \ 7813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7814 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ 7815 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ 7816 $(HOST_EXPORTS) \ 7817 echo Configuring in $(HOST_SUBDIR)/fixincludes; \ 7818 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \ 7819 case $(srcdir) in \ 7820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 7821 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ 7822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 7823 esac; \ 7824 srcdiroption="--srcdir=$${topdir}/fixincludes"; \ 7825 libsrcdir="$$s/fixincludes"; \ 7826 $(SHELL) $${libsrcdir}/configure \ 7827 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 7828 --target=${target_alias} $${srcdiroption} \ 7829 || exit 1 7830 @endif fixincludes 7831 7832 7833 7834 .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes 7835 maybe-configure-stage1-fixincludes: 7836 @if fixincludes-bootstrap 7837 maybe-configure-stage1-fixincludes: configure-stage1-fixincludes 7838 configure-stage1-fixincludes: 7839 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 7840 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes 7841 @r=`${PWD_COMMAND}`; export r; \ 7842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7843 TFLAGS="$(STAGE1_TFLAGS)"; \ 7844 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ 7845 $(HOST_EXPORTS) \ 7846 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 7847 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 7848 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 7849 echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes ; \ 7850 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ 7851 cd $(HOST_SUBDIR)/fixincludes || exit 1; \ 7852 case $(srcdir) in \ 7853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 7854 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ 7855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 7856 esac; \ 7857 srcdiroption="--srcdir=$${topdir}/fixincludes"; \ 7858 libsrcdir="$$s/fixincludes"; \ 7859 $(SHELL) $${libsrcdir}/configure \ 7860 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 7861 --target=${target_alias} $${srcdiroption} \ 7862 $(STAGE1_CONFIGURE_FLAGS) 7863 @endif fixincludes-bootstrap 7864 7865 .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes 7866 maybe-configure-stage2-fixincludes: 7867 @if fixincludes-bootstrap 7868 maybe-configure-stage2-fixincludes: configure-stage2-fixincludes 7869 configure-stage2-fixincludes: 7870 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 7871 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes 7872 @r=`${PWD_COMMAND}`; export r; \ 7873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7874 TFLAGS="$(STAGE2_TFLAGS)"; \ 7875 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ 7876 $(HOST_EXPORTS) \ 7877 $(POSTSTAGE1_HOST_EXPORTS) \ 7878 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 7879 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 7880 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 7881 echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes ; \ 7882 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ 7883 cd $(HOST_SUBDIR)/fixincludes || exit 1; \ 7884 case $(srcdir) in \ 7885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 7886 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ 7887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 7888 esac; \ 7889 srcdiroption="--srcdir=$${topdir}/fixincludes"; \ 7890 libsrcdir="$$s/fixincludes"; \ 7891 $(SHELL) $${libsrcdir}/configure \ 7892 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 7893 --target=${target_alias} $${srcdiroption} \ 7894 --with-build-libsubdir=$(HOST_SUBDIR) \ 7895 $(STAGE2_CONFIGURE_FLAGS) 7896 @endif fixincludes-bootstrap 7897 7898 .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes 7899 maybe-configure-stage3-fixincludes: 7900 @if fixincludes-bootstrap 7901 maybe-configure-stage3-fixincludes: configure-stage3-fixincludes 7902 configure-stage3-fixincludes: 7903 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 7904 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes 7905 @r=`${PWD_COMMAND}`; export r; \ 7906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7907 TFLAGS="$(STAGE3_TFLAGS)"; \ 7908 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ 7909 $(HOST_EXPORTS) \ 7910 $(POSTSTAGE1_HOST_EXPORTS) \ 7911 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 7912 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 7913 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 7914 echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes ; \ 7915 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ 7916 cd $(HOST_SUBDIR)/fixincludes || exit 1; \ 7917 case $(srcdir) in \ 7918 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 7919 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ 7920 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 7921 esac; \ 7922 srcdiroption="--srcdir=$${topdir}/fixincludes"; \ 7923 libsrcdir="$$s/fixincludes"; \ 7924 $(SHELL) $${libsrcdir}/configure \ 7925 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 7926 --target=${target_alias} $${srcdiroption} \ 7927 --with-build-libsubdir=$(HOST_SUBDIR) \ 7928 $(STAGE3_CONFIGURE_FLAGS) 7929 @endif fixincludes-bootstrap 7930 7931 .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes 7932 maybe-configure-stage4-fixincludes: 7933 @if fixincludes-bootstrap 7934 maybe-configure-stage4-fixincludes: configure-stage4-fixincludes 7935 configure-stage4-fixincludes: 7936 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 7937 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes 7938 @r=`${PWD_COMMAND}`; export r; \ 7939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7940 TFLAGS="$(STAGE4_TFLAGS)"; \ 7941 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ 7942 $(HOST_EXPORTS) \ 7943 $(POSTSTAGE1_HOST_EXPORTS) \ 7944 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 7945 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 7946 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 7947 echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes ; \ 7948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ 7949 cd $(HOST_SUBDIR)/fixincludes || exit 1; \ 7950 case $(srcdir) in \ 7951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 7952 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ 7953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 7954 esac; \ 7955 srcdiroption="--srcdir=$${topdir}/fixincludes"; \ 7956 libsrcdir="$$s/fixincludes"; \ 7957 $(SHELL) $${libsrcdir}/configure \ 7958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 7959 --target=${target_alias} $${srcdiroption} \ 7960 --with-build-libsubdir=$(HOST_SUBDIR) \ 7961 $(STAGE4_CONFIGURE_FLAGS) 7962 @endif fixincludes-bootstrap 7963 7964 .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes 7965 maybe-configure-stageprofile-fixincludes: 7966 @if fixincludes-bootstrap 7967 maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes 7968 configure-stageprofile-fixincludes: 7969 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 7970 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes 7971 @r=`${PWD_COMMAND}`; export r; \ 7972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 7973 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 7974 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ 7975 $(HOST_EXPORTS) \ 7976 $(POSTSTAGE1_HOST_EXPORTS) \ 7977 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 7978 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 7979 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 7980 echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes ; \ 7981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ 7982 cd $(HOST_SUBDIR)/fixincludes || exit 1; \ 7983 case $(srcdir) in \ 7984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 7985 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ 7986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 7987 esac; \ 7988 srcdiroption="--srcdir=$${topdir}/fixincludes"; \ 7989 libsrcdir="$$s/fixincludes"; \ 7990 $(SHELL) $${libsrcdir}/configure \ 7991 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 7992 --target=${target_alias} $${srcdiroption} \ 7993 --with-build-libsubdir=$(HOST_SUBDIR) \ 7994 $(STAGEprofile_CONFIGURE_FLAGS) 7995 @endif fixincludes-bootstrap 7996 7997 .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes 7998 maybe-configure-stagefeedback-fixincludes: 7999 @if fixincludes-bootstrap 8000 maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes 8001 configure-stagefeedback-fixincludes: 8002 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 8003 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes 8004 @r=`${PWD_COMMAND}`; export r; \ 8005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8006 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 8007 test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \ 8008 $(HOST_EXPORTS) \ 8009 $(POSTSTAGE1_HOST_EXPORTS) \ 8010 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 8011 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 8012 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 8013 echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes ; \ 8014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \ 8015 cd $(HOST_SUBDIR)/fixincludes || exit 1; \ 8016 case $(srcdir) in \ 8017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 8018 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \ 8019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 8020 esac; \ 8021 srcdiroption="--srcdir=$${topdir}/fixincludes"; \ 8022 libsrcdir="$$s/fixincludes"; \ 8023 $(SHELL) $${libsrcdir}/configure \ 8024 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 8025 --target=${target_alias} $${srcdiroption} \ 8026 --with-build-libsubdir=$(HOST_SUBDIR) \ 8027 $(STAGEfeedback_CONFIGURE_FLAGS) 8028 @endif fixincludes-bootstrap 8029 8030 8031 8032 8033 8034 .PHONY: all-fixincludes maybe-all-fixincludes 8035 maybe-all-fixincludes: 8036 @if gcc-bootstrap 8037 all-fixincludes: stage_current 8038 @endif gcc-bootstrap 8039 @if fixincludes 8040 TARGET-fixincludes=all 8041 maybe-all-fixincludes: all-fixincludes 8042 all-fixincludes: configure-fixincludes 8043 @r=`${PWD_COMMAND}`; export r; \ 8044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8045 $(HOST_EXPORTS) \ 8046 (cd $(HOST_SUBDIR)/fixincludes && \ 8047 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 8048 $(TARGET-fixincludes)) 8049 @endif fixincludes 8050 8051 8052 8053 .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes 8054 .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes 8055 maybe-all-stage1-fixincludes: 8056 maybe-clean-stage1-fixincludes: 8057 @if fixincludes-bootstrap 8058 maybe-all-stage1-fixincludes: all-stage1-fixincludes 8059 all-stage1: all-stage1-fixincludes 8060 TARGET-stage1-fixincludes = $(TARGET-fixincludes) 8061 all-stage1-fixincludes: configure-stage1-fixincludes 8062 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 8063 @r=`${PWD_COMMAND}`; export r; \ 8064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8065 TFLAGS="$(STAGE1_TFLAGS)"; \ 8066 $(HOST_EXPORTS) \ 8067 cd $(HOST_SUBDIR)/fixincludes && \ 8068 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 8069 CFLAGS="$(STAGE1_CFLAGS)" \ 8070 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 8071 LIBCFLAGS="$(LIBCFLAGS)" \ 8072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 8073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 8074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 8075 $(EXTRA_HOST_FLAGS) \ 8076 $(STAGE1_FLAGS_TO_PASS) \ 8077 TFLAGS="$(STAGE1_TFLAGS)" \ 8078 $(TARGET-stage1-fixincludes) 8079 8080 maybe-clean-stage1-fixincludes: clean-stage1-fixincludes 8081 clean-stage1: clean-stage1-fixincludes 8082 clean-stage1-fixincludes: 8083 @if [ $(current_stage) = stage1 ]; then \ 8084 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \ 8085 else \ 8086 [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \ 8087 $(MAKE) stage1-start; \ 8088 fi; \ 8089 cd $(HOST_SUBDIR)/fixincludes && \ 8090 $(MAKE) $(EXTRA_HOST_FLAGS) \ 8091 $(STAGE1_FLAGS_TO_PASS) clean 8092 @endif fixincludes-bootstrap 8093 8094 8095 .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes 8096 .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes 8097 maybe-all-stage2-fixincludes: 8098 maybe-clean-stage2-fixincludes: 8099 @if fixincludes-bootstrap 8100 maybe-all-stage2-fixincludes: all-stage2-fixincludes 8101 all-stage2: all-stage2-fixincludes 8102 TARGET-stage2-fixincludes = $(TARGET-fixincludes) 8103 all-stage2-fixincludes: configure-stage2-fixincludes 8104 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 8105 @r=`${PWD_COMMAND}`; export r; \ 8106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8107 TFLAGS="$(STAGE2_TFLAGS)"; \ 8108 $(HOST_EXPORTS) \ 8109 $(POSTSTAGE1_HOST_EXPORTS) \ 8110 cd $(HOST_SUBDIR)/fixincludes && \ 8111 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 8112 CFLAGS="$(STAGE2_CFLAGS)" \ 8113 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 8114 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 8115 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 8116 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 8117 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 8118 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 8119 TFLAGS="$(STAGE2_TFLAGS)" \ 8120 $(TARGET-stage2-fixincludes) 8121 8122 maybe-clean-stage2-fixincludes: clean-stage2-fixincludes 8123 clean-stage2: clean-stage2-fixincludes 8124 clean-stage2-fixincludes: 8125 @if [ $(current_stage) = stage2 ]; then \ 8126 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \ 8127 else \ 8128 [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \ 8129 $(MAKE) stage2-start; \ 8130 fi; \ 8131 cd $(HOST_SUBDIR)/fixincludes && \ 8132 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 8133 @endif fixincludes-bootstrap 8134 8135 8136 .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes 8137 .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes 8138 maybe-all-stage3-fixincludes: 8139 maybe-clean-stage3-fixincludes: 8140 @if fixincludes-bootstrap 8141 maybe-all-stage3-fixincludes: all-stage3-fixincludes 8142 all-stage3: all-stage3-fixincludes 8143 TARGET-stage3-fixincludes = $(TARGET-fixincludes) 8144 all-stage3-fixincludes: configure-stage3-fixincludes 8145 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 8146 @r=`${PWD_COMMAND}`; export r; \ 8147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8148 TFLAGS="$(STAGE3_TFLAGS)"; \ 8149 $(HOST_EXPORTS) \ 8150 $(POSTSTAGE1_HOST_EXPORTS) \ 8151 cd $(HOST_SUBDIR)/fixincludes && \ 8152 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 8153 CFLAGS="$(STAGE3_CFLAGS)" \ 8154 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 8155 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 8156 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 8157 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 8158 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 8159 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 8160 TFLAGS="$(STAGE3_TFLAGS)" \ 8161 $(TARGET-stage3-fixincludes) 8162 8163 maybe-clean-stage3-fixincludes: clean-stage3-fixincludes 8164 clean-stage3: clean-stage3-fixincludes 8165 clean-stage3-fixincludes: 8166 @if [ $(current_stage) = stage3 ]; then \ 8167 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \ 8168 else \ 8169 [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \ 8170 $(MAKE) stage3-start; \ 8171 fi; \ 8172 cd $(HOST_SUBDIR)/fixincludes && \ 8173 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 8174 @endif fixincludes-bootstrap 8175 8176 8177 .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes 8178 .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes 8179 maybe-all-stage4-fixincludes: 8180 maybe-clean-stage4-fixincludes: 8181 @if fixincludes-bootstrap 8182 maybe-all-stage4-fixincludes: all-stage4-fixincludes 8183 all-stage4: all-stage4-fixincludes 8184 TARGET-stage4-fixincludes = $(TARGET-fixincludes) 8185 all-stage4-fixincludes: configure-stage4-fixincludes 8186 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 8187 @r=`${PWD_COMMAND}`; export r; \ 8188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8189 TFLAGS="$(STAGE4_TFLAGS)"; \ 8190 $(HOST_EXPORTS) \ 8191 $(POSTSTAGE1_HOST_EXPORTS) \ 8192 cd $(HOST_SUBDIR)/fixincludes && \ 8193 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 8194 CFLAGS="$(STAGE4_CFLAGS)" \ 8195 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 8196 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 8197 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 8198 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 8199 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 8200 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 8201 TFLAGS="$(STAGE4_TFLAGS)" \ 8202 $(TARGET-stage4-fixincludes) 8203 8204 maybe-clean-stage4-fixincludes: clean-stage4-fixincludes 8205 clean-stage4: clean-stage4-fixincludes 8206 clean-stage4-fixincludes: 8207 @if [ $(current_stage) = stage4 ]; then \ 8208 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \ 8209 else \ 8210 [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \ 8211 $(MAKE) stage4-start; \ 8212 fi; \ 8213 cd $(HOST_SUBDIR)/fixincludes && \ 8214 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 8215 @endif fixincludes-bootstrap 8216 8217 8218 .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes 8219 .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes 8220 maybe-all-stageprofile-fixincludes: 8221 maybe-clean-stageprofile-fixincludes: 8222 @if fixincludes-bootstrap 8223 maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes 8224 all-stageprofile: all-stageprofile-fixincludes 8225 TARGET-stageprofile-fixincludes = $(TARGET-fixincludes) 8226 all-stageprofile-fixincludes: configure-stageprofile-fixincludes 8227 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 8228 @r=`${PWD_COMMAND}`; export r; \ 8229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8230 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 8231 $(HOST_EXPORTS) \ 8232 $(POSTSTAGE1_HOST_EXPORTS) \ 8233 cd $(HOST_SUBDIR)/fixincludes && \ 8234 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 8235 CFLAGS="$(STAGEprofile_CFLAGS)" \ 8236 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 8237 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 8238 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 8239 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 8240 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 8241 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 8242 TFLAGS="$(STAGEprofile_TFLAGS)" \ 8243 $(TARGET-stageprofile-fixincludes) 8244 8245 maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes 8246 clean-stageprofile: clean-stageprofile-fixincludes 8247 clean-stageprofile-fixincludes: 8248 @if [ $(current_stage) = stageprofile ]; then \ 8249 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \ 8250 else \ 8251 [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \ 8252 $(MAKE) stageprofile-start; \ 8253 fi; \ 8254 cd $(HOST_SUBDIR)/fixincludes && \ 8255 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 8256 @endif fixincludes-bootstrap 8257 8258 8259 .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes 8260 .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes 8261 maybe-all-stagefeedback-fixincludes: 8262 maybe-clean-stagefeedback-fixincludes: 8263 @if fixincludes-bootstrap 8264 maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes 8265 all-stagefeedback: all-stagefeedback-fixincludes 8266 TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes) 8267 all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes 8268 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 8269 @r=`${PWD_COMMAND}`; export r; \ 8270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8271 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 8272 $(HOST_EXPORTS) \ 8273 $(POSTSTAGE1_HOST_EXPORTS) \ 8274 cd $(HOST_SUBDIR)/fixincludes && \ 8275 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 8276 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 8277 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 8278 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 8279 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 8280 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 8281 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 8282 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 8283 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 8284 $(TARGET-stagefeedback-fixincludes) 8285 8286 maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes 8287 clean-stagefeedback: clean-stagefeedback-fixincludes 8288 clean-stagefeedback-fixincludes: 8289 @if [ $(current_stage) = stagefeedback ]; then \ 8290 [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \ 8291 else \ 8292 [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \ 8293 $(MAKE) stagefeedback-start; \ 8294 fi; \ 8295 cd $(HOST_SUBDIR)/fixincludes && \ 8296 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 8297 @endif fixincludes-bootstrap 8298 8299 8300 8301 8302 8303 .PHONY: check-fixincludes maybe-check-fixincludes 8304 maybe-check-fixincludes: 8305 @if fixincludes 8306 maybe-check-fixincludes: check-fixincludes 8307 8308 check-fixincludes: 8309 @: $(MAKE); $(unstage) 8310 @r=`${PWD_COMMAND}`; export r; \ 8311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8312 $(HOST_EXPORTS) \ 8313 (cd $(HOST_SUBDIR)/fixincludes && \ 8314 $(MAKE) $(FLAGS_TO_PASS) check) 8315 8316 @endif fixincludes 8317 8318 .PHONY: install-fixincludes maybe-install-fixincludes 8319 maybe-install-fixincludes: 8320 @if fixincludes 8321 maybe-install-fixincludes: install-fixincludes 8322 8323 install-fixincludes: installdirs 8324 @: $(MAKE); $(unstage) 8325 @r=`${PWD_COMMAND}`; export r; \ 8326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8327 $(HOST_EXPORTS) \ 8328 (cd $(HOST_SUBDIR)/fixincludes && \ 8329 $(MAKE) $(FLAGS_TO_PASS) install) 8330 8331 @endif fixincludes 8332 8333 .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes 8334 maybe-install-strip-fixincludes: 8335 @if fixincludes 8336 maybe-install-strip-fixincludes: install-strip-fixincludes 8337 8338 install-strip-fixincludes: installdirs 8339 @: $(MAKE); $(unstage) 8340 @r=`${PWD_COMMAND}`; export r; \ 8341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8342 $(HOST_EXPORTS) \ 8343 (cd $(HOST_SUBDIR)/fixincludes && \ 8344 $(MAKE) $(FLAGS_TO_PASS) install-strip) 8345 8346 @endif fixincludes 8347 8348 # Other targets (info, dvi, pdf, etc.) 8349 8350 .PHONY: maybe-info-fixincludes info-fixincludes 8351 maybe-info-fixincludes: 8352 @if fixincludes 8353 maybe-info-fixincludes: info-fixincludes 8354 8355 info-fixincludes: \ 8356 configure-fixincludes 8357 @[ -f ./fixincludes/Makefile ] || exit 0; \ 8358 r=`${PWD_COMMAND}`; export r; \ 8359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8360 $(HOST_EXPORTS) \ 8361 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8363 done; \ 8364 echo "Doing info in fixincludes" ; \ 8365 (cd $(HOST_SUBDIR)/fixincludes && \ 8366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8368 "RANLIB=$${RANLIB}" \ 8369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8370 info) \ 8371 || exit 1 8372 8373 @endif fixincludes 8374 8375 .PHONY: maybe-dvi-fixincludes dvi-fixincludes 8376 maybe-dvi-fixincludes: 8377 @if fixincludes 8378 maybe-dvi-fixincludes: dvi-fixincludes 8379 8380 dvi-fixincludes: \ 8381 configure-fixincludes 8382 @[ -f ./fixincludes/Makefile ] || exit 0; \ 8383 r=`${PWD_COMMAND}`; export r; \ 8384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8385 $(HOST_EXPORTS) \ 8386 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8388 done; \ 8389 echo "Doing dvi in fixincludes" ; \ 8390 (cd $(HOST_SUBDIR)/fixincludes && \ 8391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8393 "RANLIB=$${RANLIB}" \ 8394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8395 dvi) \ 8396 || exit 1 8397 8398 @endif fixincludes 8399 8400 .PHONY: maybe-pdf-fixincludes pdf-fixincludes 8401 maybe-pdf-fixincludes: 8402 @if fixincludes 8403 maybe-pdf-fixincludes: pdf-fixincludes 8404 8405 pdf-fixincludes: \ 8406 configure-fixincludes 8407 @[ -f ./fixincludes/Makefile ] || exit 0; \ 8408 r=`${PWD_COMMAND}`; export r; \ 8409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8410 $(HOST_EXPORTS) \ 8411 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8413 done; \ 8414 echo "Doing pdf in fixincludes" ; \ 8415 (cd $(HOST_SUBDIR)/fixincludes && \ 8416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8418 "RANLIB=$${RANLIB}" \ 8419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8420 pdf) \ 8421 || exit 1 8422 8423 @endif fixincludes 8424 8425 .PHONY: maybe-html-fixincludes html-fixincludes 8426 maybe-html-fixincludes: 8427 @if fixincludes 8428 maybe-html-fixincludes: html-fixincludes 8429 8430 html-fixincludes: \ 8431 configure-fixincludes 8432 @[ -f ./fixincludes/Makefile ] || exit 0; \ 8433 r=`${PWD_COMMAND}`; export r; \ 8434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8435 $(HOST_EXPORTS) \ 8436 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8438 done; \ 8439 echo "Doing html in fixincludes" ; \ 8440 (cd $(HOST_SUBDIR)/fixincludes && \ 8441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8443 "RANLIB=$${RANLIB}" \ 8444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8445 html) \ 8446 || exit 1 8447 8448 @endif fixincludes 8449 8450 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes 8451 maybe-TAGS-fixincludes: 8452 @if fixincludes 8453 maybe-TAGS-fixincludes: TAGS-fixincludes 8454 8455 # fixincludes doesn't support TAGS. 8456 TAGS-fixincludes: 8457 8458 @endif fixincludes 8459 8460 .PHONY: maybe-install-info-fixincludes install-info-fixincludes 8461 maybe-install-info-fixincludes: 8462 @if fixincludes 8463 maybe-install-info-fixincludes: install-info-fixincludes 8464 8465 install-info-fixincludes: \ 8466 configure-fixincludes \ 8467 info-fixincludes 8468 @[ -f ./fixincludes/Makefile ] || exit 0; \ 8469 r=`${PWD_COMMAND}`; export r; \ 8470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8471 $(HOST_EXPORTS) \ 8472 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8474 done; \ 8475 echo "Doing install-info in fixincludes" ; \ 8476 (cd $(HOST_SUBDIR)/fixincludes && \ 8477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8479 "RANLIB=$${RANLIB}" \ 8480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8481 install-info) \ 8482 || exit 1 8483 8484 @endif fixincludes 8485 8486 .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes 8487 maybe-install-pdf-fixincludes: 8488 @if fixincludes 8489 maybe-install-pdf-fixincludes: install-pdf-fixincludes 8490 8491 install-pdf-fixincludes: \ 8492 configure-fixincludes \ 8493 pdf-fixincludes 8494 @[ -f ./fixincludes/Makefile ] || exit 0; \ 8495 r=`${PWD_COMMAND}`; export r; \ 8496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8497 $(HOST_EXPORTS) \ 8498 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8500 done; \ 8501 echo "Doing install-pdf in fixincludes" ; \ 8502 (cd $(HOST_SUBDIR)/fixincludes && \ 8503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8505 "RANLIB=$${RANLIB}" \ 8506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8507 install-pdf) \ 8508 || exit 1 8509 8510 @endif fixincludes 8511 8512 .PHONY: maybe-install-html-fixincludes install-html-fixincludes 8513 maybe-install-html-fixincludes: 8514 @if fixincludes 8515 maybe-install-html-fixincludes: install-html-fixincludes 8516 8517 install-html-fixincludes: \ 8518 configure-fixincludes \ 8519 html-fixincludes 8520 @[ -f ./fixincludes/Makefile ] || exit 0; \ 8521 r=`${PWD_COMMAND}`; export r; \ 8522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8523 $(HOST_EXPORTS) \ 8524 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8526 done; \ 8527 echo "Doing install-html in fixincludes" ; \ 8528 (cd $(HOST_SUBDIR)/fixincludes && \ 8529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8531 "RANLIB=$${RANLIB}" \ 8532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8533 install-html) \ 8534 || exit 1 8535 8536 @endif fixincludes 8537 8538 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes 8539 maybe-installcheck-fixincludes: 8540 @if fixincludes 8541 maybe-installcheck-fixincludes: installcheck-fixincludes 8542 8543 installcheck-fixincludes: \ 8544 configure-fixincludes 8545 @[ -f ./fixincludes/Makefile ] || exit 0; \ 8546 r=`${PWD_COMMAND}`; export r; \ 8547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8548 $(HOST_EXPORTS) \ 8549 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8551 done; \ 8552 echo "Doing installcheck in fixincludes" ; \ 8553 (cd $(HOST_SUBDIR)/fixincludes && \ 8554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8556 "RANLIB=$${RANLIB}" \ 8557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8558 installcheck) \ 8559 || exit 1 8560 8561 @endif fixincludes 8562 8563 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes 8564 maybe-mostlyclean-fixincludes: 8565 @if fixincludes 8566 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes 8567 8568 mostlyclean-fixincludes: 8569 @[ -f ./fixincludes/Makefile ] || exit 0; \ 8570 r=`${PWD_COMMAND}`; export r; \ 8571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8572 $(HOST_EXPORTS) \ 8573 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8575 done; \ 8576 echo "Doing mostlyclean in fixincludes" ; \ 8577 (cd $(HOST_SUBDIR)/fixincludes && \ 8578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8580 "RANLIB=$${RANLIB}" \ 8581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8582 mostlyclean) \ 8583 || exit 1 8584 8585 @endif fixincludes 8586 8587 .PHONY: maybe-clean-fixincludes clean-fixincludes 8588 maybe-clean-fixincludes: 8589 @if fixincludes 8590 maybe-clean-fixincludes: clean-fixincludes 8591 8592 clean-fixincludes: 8593 @[ -f ./fixincludes/Makefile ] || exit 0; \ 8594 r=`${PWD_COMMAND}`; export r; \ 8595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8596 $(HOST_EXPORTS) \ 8597 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8599 done; \ 8600 echo "Doing clean in fixincludes" ; \ 8601 (cd $(HOST_SUBDIR)/fixincludes && \ 8602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8604 "RANLIB=$${RANLIB}" \ 8605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8606 clean) \ 8607 || exit 1 8608 8609 @endif fixincludes 8610 8611 .PHONY: maybe-distclean-fixincludes distclean-fixincludes 8612 maybe-distclean-fixincludes: 8613 @if fixincludes 8614 maybe-distclean-fixincludes: distclean-fixincludes 8615 8616 distclean-fixincludes: 8617 @[ -f ./fixincludes/Makefile ] || exit 0; \ 8618 r=`${PWD_COMMAND}`; export r; \ 8619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8620 $(HOST_EXPORTS) \ 8621 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8623 done; \ 8624 echo "Doing distclean in fixincludes" ; \ 8625 (cd $(HOST_SUBDIR)/fixincludes && \ 8626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8628 "RANLIB=$${RANLIB}" \ 8629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8630 distclean) \ 8631 || exit 1 8632 8633 @endif fixincludes 8634 8635 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes 8636 maybe-maintainer-clean-fixincludes: 8637 @if fixincludes 8638 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes 8639 8640 maintainer-clean-fixincludes: 8641 @[ -f ./fixincludes/Makefile ] || exit 0; \ 8642 r=`${PWD_COMMAND}`; export r; \ 8643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8644 $(HOST_EXPORTS) \ 8645 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8647 done; \ 8648 echo "Doing maintainer-clean in fixincludes" ; \ 8649 (cd $(HOST_SUBDIR)/fixincludes && \ 8650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8652 "RANLIB=$${RANLIB}" \ 8653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8654 maintainer-clean) \ 8655 || exit 1 8656 8657 @endif fixincludes 8658 8659 8660 8661 .PHONY: configure-flex maybe-configure-flex 8662 maybe-configure-flex: 8663 @if gcc-bootstrap 8664 configure-flex: stage_current 8665 @endif gcc-bootstrap 8666 @if flex 8667 maybe-configure-flex: configure-flex 8668 configure-flex: 8669 @: $(MAKE); $(unstage) 8670 @r=`${PWD_COMMAND}`; export r; \ 8671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8672 test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \ 8673 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \ 8674 $(HOST_EXPORTS) \ 8675 echo Configuring in $(HOST_SUBDIR)/flex; \ 8676 cd "$(HOST_SUBDIR)/flex" || exit 1; \ 8677 case $(srcdir) in \ 8678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 8679 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \ 8680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 8681 esac; \ 8682 srcdiroption="--srcdir=$${topdir}/flex"; \ 8683 libsrcdir="$$s/flex"; \ 8684 $(SHELL) $${libsrcdir}/configure \ 8685 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 8686 --target=${target_alias} $${srcdiroption} \ 8687 || exit 1 8688 @endif flex 8689 8690 8691 8692 8693 8694 .PHONY: all-flex maybe-all-flex 8695 maybe-all-flex: 8696 @if gcc-bootstrap 8697 all-flex: stage_current 8698 @endif gcc-bootstrap 8699 @if flex 8700 TARGET-flex=all 8701 maybe-all-flex: all-flex 8702 all-flex: configure-flex 8703 @: $(MAKE); $(unstage) 8704 @r=`${PWD_COMMAND}`; export r; \ 8705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8706 $(HOST_EXPORTS) \ 8707 (cd $(HOST_SUBDIR)/flex && \ 8708 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 8709 $(TARGET-flex)) 8710 @endif flex 8711 8712 8713 8714 8715 .PHONY: check-flex maybe-check-flex 8716 maybe-check-flex: 8717 @if flex 8718 maybe-check-flex: check-flex 8719 8720 # This module is only tested in a native toolchain. 8721 check-flex: 8722 @: $(MAKE); $(unstage) 8723 @if [ '$(host)' = '$(target)' ] ; then \ 8724 r=`${PWD_COMMAND}`; export r; \ 8725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8726 $(HOST_EXPORTS) \ 8727 (cd $(HOST_SUBDIR)/flex && \ 8728 $(MAKE) $(FLAGS_TO_PASS) check); \ 8729 fi 8730 8731 @endif flex 8732 8733 .PHONY: install-flex maybe-install-flex 8734 maybe-install-flex: 8735 @if flex 8736 maybe-install-flex: install-flex 8737 8738 install-flex: installdirs 8739 @: $(MAKE); $(unstage) 8740 @r=`${PWD_COMMAND}`; export r; \ 8741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8742 $(HOST_EXPORTS) \ 8743 (cd $(HOST_SUBDIR)/flex && \ 8744 $(MAKE) $(FLAGS_TO_PASS) install) 8745 8746 @endif flex 8747 8748 .PHONY: install-strip-flex maybe-install-strip-flex 8749 maybe-install-strip-flex: 8750 @if flex 8751 maybe-install-strip-flex: install-strip-flex 8752 8753 install-strip-flex: installdirs 8754 @: $(MAKE); $(unstage) 8755 @r=`${PWD_COMMAND}`; export r; \ 8756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8757 $(HOST_EXPORTS) \ 8758 (cd $(HOST_SUBDIR)/flex && \ 8759 $(MAKE) $(FLAGS_TO_PASS) install-strip) 8760 8761 @endif flex 8762 8763 # Other targets (info, dvi, pdf, etc.) 8764 8765 .PHONY: maybe-info-flex info-flex 8766 maybe-info-flex: 8767 @if flex 8768 maybe-info-flex: info-flex 8769 8770 info-flex: \ 8771 configure-flex 8772 @: $(MAKE); $(unstage) 8773 @[ -f ./flex/Makefile ] || exit 0; \ 8774 r=`${PWD_COMMAND}`; export r; \ 8775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8776 $(HOST_EXPORTS) \ 8777 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8779 done; \ 8780 echo "Doing info in flex" ; \ 8781 (cd $(HOST_SUBDIR)/flex && \ 8782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8784 "RANLIB=$${RANLIB}" \ 8785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8786 info) \ 8787 || exit 1 8788 8789 @endif flex 8790 8791 .PHONY: maybe-dvi-flex dvi-flex 8792 maybe-dvi-flex: 8793 @if flex 8794 maybe-dvi-flex: dvi-flex 8795 8796 dvi-flex: \ 8797 configure-flex 8798 @: $(MAKE); $(unstage) 8799 @[ -f ./flex/Makefile ] || exit 0; \ 8800 r=`${PWD_COMMAND}`; export r; \ 8801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8802 $(HOST_EXPORTS) \ 8803 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8805 done; \ 8806 echo "Doing dvi in flex" ; \ 8807 (cd $(HOST_SUBDIR)/flex && \ 8808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8810 "RANLIB=$${RANLIB}" \ 8811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8812 dvi) \ 8813 || exit 1 8814 8815 @endif flex 8816 8817 .PHONY: maybe-pdf-flex pdf-flex 8818 maybe-pdf-flex: 8819 @if flex 8820 maybe-pdf-flex: pdf-flex 8821 8822 pdf-flex: \ 8823 configure-flex 8824 @: $(MAKE); $(unstage) 8825 @[ -f ./flex/Makefile ] || exit 0; \ 8826 r=`${PWD_COMMAND}`; export r; \ 8827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8828 $(HOST_EXPORTS) \ 8829 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8831 done; \ 8832 echo "Doing pdf in flex" ; \ 8833 (cd $(HOST_SUBDIR)/flex && \ 8834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8836 "RANLIB=$${RANLIB}" \ 8837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8838 pdf) \ 8839 || exit 1 8840 8841 @endif flex 8842 8843 .PHONY: maybe-html-flex html-flex 8844 maybe-html-flex: 8845 @if flex 8846 maybe-html-flex: html-flex 8847 8848 html-flex: \ 8849 configure-flex 8850 @: $(MAKE); $(unstage) 8851 @[ -f ./flex/Makefile ] || exit 0; \ 8852 r=`${PWD_COMMAND}`; export r; \ 8853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8854 $(HOST_EXPORTS) \ 8855 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8857 done; \ 8858 echo "Doing html in flex" ; \ 8859 (cd $(HOST_SUBDIR)/flex && \ 8860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8862 "RANLIB=$${RANLIB}" \ 8863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8864 html) \ 8865 || exit 1 8866 8867 @endif flex 8868 8869 .PHONY: maybe-TAGS-flex TAGS-flex 8870 maybe-TAGS-flex: 8871 @if flex 8872 maybe-TAGS-flex: TAGS-flex 8873 8874 TAGS-flex: \ 8875 configure-flex 8876 @: $(MAKE); $(unstage) 8877 @[ -f ./flex/Makefile ] || exit 0; \ 8878 r=`${PWD_COMMAND}`; export r; \ 8879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8880 $(HOST_EXPORTS) \ 8881 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8883 done; \ 8884 echo "Doing TAGS in flex" ; \ 8885 (cd $(HOST_SUBDIR)/flex && \ 8886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8888 "RANLIB=$${RANLIB}" \ 8889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8890 TAGS) \ 8891 || exit 1 8892 8893 @endif flex 8894 8895 .PHONY: maybe-install-info-flex install-info-flex 8896 maybe-install-info-flex: 8897 @if flex 8898 maybe-install-info-flex: install-info-flex 8899 8900 install-info-flex: \ 8901 configure-flex \ 8902 info-flex 8903 @: $(MAKE); $(unstage) 8904 @[ -f ./flex/Makefile ] || exit 0; \ 8905 r=`${PWD_COMMAND}`; export r; \ 8906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8907 $(HOST_EXPORTS) \ 8908 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8910 done; \ 8911 echo "Doing install-info in flex" ; \ 8912 (cd $(HOST_SUBDIR)/flex && \ 8913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8915 "RANLIB=$${RANLIB}" \ 8916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8917 install-info) \ 8918 || exit 1 8919 8920 @endif flex 8921 8922 .PHONY: maybe-install-pdf-flex install-pdf-flex 8923 maybe-install-pdf-flex: 8924 @if flex 8925 maybe-install-pdf-flex: install-pdf-flex 8926 8927 install-pdf-flex: \ 8928 configure-flex \ 8929 pdf-flex 8930 @: $(MAKE); $(unstage) 8931 @[ -f ./flex/Makefile ] || exit 0; \ 8932 r=`${PWD_COMMAND}`; export r; \ 8933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8934 $(HOST_EXPORTS) \ 8935 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8937 done; \ 8938 echo "Doing install-pdf in flex" ; \ 8939 (cd $(HOST_SUBDIR)/flex && \ 8940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8942 "RANLIB=$${RANLIB}" \ 8943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8944 install-pdf) \ 8945 || exit 1 8946 8947 @endif flex 8948 8949 .PHONY: maybe-install-html-flex install-html-flex 8950 maybe-install-html-flex: 8951 @if flex 8952 maybe-install-html-flex: install-html-flex 8953 8954 install-html-flex: \ 8955 configure-flex \ 8956 html-flex 8957 @: $(MAKE); $(unstage) 8958 @[ -f ./flex/Makefile ] || exit 0; \ 8959 r=`${PWD_COMMAND}`; export r; \ 8960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8961 $(HOST_EXPORTS) \ 8962 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8964 done; \ 8965 echo "Doing install-html in flex" ; \ 8966 (cd $(HOST_SUBDIR)/flex && \ 8967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8969 "RANLIB=$${RANLIB}" \ 8970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8971 install-html) \ 8972 || exit 1 8973 8974 @endif flex 8975 8976 .PHONY: maybe-installcheck-flex installcheck-flex 8977 maybe-installcheck-flex: 8978 @if flex 8979 maybe-installcheck-flex: installcheck-flex 8980 8981 installcheck-flex: \ 8982 configure-flex 8983 @: $(MAKE); $(unstage) 8984 @[ -f ./flex/Makefile ] || exit 0; \ 8985 r=`${PWD_COMMAND}`; export r; \ 8986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 8987 $(HOST_EXPORTS) \ 8988 for flag in $(EXTRA_HOST_FLAGS) ; do \ 8989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 8990 done; \ 8991 echo "Doing installcheck in flex" ; \ 8992 (cd $(HOST_SUBDIR)/flex && \ 8993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 8994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 8995 "RANLIB=$${RANLIB}" \ 8996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 8997 installcheck) \ 8998 || exit 1 8999 9000 @endif flex 9001 9002 .PHONY: maybe-mostlyclean-flex mostlyclean-flex 9003 maybe-mostlyclean-flex: 9004 @if flex 9005 maybe-mostlyclean-flex: mostlyclean-flex 9006 9007 mostlyclean-flex: 9008 @: $(MAKE); $(unstage) 9009 @[ -f ./flex/Makefile ] || exit 0; \ 9010 r=`${PWD_COMMAND}`; export r; \ 9011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9012 $(HOST_EXPORTS) \ 9013 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9015 done; \ 9016 echo "Doing mostlyclean in flex" ; \ 9017 (cd $(HOST_SUBDIR)/flex && \ 9018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9020 "RANLIB=$${RANLIB}" \ 9021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9022 mostlyclean) \ 9023 || exit 1 9024 9025 @endif flex 9026 9027 .PHONY: maybe-clean-flex clean-flex 9028 maybe-clean-flex: 9029 @if flex 9030 maybe-clean-flex: clean-flex 9031 9032 clean-flex: 9033 @: $(MAKE); $(unstage) 9034 @[ -f ./flex/Makefile ] || exit 0; \ 9035 r=`${PWD_COMMAND}`; export r; \ 9036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9037 $(HOST_EXPORTS) \ 9038 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9040 done; \ 9041 echo "Doing clean in flex" ; \ 9042 (cd $(HOST_SUBDIR)/flex && \ 9043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9045 "RANLIB=$${RANLIB}" \ 9046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9047 clean) \ 9048 || exit 1 9049 9050 @endif flex 9051 9052 .PHONY: maybe-distclean-flex distclean-flex 9053 maybe-distclean-flex: 9054 @if flex 9055 maybe-distclean-flex: distclean-flex 9056 9057 distclean-flex: 9058 @: $(MAKE); $(unstage) 9059 @[ -f ./flex/Makefile ] || exit 0; \ 9060 r=`${PWD_COMMAND}`; export r; \ 9061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9062 $(HOST_EXPORTS) \ 9063 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9065 done; \ 9066 echo "Doing distclean in flex" ; \ 9067 (cd $(HOST_SUBDIR)/flex && \ 9068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9070 "RANLIB=$${RANLIB}" \ 9071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9072 distclean) \ 9073 || exit 1 9074 9075 @endif flex 9076 9077 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex 9078 maybe-maintainer-clean-flex: 9079 @if flex 9080 maybe-maintainer-clean-flex: maintainer-clean-flex 9081 9082 maintainer-clean-flex: 9083 @: $(MAKE); $(unstage) 9084 @[ -f ./flex/Makefile ] || exit 0; \ 9085 r=`${PWD_COMMAND}`; export r; \ 9086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9087 $(HOST_EXPORTS) \ 9088 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9090 done; \ 9091 echo "Doing maintainer-clean in flex" ; \ 9092 (cd $(HOST_SUBDIR)/flex && \ 9093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9095 "RANLIB=$${RANLIB}" \ 9096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9097 maintainer-clean) \ 9098 || exit 1 9099 9100 @endif flex 9101 9102 9103 9104 .PHONY: configure-gas maybe-configure-gas 9105 maybe-configure-gas: 9106 @if gcc-bootstrap 9107 configure-gas: stage_current 9108 @endif gcc-bootstrap 9109 @if gas 9110 maybe-configure-gas: configure-gas 9111 configure-gas: 9112 @r=`${PWD_COMMAND}`; export r; \ 9113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9114 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ 9115 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ 9116 $(HOST_EXPORTS) \ 9117 echo Configuring in $(HOST_SUBDIR)/gas; \ 9118 cd "$(HOST_SUBDIR)/gas" || exit 1; \ 9119 case $(srcdir) in \ 9120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 9121 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ 9122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 9123 esac; \ 9124 srcdiroption="--srcdir=$${topdir}/gas"; \ 9125 libsrcdir="$$s/gas"; \ 9126 $(SHELL) $${libsrcdir}/configure \ 9127 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 9128 --target=${target_alias} $${srcdiroption} \ 9129 || exit 1 9130 @endif gas 9131 9132 9133 9134 .PHONY: configure-stage1-gas maybe-configure-stage1-gas 9135 maybe-configure-stage1-gas: 9136 @if gas-bootstrap 9137 maybe-configure-stage1-gas: configure-stage1-gas 9138 configure-stage1-gas: 9139 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 9140 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas 9141 @r=`${PWD_COMMAND}`; export r; \ 9142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9143 TFLAGS="$(STAGE1_TFLAGS)"; \ 9144 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ 9145 $(HOST_EXPORTS) \ 9146 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 9147 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 9148 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 9149 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \ 9150 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ 9151 cd $(HOST_SUBDIR)/gas || exit 1; \ 9152 case $(srcdir) in \ 9153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 9154 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ 9155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 9156 esac; \ 9157 srcdiroption="--srcdir=$${topdir}/gas"; \ 9158 libsrcdir="$$s/gas"; \ 9159 $(SHELL) $${libsrcdir}/configure \ 9160 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 9161 --target=${target_alias} $${srcdiroption} \ 9162 $(STAGE1_CONFIGURE_FLAGS) 9163 @endif gas-bootstrap 9164 9165 .PHONY: configure-stage2-gas maybe-configure-stage2-gas 9166 maybe-configure-stage2-gas: 9167 @if gas-bootstrap 9168 maybe-configure-stage2-gas: configure-stage2-gas 9169 configure-stage2-gas: 9170 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 9171 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas 9172 @r=`${PWD_COMMAND}`; export r; \ 9173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9174 TFLAGS="$(STAGE2_TFLAGS)"; \ 9175 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ 9176 $(HOST_EXPORTS) \ 9177 $(POSTSTAGE1_HOST_EXPORTS) \ 9178 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 9179 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 9180 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 9181 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \ 9182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ 9183 cd $(HOST_SUBDIR)/gas || exit 1; \ 9184 case $(srcdir) in \ 9185 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 9186 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ 9187 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 9188 esac; \ 9189 srcdiroption="--srcdir=$${topdir}/gas"; \ 9190 libsrcdir="$$s/gas"; \ 9191 $(SHELL) $${libsrcdir}/configure \ 9192 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 9193 --target=${target_alias} $${srcdiroption} \ 9194 --with-build-libsubdir=$(HOST_SUBDIR) \ 9195 $(STAGE2_CONFIGURE_FLAGS) 9196 @endif gas-bootstrap 9197 9198 .PHONY: configure-stage3-gas maybe-configure-stage3-gas 9199 maybe-configure-stage3-gas: 9200 @if gas-bootstrap 9201 maybe-configure-stage3-gas: configure-stage3-gas 9202 configure-stage3-gas: 9203 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 9204 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas 9205 @r=`${PWD_COMMAND}`; export r; \ 9206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9207 TFLAGS="$(STAGE3_TFLAGS)"; \ 9208 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ 9209 $(HOST_EXPORTS) \ 9210 $(POSTSTAGE1_HOST_EXPORTS) \ 9211 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 9212 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 9213 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 9214 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \ 9215 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ 9216 cd $(HOST_SUBDIR)/gas || exit 1; \ 9217 case $(srcdir) in \ 9218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 9219 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ 9220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 9221 esac; \ 9222 srcdiroption="--srcdir=$${topdir}/gas"; \ 9223 libsrcdir="$$s/gas"; \ 9224 $(SHELL) $${libsrcdir}/configure \ 9225 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 9226 --target=${target_alias} $${srcdiroption} \ 9227 --with-build-libsubdir=$(HOST_SUBDIR) \ 9228 $(STAGE3_CONFIGURE_FLAGS) 9229 @endif gas-bootstrap 9230 9231 .PHONY: configure-stage4-gas maybe-configure-stage4-gas 9232 maybe-configure-stage4-gas: 9233 @if gas-bootstrap 9234 maybe-configure-stage4-gas: configure-stage4-gas 9235 configure-stage4-gas: 9236 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 9237 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas 9238 @r=`${PWD_COMMAND}`; export r; \ 9239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9240 TFLAGS="$(STAGE4_TFLAGS)"; \ 9241 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ 9242 $(HOST_EXPORTS) \ 9243 $(POSTSTAGE1_HOST_EXPORTS) \ 9244 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 9245 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 9246 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 9247 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \ 9248 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ 9249 cd $(HOST_SUBDIR)/gas || exit 1; \ 9250 case $(srcdir) in \ 9251 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 9252 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ 9253 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 9254 esac; \ 9255 srcdiroption="--srcdir=$${topdir}/gas"; \ 9256 libsrcdir="$$s/gas"; \ 9257 $(SHELL) $${libsrcdir}/configure \ 9258 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 9259 --target=${target_alias} $${srcdiroption} \ 9260 --with-build-libsubdir=$(HOST_SUBDIR) \ 9261 $(STAGE4_CONFIGURE_FLAGS) 9262 @endif gas-bootstrap 9263 9264 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas 9265 maybe-configure-stageprofile-gas: 9266 @if gas-bootstrap 9267 maybe-configure-stageprofile-gas: configure-stageprofile-gas 9268 configure-stageprofile-gas: 9269 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 9270 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas 9271 @r=`${PWD_COMMAND}`; export r; \ 9272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9273 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 9274 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ 9275 $(HOST_EXPORTS) \ 9276 $(POSTSTAGE1_HOST_EXPORTS) \ 9277 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 9278 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 9279 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 9280 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \ 9281 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ 9282 cd $(HOST_SUBDIR)/gas || exit 1; \ 9283 case $(srcdir) in \ 9284 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 9285 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ 9286 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 9287 esac; \ 9288 srcdiroption="--srcdir=$${topdir}/gas"; \ 9289 libsrcdir="$$s/gas"; \ 9290 $(SHELL) $${libsrcdir}/configure \ 9291 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 9292 --target=${target_alias} $${srcdiroption} \ 9293 --with-build-libsubdir=$(HOST_SUBDIR) \ 9294 $(STAGEprofile_CONFIGURE_FLAGS) 9295 @endif gas-bootstrap 9296 9297 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas 9298 maybe-configure-stagefeedback-gas: 9299 @if gas-bootstrap 9300 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas 9301 configure-stagefeedback-gas: 9302 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 9303 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas 9304 @r=`${PWD_COMMAND}`; export r; \ 9305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9306 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 9307 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \ 9308 $(HOST_EXPORTS) \ 9309 $(POSTSTAGE1_HOST_EXPORTS) \ 9310 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 9311 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 9312 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 9313 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \ 9314 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \ 9315 cd $(HOST_SUBDIR)/gas || exit 1; \ 9316 case $(srcdir) in \ 9317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 9318 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \ 9319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 9320 esac; \ 9321 srcdiroption="--srcdir=$${topdir}/gas"; \ 9322 libsrcdir="$$s/gas"; \ 9323 $(SHELL) $${libsrcdir}/configure \ 9324 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 9325 --target=${target_alias} $${srcdiroption} \ 9326 --with-build-libsubdir=$(HOST_SUBDIR) \ 9327 $(STAGEfeedback_CONFIGURE_FLAGS) 9328 @endif gas-bootstrap 9329 9330 9331 9332 9333 9334 .PHONY: all-gas maybe-all-gas 9335 maybe-all-gas: 9336 @if gcc-bootstrap 9337 all-gas: stage_current 9338 @endif gcc-bootstrap 9339 @if gas 9340 TARGET-gas=all 9341 maybe-all-gas: all-gas 9342 all-gas: configure-gas 9343 @r=`${PWD_COMMAND}`; export r; \ 9344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9345 $(HOST_EXPORTS) \ 9346 (cd $(HOST_SUBDIR)/gas && \ 9347 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 9348 $(TARGET-gas)) 9349 @endif gas 9350 9351 9352 9353 .PHONY: all-stage1-gas maybe-all-stage1-gas 9354 .PHONY: clean-stage1-gas maybe-clean-stage1-gas 9355 maybe-all-stage1-gas: 9356 maybe-clean-stage1-gas: 9357 @if gas-bootstrap 9358 maybe-all-stage1-gas: all-stage1-gas 9359 all-stage1: all-stage1-gas 9360 TARGET-stage1-gas = $(TARGET-gas) 9361 all-stage1-gas: configure-stage1-gas 9362 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 9363 @r=`${PWD_COMMAND}`; export r; \ 9364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9365 TFLAGS="$(STAGE1_TFLAGS)"; \ 9366 $(HOST_EXPORTS) \ 9367 cd $(HOST_SUBDIR)/gas && \ 9368 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 9369 CFLAGS="$(STAGE1_CFLAGS)" \ 9370 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 9371 LIBCFLAGS="$(LIBCFLAGS)" \ 9372 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 9373 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 9374 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 9375 $(EXTRA_HOST_FLAGS) \ 9376 $(STAGE1_FLAGS_TO_PASS) \ 9377 TFLAGS="$(STAGE1_TFLAGS)" \ 9378 $(TARGET-stage1-gas) 9379 9380 maybe-clean-stage1-gas: clean-stage1-gas 9381 clean-stage1: clean-stage1-gas 9382 clean-stage1-gas: 9383 @if [ $(current_stage) = stage1 ]; then \ 9384 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ 9385 else \ 9386 [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \ 9387 $(MAKE) stage1-start; \ 9388 fi; \ 9389 cd $(HOST_SUBDIR)/gas && \ 9390 $(MAKE) $(EXTRA_HOST_FLAGS) \ 9391 $(STAGE1_FLAGS_TO_PASS) clean 9392 @endif gas-bootstrap 9393 9394 9395 .PHONY: all-stage2-gas maybe-all-stage2-gas 9396 .PHONY: clean-stage2-gas maybe-clean-stage2-gas 9397 maybe-all-stage2-gas: 9398 maybe-clean-stage2-gas: 9399 @if gas-bootstrap 9400 maybe-all-stage2-gas: all-stage2-gas 9401 all-stage2: all-stage2-gas 9402 TARGET-stage2-gas = $(TARGET-gas) 9403 all-stage2-gas: configure-stage2-gas 9404 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 9405 @r=`${PWD_COMMAND}`; export r; \ 9406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9407 TFLAGS="$(STAGE2_TFLAGS)"; \ 9408 $(HOST_EXPORTS) \ 9409 $(POSTSTAGE1_HOST_EXPORTS) \ 9410 cd $(HOST_SUBDIR)/gas && \ 9411 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 9412 CFLAGS="$(STAGE2_CFLAGS)" \ 9413 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 9414 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 9415 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 9416 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 9417 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 9418 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 9419 TFLAGS="$(STAGE2_TFLAGS)" \ 9420 $(TARGET-stage2-gas) 9421 9422 maybe-clean-stage2-gas: clean-stage2-gas 9423 clean-stage2: clean-stage2-gas 9424 clean-stage2-gas: 9425 @if [ $(current_stage) = stage2 ]; then \ 9426 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ 9427 else \ 9428 [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \ 9429 $(MAKE) stage2-start; \ 9430 fi; \ 9431 cd $(HOST_SUBDIR)/gas && \ 9432 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 9433 @endif gas-bootstrap 9434 9435 9436 .PHONY: all-stage3-gas maybe-all-stage3-gas 9437 .PHONY: clean-stage3-gas maybe-clean-stage3-gas 9438 maybe-all-stage3-gas: 9439 maybe-clean-stage3-gas: 9440 @if gas-bootstrap 9441 maybe-all-stage3-gas: all-stage3-gas 9442 all-stage3: all-stage3-gas 9443 TARGET-stage3-gas = $(TARGET-gas) 9444 all-stage3-gas: configure-stage3-gas 9445 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 9446 @r=`${PWD_COMMAND}`; export r; \ 9447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9448 TFLAGS="$(STAGE3_TFLAGS)"; \ 9449 $(HOST_EXPORTS) \ 9450 $(POSTSTAGE1_HOST_EXPORTS) \ 9451 cd $(HOST_SUBDIR)/gas && \ 9452 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 9453 CFLAGS="$(STAGE3_CFLAGS)" \ 9454 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 9455 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 9456 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 9457 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 9458 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 9459 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 9460 TFLAGS="$(STAGE3_TFLAGS)" \ 9461 $(TARGET-stage3-gas) 9462 9463 maybe-clean-stage3-gas: clean-stage3-gas 9464 clean-stage3: clean-stage3-gas 9465 clean-stage3-gas: 9466 @if [ $(current_stage) = stage3 ]; then \ 9467 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ 9468 else \ 9469 [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \ 9470 $(MAKE) stage3-start; \ 9471 fi; \ 9472 cd $(HOST_SUBDIR)/gas && \ 9473 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 9474 @endif gas-bootstrap 9475 9476 9477 .PHONY: all-stage4-gas maybe-all-stage4-gas 9478 .PHONY: clean-stage4-gas maybe-clean-stage4-gas 9479 maybe-all-stage4-gas: 9480 maybe-clean-stage4-gas: 9481 @if gas-bootstrap 9482 maybe-all-stage4-gas: all-stage4-gas 9483 all-stage4: all-stage4-gas 9484 TARGET-stage4-gas = $(TARGET-gas) 9485 all-stage4-gas: configure-stage4-gas 9486 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 9487 @r=`${PWD_COMMAND}`; export r; \ 9488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9489 TFLAGS="$(STAGE4_TFLAGS)"; \ 9490 $(HOST_EXPORTS) \ 9491 $(POSTSTAGE1_HOST_EXPORTS) \ 9492 cd $(HOST_SUBDIR)/gas && \ 9493 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 9494 CFLAGS="$(STAGE4_CFLAGS)" \ 9495 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 9496 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 9497 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 9498 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 9499 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 9500 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 9501 TFLAGS="$(STAGE4_TFLAGS)" \ 9502 $(TARGET-stage4-gas) 9503 9504 maybe-clean-stage4-gas: clean-stage4-gas 9505 clean-stage4: clean-stage4-gas 9506 clean-stage4-gas: 9507 @if [ $(current_stage) = stage4 ]; then \ 9508 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ 9509 else \ 9510 [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \ 9511 $(MAKE) stage4-start; \ 9512 fi; \ 9513 cd $(HOST_SUBDIR)/gas && \ 9514 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 9515 @endif gas-bootstrap 9516 9517 9518 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas 9519 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas 9520 maybe-all-stageprofile-gas: 9521 maybe-clean-stageprofile-gas: 9522 @if gas-bootstrap 9523 maybe-all-stageprofile-gas: all-stageprofile-gas 9524 all-stageprofile: all-stageprofile-gas 9525 TARGET-stageprofile-gas = $(TARGET-gas) 9526 all-stageprofile-gas: configure-stageprofile-gas 9527 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 9528 @r=`${PWD_COMMAND}`; export r; \ 9529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9530 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 9531 $(HOST_EXPORTS) \ 9532 $(POSTSTAGE1_HOST_EXPORTS) \ 9533 cd $(HOST_SUBDIR)/gas && \ 9534 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 9535 CFLAGS="$(STAGEprofile_CFLAGS)" \ 9536 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 9537 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 9538 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 9539 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 9540 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 9541 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 9542 TFLAGS="$(STAGEprofile_TFLAGS)" \ 9543 $(TARGET-stageprofile-gas) 9544 9545 maybe-clean-stageprofile-gas: clean-stageprofile-gas 9546 clean-stageprofile: clean-stageprofile-gas 9547 clean-stageprofile-gas: 9548 @if [ $(current_stage) = stageprofile ]; then \ 9549 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ 9550 else \ 9551 [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \ 9552 $(MAKE) stageprofile-start; \ 9553 fi; \ 9554 cd $(HOST_SUBDIR)/gas && \ 9555 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 9556 @endif gas-bootstrap 9557 9558 9559 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas 9560 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas 9561 maybe-all-stagefeedback-gas: 9562 maybe-clean-stagefeedback-gas: 9563 @if gas-bootstrap 9564 maybe-all-stagefeedback-gas: all-stagefeedback-gas 9565 all-stagefeedback: all-stagefeedback-gas 9566 TARGET-stagefeedback-gas = $(TARGET-gas) 9567 all-stagefeedback-gas: configure-stagefeedback-gas 9568 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 9569 @r=`${PWD_COMMAND}`; export r; \ 9570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9571 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 9572 $(HOST_EXPORTS) \ 9573 $(POSTSTAGE1_HOST_EXPORTS) \ 9574 cd $(HOST_SUBDIR)/gas && \ 9575 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 9576 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 9577 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 9578 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 9579 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 9580 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 9581 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 9582 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 9583 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 9584 $(TARGET-stagefeedback-gas) 9585 9586 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas 9587 clean-stagefeedback: clean-stagefeedback-gas 9588 clean-stagefeedback-gas: 9589 @if [ $(current_stage) = stagefeedback ]; then \ 9590 [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \ 9591 else \ 9592 [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \ 9593 $(MAKE) stagefeedback-start; \ 9594 fi; \ 9595 cd $(HOST_SUBDIR)/gas && \ 9596 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 9597 @endif gas-bootstrap 9598 9599 9600 9601 9602 9603 .PHONY: check-gas maybe-check-gas 9604 maybe-check-gas: 9605 @if gas 9606 maybe-check-gas: check-gas 9607 9608 check-gas: 9609 @: $(MAKE); $(unstage) 9610 @r=`${PWD_COMMAND}`; export r; \ 9611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9612 $(HOST_EXPORTS) \ 9613 (cd $(HOST_SUBDIR)/gas && \ 9614 $(MAKE) $(FLAGS_TO_PASS) check) 9615 9616 @endif gas 9617 9618 .PHONY: install-gas maybe-install-gas 9619 maybe-install-gas: 9620 @if gas 9621 maybe-install-gas: install-gas 9622 9623 install-gas: installdirs 9624 @: $(MAKE); $(unstage) 9625 @r=`${PWD_COMMAND}`; export r; \ 9626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9627 $(HOST_EXPORTS) \ 9628 (cd $(HOST_SUBDIR)/gas && \ 9629 $(MAKE) $(FLAGS_TO_PASS) install) 9630 9631 @endif gas 9632 9633 .PHONY: install-strip-gas maybe-install-strip-gas 9634 maybe-install-strip-gas: 9635 @if gas 9636 maybe-install-strip-gas: install-strip-gas 9637 9638 install-strip-gas: installdirs 9639 @: $(MAKE); $(unstage) 9640 @r=`${PWD_COMMAND}`; export r; \ 9641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9642 $(HOST_EXPORTS) \ 9643 (cd $(HOST_SUBDIR)/gas && \ 9644 $(MAKE) $(FLAGS_TO_PASS) install-strip) 9645 9646 @endif gas 9647 9648 # Other targets (info, dvi, pdf, etc.) 9649 9650 .PHONY: maybe-info-gas info-gas 9651 maybe-info-gas: 9652 @if gas 9653 maybe-info-gas: info-gas 9654 9655 info-gas: \ 9656 configure-gas 9657 @[ -f ./gas/Makefile ] || exit 0; \ 9658 r=`${PWD_COMMAND}`; export r; \ 9659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9660 $(HOST_EXPORTS) \ 9661 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9663 done; \ 9664 echo "Doing info in gas" ; \ 9665 (cd $(HOST_SUBDIR)/gas && \ 9666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9668 "RANLIB=$${RANLIB}" \ 9669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9670 info) \ 9671 || exit 1 9672 9673 @endif gas 9674 9675 .PHONY: maybe-dvi-gas dvi-gas 9676 maybe-dvi-gas: 9677 @if gas 9678 maybe-dvi-gas: dvi-gas 9679 9680 dvi-gas: \ 9681 configure-gas 9682 @[ -f ./gas/Makefile ] || exit 0; \ 9683 r=`${PWD_COMMAND}`; export r; \ 9684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9685 $(HOST_EXPORTS) \ 9686 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9688 done; \ 9689 echo "Doing dvi in gas" ; \ 9690 (cd $(HOST_SUBDIR)/gas && \ 9691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9693 "RANLIB=$${RANLIB}" \ 9694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9695 dvi) \ 9696 || exit 1 9697 9698 @endif gas 9699 9700 .PHONY: maybe-pdf-gas pdf-gas 9701 maybe-pdf-gas: 9702 @if gas 9703 maybe-pdf-gas: pdf-gas 9704 9705 pdf-gas: \ 9706 configure-gas 9707 @[ -f ./gas/Makefile ] || exit 0; \ 9708 r=`${PWD_COMMAND}`; export r; \ 9709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9710 $(HOST_EXPORTS) \ 9711 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9713 done; \ 9714 echo "Doing pdf in gas" ; \ 9715 (cd $(HOST_SUBDIR)/gas && \ 9716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9718 "RANLIB=$${RANLIB}" \ 9719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9720 pdf) \ 9721 || exit 1 9722 9723 @endif gas 9724 9725 .PHONY: maybe-html-gas html-gas 9726 maybe-html-gas: 9727 @if gas 9728 maybe-html-gas: html-gas 9729 9730 html-gas: \ 9731 configure-gas 9732 @[ -f ./gas/Makefile ] || exit 0; \ 9733 r=`${PWD_COMMAND}`; export r; \ 9734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9735 $(HOST_EXPORTS) \ 9736 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9738 done; \ 9739 echo "Doing html in gas" ; \ 9740 (cd $(HOST_SUBDIR)/gas && \ 9741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9743 "RANLIB=$${RANLIB}" \ 9744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9745 html) \ 9746 || exit 1 9747 9748 @endif gas 9749 9750 .PHONY: maybe-TAGS-gas TAGS-gas 9751 maybe-TAGS-gas: 9752 @if gas 9753 maybe-TAGS-gas: TAGS-gas 9754 9755 TAGS-gas: \ 9756 configure-gas 9757 @[ -f ./gas/Makefile ] || exit 0; \ 9758 r=`${PWD_COMMAND}`; export r; \ 9759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9760 $(HOST_EXPORTS) \ 9761 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9763 done; \ 9764 echo "Doing TAGS in gas" ; \ 9765 (cd $(HOST_SUBDIR)/gas && \ 9766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9768 "RANLIB=$${RANLIB}" \ 9769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9770 TAGS) \ 9771 || exit 1 9772 9773 @endif gas 9774 9775 .PHONY: maybe-install-info-gas install-info-gas 9776 maybe-install-info-gas: 9777 @if gas 9778 maybe-install-info-gas: install-info-gas 9779 9780 install-info-gas: \ 9781 configure-gas \ 9782 info-gas 9783 @[ -f ./gas/Makefile ] || exit 0; \ 9784 r=`${PWD_COMMAND}`; export r; \ 9785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9786 $(HOST_EXPORTS) \ 9787 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9789 done; \ 9790 echo "Doing install-info in gas" ; \ 9791 (cd $(HOST_SUBDIR)/gas && \ 9792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9794 "RANLIB=$${RANLIB}" \ 9795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9796 install-info) \ 9797 || exit 1 9798 9799 @endif gas 9800 9801 .PHONY: maybe-install-pdf-gas install-pdf-gas 9802 maybe-install-pdf-gas: 9803 @if gas 9804 maybe-install-pdf-gas: install-pdf-gas 9805 9806 install-pdf-gas: \ 9807 configure-gas \ 9808 pdf-gas 9809 @[ -f ./gas/Makefile ] || exit 0; \ 9810 r=`${PWD_COMMAND}`; export r; \ 9811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9812 $(HOST_EXPORTS) \ 9813 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9815 done; \ 9816 echo "Doing install-pdf in gas" ; \ 9817 (cd $(HOST_SUBDIR)/gas && \ 9818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9820 "RANLIB=$${RANLIB}" \ 9821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9822 install-pdf) \ 9823 || exit 1 9824 9825 @endif gas 9826 9827 .PHONY: maybe-install-html-gas install-html-gas 9828 maybe-install-html-gas: 9829 @if gas 9830 maybe-install-html-gas: install-html-gas 9831 9832 install-html-gas: \ 9833 configure-gas \ 9834 html-gas 9835 @[ -f ./gas/Makefile ] || exit 0; \ 9836 r=`${PWD_COMMAND}`; export r; \ 9837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9838 $(HOST_EXPORTS) \ 9839 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9841 done; \ 9842 echo "Doing install-html in gas" ; \ 9843 (cd $(HOST_SUBDIR)/gas && \ 9844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9846 "RANLIB=$${RANLIB}" \ 9847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9848 install-html) \ 9849 || exit 1 9850 9851 @endif gas 9852 9853 .PHONY: maybe-installcheck-gas installcheck-gas 9854 maybe-installcheck-gas: 9855 @if gas 9856 maybe-installcheck-gas: installcheck-gas 9857 9858 installcheck-gas: \ 9859 configure-gas 9860 @[ -f ./gas/Makefile ] || exit 0; \ 9861 r=`${PWD_COMMAND}`; export r; \ 9862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9863 $(HOST_EXPORTS) \ 9864 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9866 done; \ 9867 echo "Doing installcheck in gas" ; \ 9868 (cd $(HOST_SUBDIR)/gas && \ 9869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9871 "RANLIB=$${RANLIB}" \ 9872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9873 installcheck) \ 9874 || exit 1 9875 9876 @endif gas 9877 9878 .PHONY: maybe-mostlyclean-gas mostlyclean-gas 9879 maybe-mostlyclean-gas: 9880 @if gas 9881 maybe-mostlyclean-gas: mostlyclean-gas 9882 9883 mostlyclean-gas: 9884 @[ -f ./gas/Makefile ] || exit 0; \ 9885 r=`${PWD_COMMAND}`; export r; \ 9886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9887 $(HOST_EXPORTS) \ 9888 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9890 done; \ 9891 echo "Doing mostlyclean in gas" ; \ 9892 (cd $(HOST_SUBDIR)/gas && \ 9893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9895 "RANLIB=$${RANLIB}" \ 9896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9897 mostlyclean) \ 9898 || exit 1 9899 9900 @endif gas 9901 9902 .PHONY: maybe-clean-gas clean-gas 9903 maybe-clean-gas: 9904 @if gas 9905 maybe-clean-gas: clean-gas 9906 9907 clean-gas: 9908 @[ -f ./gas/Makefile ] || exit 0; \ 9909 r=`${PWD_COMMAND}`; export r; \ 9910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9911 $(HOST_EXPORTS) \ 9912 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9914 done; \ 9915 echo "Doing clean in gas" ; \ 9916 (cd $(HOST_SUBDIR)/gas && \ 9917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9919 "RANLIB=$${RANLIB}" \ 9920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9921 clean) \ 9922 || exit 1 9923 9924 @endif gas 9925 9926 .PHONY: maybe-distclean-gas distclean-gas 9927 maybe-distclean-gas: 9928 @if gas 9929 maybe-distclean-gas: distclean-gas 9930 9931 distclean-gas: 9932 @[ -f ./gas/Makefile ] || exit 0; \ 9933 r=`${PWD_COMMAND}`; export r; \ 9934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9935 $(HOST_EXPORTS) \ 9936 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9938 done; \ 9939 echo "Doing distclean in gas" ; \ 9940 (cd $(HOST_SUBDIR)/gas && \ 9941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9943 "RANLIB=$${RANLIB}" \ 9944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9945 distclean) \ 9946 || exit 1 9947 9948 @endif gas 9949 9950 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas 9951 maybe-maintainer-clean-gas: 9952 @if gas 9953 maybe-maintainer-clean-gas: maintainer-clean-gas 9954 9955 maintainer-clean-gas: 9956 @[ -f ./gas/Makefile ] || exit 0; \ 9957 r=`${PWD_COMMAND}`; export r; \ 9958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9959 $(HOST_EXPORTS) \ 9960 for flag in $(EXTRA_HOST_FLAGS) ; do \ 9961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 9962 done; \ 9963 echo "Doing maintainer-clean in gas" ; \ 9964 (cd $(HOST_SUBDIR)/gas && \ 9965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 9966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 9967 "RANLIB=$${RANLIB}" \ 9968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 9969 maintainer-clean) \ 9970 || exit 1 9971 9972 @endif gas 9973 9974 9975 9976 .PHONY: configure-gcc maybe-configure-gcc 9977 maybe-configure-gcc: 9978 @if gcc-bootstrap 9979 configure-gcc: stage_current 9980 @endif gcc-bootstrap 9981 @if gcc 9982 maybe-configure-gcc: configure-gcc 9983 configure-gcc: 9984 @r=`${PWD_COMMAND}`; export r; \ 9985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 9986 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ 9987 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ 9988 $(HOST_EXPORTS) \ 9989 echo Configuring in $(HOST_SUBDIR)/gcc; \ 9990 cd "$(HOST_SUBDIR)/gcc" || exit 1; \ 9991 case $(srcdir) in \ 9992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 9993 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ 9994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 9995 esac; \ 9996 srcdiroption="--srcdir=$${topdir}/gcc"; \ 9997 libsrcdir="$$s/gcc"; \ 9998 $(SHELL) $${libsrcdir}/configure \ 9999 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 10000 --target=${target_alias} $${srcdiroption} \ 10001 || exit 1 10002 @endif gcc 10003 10004 10005 10006 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc 10007 maybe-configure-stage1-gcc: 10008 @if gcc-bootstrap 10009 maybe-configure-stage1-gcc: configure-stage1-gcc 10010 configure-stage1-gcc: 10011 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 10012 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc 10013 @r=`${PWD_COMMAND}`; export r; \ 10014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10015 TFLAGS="$(STAGE1_TFLAGS)"; \ 10016 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ 10017 $(HOST_EXPORTS) \ 10018 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 10019 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 10020 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 10021 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \ 10022 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ 10023 cd $(HOST_SUBDIR)/gcc || exit 1; \ 10024 case $(srcdir) in \ 10025 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 10026 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ 10027 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 10028 esac; \ 10029 srcdiroption="--srcdir=$${topdir}/gcc"; \ 10030 libsrcdir="$$s/gcc"; \ 10031 $(SHELL) $${libsrcdir}/configure \ 10032 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 10033 --target=${target_alias} $${srcdiroption} \ 10034 $(STAGE1_CONFIGURE_FLAGS) 10035 @endif gcc-bootstrap 10036 10037 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc 10038 maybe-configure-stage2-gcc: 10039 @if gcc-bootstrap 10040 maybe-configure-stage2-gcc: configure-stage2-gcc 10041 configure-stage2-gcc: 10042 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 10043 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc 10044 @r=`${PWD_COMMAND}`; export r; \ 10045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10046 TFLAGS="$(STAGE2_TFLAGS)"; \ 10047 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ 10048 $(HOST_EXPORTS) \ 10049 $(POSTSTAGE1_HOST_EXPORTS) \ 10050 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 10051 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 10052 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 10053 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \ 10054 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ 10055 cd $(HOST_SUBDIR)/gcc || exit 1; \ 10056 case $(srcdir) in \ 10057 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 10058 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ 10059 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 10060 esac; \ 10061 srcdiroption="--srcdir=$${topdir}/gcc"; \ 10062 libsrcdir="$$s/gcc"; \ 10063 $(SHELL) $${libsrcdir}/configure \ 10064 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 10065 --target=${target_alias} $${srcdiroption} \ 10066 --with-build-libsubdir=$(HOST_SUBDIR) \ 10067 $(STAGE2_CONFIGURE_FLAGS) 10068 @endif gcc-bootstrap 10069 10070 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc 10071 maybe-configure-stage3-gcc: 10072 @if gcc-bootstrap 10073 maybe-configure-stage3-gcc: configure-stage3-gcc 10074 configure-stage3-gcc: 10075 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 10076 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc 10077 @r=`${PWD_COMMAND}`; export r; \ 10078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10079 TFLAGS="$(STAGE3_TFLAGS)"; \ 10080 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ 10081 $(HOST_EXPORTS) \ 10082 $(POSTSTAGE1_HOST_EXPORTS) \ 10083 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 10084 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 10085 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 10086 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \ 10087 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ 10088 cd $(HOST_SUBDIR)/gcc || exit 1; \ 10089 case $(srcdir) in \ 10090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 10091 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ 10092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 10093 esac; \ 10094 srcdiroption="--srcdir=$${topdir}/gcc"; \ 10095 libsrcdir="$$s/gcc"; \ 10096 $(SHELL) $${libsrcdir}/configure \ 10097 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 10098 --target=${target_alias} $${srcdiroption} \ 10099 --with-build-libsubdir=$(HOST_SUBDIR) \ 10100 $(STAGE3_CONFIGURE_FLAGS) 10101 @endif gcc-bootstrap 10102 10103 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc 10104 maybe-configure-stage4-gcc: 10105 @if gcc-bootstrap 10106 maybe-configure-stage4-gcc: configure-stage4-gcc 10107 configure-stage4-gcc: 10108 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 10109 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc 10110 @r=`${PWD_COMMAND}`; export r; \ 10111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10112 TFLAGS="$(STAGE4_TFLAGS)"; \ 10113 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ 10114 $(HOST_EXPORTS) \ 10115 $(POSTSTAGE1_HOST_EXPORTS) \ 10116 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 10117 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 10118 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 10119 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \ 10120 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ 10121 cd $(HOST_SUBDIR)/gcc || exit 1; \ 10122 case $(srcdir) in \ 10123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 10124 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ 10125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 10126 esac; \ 10127 srcdiroption="--srcdir=$${topdir}/gcc"; \ 10128 libsrcdir="$$s/gcc"; \ 10129 $(SHELL) $${libsrcdir}/configure \ 10130 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 10131 --target=${target_alias} $${srcdiroption} \ 10132 --with-build-libsubdir=$(HOST_SUBDIR) \ 10133 $(STAGE4_CONFIGURE_FLAGS) 10134 @endif gcc-bootstrap 10135 10136 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc 10137 maybe-configure-stageprofile-gcc: 10138 @if gcc-bootstrap 10139 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc 10140 configure-stageprofile-gcc: 10141 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 10142 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc 10143 @r=`${PWD_COMMAND}`; export r; \ 10144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10145 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 10146 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ 10147 $(HOST_EXPORTS) \ 10148 $(POSTSTAGE1_HOST_EXPORTS) \ 10149 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 10150 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 10151 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 10152 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \ 10153 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ 10154 cd $(HOST_SUBDIR)/gcc || exit 1; \ 10155 case $(srcdir) in \ 10156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 10157 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ 10158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 10159 esac; \ 10160 srcdiroption="--srcdir=$${topdir}/gcc"; \ 10161 libsrcdir="$$s/gcc"; \ 10162 $(SHELL) $${libsrcdir}/configure \ 10163 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 10164 --target=${target_alias} $${srcdiroption} \ 10165 --with-build-libsubdir=$(HOST_SUBDIR) \ 10166 $(STAGEprofile_CONFIGURE_FLAGS) 10167 @endif gcc-bootstrap 10168 10169 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc 10170 maybe-configure-stagefeedback-gcc: 10171 @if gcc-bootstrap 10172 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc 10173 configure-stagefeedback-gcc: 10174 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 10175 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc 10176 @r=`${PWD_COMMAND}`; export r; \ 10177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10178 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 10179 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \ 10180 $(HOST_EXPORTS) \ 10181 $(POSTSTAGE1_HOST_EXPORTS) \ 10182 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 10183 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 10184 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 10185 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \ 10186 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \ 10187 cd $(HOST_SUBDIR)/gcc || exit 1; \ 10188 case $(srcdir) in \ 10189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 10190 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \ 10191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 10192 esac; \ 10193 srcdiroption="--srcdir=$${topdir}/gcc"; \ 10194 libsrcdir="$$s/gcc"; \ 10195 $(SHELL) $${libsrcdir}/configure \ 10196 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 10197 --target=${target_alias} $${srcdiroption} \ 10198 --with-build-libsubdir=$(HOST_SUBDIR) \ 10199 $(STAGEfeedback_CONFIGURE_FLAGS) 10200 @endif gcc-bootstrap 10201 10202 10203 10204 10205 10206 .PHONY: all-gcc maybe-all-gcc 10207 maybe-all-gcc: 10208 @if gcc-bootstrap 10209 all-gcc: stage_current 10210 @endif gcc-bootstrap 10211 @if gcc 10212 TARGET-gcc=all 10213 maybe-all-gcc: all-gcc 10214 all-gcc: configure-gcc 10215 @r=`${PWD_COMMAND}`; export r; \ 10216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10217 $(HOST_EXPORTS) \ 10218 (cd $(HOST_SUBDIR)/gcc && \ 10219 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ 10220 $(TARGET-gcc)) 10221 @endif gcc 10222 10223 10224 10225 .PHONY: all-stage1-gcc maybe-all-stage1-gcc 10226 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc 10227 maybe-all-stage1-gcc: 10228 maybe-clean-stage1-gcc: 10229 @if gcc-bootstrap 10230 maybe-all-stage1-gcc: all-stage1-gcc 10231 all-stage1: all-stage1-gcc 10232 TARGET-stage1-gcc = $(TARGET-gcc) 10233 all-stage1-gcc: configure-stage1-gcc 10234 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 10235 @r=`${PWD_COMMAND}`; export r; \ 10236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10237 TFLAGS="$(STAGE1_TFLAGS)"; \ 10238 $(HOST_EXPORTS) \ 10239 cd $(HOST_SUBDIR)/gcc && \ 10240 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 10241 CFLAGS="$(STAGE1_CFLAGS)" \ 10242 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 10243 LIBCFLAGS="$(LIBCFLAGS)" \ 10244 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 10245 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 10246 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 10247 $(EXTRA_HOST_FLAGS) \ 10248 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ 10249 TFLAGS="$(STAGE1_TFLAGS)" \ 10250 $(TARGET-stage1-gcc) 10251 10252 maybe-clean-stage1-gcc: clean-stage1-gcc 10253 clean-stage1: clean-stage1-gcc 10254 clean-stage1-gcc: 10255 @if [ $(current_stage) = stage1 ]; then \ 10256 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ 10257 else \ 10258 [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \ 10259 $(MAKE) stage1-start; \ 10260 fi; \ 10261 cd $(HOST_SUBDIR)/gcc && \ 10262 $(MAKE) $(EXTRA_HOST_FLAGS) \ 10263 $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean 10264 @endif gcc-bootstrap 10265 10266 10267 .PHONY: all-stage2-gcc maybe-all-stage2-gcc 10268 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc 10269 maybe-all-stage2-gcc: 10270 maybe-clean-stage2-gcc: 10271 @if gcc-bootstrap 10272 maybe-all-stage2-gcc: all-stage2-gcc 10273 all-stage2: all-stage2-gcc 10274 TARGET-stage2-gcc = $(TARGET-gcc) 10275 all-stage2-gcc: configure-stage2-gcc 10276 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 10277 @r=`${PWD_COMMAND}`; export r; \ 10278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10279 TFLAGS="$(STAGE2_TFLAGS)"; \ 10280 $(HOST_EXPORTS) \ 10281 $(POSTSTAGE1_HOST_EXPORTS) \ 10282 cd $(HOST_SUBDIR)/gcc && \ 10283 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 10284 CFLAGS="$(STAGE2_CFLAGS)" \ 10285 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 10286 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 10287 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 10288 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 10289 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 10290 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ 10291 TFLAGS="$(STAGE2_TFLAGS)" \ 10292 $(TARGET-stage2-gcc) 10293 10294 maybe-clean-stage2-gcc: clean-stage2-gcc 10295 clean-stage2: clean-stage2-gcc 10296 clean-stage2-gcc: 10297 @if [ $(current_stage) = stage2 ]; then \ 10298 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ 10299 else \ 10300 [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \ 10301 $(MAKE) stage2-start; \ 10302 fi; \ 10303 cd $(HOST_SUBDIR)/gcc && \ 10304 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean 10305 @endif gcc-bootstrap 10306 10307 10308 .PHONY: all-stage3-gcc maybe-all-stage3-gcc 10309 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc 10310 maybe-all-stage3-gcc: 10311 maybe-clean-stage3-gcc: 10312 @if gcc-bootstrap 10313 maybe-all-stage3-gcc: all-stage3-gcc 10314 all-stage3: all-stage3-gcc 10315 TARGET-stage3-gcc = $(TARGET-gcc) 10316 all-stage3-gcc: configure-stage3-gcc 10317 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 10318 @r=`${PWD_COMMAND}`; export r; \ 10319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10320 TFLAGS="$(STAGE3_TFLAGS)"; \ 10321 $(HOST_EXPORTS) \ 10322 $(POSTSTAGE1_HOST_EXPORTS) \ 10323 cd $(HOST_SUBDIR)/gcc && \ 10324 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 10325 CFLAGS="$(STAGE3_CFLAGS)" \ 10326 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 10327 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 10328 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 10329 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 10330 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 10331 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ 10332 TFLAGS="$(STAGE3_TFLAGS)" \ 10333 $(TARGET-stage3-gcc) 10334 10335 maybe-clean-stage3-gcc: clean-stage3-gcc 10336 clean-stage3: clean-stage3-gcc 10337 clean-stage3-gcc: 10338 @if [ $(current_stage) = stage3 ]; then \ 10339 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ 10340 else \ 10341 [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \ 10342 $(MAKE) stage3-start; \ 10343 fi; \ 10344 cd $(HOST_SUBDIR)/gcc && \ 10345 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean 10346 @endif gcc-bootstrap 10347 10348 10349 .PHONY: all-stage4-gcc maybe-all-stage4-gcc 10350 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc 10351 maybe-all-stage4-gcc: 10352 maybe-clean-stage4-gcc: 10353 @if gcc-bootstrap 10354 maybe-all-stage4-gcc: all-stage4-gcc 10355 all-stage4: all-stage4-gcc 10356 TARGET-stage4-gcc = $(TARGET-gcc) 10357 all-stage4-gcc: configure-stage4-gcc 10358 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 10359 @r=`${PWD_COMMAND}`; export r; \ 10360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10361 TFLAGS="$(STAGE4_TFLAGS)"; \ 10362 $(HOST_EXPORTS) \ 10363 $(POSTSTAGE1_HOST_EXPORTS) \ 10364 cd $(HOST_SUBDIR)/gcc && \ 10365 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 10366 CFLAGS="$(STAGE4_CFLAGS)" \ 10367 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 10368 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 10369 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 10370 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 10371 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 10372 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ 10373 TFLAGS="$(STAGE4_TFLAGS)" \ 10374 $(TARGET-stage4-gcc) 10375 10376 maybe-clean-stage4-gcc: clean-stage4-gcc 10377 clean-stage4: clean-stage4-gcc 10378 clean-stage4-gcc: 10379 @if [ $(current_stage) = stage4 ]; then \ 10380 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ 10381 else \ 10382 [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \ 10383 $(MAKE) stage4-start; \ 10384 fi; \ 10385 cd $(HOST_SUBDIR)/gcc && \ 10386 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean 10387 @endif gcc-bootstrap 10388 10389 10390 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc 10391 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc 10392 maybe-all-stageprofile-gcc: 10393 maybe-clean-stageprofile-gcc: 10394 @if gcc-bootstrap 10395 maybe-all-stageprofile-gcc: all-stageprofile-gcc 10396 all-stageprofile: all-stageprofile-gcc 10397 TARGET-stageprofile-gcc = $(TARGET-gcc) 10398 all-stageprofile-gcc: configure-stageprofile-gcc 10399 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 10400 @r=`${PWD_COMMAND}`; export r; \ 10401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10402 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 10403 $(HOST_EXPORTS) \ 10404 $(POSTSTAGE1_HOST_EXPORTS) \ 10405 cd $(HOST_SUBDIR)/gcc && \ 10406 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 10407 CFLAGS="$(STAGEprofile_CFLAGS)" \ 10408 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 10409 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 10410 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 10411 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 10412 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 10413 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ 10414 TFLAGS="$(STAGEprofile_TFLAGS)" \ 10415 $(TARGET-stageprofile-gcc) 10416 10417 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc 10418 clean-stageprofile: clean-stageprofile-gcc 10419 clean-stageprofile-gcc: 10420 @if [ $(current_stage) = stageprofile ]; then \ 10421 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ 10422 else \ 10423 [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \ 10424 $(MAKE) stageprofile-start; \ 10425 fi; \ 10426 cd $(HOST_SUBDIR)/gcc && \ 10427 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean 10428 @endif gcc-bootstrap 10429 10430 10431 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc 10432 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc 10433 maybe-all-stagefeedback-gcc: 10434 maybe-clean-stagefeedback-gcc: 10435 @if gcc-bootstrap 10436 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc 10437 all-stagefeedback: all-stagefeedback-gcc 10438 TARGET-stagefeedback-gcc = $(TARGET-gcc) 10439 all-stagefeedback-gcc: configure-stagefeedback-gcc 10440 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 10441 @r=`${PWD_COMMAND}`; export r; \ 10442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10443 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 10444 $(HOST_EXPORTS) \ 10445 $(POSTSTAGE1_HOST_EXPORTS) \ 10446 cd $(HOST_SUBDIR)/gcc && \ 10447 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 10448 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 10449 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 10450 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 10451 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 10452 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 10453 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 10454 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \ 10455 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 10456 $(TARGET-stagefeedback-gcc) 10457 10458 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc 10459 clean-stagefeedback: clean-stagefeedback-gcc 10460 clean-stagefeedback-gcc: 10461 @if [ $(current_stage) = stagefeedback ]; then \ 10462 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \ 10463 else \ 10464 [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \ 10465 $(MAKE) stagefeedback-start; \ 10466 fi; \ 10467 cd $(HOST_SUBDIR)/gcc && \ 10468 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean 10469 @endif gcc-bootstrap 10470 10471 10472 10473 10474 10475 .PHONY: check-gcc maybe-check-gcc 10476 maybe-check-gcc: 10477 @if gcc 10478 maybe-check-gcc: check-gcc 10479 10480 check-gcc: 10481 @: $(MAKE); $(unstage) 10482 @r=`${PWD_COMMAND}`; export r; \ 10483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10484 $(HOST_EXPORTS) \ 10485 (cd $(HOST_SUBDIR)/gcc && \ 10486 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check) 10487 10488 @endif gcc 10489 10490 .PHONY: install-gcc maybe-install-gcc 10491 maybe-install-gcc: 10492 @if gcc 10493 maybe-install-gcc: install-gcc 10494 10495 install-gcc: installdirs 10496 @: $(MAKE); $(unstage) 10497 @r=`${PWD_COMMAND}`; export r; \ 10498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10499 $(HOST_EXPORTS) \ 10500 (cd $(HOST_SUBDIR)/gcc && \ 10501 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install) 10502 10503 @endif gcc 10504 10505 .PHONY: install-strip-gcc maybe-install-strip-gcc 10506 maybe-install-strip-gcc: 10507 @if gcc 10508 maybe-install-strip-gcc: install-strip-gcc 10509 10510 install-strip-gcc: installdirs 10511 @: $(MAKE); $(unstage) 10512 @r=`${PWD_COMMAND}`; export r; \ 10513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10514 $(HOST_EXPORTS) \ 10515 (cd $(HOST_SUBDIR)/gcc && \ 10516 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip) 10517 10518 @endif gcc 10519 10520 # Other targets (info, dvi, pdf, etc.) 10521 10522 .PHONY: maybe-info-gcc info-gcc 10523 maybe-info-gcc: 10524 @if gcc 10525 maybe-info-gcc: info-gcc 10526 10527 info-gcc: \ 10528 configure-gcc 10529 @[ -f ./gcc/Makefile ] || exit 0; \ 10530 r=`${PWD_COMMAND}`; export r; \ 10531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10532 $(HOST_EXPORTS) \ 10533 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ 10534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 10535 done; \ 10536 echo "Doing info in gcc" ; \ 10537 (cd $(HOST_SUBDIR)/gcc && \ 10538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 10539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 10540 "RANLIB=$${RANLIB}" \ 10541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 10542 info) \ 10543 || exit 1 10544 10545 @endif gcc 10546 10547 .PHONY: maybe-dvi-gcc dvi-gcc 10548 maybe-dvi-gcc: 10549 @if gcc 10550 maybe-dvi-gcc: dvi-gcc 10551 10552 dvi-gcc: \ 10553 configure-gcc 10554 @[ -f ./gcc/Makefile ] || exit 0; \ 10555 r=`${PWD_COMMAND}`; export r; \ 10556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10557 $(HOST_EXPORTS) \ 10558 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ 10559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 10560 done; \ 10561 echo "Doing dvi in gcc" ; \ 10562 (cd $(HOST_SUBDIR)/gcc && \ 10563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 10564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 10565 "RANLIB=$${RANLIB}" \ 10566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 10567 dvi) \ 10568 || exit 1 10569 10570 @endif gcc 10571 10572 .PHONY: maybe-pdf-gcc pdf-gcc 10573 maybe-pdf-gcc: 10574 @if gcc 10575 maybe-pdf-gcc: pdf-gcc 10576 10577 pdf-gcc: \ 10578 configure-gcc 10579 @[ -f ./gcc/Makefile ] || exit 0; \ 10580 r=`${PWD_COMMAND}`; export r; \ 10581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10582 $(HOST_EXPORTS) \ 10583 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ 10584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 10585 done; \ 10586 echo "Doing pdf in gcc" ; \ 10587 (cd $(HOST_SUBDIR)/gcc && \ 10588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 10589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 10590 "RANLIB=$${RANLIB}" \ 10591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 10592 pdf) \ 10593 || exit 1 10594 10595 @endif gcc 10596 10597 .PHONY: maybe-html-gcc html-gcc 10598 maybe-html-gcc: 10599 @if gcc 10600 maybe-html-gcc: html-gcc 10601 10602 html-gcc: \ 10603 configure-gcc 10604 @[ -f ./gcc/Makefile ] || exit 0; \ 10605 r=`${PWD_COMMAND}`; export r; \ 10606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10607 $(HOST_EXPORTS) \ 10608 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ 10609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 10610 done; \ 10611 echo "Doing html in gcc" ; \ 10612 (cd $(HOST_SUBDIR)/gcc && \ 10613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 10614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 10615 "RANLIB=$${RANLIB}" \ 10616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 10617 html) \ 10618 || exit 1 10619 10620 @endif gcc 10621 10622 .PHONY: maybe-TAGS-gcc TAGS-gcc 10623 maybe-TAGS-gcc: 10624 @if gcc 10625 maybe-TAGS-gcc: TAGS-gcc 10626 10627 TAGS-gcc: \ 10628 configure-gcc 10629 @[ -f ./gcc/Makefile ] || exit 0; \ 10630 r=`${PWD_COMMAND}`; export r; \ 10631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10632 $(HOST_EXPORTS) \ 10633 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ 10634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 10635 done; \ 10636 echo "Doing TAGS in gcc" ; \ 10637 (cd $(HOST_SUBDIR)/gcc && \ 10638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 10639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 10640 "RANLIB=$${RANLIB}" \ 10641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 10642 TAGS) \ 10643 || exit 1 10644 10645 @endif gcc 10646 10647 .PHONY: maybe-install-info-gcc install-info-gcc 10648 maybe-install-info-gcc: 10649 @if gcc 10650 maybe-install-info-gcc: install-info-gcc 10651 10652 install-info-gcc: \ 10653 configure-gcc \ 10654 info-gcc 10655 @[ -f ./gcc/Makefile ] || exit 0; \ 10656 r=`${PWD_COMMAND}`; export r; \ 10657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10658 $(HOST_EXPORTS) \ 10659 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ 10660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 10661 done; \ 10662 echo "Doing install-info in gcc" ; \ 10663 (cd $(HOST_SUBDIR)/gcc && \ 10664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 10665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 10666 "RANLIB=$${RANLIB}" \ 10667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 10668 install-info) \ 10669 || exit 1 10670 10671 @endif gcc 10672 10673 .PHONY: maybe-install-pdf-gcc install-pdf-gcc 10674 maybe-install-pdf-gcc: 10675 @if gcc 10676 maybe-install-pdf-gcc: install-pdf-gcc 10677 10678 install-pdf-gcc: \ 10679 configure-gcc \ 10680 pdf-gcc 10681 @[ -f ./gcc/Makefile ] || exit 0; \ 10682 r=`${PWD_COMMAND}`; export r; \ 10683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10684 $(HOST_EXPORTS) \ 10685 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ 10686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 10687 done; \ 10688 echo "Doing install-pdf in gcc" ; \ 10689 (cd $(HOST_SUBDIR)/gcc && \ 10690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 10691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 10692 "RANLIB=$${RANLIB}" \ 10693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 10694 install-pdf) \ 10695 || exit 1 10696 10697 @endif gcc 10698 10699 .PHONY: maybe-install-html-gcc install-html-gcc 10700 maybe-install-html-gcc: 10701 @if gcc 10702 maybe-install-html-gcc: install-html-gcc 10703 10704 install-html-gcc: \ 10705 configure-gcc \ 10706 html-gcc 10707 @[ -f ./gcc/Makefile ] || exit 0; \ 10708 r=`${PWD_COMMAND}`; export r; \ 10709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10710 $(HOST_EXPORTS) \ 10711 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ 10712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 10713 done; \ 10714 echo "Doing install-html in gcc" ; \ 10715 (cd $(HOST_SUBDIR)/gcc && \ 10716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 10717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 10718 "RANLIB=$${RANLIB}" \ 10719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 10720 install-html) \ 10721 || exit 1 10722 10723 @endif gcc 10724 10725 .PHONY: maybe-installcheck-gcc installcheck-gcc 10726 maybe-installcheck-gcc: 10727 @if gcc 10728 maybe-installcheck-gcc: installcheck-gcc 10729 10730 installcheck-gcc: \ 10731 configure-gcc 10732 @[ -f ./gcc/Makefile ] || exit 0; \ 10733 r=`${PWD_COMMAND}`; export r; \ 10734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10735 $(HOST_EXPORTS) \ 10736 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ 10737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 10738 done; \ 10739 echo "Doing installcheck in gcc" ; \ 10740 (cd $(HOST_SUBDIR)/gcc && \ 10741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 10742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 10743 "RANLIB=$${RANLIB}" \ 10744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 10745 installcheck) \ 10746 || exit 1 10747 10748 @endif gcc 10749 10750 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc 10751 maybe-mostlyclean-gcc: 10752 @if gcc 10753 maybe-mostlyclean-gcc: mostlyclean-gcc 10754 10755 mostlyclean-gcc: 10756 @[ -f ./gcc/Makefile ] || exit 0; \ 10757 r=`${PWD_COMMAND}`; export r; \ 10758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10759 $(HOST_EXPORTS) \ 10760 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ 10761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 10762 done; \ 10763 echo "Doing mostlyclean in gcc" ; \ 10764 (cd $(HOST_SUBDIR)/gcc && \ 10765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 10766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 10767 "RANLIB=$${RANLIB}" \ 10768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 10769 mostlyclean) \ 10770 || exit 1 10771 10772 @endif gcc 10773 10774 .PHONY: maybe-clean-gcc clean-gcc 10775 maybe-clean-gcc: 10776 @if gcc 10777 maybe-clean-gcc: clean-gcc 10778 10779 clean-gcc: 10780 @[ -f ./gcc/Makefile ] || exit 0; \ 10781 r=`${PWD_COMMAND}`; export r; \ 10782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10783 $(HOST_EXPORTS) \ 10784 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ 10785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 10786 done; \ 10787 echo "Doing clean in gcc" ; \ 10788 (cd $(HOST_SUBDIR)/gcc && \ 10789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 10790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 10791 "RANLIB=$${RANLIB}" \ 10792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 10793 clean) \ 10794 || exit 1 10795 10796 @endif gcc 10797 10798 .PHONY: maybe-distclean-gcc distclean-gcc 10799 maybe-distclean-gcc: 10800 @if gcc 10801 maybe-distclean-gcc: distclean-gcc 10802 10803 distclean-gcc: 10804 @[ -f ./gcc/Makefile ] || exit 0; \ 10805 r=`${PWD_COMMAND}`; export r; \ 10806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10807 $(HOST_EXPORTS) \ 10808 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ 10809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 10810 done; \ 10811 echo "Doing distclean in gcc" ; \ 10812 (cd $(HOST_SUBDIR)/gcc && \ 10813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 10814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 10815 "RANLIB=$${RANLIB}" \ 10816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 10817 distclean) \ 10818 || exit 1 10819 10820 @endif gcc 10821 10822 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc 10823 maybe-maintainer-clean-gcc: 10824 @if gcc 10825 maybe-maintainer-clean-gcc: maintainer-clean-gcc 10826 10827 maintainer-clean-gcc: 10828 @[ -f ./gcc/Makefile ] || exit 0; \ 10829 r=`${PWD_COMMAND}`; export r; \ 10830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10831 $(HOST_EXPORTS) \ 10832 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \ 10833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 10834 done; \ 10835 echo "Doing maintainer-clean in gcc" ; \ 10836 (cd $(HOST_SUBDIR)/gcc && \ 10837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 10838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 10839 "RANLIB=$${RANLIB}" \ 10840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 10841 maintainer-clean) \ 10842 || exit 1 10843 10844 @endif gcc 10845 10846 10847 10848 .PHONY: configure-gmp maybe-configure-gmp 10849 maybe-configure-gmp: 10850 @if gcc-bootstrap 10851 configure-gmp: stage_current 10852 @endif gcc-bootstrap 10853 @if gmp 10854 maybe-configure-gmp: configure-gmp 10855 configure-gmp: 10856 @r=`${PWD_COMMAND}`; export r; \ 10857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10858 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ 10859 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ 10860 $(HOST_EXPORTS) \ 10861 echo Configuring in $(HOST_SUBDIR)/gmp; \ 10862 cd "$(HOST_SUBDIR)/gmp" || exit 1; \ 10863 case $(srcdir) in \ 10864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 10865 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ 10866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 10867 esac; \ 10868 srcdiroption="--srcdir=$${topdir}/gmp"; \ 10869 libsrcdir="$$s/gmp"; \ 10870 $(SHELL) $${libsrcdir}/configure \ 10871 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ 10872 --target=none-${host_vendor}-${host_os} $${srcdiroption} --disable-shared \ 10873 || exit 1 10874 @endif gmp 10875 10876 10877 10878 .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp 10879 maybe-configure-stage1-gmp: 10880 @if gmp-bootstrap 10881 maybe-configure-stage1-gmp: configure-stage1-gmp 10882 configure-stage1-gmp: 10883 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 10884 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp 10885 @r=`${PWD_COMMAND}`; export r; \ 10886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10887 TFLAGS="$(STAGE1_TFLAGS)"; \ 10888 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ 10889 $(HOST_EXPORTS) \ 10890 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 10891 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 10892 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 10893 echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \ 10894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ 10895 cd $(HOST_SUBDIR)/gmp || exit 1; \ 10896 case $(srcdir) in \ 10897 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 10898 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ 10899 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 10900 esac; \ 10901 srcdiroption="--srcdir=$${topdir}/gmp"; \ 10902 libsrcdir="$$s/gmp"; \ 10903 $(SHELL) $${libsrcdir}/configure \ 10904 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ 10905 --target=none-${host_vendor}-${host_os} $${srcdiroption} \ 10906 $(STAGE1_CONFIGURE_FLAGS) \ 10907 --disable-shared 10908 @endif gmp-bootstrap 10909 10910 .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp 10911 maybe-configure-stage2-gmp: 10912 @if gmp-bootstrap 10913 maybe-configure-stage2-gmp: configure-stage2-gmp 10914 configure-stage2-gmp: 10915 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 10916 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp 10917 @r=`${PWD_COMMAND}`; export r; \ 10918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10919 TFLAGS="$(STAGE2_TFLAGS)"; \ 10920 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ 10921 $(HOST_EXPORTS) \ 10922 $(POSTSTAGE1_HOST_EXPORTS) \ 10923 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 10924 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 10925 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 10926 echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \ 10927 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ 10928 cd $(HOST_SUBDIR)/gmp || exit 1; \ 10929 case $(srcdir) in \ 10930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 10931 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ 10932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 10933 esac; \ 10934 srcdiroption="--srcdir=$${topdir}/gmp"; \ 10935 libsrcdir="$$s/gmp"; \ 10936 $(SHELL) $${libsrcdir}/configure \ 10937 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ 10938 --target=none-${host_vendor}-${host_os} $${srcdiroption} \ 10939 --with-build-libsubdir=$(HOST_SUBDIR) \ 10940 $(STAGE2_CONFIGURE_FLAGS) \ 10941 --disable-shared 10942 @endif gmp-bootstrap 10943 10944 .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp 10945 maybe-configure-stage3-gmp: 10946 @if gmp-bootstrap 10947 maybe-configure-stage3-gmp: configure-stage3-gmp 10948 configure-stage3-gmp: 10949 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 10950 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp 10951 @r=`${PWD_COMMAND}`; export r; \ 10952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10953 TFLAGS="$(STAGE3_TFLAGS)"; \ 10954 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ 10955 $(HOST_EXPORTS) \ 10956 $(POSTSTAGE1_HOST_EXPORTS) \ 10957 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 10958 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 10959 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 10960 echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \ 10961 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ 10962 cd $(HOST_SUBDIR)/gmp || exit 1; \ 10963 case $(srcdir) in \ 10964 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 10965 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ 10966 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 10967 esac; \ 10968 srcdiroption="--srcdir=$${topdir}/gmp"; \ 10969 libsrcdir="$$s/gmp"; \ 10970 $(SHELL) $${libsrcdir}/configure \ 10971 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ 10972 --target=none-${host_vendor}-${host_os} $${srcdiroption} \ 10973 --with-build-libsubdir=$(HOST_SUBDIR) \ 10974 $(STAGE3_CONFIGURE_FLAGS) \ 10975 --disable-shared 10976 @endif gmp-bootstrap 10977 10978 .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp 10979 maybe-configure-stage4-gmp: 10980 @if gmp-bootstrap 10981 maybe-configure-stage4-gmp: configure-stage4-gmp 10982 configure-stage4-gmp: 10983 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 10984 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp 10985 @r=`${PWD_COMMAND}`; export r; \ 10986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 10987 TFLAGS="$(STAGE4_TFLAGS)"; \ 10988 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ 10989 $(HOST_EXPORTS) \ 10990 $(POSTSTAGE1_HOST_EXPORTS) \ 10991 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 10992 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 10993 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 10994 echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \ 10995 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ 10996 cd $(HOST_SUBDIR)/gmp || exit 1; \ 10997 case $(srcdir) in \ 10998 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 10999 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ 11000 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 11001 esac; \ 11002 srcdiroption="--srcdir=$${topdir}/gmp"; \ 11003 libsrcdir="$$s/gmp"; \ 11004 $(SHELL) $${libsrcdir}/configure \ 11005 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ 11006 --target=none-${host_vendor}-${host_os} $${srcdiroption} \ 11007 --with-build-libsubdir=$(HOST_SUBDIR) \ 11008 $(STAGE4_CONFIGURE_FLAGS) \ 11009 --disable-shared 11010 @endif gmp-bootstrap 11011 11012 .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp 11013 maybe-configure-stageprofile-gmp: 11014 @if gmp-bootstrap 11015 maybe-configure-stageprofile-gmp: configure-stageprofile-gmp 11016 configure-stageprofile-gmp: 11017 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 11018 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp 11019 @r=`${PWD_COMMAND}`; export r; \ 11020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11021 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 11022 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ 11023 $(HOST_EXPORTS) \ 11024 $(POSTSTAGE1_HOST_EXPORTS) \ 11025 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 11026 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 11027 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 11028 echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \ 11029 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ 11030 cd $(HOST_SUBDIR)/gmp || exit 1; \ 11031 case $(srcdir) in \ 11032 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 11033 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ 11034 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 11035 esac; \ 11036 srcdiroption="--srcdir=$${topdir}/gmp"; \ 11037 libsrcdir="$$s/gmp"; \ 11038 $(SHELL) $${libsrcdir}/configure \ 11039 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ 11040 --target=none-${host_vendor}-${host_os} $${srcdiroption} \ 11041 --with-build-libsubdir=$(HOST_SUBDIR) \ 11042 $(STAGEprofile_CONFIGURE_FLAGS) \ 11043 --disable-shared 11044 @endif gmp-bootstrap 11045 11046 .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp 11047 maybe-configure-stagefeedback-gmp: 11048 @if gmp-bootstrap 11049 maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp 11050 configure-stagefeedback-gmp: 11051 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 11052 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp 11053 @r=`${PWD_COMMAND}`; export r; \ 11054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11055 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 11056 test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \ 11057 $(HOST_EXPORTS) \ 11058 $(POSTSTAGE1_HOST_EXPORTS) \ 11059 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 11060 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 11061 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 11062 echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \ 11063 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \ 11064 cd $(HOST_SUBDIR)/gmp || exit 1; \ 11065 case $(srcdir) in \ 11066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 11067 *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \ 11068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 11069 esac; \ 11070 srcdiroption="--srcdir=$${topdir}/gmp"; \ 11071 libsrcdir="$$s/gmp"; \ 11072 $(SHELL) $${libsrcdir}/configure \ 11073 $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \ 11074 --target=none-${host_vendor}-${host_os} $${srcdiroption} \ 11075 --with-build-libsubdir=$(HOST_SUBDIR) \ 11076 $(STAGEfeedback_CONFIGURE_FLAGS) \ 11077 --disable-shared 11078 @endif gmp-bootstrap 11079 11080 11081 11082 11083 11084 .PHONY: all-gmp maybe-all-gmp 11085 maybe-all-gmp: 11086 @if gcc-bootstrap 11087 all-gmp: stage_current 11088 @endif gcc-bootstrap 11089 @if gmp 11090 TARGET-gmp=all 11091 maybe-all-gmp: all-gmp 11092 all-gmp: configure-gmp 11093 @r=`${PWD_COMMAND}`; export r; \ 11094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11095 $(HOST_EXPORTS) \ 11096 (cd $(HOST_SUBDIR)/gmp && \ 11097 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 11098 $(TARGET-gmp)) 11099 @endif gmp 11100 11101 11102 11103 .PHONY: all-stage1-gmp maybe-all-stage1-gmp 11104 .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp 11105 maybe-all-stage1-gmp: 11106 maybe-clean-stage1-gmp: 11107 @if gmp-bootstrap 11108 maybe-all-stage1-gmp: all-stage1-gmp 11109 all-stage1: all-stage1-gmp 11110 TARGET-stage1-gmp = $(TARGET-gmp) 11111 all-stage1-gmp: configure-stage1-gmp 11112 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 11113 @r=`${PWD_COMMAND}`; export r; \ 11114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11115 TFLAGS="$(STAGE1_TFLAGS)"; \ 11116 $(HOST_EXPORTS) \ 11117 cd $(HOST_SUBDIR)/gmp && \ 11118 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 11119 CFLAGS="$(STAGE1_CFLAGS)" \ 11120 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 11121 LIBCFLAGS="$(LIBCFLAGS)" \ 11122 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 11123 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 11124 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 11125 $(EXTRA_HOST_FLAGS) \ 11126 $(STAGE1_FLAGS_TO_PASS) \ 11127 TFLAGS="$(STAGE1_TFLAGS)" \ 11128 $(TARGET-stage1-gmp) 11129 11130 maybe-clean-stage1-gmp: clean-stage1-gmp 11131 clean-stage1: clean-stage1-gmp 11132 clean-stage1-gmp: 11133 @if [ $(current_stage) = stage1 ]; then \ 11134 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ 11135 else \ 11136 [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \ 11137 $(MAKE) stage1-start; \ 11138 fi; \ 11139 cd $(HOST_SUBDIR)/gmp && \ 11140 $(MAKE) $(EXTRA_HOST_FLAGS) \ 11141 $(STAGE1_FLAGS_TO_PASS) clean 11142 @endif gmp-bootstrap 11143 11144 11145 .PHONY: all-stage2-gmp maybe-all-stage2-gmp 11146 .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp 11147 maybe-all-stage2-gmp: 11148 maybe-clean-stage2-gmp: 11149 @if gmp-bootstrap 11150 maybe-all-stage2-gmp: all-stage2-gmp 11151 all-stage2: all-stage2-gmp 11152 TARGET-stage2-gmp = $(TARGET-gmp) 11153 all-stage2-gmp: configure-stage2-gmp 11154 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 11155 @r=`${PWD_COMMAND}`; export r; \ 11156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11157 TFLAGS="$(STAGE2_TFLAGS)"; \ 11158 $(HOST_EXPORTS) \ 11159 $(POSTSTAGE1_HOST_EXPORTS) \ 11160 cd $(HOST_SUBDIR)/gmp && \ 11161 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 11162 CFLAGS="$(STAGE2_CFLAGS)" \ 11163 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 11164 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 11165 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 11166 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 11167 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 11168 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 11169 TFLAGS="$(STAGE2_TFLAGS)" \ 11170 $(TARGET-stage2-gmp) 11171 11172 maybe-clean-stage2-gmp: clean-stage2-gmp 11173 clean-stage2: clean-stage2-gmp 11174 clean-stage2-gmp: 11175 @if [ $(current_stage) = stage2 ]; then \ 11176 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ 11177 else \ 11178 [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \ 11179 $(MAKE) stage2-start; \ 11180 fi; \ 11181 cd $(HOST_SUBDIR)/gmp && \ 11182 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 11183 @endif gmp-bootstrap 11184 11185 11186 .PHONY: all-stage3-gmp maybe-all-stage3-gmp 11187 .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp 11188 maybe-all-stage3-gmp: 11189 maybe-clean-stage3-gmp: 11190 @if gmp-bootstrap 11191 maybe-all-stage3-gmp: all-stage3-gmp 11192 all-stage3: all-stage3-gmp 11193 TARGET-stage3-gmp = $(TARGET-gmp) 11194 all-stage3-gmp: configure-stage3-gmp 11195 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 11196 @r=`${PWD_COMMAND}`; export r; \ 11197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11198 TFLAGS="$(STAGE3_TFLAGS)"; \ 11199 $(HOST_EXPORTS) \ 11200 $(POSTSTAGE1_HOST_EXPORTS) \ 11201 cd $(HOST_SUBDIR)/gmp && \ 11202 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 11203 CFLAGS="$(STAGE3_CFLAGS)" \ 11204 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 11205 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 11206 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 11207 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 11208 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 11209 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 11210 TFLAGS="$(STAGE3_TFLAGS)" \ 11211 $(TARGET-stage3-gmp) 11212 11213 maybe-clean-stage3-gmp: clean-stage3-gmp 11214 clean-stage3: clean-stage3-gmp 11215 clean-stage3-gmp: 11216 @if [ $(current_stage) = stage3 ]; then \ 11217 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ 11218 else \ 11219 [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \ 11220 $(MAKE) stage3-start; \ 11221 fi; \ 11222 cd $(HOST_SUBDIR)/gmp && \ 11223 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 11224 @endif gmp-bootstrap 11225 11226 11227 .PHONY: all-stage4-gmp maybe-all-stage4-gmp 11228 .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp 11229 maybe-all-stage4-gmp: 11230 maybe-clean-stage4-gmp: 11231 @if gmp-bootstrap 11232 maybe-all-stage4-gmp: all-stage4-gmp 11233 all-stage4: all-stage4-gmp 11234 TARGET-stage4-gmp = $(TARGET-gmp) 11235 all-stage4-gmp: configure-stage4-gmp 11236 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 11237 @r=`${PWD_COMMAND}`; export r; \ 11238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11239 TFLAGS="$(STAGE4_TFLAGS)"; \ 11240 $(HOST_EXPORTS) \ 11241 $(POSTSTAGE1_HOST_EXPORTS) \ 11242 cd $(HOST_SUBDIR)/gmp && \ 11243 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 11244 CFLAGS="$(STAGE4_CFLAGS)" \ 11245 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 11246 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 11247 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 11248 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 11249 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 11250 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 11251 TFLAGS="$(STAGE4_TFLAGS)" \ 11252 $(TARGET-stage4-gmp) 11253 11254 maybe-clean-stage4-gmp: clean-stage4-gmp 11255 clean-stage4: clean-stage4-gmp 11256 clean-stage4-gmp: 11257 @if [ $(current_stage) = stage4 ]; then \ 11258 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ 11259 else \ 11260 [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \ 11261 $(MAKE) stage4-start; \ 11262 fi; \ 11263 cd $(HOST_SUBDIR)/gmp && \ 11264 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 11265 @endif gmp-bootstrap 11266 11267 11268 .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp 11269 .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp 11270 maybe-all-stageprofile-gmp: 11271 maybe-clean-stageprofile-gmp: 11272 @if gmp-bootstrap 11273 maybe-all-stageprofile-gmp: all-stageprofile-gmp 11274 all-stageprofile: all-stageprofile-gmp 11275 TARGET-stageprofile-gmp = $(TARGET-gmp) 11276 all-stageprofile-gmp: configure-stageprofile-gmp 11277 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 11278 @r=`${PWD_COMMAND}`; export r; \ 11279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11280 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 11281 $(HOST_EXPORTS) \ 11282 $(POSTSTAGE1_HOST_EXPORTS) \ 11283 cd $(HOST_SUBDIR)/gmp && \ 11284 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 11285 CFLAGS="$(STAGEprofile_CFLAGS)" \ 11286 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 11287 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 11288 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 11289 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 11290 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 11291 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 11292 TFLAGS="$(STAGEprofile_TFLAGS)" \ 11293 $(TARGET-stageprofile-gmp) 11294 11295 maybe-clean-stageprofile-gmp: clean-stageprofile-gmp 11296 clean-stageprofile: clean-stageprofile-gmp 11297 clean-stageprofile-gmp: 11298 @if [ $(current_stage) = stageprofile ]; then \ 11299 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ 11300 else \ 11301 [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \ 11302 $(MAKE) stageprofile-start; \ 11303 fi; \ 11304 cd $(HOST_SUBDIR)/gmp && \ 11305 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 11306 @endif gmp-bootstrap 11307 11308 11309 .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp 11310 .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp 11311 maybe-all-stagefeedback-gmp: 11312 maybe-clean-stagefeedback-gmp: 11313 @if gmp-bootstrap 11314 maybe-all-stagefeedback-gmp: all-stagefeedback-gmp 11315 all-stagefeedback: all-stagefeedback-gmp 11316 TARGET-stagefeedback-gmp = $(TARGET-gmp) 11317 all-stagefeedback-gmp: configure-stagefeedback-gmp 11318 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 11319 @r=`${PWD_COMMAND}`; export r; \ 11320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11321 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 11322 $(HOST_EXPORTS) \ 11323 $(POSTSTAGE1_HOST_EXPORTS) \ 11324 cd $(HOST_SUBDIR)/gmp && \ 11325 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 11326 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 11327 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 11328 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 11329 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 11330 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 11331 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 11332 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 11333 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 11334 $(TARGET-stagefeedback-gmp) 11335 11336 maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp 11337 clean-stagefeedback: clean-stagefeedback-gmp 11338 clean-stagefeedback-gmp: 11339 @if [ $(current_stage) = stagefeedback ]; then \ 11340 [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \ 11341 else \ 11342 [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \ 11343 $(MAKE) stagefeedback-start; \ 11344 fi; \ 11345 cd $(HOST_SUBDIR)/gmp && \ 11346 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 11347 @endif gmp-bootstrap 11348 11349 11350 11351 11352 11353 .PHONY: check-gmp maybe-check-gmp 11354 maybe-check-gmp: 11355 @if gmp 11356 maybe-check-gmp: check-gmp 11357 11358 check-gmp: 11359 @: $(MAKE); $(unstage) 11360 @r=`${PWD_COMMAND}`; export r; \ 11361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11362 $(HOST_EXPORTS) \ 11363 (cd $(HOST_SUBDIR)/gmp && \ 11364 $(MAKE) $(FLAGS_TO_PASS) check) 11365 11366 @endif gmp 11367 11368 .PHONY: install-gmp maybe-install-gmp 11369 maybe-install-gmp: 11370 @if gmp 11371 maybe-install-gmp: install-gmp 11372 11373 install-gmp: 11374 11375 @endif gmp 11376 11377 .PHONY: install-strip-gmp maybe-install-strip-gmp 11378 maybe-install-strip-gmp: 11379 @if gmp 11380 maybe-install-strip-gmp: install-strip-gmp 11381 11382 install-strip-gmp: 11383 11384 @endif gmp 11385 11386 # Other targets (info, dvi, pdf, etc.) 11387 11388 .PHONY: maybe-info-gmp info-gmp 11389 maybe-info-gmp: 11390 @if gmp 11391 maybe-info-gmp: info-gmp 11392 11393 info-gmp: \ 11394 configure-gmp 11395 @[ -f ./gmp/Makefile ] || exit 0; \ 11396 r=`${PWD_COMMAND}`; export r; \ 11397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11398 $(HOST_EXPORTS) \ 11399 for flag in $(EXTRA_HOST_FLAGS) ; do \ 11400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 11401 done; \ 11402 echo "Doing info in gmp" ; \ 11403 (cd $(HOST_SUBDIR)/gmp && \ 11404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 11405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 11406 "RANLIB=$${RANLIB}" \ 11407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 11408 info) \ 11409 || exit 1 11410 11411 @endif gmp 11412 11413 .PHONY: maybe-dvi-gmp dvi-gmp 11414 maybe-dvi-gmp: 11415 @if gmp 11416 maybe-dvi-gmp: dvi-gmp 11417 11418 dvi-gmp: \ 11419 configure-gmp 11420 @[ -f ./gmp/Makefile ] || exit 0; \ 11421 r=`${PWD_COMMAND}`; export r; \ 11422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11423 $(HOST_EXPORTS) \ 11424 for flag in $(EXTRA_HOST_FLAGS) ; do \ 11425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 11426 done; \ 11427 echo "Doing dvi in gmp" ; \ 11428 (cd $(HOST_SUBDIR)/gmp && \ 11429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 11430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 11431 "RANLIB=$${RANLIB}" \ 11432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 11433 dvi) \ 11434 || exit 1 11435 11436 @endif gmp 11437 11438 .PHONY: maybe-pdf-gmp pdf-gmp 11439 maybe-pdf-gmp: 11440 @if gmp 11441 maybe-pdf-gmp: pdf-gmp 11442 11443 pdf-gmp: \ 11444 configure-gmp 11445 @[ -f ./gmp/Makefile ] || exit 0; \ 11446 r=`${PWD_COMMAND}`; export r; \ 11447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11448 $(HOST_EXPORTS) \ 11449 for flag in $(EXTRA_HOST_FLAGS) ; do \ 11450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 11451 done; \ 11452 echo "Doing pdf in gmp" ; \ 11453 (cd $(HOST_SUBDIR)/gmp && \ 11454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 11455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 11456 "RANLIB=$${RANLIB}" \ 11457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 11458 pdf) \ 11459 || exit 1 11460 11461 @endif gmp 11462 11463 .PHONY: maybe-html-gmp html-gmp 11464 maybe-html-gmp: 11465 @if gmp 11466 maybe-html-gmp: html-gmp 11467 11468 html-gmp: \ 11469 configure-gmp 11470 @[ -f ./gmp/Makefile ] || exit 0; \ 11471 r=`${PWD_COMMAND}`; export r; \ 11472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11473 $(HOST_EXPORTS) \ 11474 for flag in $(EXTRA_HOST_FLAGS) ; do \ 11475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 11476 done; \ 11477 echo "Doing html in gmp" ; \ 11478 (cd $(HOST_SUBDIR)/gmp && \ 11479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 11480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 11481 "RANLIB=$${RANLIB}" \ 11482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 11483 html) \ 11484 || exit 1 11485 11486 @endif gmp 11487 11488 .PHONY: maybe-TAGS-gmp TAGS-gmp 11489 maybe-TAGS-gmp: 11490 @if gmp 11491 maybe-TAGS-gmp: TAGS-gmp 11492 11493 TAGS-gmp: \ 11494 configure-gmp 11495 @[ -f ./gmp/Makefile ] || exit 0; \ 11496 r=`${PWD_COMMAND}`; export r; \ 11497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11498 $(HOST_EXPORTS) \ 11499 for flag in $(EXTRA_HOST_FLAGS) ; do \ 11500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 11501 done; \ 11502 echo "Doing TAGS in gmp" ; \ 11503 (cd $(HOST_SUBDIR)/gmp && \ 11504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 11505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 11506 "RANLIB=$${RANLIB}" \ 11507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 11508 TAGS) \ 11509 || exit 1 11510 11511 @endif gmp 11512 11513 .PHONY: maybe-install-info-gmp install-info-gmp 11514 maybe-install-info-gmp: 11515 @if gmp 11516 maybe-install-info-gmp: install-info-gmp 11517 11518 install-info-gmp: \ 11519 configure-gmp \ 11520 info-gmp 11521 @[ -f ./gmp/Makefile ] || exit 0; \ 11522 r=`${PWD_COMMAND}`; export r; \ 11523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11524 $(HOST_EXPORTS) \ 11525 for flag in $(EXTRA_HOST_FLAGS) ; do \ 11526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 11527 done; \ 11528 echo "Doing install-info in gmp" ; \ 11529 (cd $(HOST_SUBDIR)/gmp && \ 11530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 11531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 11532 "RANLIB=$${RANLIB}" \ 11533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 11534 install-info) \ 11535 || exit 1 11536 11537 @endif gmp 11538 11539 .PHONY: maybe-install-pdf-gmp install-pdf-gmp 11540 maybe-install-pdf-gmp: 11541 @if gmp 11542 maybe-install-pdf-gmp: install-pdf-gmp 11543 11544 install-pdf-gmp: \ 11545 configure-gmp \ 11546 pdf-gmp 11547 @[ -f ./gmp/Makefile ] || exit 0; \ 11548 r=`${PWD_COMMAND}`; export r; \ 11549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11550 $(HOST_EXPORTS) \ 11551 for flag in $(EXTRA_HOST_FLAGS) ; do \ 11552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 11553 done; \ 11554 echo "Doing install-pdf in gmp" ; \ 11555 (cd $(HOST_SUBDIR)/gmp && \ 11556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 11557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 11558 "RANLIB=$${RANLIB}" \ 11559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 11560 install-pdf) \ 11561 || exit 1 11562 11563 @endif gmp 11564 11565 .PHONY: maybe-install-html-gmp install-html-gmp 11566 maybe-install-html-gmp: 11567 @if gmp 11568 maybe-install-html-gmp: install-html-gmp 11569 11570 install-html-gmp: \ 11571 configure-gmp \ 11572 html-gmp 11573 @[ -f ./gmp/Makefile ] || exit 0; \ 11574 r=`${PWD_COMMAND}`; export r; \ 11575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11576 $(HOST_EXPORTS) \ 11577 for flag in $(EXTRA_HOST_FLAGS) ; do \ 11578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 11579 done; \ 11580 echo "Doing install-html in gmp" ; \ 11581 (cd $(HOST_SUBDIR)/gmp && \ 11582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 11583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 11584 "RANLIB=$${RANLIB}" \ 11585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 11586 install-html) \ 11587 || exit 1 11588 11589 @endif gmp 11590 11591 .PHONY: maybe-installcheck-gmp installcheck-gmp 11592 maybe-installcheck-gmp: 11593 @if gmp 11594 maybe-installcheck-gmp: installcheck-gmp 11595 11596 installcheck-gmp: \ 11597 configure-gmp 11598 @[ -f ./gmp/Makefile ] || exit 0; \ 11599 r=`${PWD_COMMAND}`; export r; \ 11600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11601 $(HOST_EXPORTS) \ 11602 for flag in $(EXTRA_HOST_FLAGS) ; do \ 11603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 11604 done; \ 11605 echo "Doing installcheck in gmp" ; \ 11606 (cd $(HOST_SUBDIR)/gmp && \ 11607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 11608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 11609 "RANLIB=$${RANLIB}" \ 11610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 11611 installcheck) \ 11612 || exit 1 11613 11614 @endif gmp 11615 11616 .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp 11617 maybe-mostlyclean-gmp: 11618 @if gmp 11619 maybe-mostlyclean-gmp: mostlyclean-gmp 11620 11621 mostlyclean-gmp: 11622 @[ -f ./gmp/Makefile ] || exit 0; \ 11623 r=`${PWD_COMMAND}`; export r; \ 11624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11625 $(HOST_EXPORTS) \ 11626 for flag in $(EXTRA_HOST_FLAGS) ; do \ 11627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 11628 done; \ 11629 echo "Doing mostlyclean in gmp" ; \ 11630 (cd $(HOST_SUBDIR)/gmp && \ 11631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 11632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 11633 "RANLIB=$${RANLIB}" \ 11634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 11635 mostlyclean) \ 11636 || exit 1 11637 11638 @endif gmp 11639 11640 .PHONY: maybe-clean-gmp clean-gmp 11641 maybe-clean-gmp: 11642 @if gmp 11643 maybe-clean-gmp: clean-gmp 11644 11645 clean-gmp: 11646 @[ -f ./gmp/Makefile ] || exit 0; \ 11647 r=`${PWD_COMMAND}`; export r; \ 11648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11649 $(HOST_EXPORTS) \ 11650 for flag in $(EXTRA_HOST_FLAGS) ; do \ 11651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 11652 done; \ 11653 echo "Doing clean in gmp" ; \ 11654 (cd $(HOST_SUBDIR)/gmp && \ 11655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 11656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 11657 "RANLIB=$${RANLIB}" \ 11658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 11659 clean) \ 11660 || exit 1 11661 11662 @endif gmp 11663 11664 .PHONY: maybe-distclean-gmp distclean-gmp 11665 maybe-distclean-gmp: 11666 @if gmp 11667 maybe-distclean-gmp: distclean-gmp 11668 11669 distclean-gmp: 11670 @[ -f ./gmp/Makefile ] || exit 0; \ 11671 r=`${PWD_COMMAND}`; export r; \ 11672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11673 $(HOST_EXPORTS) \ 11674 for flag in $(EXTRA_HOST_FLAGS) ; do \ 11675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 11676 done; \ 11677 echo "Doing distclean in gmp" ; \ 11678 (cd $(HOST_SUBDIR)/gmp && \ 11679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 11680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 11681 "RANLIB=$${RANLIB}" \ 11682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 11683 distclean) \ 11684 || exit 1 11685 11686 @endif gmp 11687 11688 .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp 11689 maybe-maintainer-clean-gmp: 11690 @if gmp 11691 maybe-maintainer-clean-gmp: maintainer-clean-gmp 11692 11693 maintainer-clean-gmp: 11694 @[ -f ./gmp/Makefile ] || exit 0; \ 11695 r=`${PWD_COMMAND}`; export r; \ 11696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11697 $(HOST_EXPORTS) \ 11698 for flag in $(EXTRA_HOST_FLAGS) ; do \ 11699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 11700 done; \ 11701 echo "Doing maintainer-clean in gmp" ; \ 11702 (cd $(HOST_SUBDIR)/gmp && \ 11703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 11704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 11705 "RANLIB=$${RANLIB}" \ 11706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 11707 maintainer-clean) \ 11708 || exit 1 11709 11710 @endif gmp 11711 11712 11713 11714 .PHONY: configure-mpfr maybe-configure-mpfr 11715 maybe-configure-mpfr: 11716 @if gcc-bootstrap 11717 configure-mpfr: stage_current 11718 @endif gcc-bootstrap 11719 @if mpfr 11720 maybe-configure-mpfr: configure-mpfr 11721 configure-mpfr: 11722 @r=`${PWD_COMMAND}`; export r; \ 11723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11724 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ 11725 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ 11726 $(HOST_EXPORTS) \ 11727 echo Configuring in $(HOST_SUBDIR)/mpfr; \ 11728 cd "$(HOST_SUBDIR)/mpfr" || exit 1; \ 11729 case $(srcdir) in \ 11730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 11731 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ 11732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 11733 esac; \ 11734 srcdiroption="--srcdir=$${topdir}/mpfr"; \ 11735 libsrcdir="$$s/mpfr"; \ 11736 $(SHELL) $${libsrcdir}/configure \ 11737 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 11738 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpfr_configure_flags@ \ 11739 || exit 1 11740 @endif mpfr 11741 11742 11743 11744 .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr 11745 maybe-configure-stage1-mpfr: 11746 @if mpfr-bootstrap 11747 maybe-configure-stage1-mpfr: configure-stage1-mpfr 11748 configure-stage1-mpfr: 11749 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 11750 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr 11751 @r=`${PWD_COMMAND}`; export r; \ 11752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11753 TFLAGS="$(STAGE1_TFLAGS)"; \ 11754 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ 11755 $(HOST_EXPORTS) \ 11756 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 11757 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 11758 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 11759 echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \ 11760 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ 11761 cd $(HOST_SUBDIR)/mpfr || exit 1; \ 11762 case $(srcdir) in \ 11763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 11764 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ 11765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 11766 esac; \ 11767 srcdiroption="--srcdir=$${topdir}/mpfr"; \ 11768 libsrcdir="$$s/mpfr"; \ 11769 $(SHELL) $${libsrcdir}/configure \ 11770 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 11771 --target=${target_alias} $${srcdiroption} \ 11772 $(STAGE1_CONFIGURE_FLAGS) \ 11773 --disable-shared @extra_mpfr_configure_flags@ 11774 @endif mpfr-bootstrap 11775 11776 .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr 11777 maybe-configure-stage2-mpfr: 11778 @if mpfr-bootstrap 11779 maybe-configure-stage2-mpfr: configure-stage2-mpfr 11780 configure-stage2-mpfr: 11781 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 11782 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr 11783 @r=`${PWD_COMMAND}`; export r; \ 11784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11785 TFLAGS="$(STAGE2_TFLAGS)"; \ 11786 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ 11787 $(HOST_EXPORTS) \ 11788 $(POSTSTAGE1_HOST_EXPORTS) \ 11789 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 11790 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 11791 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 11792 echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \ 11793 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ 11794 cd $(HOST_SUBDIR)/mpfr || exit 1; \ 11795 case $(srcdir) in \ 11796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 11797 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ 11798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 11799 esac; \ 11800 srcdiroption="--srcdir=$${topdir}/mpfr"; \ 11801 libsrcdir="$$s/mpfr"; \ 11802 $(SHELL) $${libsrcdir}/configure \ 11803 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 11804 --target=${target_alias} $${srcdiroption} \ 11805 --with-build-libsubdir=$(HOST_SUBDIR) \ 11806 $(STAGE2_CONFIGURE_FLAGS) \ 11807 --disable-shared @extra_mpfr_configure_flags@ 11808 @endif mpfr-bootstrap 11809 11810 .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr 11811 maybe-configure-stage3-mpfr: 11812 @if mpfr-bootstrap 11813 maybe-configure-stage3-mpfr: configure-stage3-mpfr 11814 configure-stage3-mpfr: 11815 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 11816 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr 11817 @r=`${PWD_COMMAND}`; export r; \ 11818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11819 TFLAGS="$(STAGE3_TFLAGS)"; \ 11820 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ 11821 $(HOST_EXPORTS) \ 11822 $(POSTSTAGE1_HOST_EXPORTS) \ 11823 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 11824 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 11825 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 11826 echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \ 11827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ 11828 cd $(HOST_SUBDIR)/mpfr || exit 1; \ 11829 case $(srcdir) in \ 11830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 11831 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ 11832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 11833 esac; \ 11834 srcdiroption="--srcdir=$${topdir}/mpfr"; \ 11835 libsrcdir="$$s/mpfr"; \ 11836 $(SHELL) $${libsrcdir}/configure \ 11837 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 11838 --target=${target_alias} $${srcdiroption} \ 11839 --with-build-libsubdir=$(HOST_SUBDIR) \ 11840 $(STAGE3_CONFIGURE_FLAGS) \ 11841 --disable-shared @extra_mpfr_configure_flags@ 11842 @endif mpfr-bootstrap 11843 11844 .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr 11845 maybe-configure-stage4-mpfr: 11846 @if mpfr-bootstrap 11847 maybe-configure-stage4-mpfr: configure-stage4-mpfr 11848 configure-stage4-mpfr: 11849 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 11850 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr 11851 @r=`${PWD_COMMAND}`; export r; \ 11852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11853 TFLAGS="$(STAGE4_TFLAGS)"; \ 11854 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ 11855 $(HOST_EXPORTS) \ 11856 $(POSTSTAGE1_HOST_EXPORTS) \ 11857 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 11858 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 11859 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 11860 echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \ 11861 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ 11862 cd $(HOST_SUBDIR)/mpfr || exit 1; \ 11863 case $(srcdir) in \ 11864 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 11865 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ 11866 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 11867 esac; \ 11868 srcdiroption="--srcdir=$${topdir}/mpfr"; \ 11869 libsrcdir="$$s/mpfr"; \ 11870 $(SHELL) $${libsrcdir}/configure \ 11871 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 11872 --target=${target_alias} $${srcdiroption} \ 11873 --with-build-libsubdir=$(HOST_SUBDIR) \ 11874 $(STAGE4_CONFIGURE_FLAGS) \ 11875 --disable-shared @extra_mpfr_configure_flags@ 11876 @endif mpfr-bootstrap 11877 11878 .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr 11879 maybe-configure-stageprofile-mpfr: 11880 @if mpfr-bootstrap 11881 maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr 11882 configure-stageprofile-mpfr: 11883 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 11884 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr 11885 @r=`${PWD_COMMAND}`; export r; \ 11886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11887 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 11888 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ 11889 $(HOST_EXPORTS) \ 11890 $(POSTSTAGE1_HOST_EXPORTS) \ 11891 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 11892 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 11893 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 11894 echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \ 11895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ 11896 cd $(HOST_SUBDIR)/mpfr || exit 1; \ 11897 case $(srcdir) in \ 11898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 11899 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ 11900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 11901 esac; \ 11902 srcdiroption="--srcdir=$${topdir}/mpfr"; \ 11903 libsrcdir="$$s/mpfr"; \ 11904 $(SHELL) $${libsrcdir}/configure \ 11905 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 11906 --target=${target_alias} $${srcdiroption} \ 11907 --with-build-libsubdir=$(HOST_SUBDIR) \ 11908 $(STAGEprofile_CONFIGURE_FLAGS) \ 11909 --disable-shared @extra_mpfr_configure_flags@ 11910 @endif mpfr-bootstrap 11911 11912 .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr 11913 maybe-configure-stagefeedback-mpfr: 11914 @if mpfr-bootstrap 11915 maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr 11916 configure-stagefeedback-mpfr: 11917 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 11918 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr 11919 @r=`${PWD_COMMAND}`; export r; \ 11920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11921 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 11922 test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \ 11923 $(HOST_EXPORTS) \ 11924 $(POSTSTAGE1_HOST_EXPORTS) \ 11925 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 11926 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 11927 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 11928 echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \ 11929 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \ 11930 cd $(HOST_SUBDIR)/mpfr || exit 1; \ 11931 case $(srcdir) in \ 11932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 11933 *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \ 11934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 11935 esac; \ 11936 srcdiroption="--srcdir=$${topdir}/mpfr"; \ 11937 libsrcdir="$$s/mpfr"; \ 11938 $(SHELL) $${libsrcdir}/configure \ 11939 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 11940 --target=${target_alias} $${srcdiroption} \ 11941 --with-build-libsubdir=$(HOST_SUBDIR) \ 11942 $(STAGEfeedback_CONFIGURE_FLAGS) \ 11943 --disable-shared @extra_mpfr_configure_flags@ 11944 @endif mpfr-bootstrap 11945 11946 11947 11948 11949 11950 .PHONY: all-mpfr maybe-all-mpfr 11951 maybe-all-mpfr: 11952 @if gcc-bootstrap 11953 all-mpfr: stage_current 11954 @endif gcc-bootstrap 11955 @if mpfr 11956 TARGET-mpfr=all 11957 maybe-all-mpfr: all-mpfr 11958 all-mpfr: configure-mpfr 11959 @r=`${PWD_COMMAND}`; export r; \ 11960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11961 $(HOST_EXPORTS) \ 11962 (cd $(HOST_SUBDIR)/mpfr && \ 11963 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 11964 $(TARGET-mpfr)) 11965 @endif mpfr 11966 11967 11968 11969 .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr 11970 .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr 11971 maybe-all-stage1-mpfr: 11972 maybe-clean-stage1-mpfr: 11973 @if mpfr-bootstrap 11974 maybe-all-stage1-mpfr: all-stage1-mpfr 11975 all-stage1: all-stage1-mpfr 11976 TARGET-stage1-mpfr = $(TARGET-mpfr) 11977 all-stage1-mpfr: configure-stage1-mpfr 11978 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 11979 @r=`${PWD_COMMAND}`; export r; \ 11980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 11981 TFLAGS="$(STAGE1_TFLAGS)"; \ 11982 $(HOST_EXPORTS) \ 11983 cd $(HOST_SUBDIR)/mpfr && \ 11984 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 11985 CFLAGS="$(STAGE1_CFLAGS)" \ 11986 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 11987 LIBCFLAGS="$(LIBCFLAGS)" \ 11988 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 11989 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 11990 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 11991 $(EXTRA_HOST_FLAGS) \ 11992 $(STAGE1_FLAGS_TO_PASS) \ 11993 TFLAGS="$(STAGE1_TFLAGS)" \ 11994 $(TARGET-stage1-mpfr) 11995 11996 maybe-clean-stage1-mpfr: clean-stage1-mpfr 11997 clean-stage1: clean-stage1-mpfr 11998 clean-stage1-mpfr: 11999 @if [ $(current_stage) = stage1 ]; then \ 12000 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ 12001 else \ 12002 [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \ 12003 $(MAKE) stage1-start; \ 12004 fi; \ 12005 cd $(HOST_SUBDIR)/mpfr && \ 12006 $(MAKE) $(EXTRA_HOST_FLAGS) \ 12007 $(STAGE1_FLAGS_TO_PASS) clean 12008 @endif mpfr-bootstrap 12009 12010 12011 .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr 12012 .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr 12013 maybe-all-stage2-mpfr: 12014 maybe-clean-stage2-mpfr: 12015 @if mpfr-bootstrap 12016 maybe-all-stage2-mpfr: all-stage2-mpfr 12017 all-stage2: all-stage2-mpfr 12018 TARGET-stage2-mpfr = $(TARGET-mpfr) 12019 all-stage2-mpfr: configure-stage2-mpfr 12020 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 12021 @r=`${PWD_COMMAND}`; export r; \ 12022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12023 TFLAGS="$(STAGE2_TFLAGS)"; \ 12024 $(HOST_EXPORTS) \ 12025 $(POSTSTAGE1_HOST_EXPORTS) \ 12026 cd $(HOST_SUBDIR)/mpfr && \ 12027 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12028 CFLAGS="$(STAGE2_CFLAGS)" \ 12029 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 12030 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 12031 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 12032 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 12033 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12034 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 12035 TFLAGS="$(STAGE2_TFLAGS)" \ 12036 $(TARGET-stage2-mpfr) 12037 12038 maybe-clean-stage2-mpfr: clean-stage2-mpfr 12039 clean-stage2: clean-stage2-mpfr 12040 clean-stage2-mpfr: 12041 @if [ $(current_stage) = stage2 ]; then \ 12042 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ 12043 else \ 12044 [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \ 12045 $(MAKE) stage2-start; \ 12046 fi; \ 12047 cd $(HOST_SUBDIR)/mpfr && \ 12048 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 12049 @endif mpfr-bootstrap 12050 12051 12052 .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr 12053 .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr 12054 maybe-all-stage3-mpfr: 12055 maybe-clean-stage3-mpfr: 12056 @if mpfr-bootstrap 12057 maybe-all-stage3-mpfr: all-stage3-mpfr 12058 all-stage3: all-stage3-mpfr 12059 TARGET-stage3-mpfr = $(TARGET-mpfr) 12060 all-stage3-mpfr: configure-stage3-mpfr 12061 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 12062 @r=`${PWD_COMMAND}`; export r; \ 12063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12064 TFLAGS="$(STAGE3_TFLAGS)"; \ 12065 $(HOST_EXPORTS) \ 12066 $(POSTSTAGE1_HOST_EXPORTS) \ 12067 cd $(HOST_SUBDIR)/mpfr && \ 12068 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12069 CFLAGS="$(STAGE3_CFLAGS)" \ 12070 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 12071 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 12072 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 12073 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 12074 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12075 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 12076 TFLAGS="$(STAGE3_TFLAGS)" \ 12077 $(TARGET-stage3-mpfr) 12078 12079 maybe-clean-stage3-mpfr: clean-stage3-mpfr 12080 clean-stage3: clean-stage3-mpfr 12081 clean-stage3-mpfr: 12082 @if [ $(current_stage) = stage3 ]; then \ 12083 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ 12084 else \ 12085 [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \ 12086 $(MAKE) stage3-start; \ 12087 fi; \ 12088 cd $(HOST_SUBDIR)/mpfr && \ 12089 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 12090 @endif mpfr-bootstrap 12091 12092 12093 .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr 12094 .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr 12095 maybe-all-stage4-mpfr: 12096 maybe-clean-stage4-mpfr: 12097 @if mpfr-bootstrap 12098 maybe-all-stage4-mpfr: all-stage4-mpfr 12099 all-stage4: all-stage4-mpfr 12100 TARGET-stage4-mpfr = $(TARGET-mpfr) 12101 all-stage4-mpfr: configure-stage4-mpfr 12102 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 12103 @r=`${PWD_COMMAND}`; export r; \ 12104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12105 TFLAGS="$(STAGE4_TFLAGS)"; \ 12106 $(HOST_EXPORTS) \ 12107 $(POSTSTAGE1_HOST_EXPORTS) \ 12108 cd $(HOST_SUBDIR)/mpfr && \ 12109 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12110 CFLAGS="$(STAGE4_CFLAGS)" \ 12111 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 12112 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 12113 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 12114 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 12115 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12116 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 12117 TFLAGS="$(STAGE4_TFLAGS)" \ 12118 $(TARGET-stage4-mpfr) 12119 12120 maybe-clean-stage4-mpfr: clean-stage4-mpfr 12121 clean-stage4: clean-stage4-mpfr 12122 clean-stage4-mpfr: 12123 @if [ $(current_stage) = stage4 ]; then \ 12124 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ 12125 else \ 12126 [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \ 12127 $(MAKE) stage4-start; \ 12128 fi; \ 12129 cd $(HOST_SUBDIR)/mpfr && \ 12130 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 12131 @endif mpfr-bootstrap 12132 12133 12134 .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr 12135 .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr 12136 maybe-all-stageprofile-mpfr: 12137 maybe-clean-stageprofile-mpfr: 12138 @if mpfr-bootstrap 12139 maybe-all-stageprofile-mpfr: all-stageprofile-mpfr 12140 all-stageprofile: all-stageprofile-mpfr 12141 TARGET-stageprofile-mpfr = $(TARGET-mpfr) 12142 all-stageprofile-mpfr: configure-stageprofile-mpfr 12143 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 12144 @r=`${PWD_COMMAND}`; export r; \ 12145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12146 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 12147 $(HOST_EXPORTS) \ 12148 $(POSTSTAGE1_HOST_EXPORTS) \ 12149 cd $(HOST_SUBDIR)/mpfr && \ 12150 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12151 CFLAGS="$(STAGEprofile_CFLAGS)" \ 12152 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 12153 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 12154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 12155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 12156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12157 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 12158 TFLAGS="$(STAGEprofile_TFLAGS)" \ 12159 $(TARGET-stageprofile-mpfr) 12160 12161 maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr 12162 clean-stageprofile: clean-stageprofile-mpfr 12163 clean-stageprofile-mpfr: 12164 @if [ $(current_stage) = stageprofile ]; then \ 12165 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ 12166 else \ 12167 [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \ 12168 $(MAKE) stageprofile-start; \ 12169 fi; \ 12170 cd $(HOST_SUBDIR)/mpfr && \ 12171 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 12172 @endif mpfr-bootstrap 12173 12174 12175 .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr 12176 .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr 12177 maybe-all-stagefeedback-mpfr: 12178 maybe-clean-stagefeedback-mpfr: 12179 @if mpfr-bootstrap 12180 maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr 12181 all-stagefeedback: all-stagefeedback-mpfr 12182 TARGET-stagefeedback-mpfr = $(TARGET-mpfr) 12183 all-stagefeedback-mpfr: configure-stagefeedback-mpfr 12184 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 12185 @r=`${PWD_COMMAND}`; export r; \ 12186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12187 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 12188 $(HOST_EXPORTS) \ 12189 $(POSTSTAGE1_HOST_EXPORTS) \ 12190 cd $(HOST_SUBDIR)/mpfr && \ 12191 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12192 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 12193 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 12194 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 12195 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 12196 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 12197 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12198 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 12199 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 12200 $(TARGET-stagefeedback-mpfr) 12201 12202 maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr 12203 clean-stagefeedback: clean-stagefeedback-mpfr 12204 clean-stagefeedback-mpfr: 12205 @if [ $(current_stage) = stagefeedback ]; then \ 12206 [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \ 12207 else \ 12208 [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \ 12209 $(MAKE) stagefeedback-start; \ 12210 fi; \ 12211 cd $(HOST_SUBDIR)/mpfr && \ 12212 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 12213 @endif mpfr-bootstrap 12214 12215 12216 12217 12218 12219 .PHONY: check-mpfr maybe-check-mpfr 12220 maybe-check-mpfr: 12221 @if mpfr 12222 maybe-check-mpfr: check-mpfr 12223 12224 check-mpfr: 12225 @: $(MAKE); $(unstage) 12226 @r=`${PWD_COMMAND}`; export r; \ 12227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12228 $(HOST_EXPORTS) \ 12229 (cd $(HOST_SUBDIR)/mpfr && \ 12230 $(MAKE) $(FLAGS_TO_PASS) check) 12231 12232 @endif mpfr 12233 12234 .PHONY: install-mpfr maybe-install-mpfr 12235 maybe-install-mpfr: 12236 @if mpfr 12237 maybe-install-mpfr: install-mpfr 12238 12239 install-mpfr: 12240 12241 @endif mpfr 12242 12243 .PHONY: install-strip-mpfr maybe-install-strip-mpfr 12244 maybe-install-strip-mpfr: 12245 @if mpfr 12246 maybe-install-strip-mpfr: install-strip-mpfr 12247 12248 install-strip-mpfr: 12249 12250 @endif mpfr 12251 12252 # Other targets (info, dvi, pdf, etc.) 12253 12254 .PHONY: maybe-info-mpfr info-mpfr 12255 maybe-info-mpfr: 12256 @if mpfr 12257 maybe-info-mpfr: info-mpfr 12258 12259 info-mpfr: \ 12260 configure-mpfr 12261 @[ -f ./mpfr/Makefile ] || exit 0; \ 12262 r=`${PWD_COMMAND}`; export r; \ 12263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12264 $(HOST_EXPORTS) \ 12265 for flag in $(EXTRA_HOST_FLAGS) ; do \ 12266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 12267 done; \ 12268 echo "Doing info in mpfr" ; \ 12269 (cd $(HOST_SUBDIR)/mpfr && \ 12270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 12271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 12272 "RANLIB=$${RANLIB}" \ 12273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 12274 info) \ 12275 || exit 1 12276 12277 @endif mpfr 12278 12279 .PHONY: maybe-dvi-mpfr dvi-mpfr 12280 maybe-dvi-mpfr: 12281 @if mpfr 12282 maybe-dvi-mpfr: dvi-mpfr 12283 12284 dvi-mpfr: \ 12285 configure-mpfr 12286 @[ -f ./mpfr/Makefile ] || exit 0; \ 12287 r=`${PWD_COMMAND}`; export r; \ 12288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12289 $(HOST_EXPORTS) \ 12290 for flag in $(EXTRA_HOST_FLAGS) ; do \ 12291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 12292 done; \ 12293 echo "Doing dvi in mpfr" ; \ 12294 (cd $(HOST_SUBDIR)/mpfr && \ 12295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 12296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 12297 "RANLIB=$${RANLIB}" \ 12298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 12299 dvi) \ 12300 || exit 1 12301 12302 @endif mpfr 12303 12304 .PHONY: maybe-pdf-mpfr pdf-mpfr 12305 maybe-pdf-mpfr: 12306 @if mpfr 12307 maybe-pdf-mpfr: pdf-mpfr 12308 12309 pdf-mpfr: \ 12310 configure-mpfr 12311 @[ -f ./mpfr/Makefile ] || exit 0; \ 12312 r=`${PWD_COMMAND}`; export r; \ 12313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12314 $(HOST_EXPORTS) \ 12315 for flag in $(EXTRA_HOST_FLAGS) ; do \ 12316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 12317 done; \ 12318 echo "Doing pdf in mpfr" ; \ 12319 (cd $(HOST_SUBDIR)/mpfr && \ 12320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 12321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 12322 "RANLIB=$${RANLIB}" \ 12323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 12324 pdf) \ 12325 || exit 1 12326 12327 @endif mpfr 12328 12329 .PHONY: maybe-html-mpfr html-mpfr 12330 maybe-html-mpfr: 12331 @if mpfr 12332 maybe-html-mpfr: html-mpfr 12333 12334 html-mpfr: \ 12335 configure-mpfr 12336 @[ -f ./mpfr/Makefile ] || exit 0; \ 12337 r=`${PWD_COMMAND}`; export r; \ 12338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12339 $(HOST_EXPORTS) \ 12340 for flag in $(EXTRA_HOST_FLAGS) ; do \ 12341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 12342 done; \ 12343 echo "Doing html in mpfr" ; \ 12344 (cd $(HOST_SUBDIR)/mpfr && \ 12345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 12346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 12347 "RANLIB=$${RANLIB}" \ 12348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 12349 html) \ 12350 || exit 1 12351 12352 @endif mpfr 12353 12354 .PHONY: maybe-TAGS-mpfr TAGS-mpfr 12355 maybe-TAGS-mpfr: 12356 @if mpfr 12357 maybe-TAGS-mpfr: TAGS-mpfr 12358 12359 TAGS-mpfr: \ 12360 configure-mpfr 12361 @[ -f ./mpfr/Makefile ] || exit 0; \ 12362 r=`${PWD_COMMAND}`; export r; \ 12363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12364 $(HOST_EXPORTS) \ 12365 for flag in $(EXTRA_HOST_FLAGS) ; do \ 12366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 12367 done; \ 12368 echo "Doing TAGS in mpfr" ; \ 12369 (cd $(HOST_SUBDIR)/mpfr && \ 12370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 12371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 12372 "RANLIB=$${RANLIB}" \ 12373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 12374 TAGS) \ 12375 || exit 1 12376 12377 @endif mpfr 12378 12379 .PHONY: maybe-install-info-mpfr install-info-mpfr 12380 maybe-install-info-mpfr: 12381 @if mpfr 12382 maybe-install-info-mpfr: install-info-mpfr 12383 12384 install-info-mpfr: \ 12385 configure-mpfr \ 12386 info-mpfr 12387 @[ -f ./mpfr/Makefile ] || exit 0; \ 12388 r=`${PWD_COMMAND}`; export r; \ 12389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12390 $(HOST_EXPORTS) \ 12391 for flag in $(EXTRA_HOST_FLAGS) ; do \ 12392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 12393 done; \ 12394 echo "Doing install-info in mpfr" ; \ 12395 (cd $(HOST_SUBDIR)/mpfr && \ 12396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 12397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 12398 "RANLIB=$${RANLIB}" \ 12399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 12400 install-info) \ 12401 || exit 1 12402 12403 @endif mpfr 12404 12405 .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr 12406 maybe-install-pdf-mpfr: 12407 @if mpfr 12408 maybe-install-pdf-mpfr: install-pdf-mpfr 12409 12410 install-pdf-mpfr: \ 12411 configure-mpfr \ 12412 pdf-mpfr 12413 @[ -f ./mpfr/Makefile ] || exit 0; \ 12414 r=`${PWD_COMMAND}`; export r; \ 12415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12416 $(HOST_EXPORTS) \ 12417 for flag in $(EXTRA_HOST_FLAGS) ; do \ 12418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 12419 done; \ 12420 echo "Doing install-pdf in mpfr" ; \ 12421 (cd $(HOST_SUBDIR)/mpfr && \ 12422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 12423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 12424 "RANLIB=$${RANLIB}" \ 12425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 12426 install-pdf) \ 12427 || exit 1 12428 12429 @endif mpfr 12430 12431 .PHONY: maybe-install-html-mpfr install-html-mpfr 12432 maybe-install-html-mpfr: 12433 @if mpfr 12434 maybe-install-html-mpfr: install-html-mpfr 12435 12436 install-html-mpfr: \ 12437 configure-mpfr \ 12438 html-mpfr 12439 @[ -f ./mpfr/Makefile ] || exit 0; \ 12440 r=`${PWD_COMMAND}`; export r; \ 12441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12442 $(HOST_EXPORTS) \ 12443 for flag in $(EXTRA_HOST_FLAGS) ; do \ 12444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 12445 done; \ 12446 echo "Doing install-html in mpfr" ; \ 12447 (cd $(HOST_SUBDIR)/mpfr && \ 12448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 12449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 12450 "RANLIB=$${RANLIB}" \ 12451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 12452 install-html) \ 12453 || exit 1 12454 12455 @endif mpfr 12456 12457 .PHONY: maybe-installcheck-mpfr installcheck-mpfr 12458 maybe-installcheck-mpfr: 12459 @if mpfr 12460 maybe-installcheck-mpfr: installcheck-mpfr 12461 12462 installcheck-mpfr: \ 12463 configure-mpfr 12464 @[ -f ./mpfr/Makefile ] || exit 0; \ 12465 r=`${PWD_COMMAND}`; export r; \ 12466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12467 $(HOST_EXPORTS) \ 12468 for flag in $(EXTRA_HOST_FLAGS) ; do \ 12469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 12470 done; \ 12471 echo "Doing installcheck in mpfr" ; \ 12472 (cd $(HOST_SUBDIR)/mpfr && \ 12473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 12474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 12475 "RANLIB=$${RANLIB}" \ 12476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 12477 installcheck) \ 12478 || exit 1 12479 12480 @endif mpfr 12481 12482 .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr 12483 maybe-mostlyclean-mpfr: 12484 @if mpfr 12485 maybe-mostlyclean-mpfr: mostlyclean-mpfr 12486 12487 mostlyclean-mpfr: 12488 @[ -f ./mpfr/Makefile ] || exit 0; \ 12489 r=`${PWD_COMMAND}`; export r; \ 12490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12491 $(HOST_EXPORTS) \ 12492 for flag in $(EXTRA_HOST_FLAGS) ; do \ 12493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 12494 done; \ 12495 echo "Doing mostlyclean in mpfr" ; \ 12496 (cd $(HOST_SUBDIR)/mpfr && \ 12497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 12498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 12499 "RANLIB=$${RANLIB}" \ 12500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 12501 mostlyclean) \ 12502 || exit 1 12503 12504 @endif mpfr 12505 12506 .PHONY: maybe-clean-mpfr clean-mpfr 12507 maybe-clean-mpfr: 12508 @if mpfr 12509 maybe-clean-mpfr: clean-mpfr 12510 12511 clean-mpfr: 12512 @[ -f ./mpfr/Makefile ] || exit 0; \ 12513 r=`${PWD_COMMAND}`; export r; \ 12514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12515 $(HOST_EXPORTS) \ 12516 for flag in $(EXTRA_HOST_FLAGS) ; do \ 12517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 12518 done; \ 12519 echo "Doing clean in mpfr" ; \ 12520 (cd $(HOST_SUBDIR)/mpfr && \ 12521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 12522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 12523 "RANLIB=$${RANLIB}" \ 12524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 12525 clean) \ 12526 || exit 1 12527 12528 @endif mpfr 12529 12530 .PHONY: maybe-distclean-mpfr distclean-mpfr 12531 maybe-distclean-mpfr: 12532 @if mpfr 12533 maybe-distclean-mpfr: distclean-mpfr 12534 12535 distclean-mpfr: 12536 @[ -f ./mpfr/Makefile ] || exit 0; \ 12537 r=`${PWD_COMMAND}`; export r; \ 12538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12539 $(HOST_EXPORTS) \ 12540 for flag in $(EXTRA_HOST_FLAGS) ; do \ 12541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 12542 done; \ 12543 echo "Doing distclean in mpfr" ; \ 12544 (cd $(HOST_SUBDIR)/mpfr && \ 12545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 12546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 12547 "RANLIB=$${RANLIB}" \ 12548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 12549 distclean) \ 12550 || exit 1 12551 12552 @endif mpfr 12553 12554 .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr 12555 maybe-maintainer-clean-mpfr: 12556 @if mpfr 12557 maybe-maintainer-clean-mpfr: maintainer-clean-mpfr 12558 12559 maintainer-clean-mpfr: 12560 @[ -f ./mpfr/Makefile ] || exit 0; \ 12561 r=`${PWD_COMMAND}`; export r; \ 12562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12563 $(HOST_EXPORTS) \ 12564 for flag in $(EXTRA_HOST_FLAGS) ; do \ 12565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 12566 done; \ 12567 echo "Doing maintainer-clean in mpfr" ; \ 12568 (cd $(HOST_SUBDIR)/mpfr && \ 12569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 12570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 12571 "RANLIB=$${RANLIB}" \ 12572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 12573 maintainer-clean) \ 12574 || exit 1 12575 12576 @endif mpfr 12577 12578 12579 12580 .PHONY: configure-mpc maybe-configure-mpc 12581 maybe-configure-mpc: 12582 @if gcc-bootstrap 12583 configure-mpc: stage_current 12584 @endif gcc-bootstrap 12585 @if mpc 12586 maybe-configure-mpc: configure-mpc 12587 configure-mpc: 12588 @r=`${PWD_COMMAND}`; export r; \ 12589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12590 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ 12591 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ 12592 $(HOST_EXPORTS) \ 12593 echo Configuring in $(HOST_SUBDIR)/mpc; \ 12594 cd "$(HOST_SUBDIR)/mpc" || exit 1; \ 12595 case $(srcdir) in \ 12596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 12597 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ 12598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 12599 esac; \ 12600 srcdiroption="--srcdir=$${topdir}/mpc"; \ 12601 libsrcdir="$$s/mpc"; \ 12602 $(SHELL) $${libsrcdir}/configure \ 12603 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 12604 --target=${target_alias} $${srcdiroption} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \ 12605 || exit 1 12606 @endif mpc 12607 12608 12609 12610 .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc 12611 maybe-configure-stage1-mpc: 12612 @if mpc-bootstrap 12613 maybe-configure-stage1-mpc: configure-stage1-mpc 12614 configure-stage1-mpc: 12615 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 12616 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc 12617 @r=`${PWD_COMMAND}`; export r; \ 12618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12619 TFLAGS="$(STAGE1_TFLAGS)"; \ 12620 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ 12621 $(HOST_EXPORTS) \ 12622 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 12623 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 12624 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 12625 echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \ 12626 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ 12627 cd $(HOST_SUBDIR)/mpc || exit 1; \ 12628 case $(srcdir) in \ 12629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 12630 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ 12631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 12632 esac; \ 12633 srcdiroption="--srcdir=$${topdir}/mpc"; \ 12634 libsrcdir="$$s/mpc"; \ 12635 $(SHELL) $${libsrcdir}/configure \ 12636 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 12637 --target=${target_alias} $${srcdiroption} \ 12638 $(STAGE1_CONFIGURE_FLAGS) \ 12639 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ 12640 @endif mpc-bootstrap 12641 12642 .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc 12643 maybe-configure-stage2-mpc: 12644 @if mpc-bootstrap 12645 maybe-configure-stage2-mpc: configure-stage2-mpc 12646 configure-stage2-mpc: 12647 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 12648 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc 12649 @r=`${PWD_COMMAND}`; export r; \ 12650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12651 TFLAGS="$(STAGE2_TFLAGS)"; \ 12652 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ 12653 $(HOST_EXPORTS) \ 12654 $(POSTSTAGE1_HOST_EXPORTS) \ 12655 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 12656 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 12657 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 12658 echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \ 12659 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ 12660 cd $(HOST_SUBDIR)/mpc || exit 1; \ 12661 case $(srcdir) in \ 12662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 12663 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ 12664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 12665 esac; \ 12666 srcdiroption="--srcdir=$${topdir}/mpc"; \ 12667 libsrcdir="$$s/mpc"; \ 12668 $(SHELL) $${libsrcdir}/configure \ 12669 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 12670 --target=${target_alias} $${srcdiroption} \ 12671 --with-build-libsubdir=$(HOST_SUBDIR) \ 12672 $(STAGE2_CONFIGURE_FLAGS) \ 12673 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ 12674 @endif mpc-bootstrap 12675 12676 .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc 12677 maybe-configure-stage3-mpc: 12678 @if mpc-bootstrap 12679 maybe-configure-stage3-mpc: configure-stage3-mpc 12680 configure-stage3-mpc: 12681 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 12682 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc 12683 @r=`${PWD_COMMAND}`; export r; \ 12684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12685 TFLAGS="$(STAGE3_TFLAGS)"; \ 12686 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ 12687 $(HOST_EXPORTS) \ 12688 $(POSTSTAGE1_HOST_EXPORTS) \ 12689 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 12690 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 12691 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 12692 echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \ 12693 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ 12694 cd $(HOST_SUBDIR)/mpc || exit 1; \ 12695 case $(srcdir) in \ 12696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 12697 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ 12698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 12699 esac; \ 12700 srcdiroption="--srcdir=$${topdir}/mpc"; \ 12701 libsrcdir="$$s/mpc"; \ 12702 $(SHELL) $${libsrcdir}/configure \ 12703 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 12704 --target=${target_alias} $${srcdiroption} \ 12705 --with-build-libsubdir=$(HOST_SUBDIR) \ 12706 $(STAGE3_CONFIGURE_FLAGS) \ 12707 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ 12708 @endif mpc-bootstrap 12709 12710 .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc 12711 maybe-configure-stage4-mpc: 12712 @if mpc-bootstrap 12713 maybe-configure-stage4-mpc: configure-stage4-mpc 12714 configure-stage4-mpc: 12715 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 12716 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc 12717 @r=`${PWD_COMMAND}`; export r; \ 12718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12719 TFLAGS="$(STAGE4_TFLAGS)"; \ 12720 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ 12721 $(HOST_EXPORTS) \ 12722 $(POSTSTAGE1_HOST_EXPORTS) \ 12723 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 12724 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 12725 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 12726 echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \ 12727 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ 12728 cd $(HOST_SUBDIR)/mpc || exit 1; \ 12729 case $(srcdir) in \ 12730 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 12731 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ 12732 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 12733 esac; \ 12734 srcdiroption="--srcdir=$${topdir}/mpc"; \ 12735 libsrcdir="$$s/mpc"; \ 12736 $(SHELL) $${libsrcdir}/configure \ 12737 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 12738 --target=${target_alias} $${srcdiroption} \ 12739 --with-build-libsubdir=$(HOST_SUBDIR) \ 12740 $(STAGE4_CONFIGURE_FLAGS) \ 12741 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ 12742 @endif mpc-bootstrap 12743 12744 .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc 12745 maybe-configure-stageprofile-mpc: 12746 @if mpc-bootstrap 12747 maybe-configure-stageprofile-mpc: configure-stageprofile-mpc 12748 configure-stageprofile-mpc: 12749 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 12750 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc 12751 @r=`${PWD_COMMAND}`; export r; \ 12752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12753 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 12754 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ 12755 $(HOST_EXPORTS) \ 12756 $(POSTSTAGE1_HOST_EXPORTS) \ 12757 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 12758 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 12759 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 12760 echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \ 12761 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ 12762 cd $(HOST_SUBDIR)/mpc || exit 1; \ 12763 case $(srcdir) in \ 12764 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 12765 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ 12766 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 12767 esac; \ 12768 srcdiroption="--srcdir=$${topdir}/mpc"; \ 12769 libsrcdir="$$s/mpc"; \ 12770 $(SHELL) $${libsrcdir}/configure \ 12771 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 12772 --target=${target_alias} $${srcdiroption} \ 12773 --with-build-libsubdir=$(HOST_SUBDIR) \ 12774 $(STAGEprofile_CONFIGURE_FLAGS) \ 12775 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ 12776 @endif mpc-bootstrap 12777 12778 .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc 12779 maybe-configure-stagefeedback-mpc: 12780 @if mpc-bootstrap 12781 maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc 12782 configure-stagefeedback-mpc: 12783 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 12784 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc 12785 @r=`${PWD_COMMAND}`; export r; \ 12786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12787 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 12788 test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \ 12789 $(HOST_EXPORTS) \ 12790 $(POSTSTAGE1_HOST_EXPORTS) \ 12791 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 12792 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 12793 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 12794 echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \ 12795 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \ 12796 cd $(HOST_SUBDIR)/mpc || exit 1; \ 12797 case $(srcdir) in \ 12798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 12799 *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \ 12800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 12801 esac; \ 12802 srcdiroption="--srcdir=$${topdir}/mpc"; \ 12803 libsrcdir="$$s/mpc"; \ 12804 $(SHELL) $${libsrcdir}/configure \ 12805 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 12806 --target=${target_alias} $${srcdiroption} \ 12807 --with-build-libsubdir=$(HOST_SUBDIR) \ 12808 $(STAGEfeedback_CONFIGURE_FLAGS) \ 12809 --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ 12810 @endif mpc-bootstrap 12811 12812 12813 12814 12815 12816 .PHONY: all-mpc maybe-all-mpc 12817 maybe-all-mpc: 12818 @if gcc-bootstrap 12819 all-mpc: stage_current 12820 @endif gcc-bootstrap 12821 @if mpc 12822 TARGET-mpc=all 12823 maybe-all-mpc: all-mpc 12824 all-mpc: configure-mpc 12825 @r=`${PWD_COMMAND}`; export r; \ 12826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12827 $(HOST_EXPORTS) \ 12828 (cd $(HOST_SUBDIR)/mpc && \ 12829 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 12830 $(TARGET-mpc)) 12831 @endif mpc 12832 12833 12834 12835 .PHONY: all-stage1-mpc maybe-all-stage1-mpc 12836 .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc 12837 maybe-all-stage1-mpc: 12838 maybe-clean-stage1-mpc: 12839 @if mpc-bootstrap 12840 maybe-all-stage1-mpc: all-stage1-mpc 12841 all-stage1: all-stage1-mpc 12842 TARGET-stage1-mpc = $(TARGET-mpc) 12843 all-stage1-mpc: configure-stage1-mpc 12844 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 12845 @r=`${PWD_COMMAND}`; export r; \ 12846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12847 TFLAGS="$(STAGE1_TFLAGS)"; \ 12848 $(HOST_EXPORTS) \ 12849 cd $(HOST_SUBDIR)/mpc && \ 12850 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12851 CFLAGS="$(STAGE1_CFLAGS)" \ 12852 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 12853 LIBCFLAGS="$(LIBCFLAGS)" \ 12854 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 12855 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 12856 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12857 $(EXTRA_HOST_FLAGS) \ 12858 $(STAGE1_FLAGS_TO_PASS) \ 12859 TFLAGS="$(STAGE1_TFLAGS)" \ 12860 $(TARGET-stage1-mpc) 12861 12862 maybe-clean-stage1-mpc: clean-stage1-mpc 12863 clean-stage1: clean-stage1-mpc 12864 clean-stage1-mpc: 12865 @if [ $(current_stage) = stage1 ]; then \ 12866 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ 12867 else \ 12868 [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \ 12869 $(MAKE) stage1-start; \ 12870 fi; \ 12871 cd $(HOST_SUBDIR)/mpc && \ 12872 $(MAKE) $(EXTRA_HOST_FLAGS) \ 12873 $(STAGE1_FLAGS_TO_PASS) clean 12874 @endif mpc-bootstrap 12875 12876 12877 .PHONY: all-stage2-mpc maybe-all-stage2-mpc 12878 .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc 12879 maybe-all-stage2-mpc: 12880 maybe-clean-stage2-mpc: 12881 @if mpc-bootstrap 12882 maybe-all-stage2-mpc: all-stage2-mpc 12883 all-stage2: all-stage2-mpc 12884 TARGET-stage2-mpc = $(TARGET-mpc) 12885 all-stage2-mpc: configure-stage2-mpc 12886 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 12887 @r=`${PWD_COMMAND}`; export r; \ 12888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12889 TFLAGS="$(STAGE2_TFLAGS)"; \ 12890 $(HOST_EXPORTS) \ 12891 $(POSTSTAGE1_HOST_EXPORTS) \ 12892 cd $(HOST_SUBDIR)/mpc && \ 12893 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12894 CFLAGS="$(STAGE2_CFLAGS)" \ 12895 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 12896 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 12897 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 12898 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 12899 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12900 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 12901 TFLAGS="$(STAGE2_TFLAGS)" \ 12902 $(TARGET-stage2-mpc) 12903 12904 maybe-clean-stage2-mpc: clean-stage2-mpc 12905 clean-stage2: clean-stage2-mpc 12906 clean-stage2-mpc: 12907 @if [ $(current_stage) = stage2 ]; then \ 12908 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ 12909 else \ 12910 [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \ 12911 $(MAKE) stage2-start; \ 12912 fi; \ 12913 cd $(HOST_SUBDIR)/mpc && \ 12914 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 12915 @endif mpc-bootstrap 12916 12917 12918 .PHONY: all-stage3-mpc maybe-all-stage3-mpc 12919 .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc 12920 maybe-all-stage3-mpc: 12921 maybe-clean-stage3-mpc: 12922 @if mpc-bootstrap 12923 maybe-all-stage3-mpc: all-stage3-mpc 12924 all-stage3: all-stage3-mpc 12925 TARGET-stage3-mpc = $(TARGET-mpc) 12926 all-stage3-mpc: configure-stage3-mpc 12927 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 12928 @r=`${PWD_COMMAND}`; export r; \ 12929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12930 TFLAGS="$(STAGE3_TFLAGS)"; \ 12931 $(HOST_EXPORTS) \ 12932 $(POSTSTAGE1_HOST_EXPORTS) \ 12933 cd $(HOST_SUBDIR)/mpc && \ 12934 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12935 CFLAGS="$(STAGE3_CFLAGS)" \ 12936 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 12937 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 12938 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 12939 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 12940 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12941 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 12942 TFLAGS="$(STAGE3_TFLAGS)" \ 12943 $(TARGET-stage3-mpc) 12944 12945 maybe-clean-stage3-mpc: clean-stage3-mpc 12946 clean-stage3: clean-stage3-mpc 12947 clean-stage3-mpc: 12948 @if [ $(current_stage) = stage3 ]; then \ 12949 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ 12950 else \ 12951 [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \ 12952 $(MAKE) stage3-start; \ 12953 fi; \ 12954 cd $(HOST_SUBDIR)/mpc && \ 12955 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 12956 @endif mpc-bootstrap 12957 12958 12959 .PHONY: all-stage4-mpc maybe-all-stage4-mpc 12960 .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc 12961 maybe-all-stage4-mpc: 12962 maybe-clean-stage4-mpc: 12963 @if mpc-bootstrap 12964 maybe-all-stage4-mpc: all-stage4-mpc 12965 all-stage4: all-stage4-mpc 12966 TARGET-stage4-mpc = $(TARGET-mpc) 12967 all-stage4-mpc: configure-stage4-mpc 12968 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 12969 @r=`${PWD_COMMAND}`; export r; \ 12970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 12971 TFLAGS="$(STAGE4_TFLAGS)"; \ 12972 $(HOST_EXPORTS) \ 12973 $(POSTSTAGE1_HOST_EXPORTS) \ 12974 cd $(HOST_SUBDIR)/mpc && \ 12975 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 12976 CFLAGS="$(STAGE4_CFLAGS)" \ 12977 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 12978 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 12979 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 12980 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 12981 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 12982 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 12983 TFLAGS="$(STAGE4_TFLAGS)" \ 12984 $(TARGET-stage4-mpc) 12985 12986 maybe-clean-stage4-mpc: clean-stage4-mpc 12987 clean-stage4: clean-stage4-mpc 12988 clean-stage4-mpc: 12989 @if [ $(current_stage) = stage4 ]; then \ 12990 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ 12991 else \ 12992 [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \ 12993 $(MAKE) stage4-start; \ 12994 fi; \ 12995 cd $(HOST_SUBDIR)/mpc && \ 12996 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 12997 @endif mpc-bootstrap 12998 12999 13000 .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc 13001 .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc 13002 maybe-all-stageprofile-mpc: 13003 maybe-clean-stageprofile-mpc: 13004 @if mpc-bootstrap 13005 maybe-all-stageprofile-mpc: all-stageprofile-mpc 13006 all-stageprofile: all-stageprofile-mpc 13007 TARGET-stageprofile-mpc = $(TARGET-mpc) 13008 all-stageprofile-mpc: configure-stageprofile-mpc 13009 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 13010 @r=`${PWD_COMMAND}`; export r; \ 13011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13012 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 13013 $(HOST_EXPORTS) \ 13014 $(POSTSTAGE1_HOST_EXPORTS) \ 13015 cd $(HOST_SUBDIR)/mpc && \ 13016 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 13017 CFLAGS="$(STAGEprofile_CFLAGS)" \ 13018 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 13019 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 13020 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 13021 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 13022 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 13023 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 13024 TFLAGS="$(STAGEprofile_TFLAGS)" \ 13025 $(TARGET-stageprofile-mpc) 13026 13027 maybe-clean-stageprofile-mpc: clean-stageprofile-mpc 13028 clean-stageprofile: clean-stageprofile-mpc 13029 clean-stageprofile-mpc: 13030 @if [ $(current_stage) = stageprofile ]; then \ 13031 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ 13032 else \ 13033 [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \ 13034 $(MAKE) stageprofile-start; \ 13035 fi; \ 13036 cd $(HOST_SUBDIR)/mpc && \ 13037 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 13038 @endif mpc-bootstrap 13039 13040 13041 .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc 13042 .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc 13043 maybe-all-stagefeedback-mpc: 13044 maybe-clean-stagefeedback-mpc: 13045 @if mpc-bootstrap 13046 maybe-all-stagefeedback-mpc: all-stagefeedback-mpc 13047 all-stagefeedback: all-stagefeedback-mpc 13048 TARGET-stagefeedback-mpc = $(TARGET-mpc) 13049 all-stagefeedback-mpc: configure-stagefeedback-mpc 13050 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 13051 @r=`${PWD_COMMAND}`; export r; \ 13052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13053 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 13054 $(HOST_EXPORTS) \ 13055 $(POSTSTAGE1_HOST_EXPORTS) \ 13056 cd $(HOST_SUBDIR)/mpc && \ 13057 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 13058 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 13059 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 13060 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 13061 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 13062 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 13063 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 13064 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 13065 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 13066 $(TARGET-stagefeedback-mpc) 13067 13068 maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc 13069 clean-stagefeedback: clean-stagefeedback-mpc 13070 clean-stagefeedback-mpc: 13071 @if [ $(current_stage) = stagefeedback ]; then \ 13072 [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \ 13073 else \ 13074 [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \ 13075 $(MAKE) stagefeedback-start; \ 13076 fi; \ 13077 cd $(HOST_SUBDIR)/mpc && \ 13078 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 13079 @endif mpc-bootstrap 13080 13081 13082 13083 13084 13085 .PHONY: check-mpc maybe-check-mpc 13086 maybe-check-mpc: 13087 @if mpc 13088 maybe-check-mpc: check-mpc 13089 13090 check-mpc: 13091 @: $(MAKE); $(unstage) 13092 @r=`${PWD_COMMAND}`; export r; \ 13093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13094 $(HOST_EXPORTS) \ 13095 (cd $(HOST_SUBDIR)/mpc && \ 13096 $(MAKE) $(FLAGS_TO_PASS) check) 13097 13098 @endif mpc 13099 13100 .PHONY: install-mpc maybe-install-mpc 13101 maybe-install-mpc: 13102 @if mpc 13103 maybe-install-mpc: install-mpc 13104 13105 install-mpc: 13106 13107 @endif mpc 13108 13109 .PHONY: install-strip-mpc maybe-install-strip-mpc 13110 maybe-install-strip-mpc: 13111 @if mpc 13112 maybe-install-strip-mpc: install-strip-mpc 13113 13114 install-strip-mpc: 13115 13116 @endif mpc 13117 13118 # Other targets (info, dvi, pdf, etc.) 13119 13120 .PHONY: maybe-info-mpc info-mpc 13121 maybe-info-mpc: 13122 @if mpc 13123 maybe-info-mpc: info-mpc 13124 13125 info-mpc: \ 13126 configure-mpc 13127 @[ -f ./mpc/Makefile ] || exit 0; \ 13128 r=`${PWD_COMMAND}`; export r; \ 13129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13130 $(HOST_EXPORTS) \ 13131 for flag in $(EXTRA_HOST_FLAGS) ; do \ 13132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 13133 done; \ 13134 echo "Doing info in mpc" ; \ 13135 (cd $(HOST_SUBDIR)/mpc && \ 13136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 13137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 13138 "RANLIB=$${RANLIB}" \ 13139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 13140 info) \ 13141 || exit 1 13142 13143 @endif mpc 13144 13145 .PHONY: maybe-dvi-mpc dvi-mpc 13146 maybe-dvi-mpc: 13147 @if mpc 13148 maybe-dvi-mpc: dvi-mpc 13149 13150 dvi-mpc: \ 13151 configure-mpc 13152 @[ -f ./mpc/Makefile ] || exit 0; \ 13153 r=`${PWD_COMMAND}`; export r; \ 13154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13155 $(HOST_EXPORTS) \ 13156 for flag in $(EXTRA_HOST_FLAGS) ; do \ 13157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 13158 done; \ 13159 echo "Doing dvi in mpc" ; \ 13160 (cd $(HOST_SUBDIR)/mpc && \ 13161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 13162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 13163 "RANLIB=$${RANLIB}" \ 13164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 13165 dvi) \ 13166 || exit 1 13167 13168 @endif mpc 13169 13170 .PHONY: maybe-pdf-mpc pdf-mpc 13171 maybe-pdf-mpc: 13172 @if mpc 13173 maybe-pdf-mpc: pdf-mpc 13174 13175 pdf-mpc: \ 13176 configure-mpc 13177 @[ -f ./mpc/Makefile ] || exit 0; \ 13178 r=`${PWD_COMMAND}`; export r; \ 13179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13180 $(HOST_EXPORTS) \ 13181 for flag in $(EXTRA_HOST_FLAGS) ; do \ 13182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 13183 done; \ 13184 echo "Doing pdf in mpc" ; \ 13185 (cd $(HOST_SUBDIR)/mpc && \ 13186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 13187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 13188 "RANLIB=$${RANLIB}" \ 13189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 13190 pdf) \ 13191 || exit 1 13192 13193 @endif mpc 13194 13195 .PHONY: maybe-html-mpc html-mpc 13196 maybe-html-mpc: 13197 @if mpc 13198 maybe-html-mpc: html-mpc 13199 13200 html-mpc: \ 13201 configure-mpc 13202 @[ -f ./mpc/Makefile ] || exit 0; \ 13203 r=`${PWD_COMMAND}`; export r; \ 13204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13205 $(HOST_EXPORTS) \ 13206 for flag in $(EXTRA_HOST_FLAGS) ; do \ 13207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 13208 done; \ 13209 echo "Doing html in mpc" ; \ 13210 (cd $(HOST_SUBDIR)/mpc && \ 13211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 13212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 13213 "RANLIB=$${RANLIB}" \ 13214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 13215 html) \ 13216 || exit 1 13217 13218 @endif mpc 13219 13220 .PHONY: maybe-TAGS-mpc TAGS-mpc 13221 maybe-TAGS-mpc: 13222 @if mpc 13223 maybe-TAGS-mpc: TAGS-mpc 13224 13225 TAGS-mpc: \ 13226 configure-mpc 13227 @[ -f ./mpc/Makefile ] || exit 0; \ 13228 r=`${PWD_COMMAND}`; export r; \ 13229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13230 $(HOST_EXPORTS) \ 13231 for flag in $(EXTRA_HOST_FLAGS) ; do \ 13232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 13233 done; \ 13234 echo "Doing TAGS in mpc" ; \ 13235 (cd $(HOST_SUBDIR)/mpc && \ 13236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 13237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 13238 "RANLIB=$${RANLIB}" \ 13239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 13240 TAGS) \ 13241 || exit 1 13242 13243 @endif mpc 13244 13245 .PHONY: maybe-install-info-mpc install-info-mpc 13246 maybe-install-info-mpc: 13247 @if mpc 13248 maybe-install-info-mpc: install-info-mpc 13249 13250 install-info-mpc: \ 13251 configure-mpc \ 13252 info-mpc 13253 @[ -f ./mpc/Makefile ] || exit 0; \ 13254 r=`${PWD_COMMAND}`; export r; \ 13255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13256 $(HOST_EXPORTS) \ 13257 for flag in $(EXTRA_HOST_FLAGS) ; do \ 13258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 13259 done; \ 13260 echo "Doing install-info in mpc" ; \ 13261 (cd $(HOST_SUBDIR)/mpc && \ 13262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 13263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 13264 "RANLIB=$${RANLIB}" \ 13265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 13266 install-info) \ 13267 || exit 1 13268 13269 @endif mpc 13270 13271 .PHONY: maybe-install-pdf-mpc install-pdf-mpc 13272 maybe-install-pdf-mpc: 13273 @if mpc 13274 maybe-install-pdf-mpc: install-pdf-mpc 13275 13276 install-pdf-mpc: \ 13277 configure-mpc \ 13278 pdf-mpc 13279 @[ -f ./mpc/Makefile ] || exit 0; \ 13280 r=`${PWD_COMMAND}`; export r; \ 13281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13282 $(HOST_EXPORTS) \ 13283 for flag in $(EXTRA_HOST_FLAGS) ; do \ 13284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 13285 done; \ 13286 echo "Doing install-pdf in mpc" ; \ 13287 (cd $(HOST_SUBDIR)/mpc && \ 13288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 13289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 13290 "RANLIB=$${RANLIB}" \ 13291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 13292 install-pdf) \ 13293 || exit 1 13294 13295 @endif mpc 13296 13297 .PHONY: maybe-install-html-mpc install-html-mpc 13298 maybe-install-html-mpc: 13299 @if mpc 13300 maybe-install-html-mpc: install-html-mpc 13301 13302 install-html-mpc: \ 13303 configure-mpc \ 13304 html-mpc 13305 @[ -f ./mpc/Makefile ] || exit 0; \ 13306 r=`${PWD_COMMAND}`; export r; \ 13307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13308 $(HOST_EXPORTS) \ 13309 for flag in $(EXTRA_HOST_FLAGS) ; do \ 13310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 13311 done; \ 13312 echo "Doing install-html in mpc" ; \ 13313 (cd $(HOST_SUBDIR)/mpc && \ 13314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 13315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 13316 "RANLIB=$${RANLIB}" \ 13317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 13318 install-html) \ 13319 || exit 1 13320 13321 @endif mpc 13322 13323 .PHONY: maybe-installcheck-mpc installcheck-mpc 13324 maybe-installcheck-mpc: 13325 @if mpc 13326 maybe-installcheck-mpc: installcheck-mpc 13327 13328 installcheck-mpc: \ 13329 configure-mpc 13330 @[ -f ./mpc/Makefile ] || exit 0; \ 13331 r=`${PWD_COMMAND}`; export r; \ 13332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13333 $(HOST_EXPORTS) \ 13334 for flag in $(EXTRA_HOST_FLAGS) ; do \ 13335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 13336 done; \ 13337 echo "Doing installcheck in mpc" ; \ 13338 (cd $(HOST_SUBDIR)/mpc && \ 13339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 13340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 13341 "RANLIB=$${RANLIB}" \ 13342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 13343 installcheck) \ 13344 || exit 1 13345 13346 @endif mpc 13347 13348 .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc 13349 maybe-mostlyclean-mpc: 13350 @if mpc 13351 maybe-mostlyclean-mpc: mostlyclean-mpc 13352 13353 mostlyclean-mpc: 13354 @[ -f ./mpc/Makefile ] || exit 0; \ 13355 r=`${PWD_COMMAND}`; export r; \ 13356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13357 $(HOST_EXPORTS) \ 13358 for flag in $(EXTRA_HOST_FLAGS) ; do \ 13359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 13360 done; \ 13361 echo "Doing mostlyclean in mpc" ; \ 13362 (cd $(HOST_SUBDIR)/mpc && \ 13363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 13364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 13365 "RANLIB=$${RANLIB}" \ 13366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 13367 mostlyclean) \ 13368 || exit 1 13369 13370 @endif mpc 13371 13372 .PHONY: maybe-clean-mpc clean-mpc 13373 maybe-clean-mpc: 13374 @if mpc 13375 maybe-clean-mpc: clean-mpc 13376 13377 clean-mpc: 13378 @[ -f ./mpc/Makefile ] || exit 0; \ 13379 r=`${PWD_COMMAND}`; export r; \ 13380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13381 $(HOST_EXPORTS) \ 13382 for flag in $(EXTRA_HOST_FLAGS) ; do \ 13383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 13384 done; \ 13385 echo "Doing clean in mpc" ; \ 13386 (cd $(HOST_SUBDIR)/mpc && \ 13387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 13388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 13389 "RANLIB=$${RANLIB}" \ 13390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 13391 clean) \ 13392 || exit 1 13393 13394 @endif mpc 13395 13396 .PHONY: maybe-distclean-mpc distclean-mpc 13397 maybe-distclean-mpc: 13398 @if mpc 13399 maybe-distclean-mpc: distclean-mpc 13400 13401 distclean-mpc: 13402 @[ -f ./mpc/Makefile ] || exit 0; \ 13403 r=`${PWD_COMMAND}`; export r; \ 13404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13405 $(HOST_EXPORTS) \ 13406 for flag in $(EXTRA_HOST_FLAGS) ; do \ 13407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 13408 done; \ 13409 echo "Doing distclean in mpc" ; \ 13410 (cd $(HOST_SUBDIR)/mpc && \ 13411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 13412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 13413 "RANLIB=$${RANLIB}" \ 13414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 13415 distclean) \ 13416 || exit 1 13417 13418 @endif mpc 13419 13420 .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc 13421 maybe-maintainer-clean-mpc: 13422 @if mpc 13423 maybe-maintainer-clean-mpc: maintainer-clean-mpc 13424 13425 maintainer-clean-mpc: 13426 @[ -f ./mpc/Makefile ] || exit 0; \ 13427 r=`${PWD_COMMAND}`; export r; \ 13428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13429 $(HOST_EXPORTS) \ 13430 for flag in $(EXTRA_HOST_FLAGS) ; do \ 13431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 13432 done; \ 13433 echo "Doing maintainer-clean in mpc" ; \ 13434 (cd $(HOST_SUBDIR)/mpc && \ 13435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 13436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 13437 "RANLIB=$${RANLIB}" \ 13438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 13439 maintainer-clean) \ 13440 || exit 1 13441 13442 @endif mpc 13443 13444 13445 13446 .PHONY: configure-isl maybe-configure-isl 13447 maybe-configure-isl: 13448 @if gcc-bootstrap 13449 configure-isl: stage_current 13450 @endif gcc-bootstrap 13451 @if isl 13452 maybe-configure-isl: configure-isl 13453 configure-isl: 13454 @r=`${PWD_COMMAND}`; export r; \ 13455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13456 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \ 13457 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \ 13458 $(HOST_EXPORTS) \ 13459 echo Configuring in $(HOST_SUBDIR)/isl; \ 13460 cd "$(HOST_SUBDIR)/isl" || exit 1; \ 13461 case $(srcdir) in \ 13462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 13463 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \ 13464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 13465 esac; \ 13466 srcdiroption="--srcdir=$${topdir}/isl"; \ 13467 libsrcdir="$$s/isl"; \ 13468 $(SHELL) $${libsrcdir}/configure \ 13469 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 13470 --target=${target_alias} $${srcdiroption} --disable-shared @extra_isl_gmp_configure_flags@ \ 13471 || exit 1 13472 @endif isl 13473 13474 13475 13476 .PHONY: configure-stage1-isl maybe-configure-stage1-isl 13477 maybe-configure-stage1-isl: 13478 @if isl-bootstrap 13479 maybe-configure-stage1-isl: configure-stage1-isl 13480 configure-stage1-isl: 13481 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 13482 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl 13483 @r=`${PWD_COMMAND}`; export r; \ 13484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13485 TFLAGS="$(STAGE1_TFLAGS)"; \ 13486 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \ 13487 $(HOST_EXPORTS) \ 13488 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 13489 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 13490 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 13491 echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \ 13492 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \ 13493 cd $(HOST_SUBDIR)/isl || exit 1; \ 13494 case $(srcdir) in \ 13495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 13496 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \ 13497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 13498 esac; \ 13499 srcdiroption="--srcdir=$${topdir}/isl"; \ 13500 libsrcdir="$$s/isl"; \ 13501 $(SHELL) $${libsrcdir}/configure \ 13502 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 13503 --target=${target_alias} $${srcdiroption} \ 13504 $(STAGE1_CONFIGURE_FLAGS) \ 13505 --disable-shared @extra_isl_gmp_configure_flags@ 13506 @endif isl-bootstrap 13507 13508 .PHONY: configure-stage2-isl maybe-configure-stage2-isl 13509 maybe-configure-stage2-isl: 13510 @if isl-bootstrap 13511 maybe-configure-stage2-isl: configure-stage2-isl 13512 configure-stage2-isl: 13513 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 13514 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl 13515 @r=`${PWD_COMMAND}`; export r; \ 13516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13517 TFLAGS="$(STAGE2_TFLAGS)"; \ 13518 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \ 13519 $(HOST_EXPORTS) \ 13520 $(POSTSTAGE1_HOST_EXPORTS) \ 13521 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 13522 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 13523 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 13524 echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \ 13525 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \ 13526 cd $(HOST_SUBDIR)/isl || exit 1; \ 13527 case $(srcdir) in \ 13528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 13529 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \ 13530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 13531 esac; \ 13532 srcdiroption="--srcdir=$${topdir}/isl"; \ 13533 libsrcdir="$$s/isl"; \ 13534 $(SHELL) $${libsrcdir}/configure \ 13535 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 13536 --target=${target_alias} $${srcdiroption} \ 13537 --with-build-libsubdir=$(HOST_SUBDIR) \ 13538 $(STAGE2_CONFIGURE_FLAGS) \ 13539 --disable-shared @extra_isl_gmp_configure_flags@ 13540 @endif isl-bootstrap 13541 13542 .PHONY: configure-stage3-isl maybe-configure-stage3-isl 13543 maybe-configure-stage3-isl: 13544 @if isl-bootstrap 13545 maybe-configure-stage3-isl: configure-stage3-isl 13546 configure-stage3-isl: 13547 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 13548 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl 13549 @r=`${PWD_COMMAND}`; export r; \ 13550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13551 TFLAGS="$(STAGE3_TFLAGS)"; \ 13552 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \ 13553 $(HOST_EXPORTS) \ 13554 $(POSTSTAGE1_HOST_EXPORTS) \ 13555 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 13556 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 13557 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 13558 echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \ 13559 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \ 13560 cd $(HOST_SUBDIR)/isl || exit 1; \ 13561 case $(srcdir) in \ 13562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 13563 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \ 13564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 13565 esac; \ 13566 srcdiroption="--srcdir=$${topdir}/isl"; \ 13567 libsrcdir="$$s/isl"; \ 13568 $(SHELL) $${libsrcdir}/configure \ 13569 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 13570 --target=${target_alias} $${srcdiroption} \ 13571 --with-build-libsubdir=$(HOST_SUBDIR) \ 13572 $(STAGE3_CONFIGURE_FLAGS) \ 13573 --disable-shared @extra_isl_gmp_configure_flags@ 13574 @endif isl-bootstrap 13575 13576 .PHONY: configure-stage4-isl maybe-configure-stage4-isl 13577 maybe-configure-stage4-isl: 13578 @if isl-bootstrap 13579 maybe-configure-stage4-isl: configure-stage4-isl 13580 configure-stage4-isl: 13581 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 13582 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl 13583 @r=`${PWD_COMMAND}`; export r; \ 13584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13585 TFLAGS="$(STAGE4_TFLAGS)"; \ 13586 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \ 13587 $(HOST_EXPORTS) \ 13588 $(POSTSTAGE1_HOST_EXPORTS) \ 13589 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 13590 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 13591 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 13592 echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \ 13593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \ 13594 cd $(HOST_SUBDIR)/isl || exit 1; \ 13595 case $(srcdir) in \ 13596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 13597 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \ 13598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 13599 esac; \ 13600 srcdiroption="--srcdir=$${topdir}/isl"; \ 13601 libsrcdir="$$s/isl"; \ 13602 $(SHELL) $${libsrcdir}/configure \ 13603 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 13604 --target=${target_alias} $${srcdiroption} \ 13605 --with-build-libsubdir=$(HOST_SUBDIR) \ 13606 $(STAGE4_CONFIGURE_FLAGS) \ 13607 --disable-shared @extra_isl_gmp_configure_flags@ 13608 @endif isl-bootstrap 13609 13610 .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl 13611 maybe-configure-stageprofile-isl: 13612 @if isl-bootstrap 13613 maybe-configure-stageprofile-isl: configure-stageprofile-isl 13614 configure-stageprofile-isl: 13615 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 13616 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl 13617 @r=`${PWD_COMMAND}`; export r; \ 13618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13619 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 13620 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \ 13621 $(HOST_EXPORTS) \ 13622 $(POSTSTAGE1_HOST_EXPORTS) \ 13623 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 13624 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 13625 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 13626 echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \ 13627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \ 13628 cd $(HOST_SUBDIR)/isl || exit 1; \ 13629 case $(srcdir) in \ 13630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 13631 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \ 13632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 13633 esac; \ 13634 srcdiroption="--srcdir=$${topdir}/isl"; \ 13635 libsrcdir="$$s/isl"; \ 13636 $(SHELL) $${libsrcdir}/configure \ 13637 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 13638 --target=${target_alias} $${srcdiroption} \ 13639 --with-build-libsubdir=$(HOST_SUBDIR) \ 13640 $(STAGEprofile_CONFIGURE_FLAGS) \ 13641 --disable-shared @extra_isl_gmp_configure_flags@ 13642 @endif isl-bootstrap 13643 13644 .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl 13645 maybe-configure-stagefeedback-isl: 13646 @if isl-bootstrap 13647 maybe-configure-stagefeedback-isl: configure-stagefeedback-isl 13648 configure-stagefeedback-isl: 13649 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 13650 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl 13651 @r=`${PWD_COMMAND}`; export r; \ 13652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13653 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 13654 test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \ 13655 $(HOST_EXPORTS) \ 13656 $(POSTSTAGE1_HOST_EXPORTS) \ 13657 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 13658 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 13659 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 13660 echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \ 13661 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \ 13662 cd $(HOST_SUBDIR)/isl || exit 1; \ 13663 case $(srcdir) in \ 13664 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 13665 *) topdir=`echo $(HOST_SUBDIR)/isl/ | \ 13666 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 13667 esac; \ 13668 srcdiroption="--srcdir=$${topdir}/isl"; \ 13669 libsrcdir="$$s/isl"; \ 13670 $(SHELL) $${libsrcdir}/configure \ 13671 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 13672 --target=${target_alias} $${srcdiroption} \ 13673 --with-build-libsubdir=$(HOST_SUBDIR) \ 13674 $(STAGEfeedback_CONFIGURE_FLAGS) \ 13675 --disable-shared @extra_isl_gmp_configure_flags@ 13676 @endif isl-bootstrap 13677 13678 13679 13680 13681 13682 .PHONY: all-isl maybe-all-isl 13683 maybe-all-isl: 13684 @if gcc-bootstrap 13685 all-isl: stage_current 13686 @endif gcc-bootstrap 13687 @if isl 13688 TARGET-isl=all 13689 maybe-all-isl: all-isl 13690 all-isl: configure-isl 13691 @r=`${PWD_COMMAND}`; export r; \ 13692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13693 $(HOST_EXPORTS) \ 13694 (cd $(HOST_SUBDIR)/isl && \ 13695 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \ 13696 $(TARGET-isl)) 13697 @endif isl 13698 13699 13700 13701 .PHONY: all-stage1-isl maybe-all-stage1-isl 13702 .PHONY: clean-stage1-isl maybe-clean-stage1-isl 13703 maybe-all-stage1-isl: 13704 maybe-clean-stage1-isl: 13705 @if isl-bootstrap 13706 maybe-all-stage1-isl: all-stage1-isl 13707 all-stage1: all-stage1-isl 13708 TARGET-stage1-isl = $(TARGET-isl) 13709 all-stage1-isl: configure-stage1-isl 13710 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 13711 @r=`${PWD_COMMAND}`; export r; \ 13712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13713 TFLAGS="$(STAGE1_TFLAGS)"; \ 13714 $(HOST_EXPORTS) \ 13715 cd $(HOST_SUBDIR)/isl && \ 13716 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 13717 CFLAGS="$(STAGE1_CFLAGS)" \ 13718 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 13719 LIBCFLAGS="$(LIBCFLAGS)" \ 13720 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 13721 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 13722 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 13723 $(EXTRA_HOST_FLAGS) \ 13724 $(STAGE1_FLAGS_TO_PASS) V=1 \ 13725 TFLAGS="$(STAGE1_TFLAGS)" \ 13726 $(TARGET-stage1-isl) 13727 13728 maybe-clean-stage1-isl: clean-stage1-isl 13729 clean-stage1: clean-stage1-isl 13730 clean-stage1-isl: 13731 @if [ $(current_stage) = stage1 ]; then \ 13732 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \ 13733 else \ 13734 [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \ 13735 $(MAKE) stage1-start; \ 13736 fi; \ 13737 cd $(HOST_SUBDIR)/isl && \ 13738 $(MAKE) $(EXTRA_HOST_FLAGS) \ 13739 $(STAGE1_FLAGS_TO_PASS) V=1 clean 13740 @endif isl-bootstrap 13741 13742 13743 .PHONY: all-stage2-isl maybe-all-stage2-isl 13744 .PHONY: clean-stage2-isl maybe-clean-stage2-isl 13745 maybe-all-stage2-isl: 13746 maybe-clean-stage2-isl: 13747 @if isl-bootstrap 13748 maybe-all-stage2-isl: all-stage2-isl 13749 all-stage2: all-stage2-isl 13750 TARGET-stage2-isl = $(TARGET-isl) 13751 all-stage2-isl: configure-stage2-isl 13752 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 13753 @r=`${PWD_COMMAND}`; export r; \ 13754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13755 TFLAGS="$(STAGE2_TFLAGS)"; \ 13756 $(HOST_EXPORTS) \ 13757 $(POSTSTAGE1_HOST_EXPORTS) \ 13758 cd $(HOST_SUBDIR)/isl && \ 13759 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 13760 CFLAGS="$(STAGE2_CFLAGS)" \ 13761 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 13762 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 13763 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 13764 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 13765 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 13766 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ 13767 TFLAGS="$(STAGE2_TFLAGS)" \ 13768 $(TARGET-stage2-isl) 13769 13770 maybe-clean-stage2-isl: clean-stage2-isl 13771 clean-stage2: clean-stage2-isl 13772 clean-stage2-isl: 13773 @if [ $(current_stage) = stage2 ]; then \ 13774 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \ 13775 else \ 13776 [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \ 13777 $(MAKE) stage2-start; \ 13778 fi; \ 13779 cd $(HOST_SUBDIR)/isl && \ 13780 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean 13781 @endif isl-bootstrap 13782 13783 13784 .PHONY: all-stage3-isl maybe-all-stage3-isl 13785 .PHONY: clean-stage3-isl maybe-clean-stage3-isl 13786 maybe-all-stage3-isl: 13787 maybe-clean-stage3-isl: 13788 @if isl-bootstrap 13789 maybe-all-stage3-isl: all-stage3-isl 13790 all-stage3: all-stage3-isl 13791 TARGET-stage3-isl = $(TARGET-isl) 13792 all-stage3-isl: configure-stage3-isl 13793 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 13794 @r=`${PWD_COMMAND}`; export r; \ 13795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13796 TFLAGS="$(STAGE3_TFLAGS)"; \ 13797 $(HOST_EXPORTS) \ 13798 $(POSTSTAGE1_HOST_EXPORTS) \ 13799 cd $(HOST_SUBDIR)/isl && \ 13800 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 13801 CFLAGS="$(STAGE3_CFLAGS)" \ 13802 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 13803 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 13804 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 13805 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 13806 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 13807 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ 13808 TFLAGS="$(STAGE3_TFLAGS)" \ 13809 $(TARGET-stage3-isl) 13810 13811 maybe-clean-stage3-isl: clean-stage3-isl 13812 clean-stage3: clean-stage3-isl 13813 clean-stage3-isl: 13814 @if [ $(current_stage) = stage3 ]; then \ 13815 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \ 13816 else \ 13817 [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \ 13818 $(MAKE) stage3-start; \ 13819 fi; \ 13820 cd $(HOST_SUBDIR)/isl && \ 13821 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean 13822 @endif isl-bootstrap 13823 13824 13825 .PHONY: all-stage4-isl maybe-all-stage4-isl 13826 .PHONY: clean-stage4-isl maybe-clean-stage4-isl 13827 maybe-all-stage4-isl: 13828 maybe-clean-stage4-isl: 13829 @if isl-bootstrap 13830 maybe-all-stage4-isl: all-stage4-isl 13831 all-stage4: all-stage4-isl 13832 TARGET-stage4-isl = $(TARGET-isl) 13833 all-stage4-isl: configure-stage4-isl 13834 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 13835 @r=`${PWD_COMMAND}`; export r; \ 13836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13837 TFLAGS="$(STAGE4_TFLAGS)"; \ 13838 $(HOST_EXPORTS) \ 13839 $(POSTSTAGE1_HOST_EXPORTS) \ 13840 cd $(HOST_SUBDIR)/isl && \ 13841 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 13842 CFLAGS="$(STAGE4_CFLAGS)" \ 13843 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 13844 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 13845 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 13846 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 13847 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 13848 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ 13849 TFLAGS="$(STAGE4_TFLAGS)" \ 13850 $(TARGET-stage4-isl) 13851 13852 maybe-clean-stage4-isl: clean-stage4-isl 13853 clean-stage4: clean-stage4-isl 13854 clean-stage4-isl: 13855 @if [ $(current_stage) = stage4 ]; then \ 13856 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \ 13857 else \ 13858 [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \ 13859 $(MAKE) stage4-start; \ 13860 fi; \ 13861 cd $(HOST_SUBDIR)/isl && \ 13862 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean 13863 @endif isl-bootstrap 13864 13865 13866 .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl 13867 .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl 13868 maybe-all-stageprofile-isl: 13869 maybe-clean-stageprofile-isl: 13870 @if isl-bootstrap 13871 maybe-all-stageprofile-isl: all-stageprofile-isl 13872 all-stageprofile: all-stageprofile-isl 13873 TARGET-stageprofile-isl = $(TARGET-isl) 13874 all-stageprofile-isl: configure-stageprofile-isl 13875 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 13876 @r=`${PWD_COMMAND}`; export r; \ 13877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13878 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 13879 $(HOST_EXPORTS) \ 13880 $(POSTSTAGE1_HOST_EXPORTS) \ 13881 cd $(HOST_SUBDIR)/isl && \ 13882 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 13883 CFLAGS="$(STAGEprofile_CFLAGS)" \ 13884 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 13885 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 13886 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 13887 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 13888 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 13889 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ 13890 TFLAGS="$(STAGEprofile_TFLAGS)" \ 13891 $(TARGET-stageprofile-isl) 13892 13893 maybe-clean-stageprofile-isl: clean-stageprofile-isl 13894 clean-stageprofile: clean-stageprofile-isl 13895 clean-stageprofile-isl: 13896 @if [ $(current_stage) = stageprofile ]; then \ 13897 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \ 13898 else \ 13899 [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \ 13900 $(MAKE) stageprofile-start; \ 13901 fi; \ 13902 cd $(HOST_SUBDIR)/isl && \ 13903 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean 13904 @endif isl-bootstrap 13905 13906 13907 .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl 13908 .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl 13909 maybe-all-stagefeedback-isl: 13910 maybe-clean-stagefeedback-isl: 13911 @if isl-bootstrap 13912 maybe-all-stagefeedback-isl: all-stagefeedback-isl 13913 all-stagefeedback: all-stagefeedback-isl 13914 TARGET-stagefeedback-isl = $(TARGET-isl) 13915 all-stagefeedback-isl: configure-stagefeedback-isl 13916 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 13917 @r=`${PWD_COMMAND}`; export r; \ 13918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13919 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 13920 $(HOST_EXPORTS) \ 13921 $(POSTSTAGE1_HOST_EXPORTS) \ 13922 cd $(HOST_SUBDIR)/isl && \ 13923 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 13924 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 13925 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 13926 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 13927 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 13928 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 13929 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 13930 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \ 13931 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 13932 $(TARGET-stagefeedback-isl) 13933 13934 maybe-clean-stagefeedback-isl: clean-stagefeedback-isl 13935 clean-stagefeedback: clean-stagefeedback-isl 13936 clean-stagefeedback-isl: 13937 @if [ $(current_stage) = stagefeedback ]; then \ 13938 [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \ 13939 else \ 13940 [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \ 13941 $(MAKE) stagefeedback-start; \ 13942 fi; \ 13943 cd $(HOST_SUBDIR)/isl && \ 13944 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean 13945 @endif isl-bootstrap 13946 13947 13948 13949 13950 13951 .PHONY: check-isl maybe-check-isl 13952 maybe-check-isl: 13953 @if isl 13954 maybe-check-isl: check-isl 13955 13956 check-isl: 13957 @: $(MAKE); $(unstage) 13958 @r=`${PWD_COMMAND}`; export r; \ 13959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13960 $(HOST_EXPORTS) \ 13961 (cd $(HOST_SUBDIR)/isl && \ 13962 $(MAKE) $(FLAGS_TO_PASS) V=1 check) 13963 13964 @endif isl 13965 13966 .PHONY: install-isl maybe-install-isl 13967 maybe-install-isl: 13968 @if isl 13969 maybe-install-isl: install-isl 13970 13971 install-isl: 13972 13973 @endif isl 13974 13975 .PHONY: install-strip-isl maybe-install-strip-isl 13976 maybe-install-strip-isl: 13977 @if isl 13978 maybe-install-strip-isl: install-strip-isl 13979 13980 install-strip-isl: 13981 13982 @endif isl 13983 13984 # Other targets (info, dvi, pdf, etc.) 13985 13986 .PHONY: maybe-info-isl info-isl 13987 maybe-info-isl: 13988 @if isl 13989 maybe-info-isl: info-isl 13990 13991 info-isl: \ 13992 configure-isl 13993 @[ -f ./isl/Makefile ] || exit 0; \ 13994 r=`${PWD_COMMAND}`; export r; \ 13995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 13996 $(HOST_EXPORTS) \ 13997 for flag in $(EXTRA_HOST_FLAGS) V=1; do \ 13998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 13999 done; \ 14000 echo "Doing info in isl" ; \ 14001 (cd $(HOST_SUBDIR)/isl && \ 14002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14004 "RANLIB=$${RANLIB}" \ 14005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14006 info) \ 14007 || exit 1 14008 14009 @endif isl 14010 14011 .PHONY: maybe-dvi-isl dvi-isl 14012 maybe-dvi-isl: 14013 @if isl 14014 maybe-dvi-isl: dvi-isl 14015 14016 dvi-isl: \ 14017 configure-isl 14018 @[ -f ./isl/Makefile ] || exit 0; \ 14019 r=`${PWD_COMMAND}`; export r; \ 14020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14021 $(HOST_EXPORTS) \ 14022 for flag in $(EXTRA_HOST_FLAGS) V=1; do \ 14023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14024 done; \ 14025 echo "Doing dvi in isl" ; \ 14026 (cd $(HOST_SUBDIR)/isl && \ 14027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14029 "RANLIB=$${RANLIB}" \ 14030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14031 dvi) \ 14032 || exit 1 14033 14034 @endif isl 14035 14036 .PHONY: maybe-pdf-isl pdf-isl 14037 maybe-pdf-isl: 14038 @if isl 14039 maybe-pdf-isl: pdf-isl 14040 14041 pdf-isl: \ 14042 configure-isl 14043 @[ -f ./isl/Makefile ] || exit 0; \ 14044 r=`${PWD_COMMAND}`; export r; \ 14045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14046 $(HOST_EXPORTS) \ 14047 for flag in $(EXTRA_HOST_FLAGS) V=1; do \ 14048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14049 done; \ 14050 echo "Doing pdf in isl" ; \ 14051 (cd $(HOST_SUBDIR)/isl && \ 14052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14054 "RANLIB=$${RANLIB}" \ 14055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14056 pdf) \ 14057 || exit 1 14058 14059 @endif isl 14060 14061 .PHONY: maybe-html-isl html-isl 14062 maybe-html-isl: 14063 @if isl 14064 maybe-html-isl: html-isl 14065 14066 html-isl: \ 14067 configure-isl 14068 @[ -f ./isl/Makefile ] || exit 0; \ 14069 r=`${PWD_COMMAND}`; export r; \ 14070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14071 $(HOST_EXPORTS) \ 14072 for flag in $(EXTRA_HOST_FLAGS) V=1; do \ 14073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14074 done; \ 14075 echo "Doing html in isl" ; \ 14076 (cd $(HOST_SUBDIR)/isl && \ 14077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14079 "RANLIB=$${RANLIB}" \ 14080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14081 html) \ 14082 || exit 1 14083 14084 @endif isl 14085 14086 .PHONY: maybe-TAGS-isl TAGS-isl 14087 maybe-TAGS-isl: 14088 @if isl 14089 maybe-TAGS-isl: TAGS-isl 14090 14091 TAGS-isl: \ 14092 configure-isl 14093 @[ -f ./isl/Makefile ] || exit 0; \ 14094 r=`${PWD_COMMAND}`; export r; \ 14095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14096 $(HOST_EXPORTS) \ 14097 for flag in $(EXTRA_HOST_FLAGS) V=1; do \ 14098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14099 done; \ 14100 echo "Doing TAGS in isl" ; \ 14101 (cd $(HOST_SUBDIR)/isl && \ 14102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14104 "RANLIB=$${RANLIB}" \ 14105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14106 TAGS) \ 14107 || exit 1 14108 14109 @endif isl 14110 14111 .PHONY: maybe-install-info-isl install-info-isl 14112 maybe-install-info-isl: 14113 @if isl 14114 maybe-install-info-isl: install-info-isl 14115 14116 install-info-isl: \ 14117 configure-isl \ 14118 info-isl 14119 @[ -f ./isl/Makefile ] || exit 0; \ 14120 r=`${PWD_COMMAND}`; export r; \ 14121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14122 $(HOST_EXPORTS) \ 14123 for flag in $(EXTRA_HOST_FLAGS) V=1; do \ 14124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14125 done; \ 14126 echo "Doing install-info in isl" ; \ 14127 (cd $(HOST_SUBDIR)/isl && \ 14128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14130 "RANLIB=$${RANLIB}" \ 14131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14132 install-info) \ 14133 || exit 1 14134 14135 @endif isl 14136 14137 .PHONY: maybe-install-pdf-isl install-pdf-isl 14138 maybe-install-pdf-isl: 14139 @if isl 14140 maybe-install-pdf-isl: install-pdf-isl 14141 14142 install-pdf-isl: \ 14143 configure-isl \ 14144 pdf-isl 14145 @[ -f ./isl/Makefile ] || exit 0; \ 14146 r=`${PWD_COMMAND}`; export r; \ 14147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14148 $(HOST_EXPORTS) \ 14149 for flag in $(EXTRA_HOST_FLAGS) V=1; do \ 14150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14151 done; \ 14152 echo "Doing install-pdf in isl" ; \ 14153 (cd $(HOST_SUBDIR)/isl && \ 14154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14156 "RANLIB=$${RANLIB}" \ 14157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14158 install-pdf) \ 14159 || exit 1 14160 14161 @endif isl 14162 14163 .PHONY: maybe-install-html-isl install-html-isl 14164 maybe-install-html-isl: 14165 @if isl 14166 maybe-install-html-isl: install-html-isl 14167 14168 install-html-isl: \ 14169 configure-isl \ 14170 html-isl 14171 @[ -f ./isl/Makefile ] || exit 0; \ 14172 r=`${PWD_COMMAND}`; export r; \ 14173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14174 $(HOST_EXPORTS) \ 14175 for flag in $(EXTRA_HOST_FLAGS) V=1; do \ 14176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14177 done; \ 14178 echo "Doing install-html in isl" ; \ 14179 (cd $(HOST_SUBDIR)/isl && \ 14180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14182 "RANLIB=$${RANLIB}" \ 14183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14184 install-html) \ 14185 || exit 1 14186 14187 @endif isl 14188 14189 .PHONY: maybe-installcheck-isl installcheck-isl 14190 maybe-installcheck-isl: 14191 @if isl 14192 maybe-installcheck-isl: installcheck-isl 14193 14194 installcheck-isl: \ 14195 configure-isl 14196 @[ -f ./isl/Makefile ] || exit 0; \ 14197 r=`${PWD_COMMAND}`; export r; \ 14198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14199 $(HOST_EXPORTS) \ 14200 for flag in $(EXTRA_HOST_FLAGS) V=1; do \ 14201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14202 done; \ 14203 echo "Doing installcheck in isl" ; \ 14204 (cd $(HOST_SUBDIR)/isl && \ 14205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14207 "RANLIB=$${RANLIB}" \ 14208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14209 installcheck) \ 14210 || exit 1 14211 14212 @endif isl 14213 14214 .PHONY: maybe-mostlyclean-isl mostlyclean-isl 14215 maybe-mostlyclean-isl: 14216 @if isl 14217 maybe-mostlyclean-isl: mostlyclean-isl 14218 14219 mostlyclean-isl: 14220 @[ -f ./isl/Makefile ] || exit 0; \ 14221 r=`${PWD_COMMAND}`; export r; \ 14222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14223 $(HOST_EXPORTS) \ 14224 for flag in $(EXTRA_HOST_FLAGS) V=1; do \ 14225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14226 done; \ 14227 echo "Doing mostlyclean in isl" ; \ 14228 (cd $(HOST_SUBDIR)/isl && \ 14229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14231 "RANLIB=$${RANLIB}" \ 14232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14233 mostlyclean) \ 14234 || exit 1 14235 14236 @endif isl 14237 14238 .PHONY: maybe-clean-isl clean-isl 14239 maybe-clean-isl: 14240 @if isl 14241 maybe-clean-isl: clean-isl 14242 14243 clean-isl: 14244 @[ -f ./isl/Makefile ] || exit 0; \ 14245 r=`${PWD_COMMAND}`; export r; \ 14246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14247 $(HOST_EXPORTS) \ 14248 for flag in $(EXTRA_HOST_FLAGS) V=1; do \ 14249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14250 done; \ 14251 echo "Doing clean in isl" ; \ 14252 (cd $(HOST_SUBDIR)/isl && \ 14253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14255 "RANLIB=$${RANLIB}" \ 14256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14257 clean) \ 14258 || exit 1 14259 14260 @endif isl 14261 14262 .PHONY: maybe-distclean-isl distclean-isl 14263 maybe-distclean-isl: 14264 @if isl 14265 maybe-distclean-isl: distclean-isl 14266 14267 distclean-isl: 14268 @[ -f ./isl/Makefile ] || exit 0; \ 14269 r=`${PWD_COMMAND}`; export r; \ 14270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14271 $(HOST_EXPORTS) \ 14272 for flag in $(EXTRA_HOST_FLAGS) V=1; do \ 14273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14274 done; \ 14275 echo "Doing distclean in isl" ; \ 14276 (cd $(HOST_SUBDIR)/isl && \ 14277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14279 "RANLIB=$${RANLIB}" \ 14280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14281 distclean) \ 14282 || exit 1 14283 14284 @endif isl 14285 14286 .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl 14287 maybe-maintainer-clean-isl: 14288 @if isl 14289 maybe-maintainer-clean-isl: maintainer-clean-isl 14290 14291 maintainer-clean-isl: 14292 @[ -f ./isl/Makefile ] || exit 0; \ 14293 r=`${PWD_COMMAND}`; export r; \ 14294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14295 $(HOST_EXPORTS) \ 14296 for flag in $(EXTRA_HOST_FLAGS) V=1; do \ 14297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14298 done; \ 14299 echo "Doing maintainer-clean in isl" ; \ 14300 (cd $(HOST_SUBDIR)/isl && \ 14301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14303 "RANLIB=$${RANLIB}" \ 14304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14305 maintainer-clean) \ 14306 || exit 1 14307 14308 @endif isl 14309 14310 14311 14312 .PHONY: configure-cloog maybe-configure-cloog 14313 maybe-configure-cloog: 14314 @if gcc-bootstrap 14315 configure-cloog: stage_current 14316 @endif gcc-bootstrap 14317 @if cloog 14318 maybe-configure-cloog: configure-cloog 14319 configure-cloog: 14320 @r=`${PWD_COMMAND}`; export r; \ 14321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14322 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ 14323 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ 14324 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ 14325 echo Configuring in $(HOST_SUBDIR)/cloog; \ 14326 cd "$(HOST_SUBDIR)/cloog" || exit 1; \ 14327 case $(srcdir) in \ 14328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 14329 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ 14330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 14331 esac; \ 14332 srcdiroption="--srcdir=$${topdir}/cloog"; \ 14333 libsrcdir="$$s/cloog"; \ 14334 $(SHELL) $${libsrcdir}/configure \ 14335 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 14336 --target=${target_alias} $${srcdiroption} --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system \ 14337 || exit 1 14338 @endif cloog 14339 14340 14341 14342 .PHONY: configure-stage1-cloog maybe-configure-stage1-cloog 14343 maybe-configure-stage1-cloog: 14344 @if cloog-bootstrap 14345 maybe-configure-stage1-cloog: configure-stage1-cloog 14346 configure-stage1-cloog: 14347 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 14348 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog 14349 @r=`${PWD_COMMAND}`; export r; \ 14350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14351 TFLAGS="$(STAGE1_TFLAGS)"; \ 14352 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ 14353 $(HOST_EXPORTS) \ 14354 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 14355 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 14356 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ 14357 echo Configuring stage 1 in $(HOST_SUBDIR)/cloog ; \ 14358 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ 14359 cd $(HOST_SUBDIR)/cloog || exit 1; \ 14360 case $(srcdir) in \ 14361 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 14362 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ 14363 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 14364 esac; \ 14365 srcdiroption="--srcdir=$${topdir}/cloog"; \ 14366 libsrcdir="$$s/cloog"; \ 14367 $(SHELL) $${libsrcdir}/configure \ 14368 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 14369 --target=${target_alias} $${srcdiroption} \ 14370 $(STAGE1_CONFIGURE_FLAGS) \ 14371 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system 14372 @endif cloog-bootstrap 14373 14374 .PHONY: configure-stage2-cloog maybe-configure-stage2-cloog 14375 maybe-configure-stage2-cloog: 14376 @if cloog-bootstrap 14377 maybe-configure-stage2-cloog: configure-stage2-cloog 14378 configure-stage2-cloog: 14379 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 14380 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog 14381 @r=`${PWD_COMMAND}`; export r; \ 14382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14383 TFLAGS="$(STAGE2_TFLAGS)"; \ 14384 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ 14385 $(HOST_EXPORTS) \ 14386 $(POSTSTAGE1_HOST_EXPORTS) \ 14387 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 14388 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 14389 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ 14390 echo Configuring stage 2 in $(HOST_SUBDIR)/cloog ; \ 14391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ 14392 cd $(HOST_SUBDIR)/cloog || exit 1; \ 14393 case $(srcdir) in \ 14394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 14395 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ 14396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 14397 esac; \ 14398 srcdiroption="--srcdir=$${topdir}/cloog"; \ 14399 libsrcdir="$$s/cloog"; \ 14400 $(SHELL) $${libsrcdir}/configure \ 14401 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 14402 --target=${target_alias} $${srcdiroption} \ 14403 --with-build-libsubdir=$(HOST_SUBDIR) \ 14404 $(STAGE2_CONFIGURE_FLAGS) \ 14405 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system 14406 @endif cloog-bootstrap 14407 14408 .PHONY: configure-stage3-cloog maybe-configure-stage3-cloog 14409 maybe-configure-stage3-cloog: 14410 @if cloog-bootstrap 14411 maybe-configure-stage3-cloog: configure-stage3-cloog 14412 configure-stage3-cloog: 14413 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 14414 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog 14415 @r=`${PWD_COMMAND}`; export r; \ 14416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14417 TFLAGS="$(STAGE3_TFLAGS)"; \ 14418 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ 14419 $(HOST_EXPORTS) \ 14420 $(POSTSTAGE1_HOST_EXPORTS) \ 14421 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 14422 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 14423 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ 14424 echo Configuring stage 3 in $(HOST_SUBDIR)/cloog ; \ 14425 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ 14426 cd $(HOST_SUBDIR)/cloog || exit 1; \ 14427 case $(srcdir) in \ 14428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 14429 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ 14430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 14431 esac; \ 14432 srcdiroption="--srcdir=$${topdir}/cloog"; \ 14433 libsrcdir="$$s/cloog"; \ 14434 $(SHELL) $${libsrcdir}/configure \ 14435 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 14436 --target=${target_alias} $${srcdiroption} \ 14437 --with-build-libsubdir=$(HOST_SUBDIR) \ 14438 $(STAGE3_CONFIGURE_FLAGS) \ 14439 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system 14440 @endif cloog-bootstrap 14441 14442 .PHONY: configure-stage4-cloog maybe-configure-stage4-cloog 14443 maybe-configure-stage4-cloog: 14444 @if cloog-bootstrap 14445 maybe-configure-stage4-cloog: configure-stage4-cloog 14446 configure-stage4-cloog: 14447 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 14448 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog 14449 @r=`${PWD_COMMAND}`; export r; \ 14450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14451 TFLAGS="$(STAGE4_TFLAGS)"; \ 14452 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ 14453 $(HOST_EXPORTS) \ 14454 $(POSTSTAGE1_HOST_EXPORTS) \ 14455 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 14456 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 14457 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ 14458 echo Configuring stage 4 in $(HOST_SUBDIR)/cloog ; \ 14459 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ 14460 cd $(HOST_SUBDIR)/cloog || exit 1; \ 14461 case $(srcdir) in \ 14462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 14463 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ 14464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 14465 esac; \ 14466 srcdiroption="--srcdir=$${topdir}/cloog"; \ 14467 libsrcdir="$$s/cloog"; \ 14468 $(SHELL) $${libsrcdir}/configure \ 14469 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 14470 --target=${target_alias} $${srcdiroption} \ 14471 --with-build-libsubdir=$(HOST_SUBDIR) \ 14472 $(STAGE4_CONFIGURE_FLAGS) \ 14473 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system 14474 @endif cloog-bootstrap 14475 14476 .PHONY: configure-stageprofile-cloog maybe-configure-stageprofile-cloog 14477 maybe-configure-stageprofile-cloog: 14478 @if cloog-bootstrap 14479 maybe-configure-stageprofile-cloog: configure-stageprofile-cloog 14480 configure-stageprofile-cloog: 14481 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 14482 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog 14483 @r=`${PWD_COMMAND}`; export r; \ 14484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14485 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 14486 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ 14487 $(HOST_EXPORTS) \ 14488 $(POSTSTAGE1_HOST_EXPORTS) \ 14489 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 14490 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 14491 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ 14492 echo Configuring stage profile in $(HOST_SUBDIR)/cloog ; \ 14493 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ 14494 cd $(HOST_SUBDIR)/cloog || exit 1; \ 14495 case $(srcdir) in \ 14496 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 14497 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ 14498 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 14499 esac; \ 14500 srcdiroption="--srcdir=$${topdir}/cloog"; \ 14501 libsrcdir="$$s/cloog"; \ 14502 $(SHELL) $${libsrcdir}/configure \ 14503 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 14504 --target=${target_alias} $${srcdiroption} \ 14505 --with-build-libsubdir=$(HOST_SUBDIR) \ 14506 $(STAGEprofile_CONFIGURE_FLAGS) \ 14507 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system 14508 @endif cloog-bootstrap 14509 14510 .PHONY: configure-stagefeedback-cloog maybe-configure-stagefeedback-cloog 14511 maybe-configure-stagefeedback-cloog: 14512 @if cloog-bootstrap 14513 maybe-configure-stagefeedback-cloog: configure-stagefeedback-cloog 14514 configure-stagefeedback-cloog: 14515 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 14516 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog 14517 @r=`${PWD_COMMAND}`; export r; \ 14518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14519 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 14520 test ! -f $(HOST_SUBDIR)/cloog/Makefile || exit 0; \ 14521 $(HOST_EXPORTS) \ 14522 $(POSTSTAGE1_HOST_EXPORTS) \ 14523 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 14524 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 14525 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ 14526 echo Configuring stage feedback in $(HOST_SUBDIR)/cloog ; \ 14527 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cloog ; \ 14528 cd $(HOST_SUBDIR)/cloog || exit 1; \ 14529 case $(srcdir) in \ 14530 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 14531 *) topdir=`echo $(HOST_SUBDIR)/cloog/ | \ 14532 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 14533 esac; \ 14534 srcdiroption="--srcdir=$${topdir}/cloog"; \ 14535 libsrcdir="$$s/cloog"; \ 14536 $(SHELL) $${libsrcdir}/configure \ 14537 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 14538 --target=${target_alias} $${srcdiroption} \ 14539 --with-build-libsubdir=$(HOST_SUBDIR) \ 14540 $(STAGEfeedback_CONFIGURE_FLAGS) \ 14541 --disable-shared --with-gmp=system --with-bits=gmp --with-isl=system 14542 @endif cloog-bootstrap 14543 14544 14545 14546 14547 14548 .PHONY: all-cloog maybe-all-cloog 14549 maybe-all-cloog: 14550 @if gcc-bootstrap 14551 all-cloog: stage_current 14552 @endif gcc-bootstrap 14553 @if cloog 14554 TARGET-cloog=all 14555 maybe-all-cloog: all-cloog 14556 all-cloog: configure-cloog 14557 @r=`${PWD_COMMAND}`; export r; \ 14558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14559 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ 14560 (cd $(HOST_SUBDIR)/cloog && \ 14561 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \ 14562 $(TARGET-cloog)) 14563 @endif cloog 14564 14565 14566 14567 .PHONY: all-stage1-cloog maybe-all-stage1-cloog 14568 .PHONY: clean-stage1-cloog maybe-clean-stage1-cloog 14569 maybe-all-stage1-cloog: 14570 maybe-clean-stage1-cloog: 14571 @if cloog-bootstrap 14572 maybe-all-stage1-cloog: all-stage1-cloog 14573 all-stage1: all-stage1-cloog 14574 TARGET-stage1-cloog = $(TARGET-cloog) 14575 all-stage1-cloog: configure-stage1-cloog 14576 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 14577 @r=`${PWD_COMMAND}`; export r; \ 14578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14579 TFLAGS="$(STAGE1_TFLAGS)"; \ 14580 $(HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ 14581 cd $(HOST_SUBDIR)/cloog && \ 14582 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 14583 CFLAGS="$(STAGE1_CFLAGS)" \ 14584 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 14585 LIBCFLAGS="$(LIBCFLAGS)" \ 14586 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 14587 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 14588 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 14589 $(EXTRA_HOST_FLAGS) \ 14590 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \ 14591 TFLAGS="$(STAGE1_TFLAGS)" \ 14592 $(TARGET-stage1-cloog) 14593 14594 maybe-clean-stage1-cloog: clean-stage1-cloog 14595 clean-stage1: clean-stage1-cloog 14596 clean-stage1-cloog: 14597 @if [ $(current_stage) = stage1 ]; then \ 14598 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ 14599 else \ 14600 [ -f $(HOST_SUBDIR)/stage1-cloog/Makefile ] || exit 0; \ 14601 $(MAKE) stage1-start; \ 14602 fi; \ 14603 cd $(HOST_SUBDIR)/cloog && \ 14604 $(MAKE) $(EXTRA_HOST_FLAGS) \ 14605 $(STAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean 14606 @endif cloog-bootstrap 14607 14608 14609 .PHONY: all-stage2-cloog maybe-all-stage2-cloog 14610 .PHONY: clean-stage2-cloog maybe-clean-stage2-cloog 14611 maybe-all-stage2-cloog: 14612 maybe-clean-stage2-cloog: 14613 @if cloog-bootstrap 14614 maybe-all-stage2-cloog: all-stage2-cloog 14615 all-stage2: all-stage2-cloog 14616 TARGET-stage2-cloog = $(TARGET-cloog) 14617 all-stage2-cloog: configure-stage2-cloog 14618 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 14619 @r=`${PWD_COMMAND}`; export r; \ 14620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14621 TFLAGS="$(STAGE2_TFLAGS)"; \ 14622 $(HOST_EXPORTS) \ 14623 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ 14624 cd $(HOST_SUBDIR)/cloog && \ 14625 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 14626 CFLAGS="$(STAGE2_CFLAGS)" \ 14627 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 14628 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 14629 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 14630 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 14631 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 14632 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \ 14633 TFLAGS="$(STAGE2_TFLAGS)" \ 14634 $(TARGET-stage2-cloog) 14635 14636 maybe-clean-stage2-cloog: clean-stage2-cloog 14637 clean-stage2: clean-stage2-cloog 14638 clean-stage2-cloog: 14639 @if [ $(current_stage) = stage2 ]; then \ 14640 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ 14641 else \ 14642 [ -f $(HOST_SUBDIR)/stage2-cloog/Makefile ] || exit 0; \ 14643 $(MAKE) stage2-start; \ 14644 fi; \ 14645 cd $(HOST_SUBDIR)/cloog && \ 14646 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean 14647 @endif cloog-bootstrap 14648 14649 14650 .PHONY: all-stage3-cloog maybe-all-stage3-cloog 14651 .PHONY: clean-stage3-cloog maybe-clean-stage3-cloog 14652 maybe-all-stage3-cloog: 14653 maybe-clean-stage3-cloog: 14654 @if cloog-bootstrap 14655 maybe-all-stage3-cloog: all-stage3-cloog 14656 all-stage3: all-stage3-cloog 14657 TARGET-stage3-cloog = $(TARGET-cloog) 14658 all-stage3-cloog: configure-stage3-cloog 14659 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 14660 @r=`${PWD_COMMAND}`; export r; \ 14661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14662 TFLAGS="$(STAGE3_TFLAGS)"; \ 14663 $(HOST_EXPORTS) \ 14664 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ 14665 cd $(HOST_SUBDIR)/cloog && \ 14666 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 14667 CFLAGS="$(STAGE3_CFLAGS)" \ 14668 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 14669 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 14670 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 14671 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 14672 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 14673 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \ 14674 TFLAGS="$(STAGE3_TFLAGS)" \ 14675 $(TARGET-stage3-cloog) 14676 14677 maybe-clean-stage3-cloog: clean-stage3-cloog 14678 clean-stage3: clean-stage3-cloog 14679 clean-stage3-cloog: 14680 @if [ $(current_stage) = stage3 ]; then \ 14681 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ 14682 else \ 14683 [ -f $(HOST_SUBDIR)/stage3-cloog/Makefile ] || exit 0; \ 14684 $(MAKE) stage3-start; \ 14685 fi; \ 14686 cd $(HOST_SUBDIR)/cloog && \ 14687 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean 14688 @endif cloog-bootstrap 14689 14690 14691 .PHONY: all-stage4-cloog maybe-all-stage4-cloog 14692 .PHONY: clean-stage4-cloog maybe-clean-stage4-cloog 14693 maybe-all-stage4-cloog: 14694 maybe-clean-stage4-cloog: 14695 @if cloog-bootstrap 14696 maybe-all-stage4-cloog: all-stage4-cloog 14697 all-stage4: all-stage4-cloog 14698 TARGET-stage4-cloog = $(TARGET-cloog) 14699 all-stage4-cloog: configure-stage4-cloog 14700 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 14701 @r=`${PWD_COMMAND}`; export r; \ 14702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14703 TFLAGS="$(STAGE4_TFLAGS)"; \ 14704 $(HOST_EXPORTS) \ 14705 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ 14706 cd $(HOST_SUBDIR)/cloog && \ 14707 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 14708 CFLAGS="$(STAGE4_CFLAGS)" \ 14709 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 14710 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 14711 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 14712 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 14713 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 14714 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \ 14715 TFLAGS="$(STAGE4_TFLAGS)" \ 14716 $(TARGET-stage4-cloog) 14717 14718 maybe-clean-stage4-cloog: clean-stage4-cloog 14719 clean-stage4: clean-stage4-cloog 14720 clean-stage4-cloog: 14721 @if [ $(current_stage) = stage4 ]; then \ 14722 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ 14723 else \ 14724 [ -f $(HOST_SUBDIR)/stage4-cloog/Makefile ] || exit 0; \ 14725 $(MAKE) stage4-start; \ 14726 fi; \ 14727 cd $(HOST_SUBDIR)/cloog && \ 14728 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean 14729 @endif cloog-bootstrap 14730 14731 14732 .PHONY: all-stageprofile-cloog maybe-all-stageprofile-cloog 14733 .PHONY: clean-stageprofile-cloog maybe-clean-stageprofile-cloog 14734 maybe-all-stageprofile-cloog: 14735 maybe-clean-stageprofile-cloog: 14736 @if cloog-bootstrap 14737 maybe-all-stageprofile-cloog: all-stageprofile-cloog 14738 all-stageprofile: all-stageprofile-cloog 14739 TARGET-stageprofile-cloog = $(TARGET-cloog) 14740 all-stageprofile-cloog: configure-stageprofile-cloog 14741 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 14742 @r=`${PWD_COMMAND}`; export r; \ 14743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14744 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 14745 $(HOST_EXPORTS) \ 14746 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ 14747 cd $(HOST_SUBDIR)/cloog && \ 14748 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 14749 CFLAGS="$(STAGEprofile_CFLAGS)" \ 14750 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 14751 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 14752 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 14753 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 14754 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 14755 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \ 14756 TFLAGS="$(STAGEprofile_TFLAGS)" \ 14757 $(TARGET-stageprofile-cloog) 14758 14759 maybe-clean-stageprofile-cloog: clean-stageprofile-cloog 14760 clean-stageprofile: clean-stageprofile-cloog 14761 clean-stageprofile-cloog: 14762 @if [ $(current_stage) = stageprofile ]; then \ 14763 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ 14764 else \ 14765 [ -f $(HOST_SUBDIR)/stageprofile-cloog/Makefile ] || exit 0; \ 14766 $(MAKE) stageprofile-start; \ 14767 fi; \ 14768 cd $(HOST_SUBDIR)/cloog && \ 14769 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean 14770 @endif cloog-bootstrap 14771 14772 14773 .PHONY: all-stagefeedback-cloog maybe-all-stagefeedback-cloog 14774 .PHONY: clean-stagefeedback-cloog maybe-clean-stagefeedback-cloog 14775 maybe-all-stagefeedback-cloog: 14776 maybe-clean-stagefeedback-cloog: 14777 @if cloog-bootstrap 14778 maybe-all-stagefeedback-cloog: all-stagefeedback-cloog 14779 all-stagefeedback: all-stagefeedback-cloog 14780 TARGET-stagefeedback-cloog = $(TARGET-cloog) 14781 all-stagefeedback-cloog: configure-stagefeedback-cloog 14782 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 14783 @r=`${PWD_COMMAND}`; export r; \ 14784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14785 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 14786 $(HOST_EXPORTS) \ 14787 $(POSTSTAGE1_HOST_EXPORTS) CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; \ 14788 cd $(HOST_SUBDIR)/cloog && \ 14789 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 14790 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 14791 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 14792 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 14793 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 14794 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 14795 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 14796 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 \ 14797 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 14798 $(TARGET-stagefeedback-cloog) 14799 14800 maybe-clean-stagefeedback-cloog: clean-stagefeedback-cloog 14801 clean-stagefeedback: clean-stagefeedback-cloog 14802 clean-stagefeedback-cloog: 14803 @if [ $(current_stage) = stagefeedback ]; then \ 14804 [ -f $(HOST_SUBDIR)/cloog/Makefile ] || exit 0; \ 14805 else \ 14806 [ -f $(HOST_SUBDIR)/stagefeedback-cloog/Makefile ] || exit 0; \ 14807 $(MAKE) stagefeedback-start; \ 14808 fi; \ 14809 cd $(HOST_SUBDIR)/cloog && \ 14810 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 clean 14811 @endif cloog-bootstrap 14812 14813 14814 14815 14816 14817 .PHONY: check-cloog maybe-check-cloog 14818 maybe-check-cloog: 14819 @if cloog 14820 maybe-check-cloog: check-cloog 14821 14822 check-cloog: 14823 @: $(MAKE); $(unstage) 14824 @r=`${PWD_COMMAND}`; export r; \ 14825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14826 $(HOST_EXPORTS) \ 14827 (cd $(HOST_SUBDIR)/cloog && \ 14828 $(MAKE) $(FLAGS_TO_PASS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1 check) 14829 14830 @endif cloog 14831 14832 .PHONY: install-cloog maybe-install-cloog 14833 maybe-install-cloog: 14834 @if cloog 14835 maybe-install-cloog: install-cloog 14836 14837 install-cloog: 14838 14839 @endif cloog 14840 14841 .PHONY: install-strip-cloog maybe-install-strip-cloog 14842 maybe-install-strip-cloog: 14843 @if cloog 14844 maybe-install-strip-cloog: install-strip-cloog 14845 14846 install-strip-cloog: 14847 14848 @endif cloog 14849 14850 # Other targets (info, dvi, pdf, etc.) 14851 14852 .PHONY: maybe-info-cloog info-cloog 14853 maybe-info-cloog: 14854 @if cloog 14855 maybe-info-cloog: info-cloog 14856 14857 info-cloog: \ 14858 configure-cloog 14859 @[ -f ./cloog/Makefile ] || exit 0; \ 14860 r=`${PWD_COMMAND}`; export r; \ 14861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14862 $(HOST_EXPORTS) \ 14863 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ 14864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14865 done; \ 14866 echo "Doing info in cloog" ; \ 14867 (cd $(HOST_SUBDIR)/cloog && \ 14868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14870 "RANLIB=$${RANLIB}" \ 14871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14872 info) \ 14873 || exit 1 14874 14875 @endif cloog 14876 14877 .PHONY: maybe-dvi-cloog dvi-cloog 14878 maybe-dvi-cloog: 14879 @if cloog 14880 maybe-dvi-cloog: dvi-cloog 14881 14882 dvi-cloog: \ 14883 configure-cloog 14884 @[ -f ./cloog/Makefile ] || exit 0; \ 14885 r=`${PWD_COMMAND}`; export r; \ 14886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14887 $(HOST_EXPORTS) \ 14888 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ 14889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14890 done; \ 14891 echo "Doing dvi in cloog" ; \ 14892 (cd $(HOST_SUBDIR)/cloog && \ 14893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14895 "RANLIB=$${RANLIB}" \ 14896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14897 dvi) \ 14898 || exit 1 14899 14900 @endif cloog 14901 14902 .PHONY: maybe-pdf-cloog pdf-cloog 14903 maybe-pdf-cloog: 14904 @if cloog 14905 maybe-pdf-cloog: pdf-cloog 14906 14907 pdf-cloog: \ 14908 configure-cloog 14909 @[ -f ./cloog/Makefile ] || exit 0; \ 14910 r=`${PWD_COMMAND}`; export r; \ 14911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14912 $(HOST_EXPORTS) \ 14913 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ 14914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14915 done; \ 14916 echo "Doing pdf in cloog" ; \ 14917 (cd $(HOST_SUBDIR)/cloog && \ 14918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14920 "RANLIB=$${RANLIB}" \ 14921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14922 pdf) \ 14923 || exit 1 14924 14925 @endif cloog 14926 14927 .PHONY: maybe-html-cloog html-cloog 14928 maybe-html-cloog: 14929 @if cloog 14930 maybe-html-cloog: html-cloog 14931 14932 html-cloog: \ 14933 configure-cloog 14934 @[ -f ./cloog/Makefile ] || exit 0; \ 14935 r=`${PWD_COMMAND}`; export r; \ 14936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14937 $(HOST_EXPORTS) \ 14938 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ 14939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14940 done; \ 14941 echo "Doing html in cloog" ; \ 14942 (cd $(HOST_SUBDIR)/cloog && \ 14943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14945 "RANLIB=$${RANLIB}" \ 14946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14947 html) \ 14948 || exit 1 14949 14950 @endif cloog 14951 14952 .PHONY: maybe-TAGS-cloog TAGS-cloog 14953 maybe-TAGS-cloog: 14954 @if cloog 14955 maybe-TAGS-cloog: TAGS-cloog 14956 14957 TAGS-cloog: \ 14958 configure-cloog 14959 @[ -f ./cloog/Makefile ] || exit 0; \ 14960 r=`${PWD_COMMAND}`; export r; \ 14961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14962 $(HOST_EXPORTS) \ 14963 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ 14964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14965 done; \ 14966 echo "Doing TAGS in cloog" ; \ 14967 (cd $(HOST_SUBDIR)/cloog && \ 14968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14970 "RANLIB=$${RANLIB}" \ 14971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14972 TAGS) \ 14973 || exit 1 14974 14975 @endif cloog 14976 14977 .PHONY: maybe-install-info-cloog install-info-cloog 14978 maybe-install-info-cloog: 14979 @if cloog 14980 maybe-install-info-cloog: install-info-cloog 14981 14982 install-info-cloog: \ 14983 configure-cloog \ 14984 info-cloog 14985 @[ -f ./cloog/Makefile ] || exit 0; \ 14986 r=`${PWD_COMMAND}`; export r; \ 14987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 14988 $(HOST_EXPORTS) \ 14989 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ 14990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 14991 done; \ 14992 echo "Doing install-info in cloog" ; \ 14993 (cd $(HOST_SUBDIR)/cloog && \ 14994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 14995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 14996 "RANLIB=$${RANLIB}" \ 14997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 14998 install-info) \ 14999 || exit 1 15000 15001 @endif cloog 15002 15003 .PHONY: maybe-install-pdf-cloog install-pdf-cloog 15004 maybe-install-pdf-cloog: 15005 @if cloog 15006 maybe-install-pdf-cloog: install-pdf-cloog 15007 15008 install-pdf-cloog: \ 15009 configure-cloog \ 15010 pdf-cloog 15011 @[ -f ./cloog/Makefile ] || exit 0; \ 15012 r=`${PWD_COMMAND}`; export r; \ 15013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15014 $(HOST_EXPORTS) \ 15015 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ 15016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15017 done; \ 15018 echo "Doing install-pdf in cloog" ; \ 15019 (cd $(HOST_SUBDIR)/cloog && \ 15020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15022 "RANLIB=$${RANLIB}" \ 15023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15024 install-pdf) \ 15025 || exit 1 15026 15027 @endif cloog 15028 15029 .PHONY: maybe-install-html-cloog install-html-cloog 15030 maybe-install-html-cloog: 15031 @if cloog 15032 maybe-install-html-cloog: install-html-cloog 15033 15034 install-html-cloog: \ 15035 configure-cloog \ 15036 html-cloog 15037 @[ -f ./cloog/Makefile ] || exit 0; \ 15038 r=`${PWD_COMMAND}`; export r; \ 15039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15040 $(HOST_EXPORTS) \ 15041 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ 15042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15043 done; \ 15044 echo "Doing install-html in cloog" ; \ 15045 (cd $(HOST_SUBDIR)/cloog && \ 15046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15048 "RANLIB=$${RANLIB}" \ 15049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15050 install-html) \ 15051 || exit 1 15052 15053 @endif cloog 15054 15055 .PHONY: maybe-installcheck-cloog installcheck-cloog 15056 maybe-installcheck-cloog: 15057 @if cloog 15058 maybe-installcheck-cloog: installcheck-cloog 15059 15060 installcheck-cloog: \ 15061 configure-cloog 15062 @[ -f ./cloog/Makefile ] || exit 0; \ 15063 r=`${PWD_COMMAND}`; export r; \ 15064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15065 $(HOST_EXPORTS) \ 15066 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ 15067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15068 done; \ 15069 echo "Doing installcheck in cloog" ; \ 15070 (cd $(HOST_SUBDIR)/cloog && \ 15071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15073 "RANLIB=$${RANLIB}" \ 15074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15075 installcheck) \ 15076 || exit 1 15077 15078 @endif cloog 15079 15080 .PHONY: maybe-mostlyclean-cloog mostlyclean-cloog 15081 maybe-mostlyclean-cloog: 15082 @if cloog 15083 maybe-mostlyclean-cloog: mostlyclean-cloog 15084 15085 mostlyclean-cloog: 15086 @[ -f ./cloog/Makefile ] || exit 0; \ 15087 r=`${PWD_COMMAND}`; export r; \ 15088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15089 $(HOST_EXPORTS) \ 15090 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ 15091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15092 done; \ 15093 echo "Doing mostlyclean in cloog" ; \ 15094 (cd $(HOST_SUBDIR)/cloog && \ 15095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15097 "RANLIB=$${RANLIB}" \ 15098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15099 mostlyclean) \ 15100 || exit 1 15101 15102 @endif cloog 15103 15104 .PHONY: maybe-clean-cloog clean-cloog 15105 maybe-clean-cloog: 15106 @if cloog 15107 maybe-clean-cloog: clean-cloog 15108 15109 clean-cloog: 15110 @[ -f ./cloog/Makefile ] || exit 0; \ 15111 r=`${PWD_COMMAND}`; export r; \ 15112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15113 $(HOST_EXPORTS) \ 15114 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ 15115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15116 done; \ 15117 echo "Doing clean in cloog" ; \ 15118 (cd $(HOST_SUBDIR)/cloog && \ 15119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15121 "RANLIB=$${RANLIB}" \ 15122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15123 clean) \ 15124 || exit 1 15125 15126 @endif cloog 15127 15128 .PHONY: maybe-distclean-cloog distclean-cloog 15129 maybe-distclean-cloog: 15130 @if cloog 15131 maybe-distclean-cloog: distclean-cloog 15132 15133 distclean-cloog: 15134 @[ -f ./cloog/Makefile ] || exit 0; \ 15135 r=`${PWD_COMMAND}`; export r; \ 15136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15137 $(HOST_EXPORTS) \ 15138 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ 15139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15140 done; \ 15141 echo "Doing distclean in cloog" ; \ 15142 (cd $(HOST_SUBDIR)/cloog && \ 15143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15145 "RANLIB=$${RANLIB}" \ 15146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15147 distclean) \ 15148 || exit 1 15149 15150 @endif cloog 15151 15152 .PHONY: maybe-maintainer-clean-cloog maintainer-clean-cloog 15153 maybe-maintainer-clean-cloog: 15154 @if cloog 15155 maybe-maintainer-clean-cloog: maintainer-clean-cloog 15156 15157 maintainer-clean-cloog: 15158 @[ -f ./cloog/Makefile ] || exit 0; \ 15159 r=`${PWD_COMMAND}`; export r; \ 15160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15161 $(HOST_EXPORTS) \ 15162 for flag in $(EXTRA_HOST_FLAGS) CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1; do \ 15163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15164 done; \ 15165 echo "Doing maintainer-clean in cloog" ; \ 15166 (cd $(HOST_SUBDIR)/cloog && \ 15167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15169 "RANLIB=$${RANLIB}" \ 15170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15171 maintainer-clean) \ 15172 || exit 1 15173 15174 @endif cloog 15175 15176 15177 15178 .PHONY: configure-libelf maybe-configure-libelf 15179 maybe-configure-libelf: 15180 @if gcc-bootstrap 15181 configure-libelf: stage_current 15182 @endif gcc-bootstrap 15183 @if libelf 15184 maybe-configure-libelf: configure-libelf 15185 configure-libelf: 15186 @r=`${PWD_COMMAND}`; export r; \ 15187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15188 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ 15189 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ 15190 $(HOST_EXPORTS) \ 15191 echo Configuring in $(HOST_SUBDIR)/libelf; \ 15192 cd "$(HOST_SUBDIR)/libelf" || exit 1; \ 15193 case $(srcdir) in \ 15194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 15195 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ 15196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 15197 esac; \ 15198 srcdiroption="--srcdir=$${topdir}/libelf"; \ 15199 libsrcdir="$$s/libelf"; \ 15200 $(SHELL) $${libsrcdir}/configure \ 15201 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 15202 --target=${target_alias} $${srcdiroption} --disable-shared \ 15203 || exit 1 15204 @endif libelf 15205 15206 15207 15208 .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf 15209 maybe-configure-stage1-libelf: 15210 @if libelf-bootstrap 15211 maybe-configure-stage1-libelf: configure-stage1-libelf 15212 configure-stage1-libelf: 15213 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 15214 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf 15215 @r=`${PWD_COMMAND}`; export r; \ 15216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15217 TFLAGS="$(STAGE1_TFLAGS)"; \ 15218 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ 15219 $(HOST_EXPORTS) \ 15220 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 15221 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 15222 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 15223 echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \ 15224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ 15225 cd $(HOST_SUBDIR)/libelf || exit 1; \ 15226 case $(srcdir) in \ 15227 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 15228 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ 15229 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 15230 esac; \ 15231 srcdiroption="--srcdir=$${topdir}/libelf"; \ 15232 libsrcdir="$$s/libelf"; \ 15233 $(SHELL) $${libsrcdir}/configure \ 15234 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 15235 --target=${target_alias} $${srcdiroption} \ 15236 $(STAGE1_CONFIGURE_FLAGS) \ 15237 --disable-shared 15238 @endif libelf-bootstrap 15239 15240 .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf 15241 maybe-configure-stage2-libelf: 15242 @if libelf-bootstrap 15243 maybe-configure-stage2-libelf: configure-stage2-libelf 15244 configure-stage2-libelf: 15245 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 15246 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf 15247 @r=`${PWD_COMMAND}`; export r; \ 15248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15249 TFLAGS="$(STAGE2_TFLAGS)"; \ 15250 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ 15251 $(HOST_EXPORTS) \ 15252 $(POSTSTAGE1_HOST_EXPORTS) \ 15253 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 15254 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 15255 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 15256 echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \ 15257 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ 15258 cd $(HOST_SUBDIR)/libelf || exit 1; \ 15259 case $(srcdir) in \ 15260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 15261 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ 15262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 15263 esac; \ 15264 srcdiroption="--srcdir=$${topdir}/libelf"; \ 15265 libsrcdir="$$s/libelf"; \ 15266 $(SHELL) $${libsrcdir}/configure \ 15267 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 15268 --target=${target_alias} $${srcdiroption} \ 15269 --with-build-libsubdir=$(HOST_SUBDIR) \ 15270 $(STAGE2_CONFIGURE_FLAGS) \ 15271 --disable-shared 15272 @endif libelf-bootstrap 15273 15274 .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf 15275 maybe-configure-stage3-libelf: 15276 @if libelf-bootstrap 15277 maybe-configure-stage3-libelf: configure-stage3-libelf 15278 configure-stage3-libelf: 15279 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 15280 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf 15281 @r=`${PWD_COMMAND}`; export r; \ 15282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15283 TFLAGS="$(STAGE3_TFLAGS)"; \ 15284 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ 15285 $(HOST_EXPORTS) \ 15286 $(POSTSTAGE1_HOST_EXPORTS) \ 15287 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 15288 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 15289 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 15290 echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \ 15291 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ 15292 cd $(HOST_SUBDIR)/libelf || exit 1; \ 15293 case $(srcdir) in \ 15294 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 15295 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ 15296 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 15297 esac; \ 15298 srcdiroption="--srcdir=$${topdir}/libelf"; \ 15299 libsrcdir="$$s/libelf"; \ 15300 $(SHELL) $${libsrcdir}/configure \ 15301 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 15302 --target=${target_alias} $${srcdiroption} \ 15303 --with-build-libsubdir=$(HOST_SUBDIR) \ 15304 $(STAGE3_CONFIGURE_FLAGS) \ 15305 --disable-shared 15306 @endif libelf-bootstrap 15307 15308 .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf 15309 maybe-configure-stage4-libelf: 15310 @if libelf-bootstrap 15311 maybe-configure-stage4-libelf: configure-stage4-libelf 15312 configure-stage4-libelf: 15313 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 15314 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf 15315 @r=`${PWD_COMMAND}`; export r; \ 15316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15317 TFLAGS="$(STAGE4_TFLAGS)"; \ 15318 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ 15319 $(HOST_EXPORTS) \ 15320 $(POSTSTAGE1_HOST_EXPORTS) \ 15321 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 15322 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 15323 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 15324 echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \ 15325 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ 15326 cd $(HOST_SUBDIR)/libelf || exit 1; \ 15327 case $(srcdir) in \ 15328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 15329 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ 15330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 15331 esac; \ 15332 srcdiroption="--srcdir=$${topdir}/libelf"; \ 15333 libsrcdir="$$s/libelf"; \ 15334 $(SHELL) $${libsrcdir}/configure \ 15335 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 15336 --target=${target_alias} $${srcdiroption} \ 15337 --with-build-libsubdir=$(HOST_SUBDIR) \ 15338 $(STAGE4_CONFIGURE_FLAGS) \ 15339 --disable-shared 15340 @endif libelf-bootstrap 15341 15342 .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf 15343 maybe-configure-stageprofile-libelf: 15344 @if libelf-bootstrap 15345 maybe-configure-stageprofile-libelf: configure-stageprofile-libelf 15346 configure-stageprofile-libelf: 15347 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 15348 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf 15349 @r=`${PWD_COMMAND}`; export r; \ 15350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15351 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 15352 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ 15353 $(HOST_EXPORTS) \ 15354 $(POSTSTAGE1_HOST_EXPORTS) \ 15355 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 15356 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 15357 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 15358 echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \ 15359 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ 15360 cd $(HOST_SUBDIR)/libelf || exit 1; \ 15361 case $(srcdir) in \ 15362 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 15363 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ 15364 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 15365 esac; \ 15366 srcdiroption="--srcdir=$${topdir}/libelf"; \ 15367 libsrcdir="$$s/libelf"; \ 15368 $(SHELL) $${libsrcdir}/configure \ 15369 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 15370 --target=${target_alias} $${srcdiroption} \ 15371 --with-build-libsubdir=$(HOST_SUBDIR) \ 15372 $(STAGEprofile_CONFIGURE_FLAGS) \ 15373 --disable-shared 15374 @endif libelf-bootstrap 15375 15376 .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf 15377 maybe-configure-stagefeedback-libelf: 15378 @if libelf-bootstrap 15379 maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf 15380 configure-stagefeedback-libelf: 15381 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 15382 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf 15383 @r=`${PWD_COMMAND}`; export r; \ 15384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15385 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 15386 test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \ 15387 $(HOST_EXPORTS) \ 15388 $(POSTSTAGE1_HOST_EXPORTS) \ 15389 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 15390 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 15391 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 15392 echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \ 15393 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \ 15394 cd $(HOST_SUBDIR)/libelf || exit 1; \ 15395 case $(srcdir) in \ 15396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 15397 *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \ 15398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 15399 esac; \ 15400 srcdiroption="--srcdir=$${topdir}/libelf"; \ 15401 libsrcdir="$$s/libelf"; \ 15402 $(SHELL) $${libsrcdir}/configure \ 15403 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 15404 --target=${target_alias} $${srcdiroption} \ 15405 --with-build-libsubdir=$(HOST_SUBDIR) \ 15406 $(STAGEfeedback_CONFIGURE_FLAGS) \ 15407 --disable-shared 15408 @endif libelf-bootstrap 15409 15410 15411 15412 15413 15414 .PHONY: all-libelf maybe-all-libelf 15415 maybe-all-libelf: 15416 @if gcc-bootstrap 15417 all-libelf: stage_current 15418 @endif gcc-bootstrap 15419 @if libelf 15420 TARGET-libelf=all 15421 maybe-all-libelf: all-libelf 15422 all-libelf: configure-libelf 15423 @r=`${PWD_COMMAND}`; export r; \ 15424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15425 $(HOST_EXPORTS) \ 15426 (cd $(HOST_SUBDIR)/libelf && \ 15427 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 15428 $(TARGET-libelf)) 15429 @endif libelf 15430 15431 15432 15433 .PHONY: all-stage1-libelf maybe-all-stage1-libelf 15434 .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf 15435 maybe-all-stage1-libelf: 15436 maybe-clean-stage1-libelf: 15437 @if libelf-bootstrap 15438 maybe-all-stage1-libelf: all-stage1-libelf 15439 all-stage1: all-stage1-libelf 15440 TARGET-stage1-libelf = $(TARGET-libelf) 15441 all-stage1-libelf: configure-stage1-libelf 15442 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 15443 @r=`${PWD_COMMAND}`; export r; \ 15444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15445 TFLAGS="$(STAGE1_TFLAGS)"; \ 15446 $(HOST_EXPORTS) \ 15447 cd $(HOST_SUBDIR)/libelf && \ 15448 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 15449 CFLAGS="$(STAGE1_CFLAGS)" \ 15450 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 15451 LIBCFLAGS="$(LIBCFLAGS)" \ 15452 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 15453 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 15454 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 15455 $(EXTRA_HOST_FLAGS) \ 15456 $(STAGE1_FLAGS_TO_PASS) \ 15457 TFLAGS="$(STAGE1_TFLAGS)" \ 15458 $(TARGET-stage1-libelf) 15459 15460 maybe-clean-stage1-libelf: clean-stage1-libelf 15461 clean-stage1: clean-stage1-libelf 15462 clean-stage1-libelf: 15463 @if [ $(current_stage) = stage1 ]; then \ 15464 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ 15465 else \ 15466 [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \ 15467 $(MAKE) stage1-start; \ 15468 fi; \ 15469 cd $(HOST_SUBDIR)/libelf && \ 15470 $(MAKE) $(EXTRA_HOST_FLAGS) \ 15471 $(STAGE1_FLAGS_TO_PASS) clean 15472 @endif libelf-bootstrap 15473 15474 15475 .PHONY: all-stage2-libelf maybe-all-stage2-libelf 15476 .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf 15477 maybe-all-stage2-libelf: 15478 maybe-clean-stage2-libelf: 15479 @if libelf-bootstrap 15480 maybe-all-stage2-libelf: all-stage2-libelf 15481 all-stage2: all-stage2-libelf 15482 TARGET-stage2-libelf = $(TARGET-libelf) 15483 all-stage2-libelf: configure-stage2-libelf 15484 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 15485 @r=`${PWD_COMMAND}`; export r; \ 15486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15487 TFLAGS="$(STAGE2_TFLAGS)"; \ 15488 $(HOST_EXPORTS) \ 15489 $(POSTSTAGE1_HOST_EXPORTS) \ 15490 cd $(HOST_SUBDIR)/libelf && \ 15491 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 15492 CFLAGS="$(STAGE2_CFLAGS)" \ 15493 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 15494 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 15495 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 15496 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 15497 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 15498 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 15499 TFLAGS="$(STAGE2_TFLAGS)" \ 15500 $(TARGET-stage2-libelf) 15501 15502 maybe-clean-stage2-libelf: clean-stage2-libelf 15503 clean-stage2: clean-stage2-libelf 15504 clean-stage2-libelf: 15505 @if [ $(current_stage) = stage2 ]; then \ 15506 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ 15507 else \ 15508 [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \ 15509 $(MAKE) stage2-start; \ 15510 fi; \ 15511 cd $(HOST_SUBDIR)/libelf && \ 15512 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 15513 @endif libelf-bootstrap 15514 15515 15516 .PHONY: all-stage3-libelf maybe-all-stage3-libelf 15517 .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf 15518 maybe-all-stage3-libelf: 15519 maybe-clean-stage3-libelf: 15520 @if libelf-bootstrap 15521 maybe-all-stage3-libelf: all-stage3-libelf 15522 all-stage3: all-stage3-libelf 15523 TARGET-stage3-libelf = $(TARGET-libelf) 15524 all-stage3-libelf: configure-stage3-libelf 15525 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 15526 @r=`${PWD_COMMAND}`; export r; \ 15527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15528 TFLAGS="$(STAGE3_TFLAGS)"; \ 15529 $(HOST_EXPORTS) \ 15530 $(POSTSTAGE1_HOST_EXPORTS) \ 15531 cd $(HOST_SUBDIR)/libelf && \ 15532 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 15533 CFLAGS="$(STAGE3_CFLAGS)" \ 15534 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 15535 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 15536 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 15537 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 15538 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 15539 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 15540 TFLAGS="$(STAGE3_TFLAGS)" \ 15541 $(TARGET-stage3-libelf) 15542 15543 maybe-clean-stage3-libelf: clean-stage3-libelf 15544 clean-stage3: clean-stage3-libelf 15545 clean-stage3-libelf: 15546 @if [ $(current_stage) = stage3 ]; then \ 15547 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ 15548 else \ 15549 [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \ 15550 $(MAKE) stage3-start; \ 15551 fi; \ 15552 cd $(HOST_SUBDIR)/libelf && \ 15553 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 15554 @endif libelf-bootstrap 15555 15556 15557 .PHONY: all-stage4-libelf maybe-all-stage4-libelf 15558 .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf 15559 maybe-all-stage4-libelf: 15560 maybe-clean-stage4-libelf: 15561 @if libelf-bootstrap 15562 maybe-all-stage4-libelf: all-stage4-libelf 15563 all-stage4: all-stage4-libelf 15564 TARGET-stage4-libelf = $(TARGET-libelf) 15565 all-stage4-libelf: configure-stage4-libelf 15566 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 15567 @r=`${PWD_COMMAND}`; export r; \ 15568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15569 TFLAGS="$(STAGE4_TFLAGS)"; \ 15570 $(HOST_EXPORTS) \ 15571 $(POSTSTAGE1_HOST_EXPORTS) \ 15572 cd $(HOST_SUBDIR)/libelf && \ 15573 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 15574 CFLAGS="$(STAGE4_CFLAGS)" \ 15575 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 15576 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 15577 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 15578 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 15579 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 15580 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 15581 TFLAGS="$(STAGE4_TFLAGS)" \ 15582 $(TARGET-stage4-libelf) 15583 15584 maybe-clean-stage4-libelf: clean-stage4-libelf 15585 clean-stage4: clean-stage4-libelf 15586 clean-stage4-libelf: 15587 @if [ $(current_stage) = stage4 ]; then \ 15588 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ 15589 else \ 15590 [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \ 15591 $(MAKE) stage4-start; \ 15592 fi; \ 15593 cd $(HOST_SUBDIR)/libelf && \ 15594 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 15595 @endif libelf-bootstrap 15596 15597 15598 .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf 15599 .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf 15600 maybe-all-stageprofile-libelf: 15601 maybe-clean-stageprofile-libelf: 15602 @if libelf-bootstrap 15603 maybe-all-stageprofile-libelf: all-stageprofile-libelf 15604 all-stageprofile: all-stageprofile-libelf 15605 TARGET-stageprofile-libelf = $(TARGET-libelf) 15606 all-stageprofile-libelf: configure-stageprofile-libelf 15607 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 15608 @r=`${PWD_COMMAND}`; export r; \ 15609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15610 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 15611 $(HOST_EXPORTS) \ 15612 $(POSTSTAGE1_HOST_EXPORTS) \ 15613 cd $(HOST_SUBDIR)/libelf && \ 15614 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 15615 CFLAGS="$(STAGEprofile_CFLAGS)" \ 15616 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 15617 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 15618 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 15619 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 15620 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 15621 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 15622 TFLAGS="$(STAGEprofile_TFLAGS)" \ 15623 $(TARGET-stageprofile-libelf) 15624 15625 maybe-clean-stageprofile-libelf: clean-stageprofile-libelf 15626 clean-stageprofile: clean-stageprofile-libelf 15627 clean-stageprofile-libelf: 15628 @if [ $(current_stage) = stageprofile ]; then \ 15629 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ 15630 else \ 15631 [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \ 15632 $(MAKE) stageprofile-start; \ 15633 fi; \ 15634 cd $(HOST_SUBDIR)/libelf && \ 15635 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 15636 @endif libelf-bootstrap 15637 15638 15639 .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf 15640 .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf 15641 maybe-all-stagefeedback-libelf: 15642 maybe-clean-stagefeedback-libelf: 15643 @if libelf-bootstrap 15644 maybe-all-stagefeedback-libelf: all-stagefeedback-libelf 15645 all-stagefeedback: all-stagefeedback-libelf 15646 TARGET-stagefeedback-libelf = $(TARGET-libelf) 15647 all-stagefeedback-libelf: configure-stagefeedback-libelf 15648 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 15649 @r=`${PWD_COMMAND}`; export r; \ 15650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15651 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 15652 $(HOST_EXPORTS) \ 15653 $(POSTSTAGE1_HOST_EXPORTS) \ 15654 cd $(HOST_SUBDIR)/libelf && \ 15655 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 15656 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 15657 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 15658 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 15659 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 15660 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 15661 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 15662 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 15663 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 15664 $(TARGET-stagefeedback-libelf) 15665 15666 maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf 15667 clean-stagefeedback: clean-stagefeedback-libelf 15668 clean-stagefeedback-libelf: 15669 @if [ $(current_stage) = stagefeedback ]; then \ 15670 [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \ 15671 else \ 15672 [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \ 15673 $(MAKE) stagefeedback-start; \ 15674 fi; \ 15675 cd $(HOST_SUBDIR)/libelf && \ 15676 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 15677 @endif libelf-bootstrap 15678 15679 15680 15681 15682 15683 .PHONY: check-libelf maybe-check-libelf 15684 maybe-check-libelf: 15685 @if libelf 15686 maybe-check-libelf: check-libelf 15687 15688 check-libelf: 15689 @: $(MAKE); $(unstage) 15690 @r=`${PWD_COMMAND}`; export r; \ 15691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15692 $(HOST_EXPORTS) \ 15693 (cd $(HOST_SUBDIR)/libelf && \ 15694 $(MAKE) $(FLAGS_TO_PASS) check) 15695 15696 @endif libelf 15697 15698 .PHONY: install-libelf maybe-install-libelf 15699 maybe-install-libelf: 15700 @if libelf 15701 maybe-install-libelf: install-libelf 15702 15703 install-libelf: 15704 15705 @endif libelf 15706 15707 .PHONY: install-strip-libelf maybe-install-strip-libelf 15708 maybe-install-strip-libelf: 15709 @if libelf 15710 maybe-install-strip-libelf: install-strip-libelf 15711 15712 install-strip-libelf: 15713 15714 @endif libelf 15715 15716 # Other targets (info, dvi, pdf, etc.) 15717 15718 .PHONY: maybe-info-libelf info-libelf 15719 maybe-info-libelf: 15720 @if libelf 15721 maybe-info-libelf: info-libelf 15722 15723 info-libelf: \ 15724 configure-libelf 15725 @[ -f ./libelf/Makefile ] || exit 0; \ 15726 r=`${PWD_COMMAND}`; export r; \ 15727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15728 $(HOST_EXPORTS) \ 15729 for flag in $(EXTRA_HOST_FLAGS) ; do \ 15730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15731 done; \ 15732 echo "Doing info in libelf" ; \ 15733 (cd $(HOST_SUBDIR)/libelf && \ 15734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15736 "RANLIB=$${RANLIB}" \ 15737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15738 info) \ 15739 || exit 1 15740 15741 @endif libelf 15742 15743 .PHONY: maybe-dvi-libelf dvi-libelf 15744 maybe-dvi-libelf: 15745 @if libelf 15746 maybe-dvi-libelf: dvi-libelf 15747 15748 dvi-libelf: \ 15749 configure-libelf 15750 @[ -f ./libelf/Makefile ] || exit 0; \ 15751 r=`${PWD_COMMAND}`; export r; \ 15752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15753 $(HOST_EXPORTS) \ 15754 for flag in $(EXTRA_HOST_FLAGS) ; do \ 15755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15756 done; \ 15757 echo "Doing dvi in libelf" ; \ 15758 (cd $(HOST_SUBDIR)/libelf && \ 15759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15761 "RANLIB=$${RANLIB}" \ 15762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15763 dvi) \ 15764 || exit 1 15765 15766 @endif libelf 15767 15768 .PHONY: maybe-pdf-libelf pdf-libelf 15769 maybe-pdf-libelf: 15770 @if libelf 15771 maybe-pdf-libelf: pdf-libelf 15772 15773 pdf-libelf: \ 15774 configure-libelf 15775 @[ -f ./libelf/Makefile ] || exit 0; \ 15776 r=`${PWD_COMMAND}`; export r; \ 15777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15778 $(HOST_EXPORTS) \ 15779 for flag in $(EXTRA_HOST_FLAGS) ; do \ 15780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15781 done; \ 15782 echo "Doing pdf in libelf" ; \ 15783 (cd $(HOST_SUBDIR)/libelf && \ 15784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15786 "RANLIB=$${RANLIB}" \ 15787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15788 pdf) \ 15789 || exit 1 15790 15791 @endif libelf 15792 15793 .PHONY: maybe-html-libelf html-libelf 15794 maybe-html-libelf: 15795 @if libelf 15796 maybe-html-libelf: html-libelf 15797 15798 html-libelf: \ 15799 configure-libelf 15800 @[ -f ./libelf/Makefile ] || exit 0; \ 15801 r=`${PWD_COMMAND}`; export r; \ 15802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15803 $(HOST_EXPORTS) \ 15804 for flag in $(EXTRA_HOST_FLAGS) ; do \ 15805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15806 done; \ 15807 echo "Doing html in libelf" ; \ 15808 (cd $(HOST_SUBDIR)/libelf && \ 15809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15811 "RANLIB=$${RANLIB}" \ 15812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15813 html) \ 15814 || exit 1 15815 15816 @endif libelf 15817 15818 .PHONY: maybe-TAGS-libelf TAGS-libelf 15819 maybe-TAGS-libelf: 15820 @if libelf 15821 maybe-TAGS-libelf: TAGS-libelf 15822 15823 TAGS-libelf: \ 15824 configure-libelf 15825 @[ -f ./libelf/Makefile ] || exit 0; \ 15826 r=`${PWD_COMMAND}`; export r; \ 15827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15828 $(HOST_EXPORTS) \ 15829 for flag in $(EXTRA_HOST_FLAGS) ; do \ 15830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15831 done; \ 15832 echo "Doing TAGS in libelf" ; \ 15833 (cd $(HOST_SUBDIR)/libelf && \ 15834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15836 "RANLIB=$${RANLIB}" \ 15837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15838 TAGS) \ 15839 || exit 1 15840 15841 @endif libelf 15842 15843 .PHONY: maybe-install-info-libelf install-info-libelf 15844 maybe-install-info-libelf: 15845 @if libelf 15846 maybe-install-info-libelf: install-info-libelf 15847 15848 install-info-libelf: \ 15849 configure-libelf \ 15850 info-libelf 15851 @[ -f ./libelf/Makefile ] || exit 0; \ 15852 r=`${PWD_COMMAND}`; export r; \ 15853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15854 $(HOST_EXPORTS) \ 15855 for flag in $(EXTRA_HOST_FLAGS) ; do \ 15856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15857 done; \ 15858 echo "Doing install-info in libelf" ; \ 15859 (cd $(HOST_SUBDIR)/libelf && \ 15860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15862 "RANLIB=$${RANLIB}" \ 15863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15864 install-info) \ 15865 || exit 1 15866 15867 @endif libelf 15868 15869 .PHONY: maybe-install-pdf-libelf install-pdf-libelf 15870 maybe-install-pdf-libelf: 15871 @if libelf 15872 maybe-install-pdf-libelf: install-pdf-libelf 15873 15874 install-pdf-libelf: \ 15875 configure-libelf \ 15876 pdf-libelf 15877 @[ -f ./libelf/Makefile ] || exit 0; \ 15878 r=`${PWD_COMMAND}`; export r; \ 15879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15880 $(HOST_EXPORTS) \ 15881 for flag in $(EXTRA_HOST_FLAGS) ; do \ 15882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15883 done; \ 15884 echo "Doing install-pdf in libelf" ; \ 15885 (cd $(HOST_SUBDIR)/libelf && \ 15886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15888 "RANLIB=$${RANLIB}" \ 15889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15890 install-pdf) \ 15891 || exit 1 15892 15893 @endif libelf 15894 15895 .PHONY: maybe-install-html-libelf install-html-libelf 15896 maybe-install-html-libelf: 15897 @if libelf 15898 maybe-install-html-libelf: install-html-libelf 15899 15900 install-html-libelf: \ 15901 configure-libelf \ 15902 html-libelf 15903 @[ -f ./libelf/Makefile ] || exit 0; \ 15904 r=`${PWD_COMMAND}`; export r; \ 15905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15906 $(HOST_EXPORTS) \ 15907 for flag in $(EXTRA_HOST_FLAGS) ; do \ 15908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15909 done; \ 15910 echo "Doing install-html in libelf" ; \ 15911 (cd $(HOST_SUBDIR)/libelf && \ 15912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15914 "RANLIB=$${RANLIB}" \ 15915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15916 install-html) \ 15917 || exit 1 15918 15919 @endif libelf 15920 15921 .PHONY: maybe-installcheck-libelf installcheck-libelf 15922 maybe-installcheck-libelf: 15923 @if libelf 15924 maybe-installcheck-libelf: installcheck-libelf 15925 15926 installcheck-libelf: \ 15927 configure-libelf 15928 @[ -f ./libelf/Makefile ] || exit 0; \ 15929 r=`${PWD_COMMAND}`; export r; \ 15930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15931 $(HOST_EXPORTS) \ 15932 for flag in $(EXTRA_HOST_FLAGS) ; do \ 15933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15934 done; \ 15935 echo "Doing installcheck in libelf" ; \ 15936 (cd $(HOST_SUBDIR)/libelf && \ 15937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15939 "RANLIB=$${RANLIB}" \ 15940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15941 installcheck) \ 15942 || exit 1 15943 15944 @endif libelf 15945 15946 .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf 15947 maybe-mostlyclean-libelf: 15948 @if libelf 15949 maybe-mostlyclean-libelf: mostlyclean-libelf 15950 15951 mostlyclean-libelf: 15952 @[ -f ./libelf/Makefile ] || exit 0; \ 15953 r=`${PWD_COMMAND}`; export r; \ 15954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15955 $(HOST_EXPORTS) \ 15956 for flag in $(EXTRA_HOST_FLAGS) ; do \ 15957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15958 done; \ 15959 echo "Doing mostlyclean in libelf" ; \ 15960 (cd $(HOST_SUBDIR)/libelf && \ 15961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15963 "RANLIB=$${RANLIB}" \ 15964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15965 mostlyclean) \ 15966 || exit 1 15967 15968 @endif libelf 15969 15970 .PHONY: maybe-clean-libelf clean-libelf 15971 maybe-clean-libelf: 15972 @if libelf 15973 maybe-clean-libelf: clean-libelf 15974 15975 clean-libelf: 15976 @[ -f ./libelf/Makefile ] || exit 0; \ 15977 r=`${PWD_COMMAND}`; export r; \ 15978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 15979 $(HOST_EXPORTS) \ 15980 for flag in $(EXTRA_HOST_FLAGS) ; do \ 15981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 15982 done; \ 15983 echo "Doing clean in libelf" ; \ 15984 (cd $(HOST_SUBDIR)/libelf && \ 15985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 15986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 15987 "RANLIB=$${RANLIB}" \ 15988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 15989 clean) \ 15990 || exit 1 15991 15992 @endif libelf 15993 15994 .PHONY: maybe-distclean-libelf distclean-libelf 15995 maybe-distclean-libelf: 15996 @if libelf 15997 maybe-distclean-libelf: distclean-libelf 15998 15999 distclean-libelf: 16000 @[ -f ./libelf/Makefile ] || exit 0; \ 16001 r=`${PWD_COMMAND}`; export r; \ 16002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16003 $(HOST_EXPORTS) \ 16004 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16006 done; \ 16007 echo "Doing distclean in libelf" ; \ 16008 (cd $(HOST_SUBDIR)/libelf && \ 16009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16011 "RANLIB=$${RANLIB}" \ 16012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16013 distclean) \ 16014 || exit 1 16015 16016 @endif libelf 16017 16018 .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf 16019 maybe-maintainer-clean-libelf: 16020 @if libelf 16021 maybe-maintainer-clean-libelf: maintainer-clean-libelf 16022 16023 maintainer-clean-libelf: 16024 @[ -f ./libelf/Makefile ] || exit 0; \ 16025 r=`${PWD_COMMAND}`; export r; \ 16026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16027 $(HOST_EXPORTS) \ 16028 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16030 done; \ 16031 echo "Doing maintainer-clean in libelf" ; \ 16032 (cd $(HOST_SUBDIR)/libelf && \ 16033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16035 "RANLIB=$${RANLIB}" \ 16036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16037 maintainer-clean) \ 16038 || exit 1 16039 16040 @endif libelf 16041 16042 16043 16044 .PHONY: configure-gold maybe-configure-gold 16045 maybe-configure-gold: 16046 @if gcc-bootstrap 16047 configure-gold: stage_current 16048 @endif gcc-bootstrap 16049 @if gold 16050 maybe-configure-gold: configure-gold 16051 configure-gold: 16052 @r=`${PWD_COMMAND}`; export r; \ 16053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16054 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ 16055 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ 16056 $(HOST_EXPORTS) \ 16057 echo Configuring in $(HOST_SUBDIR)/gold; \ 16058 cd "$(HOST_SUBDIR)/gold" || exit 1; \ 16059 case $(srcdir) in \ 16060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 16061 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ 16062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 16063 esac; \ 16064 srcdiroption="--srcdir=$${topdir}/gold"; \ 16065 libsrcdir="$$s/gold"; \ 16066 $(SHELL) $${libsrcdir}/configure \ 16067 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 16068 --target=${target_alias} $${srcdiroption} \ 16069 || exit 1 16070 @endif gold 16071 16072 16073 16074 .PHONY: configure-stage1-gold maybe-configure-stage1-gold 16075 maybe-configure-stage1-gold: 16076 @if gold-bootstrap 16077 maybe-configure-stage1-gold: configure-stage1-gold 16078 configure-stage1-gold: 16079 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 16080 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold 16081 @r=`${PWD_COMMAND}`; export r; \ 16082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16083 TFLAGS="$(STAGE1_TFLAGS)"; \ 16084 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ 16085 $(HOST_EXPORTS) \ 16086 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 16087 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 16088 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 16089 echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \ 16090 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ 16091 cd $(HOST_SUBDIR)/gold || exit 1; \ 16092 case $(srcdir) in \ 16093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 16094 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ 16095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 16096 esac; \ 16097 srcdiroption="--srcdir=$${topdir}/gold"; \ 16098 libsrcdir="$$s/gold"; \ 16099 $(SHELL) $${libsrcdir}/configure \ 16100 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 16101 --target=${target_alias} $${srcdiroption} \ 16102 $(STAGE1_CONFIGURE_FLAGS) 16103 @endif gold-bootstrap 16104 16105 .PHONY: configure-stage2-gold maybe-configure-stage2-gold 16106 maybe-configure-stage2-gold: 16107 @if gold-bootstrap 16108 maybe-configure-stage2-gold: configure-stage2-gold 16109 configure-stage2-gold: 16110 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 16111 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold 16112 @r=`${PWD_COMMAND}`; export r; \ 16113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16114 TFLAGS="$(STAGE2_TFLAGS)"; \ 16115 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ 16116 $(HOST_EXPORTS) \ 16117 $(POSTSTAGE1_HOST_EXPORTS) \ 16118 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 16119 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 16120 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 16121 echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \ 16122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ 16123 cd $(HOST_SUBDIR)/gold || exit 1; \ 16124 case $(srcdir) in \ 16125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 16126 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ 16127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 16128 esac; \ 16129 srcdiroption="--srcdir=$${topdir}/gold"; \ 16130 libsrcdir="$$s/gold"; \ 16131 $(SHELL) $${libsrcdir}/configure \ 16132 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 16133 --target=${target_alias} $${srcdiroption} \ 16134 --with-build-libsubdir=$(HOST_SUBDIR) \ 16135 $(STAGE2_CONFIGURE_FLAGS) 16136 @endif gold-bootstrap 16137 16138 .PHONY: configure-stage3-gold maybe-configure-stage3-gold 16139 maybe-configure-stage3-gold: 16140 @if gold-bootstrap 16141 maybe-configure-stage3-gold: configure-stage3-gold 16142 configure-stage3-gold: 16143 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 16144 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold 16145 @r=`${PWD_COMMAND}`; export r; \ 16146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16147 TFLAGS="$(STAGE3_TFLAGS)"; \ 16148 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ 16149 $(HOST_EXPORTS) \ 16150 $(POSTSTAGE1_HOST_EXPORTS) \ 16151 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 16152 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 16153 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 16154 echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \ 16155 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ 16156 cd $(HOST_SUBDIR)/gold || exit 1; \ 16157 case $(srcdir) in \ 16158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 16159 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ 16160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 16161 esac; \ 16162 srcdiroption="--srcdir=$${topdir}/gold"; \ 16163 libsrcdir="$$s/gold"; \ 16164 $(SHELL) $${libsrcdir}/configure \ 16165 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 16166 --target=${target_alias} $${srcdiroption} \ 16167 --with-build-libsubdir=$(HOST_SUBDIR) \ 16168 $(STAGE3_CONFIGURE_FLAGS) 16169 @endif gold-bootstrap 16170 16171 .PHONY: configure-stage4-gold maybe-configure-stage4-gold 16172 maybe-configure-stage4-gold: 16173 @if gold-bootstrap 16174 maybe-configure-stage4-gold: configure-stage4-gold 16175 configure-stage4-gold: 16176 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 16177 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold 16178 @r=`${PWD_COMMAND}`; export r; \ 16179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16180 TFLAGS="$(STAGE4_TFLAGS)"; \ 16181 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ 16182 $(HOST_EXPORTS) \ 16183 $(POSTSTAGE1_HOST_EXPORTS) \ 16184 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 16185 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 16186 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 16187 echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \ 16188 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ 16189 cd $(HOST_SUBDIR)/gold || exit 1; \ 16190 case $(srcdir) in \ 16191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 16192 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ 16193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 16194 esac; \ 16195 srcdiroption="--srcdir=$${topdir}/gold"; \ 16196 libsrcdir="$$s/gold"; \ 16197 $(SHELL) $${libsrcdir}/configure \ 16198 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 16199 --target=${target_alias} $${srcdiroption} \ 16200 --with-build-libsubdir=$(HOST_SUBDIR) \ 16201 $(STAGE4_CONFIGURE_FLAGS) 16202 @endif gold-bootstrap 16203 16204 .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold 16205 maybe-configure-stageprofile-gold: 16206 @if gold-bootstrap 16207 maybe-configure-stageprofile-gold: configure-stageprofile-gold 16208 configure-stageprofile-gold: 16209 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 16210 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold 16211 @r=`${PWD_COMMAND}`; export r; \ 16212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16213 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 16214 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ 16215 $(HOST_EXPORTS) \ 16216 $(POSTSTAGE1_HOST_EXPORTS) \ 16217 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 16218 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 16219 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 16220 echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \ 16221 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ 16222 cd $(HOST_SUBDIR)/gold || exit 1; \ 16223 case $(srcdir) in \ 16224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 16225 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ 16226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 16227 esac; \ 16228 srcdiroption="--srcdir=$${topdir}/gold"; \ 16229 libsrcdir="$$s/gold"; \ 16230 $(SHELL) $${libsrcdir}/configure \ 16231 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 16232 --target=${target_alias} $${srcdiroption} \ 16233 --with-build-libsubdir=$(HOST_SUBDIR) \ 16234 $(STAGEprofile_CONFIGURE_FLAGS) 16235 @endif gold-bootstrap 16236 16237 .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold 16238 maybe-configure-stagefeedback-gold: 16239 @if gold-bootstrap 16240 maybe-configure-stagefeedback-gold: configure-stagefeedback-gold 16241 configure-stagefeedback-gold: 16242 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 16243 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold 16244 @r=`${PWD_COMMAND}`; export r; \ 16245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16246 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 16247 test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \ 16248 $(HOST_EXPORTS) \ 16249 $(POSTSTAGE1_HOST_EXPORTS) \ 16250 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 16251 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 16252 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 16253 echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \ 16254 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \ 16255 cd $(HOST_SUBDIR)/gold || exit 1; \ 16256 case $(srcdir) in \ 16257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 16258 *) topdir=`echo $(HOST_SUBDIR)/gold/ | \ 16259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 16260 esac; \ 16261 srcdiroption="--srcdir=$${topdir}/gold"; \ 16262 libsrcdir="$$s/gold"; \ 16263 $(SHELL) $${libsrcdir}/configure \ 16264 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 16265 --target=${target_alias} $${srcdiroption} \ 16266 --with-build-libsubdir=$(HOST_SUBDIR) \ 16267 $(STAGEfeedback_CONFIGURE_FLAGS) 16268 @endif gold-bootstrap 16269 16270 16271 16272 16273 16274 .PHONY: all-gold maybe-all-gold 16275 maybe-all-gold: 16276 @if gcc-bootstrap 16277 all-gold: stage_current 16278 @endif gcc-bootstrap 16279 @if gold 16280 TARGET-gold=all 16281 maybe-all-gold: all-gold 16282 all-gold: configure-gold 16283 @r=`${PWD_COMMAND}`; export r; \ 16284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16285 $(HOST_EXPORTS) \ 16286 (cd $(HOST_SUBDIR)/gold && \ 16287 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 16288 $(TARGET-gold)) 16289 @endif gold 16290 16291 16292 16293 .PHONY: all-stage1-gold maybe-all-stage1-gold 16294 .PHONY: clean-stage1-gold maybe-clean-stage1-gold 16295 maybe-all-stage1-gold: 16296 maybe-clean-stage1-gold: 16297 @if gold-bootstrap 16298 maybe-all-stage1-gold: all-stage1-gold 16299 all-stage1: all-stage1-gold 16300 TARGET-stage1-gold = $(TARGET-gold) 16301 all-stage1-gold: configure-stage1-gold 16302 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 16303 @r=`${PWD_COMMAND}`; export r; \ 16304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16305 TFLAGS="$(STAGE1_TFLAGS)"; \ 16306 $(HOST_EXPORTS) \ 16307 cd $(HOST_SUBDIR)/gold && \ 16308 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 16309 CFLAGS="$(STAGE1_CFLAGS)" \ 16310 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 16311 LIBCFLAGS="$(LIBCFLAGS)" \ 16312 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 16313 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 16314 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 16315 $(EXTRA_HOST_FLAGS) \ 16316 $(STAGE1_FLAGS_TO_PASS) \ 16317 TFLAGS="$(STAGE1_TFLAGS)" \ 16318 $(TARGET-stage1-gold) 16319 16320 maybe-clean-stage1-gold: clean-stage1-gold 16321 clean-stage1: clean-stage1-gold 16322 clean-stage1-gold: 16323 @if [ $(current_stage) = stage1 ]; then \ 16324 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ 16325 else \ 16326 [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \ 16327 $(MAKE) stage1-start; \ 16328 fi; \ 16329 cd $(HOST_SUBDIR)/gold && \ 16330 $(MAKE) $(EXTRA_HOST_FLAGS) \ 16331 $(STAGE1_FLAGS_TO_PASS) clean 16332 @endif gold-bootstrap 16333 16334 16335 .PHONY: all-stage2-gold maybe-all-stage2-gold 16336 .PHONY: clean-stage2-gold maybe-clean-stage2-gold 16337 maybe-all-stage2-gold: 16338 maybe-clean-stage2-gold: 16339 @if gold-bootstrap 16340 maybe-all-stage2-gold: all-stage2-gold 16341 all-stage2: all-stage2-gold 16342 TARGET-stage2-gold = $(TARGET-gold) 16343 all-stage2-gold: configure-stage2-gold 16344 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 16345 @r=`${PWD_COMMAND}`; export r; \ 16346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16347 TFLAGS="$(STAGE2_TFLAGS)"; \ 16348 $(HOST_EXPORTS) \ 16349 $(POSTSTAGE1_HOST_EXPORTS) \ 16350 cd $(HOST_SUBDIR)/gold && \ 16351 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 16352 CFLAGS="$(STAGE2_CFLAGS)" \ 16353 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 16354 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 16355 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 16356 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 16357 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 16358 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 16359 TFLAGS="$(STAGE2_TFLAGS)" \ 16360 $(TARGET-stage2-gold) 16361 16362 maybe-clean-stage2-gold: clean-stage2-gold 16363 clean-stage2: clean-stage2-gold 16364 clean-stage2-gold: 16365 @if [ $(current_stage) = stage2 ]; then \ 16366 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ 16367 else \ 16368 [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \ 16369 $(MAKE) stage2-start; \ 16370 fi; \ 16371 cd $(HOST_SUBDIR)/gold && \ 16372 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 16373 @endif gold-bootstrap 16374 16375 16376 .PHONY: all-stage3-gold maybe-all-stage3-gold 16377 .PHONY: clean-stage3-gold maybe-clean-stage3-gold 16378 maybe-all-stage3-gold: 16379 maybe-clean-stage3-gold: 16380 @if gold-bootstrap 16381 maybe-all-stage3-gold: all-stage3-gold 16382 all-stage3: all-stage3-gold 16383 TARGET-stage3-gold = $(TARGET-gold) 16384 all-stage3-gold: configure-stage3-gold 16385 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 16386 @r=`${PWD_COMMAND}`; export r; \ 16387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16388 TFLAGS="$(STAGE3_TFLAGS)"; \ 16389 $(HOST_EXPORTS) \ 16390 $(POSTSTAGE1_HOST_EXPORTS) \ 16391 cd $(HOST_SUBDIR)/gold && \ 16392 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 16393 CFLAGS="$(STAGE3_CFLAGS)" \ 16394 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 16395 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 16396 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 16397 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 16398 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 16399 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 16400 TFLAGS="$(STAGE3_TFLAGS)" \ 16401 $(TARGET-stage3-gold) 16402 16403 maybe-clean-stage3-gold: clean-stage3-gold 16404 clean-stage3: clean-stage3-gold 16405 clean-stage3-gold: 16406 @if [ $(current_stage) = stage3 ]; then \ 16407 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ 16408 else \ 16409 [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \ 16410 $(MAKE) stage3-start; \ 16411 fi; \ 16412 cd $(HOST_SUBDIR)/gold && \ 16413 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 16414 @endif gold-bootstrap 16415 16416 16417 .PHONY: all-stage4-gold maybe-all-stage4-gold 16418 .PHONY: clean-stage4-gold maybe-clean-stage4-gold 16419 maybe-all-stage4-gold: 16420 maybe-clean-stage4-gold: 16421 @if gold-bootstrap 16422 maybe-all-stage4-gold: all-stage4-gold 16423 all-stage4: all-stage4-gold 16424 TARGET-stage4-gold = $(TARGET-gold) 16425 all-stage4-gold: configure-stage4-gold 16426 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 16427 @r=`${PWD_COMMAND}`; export r; \ 16428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16429 TFLAGS="$(STAGE4_TFLAGS)"; \ 16430 $(HOST_EXPORTS) \ 16431 $(POSTSTAGE1_HOST_EXPORTS) \ 16432 cd $(HOST_SUBDIR)/gold && \ 16433 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 16434 CFLAGS="$(STAGE4_CFLAGS)" \ 16435 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 16436 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 16437 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 16438 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 16439 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 16440 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 16441 TFLAGS="$(STAGE4_TFLAGS)" \ 16442 $(TARGET-stage4-gold) 16443 16444 maybe-clean-stage4-gold: clean-stage4-gold 16445 clean-stage4: clean-stage4-gold 16446 clean-stage4-gold: 16447 @if [ $(current_stage) = stage4 ]; then \ 16448 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ 16449 else \ 16450 [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \ 16451 $(MAKE) stage4-start; \ 16452 fi; \ 16453 cd $(HOST_SUBDIR)/gold && \ 16454 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 16455 @endif gold-bootstrap 16456 16457 16458 .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold 16459 .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold 16460 maybe-all-stageprofile-gold: 16461 maybe-clean-stageprofile-gold: 16462 @if gold-bootstrap 16463 maybe-all-stageprofile-gold: all-stageprofile-gold 16464 all-stageprofile: all-stageprofile-gold 16465 TARGET-stageprofile-gold = $(TARGET-gold) 16466 all-stageprofile-gold: configure-stageprofile-gold 16467 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 16468 @r=`${PWD_COMMAND}`; export r; \ 16469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16470 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 16471 $(HOST_EXPORTS) \ 16472 $(POSTSTAGE1_HOST_EXPORTS) \ 16473 cd $(HOST_SUBDIR)/gold && \ 16474 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 16475 CFLAGS="$(STAGEprofile_CFLAGS)" \ 16476 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 16477 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 16478 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 16479 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 16480 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 16481 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 16482 TFLAGS="$(STAGEprofile_TFLAGS)" \ 16483 $(TARGET-stageprofile-gold) 16484 16485 maybe-clean-stageprofile-gold: clean-stageprofile-gold 16486 clean-stageprofile: clean-stageprofile-gold 16487 clean-stageprofile-gold: 16488 @if [ $(current_stage) = stageprofile ]; then \ 16489 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ 16490 else \ 16491 [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \ 16492 $(MAKE) stageprofile-start; \ 16493 fi; \ 16494 cd $(HOST_SUBDIR)/gold && \ 16495 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 16496 @endif gold-bootstrap 16497 16498 16499 .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold 16500 .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold 16501 maybe-all-stagefeedback-gold: 16502 maybe-clean-stagefeedback-gold: 16503 @if gold-bootstrap 16504 maybe-all-stagefeedback-gold: all-stagefeedback-gold 16505 all-stagefeedback: all-stagefeedback-gold 16506 TARGET-stagefeedback-gold = $(TARGET-gold) 16507 all-stagefeedback-gold: configure-stagefeedback-gold 16508 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 16509 @r=`${PWD_COMMAND}`; export r; \ 16510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16511 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 16512 $(HOST_EXPORTS) \ 16513 $(POSTSTAGE1_HOST_EXPORTS) \ 16514 cd $(HOST_SUBDIR)/gold && \ 16515 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 16516 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 16517 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 16518 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 16519 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 16520 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 16521 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 16522 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 16523 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 16524 $(TARGET-stagefeedback-gold) 16525 16526 maybe-clean-stagefeedback-gold: clean-stagefeedback-gold 16527 clean-stagefeedback: clean-stagefeedback-gold 16528 clean-stagefeedback-gold: 16529 @if [ $(current_stage) = stagefeedback ]; then \ 16530 [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \ 16531 else \ 16532 [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \ 16533 $(MAKE) stagefeedback-start; \ 16534 fi; \ 16535 cd $(HOST_SUBDIR)/gold && \ 16536 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 16537 @endif gold-bootstrap 16538 16539 16540 16541 16542 16543 .PHONY: check-gold maybe-check-gold 16544 maybe-check-gold: 16545 @if gold 16546 maybe-check-gold: check-gold 16547 16548 check-gold: 16549 @: $(MAKE); $(unstage) 16550 @r=`${PWD_COMMAND}`; export r; \ 16551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16552 $(HOST_EXPORTS) \ 16553 (cd $(HOST_SUBDIR)/gold && \ 16554 $(MAKE) $(FLAGS_TO_PASS) check) 16555 16556 @endif gold 16557 16558 .PHONY: install-gold maybe-install-gold 16559 maybe-install-gold: 16560 @if gold 16561 maybe-install-gold: install-gold 16562 16563 install-gold: installdirs 16564 @: $(MAKE); $(unstage) 16565 @r=`${PWD_COMMAND}`; export r; \ 16566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16567 $(HOST_EXPORTS) \ 16568 (cd $(HOST_SUBDIR)/gold && \ 16569 $(MAKE) $(FLAGS_TO_PASS) install) 16570 16571 @endif gold 16572 16573 .PHONY: install-strip-gold maybe-install-strip-gold 16574 maybe-install-strip-gold: 16575 @if gold 16576 maybe-install-strip-gold: install-strip-gold 16577 16578 install-strip-gold: installdirs 16579 @: $(MAKE); $(unstage) 16580 @r=`${PWD_COMMAND}`; export r; \ 16581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16582 $(HOST_EXPORTS) \ 16583 (cd $(HOST_SUBDIR)/gold && \ 16584 $(MAKE) $(FLAGS_TO_PASS) install-strip) 16585 16586 @endif gold 16587 16588 # Other targets (info, dvi, pdf, etc.) 16589 16590 .PHONY: maybe-info-gold info-gold 16591 maybe-info-gold: 16592 @if gold 16593 maybe-info-gold: info-gold 16594 16595 info-gold: \ 16596 configure-gold 16597 @[ -f ./gold/Makefile ] || exit 0; \ 16598 r=`${PWD_COMMAND}`; export r; \ 16599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16600 $(HOST_EXPORTS) \ 16601 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16603 done; \ 16604 echo "Doing info in gold" ; \ 16605 (cd $(HOST_SUBDIR)/gold && \ 16606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16608 "RANLIB=$${RANLIB}" \ 16609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16610 info) \ 16611 || exit 1 16612 16613 @endif gold 16614 16615 .PHONY: maybe-dvi-gold dvi-gold 16616 maybe-dvi-gold: 16617 @if gold 16618 maybe-dvi-gold: dvi-gold 16619 16620 dvi-gold: \ 16621 configure-gold 16622 @[ -f ./gold/Makefile ] || exit 0; \ 16623 r=`${PWD_COMMAND}`; export r; \ 16624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16625 $(HOST_EXPORTS) \ 16626 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16628 done; \ 16629 echo "Doing dvi in gold" ; \ 16630 (cd $(HOST_SUBDIR)/gold && \ 16631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16633 "RANLIB=$${RANLIB}" \ 16634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16635 dvi) \ 16636 || exit 1 16637 16638 @endif gold 16639 16640 .PHONY: maybe-pdf-gold pdf-gold 16641 maybe-pdf-gold: 16642 @if gold 16643 maybe-pdf-gold: pdf-gold 16644 16645 pdf-gold: \ 16646 configure-gold 16647 @[ -f ./gold/Makefile ] || exit 0; \ 16648 r=`${PWD_COMMAND}`; export r; \ 16649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16650 $(HOST_EXPORTS) \ 16651 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16653 done; \ 16654 echo "Doing pdf in gold" ; \ 16655 (cd $(HOST_SUBDIR)/gold && \ 16656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16658 "RANLIB=$${RANLIB}" \ 16659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16660 pdf) \ 16661 || exit 1 16662 16663 @endif gold 16664 16665 .PHONY: maybe-html-gold html-gold 16666 maybe-html-gold: 16667 @if gold 16668 maybe-html-gold: html-gold 16669 16670 html-gold: \ 16671 configure-gold 16672 @[ -f ./gold/Makefile ] || exit 0; \ 16673 r=`${PWD_COMMAND}`; export r; \ 16674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16675 $(HOST_EXPORTS) \ 16676 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16678 done; \ 16679 echo "Doing html in gold" ; \ 16680 (cd $(HOST_SUBDIR)/gold && \ 16681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16683 "RANLIB=$${RANLIB}" \ 16684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16685 html) \ 16686 || exit 1 16687 16688 @endif gold 16689 16690 .PHONY: maybe-TAGS-gold TAGS-gold 16691 maybe-TAGS-gold: 16692 @if gold 16693 maybe-TAGS-gold: TAGS-gold 16694 16695 TAGS-gold: \ 16696 configure-gold 16697 @[ -f ./gold/Makefile ] || exit 0; \ 16698 r=`${PWD_COMMAND}`; export r; \ 16699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16700 $(HOST_EXPORTS) \ 16701 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16703 done; \ 16704 echo "Doing TAGS in gold" ; \ 16705 (cd $(HOST_SUBDIR)/gold && \ 16706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16708 "RANLIB=$${RANLIB}" \ 16709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16710 TAGS) \ 16711 || exit 1 16712 16713 @endif gold 16714 16715 .PHONY: maybe-install-info-gold install-info-gold 16716 maybe-install-info-gold: 16717 @if gold 16718 maybe-install-info-gold: install-info-gold 16719 16720 install-info-gold: \ 16721 configure-gold \ 16722 info-gold 16723 @[ -f ./gold/Makefile ] || exit 0; \ 16724 r=`${PWD_COMMAND}`; export r; \ 16725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16726 $(HOST_EXPORTS) \ 16727 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16729 done; \ 16730 echo "Doing install-info in gold" ; \ 16731 (cd $(HOST_SUBDIR)/gold && \ 16732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16734 "RANLIB=$${RANLIB}" \ 16735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16736 install-info) \ 16737 || exit 1 16738 16739 @endif gold 16740 16741 .PHONY: maybe-install-pdf-gold install-pdf-gold 16742 maybe-install-pdf-gold: 16743 @if gold 16744 maybe-install-pdf-gold: install-pdf-gold 16745 16746 install-pdf-gold: \ 16747 configure-gold \ 16748 pdf-gold 16749 @[ -f ./gold/Makefile ] || exit 0; \ 16750 r=`${PWD_COMMAND}`; export r; \ 16751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16752 $(HOST_EXPORTS) \ 16753 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16755 done; \ 16756 echo "Doing install-pdf in gold" ; \ 16757 (cd $(HOST_SUBDIR)/gold && \ 16758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16760 "RANLIB=$${RANLIB}" \ 16761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16762 install-pdf) \ 16763 || exit 1 16764 16765 @endif gold 16766 16767 .PHONY: maybe-install-html-gold install-html-gold 16768 maybe-install-html-gold: 16769 @if gold 16770 maybe-install-html-gold: install-html-gold 16771 16772 install-html-gold: \ 16773 configure-gold \ 16774 html-gold 16775 @[ -f ./gold/Makefile ] || exit 0; \ 16776 r=`${PWD_COMMAND}`; export r; \ 16777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16778 $(HOST_EXPORTS) \ 16779 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16781 done; \ 16782 echo "Doing install-html in gold" ; \ 16783 (cd $(HOST_SUBDIR)/gold && \ 16784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16786 "RANLIB=$${RANLIB}" \ 16787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16788 install-html) \ 16789 || exit 1 16790 16791 @endif gold 16792 16793 .PHONY: maybe-installcheck-gold installcheck-gold 16794 maybe-installcheck-gold: 16795 @if gold 16796 maybe-installcheck-gold: installcheck-gold 16797 16798 installcheck-gold: \ 16799 configure-gold 16800 @[ -f ./gold/Makefile ] || exit 0; \ 16801 r=`${PWD_COMMAND}`; export r; \ 16802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16803 $(HOST_EXPORTS) \ 16804 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16806 done; \ 16807 echo "Doing installcheck in gold" ; \ 16808 (cd $(HOST_SUBDIR)/gold && \ 16809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16811 "RANLIB=$${RANLIB}" \ 16812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16813 installcheck) \ 16814 || exit 1 16815 16816 @endif gold 16817 16818 .PHONY: maybe-mostlyclean-gold mostlyclean-gold 16819 maybe-mostlyclean-gold: 16820 @if gold 16821 maybe-mostlyclean-gold: mostlyclean-gold 16822 16823 mostlyclean-gold: 16824 @[ -f ./gold/Makefile ] || exit 0; \ 16825 r=`${PWD_COMMAND}`; export r; \ 16826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16827 $(HOST_EXPORTS) \ 16828 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16830 done; \ 16831 echo "Doing mostlyclean in gold" ; \ 16832 (cd $(HOST_SUBDIR)/gold && \ 16833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16835 "RANLIB=$${RANLIB}" \ 16836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16837 mostlyclean) \ 16838 || exit 1 16839 16840 @endif gold 16841 16842 .PHONY: maybe-clean-gold clean-gold 16843 maybe-clean-gold: 16844 @if gold 16845 maybe-clean-gold: clean-gold 16846 16847 clean-gold: 16848 @[ -f ./gold/Makefile ] || exit 0; \ 16849 r=`${PWD_COMMAND}`; export r; \ 16850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16851 $(HOST_EXPORTS) \ 16852 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16854 done; \ 16855 echo "Doing clean in gold" ; \ 16856 (cd $(HOST_SUBDIR)/gold && \ 16857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16859 "RANLIB=$${RANLIB}" \ 16860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16861 clean) \ 16862 || exit 1 16863 16864 @endif gold 16865 16866 .PHONY: maybe-distclean-gold distclean-gold 16867 maybe-distclean-gold: 16868 @if gold 16869 maybe-distclean-gold: distclean-gold 16870 16871 distclean-gold: 16872 @[ -f ./gold/Makefile ] || exit 0; \ 16873 r=`${PWD_COMMAND}`; export r; \ 16874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16875 $(HOST_EXPORTS) \ 16876 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16878 done; \ 16879 echo "Doing distclean in gold" ; \ 16880 (cd $(HOST_SUBDIR)/gold && \ 16881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16883 "RANLIB=$${RANLIB}" \ 16884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16885 distclean) \ 16886 || exit 1 16887 16888 @endif gold 16889 16890 .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold 16891 maybe-maintainer-clean-gold: 16892 @if gold 16893 maybe-maintainer-clean-gold: maintainer-clean-gold 16894 16895 maintainer-clean-gold: 16896 @[ -f ./gold/Makefile ] || exit 0; \ 16897 r=`${PWD_COMMAND}`; export r; \ 16898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16899 $(HOST_EXPORTS) \ 16900 for flag in $(EXTRA_HOST_FLAGS) ; do \ 16901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 16902 done; \ 16903 echo "Doing maintainer-clean in gold" ; \ 16904 (cd $(HOST_SUBDIR)/gold && \ 16905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 16906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 16907 "RANLIB=$${RANLIB}" \ 16908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 16909 maintainer-clean) \ 16910 || exit 1 16911 16912 @endif gold 16913 16914 16915 16916 .PHONY: configure-gprof maybe-configure-gprof 16917 maybe-configure-gprof: 16918 @if gcc-bootstrap 16919 configure-gprof: stage_current 16920 @endif gcc-bootstrap 16921 @if gprof 16922 maybe-configure-gprof: configure-gprof 16923 configure-gprof: 16924 @: $(MAKE); $(unstage) 16925 @r=`${PWD_COMMAND}`; export r; \ 16926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16927 test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \ 16928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \ 16929 $(HOST_EXPORTS) \ 16930 echo Configuring in $(HOST_SUBDIR)/gprof; \ 16931 cd "$(HOST_SUBDIR)/gprof" || exit 1; \ 16932 case $(srcdir) in \ 16933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 16934 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \ 16935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 16936 esac; \ 16937 srcdiroption="--srcdir=$${topdir}/gprof"; \ 16938 libsrcdir="$$s/gprof"; \ 16939 $(SHELL) $${libsrcdir}/configure \ 16940 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 16941 --target=${target_alias} $${srcdiroption} \ 16942 || exit 1 16943 @endif gprof 16944 16945 16946 16947 16948 16949 .PHONY: all-gprof maybe-all-gprof 16950 maybe-all-gprof: 16951 @if gcc-bootstrap 16952 all-gprof: stage_current 16953 @endif gcc-bootstrap 16954 @if gprof 16955 TARGET-gprof=all 16956 maybe-all-gprof: all-gprof 16957 all-gprof: configure-gprof 16958 @: $(MAKE); $(unstage) 16959 @r=`${PWD_COMMAND}`; export r; \ 16960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16961 $(HOST_EXPORTS) \ 16962 (cd $(HOST_SUBDIR)/gprof && \ 16963 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 16964 $(TARGET-gprof)) 16965 @endif gprof 16966 16967 16968 16969 16970 .PHONY: check-gprof maybe-check-gprof 16971 maybe-check-gprof: 16972 @if gprof 16973 maybe-check-gprof: check-gprof 16974 16975 check-gprof: 16976 @: $(MAKE); $(unstage) 16977 @r=`${PWD_COMMAND}`; export r; \ 16978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16979 $(HOST_EXPORTS) \ 16980 (cd $(HOST_SUBDIR)/gprof && \ 16981 $(MAKE) $(FLAGS_TO_PASS) check) 16982 16983 @endif gprof 16984 16985 .PHONY: install-gprof maybe-install-gprof 16986 maybe-install-gprof: 16987 @if gprof 16988 maybe-install-gprof: install-gprof 16989 16990 install-gprof: installdirs 16991 @: $(MAKE); $(unstage) 16992 @r=`${PWD_COMMAND}`; export r; \ 16993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 16994 $(HOST_EXPORTS) \ 16995 (cd $(HOST_SUBDIR)/gprof && \ 16996 $(MAKE) $(FLAGS_TO_PASS) install) 16997 16998 @endif gprof 16999 17000 .PHONY: install-strip-gprof maybe-install-strip-gprof 17001 maybe-install-strip-gprof: 17002 @if gprof 17003 maybe-install-strip-gprof: install-strip-gprof 17004 17005 install-strip-gprof: installdirs 17006 @: $(MAKE); $(unstage) 17007 @r=`${PWD_COMMAND}`; export r; \ 17008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17009 $(HOST_EXPORTS) \ 17010 (cd $(HOST_SUBDIR)/gprof && \ 17011 $(MAKE) $(FLAGS_TO_PASS) install-strip) 17012 17013 @endif gprof 17014 17015 # Other targets (info, dvi, pdf, etc.) 17016 17017 .PHONY: maybe-info-gprof info-gprof 17018 maybe-info-gprof: 17019 @if gprof 17020 maybe-info-gprof: info-gprof 17021 17022 info-gprof: \ 17023 configure-gprof 17024 @: $(MAKE); $(unstage) 17025 @[ -f ./gprof/Makefile ] || exit 0; \ 17026 r=`${PWD_COMMAND}`; export r; \ 17027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17028 $(HOST_EXPORTS) \ 17029 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17031 done; \ 17032 echo "Doing info in gprof" ; \ 17033 (cd $(HOST_SUBDIR)/gprof && \ 17034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17036 "RANLIB=$${RANLIB}" \ 17037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17038 info) \ 17039 || exit 1 17040 17041 @endif gprof 17042 17043 .PHONY: maybe-dvi-gprof dvi-gprof 17044 maybe-dvi-gprof: 17045 @if gprof 17046 maybe-dvi-gprof: dvi-gprof 17047 17048 dvi-gprof: \ 17049 configure-gprof 17050 @: $(MAKE); $(unstage) 17051 @[ -f ./gprof/Makefile ] || exit 0; \ 17052 r=`${PWD_COMMAND}`; export r; \ 17053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17054 $(HOST_EXPORTS) \ 17055 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17057 done; \ 17058 echo "Doing dvi in gprof" ; \ 17059 (cd $(HOST_SUBDIR)/gprof && \ 17060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17062 "RANLIB=$${RANLIB}" \ 17063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17064 dvi) \ 17065 || exit 1 17066 17067 @endif gprof 17068 17069 .PHONY: maybe-pdf-gprof pdf-gprof 17070 maybe-pdf-gprof: 17071 @if gprof 17072 maybe-pdf-gprof: pdf-gprof 17073 17074 pdf-gprof: \ 17075 configure-gprof 17076 @: $(MAKE); $(unstage) 17077 @[ -f ./gprof/Makefile ] || exit 0; \ 17078 r=`${PWD_COMMAND}`; export r; \ 17079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17080 $(HOST_EXPORTS) \ 17081 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17083 done; \ 17084 echo "Doing pdf in gprof" ; \ 17085 (cd $(HOST_SUBDIR)/gprof && \ 17086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17088 "RANLIB=$${RANLIB}" \ 17089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17090 pdf) \ 17091 || exit 1 17092 17093 @endif gprof 17094 17095 .PHONY: maybe-html-gprof html-gprof 17096 maybe-html-gprof: 17097 @if gprof 17098 maybe-html-gprof: html-gprof 17099 17100 html-gprof: \ 17101 configure-gprof 17102 @: $(MAKE); $(unstage) 17103 @[ -f ./gprof/Makefile ] || exit 0; \ 17104 r=`${PWD_COMMAND}`; export r; \ 17105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17106 $(HOST_EXPORTS) \ 17107 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17109 done; \ 17110 echo "Doing html in gprof" ; \ 17111 (cd $(HOST_SUBDIR)/gprof && \ 17112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17114 "RANLIB=$${RANLIB}" \ 17115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17116 html) \ 17117 || exit 1 17118 17119 @endif gprof 17120 17121 .PHONY: maybe-TAGS-gprof TAGS-gprof 17122 maybe-TAGS-gprof: 17123 @if gprof 17124 maybe-TAGS-gprof: TAGS-gprof 17125 17126 TAGS-gprof: \ 17127 configure-gprof 17128 @: $(MAKE); $(unstage) 17129 @[ -f ./gprof/Makefile ] || exit 0; \ 17130 r=`${PWD_COMMAND}`; export r; \ 17131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17132 $(HOST_EXPORTS) \ 17133 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17135 done; \ 17136 echo "Doing TAGS in gprof" ; \ 17137 (cd $(HOST_SUBDIR)/gprof && \ 17138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17140 "RANLIB=$${RANLIB}" \ 17141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17142 TAGS) \ 17143 || exit 1 17144 17145 @endif gprof 17146 17147 .PHONY: maybe-install-info-gprof install-info-gprof 17148 maybe-install-info-gprof: 17149 @if gprof 17150 maybe-install-info-gprof: install-info-gprof 17151 17152 install-info-gprof: \ 17153 configure-gprof \ 17154 info-gprof 17155 @: $(MAKE); $(unstage) 17156 @[ -f ./gprof/Makefile ] || exit 0; \ 17157 r=`${PWD_COMMAND}`; export r; \ 17158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17159 $(HOST_EXPORTS) \ 17160 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17162 done; \ 17163 echo "Doing install-info in gprof" ; \ 17164 (cd $(HOST_SUBDIR)/gprof && \ 17165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17167 "RANLIB=$${RANLIB}" \ 17168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17169 install-info) \ 17170 || exit 1 17171 17172 @endif gprof 17173 17174 .PHONY: maybe-install-pdf-gprof install-pdf-gprof 17175 maybe-install-pdf-gprof: 17176 @if gprof 17177 maybe-install-pdf-gprof: install-pdf-gprof 17178 17179 install-pdf-gprof: \ 17180 configure-gprof \ 17181 pdf-gprof 17182 @: $(MAKE); $(unstage) 17183 @[ -f ./gprof/Makefile ] || exit 0; \ 17184 r=`${PWD_COMMAND}`; export r; \ 17185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17186 $(HOST_EXPORTS) \ 17187 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17189 done; \ 17190 echo "Doing install-pdf in gprof" ; \ 17191 (cd $(HOST_SUBDIR)/gprof && \ 17192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17194 "RANLIB=$${RANLIB}" \ 17195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17196 install-pdf) \ 17197 || exit 1 17198 17199 @endif gprof 17200 17201 .PHONY: maybe-install-html-gprof install-html-gprof 17202 maybe-install-html-gprof: 17203 @if gprof 17204 maybe-install-html-gprof: install-html-gprof 17205 17206 install-html-gprof: \ 17207 configure-gprof \ 17208 html-gprof 17209 @: $(MAKE); $(unstage) 17210 @[ -f ./gprof/Makefile ] || exit 0; \ 17211 r=`${PWD_COMMAND}`; export r; \ 17212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17213 $(HOST_EXPORTS) \ 17214 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17216 done; \ 17217 echo "Doing install-html in gprof" ; \ 17218 (cd $(HOST_SUBDIR)/gprof && \ 17219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17221 "RANLIB=$${RANLIB}" \ 17222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17223 install-html) \ 17224 || exit 1 17225 17226 @endif gprof 17227 17228 .PHONY: maybe-installcheck-gprof installcheck-gprof 17229 maybe-installcheck-gprof: 17230 @if gprof 17231 maybe-installcheck-gprof: installcheck-gprof 17232 17233 installcheck-gprof: \ 17234 configure-gprof 17235 @: $(MAKE); $(unstage) 17236 @[ -f ./gprof/Makefile ] || exit 0; \ 17237 r=`${PWD_COMMAND}`; export r; \ 17238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17239 $(HOST_EXPORTS) \ 17240 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17242 done; \ 17243 echo "Doing installcheck in gprof" ; \ 17244 (cd $(HOST_SUBDIR)/gprof && \ 17245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17247 "RANLIB=$${RANLIB}" \ 17248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17249 installcheck) \ 17250 || exit 1 17251 17252 @endif gprof 17253 17254 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof 17255 maybe-mostlyclean-gprof: 17256 @if gprof 17257 maybe-mostlyclean-gprof: mostlyclean-gprof 17258 17259 mostlyclean-gprof: 17260 @: $(MAKE); $(unstage) 17261 @[ -f ./gprof/Makefile ] || exit 0; \ 17262 r=`${PWD_COMMAND}`; export r; \ 17263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17264 $(HOST_EXPORTS) \ 17265 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17267 done; \ 17268 echo "Doing mostlyclean in gprof" ; \ 17269 (cd $(HOST_SUBDIR)/gprof && \ 17270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17272 "RANLIB=$${RANLIB}" \ 17273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17274 mostlyclean) \ 17275 || exit 1 17276 17277 @endif gprof 17278 17279 .PHONY: maybe-clean-gprof clean-gprof 17280 maybe-clean-gprof: 17281 @if gprof 17282 maybe-clean-gprof: clean-gprof 17283 17284 clean-gprof: 17285 @: $(MAKE); $(unstage) 17286 @[ -f ./gprof/Makefile ] || exit 0; \ 17287 r=`${PWD_COMMAND}`; export r; \ 17288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17289 $(HOST_EXPORTS) \ 17290 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17292 done; \ 17293 echo "Doing clean in gprof" ; \ 17294 (cd $(HOST_SUBDIR)/gprof && \ 17295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17297 "RANLIB=$${RANLIB}" \ 17298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17299 clean) \ 17300 || exit 1 17301 17302 @endif gprof 17303 17304 .PHONY: maybe-distclean-gprof distclean-gprof 17305 maybe-distclean-gprof: 17306 @if gprof 17307 maybe-distclean-gprof: distclean-gprof 17308 17309 distclean-gprof: 17310 @: $(MAKE); $(unstage) 17311 @[ -f ./gprof/Makefile ] || exit 0; \ 17312 r=`${PWD_COMMAND}`; export r; \ 17313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17314 $(HOST_EXPORTS) \ 17315 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17317 done; \ 17318 echo "Doing distclean in gprof" ; \ 17319 (cd $(HOST_SUBDIR)/gprof && \ 17320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17322 "RANLIB=$${RANLIB}" \ 17323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17324 distclean) \ 17325 || exit 1 17326 17327 @endif gprof 17328 17329 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof 17330 maybe-maintainer-clean-gprof: 17331 @if gprof 17332 maybe-maintainer-clean-gprof: maintainer-clean-gprof 17333 17334 maintainer-clean-gprof: 17335 @: $(MAKE); $(unstage) 17336 @[ -f ./gprof/Makefile ] || exit 0; \ 17337 r=`${PWD_COMMAND}`; export r; \ 17338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17339 $(HOST_EXPORTS) \ 17340 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17342 done; \ 17343 echo "Doing maintainer-clean in gprof" ; \ 17344 (cd $(HOST_SUBDIR)/gprof && \ 17345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17347 "RANLIB=$${RANLIB}" \ 17348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17349 maintainer-clean) \ 17350 || exit 1 17351 17352 @endif gprof 17353 17354 17355 17356 .PHONY: configure-intl maybe-configure-intl 17357 maybe-configure-intl: 17358 @if gcc-bootstrap 17359 configure-intl: stage_current 17360 @endif gcc-bootstrap 17361 @if intl 17362 maybe-configure-intl: configure-intl 17363 configure-intl: 17364 @r=`${PWD_COMMAND}`; export r; \ 17365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17366 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ 17367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ 17368 $(HOST_EXPORTS) \ 17369 echo Configuring in $(HOST_SUBDIR)/intl; \ 17370 cd "$(HOST_SUBDIR)/intl" || exit 1; \ 17371 case $(srcdir) in \ 17372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 17373 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ 17374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 17375 esac; \ 17376 srcdiroption="--srcdir=$${topdir}/intl"; \ 17377 libsrcdir="$$s/intl"; \ 17378 $(SHELL) $${libsrcdir}/configure \ 17379 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 17380 --target=${target_alias} $${srcdiroption} \ 17381 || exit 1 17382 @endif intl 17383 17384 17385 17386 .PHONY: configure-stage1-intl maybe-configure-stage1-intl 17387 maybe-configure-stage1-intl: 17388 @if intl-bootstrap 17389 maybe-configure-stage1-intl: configure-stage1-intl 17390 configure-stage1-intl: 17391 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 17392 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl 17393 @r=`${PWD_COMMAND}`; export r; \ 17394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17395 TFLAGS="$(STAGE1_TFLAGS)"; \ 17396 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ 17397 $(HOST_EXPORTS) \ 17398 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 17399 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 17400 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 17401 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \ 17402 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ 17403 cd $(HOST_SUBDIR)/intl || exit 1; \ 17404 case $(srcdir) in \ 17405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 17406 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ 17407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 17408 esac; \ 17409 srcdiroption="--srcdir=$${topdir}/intl"; \ 17410 libsrcdir="$$s/intl"; \ 17411 $(SHELL) $${libsrcdir}/configure \ 17412 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 17413 --target=${target_alias} $${srcdiroption} \ 17414 $(STAGE1_CONFIGURE_FLAGS) 17415 @endif intl-bootstrap 17416 17417 .PHONY: configure-stage2-intl maybe-configure-stage2-intl 17418 maybe-configure-stage2-intl: 17419 @if intl-bootstrap 17420 maybe-configure-stage2-intl: configure-stage2-intl 17421 configure-stage2-intl: 17422 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 17423 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl 17424 @r=`${PWD_COMMAND}`; export r; \ 17425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17426 TFLAGS="$(STAGE2_TFLAGS)"; \ 17427 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ 17428 $(HOST_EXPORTS) \ 17429 $(POSTSTAGE1_HOST_EXPORTS) \ 17430 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 17431 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 17432 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 17433 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \ 17434 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ 17435 cd $(HOST_SUBDIR)/intl || exit 1; \ 17436 case $(srcdir) in \ 17437 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 17438 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ 17439 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 17440 esac; \ 17441 srcdiroption="--srcdir=$${topdir}/intl"; \ 17442 libsrcdir="$$s/intl"; \ 17443 $(SHELL) $${libsrcdir}/configure \ 17444 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 17445 --target=${target_alias} $${srcdiroption} \ 17446 --with-build-libsubdir=$(HOST_SUBDIR) \ 17447 $(STAGE2_CONFIGURE_FLAGS) 17448 @endif intl-bootstrap 17449 17450 .PHONY: configure-stage3-intl maybe-configure-stage3-intl 17451 maybe-configure-stage3-intl: 17452 @if intl-bootstrap 17453 maybe-configure-stage3-intl: configure-stage3-intl 17454 configure-stage3-intl: 17455 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 17456 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl 17457 @r=`${PWD_COMMAND}`; export r; \ 17458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17459 TFLAGS="$(STAGE3_TFLAGS)"; \ 17460 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ 17461 $(HOST_EXPORTS) \ 17462 $(POSTSTAGE1_HOST_EXPORTS) \ 17463 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 17464 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 17465 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 17466 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \ 17467 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ 17468 cd $(HOST_SUBDIR)/intl || exit 1; \ 17469 case $(srcdir) in \ 17470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 17471 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ 17472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 17473 esac; \ 17474 srcdiroption="--srcdir=$${topdir}/intl"; \ 17475 libsrcdir="$$s/intl"; \ 17476 $(SHELL) $${libsrcdir}/configure \ 17477 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 17478 --target=${target_alias} $${srcdiroption} \ 17479 --with-build-libsubdir=$(HOST_SUBDIR) \ 17480 $(STAGE3_CONFIGURE_FLAGS) 17481 @endif intl-bootstrap 17482 17483 .PHONY: configure-stage4-intl maybe-configure-stage4-intl 17484 maybe-configure-stage4-intl: 17485 @if intl-bootstrap 17486 maybe-configure-stage4-intl: configure-stage4-intl 17487 configure-stage4-intl: 17488 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 17489 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl 17490 @r=`${PWD_COMMAND}`; export r; \ 17491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17492 TFLAGS="$(STAGE4_TFLAGS)"; \ 17493 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ 17494 $(HOST_EXPORTS) \ 17495 $(POSTSTAGE1_HOST_EXPORTS) \ 17496 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 17497 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 17498 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 17499 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \ 17500 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ 17501 cd $(HOST_SUBDIR)/intl || exit 1; \ 17502 case $(srcdir) in \ 17503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 17504 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ 17505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 17506 esac; \ 17507 srcdiroption="--srcdir=$${topdir}/intl"; \ 17508 libsrcdir="$$s/intl"; \ 17509 $(SHELL) $${libsrcdir}/configure \ 17510 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 17511 --target=${target_alias} $${srcdiroption} \ 17512 --with-build-libsubdir=$(HOST_SUBDIR) \ 17513 $(STAGE4_CONFIGURE_FLAGS) 17514 @endif intl-bootstrap 17515 17516 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl 17517 maybe-configure-stageprofile-intl: 17518 @if intl-bootstrap 17519 maybe-configure-stageprofile-intl: configure-stageprofile-intl 17520 configure-stageprofile-intl: 17521 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 17522 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl 17523 @r=`${PWD_COMMAND}`; export r; \ 17524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17525 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 17526 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ 17527 $(HOST_EXPORTS) \ 17528 $(POSTSTAGE1_HOST_EXPORTS) \ 17529 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 17530 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 17531 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 17532 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \ 17533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ 17534 cd $(HOST_SUBDIR)/intl || exit 1; \ 17535 case $(srcdir) in \ 17536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 17537 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ 17538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 17539 esac; \ 17540 srcdiroption="--srcdir=$${topdir}/intl"; \ 17541 libsrcdir="$$s/intl"; \ 17542 $(SHELL) $${libsrcdir}/configure \ 17543 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 17544 --target=${target_alias} $${srcdiroption} \ 17545 --with-build-libsubdir=$(HOST_SUBDIR) \ 17546 $(STAGEprofile_CONFIGURE_FLAGS) 17547 @endif intl-bootstrap 17548 17549 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl 17550 maybe-configure-stagefeedback-intl: 17551 @if intl-bootstrap 17552 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl 17553 configure-stagefeedback-intl: 17554 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 17555 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl 17556 @r=`${PWD_COMMAND}`; export r; \ 17557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17558 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 17559 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \ 17560 $(HOST_EXPORTS) \ 17561 $(POSTSTAGE1_HOST_EXPORTS) \ 17562 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 17563 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 17564 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 17565 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \ 17566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \ 17567 cd $(HOST_SUBDIR)/intl || exit 1; \ 17568 case $(srcdir) in \ 17569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 17570 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \ 17571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 17572 esac; \ 17573 srcdiroption="--srcdir=$${topdir}/intl"; \ 17574 libsrcdir="$$s/intl"; \ 17575 $(SHELL) $${libsrcdir}/configure \ 17576 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 17577 --target=${target_alias} $${srcdiroption} \ 17578 --with-build-libsubdir=$(HOST_SUBDIR) \ 17579 $(STAGEfeedback_CONFIGURE_FLAGS) 17580 @endif intl-bootstrap 17581 17582 17583 17584 17585 17586 .PHONY: all-intl maybe-all-intl 17587 maybe-all-intl: 17588 @if gcc-bootstrap 17589 all-intl: stage_current 17590 @endif gcc-bootstrap 17591 @if intl 17592 TARGET-intl=all 17593 maybe-all-intl: all-intl 17594 all-intl: configure-intl 17595 @r=`${PWD_COMMAND}`; export r; \ 17596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17597 $(HOST_EXPORTS) \ 17598 (cd $(HOST_SUBDIR)/intl && \ 17599 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 17600 $(TARGET-intl)) 17601 @endif intl 17602 17603 17604 17605 .PHONY: all-stage1-intl maybe-all-stage1-intl 17606 .PHONY: clean-stage1-intl maybe-clean-stage1-intl 17607 maybe-all-stage1-intl: 17608 maybe-clean-stage1-intl: 17609 @if intl-bootstrap 17610 maybe-all-stage1-intl: all-stage1-intl 17611 all-stage1: all-stage1-intl 17612 TARGET-stage1-intl = $(TARGET-intl) 17613 all-stage1-intl: configure-stage1-intl 17614 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 17615 @r=`${PWD_COMMAND}`; export r; \ 17616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17617 TFLAGS="$(STAGE1_TFLAGS)"; \ 17618 $(HOST_EXPORTS) \ 17619 cd $(HOST_SUBDIR)/intl && \ 17620 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 17621 CFLAGS="$(STAGE1_CFLAGS)" \ 17622 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 17623 LIBCFLAGS="$(LIBCFLAGS)" \ 17624 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 17625 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 17626 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 17627 $(EXTRA_HOST_FLAGS) \ 17628 $(STAGE1_FLAGS_TO_PASS) \ 17629 TFLAGS="$(STAGE1_TFLAGS)" \ 17630 $(TARGET-stage1-intl) 17631 17632 maybe-clean-stage1-intl: clean-stage1-intl 17633 clean-stage1: clean-stage1-intl 17634 clean-stage1-intl: 17635 @if [ $(current_stage) = stage1 ]; then \ 17636 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ 17637 else \ 17638 [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \ 17639 $(MAKE) stage1-start; \ 17640 fi; \ 17641 cd $(HOST_SUBDIR)/intl && \ 17642 $(MAKE) $(EXTRA_HOST_FLAGS) \ 17643 $(STAGE1_FLAGS_TO_PASS) clean 17644 @endif intl-bootstrap 17645 17646 17647 .PHONY: all-stage2-intl maybe-all-stage2-intl 17648 .PHONY: clean-stage2-intl maybe-clean-stage2-intl 17649 maybe-all-stage2-intl: 17650 maybe-clean-stage2-intl: 17651 @if intl-bootstrap 17652 maybe-all-stage2-intl: all-stage2-intl 17653 all-stage2: all-stage2-intl 17654 TARGET-stage2-intl = $(TARGET-intl) 17655 all-stage2-intl: configure-stage2-intl 17656 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 17657 @r=`${PWD_COMMAND}`; export r; \ 17658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17659 TFLAGS="$(STAGE2_TFLAGS)"; \ 17660 $(HOST_EXPORTS) \ 17661 $(POSTSTAGE1_HOST_EXPORTS) \ 17662 cd $(HOST_SUBDIR)/intl && \ 17663 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 17664 CFLAGS="$(STAGE2_CFLAGS)" \ 17665 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 17666 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 17667 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 17668 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 17669 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 17670 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 17671 TFLAGS="$(STAGE2_TFLAGS)" \ 17672 $(TARGET-stage2-intl) 17673 17674 maybe-clean-stage2-intl: clean-stage2-intl 17675 clean-stage2: clean-stage2-intl 17676 clean-stage2-intl: 17677 @if [ $(current_stage) = stage2 ]; then \ 17678 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ 17679 else \ 17680 [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \ 17681 $(MAKE) stage2-start; \ 17682 fi; \ 17683 cd $(HOST_SUBDIR)/intl && \ 17684 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 17685 @endif intl-bootstrap 17686 17687 17688 .PHONY: all-stage3-intl maybe-all-stage3-intl 17689 .PHONY: clean-stage3-intl maybe-clean-stage3-intl 17690 maybe-all-stage3-intl: 17691 maybe-clean-stage3-intl: 17692 @if intl-bootstrap 17693 maybe-all-stage3-intl: all-stage3-intl 17694 all-stage3: all-stage3-intl 17695 TARGET-stage3-intl = $(TARGET-intl) 17696 all-stage3-intl: configure-stage3-intl 17697 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 17698 @r=`${PWD_COMMAND}`; export r; \ 17699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17700 TFLAGS="$(STAGE3_TFLAGS)"; \ 17701 $(HOST_EXPORTS) \ 17702 $(POSTSTAGE1_HOST_EXPORTS) \ 17703 cd $(HOST_SUBDIR)/intl && \ 17704 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 17705 CFLAGS="$(STAGE3_CFLAGS)" \ 17706 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 17707 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 17708 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 17709 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 17710 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 17711 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 17712 TFLAGS="$(STAGE3_TFLAGS)" \ 17713 $(TARGET-stage3-intl) 17714 17715 maybe-clean-stage3-intl: clean-stage3-intl 17716 clean-stage3: clean-stage3-intl 17717 clean-stage3-intl: 17718 @if [ $(current_stage) = stage3 ]; then \ 17719 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ 17720 else \ 17721 [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \ 17722 $(MAKE) stage3-start; \ 17723 fi; \ 17724 cd $(HOST_SUBDIR)/intl && \ 17725 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 17726 @endif intl-bootstrap 17727 17728 17729 .PHONY: all-stage4-intl maybe-all-stage4-intl 17730 .PHONY: clean-stage4-intl maybe-clean-stage4-intl 17731 maybe-all-stage4-intl: 17732 maybe-clean-stage4-intl: 17733 @if intl-bootstrap 17734 maybe-all-stage4-intl: all-stage4-intl 17735 all-stage4: all-stage4-intl 17736 TARGET-stage4-intl = $(TARGET-intl) 17737 all-stage4-intl: configure-stage4-intl 17738 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 17739 @r=`${PWD_COMMAND}`; export r; \ 17740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17741 TFLAGS="$(STAGE4_TFLAGS)"; \ 17742 $(HOST_EXPORTS) \ 17743 $(POSTSTAGE1_HOST_EXPORTS) \ 17744 cd $(HOST_SUBDIR)/intl && \ 17745 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 17746 CFLAGS="$(STAGE4_CFLAGS)" \ 17747 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 17748 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 17749 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 17750 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 17751 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 17752 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 17753 TFLAGS="$(STAGE4_TFLAGS)" \ 17754 $(TARGET-stage4-intl) 17755 17756 maybe-clean-stage4-intl: clean-stage4-intl 17757 clean-stage4: clean-stage4-intl 17758 clean-stage4-intl: 17759 @if [ $(current_stage) = stage4 ]; then \ 17760 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ 17761 else \ 17762 [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \ 17763 $(MAKE) stage4-start; \ 17764 fi; \ 17765 cd $(HOST_SUBDIR)/intl && \ 17766 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 17767 @endif intl-bootstrap 17768 17769 17770 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl 17771 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl 17772 maybe-all-stageprofile-intl: 17773 maybe-clean-stageprofile-intl: 17774 @if intl-bootstrap 17775 maybe-all-stageprofile-intl: all-stageprofile-intl 17776 all-stageprofile: all-stageprofile-intl 17777 TARGET-stageprofile-intl = $(TARGET-intl) 17778 all-stageprofile-intl: configure-stageprofile-intl 17779 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 17780 @r=`${PWD_COMMAND}`; export r; \ 17781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17782 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 17783 $(HOST_EXPORTS) \ 17784 $(POSTSTAGE1_HOST_EXPORTS) \ 17785 cd $(HOST_SUBDIR)/intl && \ 17786 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 17787 CFLAGS="$(STAGEprofile_CFLAGS)" \ 17788 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 17789 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 17790 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 17791 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 17792 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 17793 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 17794 TFLAGS="$(STAGEprofile_TFLAGS)" \ 17795 $(TARGET-stageprofile-intl) 17796 17797 maybe-clean-stageprofile-intl: clean-stageprofile-intl 17798 clean-stageprofile: clean-stageprofile-intl 17799 clean-stageprofile-intl: 17800 @if [ $(current_stage) = stageprofile ]; then \ 17801 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ 17802 else \ 17803 [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \ 17804 $(MAKE) stageprofile-start; \ 17805 fi; \ 17806 cd $(HOST_SUBDIR)/intl && \ 17807 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 17808 @endif intl-bootstrap 17809 17810 17811 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl 17812 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl 17813 maybe-all-stagefeedback-intl: 17814 maybe-clean-stagefeedback-intl: 17815 @if intl-bootstrap 17816 maybe-all-stagefeedback-intl: all-stagefeedback-intl 17817 all-stagefeedback: all-stagefeedback-intl 17818 TARGET-stagefeedback-intl = $(TARGET-intl) 17819 all-stagefeedback-intl: configure-stagefeedback-intl 17820 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 17821 @r=`${PWD_COMMAND}`; export r; \ 17822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17823 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 17824 $(HOST_EXPORTS) \ 17825 $(POSTSTAGE1_HOST_EXPORTS) \ 17826 cd $(HOST_SUBDIR)/intl && \ 17827 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 17828 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 17829 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 17830 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 17831 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 17832 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 17833 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 17834 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 17835 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 17836 $(TARGET-stagefeedback-intl) 17837 17838 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl 17839 clean-stagefeedback: clean-stagefeedback-intl 17840 clean-stagefeedback-intl: 17841 @if [ $(current_stage) = stagefeedback ]; then \ 17842 [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \ 17843 else \ 17844 [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \ 17845 $(MAKE) stagefeedback-start; \ 17846 fi; \ 17847 cd $(HOST_SUBDIR)/intl && \ 17848 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 17849 @endif intl-bootstrap 17850 17851 17852 17853 17854 17855 .PHONY: check-intl maybe-check-intl 17856 maybe-check-intl: 17857 @if intl 17858 maybe-check-intl: check-intl 17859 17860 check-intl: 17861 @: $(MAKE); $(unstage) 17862 @r=`${PWD_COMMAND}`; export r; \ 17863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17864 $(HOST_EXPORTS) \ 17865 (cd $(HOST_SUBDIR)/intl && \ 17866 $(MAKE) $(FLAGS_TO_PASS) check) 17867 17868 @endif intl 17869 17870 .PHONY: install-intl maybe-install-intl 17871 maybe-install-intl: 17872 @if intl 17873 maybe-install-intl: install-intl 17874 17875 install-intl: installdirs 17876 @: $(MAKE); $(unstage) 17877 @r=`${PWD_COMMAND}`; export r; \ 17878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17879 $(HOST_EXPORTS) \ 17880 (cd $(HOST_SUBDIR)/intl && \ 17881 $(MAKE) $(FLAGS_TO_PASS) install) 17882 17883 @endif intl 17884 17885 .PHONY: install-strip-intl maybe-install-strip-intl 17886 maybe-install-strip-intl: 17887 @if intl 17888 maybe-install-strip-intl: install-strip-intl 17889 17890 install-strip-intl: installdirs 17891 @: $(MAKE); $(unstage) 17892 @r=`${PWD_COMMAND}`; export r; \ 17893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17894 $(HOST_EXPORTS) \ 17895 (cd $(HOST_SUBDIR)/intl && \ 17896 $(MAKE) $(FLAGS_TO_PASS) install-strip) 17897 17898 @endif intl 17899 17900 # Other targets (info, dvi, pdf, etc.) 17901 17902 .PHONY: maybe-info-intl info-intl 17903 maybe-info-intl: 17904 @if intl 17905 maybe-info-intl: info-intl 17906 17907 info-intl: \ 17908 configure-intl 17909 @[ -f ./intl/Makefile ] || exit 0; \ 17910 r=`${PWD_COMMAND}`; export r; \ 17911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17912 $(HOST_EXPORTS) \ 17913 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17915 done; \ 17916 echo "Doing info in intl" ; \ 17917 (cd $(HOST_SUBDIR)/intl && \ 17918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17920 "RANLIB=$${RANLIB}" \ 17921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17922 info) \ 17923 || exit 1 17924 17925 @endif intl 17926 17927 .PHONY: maybe-dvi-intl dvi-intl 17928 maybe-dvi-intl: 17929 @if intl 17930 maybe-dvi-intl: dvi-intl 17931 17932 dvi-intl: \ 17933 configure-intl 17934 @[ -f ./intl/Makefile ] || exit 0; \ 17935 r=`${PWD_COMMAND}`; export r; \ 17936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17937 $(HOST_EXPORTS) \ 17938 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17940 done; \ 17941 echo "Doing dvi in intl" ; \ 17942 (cd $(HOST_SUBDIR)/intl && \ 17943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17945 "RANLIB=$${RANLIB}" \ 17946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17947 dvi) \ 17948 || exit 1 17949 17950 @endif intl 17951 17952 .PHONY: maybe-pdf-intl pdf-intl 17953 maybe-pdf-intl: 17954 @if intl 17955 maybe-pdf-intl: pdf-intl 17956 17957 pdf-intl: \ 17958 configure-intl 17959 @[ -f ./intl/Makefile ] || exit 0; \ 17960 r=`${PWD_COMMAND}`; export r; \ 17961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17962 $(HOST_EXPORTS) \ 17963 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17965 done; \ 17966 echo "Doing pdf in intl" ; \ 17967 (cd $(HOST_SUBDIR)/intl && \ 17968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17970 "RANLIB=$${RANLIB}" \ 17971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17972 pdf) \ 17973 || exit 1 17974 17975 @endif intl 17976 17977 .PHONY: maybe-html-intl html-intl 17978 maybe-html-intl: 17979 @if intl 17980 maybe-html-intl: html-intl 17981 17982 html-intl: \ 17983 configure-intl 17984 @[ -f ./intl/Makefile ] || exit 0; \ 17985 r=`${PWD_COMMAND}`; export r; \ 17986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 17987 $(HOST_EXPORTS) \ 17988 for flag in $(EXTRA_HOST_FLAGS) ; do \ 17989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 17990 done; \ 17991 echo "Doing html in intl" ; \ 17992 (cd $(HOST_SUBDIR)/intl && \ 17993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 17994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 17995 "RANLIB=$${RANLIB}" \ 17996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 17997 html) \ 17998 || exit 1 17999 18000 @endif intl 18001 18002 .PHONY: maybe-TAGS-intl TAGS-intl 18003 maybe-TAGS-intl: 18004 @if intl 18005 maybe-TAGS-intl: TAGS-intl 18006 18007 TAGS-intl: \ 18008 configure-intl 18009 @[ -f ./intl/Makefile ] || exit 0; \ 18010 r=`${PWD_COMMAND}`; export r; \ 18011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18012 $(HOST_EXPORTS) \ 18013 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18015 done; \ 18016 echo "Doing TAGS in intl" ; \ 18017 (cd $(HOST_SUBDIR)/intl && \ 18018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18020 "RANLIB=$${RANLIB}" \ 18021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18022 TAGS) \ 18023 || exit 1 18024 18025 @endif intl 18026 18027 .PHONY: maybe-install-info-intl install-info-intl 18028 maybe-install-info-intl: 18029 @if intl 18030 maybe-install-info-intl: install-info-intl 18031 18032 install-info-intl: \ 18033 configure-intl \ 18034 info-intl 18035 @[ -f ./intl/Makefile ] || exit 0; \ 18036 r=`${PWD_COMMAND}`; export r; \ 18037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18038 $(HOST_EXPORTS) \ 18039 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18041 done; \ 18042 echo "Doing install-info in intl" ; \ 18043 (cd $(HOST_SUBDIR)/intl && \ 18044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18046 "RANLIB=$${RANLIB}" \ 18047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18048 install-info) \ 18049 || exit 1 18050 18051 @endif intl 18052 18053 .PHONY: maybe-install-pdf-intl install-pdf-intl 18054 maybe-install-pdf-intl: 18055 @if intl 18056 maybe-install-pdf-intl: install-pdf-intl 18057 18058 install-pdf-intl: \ 18059 configure-intl \ 18060 pdf-intl 18061 @[ -f ./intl/Makefile ] || exit 0; \ 18062 r=`${PWD_COMMAND}`; export r; \ 18063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18064 $(HOST_EXPORTS) \ 18065 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18067 done; \ 18068 echo "Doing install-pdf in intl" ; \ 18069 (cd $(HOST_SUBDIR)/intl && \ 18070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18072 "RANLIB=$${RANLIB}" \ 18073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18074 install-pdf) \ 18075 || exit 1 18076 18077 @endif intl 18078 18079 .PHONY: maybe-install-html-intl install-html-intl 18080 maybe-install-html-intl: 18081 @if intl 18082 maybe-install-html-intl: install-html-intl 18083 18084 install-html-intl: \ 18085 configure-intl \ 18086 html-intl 18087 @[ -f ./intl/Makefile ] || exit 0; \ 18088 r=`${PWD_COMMAND}`; export r; \ 18089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18090 $(HOST_EXPORTS) \ 18091 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18093 done; \ 18094 echo "Doing install-html in intl" ; \ 18095 (cd $(HOST_SUBDIR)/intl && \ 18096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18098 "RANLIB=$${RANLIB}" \ 18099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18100 install-html) \ 18101 || exit 1 18102 18103 @endif intl 18104 18105 .PHONY: maybe-installcheck-intl installcheck-intl 18106 maybe-installcheck-intl: 18107 @if intl 18108 maybe-installcheck-intl: installcheck-intl 18109 18110 installcheck-intl: \ 18111 configure-intl 18112 @[ -f ./intl/Makefile ] || exit 0; \ 18113 r=`${PWD_COMMAND}`; export r; \ 18114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18115 $(HOST_EXPORTS) \ 18116 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18118 done; \ 18119 echo "Doing installcheck in intl" ; \ 18120 (cd $(HOST_SUBDIR)/intl && \ 18121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18123 "RANLIB=$${RANLIB}" \ 18124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18125 installcheck) \ 18126 || exit 1 18127 18128 @endif intl 18129 18130 .PHONY: maybe-mostlyclean-intl mostlyclean-intl 18131 maybe-mostlyclean-intl: 18132 @if intl 18133 maybe-mostlyclean-intl: mostlyclean-intl 18134 18135 mostlyclean-intl: 18136 @[ -f ./intl/Makefile ] || exit 0; \ 18137 r=`${PWD_COMMAND}`; export r; \ 18138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18139 $(HOST_EXPORTS) \ 18140 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18142 done; \ 18143 echo "Doing mostlyclean in intl" ; \ 18144 (cd $(HOST_SUBDIR)/intl && \ 18145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18147 "RANLIB=$${RANLIB}" \ 18148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18149 mostlyclean) \ 18150 || exit 1 18151 18152 @endif intl 18153 18154 .PHONY: maybe-clean-intl clean-intl 18155 maybe-clean-intl: 18156 @if intl 18157 maybe-clean-intl: clean-intl 18158 18159 clean-intl: 18160 @[ -f ./intl/Makefile ] || exit 0; \ 18161 r=`${PWD_COMMAND}`; export r; \ 18162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18163 $(HOST_EXPORTS) \ 18164 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18166 done; \ 18167 echo "Doing clean in intl" ; \ 18168 (cd $(HOST_SUBDIR)/intl && \ 18169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18171 "RANLIB=$${RANLIB}" \ 18172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18173 clean) \ 18174 || exit 1 18175 18176 @endif intl 18177 18178 .PHONY: maybe-distclean-intl distclean-intl 18179 maybe-distclean-intl: 18180 @if intl 18181 maybe-distclean-intl: distclean-intl 18182 18183 distclean-intl: 18184 @[ -f ./intl/Makefile ] || exit 0; \ 18185 r=`${PWD_COMMAND}`; export r; \ 18186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18187 $(HOST_EXPORTS) \ 18188 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18190 done; \ 18191 echo "Doing distclean in intl" ; \ 18192 (cd $(HOST_SUBDIR)/intl && \ 18193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18195 "RANLIB=$${RANLIB}" \ 18196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18197 distclean) \ 18198 || exit 1 18199 18200 @endif intl 18201 18202 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl 18203 maybe-maintainer-clean-intl: 18204 @if intl 18205 maybe-maintainer-clean-intl: maintainer-clean-intl 18206 18207 maintainer-clean-intl: 18208 @[ -f ./intl/Makefile ] || exit 0; \ 18209 r=`${PWD_COMMAND}`; export r; \ 18210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18211 $(HOST_EXPORTS) \ 18212 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18214 done; \ 18215 echo "Doing maintainer-clean in intl" ; \ 18216 (cd $(HOST_SUBDIR)/intl && \ 18217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18219 "RANLIB=$${RANLIB}" \ 18220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18221 maintainer-clean) \ 18222 || exit 1 18223 18224 @endif intl 18225 18226 18227 18228 .PHONY: configure-tcl maybe-configure-tcl 18229 maybe-configure-tcl: 18230 @if gcc-bootstrap 18231 configure-tcl: stage_current 18232 @endif gcc-bootstrap 18233 @if tcl 18234 maybe-configure-tcl: configure-tcl 18235 configure-tcl: 18236 @: $(MAKE); $(unstage) 18237 @r=`${PWD_COMMAND}`; export r; \ 18238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18239 test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \ 18240 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \ 18241 $(HOST_EXPORTS) \ 18242 echo Configuring in $(HOST_SUBDIR)/tcl; \ 18243 cd "$(HOST_SUBDIR)/tcl" || exit 1; \ 18244 case $(srcdir) in \ 18245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 18246 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \ 18247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 18248 esac; \ 18249 srcdiroption="--srcdir=$${topdir}/tcl"; \ 18250 libsrcdir="$$s/tcl"; \ 18251 $(SHELL) $${libsrcdir}/configure \ 18252 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 18253 --target=${target_alias} $${srcdiroption} \ 18254 || exit 1 18255 @endif tcl 18256 18257 18258 18259 18260 18261 .PHONY: all-tcl maybe-all-tcl 18262 maybe-all-tcl: 18263 @if gcc-bootstrap 18264 all-tcl: stage_current 18265 @endif gcc-bootstrap 18266 @if tcl 18267 TARGET-tcl=all 18268 maybe-all-tcl: all-tcl 18269 all-tcl: configure-tcl 18270 @: $(MAKE); $(unstage) 18271 @r=`${PWD_COMMAND}`; export r; \ 18272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18273 $(HOST_EXPORTS) \ 18274 (cd $(HOST_SUBDIR)/tcl && \ 18275 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 18276 $(TARGET-tcl)) 18277 @endif tcl 18278 18279 18280 18281 18282 .PHONY: check-tcl maybe-check-tcl 18283 maybe-check-tcl: 18284 @if tcl 18285 maybe-check-tcl: check-tcl 18286 18287 check-tcl: 18288 @: $(MAKE); $(unstage) 18289 @r=`${PWD_COMMAND}`; export r; \ 18290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18291 $(HOST_EXPORTS) \ 18292 (cd $(HOST_SUBDIR)/tcl && \ 18293 $(MAKE) $(FLAGS_TO_PASS) check) 18294 18295 @endif tcl 18296 18297 .PHONY: install-tcl maybe-install-tcl 18298 maybe-install-tcl: 18299 @if tcl 18300 maybe-install-tcl: install-tcl 18301 18302 install-tcl: installdirs 18303 @: $(MAKE); $(unstage) 18304 @r=`${PWD_COMMAND}`; export r; \ 18305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18306 $(HOST_EXPORTS) \ 18307 (cd $(HOST_SUBDIR)/tcl && \ 18308 $(MAKE) $(FLAGS_TO_PASS) install) 18309 18310 @endif tcl 18311 18312 .PHONY: install-strip-tcl maybe-install-strip-tcl 18313 maybe-install-strip-tcl: 18314 @if tcl 18315 maybe-install-strip-tcl: install-strip-tcl 18316 18317 install-strip-tcl: installdirs 18318 @: $(MAKE); $(unstage) 18319 @r=`${PWD_COMMAND}`; export r; \ 18320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18321 $(HOST_EXPORTS) \ 18322 (cd $(HOST_SUBDIR)/tcl && \ 18323 $(MAKE) $(FLAGS_TO_PASS) install-strip) 18324 18325 @endif tcl 18326 18327 # Other targets (info, dvi, pdf, etc.) 18328 18329 .PHONY: maybe-info-tcl info-tcl 18330 maybe-info-tcl: 18331 @if tcl 18332 maybe-info-tcl: info-tcl 18333 18334 info-tcl: \ 18335 configure-tcl 18336 @: $(MAKE); $(unstage) 18337 @[ -f ./tcl/Makefile ] || exit 0; \ 18338 r=`${PWD_COMMAND}`; export r; \ 18339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18340 $(HOST_EXPORTS) \ 18341 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18343 done; \ 18344 echo "Doing info in tcl" ; \ 18345 (cd $(HOST_SUBDIR)/tcl && \ 18346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18348 "RANLIB=$${RANLIB}" \ 18349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18350 info) \ 18351 || exit 1 18352 18353 @endif tcl 18354 18355 .PHONY: maybe-dvi-tcl dvi-tcl 18356 maybe-dvi-tcl: 18357 @if tcl 18358 maybe-dvi-tcl: dvi-tcl 18359 18360 dvi-tcl: \ 18361 configure-tcl 18362 @: $(MAKE); $(unstage) 18363 @[ -f ./tcl/Makefile ] || exit 0; \ 18364 r=`${PWD_COMMAND}`; export r; \ 18365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18366 $(HOST_EXPORTS) \ 18367 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18369 done; \ 18370 echo "Doing dvi in tcl" ; \ 18371 (cd $(HOST_SUBDIR)/tcl && \ 18372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18374 "RANLIB=$${RANLIB}" \ 18375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18376 dvi) \ 18377 || exit 1 18378 18379 @endif tcl 18380 18381 .PHONY: maybe-pdf-tcl pdf-tcl 18382 maybe-pdf-tcl: 18383 @if tcl 18384 maybe-pdf-tcl: pdf-tcl 18385 18386 pdf-tcl: \ 18387 configure-tcl 18388 @: $(MAKE); $(unstage) 18389 @[ -f ./tcl/Makefile ] || exit 0; \ 18390 r=`${PWD_COMMAND}`; export r; \ 18391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18392 $(HOST_EXPORTS) \ 18393 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18395 done; \ 18396 echo "Doing pdf in tcl" ; \ 18397 (cd $(HOST_SUBDIR)/tcl && \ 18398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18400 "RANLIB=$${RANLIB}" \ 18401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18402 pdf) \ 18403 || exit 1 18404 18405 @endif tcl 18406 18407 .PHONY: maybe-html-tcl html-tcl 18408 maybe-html-tcl: 18409 @if tcl 18410 maybe-html-tcl: html-tcl 18411 18412 html-tcl: \ 18413 configure-tcl 18414 @: $(MAKE); $(unstage) 18415 @[ -f ./tcl/Makefile ] || exit 0; \ 18416 r=`${PWD_COMMAND}`; export r; \ 18417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18418 $(HOST_EXPORTS) \ 18419 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18421 done; \ 18422 echo "Doing html in tcl" ; \ 18423 (cd $(HOST_SUBDIR)/tcl && \ 18424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18426 "RANLIB=$${RANLIB}" \ 18427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18428 html) \ 18429 || exit 1 18430 18431 @endif tcl 18432 18433 .PHONY: maybe-TAGS-tcl TAGS-tcl 18434 maybe-TAGS-tcl: 18435 @if tcl 18436 maybe-TAGS-tcl: TAGS-tcl 18437 18438 TAGS-tcl: \ 18439 configure-tcl 18440 @: $(MAKE); $(unstage) 18441 @[ -f ./tcl/Makefile ] || exit 0; \ 18442 r=`${PWD_COMMAND}`; export r; \ 18443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18444 $(HOST_EXPORTS) \ 18445 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18447 done; \ 18448 echo "Doing TAGS in tcl" ; \ 18449 (cd $(HOST_SUBDIR)/tcl && \ 18450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18452 "RANLIB=$${RANLIB}" \ 18453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18454 TAGS) \ 18455 || exit 1 18456 18457 @endif tcl 18458 18459 .PHONY: maybe-install-info-tcl install-info-tcl 18460 maybe-install-info-tcl: 18461 @if tcl 18462 maybe-install-info-tcl: install-info-tcl 18463 18464 install-info-tcl: \ 18465 configure-tcl \ 18466 info-tcl 18467 @: $(MAKE); $(unstage) 18468 @[ -f ./tcl/Makefile ] || exit 0; \ 18469 r=`${PWD_COMMAND}`; export r; \ 18470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18471 $(HOST_EXPORTS) \ 18472 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18474 done; \ 18475 echo "Doing install-info in tcl" ; \ 18476 (cd $(HOST_SUBDIR)/tcl && \ 18477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18479 "RANLIB=$${RANLIB}" \ 18480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18481 install-info) \ 18482 || exit 1 18483 18484 @endif tcl 18485 18486 .PHONY: maybe-install-pdf-tcl install-pdf-tcl 18487 maybe-install-pdf-tcl: 18488 @if tcl 18489 maybe-install-pdf-tcl: install-pdf-tcl 18490 18491 install-pdf-tcl: \ 18492 configure-tcl \ 18493 pdf-tcl 18494 @: $(MAKE); $(unstage) 18495 @[ -f ./tcl/Makefile ] || exit 0; \ 18496 r=`${PWD_COMMAND}`; export r; \ 18497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18498 $(HOST_EXPORTS) \ 18499 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18501 done; \ 18502 echo "Doing install-pdf in tcl" ; \ 18503 (cd $(HOST_SUBDIR)/tcl && \ 18504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18506 "RANLIB=$${RANLIB}" \ 18507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18508 install-pdf) \ 18509 || exit 1 18510 18511 @endif tcl 18512 18513 .PHONY: maybe-install-html-tcl install-html-tcl 18514 maybe-install-html-tcl: 18515 @if tcl 18516 maybe-install-html-tcl: install-html-tcl 18517 18518 install-html-tcl: \ 18519 configure-tcl \ 18520 html-tcl 18521 @: $(MAKE); $(unstage) 18522 @[ -f ./tcl/Makefile ] || exit 0; \ 18523 r=`${PWD_COMMAND}`; export r; \ 18524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18525 $(HOST_EXPORTS) \ 18526 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18528 done; \ 18529 echo "Doing install-html in tcl" ; \ 18530 (cd $(HOST_SUBDIR)/tcl && \ 18531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18533 "RANLIB=$${RANLIB}" \ 18534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18535 install-html) \ 18536 || exit 1 18537 18538 @endif tcl 18539 18540 .PHONY: maybe-installcheck-tcl installcheck-tcl 18541 maybe-installcheck-tcl: 18542 @if tcl 18543 maybe-installcheck-tcl: installcheck-tcl 18544 18545 installcheck-tcl: \ 18546 configure-tcl 18547 @: $(MAKE); $(unstage) 18548 @[ -f ./tcl/Makefile ] || exit 0; \ 18549 r=`${PWD_COMMAND}`; export r; \ 18550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18551 $(HOST_EXPORTS) \ 18552 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18554 done; \ 18555 echo "Doing installcheck in tcl" ; \ 18556 (cd $(HOST_SUBDIR)/tcl && \ 18557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18559 "RANLIB=$${RANLIB}" \ 18560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18561 installcheck) \ 18562 || exit 1 18563 18564 @endif tcl 18565 18566 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl 18567 maybe-mostlyclean-tcl: 18568 @if tcl 18569 maybe-mostlyclean-tcl: mostlyclean-tcl 18570 18571 # tcl doesn't support mostlyclean. 18572 mostlyclean-tcl: 18573 18574 @endif tcl 18575 18576 .PHONY: maybe-clean-tcl clean-tcl 18577 maybe-clean-tcl: 18578 @if tcl 18579 maybe-clean-tcl: clean-tcl 18580 18581 clean-tcl: 18582 @: $(MAKE); $(unstage) 18583 @[ -f ./tcl/Makefile ] || exit 0; \ 18584 r=`${PWD_COMMAND}`; export r; \ 18585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18586 $(HOST_EXPORTS) \ 18587 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18589 done; \ 18590 echo "Doing clean in tcl" ; \ 18591 (cd $(HOST_SUBDIR)/tcl && \ 18592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18594 "RANLIB=$${RANLIB}" \ 18595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18596 clean) \ 18597 || exit 1 18598 18599 @endif tcl 18600 18601 .PHONY: maybe-distclean-tcl distclean-tcl 18602 maybe-distclean-tcl: 18603 @if tcl 18604 maybe-distclean-tcl: distclean-tcl 18605 18606 distclean-tcl: 18607 @: $(MAKE); $(unstage) 18608 @[ -f ./tcl/Makefile ] || exit 0; \ 18609 r=`${PWD_COMMAND}`; export r; \ 18610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18611 $(HOST_EXPORTS) \ 18612 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18614 done; \ 18615 echo "Doing distclean in tcl" ; \ 18616 (cd $(HOST_SUBDIR)/tcl && \ 18617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18619 "RANLIB=$${RANLIB}" \ 18620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18621 distclean) \ 18622 || exit 1 18623 18624 @endif tcl 18625 18626 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl 18627 maybe-maintainer-clean-tcl: 18628 @if tcl 18629 maybe-maintainer-clean-tcl: maintainer-clean-tcl 18630 18631 maintainer-clean-tcl: 18632 @: $(MAKE); $(unstage) 18633 @[ -f ./tcl/Makefile ] || exit 0; \ 18634 r=`${PWD_COMMAND}`; export r; \ 18635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18636 $(HOST_EXPORTS) \ 18637 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18639 done; \ 18640 echo "Doing maintainer-clean in tcl" ; \ 18641 (cd $(HOST_SUBDIR)/tcl && \ 18642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18644 "RANLIB=$${RANLIB}" \ 18645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18646 maintainer-clean) \ 18647 || exit 1 18648 18649 @endif tcl 18650 18651 18652 18653 .PHONY: configure-itcl maybe-configure-itcl 18654 maybe-configure-itcl: 18655 @if gcc-bootstrap 18656 configure-itcl: stage_current 18657 @endif gcc-bootstrap 18658 @if itcl 18659 maybe-configure-itcl: configure-itcl 18660 configure-itcl: 18661 @: $(MAKE); $(unstage) 18662 @r=`${PWD_COMMAND}`; export r; \ 18663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18664 test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \ 18665 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \ 18666 $(HOST_EXPORTS) \ 18667 echo Configuring in $(HOST_SUBDIR)/itcl; \ 18668 cd "$(HOST_SUBDIR)/itcl" || exit 1; \ 18669 case $(srcdir) in \ 18670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 18671 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \ 18672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 18673 esac; \ 18674 srcdiroption="--srcdir=$${topdir}/itcl"; \ 18675 libsrcdir="$$s/itcl"; \ 18676 $(SHELL) $${libsrcdir}/configure \ 18677 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 18678 --target=${target_alias} $${srcdiroption} \ 18679 || exit 1 18680 @endif itcl 18681 18682 18683 18684 18685 18686 .PHONY: all-itcl maybe-all-itcl 18687 maybe-all-itcl: 18688 @if gcc-bootstrap 18689 all-itcl: stage_current 18690 @endif gcc-bootstrap 18691 @if itcl 18692 TARGET-itcl=all 18693 maybe-all-itcl: all-itcl 18694 all-itcl: configure-itcl 18695 @: $(MAKE); $(unstage) 18696 @r=`${PWD_COMMAND}`; export r; \ 18697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18698 $(HOST_EXPORTS) \ 18699 (cd $(HOST_SUBDIR)/itcl && \ 18700 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 18701 $(TARGET-itcl)) 18702 @endif itcl 18703 18704 18705 18706 18707 .PHONY: check-itcl maybe-check-itcl 18708 maybe-check-itcl: 18709 @if itcl 18710 maybe-check-itcl: check-itcl 18711 18712 check-itcl: 18713 @: $(MAKE); $(unstage) 18714 @r=`${PWD_COMMAND}`; export r; \ 18715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18716 $(HOST_EXPORTS) \ 18717 (cd $(HOST_SUBDIR)/itcl && \ 18718 $(MAKE) $(FLAGS_TO_PASS) check) 18719 18720 @endif itcl 18721 18722 .PHONY: install-itcl maybe-install-itcl 18723 maybe-install-itcl: 18724 @if itcl 18725 maybe-install-itcl: install-itcl 18726 18727 install-itcl: installdirs 18728 @: $(MAKE); $(unstage) 18729 @r=`${PWD_COMMAND}`; export r; \ 18730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18731 $(HOST_EXPORTS) \ 18732 (cd $(HOST_SUBDIR)/itcl && \ 18733 $(MAKE) $(FLAGS_TO_PASS) install) 18734 18735 @endif itcl 18736 18737 .PHONY: install-strip-itcl maybe-install-strip-itcl 18738 maybe-install-strip-itcl: 18739 @if itcl 18740 maybe-install-strip-itcl: install-strip-itcl 18741 18742 install-strip-itcl: installdirs 18743 @: $(MAKE); $(unstage) 18744 @r=`${PWD_COMMAND}`; export r; \ 18745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18746 $(HOST_EXPORTS) \ 18747 (cd $(HOST_SUBDIR)/itcl && \ 18748 $(MAKE) $(FLAGS_TO_PASS) install-strip) 18749 18750 @endif itcl 18751 18752 # Other targets (info, dvi, pdf, etc.) 18753 18754 .PHONY: maybe-info-itcl info-itcl 18755 maybe-info-itcl: 18756 @if itcl 18757 maybe-info-itcl: info-itcl 18758 18759 info-itcl: \ 18760 configure-itcl 18761 @: $(MAKE); $(unstage) 18762 @[ -f ./itcl/Makefile ] || exit 0; \ 18763 r=`${PWD_COMMAND}`; export r; \ 18764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18765 $(HOST_EXPORTS) \ 18766 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18768 done; \ 18769 echo "Doing info in itcl" ; \ 18770 (cd $(HOST_SUBDIR)/itcl && \ 18771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18773 "RANLIB=$${RANLIB}" \ 18774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18775 info) \ 18776 || exit 1 18777 18778 @endif itcl 18779 18780 .PHONY: maybe-dvi-itcl dvi-itcl 18781 maybe-dvi-itcl: 18782 @if itcl 18783 maybe-dvi-itcl: dvi-itcl 18784 18785 dvi-itcl: \ 18786 configure-itcl 18787 @: $(MAKE); $(unstage) 18788 @[ -f ./itcl/Makefile ] || exit 0; \ 18789 r=`${PWD_COMMAND}`; export r; \ 18790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18791 $(HOST_EXPORTS) \ 18792 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18794 done; \ 18795 echo "Doing dvi in itcl" ; \ 18796 (cd $(HOST_SUBDIR)/itcl && \ 18797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18799 "RANLIB=$${RANLIB}" \ 18800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18801 dvi) \ 18802 || exit 1 18803 18804 @endif itcl 18805 18806 .PHONY: maybe-pdf-itcl pdf-itcl 18807 maybe-pdf-itcl: 18808 @if itcl 18809 maybe-pdf-itcl: pdf-itcl 18810 18811 pdf-itcl: \ 18812 configure-itcl 18813 @: $(MAKE); $(unstage) 18814 @[ -f ./itcl/Makefile ] || exit 0; \ 18815 r=`${PWD_COMMAND}`; export r; \ 18816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18817 $(HOST_EXPORTS) \ 18818 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18820 done; \ 18821 echo "Doing pdf in itcl" ; \ 18822 (cd $(HOST_SUBDIR)/itcl && \ 18823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18825 "RANLIB=$${RANLIB}" \ 18826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18827 pdf) \ 18828 || exit 1 18829 18830 @endif itcl 18831 18832 .PHONY: maybe-html-itcl html-itcl 18833 maybe-html-itcl: 18834 @if itcl 18835 maybe-html-itcl: html-itcl 18836 18837 html-itcl: \ 18838 configure-itcl 18839 @: $(MAKE); $(unstage) 18840 @[ -f ./itcl/Makefile ] || exit 0; \ 18841 r=`${PWD_COMMAND}`; export r; \ 18842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18843 $(HOST_EXPORTS) \ 18844 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18846 done; \ 18847 echo "Doing html in itcl" ; \ 18848 (cd $(HOST_SUBDIR)/itcl && \ 18849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18851 "RANLIB=$${RANLIB}" \ 18852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18853 html) \ 18854 || exit 1 18855 18856 @endif itcl 18857 18858 .PHONY: maybe-TAGS-itcl TAGS-itcl 18859 maybe-TAGS-itcl: 18860 @if itcl 18861 maybe-TAGS-itcl: TAGS-itcl 18862 18863 TAGS-itcl: \ 18864 configure-itcl 18865 @: $(MAKE); $(unstage) 18866 @[ -f ./itcl/Makefile ] || exit 0; \ 18867 r=`${PWD_COMMAND}`; export r; \ 18868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18869 $(HOST_EXPORTS) \ 18870 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18872 done; \ 18873 echo "Doing TAGS in itcl" ; \ 18874 (cd $(HOST_SUBDIR)/itcl && \ 18875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18877 "RANLIB=$${RANLIB}" \ 18878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18879 TAGS) \ 18880 || exit 1 18881 18882 @endif itcl 18883 18884 .PHONY: maybe-install-info-itcl install-info-itcl 18885 maybe-install-info-itcl: 18886 @if itcl 18887 maybe-install-info-itcl: install-info-itcl 18888 18889 install-info-itcl: \ 18890 configure-itcl \ 18891 info-itcl 18892 @: $(MAKE); $(unstage) 18893 @[ -f ./itcl/Makefile ] || exit 0; \ 18894 r=`${PWD_COMMAND}`; export r; \ 18895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18896 $(HOST_EXPORTS) \ 18897 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18899 done; \ 18900 echo "Doing install-info in itcl" ; \ 18901 (cd $(HOST_SUBDIR)/itcl && \ 18902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18904 "RANLIB=$${RANLIB}" \ 18905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18906 install-info) \ 18907 || exit 1 18908 18909 @endif itcl 18910 18911 .PHONY: maybe-install-pdf-itcl install-pdf-itcl 18912 maybe-install-pdf-itcl: 18913 @if itcl 18914 maybe-install-pdf-itcl: install-pdf-itcl 18915 18916 install-pdf-itcl: \ 18917 configure-itcl \ 18918 pdf-itcl 18919 @: $(MAKE); $(unstage) 18920 @[ -f ./itcl/Makefile ] || exit 0; \ 18921 r=`${PWD_COMMAND}`; export r; \ 18922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18923 $(HOST_EXPORTS) \ 18924 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18926 done; \ 18927 echo "Doing install-pdf in itcl" ; \ 18928 (cd $(HOST_SUBDIR)/itcl && \ 18929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18931 "RANLIB=$${RANLIB}" \ 18932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18933 install-pdf) \ 18934 || exit 1 18935 18936 @endif itcl 18937 18938 .PHONY: maybe-install-html-itcl install-html-itcl 18939 maybe-install-html-itcl: 18940 @if itcl 18941 maybe-install-html-itcl: install-html-itcl 18942 18943 install-html-itcl: \ 18944 configure-itcl \ 18945 html-itcl 18946 @: $(MAKE); $(unstage) 18947 @[ -f ./itcl/Makefile ] || exit 0; \ 18948 r=`${PWD_COMMAND}`; export r; \ 18949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18950 $(HOST_EXPORTS) \ 18951 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18953 done; \ 18954 echo "Doing install-html in itcl" ; \ 18955 (cd $(HOST_SUBDIR)/itcl && \ 18956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18958 "RANLIB=$${RANLIB}" \ 18959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18960 install-html) \ 18961 || exit 1 18962 18963 @endif itcl 18964 18965 .PHONY: maybe-installcheck-itcl installcheck-itcl 18966 maybe-installcheck-itcl: 18967 @if itcl 18968 maybe-installcheck-itcl: installcheck-itcl 18969 18970 installcheck-itcl: \ 18971 configure-itcl 18972 @: $(MAKE); $(unstage) 18973 @[ -f ./itcl/Makefile ] || exit 0; \ 18974 r=`${PWD_COMMAND}`; export r; \ 18975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 18976 $(HOST_EXPORTS) \ 18977 for flag in $(EXTRA_HOST_FLAGS) ; do \ 18978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 18979 done; \ 18980 echo "Doing installcheck in itcl" ; \ 18981 (cd $(HOST_SUBDIR)/itcl && \ 18982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 18983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 18984 "RANLIB=$${RANLIB}" \ 18985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 18986 installcheck) \ 18987 || exit 1 18988 18989 @endif itcl 18990 18991 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl 18992 maybe-mostlyclean-itcl: 18993 @if itcl 18994 maybe-mostlyclean-itcl: mostlyclean-itcl 18995 18996 mostlyclean-itcl: 18997 @: $(MAKE); $(unstage) 18998 @[ -f ./itcl/Makefile ] || exit 0; \ 18999 r=`${PWD_COMMAND}`; export r; \ 19000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19001 $(HOST_EXPORTS) \ 19002 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19004 done; \ 19005 echo "Doing mostlyclean in itcl" ; \ 19006 (cd $(HOST_SUBDIR)/itcl && \ 19007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19009 "RANLIB=$${RANLIB}" \ 19010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19011 mostlyclean) \ 19012 || exit 1 19013 19014 @endif itcl 19015 19016 .PHONY: maybe-clean-itcl clean-itcl 19017 maybe-clean-itcl: 19018 @if itcl 19019 maybe-clean-itcl: clean-itcl 19020 19021 clean-itcl: 19022 @: $(MAKE); $(unstage) 19023 @[ -f ./itcl/Makefile ] || exit 0; \ 19024 r=`${PWD_COMMAND}`; export r; \ 19025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19026 $(HOST_EXPORTS) \ 19027 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19029 done; \ 19030 echo "Doing clean in itcl" ; \ 19031 (cd $(HOST_SUBDIR)/itcl && \ 19032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19034 "RANLIB=$${RANLIB}" \ 19035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19036 clean) \ 19037 || exit 1 19038 19039 @endif itcl 19040 19041 .PHONY: maybe-distclean-itcl distclean-itcl 19042 maybe-distclean-itcl: 19043 @if itcl 19044 maybe-distclean-itcl: distclean-itcl 19045 19046 distclean-itcl: 19047 @: $(MAKE); $(unstage) 19048 @[ -f ./itcl/Makefile ] || exit 0; \ 19049 r=`${PWD_COMMAND}`; export r; \ 19050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19051 $(HOST_EXPORTS) \ 19052 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19054 done; \ 19055 echo "Doing distclean in itcl" ; \ 19056 (cd $(HOST_SUBDIR)/itcl && \ 19057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19059 "RANLIB=$${RANLIB}" \ 19060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19061 distclean) \ 19062 || exit 1 19063 19064 @endif itcl 19065 19066 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl 19067 maybe-maintainer-clean-itcl: 19068 @if itcl 19069 maybe-maintainer-clean-itcl: maintainer-clean-itcl 19070 19071 maintainer-clean-itcl: 19072 @: $(MAKE); $(unstage) 19073 @[ -f ./itcl/Makefile ] || exit 0; \ 19074 r=`${PWD_COMMAND}`; export r; \ 19075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19076 $(HOST_EXPORTS) \ 19077 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19079 done; \ 19080 echo "Doing maintainer-clean in itcl" ; \ 19081 (cd $(HOST_SUBDIR)/itcl && \ 19082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19084 "RANLIB=$${RANLIB}" \ 19085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19086 maintainer-clean) \ 19087 || exit 1 19088 19089 @endif itcl 19090 19091 19092 19093 .PHONY: configure-ld maybe-configure-ld 19094 maybe-configure-ld: 19095 @if gcc-bootstrap 19096 configure-ld: stage_current 19097 @endif gcc-bootstrap 19098 @if ld 19099 maybe-configure-ld: configure-ld 19100 configure-ld: 19101 @r=`${PWD_COMMAND}`; export r; \ 19102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19103 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ 19104 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ 19105 $(HOST_EXPORTS) \ 19106 echo Configuring in $(HOST_SUBDIR)/ld; \ 19107 cd "$(HOST_SUBDIR)/ld" || exit 1; \ 19108 case $(srcdir) in \ 19109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 19110 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ 19111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 19112 esac; \ 19113 srcdiroption="--srcdir=$${topdir}/ld"; \ 19114 libsrcdir="$$s/ld"; \ 19115 $(SHELL) $${libsrcdir}/configure \ 19116 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 19117 --target=${target_alias} $${srcdiroption} \ 19118 || exit 1 19119 @endif ld 19120 19121 19122 19123 .PHONY: configure-stage1-ld maybe-configure-stage1-ld 19124 maybe-configure-stage1-ld: 19125 @if ld-bootstrap 19126 maybe-configure-stage1-ld: configure-stage1-ld 19127 configure-stage1-ld: 19128 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 19129 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld 19130 @r=`${PWD_COMMAND}`; export r; \ 19131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19132 TFLAGS="$(STAGE1_TFLAGS)"; \ 19133 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ 19134 $(HOST_EXPORTS) \ 19135 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 19136 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 19137 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 19138 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \ 19139 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ 19140 cd $(HOST_SUBDIR)/ld || exit 1; \ 19141 case $(srcdir) in \ 19142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 19143 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ 19144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 19145 esac; \ 19146 srcdiroption="--srcdir=$${topdir}/ld"; \ 19147 libsrcdir="$$s/ld"; \ 19148 $(SHELL) $${libsrcdir}/configure \ 19149 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 19150 --target=${target_alias} $${srcdiroption} \ 19151 $(STAGE1_CONFIGURE_FLAGS) 19152 @endif ld-bootstrap 19153 19154 .PHONY: configure-stage2-ld maybe-configure-stage2-ld 19155 maybe-configure-stage2-ld: 19156 @if ld-bootstrap 19157 maybe-configure-stage2-ld: configure-stage2-ld 19158 configure-stage2-ld: 19159 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 19160 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld 19161 @r=`${PWD_COMMAND}`; export r; \ 19162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19163 TFLAGS="$(STAGE2_TFLAGS)"; \ 19164 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ 19165 $(HOST_EXPORTS) \ 19166 $(POSTSTAGE1_HOST_EXPORTS) \ 19167 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 19168 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 19169 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 19170 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \ 19171 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ 19172 cd $(HOST_SUBDIR)/ld || exit 1; \ 19173 case $(srcdir) in \ 19174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 19175 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ 19176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 19177 esac; \ 19178 srcdiroption="--srcdir=$${topdir}/ld"; \ 19179 libsrcdir="$$s/ld"; \ 19180 $(SHELL) $${libsrcdir}/configure \ 19181 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 19182 --target=${target_alias} $${srcdiroption} \ 19183 --with-build-libsubdir=$(HOST_SUBDIR) \ 19184 $(STAGE2_CONFIGURE_FLAGS) 19185 @endif ld-bootstrap 19186 19187 .PHONY: configure-stage3-ld maybe-configure-stage3-ld 19188 maybe-configure-stage3-ld: 19189 @if ld-bootstrap 19190 maybe-configure-stage3-ld: configure-stage3-ld 19191 configure-stage3-ld: 19192 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 19193 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld 19194 @r=`${PWD_COMMAND}`; export r; \ 19195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19196 TFLAGS="$(STAGE3_TFLAGS)"; \ 19197 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ 19198 $(HOST_EXPORTS) \ 19199 $(POSTSTAGE1_HOST_EXPORTS) \ 19200 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 19201 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 19202 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 19203 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \ 19204 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ 19205 cd $(HOST_SUBDIR)/ld || exit 1; \ 19206 case $(srcdir) in \ 19207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 19208 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ 19209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 19210 esac; \ 19211 srcdiroption="--srcdir=$${topdir}/ld"; \ 19212 libsrcdir="$$s/ld"; \ 19213 $(SHELL) $${libsrcdir}/configure \ 19214 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 19215 --target=${target_alias} $${srcdiroption} \ 19216 --with-build-libsubdir=$(HOST_SUBDIR) \ 19217 $(STAGE3_CONFIGURE_FLAGS) 19218 @endif ld-bootstrap 19219 19220 .PHONY: configure-stage4-ld maybe-configure-stage4-ld 19221 maybe-configure-stage4-ld: 19222 @if ld-bootstrap 19223 maybe-configure-stage4-ld: configure-stage4-ld 19224 configure-stage4-ld: 19225 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 19226 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld 19227 @r=`${PWD_COMMAND}`; export r; \ 19228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19229 TFLAGS="$(STAGE4_TFLAGS)"; \ 19230 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ 19231 $(HOST_EXPORTS) \ 19232 $(POSTSTAGE1_HOST_EXPORTS) \ 19233 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 19234 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 19235 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 19236 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \ 19237 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ 19238 cd $(HOST_SUBDIR)/ld || exit 1; \ 19239 case $(srcdir) in \ 19240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 19241 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ 19242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 19243 esac; \ 19244 srcdiroption="--srcdir=$${topdir}/ld"; \ 19245 libsrcdir="$$s/ld"; \ 19246 $(SHELL) $${libsrcdir}/configure \ 19247 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 19248 --target=${target_alias} $${srcdiroption} \ 19249 --with-build-libsubdir=$(HOST_SUBDIR) \ 19250 $(STAGE4_CONFIGURE_FLAGS) 19251 @endif ld-bootstrap 19252 19253 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld 19254 maybe-configure-stageprofile-ld: 19255 @if ld-bootstrap 19256 maybe-configure-stageprofile-ld: configure-stageprofile-ld 19257 configure-stageprofile-ld: 19258 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 19259 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld 19260 @r=`${PWD_COMMAND}`; export r; \ 19261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19262 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 19263 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ 19264 $(HOST_EXPORTS) \ 19265 $(POSTSTAGE1_HOST_EXPORTS) \ 19266 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 19267 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 19268 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 19269 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \ 19270 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ 19271 cd $(HOST_SUBDIR)/ld || exit 1; \ 19272 case $(srcdir) in \ 19273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 19274 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ 19275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 19276 esac; \ 19277 srcdiroption="--srcdir=$${topdir}/ld"; \ 19278 libsrcdir="$$s/ld"; \ 19279 $(SHELL) $${libsrcdir}/configure \ 19280 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 19281 --target=${target_alias} $${srcdiroption} \ 19282 --with-build-libsubdir=$(HOST_SUBDIR) \ 19283 $(STAGEprofile_CONFIGURE_FLAGS) 19284 @endif ld-bootstrap 19285 19286 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld 19287 maybe-configure-stagefeedback-ld: 19288 @if ld-bootstrap 19289 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld 19290 configure-stagefeedback-ld: 19291 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 19292 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld 19293 @r=`${PWD_COMMAND}`; export r; \ 19294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19295 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 19296 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \ 19297 $(HOST_EXPORTS) \ 19298 $(POSTSTAGE1_HOST_EXPORTS) \ 19299 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 19300 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 19301 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 19302 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \ 19303 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \ 19304 cd $(HOST_SUBDIR)/ld || exit 1; \ 19305 case $(srcdir) in \ 19306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 19307 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \ 19308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 19309 esac; \ 19310 srcdiroption="--srcdir=$${topdir}/ld"; \ 19311 libsrcdir="$$s/ld"; \ 19312 $(SHELL) $${libsrcdir}/configure \ 19313 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 19314 --target=${target_alias} $${srcdiroption} \ 19315 --with-build-libsubdir=$(HOST_SUBDIR) \ 19316 $(STAGEfeedback_CONFIGURE_FLAGS) 19317 @endif ld-bootstrap 19318 19319 19320 19321 19322 19323 .PHONY: all-ld maybe-all-ld 19324 maybe-all-ld: 19325 @if gcc-bootstrap 19326 all-ld: stage_current 19327 @endif gcc-bootstrap 19328 @if ld 19329 TARGET-ld=all 19330 maybe-all-ld: all-ld 19331 all-ld: configure-ld 19332 @r=`${PWD_COMMAND}`; export r; \ 19333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19334 $(HOST_EXPORTS) \ 19335 (cd $(HOST_SUBDIR)/ld && \ 19336 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 19337 $(TARGET-ld)) 19338 @endif ld 19339 19340 19341 19342 .PHONY: all-stage1-ld maybe-all-stage1-ld 19343 .PHONY: clean-stage1-ld maybe-clean-stage1-ld 19344 maybe-all-stage1-ld: 19345 maybe-clean-stage1-ld: 19346 @if ld-bootstrap 19347 maybe-all-stage1-ld: all-stage1-ld 19348 all-stage1: all-stage1-ld 19349 TARGET-stage1-ld = $(TARGET-ld) 19350 all-stage1-ld: configure-stage1-ld 19351 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 19352 @r=`${PWD_COMMAND}`; export r; \ 19353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19354 TFLAGS="$(STAGE1_TFLAGS)"; \ 19355 $(HOST_EXPORTS) \ 19356 cd $(HOST_SUBDIR)/ld && \ 19357 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 19358 CFLAGS="$(STAGE1_CFLAGS)" \ 19359 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 19360 LIBCFLAGS="$(LIBCFLAGS)" \ 19361 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 19362 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 19363 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 19364 $(EXTRA_HOST_FLAGS) \ 19365 $(STAGE1_FLAGS_TO_PASS) \ 19366 TFLAGS="$(STAGE1_TFLAGS)" \ 19367 $(TARGET-stage1-ld) 19368 19369 maybe-clean-stage1-ld: clean-stage1-ld 19370 clean-stage1: clean-stage1-ld 19371 clean-stage1-ld: 19372 @if [ $(current_stage) = stage1 ]; then \ 19373 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ 19374 else \ 19375 [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \ 19376 $(MAKE) stage1-start; \ 19377 fi; \ 19378 cd $(HOST_SUBDIR)/ld && \ 19379 $(MAKE) $(EXTRA_HOST_FLAGS) \ 19380 $(STAGE1_FLAGS_TO_PASS) clean 19381 @endif ld-bootstrap 19382 19383 19384 .PHONY: all-stage2-ld maybe-all-stage2-ld 19385 .PHONY: clean-stage2-ld maybe-clean-stage2-ld 19386 maybe-all-stage2-ld: 19387 maybe-clean-stage2-ld: 19388 @if ld-bootstrap 19389 maybe-all-stage2-ld: all-stage2-ld 19390 all-stage2: all-stage2-ld 19391 TARGET-stage2-ld = $(TARGET-ld) 19392 all-stage2-ld: configure-stage2-ld 19393 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 19394 @r=`${PWD_COMMAND}`; export r; \ 19395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19396 TFLAGS="$(STAGE2_TFLAGS)"; \ 19397 $(HOST_EXPORTS) \ 19398 $(POSTSTAGE1_HOST_EXPORTS) \ 19399 cd $(HOST_SUBDIR)/ld && \ 19400 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 19401 CFLAGS="$(STAGE2_CFLAGS)" \ 19402 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 19403 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 19404 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 19405 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 19406 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 19407 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 19408 TFLAGS="$(STAGE2_TFLAGS)" \ 19409 $(TARGET-stage2-ld) 19410 19411 maybe-clean-stage2-ld: clean-stage2-ld 19412 clean-stage2: clean-stage2-ld 19413 clean-stage2-ld: 19414 @if [ $(current_stage) = stage2 ]; then \ 19415 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ 19416 else \ 19417 [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \ 19418 $(MAKE) stage2-start; \ 19419 fi; \ 19420 cd $(HOST_SUBDIR)/ld && \ 19421 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 19422 @endif ld-bootstrap 19423 19424 19425 .PHONY: all-stage3-ld maybe-all-stage3-ld 19426 .PHONY: clean-stage3-ld maybe-clean-stage3-ld 19427 maybe-all-stage3-ld: 19428 maybe-clean-stage3-ld: 19429 @if ld-bootstrap 19430 maybe-all-stage3-ld: all-stage3-ld 19431 all-stage3: all-stage3-ld 19432 TARGET-stage3-ld = $(TARGET-ld) 19433 all-stage3-ld: configure-stage3-ld 19434 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 19435 @r=`${PWD_COMMAND}`; export r; \ 19436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19437 TFLAGS="$(STAGE3_TFLAGS)"; \ 19438 $(HOST_EXPORTS) \ 19439 $(POSTSTAGE1_HOST_EXPORTS) \ 19440 cd $(HOST_SUBDIR)/ld && \ 19441 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 19442 CFLAGS="$(STAGE3_CFLAGS)" \ 19443 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 19444 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 19445 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 19446 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 19447 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 19448 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 19449 TFLAGS="$(STAGE3_TFLAGS)" \ 19450 $(TARGET-stage3-ld) 19451 19452 maybe-clean-stage3-ld: clean-stage3-ld 19453 clean-stage3: clean-stage3-ld 19454 clean-stage3-ld: 19455 @if [ $(current_stage) = stage3 ]; then \ 19456 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ 19457 else \ 19458 [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \ 19459 $(MAKE) stage3-start; \ 19460 fi; \ 19461 cd $(HOST_SUBDIR)/ld && \ 19462 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 19463 @endif ld-bootstrap 19464 19465 19466 .PHONY: all-stage4-ld maybe-all-stage4-ld 19467 .PHONY: clean-stage4-ld maybe-clean-stage4-ld 19468 maybe-all-stage4-ld: 19469 maybe-clean-stage4-ld: 19470 @if ld-bootstrap 19471 maybe-all-stage4-ld: all-stage4-ld 19472 all-stage4: all-stage4-ld 19473 TARGET-stage4-ld = $(TARGET-ld) 19474 all-stage4-ld: configure-stage4-ld 19475 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 19476 @r=`${PWD_COMMAND}`; export r; \ 19477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19478 TFLAGS="$(STAGE4_TFLAGS)"; \ 19479 $(HOST_EXPORTS) \ 19480 $(POSTSTAGE1_HOST_EXPORTS) \ 19481 cd $(HOST_SUBDIR)/ld && \ 19482 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 19483 CFLAGS="$(STAGE4_CFLAGS)" \ 19484 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 19485 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 19486 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 19487 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 19488 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 19489 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 19490 TFLAGS="$(STAGE4_TFLAGS)" \ 19491 $(TARGET-stage4-ld) 19492 19493 maybe-clean-stage4-ld: clean-stage4-ld 19494 clean-stage4: clean-stage4-ld 19495 clean-stage4-ld: 19496 @if [ $(current_stage) = stage4 ]; then \ 19497 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ 19498 else \ 19499 [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \ 19500 $(MAKE) stage4-start; \ 19501 fi; \ 19502 cd $(HOST_SUBDIR)/ld && \ 19503 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 19504 @endif ld-bootstrap 19505 19506 19507 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld 19508 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld 19509 maybe-all-stageprofile-ld: 19510 maybe-clean-stageprofile-ld: 19511 @if ld-bootstrap 19512 maybe-all-stageprofile-ld: all-stageprofile-ld 19513 all-stageprofile: all-stageprofile-ld 19514 TARGET-stageprofile-ld = $(TARGET-ld) 19515 all-stageprofile-ld: configure-stageprofile-ld 19516 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 19517 @r=`${PWD_COMMAND}`; export r; \ 19518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19519 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 19520 $(HOST_EXPORTS) \ 19521 $(POSTSTAGE1_HOST_EXPORTS) \ 19522 cd $(HOST_SUBDIR)/ld && \ 19523 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 19524 CFLAGS="$(STAGEprofile_CFLAGS)" \ 19525 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 19526 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 19527 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 19528 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 19529 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 19530 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 19531 TFLAGS="$(STAGEprofile_TFLAGS)" \ 19532 $(TARGET-stageprofile-ld) 19533 19534 maybe-clean-stageprofile-ld: clean-stageprofile-ld 19535 clean-stageprofile: clean-stageprofile-ld 19536 clean-stageprofile-ld: 19537 @if [ $(current_stage) = stageprofile ]; then \ 19538 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ 19539 else \ 19540 [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \ 19541 $(MAKE) stageprofile-start; \ 19542 fi; \ 19543 cd $(HOST_SUBDIR)/ld && \ 19544 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 19545 @endif ld-bootstrap 19546 19547 19548 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld 19549 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld 19550 maybe-all-stagefeedback-ld: 19551 maybe-clean-stagefeedback-ld: 19552 @if ld-bootstrap 19553 maybe-all-stagefeedback-ld: all-stagefeedback-ld 19554 all-stagefeedback: all-stagefeedback-ld 19555 TARGET-stagefeedback-ld = $(TARGET-ld) 19556 all-stagefeedback-ld: configure-stagefeedback-ld 19557 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 19558 @r=`${PWD_COMMAND}`; export r; \ 19559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19560 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 19561 $(HOST_EXPORTS) \ 19562 $(POSTSTAGE1_HOST_EXPORTS) \ 19563 cd $(HOST_SUBDIR)/ld && \ 19564 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 19565 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 19566 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 19567 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 19568 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 19569 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 19570 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 19571 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 19572 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 19573 $(TARGET-stagefeedback-ld) 19574 19575 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld 19576 clean-stagefeedback: clean-stagefeedback-ld 19577 clean-stagefeedback-ld: 19578 @if [ $(current_stage) = stagefeedback ]; then \ 19579 [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \ 19580 else \ 19581 [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \ 19582 $(MAKE) stagefeedback-start; \ 19583 fi; \ 19584 cd $(HOST_SUBDIR)/ld && \ 19585 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 19586 @endif ld-bootstrap 19587 19588 19589 19590 19591 19592 .PHONY: check-ld maybe-check-ld 19593 maybe-check-ld: 19594 @if ld 19595 maybe-check-ld: check-ld 19596 19597 check-ld: 19598 @: $(MAKE); $(unstage) 19599 @r=`${PWD_COMMAND}`; export r; \ 19600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19601 $(HOST_EXPORTS) \ 19602 (cd $(HOST_SUBDIR)/ld && \ 19603 $(MAKE) $(FLAGS_TO_PASS) check) 19604 19605 @endif ld 19606 19607 .PHONY: install-ld maybe-install-ld 19608 maybe-install-ld: 19609 @if ld 19610 maybe-install-ld: install-ld 19611 19612 install-ld: installdirs 19613 @: $(MAKE); $(unstage) 19614 @r=`${PWD_COMMAND}`; export r; \ 19615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19616 $(HOST_EXPORTS) \ 19617 (cd $(HOST_SUBDIR)/ld && \ 19618 $(MAKE) $(FLAGS_TO_PASS) install) 19619 19620 @endif ld 19621 19622 .PHONY: install-strip-ld maybe-install-strip-ld 19623 maybe-install-strip-ld: 19624 @if ld 19625 maybe-install-strip-ld: install-strip-ld 19626 19627 install-strip-ld: installdirs 19628 @: $(MAKE); $(unstage) 19629 @r=`${PWD_COMMAND}`; export r; \ 19630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19631 $(HOST_EXPORTS) \ 19632 (cd $(HOST_SUBDIR)/ld && \ 19633 $(MAKE) $(FLAGS_TO_PASS) install-strip) 19634 19635 @endif ld 19636 19637 # Other targets (info, dvi, pdf, etc.) 19638 19639 .PHONY: maybe-info-ld info-ld 19640 maybe-info-ld: 19641 @if ld 19642 maybe-info-ld: info-ld 19643 19644 info-ld: \ 19645 configure-ld 19646 @[ -f ./ld/Makefile ] || exit 0; \ 19647 r=`${PWD_COMMAND}`; export r; \ 19648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19649 $(HOST_EXPORTS) \ 19650 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19652 done; \ 19653 echo "Doing info in ld" ; \ 19654 (cd $(HOST_SUBDIR)/ld && \ 19655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19657 "RANLIB=$${RANLIB}" \ 19658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19659 info) \ 19660 || exit 1 19661 19662 @endif ld 19663 19664 .PHONY: maybe-dvi-ld dvi-ld 19665 maybe-dvi-ld: 19666 @if ld 19667 maybe-dvi-ld: dvi-ld 19668 19669 dvi-ld: \ 19670 configure-ld 19671 @[ -f ./ld/Makefile ] || exit 0; \ 19672 r=`${PWD_COMMAND}`; export r; \ 19673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19674 $(HOST_EXPORTS) \ 19675 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19677 done; \ 19678 echo "Doing dvi in ld" ; \ 19679 (cd $(HOST_SUBDIR)/ld && \ 19680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19682 "RANLIB=$${RANLIB}" \ 19683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19684 dvi) \ 19685 || exit 1 19686 19687 @endif ld 19688 19689 .PHONY: maybe-pdf-ld pdf-ld 19690 maybe-pdf-ld: 19691 @if ld 19692 maybe-pdf-ld: pdf-ld 19693 19694 pdf-ld: \ 19695 configure-ld 19696 @[ -f ./ld/Makefile ] || exit 0; \ 19697 r=`${PWD_COMMAND}`; export r; \ 19698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19699 $(HOST_EXPORTS) \ 19700 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19702 done; \ 19703 echo "Doing pdf in ld" ; \ 19704 (cd $(HOST_SUBDIR)/ld && \ 19705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19707 "RANLIB=$${RANLIB}" \ 19708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19709 pdf) \ 19710 || exit 1 19711 19712 @endif ld 19713 19714 .PHONY: maybe-html-ld html-ld 19715 maybe-html-ld: 19716 @if ld 19717 maybe-html-ld: html-ld 19718 19719 html-ld: \ 19720 configure-ld 19721 @[ -f ./ld/Makefile ] || exit 0; \ 19722 r=`${PWD_COMMAND}`; export r; \ 19723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19724 $(HOST_EXPORTS) \ 19725 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19727 done; \ 19728 echo "Doing html in ld" ; \ 19729 (cd $(HOST_SUBDIR)/ld && \ 19730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19732 "RANLIB=$${RANLIB}" \ 19733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19734 html) \ 19735 || exit 1 19736 19737 @endif ld 19738 19739 .PHONY: maybe-TAGS-ld TAGS-ld 19740 maybe-TAGS-ld: 19741 @if ld 19742 maybe-TAGS-ld: TAGS-ld 19743 19744 TAGS-ld: \ 19745 configure-ld 19746 @[ -f ./ld/Makefile ] || exit 0; \ 19747 r=`${PWD_COMMAND}`; export r; \ 19748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19749 $(HOST_EXPORTS) \ 19750 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19752 done; \ 19753 echo "Doing TAGS in ld" ; \ 19754 (cd $(HOST_SUBDIR)/ld && \ 19755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19757 "RANLIB=$${RANLIB}" \ 19758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19759 TAGS) \ 19760 || exit 1 19761 19762 @endif ld 19763 19764 .PHONY: maybe-install-info-ld install-info-ld 19765 maybe-install-info-ld: 19766 @if ld 19767 maybe-install-info-ld: install-info-ld 19768 19769 install-info-ld: \ 19770 configure-ld \ 19771 info-ld 19772 @[ -f ./ld/Makefile ] || exit 0; \ 19773 r=`${PWD_COMMAND}`; export r; \ 19774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19775 $(HOST_EXPORTS) \ 19776 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19778 done; \ 19779 echo "Doing install-info in ld" ; \ 19780 (cd $(HOST_SUBDIR)/ld && \ 19781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19783 "RANLIB=$${RANLIB}" \ 19784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19785 install-info) \ 19786 || exit 1 19787 19788 @endif ld 19789 19790 .PHONY: maybe-install-pdf-ld install-pdf-ld 19791 maybe-install-pdf-ld: 19792 @if ld 19793 maybe-install-pdf-ld: install-pdf-ld 19794 19795 install-pdf-ld: \ 19796 configure-ld \ 19797 pdf-ld 19798 @[ -f ./ld/Makefile ] || exit 0; \ 19799 r=`${PWD_COMMAND}`; export r; \ 19800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19801 $(HOST_EXPORTS) \ 19802 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19804 done; \ 19805 echo "Doing install-pdf in ld" ; \ 19806 (cd $(HOST_SUBDIR)/ld && \ 19807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19809 "RANLIB=$${RANLIB}" \ 19810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19811 install-pdf) \ 19812 || exit 1 19813 19814 @endif ld 19815 19816 .PHONY: maybe-install-html-ld install-html-ld 19817 maybe-install-html-ld: 19818 @if ld 19819 maybe-install-html-ld: install-html-ld 19820 19821 install-html-ld: \ 19822 configure-ld \ 19823 html-ld 19824 @[ -f ./ld/Makefile ] || exit 0; \ 19825 r=`${PWD_COMMAND}`; export r; \ 19826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19827 $(HOST_EXPORTS) \ 19828 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19830 done; \ 19831 echo "Doing install-html in ld" ; \ 19832 (cd $(HOST_SUBDIR)/ld && \ 19833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19835 "RANLIB=$${RANLIB}" \ 19836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19837 install-html) \ 19838 || exit 1 19839 19840 @endif ld 19841 19842 .PHONY: maybe-installcheck-ld installcheck-ld 19843 maybe-installcheck-ld: 19844 @if ld 19845 maybe-installcheck-ld: installcheck-ld 19846 19847 installcheck-ld: \ 19848 configure-ld 19849 @[ -f ./ld/Makefile ] || exit 0; \ 19850 r=`${PWD_COMMAND}`; export r; \ 19851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19852 $(HOST_EXPORTS) \ 19853 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19855 done; \ 19856 echo "Doing installcheck in ld" ; \ 19857 (cd $(HOST_SUBDIR)/ld && \ 19858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19860 "RANLIB=$${RANLIB}" \ 19861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19862 installcheck) \ 19863 || exit 1 19864 19865 @endif ld 19866 19867 .PHONY: maybe-mostlyclean-ld mostlyclean-ld 19868 maybe-mostlyclean-ld: 19869 @if ld 19870 maybe-mostlyclean-ld: mostlyclean-ld 19871 19872 mostlyclean-ld: 19873 @[ -f ./ld/Makefile ] || exit 0; \ 19874 r=`${PWD_COMMAND}`; export r; \ 19875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19876 $(HOST_EXPORTS) \ 19877 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19879 done; \ 19880 echo "Doing mostlyclean in ld" ; \ 19881 (cd $(HOST_SUBDIR)/ld && \ 19882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19884 "RANLIB=$${RANLIB}" \ 19885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19886 mostlyclean) \ 19887 || exit 1 19888 19889 @endif ld 19890 19891 .PHONY: maybe-clean-ld clean-ld 19892 maybe-clean-ld: 19893 @if ld 19894 maybe-clean-ld: clean-ld 19895 19896 clean-ld: 19897 @[ -f ./ld/Makefile ] || exit 0; \ 19898 r=`${PWD_COMMAND}`; export r; \ 19899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19900 $(HOST_EXPORTS) \ 19901 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19903 done; \ 19904 echo "Doing clean in ld" ; \ 19905 (cd $(HOST_SUBDIR)/ld && \ 19906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19908 "RANLIB=$${RANLIB}" \ 19909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19910 clean) \ 19911 || exit 1 19912 19913 @endif ld 19914 19915 .PHONY: maybe-distclean-ld distclean-ld 19916 maybe-distclean-ld: 19917 @if ld 19918 maybe-distclean-ld: distclean-ld 19919 19920 distclean-ld: 19921 @[ -f ./ld/Makefile ] || exit 0; \ 19922 r=`${PWD_COMMAND}`; export r; \ 19923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19924 $(HOST_EXPORTS) \ 19925 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19927 done; \ 19928 echo "Doing distclean in ld" ; \ 19929 (cd $(HOST_SUBDIR)/ld && \ 19930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19932 "RANLIB=$${RANLIB}" \ 19933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19934 distclean) \ 19935 || exit 1 19936 19937 @endif ld 19938 19939 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld 19940 maybe-maintainer-clean-ld: 19941 @if ld 19942 maybe-maintainer-clean-ld: maintainer-clean-ld 19943 19944 maintainer-clean-ld: 19945 @[ -f ./ld/Makefile ] || exit 0; \ 19946 r=`${PWD_COMMAND}`; export r; \ 19947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19948 $(HOST_EXPORTS) \ 19949 for flag in $(EXTRA_HOST_FLAGS) ; do \ 19950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 19951 done; \ 19952 echo "Doing maintainer-clean in ld" ; \ 19953 (cd $(HOST_SUBDIR)/ld && \ 19954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 19955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 19956 "RANLIB=$${RANLIB}" \ 19957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 19958 maintainer-clean) \ 19959 || exit 1 19960 19961 @endif ld 19962 19963 19964 19965 .PHONY: configure-libbacktrace maybe-configure-libbacktrace 19966 maybe-configure-libbacktrace: 19967 @if gcc-bootstrap 19968 configure-libbacktrace: stage_current 19969 @endif gcc-bootstrap 19970 @if libbacktrace 19971 maybe-configure-libbacktrace: configure-libbacktrace 19972 configure-libbacktrace: 19973 @r=`${PWD_COMMAND}`; export r; \ 19974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 19975 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \ 19976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \ 19977 $(HOST_EXPORTS) \ 19978 echo Configuring in $(HOST_SUBDIR)/libbacktrace; \ 19979 cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \ 19980 case $(srcdir) in \ 19981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 19982 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \ 19983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 19984 esac; \ 19985 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \ 19986 libsrcdir="$$s/libbacktrace"; \ 19987 $(SHELL) $${libsrcdir}/configure \ 19988 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 19989 --target=${target_alias} $${srcdiroption} \ 19990 || exit 1 19991 @endif libbacktrace 19992 19993 19994 19995 .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace 19996 maybe-configure-stage1-libbacktrace: 19997 @if libbacktrace-bootstrap 19998 maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace 19999 configure-stage1-libbacktrace: 20000 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 20001 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace 20002 @r=`${PWD_COMMAND}`; export r; \ 20003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20004 TFLAGS="$(STAGE1_TFLAGS)"; \ 20005 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \ 20006 $(HOST_EXPORTS) \ 20007 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 20008 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 20009 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 20010 echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \ 20011 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \ 20012 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \ 20013 case $(srcdir) in \ 20014 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 20015 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \ 20016 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 20017 esac; \ 20018 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \ 20019 libsrcdir="$$s/libbacktrace"; \ 20020 $(SHELL) $${libsrcdir}/configure \ 20021 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 20022 --target=${target_alias} $${srcdiroption} \ 20023 $(STAGE1_CONFIGURE_FLAGS) 20024 @endif libbacktrace-bootstrap 20025 20026 .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace 20027 maybe-configure-stage2-libbacktrace: 20028 @if libbacktrace-bootstrap 20029 maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace 20030 configure-stage2-libbacktrace: 20031 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 20032 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace 20033 @r=`${PWD_COMMAND}`; export r; \ 20034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20035 TFLAGS="$(STAGE2_TFLAGS)"; \ 20036 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \ 20037 $(HOST_EXPORTS) \ 20038 $(POSTSTAGE1_HOST_EXPORTS) \ 20039 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 20040 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 20041 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 20042 echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \ 20043 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \ 20044 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \ 20045 case $(srcdir) in \ 20046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 20047 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \ 20048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 20049 esac; \ 20050 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \ 20051 libsrcdir="$$s/libbacktrace"; \ 20052 $(SHELL) $${libsrcdir}/configure \ 20053 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 20054 --target=${target_alias} $${srcdiroption} \ 20055 --with-build-libsubdir=$(HOST_SUBDIR) \ 20056 $(STAGE2_CONFIGURE_FLAGS) 20057 @endif libbacktrace-bootstrap 20058 20059 .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace 20060 maybe-configure-stage3-libbacktrace: 20061 @if libbacktrace-bootstrap 20062 maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace 20063 configure-stage3-libbacktrace: 20064 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 20065 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace 20066 @r=`${PWD_COMMAND}`; export r; \ 20067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20068 TFLAGS="$(STAGE3_TFLAGS)"; \ 20069 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \ 20070 $(HOST_EXPORTS) \ 20071 $(POSTSTAGE1_HOST_EXPORTS) \ 20072 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 20073 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 20074 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 20075 echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \ 20076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \ 20077 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \ 20078 case $(srcdir) in \ 20079 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 20080 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \ 20081 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 20082 esac; \ 20083 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \ 20084 libsrcdir="$$s/libbacktrace"; \ 20085 $(SHELL) $${libsrcdir}/configure \ 20086 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 20087 --target=${target_alias} $${srcdiroption} \ 20088 --with-build-libsubdir=$(HOST_SUBDIR) \ 20089 $(STAGE3_CONFIGURE_FLAGS) 20090 @endif libbacktrace-bootstrap 20091 20092 .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace 20093 maybe-configure-stage4-libbacktrace: 20094 @if libbacktrace-bootstrap 20095 maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace 20096 configure-stage4-libbacktrace: 20097 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 20098 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace 20099 @r=`${PWD_COMMAND}`; export r; \ 20100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20101 TFLAGS="$(STAGE4_TFLAGS)"; \ 20102 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \ 20103 $(HOST_EXPORTS) \ 20104 $(POSTSTAGE1_HOST_EXPORTS) \ 20105 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 20106 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 20107 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 20108 echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \ 20109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \ 20110 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \ 20111 case $(srcdir) in \ 20112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 20113 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \ 20114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 20115 esac; \ 20116 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \ 20117 libsrcdir="$$s/libbacktrace"; \ 20118 $(SHELL) $${libsrcdir}/configure \ 20119 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 20120 --target=${target_alias} $${srcdiroption} \ 20121 --with-build-libsubdir=$(HOST_SUBDIR) \ 20122 $(STAGE4_CONFIGURE_FLAGS) 20123 @endif libbacktrace-bootstrap 20124 20125 .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace 20126 maybe-configure-stageprofile-libbacktrace: 20127 @if libbacktrace-bootstrap 20128 maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace 20129 configure-stageprofile-libbacktrace: 20130 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 20131 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace 20132 @r=`${PWD_COMMAND}`; export r; \ 20133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20134 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 20135 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \ 20136 $(HOST_EXPORTS) \ 20137 $(POSTSTAGE1_HOST_EXPORTS) \ 20138 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 20139 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 20140 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 20141 echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \ 20142 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \ 20143 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \ 20144 case $(srcdir) in \ 20145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 20146 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \ 20147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 20148 esac; \ 20149 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \ 20150 libsrcdir="$$s/libbacktrace"; \ 20151 $(SHELL) $${libsrcdir}/configure \ 20152 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 20153 --target=${target_alias} $${srcdiroption} \ 20154 --with-build-libsubdir=$(HOST_SUBDIR) \ 20155 $(STAGEprofile_CONFIGURE_FLAGS) 20156 @endif libbacktrace-bootstrap 20157 20158 .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace 20159 maybe-configure-stagefeedback-libbacktrace: 20160 @if libbacktrace-bootstrap 20161 maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace 20162 configure-stagefeedback-libbacktrace: 20163 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 20164 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace 20165 @r=`${PWD_COMMAND}`; export r; \ 20166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20167 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 20168 test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \ 20169 $(HOST_EXPORTS) \ 20170 $(POSTSTAGE1_HOST_EXPORTS) \ 20171 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 20172 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 20173 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 20174 echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \ 20175 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \ 20176 cd $(HOST_SUBDIR)/libbacktrace || exit 1; \ 20177 case $(srcdir) in \ 20178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 20179 *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \ 20180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 20181 esac; \ 20182 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \ 20183 libsrcdir="$$s/libbacktrace"; \ 20184 $(SHELL) $${libsrcdir}/configure \ 20185 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 20186 --target=${target_alias} $${srcdiroption} \ 20187 --with-build-libsubdir=$(HOST_SUBDIR) \ 20188 $(STAGEfeedback_CONFIGURE_FLAGS) 20189 @endif libbacktrace-bootstrap 20190 20191 20192 20193 20194 20195 .PHONY: all-libbacktrace maybe-all-libbacktrace 20196 maybe-all-libbacktrace: 20197 @if gcc-bootstrap 20198 all-libbacktrace: stage_current 20199 @endif gcc-bootstrap 20200 @if libbacktrace 20201 TARGET-libbacktrace=all 20202 maybe-all-libbacktrace: all-libbacktrace 20203 all-libbacktrace: configure-libbacktrace 20204 @r=`${PWD_COMMAND}`; export r; \ 20205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20206 $(HOST_EXPORTS) \ 20207 (cd $(HOST_SUBDIR)/libbacktrace && \ 20208 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 20209 $(TARGET-libbacktrace)) 20210 @endif libbacktrace 20211 20212 20213 20214 .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace 20215 .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace 20216 maybe-all-stage1-libbacktrace: 20217 maybe-clean-stage1-libbacktrace: 20218 @if libbacktrace-bootstrap 20219 maybe-all-stage1-libbacktrace: all-stage1-libbacktrace 20220 all-stage1: all-stage1-libbacktrace 20221 TARGET-stage1-libbacktrace = $(TARGET-libbacktrace) 20222 all-stage1-libbacktrace: configure-stage1-libbacktrace 20223 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 20224 @r=`${PWD_COMMAND}`; export r; \ 20225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20226 TFLAGS="$(STAGE1_TFLAGS)"; \ 20227 $(HOST_EXPORTS) \ 20228 cd $(HOST_SUBDIR)/libbacktrace && \ 20229 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 20230 CFLAGS="$(STAGE1_CFLAGS)" \ 20231 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 20232 LIBCFLAGS="$(LIBCFLAGS)" \ 20233 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 20234 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 20235 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 20236 $(EXTRA_HOST_FLAGS) \ 20237 $(STAGE1_FLAGS_TO_PASS) \ 20238 TFLAGS="$(STAGE1_TFLAGS)" \ 20239 $(TARGET-stage1-libbacktrace) 20240 20241 maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace 20242 clean-stage1: clean-stage1-libbacktrace 20243 clean-stage1-libbacktrace: 20244 @if [ $(current_stage) = stage1 ]; then \ 20245 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \ 20246 else \ 20247 [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \ 20248 $(MAKE) stage1-start; \ 20249 fi; \ 20250 cd $(HOST_SUBDIR)/libbacktrace && \ 20251 $(MAKE) $(EXTRA_HOST_FLAGS) \ 20252 $(STAGE1_FLAGS_TO_PASS) clean 20253 @endif libbacktrace-bootstrap 20254 20255 20256 .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace 20257 .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace 20258 maybe-all-stage2-libbacktrace: 20259 maybe-clean-stage2-libbacktrace: 20260 @if libbacktrace-bootstrap 20261 maybe-all-stage2-libbacktrace: all-stage2-libbacktrace 20262 all-stage2: all-stage2-libbacktrace 20263 TARGET-stage2-libbacktrace = $(TARGET-libbacktrace) 20264 all-stage2-libbacktrace: configure-stage2-libbacktrace 20265 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 20266 @r=`${PWD_COMMAND}`; export r; \ 20267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20268 TFLAGS="$(STAGE2_TFLAGS)"; \ 20269 $(HOST_EXPORTS) \ 20270 $(POSTSTAGE1_HOST_EXPORTS) \ 20271 cd $(HOST_SUBDIR)/libbacktrace && \ 20272 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 20273 CFLAGS="$(STAGE2_CFLAGS)" \ 20274 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 20275 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 20276 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 20277 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 20278 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 20279 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 20280 TFLAGS="$(STAGE2_TFLAGS)" \ 20281 $(TARGET-stage2-libbacktrace) 20282 20283 maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace 20284 clean-stage2: clean-stage2-libbacktrace 20285 clean-stage2-libbacktrace: 20286 @if [ $(current_stage) = stage2 ]; then \ 20287 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \ 20288 else \ 20289 [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \ 20290 $(MAKE) stage2-start; \ 20291 fi; \ 20292 cd $(HOST_SUBDIR)/libbacktrace && \ 20293 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 20294 @endif libbacktrace-bootstrap 20295 20296 20297 .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace 20298 .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace 20299 maybe-all-stage3-libbacktrace: 20300 maybe-clean-stage3-libbacktrace: 20301 @if libbacktrace-bootstrap 20302 maybe-all-stage3-libbacktrace: all-stage3-libbacktrace 20303 all-stage3: all-stage3-libbacktrace 20304 TARGET-stage3-libbacktrace = $(TARGET-libbacktrace) 20305 all-stage3-libbacktrace: configure-stage3-libbacktrace 20306 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 20307 @r=`${PWD_COMMAND}`; export r; \ 20308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20309 TFLAGS="$(STAGE3_TFLAGS)"; \ 20310 $(HOST_EXPORTS) \ 20311 $(POSTSTAGE1_HOST_EXPORTS) \ 20312 cd $(HOST_SUBDIR)/libbacktrace && \ 20313 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 20314 CFLAGS="$(STAGE3_CFLAGS)" \ 20315 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 20316 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 20317 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 20318 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 20319 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 20320 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 20321 TFLAGS="$(STAGE3_TFLAGS)" \ 20322 $(TARGET-stage3-libbacktrace) 20323 20324 maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace 20325 clean-stage3: clean-stage3-libbacktrace 20326 clean-stage3-libbacktrace: 20327 @if [ $(current_stage) = stage3 ]; then \ 20328 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \ 20329 else \ 20330 [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \ 20331 $(MAKE) stage3-start; \ 20332 fi; \ 20333 cd $(HOST_SUBDIR)/libbacktrace && \ 20334 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 20335 @endif libbacktrace-bootstrap 20336 20337 20338 .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace 20339 .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace 20340 maybe-all-stage4-libbacktrace: 20341 maybe-clean-stage4-libbacktrace: 20342 @if libbacktrace-bootstrap 20343 maybe-all-stage4-libbacktrace: all-stage4-libbacktrace 20344 all-stage4: all-stage4-libbacktrace 20345 TARGET-stage4-libbacktrace = $(TARGET-libbacktrace) 20346 all-stage4-libbacktrace: configure-stage4-libbacktrace 20347 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 20348 @r=`${PWD_COMMAND}`; export r; \ 20349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20350 TFLAGS="$(STAGE4_TFLAGS)"; \ 20351 $(HOST_EXPORTS) \ 20352 $(POSTSTAGE1_HOST_EXPORTS) \ 20353 cd $(HOST_SUBDIR)/libbacktrace && \ 20354 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 20355 CFLAGS="$(STAGE4_CFLAGS)" \ 20356 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 20357 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 20358 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 20359 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 20360 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 20361 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 20362 TFLAGS="$(STAGE4_TFLAGS)" \ 20363 $(TARGET-stage4-libbacktrace) 20364 20365 maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace 20366 clean-stage4: clean-stage4-libbacktrace 20367 clean-stage4-libbacktrace: 20368 @if [ $(current_stage) = stage4 ]; then \ 20369 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \ 20370 else \ 20371 [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \ 20372 $(MAKE) stage4-start; \ 20373 fi; \ 20374 cd $(HOST_SUBDIR)/libbacktrace && \ 20375 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 20376 @endif libbacktrace-bootstrap 20377 20378 20379 .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace 20380 .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace 20381 maybe-all-stageprofile-libbacktrace: 20382 maybe-clean-stageprofile-libbacktrace: 20383 @if libbacktrace-bootstrap 20384 maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace 20385 all-stageprofile: all-stageprofile-libbacktrace 20386 TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace) 20387 all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace 20388 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 20389 @r=`${PWD_COMMAND}`; export r; \ 20390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20391 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 20392 $(HOST_EXPORTS) \ 20393 $(POSTSTAGE1_HOST_EXPORTS) \ 20394 cd $(HOST_SUBDIR)/libbacktrace && \ 20395 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 20396 CFLAGS="$(STAGEprofile_CFLAGS)" \ 20397 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 20398 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 20399 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 20400 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 20401 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 20402 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 20403 TFLAGS="$(STAGEprofile_TFLAGS)" \ 20404 $(TARGET-stageprofile-libbacktrace) 20405 20406 maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace 20407 clean-stageprofile: clean-stageprofile-libbacktrace 20408 clean-stageprofile-libbacktrace: 20409 @if [ $(current_stage) = stageprofile ]; then \ 20410 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \ 20411 else \ 20412 [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \ 20413 $(MAKE) stageprofile-start; \ 20414 fi; \ 20415 cd $(HOST_SUBDIR)/libbacktrace && \ 20416 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 20417 @endif libbacktrace-bootstrap 20418 20419 20420 .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace 20421 .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace 20422 maybe-all-stagefeedback-libbacktrace: 20423 maybe-clean-stagefeedback-libbacktrace: 20424 @if libbacktrace-bootstrap 20425 maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace 20426 all-stagefeedback: all-stagefeedback-libbacktrace 20427 TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace) 20428 all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace 20429 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 20430 @r=`${PWD_COMMAND}`; export r; \ 20431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20432 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 20433 $(HOST_EXPORTS) \ 20434 $(POSTSTAGE1_HOST_EXPORTS) \ 20435 cd $(HOST_SUBDIR)/libbacktrace && \ 20436 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 20437 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 20438 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 20439 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 20440 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 20441 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 20442 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 20443 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 20444 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 20445 $(TARGET-stagefeedback-libbacktrace) 20446 20447 maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace 20448 clean-stagefeedback: clean-stagefeedback-libbacktrace 20449 clean-stagefeedback-libbacktrace: 20450 @if [ $(current_stage) = stagefeedback ]; then \ 20451 [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \ 20452 else \ 20453 [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \ 20454 $(MAKE) stagefeedback-start; \ 20455 fi; \ 20456 cd $(HOST_SUBDIR)/libbacktrace && \ 20457 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 20458 @endif libbacktrace-bootstrap 20459 20460 20461 20462 20463 20464 .PHONY: check-libbacktrace maybe-check-libbacktrace 20465 maybe-check-libbacktrace: 20466 @if libbacktrace 20467 maybe-check-libbacktrace: check-libbacktrace 20468 20469 check-libbacktrace: 20470 @: $(MAKE); $(unstage) 20471 @r=`${PWD_COMMAND}`; export r; \ 20472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20473 $(HOST_EXPORTS) \ 20474 (cd $(HOST_SUBDIR)/libbacktrace && \ 20475 $(MAKE) $(FLAGS_TO_PASS) check) 20476 20477 @endif libbacktrace 20478 20479 .PHONY: install-libbacktrace maybe-install-libbacktrace 20480 maybe-install-libbacktrace: 20481 @if libbacktrace 20482 maybe-install-libbacktrace: install-libbacktrace 20483 20484 install-libbacktrace: installdirs 20485 @: $(MAKE); $(unstage) 20486 @r=`${PWD_COMMAND}`; export r; \ 20487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20488 $(HOST_EXPORTS) \ 20489 (cd $(HOST_SUBDIR)/libbacktrace && \ 20490 $(MAKE) $(FLAGS_TO_PASS) install) 20491 20492 @endif libbacktrace 20493 20494 .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace 20495 maybe-install-strip-libbacktrace: 20496 @if libbacktrace 20497 maybe-install-strip-libbacktrace: install-strip-libbacktrace 20498 20499 install-strip-libbacktrace: installdirs 20500 @: $(MAKE); $(unstage) 20501 @r=`${PWD_COMMAND}`; export r; \ 20502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20503 $(HOST_EXPORTS) \ 20504 (cd $(HOST_SUBDIR)/libbacktrace && \ 20505 $(MAKE) $(FLAGS_TO_PASS) install-strip) 20506 20507 @endif libbacktrace 20508 20509 # Other targets (info, dvi, pdf, etc.) 20510 20511 .PHONY: maybe-info-libbacktrace info-libbacktrace 20512 maybe-info-libbacktrace: 20513 @if libbacktrace 20514 maybe-info-libbacktrace: info-libbacktrace 20515 20516 info-libbacktrace: \ 20517 configure-libbacktrace 20518 @[ -f ./libbacktrace/Makefile ] || exit 0; \ 20519 r=`${PWD_COMMAND}`; export r; \ 20520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20521 $(HOST_EXPORTS) \ 20522 for flag in $(EXTRA_HOST_FLAGS) ; do \ 20523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 20524 done; \ 20525 echo "Doing info in libbacktrace" ; \ 20526 (cd $(HOST_SUBDIR)/libbacktrace && \ 20527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 20528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 20529 "RANLIB=$${RANLIB}" \ 20530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 20531 info) \ 20532 || exit 1 20533 20534 @endif libbacktrace 20535 20536 .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace 20537 maybe-dvi-libbacktrace: 20538 @if libbacktrace 20539 maybe-dvi-libbacktrace: dvi-libbacktrace 20540 20541 dvi-libbacktrace: \ 20542 configure-libbacktrace 20543 @[ -f ./libbacktrace/Makefile ] || exit 0; \ 20544 r=`${PWD_COMMAND}`; export r; \ 20545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20546 $(HOST_EXPORTS) \ 20547 for flag in $(EXTRA_HOST_FLAGS) ; do \ 20548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 20549 done; \ 20550 echo "Doing dvi in libbacktrace" ; \ 20551 (cd $(HOST_SUBDIR)/libbacktrace && \ 20552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 20553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 20554 "RANLIB=$${RANLIB}" \ 20555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 20556 dvi) \ 20557 || exit 1 20558 20559 @endif libbacktrace 20560 20561 .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace 20562 maybe-pdf-libbacktrace: 20563 @if libbacktrace 20564 maybe-pdf-libbacktrace: pdf-libbacktrace 20565 20566 pdf-libbacktrace: \ 20567 configure-libbacktrace 20568 @[ -f ./libbacktrace/Makefile ] || exit 0; \ 20569 r=`${PWD_COMMAND}`; export r; \ 20570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20571 $(HOST_EXPORTS) \ 20572 for flag in $(EXTRA_HOST_FLAGS) ; do \ 20573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 20574 done; \ 20575 echo "Doing pdf in libbacktrace" ; \ 20576 (cd $(HOST_SUBDIR)/libbacktrace && \ 20577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 20578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 20579 "RANLIB=$${RANLIB}" \ 20580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 20581 pdf) \ 20582 || exit 1 20583 20584 @endif libbacktrace 20585 20586 .PHONY: maybe-html-libbacktrace html-libbacktrace 20587 maybe-html-libbacktrace: 20588 @if libbacktrace 20589 maybe-html-libbacktrace: html-libbacktrace 20590 20591 html-libbacktrace: \ 20592 configure-libbacktrace 20593 @[ -f ./libbacktrace/Makefile ] || exit 0; \ 20594 r=`${PWD_COMMAND}`; export r; \ 20595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20596 $(HOST_EXPORTS) \ 20597 for flag in $(EXTRA_HOST_FLAGS) ; do \ 20598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 20599 done; \ 20600 echo "Doing html in libbacktrace" ; \ 20601 (cd $(HOST_SUBDIR)/libbacktrace && \ 20602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 20603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 20604 "RANLIB=$${RANLIB}" \ 20605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 20606 html) \ 20607 || exit 1 20608 20609 @endif libbacktrace 20610 20611 .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace 20612 maybe-TAGS-libbacktrace: 20613 @if libbacktrace 20614 maybe-TAGS-libbacktrace: TAGS-libbacktrace 20615 20616 TAGS-libbacktrace: \ 20617 configure-libbacktrace 20618 @[ -f ./libbacktrace/Makefile ] || exit 0; \ 20619 r=`${PWD_COMMAND}`; export r; \ 20620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20621 $(HOST_EXPORTS) \ 20622 for flag in $(EXTRA_HOST_FLAGS) ; do \ 20623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 20624 done; \ 20625 echo "Doing TAGS in libbacktrace" ; \ 20626 (cd $(HOST_SUBDIR)/libbacktrace && \ 20627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 20628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 20629 "RANLIB=$${RANLIB}" \ 20630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 20631 TAGS) \ 20632 || exit 1 20633 20634 @endif libbacktrace 20635 20636 .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace 20637 maybe-install-info-libbacktrace: 20638 @if libbacktrace 20639 maybe-install-info-libbacktrace: install-info-libbacktrace 20640 20641 install-info-libbacktrace: \ 20642 configure-libbacktrace \ 20643 info-libbacktrace 20644 @[ -f ./libbacktrace/Makefile ] || exit 0; \ 20645 r=`${PWD_COMMAND}`; export r; \ 20646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20647 $(HOST_EXPORTS) \ 20648 for flag in $(EXTRA_HOST_FLAGS) ; do \ 20649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 20650 done; \ 20651 echo "Doing install-info in libbacktrace" ; \ 20652 (cd $(HOST_SUBDIR)/libbacktrace && \ 20653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 20654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 20655 "RANLIB=$${RANLIB}" \ 20656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 20657 install-info) \ 20658 || exit 1 20659 20660 @endif libbacktrace 20661 20662 .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace 20663 maybe-install-pdf-libbacktrace: 20664 @if libbacktrace 20665 maybe-install-pdf-libbacktrace: install-pdf-libbacktrace 20666 20667 install-pdf-libbacktrace: \ 20668 configure-libbacktrace \ 20669 pdf-libbacktrace 20670 @[ -f ./libbacktrace/Makefile ] || exit 0; \ 20671 r=`${PWD_COMMAND}`; export r; \ 20672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20673 $(HOST_EXPORTS) \ 20674 for flag in $(EXTRA_HOST_FLAGS) ; do \ 20675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 20676 done; \ 20677 echo "Doing install-pdf in libbacktrace" ; \ 20678 (cd $(HOST_SUBDIR)/libbacktrace && \ 20679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 20680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 20681 "RANLIB=$${RANLIB}" \ 20682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 20683 install-pdf) \ 20684 || exit 1 20685 20686 @endif libbacktrace 20687 20688 .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace 20689 maybe-install-html-libbacktrace: 20690 @if libbacktrace 20691 maybe-install-html-libbacktrace: install-html-libbacktrace 20692 20693 install-html-libbacktrace: \ 20694 configure-libbacktrace \ 20695 html-libbacktrace 20696 @[ -f ./libbacktrace/Makefile ] || exit 0; \ 20697 r=`${PWD_COMMAND}`; export r; \ 20698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20699 $(HOST_EXPORTS) \ 20700 for flag in $(EXTRA_HOST_FLAGS) ; do \ 20701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 20702 done; \ 20703 echo "Doing install-html in libbacktrace" ; \ 20704 (cd $(HOST_SUBDIR)/libbacktrace && \ 20705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 20706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 20707 "RANLIB=$${RANLIB}" \ 20708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 20709 install-html) \ 20710 || exit 1 20711 20712 @endif libbacktrace 20713 20714 .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace 20715 maybe-installcheck-libbacktrace: 20716 @if libbacktrace 20717 maybe-installcheck-libbacktrace: installcheck-libbacktrace 20718 20719 installcheck-libbacktrace: \ 20720 configure-libbacktrace 20721 @[ -f ./libbacktrace/Makefile ] || exit 0; \ 20722 r=`${PWD_COMMAND}`; export r; \ 20723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20724 $(HOST_EXPORTS) \ 20725 for flag in $(EXTRA_HOST_FLAGS) ; do \ 20726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 20727 done; \ 20728 echo "Doing installcheck in libbacktrace" ; \ 20729 (cd $(HOST_SUBDIR)/libbacktrace && \ 20730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 20731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 20732 "RANLIB=$${RANLIB}" \ 20733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 20734 installcheck) \ 20735 || exit 1 20736 20737 @endif libbacktrace 20738 20739 .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace 20740 maybe-mostlyclean-libbacktrace: 20741 @if libbacktrace 20742 maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace 20743 20744 mostlyclean-libbacktrace: 20745 @[ -f ./libbacktrace/Makefile ] || exit 0; \ 20746 r=`${PWD_COMMAND}`; export r; \ 20747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20748 $(HOST_EXPORTS) \ 20749 for flag in $(EXTRA_HOST_FLAGS) ; do \ 20750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 20751 done; \ 20752 echo "Doing mostlyclean in libbacktrace" ; \ 20753 (cd $(HOST_SUBDIR)/libbacktrace && \ 20754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 20755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 20756 "RANLIB=$${RANLIB}" \ 20757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 20758 mostlyclean) \ 20759 || exit 1 20760 20761 @endif libbacktrace 20762 20763 .PHONY: maybe-clean-libbacktrace clean-libbacktrace 20764 maybe-clean-libbacktrace: 20765 @if libbacktrace 20766 maybe-clean-libbacktrace: clean-libbacktrace 20767 20768 clean-libbacktrace: 20769 @[ -f ./libbacktrace/Makefile ] || exit 0; \ 20770 r=`${PWD_COMMAND}`; export r; \ 20771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20772 $(HOST_EXPORTS) \ 20773 for flag in $(EXTRA_HOST_FLAGS) ; do \ 20774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 20775 done; \ 20776 echo "Doing clean in libbacktrace" ; \ 20777 (cd $(HOST_SUBDIR)/libbacktrace && \ 20778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 20779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 20780 "RANLIB=$${RANLIB}" \ 20781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 20782 clean) \ 20783 || exit 1 20784 20785 @endif libbacktrace 20786 20787 .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace 20788 maybe-distclean-libbacktrace: 20789 @if libbacktrace 20790 maybe-distclean-libbacktrace: distclean-libbacktrace 20791 20792 distclean-libbacktrace: 20793 @[ -f ./libbacktrace/Makefile ] || exit 0; \ 20794 r=`${PWD_COMMAND}`; export r; \ 20795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20796 $(HOST_EXPORTS) \ 20797 for flag in $(EXTRA_HOST_FLAGS) ; do \ 20798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 20799 done; \ 20800 echo "Doing distclean in libbacktrace" ; \ 20801 (cd $(HOST_SUBDIR)/libbacktrace && \ 20802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 20803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 20804 "RANLIB=$${RANLIB}" \ 20805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 20806 distclean) \ 20807 || exit 1 20808 20809 @endif libbacktrace 20810 20811 .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace 20812 maybe-maintainer-clean-libbacktrace: 20813 @if libbacktrace 20814 maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace 20815 20816 maintainer-clean-libbacktrace: 20817 @[ -f ./libbacktrace/Makefile ] || exit 0; \ 20818 r=`${PWD_COMMAND}`; export r; \ 20819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20820 $(HOST_EXPORTS) \ 20821 for flag in $(EXTRA_HOST_FLAGS) ; do \ 20822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 20823 done; \ 20824 echo "Doing maintainer-clean in libbacktrace" ; \ 20825 (cd $(HOST_SUBDIR)/libbacktrace && \ 20826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 20827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 20828 "RANLIB=$${RANLIB}" \ 20829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 20830 maintainer-clean) \ 20831 || exit 1 20832 20833 @endif libbacktrace 20834 20835 20836 20837 .PHONY: configure-libcpp maybe-configure-libcpp 20838 maybe-configure-libcpp: 20839 @if gcc-bootstrap 20840 configure-libcpp: stage_current 20841 @endif gcc-bootstrap 20842 @if libcpp 20843 maybe-configure-libcpp: configure-libcpp 20844 configure-libcpp: 20845 @r=`${PWD_COMMAND}`; export r; \ 20846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20847 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ 20848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ 20849 $(HOST_EXPORTS) \ 20850 echo Configuring in $(HOST_SUBDIR)/libcpp; \ 20851 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \ 20852 case $(srcdir) in \ 20853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 20854 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ 20855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 20856 esac; \ 20857 srcdiroption="--srcdir=$${topdir}/libcpp"; \ 20858 libsrcdir="$$s/libcpp"; \ 20859 $(SHELL) $${libsrcdir}/configure \ 20860 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 20861 --target=${target_alias} $${srcdiroption} \ 20862 || exit 1 20863 @endif libcpp 20864 20865 20866 20867 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp 20868 maybe-configure-stage1-libcpp: 20869 @if libcpp-bootstrap 20870 maybe-configure-stage1-libcpp: configure-stage1-libcpp 20871 configure-stage1-libcpp: 20872 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 20873 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp 20874 @r=`${PWD_COMMAND}`; export r; \ 20875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20876 TFLAGS="$(STAGE1_TFLAGS)"; \ 20877 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ 20878 $(HOST_EXPORTS) \ 20879 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 20880 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 20881 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 20882 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \ 20883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ 20884 cd $(HOST_SUBDIR)/libcpp || exit 1; \ 20885 case $(srcdir) in \ 20886 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 20887 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ 20888 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 20889 esac; \ 20890 srcdiroption="--srcdir=$${topdir}/libcpp"; \ 20891 libsrcdir="$$s/libcpp"; \ 20892 $(SHELL) $${libsrcdir}/configure \ 20893 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 20894 --target=${target_alias} $${srcdiroption} \ 20895 $(STAGE1_CONFIGURE_FLAGS) 20896 @endif libcpp-bootstrap 20897 20898 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp 20899 maybe-configure-stage2-libcpp: 20900 @if libcpp-bootstrap 20901 maybe-configure-stage2-libcpp: configure-stage2-libcpp 20902 configure-stage2-libcpp: 20903 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 20904 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp 20905 @r=`${PWD_COMMAND}`; export r; \ 20906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20907 TFLAGS="$(STAGE2_TFLAGS)"; \ 20908 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ 20909 $(HOST_EXPORTS) \ 20910 $(POSTSTAGE1_HOST_EXPORTS) \ 20911 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 20912 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 20913 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 20914 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \ 20915 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ 20916 cd $(HOST_SUBDIR)/libcpp || exit 1; \ 20917 case $(srcdir) in \ 20918 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 20919 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ 20920 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 20921 esac; \ 20922 srcdiroption="--srcdir=$${topdir}/libcpp"; \ 20923 libsrcdir="$$s/libcpp"; \ 20924 $(SHELL) $${libsrcdir}/configure \ 20925 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 20926 --target=${target_alias} $${srcdiroption} \ 20927 --with-build-libsubdir=$(HOST_SUBDIR) \ 20928 $(STAGE2_CONFIGURE_FLAGS) 20929 @endif libcpp-bootstrap 20930 20931 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp 20932 maybe-configure-stage3-libcpp: 20933 @if libcpp-bootstrap 20934 maybe-configure-stage3-libcpp: configure-stage3-libcpp 20935 configure-stage3-libcpp: 20936 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 20937 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp 20938 @r=`${PWD_COMMAND}`; export r; \ 20939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20940 TFLAGS="$(STAGE3_TFLAGS)"; \ 20941 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ 20942 $(HOST_EXPORTS) \ 20943 $(POSTSTAGE1_HOST_EXPORTS) \ 20944 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 20945 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 20946 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 20947 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \ 20948 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ 20949 cd $(HOST_SUBDIR)/libcpp || exit 1; \ 20950 case $(srcdir) in \ 20951 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 20952 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ 20953 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 20954 esac; \ 20955 srcdiroption="--srcdir=$${topdir}/libcpp"; \ 20956 libsrcdir="$$s/libcpp"; \ 20957 $(SHELL) $${libsrcdir}/configure \ 20958 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 20959 --target=${target_alias} $${srcdiroption} \ 20960 --with-build-libsubdir=$(HOST_SUBDIR) \ 20961 $(STAGE3_CONFIGURE_FLAGS) 20962 @endif libcpp-bootstrap 20963 20964 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp 20965 maybe-configure-stage4-libcpp: 20966 @if libcpp-bootstrap 20967 maybe-configure-stage4-libcpp: configure-stage4-libcpp 20968 configure-stage4-libcpp: 20969 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 20970 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp 20971 @r=`${PWD_COMMAND}`; export r; \ 20972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 20973 TFLAGS="$(STAGE4_TFLAGS)"; \ 20974 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ 20975 $(HOST_EXPORTS) \ 20976 $(POSTSTAGE1_HOST_EXPORTS) \ 20977 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 20978 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 20979 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 20980 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \ 20981 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ 20982 cd $(HOST_SUBDIR)/libcpp || exit 1; \ 20983 case $(srcdir) in \ 20984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 20985 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ 20986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 20987 esac; \ 20988 srcdiroption="--srcdir=$${topdir}/libcpp"; \ 20989 libsrcdir="$$s/libcpp"; \ 20990 $(SHELL) $${libsrcdir}/configure \ 20991 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 20992 --target=${target_alias} $${srcdiroption} \ 20993 --with-build-libsubdir=$(HOST_SUBDIR) \ 20994 $(STAGE4_CONFIGURE_FLAGS) 20995 @endif libcpp-bootstrap 20996 20997 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp 20998 maybe-configure-stageprofile-libcpp: 20999 @if libcpp-bootstrap 21000 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp 21001 configure-stageprofile-libcpp: 21002 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 21003 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp 21004 @r=`${PWD_COMMAND}`; export r; \ 21005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21006 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 21007 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ 21008 $(HOST_EXPORTS) \ 21009 $(POSTSTAGE1_HOST_EXPORTS) \ 21010 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 21011 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 21012 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 21013 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \ 21014 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ 21015 cd $(HOST_SUBDIR)/libcpp || exit 1; \ 21016 case $(srcdir) in \ 21017 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 21018 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ 21019 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 21020 esac; \ 21021 srcdiroption="--srcdir=$${topdir}/libcpp"; \ 21022 libsrcdir="$$s/libcpp"; \ 21023 $(SHELL) $${libsrcdir}/configure \ 21024 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 21025 --target=${target_alias} $${srcdiroption} \ 21026 --with-build-libsubdir=$(HOST_SUBDIR) \ 21027 $(STAGEprofile_CONFIGURE_FLAGS) 21028 @endif libcpp-bootstrap 21029 21030 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp 21031 maybe-configure-stagefeedback-libcpp: 21032 @if libcpp-bootstrap 21033 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp 21034 configure-stagefeedback-libcpp: 21035 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 21036 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp 21037 @r=`${PWD_COMMAND}`; export r; \ 21038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21039 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 21040 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \ 21041 $(HOST_EXPORTS) \ 21042 $(POSTSTAGE1_HOST_EXPORTS) \ 21043 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 21044 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 21045 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 21046 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \ 21047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \ 21048 cd $(HOST_SUBDIR)/libcpp || exit 1; \ 21049 case $(srcdir) in \ 21050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 21051 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \ 21052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 21053 esac; \ 21054 srcdiroption="--srcdir=$${topdir}/libcpp"; \ 21055 libsrcdir="$$s/libcpp"; \ 21056 $(SHELL) $${libsrcdir}/configure \ 21057 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 21058 --target=${target_alias} $${srcdiroption} \ 21059 --with-build-libsubdir=$(HOST_SUBDIR) \ 21060 $(STAGEfeedback_CONFIGURE_FLAGS) 21061 @endif libcpp-bootstrap 21062 21063 21064 21065 21066 21067 .PHONY: all-libcpp maybe-all-libcpp 21068 maybe-all-libcpp: 21069 @if gcc-bootstrap 21070 all-libcpp: stage_current 21071 @endif gcc-bootstrap 21072 @if libcpp 21073 TARGET-libcpp=all 21074 maybe-all-libcpp: all-libcpp 21075 all-libcpp: configure-libcpp 21076 @r=`${PWD_COMMAND}`; export r; \ 21077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21078 $(HOST_EXPORTS) \ 21079 (cd $(HOST_SUBDIR)/libcpp && \ 21080 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 21081 $(TARGET-libcpp)) 21082 @endif libcpp 21083 21084 21085 21086 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp 21087 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp 21088 maybe-all-stage1-libcpp: 21089 maybe-clean-stage1-libcpp: 21090 @if libcpp-bootstrap 21091 maybe-all-stage1-libcpp: all-stage1-libcpp 21092 all-stage1: all-stage1-libcpp 21093 TARGET-stage1-libcpp = $(TARGET-libcpp) 21094 all-stage1-libcpp: configure-stage1-libcpp 21095 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 21096 @r=`${PWD_COMMAND}`; export r; \ 21097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21098 TFLAGS="$(STAGE1_TFLAGS)"; \ 21099 $(HOST_EXPORTS) \ 21100 cd $(HOST_SUBDIR)/libcpp && \ 21101 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 21102 CFLAGS="$(STAGE1_CFLAGS)" \ 21103 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 21104 LIBCFLAGS="$(LIBCFLAGS)" \ 21105 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 21106 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 21107 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 21108 $(EXTRA_HOST_FLAGS) \ 21109 $(STAGE1_FLAGS_TO_PASS) \ 21110 TFLAGS="$(STAGE1_TFLAGS)" \ 21111 $(TARGET-stage1-libcpp) 21112 21113 maybe-clean-stage1-libcpp: clean-stage1-libcpp 21114 clean-stage1: clean-stage1-libcpp 21115 clean-stage1-libcpp: 21116 @if [ $(current_stage) = stage1 ]; then \ 21117 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \ 21118 else \ 21119 [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \ 21120 $(MAKE) stage1-start; \ 21121 fi; \ 21122 cd $(HOST_SUBDIR)/libcpp && \ 21123 $(MAKE) $(EXTRA_HOST_FLAGS) \ 21124 $(STAGE1_FLAGS_TO_PASS) clean 21125 @endif libcpp-bootstrap 21126 21127 21128 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp 21129 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp 21130 maybe-all-stage2-libcpp: 21131 maybe-clean-stage2-libcpp: 21132 @if libcpp-bootstrap 21133 maybe-all-stage2-libcpp: all-stage2-libcpp 21134 all-stage2: all-stage2-libcpp 21135 TARGET-stage2-libcpp = $(TARGET-libcpp) 21136 all-stage2-libcpp: configure-stage2-libcpp 21137 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 21138 @r=`${PWD_COMMAND}`; export r; \ 21139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21140 TFLAGS="$(STAGE2_TFLAGS)"; \ 21141 $(HOST_EXPORTS) \ 21142 $(POSTSTAGE1_HOST_EXPORTS) \ 21143 cd $(HOST_SUBDIR)/libcpp && \ 21144 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 21145 CFLAGS="$(STAGE2_CFLAGS)" \ 21146 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 21147 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 21148 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 21149 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 21150 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 21151 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 21152 TFLAGS="$(STAGE2_TFLAGS)" \ 21153 $(TARGET-stage2-libcpp) 21154 21155 maybe-clean-stage2-libcpp: clean-stage2-libcpp 21156 clean-stage2: clean-stage2-libcpp 21157 clean-stage2-libcpp: 21158 @if [ $(current_stage) = stage2 ]; then \ 21159 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \ 21160 else \ 21161 [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \ 21162 $(MAKE) stage2-start; \ 21163 fi; \ 21164 cd $(HOST_SUBDIR)/libcpp && \ 21165 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 21166 @endif libcpp-bootstrap 21167 21168 21169 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp 21170 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp 21171 maybe-all-stage3-libcpp: 21172 maybe-clean-stage3-libcpp: 21173 @if libcpp-bootstrap 21174 maybe-all-stage3-libcpp: all-stage3-libcpp 21175 all-stage3: all-stage3-libcpp 21176 TARGET-stage3-libcpp = $(TARGET-libcpp) 21177 all-stage3-libcpp: configure-stage3-libcpp 21178 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 21179 @r=`${PWD_COMMAND}`; export r; \ 21180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21181 TFLAGS="$(STAGE3_TFLAGS)"; \ 21182 $(HOST_EXPORTS) \ 21183 $(POSTSTAGE1_HOST_EXPORTS) \ 21184 cd $(HOST_SUBDIR)/libcpp && \ 21185 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 21186 CFLAGS="$(STAGE3_CFLAGS)" \ 21187 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 21188 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 21189 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 21190 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 21191 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 21192 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 21193 TFLAGS="$(STAGE3_TFLAGS)" \ 21194 $(TARGET-stage3-libcpp) 21195 21196 maybe-clean-stage3-libcpp: clean-stage3-libcpp 21197 clean-stage3: clean-stage3-libcpp 21198 clean-stage3-libcpp: 21199 @if [ $(current_stage) = stage3 ]; then \ 21200 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \ 21201 else \ 21202 [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \ 21203 $(MAKE) stage3-start; \ 21204 fi; \ 21205 cd $(HOST_SUBDIR)/libcpp && \ 21206 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 21207 @endif libcpp-bootstrap 21208 21209 21210 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp 21211 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp 21212 maybe-all-stage4-libcpp: 21213 maybe-clean-stage4-libcpp: 21214 @if libcpp-bootstrap 21215 maybe-all-stage4-libcpp: all-stage4-libcpp 21216 all-stage4: all-stage4-libcpp 21217 TARGET-stage4-libcpp = $(TARGET-libcpp) 21218 all-stage4-libcpp: configure-stage4-libcpp 21219 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 21220 @r=`${PWD_COMMAND}`; export r; \ 21221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21222 TFLAGS="$(STAGE4_TFLAGS)"; \ 21223 $(HOST_EXPORTS) \ 21224 $(POSTSTAGE1_HOST_EXPORTS) \ 21225 cd $(HOST_SUBDIR)/libcpp && \ 21226 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 21227 CFLAGS="$(STAGE4_CFLAGS)" \ 21228 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 21229 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 21230 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 21231 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 21232 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 21233 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 21234 TFLAGS="$(STAGE4_TFLAGS)" \ 21235 $(TARGET-stage4-libcpp) 21236 21237 maybe-clean-stage4-libcpp: clean-stage4-libcpp 21238 clean-stage4: clean-stage4-libcpp 21239 clean-stage4-libcpp: 21240 @if [ $(current_stage) = stage4 ]; then \ 21241 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \ 21242 else \ 21243 [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \ 21244 $(MAKE) stage4-start; \ 21245 fi; \ 21246 cd $(HOST_SUBDIR)/libcpp && \ 21247 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 21248 @endif libcpp-bootstrap 21249 21250 21251 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp 21252 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp 21253 maybe-all-stageprofile-libcpp: 21254 maybe-clean-stageprofile-libcpp: 21255 @if libcpp-bootstrap 21256 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp 21257 all-stageprofile: all-stageprofile-libcpp 21258 TARGET-stageprofile-libcpp = $(TARGET-libcpp) 21259 all-stageprofile-libcpp: configure-stageprofile-libcpp 21260 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 21261 @r=`${PWD_COMMAND}`; export r; \ 21262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21263 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 21264 $(HOST_EXPORTS) \ 21265 $(POSTSTAGE1_HOST_EXPORTS) \ 21266 cd $(HOST_SUBDIR)/libcpp && \ 21267 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 21268 CFLAGS="$(STAGEprofile_CFLAGS)" \ 21269 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 21270 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 21271 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 21272 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 21273 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 21274 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 21275 TFLAGS="$(STAGEprofile_TFLAGS)" \ 21276 $(TARGET-stageprofile-libcpp) 21277 21278 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp 21279 clean-stageprofile: clean-stageprofile-libcpp 21280 clean-stageprofile-libcpp: 21281 @if [ $(current_stage) = stageprofile ]; then \ 21282 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \ 21283 else \ 21284 [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \ 21285 $(MAKE) stageprofile-start; \ 21286 fi; \ 21287 cd $(HOST_SUBDIR)/libcpp && \ 21288 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 21289 @endif libcpp-bootstrap 21290 21291 21292 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp 21293 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp 21294 maybe-all-stagefeedback-libcpp: 21295 maybe-clean-stagefeedback-libcpp: 21296 @if libcpp-bootstrap 21297 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp 21298 all-stagefeedback: all-stagefeedback-libcpp 21299 TARGET-stagefeedback-libcpp = $(TARGET-libcpp) 21300 all-stagefeedback-libcpp: configure-stagefeedback-libcpp 21301 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 21302 @r=`${PWD_COMMAND}`; export r; \ 21303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21304 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 21305 $(HOST_EXPORTS) \ 21306 $(POSTSTAGE1_HOST_EXPORTS) \ 21307 cd $(HOST_SUBDIR)/libcpp && \ 21308 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 21309 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 21310 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 21311 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 21312 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 21313 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 21314 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 21315 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 21316 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 21317 $(TARGET-stagefeedback-libcpp) 21318 21319 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp 21320 clean-stagefeedback: clean-stagefeedback-libcpp 21321 clean-stagefeedback-libcpp: 21322 @if [ $(current_stage) = stagefeedback ]; then \ 21323 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \ 21324 else \ 21325 [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \ 21326 $(MAKE) stagefeedback-start; \ 21327 fi; \ 21328 cd $(HOST_SUBDIR)/libcpp && \ 21329 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 21330 @endif libcpp-bootstrap 21331 21332 21333 21334 21335 21336 .PHONY: check-libcpp maybe-check-libcpp 21337 maybe-check-libcpp: 21338 @if libcpp 21339 maybe-check-libcpp: check-libcpp 21340 21341 check-libcpp: 21342 @: $(MAKE); $(unstage) 21343 @r=`${PWD_COMMAND}`; export r; \ 21344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21345 $(HOST_EXPORTS) \ 21346 (cd $(HOST_SUBDIR)/libcpp && \ 21347 $(MAKE) $(FLAGS_TO_PASS) check) 21348 21349 @endif libcpp 21350 21351 .PHONY: install-libcpp maybe-install-libcpp 21352 maybe-install-libcpp: 21353 @if libcpp 21354 maybe-install-libcpp: install-libcpp 21355 21356 install-libcpp: installdirs 21357 @: $(MAKE); $(unstage) 21358 @r=`${PWD_COMMAND}`; export r; \ 21359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21360 $(HOST_EXPORTS) \ 21361 (cd $(HOST_SUBDIR)/libcpp && \ 21362 $(MAKE) $(FLAGS_TO_PASS) install) 21363 21364 @endif libcpp 21365 21366 .PHONY: install-strip-libcpp maybe-install-strip-libcpp 21367 maybe-install-strip-libcpp: 21368 @if libcpp 21369 maybe-install-strip-libcpp: install-strip-libcpp 21370 21371 install-strip-libcpp: installdirs 21372 @: $(MAKE); $(unstage) 21373 @r=`${PWD_COMMAND}`; export r; \ 21374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21375 $(HOST_EXPORTS) \ 21376 (cd $(HOST_SUBDIR)/libcpp && \ 21377 $(MAKE) $(FLAGS_TO_PASS) install-strip) 21378 21379 @endif libcpp 21380 21381 # Other targets (info, dvi, pdf, etc.) 21382 21383 .PHONY: maybe-info-libcpp info-libcpp 21384 maybe-info-libcpp: 21385 @if libcpp 21386 maybe-info-libcpp: info-libcpp 21387 21388 info-libcpp: \ 21389 configure-libcpp 21390 @[ -f ./libcpp/Makefile ] || exit 0; \ 21391 r=`${PWD_COMMAND}`; export r; \ 21392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21393 $(HOST_EXPORTS) \ 21394 for flag in $(EXTRA_HOST_FLAGS) ; do \ 21395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 21396 done; \ 21397 echo "Doing info in libcpp" ; \ 21398 (cd $(HOST_SUBDIR)/libcpp && \ 21399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 21400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 21401 "RANLIB=$${RANLIB}" \ 21402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 21403 info) \ 21404 || exit 1 21405 21406 @endif libcpp 21407 21408 .PHONY: maybe-dvi-libcpp dvi-libcpp 21409 maybe-dvi-libcpp: 21410 @if libcpp 21411 maybe-dvi-libcpp: dvi-libcpp 21412 21413 dvi-libcpp: \ 21414 configure-libcpp 21415 @[ -f ./libcpp/Makefile ] || exit 0; \ 21416 r=`${PWD_COMMAND}`; export r; \ 21417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21418 $(HOST_EXPORTS) \ 21419 for flag in $(EXTRA_HOST_FLAGS) ; do \ 21420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 21421 done; \ 21422 echo "Doing dvi in libcpp" ; \ 21423 (cd $(HOST_SUBDIR)/libcpp && \ 21424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 21425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 21426 "RANLIB=$${RANLIB}" \ 21427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 21428 dvi) \ 21429 || exit 1 21430 21431 @endif libcpp 21432 21433 .PHONY: maybe-pdf-libcpp pdf-libcpp 21434 maybe-pdf-libcpp: 21435 @if libcpp 21436 maybe-pdf-libcpp: pdf-libcpp 21437 21438 pdf-libcpp: \ 21439 configure-libcpp 21440 @[ -f ./libcpp/Makefile ] || exit 0; \ 21441 r=`${PWD_COMMAND}`; export r; \ 21442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21443 $(HOST_EXPORTS) \ 21444 for flag in $(EXTRA_HOST_FLAGS) ; do \ 21445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 21446 done; \ 21447 echo "Doing pdf in libcpp" ; \ 21448 (cd $(HOST_SUBDIR)/libcpp && \ 21449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 21450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 21451 "RANLIB=$${RANLIB}" \ 21452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 21453 pdf) \ 21454 || exit 1 21455 21456 @endif libcpp 21457 21458 .PHONY: maybe-html-libcpp html-libcpp 21459 maybe-html-libcpp: 21460 @if libcpp 21461 maybe-html-libcpp: html-libcpp 21462 21463 html-libcpp: \ 21464 configure-libcpp 21465 @[ -f ./libcpp/Makefile ] || exit 0; \ 21466 r=`${PWD_COMMAND}`; export r; \ 21467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21468 $(HOST_EXPORTS) \ 21469 for flag in $(EXTRA_HOST_FLAGS) ; do \ 21470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 21471 done; \ 21472 echo "Doing html in libcpp" ; \ 21473 (cd $(HOST_SUBDIR)/libcpp && \ 21474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 21475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 21476 "RANLIB=$${RANLIB}" \ 21477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 21478 html) \ 21479 || exit 1 21480 21481 @endif libcpp 21482 21483 .PHONY: maybe-TAGS-libcpp TAGS-libcpp 21484 maybe-TAGS-libcpp: 21485 @if libcpp 21486 maybe-TAGS-libcpp: TAGS-libcpp 21487 21488 TAGS-libcpp: \ 21489 configure-libcpp 21490 @[ -f ./libcpp/Makefile ] || exit 0; \ 21491 r=`${PWD_COMMAND}`; export r; \ 21492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21493 $(HOST_EXPORTS) \ 21494 for flag in $(EXTRA_HOST_FLAGS) ; do \ 21495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 21496 done; \ 21497 echo "Doing TAGS in libcpp" ; \ 21498 (cd $(HOST_SUBDIR)/libcpp && \ 21499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 21500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 21501 "RANLIB=$${RANLIB}" \ 21502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 21503 TAGS) \ 21504 || exit 1 21505 21506 @endif libcpp 21507 21508 .PHONY: maybe-install-info-libcpp install-info-libcpp 21509 maybe-install-info-libcpp: 21510 @if libcpp 21511 maybe-install-info-libcpp: install-info-libcpp 21512 21513 install-info-libcpp: \ 21514 configure-libcpp \ 21515 info-libcpp 21516 @[ -f ./libcpp/Makefile ] || exit 0; \ 21517 r=`${PWD_COMMAND}`; export r; \ 21518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21519 $(HOST_EXPORTS) \ 21520 for flag in $(EXTRA_HOST_FLAGS) ; do \ 21521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 21522 done; \ 21523 echo "Doing install-info in libcpp" ; \ 21524 (cd $(HOST_SUBDIR)/libcpp && \ 21525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 21526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 21527 "RANLIB=$${RANLIB}" \ 21528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 21529 install-info) \ 21530 || exit 1 21531 21532 @endif libcpp 21533 21534 .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp 21535 maybe-install-pdf-libcpp: 21536 @if libcpp 21537 maybe-install-pdf-libcpp: install-pdf-libcpp 21538 21539 install-pdf-libcpp: \ 21540 configure-libcpp \ 21541 pdf-libcpp 21542 @[ -f ./libcpp/Makefile ] || exit 0; \ 21543 r=`${PWD_COMMAND}`; export r; \ 21544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21545 $(HOST_EXPORTS) \ 21546 for flag in $(EXTRA_HOST_FLAGS) ; do \ 21547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 21548 done; \ 21549 echo "Doing install-pdf in libcpp" ; \ 21550 (cd $(HOST_SUBDIR)/libcpp && \ 21551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 21552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 21553 "RANLIB=$${RANLIB}" \ 21554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 21555 install-pdf) \ 21556 || exit 1 21557 21558 @endif libcpp 21559 21560 .PHONY: maybe-install-html-libcpp install-html-libcpp 21561 maybe-install-html-libcpp: 21562 @if libcpp 21563 maybe-install-html-libcpp: install-html-libcpp 21564 21565 install-html-libcpp: \ 21566 configure-libcpp \ 21567 html-libcpp 21568 @[ -f ./libcpp/Makefile ] || exit 0; \ 21569 r=`${PWD_COMMAND}`; export r; \ 21570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21571 $(HOST_EXPORTS) \ 21572 for flag in $(EXTRA_HOST_FLAGS) ; do \ 21573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 21574 done; \ 21575 echo "Doing install-html in libcpp" ; \ 21576 (cd $(HOST_SUBDIR)/libcpp && \ 21577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 21578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 21579 "RANLIB=$${RANLIB}" \ 21580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 21581 install-html) \ 21582 || exit 1 21583 21584 @endif libcpp 21585 21586 .PHONY: maybe-installcheck-libcpp installcheck-libcpp 21587 maybe-installcheck-libcpp: 21588 @if libcpp 21589 maybe-installcheck-libcpp: installcheck-libcpp 21590 21591 installcheck-libcpp: \ 21592 configure-libcpp 21593 @[ -f ./libcpp/Makefile ] || exit 0; \ 21594 r=`${PWD_COMMAND}`; export r; \ 21595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21596 $(HOST_EXPORTS) \ 21597 for flag in $(EXTRA_HOST_FLAGS) ; do \ 21598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 21599 done; \ 21600 echo "Doing installcheck in libcpp" ; \ 21601 (cd $(HOST_SUBDIR)/libcpp && \ 21602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 21603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 21604 "RANLIB=$${RANLIB}" \ 21605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 21606 installcheck) \ 21607 || exit 1 21608 21609 @endif libcpp 21610 21611 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp 21612 maybe-mostlyclean-libcpp: 21613 @if libcpp 21614 maybe-mostlyclean-libcpp: mostlyclean-libcpp 21615 21616 mostlyclean-libcpp: 21617 @[ -f ./libcpp/Makefile ] || exit 0; \ 21618 r=`${PWD_COMMAND}`; export r; \ 21619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21620 $(HOST_EXPORTS) \ 21621 for flag in $(EXTRA_HOST_FLAGS) ; do \ 21622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 21623 done; \ 21624 echo "Doing mostlyclean in libcpp" ; \ 21625 (cd $(HOST_SUBDIR)/libcpp && \ 21626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 21627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 21628 "RANLIB=$${RANLIB}" \ 21629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 21630 mostlyclean) \ 21631 || exit 1 21632 21633 @endif libcpp 21634 21635 .PHONY: maybe-clean-libcpp clean-libcpp 21636 maybe-clean-libcpp: 21637 @if libcpp 21638 maybe-clean-libcpp: clean-libcpp 21639 21640 clean-libcpp: 21641 @[ -f ./libcpp/Makefile ] || exit 0; \ 21642 r=`${PWD_COMMAND}`; export r; \ 21643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21644 $(HOST_EXPORTS) \ 21645 for flag in $(EXTRA_HOST_FLAGS) ; do \ 21646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 21647 done; \ 21648 echo "Doing clean in libcpp" ; \ 21649 (cd $(HOST_SUBDIR)/libcpp && \ 21650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 21651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 21652 "RANLIB=$${RANLIB}" \ 21653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 21654 clean) \ 21655 || exit 1 21656 21657 @endif libcpp 21658 21659 .PHONY: maybe-distclean-libcpp distclean-libcpp 21660 maybe-distclean-libcpp: 21661 @if libcpp 21662 maybe-distclean-libcpp: distclean-libcpp 21663 21664 distclean-libcpp: 21665 @[ -f ./libcpp/Makefile ] || exit 0; \ 21666 r=`${PWD_COMMAND}`; export r; \ 21667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21668 $(HOST_EXPORTS) \ 21669 for flag in $(EXTRA_HOST_FLAGS) ; do \ 21670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 21671 done; \ 21672 echo "Doing distclean in libcpp" ; \ 21673 (cd $(HOST_SUBDIR)/libcpp && \ 21674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 21675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 21676 "RANLIB=$${RANLIB}" \ 21677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 21678 distclean) \ 21679 || exit 1 21680 21681 @endif libcpp 21682 21683 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp 21684 maybe-maintainer-clean-libcpp: 21685 @if libcpp 21686 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp 21687 21688 maintainer-clean-libcpp: 21689 @[ -f ./libcpp/Makefile ] || exit 0; \ 21690 r=`${PWD_COMMAND}`; export r; \ 21691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21692 $(HOST_EXPORTS) \ 21693 for flag in $(EXTRA_HOST_FLAGS) ; do \ 21694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 21695 done; \ 21696 echo "Doing maintainer-clean in libcpp" ; \ 21697 (cd $(HOST_SUBDIR)/libcpp && \ 21698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 21699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 21700 "RANLIB=$${RANLIB}" \ 21701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 21702 maintainer-clean) \ 21703 || exit 1 21704 21705 @endif libcpp 21706 21707 21708 21709 .PHONY: configure-libdecnumber maybe-configure-libdecnumber 21710 maybe-configure-libdecnumber: 21711 @if gcc-bootstrap 21712 configure-libdecnumber: stage_current 21713 @endif gcc-bootstrap 21714 @if libdecnumber 21715 maybe-configure-libdecnumber: configure-libdecnumber 21716 configure-libdecnumber: 21717 @r=`${PWD_COMMAND}`; export r; \ 21718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21719 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ 21720 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ 21721 $(HOST_EXPORTS) \ 21722 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \ 21723 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \ 21724 case $(srcdir) in \ 21725 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 21726 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ 21727 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 21728 esac; \ 21729 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ 21730 libsrcdir="$$s/libdecnumber"; \ 21731 $(SHELL) $${libsrcdir}/configure \ 21732 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 21733 --target=${target_alias} $${srcdiroption} \ 21734 || exit 1 21735 @endif libdecnumber 21736 21737 21738 21739 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber 21740 maybe-configure-stage1-libdecnumber: 21741 @if libdecnumber-bootstrap 21742 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber 21743 configure-stage1-libdecnumber: 21744 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 21745 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber 21746 @r=`${PWD_COMMAND}`; export r; \ 21747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21748 TFLAGS="$(STAGE1_TFLAGS)"; \ 21749 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ 21750 $(HOST_EXPORTS) \ 21751 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 21752 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 21753 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 21754 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \ 21755 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ 21756 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ 21757 case $(srcdir) in \ 21758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 21759 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ 21760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 21761 esac; \ 21762 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ 21763 libsrcdir="$$s/libdecnumber"; \ 21764 $(SHELL) $${libsrcdir}/configure \ 21765 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 21766 --target=${target_alias} $${srcdiroption} \ 21767 $(STAGE1_CONFIGURE_FLAGS) 21768 @endif libdecnumber-bootstrap 21769 21770 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber 21771 maybe-configure-stage2-libdecnumber: 21772 @if libdecnumber-bootstrap 21773 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber 21774 configure-stage2-libdecnumber: 21775 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 21776 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber 21777 @r=`${PWD_COMMAND}`; export r; \ 21778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21779 TFLAGS="$(STAGE2_TFLAGS)"; \ 21780 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ 21781 $(HOST_EXPORTS) \ 21782 $(POSTSTAGE1_HOST_EXPORTS) \ 21783 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 21784 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 21785 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 21786 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \ 21787 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ 21788 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ 21789 case $(srcdir) in \ 21790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 21791 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ 21792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 21793 esac; \ 21794 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ 21795 libsrcdir="$$s/libdecnumber"; \ 21796 $(SHELL) $${libsrcdir}/configure \ 21797 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 21798 --target=${target_alias} $${srcdiroption} \ 21799 --with-build-libsubdir=$(HOST_SUBDIR) \ 21800 $(STAGE2_CONFIGURE_FLAGS) 21801 @endif libdecnumber-bootstrap 21802 21803 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber 21804 maybe-configure-stage3-libdecnumber: 21805 @if libdecnumber-bootstrap 21806 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber 21807 configure-stage3-libdecnumber: 21808 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 21809 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber 21810 @r=`${PWD_COMMAND}`; export r; \ 21811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21812 TFLAGS="$(STAGE3_TFLAGS)"; \ 21813 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ 21814 $(HOST_EXPORTS) \ 21815 $(POSTSTAGE1_HOST_EXPORTS) \ 21816 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 21817 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 21818 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 21819 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \ 21820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ 21821 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ 21822 case $(srcdir) in \ 21823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 21824 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ 21825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 21826 esac; \ 21827 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ 21828 libsrcdir="$$s/libdecnumber"; \ 21829 $(SHELL) $${libsrcdir}/configure \ 21830 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 21831 --target=${target_alias} $${srcdiroption} \ 21832 --with-build-libsubdir=$(HOST_SUBDIR) \ 21833 $(STAGE3_CONFIGURE_FLAGS) 21834 @endif libdecnumber-bootstrap 21835 21836 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber 21837 maybe-configure-stage4-libdecnumber: 21838 @if libdecnumber-bootstrap 21839 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber 21840 configure-stage4-libdecnumber: 21841 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 21842 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber 21843 @r=`${PWD_COMMAND}`; export r; \ 21844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21845 TFLAGS="$(STAGE4_TFLAGS)"; \ 21846 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ 21847 $(HOST_EXPORTS) \ 21848 $(POSTSTAGE1_HOST_EXPORTS) \ 21849 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 21850 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 21851 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 21852 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \ 21853 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ 21854 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ 21855 case $(srcdir) in \ 21856 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 21857 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ 21858 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 21859 esac; \ 21860 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ 21861 libsrcdir="$$s/libdecnumber"; \ 21862 $(SHELL) $${libsrcdir}/configure \ 21863 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 21864 --target=${target_alias} $${srcdiroption} \ 21865 --with-build-libsubdir=$(HOST_SUBDIR) \ 21866 $(STAGE4_CONFIGURE_FLAGS) 21867 @endif libdecnumber-bootstrap 21868 21869 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber 21870 maybe-configure-stageprofile-libdecnumber: 21871 @if libdecnumber-bootstrap 21872 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber 21873 configure-stageprofile-libdecnumber: 21874 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 21875 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber 21876 @r=`${PWD_COMMAND}`; export r; \ 21877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21878 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 21879 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ 21880 $(HOST_EXPORTS) \ 21881 $(POSTSTAGE1_HOST_EXPORTS) \ 21882 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 21883 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 21884 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 21885 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \ 21886 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ 21887 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ 21888 case $(srcdir) in \ 21889 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 21890 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ 21891 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 21892 esac; \ 21893 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ 21894 libsrcdir="$$s/libdecnumber"; \ 21895 $(SHELL) $${libsrcdir}/configure \ 21896 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 21897 --target=${target_alias} $${srcdiroption} \ 21898 --with-build-libsubdir=$(HOST_SUBDIR) \ 21899 $(STAGEprofile_CONFIGURE_FLAGS) 21900 @endif libdecnumber-bootstrap 21901 21902 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber 21903 maybe-configure-stagefeedback-libdecnumber: 21904 @if libdecnumber-bootstrap 21905 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber 21906 configure-stagefeedback-libdecnumber: 21907 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 21908 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber 21909 @r=`${PWD_COMMAND}`; export r; \ 21910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21911 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 21912 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \ 21913 $(HOST_EXPORTS) \ 21914 $(POSTSTAGE1_HOST_EXPORTS) \ 21915 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 21916 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 21917 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 21918 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \ 21919 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \ 21920 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \ 21921 case $(srcdir) in \ 21922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 21923 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \ 21924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 21925 esac; \ 21926 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \ 21927 libsrcdir="$$s/libdecnumber"; \ 21928 $(SHELL) $${libsrcdir}/configure \ 21929 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 21930 --target=${target_alias} $${srcdiroption} \ 21931 --with-build-libsubdir=$(HOST_SUBDIR) \ 21932 $(STAGEfeedback_CONFIGURE_FLAGS) 21933 @endif libdecnumber-bootstrap 21934 21935 21936 21937 21938 21939 .PHONY: all-libdecnumber maybe-all-libdecnumber 21940 maybe-all-libdecnumber: 21941 @if gcc-bootstrap 21942 all-libdecnumber: stage_current 21943 @endif gcc-bootstrap 21944 @if libdecnumber 21945 TARGET-libdecnumber=all 21946 maybe-all-libdecnumber: all-libdecnumber 21947 all-libdecnumber: configure-libdecnumber 21948 @r=`${PWD_COMMAND}`; export r; \ 21949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21950 $(HOST_EXPORTS) \ 21951 (cd $(HOST_SUBDIR)/libdecnumber && \ 21952 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 21953 $(TARGET-libdecnumber)) 21954 @endif libdecnumber 21955 21956 21957 21958 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber 21959 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber 21960 maybe-all-stage1-libdecnumber: 21961 maybe-clean-stage1-libdecnumber: 21962 @if libdecnumber-bootstrap 21963 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber 21964 all-stage1: all-stage1-libdecnumber 21965 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber) 21966 all-stage1-libdecnumber: configure-stage1-libdecnumber 21967 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 21968 @r=`${PWD_COMMAND}`; export r; \ 21969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 21970 TFLAGS="$(STAGE1_TFLAGS)"; \ 21971 $(HOST_EXPORTS) \ 21972 cd $(HOST_SUBDIR)/libdecnumber && \ 21973 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 21974 CFLAGS="$(STAGE1_CFLAGS)" \ 21975 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 21976 LIBCFLAGS="$(LIBCFLAGS)" \ 21977 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 21978 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 21979 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 21980 $(EXTRA_HOST_FLAGS) \ 21981 $(STAGE1_FLAGS_TO_PASS) \ 21982 TFLAGS="$(STAGE1_TFLAGS)" \ 21983 $(TARGET-stage1-libdecnumber) 21984 21985 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber 21986 clean-stage1: clean-stage1-libdecnumber 21987 clean-stage1-libdecnumber: 21988 @if [ $(current_stage) = stage1 ]; then \ 21989 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \ 21990 else \ 21991 [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \ 21992 $(MAKE) stage1-start; \ 21993 fi; \ 21994 cd $(HOST_SUBDIR)/libdecnumber && \ 21995 $(MAKE) $(EXTRA_HOST_FLAGS) \ 21996 $(STAGE1_FLAGS_TO_PASS) clean 21997 @endif libdecnumber-bootstrap 21998 21999 22000 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber 22001 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber 22002 maybe-all-stage2-libdecnumber: 22003 maybe-clean-stage2-libdecnumber: 22004 @if libdecnumber-bootstrap 22005 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber 22006 all-stage2: all-stage2-libdecnumber 22007 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber) 22008 all-stage2-libdecnumber: configure-stage2-libdecnumber 22009 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 22010 @r=`${PWD_COMMAND}`; export r; \ 22011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22012 TFLAGS="$(STAGE2_TFLAGS)"; \ 22013 $(HOST_EXPORTS) \ 22014 $(POSTSTAGE1_HOST_EXPORTS) \ 22015 cd $(HOST_SUBDIR)/libdecnumber && \ 22016 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 22017 CFLAGS="$(STAGE2_CFLAGS)" \ 22018 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 22019 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 22020 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 22021 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 22022 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 22023 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 22024 TFLAGS="$(STAGE2_TFLAGS)" \ 22025 $(TARGET-stage2-libdecnumber) 22026 22027 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber 22028 clean-stage2: clean-stage2-libdecnumber 22029 clean-stage2-libdecnumber: 22030 @if [ $(current_stage) = stage2 ]; then \ 22031 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \ 22032 else \ 22033 [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \ 22034 $(MAKE) stage2-start; \ 22035 fi; \ 22036 cd $(HOST_SUBDIR)/libdecnumber && \ 22037 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 22038 @endif libdecnumber-bootstrap 22039 22040 22041 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber 22042 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber 22043 maybe-all-stage3-libdecnumber: 22044 maybe-clean-stage3-libdecnumber: 22045 @if libdecnumber-bootstrap 22046 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber 22047 all-stage3: all-stage3-libdecnumber 22048 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber) 22049 all-stage3-libdecnumber: configure-stage3-libdecnumber 22050 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 22051 @r=`${PWD_COMMAND}`; export r; \ 22052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22053 TFLAGS="$(STAGE3_TFLAGS)"; \ 22054 $(HOST_EXPORTS) \ 22055 $(POSTSTAGE1_HOST_EXPORTS) \ 22056 cd $(HOST_SUBDIR)/libdecnumber && \ 22057 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 22058 CFLAGS="$(STAGE3_CFLAGS)" \ 22059 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 22060 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 22061 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 22062 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 22063 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 22064 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 22065 TFLAGS="$(STAGE3_TFLAGS)" \ 22066 $(TARGET-stage3-libdecnumber) 22067 22068 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber 22069 clean-stage3: clean-stage3-libdecnumber 22070 clean-stage3-libdecnumber: 22071 @if [ $(current_stage) = stage3 ]; then \ 22072 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \ 22073 else \ 22074 [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \ 22075 $(MAKE) stage3-start; \ 22076 fi; \ 22077 cd $(HOST_SUBDIR)/libdecnumber && \ 22078 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 22079 @endif libdecnumber-bootstrap 22080 22081 22082 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber 22083 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber 22084 maybe-all-stage4-libdecnumber: 22085 maybe-clean-stage4-libdecnumber: 22086 @if libdecnumber-bootstrap 22087 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber 22088 all-stage4: all-stage4-libdecnumber 22089 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber) 22090 all-stage4-libdecnumber: configure-stage4-libdecnumber 22091 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 22092 @r=`${PWD_COMMAND}`; export r; \ 22093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22094 TFLAGS="$(STAGE4_TFLAGS)"; \ 22095 $(HOST_EXPORTS) \ 22096 $(POSTSTAGE1_HOST_EXPORTS) \ 22097 cd $(HOST_SUBDIR)/libdecnumber && \ 22098 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 22099 CFLAGS="$(STAGE4_CFLAGS)" \ 22100 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 22101 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 22102 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 22103 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 22104 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 22105 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 22106 TFLAGS="$(STAGE4_TFLAGS)" \ 22107 $(TARGET-stage4-libdecnumber) 22108 22109 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber 22110 clean-stage4: clean-stage4-libdecnumber 22111 clean-stage4-libdecnumber: 22112 @if [ $(current_stage) = stage4 ]; then \ 22113 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \ 22114 else \ 22115 [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \ 22116 $(MAKE) stage4-start; \ 22117 fi; \ 22118 cd $(HOST_SUBDIR)/libdecnumber && \ 22119 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 22120 @endif libdecnumber-bootstrap 22121 22122 22123 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber 22124 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber 22125 maybe-all-stageprofile-libdecnumber: 22126 maybe-clean-stageprofile-libdecnumber: 22127 @if libdecnumber-bootstrap 22128 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber 22129 all-stageprofile: all-stageprofile-libdecnumber 22130 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber) 22131 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber 22132 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 22133 @r=`${PWD_COMMAND}`; export r; \ 22134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22135 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 22136 $(HOST_EXPORTS) \ 22137 $(POSTSTAGE1_HOST_EXPORTS) \ 22138 cd $(HOST_SUBDIR)/libdecnumber && \ 22139 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 22140 CFLAGS="$(STAGEprofile_CFLAGS)" \ 22141 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 22142 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 22143 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 22144 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 22145 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 22146 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 22147 TFLAGS="$(STAGEprofile_TFLAGS)" \ 22148 $(TARGET-stageprofile-libdecnumber) 22149 22150 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber 22151 clean-stageprofile: clean-stageprofile-libdecnumber 22152 clean-stageprofile-libdecnumber: 22153 @if [ $(current_stage) = stageprofile ]; then \ 22154 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \ 22155 else \ 22156 [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \ 22157 $(MAKE) stageprofile-start; \ 22158 fi; \ 22159 cd $(HOST_SUBDIR)/libdecnumber && \ 22160 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 22161 @endif libdecnumber-bootstrap 22162 22163 22164 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber 22165 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber 22166 maybe-all-stagefeedback-libdecnumber: 22167 maybe-clean-stagefeedback-libdecnumber: 22168 @if libdecnumber-bootstrap 22169 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber 22170 all-stagefeedback: all-stagefeedback-libdecnumber 22171 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber) 22172 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber 22173 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 22174 @r=`${PWD_COMMAND}`; export r; \ 22175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22176 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 22177 $(HOST_EXPORTS) \ 22178 $(POSTSTAGE1_HOST_EXPORTS) \ 22179 cd $(HOST_SUBDIR)/libdecnumber && \ 22180 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 22181 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 22182 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 22183 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 22184 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 22185 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 22186 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 22187 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 22188 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 22189 $(TARGET-stagefeedback-libdecnumber) 22190 22191 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber 22192 clean-stagefeedback: clean-stagefeedback-libdecnumber 22193 clean-stagefeedback-libdecnumber: 22194 @if [ $(current_stage) = stagefeedback ]; then \ 22195 [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \ 22196 else \ 22197 [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \ 22198 $(MAKE) stagefeedback-start; \ 22199 fi; \ 22200 cd $(HOST_SUBDIR)/libdecnumber && \ 22201 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 22202 @endif libdecnumber-bootstrap 22203 22204 22205 22206 22207 22208 .PHONY: check-libdecnumber maybe-check-libdecnumber 22209 maybe-check-libdecnumber: 22210 @if libdecnumber 22211 maybe-check-libdecnumber: check-libdecnumber 22212 22213 check-libdecnumber: 22214 @: $(MAKE); $(unstage) 22215 @r=`${PWD_COMMAND}`; export r; \ 22216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22217 $(HOST_EXPORTS) \ 22218 (cd $(HOST_SUBDIR)/libdecnumber && \ 22219 $(MAKE) $(FLAGS_TO_PASS) check) 22220 22221 @endif libdecnumber 22222 22223 .PHONY: install-libdecnumber maybe-install-libdecnumber 22224 maybe-install-libdecnumber: 22225 @if libdecnumber 22226 maybe-install-libdecnumber: install-libdecnumber 22227 22228 install-libdecnumber: installdirs 22229 @: $(MAKE); $(unstage) 22230 @r=`${PWD_COMMAND}`; export r; \ 22231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22232 $(HOST_EXPORTS) \ 22233 (cd $(HOST_SUBDIR)/libdecnumber && \ 22234 $(MAKE) $(FLAGS_TO_PASS) install) 22235 22236 @endif libdecnumber 22237 22238 .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber 22239 maybe-install-strip-libdecnumber: 22240 @if libdecnumber 22241 maybe-install-strip-libdecnumber: install-strip-libdecnumber 22242 22243 install-strip-libdecnumber: installdirs 22244 @: $(MAKE); $(unstage) 22245 @r=`${PWD_COMMAND}`; export r; \ 22246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22247 $(HOST_EXPORTS) \ 22248 (cd $(HOST_SUBDIR)/libdecnumber && \ 22249 $(MAKE) $(FLAGS_TO_PASS) install-strip) 22250 22251 @endif libdecnumber 22252 22253 # Other targets (info, dvi, pdf, etc.) 22254 22255 .PHONY: maybe-info-libdecnumber info-libdecnumber 22256 maybe-info-libdecnumber: 22257 @if libdecnumber 22258 maybe-info-libdecnumber: info-libdecnumber 22259 22260 info-libdecnumber: \ 22261 configure-libdecnumber 22262 @[ -f ./libdecnumber/Makefile ] || exit 0; \ 22263 r=`${PWD_COMMAND}`; export r; \ 22264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22265 $(HOST_EXPORTS) \ 22266 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22268 done; \ 22269 echo "Doing info in libdecnumber" ; \ 22270 (cd $(HOST_SUBDIR)/libdecnumber && \ 22271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22273 "RANLIB=$${RANLIB}" \ 22274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22275 info) \ 22276 || exit 1 22277 22278 @endif libdecnumber 22279 22280 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber 22281 maybe-dvi-libdecnumber: 22282 @if libdecnumber 22283 maybe-dvi-libdecnumber: dvi-libdecnumber 22284 22285 dvi-libdecnumber: \ 22286 configure-libdecnumber 22287 @[ -f ./libdecnumber/Makefile ] || exit 0; \ 22288 r=`${PWD_COMMAND}`; export r; \ 22289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22290 $(HOST_EXPORTS) \ 22291 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22293 done; \ 22294 echo "Doing dvi in libdecnumber" ; \ 22295 (cd $(HOST_SUBDIR)/libdecnumber && \ 22296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22298 "RANLIB=$${RANLIB}" \ 22299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22300 dvi) \ 22301 || exit 1 22302 22303 @endif libdecnumber 22304 22305 .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber 22306 maybe-pdf-libdecnumber: 22307 @if libdecnumber 22308 maybe-pdf-libdecnumber: pdf-libdecnumber 22309 22310 pdf-libdecnumber: \ 22311 configure-libdecnumber 22312 @[ -f ./libdecnumber/Makefile ] || exit 0; \ 22313 r=`${PWD_COMMAND}`; export r; \ 22314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22315 $(HOST_EXPORTS) \ 22316 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22318 done; \ 22319 echo "Doing pdf in libdecnumber" ; \ 22320 (cd $(HOST_SUBDIR)/libdecnumber && \ 22321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22323 "RANLIB=$${RANLIB}" \ 22324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22325 pdf) \ 22326 || exit 1 22327 22328 @endif libdecnumber 22329 22330 .PHONY: maybe-html-libdecnumber html-libdecnumber 22331 maybe-html-libdecnumber: 22332 @if libdecnumber 22333 maybe-html-libdecnumber: html-libdecnumber 22334 22335 html-libdecnumber: \ 22336 configure-libdecnumber 22337 @[ -f ./libdecnumber/Makefile ] || exit 0; \ 22338 r=`${PWD_COMMAND}`; export r; \ 22339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22340 $(HOST_EXPORTS) \ 22341 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22343 done; \ 22344 echo "Doing html in libdecnumber" ; \ 22345 (cd $(HOST_SUBDIR)/libdecnumber && \ 22346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22348 "RANLIB=$${RANLIB}" \ 22349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22350 html) \ 22351 || exit 1 22352 22353 @endif libdecnumber 22354 22355 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber 22356 maybe-TAGS-libdecnumber: 22357 @if libdecnumber 22358 maybe-TAGS-libdecnumber: TAGS-libdecnumber 22359 22360 TAGS-libdecnumber: \ 22361 configure-libdecnumber 22362 @[ -f ./libdecnumber/Makefile ] || exit 0; \ 22363 r=`${PWD_COMMAND}`; export r; \ 22364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22365 $(HOST_EXPORTS) \ 22366 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22368 done; \ 22369 echo "Doing TAGS in libdecnumber" ; \ 22370 (cd $(HOST_SUBDIR)/libdecnumber && \ 22371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22373 "RANLIB=$${RANLIB}" \ 22374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22375 TAGS) \ 22376 || exit 1 22377 22378 @endif libdecnumber 22379 22380 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber 22381 maybe-install-info-libdecnumber: 22382 @if libdecnumber 22383 maybe-install-info-libdecnumber: install-info-libdecnumber 22384 22385 install-info-libdecnumber: \ 22386 configure-libdecnumber \ 22387 info-libdecnumber 22388 @[ -f ./libdecnumber/Makefile ] || exit 0; \ 22389 r=`${PWD_COMMAND}`; export r; \ 22390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22391 $(HOST_EXPORTS) \ 22392 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22394 done; \ 22395 echo "Doing install-info in libdecnumber" ; \ 22396 (cd $(HOST_SUBDIR)/libdecnumber && \ 22397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22399 "RANLIB=$${RANLIB}" \ 22400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22401 install-info) \ 22402 || exit 1 22403 22404 @endif libdecnumber 22405 22406 .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber 22407 maybe-install-pdf-libdecnumber: 22408 @if libdecnumber 22409 maybe-install-pdf-libdecnumber: install-pdf-libdecnumber 22410 22411 install-pdf-libdecnumber: \ 22412 configure-libdecnumber \ 22413 pdf-libdecnumber 22414 @[ -f ./libdecnumber/Makefile ] || exit 0; \ 22415 r=`${PWD_COMMAND}`; export r; \ 22416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22417 $(HOST_EXPORTS) \ 22418 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22420 done; \ 22421 echo "Doing install-pdf in libdecnumber" ; \ 22422 (cd $(HOST_SUBDIR)/libdecnumber && \ 22423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22425 "RANLIB=$${RANLIB}" \ 22426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22427 install-pdf) \ 22428 || exit 1 22429 22430 @endif libdecnumber 22431 22432 .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber 22433 maybe-install-html-libdecnumber: 22434 @if libdecnumber 22435 maybe-install-html-libdecnumber: install-html-libdecnumber 22436 22437 install-html-libdecnumber: \ 22438 configure-libdecnumber \ 22439 html-libdecnumber 22440 @[ -f ./libdecnumber/Makefile ] || exit 0; \ 22441 r=`${PWD_COMMAND}`; export r; \ 22442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22443 $(HOST_EXPORTS) \ 22444 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22446 done; \ 22447 echo "Doing install-html in libdecnumber" ; \ 22448 (cd $(HOST_SUBDIR)/libdecnumber && \ 22449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22451 "RANLIB=$${RANLIB}" \ 22452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22453 install-html) \ 22454 || exit 1 22455 22456 @endif libdecnumber 22457 22458 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber 22459 maybe-installcheck-libdecnumber: 22460 @if libdecnumber 22461 maybe-installcheck-libdecnumber: installcheck-libdecnumber 22462 22463 installcheck-libdecnumber: \ 22464 configure-libdecnumber 22465 @[ -f ./libdecnumber/Makefile ] || exit 0; \ 22466 r=`${PWD_COMMAND}`; export r; \ 22467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22468 $(HOST_EXPORTS) \ 22469 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22471 done; \ 22472 echo "Doing installcheck in libdecnumber" ; \ 22473 (cd $(HOST_SUBDIR)/libdecnumber && \ 22474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22476 "RANLIB=$${RANLIB}" \ 22477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22478 installcheck) \ 22479 || exit 1 22480 22481 @endif libdecnumber 22482 22483 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber 22484 maybe-mostlyclean-libdecnumber: 22485 @if libdecnumber 22486 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber 22487 22488 mostlyclean-libdecnumber: 22489 @[ -f ./libdecnumber/Makefile ] || exit 0; \ 22490 r=`${PWD_COMMAND}`; export r; \ 22491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22492 $(HOST_EXPORTS) \ 22493 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22495 done; \ 22496 echo "Doing mostlyclean in libdecnumber" ; \ 22497 (cd $(HOST_SUBDIR)/libdecnumber && \ 22498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22500 "RANLIB=$${RANLIB}" \ 22501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22502 mostlyclean) \ 22503 || exit 1 22504 22505 @endif libdecnumber 22506 22507 .PHONY: maybe-clean-libdecnumber clean-libdecnumber 22508 maybe-clean-libdecnumber: 22509 @if libdecnumber 22510 maybe-clean-libdecnumber: clean-libdecnumber 22511 22512 clean-libdecnumber: 22513 @[ -f ./libdecnumber/Makefile ] || exit 0; \ 22514 r=`${PWD_COMMAND}`; export r; \ 22515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22516 $(HOST_EXPORTS) \ 22517 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22519 done; \ 22520 echo "Doing clean in libdecnumber" ; \ 22521 (cd $(HOST_SUBDIR)/libdecnumber && \ 22522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22524 "RANLIB=$${RANLIB}" \ 22525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22526 clean) \ 22527 || exit 1 22528 22529 @endif libdecnumber 22530 22531 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber 22532 maybe-distclean-libdecnumber: 22533 @if libdecnumber 22534 maybe-distclean-libdecnumber: distclean-libdecnumber 22535 22536 distclean-libdecnumber: 22537 @[ -f ./libdecnumber/Makefile ] || exit 0; \ 22538 r=`${PWD_COMMAND}`; export r; \ 22539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22540 $(HOST_EXPORTS) \ 22541 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22543 done; \ 22544 echo "Doing distclean in libdecnumber" ; \ 22545 (cd $(HOST_SUBDIR)/libdecnumber && \ 22546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22548 "RANLIB=$${RANLIB}" \ 22549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22550 distclean) \ 22551 || exit 1 22552 22553 @endif libdecnumber 22554 22555 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber 22556 maybe-maintainer-clean-libdecnumber: 22557 @if libdecnumber 22558 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber 22559 22560 maintainer-clean-libdecnumber: 22561 @[ -f ./libdecnumber/Makefile ] || exit 0; \ 22562 r=`${PWD_COMMAND}`; export r; \ 22563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22564 $(HOST_EXPORTS) \ 22565 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22567 done; \ 22568 echo "Doing maintainer-clean in libdecnumber" ; \ 22569 (cd $(HOST_SUBDIR)/libdecnumber && \ 22570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22572 "RANLIB=$${RANLIB}" \ 22573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22574 maintainer-clean) \ 22575 || exit 1 22576 22577 @endif libdecnumber 22578 22579 22580 22581 .PHONY: configure-libgui maybe-configure-libgui 22582 maybe-configure-libgui: 22583 @if gcc-bootstrap 22584 configure-libgui: stage_current 22585 @endif gcc-bootstrap 22586 @if libgui 22587 maybe-configure-libgui: configure-libgui 22588 configure-libgui: 22589 @: $(MAKE); $(unstage) 22590 @r=`${PWD_COMMAND}`; export r; \ 22591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22592 test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \ 22593 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \ 22594 $(HOST_EXPORTS) \ 22595 echo Configuring in $(HOST_SUBDIR)/libgui; \ 22596 cd "$(HOST_SUBDIR)/libgui" || exit 1; \ 22597 case $(srcdir) in \ 22598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 22599 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \ 22600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 22601 esac; \ 22602 srcdiroption="--srcdir=$${topdir}/libgui"; \ 22603 libsrcdir="$$s/libgui"; \ 22604 $(SHELL) $${libsrcdir}/configure \ 22605 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 22606 --target=${target_alias} $${srcdiroption} \ 22607 || exit 1 22608 @endif libgui 22609 22610 22611 22612 22613 22614 .PHONY: all-libgui maybe-all-libgui 22615 maybe-all-libgui: 22616 @if gcc-bootstrap 22617 all-libgui: stage_current 22618 @endif gcc-bootstrap 22619 @if libgui 22620 TARGET-libgui=all 22621 maybe-all-libgui: all-libgui 22622 all-libgui: configure-libgui 22623 @: $(MAKE); $(unstage) 22624 @r=`${PWD_COMMAND}`; export r; \ 22625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22626 $(HOST_EXPORTS) \ 22627 (cd $(HOST_SUBDIR)/libgui && \ 22628 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 22629 $(TARGET-libgui)) 22630 @endif libgui 22631 22632 22633 22634 22635 .PHONY: check-libgui maybe-check-libgui 22636 maybe-check-libgui: 22637 @if libgui 22638 maybe-check-libgui: check-libgui 22639 22640 check-libgui: 22641 @: $(MAKE); $(unstage) 22642 @r=`${PWD_COMMAND}`; export r; \ 22643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22644 $(HOST_EXPORTS) \ 22645 (cd $(HOST_SUBDIR)/libgui && \ 22646 $(MAKE) $(FLAGS_TO_PASS) check) 22647 22648 @endif libgui 22649 22650 .PHONY: install-libgui maybe-install-libgui 22651 maybe-install-libgui: 22652 @if libgui 22653 maybe-install-libgui: install-libgui 22654 22655 install-libgui: installdirs 22656 @: $(MAKE); $(unstage) 22657 @r=`${PWD_COMMAND}`; export r; \ 22658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22659 $(HOST_EXPORTS) \ 22660 (cd $(HOST_SUBDIR)/libgui && \ 22661 $(MAKE) $(FLAGS_TO_PASS) install) 22662 22663 @endif libgui 22664 22665 .PHONY: install-strip-libgui maybe-install-strip-libgui 22666 maybe-install-strip-libgui: 22667 @if libgui 22668 maybe-install-strip-libgui: install-strip-libgui 22669 22670 install-strip-libgui: installdirs 22671 @: $(MAKE); $(unstage) 22672 @r=`${PWD_COMMAND}`; export r; \ 22673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22674 $(HOST_EXPORTS) \ 22675 (cd $(HOST_SUBDIR)/libgui && \ 22676 $(MAKE) $(FLAGS_TO_PASS) install-strip) 22677 22678 @endif libgui 22679 22680 # Other targets (info, dvi, pdf, etc.) 22681 22682 .PHONY: maybe-info-libgui info-libgui 22683 maybe-info-libgui: 22684 @if libgui 22685 maybe-info-libgui: info-libgui 22686 22687 info-libgui: \ 22688 configure-libgui 22689 @: $(MAKE); $(unstage) 22690 @[ -f ./libgui/Makefile ] || exit 0; \ 22691 r=`${PWD_COMMAND}`; export r; \ 22692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22693 $(HOST_EXPORTS) \ 22694 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22696 done; \ 22697 echo "Doing info in libgui" ; \ 22698 (cd $(HOST_SUBDIR)/libgui && \ 22699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22701 "RANLIB=$${RANLIB}" \ 22702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22703 info) \ 22704 || exit 1 22705 22706 @endif libgui 22707 22708 .PHONY: maybe-dvi-libgui dvi-libgui 22709 maybe-dvi-libgui: 22710 @if libgui 22711 maybe-dvi-libgui: dvi-libgui 22712 22713 dvi-libgui: \ 22714 configure-libgui 22715 @: $(MAKE); $(unstage) 22716 @[ -f ./libgui/Makefile ] || exit 0; \ 22717 r=`${PWD_COMMAND}`; export r; \ 22718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22719 $(HOST_EXPORTS) \ 22720 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22722 done; \ 22723 echo "Doing dvi in libgui" ; \ 22724 (cd $(HOST_SUBDIR)/libgui && \ 22725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22727 "RANLIB=$${RANLIB}" \ 22728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22729 dvi) \ 22730 || exit 1 22731 22732 @endif libgui 22733 22734 .PHONY: maybe-pdf-libgui pdf-libgui 22735 maybe-pdf-libgui: 22736 @if libgui 22737 maybe-pdf-libgui: pdf-libgui 22738 22739 pdf-libgui: \ 22740 configure-libgui 22741 @: $(MAKE); $(unstage) 22742 @[ -f ./libgui/Makefile ] || exit 0; \ 22743 r=`${PWD_COMMAND}`; export r; \ 22744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22745 $(HOST_EXPORTS) \ 22746 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22748 done; \ 22749 echo "Doing pdf in libgui" ; \ 22750 (cd $(HOST_SUBDIR)/libgui && \ 22751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22753 "RANLIB=$${RANLIB}" \ 22754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22755 pdf) \ 22756 || exit 1 22757 22758 @endif libgui 22759 22760 .PHONY: maybe-html-libgui html-libgui 22761 maybe-html-libgui: 22762 @if libgui 22763 maybe-html-libgui: html-libgui 22764 22765 html-libgui: \ 22766 configure-libgui 22767 @: $(MAKE); $(unstage) 22768 @[ -f ./libgui/Makefile ] || exit 0; \ 22769 r=`${PWD_COMMAND}`; export r; \ 22770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22771 $(HOST_EXPORTS) \ 22772 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22774 done; \ 22775 echo "Doing html in libgui" ; \ 22776 (cd $(HOST_SUBDIR)/libgui && \ 22777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22779 "RANLIB=$${RANLIB}" \ 22780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22781 html) \ 22782 || exit 1 22783 22784 @endif libgui 22785 22786 .PHONY: maybe-TAGS-libgui TAGS-libgui 22787 maybe-TAGS-libgui: 22788 @if libgui 22789 maybe-TAGS-libgui: TAGS-libgui 22790 22791 TAGS-libgui: \ 22792 configure-libgui 22793 @: $(MAKE); $(unstage) 22794 @[ -f ./libgui/Makefile ] || exit 0; \ 22795 r=`${PWD_COMMAND}`; export r; \ 22796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22797 $(HOST_EXPORTS) \ 22798 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22800 done; \ 22801 echo "Doing TAGS in libgui" ; \ 22802 (cd $(HOST_SUBDIR)/libgui && \ 22803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22805 "RANLIB=$${RANLIB}" \ 22806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22807 TAGS) \ 22808 || exit 1 22809 22810 @endif libgui 22811 22812 .PHONY: maybe-install-info-libgui install-info-libgui 22813 maybe-install-info-libgui: 22814 @if libgui 22815 maybe-install-info-libgui: install-info-libgui 22816 22817 install-info-libgui: \ 22818 configure-libgui \ 22819 info-libgui 22820 @: $(MAKE); $(unstage) 22821 @[ -f ./libgui/Makefile ] || exit 0; \ 22822 r=`${PWD_COMMAND}`; export r; \ 22823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22824 $(HOST_EXPORTS) \ 22825 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22827 done; \ 22828 echo "Doing install-info in libgui" ; \ 22829 (cd $(HOST_SUBDIR)/libgui && \ 22830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22832 "RANLIB=$${RANLIB}" \ 22833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22834 install-info) \ 22835 || exit 1 22836 22837 @endif libgui 22838 22839 .PHONY: maybe-install-pdf-libgui install-pdf-libgui 22840 maybe-install-pdf-libgui: 22841 @if libgui 22842 maybe-install-pdf-libgui: install-pdf-libgui 22843 22844 install-pdf-libgui: \ 22845 configure-libgui \ 22846 pdf-libgui 22847 @: $(MAKE); $(unstage) 22848 @[ -f ./libgui/Makefile ] || exit 0; \ 22849 r=`${PWD_COMMAND}`; export r; \ 22850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22851 $(HOST_EXPORTS) \ 22852 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22854 done; \ 22855 echo "Doing install-pdf in libgui" ; \ 22856 (cd $(HOST_SUBDIR)/libgui && \ 22857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22859 "RANLIB=$${RANLIB}" \ 22860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22861 install-pdf) \ 22862 || exit 1 22863 22864 @endif libgui 22865 22866 .PHONY: maybe-install-html-libgui install-html-libgui 22867 maybe-install-html-libgui: 22868 @if libgui 22869 maybe-install-html-libgui: install-html-libgui 22870 22871 install-html-libgui: \ 22872 configure-libgui \ 22873 html-libgui 22874 @: $(MAKE); $(unstage) 22875 @[ -f ./libgui/Makefile ] || exit 0; \ 22876 r=`${PWD_COMMAND}`; export r; \ 22877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22878 $(HOST_EXPORTS) \ 22879 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22881 done; \ 22882 echo "Doing install-html in libgui" ; \ 22883 (cd $(HOST_SUBDIR)/libgui && \ 22884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22886 "RANLIB=$${RANLIB}" \ 22887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22888 install-html) \ 22889 || exit 1 22890 22891 @endif libgui 22892 22893 .PHONY: maybe-installcheck-libgui installcheck-libgui 22894 maybe-installcheck-libgui: 22895 @if libgui 22896 maybe-installcheck-libgui: installcheck-libgui 22897 22898 installcheck-libgui: \ 22899 configure-libgui 22900 @: $(MAKE); $(unstage) 22901 @[ -f ./libgui/Makefile ] || exit 0; \ 22902 r=`${PWD_COMMAND}`; export r; \ 22903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22904 $(HOST_EXPORTS) \ 22905 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22907 done; \ 22908 echo "Doing installcheck in libgui" ; \ 22909 (cd $(HOST_SUBDIR)/libgui && \ 22910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22912 "RANLIB=$${RANLIB}" \ 22913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22914 installcheck) \ 22915 || exit 1 22916 22917 @endif libgui 22918 22919 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui 22920 maybe-mostlyclean-libgui: 22921 @if libgui 22922 maybe-mostlyclean-libgui: mostlyclean-libgui 22923 22924 mostlyclean-libgui: 22925 @: $(MAKE); $(unstage) 22926 @[ -f ./libgui/Makefile ] || exit 0; \ 22927 r=`${PWD_COMMAND}`; export r; \ 22928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22929 $(HOST_EXPORTS) \ 22930 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22932 done; \ 22933 echo "Doing mostlyclean in libgui" ; \ 22934 (cd $(HOST_SUBDIR)/libgui && \ 22935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22937 "RANLIB=$${RANLIB}" \ 22938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22939 mostlyclean) \ 22940 || exit 1 22941 22942 @endif libgui 22943 22944 .PHONY: maybe-clean-libgui clean-libgui 22945 maybe-clean-libgui: 22946 @if libgui 22947 maybe-clean-libgui: clean-libgui 22948 22949 clean-libgui: 22950 @: $(MAKE); $(unstage) 22951 @[ -f ./libgui/Makefile ] || exit 0; \ 22952 r=`${PWD_COMMAND}`; export r; \ 22953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22954 $(HOST_EXPORTS) \ 22955 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22957 done; \ 22958 echo "Doing clean in libgui" ; \ 22959 (cd $(HOST_SUBDIR)/libgui && \ 22960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22962 "RANLIB=$${RANLIB}" \ 22963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22964 clean) \ 22965 || exit 1 22966 22967 @endif libgui 22968 22969 .PHONY: maybe-distclean-libgui distclean-libgui 22970 maybe-distclean-libgui: 22971 @if libgui 22972 maybe-distclean-libgui: distclean-libgui 22973 22974 distclean-libgui: 22975 @: $(MAKE); $(unstage) 22976 @[ -f ./libgui/Makefile ] || exit 0; \ 22977 r=`${PWD_COMMAND}`; export r; \ 22978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 22979 $(HOST_EXPORTS) \ 22980 for flag in $(EXTRA_HOST_FLAGS) ; do \ 22981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 22982 done; \ 22983 echo "Doing distclean in libgui" ; \ 22984 (cd $(HOST_SUBDIR)/libgui && \ 22985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 22986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 22987 "RANLIB=$${RANLIB}" \ 22988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 22989 distclean) \ 22990 || exit 1 22991 22992 @endif libgui 22993 22994 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui 22995 maybe-maintainer-clean-libgui: 22996 @if libgui 22997 maybe-maintainer-clean-libgui: maintainer-clean-libgui 22998 22999 maintainer-clean-libgui: 23000 @: $(MAKE); $(unstage) 23001 @[ -f ./libgui/Makefile ] || exit 0; \ 23002 r=`${PWD_COMMAND}`; export r; \ 23003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23004 $(HOST_EXPORTS) \ 23005 for flag in $(EXTRA_HOST_FLAGS) ; do \ 23006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 23007 done; \ 23008 echo "Doing maintainer-clean in libgui" ; \ 23009 (cd $(HOST_SUBDIR)/libgui && \ 23010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 23011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 23012 "RANLIB=$${RANLIB}" \ 23013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 23014 maintainer-clean) \ 23015 || exit 1 23016 23017 @endif libgui 23018 23019 23020 23021 .PHONY: configure-libiberty maybe-configure-libiberty 23022 maybe-configure-libiberty: 23023 @if gcc-bootstrap 23024 configure-libiberty: stage_current 23025 @endif gcc-bootstrap 23026 @if libiberty 23027 maybe-configure-libiberty: configure-libiberty 23028 configure-libiberty: 23029 @r=`${PWD_COMMAND}`; export r; \ 23030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23031 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ 23032 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ 23033 $(HOST_EXPORTS) \ 23034 echo Configuring in $(HOST_SUBDIR)/libiberty; \ 23035 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \ 23036 case $(srcdir) in \ 23037 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 23038 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ 23039 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 23040 esac; \ 23041 srcdiroption="--srcdir=$${topdir}/libiberty"; \ 23042 libsrcdir="$$s/libiberty"; \ 23043 $(SHELL) $${libsrcdir}/configure \ 23044 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 23045 --target=${target_alias} $${srcdiroption} @extra_host_libiberty_configure_flags@ \ 23046 || exit 1 23047 @endif libiberty 23048 23049 23050 23051 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty 23052 maybe-configure-stage1-libiberty: 23053 @if libiberty-bootstrap 23054 maybe-configure-stage1-libiberty: configure-stage1-libiberty 23055 configure-stage1-libiberty: 23056 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 23057 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty 23058 @r=`${PWD_COMMAND}`; export r; \ 23059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23060 TFLAGS="$(STAGE1_TFLAGS)"; \ 23061 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ 23062 $(HOST_EXPORTS) \ 23063 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 23064 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 23065 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 23066 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \ 23067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ 23068 cd $(HOST_SUBDIR)/libiberty || exit 1; \ 23069 case $(srcdir) in \ 23070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 23071 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ 23072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 23073 esac; \ 23074 srcdiroption="--srcdir=$${topdir}/libiberty"; \ 23075 libsrcdir="$$s/libiberty"; \ 23076 $(SHELL) $${libsrcdir}/configure \ 23077 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 23078 --target=${target_alias} $${srcdiroption} \ 23079 $(STAGE1_CONFIGURE_FLAGS) \ 23080 @extra_host_libiberty_configure_flags@ 23081 @endif libiberty-bootstrap 23082 23083 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty 23084 maybe-configure-stage2-libiberty: 23085 @if libiberty-bootstrap 23086 maybe-configure-stage2-libiberty: configure-stage2-libiberty 23087 configure-stage2-libiberty: 23088 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 23089 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty 23090 @r=`${PWD_COMMAND}`; export r; \ 23091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23092 TFLAGS="$(STAGE2_TFLAGS)"; \ 23093 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ 23094 $(HOST_EXPORTS) \ 23095 $(POSTSTAGE1_HOST_EXPORTS) \ 23096 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 23097 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 23098 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 23099 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \ 23100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ 23101 cd $(HOST_SUBDIR)/libiberty || exit 1; \ 23102 case $(srcdir) in \ 23103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 23104 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ 23105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 23106 esac; \ 23107 srcdiroption="--srcdir=$${topdir}/libiberty"; \ 23108 libsrcdir="$$s/libiberty"; \ 23109 $(SHELL) $${libsrcdir}/configure \ 23110 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 23111 --target=${target_alias} $${srcdiroption} \ 23112 --with-build-libsubdir=$(HOST_SUBDIR) \ 23113 $(STAGE2_CONFIGURE_FLAGS) \ 23114 @extra_host_libiberty_configure_flags@ 23115 @endif libiberty-bootstrap 23116 23117 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty 23118 maybe-configure-stage3-libiberty: 23119 @if libiberty-bootstrap 23120 maybe-configure-stage3-libiberty: configure-stage3-libiberty 23121 configure-stage3-libiberty: 23122 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 23123 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty 23124 @r=`${PWD_COMMAND}`; export r; \ 23125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23126 TFLAGS="$(STAGE3_TFLAGS)"; \ 23127 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ 23128 $(HOST_EXPORTS) \ 23129 $(POSTSTAGE1_HOST_EXPORTS) \ 23130 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 23131 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 23132 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 23133 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \ 23134 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ 23135 cd $(HOST_SUBDIR)/libiberty || exit 1; \ 23136 case $(srcdir) in \ 23137 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 23138 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ 23139 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 23140 esac; \ 23141 srcdiroption="--srcdir=$${topdir}/libiberty"; \ 23142 libsrcdir="$$s/libiberty"; \ 23143 $(SHELL) $${libsrcdir}/configure \ 23144 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 23145 --target=${target_alias} $${srcdiroption} \ 23146 --with-build-libsubdir=$(HOST_SUBDIR) \ 23147 $(STAGE3_CONFIGURE_FLAGS) \ 23148 @extra_host_libiberty_configure_flags@ 23149 @endif libiberty-bootstrap 23150 23151 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty 23152 maybe-configure-stage4-libiberty: 23153 @if libiberty-bootstrap 23154 maybe-configure-stage4-libiberty: configure-stage4-libiberty 23155 configure-stage4-libiberty: 23156 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 23157 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty 23158 @r=`${PWD_COMMAND}`; export r; \ 23159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23160 TFLAGS="$(STAGE4_TFLAGS)"; \ 23161 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ 23162 $(HOST_EXPORTS) \ 23163 $(POSTSTAGE1_HOST_EXPORTS) \ 23164 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 23165 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 23166 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 23167 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \ 23168 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ 23169 cd $(HOST_SUBDIR)/libiberty || exit 1; \ 23170 case $(srcdir) in \ 23171 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 23172 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ 23173 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 23174 esac; \ 23175 srcdiroption="--srcdir=$${topdir}/libiberty"; \ 23176 libsrcdir="$$s/libiberty"; \ 23177 $(SHELL) $${libsrcdir}/configure \ 23178 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 23179 --target=${target_alias} $${srcdiroption} \ 23180 --with-build-libsubdir=$(HOST_SUBDIR) \ 23181 $(STAGE4_CONFIGURE_FLAGS) \ 23182 @extra_host_libiberty_configure_flags@ 23183 @endif libiberty-bootstrap 23184 23185 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty 23186 maybe-configure-stageprofile-libiberty: 23187 @if libiberty-bootstrap 23188 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty 23189 configure-stageprofile-libiberty: 23190 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 23191 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty 23192 @r=`${PWD_COMMAND}`; export r; \ 23193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23194 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 23195 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ 23196 $(HOST_EXPORTS) \ 23197 $(POSTSTAGE1_HOST_EXPORTS) \ 23198 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 23199 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 23200 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 23201 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \ 23202 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ 23203 cd $(HOST_SUBDIR)/libiberty || exit 1; \ 23204 case $(srcdir) in \ 23205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 23206 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ 23207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 23208 esac; \ 23209 srcdiroption="--srcdir=$${topdir}/libiberty"; \ 23210 libsrcdir="$$s/libiberty"; \ 23211 $(SHELL) $${libsrcdir}/configure \ 23212 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 23213 --target=${target_alias} $${srcdiroption} \ 23214 --with-build-libsubdir=$(HOST_SUBDIR) \ 23215 $(STAGEprofile_CONFIGURE_FLAGS) \ 23216 @extra_host_libiberty_configure_flags@ 23217 @endif libiberty-bootstrap 23218 23219 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty 23220 maybe-configure-stagefeedback-libiberty: 23221 @if libiberty-bootstrap 23222 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty 23223 configure-stagefeedback-libiberty: 23224 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 23225 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty 23226 @r=`${PWD_COMMAND}`; export r; \ 23227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23228 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 23229 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \ 23230 $(HOST_EXPORTS) \ 23231 $(POSTSTAGE1_HOST_EXPORTS) \ 23232 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 23233 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 23234 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 23235 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \ 23236 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \ 23237 cd $(HOST_SUBDIR)/libiberty || exit 1; \ 23238 case $(srcdir) in \ 23239 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 23240 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \ 23241 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 23242 esac; \ 23243 srcdiroption="--srcdir=$${topdir}/libiberty"; \ 23244 libsrcdir="$$s/libiberty"; \ 23245 $(SHELL) $${libsrcdir}/configure \ 23246 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 23247 --target=${target_alias} $${srcdiroption} \ 23248 --with-build-libsubdir=$(HOST_SUBDIR) \ 23249 $(STAGEfeedback_CONFIGURE_FLAGS) \ 23250 @extra_host_libiberty_configure_flags@ 23251 @endif libiberty-bootstrap 23252 23253 23254 23255 23256 23257 .PHONY: all-libiberty maybe-all-libiberty 23258 maybe-all-libiberty: 23259 @if gcc-bootstrap 23260 all-libiberty: stage_current 23261 @endif gcc-bootstrap 23262 @if libiberty 23263 TARGET-libiberty=all 23264 maybe-all-libiberty: all-libiberty 23265 all-libiberty: configure-libiberty 23266 @r=`${PWD_COMMAND}`; export r; \ 23267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23268 $(HOST_EXPORTS) \ 23269 (cd $(HOST_SUBDIR)/libiberty && \ 23270 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 23271 $(TARGET-libiberty)) 23272 @endif libiberty 23273 23274 23275 23276 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty 23277 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty 23278 maybe-all-stage1-libiberty: 23279 maybe-clean-stage1-libiberty: 23280 @if libiberty-bootstrap 23281 maybe-all-stage1-libiberty: all-stage1-libiberty 23282 all-stage1: all-stage1-libiberty 23283 TARGET-stage1-libiberty = $(TARGET-libiberty) 23284 all-stage1-libiberty: configure-stage1-libiberty 23285 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 23286 @r=`${PWD_COMMAND}`; export r; \ 23287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23288 TFLAGS="$(STAGE1_TFLAGS)"; \ 23289 $(HOST_EXPORTS) \ 23290 cd $(HOST_SUBDIR)/libiberty && \ 23291 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 23292 CFLAGS="$(STAGE1_CFLAGS)" \ 23293 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 23294 LIBCFLAGS="$(LIBCFLAGS)" \ 23295 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 23296 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 23297 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 23298 $(EXTRA_HOST_FLAGS) \ 23299 $(STAGE1_FLAGS_TO_PASS) \ 23300 TFLAGS="$(STAGE1_TFLAGS)" \ 23301 $(TARGET-stage1-libiberty) 23302 23303 maybe-clean-stage1-libiberty: clean-stage1-libiberty 23304 clean-stage1: clean-stage1-libiberty 23305 clean-stage1-libiberty: 23306 @if [ $(current_stage) = stage1 ]; then \ 23307 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \ 23308 else \ 23309 [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \ 23310 $(MAKE) stage1-start; \ 23311 fi; \ 23312 cd $(HOST_SUBDIR)/libiberty && \ 23313 $(MAKE) $(EXTRA_HOST_FLAGS) \ 23314 $(STAGE1_FLAGS_TO_PASS) clean 23315 @endif libiberty-bootstrap 23316 23317 23318 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty 23319 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty 23320 maybe-all-stage2-libiberty: 23321 maybe-clean-stage2-libiberty: 23322 @if libiberty-bootstrap 23323 maybe-all-stage2-libiberty: all-stage2-libiberty 23324 all-stage2: all-stage2-libiberty 23325 TARGET-stage2-libiberty = $(TARGET-libiberty) 23326 all-stage2-libiberty: configure-stage2-libiberty 23327 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 23328 @r=`${PWD_COMMAND}`; export r; \ 23329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23330 TFLAGS="$(STAGE2_TFLAGS)"; \ 23331 $(HOST_EXPORTS) \ 23332 $(POSTSTAGE1_HOST_EXPORTS) \ 23333 cd $(HOST_SUBDIR)/libiberty && \ 23334 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 23335 CFLAGS="$(STAGE2_CFLAGS)" \ 23336 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 23337 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 23338 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 23339 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 23340 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 23341 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 23342 TFLAGS="$(STAGE2_TFLAGS)" \ 23343 $(TARGET-stage2-libiberty) 23344 23345 maybe-clean-stage2-libiberty: clean-stage2-libiberty 23346 clean-stage2: clean-stage2-libiberty 23347 clean-stage2-libiberty: 23348 @if [ $(current_stage) = stage2 ]; then \ 23349 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \ 23350 else \ 23351 [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \ 23352 $(MAKE) stage2-start; \ 23353 fi; \ 23354 cd $(HOST_SUBDIR)/libiberty && \ 23355 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 23356 @endif libiberty-bootstrap 23357 23358 23359 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty 23360 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty 23361 maybe-all-stage3-libiberty: 23362 maybe-clean-stage3-libiberty: 23363 @if libiberty-bootstrap 23364 maybe-all-stage3-libiberty: all-stage3-libiberty 23365 all-stage3: all-stage3-libiberty 23366 TARGET-stage3-libiberty = $(TARGET-libiberty) 23367 all-stage3-libiberty: configure-stage3-libiberty 23368 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 23369 @r=`${PWD_COMMAND}`; export r; \ 23370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23371 TFLAGS="$(STAGE3_TFLAGS)"; \ 23372 $(HOST_EXPORTS) \ 23373 $(POSTSTAGE1_HOST_EXPORTS) \ 23374 cd $(HOST_SUBDIR)/libiberty && \ 23375 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 23376 CFLAGS="$(STAGE3_CFLAGS)" \ 23377 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 23378 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 23379 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 23380 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 23381 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 23382 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 23383 TFLAGS="$(STAGE3_TFLAGS)" \ 23384 $(TARGET-stage3-libiberty) 23385 23386 maybe-clean-stage3-libiberty: clean-stage3-libiberty 23387 clean-stage3: clean-stage3-libiberty 23388 clean-stage3-libiberty: 23389 @if [ $(current_stage) = stage3 ]; then \ 23390 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \ 23391 else \ 23392 [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \ 23393 $(MAKE) stage3-start; \ 23394 fi; \ 23395 cd $(HOST_SUBDIR)/libiberty && \ 23396 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 23397 @endif libiberty-bootstrap 23398 23399 23400 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty 23401 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty 23402 maybe-all-stage4-libiberty: 23403 maybe-clean-stage4-libiberty: 23404 @if libiberty-bootstrap 23405 maybe-all-stage4-libiberty: all-stage4-libiberty 23406 all-stage4: all-stage4-libiberty 23407 TARGET-stage4-libiberty = $(TARGET-libiberty) 23408 all-stage4-libiberty: configure-stage4-libiberty 23409 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 23410 @r=`${PWD_COMMAND}`; export r; \ 23411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23412 TFLAGS="$(STAGE4_TFLAGS)"; \ 23413 $(HOST_EXPORTS) \ 23414 $(POSTSTAGE1_HOST_EXPORTS) \ 23415 cd $(HOST_SUBDIR)/libiberty && \ 23416 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 23417 CFLAGS="$(STAGE4_CFLAGS)" \ 23418 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 23419 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 23420 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 23421 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 23422 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 23423 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 23424 TFLAGS="$(STAGE4_TFLAGS)" \ 23425 $(TARGET-stage4-libiberty) 23426 23427 maybe-clean-stage4-libiberty: clean-stage4-libiberty 23428 clean-stage4: clean-stage4-libiberty 23429 clean-stage4-libiberty: 23430 @if [ $(current_stage) = stage4 ]; then \ 23431 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \ 23432 else \ 23433 [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \ 23434 $(MAKE) stage4-start; \ 23435 fi; \ 23436 cd $(HOST_SUBDIR)/libiberty && \ 23437 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 23438 @endif libiberty-bootstrap 23439 23440 23441 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty 23442 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty 23443 maybe-all-stageprofile-libiberty: 23444 maybe-clean-stageprofile-libiberty: 23445 @if libiberty-bootstrap 23446 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty 23447 all-stageprofile: all-stageprofile-libiberty 23448 TARGET-stageprofile-libiberty = $(TARGET-libiberty) 23449 all-stageprofile-libiberty: configure-stageprofile-libiberty 23450 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 23451 @r=`${PWD_COMMAND}`; export r; \ 23452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23453 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 23454 $(HOST_EXPORTS) \ 23455 $(POSTSTAGE1_HOST_EXPORTS) \ 23456 cd $(HOST_SUBDIR)/libiberty && \ 23457 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 23458 CFLAGS="$(STAGEprofile_CFLAGS)" \ 23459 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 23460 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 23461 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 23462 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 23463 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 23464 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 23465 TFLAGS="$(STAGEprofile_TFLAGS)" \ 23466 $(TARGET-stageprofile-libiberty) 23467 23468 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty 23469 clean-stageprofile: clean-stageprofile-libiberty 23470 clean-stageprofile-libiberty: 23471 @if [ $(current_stage) = stageprofile ]; then \ 23472 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \ 23473 else \ 23474 [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \ 23475 $(MAKE) stageprofile-start; \ 23476 fi; \ 23477 cd $(HOST_SUBDIR)/libiberty && \ 23478 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 23479 @endif libiberty-bootstrap 23480 23481 23482 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty 23483 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty 23484 maybe-all-stagefeedback-libiberty: 23485 maybe-clean-stagefeedback-libiberty: 23486 @if libiberty-bootstrap 23487 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty 23488 all-stagefeedback: all-stagefeedback-libiberty 23489 TARGET-stagefeedback-libiberty = $(TARGET-libiberty) 23490 all-stagefeedback-libiberty: configure-stagefeedback-libiberty 23491 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 23492 @r=`${PWD_COMMAND}`; export r; \ 23493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23494 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 23495 $(HOST_EXPORTS) \ 23496 $(POSTSTAGE1_HOST_EXPORTS) \ 23497 cd $(HOST_SUBDIR)/libiberty && \ 23498 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 23499 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 23500 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 23501 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 23502 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 23503 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 23504 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 23505 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 23506 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 23507 $(TARGET-stagefeedback-libiberty) 23508 23509 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty 23510 clean-stagefeedback: clean-stagefeedback-libiberty 23511 clean-stagefeedback-libiberty: 23512 @if [ $(current_stage) = stagefeedback ]; then \ 23513 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \ 23514 else \ 23515 [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \ 23516 $(MAKE) stagefeedback-start; \ 23517 fi; \ 23518 cd $(HOST_SUBDIR)/libiberty && \ 23519 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 23520 @endif libiberty-bootstrap 23521 23522 23523 23524 23525 23526 .PHONY: check-libiberty maybe-check-libiberty 23527 maybe-check-libiberty: 23528 @if libiberty 23529 maybe-check-libiberty: check-libiberty 23530 23531 check-libiberty: 23532 @: $(MAKE); $(unstage) 23533 @r=`${PWD_COMMAND}`; export r; \ 23534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23535 $(HOST_EXPORTS) \ 23536 (cd $(HOST_SUBDIR)/libiberty && \ 23537 $(MAKE) $(FLAGS_TO_PASS) check) 23538 23539 @endif libiberty 23540 23541 .PHONY: install-libiberty maybe-install-libiberty 23542 maybe-install-libiberty: 23543 @if libiberty 23544 maybe-install-libiberty: install-libiberty 23545 23546 install-libiberty: installdirs 23547 @: $(MAKE); $(unstage) 23548 @r=`${PWD_COMMAND}`; export r; \ 23549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23550 $(HOST_EXPORTS) \ 23551 (cd $(HOST_SUBDIR)/libiberty && \ 23552 $(MAKE) $(FLAGS_TO_PASS) install) 23553 23554 @endif libiberty 23555 23556 .PHONY: install-strip-libiberty maybe-install-strip-libiberty 23557 maybe-install-strip-libiberty: 23558 @if libiberty 23559 maybe-install-strip-libiberty: install-strip-libiberty 23560 23561 install-strip-libiberty: installdirs 23562 @: $(MAKE); $(unstage) 23563 @r=`${PWD_COMMAND}`; export r; \ 23564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23565 $(HOST_EXPORTS) \ 23566 (cd $(HOST_SUBDIR)/libiberty && \ 23567 $(MAKE) $(FLAGS_TO_PASS) install-strip) 23568 23569 @endif libiberty 23570 23571 # Other targets (info, dvi, pdf, etc.) 23572 23573 .PHONY: maybe-info-libiberty info-libiberty 23574 maybe-info-libiberty: 23575 @if libiberty 23576 maybe-info-libiberty: info-libiberty 23577 23578 info-libiberty: \ 23579 configure-libiberty 23580 @[ -f ./libiberty/Makefile ] || exit 0; \ 23581 r=`${PWD_COMMAND}`; export r; \ 23582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23583 $(HOST_EXPORTS) \ 23584 for flag in $(EXTRA_HOST_FLAGS) ; do \ 23585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 23586 done; \ 23587 echo "Doing info in libiberty" ; \ 23588 (cd $(HOST_SUBDIR)/libiberty && \ 23589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 23590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 23591 "RANLIB=$${RANLIB}" \ 23592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 23593 info) \ 23594 || exit 1 23595 23596 @endif libiberty 23597 23598 .PHONY: maybe-dvi-libiberty dvi-libiberty 23599 maybe-dvi-libiberty: 23600 @if libiberty 23601 maybe-dvi-libiberty: dvi-libiberty 23602 23603 dvi-libiberty: \ 23604 configure-libiberty 23605 @[ -f ./libiberty/Makefile ] || exit 0; \ 23606 r=`${PWD_COMMAND}`; export r; \ 23607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23608 $(HOST_EXPORTS) \ 23609 for flag in $(EXTRA_HOST_FLAGS) ; do \ 23610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 23611 done; \ 23612 echo "Doing dvi in libiberty" ; \ 23613 (cd $(HOST_SUBDIR)/libiberty && \ 23614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 23615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 23616 "RANLIB=$${RANLIB}" \ 23617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 23618 dvi) \ 23619 || exit 1 23620 23621 @endif libiberty 23622 23623 .PHONY: maybe-pdf-libiberty pdf-libiberty 23624 maybe-pdf-libiberty: 23625 @if libiberty 23626 maybe-pdf-libiberty: pdf-libiberty 23627 23628 pdf-libiberty: \ 23629 configure-libiberty 23630 @[ -f ./libiberty/Makefile ] || exit 0; \ 23631 r=`${PWD_COMMAND}`; export r; \ 23632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23633 $(HOST_EXPORTS) \ 23634 for flag in $(EXTRA_HOST_FLAGS) ; do \ 23635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 23636 done; \ 23637 echo "Doing pdf in libiberty" ; \ 23638 (cd $(HOST_SUBDIR)/libiberty && \ 23639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 23640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 23641 "RANLIB=$${RANLIB}" \ 23642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 23643 pdf) \ 23644 || exit 1 23645 23646 @endif libiberty 23647 23648 .PHONY: maybe-html-libiberty html-libiberty 23649 maybe-html-libiberty: 23650 @if libiberty 23651 maybe-html-libiberty: html-libiberty 23652 23653 html-libiberty: \ 23654 configure-libiberty 23655 @[ -f ./libiberty/Makefile ] || exit 0; \ 23656 r=`${PWD_COMMAND}`; export r; \ 23657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23658 $(HOST_EXPORTS) \ 23659 for flag in $(EXTRA_HOST_FLAGS) ; do \ 23660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 23661 done; \ 23662 echo "Doing html in libiberty" ; \ 23663 (cd $(HOST_SUBDIR)/libiberty && \ 23664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 23665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 23666 "RANLIB=$${RANLIB}" \ 23667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 23668 html) \ 23669 || exit 1 23670 23671 @endif libiberty 23672 23673 .PHONY: maybe-TAGS-libiberty TAGS-libiberty 23674 maybe-TAGS-libiberty: 23675 @if libiberty 23676 maybe-TAGS-libiberty: TAGS-libiberty 23677 23678 TAGS-libiberty: \ 23679 configure-libiberty 23680 @[ -f ./libiberty/Makefile ] || exit 0; \ 23681 r=`${PWD_COMMAND}`; export r; \ 23682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23683 $(HOST_EXPORTS) \ 23684 for flag in $(EXTRA_HOST_FLAGS) ; do \ 23685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 23686 done; \ 23687 echo "Doing TAGS in libiberty" ; \ 23688 (cd $(HOST_SUBDIR)/libiberty && \ 23689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 23690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 23691 "RANLIB=$${RANLIB}" \ 23692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 23693 TAGS) \ 23694 || exit 1 23695 23696 @endif libiberty 23697 23698 .PHONY: maybe-install-info-libiberty install-info-libiberty 23699 maybe-install-info-libiberty: 23700 @if libiberty 23701 maybe-install-info-libiberty: install-info-libiberty 23702 23703 install-info-libiberty: \ 23704 configure-libiberty \ 23705 info-libiberty 23706 @[ -f ./libiberty/Makefile ] || exit 0; \ 23707 r=`${PWD_COMMAND}`; export r; \ 23708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23709 $(HOST_EXPORTS) \ 23710 for flag in $(EXTRA_HOST_FLAGS) ; do \ 23711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 23712 done; \ 23713 echo "Doing install-info in libiberty" ; \ 23714 (cd $(HOST_SUBDIR)/libiberty && \ 23715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 23716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 23717 "RANLIB=$${RANLIB}" \ 23718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 23719 install-info) \ 23720 || exit 1 23721 23722 @endif libiberty 23723 23724 .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty 23725 maybe-install-pdf-libiberty: 23726 @if libiberty 23727 maybe-install-pdf-libiberty: install-pdf-libiberty 23728 23729 install-pdf-libiberty: \ 23730 configure-libiberty \ 23731 pdf-libiberty 23732 @[ -f ./libiberty/Makefile ] || exit 0; \ 23733 r=`${PWD_COMMAND}`; export r; \ 23734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23735 $(HOST_EXPORTS) \ 23736 for flag in $(EXTRA_HOST_FLAGS) ; do \ 23737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 23738 done; \ 23739 echo "Doing install-pdf in libiberty" ; \ 23740 (cd $(HOST_SUBDIR)/libiberty && \ 23741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 23742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 23743 "RANLIB=$${RANLIB}" \ 23744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 23745 install-pdf) \ 23746 || exit 1 23747 23748 @endif libiberty 23749 23750 .PHONY: maybe-install-html-libiberty install-html-libiberty 23751 maybe-install-html-libiberty: 23752 @if libiberty 23753 maybe-install-html-libiberty: install-html-libiberty 23754 23755 install-html-libiberty: \ 23756 configure-libiberty \ 23757 html-libiberty 23758 @[ -f ./libiberty/Makefile ] || exit 0; \ 23759 r=`${PWD_COMMAND}`; export r; \ 23760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23761 $(HOST_EXPORTS) \ 23762 for flag in $(EXTRA_HOST_FLAGS) ; do \ 23763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 23764 done; \ 23765 echo "Doing install-html in libiberty" ; \ 23766 (cd $(HOST_SUBDIR)/libiberty && \ 23767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 23768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 23769 "RANLIB=$${RANLIB}" \ 23770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 23771 install-html) \ 23772 || exit 1 23773 23774 @endif libiberty 23775 23776 .PHONY: maybe-installcheck-libiberty installcheck-libiberty 23777 maybe-installcheck-libiberty: 23778 @if libiberty 23779 maybe-installcheck-libiberty: installcheck-libiberty 23780 23781 installcheck-libiberty: \ 23782 configure-libiberty 23783 @[ -f ./libiberty/Makefile ] || exit 0; \ 23784 r=`${PWD_COMMAND}`; export r; \ 23785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23786 $(HOST_EXPORTS) \ 23787 for flag in $(EXTRA_HOST_FLAGS) ; do \ 23788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 23789 done; \ 23790 echo "Doing installcheck in libiberty" ; \ 23791 (cd $(HOST_SUBDIR)/libiberty && \ 23792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 23793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 23794 "RANLIB=$${RANLIB}" \ 23795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 23796 installcheck) \ 23797 || exit 1 23798 23799 @endif libiberty 23800 23801 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty 23802 maybe-mostlyclean-libiberty: 23803 @if libiberty 23804 maybe-mostlyclean-libiberty: mostlyclean-libiberty 23805 23806 mostlyclean-libiberty: 23807 @[ -f ./libiberty/Makefile ] || exit 0; \ 23808 r=`${PWD_COMMAND}`; export r; \ 23809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23810 $(HOST_EXPORTS) \ 23811 for flag in $(EXTRA_HOST_FLAGS) ; do \ 23812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 23813 done; \ 23814 echo "Doing mostlyclean in libiberty" ; \ 23815 (cd $(HOST_SUBDIR)/libiberty && \ 23816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 23817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 23818 "RANLIB=$${RANLIB}" \ 23819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 23820 mostlyclean) \ 23821 || exit 1 23822 23823 @endif libiberty 23824 23825 .PHONY: maybe-clean-libiberty clean-libiberty 23826 maybe-clean-libiberty: 23827 @if libiberty 23828 maybe-clean-libiberty: clean-libiberty 23829 23830 clean-libiberty: 23831 @[ -f ./libiberty/Makefile ] || exit 0; \ 23832 r=`${PWD_COMMAND}`; export r; \ 23833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23834 $(HOST_EXPORTS) \ 23835 for flag in $(EXTRA_HOST_FLAGS) ; do \ 23836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 23837 done; \ 23838 echo "Doing clean in libiberty" ; \ 23839 (cd $(HOST_SUBDIR)/libiberty && \ 23840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 23841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 23842 "RANLIB=$${RANLIB}" \ 23843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 23844 clean) \ 23845 || exit 1 23846 23847 @endif libiberty 23848 23849 .PHONY: maybe-distclean-libiberty distclean-libiberty 23850 maybe-distclean-libiberty: 23851 @if libiberty 23852 maybe-distclean-libiberty: distclean-libiberty 23853 23854 distclean-libiberty: 23855 @[ -f ./libiberty/Makefile ] || exit 0; \ 23856 r=`${PWD_COMMAND}`; export r; \ 23857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23858 $(HOST_EXPORTS) \ 23859 for flag in $(EXTRA_HOST_FLAGS) ; do \ 23860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 23861 done; \ 23862 echo "Doing distclean in libiberty" ; \ 23863 (cd $(HOST_SUBDIR)/libiberty && \ 23864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 23865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 23866 "RANLIB=$${RANLIB}" \ 23867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 23868 distclean) \ 23869 || exit 1 23870 23871 @endif libiberty 23872 23873 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty 23874 maybe-maintainer-clean-libiberty: 23875 @if libiberty 23876 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty 23877 23878 maintainer-clean-libiberty: 23879 @[ -f ./libiberty/Makefile ] || exit 0; \ 23880 r=`${PWD_COMMAND}`; export r; \ 23881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23882 $(HOST_EXPORTS) \ 23883 for flag in $(EXTRA_HOST_FLAGS) ; do \ 23884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 23885 done; \ 23886 echo "Doing maintainer-clean in libiberty" ; \ 23887 (cd $(HOST_SUBDIR)/libiberty && \ 23888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 23889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 23890 "RANLIB=$${RANLIB}" \ 23891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 23892 maintainer-clean) \ 23893 || exit 1 23894 23895 @endif libiberty 23896 23897 23898 23899 .PHONY: configure-libiconv maybe-configure-libiconv 23900 maybe-configure-libiconv: 23901 @if gcc-bootstrap 23902 configure-libiconv: stage_current 23903 @endif gcc-bootstrap 23904 @if libiconv 23905 maybe-configure-libiconv: configure-libiconv 23906 configure-libiconv: 23907 @: $(MAKE); $(unstage) 23908 @r=`${PWD_COMMAND}`; export r; \ 23909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23910 test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \ 23911 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \ 23912 $(HOST_EXPORTS) \ 23913 echo Configuring in $(HOST_SUBDIR)/libiconv; \ 23914 cd "$(HOST_SUBDIR)/libiconv" || exit 1; \ 23915 case $(srcdir) in \ 23916 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 23917 *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \ 23918 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 23919 esac; \ 23920 srcdiroption="--srcdir=$${topdir}/libiconv"; \ 23921 libsrcdir="$$s/libiconv"; \ 23922 $(SHELL) $${libsrcdir}/configure \ 23923 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 23924 --target=${target_alias} $${srcdiroption} --disable-shared \ 23925 || exit 1 23926 @endif libiconv 23927 23928 23929 23930 23931 23932 .PHONY: all-libiconv maybe-all-libiconv 23933 maybe-all-libiconv: 23934 @if gcc-bootstrap 23935 all-libiconv: stage_current 23936 @endif gcc-bootstrap 23937 @if libiconv 23938 TARGET-libiconv=all 23939 maybe-all-libiconv: all-libiconv 23940 all-libiconv: configure-libiconv 23941 @: $(MAKE); $(unstage) 23942 @r=`${PWD_COMMAND}`; export r; \ 23943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23944 $(HOST_EXPORTS) \ 23945 (cd $(HOST_SUBDIR)/libiconv && \ 23946 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 23947 $(TARGET-libiconv)) 23948 @endif libiconv 23949 23950 23951 23952 23953 .PHONY: check-libiconv maybe-check-libiconv 23954 maybe-check-libiconv: 23955 @if libiconv 23956 maybe-check-libiconv: check-libiconv 23957 23958 check-libiconv: 23959 @: $(MAKE); $(unstage) 23960 @r=`${PWD_COMMAND}`; export r; \ 23961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23962 $(HOST_EXPORTS) \ 23963 (cd $(HOST_SUBDIR)/libiconv && \ 23964 $(MAKE) $(FLAGS_TO_PASS) check) 23965 23966 @endif libiconv 23967 23968 .PHONY: install-libiconv maybe-install-libiconv 23969 maybe-install-libiconv: 23970 @if libiconv 23971 maybe-install-libiconv: install-libiconv 23972 23973 install-libiconv: 23974 23975 @endif libiconv 23976 23977 .PHONY: install-strip-libiconv maybe-install-strip-libiconv 23978 maybe-install-strip-libiconv: 23979 @if libiconv 23980 maybe-install-strip-libiconv: install-strip-libiconv 23981 23982 install-strip-libiconv: 23983 23984 @endif libiconv 23985 23986 # Other targets (info, dvi, pdf, etc.) 23987 23988 .PHONY: maybe-info-libiconv info-libiconv 23989 maybe-info-libiconv: 23990 @if libiconv 23991 maybe-info-libiconv: info-libiconv 23992 23993 info-libiconv: \ 23994 configure-libiconv 23995 @: $(MAKE); $(unstage) 23996 @[ -f ./libiconv/Makefile ] || exit 0; \ 23997 r=`${PWD_COMMAND}`; export r; \ 23998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 23999 $(HOST_EXPORTS) \ 24000 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24002 done; \ 24003 echo "Doing info in libiconv" ; \ 24004 (cd $(HOST_SUBDIR)/libiconv && \ 24005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24007 "RANLIB=$${RANLIB}" \ 24008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24009 info) \ 24010 || exit 1 24011 24012 @endif libiconv 24013 24014 .PHONY: maybe-dvi-libiconv dvi-libiconv 24015 maybe-dvi-libiconv: 24016 @if libiconv 24017 maybe-dvi-libiconv: dvi-libiconv 24018 24019 dvi-libiconv: \ 24020 configure-libiconv 24021 @: $(MAKE); $(unstage) 24022 @[ -f ./libiconv/Makefile ] || exit 0; \ 24023 r=`${PWD_COMMAND}`; export r; \ 24024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24025 $(HOST_EXPORTS) \ 24026 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24028 done; \ 24029 echo "Doing dvi in libiconv" ; \ 24030 (cd $(HOST_SUBDIR)/libiconv && \ 24031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24033 "RANLIB=$${RANLIB}" \ 24034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24035 dvi) \ 24036 || exit 1 24037 24038 @endif libiconv 24039 24040 .PHONY: maybe-pdf-libiconv pdf-libiconv 24041 maybe-pdf-libiconv: 24042 @if libiconv 24043 maybe-pdf-libiconv: pdf-libiconv 24044 24045 pdf-libiconv: \ 24046 configure-libiconv 24047 @: $(MAKE); $(unstage) 24048 @[ -f ./libiconv/Makefile ] || exit 0; \ 24049 r=`${PWD_COMMAND}`; export r; \ 24050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24051 $(HOST_EXPORTS) \ 24052 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24054 done; \ 24055 echo "Doing pdf in libiconv" ; \ 24056 (cd $(HOST_SUBDIR)/libiconv && \ 24057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24059 "RANLIB=$${RANLIB}" \ 24060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24061 pdf) \ 24062 || exit 1 24063 24064 @endif libiconv 24065 24066 .PHONY: maybe-html-libiconv html-libiconv 24067 maybe-html-libiconv: 24068 @if libiconv 24069 maybe-html-libiconv: html-libiconv 24070 24071 html-libiconv: \ 24072 configure-libiconv 24073 @: $(MAKE); $(unstage) 24074 @[ -f ./libiconv/Makefile ] || exit 0; \ 24075 r=`${PWD_COMMAND}`; export r; \ 24076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24077 $(HOST_EXPORTS) \ 24078 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24080 done; \ 24081 echo "Doing html in libiconv" ; \ 24082 (cd $(HOST_SUBDIR)/libiconv && \ 24083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24085 "RANLIB=$${RANLIB}" \ 24086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24087 html) \ 24088 || exit 1 24089 24090 @endif libiconv 24091 24092 .PHONY: maybe-TAGS-libiconv TAGS-libiconv 24093 maybe-TAGS-libiconv: 24094 @if libiconv 24095 maybe-TAGS-libiconv: TAGS-libiconv 24096 24097 TAGS-libiconv: \ 24098 configure-libiconv 24099 @: $(MAKE); $(unstage) 24100 @[ -f ./libiconv/Makefile ] || exit 0; \ 24101 r=`${PWD_COMMAND}`; export r; \ 24102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24103 $(HOST_EXPORTS) \ 24104 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24106 done; \ 24107 echo "Doing TAGS in libiconv" ; \ 24108 (cd $(HOST_SUBDIR)/libiconv && \ 24109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24111 "RANLIB=$${RANLIB}" \ 24112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24113 TAGS) \ 24114 || exit 1 24115 24116 @endif libiconv 24117 24118 .PHONY: maybe-install-info-libiconv install-info-libiconv 24119 maybe-install-info-libiconv: 24120 @if libiconv 24121 maybe-install-info-libiconv: install-info-libiconv 24122 24123 # libiconv doesn't support install-info. 24124 install-info-libiconv: 24125 24126 @endif libiconv 24127 24128 .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv 24129 maybe-install-pdf-libiconv: 24130 @if libiconv 24131 maybe-install-pdf-libiconv: install-pdf-libiconv 24132 24133 # libiconv doesn't support install-pdf. 24134 install-pdf-libiconv: 24135 24136 @endif libiconv 24137 24138 .PHONY: maybe-install-html-libiconv install-html-libiconv 24139 maybe-install-html-libiconv: 24140 @if libiconv 24141 maybe-install-html-libiconv: install-html-libiconv 24142 24143 # libiconv doesn't support install-html. 24144 install-html-libiconv: 24145 24146 @endif libiconv 24147 24148 .PHONY: maybe-installcheck-libiconv installcheck-libiconv 24149 maybe-installcheck-libiconv: 24150 @if libiconv 24151 maybe-installcheck-libiconv: installcheck-libiconv 24152 24153 installcheck-libiconv: \ 24154 configure-libiconv 24155 @: $(MAKE); $(unstage) 24156 @[ -f ./libiconv/Makefile ] || exit 0; \ 24157 r=`${PWD_COMMAND}`; export r; \ 24158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24159 $(HOST_EXPORTS) \ 24160 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24162 done; \ 24163 echo "Doing installcheck in libiconv" ; \ 24164 (cd $(HOST_SUBDIR)/libiconv && \ 24165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24167 "RANLIB=$${RANLIB}" \ 24168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24169 installcheck) \ 24170 || exit 1 24171 24172 @endif libiconv 24173 24174 .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv 24175 maybe-mostlyclean-libiconv: 24176 @if libiconv 24177 maybe-mostlyclean-libiconv: mostlyclean-libiconv 24178 24179 mostlyclean-libiconv: 24180 @: $(MAKE); $(unstage) 24181 @[ -f ./libiconv/Makefile ] || exit 0; \ 24182 r=`${PWD_COMMAND}`; export r; \ 24183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24184 $(HOST_EXPORTS) \ 24185 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24187 done; \ 24188 echo "Doing mostlyclean in libiconv" ; \ 24189 (cd $(HOST_SUBDIR)/libiconv && \ 24190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24192 "RANLIB=$${RANLIB}" \ 24193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24194 mostlyclean) \ 24195 || exit 1 24196 24197 @endif libiconv 24198 24199 .PHONY: maybe-clean-libiconv clean-libiconv 24200 maybe-clean-libiconv: 24201 @if libiconv 24202 maybe-clean-libiconv: clean-libiconv 24203 24204 clean-libiconv: 24205 @: $(MAKE); $(unstage) 24206 @[ -f ./libiconv/Makefile ] || exit 0; \ 24207 r=`${PWD_COMMAND}`; export r; \ 24208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24209 $(HOST_EXPORTS) \ 24210 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24212 done; \ 24213 echo "Doing clean in libiconv" ; \ 24214 (cd $(HOST_SUBDIR)/libiconv && \ 24215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24217 "RANLIB=$${RANLIB}" \ 24218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24219 clean) \ 24220 || exit 1 24221 24222 @endif libiconv 24223 24224 .PHONY: maybe-distclean-libiconv distclean-libiconv 24225 maybe-distclean-libiconv: 24226 @if libiconv 24227 maybe-distclean-libiconv: distclean-libiconv 24228 24229 distclean-libiconv: 24230 @: $(MAKE); $(unstage) 24231 @[ -f ./libiconv/Makefile ] || exit 0; \ 24232 r=`${PWD_COMMAND}`; export r; \ 24233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24234 $(HOST_EXPORTS) \ 24235 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24237 done; \ 24238 echo "Doing distclean in libiconv" ; \ 24239 (cd $(HOST_SUBDIR)/libiconv && \ 24240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24242 "RANLIB=$${RANLIB}" \ 24243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24244 distclean) \ 24245 || exit 1 24246 24247 @endif libiconv 24248 24249 .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv 24250 maybe-maintainer-clean-libiconv: 24251 @if libiconv 24252 maybe-maintainer-clean-libiconv: maintainer-clean-libiconv 24253 24254 maintainer-clean-libiconv: 24255 @: $(MAKE); $(unstage) 24256 @[ -f ./libiconv/Makefile ] || exit 0; \ 24257 r=`${PWD_COMMAND}`; export r; \ 24258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24259 $(HOST_EXPORTS) \ 24260 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24262 done; \ 24263 echo "Doing maintainer-clean in libiconv" ; \ 24264 (cd $(HOST_SUBDIR)/libiconv && \ 24265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24267 "RANLIB=$${RANLIB}" \ 24268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24269 maintainer-clean) \ 24270 || exit 1 24271 24272 @endif libiconv 24273 24274 24275 24276 .PHONY: configure-m4 maybe-configure-m4 24277 maybe-configure-m4: 24278 @if gcc-bootstrap 24279 configure-m4: stage_current 24280 @endif gcc-bootstrap 24281 @if m4 24282 maybe-configure-m4: configure-m4 24283 configure-m4: 24284 @: $(MAKE); $(unstage) 24285 @r=`${PWD_COMMAND}`; export r; \ 24286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24287 test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \ 24288 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \ 24289 $(HOST_EXPORTS) \ 24290 echo Configuring in $(HOST_SUBDIR)/m4; \ 24291 cd "$(HOST_SUBDIR)/m4" || exit 1; \ 24292 case $(srcdir) in \ 24293 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 24294 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \ 24295 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 24296 esac; \ 24297 srcdiroption="--srcdir=$${topdir}/m4"; \ 24298 libsrcdir="$$s/m4"; \ 24299 $(SHELL) $${libsrcdir}/configure \ 24300 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 24301 --target=${target_alias} $${srcdiroption} \ 24302 || exit 1 24303 @endif m4 24304 24305 24306 24307 24308 24309 .PHONY: all-m4 maybe-all-m4 24310 maybe-all-m4: 24311 @if gcc-bootstrap 24312 all-m4: stage_current 24313 @endif gcc-bootstrap 24314 @if m4 24315 TARGET-m4=all 24316 maybe-all-m4: all-m4 24317 all-m4: configure-m4 24318 @: $(MAKE); $(unstage) 24319 @r=`${PWD_COMMAND}`; export r; \ 24320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24321 $(HOST_EXPORTS) \ 24322 (cd $(HOST_SUBDIR)/m4 && \ 24323 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 24324 $(TARGET-m4)) 24325 @endif m4 24326 24327 24328 24329 24330 .PHONY: check-m4 maybe-check-m4 24331 maybe-check-m4: 24332 @if m4 24333 maybe-check-m4: check-m4 24334 24335 check-m4: 24336 @: $(MAKE); $(unstage) 24337 @r=`${PWD_COMMAND}`; export r; \ 24338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24339 $(HOST_EXPORTS) \ 24340 (cd $(HOST_SUBDIR)/m4 && \ 24341 $(MAKE) $(FLAGS_TO_PASS) check) 24342 24343 @endif m4 24344 24345 .PHONY: install-m4 maybe-install-m4 24346 maybe-install-m4: 24347 @if m4 24348 maybe-install-m4: install-m4 24349 24350 install-m4: installdirs 24351 @: $(MAKE); $(unstage) 24352 @r=`${PWD_COMMAND}`; export r; \ 24353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24354 $(HOST_EXPORTS) \ 24355 (cd $(HOST_SUBDIR)/m4 && \ 24356 $(MAKE) $(FLAGS_TO_PASS) install) 24357 24358 @endif m4 24359 24360 .PHONY: install-strip-m4 maybe-install-strip-m4 24361 maybe-install-strip-m4: 24362 @if m4 24363 maybe-install-strip-m4: install-strip-m4 24364 24365 install-strip-m4: installdirs 24366 @: $(MAKE); $(unstage) 24367 @r=`${PWD_COMMAND}`; export r; \ 24368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24369 $(HOST_EXPORTS) \ 24370 (cd $(HOST_SUBDIR)/m4 && \ 24371 $(MAKE) $(FLAGS_TO_PASS) install-strip) 24372 24373 @endif m4 24374 24375 # Other targets (info, dvi, pdf, etc.) 24376 24377 .PHONY: maybe-info-m4 info-m4 24378 maybe-info-m4: 24379 @if m4 24380 maybe-info-m4: info-m4 24381 24382 info-m4: \ 24383 configure-m4 24384 @: $(MAKE); $(unstage) 24385 @[ -f ./m4/Makefile ] || exit 0; \ 24386 r=`${PWD_COMMAND}`; export r; \ 24387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24388 $(HOST_EXPORTS) \ 24389 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24391 done; \ 24392 echo "Doing info in m4" ; \ 24393 (cd $(HOST_SUBDIR)/m4 && \ 24394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24396 "RANLIB=$${RANLIB}" \ 24397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24398 info) \ 24399 || exit 1 24400 24401 @endif m4 24402 24403 .PHONY: maybe-dvi-m4 dvi-m4 24404 maybe-dvi-m4: 24405 @if m4 24406 maybe-dvi-m4: dvi-m4 24407 24408 dvi-m4: \ 24409 configure-m4 24410 @: $(MAKE); $(unstage) 24411 @[ -f ./m4/Makefile ] || exit 0; \ 24412 r=`${PWD_COMMAND}`; export r; \ 24413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24414 $(HOST_EXPORTS) \ 24415 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24417 done; \ 24418 echo "Doing dvi in m4" ; \ 24419 (cd $(HOST_SUBDIR)/m4 && \ 24420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24422 "RANLIB=$${RANLIB}" \ 24423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24424 dvi) \ 24425 || exit 1 24426 24427 @endif m4 24428 24429 .PHONY: maybe-pdf-m4 pdf-m4 24430 maybe-pdf-m4: 24431 @if m4 24432 maybe-pdf-m4: pdf-m4 24433 24434 pdf-m4: \ 24435 configure-m4 24436 @: $(MAKE); $(unstage) 24437 @[ -f ./m4/Makefile ] || exit 0; \ 24438 r=`${PWD_COMMAND}`; export r; \ 24439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24440 $(HOST_EXPORTS) \ 24441 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24443 done; \ 24444 echo "Doing pdf in m4" ; \ 24445 (cd $(HOST_SUBDIR)/m4 && \ 24446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24448 "RANLIB=$${RANLIB}" \ 24449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24450 pdf) \ 24451 || exit 1 24452 24453 @endif m4 24454 24455 .PHONY: maybe-html-m4 html-m4 24456 maybe-html-m4: 24457 @if m4 24458 maybe-html-m4: html-m4 24459 24460 html-m4: \ 24461 configure-m4 24462 @: $(MAKE); $(unstage) 24463 @[ -f ./m4/Makefile ] || exit 0; \ 24464 r=`${PWD_COMMAND}`; export r; \ 24465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24466 $(HOST_EXPORTS) \ 24467 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24469 done; \ 24470 echo "Doing html in m4" ; \ 24471 (cd $(HOST_SUBDIR)/m4 && \ 24472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24474 "RANLIB=$${RANLIB}" \ 24475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24476 html) \ 24477 || exit 1 24478 24479 @endif m4 24480 24481 .PHONY: maybe-TAGS-m4 TAGS-m4 24482 maybe-TAGS-m4: 24483 @if m4 24484 maybe-TAGS-m4: TAGS-m4 24485 24486 TAGS-m4: \ 24487 configure-m4 24488 @: $(MAKE); $(unstage) 24489 @[ -f ./m4/Makefile ] || exit 0; \ 24490 r=`${PWD_COMMAND}`; export r; \ 24491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24492 $(HOST_EXPORTS) \ 24493 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24495 done; \ 24496 echo "Doing TAGS in m4" ; \ 24497 (cd $(HOST_SUBDIR)/m4 && \ 24498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24500 "RANLIB=$${RANLIB}" \ 24501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24502 TAGS) \ 24503 || exit 1 24504 24505 @endif m4 24506 24507 .PHONY: maybe-install-info-m4 install-info-m4 24508 maybe-install-info-m4: 24509 @if m4 24510 maybe-install-info-m4: install-info-m4 24511 24512 install-info-m4: \ 24513 configure-m4 \ 24514 info-m4 24515 @: $(MAKE); $(unstage) 24516 @[ -f ./m4/Makefile ] || exit 0; \ 24517 r=`${PWD_COMMAND}`; export r; \ 24518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24519 $(HOST_EXPORTS) \ 24520 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24522 done; \ 24523 echo "Doing install-info in m4" ; \ 24524 (cd $(HOST_SUBDIR)/m4 && \ 24525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24527 "RANLIB=$${RANLIB}" \ 24528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24529 install-info) \ 24530 || exit 1 24531 24532 @endif m4 24533 24534 .PHONY: maybe-install-pdf-m4 install-pdf-m4 24535 maybe-install-pdf-m4: 24536 @if m4 24537 maybe-install-pdf-m4: install-pdf-m4 24538 24539 install-pdf-m4: \ 24540 configure-m4 \ 24541 pdf-m4 24542 @: $(MAKE); $(unstage) 24543 @[ -f ./m4/Makefile ] || exit 0; \ 24544 r=`${PWD_COMMAND}`; export r; \ 24545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24546 $(HOST_EXPORTS) \ 24547 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24549 done; \ 24550 echo "Doing install-pdf in m4" ; \ 24551 (cd $(HOST_SUBDIR)/m4 && \ 24552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24554 "RANLIB=$${RANLIB}" \ 24555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24556 install-pdf) \ 24557 || exit 1 24558 24559 @endif m4 24560 24561 .PHONY: maybe-install-html-m4 install-html-m4 24562 maybe-install-html-m4: 24563 @if m4 24564 maybe-install-html-m4: install-html-m4 24565 24566 install-html-m4: \ 24567 configure-m4 \ 24568 html-m4 24569 @: $(MAKE); $(unstage) 24570 @[ -f ./m4/Makefile ] || exit 0; \ 24571 r=`${PWD_COMMAND}`; export r; \ 24572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24573 $(HOST_EXPORTS) \ 24574 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24576 done; \ 24577 echo "Doing install-html in m4" ; \ 24578 (cd $(HOST_SUBDIR)/m4 && \ 24579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24581 "RANLIB=$${RANLIB}" \ 24582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24583 install-html) \ 24584 || exit 1 24585 24586 @endif m4 24587 24588 .PHONY: maybe-installcheck-m4 installcheck-m4 24589 maybe-installcheck-m4: 24590 @if m4 24591 maybe-installcheck-m4: installcheck-m4 24592 24593 installcheck-m4: \ 24594 configure-m4 24595 @: $(MAKE); $(unstage) 24596 @[ -f ./m4/Makefile ] || exit 0; \ 24597 r=`${PWD_COMMAND}`; export r; \ 24598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24599 $(HOST_EXPORTS) \ 24600 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24602 done; \ 24603 echo "Doing installcheck in m4" ; \ 24604 (cd $(HOST_SUBDIR)/m4 && \ 24605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24607 "RANLIB=$${RANLIB}" \ 24608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24609 installcheck) \ 24610 || exit 1 24611 24612 @endif m4 24613 24614 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4 24615 maybe-mostlyclean-m4: 24616 @if m4 24617 maybe-mostlyclean-m4: mostlyclean-m4 24618 24619 mostlyclean-m4: 24620 @: $(MAKE); $(unstage) 24621 @[ -f ./m4/Makefile ] || exit 0; \ 24622 r=`${PWD_COMMAND}`; export r; \ 24623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24624 $(HOST_EXPORTS) \ 24625 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24627 done; \ 24628 echo "Doing mostlyclean in m4" ; \ 24629 (cd $(HOST_SUBDIR)/m4 && \ 24630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24632 "RANLIB=$${RANLIB}" \ 24633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24634 mostlyclean) \ 24635 || exit 1 24636 24637 @endif m4 24638 24639 .PHONY: maybe-clean-m4 clean-m4 24640 maybe-clean-m4: 24641 @if m4 24642 maybe-clean-m4: clean-m4 24643 24644 clean-m4: 24645 @: $(MAKE); $(unstage) 24646 @[ -f ./m4/Makefile ] || exit 0; \ 24647 r=`${PWD_COMMAND}`; export r; \ 24648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24649 $(HOST_EXPORTS) \ 24650 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24652 done; \ 24653 echo "Doing clean in m4" ; \ 24654 (cd $(HOST_SUBDIR)/m4 && \ 24655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24657 "RANLIB=$${RANLIB}" \ 24658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24659 clean) \ 24660 || exit 1 24661 24662 @endif m4 24663 24664 .PHONY: maybe-distclean-m4 distclean-m4 24665 maybe-distclean-m4: 24666 @if m4 24667 maybe-distclean-m4: distclean-m4 24668 24669 distclean-m4: 24670 @: $(MAKE); $(unstage) 24671 @[ -f ./m4/Makefile ] || exit 0; \ 24672 r=`${PWD_COMMAND}`; export r; \ 24673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24674 $(HOST_EXPORTS) \ 24675 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24677 done; \ 24678 echo "Doing distclean in m4" ; \ 24679 (cd $(HOST_SUBDIR)/m4 && \ 24680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24682 "RANLIB=$${RANLIB}" \ 24683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24684 distclean) \ 24685 || exit 1 24686 24687 @endif m4 24688 24689 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4 24690 maybe-maintainer-clean-m4: 24691 @if m4 24692 maybe-maintainer-clean-m4: maintainer-clean-m4 24693 24694 maintainer-clean-m4: 24695 @: $(MAKE); $(unstage) 24696 @[ -f ./m4/Makefile ] || exit 0; \ 24697 r=`${PWD_COMMAND}`; export r; \ 24698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24699 $(HOST_EXPORTS) \ 24700 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24702 done; \ 24703 echo "Doing maintainer-clean in m4" ; \ 24704 (cd $(HOST_SUBDIR)/m4 && \ 24705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24707 "RANLIB=$${RANLIB}" \ 24708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24709 maintainer-clean) \ 24710 || exit 1 24711 24712 @endif m4 24713 24714 24715 24716 .PHONY: configure-readline maybe-configure-readline 24717 maybe-configure-readline: 24718 @if gcc-bootstrap 24719 configure-readline: stage_current 24720 @endif gcc-bootstrap 24721 @if readline 24722 maybe-configure-readline: configure-readline 24723 configure-readline: 24724 @: $(MAKE); $(unstage) 24725 @r=`${PWD_COMMAND}`; export r; \ 24726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24727 test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \ 24728 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \ 24729 $(HOST_EXPORTS) \ 24730 echo Configuring in $(HOST_SUBDIR)/readline; \ 24731 cd "$(HOST_SUBDIR)/readline" || exit 1; \ 24732 case $(srcdir) in \ 24733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 24734 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \ 24735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 24736 esac; \ 24737 srcdiroption="--srcdir=$${topdir}/readline"; \ 24738 libsrcdir="$$s/readline"; \ 24739 $(SHELL) $${libsrcdir}/configure \ 24740 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 24741 --target=${target_alias} $${srcdiroption} \ 24742 || exit 1 24743 @endif readline 24744 24745 24746 24747 24748 24749 .PHONY: all-readline maybe-all-readline 24750 maybe-all-readline: 24751 @if gcc-bootstrap 24752 all-readline: stage_current 24753 @endif gcc-bootstrap 24754 @if readline 24755 TARGET-readline=all 24756 maybe-all-readline: all-readline 24757 all-readline: configure-readline 24758 @: $(MAKE); $(unstage) 24759 @r=`${PWD_COMMAND}`; export r; \ 24760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24761 $(HOST_EXPORTS) \ 24762 (cd $(HOST_SUBDIR)/readline && \ 24763 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 24764 $(TARGET-readline)) 24765 @endif readline 24766 24767 24768 24769 24770 .PHONY: check-readline maybe-check-readline 24771 maybe-check-readline: 24772 @if readline 24773 maybe-check-readline: check-readline 24774 24775 check-readline: 24776 @: $(MAKE); $(unstage) 24777 @r=`${PWD_COMMAND}`; export r; \ 24778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24779 $(HOST_EXPORTS) \ 24780 (cd $(HOST_SUBDIR)/readline && \ 24781 $(MAKE) $(FLAGS_TO_PASS) check) 24782 24783 @endif readline 24784 24785 .PHONY: install-readline maybe-install-readline 24786 maybe-install-readline: 24787 @if readline 24788 maybe-install-readline: install-readline 24789 24790 install-readline: installdirs 24791 @: $(MAKE); $(unstage) 24792 @r=`${PWD_COMMAND}`; export r; \ 24793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24794 $(HOST_EXPORTS) \ 24795 (cd $(HOST_SUBDIR)/readline && \ 24796 $(MAKE) $(FLAGS_TO_PASS) install) 24797 24798 @endif readline 24799 24800 .PHONY: install-strip-readline maybe-install-strip-readline 24801 maybe-install-strip-readline: 24802 @if readline 24803 maybe-install-strip-readline: install-strip-readline 24804 24805 install-strip-readline: installdirs 24806 @: $(MAKE); $(unstage) 24807 @r=`${PWD_COMMAND}`; export r; \ 24808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24809 $(HOST_EXPORTS) \ 24810 (cd $(HOST_SUBDIR)/readline && \ 24811 $(MAKE) $(FLAGS_TO_PASS) install-strip) 24812 24813 @endif readline 24814 24815 # Other targets (info, dvi, pdf, etc.) 24816 24817 .PHONY: maybe-info-readline info-readline 24818 maybe-info-readline: 24819 @if readline 24820 maybe-info-readline: info-readline 24821 24822 info-readline: \ 24823 configure-readline 24824 @: $(MAKE); $(unstage) 24825 @[ -f ./readline/Makefile ] || exit 0; \ 24826 r=`${PWD_COMMAND}`; export r; \ 24827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24828 $(HOST_EXPORTS) \ 24829 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24831 done; \ 24832 echo "Doing info in readline" ; \ 24833 (cd $(HOST_SUBDIR)/readline && \ 24834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24836 "RANLIB=$${RANLIB}" \ 24837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24838 info) \ 24839 || exit 1 24840 24841 @endif readline 24842 24843 .PHONY: maybe-dvi-readline dvi-readline 24844 maybe-dvi-readline: 24845 @if readline 24846 maybe-dvi-readline: dvi-readline 24847 24848 dvi-readline: \ 24849 configure-readline 24850 @: $(MAKE); $(unstage) 24851 @[ -f ./readline/Makefile ] || exit 0; \ 24852 r=`${PWD_COMMAND}`; export r; \ 24853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24854 $(HOST_EXPORTS) \ 24855 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24857 done; \ 24858 echo "Doing dvi in readline" ; \ 24859 (cd $(HOST_SUBDIR)/readline && \ 24860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24862 "RANLIB=$${RANLIB}" \ 24863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24864 dvi) \ 24865 || exit 1 24866 24867 @endif readline 24868 24869 .PHONY: maybe-pdf-readline pdf-readline 24870 maybe-pdf-readline: 24871 @if readline 24872 maybe-pdf-readline: pdf-readline 24873 24874 pdf-readline: \ 24875 configure-readline 24876 @: $(MAKE); $(unstage) 24877 @[ -f ./readline/Makefile ] || exit 0; \ 24878 r=`${PWD_COMMAND}`; export r; \ 24879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24880 $(HOST_EXPORTS) \ 24881 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24883 done; \ 24884 echo "Doing pdf in readline" ; \ 24885 (cd $(HOST_SUBDIR)/readline && \ 24886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24888 "RANLIB=$${RANLIB}" \ 24889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24890 pdf) \ 24891 || exit 1 24892 24893 @endif readline 24894 24895 .PHONY: maybe-html-readline html-readline 24896 maybe-html-readline: 24897 @if readline 24898 maybe-html-readline: html-readline 24899 24900 html-readline: \ 24901 configure-readline 24902 @: $(MAKE); $(unstage) 24903 @[ -f ./readline/Makefile ] || exit 0; \ 24904 r=`${PWD_COMMAND}`; export r; \ 24905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24906 $(HOST_EXPORTS) \ 24907 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24909 done; \ 24910 echo "Doing html in readline" ; \ 24911 (cd $(HOST_SUBDIR)/readline && \ 24912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24914 "RANLIB=$${RANLIB}" \ 24915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24916 html) \ 24917 || exit 1 24918 24919 @endif readline 24920 24921 .PHONY: maybe-TAGS-readline TAGS-readline 24922 maybe-TAGS-readline: 24923 @if readline 24924 maybe-TAGS-readline: TAGS-readline 24925 24926 TAGS-readline: \ 24927 configure-readline 24928 @: $(MAKE); $(unstage) 24929 @[ -f ./readline/Makefile ] || exit 0; \ 24930 r=`${PWD_COMMAND}`; export r; \ 24931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24932 $(HOST_EXPORTS) \ 24933 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24935 done; \ 24936 echo "Doing TAGS in readline" ; \ 24937 (cd $(HOST_SUBDIR)/readline && \ 24938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24940 "RANLIB=$${RANLIB}" \ 24941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24942 TAGS) \ 24943 || exit 1 24944 24945 @endif readline 24946 24947 .PHONY: maybe-install-info-readline install-info-readline 24948 maybe-install-info-readline: 24949 @if readline 24950 maybe-install-info-readline: install-info-readline 24951 24952 install-info-readline: \ 24953 configure-readline \ 24954 info-readline 24955 @: $(MAKE); $(unstage) 24956 @[ -f ./readline/Makefile ] || exit 0; \ 24957 r=`${PWD_COMMAND}`; export r; \ 24958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24959 $(HOST_EXPORTS) \ 24960 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24962 done; \ 24963 echo "Doing install-info in readline" ; \ 24964 (cd $(HOST_SUBDIR)/readline && \ 24965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24967 "RANLIB=$${RANLIB}" \ 24968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24969 install-info) \ 24970 || exit 1 24971 24972 @endif readline 24973 24974 .PHONY: maybe-install-pdf-readline install-pdf-readline 24975 maybe-install-pdf-readline: 24976 @if readline 24977 maybe-install-pdf-readline: install-pdf-readline 24978 24979 install-pdf-readline: \ 24980 configure-readline \ 24981 pdf-readline 24982 @: $(MAKE); $(unstage) 24983 @[ -f ./readline/Makefile ] || exit 0; \ 24984 r=`${PWD_COMMAND}`; export r; \ 24985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 24986 $(HOST_EXPORTS) \ 24987 for flag in $(EXTRA_HOST_FLAGS) ; do \ 24988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 24989 done; \ 24990 echo "Doing install-pdf in readline" ; \ 24991 (cd $(HOST_SUBDIR)/readline && \ 24992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 24993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 24994 "RANLIB=$${RANLIB}" \ 24995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 24996 install-pdf) \ 24997 || exit 1 24998 24999 @endif readline 25000 25001 .PHONY: maybe-install-html-readline install-html-readline 25002 maybe-install-html-readline: 25003 @if readline 25004 maybe-install-html-readline: install-html-readline 25005 25006 install-html-readline: \ 25007 configure-readline \ 25008 html-readline 25009 @: $(MAKE); $(unstage) 25010 @[ -f ./readline/Makefile ] || exit 0; \ 25011 r=`${PWD_COMMAND}`; export r; \ 25012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25013 $(HOST_EXPORTS) \ 25014 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25016 done; \ 25017 echo "Doing install-html in readline" ; \ 25018 (cd $(HOST_SUBDIR)/readline && \ 25019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25021 "RANLIB=$${RANLIB}" \ 25022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25023 install-html) \ 25024 || exit 1 25025 25026 @endif readline 25027 25028 .PHONY: maybe-installcheck-readline installcheck-readline 25029 maybe-installcheck-readline: 25030 @if readline 25031 maybe-installcheck-readline: installcheck-readline 25032 25033 installcheck-readline: \ 25034 configure-readline 25035 @: $(MAKE); $(unstage) 25036 @[ -f ./readline/Makefile ] || exit 0; \ 25037 r=`${PWD_COMMAND}`; export r; \ 25038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25039 $(HOST_EXPORTS) \ 25040 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25042 done; \ 25043 echo "Doing installcheck in readline" ; \ 25044 (cd $(HOST_SUBDIR)/readline && \ 25045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25047 "RANLIB=$${RANLIB}" \ 25048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25049 installcheck) \ 25050 || exit 1 25051 25052 @endif readline 25053 25054 .PHONY: maybe-mostlyclean-readline mostlyclean-readline 25055 maybe-mostlyclean-readline: 25056 @if readline 25057 maybe-mostlyclean-readline: mostlyclean-readline 25058 25059 mostlyclean-readline: 25060 @: $(MAKE); $(unstage) 25061 @[ -f ./readline/Makefile ] || exit 0; \ 25062 r=`${PWD_COMMAND}`; export r; \ 25063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25064 $(HOST_EXPORTS) \ 25065 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25067 done; \ 25068 echo "Doing mostlyclean in readline" ; \ 25069 (cd $(HOST_SUBDIR)/readline && \ 25070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25072 "RANLIB=$${RANLIB}" \ 25073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25074 mostlyclean) \ 25075 || exit 1 25076 25077 @endif readline 25078 25079 .PHONY: maybe-clean-readline clean-readline 25080 maybe-clean-readline: 25081 @if readline 25082 maybe-clean-readline: clean-readline 25083 25084 clean-readline: 25085 @: $(MAKE); $(unstage) 25086 @[ -f ./readline/Makefile ] || exit 0; \ 25087 r=`${PWD_COMMAND}`; export r; \ 25088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25089 $(HOST_EXPORTS) \ 25090 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25092 done; \ 25093 echo "Doing clean in readline" ; \ 25094 (cd $(HOST_SUBDIR)/readline && \ 25095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25097 "RANLIB=$${RANLIB}" \ 25098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25099 clean) \ 25100 || exit 1 25101 25102 @endif readline 25103 25104 .PHONY: maybe-distclean-readline distclean-readline 25105 maybe-distclean-readline: 25106 @if readline 25107 maybe-distclean-readline: distclean-readline 25108 25109 distclean-readline: 25110 @: $(MAKE); $(unstage) 25111 @[ -f ./readline/Makefile ] || exit 0; \ 25112 r=`${PWD_COMMAND}`; export r; \ 25113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25114 $(HOST_EXPORTS) \ 25115 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25117 done; \ 25118 echo "Doing distclean in readline" ; \ 25119 (cd $(HOST_SUBDIR)/readline && \ 25120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25122 "RANLIB=$${RANLIB}" \ 25123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25124 distclean) \ 25125 || exit 1 25126 25127 @endif readline 25128 25129 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline 25130 maybe-maintainer-clean-readline: 25131 @if readline 25132 maybe-maintainer-clean-readline: maintainer-clean-readline 25133 25134 maintainer-clean-readline: 25135 @: $(MAKE); $(unstage) 25136 @[ -f ./readline/Makefile ] || exit 0; \ 25137 r=`${PWD_COMMAND}`; export r; \ 25138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25139 $(HOST_EXPORTS) \ 25140 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25142 done; \ 25143 echo "Doing maintainer-clean in readline" ; \ 25144 (cd $(HOST_SUBDIR)/readline && \ 25145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25147 "RANLIB=$${RANLIB}" \ 25148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25149 maintainer-clean) \ 25150 || exit 1 25151 25152 @endif readline 25153 25154 25155 25156 .PHONY: configure-sid maybe-configure-sid 25157 maybe-configure-sid: 25158 @if gcc-bootstrap 25159 configure-sid: stage_current 25160 @endif gcc-bootstrap 25161 @if sid 25162 maybe-configure-sid: configure-sid 25163 configure-sid: 25164 @: $(MAKE); $(unstage) 25165 @r=`${PWD_COMMAND}`; export r; \ 25166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25167 test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \ 25168 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \ 25169 $(HOST_EXPORTS) \ 25170 echo Configuring in $(HOST_SUBDIR)/sid; \ 25171 cd "$(HOST_SUBDIR)/sid" || exit 1; \ 25172 case $(srcdir) in \ 25173 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 25174 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \ 25175 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 25176 esac; \ 25177 srcdiroption="--srcdir=$${topdir}/sid"; \ 25178 libsrcdir="$$s/sid"; \ 25179 $(SHELL) $${libsrcdir}/configure \ 25180 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 25181 --target=${target_alias} $${srcdiroption} \ 25182 || exit 1 25183 @endif sid 25184 25185 25186 25187 25188 25189 .PHONY: all-sid maybe-all-sid 25190 maybe-all-sid: 25191 @if gcc-bootstrap 25192 all-sid: stage_current 25193 @endif gcc-bootstrap 25194 @if sid 25195 TARGET-sid=all 25196 maybe-all-sid: all-sid 25197 all-sid: configure-sid 25198 @: $(MAKE); $(unstage) 25199 @r=`${PWD_COMMAND}`; export r; \ 25200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25201 $(HOST_EXPORTS) \ 25202 (cd $(HOST_SUBDIR)/sid && \ 25203 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 25204 $(TARGET-sid)) 25205 @endif sid 25206 25207 25208 25209 25210 .PHONY: check-sid maybe-check-sid 25211 maybe-check-sid: 25212 @if sid 25213 maybe-check-sid: check-sid 25214 25215 check-sid: 25216 @: $(MAKE); $(unstage) 25217 @r=`${PWD_COMMAND}`; export r; \ 25218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25219 $(HOST_EXPORTS) \ 25220 (cd $(HOST_SUBDIR)/sid && \ 25221 $(MAKE) $(FLAGS_TO_PASS) check) 25222 25223 @endif sid 25224 25225 .PHONY: install-sid maybe-install-sid 25226 maybe-install-sid: 25227 @if sid 25228 maybe-install-sid: install-sid 25229 25230 install-sid: installdirs 25231 @: $(MAKE); $(unstage) 25232 @r=`${PWD_COMMAND}`; export r; \ 25233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25234 $(HOST_EXPORTS) \ 25235 (cd $(HOST_SUBDIR)/sid && \ 25236 $(MAKE) $(FLAGS_TO_PASS) install) 25237 25238 @endif sid 25239 25240 .PHONY: install-strip-sid maybe-install-strip-sid 25241 maybe-install-strip-sid: 25242 @if sid 25243 maybe-install-strip-sid: install-strip-sid 25244 25245 install-strip-sid: installdirs 25246 @: $(MAKE); $(unstage) 25247 @r=`${PWD_COMMAND}`; export r; \ 25248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25249 $(HOST_EXPORTS) \ 25250 (cd $(HOST_SUBDIR)/sid && \ 25251 $(MAKE) $(FLAGS_TO_PASS) install-strip) 25252 25253 @endif sid 25254 25255 # Other targets (info, dvi, pdf, etc.) 25256 25257 .PHONY: maybe-info-sid info-sid 25258 maybe-info-sid: 25259 @if sid 25260 maybe-info-sid: info-sid 25261 25262 info-sid: \ 25263 configure-sid 25264 @: $(MAKE); $(unstage) 25265 @[ -f ./sid/Makefile ] || exit 0; \ 25266 r=`${PWD_COMMAND}`; export r; \ 25267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25268 $(HOST_EXPORTS) \ 25269 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25271 done; \ 25272 echo "Doing info in sid" ; \ 25273 (cd $(HOST_SUBDIR)/sid && \ 25274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25276 "RANLIB=$${RANLIB}" \ 25277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25278 info) \ 25279 || exit 1 25280 25281 @endif sid 25282 25283 .PHONY: maybe-dvi-sid dvi-sid 25284 maybe-dvi-sid: 25285 @if sid 25286 maybe-dvi-sid: dvi-sid 25287 25288 dvi-sid: \ 25289 configure-sid 25290 @: $(MAKE); $(unstage) 25291 @[ -f ./sid/Makefile ] || exit 0; \ 25292 r=`${PWD_COMMAND}`; export r; \ 25293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25294 $(HOST_EXPORTS) \ 25295 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25297 done; \ 25298 echo "Doing dvi in sid" ; \ 25299 (cd $(HOST_SUBDIR)/sid && \ 25300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25302 "RANLIB=$${RANLIB}" \ 25303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25304 dvi) \ 25305 || exit 1 25306 25307 @endif sid 25308 25309 .PHONY: maybe-pdf-sid pdf-sid 25310 maybe-pdf-sid: 25311 @if sid 25312 maybe-pdf-sid: pdf-sid 25313 25314 pdf-sid: \ 25315 configure-sid 25316 @: $(MAKE); $(unstage) 25317 @[ -f ./sid/Makefile ] || exit 0; \ 25318 r=`${PWD_COMMAND}`; export r; \ 25319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25320 $(HOST_EXPORTS) \ 25321 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25323 done; \ 25324 echo "Doing pdf in sid" ; \ 25325 (cd $(HOST_SUBDIR)/sid && \ 25326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25328 "RANLIB=$${RANLIB}" \ 25329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25330 pdf) \ 25331 || exit 1 25332 25333 @endif sid 25334 25335 .PHONY: maybe-html-sid html-sid 25336 maybe-html-sid: 25337 @if sid 25338 maybe-html-sid: html-sid 25339 25340 html-sid: \ 25341 configure-sid 25342 @: $(MAKE); $(unstage) 25343 @[ -f ./sid/Makefile ] || exit 0; \ 25344 r=`${PWD_COMMAND}`; export r; \ 25345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25346 $(HOST_EXPORTS) \ 25347 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25349 done; \ 25350 echo "Doing html in sid" ; \ 25351 (cd $(HOST_SUBDIR)/sid && \ 25352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25354 "RANLIB=$${RANLIB}" \ 25355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25356 html) \ 25357 || exit 1 25358 25359 @endif sid 25360 25361 .PHONY: maybe-TAGS-sid TAGS-sid 25362 maybe-TAGS-sid: 25363 @if sid 25364 maybe-TAGS-sid: TAGS-sid 25365 25366 TAGS-sid: \ 25367 configure-sid 25368 @: $(MAKE); $(unstage) 25369 @[ -f ./sid/Makefile ] || exit 0; \ 25370 r=`${PWD_COMMAND}`; export r; \ 25371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25372 $(HOST_EXPORTS) \ 25373 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25375 done; \ 25376 echo "Doing TAGS in sid" ; \ 25377 (cd $(HOST_SUBDIR)/sid && \ 25378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25380 "RANLIB=$${RANLIB}" \ 25381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25382 TAGS) \ 25383 || exit 1 25384 25385 @endif sid 25386 25387 .PHONY: maybe-install-info-sid install-info-sid 25388 maybe-install-info-sid: 25389 @if sid 25390 maybe-install-info-sid: install-info-sid 25391 25392 install-info-sid: \ 25393 configure-sid \ 25394 info-sid 25395 @: $(MAKE); $(unstage) 25396 @[ -f ./sid/Makefile ] || exit 0; \ 25397 r=`${PWD_COMMAND}`; export r; \ 25398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25399 $(HOST_EXPORTS) \ 25400 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25402 done; \ 25403 echo "Doing install-info in sid" ; \ 25404 (cd $(HOST_SUBDIR)/sid && \ 25405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25407 "RANLIB=$${RANLIB}" \ 25408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25409 install-info) \ 25410 || exit 1 25411 25412 @endif sid 25413 25414 .PHONY: maybe-install-pdf-sid install-pdf-sid 25415 maybe-install-pdf-sid: 25416 @if sid 25417 maybe-install-pdf-sid: install-pdf-sid 25418 25419 install-pdf-sid: \ 25420 configure-sid \ 25421 pdf-sid 25422 @: $(MAKE); $(unstage) 25423 @[ -f ./sid/Makefile ] || exit 0; \ 25424 r=`${PWD_COMMAND}`; export r; \ 25425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25426 $(HOST_EXPORTS) \ 25427 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25429 done; \ 25430 echo "Doing install-pdf in sid" ; \ 25431 (cd $(HOST_SUBDIR)/sid && \ 25432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25434 "RANLIB=$${RANLIB}" \ 25435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25436 install-pdf) \ 25437 || exit 1 25438 25439 @endif sid 25440 25441 .PHONY: maybe-install-html-sid install-html-sid 25442 maybe-install-html-sid: 25443 @if sid 25444 maybe-install-html-sid: install-html-sid 25445 25446 install-html-sid: \ 25447 configure-sid \ 25448 html-sid 25449 @: $(MAKE); $(unstage) 25450 @[ -f ./sid/Makefile ] || exit 0; \ 25451 r=`${PWD_COMMAND}`; export r; \ 25452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25453 $(HOST_EXPORTS) \ 25454 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25456 done; \ 25457 echo "Doing install-html in sid" ; \ 25458 (cd $(HOST_SUBDIR)/sid && \ 25459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25461 "RANLIB=$${RANLIB}" \ 25462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25463 install-html) \ 25464 || exit 1 25465 25466 @endif sid 25467 25468 .PHONY: maybe-installcheck-sid installcheck-sid 25469 maybe-installcheck-sid: 25470 @if sid 25471 maybe-installcheck-sid: installcheck-sid 25472 25473 installcheck-sid: \ 25474 configure-sid 25475 @: $(MAKE); $(unstage) 25476 @[ -f ./sid/Makefile ] || exit 0; \ 25477 r=`${PWD_COMMAND}`; export r; \ 25478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25479 $(HOST_EXPORTS) \ 25480 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25482 done; \ 25483 echo "Doing installcheck in sid" ; \ 25484 (cd $(HOST_SUBDIR)/sid && \ 25485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25487 "RANLIB=$${RANLIB}" \ 25488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25489 installcheck) \ 25490 || exit 1 25491 25492 @endif sid 25493 25494 .PHONY: maybe-mostlyclean-sid mostlyclean-sid 25495 maybe-mostlyclean-sid: 25496 @if sid 25497 maybe-mostlyclean-sid: mostlyclean-sid 25498 25499 mostlyclean-sid: 25500 @: $(MAKE); $(unstage) 25501 @[ -f ./sid/Makefile ] || exit 0; \ 25502 r=`${PWD_COMMAND}`; export r; \ 25503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25504 $(HOST_EXPORTS) \ 25505 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25507 done; \ 25508 echo "Doing mostlyclean in sid" ; \ 25509 (cd $(HOST_SUBDIR)/sid && \ 25510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25512 "RANLIB=$${RANLIB}" \ 25513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25514 mostlyclean) \ 25515 || exit 1 25516 25517 @endif sid 25518 25519 .PHONY: maybe-clean-sid clean-sid 25520 maybe-clean-sid: 25521 @if sid 25522 maybe-clean-sid: clean-sid 25523 25524 clean-sid: 25525 @: $(MAKE); $(unstage) 25526 @[ -f ./sid/Makefile ] || exit 0; \ 25527 r=`${PWD_COMMAND}`; export r; \ 25528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25529 $(HOST_EXPORTS) \ 25530 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25532 done; \ 25533 echo "Doing clean in sid" ; \ 25534 (cd $(HOST_SUBDIR)/sid && \ 25535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25537 "RANLIB=$${RANLIB}" \ 25538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25539 clean) \ 25540 || exit 1 25541 25542 @endif sid 25543 25544 .PHONY: maybe-distclean-sid distclean-sid 25545 maybe-distclean-sid: 25546 @if sid 25547 maybe-distclean-sid: distclean-sid 25548 25549 distclean-sid: 25550 @: $(MAKE); $(unstage) 25551 @[ -f ./sid/Makefile ] || exit 0; \ 25552 r=`${PWD_COMMAND}`; export r; \ 25553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25554 $(HOST_EXPORTS) \ 25555 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25557 done; \ 25558 echo "Doing distclean in sid" ; \ 25559 (cd $(HOST_SUBDIR)/sid && \ 25560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25562 "RANLIB=$${RANLIB}" \ 25563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25564 distclean) \ 25565 || exit 1 25566 25567 @endif sid 25568 25569 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid 25570 maybe-maintainer-clean-sid: 25571 @if sid 25572 maybe-maintainer-clean-sid: maintainer-clean-sid 25573 25574 maintainer-clean-sid: 25575 @: $(MAKE); $(unstage) 25576 @[ -f ./sid/Makefile ] || exit 0; \ 25577 r=`${PWD_COMMAND}`; export r; \ 25578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25579 $(HOST_EXPORTS) \ 25580 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25582 done; \ 25583 echo "Doing maintainer-clean in sid" ; \ 25584 (cd $(HOST_SUBDIR)/sid && \ 25585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25587 "RANLIB=$${RANLIB}" \ 25588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25589 maintainer-clean) \ 25590 || exit 1 25591 25592 @endif sid 25593 25594 25595 25596 .PHONY: configure-sim maybe-configure-sim 25597 maybe-configure-sim: 25598 @if gcc-bootstrap 25599 configure-sim: stage_current 25600 @endif gcc-bootstrap 25601 @if sim 25602 maybe-configure-sim: configure-sim 25603 configure-sim: 25604 @: $(MAKE); $(unstage) 25605 @r=`${PWD_COMMAND}`; export r; \ 25606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25607 test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \ 25608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \ 25609 $(HOST_EXPORTS) \ 25610 echo Configuring in $(HOST_SUBDIR)/sim; \ 25611 cd "$(HOST_SUBDIR)/sim" || exit 1; \ 25612 case $(srcdir) in \ 25613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 25614 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \ 25615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 25616 esac; \ 25617 srcdiroption="--srcdir=$${topdir}/sim"; \ 25618 libsrcdir="$$s/sim"; \ 25619 $(SHELL) $${libsrcdir}/configure \ 25620 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 25621 --target=${target_alias} $${srcdiroption} \ 25622 || exit 1 25623 @endif sim 25624 25625 25626 25627 25628 25629 .PHONY: all-sim maybe-all-sim 25630 maybe-all-sim: 25631 @if gcc-bootstrap 25632 all-sim: stage_current 25633 @endif gcc-bootstrap 25634 @if sim 25635 TARGET-sim=all 25636 maybe-all-sim: all-sim 25637 all-sim: configure-sim 25638 @: $(MAKE); $(unstage) 25639 @r=`${PWD_COMMAND}`; export r; \ 25640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25641 $(HOST_EXPORTS) \ 25642 (cd $(HOST_SUBDIR)/sim && \ 25643 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 25644 $(TARGET-sim)) 25645 @endif sim 25646 25647 25648 25649 25650 .PHONY: check-sim maybe-check-sim 25651 maybe-check-sim: 25652 @if sim 25653 maybe-check-sim: check-sim 25654 25655 check-sim: 25656 @: $(MAKE); $(unstage) 25657 @r=`${PWD_COMMAND}`; export r; \ 25658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25659 $(HOST_EXPORTS) \ 25660 (cd $(HOST_SUBDIR)/sim && \ 25661 $(MAKE) $(FLAGS_TO_PASS) check) 25662 25663 @endif sim 25664 25665 .PHONY: install-sim maybe-install-sim 25666 maybe-install-sim: 25667 @if sim 25668 maybe-install-sim: install-sim 25669 25670 install-sim: installdirs 25671 @: $(MAKE); $(unstage) 25672 @r=`${PWD_COMMAND}`; export r; \ 25673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25674 $(HOST_EXPORTS) \ 25675 (cd $(HOST_SUBDIR)/sim && \ 25676 $(MAKE) $(FLAGS_TO_PASS) install) 25677 25678 @endif sim 25679 25680 .PHONY: install-strip-sim maybe-install-strip-sim 25681 maybe-install-strip-sim: 25682 @if sim 25683 maybe-install-strip-sim: install-strip-sim 25684 25685 install-strip-sim: installdirs 25686 @: $(MAKE); $(unstage) 25687 @r=`${PWD_COMMAND}`; export r; \ 25688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25689 $(HOST_EXPORTS) \ 25690 (cd $(HOST_SUBDIR)/sim && \ 25691 $(MAKE) $(FLAGS_TO_PASS) install-strip) 25692 25693 @endif sim 25694 25695 # Other targets (info, dvi, pdf, etc.) 25696 25697 .PHONY: maybe-info-sim info-sim 25698 maybe-info-sim: 25699 @if sim 25700 maybe-info-sim: info-sim 25701 25702 info-sim: \ 25703 configure-sim 25704 @: $(MAKE); $(unstage) 25705 @[ -f ./sim/Makefile ] || exit 0; \ 25706 r=`${PWD_COMMAND}`; export r; \ 25707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25708 $(HOST_EXPORTS) \ 25709 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25711 done; \ 25712 echo "Doing info in sim" ; \ 25713 (cd $(HOST_SUBDIR)/sim && \ 25714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25716 "RANLIB=$${RANLIB}" \ 25717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25718 info) \ 25719 || exit 1 25720 25721 @endif sim 25722 25723 .PHONY: maybe-dvi-sim dvi-sim 25724 maybe-dvi-sim: 25725 @if sim 25726 maybe-dvi-sim: dvi-sim 25727 25728 dvi-sim: \ 25729 configure-sim 25730 @: $(MAKE); $(unstage) 25731 @[ -f ./sim/Makefile ] || exit 0; \ 25732 r=`${PWD_COMMAND}`; export r; \ 25733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25734 $(HOST_EXPORTS) \ 25735 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25737 done; \ 25738 echo "Doing dvi in sim" ; \ 25739 (cd $(HOST_SUBDIR)/sim && \ 25740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25742 "RANLIB=$${RANLIB}" \ 25743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25744 dvi) \ 25745 || exit 1 25746 25747 @endif sim 25748 25749 .PHONY: maybe-pdf-sim pdf-sim 25750 maybe-pdf-sim: 25751 @if sim 25752 maybe-pdf-sim: pdf-sim 25753 25754 pdf-sim: \ 25755 configure-sim 25756 @: $(MAKE); $(unstage) 25757 @[ -f ./sim/Makefile ] || exit 0; \ 25758 r=`${PWD_COMMAND}`; export r; \ 25759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25760 $(HOST_EXPORTS) \ 25761 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25763 done; \ 25764 echo "Doing pdf in sim" ; \ 25765 (cd $(HOST_SUBDIR)/sim && \ 25766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25768 "RANLIB=$${RANLIB}" \ 25769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25770 pdf) \ 25771 || exit 1 25772 25773 @endif sim 25774 25775 .PHONY: maybe-html-sim html-sim 25776 maybe-html-sim: 25777 @if sim 25778 maybe-html-sim: html-sim 25779 25780 html-sim: \ 25781 configure-sim 25782 @: $(MAKE); $(unstage) 25783 @[ -f ./sim/Makefile ] || exit 0; \ 25784 r=`${PWD_COMMAND}`; export r; \ 25785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25786 $(HOST_EXPORTS) \ 25787 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25789 done; \ 25790 echo "Doing html in sim" ; \ 25791 (cd $(HOST_SUBDIR)/sim && \ 25792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25794 "RANLIB=$${RANLIB}" \ 25795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25796 html) \ 25797 || exit 1 25798 25799 @endif sim 25800 25801 .PHONY: maybe-TAGS-sim TAGS-sim 25802 maybe-TAGS-sim: 25803 @if sim 25804 maybe-TAGS-sim: TAGS-sim 25805 25806 TAGS-sim: \ 25807 configure-sim 25808 @: $(MAKE); $(unstage) 25809 @[ -f ./sim/Makefile ] || exit 0; \ 25810 r=`${PWD_COMMAND}`; export r; \ 25811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25812 $(HOST_EXPORTS) \ 25813 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25815 done; \ 25816 echo "Doing TAGS in sim" ; \ 25817 (cd $(HOST_SUBDIR)/sim && \ 25818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25820 "RANLIB=$${RANLIB}" \ 25821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25822 TAGS) \ 25823 || exit 1 25824 25825 @endif sim 25826 25827 .PHONY: maybe-install-info-sim install-info-sim 25828 maybe-install-info-sim: 25829 @if sim 25830 maybe-install-info-sim: install-info-sim 25831 25832 install-info-sim: \ 25833 configure-sim \ 25834 info-sim 25835 @: $(MAKE); $(unstage) 25836 @[ -f ./sim/Makefile ] || exit 0; \ 25837 r=`${PWD_COMMAND}`; export r; \ 25838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25839 $(HOST_EXPORTS) \ 25840 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25842 done; \ 25843 echo "Doing install-info in sim" ; \ 25844 (cd $(HOST_SUBDIR)/sim && \ 25845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25847 "RANLIB=$${RANLIB}" \ 25848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25849 install-info) \ 25850 || exit 1 25851 25852 @endif sim 25853 25854 .PHONY: maybe-install-pdf-sim install-pdf-sim 25855 maybe-install-pdf-sim: 25856 @if sim 25857 maybe-install-pdf-sim: install-pdf-sim 25858 25859 install-pdf-sim: \ 25860 configure-sim \ 25861 pdf-sim 25862 @: $(MAKE); $(unstage) 25863 @[ -f ./sim/Makefile ] || exit 0; \ 25864 r=`${PWD_COMMAND}`; export r; \ 25865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25866 $(HOST_EXPORTS) \ 25867 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25869 done; \ 25870 echo "Doing install-pdf in sim" ; \ 25871 (cd $(HOST_SUBDIR)/sim && \ 25872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25874 "RANLIB=$${RANLIB}" \ 25875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25876 install-pdf) \ 25877 || exit 1 25878 25879 @endif sim 25880 25881 .PHONY: maybe-install-html-sim install-html-sim 25882 maybe-install-html-sim: 25883 @if sim 25884 maybe-install-html-sim: install-html-sim 25885 25886 install-html-sim: \ 25887 configure-sim \ 25888 html-sim 25889 @: $(MAKE); $(unstage) 25890 @[ -f ./sim/Makefile ] || exit 0; \ 25891 r=`${PWD_COMMAND}`; export r; \ 25892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25893 $(HOST_EXPORTS) \ 25894 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25896 done; \ 25897 echo "Doing install-html in sim" ; \ 25898 (cd $(HOST_SUBDIR)/sim && \ 25899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25901 "RANLIB=$${RANLIB}" \ 25902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25903 install-html) \ 25904 || exit 1 25905 25906 @endif sim 25907 25908 .PHONY: maybe-installcheck-sim installcheck-sim 25909 maybe-installcheck-sim: 25910 @if sim 25911 maybe-installcheck-sim: installcheck-sim 25912 25913 installcheck-sim: \ 25914 configure-sim 25915 @: $(MAKE); $(unstage) 25916 @[ -f ./sim/Makefile ] || exit 0; \ 25917 r=`${PWD_COMMAND}`; export r; \ 25918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25919 $(HOST_EXPORTS) \ 25920 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25922 done; \ 25923 echo "Doing installcheck in sim" ; \ 25924 (cd $(HOST_SUBDIR)/sim && \ 25925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25927 "RANLIB=$${RANLIB}" \ 25928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25929 installcheck) \ 25930 || exit 1 25931 25932 @endif sim 25933 25934 .PHONY: maybe-mostlyclean-sim mostlyclean-sim 25935 maybe-mostlyclean-sim: 25936 @if sim 25937 maybe-mostlyclean-sim: mostlyclean-sim 25938 25939 mostlyclean-sim: 25940 @: $(MAKE); $(unstage) 25941 @[ -f ./sim/Makefile ] || exit 0; \ 25942 r=`${PWD_COMMAND}`; export r; \ 25943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25944 $(HOST_EXPORTS) \ 25945 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25947 done; \ 25948 echo "Doing mostlyclean in sim" ; \ 25949 (cd $(HOST_SUBDIR)/sim && \ 25950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25952 "RANLIB=$${RANLIB}" \ 25953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25954 mostlyclean) \ 25955 || exit 1 25956 25957 @endif sim 25958 25959 .PHONY: maybe-clean-sim clean-sim 25960 maybe-clean-sim: 25961 @if sim 25962 maybe-clean-sim: clean-sim 25963 25964 clean-sim: 25965 @: $(MAKE); $(unstage) 25966 @[ -f ./sim/Makefile ] || exit 0; \ 25967 r=`${PWD_COMMAND}`; export r; \ 25968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25969 $(HOST_EXPORTS) \ 25970 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25972 done; \ 25973 echo "Doing clean in sim" ; \ 25974 (cd $(HOST_SUBDIR)/sim && \ 25975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 25976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 25977 "RANLIB=$${RANLIB}" \ 25978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 25979 clean) \ 25980 || exit 1 25981 25982 @endif sim 25983 25984 .PHONY: maybe-distclean-sim distclean-sim 25985 maybe-distclean-sim: 25986 @if sim 25987 maybe-distclean-sim: distclean-sim 25988 25989 distclean-sim: 25990 @: $(MAKE); $(unstage) 25991 @[ -f ./sim/Makefile ] || exit 0; \ 25992 r=`${PWD_COMMAND}`; export r; \ 25993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 25994 $(HOST_EXPORTS) \ 25995 for flag in $(EXTRA_HOST_FLAGS) ; do \ 25996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 25997 done; \ 25998 echo "Doing distclean in sim" ; \ 25999 (cd $(HOST_SUBDIR)/sim && \ 26000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26002 "RANLIB=$${RANLIB}" \ 26003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26004 distclean) \ 26005 || exit 1 26006 26007 @endif sim 26008 26009 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim 26010 maybe-maintainer-clean-sim: 26011 @if sim 26012 maybe-maintainer-clean-sim: maintainer-clean-sim 26013 26014 maintainer-clean-sim: 26015 @: $(MAKE); $(unstage) 26016 @[ -f ./sim/Makefile ] || exit 0; \ 26017 r=`${PWD_COMMAND}`; export r; \ 26018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26019 $(HOST_EXPORTS) \ 26020 for flag in $(EXTRA_HOST_FLAGS) ; do \ 26021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 26022 done; \ 26023 echo "Doing maintainer-clean in sim" ; \ 26024 (cd $(HOST_SUBDIR)/sim && \ 26025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26027 "RANLIB=$${RANLIB}" \ 26028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26029 maintainer-clean) \ 26030 || exit 1 26031 26032 @endif sim 26033 26034 26035 26036 .PHONY: configure-texinfo maybe-configure-texinfo 26037 maybe-configure-texinfo: 26038 @if gcc-bootstrap 26039 configure-texinfo: stage_current 26040 @endif gcc-bootstrap 26041 @if texinfo 26042 maybe-configure-texinfo: configure-texinfo 26043 configure-texinfo: 26044 @: $(MAKE); $(unstage) 26045 @r=`${PWD_COMMAND}`; export r; \ 26046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26047 test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \ 26048 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \ 26049 $(HOST_EXPORTS) \ 26050 echo Configuring in $(HOST_SUBDIR)/texinfo; \ 26051 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \ 26052 case $(srcdir) in \ 26053 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 26054 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \ 26055 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 26056 esac; \ 26057 srcdiroption="--srcdir=$${topdir}/texinfo"; \ 26058 libsrcdir="$$s/texinfo"; \ 26059 $(SHELL) $${libsrcdir}/configure \ 26060 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 26061 --target=${target_alias} $${srcdiroption} \ 26062 || exit 1 26063 @endif texinfo 26064 26065 26066 26067 26068 26069 .PHONY: all-texinfo maybe-all-texinfo 26070 maybe-all-texinfo: 26071 @if gcc-bootstrap 26072 all-texinfo: stage_current 26073 @endif gcc-bootstrap 26074 @if texinfo 26075 TARGET-texinfo=all 26076 maybe-all-texinfo: all-texinfo 26077 all-texinfo: configure-texinfo 26078 @: $(MAKE); $(unstage) 26079 @r=`${PWD_COMMAND}`; export r; \ 26080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26081 $(HOST_EXPORTS) \ 26082 (cd $(HOST_SUBDIR)/texinfo && \ 26083 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 26084 $(TARGET-texinfo)) 26085 @endif texinfo 26086 26087 26088 26089 26090 .PHONY: check-texinfo maybe-check-texinfo 26091 maybe-check-texinfo: 26092 @if texinfo 26093 maybe-check-texinfo: check-texinfo 26094 26095 check-texinfo: 26096 @: $(MAKE); $(unstage) 26097 @r=`${PWD_COMMAND}`; export r; \ 26098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26099 $(HOST_EXPORTS) \ 26100 (cd $(HOST_SUBDIR)/texinfo && \ 26101 $(MAKE) $(FLAGS_TO_PASS) check) 26102 26103 @endif texinfo 26104 26105 .PHONY: install-texinfo maybe-install-texinfo 26106 maybe-install-texinfo: 26107 @if texinfo 26108 maybe-install-texinfo: install-texinfo 26109 26110 install-texinfo: 26111 26112 @endif texinfo 26113 26114 .PHONY: install-strip-texinfo maybe-install-strip-texinfo 26115 maybe-install-strip-texinfo: 26116 @if texinfo 26117 maybe-install-strip-texinfo: install-strip-texinfo 26118 26119 install-strip-texinfo: 26120 26121 @endif texinfo 26122 26123 # Other targets (info, dvi, pdf, etc.) 26124 26125 .PHONY: maybe-info-texinfo info-texinfo 26126 maybe-info-texinfo: 26127 @if texinfo 26128 maybe-info-texinfo: info-texinfo 26129 26130 info-texinfo: \ 26131 configure-texinfo 26132 @: $(MAKE); $(unstage) 26133 @[ -f ./texinfo/Makefile ] || exit 0; \ 26134 r=`${PWD_COMMAND}`; export r; \ 26135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26136 $(HOST_EXPORTS) \ 26137 for flag in $(EXTRA_HOST_FLAGS) ; do \ 26138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 26139 done; \ 26140 echo "Doing info in texinfo" ; \ 26141 (cd $(HOST_SUBDIR)/texinfo && \ 26142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26144 "RANLIB=$${RANLIB}" \ 26145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26146 info) \ 26147 || exit 1 26148 26149 @endif texinfo 26150 26151 .PHONY: maybe-dvi-texinfo dvi-texinfo 26152 maybe-dvi-texinfo: 26153 @if texinfo 26154 maybe-dvi-texinfo: dvi-texinfo 26155 26156 dvi-texinfo: \ 26157 configure-texinfo 26158 @: $(MAKE); $(unstage) 26159 @[ -f ./texinfo/Makefile ] || exit 0; \ 26160 r=`${PWD_COMMAND}`; export r; \ 26161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26162 $(HOST_EXPORTS) \ 26163 for flag in $(EXTRA_HOST_FLAGS) ; do \ 26164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 26165 done; \ 26166 echo "Doing dvi in texinfo" ; \ 26167 (cd $(HOST_SUBDIR)/texinfo && \ 26168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26170 "RANLIB=$${RANLIB}" \ 26171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26172 dvi) \ 26173 || exit 1 26174 26175 @endif texinfo 26176 26177 .PHONY: maybe-pdf-texinfo pdf-texinfo 26178 maybe-pdf-texinfo: 26179 @if texinfo 26180 maybe-pdf-texinfo: pdf-texinfo 26181 26182 pdf-texinfo: \ 26183 configure-texinfo 26184 @: $(MAKE); $(unstage) 26185 @[ -f ./texinfo/Makefile ] || exit 0; \ 26186 r=`${PWD_COMMAND}`; export r; \ 26187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26188 $(HOST_EXPORTS) \ 26189 for flag in $(EXTRA_HOST_FLAGS) ; do \ 26190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 26191 done; \ 26192 echo "Doing pdf in texinfo" ; \ 26193 (cd $(HOST_SUBDIR)/texinfo && \ 26194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26196 "RANLIB=$${RANLIB}" \ 26197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26198 pdf) \ 26199 || exit 1 26200 26201 @endif texinfo 26202 26203 .PHONY: maybe-html-texinfo html-texinfo 26204 maybe-html-texinfo: 26205 @if texinfo 26206 maybe-html-texinfo: html-texinfo 26207 26208 html-texinfo: \ 26209 configure-texinfo 26210 @: $(MAKE); $(unstage) 26211 @[ -f ./texinfo/Makefile ] || exit 0; \ 26212 r=`${PWD_COMMAND}`; export r; \ 26213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26214 $(HOST_EXPORTS) \ 26215 for flag in $(EXTRA_HOST_FLAGS) ; do \ 26216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 26217 done; \ 26218 echo "Doing html in texinfo" ; \ 26219 (cd $(HOST_SUBDIR)/texinfo && \ 26220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26222 "RANLIB=$${RANLIB}" \ 26223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26224 html) \ 26225 || exit 1 26226 26227 @endif texinfo 26228 26229 .PHONY: maybe-TAGS-texinfo TAGS-texinfo 26230 maybe-TAGS-texinfo: 26231 @if texinfo 26232 maybe-TAGS-texinfo: TAGS-texinfo 26233 26234 TAGS-texinfo: \ 26235 configure-texinfo 26236 @: $(MAKE); $(unstage) 26237 @[ -f ./texinfo/Makefile ] || exit 0; \ 26238 r=`${PWD_COMMAND}`; export r; \ 26239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26240 $(HOST_EXPORTS) \ 26241 for flag in $(EXTRA_HOST_FLAGS) ; do \ 26242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 26243 done; \ 26244 echo "Doing TAGS in texinfo" ; \ 26245 (cd $(HOST_SUBDIR)/texinfo && \ 26246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26248 "RANLIB=$${RANLIB}" \ 26249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26250 TAGS) \ 26251 || exit 1 26252 26253 @endif texinfo 26254 26255 .PHONY: maybe-install-info-texinfo install-info-texinfo 26256 maybe-install-info-texinfo: 26257 @if texinfo 26258 maybe-install-info-texinfo: install-info-texinfo 26259 26260 install-info-texinfo: \ 26261 configure-texinfo \ 26262 info-texinfo 26263 @: $(MAKE); $(unstage) 26264 @[ -f ./texinfo/Makefile ] || exit 0; \ 26265 r=`${PWD_COMMAND}`; export r; \ 26266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26267 $(HOST_EXPORTS) \ 26268 for flag in $(EXTRA_HOST_FLAGS) ; do \ 26269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 26270 done; \ 26271 echo "Doing install-info in texinfo" ; \ 26272 (cd $(HOST_SUBDIR)/texinfo && \ 26273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26275 "RANLIB=$${RANLIB}" \ 26276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26277 install-info) \ 26278 || exit 1 26279 26280 @endif texinfo 26281 26282 .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo 26283 maybe-install-pdf-texinfo: 26284 @if texinfo 26285 maybe-install-pdf-texinfo: install-pdf-texinfo 26286 26287 install-pdf-texinfo: \ 26288 configure-texinfo \ 26289 pdf-texinfo 26290 @: $(MAKE); $(unstage) 26291 @[ -f ./texinfo/Makefile ] || exit 0; \ 26292 r=`${PWD_COMMAND}`; export r; \ 26293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26294 $(HOST_EXPORTS) \ 26295 for flag in $(EXTRA_HOST_FLAGS) ; do \ 26296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 26297 done; \ 26298 echo "Doing install-pdf in texinfo" ; \ 26299 (cd $(HOST_SUBDIR)/texinfo && \ 26300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26302 "RANLIB=$${RANLIB}" \ 26303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26304 install-pdf) \ 26305 || exit 1 26306 26307 @endif texinfo 26308 26309 .PHONY: maybe-install-html-texinfo install-html-texinfo 26310 maybe-install-html-texinfo: 26311 @if texinfo 26312 maybe-install-html-texinfo: install-html-texinfo 26313 26314 install-html-texinfo: \ 26315 configure-texinfo \ 26316 html-texinfo 26317 @: $(MAKE); $(unstage) 26318 @[ -f ./texinfo/Makefile ] || exit 0; \ 26319 r=`${PWD_COMMAND}`; export r; \ 26320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26321 $(HOST_EXPORTS) \ 26322 for flag in $(EXTRA_HOST_FLAGS) ; do \ 26323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 26324 done; \ 26325 echo "Doing install-html in texinfo" ; \ 26326 (cd $(HOST_SUBDIR)/texinfo && \ 26327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26329 "RANLIB=$${RANLIB}" \ 26330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26331 install-html) \ 26332 || exit 1 26333 26334 @endif texinfo 26335 26336 .PHONY: maybe-installcheck-texinfo installcheck-texinfo 26337 maybe-installcheck-texinfo: 26338 @if texinfo 26339 maybe-installcheck-texinfo: installcheck-texinfo 26340 26341 installcheck-texinfo: \ 26342 configure-texinfo 26343 @: $(MAKE); $(unstage) 26344 @[ -f ./texinfo/Makefile ] || exit 0; \ 26345 r=`${PWD_COMMAND}`; export r; \ 26346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26347 $(HOST_EXPORTS) \ 26348 for flag in $(EXTRA_HOST_FLAGS) ; do \ 26349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 26350 done; \ 26351 echo "Doing installcheck in texinfo" ; \ 26352 (cd $(HOST_SUBDIR)/texinfo && \ 26353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26355 "RANLIB=$${RANLIB}" \ 26356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26357 installcheck) \ 26358 || exit 1 26359 26360 @endif texinfo 26361 26362 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo 26363 maybe-mostlyclean-texinfo: 26364 @if texinfo 26365 maybe-mostlyclean-texinfo: mostlyclean-texinfo 26366 26367 mostlyclean-texinfo: 26368 @: $(MAKE); $(unstage) 26369 @[ -f ./texinfo/Makefile ] || exit 0; \ 26370 r=`${PWD_COMMAND}`; export r; \ 26371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26372 $(HOST_EXPORTS) \ 26373 for flag in $(EXTRA_HOST_FLAGS) ; do \ 26374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 26375 done; \ 26376 echo "Doing mostlyclean in texinfo" ; \ 26377 (cd $(HOST_SUBDIR)/texinfo && \ 26378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26380 "RANLIB=$${RANLIB}" \ 26381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26382 mostlyclean) \ 26383 || exit 1 26384 26385 @endif texinfo 26386 26387 .PHONY: maybe-clean-texinfo clean-texinfo 26388 maybe-clean-texinfo: 26389 @if texinfo 26390 maybe-clean-texinfo: clean-texinfo 26391 26392 clean-texinfo: 26393 @: $(MAKE); $(unstage) 26394 @[ -f ./texinfo/Makefile ] || exit 0; \ 26395 r=`${PWD_COMMAND}`; export r; \ 26396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26397 $(HOST_EXPORTS) \ 26398 for flag in $(EXTRA_HOST_FLAGS) ; do \ 26399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 26400 done; \ 26401 echo "Doing clean in texinfo" ; \ 26402 (cd $(HOST_SUBDIR)/texinfo && \ 26403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26405 "RANLIB=$${RANLIB}" \ 26406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26407 clean) \ 26408 || exit 1 26409 26410 @endif texinfo 26411 26412 .PHONY: maybe-distclean-texinfo distclean-texinfo 26413 maybe-distclean-texinfo: 26414 @if texinfo 26415 maybe-distclean-texinfo: distclean-texinfo 26416 26417 distclean-texinfo: 26418 @: $(MAKE); $(unstage) 26419 @[ -f ./texinfo/Makefile ] || exit 0; \ 26420 r=`${PWD_COMMAND}`; export r; \ 26421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26422 $(HOST_EXPORTS) \ 26423 for flag in $(EXTRA_HOST_FLAGS) ; do \ 26424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 26425 done; \ 26426 echo "Doing distclean in texinfo" ; \ 26427 (cd $(HOST_SUBDIR)/texinfo && \ 26428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26430 "RANLIB=$${RANLIB}" \ 26431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26432 distclean) \ 26433 || exit 1 26434 26435 @endif texinfo 26436 26437 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo 26438 maybe-maintainer-clean-texinfo: 26439 @if texinfo 26440 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo 26441 26442 maintainer-clean-texinfo: 26443 @: $(MAKE); $(unstage) 26444 @[ -f ./texinfo/Makefile ] || exit 0; \ 26445 r=`${PWD_COMMAND}`; export r; \ 26446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26447 $(HOST_EXPORTS) \ 26448 for flag in $(EXTRA_HOST_FLAGS) ; do \ 26449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 26450 done; \ 26451 echo "Doing maintainer-clean in texinfo" ; \ 26452 (cd $(HOST_SUBDIR)/texinfo && \ 26453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 26454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 26455 "RANLIB=$${RANLIB}" \ 26456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 26457 maintainer-clean) \ 26458 || exit 1 26459 26460 @endif texinfo 26461 26462 26463 26464 .PHONY: configure-zlib maybe-configure-zlib 26465 maybe-configure-zlib: 26466 @if gcc-bootstrap 26467 configure-zlib: stage_current 26468 @endif gcc-bootstrap 26469 @if zlib 26470 maybe-configure-zlib: configure-zlib 26471 configure-zlib: 26472 @r=`${PWD_COMMAND}`; export r; \ 26473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26474 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ 26475 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ 26476 $(HOST_EXPORTS) \ 26477 echo Configuring in $(HOST_SUBDIR)/zlib; \ 26478 cd "$(HOST_SUBDIR)/zlib" || exit 1; \ 26479 case $(srcdir) in \ 26480 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 26481 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ 26482 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 26483 esac; \ 26484 srcdiroption="--srcdir=$${topdir}/zlib"; \ 26485 libsrcdir="$$s/zlib"; \ 26486 $(SHELL) $${libsrcdir}/configure \ 26487 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 26488 --target=${target_alias} $${srcdiroption} \ 26489 || exit 1 26490 @endif zlib 26491 26492 26493 26494 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib 26495 maybe-configure-stage1-zlib: 26496 @if zlib-bootstrap 26497 maybe-configure-stage1-zlib: configure-stage1-zlib 26498 configure-stage1-zlib: 26499 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 26500 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib 26501 @r=`${PWD_COMMAND}`; export r; \ 26502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26503 TFLAGS="$(STAGE1_TFLAGS)"; \ 26504 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ 26505 $(HOST_EXPORTS) \ 26506 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 26507 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 26508 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 26509 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \ 26510 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ 26511 cd $(HOST_SUBDIR)/zlib || exit 1; \ 26512 case $(srcdir) in \ 26513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 26514 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ 26515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 26516 esac; \ 26517 srcdiroption="--srcdir=$${topdir}/zlib"; \ 26518 libsrcdir="$$s/zlib"; \ 26519 $(SHELL) $${libsrcdir}/configure \ 26520 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 26521 --target=${target_alias} $${srcdiroption} \ 26522 $(STAGE1_CONFIGURE_FLAGS) 26523 @endif zlib-bootstrap 26524 26525 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib 26526 maybe-configure-stage2-zlib: 26527 @if zlib-bootstrap 26528 maybe-configure-stage2-zlib: configure-stage2-zlib 26529 configure-stage2-zlib: 26530 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 26531 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib 26532 @r=`${PWD_COMMAND}`; export r; \ 26533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26534 TFLAGS="$(STAGE2_TFLAGS)"; \ 26535 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ 26536 $(HOST_EXPORTS) \ 26537 $(POSTSTAGE1_HOST_EXPORTS) \ 26538 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 26539 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 26540 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 26541 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \ 26542 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ 26543 cd $(HOST_SUBDIR)/zlib || exit 1; \ 26544 case $(srcdir) in \ 26545 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 26546 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ 26547 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 26548 esac; \ 26549 srcdiroption="--srcdir=$${topdir}/zlib"; \ 26550 libsrcdir="$$s/zlib"; \ 26551 $(SHELL) $${libsrcdir}/configure \ 26552 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 26553 --target=${target_alias} $${srcdiroption} \ 26554 --with-build-libsubdir=$(HOST_SUBDIR) \ 26555 $(STAGE2_CONFIGURE_FLAGS) 26556 @endif zlib-bootstrap 26557 26558 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib 26559 maybe-configure-stage3-zlib: 26560 @if zlib-bootstrap 26561 maybe-configure-stage3-zlib: configure-stage3-zlib 26562 configure-stage3-zlib: 26563 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 26564 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib 26565 @r=`${PWD_COMMAND}`; export r; \ 26566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26567 TFLAGS="$(STAGE3_TFLAGS)"; \ 26568 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ 26569 $(HOST_EXPORTS) \ 26570 $(POSTSTAGE1_HOST_EXPORTS) \ 26571 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 26572 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 26573 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 26574 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \ 26575 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ 26576 cd $(HOST_SUBDIR)/zlib || exit 1; \ 26577 case $(srcdir) in \ 26578 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 26579 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ 26580 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 26581 esac; \ 26582 srcdiroption="--srcdir=$${topdir}/zlib"; \ 26583 libsrcdir="$$s/zlib"; \ 26584 $(SHELL) $${libsrcdir}/configure \ 26585 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 26586 --target=${target_alias} $${srcdiroption} \ 26587 --with-build-libsubdir=$(HOST_SUBDIR) \ 26588 $(STAGE3_CONFIGURE_FLAGS) 26589 @endif zlib-bootstrap 26590 26591 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib 26592 maybe-configure-stage4-zlib: 26593 @if zlib-bootstrap 26594 maybe-configure-stage4-zlib: configure-stage4-zlib 26595 configure-stage4-zlib: 26596 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 26597 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib 26598 @r=`${PWD_COMMAND}`; export r; \ 26599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26600 TFLAGS="$(STAGE4_TFLAGS)"; \ 26601 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ 26602 $(HOST_EXPORTS) \ 26603 $(POSTSTAGE1_HOST_EXPORTS) \ 26604 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 26605 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 26606 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 26607 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \ 26608 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ 26609 cd $(HOST_SUBDIR)/zlib || exit 1; \ 26610 case $(srcdir) in \ 26611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 26612 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ 26613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 26614 esac; \ 26615 srcdiroption="--srcdir=$${topdir}/zlib"; \ 26616 libsrcdir="$$s/zlib"; \ 26617 $(SHELL) $${libsrcdir}/configure \ 26618 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 26619 --target=${target_alias} $${srcdiroption} \ 26620 --with-build-libsubdir=$(HOST_SUBDIR) \ 26621 $(STAGE4_CONFIGURE_FLAGS) 26622 @endif zlib-bootstrap 26623 26624 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib 26625 maybe-configure-stageprofile-zlib: 26626 @if zlib-bootstrap 26627 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib 26628 configure-stageprofile-zlib: 26629 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 26630 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib 26631 @r=`${PWD_COMMAND}`; export r; \ 26632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26633 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 26634 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ 26635 $(HOST_EXPORTS) \ 26636 $(POSTSTAGE1_HOST_EXPORTS) \ 26637 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 26638 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 26639 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 26640 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \ 26641 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ 26642 cd $(HOST_SUBDIR)/zlib || exit 1; \ 26643 case $(srcdir) in \ 26644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 26645 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ 26646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 26647 esac; \ 26648 srcdiroption="--srcdir=$${topdir}/zlib"; \ 26649 libsrcdir="$$s/zlib"; \ 26650 $(SHELL) $${libsrcdir}/configure \ 26651 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 26652 --target=${target_alias} $${srcdiroption} \ 26653 --with-build-libsubdir=$(HOST_SUBDIR) \ 26654 $(STAGEprofile_CONFIGURE_FLAGS) 26655 @endif zlib-bootstrap 26656 26657 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib 26658 maybe-configure-stagefeedback-zlib: 26659 @if zlib-bootstrap 26660 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib 26661 configure-stagefeedback-zlib: 26662 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 26663 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib 26664 @r=`${PWD_COMMAND}`; export r; \ 26665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26666 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 26667 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \ 26668 $(HOST_EXPORTS) \ 26669 $(POSTSTAGE1_HOST_EXPORTS) \ 26670 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 26671 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 26672 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 26673 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \ 26674 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \ 26675 cd $(HOST_SUBDIR)/zlib || exit 1; \ 26676 case $(srcdir) in \ 26677 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 26678 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \ 26679 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 26680 esac; \ 26681 srcdiroption="--srcdir=$${topdir}/zlib"; \ 26682 libsrcdir="$$s/zlib"; \ 26683 $(SHELL) $${libsrcdir}/configure \ 26684 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 26685 --target=${target_alias} $${srcdiroption} \ 26686 --with-build-libsubdir=$(HOST_SUBDIR) \ 26687 $(STAGEfeedback_CONFIGURE_FLAGS) 26688 @endif zlib-bootstrap 26689 26690 26691 26692 26693 26694 .PHONY: all-zlib maybe-all-zlib 26695 maybe-all-zlib: 26696 @if gcc-bootstrap 26697 all-zlib: stage_current 26698 @endif gcc-bootstrap 26699 @if zlib 26700 TARGET-zlib=all 26701 maybe-all-zlib: all-zlib 26702 all-zlib: configure-zlib 26703 @r=`${PWD_COMMAND}`; export r; \ 26704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26705 $(HOST_EXPORTS) \ 26706 (cd $(HOST_SUBDIR)/zlib && \ 26707 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 26708 $(TARGET-zlib)) 26709 @endif zlib 26710 26711 26712 26713 .PHONY: all-stage1-zlib maybe-all-stage1-zlib 26714 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib 26715 maybe-all-stage1-zlib: 26716 maybe-clean-stage1-zlib: 26717 @if zlib-bootstrap 26718 maybe-all-stage1-zlib: all-stage1-zlib 26719 all-stage1: all-stage1-zlib 26720 TARGET-stage1-zlib = $(TARGET-zlib) 26721 all-stage1-zlib: configure-stage1-zlib 26722 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 26723 @r=`${PWD_COMMAND}`; export r; \ 26724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26725 TFLAGS="$(STAGE1_TFLAGS)"; \ 26726 $(HOST_EXPORTS) \ 26727 cd $(HOST_SUBDIR)/zlib && \ 26728 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 26729 CFLAGS="$(STAGE1_CFLAGS)" \ 26730 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 26731 LIBCFLAGS="$(LIBCFLAGS)" \ 26732 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 26733 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 26734 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 26735 $(EXTRA_HOST_FLAGS) \ 26736 $(STAGE1_FLAGS_TO_PASS) \ 26737 TFLAGS="$(STAGE1_TFLAGS)" \ 26738 $(TARGET-stage1-zlib) 26739 26740 maybe-clean-stage1-zlib: clean-stage1-zlib 26741 clean-stage1: clean-stage1-zlib 26742 clean-stage1-zlib: 26743 @if [ $(current_stage) = stage1 ]; then \ 26744 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \ 26745 else \ 26746 [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \ 26747 $(MAKE) stage1-start; \ 26748 fi; \ 26749 cd $(HOST_SUBDIR)/zlib && \ 26750 $(MAKE) $(EXTRA_HOST_FLAGS) \ 26751 $(STAGE1_FLAGS_TO_PASS) clean 26752 @endif zlib-bootstrap 26753 26754 26755 .PHONY: all-stage2-zlib maybe-all-stage2-zlib 26756 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib 26757 maybe-all-stage2-zlib: 26758 maybe-clean-stage2-zlib: 26759 @if zlib-bootstrap 26760 maybe-all-stage2-zlib: all-stage2-zlib 26761 all-stage2: all-stage2-zlib 26762 TARGET-stage2-zlib = $(TARGET-zlib) 26763 all-stage2-zlib: configure-stage2-zlib 26764 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 26765 @r=`${PWD_COMMAND}`; export r; \ 26766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26767 TFLAGS="$(STAGE2_TFLAGS)"; \ 26768 $(HOST_EXPORTS) \ 26769 $(POSTSTAGE1_HOST_EXPORTS) \ 26770 cd $(HOST_SUBDIR)/zlib && \ 26771 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 26772 CFLAGS="$(STAGE2_CFLAGS)" \ 26773 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 26774 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 26775 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 26776 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 26777 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 26778 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 26779 TFLAGS="$(STAGE2_TFLAGS)" \ 26780 $(TARGET-stage2-zlib) 26781 26782 maybe-clean-stage2-zlib: clean-stage2-zlib 26783 clean-stage2: clean-stage2-zlib 26784 clean-stage2-zlib: 26785 @if [ $(current_stage) = stage2 ]; then \ 26786 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \ 26787 else \ 26788 [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \ 26789 $(MAKE) stage2-start; \ 26790 fi; \ 26791 cd $(HOST_SUBDIR)/zlib && \ 26792 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 26793 @endif zlib-bootstrap 26794 26795 26796 .PHONY: all-stage3-zlib maybe-all-stage3-zlib 26797 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib 26798 maybe-all-stage3-zlib: 26799 maybe-clean-stage3-zlib: 26800 @if zlib-bootstrap 26801 maybe-all-stage3-zlib: all-stage3-zlib 26802 all-stage3: all-stage3-zlib 26803 TARGET-stage3-zlib = $(TARGET-zlib) 26804 all-stage3-zlib: configure-stage3-zlib 26805 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 26806 @r=`${PWD_COMMAND}`; export r; \ 26807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26808 TFLAGS="$(STAGE3_TFLAGS)"; \ 26809 $(HOST_EXPORTS) \ 26810 $(POSTSTAGE1_HOST_EXPORTS) \ 26811 cd $(HOST_SUBDIR)/zlib && \ 26812 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 26813 CFLAGS="$(STAGE3_CFLAGS)" \ 26814 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 26815 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 26816 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 26817 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 26818 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 26819 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 26820 TFLAGS="$(STAGE3_TFLAGS)" \ 26821 $(TARGET-stage3-zlib) 26822 26823 maybe-clean-stage3-zlib: clean-stage3-zlib 26824 clean-stage3: clean-stage3-zlib 26825 clean-stage3-zlib: 26826 @if [ $(current_stage) = stage3 ]; then \ 26827 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \ 26828 else \ 26829 [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \ 26830 $(MAKE) stage3-start; \ 26831 fi; \ 26832 cd $(HOST_SUBDIR)/zlib && \ 26833 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 26834 @endif zlib-bootstrap 26835 26836 26837 .PHONY: all-stage4-zlib maybe-all-stage4-zlib 26838 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib 26839 maybe-all-stage4-zlib: 26840 maybe-clean-stage4-zlib: 26841 @if zlib-bootstrap 26842 maybe-all-stage4-zlib: all-stage4-zlib 26843 all-stage4: all-stage4-zlib 26844 TARGET-stage4-zlib = $(TARGET-zlib) 26845 all-stage4-zlib: configure-stage4-zlib 26846 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 26847 @r=`${PWD_COMMAND}`; export r; \ 26848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26849 TFLAGS="$(STAGE4_TFLAGS)"; \ 26850 $(HOST_EXPORTS) \ 26851 $(POSTSTAGE1_HOST_EXPORTS) \ 26852 cd $(HOST_SUBDIR)/zlib && \ 26853 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 26854 CFLAGS="$(STAGE4_CFLAGS)" \ 26855 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 26856 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 26857 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 26858 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 26859 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 26860 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 26861 TFLAGS="$(STAGE4_TFLAGS)" \ 26862 $(TARGET-stage4-zlib) 26863 26864 maybe-clean-stage4-zlib: clean-stage4-zlib 26865 clean-stage4: clean-stage4-zlib 26866 clean-stage4-zlib: 26867 @if [ $(current_stage) = stage4 ]; then \ 26868 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \ 26869 else \ 26870 [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \ 26871 $(MAKE) stage4-start; \ 26872 fi; \ 26873 cd $(HOST_SUBDIR)/zlib && \ 26874 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 26875 @endif zlib-bootstrap 26876 26877 26878 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib 26879 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib 26880 maybe-all-stageprofile-zlib: 26881 maybe-clean-stageprofile-zlib: 26882 @if zlib-bootstrap 26883 maybe-all-stageprofile-zlib: all-stageprofile-zlib 26884 all-stageprofile: all-stageprofile-zlib 26885 TARGET-stageprofile-zlib = $(TARGET-zlib) 26886 all-stageprofile-zlib: configure-stageprofile-zlib 26887 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 26888 @r=`${PWD_COMMAND}`; export r; \ 26889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26890 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 26891 $(HOST_EXPORTS) \ 26892 $(POSTSTAGE1_HOST_EXPORTS) \ 26893 cd $(HOST_SUBDIR)/zlib && \ 26894 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 26895 CFLAGS="$(STAGEprofile_CFLAGS)" \ 26896 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 26897 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 26898 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 26899 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 26900 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 26901 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 26902 TFLAGS="$(STAGEprofile_TFLAGS)" \ 26903 $(TARGET-stageprofile-zlib) 26904 26905 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib 26906 clean-stageprofile: clean-stageprofile-zlib 26907 clean-stageprofile-zlib: 26908 @if [ $(current_stage) = stageprofile ]; then \ 26909 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \ 26910 else \ 26911 [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \ 26912 $(MAKE) stageprofile-start; \ 26913 fi; \ 26914 cd $(HOST_SUBDIR)/zlib && \ 26915 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 26916 @endif zlib-bootstrap 26917 26918 26919 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib 26920 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib 26921 maybe-all-stagefeedback-zlib: 26922 maybe-clean-stagefeedback-zlib: 26923 @if zlib-bootstrap 26924 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib 26925 all-stagefeedback: all-stagefeedback-zlib 26926 TARGET-stagefeedback-zlib = $(TARGET-zlib) 26927 all-stagefeedback-zlib: configure-stagefeedback-zlib 26928 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 26929 @r=`${PWD_COMMAND}`; export r; \ 26930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 26931 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 26932 $(HOST_EXPORTS) \ 26933 $(POSTSTAGE1_HOST_EXPORTS) \ 26934 cd $(HOST_SUBDIR)/zlib && \ 26935 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 26936 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 26937 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 26938 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 26939 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 26940 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 26941 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 26942 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 26943 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 26944 $(TARGET-stagefeedback-zlib) 26945 26946 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib 26947 clean-stagefeedback: clean-stagefeedback-zlib 26948 clean-stagefeedback-zlib: 26949 @if [ $(current_stage) = stagefeedback ]; then \ 26950 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \ 26951 else \ 26952 [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \ 26953 $(MAKE) stagefeedback-start; \ 26954 fi; \ 26955 cd $(HOST_SUBDIR)/zlib && \ 26956 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 26957 @endif zlib-bootstrap 26958 26959 26960 26961 26962 26963 .PHONY: check-zlib maybe-check-zlib 26964 maybe-check-zlib: 26965 @if zlib 26966 maybe-check-zlib: check-zlib 26967 26968 check-zlib: 26969 26970 @endif zlib 26971 26972 .PHONY: install-zlib maybe-install-zlib 26973 maybe-install-zlib: 26974 @if zlib 26975 maybe-install-zlib: install-zlib 26976 26977 install-zlib: 26978 26979 @endif zlib 26980 26981 .PHONY: install-strip-zlib maybe-install-strip-zlib 26982 maybe-install-strip-zlib: 26983 @if zlib 26984 maybe-install-strip-zlib: install-strip-zlib 26985 26986 install-strip-zlib: 26987 26988 @endif zlib 26989 26990 # Other targets (info, dvi, pdf, etc.) 26991 26992 .PHONY: maybe-info-zlib info-zlib 26993 maybe-info-zlib: 26994 @if zlib 26995 maybe-info-zlib: info-zlib 26996 26997 info-zlib: \ 26998 configure-zlib 26999 @[ -f ./zlib/Makefile ] || exit 0; \ 27000 r=`${PWD_COMMAND}`; export r; \ 27001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27002 $(HOST_EXPORTS) \ 27003 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27005 done; \ 27006 echo "Doing info in zlib" ; \ 27007 (cd $(HOST_SUBDIR)/zlib && \ 27008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27010 "RANLIB=$${RANLIB}" \ 27011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27012 info) \ 27013 || exit 1 27014 27015 @endif zlib 27016 27017 .PHONY: maybe-dvi-zlib dvi-zlib 27018 maybe-dvi-zlib: 27019 @if zlib 27020 maybe-dvi-zlib: dvi-zlib 27021 27022 dvi-zlib: \ 27023 configure-zlib 27024 @[ -f ./zlib/Makefile ] || exit 0; \ 27025 r=`${PWD_COMMAND}`; export r; \ 27026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27027 $(HOST_EXPORTS) \ 27028 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27030 done; \ 27031 echo "Doing dvi in zlib" ; \ 27032 (cd $(HOST_SUBDIR)/zlib && \ 27033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27035 "RANLIB=$${RANLIB}" \ 27036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27037 dvi) \ 27038 || exit 1 27039 27040 @endif zlib 27041 27042 .PHONY: maybe-pdf-zlib pdf-zlib 27043 maybe-pdf-zlib: 27044 @if zlib 27045 maybe-pdf-zlib: pdf-zlib 27046 27047 pdf-zlib: \ 27048 configure-zlib 27049 @[ -f ./zlib/Makefile ] || exit 0; \ 27050 r=`${PWD_COMMAND}`; export r; \ 27051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27052 $(HOST_EXPORTS) \ 27053 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27055 done; \ 27056 echo "Doing pdf in zlib" ; \ 27057 (cd $(HOST_SUBDIR)/zlib && \ 27058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27060 "RANLIB=$${RANLIB}" \ 27061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27062 pdf) \ 27063 || exit 1 27064 27065 @endif zlib 27066 27067 .PHONY: maybe-html-zlib html-zlib 27068 maybe-html-zlib: 27069 @if zlib 27070 maybe-html-zlib: html-zlib 27071 27072 html-zlib: \ 27073 configure-zlib 27074 @[ -f ./zlib/Makefile ] || exit 0; \ 27075 r=`${PWD_COMMAND}`; export r; \ 27076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27077 $(HOST_EXPORTS) \ 27078 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27080 done; \ 27081 echo "Doing html in zlib" ; \ 27082 (cd $(HOST_SUBDIR)/zlib && \ 27083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27085 "RANLIB=$${RANLIB}" \ 27086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27087 html) \ 27088 || exit 1 27089 27090 @endif zlib 27091 27092 .PHONY: maybe-TAGS-zlib TAGS-zlib 27093 maybe-TAGS-zlib: 27094 @if zlib 27095 maybe-TAGS-zlib: TAGS-zlib 27096 27097 TAGS-zlib: \ 27098 configure-zlib 27099 @[ -f ./zlib/Makefile ] || exit 0; \ 27100 r=`${PWD_COMMAND}`; export r; \ 27101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27102 $(HOST_EXPORTS) \ 27103 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27105 done; \ 27106 echo "Doing TAGS in zlib" ; \ 27107 (cd $(HOST_SUBDIR)/zlib && \ 27108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27110 "RANLIB=$${RANLIB}" \ 27111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27112 TAGS) \ 27113 || exit 1 27114 27115 @endif zlib 27116 27117 .PHONY: maybe-install-info-zlib install-info-zlib 27118 maybe-install-info-zlib: 27119 @if zlib 27120 maybe-install-info-zlib: install-info-zlib 27121 27122 install-info-zlib: \ 27123 configure-zlib \ 27124 info-zlib 27125 @[ -f ./zlib/Makefile ] || exit 0; \ 27126 r=`${PWD_COMMAND}`; export r; \ 27127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27128 $(HOST_EXPORTS) \ 27129 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27131 done; \ 27132 echo "Doing install-info in zlib" ; \ 27133 (cd $(HOST_SUBDIR)/zlib && \ 27134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27136 "RANLIB=$${RANLIB}" \ 27137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27138 install-info) \ 27139 || exit 1 27140 27141 @endif zlib 27142 27143 .PHONY: maybe-install-pdf-zlib install-pdf-zlib 27144 maybe-install-pdf-zlib: 27145 @if zlib 27146 maybe-install-pdf-zlib: install-pdf-zlib 27147 27148 install-pdf-zlib: \ 27149 configure-zlib \ 27150 pdf-zlib 27151 @[ -f ./zlib/Makefile ] || exit 0; \ 27152 r=`${PWD_COMMAND}`; export r; \ 27153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27154 $(HOST_EXPORTS) \ 27155 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27157 done; \ 27158 echo "Doing install-pdf in zlib" ; \ 27159 (cd $(HOST_SUBDIR)/zlib && \ 27160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27162 "RANLIB=$${RANLIB}" \ 27163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27164 install-pdf) \ 27165 || exit 1 27166 27167 @endif zlib 27168 27169 .PHONY: maybe-install-html-zlib install-html-zlib 27170 maybe-install-html-zlib: 27171 @if zlib 27172 maybe-install-html-zlib: install-html-zlib 27173 27174 install-html-zlib: \ 27175 configure-zlib \ 27176 html-zlib 27177 @[ -f ./zlib/Makefile ] || exit 0; \ 27178 r=`${PWD_COMMAND}`; export r; \ 27179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27180 $(HOST_EXPORTS) \ 27181 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27183 done; \ 27184 echo "Doing install-html in zlib" ; \ 27185 (cd $(HOST_SUBDIR)/zlib && \ 27186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27188 "RANLIB=$${RANLIB}" \ 27189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27190 install-html) \ 27191 || exit 1 27192 27193 @endif zlib 27194 27195 .PHONY: maybe-installcheck-zlib installcheck-zlib 27196 maybe-installcheck-zlib: 27197 @if zlib 27198 maybe-installcheck-zlib: installcheck-zlib 27199 27200 installcheck-zlib: \ 27201 configure-zlib 27202 @[ -f ./zlib/Makefile ] || exit 0; \ 27203 r=`${PWD_COMMAND}`; export r; \ 27204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27205 $(HOST_EXPORTS) \ 27206 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27208 done; \ 27209 echo "Doing installcheck in zlib" ; \ 27210 (cd $(HOST_SUBDIR)/zlib && \ 27211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27213 "RANLIB=$${RANLIB}" \ 27214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27215 installcheck) \ 27216 || exit 1 27217 27218 @endif zlib 27219 27220 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib 27221 maybe-mostlyclean-zlib: 27222 @if zlib 27223 maybe-mostlyclean-zlib: mostlyclean-zlib 27224 27225 mostlyclean-zlib: 27226 @[ -f ./zlib/Makefile ] || exit 0; \ 27227 r=`${PWD_COMMAND}`; export r; \ 27228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27229 $(HOST_EXPORTS) \ 27230 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27232 done; \ 27233 echo "Doing mostlyclean in zlib" ; \ 27234 (cd $(HOST_SUBDIR)/zlib && \ 27235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27237 "RANLIB=$${RANLIB}" \ 27238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27239 mostlyclean) \ 27240 || exit 1 27241 27242 @endif zlib 27243 27244 .PHONY: maybe-clean-zlib clean-zlib 27245 maybe-clean-zlib: 27246 @if zlib 27247 maybe-clean-zlib: clean-zlib 27248 27249 clean-zlib: 27250 @[ -f ./zlib/Makefile ] || exit 0; \ 27251 r=`${PWD_COMMAND}`; export r; \ 27252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27253 $(HOST_EXPORTS) \ 27254 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27256 done; \ 27257 echo "Doing clean in zlib" ; \ 27258 (cd $(HOST_SUBDIR)/zlib && \ 27259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27261 "RANLIB=$${RANLIB}" \ 27262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27263 clean) \ 27264 || exit 1 27265 27266 @endif zlib 27267 27268 .PHONY: maybe-distclean-zlib distclean-zlib 27269 maybe-distclean-zlib: 27270 @if zlib 27271 maybe-distclean-zlib: distclean-zlib 27272 27273 distclean-zlib: 27274 @[ -f ./zlib/Makefile ] || exit 0; \ 27275 r=`${PWD_COMMAND}`; export r; \ 27276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27277 $(HOST_EXPORTS) \ 27278 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27280 done; \ 27281 echo "Doing distclean in zlib" ; \ 27282 (cd $(HOST_SUBDIR)/zlib && \ 27283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27285 "RANLIB=$${RANLIB}" \ 27286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27287 distclean) \ 27288 || exit 1 27289 27290 @endif zlib 27291 27292 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib 27293 maybe-maintainer-clean-zlib: 27294 @if zlib 27295 maybe-maintainer-clean-zlib: maintainer-clean-zlib 27296 27297 maintainer-clean-zlib: 27298 @[ -f ./zlib/Makefile ] || exit 0; \ 27299 r=`${PWD_COMMAND}`; export r; \ 27300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27301 $(HOST_EXPORTS) \ 27302 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27304 done; \ 27305 echo "Doing maintainer-clean in zlib" ; \ 27306 (cd $(HOST_SUBDIR)/zlib && \ 27307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27309 "RANLIB=$${RANLIB}" \ 27310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27311 maintainer-clean) \ 27312 || exit 1 27313 27314 @endif zlib 27315 27316 27317 27318 .PHONY: configure-gdb maybe-configure-gdb 27319 maybe-configure-gdb: 27320 @if gcc-bootstrap 27321 configure-gdb: stage_current 27322 @endif gcc-bootstrap 27323 @if gdb 27324 maybe-configure-gdb: configure-gdb 27325 configure-gdb: 27326 @: $(MAKE); $(unstage) 27327 @r=`${PWD_COMMAND}`; export r; \ 27328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27329 test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \ 27330 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \ 27331 $(HOST_EXPORTS) \ 27332 echo Configuring in $(HOST_SUBDIR)/gdb; \ 27333 cd "$(HOST_SUBDIR)/gdb" || exit 1; \ 27334 case $(srcdir) in \ 27335 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 27336 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \ 27337 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 27338 esac; \ 27339 srcdiroption="--srcdir=$${topdir}/gdb"; \ 27340 libsrcdir="$$s/gdb"; \ 27341 $(SHELL) $${libsrcdir}/configure \ 27342 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 27343 --target=${target_alias} $${srcdiroption} \ 27344 || exit 1 27345 @endif gdb 27346 27347 27348 27349 27350 27351 .PHONY: all-gdb maybe-all-gdb 27352 maybe-all-gdb: 27353 @if gcc-bootstrap 27354 all-gdb: stage_current 27355 @endif gcc-bootstrap 27356 @if gdb 27357 TARGET-gdb=all 27358 maybe-all-gdb: all-gdb 27359 all-gdb: configure-gdb 27360 @: $(MAKE); $(unstage) 27361 @r=`${PWD_COMMAND}`; export r; \ 27362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27363 $(HOST_EXPORTS) \ 27364 (cd $(HOST_SUBDIR)/gdb && \ 27365 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 27366 $(TARGET-gdb)) 27367 @endif gdb 27368 27369 27370 27371 27372 .PHONY: check-gdb maybe-check-gdb 27373 maybe-check-gdb: 27374 @if gdb 27375 maybe-check-gdb: check-gdb 27376 27377 check-gdb: 27378 @: $(MAKE); $(unstage) 27379 @r=`${PWD_COMMAND}`; export r; \ 27380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27381 $(HOST_EXPORTS) \ 27382 (cd $(HOST_SUBDIR)/gdb && \ 27383 $(MAKE) $(FLAGS_TO_PASS) check) 27384 27385 @endif gdb 27386 27387 .PHONY: install-gdb maybe-install-gdb 27388 maybe-install-gdb: 27389 @if gdb 27390 maybe-install-gdb: install-gdb 27391 27392 install-gdb: installdirs 27393 @: $(MAKE); $(unstage) 27394 @r=`${PWD_COMMAND}`; export r; \ 27395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27396 $(HOST_EXPORTS) \ 27397 (cd $(HOST_SUBDIR)/gdb && \ 27398 $(MAKE) $(FLAGS_TO_PASS) install) 27399 27400 @endif gdb 27401 27402 .PHONY: install-strip-gdb maybe-install-strip-gdb 27403 maybe-install-strip-gdb: 27404 @if gdb 27405 maybe-install-strip-gdb: install-strip-gdb 27406 27407 install-strip-gdb: installdirs 27408 @: $(MAKE); $(unstage) 27409 @r=`${PWD_COMMAND}`; export r; \ 27410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27411 $(HOST_EXPORTS) \ 27412 (cd $(HOST_SUBDIR)/gdb && \ 27413 $(MAKE) $(FLAGS_TO_PASS) install-strip) 27414 27415 @endif gdb 27416 27417 # Other targets (info, dvi, pdf, etc.) 27418 27419 .PHONY: maybe-info-gdb info-gdb 27420 maybe-info-gdb: 27421 @if gdb 27422 maybe-info-gdb: info-gdb 27423 27424 info-gdb: \ 27425 configure-gdb 27426 @: $(MAKE); $(unstage) 27427 @[ -f ./gdb/Makefile ] || exit 0; \ 27428 r=`${PWD_COMMAND}`; export r; \ 27429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27430 $(HOST_EXPORTS) \ 27431 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27433 done; \ 27434 echo "Doing info in gdb" ; \ 27435 (cd $(HOST_SUBDIR)/gdb && \ 27436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27438 "RANLIB=$${RANLIB}" \ 27439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27440 info) \ 27441 || exit 1 27442 27443 @endif gdb 27444 27445 .PHONY: maybe-dvi-gdb dvi-gdb 27446 maybe-dvi-gdb: 27447 @if gdb 27448 maybe-dvi-gdb: dvi-gdb 27449 27450 dvi-gdb: \ 27451 configure-gdb 27452 @: $(MAKE); $(unstage) 27453 @[ -f ./gdb/Makefile ] || exit 0; \ 27454 r=`${PWD_COMMAND}`; export r; \ 27455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27456 $(HOST_EXPORTS) \ 27457 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27459 done; \ 27460 echo "Doing dvi in gdb" ; \ 27461 (cd $(HOST_SUBDIR)/gdb && \ 27462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27464 "RANLIB=$${RANLIB}" \ 27465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27466 dvi) \ 27467 || exit 1 27468 27469 @endif gdb 27470 27471 .PHONY: maybe-pdf-gdb pdf-gdb 27472 maybe-pdf-gdb: 27473 @if gdb 27474 maybe-pdf-gdb: pdf-gdb 27475 27476 pdf-gdb: \ 27477 configure-gdb 27478 @: $(MAKE); $(unstage) 27479 @[ -f ./gdb/Makefile ] || exit 0; \ 27480 r=`${PWD_COMMAND}`; export r; \ 27481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27482 $(HOST_EXPORTS) \ 27483 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27485 done; \ 27486 echo "Doing pdf in gdb" ; \ 27487 (cd $(HOST_SUBDIR)/gdb && \ 27488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27490 "RANLIB=$${RANLIB}" \ 27491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27492 pdf) \ 27493 || exit 1 27494 27495 @endif gdb 27496 27497 .PHONY: maybe-html-gdb html-gdb 27498 maybe-html-gdb: 27499 @if gdb 27500 maybe-html-gdb: html-gdb 27501 27502 html-gdb: \ 27503 configure-gdb 27504 @: $(MAKE); $(unstage) 27505 @[ -f ./gdb/Makefile ] || exit 0; \ 27506 r=`${PWD_COMMAND}`; export r; \ 27507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27508 $(HOST_EXPORTS) \ 27509 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27511 done; \ 27512 echo "Doing html in gdb" ; \ 27513 (cd $(HOST_SUBDIR)/gdb && \ 27514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27516 "RANLIB=$${RANLIB}" \ 27517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27518 html) \ 27519 || exit 1 27520 27521 @endif gdb 27522 27523 .PHONY: maybe-TAGS-gdb TAGS-gdb 27524 maybe-TAGS-gdb: 27525 @if gdb 27526 maybe-TAGS-gdb: TAGS-gdb 27527 27528 TAGS-gdb: \ 27529 configure-gdb 27530 @: $(MAKE); $(unstage) 27531 @[ -f ./gdb/Makefile ] || exit 0; \ 27532 r=`${PWD_COMMAND}`; export r; \ 27533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27534 $(HOST_EXPORTS) \ 27535 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27537 done; \ 27538 echo "Doing TAGS in gdb" ; \ 27539 (cd $(HOST_SUBDIR)/gdb && \ 27540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27542 "RANLIB=$${RANLIB}" \ 27543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27544 TAGS) \ 27545 || exit 1 27546 27547 @endif gdb 27548 27549 .PHONY: maybe-install-info-gdb install-info-gdb 27550 maybe-install-info-gdb: 27551 @if gdb 27552 maybe-install-info-gdb: install-info-gdb 27553 27554 install-info-gdb: \ 27555 configure-gdb \ 27556 info-gdb 27557 @: $(MAKE); $(unstage) 27558 @[ -f ./gdb/Makefile ] || exit 0; \ 27559 r=`${PWD_COMMAND}`; export r; \ 27560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27561 $(HOST_EXPORTS) \ 27562 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27564 done; \ 27565 echo "Doing install-info in gdb" ; \ 27566 (cd $(HOST_SUBDIR)/gdb && \ 27567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27569 "RANLIB=$${RANLIB}" \ 27570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27571 install-info) \ 27572 || exit 1 27573 27574 @endif gdb 27575 27576 .PHONY: maybe-install-pdf-gdb install-pdf-gdb 27577 maybe-install-pdf-gdb: 27578 @if gdb 27579 maybe-install-pdf-gdb: install-pdf-gdb 27580 27581 install-pdf-gdb: \ 27582 configure-gdb \ 27583 pdf-gdb 27584 @: $(MAKE); $(unstage) 27585 @[ -f ./gdb/Makefile ] || exit 0; \ 27586 r=`${PWD_COMMAND}`; export r; \ 27587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27588 $(HOST_EXPORTS) \ 27589 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27591 done; \ 27592 echo "Doing install-pdf in gdb" ; \ 27593 (cd $(HOST_SUBDIR)/gdb && \ 27594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27596 "RANLIB=$${RANLIB}" \ 27597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27598 install-pdf) \ 27599 || exit 1 27600 27601 @endif gdb 27602 27603 .PHONY: maybe-install-html-gdb install-html-gdb 27604 maybe-install-html-gdb: 27605 @if gdb 27606 maybe-install-html-gdb: install-html-gdb 27607 27608 install-html-gdb: \ 27609 configure-gdb \ 27610 html-gdb 27611 @: $(MAKE); $(unstage) 27612 @[ -f ./gdb/Makefile ] || exit 0; \ 27613 r=`${PWD_COMMAND}`; export r; \ 27614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27615 $(HOST_EXPORTS) \ 27616 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27618 done; \ 27619 echo "Doing install-html in gdb" ; \ 27620 (cd $(HOST_SUBDIR)/gdb && \ 27621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27623 "RANLIB=$${RANLIB}" \ 27624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27625 install-html) \ 27626 || exit 1 27627 27628 @endif gdb 27629 27630 .PHONY: maybe-installcheck-gdb installcheck-gdb 27631 maybe-installcheck-gdb: 27632 @if gdb 27633 maybe-installcheck-gdb: installcheck-gdb 27634 27635 installcheck-gdb: \ 27636 configure-gdb 27637 @: $(MAKE); $(unstage) 27638 @[ -f ./gdb/Makefile ] || exit 0; \ 27639 r=`${PWD_COMMAND}`; export r; \ 27640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27641 $(HOST_EXPORTS) \ 27642 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27644 done; \ 27645 echo "Doing installcheck in gdb" ; \ 27646 (cd $(HOST_SUBDIR)/gdb && \ 27647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27649 "RANLIB=$${RANLIB}" \ 27650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27651 installcheck) \ 27652 || exit 1 27653 27654 @endif gdb 27655 27656 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb 27657 maybe-mostlyclean-gdb: 27658 @if gdb 27659 maybe-mostlyclean-gdb: mostlyclean-gdb 27660 27661 mostlyclean-gdb: 27662 @: $(MAKE); $(unstage) 27663 @[ -f ./gdb/Makefile ] || exit 0; \ 27664 r=`${PWD_COMMAND}`; export r; \ 27665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27666 $(HOST_EXPORTS) \ 27667 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27669 done; \ 27670 echo "Doing mostlyclean in gdb" ; \ 27671 (cd $(HOST_SUBDIR)/gdb && \ 27672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27674 "RANLIB=$${RANLIB}" \ 27675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27676 mostlyclean) \ 27677 || exit 1 27678 27679 @endif gdb 27680 27681 .PHONY: maybe-clean-gdb clean-gdb 27682 maybe-clean-gdb: 27683 @if gdb 27684 maybe-clean-gdb: clean-gdb 27685 27686 clean-gdb: 27687 @: $(MAKE); $(unstage) 27688 @[ -f ./gdb/Makefile ] || exit 0; \ 27689 r=`${PWD_COMMAND}`; export r; \ 27690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27691 $(HOST_EXPORTS) \ 27692 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27694 done; \ 27695 echo "Doing clean in gdb" ; \ 27696 (cd $(HOST_SUBDIR)/gdb && \ 27697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27699 "RANLIB=$${RANLIB}" \ 27700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27701 clean) \ 27702 || exit 1 27703 27704 @endif gdb 27705 27706 .PHONY: maybe-distclean-gdb distclean-gdb 27707 maybe-distclean-gdb: 27708 @if gdb 27709 maybe-distclean-gdb: distclean-gdb 27710 27711 distclean-gdb: 27712 @: $(MAKE); $(unstage) 27713 @[ -f ./gdb/Makefile ] || exit 0; \ 27714 r=`${PWD_COMMAND}`; export r; \ 27715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27716 $(HOST_EXPORTS) \ 27717 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27719 done; \ 27720 echo "Doing distclean in gdb" ; \ 27721 (cd $(HOST_SUBDIR)/gdb && \ 27722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27724 "RANLIB=$${RANLIB}" \ 27725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27726 distclean) \ 27727 || exit 1 27728 27729 @endif gdb 27730 27731 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb 27732 maybe-maintainer-clean-gdb: 27733 @if gdb 27734 maybe-maintainer-clean-gdb: maintainer-clean-gdb 27735 27736 maintainer-clean-gdb: 27737 @: $(MAKE); $(unstage) 27738 @[ -f ./gdb/Makefile ] || exit 0; \ 27739 r=`${PWD_COMMAND}`; export r; \ 27740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27741 $(HOST_EXPORTS) \ 27742 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27744 done; \ 27745 echo "Doing maintainer-clean in gdb" ; \ 27746 (cd $(HOST_SUBDIR)/gdb && \ 27747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27749 "RANLIB=$${RANLIB}" \ 27750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27751 maintainer-clean) \ 27752 || exit 1 27753 27754 @endif gdb 27755 27756 27757 27758 .PHONY: configure-expect maybe-configure-expect 27759 maybe-configure-expect: 27760 @if gcc-bootstrap 27761 configure-expect: stage_current 27762 @endif gcc-bootstrap 27763 @if expect 27764 maybe-configure-expect: configure-expect 27765 configure-expect: 27766 @: $(MAKE); $(unstage) 27767 @r=`${PWD_COMMAND}`; export r; \ 27768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27769 test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \ 27770 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \ 27771 $(HOST_EXPORTS) \ 27772 echo Configuring in $(HOST_SUBDIR)/expect; \ 27773 cd "$(HOST_SUBDIR)/expect" || exit 1; \ 27774 case $(srcdir) in \ 27775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 27776 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \ 27777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 27778 esac; \ 27779 srcdiroption="--srcdir=$${topdir}/expect"; \ 27780 libsrcdir="$$s/expect"; \ 27781 $(SHELL) $${libsrcdir}/configure \ 27782 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 27783 --target=${target_alias} $${srcdiroption} \ 27784 || exit 1 27785 @endif expect 27786 27787 27788 27789 27790 27791 .PHONY: all-expect maybe-all-expect 27792 maybe-all-expect: 27793 @if gcc-bootstrap 27794 all-expect: stage_current 27795 @endif gcc-bootstrap 27796 @if expect 27797 TARGET-expect=all 27798 maybe-all-expect: all-expect 27799 all-expect: configure-expect 27800 @: $(MAKE); $(unstage) 27801 @r=`${PWD_COMMAND}`; export r; \ 27802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27803 $(HOST_EXPORTS) \ 27804 (cd $(HOST_SUBDIR)/expect && \ 27805 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 27806 $(TARGET-expect)) 27807 @endif expect 27808 27809 27810 27811 27812 .PHONY: check-expect maybe-check-expect 27813 maybe-check-expect: 27814 @if expect 27815 maybe-check-expect: check-expect 27816 27817 check-expect: 27818 @: $(MAKE); $(unstage) 27819 @r=`${PWD_COMMAND}`; export r; \ 27820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27821 $(HOST_EXPORTS) \ 27822 (cd $(HOST_SUBDIR)/expect && \ 27823 $(MAKE) $(FLAGS_TO_PASS) check) 27824 27825 @endif expect 27826 27827 .PHONY: install-expect maybe-install-expect 27828 maybe-install-expect: 27829 @if expect 27830 maybe-install-expect: install-expect 27831 27832 install-expect: installdirs 27833 @: $(MAKE); $(unstage) 27834 @r=`${PWD_COMMAND}`; export r; \ 27835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27836 $(HOST_EXPORTS) \ 27837 (cd $(HOST_SUBDIR)/expect && \ 27838 $(MAKE) $(FLAGS_TO_PASS) install) 27839 27840 @endif expect 27841 27842 .PHONY: install-strip-expect maybe-install-strip-expect 27843 maybe-install-strip-expect: 27844 @if expect 27845 maybe-install-strip-expect: install-strip-expect 27846 27847 install-strip-expect: installdirs 27848 @: $(MAKE); $(unstage) 27849 @r=`${PWD_COMMAND}`; export r; \ 27850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27851 $(HOST_EXPORTS) \ 27852 (cd $(HOST_SUBDIR)/expect && \ 27853 $(MAKE) $(FLAGS_TO_PASS) install-strip) 27854 27855 @endif expect 27856 27857 # Other targets (info, dvi, pdf, etc.) 27858 27859 .PHONY: maybe-info-expect info-expect 27860 maybe-info-expect: 27861 @if expect 27862 maybe-info-expect: info-expect 27863 27864 info-expect: \ 27865 configure-expect 27866 @: $(MAKE); $(unstage) 27867 @[ -f ./expect/Makefile ] || exit 0; \ 27868 r=`${PWD_COMMAND}`; export r; \ 27869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27870 $(HOST_EXPORTS) \ 27871 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27873 done; \ 27874 echo "Doing info in expect" ; \ 27875 (cd $(HOST_SUBDIR)/expect && \ 27876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27878 "RANLIB=$${RANLIB}" \ 27879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27880 info) \ 27881 || exit 1 27882 27883 @endif expect 27884 27885 .PHONY: maybe-dvi-expect dvi-expect 27886 maybe-dvi-expect: 27887 @if expect 27888 maybe-dvi-expect: dvi-expect 27889 27890 dvi-expect: \ 27891 configure-expect 27892 @: $(MAKE); $(unstage) 27893 @[ -f ./expect/Makefile ] || exit 0; \ 27894 r=`${PWD_COMMAND}`; export r; \ 27895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27896 $(HOST_EXPORTS) \ 27897 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27899 done; \ 27900 echo "Doing dvi in expect" ; \ 27901 (cd $(HOST_SUBDIR)/expect && \ 27902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27904 "RANLIB=$${RANLIB}" \ 27905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27906 dvi) \ 27907 || exit 1 27908 27909 @endif expect 27910 27911 .PHONY: maybe-pdf-expect pdf-expect 27912 maybe-pdf-expect: 27913 @if expect 27914 maybe-pdf-expect: pdf-expect 27915 27916 pdf-expect: \ 27917 configure-expect 27918 @: $(MAKE); $(unstage) 27919 @[ -f ./expect/Makefile ] || exit 0; \ 27920 r=`${PWD_COMMAND}`; export r; \ 27921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27922 $(HOST_EXPORTS) \ 27923 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27925 done; \ 27926 echo "Doing pdf in expect" ; \ 27927 (cd $(HOST_SUBDIR)/expect && \ 27928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27930 "RANLIB=$${RANLIB}" \ 27931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27932 pdf) \ 27933 || exit 1 27934 27935 @endif expect 27936 27937 .PHONY: maybe-html-expect html-expect 27938 maybe-html-expect: 27939 @if expect 27940 maybe-html-expect: html-expect 27941 27942 html-expect: \ 27943 configure-expect 27944 @: $(MAKE); $(unstage) 27945 @[ -f ./expect/Makefile ] || exit 0; \ 27946 r=`${PWD_COMMAND}`; export r; \ 27947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27948 $(HOST_EXPORTS) \ 27949 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27951 done; \ 27952 echo "Doing html in expect" ; \ 27953 (cd $(HOST_SUBDIR)/expect && \ 27954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27956 "RANLIB=$${RANLIB}" \ 27957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27958 html) \ 27959 || exit 1 27960 27961 @endif expect 27962 27963 .PHONY: maybe-TAGS-expect TAGS-expect 27964 maybe-TAGS-expect: 27965 @if expect 27966 maybe-TAGS-expect: TAGS-expect 27967 27968 TAGS-expect: \ 27969 configure-expect 27970 @: $(MAKE); $(unstage) 27971 @[ -f ./expect/Makefile ] || exit 0; \ 27972 r=`${PWD_COMMAND}`; export r; \ 27973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 27974 $(HOST_EXPORTS) \ 27975 for flag in $(EXTRA_HOST_FLAGS) ; do \ 27976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 27977 done; \ 27978 echo "Doing TAGS in expect" ; \ 27979 (cd $(HOST_SUBDIR)/expect && \ 27980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 27981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 27982 "RANLIB=$${RANLIB}" \ 27983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 27984 TAGS) \ 27985 || exit 1 27986 27987 @endif expect 27988 27989 .PHONY: maybe-install-info-expect install-info-expect 27990 maybe-install-info-expect: 27991 @if expect 27992 maybe-install-info-expect: install-info-expect 27993 27994 install-info-expect: \ 27995 configure-expect \ 27996 info-expect 27997 @: $(MAKE); $(unstage) 27998 @[ -f ./expect/Makefile ] || exit 0; \ 27999 r=`${PWD_COMMAND}`; export r; \ 28000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28001 $(HOST_EXPORTS) \ 28002 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28004 done; \ 28005 echo "Doing install-info in expect" ; \ 28006 (cd $(HOST_SUBDIR)/expect && \ 28007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28009 "RANLIB=$${RANLIB}" \ 28010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28011 install-info) \ 28012 || exit 1 28013 28014 @endif expect 28015 28016 .PHONY: maybe-install-pdf-expect install-pdf-expect 28017 maybe-install-pdf-expect: 28018 @if expect 28019 maybe-install-pdf-expect: install-pdf-expect 28020 28021 install-pdf-expect: \ 28022 configure-expect \ 28023 pdf-expect 28024 @: $(MAKE); $(unstage) 28025 @[ -f ./expect/Makefile ] || exit 0; \ 28026 r=`${PWD_COMMAND}`; export r; \ 28027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28028 $(HOST_EXPORTS) \ 28029 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28031 done; \ 28032 echo "Doing install-pdf in expect" ; \ 28033 (cd $(HOST_SUBDIR)/expect && \ 28034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28036 "RANLIB=$${RANLIB}" \ 28037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28038 install-pdf) \ 28039 || exit 1 28040 28041 @endif expect 28042 28043 .PHONY: maybe-install-html-expect install-html-expect 28044 maybe-install-html-expect: 28045 @if expect 28046 maybe-install-html-expect: install-html-expect 28047 28048 install-html-expect: \ 28049 configure-expect \ 28050 html-expect 28051 @: $(MAKE); $(unstage) 28052 @[ -f ./expect/Makefile ] || exit 0; \ 28053 r=`${PWD_COMMAND}`; export r; \ 28054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28055 $(HOST_EXPORTS) \ 28056 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28058 done; \ 28059 echo "Doing install-html in expect" ; \ 28060 (cd $(HOST_SUBDIR)/expect && \ 28061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28063 "RANLIB=$${RANLIB}" \ 28064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28065 install-html) \ 28066 || exit 1 28067 28068 @endif expect 28069 28070 .PHONY: maybe-installcheck-expect installcheck-expect 28071 maybe-installcheck-expect: 28072 @if expect 28073 maybe-installcheck-expect: installcheck-expect 28074 28075 installcheck-expect: \ 28076 configure-expect 28077 @: $(MAKE); $(unstage) 28078 @[ -f ./expect/Makefile ] || exit 0; \ 28079 r=`${PWD_COMMAND}`; export r; \ 28080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28081 $(HOST_EXPORTS) \ 28082 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28084 done; \ 28085 echo "Doing installcheck in expect" ; \ 28086 (cd $(HOST_SUBDIR)/expect && \ 28087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28089 "RANLIB=$${RANLIB}" \ 28090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28091 installcheck) \ 28092 || exit 1 28093 28094 @endif expect 28095 28096 .PHONY: maybe-mostlyclean-expect mostlyclean-expect 28097 maybe-mostlyclean-expect: 28098 @if expect 28099 maybe-mostlyclean-expect: mostlyclean-expect 28100 28101 mostlyclean-expect: 28102 @: $(MAKE); $(unstage) 28103 @[ -f ./expect/Makefile ] || exit 0; \ 28104 r=`${PWD_COMMAND}`; export r; \ 28105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28106 $(HOST_EXPORTS) \ 28107 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28109 done; \ 28110 echo "Doing mostlyclean in expect" ; \ 28111 (cd $(HOST_SUBDIR)/expect && \ 28112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28114 "RANLIB=$${RANLIB}" \ 28115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28116 mostlyclean) \ 28117 || exit 1 28118 28119 @endif expect 28120 28121 .PHONY: maybe-clean-expect clean-expect 28122 maybe-clean-expect: 28123 @if expect 28124 maybe-clean-expect: clean-expect 28125 28126 clean-expect: 28127 @: $(MAKE); $(unstage) 28128 @[ -f ./expect/Makefile ] || exit 0; \ 28129 r=`${PWD_COMMAND}`; export r; \ 28130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28131 $(HOST_EXPORTS) \ 28132 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28134 done; \ 28135 echo "Doing clean in expect" ; \ 28136 (cd $(HOST_SUBDIR)/expect && \ 28137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28139 "RANLIB=$${RANLIB}" \ 28140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28141 clean) \ 28142 || exit 1 28143 28144 @endif expect 28145 28146 .PHONY: maybe-distclean-expect distclean-expect 28147 maybe-distclean-expect: 28148 @if expect 28149 maybe-distclean-expect: distclean-expect 28150 28151 distclean-expect: 28152 @: $(MAKE); $(unstage) 28153 @[ -f ./expect/Makefile ] || exit 0; \ 28154 r=`${PWD_COMMAND}`; export r; \ 28155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28156 $(HOST_EXPORTS) \ 28157 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28159 done; \ 28160 echo "Doing distclean in expect" ; \ 28161 (cd $(HOST_SUBDIR)/expect && \ 28162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28164 "RANLIB=$${RANLIB}" \ 28165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28166 distclean) \ 28167 || exit 1 28168 28169 @endif expect 28170 28171 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect 28172 maybe-maintainer-clean-expect: 28173 @if expect 28174 maybe-maintainer-clean-expect: maintainer-clean-expect 28175 28176 maintainer-clean-expect: 28177 @: $(MAKE); $(unstage) 28178 @[ -f ./expect/Makefile ] || exit 0; \ 28179 r=`${PWD_COMMAND}`; export r; \ 28180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28181 $(HOST_EXPORTS) \ 28182 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28184 done; \ 28185 echo "Doing maintainer-clean in expect" ; \ 28186 (cd $(HOST_SUBDIR)/expect && \ 28187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28189 "RANLIB=$${RANLIB}" \ 28190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28191 maintainer-clean) \ 28192 || exit 1 28193 28194 @endif expect 28195 28196 28197 28198 .PHONY: configure-guile maybe-configure-guile 28199 maybe-configure-guile: 28200 @if gcc-bootstrap 28201 configure-guile: stage_current 28202 @endif gcc-bootstrap 28203 @if guile 28204 maybe-configure-guile: configure-guile 28205 configure-guile: 28206 @: $(MAKE); $(unstage) 28207 @r=`${PWD_COMMAND}`; export r; \ 28208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28209 test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \ 28210 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \ 28211 $(HOST_EXPORTS) \ 28212 echo Configuring in $(HOST_SUBDIR)/guile; \ 28213 cd "$(HOST_SUBDIR)/guile" || exit 1; \ 28214 case $(srcdir) in \ 28215 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 28216 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \ 28217 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 28218 esac; \ 28219 srcdiroption="--srcdir=$${topdir}/guile"; \ 28220 libsrcdir="$$s/guile"; \ 28221 $(SHELL) $${libsrcdir}/configure \ 28222 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 28223 --target=${target_alias} $${srcdiroption} \ 28224 || exit 1 28225 @endif guile 28226 28227 28228 28229 28230 28231 .PHONY: all-guile maybe-all-guile 28232 maybe-all-guile: 28233 @if gcc-bootstrap 28234 all-guile: stage_current 28235 @endif gcc-bootstrap 28236 @if guile 28237 TARGET-guile=all 28238 maybe-all-guile: all-guile 28239 all-guile: configure-guile 28240 @: $(MAKE); $(unstage) 28241 @r=`${PWD_COMMAND}`; export r; \ 28242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28243 $(HOST_EXPORTS) \ 28244 (cd $(HOST_SUBDIR)/guile && \ 28245 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 28246 $(TARGET-guile)) 28247 @endif guile 28248 28249 28250 28251 28252 .PHONY: check-guile maybe-check-guile 28253 maybe-check-guile: 28254 @if guile 28255 maybe-check-guile: check-guile 28256 28257 check-guile: 28258 @: $(MAKE); $(unstage) 28259 @r=`${PWD_COMMAND}`; export r; \ 28260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28261 $(HOST_EXPORTS) \ 28262 (cd $(HOST_SUBDIR)/guile && \ 28263 $(MAKE) $(FLAGS_TO_PASS) check) 28264 28265 @endif guile 28266 28267 .PHONY: install-guile maybe-install-guile 28268 maybe-install-guile: 28269 @if guile 28270 maybe-install-guile: install-guile 28271 28272 install-guile: installdirs 28273 @: $(MAKE); $(unstage) 28274 @r=`${PWD_COMMAND}`; export r; \ 28275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28276 $(HOST_EXPORTS) \ 28277 (cd $(HOST_SUBDIR)/guile && \ 28278 $(MAKE) $(FLAGS_TO_PASS) install) 28279 28280 @endif guile 28281 28282 .PHONY: install-strip-guile maybe-install-strip-guile 28283 maybe-install-strip-guile: 28284 @if guile 28285 maybe-install-strip-guile: install-strip-guile 28286 28287 install-strip-guile: installdirs 28288 @: $(MAKE); $(unstage) 28289 @r=`${PWD_COMMAND}`; export r; \ 28290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28291 $(HOST_EXPORTS) \ 28292 (cd $(HOST_SUBDIR)/guile && \ 28293 $(MAKE) $(FLAGS_TO_PASS) install-strip) 28294 28295 @endif guile 28296 28297 # Other targets (info, dvi, pdf, etc.) 28298 28299 .PHONY: maybe-info-guile info-guile 28300 maybe-info-guile: 28301 @if guile 28302 maybe-info-guile: info-guile 28303 28304 info-guile: \ 28305 configure-guile 28306 @: $(MAKE); $(unstage) 28307 @[ -f ./guile/Makefile ] || exit 0; \ 28308 r=`${PWD_COMMAND}`; export r; \ 28309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28310 $(HOST_EXPORTS) \ 28311 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28313 done; \ 28314 echo "Doing info in guile" ; \ 28315 (cd $(HOST_SUBDIR)/guile && \ 28316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28318 "RANLIB=$${RANLIB}" \ 28319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28320 info) \ 28321 || exit 1 28322 28323 @endif guile 28324 28325 .PHONY: maybe-dvi-guile dvi-guile 28326 maybe-dvi-guile: 28327 @if guile 28328 maybe-dvi-guile: dvi-guile 28329 28330 dvi-guile: \ 28331 configure-guile 28332 @: $(MAKE); $(unstage) 28333 @[ -f ./guile/Makefile ] || exit 0; \ 28334 r=`${PWD_COMMAND}`; export r; \ 28335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28336 $(HOST_EXPORTS) \ 28337 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28339 done; \ 28340 echo "Doing dvi in guile" ; \ 28341 (cd $(HOST_SUBDIR)/guile && \ 28342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28344 "RANLIB=$${RANLIB}" \ 28345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28346 dvi) \ 28347 || exit 1 28348 28349 @endif guile 28350 28351 .PHONY: maybe-pdf-guile pdf-guile 28352 maybe-pdf-guile: 28353 @if guile 28354 maybe-pdf-guile: pdf-guile 28355 28356 pdf-guile: \ 28357 configure-guile 28358 @: $(MAKE); $(unstage) 28359 @[ -f ./guile/Makefile ] || exit 0; \ 28360 r=`${PWD_COMMAND}`; export r; \ 28361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28362 $(HOST_EXPORTS) \ 28363 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28365 done; \ 28366 echo "Doing pdf in guile" ; \ 28367 (cd $(HOST_SUBDIR)/guile && \ 28368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28370 "RANLIB=$${RANLIB}" \ 28371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28372 pdf) \ 28373 || exit 1 28374 28375 @endif guile 28376 28377 .PHONY: maybe-html-guile html-guile 28378 maybe-html-guile: 28379 @if guile 28380 maybe-html-guile: html-guile 28381 28382 html-guile: \ 28383 configure-guile 28384 @: $(MAKE); $(unstage) 28385 @[ -f ./guile/Makefile ] || exit 0; \ 28386 r=`${PWD_COMMAND}`; export r; \ 28387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28388 $(HOST_EXPORTS) \ 28389 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28391 done; \ 28392 echo "Doing html in guile" ; \ 28393 (cd $(HOST_SUBDIR)/guile && \ 28394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28396 "RANLIB=$${RANLIB}" \ 28397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28398 html) \ 28399 || exit 1 28400 28401 @endif guile 28402 28403 .PHONY: maybe-TAGS-guile TAGS-guile 28404 maybe-TAGS-guile: 28405 @if guile 28406 maybe-TAGS-guile: TAGS-guile 28407 28408 TAGS-guile: \ 28409 configure-guile 28410 @: $(MAKE); $(unstage) 28411 @[ -f ./guile/Makefile ] || exit 0; \ 28412 r=`${PWD_COMMAND}`; export r; \ 28413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28414 $(HOST_EXPORTS) \ 28415 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28417 done; \ 28418 echo "Doing TAGS in guile" ; \ 28419 (cd $(HOST_SUBDIR)/guile && \ 28420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28422 "RANLIB=$${RANLIB}" \ 28423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28424 TAGS) \ 28425 || exit 1 28426 28427 @endif guile 28428 28429 .PHONY: maybe-install-info-guile install-info-guile 28430 maybe-install-info-guile: 28431 @if guile 28432 maybe-install-info-guile: install-info-guile 28433 28434 install-info-guile: \ 28435 configure-guile \ 28436 info-guile 28437 @: $(MAKE); $(unstage) 28438 @[ -f ./guile/Makefile ] || exit 0; \ 28439 r=`${PWD_COMMAND}`; export r; \ 28440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28441 $(HOST_EXPORTS) \ 28442 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28444 done; \ 28445 echo "Doing install-info in guile" ; \ 28446 (cd $(HOST_SUBDIR)/guile && \ 28447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28449 "RANLIB=$${RANLIB}" \ 28450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28451 install-info) \ 28452 || exit 1 28453 28454 @endif guile 28455 28456 .PHONY: maybe-install-pdf-guile install-pdf-guile 28457 maybe-install-pdf-guile: 28458 @if guile 28459 maybe-install-pdf-guile: install-pdf-guile 28460 28461 install-pdf-guile: \ 28462 configure-guile \ 28463 pdf-guile 28464 @: $(MAKE); $(unstage) 28465 @[ -f ./guile/Makefile ] || exit 0; \ 28466 r=`${PWD_COMMAND}`; export r; \ 28467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28468 $(HOST_EXPORTS) \ 28469 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28471 done; \ 28472 echo "Doing install-pdf in guile" ; \ 28473 (cd $(HOST_SUBDIR)/guile && \ 28474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28476 "RANLIB=$${RANLIB}" \ 28477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28478 install-pdf) \ 28479 || exit 1 28480 28481 @endif guile 28482 28483 .PHONY: maybe-install-html-guile install-html-guile 28484 maybe-install-html-guile: 28485 @if guile 28486 maybe-install-html-guile: install-html-guile 28487 28488 install-html-guile: \ 28489 configure-guile \ 28490 html-guile 28491 @: $(MAKE); $(unstage) 28492 @[ -f ./guile/Makefile ] || exit 0; \ 28493 r=`${PWD_COMMAND}`; export r; \ 28494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28495 $(HOST_EXPORTS) \ 28496 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28498 done; \ 28499 echo "Doing install-html in guile" ; \ 28500 (cd $(HOST_SUBDIR)/guile && \ 28501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28503 "RANLIB=$${RANLIB}" \ 28504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28505 install-html) \ 28506 || exit 1 28507 28508 @endif guile 28509 28510 .PHONY: maybe-installcheck-guile installcheck-guile 28511 maybe-installcheck-guile: 28512 @if guile 28513 maybe-installcheck-guile: installcheck-guile 28514 28515 installcheck-guile: \ 28516 configure-guile 28517 @: $(MAKE); $(unstage) 28518 @[ -f ./guile/Makefile ] || exit 0; \ 28519 r=`${PWD_COMMAND}`; export r; \ 28520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28521 $(HOST_EXPORTS) \ 28522 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28524 done; \ 28525 echo "Doing installcheck in guile" ; \ 28526 (cd $(HOST_SUBDIR)/guile && \ 28527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28529 "RANLIB=$${RANLIB}" \ 28530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28531 installcheck) \ 28532 || exit 1 28533 28534 @endif guile 28535 28536 .PHONY: maybe-mostlyclean-guile mostlyclean-guile 28537 maybe-mostlyclean-guile: 28538 @if guile 28539 maybe-mostlyclean-guile: mostlyclean-guile 28540 28541 mostlyclean-guile: 28542 @: $(MAKE); $(unstage) 28543 @[ -f ./guile/Makefile ] || exit 0; \ 28544 r=`${PWD_COMMAND}`; export r; \ 28545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28546 $(HOST_EXPORTS) \ 28547 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28549 done; \ 28550 echo "Doing mostlyclean in guile" ; \ 28551 (cd $(HOST_SUBDIR)/guile && \ 28552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28554 "RANLIB=$${RANLIB}" \ 28555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28556 mostlyclean) \ 28557 || exit 1 28558 28559 @endif guile 28560 28561 .PHONY: maybe-clean-guile clean-guile 28562 maybe-clean-guile: 28563 @if guile 28564 maybe-clean-guile: clean-guile 28565 28566 clean-guile: 28567 @: $(MAKE); $(unstage) 28568 @[ -f ./guile/Makefile ] || exit 0; \ 28569 r=`${PWD_COMMAND}`; export r; \ 28570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28571 $(HOST_EXPORTS) \ 28572 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28574 done; \ 28575 echo "Doing clean in guile" ; \ 28576 (cd $(HOST_SUBDIR)/guile && \ 28577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28579 "RANLIB=$${RANLIB}" \ 28580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28581 clean) \ 28582 || exit 1 28583 28584 @endif guile 28585 28586 .PHONY: maybe-distclean-guile distclean-guile 28587 maybe-distclean-guile: 28588 @if guile 28589 maybe-distclean-guile: distclean-guile 28590 28591 distclean-guile: 28592 @: $(MAKE); $(unstage) 28593 @[ -f ./guile/Makefile ] || exit 0; \ 28594 r=`${PWD_COMMAND}`; export r; \ 28595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28596 $(HOST_EXPORTS) \ 28597 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28599 done; \ 28600 echo "Doing distclean in guile" ; \ 28601 (cd $(HOST_SUBDIR)/guile && \ 28602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28604 "RANLIB=$${RANLIB}" \ 28605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28606 distclean) \ 28607 || exit 1 28608 28609 @endif guile 28610 28611 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile 28612 maybe-maintainer-clean-guile: 28613 @if guile 28614 maybe-maintainer-clean-guile: maintainer-clean-guile 28615 28616 maintainer-clean-guile: 28617 @: $(MAKE); $(unstage) 28618 @[ -f ./guile/Makefile ] || exit 0; \ 28619 r=`${PWD_COMMAND}`; export r; \ 28620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28621 $(HOST_EXPORTS) \ 28622 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28624 done; \ 28625 echo "Doing maintainer-clean in guile" ; \ 28626 (cd $(HOST_SUBDIR)/guile && \ 28627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28629 "RANLIB=$${RANLIB}" \ 28630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28631 maintainer-clean) \ 28632 || exit 1 28633 28634 @endif guile 28635 28636 28637 28638 .PHONY: configure-tk maybe-configure-tk 28639 maybe-configure-tk: 28640 @if gcc-bootstrap 28641 configure-tk: stage_current 28642 @endif gcc-bootstrap 28643 @if tk 28644 maybe-configure-tk: configure-tk 28645 configure-tk: 28646 @: $(MAKE); $(unstage) 28647 @r=`${PWD_COMMAND}`; export r; \ 28648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28649 test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \ 28650 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \ 28651 $(HOST_EXPORTS) \ 28652 echo Configuring in $(HOST_SUBDIR)/tk; \ 28653 cd "$(HOST_SUBDIR)/tk" || exit 1; \ 28654 case $(srcdir) in \ 28655 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 28656 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \ 28657 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 28658 esac; \ 28659 srcdiroption="--srcdir=$${topdir}/tk"; \ 28660 libsrcdir="$$s/tk"; \ 28661 $(SHELL) $${libsrcdir}/configure \ 28662 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 28663 --target=${target_alias} $${srcdiroption} \ 28664 || exit 1 28665 @endif tk 28666 28667 28668 28669 28670 28671 .PHONY: all-tk maybe-all-tk 28672 maybe-all-tk: 28673 @if gcc-bootstrap 28674 all-tk: stage_current 28675 @endif gcc-bootstrap 28676 @if tk 28677 TARGET-tk=all 28678 maybe-all-tk: all-tk 28679 all-tk: configure-tk 28680 @: $(MAKE); $(unstage) 28681 @r=`${PWD_COMMAND}`; export r; \ 28682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28683 $(HOST_EXPORTS) \ 28684 (cd $(HOST_SUBDIR)/tk && \ 28685 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 28686 $(TARGET-tk)) 28687 @endif tk 28688 28689 28690 28691 28692 .PHONY: check-tk maybe-check-tk 28693 maybe-check-tk: 28694 @if tk 28695 maybe-check-tk: check-tk 28696 28697 check-tk: 28698 @: $(MAKE); $(unstage) 28699 @r=`${PWD_COMMAND}`; export r; \ 28700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28701 $(HOST_EXPORTS) \ 28702 (cd $(HOST_SUBDIR)/tk && \ 28703 $(MAKE) $(FLAGS_TO_PASS) check) 28704 28705 @endif tk 28706 28707 .PHONY: install-tk maybe-install-tk 28708 maybe-install-tk: 28709 @if tk 28710 maybe-install-tk: install-tk 28711 28712 install-tk: installdirs 28713 @: $(MAKE); $(unstage) 28714 @r=`${PWD_COMMAND}`; export r; \ 28715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28716 $(HOST_EXPORTS) \ 28717 (cd $(HOST_SUBDIR)/tk && \ 28718 $(MAKE) $(FLAGS_TO_PASS) install) 28719 28720 @endif tk 28721 28722 .PHONY: install-strip-tk maybe-install-strip-tk 28723 maybe-install-strip-tk: 28724 @if tk 28725 maybe-install-strip-tk: install-strip-tk 28726 28727 install-strip-tk: installdirs 28728 @: $(MAKE); $(unstage) 28729 @r=`${PWD_COMMAND}`; export r; \ 28730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28731 $(HOST_EXPORTS) \ 28732 (cd $(HOST_SUBDIR)/tk && \ 28733 $(MAKE) $(FLAGS_TO_PASS) install-strip) 28734 28735 @endif tk 28736 28737 # Other targets (info, dvi, pdf, etc.) 28738 28739 .PHONY: maybe-info-tk info-tk 28740 maybe-info-tk: 28741 @if tk 28742 maybe-info-tk: info-tk 28743 28744 info-tk: \ 28745 configure-tk 28746 @: $(MAKE); $(unstage) 28747 @[ -f ./tk/Makefile ] || exit 0; \ 28748 r=`${PWD_COMMAND}`; export r; \ 28749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28750 $(HOST_EXPORTS) \ 28751 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28753 done; \ 28754 echo "Doing info in tk" ; \ 28755 (cd $(HOST_SUBDIR)/tk && \ 28756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28758 "RANLIB=$${RANLIB}" \ 28759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28760 info) \ 28761 || exit 1 28762 28763 @endif tk 28764 28765 .PHONY: maybe-dvi-tk dvi-tk 28766 maybe-dvi-tk: 28767 @if tk 28768 maybe-dvi-tk: dvi-tk 28769 28770 dvi-tk: \ 28771 configure-tk 28772 @: $(MAKE); $(unstage) 28773 @[ -f ./tk/Makefile ] || exit 0; \ 28774 r=`${PWD_COMMAND}`; export r; \ 28775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28776 $(HOST_EXPORTS) \ 28777 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28779 done; \ 28780 echo "Doing dvi in tk" ; \ 28781 (cd $(HOST_SUBDIR)/tk && \ 28782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28784 "RANLIB=$${RANLIB}" \ 28785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28786 dvi) \ 28787 || exit 1 28788 28789 @endif tk 28790 28791 .PHONY: maybe-pdf-tk pdf-tk 28792 maybe-pdf-tk: 28793 @if tk 28794 maybe-pdf-tk: pdf-tk 28795 28796 pdf-tk: \ 28797 configure-tk 28798 @: $(MAKE); $(unstage) 28799 @[ -f ./tk/Makefile ] || exit 0; \ 28800 r=`${PWD_COMMAND}`; export r; \ 28801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28802 $(HOST_EXPORTS) \ 28803 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28805 done; \ 28806 echo "Doing pdf in tk" ; \ 28807 (cd $(HOST_SUBDIR)/tk && \ 28808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28810 "RANLIB=$${RANLIB}" \ 28811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28812 pdf) \ 28813 || exit 1 28814 28815 @endif tk 28816 28817 .PHONY: maybe-html-tk html-tk 28818 maybe-html-tk: 28819 @if tk 28820 maybe-html-tk: html-tk 28821 28822 html-tk: \ 28823 configure-tk 28824 @: $(MAKE); $(unstage) 28825 @[ -f ./tk/Makefile ] || exit 0; \ 28826 r=`${PWD_COMMAND}`; export r; \ 28827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28828 $(HOST_EXPORTS) \ 28829 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28831 done; \ 28832 echo "Doing html in tk" ; \ 28833 (cd $(HOST_SUBDIR)/tk && \ 28834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28836 "RANLIB=$${RANLIB}" \ 28837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28838 html) \ 28839 || exit 1 28840 28841 @endif tk 28842 28843 .PHONY: maybe-TAGS-tk TAGS-tk 28844 maybe-TAGS-tk: 28845 @if tk 28846 maybe-TAGS-tk: TAGS-tk 28847 28848 TAGS-tk: \ 28849 configure-tk 28850 @: $(MAKE); $(unstage) 28851 @[ -f ./tk/Makefile ] || exit 0; \ 28852 r=`${PWD_COMMAND}`; export r; \ 28853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28854 $(HOST_EXPORTS) \ 28855 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28857 done; \ 28858 echo "Doing TAGS in tk" ; \ 28859 (cd $(HOST_SUBDIR)/tk && \ 28860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28862 "RANLIB=$${RANLIB}" \ 28863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28864 TAGS) \ 28865 || exit 1 28866 28867 @endif tk 28868 28869 .PHONY: maybe-install-info-tk install-info-tk 28870 maybe-install-info-tk: 28871 @if tk 28872 maybe-install-info-tk: install-info-tk 28873 28874 install-info-tk: \ 28875 configure-tk \ 28876 info-tk 28877 @: $(MAKE); $(unstage) 28878 @[ -f ./tk/Makefile ] || exit 0; \ 28879 r=`${PWD_COMMAND}`; export r; \ 28880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28881 $(HOST_EXPORTS) \ 28882 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28884 done; \ 28885 echo "Doing install-info in tk" ; \ 28886 (cd $(HOST_SUBDIR)/tk && \ 28887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28889 "RANLIB=$${RANLIB}" \ 28890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28891 install-info) \ 28892 || exit 1 28893 28894 @endif tk 28895 28896 .PHONY: maybe-install-pdf-tk install-pdf-tk 28897 maybe-install-pdf-tk: 28898 @if tk 28899 maybe-install-pdf-tk: install-pdf-tk 28900 28901 install-pdf-tk: \ 28902 configure-tk \ 28903 pdf-tk 28904 @: $(MAKE); $(unstage) 28905 @[ -f ./tk/Makefile ] || exit 0; \ 28906 r=`${PWD_COMMAND}`; export r; \ 28907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28908 $(HOST_EXPORTS) \ 28909 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28911 done; \ 28912 echo "Doing install-pdf in tk" ; \ 28913 (cd $(HOST_SUBDIR)/tk && \ 28914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28916 "RANLIB=$${RANLIB}" \ 28917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28918 install-pdf) \ 28919 || exit 1 28920 28921 @endif tk 28922 28923 .PHONY: maybe-install-html-tk install-html-tk 28924 maybe-install-html-tk: 28925 @if tk 28926 maybe-install-html-tk: install-html-tk 28927 28928 install-html-tk: \ 28929 configure-tk \ 28930 html-tk 28931 @: $(MAKE); $(unstage) 28932 @[ -f ./tk/Makefile ] || exit 0; \ 28933 r=`${PWD_COMMAND}`; export r; \ 28934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28935 $(HOST_EXPORTS) \ 28936 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28938 done; \ 28939 echo "Doing install-html in tk" ; \ 28940 (cd $(HOST_SUBDIR)/tk && \ 28941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28943 "RANLIB=$${RANLIB}" \ 28944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28945 install-html) \ 28946 || exit 1 28947 28948 @endif tk 28949 28950 .PHONY: maybe-installcheck-tk installcheck-tk 28951 maybe-installcheck-tk: 28952 @if tk 28953 maybe-installcheck-tk: installcheck-tk 28954 28955 installcheck-tk: \ 28956 configure-tk 28957 @: $(MAKE); $(unstage) 28958 @[ -f ./tk/Makefile ] || exit 0; \ 28959 r=`${PWD_COMMAND}`; export r; \ 28960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28961 $(HOST_EXPORTS) \ 28962 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28964 done; \ 28965 echo "Doing installcheck in tk" ; \ 28966 (cd $(HOST_SUBDIR)/tk && \ 28967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28969 "RANLIB=$${RANLIB}" \ 28970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28971 installcheck) \ 28972 || exit 1 28973 28974 @endif tk 28975 28976 .PHONY: maybe-mostlyclean-tk mostlyclean-tk 28977 maybe-mostlyclean-tk: 28978 @if tk 28979 maybe-mostlyclean-tk: mostlyclean-tk 28980 28981 mostlyclean-tk: 28982 @: $(MAKE); $(unstage) 28983 @[ -f ./tk/Makefile ] || exit 0; \ 28984 r=`${PWD_COMMAND}`; export r; \ 28985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 28986 $(HOST_EXPORTS) \ 28987 for flag in $(EXTRA_HOST_FLAGS) ; do \ 28988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 28989 done; \ 28990 echo "Doing mostlyclean in tk" ; \ 28991 (cd $(HOST_SUBDIR)/tk && \ 28992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 28993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 28994 "RANLIB=$${RANLIB}" \ 28995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 28996 mostlyclean) \ 28997 || exit 1 28998 28999 @endif tk 29000 29001 .PHONY: maybe-clean-tk clean-tk 29002 maybe-clean-tk: 29003 @if tk 29004 maybe-clean-tk: clean-tk 29005 29006 clean-tk: 29007 @: $(MAKE); $(unstage) 29008 @[ -f ./tk/Makefile ] || exit 0; \ 29009 r=`${PWD_COMMAND}`; export r; \ 29010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29011 $(HOST_EXPORTS) \ 29012 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29014 done; \ 29015 echo "Doing clean in tk" ; \ 29016 (cd $(HOST_SUBDIR)/tk && \ 29017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29019 "RANLIB=$${RANLIB}" \ 29020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29021 clean) \ 29022 || exit 1 29023 29024 @endif tk 29025 29026 .PHONY: maybe-distclean-tk distclean-tk 29027 maybe-distclean-tk: 29028 @if tk 29029 maybe-distclean-tk: distclean-tk 29030 29031 distclean-tk: 29032 @: $(MAKE); $(unstage) 29033 @[ -f ./tk/Makefile ] || exit 0; \ 29034 r=`${PWD_COMMAND}`; export r; \ 29035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29036 $(HOST_EXPORTS) \ 29037 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29039 done; \ 29040 echo "Doing distclean in tk" ; \ 29041 (cd $(HOST_SUBDIR)/tk && \ 29042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29044 "RANLIB=$${RANLIB}" \ 29045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29046 distclean) \ 29047 || exit 1 29048 29049 @endif tk 29050 29051 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk 29052 maybe-maintainer-clean-tk: 29053 @if tk 29054 maybe-maintainer-clean-tk: maintainer-clean-tk 29055 29056 maintainer-clean-tk: 29057 @: $(MAKE); $(unstage) 29058 @[ -f ./tk/Makefile ] || exit 0; \ 29059 r=`${PWD_COMMAND}`; export r; \ 29060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29061 $(HOST_EXPORTS) \ 29062 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29064 done; \ 29065 echo "Doing maintainer-clean in tk" ; \ 29066 (cd $(HOST_SUBDIR)/tk && \ 29067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29069 "RANLIB=$${RANLIB}" \ 29070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29071 maintainer-clean) \ 29072 || exit 1 29073 29074 @endif tk 29075 29076 29077 29078 .PHONY: configure-libtermcap maybe-configure-libtermcap 29079 maybe-configure-libtermcap: 29080 @if gcc-bootstrap 29081 configure-libtermcap: stage_current 29082 @endif gcc-bootstrap 29083 @if libtermcap 29084 maybe-configure-libtermcap: configure-libtermcap 29085 configure-libtermcap: 29086 @: $(MAKE); $(unstage) 29087 @r=`${PWD_COMMAND}`; export r; \ 29088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29089 test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \ 29090 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \ 29091 $(HOST_EXPORTS) \ 29092 echo Configuring in $(HOST_SUBDIR)/libtermcap; \ 29093 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \ 29094 case $(srcdir) in \ 29095 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 29096 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \ 29097 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 29098 esac; \ 29099 srcdiroption="--srcdir=$${topdir}/libtermcap"; \ 29100 libsrcdir="$$s/libtermcap"; \ 29101 $(SHELL) $${libsrcdir}/configure \ 29102 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 29103 --target=${target_alias} $${srcdiroption} \ 29104 || exit 1 29105 @endif libtermcap 29106 29107 29108 29109 29110 29111 .PHONY: all-libtermcap maybe-all-libtermcap 29112 maybe-all-libtermcap: 29113 @if gcc-bootstrap 29114 all-libtermcap: stage_current 29115 @endif gcc-bootstrap 29116 @if libtermcap 29117 TARGET-libtermcap=all 29118 maybe-all-libtermcap: all-libtermcap 29119 all-libtermcap: configure-libtermcap 29120 @: $(MAKE); $(unstage) 29121 @r=`${PWD_COMMAND}`; export r; \ 29122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29123 $(HOST_EXPORTS) \ 29124 (cd $(HOST_SUBDIR)/libtermcap && \ 29125 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 29126 $(TARGET-libtermcap)) 29127 @endif libtermcap 29128 29129 29130 29131 29132 .PHONY: check-libtermcap maybe-check-libtermcap 29133 maybe-check-libtermcap: 29134 @if libtermcap 29135 maybe-check-libtermcap: check-libtermcap 29136 29137 check-libtermcap: 29138 29139 @endif libtermcap 29140 29141 .PHONY: install-libtermcap maybe-install-libtermcap 29142 maybe-install-libtermcap: 29143 @if libtermcap 29144 maybe-install-libtermcap: install-libtermcap 29145 29146 install-libtermcap: installdirs 29147 @: $(MAKE); $(unstage) 29148 @r=`${PWD_COMMAND}`; export r; \ 29149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29150 $(HOST_EXPORTS) \ 29151 (cd $(HOST_SUBDIR)/libtermcap && \ 29152 $(MAKE) $(FLAGS_TO_PASS) install) 29153 29154 @endif libtermcap 29155 29156 .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap 29157 maybe-install-strip-libtermcap: 29158 @if libtermcap 29159 maybe-install-strip-libtermcap: install-strip-libtermcap 29160 29161 install-strip-libtermcap: installdirs 29162 @: $(MAKE); $(unstage) 29163 @r=`${PWD_COMMAND}`; export r; \ 29164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29165 $(HOST_EXPORTS) \ 29166 (cd $(HOST_SUBDIR)/libtermcap && \ 29167 $(MAKE) $(FLAGS_TO_PASS) install-strip) 29168 29169 @endif libtermcap 29170 29171 # Other targets (info, dvi, pdf, etc.) 29172 29173 .PHONY: maybe-info-libtermcap info-libtermcap 29174 maybe-info-libtermcap: 29175 @if libtermcap 29176 maybe-info-libtermcap: info-libtermcap 29177 29178 info-libtermcap: \ 29179 configure-libtermcap 29180 @: $(MAKE); $(unstage) 29181 @[ -f ./libtermcap/Makefile ] || exit 0; \ 29182 r=`${PWD_COMMAND}`; export r; \ 29183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29184 $(HOST_EXPORTS) \ 29185 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29187 done; \ 29188 echo "Doing info in libtermcap" ; \ 29189 (cd $(HOST_SUBDIR)/libtermcap && \ 29190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29192 "RANLIB=$${RANLIB}" \ 29193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29194 info) \ 29195 || exit 1 29196 29197 @endif libtermcap 29198 29199 .PHONY: maybe-dvi-libtermcap dvi-libtermcap 29200 maybe-dvi-libtermcap: 29201 @if libtermcap 29202 maybe-dvi-libtermcap: dvi-libtermcap 29203 29204 dvi-libtermcap: \ 29205 configure-libtermcap 29206 @: $(MAKE); $(unstage) 29207 @[ -f ./libtermcap/Makefile ] || exit 0; \ 29208 r=`${PWD_COMMAND}`; export r; \ 29209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29210 $(HOST_EXPORTS) \ 29211 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29213 done; \ 29214 echo "Doing dvi in libtermcap" ; \ 29215 (cd $(HOST_SUBDIR)/libtermcap && \ 29216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29218 "RANLIB=$${RANLIB}" \ 29219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29220 dvi) \ 29221 || exit 1 29222 29223 @endif libtermcap 29224 29225 .PHONY: maybe-pdf-libtermcap pdf-libtermcap 29226 maybe-pdf-libtermcap: 29227 @if libtermcap 29228 maybe-pdf-libtermcap: pdf-libtermcap 29229 29230 pdf-libtermcap: \ 29231 configure-libtermcap 29232 @: $(MAKE); $(unstage) 29233 @[ -f ./libtermcap/Makefile ] || exit 0; \ 29234 r=`${PWD_COMMAND}`; export r; \ 29235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29236 $(HOST_EXPORTS) \ 29237 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29239 done; \ 29240 echo "Doing pdf in libtermcap" ; \ 29241 (cd $(HOST_SUBDIR)/libtermcap && \ 29242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29244 "RANLIB=$${RANLIB}" \ 29245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29246 pdf) \ 29247 || exit 1 29248 29249 @endif libtermcap 29250 29251 .PHONY: maybe-html-libtermcap html-libtermcap 29252 maybe-html-libtermcap: 29253 @if libtermcap 29254 maybe-html-libtermcap: html-libtermcap 29255 29256 html-libtermcap: \ 29257 configure-libtermcap 29258 @: $(MAKE); $(unstage) 29259 @[ -f ./libtermcap/Makefile ] || exit 0; \ 29260 r=`${PWD_COMMAND}`; export r; \ 29261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29262 $(HOST_EXPORTS) \ 29263 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29265 done; \ 29266 echo "Doing html in libtermcap" ; \ 29267 (cd $(HOST_SUBDIR)/libtermcap && \ 29268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29270 "RANLIB=$${RANLIB}" \ 29271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29272 html) \ 29273 || exit 1 29274 29275 @endif libtermcap 29276 29277 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap 29278 maybe-TAGS-libtermcap: 29279 @if libtermcap 29280 maybe-TAGS-libtermcap: TAGS-libtermcap 29281 29282 TAGS-libtermcap: \ 29283 configure-libtermcap 29284 @: $(MAKE); $(unstage) 29285 @[ -f ./libtermcap/Makefile ] || exit 0; \ 29286 r=`${PWD_COMMAND}`; export r; \ 29287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29288 $(HOST_EXPORTS) \ 29289 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29291 done; \ 29292 echo "Doing TAGS in libtermcap" ; \ 29293 (cd $(HOST_SUBDIR)/libtermcap && \ 29294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29296 "RANLIB=$${RANLIB}" \ 29297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29298 TAGS) \ 29299 || exit 1 29300 29301 @endif libtermcap 29302 29303 .PHONY: maybe-install-info-libtermcap install-info-libtermcap 29304 maybe-install-info-libtermcap: 29305 @if libtermcap 29306 maybe-install-info-libtermcap: install-info-libtermcap 29307 29308 install-info-libtermcap: \ 29309 configure-libtermcap \ 29310 info-libtermcap 29311 @: $(MAKE); $(unstage) 29312 @[ -f ./libtermcap/Makefile ] || exit 0; \ 29313 r=`${PWD_COMMAND}`; export r; \ 29314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29315 $(HOST_EXPORTS) \ 29316 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29318 done; \ 29319 echo "Doing install-info in libtermcap" ; \ 29320 (cd $(HOST_SUBDIR)/libtermcap && \ 29321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29323 "RANLIB=$${RANLIB}" \ 29324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29325 install-info) \ 29326 || exit 1 29327 29328 @endif libtermcap 29329 29330 .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap 29331 maybe-install-pdf-libtermcap: 29332 @if libtermcap 29333 maybe-install-pdf-libtermcap: install-pdf-libtermcap 29334 29335 install-pdf-libtermcap: \ 29336 configure-libtermcap \ 29337 pdf-libtermcap 29338 @: $(MAKE); $(unstage) 29339 @[ -f ./libtermcap/Makefile ] || exit 0; \ 29340 r=`${PWD_COMMAND}`; export r; \ 29341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29342 $(HOST_EXPORTS) \ 29343 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29345 done; \ 29346 echo "Doing install-pdf in libtermcap" ; \ 29347 (cd $(HOST_SUBDIR)/libtermcap && \ 29348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29350 "RANLIB=$${RANLIB}" \ 29351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29352 install-pdf) \ 29353 || exit 1 29354 29355 @endif libtermcap 29356 29357 .PHONY: maybe-install-html-libtermcap install-html-libtermcap 29358 maybe-install-html-libtermcap: 29359 @if libtermcap 29360 maybe-install-html-libtermcap: install-html-libtermcap 29361 29362 install-html-libtermcap: \ 29363 configure-libtermcap \ 29364 html-libtermcap 29365 @: $(MAKE); $(unstage) 29366 @[ -f ./libtermcap/Makefile ] || exit 0; \ 29367 r=`${PWD_COMMAND}`; export r; \ 29368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29369 $(HOST_EXPORTS) \ 29370 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29372 done; \ 29373 echo "Doing install-html in libtermcap" ; \ 29374 (cd $(HOST_SUBDIR)/libtermcap && \ 29375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29377 "RANLIB=$${RANLIB}" \ 29378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29379 install-html) \ 29380 || exit 1 29381 29382 @endif libtermcap 29383 29384 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap 29385 maybe-installcheck-libtermcap: 29386 @if libtermcap 29387 maybe-installcheck-libtermcap: installcheck-libtermcap 29388 29389 installcheck-libtermcap: \ 29390 configure-libtermcap 29391 @: $(MAKE); $(unstage) 29392 @[ -f ./libtermcap/Makefile ] || exit 0; \ 29393 r=`${PWD_COMMAND}`; export r; \ 29394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29395 $(HOST_EXPORTS) \ 29396 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29398 done; \ 29399 echo "Doing installcheck in libtermcap" ; \ 29400 (cd $(HOST_SUBDIR)/libtermcap && \ 29401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29403 "RANLIB=$${RANLIB}" \ 29404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29405 installcheck) \ 29406 || exit 1 29407 29408 @endif libtermcap 29409 29410 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap 29411 maybe-mostlyclean-libtermcap: 29412 @if libtermcap 29413 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap 29414 29415 # libtermcap doesn't support mostlyclean. 29416 mostlyclean-libtermcap: 29417 29418 @endif libtermcap 29419 29420 .PHONY: maybe-clean-libtermcap clean-libtermcap 29421 maybe-clean-libtermcap: 29422 @if libtermcap 29423 maybe-clean-libtermcap: clean-libtermcap 29424 29425 # libtermcap doesn't support clean. 29426 clean-libtermcap: 29427 29428 @endif libtermcap 29429 29430 .PHONY: maybe-distclean-libtermcap distclean-libtermcap 29431 maybe-distclean-libtermcap: 29432 @if libtermcap 29433 maybe-distclean-libtermcap: distclean-libtermcap 29434 29435 # libtermcap doesn't support distclean. 29436 distclean-libtermcap: 29437 29438 @endif libtermcap 29439 29440 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap 29441 maybe-maintainer-clean-libtermcap: 29442 @if libtermcap 29443 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap 29444 29445 # libtermcap doesn't support maintainer-clean. 29446 maintainer-clean-libtermcap: 29447 29448 @endif libtermcap 29449 29450 29451 29452 .PHONY: configure-utils maybe-configure-utils 29453 maybe-configure-utils: 29454 @if gcc-bootstrap 29455 configure-utils: stage_current 29456 @endif gcc-bootstrap 29457 @if utils 29458 maybe-configure-utils: configure-utils 29459 configure-utils: 29460 @: $(MAKE); $(unstage) 29461 @r=`${PWD_COMMAND}`; export r; \ 29462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29463 test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \ 29464 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \ 29465 $(HOST_EXPORTS) \ 29466 echo Configuring in $(HOST_SUBDIR)/utils; \ 29467 cd "$(HOST_SUBDIR)/utils" || exit 1; \ 29468 case $(srcdir) in \ 29469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 29470 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \ 29471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 29472 esac; \ 29473 srcdiroption="--srcdir=$${topdir}/utils"; \ 29474 libsrcdir="$$s/utils"; \ 29475 $(SHELL) $${libsrcdir}/configure \ 29476 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 29477 --target=${target_alias} $${srcdiroption} \ 29478 || exit 1 29479 @endif utils 29480 29481 29482 29483 29484 29485 .PHONY: all-utils maybe-all-utils 29486 maybe-all-utils: 29487 @if gcc-bootstrap 29488 all-utils: stage_current 29489 @endif gcc-bootstrap 29490 @if utils 29491 TARGET-utils=all 29492 maybe-all-utils: all-utils 29493 all-utils: configure-utils 29494 @: $(MAKE); $(unstage) 29495 @r=`${PWD_COMMAND}`; export r; \ 29496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29497 $(HOST_EXPORTS) \ 29498 (cd $(HOST_SUBDIR)/utils && \ 29499 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 29500 $(TARGET-utils)) 29501 @endif utils 29502 29503 29504 29505 29506 .PHONY: check-utils maybe-check-utils 29507 maybe-check-utils: 29508 @if utils 29509 maybe-check-utils: check-utils 29510 29511 check-utils: 29512 29513 @endif utils 29514 29515 .PHONY: install-utils maybe-install-utils 29516 maybe-install-utils: 29517 @if utils 29518 maybe-install-utils: install-utils 29519 29520 install-utils: installdirs 29521 @: $(MAKE); $(unstage) 29522 @r=`${PWD_COMMAND}`; export r; \ 29523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29524 $(HOST_EXPORTS) \ 29525 (cd $(HOST_SUBDIR)/utils && \ 29526 $(MAKE) $(FLAGS_TO_PASS) install) 29527 29528 @endif utils 29529 29530 .PHONY: install-strip-utils maybe-install-strip-utils 29531 maybe-install-strip-utils: 29532 @if utils 29533 maybe-install-strip-utils: install-strip-utils 29534 29535 install-strip-utils: installdirs 29536 @: $(MAKE); $(unstage) 29537 @r=`${PWD_COMMAND}`; export r; \ 29538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29539 $(HOST_EXPORTS) \ 29540 (cd $(HOST_SUBDIR)/utils && \ 29541 $(MAKE) $(FLAGS_TO_PASS) install-strip) 29542 29543 @endif utils 29544 29545 # Other targets (info, dvi, pdf, etc.) 29546 29547 .PHONY: maybe-info-utils info-utils 29548 maybe-info-utils: 29549 @if utils 29550 maybe-info-utils: info-utils 29551 29552 info-utils: \ 29553 configure-utils 29554 @: $(MAKE); $(unstage) 29555 @[ -f ./utils/Makefile ] || exit 0; \ 29556 r=`${PWD_COMMAND}`; export r; \ 29557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29558 $(HOST_EXPORTS) \ 29559 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29561 done; \ 29562 echo "Doing info in utils" ; \ 29563 (cd $(HOST_SUBDIR)/utils && \ 29564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29566 "RANLIB=$${RANLIB}" \ 29567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29568 info) \ 29569 || exit 1 29570 29571 @endif utils 29572 29573 .PHONY: maybe-dvi-utils dvi-utils 29574 maybe-dvi-utils: 29575 @if utils 29576 maybe-dvi-utils: dvi-utils 29577 29578 dvi-utils: \ 29579 configure-utils 29580 @: $(MAKE); $(unstage) 29581 @[ -f ./utils/Makefile ] || exit 0; \ 29582 r=`${PWD_COMMAND}`; export r; \ 29583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29584 $(HOST_EXPORTS) \ 29585 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29587 done; \ 29588 echo "Doing dvi in utils" ; \ 29589 (cd $(HOST_SUBDIR)/utils && \ 29590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29592 "RANLIB=$${RANLIB}" \ 29593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29594 dvi) \ 29595 || exit 1 29596 29597 @endif utils 29598 29599 .PHONY: maybe-pdf-utils pdf-utils 29600 maybe-pdf-utils: 29601 @if utils 29602 maybe-pdf-utils: pdf-utils 29603 29604 pdf-utils: \ 29605 configure-utils 29606 @: $(MAKE); $(unstage) 29607 @[ -f ./utils/Makefile ] || exit 0; \ 29608 r=`${PWD_COMMAND}`; export r; \ 29609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29610 $(HOST_EXPORTS) \ 29611 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29613 done; \ 29614 echo "Doing pdf in utils" ; \ 29615 (cd $(HOST_SUBDIR)/utils && \ 29616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29618 "RANLIB=$${RANLIB}" \ 29619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29620 pdf) \ 29621 || exit 1 29622 29623 @endif utils 29624 29625 .PHONY: maybe-html-utils html-utils 29626 maybe-html-utils: 29627 @if utils 29628 maybe-html-utils: html-utils 29629 29630 html-utils: \ 29631 configure-utils 29632 @: $(MAKE); $(unstage) 29633 @[ -f ./utils/Makefile ] || exit 0; \ 29634 r=`${PWD_COMMAND}`; export r; \ 29635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29636 $(HOST_EXPORTS) \ 29637 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29639 done; \ 29640 echo "Doing html in utils" ; \ 29641 (cd $(HOST_SUBDIR)/utils && \ 29642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29644 "RANLIB=$${RANLIB}" \ 29645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29646 html) \ 29647 || exit 1 29648 29649 @endif utils 29650 29651 .PHONY: maybe-TAGS-utils TAGS-utils 29652 maybe-TAGS-utils: 29653 @if utils 29654 maybe-TAGS-utils: TAGS-utils 29655 29656 TAGS-utils: \ 29657 configure-utils 29658 @: $(MAKE); $(unstage) 29659 @[ -f ./utils/Makefile ] || exit 0; \ 29660 r=`${PWD_COMMAND}`; export r; \ 29661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29662 $(HOST_EXPORTS) \ 29663 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29665 done; \ 29666 echo "Doing TAGS in utils" ; \ 29667 (cd $(HOST_SUBDIR)/utils && \ 29668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29670 "RANLIB=$${RANLIB}" \ 29671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29672 TAGS) \ 29673 || exit 1 29674 29675 @endif utils 29676 29677 .PHONY: maybe-install-info-utils install-info-utils 29678 maybe-install-info-utils: 29679 @if utils 29680 maybe-install-info-utils: install-info-utils 29681 29682 install-info-utils: \ 29683 configure-utils \ 29684 info-utils 29685 @: $(MAKE); $(unstage) 29686 @[ -f ./utils/Makefile ] || exit 0; \ 29687 r=`${PWD_COMMAND}`; export r; \ 29688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29689 $(HOST_EXPORTS) \ 29690 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29692 done; \ 29693 echo "Doing install-info in utils" ; \ 29694 (cd $(HOST_SUBDIR)/utils && \ 29695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29697 "RANLIB=$${RANLIB}" \ 29698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29699 install-info) \ 29700 || exit 1 29701 29702 @endif utils 29703 29704 .PHONY: maybe-install-pdf-utils install-pdf-utils 29705 maybe-install-pdf-utils: 29706 @if utils 29707 maybe-install-pdf-utils: install-pdf-utils 29708 29709 install-pdf-utils: \ 29710 configure-utils \ 29711 pdf-utils 29712 @: $(MAKE); $(unstage) 29713 @[ -f ./utils/Makefile ] || exit 0; \ 29714 r=`${PWD_COMMAND}`; export r; \ 29715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29716 $(HOST_EXPORTS) \ 29717 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29719 done; \ 29720 echo "Doing install-pdf in utils" ; \ 29721 (cd $(HOST_SUBDIR)/utils && \ 29722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29724 "RANLIB=$${RANLIB}" \ 29725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29726 install-pdf) \ 29727 || exit 1 29728 29729 @endif utils 29730 29731 .PHONY: maybe-install-html-utils install-html-utils 29732 maybe-install-html-utils: 29733 @if utils 29734 maybe-install-html-utils: install-html-utils 29735 29736 install-html-utils: \ 29737 configure-utils \ 29738 html-utils 29739 @: $(MAKE); $(unstage) 29740 @[ -f ./utils/Makefile ] || exit 0; \ 29741 r=`${PWD_COMMAND}`; export r; \ 29742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29743 $(HOST_EXPORTS) \ 29744 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29746 done; \ 29747 echo "Doing install-html in utils" ; \ 29748 (cd $(HOST_SUBDIR)/utils && \ 29749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29751 "RANLIB=$${RANLIB}" \ 29752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29753 install-html) \ 29754 || exit 1 29755 29756 @endif utils 29757 29758 .PHONY: maybe-installcheck-utils installcheck-utils 29759 maybe-installcheck-utils: 29760 @if utils 29761 maybe-installcheck-utils: installcheck-utils 29762 29763 installcheck-utils: \ 29764 configure-utils 29765 @: $(MAKE); $(unstage) 29766 @[ -f ./utils/Makefile ] || exit 0; \ 29767 r=`${PWD_COMMAND}`; export r; \ 29768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29769 $(HOST_EXPORTS) \ 29770 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29772 done; \ 29773 echo "Doing installcheck in utils" ; \ 29774 (cd $(HOST_SUBDIR)/utils && \ 29775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29777 "RANLIB=$${RANLIB}" \ 29778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29779 installcheck) \ 29780 || exit 1 29781 29782 @endif utils 29783 29784 .PHONY: maybe-mostlyclean-utils mostlyclean-utils 29785 maybe-mostlyclean-utils: 29786 @if utils 29787 maybe-mostlyclean-utils: mostlyclean-utils 29788 29789 mostlyclean-utils: 29790 @: $(MAKE); $(unstage) 29791 @[ -f ./utils/Makefile ] || exit 0; \ 29792 r=`${PWD_COMMAND}`; export r; \ 29793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29794 $(HOST_EXPORTS) \ 29795 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29797 done; \ 29798 echo "Doing mostlyclean in utils" ; \ 29799 (cd $(HOST_SUBDIR)/utils && \ 29800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29802 "RANLIB=$${RANLIB}" \ 29803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29804 mostlyclean) \ 29805 || exit 1 29806 29807 @endif utils 29808 29809 .PHONY: maybe-clean-utils clean-utils 29810 maybe-clean-utils: 29811 @if utils 29812 maybe-clean-utils: clean-utils 29813 29814 clean-utils: 29815 @: $(MAKE); $(unstage) 29816 @[ -f ./utils/Makefile ] || exit 0; \ 29817 r=`${PWD_COMMAND}`; export r; \ 29818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29819 $(HOST_EXPORTS) \ 29820 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29822 done; \ 29823 echo "Doing clean in utils" ; \ 29824 (cd $(HOST_SUBDIR)/utils && \ 29825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29827 "RANLIB=$${RANLIB}" \ 29828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29829 clean) \ 29830 || exit 1 29831 29832 @endif utils 29833 29834 .PHONY: maybe-distclean-utils distclean-utils 29835 maybe-distclean-utils: 29836 @if utils 29837 maybe-distclean-utils: distclean-utils 29838 29839 distclean-utils: 29840 @: $(MAKE); $(unstage) 29841 @[ -f ./utils/Makefile ] || exit 0; \ 29842 r=`${PWD_COMMAND}`; export r; \ 29843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29844 $(HOST_EXPORTS) \ 29845 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29847 done; \ 29848 echo "Doing distclean in utils" ; \ 29849 (cd $(HOST_SUBDIR)/utils && \ 29850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29852 "RANLIB=$${RANLIB}" \ 29853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29854 distclean) \ 29855 || exit 1 29856 29857 @endif utils 29858 29859 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils 29860 maybe-maintainer-clean-utils: 29861 @if utils 29862 maybe-maintainer-clean-utils: maintainer-clean-utils 29863 29864 maintainer-clean-utils: 29865 @: $(MAKE); $(unstage) 29866 @[ -f ./utils/Makefile ] || exit 0; \ 29867 r=`${PWD_COMMAND}`; export r; \ 29868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29869 $(HOST_EXPORTS) \ 29870 for flag in $(EXTRA_HOST_FLAGS) ; do \ 29871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 29872 done; \ 29873 echo "Doing maintainer-clean in utils" ; \ 29874 (cd $(HOST_SUBDIR)/utils && \ 29875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 29876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 29877 "RANLIB=$${RANLIB}" \ 29878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 29879 maintainer-clean) \ 29880 || exit 1 29881 29882 @endif utils 29883 29884 29885 29886 .PHONY: configure-gnattools maybe-configure-gnattools 29887 maybe-configure-gnattools: 29888 @if gcc-bootstrap 29889 configure-gnattools: stage_current 29890 @endif gcc-bootstrap 29891 @if gnattools 29892 maybe-configure-gnattools: configure-gnattools 29893 configure-gnattools: 29894 @: $(MAKE); $(unstage) 29895 @r=`${PWD_COMMAND}`; export r; \ 29896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29897 test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \ 29898 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \ 29899 $(HOST_EXPORTS) \ 29900 echo Configuring in $(HOST_SUBDIR)/gnattools; \ 29901 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \ 29902 case $(srcdir) in \ 29903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 29904 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \ 29905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 29906 esac; \ 29907 srcdiroption="--srcdir=$${topdir}/gnattools"; \ 29908 libsrcdir="$$s/gnattools"; \ 29909 $(SHELL) $${libsrcdir}/configure \ 29910 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 29911 --target=${target_alias} $${srcdiroption} \ 29912 || exit 1 29913 @endif gnattools 29914 29915 29916 29917 29918 29919 .PHONY: all-gnattools maybe-all-gnattools 29920 maybe-all-gnattools: 29921 @if gcc-bootstrap 29922 all-gnattools: stage_current 29923 @endif gcc-bootstrap 29924 @if gnattools 29925 TARGET-gnattools=all 29926 maybe-all-gnattools: all-gnattools 29927 all-gnattools: configure-gnattools 29928 @: $(MAKE); $(unstage) 29929 @r=`${PWD_COMMAND}`; export r; \ 29930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29931 $(HOST_EXPORTS) \ 29932 (cd $(HOST_SUBDIR)/gnattools && \ 29933 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 29934 $(TARGET-gnattools)) 29935 @endif gnattools 29936 29937 29938 29939 29940 .PHONY: check-gnattools maybe-check-gnattools 29941 maybe-check-gnattools: 29942 @if gnattools 29943 maybe-check-gnattools: check-gnattools 29944 29945 check-gnattools: 29946 @: $(MAKE); $(unstage) 29947 @r=`${PWD_COMMAND}`; export r; \ 29948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29949 $(HOST_EXPORTS) \ 29950 (cd $(HOST_SUBDIR)/gnattools && \ 29951 $(MAKE) $(FLAGS_TO_PASS) check) 29952 29953 @endif gnattools 29954 29955 .PHONY: install-gnattools maybe-install-gnattools 29956 maybe-install-gnattools: 29957 @if gnattools 29958 maybe-install-gnattools: install-gnattools 29959 29960 install-gnattools: installdirs 29961 @: $(MAKE); $(unstage) 29962 @r=`${PWD_COMMAND}`; export r; \ 29963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29964 $(HOST_EXPORTS) \ 29965 (cd $(HOST_SUBDIR)/gnattools && \ 29966 $(MAKE) $(FLAGS_TO_PASS) install) 29967 29968 @endif gnattools 29969 29970 .PHONY: install-strip-gnattools maybe-install-strip-gnattools 29971 maybe-install-strip-gnattools: 29972 @if gnattools 29973 maybe-install-strip-gnattools: install-strip-gnattools 29974 29975 install-strip-gnattools: installdirs 29976 @: $(MAKE); $(unstage) 29977 @r=`${PWD_COMMAND}`; export r; \ 29978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29979 $(HOST_EXPORTS) \ 29980 (cd $(HOST_SUBDIR)/gnattools && \ 29981 $(MAKE) $(FLAGS_TO_PASS) install-strip) 29982 29983 @endif gnattools 29984 29985 # Other targets (info, dvi, pdf, etc.) 29986 29987 .PHONY: maybe-info-gnattools info-gnattools 29988 maybe-info-gnattools: 29989 @if gnattools 29990 maybe-info-gnattools: info-gnattools 29991 29992 info-gnattools: \ 29993 configure-gnattools 29994 @: $(MAKE); $(unstage) 29995 @[ -f ./gnattools/Makefile ] || exit 0; \ 29996 r=`${PWD_COMMAND}`; export r; \ 29997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 29998 $(HOST_EXPORTS) \ 29999 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30001 done; \ 30002 echo "Doing info in gnattools" ; \ 30003 (cd $(HOST_SUBDIR)/gnattools && \ 30004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30006 "RANLIB=$${RANLIB}" \ 30007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30008 info) \ 30009 || exit 1 30010 30011 @endif gnattools 30012 30013 .PHONY: maybe-dvi-gnattools dvi-gnattools 30014 maybe-dvi-gnattools: 30015 @if gnattools 30016 maybe-dvi-gnattools: dvi-gnattools 30017 30018 dvi-gnattools: \ 30019 configure-gnattools 30020 @: $(MAKE); $(unstage) 30021 @[ -f ./gnattools/Makefile ] || exit 0; \ 30022 r=`${PWD_COMMAND}`; export r; \ 30023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30024 $(HOST_EXPORTS) \ 30025 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30027 done; \ 30028 echo "Doing dvi in gnattools" ; \ 30029 (cd $(HOST_SUBDIR)/gnattools && \ 30030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30032 "RANLIB=$${RANLIB}" \ 30033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30034 dvi) \ 30035 || exit 1 30036 30037 @endif gnattools 30038 30039 .PHONY: maybe-pdf-gnattools pdf-gnattools 30040 maybe-pdf-gnattools: 30041 @if gnattools 30042 maybe-pdf-gnattools: pdf-gnattools 30043 30044 pdf-gnattools: \ 30045 configure-gnattools 30046 @: $(MAKE); $(unstage) 30047 @[ -f ./gnattools/Makefile ] || exit 0; \ 30048 r=`${PWD_COMMAND}`; export r; \ 30049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30050 $(HOST_EXPORTS) \ 30051 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30053 done; \ 30054 echo "Doing pdf in gnattools" ; \ 30055 (cd $(HOST_SUBDIR)/gnattools && \ 30056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30058 "RANLIB=$${RANLIB}" \ 30059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30060 pdf) \ 30061 || exit 1 30062 30063 @endif gnattools 30064 30065 .PHONY: maybe-html-gnattools html-gnattools 30066 maybe-html-gnattools: 30067 @if gnattools 30068 maybe-html-gnattools: html-gnattools 30069 30070 html-gnattools: \ 30071 configure-gnattools 30072 @: $(MAKE); $(unstage) 30073 @[ -f ./gnattools/Makefile ] || exit 0; \ 30074 r=`${PWD_COMMAND}`; export r; \ 30075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30076 $(HOST_EXPORTS) \ 30077 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30079 done; \ 30080 echo "Doing html in gnattools" ; \ 30081 (cd $(HOST_SUBDIR)/gnattools && \ 30082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30084 "RANLIB=$${RANLIB}" \ 30085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30086 html) \ 30087 || exit 1 30088 30089 @endif gnattools 30090 30091 .PHONY: maybe-TAGS-gnattools TAGS-gnattools 30092 maybe-TAGS-gnattools: 30093 @if gnattools 30094 maybe-TAGS-gnattools: TAGS-gnattools 30095 30096 TAGS-gnattools: \ 30097 configure-gnattools 30098 @: $(MAKE); $(unstage) 30099 @[ -f ./gnattools/Makefile ] || exit 0; \ 30100 r=`${PWD_COMMAND}`; export r; \ 30101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30102 $(HOST_EXPORTS) \ 30103 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30105 done; \ 30106 echo "Doing TAGS in gnattools" ; \ 30107 (cd $(HOST_SUBDIR)/gnattools && \ 30108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30110 "RANLIB=$${RANLIB}" \ 30111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30112 TAGS) \ 30113 || exit 1 30114 30115 @endif gnattools 30116 30117 .PHONY: maybe-install-info-gnattools install-info-gnattools 30118 maybe-install-info-gnattools: 30119 @if gnattools 30120 maybe-install-info-gnattools: install-info-gnattools 30121 30122 install-info-gnattools: \ 30123 configure-gnattools \ 30124 info-gnattools 30125 @: $(MAKE); $(unstage) 30126 @[ -f ./gnattools/Makefile ] || exit 0; \ 30127 r=`${PWD_COMMAND}`; export r; \ 30128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30129 $(HOST_EXPORTS) \ 30130 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30132 done; \ 30133 echo "Doing install-info in gnattools" ; \ 30134 (cd $(HOST_SUBDIR)/gnattools && \ 30135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30137 "RANLIB=$${RANLIB}" \ 30138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30139 install-info) \ 30140 || exit 1 30141 30142 @endif gnattools 30143 30144 .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools 30145 maybe-install-pdf-gnattools: 30146 @if gnattools 30147 maybe-install-pdf-gnattools: install-pdf-gnattools 30148 30149 install-pdf-gnattools: \ 30150 configure-gnattools \ 30151 pdf-gnattools 30152 @: $(MAKE); $(unstage) 30153 @[ -f ./gnattools/Makefile ] || exit 0; \ 30154 r=`${PWD_COMMAND}`; export r; \ 30155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30156 $(HOST_EXPORTS) \ 30157 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30159 done; \ 30160 echo "Doing install-pdf in gnattools" ; \ 30161 (cd $(HOST_SUBDIR)/gnattools && \ 30162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30164 "RANLIB=$${RANLIB}" \ 30165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30166 install-pdf) \ 30167 || exit 1 30168 30169 @endif gnattools 30170 30171 .PHONY: maybe-install-html-gnattools install-html-gnattools 30172 maybe-install-html-gnattools: 30173 @if gnattools 30174 maybe-install-html-gnattools: install-html-gnattools 30175 30176 install-html-gnattools: \ 30177 configure-gnattools \ 30178 html-gnattools 30179 @: $(MAKE); $(unstage) 30180 @[ -f ./gnattools/Makefile ] || exit 0; \ 30181 r=`${PWD_COMMAND}`; export r; \ 30182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30183 $(HOST_EXPORTS) \ 30184 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30186 done; \ 30187 echo "Doing install-html in gnattools" ; \ 30188 (cd $(HOST_SUBDIR)/gnattools && \ 30189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30191 "RANLIB=$${RANLIB}" \ 30192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30193 install-html) \ 30194 || exit 1 30195 30196 @endif gnattools 30197 30198 .PHONY: maybe-installcheck-gnattools installcheck-gnattools 30199 maybe-installcheck-gnattools: 30200 @if gnattools 30201 maybe-installcheck-gnattools: installcheck-gnattools 30202 30203 installcheck-gnattools: \ 30204 configure-gnattools 30205 @: $(MAKE); $(unstage) 30206 @[ -f ./gnattools/Makefile ] || exit 0; \ 30207 r=`${PWD_COMMAND}`; export r; \ 30208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30209 $(HOST_EXPORTS) \ 30210 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30212 done; \ 30213 echo "Doing installcheck in gnattools" ; \ 30214 (cd $(HOST_SUBDIR)/gnattools && \ 30215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30217 "RANLIB=$${RANLIB}" \ 30218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30219 installcheck) \ 30220 || exit 1 30221 30222 @endif gnattools 30223 30224 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools 30225 maybe-mostlyclean-gnattools: 30226 @if gnattools 30227 maybe-mostlyclean-gnattools: mostlyclean-gnattools 30228 30229 mostlyclean-gnattools: 30230 @: $(MAKE); $(unstage) 30231 @[ -f ./gnattools/Makefile ] || exit 0; \ 30232 r=`${PWD_COMMAND}`; export r; \ 30233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30234 $(HOST_EXPORTS) \ 30235 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30237 done; \ 30238 echo "Doing mostlyclean in gnattools" ; \ 30239 (cd $(HOST_SUBDIR)/gnattools && \ 30240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30242 "RANLIB=$${RANLIB}" \ 30243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30244 mostlyclean) \ 30245 || exit 1 30246 30247 @endif gnattools 30248 30249 .PHONY: maybe-clean-gnattools clean-gnattools 30250 maybe-clean-gnattools: 30251 @if gnattools 30252 maybe-clean-gnattools: clean-gnattools 30253 30254 clean-gnattools: 30255 @: $(MAKE); $(unstage) 30256 @[ -f ./gnattools/Makefile ] || exit 0; \ 30257 r=`${PWD_COMMAND}`; export r; \ 30258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30259 $(HOST_EXPORTS) \ 30260 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30262 done; \ 30263 echo "Doing clean in gnattools" ; \ 30264 (cd $(HOST_SUBDIR)/gnattools && \ 30265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30267 "RANLIB=$${RANLIB}" \ 30268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30269 clean) \ 30270 || exit 1 30271 30272 @endif gnattools 30273 30274 .PHONY: maybe-distclean-gnattools distclean-gnattools 30275 maybe-distclean-gnattools: 30276 @if gnattools 30277 maybe-distclean-gnattools: distclean-gnattools 30278 30279 distclean-gnattools: 30280 @: $(MAKE); $(unstage) 30281 @[ -f ./gnattools/Makefile ] || exit 0; \ 30282 r=`${PWD_COMMAND}`; export r; \ 30283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30284 $(HOST_EXPORTS) \ 30285 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30287 done; \ 30288 echo "Doing distclean in gnattools" ; \ 30289 (cd $(HOST_SUBDIR)/gnattools && \ 30290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30292 "RANLIB=$${RANLIB}" \ 30293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30294 distclean) \ 30295 || exit 1 30296 30297 @endif gnattools 30298 30299 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools 30300 maybe-maintainer-clean-gnattools: 30301 @if gnattools 30302 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools 30303 30304 maintainer-clean-gnattools: 30305 @: $(MAKE); $(unstage) 30306 @[ -f ./gnattools/Makefile ] || exit 0; \ 30307 r=`${PWD_COMMAND}`; export r; \ 30308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30309 $(HOST_EXPORTS) \ 30310 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30312 done; \ 30313 echo "Doing maintainer-clean in gnattools" ; \ 30314 (cd $(HOST_SUBDIR)/gnattools && \ 30315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30317 "RANLIB=$${RANLIB}" \ 30318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30319 maintainer-clean) \ 30320 || exit 1 30321 30322 @endif gnattools 30323 30324 30325 30326 .PHONY: configure-lto-plugin maybe-configure-lto-plugin 30327 maybe-configure-lto-plugin: 30328 @if gcc-bootstrap 30329 configure-lto-plugin: stage_current 30330 @endif gcc-bootstrap 30331 @if lto-plugin 30332 maybe-configure-lto-plugin: configure-lto-plugin 30333 configure-lto-plugin: 30334 @r=`${PWD_COMMAND}`; export r; \ 30335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30336 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \ 30337 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \ 30338 $(HOST_EXPORTS) \ 30339 echo Configuring in $(HOST_SUBDIR)/lto-plugin; \ 30340 cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \ 30341 case $(srcdir) in \ 30342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 30343 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \ 30344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 30345 esac; \ 30346 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \ 30347 libsrcdir="$$s/lto-plugin"; \ 30348 $(SHELL) $${libsrcdir}/configure \ 30349 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 30350 --target=${target_alias} $${srcdiroption} --enable-shared \ 30351 || exit 1 30352 @endif lto-plugin 30353 30354 30355 30356 .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin 30357 maybe-configure-stage1-lto-plugin: 30358 @if lto-plugin-bootstrap 30359 maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin 30360 configure-stage1-lto-plugin: 30361 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 30362 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin 30363 @r=`${PWD_COMMAND}`; export r; \ 30364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30365 TFLAGS="$(STAGE1_TFLAGS)"; \ 30366 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \ 30367 $(HOST_EXPORTS) \ 30368 CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ 30369 CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ 30370 LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ 30371 echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \ 30372 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \ 30373 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \ 30374 case $(srcdir) in \ 30375 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 30376 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \ 30377 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 30378 esac; \ 30379 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \ 30380 libsrcdir="$$s/lto-plugin"; \ 30381 $(SHELL) $${libsrcdir}/configure \ 30382 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 30383 --target=${target_alias} $${srcdiroption} \ 30384 $(STAGE1_CONFIGURE_FLAGS) \ 30385 --enable-shared 30386 @endif lto-plugin-bootstrap 30387 30388 .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin 30389 maybe-configure-stage2-lto-plugin: 30390 @if lto-plugin-bootstrap 30391 maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin 30392 configure-stage2-lto-plugin: 30393 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 30394 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin 30395 @r=`${PWD_COMMAND}`; export r; \ 30396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30397 TFLAGS="$(STAGE2_TFLAGS)"; \ 30398 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \ 30399 $(HOST_EXPORTS) \ 30400 $(POSTSTAGE1_HOST_EXPORTS) \ 30401 CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ 30402 CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ 30403 LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ 30404 echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \ 30405 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \ 30406 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \ 30407 case $(srcdir) in \ 30408 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 30409 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \ 30410 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 30411 esac; \ 30412 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \ 30413 libsrcdir="$$s/lto-plugin"; \ 30414 $(SHELL) $${libsrcdir}/configure \ 30415 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 30416 --target=${target_alias} $${srcdiroption} \ 30417 --with-build-libsubdir=$(HOST_SUBDIR) \ 30418 $(STAGE2_CONFIGURE_FLAGS) \ 30419 --enable-shared 30420 @endif lto-plugin-bootstrap 30421 30422 .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin 30423 maybe-configure-stage3-lto-plugin: 30424 @if lto-plugin-bootstrap 30425 maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin 30426 configure-stage3-lto-plugin: 30427 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 30428 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin 30429 @r=`${PWD_COMMAND}`; export r; \ 30430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30431 TFLAGS="$(STAGE3_TFLAGS)"; \ 30432 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \ 30433 $(HOST_EXPORTS) \ 30434 $(POSTSTAGE1_HOST_EXPORTS) \ 30435 CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ 30436 CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ 30437 LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ 30438 echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \ 30439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \ 30440 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \ 30441 case $(srcdir) in \ 30442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 30443 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \ 30444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 30445 esac; \ 30446 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \ 30447 libsrcdir="$$s/lto-plugin"; \ 30448 $(SHELL) $${libsrcdir}/configure \ 30449 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 30450 --target=${target_alias} $${srcdiroption} \ 30451 --with-build-libsubdir=$(HOST_SUBDIR) \ 30452 $(STAGE3_CONFIGURE_FLAGS) \ 30453 --enable-shared 30454 @endif lto-plugin-bootstrap 30455 30456 .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin 30457 maybe-configure-stage4-lto-plugin: 30458 @if lto-plugin-bootstrap 30459 maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin 30460 configure-stage4-lto-plugin: 30461 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 30462 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin 30463 @r=`${PWD_COMMAND}`; export r; \ 30464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30465 TFLAGS="$(STAGE4_TFLAGS)"; \ 30466 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \ 30467 $(HOST_EXPORTS) \ 30468 $(POSTSTAGE1_HOST_EXPORTS) \ 30469 CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ 30470 CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ 30471 LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ 30472 echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \ 30473 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \ 30474 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \ 30475 case $(srcdir) in \ 30476 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 30477 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \ 30478 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 30479 esac; \ 30480 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \ 30481 libsrcdir="$$s/lto-plugin"; \ 30482 $(SHELL) $${libsrcdir}/configure \ 30483 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 30484 --target=${target_alias} $${srcdiroption} \ 30485 --with-build-libsubdir=$(HOST_SUBDIR) \ 30486 $(STAGE4_CONFIGURE_FLAGS) \ 30487 --enable-shared 30488 @endif lto-plugin-bootstrap 30489 30490 .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin 30491 maybe-configure-stageprofile-lto-plugin: 30492 @if lto-plugin-bootstrap 30493 maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin 30494 configure-stageprofile-lto-plugin: 30495 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 30496 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin 30497 @r=`${PWD_COMMAND}`; export r; \ 30498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30499 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 30500 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \ 30501 $(HOST_EXPORTS) \ 30502 $(POSTSTAGE1_HOST_EXPORTS) \ 30503 CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ 30504 CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ 30505 LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ 30506 echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \ 30507 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \ 30508 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \ 30509 case $(srcdir) in \ 30510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 30511 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \ 30512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 30513 esac; \ 30514 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \ 30515 libsrcdir="$$s/lto-plugin"; \ 30516 $(SHELL) $${libsrcdir}/configure \ 30517 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 30518 --target=${target_alias} $${srcdiroption} \ 30519 --with-build-libsubdir=$(HOST_SUBDIR) \ 30520 $(STAGEprofile_CONFIGURE_FLAGS) \ 30521 --enable-shared 30522 @endif lto-plugin-bootstrap 30523 30524 .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin 30525 maybe-configure-stagefeedback-lto-plugin: 30526 @if lto-plugin-bootstrap 30527 maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin 30528 configure-stagefeedback-lto-plugin: 30529 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 30530 @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin 30531 @r=`${PWD_COMMAND}`; export r; \ 30532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30533 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 30534 test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \ 30535 $(HOST_EXPORTS) \ 30536 $(POSTSTAGE1_HOST_EXPORTS) \ 30537 CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ 30538 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ 30539 LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ 30540 echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \ 30541 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \ 30542 cd $(HOST_SUBDIR)/lto-plugin || exit 1; \ 30543 case $(srcdir) in \ 30544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 30545 *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \ 30546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 30547 esac; \ 30548 srcdiroption="--srcdir=$${topdir}/lto-plugin"; \ 30549 libsrcdir="$$s/lto-plugin"; \ 30550 $(SHELL) $${libsrcdir}/configure \ 30551 $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ 30552 --target=${target_alias} $${srcdiroption} \ 30553 --with-build-libsubdir=$(HOST_SUBDIR) \ 30554 $(STAGEfeedback_CONFIGURE_FLAGS) \ 30555 --enable-shared 30556 @endif lto-plugin-bootstrap 30557 30558 30559 30560 30561 30562 .PHONY: all-lto-plugin maybe-all-lto-plugin 30563 maybe-all-lto-plugin: 30564 @if gcc-bootstrap 30565 all-lto-plugin: stage_current 30566 @endif gcc-bootstrap 30567 @if lto-plugin 30568 TARGET-lto-plugin=all 30569 maybe-all-lto-plugin: all-lto-plugin 30570 all-lto-plugin: configure-lto-plugin 30571 @r=`${PWD_COMMAND}`; export r; \ 30572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30573 $(HOST_EXPORTS) \ 30574 (cd $(HOST_SUBDIR)/lto-plugin && \ 30575 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \ 30576 $(TARGET-lto-plugin)) 30577 @endif lto-plugin 30578 30579 30580 30581 .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin 30582 .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin 30583 maybe-all-stage1-lto-plugin: 30584 maybe-clean-stage1-lto-plugin: 30585 @if lto-plugin-bootstrap 30586 maybe-all-stage1-lto-plugin: all-stage1-lto-plugin 30587 all-stage1: all-stage1-lto-plugin 30588 TARGET-stage1-lto-plugin = $(TARGET-lto-plugin) 30589 all-stage1-lto-plugin: configure-stage1-lto-plugin 30590 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 30591 @r=`${PWD_COMMAND}`; export r; \ 30592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30593 TFLAGS="$(STAGE1_TFLAGS)"; \ 30594 $(HOST_EXPORTS) \ 30595 cd $(HOST_SUBDIR)/lto-plugin && \ 30596 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 30597 CFLAGS="$(STAGE1_CFLAGS)" \ 30598 CXXFLAGS="$(STAGE1_CXXFLAGS)" \ 30599 LIBCFLAGS="$(LIBCFLAGS)" \ 30600 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 30601 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 30602 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 30603 $(EXTRA_HOST_FLAGS) \ 30604 $(STAGE1_FLAGS_TO_PASS) \ 30605 TFLAGS="$(STAGE1_TFLAGS)" \ 30606 $(TARGET-stage1-lto-plugin) 30607 30608 maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin 30609 clean-stage1: clean-stage1-lto-plugin 30610 clean-stage1-lto-plugin: 30611 @if [ $(current_stage) = stage1 ]; then \ 30612 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \ 30613 else \ 30614 [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \ 30615 $(MAKE) stage1-start; \ 30616 fi; \ 30617 cd $(HOST_SUBDIR)/lto-plugin && \ 30618 $(MAKE) $(EXTRA_HOST_FLAGS) \ 30619 $(STAGE1_FLAGS_TO_PASS) clean 30620 @endif lto-plugin-bootstrap 30621 30622 30623 .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin 30624 .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin 30625 maybe-all-stage2-lto-plugin: 30626 maybe-clean-stage2-lto-plugin: 30627 @if lto-plugin-bootstrap 30628 maybe-all-stage2-lto-plugin: all-stage2-lto-plugin 30629 all-stage2: all-stage2-lto-plugin 30630 TARGET-stage2-lto-plugin = $(TARGET-lto-plugin) 30631 all-stage2-lto-plugin: configure-stage2-lto-plugin 30632 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 30633 @r=`${PWD_COMMAND}`; export r; \ 30634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30635 TFLAGS="$(STAGE2_TFLAGS)"; \ 30636 $(HOST_EXPORTS) \ 30637 $(POSTSTAGE1_HOST_EXPORTS) \ 30638 cd $(HOST_SUBDIR)/lto-plugin && \ 30639 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 30640 CFLAGS="$(STAGE2_CFLAGS)" \ 30641 CXXFLAGS="$(STAGE2_CXXFLAGS)" \ 30642 LIBCFLAGS="$(STAGE2_CFLAGS)" \ 30643 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 30644 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 30645 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 30646 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 30647 TFLAGS="$(STAGE2_TFLAGS)" \ 30648 $(TARGET-stage2-lto-plugin) 30649 30650 maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin 30651 clean-stage2: clean-stage2-lto-plugin 30652 clean-stage2-lto-plugin: 30653 @if [ $(current_stage) = stage2 ]; then \ 30654 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \ 30655 else \ 30656 [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \ 30657 $(MAKE) stage2-start; \ 30658 fi; \ 30659 cd $(HOST_SUBDIR)/lto-plugin && \ 30660 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 30661 @endif lto-plugin-bootstrap 30662 30663 30664 .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin 30665 .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin 30666 maybe-all-stage3-lto-plugin: 30667 maybe-clean-stage3-lto-plugin: 30668 @if lto-plugin-bootstrap 30669 maybe-all-stage3-lto-plugin: all-stage3-lto-plugin 30670 all-stage3: all-stage3-lto-plugin 30671 TARGET-stage3-lto-plugin = $(TARGET-lto-plugin) 30672 all-stage3-lto-plugin: configure-stage3-lto-plugin 30673 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 30674 @r=`${PWD_COMMAND}`; export r; \ 30675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30676 TFLAGS="$(STAGE3_TFLAGS)"; \ 30677 $(HOST_EXPORTS) \ 30678 $(POSTSTAGE1_HOST_EXPORTS) \ 30679 cd $(HOST_SUBDIR)/lto-plugin && \ 30680 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 30681 CFLAGS="$(STAGE3_CFLAGS)" \ 30682 CXXFLAGS="$(STAGE3_CXXFLAGS)" \ 30683 LIBCFLAGS="$(STAGE3_CFLAGS)" \ 30684 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 30685 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 30686 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 30687 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 30688 TFLAGS="$(STAGE3_TFLAGS)" \ 30689 $(TARGET-stage3-lto-plugin) 30690 30691 maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin 30692 clean-stage3: clean-stage3-lto-plugin 30693 clean-stage3-lto-plugin: 30694 @if [ $(current_stage) = stage3 ]; then \ 30695 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \ 30696 else \ 30697 [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \ 30698 $(MAKE) stage3-start; \ 30699 fi; \ 30700 cd $(HOST_SUBDIR)/lto-plugin && \ 30701 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 30702 @endif lto-plugin-bootstrap 30703 30704 30705 .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin 30706 .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin 30707 maybe-all-stage4-lto-plugin: 30708 maybe-clean-stage4-lto-plugin: 30709 @if lto-plugin-bootstrap 30710 maybe-all-stage4-lto-plugin: all-stage4-lto-plugin 30711 all-stage4: all-stage4-lto-plugin 30712 TARGET-stage4-lto-plugin = $(TARGET-lto-plugin) 30713 all-stage4-lto-plugin: configure-stage4-lto-plugin 30714 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 30715 @r=`${PWD_COMMAND}`; export r; \ 30716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30717 TFLAGS="$(STAGE4_TFLAGS)"; \ 30718 $(HOST_EXPORTS) \ 30719 $(POSTSTAGE1_HOST_EXPORTS) \ 30720 cd $(HOST_SUBDIR)/lto-plugin && \ 30721 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 30722 CFLAGS="$(STAGE4_CFLAGS)" \ 30723 CXXFLAGS="$(STAGE4_CXXFLAGS)" \ 30724 LIBCFLAGS="$(STAGE4_CFLAGS)" \ 30725 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 30726 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 30727 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 30728 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 30729 TFLAGS="$(STAGE4_TFLAGS)" \ 30730 $(TARGET-stage4-lto-plugin) 30731 30732 maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin 30733 clean-stage4: clean-stage4-lto-plugin 30734 clean-stage4-lto-plugin: 30735 @if [ $(current_stage) = stage4 ]; then \ 30736 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \ 30737 else \ 30738 [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \ 30739 $(MAKE) stage4-start; \ 30740 fi; \ 30741 cd $(HOST_SUBDIR)/lto-plugin && \ 30742 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 30743 @endif lto-plugin-bootstrap 30744 30745 30746 .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin 30747 .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin 30748 maybe-all-stageprofile-lto-plugin: 30749 maybe-clean-stageprofile-lto-plugin: 30750 @if lto-plugin-bootstrap 30751 maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin 30752 all-stageprofile: all-stageprofile-lto-plugin 30753 TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin) 30754 all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin 30755 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 30756 @r=`${PWD_COMMAND}`; export r; \ 30757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30758 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 30759 $(HOST_EXPORTS) \ 30760 $(POSTSTAGE1_HOST_EXPORTS) \ 30761 cd $(HOST_SUBDIR)/lto-plugin && \ 30762 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 30763 CFLAGS="$(STAGEprofile_CFLAGS)" \ 30764 CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ 30765 LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ 30766 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 30767 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 30768 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 30769 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 30770 TFLAGS="$(STAGEprofile_TFLAGS)" \ 30771 $(TARGET-stageprofile-lto-plugin) 30772 30773 maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin 30774 clean-stageprofile: clean-stageprofile-lto-plugin 30775 clean-stageprofile-lto-plugin: 30776 @if [ $(current_stage) = stageprofile ]; then \ 30777 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \ 30778 else \ 30779 [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \ 30780 $(MAKE) stageprofile-start; \ 30781 fi; \ 30782 cd $(HOST_SUBDIR)/lto-plugin && \ 30783 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 30784 @endif lto-plugin-bootstrap 30785 30786 30787 .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin 30788 .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin 30789 maybe-all-stagefeedback-lto-plugin: 30790 maybe-clean-stagefeedback-lto-plugin: 30791 @if lto-plugin-bootstrap 30792 maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin 30793 all-stagefeedback: all-stagefeedback-lto-plugin 30794 TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin) 30795 all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin 30796 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 30797 @r=`${PWD_COMMAND}`; export r; \ 30798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30799 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 30800 $(HOST_EXPORTS) \ 30801 $(POSTSTAGE1_HOST_EXPORTS) \ 30802 cd $(HOST_SUBDIR)/lto-plugin && \ 30803 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 30804 CFLAGS="$(STAGEfeedback_CFLAGS)" \ 30805 CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ 30806 LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ 30807 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 30808 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 30809 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 30810 $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ 30811 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 30812 $(TARGET-stagefeedback-lto-plugin) 30813 30814 maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin 30815 clean-stagefeedback: clean-stagefeedback-lto-plugin 30816 clean-stagefeedback-lto-plugin: 30817 @if [ $(current_stage) = stagefeedback ]; then \ 30818 [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \ 30819 else \ 30820 [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \ 30821 $(MAKE) stagefeedback-start; \ 30822 fi; \ 30823 cd $(HOST_SUBDIR)/lto-plugin && \ 30824 $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean 30825 @endif lto-plugin-bootstrap 30826 30827 30828 30829 30830 30831 .PHONY: check-lto-plugin maybe-check-lto-plugin 30832 maybe-check-lto-plugin: 30833 @if lto-plugin 30834 maybe-check-lto-plugin: check-lto-plugin 30835 30836 check-lto-plugin: 30837 @: $(MAKE); $(unstage) 30838 @r=`${PWD_COMMAND}`; export r; \ 30839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30840 $(HOST_EXPORTS) \ 30841 (cd $(HOST_SUBDIR)/lto-plugin && \ 30842 $(MAKE) $(FLAGS_TO_PASS) check) 30843 30844 @endif lto-plugin 30845 30846 .PHONY: install-lto-plugin maybe-install-lto-plugin 30847 maybe-install-lto-plugin: 30848 @if lto-plugin 30849 maybe-install-lto-plugin: install-lto-plugin 30850 30851 install-lto-plugin: installdirs 30852 @: $(MAKE); $(unstage) 30853 @r=`${PWD_COMMAND}`; export r; \ 30854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30855 $(HOST_EXPORTS) \ 30856 (cd $(HOST_SUBDIR)/lto-plugin && \ 30857 $(MAKE) $(FLAGS_TO_PASS) install) 30858 30859 @endif lto-plugin 30860 30861 .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin 30862 maybe-install-strip-lto-plugin: 30863 @if lto-plugin 30864 maybe-install-strip-lto-plugin: install-strip-lto-plugin 30865 30866 install-strip-lto-plugin: installdirs 30867 @: $(MAKE); $(unstage) 30868 @r=`${PWD_COMMAND}`; export r; \ 30869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30870 $(HOST_EXPORTS) \ 30871 (cd $(HOST_SUBDIR)/lto-plugin && \ 30872 $(MAKE) $(FLAGS_TO_PASS) install-strip) 30873 30874 @endif lto-plugin 30875 30876 # Other targets (info, dvi, pdf, etc.) 30877 30878 .PHONY: maybe-info-lto-plugin info-lto-plugin 30879 maybe-info-lto-plugin: 30880 @if lto-plugin 30881 maybe-info-lto-plugin: info-lto-plugin 30882 30883 info-lto-plugin: \ 30884 configure-lto-plugin 30885 @[ -f ./lto-plugin/Makefile ] || exit 0; \ 30886 r=`${PWD_COMMAND}`; export r; \ 30887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30888 $(HOST_EXPORTS) \ 30889 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30891 done; \ 30892 echo "Doing info in lto-plugin" ; \ 30893 (cd $(HOST_SUBDIR)/lto-plugin && \ 30894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30896 "RANLIB=$${RANLIB}" \ 30897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30898 info) \ 30899 || exit 1 30900 30901 @endif lto-plugin 30902 30903 .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin 30904 maybe-dvi-lto-plugin: 30905 @if lto-plugin 30906 maybe-dvi-lto-plugin: dvi-lto-plugin 30907 30908 dvi-lto-plugin: \ 30909 configure-lto-plugin 30910 @[ -f ./lto-plugin/Makefile ] || exit 0; \ 30911 r=`${PWD_COMMAND}`; export r; \ 30912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30913 $(HOST_EXPORTS) \ 30914 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30916 done; \ 30917 echo "Doing dvi in lto-plugin" ; \ 30918 (cd $(HOST_SUBDIR)/lto-plugin && \ 30919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30921 "RANLIB=$${RANLIB}" \ 30922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30923 dvi) \ 30924 || exit 1 30925 30926 @endif lto-plugin 30927 30928 .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin 30929 maybe-pdf-lto-plugin: 30930 @if lto-plugin 30931 maybe-pdf-lto-plugin: pdf-lto-plugin 30932 30933 pdf-lto-plugin: \ 30934 configure-lto-plugin 30935 @[ -f ./lto-plugin/Makefile ] || exit 0; \ 30936 r=`${PWD_COMMAND}`; export r; \ 30937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30938 $(HOST_EXPORTS) \ 30939 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30941 done; \ 30942 echo "Doing pdf in lto-plugin" ; \ 30943 (cd $(HOST_SUBDIR)/lto-plugin && \ 30944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30946 "RANLIB=$${RANLIB}" \ 30947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30948 pdf) \ 30949 || exit 1 30950 30951 @endif lto-plugin 30952 30953 .PHONY: maybe-html-lto-plugin html-lto-plugin 30954 maybe-html-lto-plugin: 30955 @if lto-plugin 30956 maybe-html-lto-plugin: html-lto-plugin 30957 30958 html-lto-plugin: \ 30959 configure-lto-plugin 30960 @[ -f ./lto-plugin/Makefile ] || exit 0; \ 30961 r=`${PWD_COMMAND}`; export r; \ 30962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30963 $(HOST_EXPORTS) \ 30964 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30966 done; \ 30967 echo "Doing html in lto-plugin" ; \ 30968 (cd $(HOST_SUBDIR)/lto-plugin && \ 30969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30971 "RANLIB=$${RANLIB}" \ 30972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30973 html) \ 30974 || exit 1 30975 30976 @endif lto-plugin 30977 30978 .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin 30979 maybe-TAGS-lto-plugin: 30980 @if lto-plugin 30981 maybe-TAGS-lto-plugin: TAGS-lto-plugin 30982 30983 TAGS-lto-plugin: \ 30984 configure-lto-plugin 30985 @[ -f ./lto-plugin/Makefile ] || exit 0; \ 30986 r=`${PWD_COMMAND}`; export r; \ 30987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 30988 $(HOST_EXPORTS) \ 30989 for flag in $(EXTRA_HOST_FLAGS) ; do \ 30990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 30991 done; \ 30992 echo "Doing TAGS in lto-plugin" ; \ 30993 (cd $(HOST_SUBDIR)/lto-plugin && \ 30994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 30995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 30996 "RANLIB=$${RANLIB}" \ 30997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 30998 TAGS) \ 30999 || exit 1 31000 31001 @endif lto-plugin 31002 31003 .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin 31004 maybe-install-info-lto-plugin: 31005 @if lto-plugin 31006 maybe-install-info-lto-plugin: install-info-lto-plugin 31007 31008 install-info-lto-plugin: \ 31009 configure-lto-plugin \ 31010 info-lto-plugin 31011 @[ -f ./lto-plugin/Makefile ] || exit 0; \ 31012 r=`${PWD_COMMAND}`; export r; \ 31013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31014 $(HOST_EXPORTS) \ 31015 for flag in $(EXTRA_HOST_FLAGS) ; do \ 31016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 31017 done; \ 31018 echo "Doing install-info in lto-plugin" ; \ 31019 (cd $(HOST_SUBDIR)/lto-plugin && \ 31020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 31021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 31022 "RANLIB=$${RANLIB}" \ 31023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 31024 install-info) \ 31025 || exit 1 31026 31027 @endif lto-plugin 31028 31029 .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin 31030 maybe-install-pdf-lto-plugin: 31031 @if lto-plugin 31032 maybe-install-pdf-lto-plugin: install-pdf-lto-plugin 31033 31034 install-pdf-lto-plugin: \ 31035 configure-lto-plugin \ 31036 pdf-lto-plugin 31037 @[ -f ./lto-plugin/Makefile ] || exit 0; \ 31038 r=`${PWD_COMMAND}`; export r; \ 31039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31040 $(HOST_EXPORTS) \ 31041 for flag in $(EXTRA_HOST_FLAGS) ; do \ 31042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 31043 done; \ 31044 echo "Doing install-pdf in lto-plugin" ; \ 31045 (cd $(HOST_SUBDIR)/lto-plugin && \ 31046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 31047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 31048 "RANLIB=$${RANLIB}" \ 31049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 31050 install-pdf) \ 31051 || exit 1 31052 31053 @endif lto-plugin 31054 31055 .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin 31056 maybe-install-html-lto-plugin: 31057 @if lto-plugin 31058 maybe-install-html-lto-plugin: install-html-lto-plugin 31059 31060 install-html-lto-plugin: \ 31061 configure-lto-plugin \ 31062 html-lto-plugin 31063 @[ -f ./lto-plugin/Makefile ] || exit 0; \ 31064 r=`${PWD_COMMAND}`; export r; \ 31065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31066 $(HOST_EXPORTS) \ 31067 for flag in $(EXTRA_HOST_FLAGS) ; do \ 31068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 31069 done; \ 31070 echo "Doing install-html in lto-plugin" ; \ 31071 (cd $(HOST_SUBDIR)/lto-plugin && \ 31072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 31073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 31074 "RANLIB=$${RANLIB}" \ 31075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 31076 install-html) \ 31077 || exit 1 31078 31079 @endif lto-plugin 31080 31081 .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin 31082 maybe-installcheck-lto-plugin: 31083 @if lto-plugin 31084 maybe-installcheck-lto-plugin: installcheck-lto-plugin 31085 31086 installcheck-lto-plugin: \ 31087 configure-lto-plugin 31088 @[ -f ./lto-plugin/Makefile ] || exit 0; \ 31089 r=`${PWD_COMMAND}`; export r; \ 31090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31091 $(HOST_EXPORTS) \ 31092 for flag in $(EXTRA_HOST_FLAGS) ; do \ 31093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 31094 done; \ 31095 echo "Doing installcheck in lto-plugin" ; \ 31096 (cd $(HOST_SUBDIR)/lto-plugin && \ 31097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 31098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 31099 "RANLIB=$${RANLIB}" \ 31100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 31101 installcheck) \ 31102 || exit 1 31103 31104 @endif lto-plugin 31105 31106 .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin 31107 maybe-mostlyclean-lto-plugin: 31108 @if lto-plugin 31109 maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin 31110 31111 mostlyclean-lto-plugin: 31112 @[ -f ./lto-plugin/Makefile ] || exit 0; \ 31113 r=`${PWD_COMMAND}`; export r; \ 31114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31115 $(HOST_EXPORTS) \ 31116 for flag in $(EXTRA_HOST_FLAGS) ; do \ 31117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 31118 done; \ 31119 echo "Doing mostlyclean in lto-plugin" ; \ 31120 (cd $(HOST_SUBDIR)/lto-plugin && \ 31121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 31122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 31123 "RANLIB=$${RANLIB}" \ 31124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 31125 mostlyclean) \ 31126 || exit 1 31127 31128 @endif lto-plugin 31129 31130 .PHONY: maybe-clean-lto-plugin clean-lto-plugin 31131 maybe-clean-lto-plugin: 31132 @if lto-plugin 31133 maybe-clean-lto-plugin: clean-lto-plugin 31134 31135 clean-lto-plugin: 31136 @[ -f ./lto-plugin/Makefile ] || exit 0; \ 31137 r=`${PWD_COMMAND}`; export r; \ 31138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31139 $(HOST_EXPORTS) \ 31140 for flag in $(EXTRA_HOST_FLAGS) ; do \ 31141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 31142 done; \ 31143 echo "Doing clean in lto-plugin" ; \ 31144 (cd $(HOST_SUBDIR)/lto-plugin && \ 31145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 31146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 31147 "RANLIB=$${RANLIB}" \ 31148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 31149 clean) \ 31150 || exit 1 31151 31152 @endif lto-plugin 31153 31154 .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin 31155 maybe-distclean-lto-plugin: 31156 @if lto-plugin 31157 maybe-distclean-lto-plugin: distclean-lto-plugin 31158 31159 distclean-lto-plugin: 31160 @[ -f ./lto-plugin/Makefile ] || exit 0; \ 31161 r=`${PWD_COMMAND}`; export r; \ 31162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31163 $(HOST_EXPORTS) \ 31164 for flag in $(EXTRA_HOST_FLAGS) ; do \ 31165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 31166 done; \ 31167 echo "Doing distclean in lto-plugin" ; \ 31168 (cd $(HOST_SUBDIR)/lto-plugin && \ 31169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 31170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 31171 "RANLIB=$${RANLIB}" \ 31172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 31173 distclean) \ 31174 || exit 1 31175 31176 @endif lto-plugin 31177 31178 .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin 31179 maybe-maintainer-clean-lto-plugin: 31180 @if lto-plugin 31181 maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin 31182 31183 maintainer-clean-lto-plugin: 31184 @[ -f ./lto-plugin/Makefile ] || exit 0; \ 31185 r=`${PWD_COMMAND}`; export r; \ 31186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31187 $(HOST_EXPORTS) \ 31188 for flag in $(EXTRA_HOST_FLAGS) ; do \ 31189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 31190 done; \ 31191 echo "Doing maintainer-clean in lto-plugin" ; \ 31192 (cd $(HOST_SUBDIR)/lto-plugin && \ 31193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 31194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 31195 "RANLIB=$${RANLIB}" \ 31196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 31197 maintainer-clean) \ 31198 || exit 1 31199 31200 @endif lto-plugin 31201 31202 31203 31204 # --------------------------------------- 31205 # Modules which run on the target machine 31206 # --------------------------------------- 31207 31208 31209 31210 31211 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3 31212 maybe-configure-target-libstdc++-v3: 31213 @if gcc-bootstrap 31214 configure-target-libstdc++-v3: stage_current 31215 @endif gcc-bootstrap 31216 @if target-libstdc++-v3 31217 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3 31218 configure-target-libstdc++-v3: 31219 @r=`${PWD_COMMAND}`; export r; \ 31220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31221 echo "Checking multilib configuration for libstdc++-v3..."; \ 31222 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ 31223 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ 31224 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ 31225 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ 31226 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ 31227 else \ 31228 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ 31229 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ 31230 fi; \ 31231 else \ 31232 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ 31233 fi; \ 31234 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ 31235 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ 31236 $(RAW_CXX_TARGET_EXPORTS) \ 31237 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \ 31238 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \ 31239 case $(srcdir) in \ 31240 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 31241 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \ 31242 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 31243 esac; \ 31244 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ 31245 libsrcdir="$$s/libstdc++-v3"; \ 31246 rm -f no-such-file || : ; \ 31247 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 31248 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 31249 --target=${target_alias} $${srcdiroption} \ 31250 || exit 1 31251 @endif target-libstdc++-v3 31252 31253 31254 31255 .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3 31256 maybe-configure-stage1-target-libstdc++-v3: 31257 @if target-libstdc++-v3-bootstrap 31258 maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3 31259 configure-stage1-target-libstdc++-v3: 31260 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 31261 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 31262 @r=`${PWD_COMMAND}`; export r; \ 31263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31264 TFLAGS="$(STAGE1_TFLAGS)"; \ 31265 echo "Checking multilib configuration for libstdc++-v3..."; \ 31266 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ 31267 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ 31268 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ 31269 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ 31270 else \ 31271 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ 31272 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ 31273 fi; \ 31274 else \ 31275 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ 31276 fi; \ 31277 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ 31278 $(RAW_CXX_TARGET_EXPORTS) \ 31279 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 31280 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 31281 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 31282 echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \ 31283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ 31284 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \ 31285 case $(srcdir) in \ 31286 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 31287 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \ 31288 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 31289 esac; \ 31290 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ 31291 libsrcdir="$$s/libstdc++-v3"; \ 31292 $(SHELL) $${libsrcdir}/configure \ 31293 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 31294 --target=${target_alias} $${srcdiroption} \ 31295 $(STAGE1_CONFIGURE_FLAGS) 31296 @endif target-libstdc++-v3-bootstrap 31297 31298 .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3 31299 maybe-configure-stage2-target-libstdc++-v3: 31300 @if target-libstdc++-v3-bootstrap 31301 maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3 31302 configure-stage2-target-libstdc++-v3: 31303 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 31304 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 31305 @r=`${PWD_COMMAND}`; export r; \ 31306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31307 TFLAGS="$(STAGE2_TFLAGS)"; \ 31308 echo "Checking multilib configuration for libstdc++-v3..."; \ 31309 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ 31310 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ 31311 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ 31312 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ 31313 else \ 31314 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ 31315 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ 31316 fi; \ 31317 else \ 31318 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ 31319 fi; \ 31320 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ 31321 $(RAW_CXX_TARGET_EXPORTS) \ 31322 \ 31323 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 31324 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 31325 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 31326 echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \ 31327 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ 31328 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \ 31329 case $(srcdir) in \ 31330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 31331 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \ 31332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 31333 esac; \ 31334 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ 31335 libsrcdir="$$s/libstdc++-v3"; \ 31336 $(SHELL) $${libsrcdir}/configure \ 31337 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 31338 --target=${target_alias} $${srcdiroption} \ 31339 --with-build-libsubdir=$(HOST_SUBDIR) \ 31340 $(STAGE2_CONFIGURE_FLAGS) 31341 @endif target-libstdc++-v3-bootstrap 31342 31343 .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3 31344 maybe-configure-stage3-target-libstdc++-v3: 31345 @if target-libstdc++-v3-bootstrap 31346 maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3 31347 configure-stage3-target-libstdc++-v3: 31348 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 31349 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 31350 @r=`${PWD_COMMAND}`; export r; \ 31351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31352 TFLAGS="$(STAGE3_TFLAGS)"; \ 31353 echo "Checking multilib configuration for libstdc++-v3..."; \ 31354 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ 31355 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ 31356 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ 31357 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ 31358 else \ 31359 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ 31360 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ 31361 fi; \ 31362 else \ 31363 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ 31364 fi; \ 31365 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ 31366 $(RAW_CXX_TARGET_EXPORTS) \ 31367 \ 31368 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 31369 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 31370 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 31371 echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \ 31372 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ 31373 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \ 31374 case $(srcdir) in \ 31375 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 31376 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \ 31377 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 31378 esac; \ 31379 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ 31380 libsrcdir="$$s/libstdc++-v3"; \ 31381 $(SHELL) $${libsrcdir}/configure \ 31382 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 31383 --target=${target_alias} $${srcdiroption} \ 31384 --with-build-libsubdir=$(HOST_SUBDIR) \ 31385 $(STAGE3_CONFIGURE_FLAGS) 31386 @endif target-libstdc++-v3-bootstrap 31387 31388 .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3 31389 maybe-configure-stage4-target-libstdc++-v3: 31390 @if target-libstdc++-v3-bootstrap 31391 maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3 31392 configure-stage4-target-libstdc++-v3: 31393 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 31394 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 31395 @r=`${PWD_COMMAND}`; export r; \ 31396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31397 TFLAGS="$(STAGE4_TFLAGS)"; \ 31398 echo "Checking multilib configuration for libstdc++-v3..."; \ 31399 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ 31400 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ 31401 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ 31402 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ 31403 else \ 31404 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ 31405 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ 31406 fi; \ 31407 else \ 31408 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ 31409 fi; \ 31410 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ 31411 $(RAW_CXX_TARGET_EXPORTS) \ 31412 \ 31413 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 31414 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 31415 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 31416 echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \ 31417 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ 31418 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \ 31419 case $(srcdir) in \ 31420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 31421 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \ 31422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 31423 esac; \ 31424 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ 31425 libsrcdir="$$s/libstdc++-v3"; \ 31426 $(SHELL) $${libsrcdir}/configure \ 31427 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 31428 --target=${target_alias} $${srcdiroption} \ 31429 --with-build-libsubdir=$(HOST_SUBDIR) \ 31430 $(STAGE4_CONFIGURE_FLAGS) 31431 @endif target-libstdc++-v3-bootstrap 31432 31433 .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3 31434 maybe-configure-stageprofile-target-libstdc++-v3: 31435 @if target-libstdc++-v3-bootstrap 31436 maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3 31437 configure-stageprofile-target-libstdc++-v3: 31438 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 31439 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 31440 @r=`${PWD_COMMAND}`; export r; \ 31441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31442 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 31443 echo "Checking multilib configuration for libstdc++-v3..."; \ 31444 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ 31445 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ 31446 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ 31447 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ 31448 else \ 31449 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ 31450 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ 31451 fi; \ 31452 else \ 31453 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ 31454 fi; \ 31455 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ 31456 $(RAW_CXX_TARGET_EXPORTS) \ 31457 \ 31458 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 31459 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 31460 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 31461 echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \ 31462 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ 31463 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \ 31464 case $(srcdir) in \ 31465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 31466 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \ 31467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 31468 esac; \ 31469 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ 31470 libsrcdir="$$s/libstdc++-v3"; \ 31471 $(SHELL) $${libsrcdir}/configure \ 31472 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 31473 --target=${target_alias} $${srcdiroption} \ 31474 --with-build-libsubdir=$(HOST_SUBDIR) \ 31475 $(STAGEprofile_CONFIGURE_FLAGS) 31476 @endif target-libstdc++-v3-bootstrap 31477 31478 .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3 31479 maybe-configure-stagefeedback-target-libstdc++-v3: 31480 @if target-libstdc++-v3-bootstrap 31481 maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3 31482 configure-stagefeedback-target-libstdc++-v3: 31483 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 31484 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 31485 @r=`${PWD_COMMAND}`; export r; \ 31486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31487 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 31488 echo "Checking multilib configuration for libstdc++-v3..."; \ 31489 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \ 31490 if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ 31491 if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \ 31492 rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \ 31493 else \ 31494 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \ 31495 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ 31496 fi; \ 31497 else \ 31498 mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \ 31499 fi; \ 31500 test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \ 31501 $(RAW_CXX_TARGET_EXPORTS) \ 31502 \ 31503 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 31504 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 31505 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 31506 echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \ 31507 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \ 31508 cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \ 31509 case $(srcdir) in \ 31510 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 31511 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \ 31512 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 31513 esac; \ 31514 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \ 31515 libsrcdir="$$s/libstdc++-v3"; \ 31516 $(SHELL) $${libsrcdir}/configure \ 31517 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 31518 --target=${target_alias} $${srcdiroption} \ 31519 --with-build-libsubdir=$(HOST_SUBDIR) \ 31520 $(STAGEfeedback_CONFIGURE_FLAGS) 31521 @endif target-libstdc++-v3-bootstrap 31522 31523 31524 31525 31526 31527 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3 31528 maybe-all-target-libstdc++-v3: 31529 @if gcc-bootstrap 31530 all-target-libstdc++-v3: stage_current 31531 @endif gcc-bootstrap 31532 @if target-libstdc++-v3 31533 TARGET-target-libstdc++-v3=all 31534 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3 31535 all-target-libstdc++-v3: configure-target-libstdc++-v3 31536 @r=`${PWD_COMMAND}`; export r; \ 31537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31538 $(RAW_CXX_TARGET_EXPORTS) \ 31539 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31540 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 31541 $(TARGET-target-libstdc++-v3)) 31542 @endif target-libstdc++-v3 31543 31544 31545 31546 .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3 31547 .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3 31548 maybe-all-stage1-target-libstdc++-v3: 31549 maybe-clean-stage1-target-libstdc++-v3: 31550 @if target-libstdc++-v3-bootstrap 31551 maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3 31552 all-stage1: all-stage1-target-libstdc++-v3 31553 TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3) 31554 all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3 31555 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 31556 @r=`${PWD_COMMAND}`; export r; \ 31557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31558 TFLAGS="$(STAGE1_TFLAGS)"; \ 31559 $(RAW_CXX_TARGET_EXPORTS) \ 31560 cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31561 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 31562 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 31563 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 31564 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 31565 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 31566 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 31567 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 31568 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 31569 \ 31570 TFLAGS="$(STAGE1_TFLAGS)" \ 31571 $(TARGET-stage1-target-libstdc++-v3) 31572 31573 maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3 31574 clean-stage1: clean-stage1-target-libstdc++-v3 31575 clean-stage1-target-libstdc++-v3: 31576 @if [ $(current_stage) = stage1 ]; then \ 31577 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \ 31578 else \ 31579 [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \ 31580 $(MAKE) stage1-start; \ 31581 fi; \ 31582 cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31583 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 31584 clean 31585 @endif target-libstdc++-v3-bootstrap 31586 31587 31588 .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3 31589 .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3 31590 maybe-all-stage2-target-libstdc++-v3: 31591 maybe-clean-stage2-target-libstdc++-v3: 31592 @if target-libstdc++-v3-bootstrap 31593 maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3 31594 all-stage2: all-stage2-target-libstdc++-v3 31595 TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3) 31596 all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3 31597 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 31598 @r=`${PWD_COMMAND}`; export r; \ 31599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31600 TFLAGS="$(STAGE2_TFLAGS)"; \ 31601 $(RAW_CXX_TARGET_EXPORTS) \ 31602 \ 31603 cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31604 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 31605 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 31606 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 31607 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 31608 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 31609 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 31610 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 31611 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 31612 TFLAGS="$(STAGE2_TFLAGS)" \ 31613 $(TARGET-stage2-target-libstdc++-v3) 31614 31615 maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3 31616 clean-stage2: clean-stage2-target-libstdc++-v3 31617 clean-stage2-target-libstdc++-v3: 31618 @if [ $(current_stage) = stage2 ]; then \ 31619 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \ 31620 else \ 31621 [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \ 31622 $(MAKE) stage2-start; \ 31623 fi; \ 31624 cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31625 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 31626 @endif target-libstdc++-v3-bootstrap 31627 31628 31629 .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3 31630 .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3 31631 maybe-all-stage3-target-libstdc++-v3: 31632 maybe-clean-stage3-target-libstdc++-v3: 31633 @if target-libstdc++-v3-bootstrap 31634 maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3 31635 all-stage3: all-stage3-target-libstdc++-v3 31636 TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3) 31637 all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3 31638 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 31639 @r=`${PWD_COMMAND}`; export r; \ 31640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31641 TFLAGS="$(STAGE3_TFLAGS)"; \ 31642 $(RAW_CXX_TARGET_EXPORTS) \ 31643 \ 31644 cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31645 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 31646 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 31647 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 31648 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 31649 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 31650 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 31651 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 31652 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 31653 TFLAGS="$(STAGE3_TFLAGS)" \ 31654 $(TARGET-stage3-target-libstdc++-v3) 31655 31656 maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3 31657 clean-stage3: clean-stage3-target-libstdc++-v3 31658 clean-stage3-target-libstdc++-v3: 31659 @if [ $(current_stage) = stage3 ]; then \ 31660 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \ 31661 else \ 31662 [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \ 31663 $(MAKE) stage3-start; \ 31664 fi; \ 31665 cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31666 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 31667 @endif target-libstdc++-v3-bootstrap 31668 31669 31670 .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3 31671 .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3 31672 maybe-all-stage4-target-libstdc++-v3: 31673 maybe-clean-stage4-target-libstdc++-v3: 31674 @if target-libstdc++-v3-bootstrap 31675 maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3 31676 all-stage4: all-stage4-target-libstdc++-v3 31677 TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3) 31678 all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3 31679 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 31680 @r=`${PWD_COMMAND}`; export r; \ 31681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31682 TFLAGS="$(STAGE4_TFLAGS)"; \ 31683 $(RAW_CXX_TARGET_EXPORTS) \ 31684 \ 31685 cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31686 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 31687 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 31688 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 31689 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 31690 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 31691 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 31692 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 31693 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 31694 TFLAGS="$(STAGE4_TFLAGS)" \ 31695 $(TARGET-stage4-target-libstdc++-v3) 31696 31697 maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3 31698 clean-stage4: clean-stage4-target-libstdc++-v3 31699 clean-stage4-target-libstdc++-v3: 31700 @if [ $(current_stage) = stage4 ]; then \ 31701 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \ 31702 else \ 31703 [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \ 31704 $(MAKE) stage4-start; \ 31705 fi; \ 31706 cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31707 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 31708 @endif target-libstdc++-v3-bootstrap 31709 31710 31711 .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3 31712 .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3 31713 maybe-all-stageprofile-target-libstdc++-v3: 31714 maybe-clean-stageprofile-target-libstdc++-v3: 31715 @if target-libstdc++-v3-bootstrap 31716 maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3 31717 all-stageprofile: all-stageprofile-target-libstdc++-v3 31718 TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3) 31719 all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3 31720 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 31721 @r=`${PWD_COMMAND}`; export r; \ 31722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31723 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 31724 $(RAW_CXX_TARGET_EXPORTS) \ 31725 \ 31726 cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31727 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 31728 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 31729 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 31730 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 31731 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 31732 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 31733 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 31734 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 31735 TFLAGS="$(STAGEprofile_TFLAGS)" \ 31736 $(TARGET-stageprofile-target-libstdc++-v3) 31737 31738 maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3 31739 clean-stageprofile: clean-stageprofile-target-libstdc++-v3 31740 clean-stageprofile-target-libstdc++-v3: 31741 @if [ $(current_stage) = stageprofile ]; then \ 31742 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \ 31743 else \ 31744 [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \ 31745 $(MAKE) stageprofile-start; \ 31746 fi; \ 31747 cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31748 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 31749 @endif target-libstdc++-v3-bootstrap 31750 31751 31752 .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3 31753 .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3 31754 maybe-all-stagefeedback-target-libstdc++-v3: 31755 maybe-clean-stagefeedback-target-libstdc++-v3: 31756 @if target-libstdc++-v3-bootstrap 31757 maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3 31758 all-stagefeedback: all-stagefeedback-target-libstdc++-v3 31759 TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3) 31760 all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3 31761 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 31762 @r=`${PWD_COMMAND}`; export r; \ 31763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31764 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 31765 $(RAW_CXX_TARGET_EXPORTS) \ 31766 \ 31767 cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31768 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 31769 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 31770 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 31771 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 31772 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 31773 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 31774 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 31775 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 31776 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 31777 $(TARGET-stagefeedback-target-libstdc++-v3) 31778 31779 maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3 31780 clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3 31781 clean-stagefeedback-target-libstdc++-v3: 31782 @if [ $(current_stage) = stagefeedback ]; then \ 31783 [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \ 31784 else \ 31785 [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \ 31786 $(MAKE) stagefeedback-start; \ 31787 fi; \ 31788 cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31789 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 31790 @endif target-libstdc++-v3-bootstrap 31791 31792 31793 31794 31795 31796 31797 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3 31798 maybe-check-target-libstdc++-v3: 31799 @if target-libstdc++-v3 31800 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3 31801 31802 check-target-libstdc++-v3: 31803 @: $(MAKE); $(unstage) 31804 @r=`${PWD_COMMAND}`; export r; \ 31805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31806 $(RAW_CXX_TARGET_EXPORTS) \ 31807 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31808 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check) 31809 31810 @endif target-libstdc++-v3 31811 31812 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3 31813 maybe-install-target-libstdc++-v3: 31814 @if target-libstdc++-v3 31815 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3 31816 31817 install-target-libstdc++-v3: installdirs 31818 @: $(MAKE); $(unstage) 31819 @r=`${PWD_COMMAND}`; export r; \ 31820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31821 $(RAW_CXX_TARGET_EXPORTS) \ 31822 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31823 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 31824 31825 @endif target-libstdc++-v3 31826 31827 .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3 31828 maybe-install-strip-target-libstdc++-v3: 31829 @if target-libstdc++-v3 31830 maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3 31831 31832 install-strip-target-libstdc++-v3: installdirs 31833 @: $(MAKE); $(unstage) 31834 @r=`${PWD_COMMAND}`; export r; \ 31835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31836 $(RAW_CXX_TARGET_EXPORTS) \ 31837 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31838 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 31839 31840 @endif target-libstdc++-v3 31841 31842 # Other targets (info, dvi, pdf, etc.) 31843 31844 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3 31845 maybe-info-target-libstdc++-v3: 31846 @if target-libstdc++-v3 31847 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3 31848 31849 info-target-libstdc++-v3: \ 31850 configure-target-libstdc++-v3 31851 @: $(MAKE); $(unstage) 31852 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ 31853 r=`${PWD_COMMAND}`; export r; \ 31854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31855 $(RAW_CXX_TARGET_EXPORTS) \ 31856 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \ 31857 for flag in $(EXTRA_TARGET_FLAGS); do \ 31858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 31859 done; \ 31860 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 31862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 31863 "RANLIB=$${RANLIB}" \ 31864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 31865 info) \ 31866 || exit 1 31867 31868 @endif target-libstdc++-v3 31869 31870 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3 31871 maybe-dvi-target-libstdc++-v3: 31872 @if target-libstdc++-v3 31873 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3 31874 31875 dvi-target-libstdc++-v3: \ 31876 configure-target-libstdc++-v3 31877 @: $(MAKE); $(unstage) 31878 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ 31879 r=`${PWD_COMMAND}`; export r; \ 31880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31881 $(RAW_CXX_TARGET_EXPORTS) \ 31882 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \ 31883 for flag in $(EXTRA_TARGET_FLAGS); do \ 31884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 31885 done; \ 31886 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 31888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 31889 "RANLIB=$${RANLIB}" \ 31890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 31891 dvi) \ 31892 || exit 1 31893 31894 @endif target-libstdc++-v3 31895 31896 .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3 31897 maybe-pdf-target-libstdc++-v3: 31898 @if target-libstdc++-v3 31899 maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3 31900 31901 pdf-target-libstdc++-v3: \ 31902 configure-target-libstdc++-v3 31903 @: $(MAKE); $(unstage) 31904 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ 31905 r=`${PWD_COMMAND}`; export r; \ 31906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31907 $(RAW_CXX_TARGET_EXPORTS) \ 31908 echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \ 31909 for flag in $(EXTRA_TARGET_FLAGS); do \ 31910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 31911 done; \ 31912 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 31914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 31915 "RANLIB=$${RANLIB}" \ 31916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 31917 pdf) \ 31918 || exit 1 31919 31920 @endif target-libstdc++-v3 31921 31922 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3 31923 maybe-html-target-libstdc++-v3: 31924 @if target-libstdc++-v3 31925 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3 31926 31927 html-target-libstdc++-v3: \ 31928 configure-target-libstdc++-v3 31929 @: $(MAKE); $(unstage) 31930 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ 31931 r=`${PWD_COMMAND}`; export r; \ 31932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31933 $(RAW_CXX_TARGET_EXPORTS) \ 31934 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \ 31935 for flag in $(EXTRA_TARGET_FLAGS); do \ 31936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 31937 done; \ 31938 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 31940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 31941 "RANLIB=$${RANLIB}" \ 31942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 31943 html) \ 31944 || exit 1 31945 31946 @endif target-libstdc++-v3 31947 31948 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3 31949 maybe-TAGS-target-libstdc++-v3: 31950 @if target-libstdc++-v3 31951 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3 31952 31953 TAGS-target-libstdc++-v3: \ 31954 configure-target-libstdc++-v3 31955 @: $(MAKE); $(unstage) 31956 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ 31957 r=`${PWD_COMMAND}`; export r; \ 31958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31959 $(RAW_CXX_TARGET_EXPORTS) \ 31960 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \ 31961 for flag in $(EXTRA_TARGET_FLAGS); do \ 31962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 31963 done; \ 31964 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 31966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 31967 "RANLIB=$${RANLIB}" \ 31968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 31969 TAGS) \ 31970 || exit 1 31971 31972 @endif target-libstdc++-v3 31973 31974 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3 31975 maybe-install-info-target-libstdc++-v3: 31976 @if target-libstdc++-v3 31977 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3 31978 31979 install-info-target-libstdc++-v3: \ 31980 configure-target-libstdc++-v3 \ 31981 info-target-libstdc++-v3 31982 @: $(MAKE); $(unstage) 31983 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ 31984 r=`${PWD_COMMAND}`; export r; \ 31985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 31986 $(RAW_CXX_TARGET_EXPORTS) \ 31987 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \ 31988 for flag in $(EXTRA_TARGET_FLAGS); do \ 31989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 31990 done; \ 31991 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 31992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 31993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 31994 "RANLIB=$${RANLIB}" \ 31995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 31996 install-info) \ 31997 || exit 1 31998 31999 @endif target-libstdc++-v3 32000 32001 .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3 32002 maybe-install-pdf-target-libstdc++-v3: 32003 @if target-libstdc++-v3 32004 maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3 32005 32006 install-pdf-target-libstdc++-v3: \ 32007 configure-target-libstdc++-v3 \ 32008 pdf-target-libstdc++-v3 32009 @: $(MAKE); $(unstage) 32010 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ 32011 r=`${PWD_COMMAND}`; export r; \ 32012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32013 $(RAW_CXX_TARGET_EXPORTS) \ 32014 echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \ 32015 for flag in $(EXTRA_TARGET_FLAGS); do \ 32016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 32017 done; \ 32018 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 32019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 32020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 32021 "RANLIB=$${RANLIB}" \ 32022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 32023 install-pdf) \ 32024 || exit 1 32025 32026 @endif target-libstdc++-v3 32027 32028 .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3 32029 maybe-install-html-target-libstdc++-v3: 32030 @if target-libstdc++-v3 32031 maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3 32032 32033 install-html-target-libstdc++-v3: \ 32034 configure-target-libstdc++-v3 \ 32035 html-target-libstdc++-v3 32036 @: $(MAKE); $(unstage) 32037 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ 32038 r=`${PWD_COMMAND}`; export r; \ 32039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32040 $(RAW_CXX_TARGET_EXPORTS) \ 32041 echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \ 32042 for flag in $(EXTRA_TARGET_FLAGS); do \ 32043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 32044 done; \ 32045 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 32046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 32047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 32048 "RANLIB=$${RANLIB}" \ 32049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 32050 install-html) \ 32051 || exit 1 32052 32053 @endif target-libstdc++-v3 32054 32055 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3 32056 maybe-installcheck-target-libstdc++-v3: 32057 @if target-libstdc++-v3 32058 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3 32059 32060 installcheck-target-libstdc++-v3: \ 32061 configure-target-libstdc++-v3 32062 @: $(MAKE); $(unstage) 32063 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ 32064 r=`${PWD_COMMAND}`; export r; \ 32065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32066 $(RAW_CXX_TARGET_EXPORTS) \ 32067 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \ 32068 for flag in $(EXTRA_TARGET_FLAGS); do \ 32069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 32070 done; \ 32071 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 32072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 32073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 32074 "RANLIB=$${RANLIB}" \ 32075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 32076 installcheck) \ 32077 || exit 1 32078 32079 @endif target-libstdc++-v3 32080 32081 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3 32082 maybe-mostlyclean-target-libstdc++-v3: 32083 @if target-libstdc++-v3 32084 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3 32085 32086 mostlyclean-target-libstdc++-v3: 32087 @: $(MAKE); $(unstage) 32088 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ 32089 r=`${PWD_COMMAND}`; export r; \ 32090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32091 $(RAW_CXX_TARGET_EXPORTS) \ 32092 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ 32093 for flag in $(EXTRA_TARGET_FLAGS); do \ 32094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 32095 done; \ 32096 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 32097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 32098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 32099 "RANLIB=$${RANLIB}" \ 32100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 32101 mostlyclean) \ 32102 || exit 1 32103 32104 @endif target-libstdc++-v3 32105 32106 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3 32107 maybe-clean-target-libstdc++-v3: 32108 @if target-libstdc++-v3 32109 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3 32110 32111 clean-target-libstdc++-v3: 32112 @: $(MAKE); $(unstage) 32113 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ 32114 r=`${PWD_COMMAND}`; export r; \ 32115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32116 $(RAW_CXX_TARGET_EXPORTS) \ 32117 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ 32118 for flag in $(EXTRA_TARGET_FLAGS); do \ 32119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 32120 done; \ 32121 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 32122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 32123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 32124 "RANLIB=$${RANLIB}" \ 32125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 32126 clean) \ 32127 || exit 1 32128 32129 @endif target-libstdc++-v3 32130 32131 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3 32132 maybe-distclean-target-libstdc++-v3: 32133 @if target-libstdc++-v3 32134 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3 32135 32136 distclean-target-libstdc++-v3: 32137 @: $(MAKE); $(unstage) 32138 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ 32139 r=`${PWD_COMMAND}`; export r; \ 32140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32141 $(RAW_CXX_TARGET_EXPORTS) \ 32142 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ 32143 for flag in $(EXTRA_TARGET_FLAGS); do \ 32144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 32145 done; \ 32146 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 32147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 32148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 32149 "RANLIB=$${RANLIB}" \ 32150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 32151 distclean) \ 32152 || exit 1 32153 32154 @endif target-libstdc++-v3 32155 32156 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3 32157 maybe-maintainer-clean-target-libstdc++-v3: 32158 @if target-libstdc++-v3 32159 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3 32160 32161 maintainer-clean-target-libstdc++-v3: 32162 @: $(MAKE); $(unstage) 32163 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \ 32164 r=`${PWD_COMMAND}`; export r; \ 32165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32166 $(RAW_CXX_TARGET_EXPORTS) \ 32167 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \ 32168 for flag in $(EXTRA_TARGET_FLAGS); do \ 32169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 32170 done; \ 32171 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \ 32172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 32173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 32174 "RANLIB=$${RANLIB}" \ 32175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 32176 maintainer-clean) \ 32177 || exit 1 32178 32179 @endif target-libstdc++-v3 32180 32181 32182 32183 32184 32185 .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer 32186 maybe-configure-target-libsanitizer: 32187 @if gcc-bootstrap 32188 configure-target-libsanitizer: stage_current 32189 @endif gcc-bootstrap 32190 @if target-libsanitizer 32191 maybe-configure-target-libsanitizer: configure-target-libsanitizer 32192 configure-target-libsanitizer: 32193 @r=`${PWD_COMMAND}`; export r; \ 32194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32195 echo "Checking multilib configuration for libsanitizer..."; \ 32196 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \ 32197 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \ 32198 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \ 32199 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \ 32200 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \ 32201 else \ 32202 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \ 32203 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \ 32204 fi; \ 32205 else \ 32206 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \ 32207 fi; \ 32208 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \ 32209 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \ 32210 $(RAW_CXX_TARGET_EXPORTS) \ 32211 echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \ 32212 cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \ 32213 case $(srcdir) in \ 32214 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 32215 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \ 32216 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 32217 esac; \ 32218 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \ 32219 libsrcdir="$$s/libsanitizer"; \ 32220 rm -f no-such-file || : ; \ 32221 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 32222 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 32223 --target=${target_alias} $${srcdiroption} \ 32224 || exit 1 32225 @endif target-libsanitizer 32226 32227 32228 32229 .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer 32230 maybe-configure-stage1-target-libsanitizer: 32231 @if target-libsanitizer-bootstrap 32232 maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer 32233 configure-stage1-target-libsanitizer: 32234 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 32235 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer 32236 @r=`${PWD_COMMAND}`; export r; \ 32237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32238 TFLAGS="$(STAGE1_TFLAGS)"; \ 32239 echo "Checking multilib configuration for libsanitizer..."; \ 32240 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \ 32241 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \ 32242 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \ 32243 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \ 32244 else \ 32245 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \ 32246 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \ 32247 fi; \ 32248 else \ 32249 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \ 32250 fi; \ 32251 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \ 32252 $(RAW_CXX_TARGET_EXPORTS) \ 32253 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 32254 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 32255 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 32256 echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \ 32257 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \ 32258 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \ 32259 case $(srcdir) in \ 32260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 32261 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \ 32262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 32263 esac; \ 32264 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \ 32265 libsrcdir="$$s/libsanitizer"; \ 32266 $(SHELL) $${libsrcdir}/configure \ 32267 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 32268 --target=${target_alias} $${srcdiroption} \ 32269 $(STAGE1_CONFIGURE_FLAGS) 32270 @endif target-libsanitizer-bootstrap 32271 32272 .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer 32273 maybe-configure-stage2-target-libsanitizer: 32274 @if target-libsanitizer-bootstrap 32275 maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer 32276 configure-stage2-target-libsanitizer: 32277 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 32278 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer 32279 @r=`${PWD_COMMAND}`; export r; \ 32280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32281 TFLAGS="$(STAGE2_TFLAGS)"; \ 32282 echo "Checking multilib configuration for libsanitizer..."; \ 32283 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \ 32284 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \ 32285 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \ 32286 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \ 32287 else \ 32288 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \ 32289 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \ 32290 fi; \ 32291 else \ 32292 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \ 32293 fi; \ 32294 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \ 32295 $(RAW_CXX_TARGET_EXPORTS) \ 32296 \ 32297 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 32298 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 32299 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 32300 echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \ 32301 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \ 32302 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \ 32303 case $(srcdir) in \ 32304 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 32305 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \ 32306 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 32307 esac; \ 32308 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \ 32309 libsrcdir="$$s/libsanitizer"; \ 32310 $(SHELL) $${libsrcdir}/configure \ 32311 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 32312 --target=${target_alias} $${srcdiroption} \ 32313 --with-build-libsubdir=$(HOST_SUBDIR) \ 32314 $(STAGE2_CONFIGURE_FLAGS) 32315 @endif target-libsanitizer-bootstrap 32316 32317 .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer 32318 maybe-configure-stage3-target-libsanitizer: 32319 @if target-libsanitizer-bootstrap 32320 maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer 32321 configure-stage3-target-libsanitizer: 32322 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 32323 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer 32324 @r=`${PWD_COMMAND}`; export r; \ 32325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32326 TFLAGS="$(STAGE3_TFLAGS)"; \ 32327 echo "Checking multilib configuration for libsanitizer..."; \ 32328 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \ 32329 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \ 32330 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \ 32331 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \ 32332 else \ 32333 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \ 32334 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \ 32335 fi; \ 32336 else \ 32337 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \ 32338 fi; \ 32339 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \ 32340 $(RAW_CXX_TARGET_EXPORTS) \ 32341 \ 32342 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 32343 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 32344 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 32345 echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \ 32346 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \ 32347 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \ 32348 case $(srcdir) in \ 32349 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 32350 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \ 32351 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 32352 esac; \ 32353 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \ 32354 libsrcdir="$$s/libsanitizer"; \ 32355 $(SHELL) $${libsrcdir}/configure \ 32356 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 32357 --target=${target_alias} $${srcdiroption} \ 32358 --with-build-libsubdir=$(HOST_SUBDIR) \ 32359 $(STAGE3_CONFIGURE_FLAGS) 32360 @endif target-libsanitizer-bootstrap 32361 32362 .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer 32363 maybe-configure-stage4-target-libsanitizer: 32364 @if target-libsanitizer-bootstrap 32365 maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer 32366 configure-stage4-target-libsanitizer: 32367 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 32368 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer 32369 @r=`${PWD_COMMAND}`; export r; \ 32370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32371 TFLAGS="$(STAGE4_TFLAGS)"; \ 32372 echo "Checking multilib configuration for libsanitizer..."; \ 32373 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \ 32374 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \ 32375 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \ 32376 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \ 32377 else \ 32378 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \ 32379 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \ 32380 fi; \ 32381 else \ 32382 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \ 32383 fi; \ 32384 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \ 32385 $(RAW_CXX_TARGET_EXPORTS) \ 32386 \ 32387 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 32388 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 32389 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 32390 echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \ 32391 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \ 32392 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \ 32393 case $(srcdir) in \ 32394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 32395 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \ 32396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 32397 esac; \ 32398 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \ 32399 libsrcdir="$$s/libsanitizer"; \ 32400 $(SHELL) $${libsrcdir}/configure \ 32401 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 32402 --target=${target_alias} $${srcdiroption} \ 32403 --with-build-libsubdir=$(HOST_SUBDIR) \ 32404 $(STAGE4_CONFIGURE_FLAGS) 32405 @endif target-libsanitizer-bootstrap 32406 32407 .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer 32408 maybe-configure-stageprofile-target-libsanitizer: 32409 @if target-libsanitizer-bootstrap 32410 maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer 32411 configure-stageprofile-target-libsanitizer: 32412 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 32413 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer 32414 @r=`${PWD_COMMAND}`; export r; \ 32415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32416 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 32417 echo "Checking multilib configuration for libsanitizer..."; \ 32418 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \ 32419 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \ 32420 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \ 32421 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \ 32422 else \ 32423 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \ 32424 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \ 32425 fi; \ 32426 else \ 32427 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \ 32428 fi; \ 32429 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \ 32430 $(RAW_CXX_TARGET_EXPORTS) \ 32431 \ 32432 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 32433 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 32434 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 32435 echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \ 32436 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \ 32437 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \ 32438 case $(srcdir) in \ 32439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 32440 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \ 32441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 32442 esac; \ 32443 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \ 32444 libsrcdir="$$s/libsanitizer"; \ 32445 $(SHELL) $${libsrcdir}/configure \ 32446 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 32447 --target=${target_alias} $${srcdiroption} \ 32448 --with-build-libsubdir=$(HOST_SUBDIR) \ 32449 $(STAGEprofile_CONFIGURE_FLAGS) 32450 @endif target-libsanitizer-bootstrap 32451 32452 .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer 32453 maybe-configure-stagefeedback-target-libsanitizer: 32454 @if target-libsanitizer-bootstrap 32455 maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer 32456 configure-stagefeedback-target-libsanitizer: 32457 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 32458 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer 32459 @r=`${PWD_COMMAND}`; export r; \ 32460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32461 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 32462 echo "Checking multilib configuration for libsanitizer..."; \ 32463 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \ 32464 if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \ 32465 if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \ 32466 rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \ 32467 else \ 32468 rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \ 32469 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \ 32470 fi; \ 32471 else \ 32472 mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \ 32473 fi; \ 32474 test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \ 32475 $(RAW_CXX_TARGET_EXPORTS) \ 32476 \ 32477 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 32478 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 32479 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 32480 echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \ 32481 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \ 32482 cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \ 32483 case $(srcdir) in \ 32484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 32485 *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \ 32486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 32487 esac; \ 32488 srcdiroption="--srcdir=$${topdir}/libsanitizer"; \ 32489 libsrcdir="$$s/libsanitizer"; \ 32490 $(SHELL) $${libsrcdir}/configure \ 32491 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 32492 --target=${target_alias} $${srcdiroption} \ 32493 --with-build-libsubdir=$(HOST_SUBDIR) \ 32494 $(STAGEfeedback_CONFIGURE_FLAGS) 32495 @endif target-libsanitizer-bootstrap 32496 32497 32498 32499 32500 32501 .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer 32502 maybe-all-target-libsanitizer: 32503 @if gcc-bootstrap 32504 all-target-libsanitizer: stage_current 32505 @endif gcc-bootstrap 32506 @if target-libsanitizer 32507 TARGET-target-libsanitizer=all 32508 maybe-all-target-libsanitizer: all-target-libsanitizer 32509 all-target-libsanitizer: configure-target-libsanitizer 32510 @r=`${PWD_COMMAND}`; export r; \ 32511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32512 $(RAW_CXX_TARGET_EXPORTS) \ 32513 (cd $(TARGET_SUBDIR)/libsanitizer && \ 32514 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 32515 $(TARGET-target-libsanitizer)) 32516 @endif target-libsanitizer 32517 32518 32519 32520 .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer 32521 .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer 32522 maybe-all-stage1-target-libsanitizer: 32523 maybe-clean-stage1-target-libsanitizer: 32524 @if target-libsanitizer-bootstrap 32525 maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer 32526 all-stage1: all-stage1-target-libsanitizer 32527 TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer) 32528 all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer 32529 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 32530 @r=`${PWD_COMMAND}`; export r; \ 32531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32532 TFLAGS="$(STAGE1_TFLAGS)"; \ 32533 $(RAW_CXX_TARGET_EXPORTS) \ 32534 cd $(TARGET_SUBDIR)/libsanitizer && \ 32535 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 32536 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 32537 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 32538 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 32539 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 32540 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 32541 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 32542 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 32543 \ 32544 TFLAGS="$(STAGE1_TFLAGS)" \ 32545 $(TARGET-stage1-target-libsanitizer) 32546 32547 maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer 32548 clean-stage1: clean-stage1-target-libsanitizer 32549 clean-stage1-target-libsanitizer: 32550 @if [ $(current_stage) = stage1 ]; then \ 32551 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \ 32552 else \ 32553 [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \ 32554 $(MAKE) stage1-start; \ 32555 fi; \ 32556 cd $(TARGET_SUBDIR)/libsanitizer && \ 32557 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 32558 clean 32559 @endif target-libsanitizer-bootstrap 32560 32561 32562 .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer 32563 .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer 32564 maybe-all-stage2-target-libsanitizer: 32565 maybe-clean-stage2-target-libsanitizer: 32566 @if target-libsanitizer-bootstrap 32567 maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer 32568 all-stage2: all-stage2-target-libsanitizer 32569 TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer) 32570 all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer 32571 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 32572 @r=`${PWD_COMMAND}`; export r; \ 32573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32574 TFLAGS="$(STAGE2_TFLAGS)"; \ 32575 $(RAW_CXX_TARGET_EXPORTS) \ 32576 \ 32577 cd $(TARGET_SUBDIR)/libsanitizer && \ 32578 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 32579 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 32580 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 32581 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 32582 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 32583 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 32584 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 32585 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 32586 TFLAGS="$(STAGE2_TFLAGS)" \ 32587 $(TARGET-stage2-target-libsanitizer) 32588 32589 maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer 32590 clean-stage2: clean-stage2-target-libsanitizer 32591 clean-stage2-target-libsanitizer: 32592 @if [ $(current_stage) = stage2 ]; then \ 32593 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \ 32594 else \ 32595 [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \ 32596 $(MAKE) stage2-start; \ 32597 fi; \ 32598 cd $(TARGET_SUBDIR)/libsanitizer && \ 32599 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 32600 @endif target-libsanitizer-bootstrap 32601 32602 32603 .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer 32604 .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer 32605 maybe-all-stage3-target-libsanitizer: 32606 maybe-clean-stage3-target-libsanitizer: 32607 @if target-libsanitizer-bootstrap 32608 maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer 32609 all-stage3: all-stage3-target-libsanitizer 32610 TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer) 32611 all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer 32612 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 32613 @r=`${PWD_COMMAND}`; export r; \ 32614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32615 TFLAGS="$(STAGE3_TFLAGS)"; \ 32616 $(RAW_CXX_TARGET_EXPORTS) \ 32617 \ 32618 cd $(TARGET_SUBDIR)/libsanitizer && \ 32619 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 32620 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 32621 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 32622 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 32623 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 32624 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 32625 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 32626 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 32627 TFLAGS="$(STAGE3_TFLAGS)" \ 32628 $(TARGET-stage3-target-libsanitizer) 32629 32630 maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer 32631 clean-stage3: clean-stage3-target-libsanitizer 32632 clean-stage3-target-libsanitizer: 32633 @if [ $(current_stage) = stage3 ]; then \ 32634 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \ 32635 else \ 32636 [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \ 32637 $(MAKE) stage3-start; \ 32638 fi; \ 32639 cd $(TARGET_SUBDIR)/libsanitizer && \ 32640 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 32641 @endif target-libsanitizer-bootstrap 32642 32643 32644 .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer 32645 .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer 32646 maybe-all-stage4-target-libsanitizer: 32647 maybe-clean-stage4-target-libsanitizer: 32648 @if target-libsanitizer-bootstrap 32649 maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer 32650 all-stage4: all-stage4-target-libsanitizer 32651 TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer) 32652 all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer 32653 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 32654 @r=`${PWD_COMMAND}`; export r; \ 32655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32656 TFLAGS="$(STAGE4_TFLAGS)"; \ 32657 $(RAW_CXX_TARGET_EXPORTS) \ 32658 \ 32659 cd $(TARGET_SUBDIR)/libsanitizer && \ 32660 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 32661 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 32662 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 32663 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 32664 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 32665 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 32666 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 32667 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 32668 TFLAGS="$(STAGE4_TFLAGS)" \ 32669 $(TARGET-stage4-target-libsanitizer) 32670 32671 maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer 32672 clean-stage4: clean-stage4-target-libsanitizer 32673 clean-stage4-target-libsanitizer: 32674 @if [ $(current_stage) = stage4 ]; then \ 32675 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \ 32676 else \ 32677 [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \ 32678 $(MAKE) stage4-start; \ 32679 fi; \ 32680 cd $(TARGET_SUBDIR)/libsanitizer && \ 32681 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 32682 @endif target-libsanitizer-bootstrap 32683 32684 32685 .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer 32686 .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer 32687 maybe-all-stageprofile-target-libsanitizer: 32688 maybe-clean-stageprofile-target-libsanitizer: 32689 @if target-libsanitizer-bootstrap 32690 maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer 32691 all-stageprofile: all-stageprofile-target-libsanitizer 32692 TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer) 32693 all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer 32694 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 32695 @r=`${PWD_COMMAND}`; export r; \ 32696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32697 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 32698 $(RAW_CXX_TARGET_EXPORTS) \ 32699 \ 32700 cd $(TARGET_SUBDIR)/libsanitizer && \ 32701 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 32702 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 32703 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 32704 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 32705 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 32706 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 32707 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 32708 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 32709 TFLAGS="$(STAGEprofile_TFLAGS)" \ 32710 $(TARGET-stageprofile-target-libsanitizer) 32711 32712 maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer 32713 clean-stageprofile: clean-stageprofile-target-libsanitizer 32714 clean-stageprofile-target-libsanitizer: 32715 @if [ $(current_stage) = stageprofile ]; then \ 32716 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \ 32717 else \ 32718 [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \ 32719 $(MAKE) stageprofile-start; \ 32720 fi; \ 32721 cd $(TARGET_SUBDIR)/libsanitizer && \ 32722 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 32723 @endif target-libsanitizer-bootstrap 32724 32725 32726 .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer 32727 .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer 32728 maybe-all-stagefeedback-target-libsanitizer: 32729 maybe-clean-stagefeedback-target-libsanitizer: 32730 @if target-libsanitizer-bootstrap 32731 maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer 32732 all-stagefeedback: all-stagefeedback-target-libsanitizer 32733 TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer) 32734 all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer 32735 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 32736 @r=`${PWD_COMMAND}`; export r; \ 32737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32738 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 32739 $(RAW_CXX_TARGET_EXPORTS) \ 32740 \ 32741 cd $(TARGET_SUBDIR)/libsanitizer && \ 32742 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 32743 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 32744 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 32745 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 32746 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 32747 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 32748 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 32749 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 32750 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 32751 $(TARGET-stagefeedback-target-libsanitizer) 32752 32753 maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer 32754 clean-stagefeedback: clean-stagefeedback-target-libsanitizer 32755 clean-stagefeedback-target-libsanitizer: 32756 @if [ $(current_stage) = stagefeedback ]; then \ 32757 [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \ 32758 else \ 32759 [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \ 32760 $(MAKE) stagefeedback-start; \ 32761 fi; \ 32762 cd $(TARGET_SUBDIR)/libsanitizer && \ 32763 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 32764 @endif target-libsanitizer-bootstrap 32765 32766 32767 32768 32769 32770 32771 .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer 32772 maybe-check-target-libsanitizer: 32773 @if target-libsanitizer 32774 maybe-check-target-libsanitizer: check-target-libsanitizer 32775 32776 check-target-libsanitizer: 32777 @: $(MAKE); $(unstage) 32778 @r=`${PWD_COMMAND}`; export r; \ 32779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32780 $(RAW_CXX_TARGET_EXPORTS) \ 32781 (cd $(TARGET_SUBDIR)/libsanitizer && \ 32782 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check) 32783 32784 @endif target-libsanitizer 32785 32786 .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer 32787 maybe-install-target-libsanitizer: 32788 @if target-libsanitizer 32789 maybe-install-target-libsanitizer: install-target-libsanitizer 32790 32791 install-target-libsanitizer: installdirs 32792 @: $(MAKE); $(unstage) 32793 @r=`${PWD_COMMAND}`; export r; \ 32794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32795 $(RAW_CXX_TARGET_EXPORTS) \ 32796 (cd $(TARGET_SUBDIR)/libsanitizer && \ 32797 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 32798 32799 @endif target-libsanitizer 32800 32801 .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer 32802 maybe-install-strip-target-libsanitizer: 32803 @if target-libsanitizer 32804 maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer 32805 32806 install-strip-target-libsanitizer: installdirs 32807 @: $(MAKE); $(unstage) 32808 @r=`${PWD_COMMAND}`; export r; \ 32809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32810 $(RAW_CXX_TARGET_EXPORTS) \ 32811 (cd $(TARGET_SUBDIR)/libsanitizer && \ 32812 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 32813 32814 @endif target-libsanitizer 32815 32816 # Other targets (info, dvi, pdf, etc.) 32817 32818 .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer 32819 maybe-info-target-libsanitizer: 32820 @if target-libsanitizer 32821 maybe-info-target-libsanitizer: info-target-libsanitizer 32822 32823 info-target-libsanitizer: \ 32824 configure-target-libsanitizer 32825 @: $(MAKE); $(unstage) 32826 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \ 32827 r=`${PWD_COMMAND}`; export r; \ 32828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32829 $(RAW_CXX_TARGET_EXPORTS) \ 32830 echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \ 32831 for flag in $(EXTRA_TARGET_FLAGS); do \ 32832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 32833 done; \ 32834 (cd $(TARGET_SUBDIR)/libsanitizer && \ 32835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 32836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 32837 "RANLIB=$${RANLIB}" \ 32838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 32839 info) \ 32840 || exit 1 32841 32842 @endif target-libsanitizer 32843 32844 .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer 32845 maybe-dvi-target-libsanitizer: 32846 @if target-libsanitizer 32847 maybe-dvi-target-libsanitizer: dvi-target-libsanitizer 32848 32849 dvi-target-libsanitizer: \ 32850 configure-target-libsanitizer 32851 @: $(MAKE); $(unstage) 32852 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \ 32853 r=`${PWD_COMMAND}`; export r; \ 32854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32855 $(RAW_CXX_TARGET_EXPORTS) \ 32856 echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \ 32857 for flag in $(EXTRA_TARGET_FLAGS); do \ 32858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 32859 done; \ 32860 (cd $(TARGET_SUBDIR)/libsanitizer && \ 32861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 32862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 32863 "RANLIB=$${RANLIB}" \ 32864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 32865 dvi) \ 32866 || exit 1 32867 32868 @endif target-libsanitizer 32869 32870 .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer 32871 maybe-pdf-target-libsanitizer: 32872 @if target-libsanitizer 32873 maybe-pdf-target-libsanitizer: pdf-target-libsanitizer 32874 32875 pdf-target-libsanitizer: \ 32876 configure-target-libsanitizer 32877 @: $(MAKE); $(unstage) 32878 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \ 32879 r=`${PWD_COMMAND}`; export r; \ 32880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32881 $(RAW_CXX_TARGET_EXPORTS) \ 32882 echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \ 32883 for flag in $(EXTRA_TARGET_FLAGS); do \ 32884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 32885 done; \ 32886 (cd $(TARGET_SUBDIR)/libsanitizer && \ 32887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 32888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 32889 "RANLIB=$${RANLIB}" \ 32890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 32891 pdf) \ 32892 || exit 1 32893 32894 @endif target-libsanitizer 32895 32896 .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer 32897 maybe-html-target-libsanitizer: 32898 @if target-libsanitizer 32899 maybe-html-target-libsanitizer: html-target-libsanitizer 32900 32901 html-target-libsanitizer: \ 32902 configure-target-libsanitizer 32903 @: $(MAKE); $(unstage) 32904 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \ 32905 r=`${PWD_COMMAND}`; export r; \ 32906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32907 $(RAW_CXX_TARGET_EXPORTS) \ 32908 echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \ 32909 for flag in $(EXTRA_TARGET_FLAGS); do \ 32910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 32911 done; \ 32912 (cd $(TARGET_SUBDIR)/libsanitizer && \ 32913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 32914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 32915 "RANLIB=$${RANLIB}" \ 32916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 32917 html) \ 32918 || exit 1 32919 32920 @endif target-libsanitizer 32921 32922 .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer 32923 maybe-TAGS-target-libsanitizer: 32924 @if target-libsanitizer 32925 maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer 32926 32927 TAGS-target-libsanitizer: \ 32928 configure-target-libsanitizer 32929 @: $(MAKE); $(unstage) 32930 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \ 32931 r=`${PWD_COMMAND}`; export r; \ 32932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32933 $(RAW_CXX_TARGET_EXPORTS) \ 32934 echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \ 32935 for flag in $(EXTRA_TARGET_FLAGS); do \ 32936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 32937 done; \ 32938 (cd $(TARGET_SUBDIR)/libsanitizer && \ 32939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 32940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 32941 "RANLIB=$${RANLIB}" \ 32942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 32943 TAGS) \ 32944 || exit 1 32945 32946 @endif target-libsanitizer 32947 32948 .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer 32949 maybe-install-info-target-libsanitizer: 32950 @if target-libsanitizer 32951 maybe-install-info-target-libsanitizer: install-info-target-libsanitizer 32952 32953 install-info-target-libsanitizer: \ 32954 configure-target-libsanitizer \ 32955 info-target-libsanitizer 32956 @: $(MAKE); $(unstage) 32957 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \ 32958 r=`${PWD_COMMAND}`; export r; \ 32959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32960 $(RAW_CXX_TARGET_EXPORTS) \ 32961 echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \ 32962 for flag in $(EXTRA_TARGET_FLAGS); do \ 32963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 32964 done; \ 32965 (cd $(TARGET_SUBDIR)/libsanitizer && \ 32966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 32967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 32968 "RANLIB=$${RANLIB}" \ 32969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 32970 install-info) \ 32971 || exit 1 32972 32973 @endif target-libsanitizer 32974 32975 .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer 32976 maybe-install-pdf-target-libsanitizer: 32977 @if target-libsanitizer 32978 maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer 32979 32980 install-pdf-target-libsanitizer: \ 32981 configure-target-libsanitizer \ 32982 pdf-target-libsanitizer 32983 @: $(MAKE); $(unstage) 32984 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \ 32985 r=`${PWD_COMMAND}`; export r; \ 32986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 32987 $(RAW_CXX_TARGET_EXPORTS) \ 32988 echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \ 32989 for flag in $(EXTRA_TARGET_FLAGS); do \ 32990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 32991 done; \ 32992 (cd $(TARGET_SUBDIR)/libsanitizer && \ 32993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 32994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 32995 "RANLIB=$${RANLIB}" \ 32996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 32997 install-pdf) \ 32998 || exit 1 32999 33000 @endif target-libsanitizer 33001 33002 .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer 33003 maybe-install-html-target-libsanitizer: 33004 @if target-libsanitizer 33005 maybe-install-html-target-libsanitizer: install-html-target-libsanitizer 33006 33007 install-html-target-libsanitizer: \ 33008 configure-target-libsanitizer \ 33009 html-target-libsanitizer 33010 @: $(MAKE); $(unstage) 33011 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \ 33012 r=`${PWD_COMMAND}`; export r; \ 33013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33014 $(RAW_CXX_TARGET_EXPORTS) \ 33015 echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \ 33016 for flag in $(EXTRA_TARGET_FLAGS); do \ 33017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 33018 done; \ 33019 (cd $(TARGET_SUBDIR)/libsanitizer && \ 33020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 33021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 33022 "RANLIB=$${RANLIB}" \ 33023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 33024 install-html) \ 33025 || exit 1 33026 33027 @endif target-libsanitizer 33028 33029 .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer 33030 maybe-installcheck-target-libsanitizer: 33031 @if target-libsanitizer 33032 maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer 33033 33034 installcheck-target-libsanitizer: \ 33035 configure-target-libsanitizer 33036 @: $(MAKE); $(unstage) 33037 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \ 33038 r=`${PWD_COMMAND}`; export r; \ 33039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33040 $(RAW_CXX_TARGET_EXPORTS) \ 33041 echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \ 33042 for flag in $(EXTRA_TARGET_FLAGS); do \ 33043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 33044 done; \ 33045 (cd $(TARGET_SUBDIR)/libsanitizer && \ 33046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 33047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 33048 "RANLIB=$${RANLIB}" \ 33049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 33050 installcheck) \ 33051 || exit 1 33052 33053 @endif target-libsanitizer 33054 33055 .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer 33056 maybe-mostlyclean-target-libsanitizer: 33057 @if target-libsanitizer 33058 maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer 33059 33060 mostlyclean-target-libsanitizer: 33061 @: $(MAKE); $(unstage) 33062 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \ 33063 r=`${PWD_COMMAND}`; export r; \ 33064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33065 $(RAW_CXX_TARGET_EXPORTS) \ 33066 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \ 33067 for flag in $(EXTRA_TARGET_FLAGS); do \ 33068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 33069 done; \ 33070 (cd $(TARGET_SUBDIR)/libsanitizer && \ 33071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 33072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 33073 "RANLIB=$${RANLIB}" \ 33074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 33075 mostlyclean) \ 33076 || exit 1 33077 33078 @endif target-libsanitizer 33079 33080 .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer 33081 maybe-clean-target-libsanitizer: 33082 @if target-libsanitizer 33083 maybe-clean-target-libsanitizer: clean-target-libsanitizer 33084 33085 clean-target-libsanitizer: 33086 @: $(MAKE); $(unstage) 33087 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \ 33088 r=`${PWD_COMMAND}`; export r; \ 33089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33090 $(RAW_CXX_TARGET_EXPORTS) \ 33091 echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \ 33092 for flag in $(EXTRA_TARGET_FLAGS); do \ 33093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 33094 done; \ 33095 (cd $(TARGET_SUBDIR)/libsanitizer && \ 33096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 33097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 33098 "RANLIB=$${RANLIB}" \ 33099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 33100 clean) \ 33101 || exit 1 33102 33103 @endif target-libsanitizer 33104 33105 .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer 33106 maybe-distclean-target-libsanitizer: 33107 @if target-libsanitizer 33108 maybe-distclean-target-libsanitizer: distclean-target-libsanitizer 33109 33110 distclean-target-libsanitizer: 33111 @: $(MAKE); $(unstage) 33112 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \ 33113 r=`${PWD_COMMAND}`; export r; \ 33114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33115 $(RAW_CXX_TARGET_EXPORTS) \ 33116 echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \ 33117 for flag in $(EXTRA_TARGET_FLAGS); do \ 33118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 33119 done; \ 33120 (cd $(TARGET_SUBDIR)/libsanitizer && \ 33121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 33122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 33123 "RANLIB=$${RANLIB}" \ 33124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 33125 distclean) \ 33126 || exit 1 33127 33128 @endif target-libsanitizer 33129 33130 .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer 33131 maybe-maintainer-clean-target-libsanitizer: 33132 @if target-libsanitizer 33133 maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer 33134 33135 maintainer-clean-target-libsanitizer: 33136 @: $(MAKE); $(unstage) 33137 @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \ 33138 r=`${PWD_COMMAND}`; export r; \ 33139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33140 $(RAW_CXX_TARGET_EXPORTS) \ 33141 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \ 33142 for flag in $(EXTRA_TARGET_FLAGS); do \ 33143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 33144 done; \ 33145 (cd $(TARGET_SUBDIR)/libsanitizer && \ 33146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 33147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 33148 "RANLIB=$${RANLIB}" \ 33149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 33150 maintainer-clean) \ 33151 || exit 1 33152 33153 @endif target-libsanitizer 33154 33155 33156 33157 33158 33159 .PHONY: configure-target-libvtv maybe-configure-target-libvtv 33160 maybe-configure-target-libvtv: 33161 @if gcc-bootstrap 33162 configure-target-libvtv: stage_current 33163 @endif gcc-bootstrap 33164 @if target-libvtv 33165 maybe-configure-target-libvtv: configure-target-libvtv 33166 configure-target-libvtv: 33167 @r=`${PWD_COMMAND}`; export r; \ 33168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33169 echo "Checking multilib configuration for libvtv..."; \ 33170 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \ 33171 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \ 33172 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \ 33173 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \ 33174 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \ 33175 else \ 33176 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \ 33177 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ 33178 fi; \ 33179 else \ 33180 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ 33181 fi; \ 33182 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \ 33183 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \ 33184 $(RAW_CXX_TARGET_EXPORTS) \ 33185 echo Configuring in $(TARGET_SUBDIR)/libvtv; \ 33186 cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \ 33187 case $(srcdir) in \ 33188 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 33189 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \ 33190 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 33191 esac; \ 33192 srcdiroption="--srcdir=$${topdir}/libvtv"; \ 33193 libsrcdir="$$s/libvtv"; \ 33194 rm -f no-such-file || : ; \ 33195 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 33196 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 33197 --target=${target_alias} $${srcdiroption} \ 33198 || exit 1 33199 @endif target-libvtv 33200 33201 33202 33203 .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv 33204 maybe-configure-stage1-target-libvtv: 33205 @if target-libvtv-bootstrap 33206 maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv 33207 configure-stage1-target-libvtv: 33208 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 33209 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv 33210 @r=`${PWD_COMMAND}`; export r; \ 33211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33212 TFLAGS="$(STAGE1_TFLAGS)"; \ 33213 echo "Checking multilib configuration for libvtv..."; \ 33214 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \ 33215 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \ 33216 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \ 33217 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \ 33218 else \ 33219 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \ 33220 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ 33221 fi; \ 33222 else \ 33223 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ 33224 fi; \ 33225 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \ 33226 $(RAW_CXX_TARGET_EXPORTS) \ 33227 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 33228 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 33229 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 33230 echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv ; \ 33231 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \ 33232 cd $(TARGET_SUBDIR)/libvtv || exit 1; \ 33233 case $(srcdir) in \ 33234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 33235 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \ 33236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 33237 esac; \ 33238 srcdiroption="--srcdir=$${topdir}/libvtv"; \ 33239 libsrcdir="$$s/libvtv"; \ 33240 $(SHELL) $${libsrcdir}/configure \ 33241 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 33242 --target=${target_alias} $${srcdiroption} \ 33243 $(STAGE1_CONFIGURE_FLAGS) 33244 @endif target-libvtv-bootstrap 33245 33246 .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv 33247 maybe-configure-stage2-target-libvtv: 33248 @if target-libvtv-bootstrap 33249 maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv 33250 configure-stage2-target-libvtv: 33251 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 33252 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv 33253 @r=`${PWD_COMMAND}`; export r; \ 33254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33255 TFLAGS="$(STAGE2_TFLAGS)"; \ 33256 echo "Checking multilib configuration for libvtv..."; \ 33257 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \ 33258 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \ 33259 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \ 33260 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \ 33261 else \ 33262 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \ 33263 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ 33264 fi; \ 33265 else \ 33266 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ 33267 fi; \ 33268 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \ 33269 $(RAW_CXX_TARGET_EXPORTS) \ 33270 \ 33271 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 33272 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 33273 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 33274 echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv ; \ 33275 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \ 33276 cd $(TARGET_SUBDIR)/libvtv || exit 1; \ 33277 case $(srcdir) in \ 33278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 33279 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \ 33280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 33281 esac; \ 33282 srcdiroption="--srcdir=$${topdir}/libvtv"; \ 33283 libsrcdir="$$s/libvtv"; \ 33284 $(SHELL) $${libsrcdir}/configure \ 33285 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 33286 --target=${target_alias} $${srcdiroption} \ 33287 --with-build-libsubdir=$(HOST_SUBDIR) \ 33288 $(STAGE2_CONFIGURE_FLAGS) 33289 @endif target-libvtv-bootstrap 33290 33291 .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv 33292 maybe-configure-stage3-target-libvtv: 33293 @if target-libvtv-bootstrap 33294 maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv 33295 configure-stage3-target-libvtv: 33296 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 33297 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv 33298 @r=`${PWD_COMMAND}`; export r; \ 33299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33300 TFLAGS="$(STAGE3_TFLAGS)"; \ 33301 echo "Checking multilib configuration for libvtv..."; \ 33302 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \ 33303 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \ 33304 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \ 33305 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \ 33306 else \ 33307 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \ 33308 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ 33309 fi; \ 33310 else \ 33311 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ 33312 fi; \ 33313 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \ 33314 $(RAW_CXX_TARGET_EXPORTS) \ 33315 \ 33316 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 33317 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 33318 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 33319 echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv ; \ 33320 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \ 33321 cd $(TARGET_SUBDIR)/libvtv || exit 1; \ 33322 case $(srcdir) in \ 33323 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 33324 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \ 33325 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 33326 esac; \ 33327 srcdiroption="--srcdir=$${topdir}/libvtv"; \ 33328 libsrcdir="$$s/libvtv"; \ 33329 $(SHELL) $${libsrcdir}/configure \ 33330 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 33331 --target=${target_alias} $${srcdiroption} \ 33332 --with-build-libsubdir=$(HOST_SUBDIR) \ 33333 $(STAGE3_CONFIGURE_FLAGS) 33334 @endif target-libvtv-bootstrap 33335 33336 .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv 33337 maybe-configure-stage4-target-libvtv: 33338 @if target-libvtv-bootstrap 33339 maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv 33340 configure-stage4-target-libvtv: 33341 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 33342 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv 33343 @r=`${PWD_COMMAND}`; export r; \ 33344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33345 TFLAGS="$(STAGE4_TFLAGS)"; \ 33346 echo "Checking multilib configuration for libvtv..."; \ 33347 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \ 33348 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \ 33349 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \ 33350 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \ 33351 else \ 33352 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \ 33353 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ 33354 fi; \ 33355 else \ 33356 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ 33357 fi; \ 33358 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \ 33359 $(RAW_CXX_TARGET_EXPORTS) \ 33360 \ 33361 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 33362 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 33363 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 33364 echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv ; \ 33365 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \ 33366 cd $(TARGET_SUBDIR)/libvtv || exit 1; \ 33367 case $(srcdir) in \ 33368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 33369 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \ 33370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 33371 esac; \ 33372 srcdiroption="--srcdir=$${topdir}/libvtv"; \ 33373 libsrcdir="$$s/libvtv"; \ 33374 $(SHELL) $${libsrcdir}/configure \ 33375 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 33376 --target=${target_alias} $${srcdiroption} \ 33377 --with-build-libsubdir=$(HOST_SUBDIR) \ 33378 $(STAGE4_CONFIGURE_FLAGS) 33379 @endif target-libvtv-bootstrap 33380 33381 .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv 33382 maybe-configure-stageprofile-target-libvtv: 33383 @if target-libvtv-bootstrap 33384 maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv 33385 configure-stageprofile-target-libvtv: 33386 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 33387 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv 33388 @r=`${PWD_COMMAND}`; export r; \ 33389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33390 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 33391 echo "Checking multilib configuration for libvtv..."; \ 33392 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \ 33393 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \ 33394 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \ 33395 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \ 33396 else \ 33397 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \ 33398 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ 33399 fi; \ 33400 else \ 33401 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ 33402 fi; \ 33403 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \ 33404 $(RAW_CXX_TARGET_EXPORTS) \ 33405 \ 33406 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 33407 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 33408 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 33409 echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv ; \ 33410 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \ 33411 cd $(TARGET_SUBDIR)/libvtv || exit 1; \ 33412 case $(srcdir) in \ 33413 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 33414 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \ 33415 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 33416 esac; \ 33417 srcdiroption="--srcdir=$${topdir}/libvtv"; \ 33418 libsrcdir="$$s/libvtv"; \ 33419 $(SHELL) $${libsrcdir}/configure \ 33420 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 33421 --target=${target_alias} $${srcdiroption} \ 33422 --with-build-libsubdir=$(HOST_SUBDIR) \ 33423 $(STAGEprofile_CONFIGURE_FLAGS) 33424 @endif target-libvtv-bootstrap 33425 33426 .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv 33427 maybe-configure-stagefeedback-target-libvtv: 33428 @if target-libvtv-bootstrap 33429 maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv 33430 configure-stagefeedback-target-libvtv: 33431 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 33432 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv 33433 @r=`${PWD_COMMAND}`; export r; \ 33434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33435 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 33436 echo "Checking multilib configuration for libvtv..."; \ 33437 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \ 33438 if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \ 33439 if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \ 33440 rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \ 33441 else \ 33442 rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \ 33443 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ 33444 fi; \ 33445 else \ 33446 mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \ 33447 fi; \ 33448 test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \ 33449 $(RAW_CXX_TARGET_EXPORTS) \ 33450 \ 33451 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 33452 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 33453 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 33454 echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv ; \ 33455 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \ 33456 cd $(TARGET_SUBDIR)/libvtv || exit 1; \ 33457 case $(srcdir) in \ 33458 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 33459 *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \ 33460 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 33461 esac; \ 33462 srcdiroption="--srcdir=$${topdir}/libvtv"; \ 33463 libsrcdir="$$s/libvtv"; \ 33464 $(SHELL) $${libsrcdir}/configure \ 33465 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 33466 --target=${target_alias} $${srcdiroption} \ 33467 --with-build-libsubdir=$(HOST_SUBDIR) \ 33468 $(STAGEfeedback_CONFIGURE_FLAGS) 33469 @endif target-libvtv-bootstrap 33470 33471 33472 33473 33474 33475 .PHONY: all-target-libvtv maybe-all-target-libvtv 33476 maybe-all-target-libvtv: 33477 @if gcc-bootstrap 33478 all-target-libvtv: stage_current 33479 @endif gcc-bootstrap 33480 @if target-libvtv 33481 TARGET-target-libvtv=all 33482 maybe-all-target-libvtv: all-target-libvtv 33483 all-target-libvtv: configure-target-libvtv 33484 @r=`${PWD_COMMAND}`; export r; \ 33485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33486 $(RAW_CXX_TARGET_EXPORTS) \ 33487 (cd $(TARGET_SUBDIR)/libvtv && \ 33488 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 33489 $(TARGET-target-libvtv)) 33490 @endif target-libvtv 33491 33492 33493 33494 .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv 33495 .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv 33496 maybe-all-stage1-target-libvtv: 33497 maybe-clean-stage1-target-libvtv: 33498 @if target-libvtv-bootstrap 33499 maybe-all-stage1-target-libvtv: all-stage1-target-libvtv 33500 all-stage1: all-stage1-target-libvtv 33501 TARGET-stage1-target-libvtv = $(TARGET-target-libvtv) 33502 all-stage1-target-libvtv: configure-stage1-target-libvtv 33503 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 33504 @r=`${PWD_COMMAND}`; export r; \ 33505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33506 TFLAGS="$(STAGE1_TFLAGS)"; \ 33507 $(RAW_CXX_TARGET_EXPORTS) \ 33508 cd $(TARGET_SUBDIR)/libvtv && \ 33509 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 33510 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 33511 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 33512 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 33513 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 33514 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 33515 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 33516 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 33517 \ 33518 TFLAGS="$(STAGE1_TFLAGS)" \ 33519 $(TARGET-stage1-target-libvtv) 33520 33521 maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv 33522 clean-stage1: clean-stage1-target-libvtv 33523 clean-stage1-target-libvtv: 33524 @if [ $(current_stage) = stage1 ]; then \ 33525 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \ 33526 else \ 33527 [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \ 33528 $(MAKE) stage1-start; \ 33529 fi; \ 33530 cd $(TARGET_SUBDIR)/libvtv && \ 33531 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 33532 clean 33533 @endif target-libvtv-bootstrap 33534 33535 33536 .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv 33537 .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv 33538 maybe-all-stage2-target-libvtv: 33539 maybe-clean-stage2-target-libvtv: 33540 @if target-libvtv-bootstrap 33541 maybe-all-stage2-target-libvtv: all-stage2-target-libvtv 33542 all-stage2: all-stage2-target-libvtv 33543 TARGET-stage2-target-libvtv = $(TARGET-target-libvtv) 33544 all-stage2-target-libvtv: configure-stage2-target-libvtv 33545 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 33546 @r=`${PWD_COMMAND}`; export r; \ 33547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33548 TFLAGS="$(STAGE2_TFLAGS)"; \ 33549 $(RAW_CXX_TARGET_EXPORTS) \ 33550 \ 33551 cd $(TARGET_SUBDIR)/libvtv && \ 33552 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 33553 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 33554 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 33555 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 33556 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 33557 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 33558 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 33559 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 33560 TFLAGS="$(STAGE2_TFLAGS)" \ 33561 $(TARGET-stage2-target-libvtv) 33562 33563 maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv 33564 clean-stage2: clean-stage2-target-libvtv 33565 clean-stage2-target-libvtv: 33566 @if [ $(current_stage) = stage2 ]; then \ 33567 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \ 33568 else \ 33569 [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \ 33570 $(MAKE) stage2-start; \ 33571 fi; \ 33572 cd $(TARGET_SUBDIR)/libvtv && \ 33573 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 33574 @endif target-libvtv-bootstrap 33575 33576 33577 .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv 33578 .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv 33579 maybe-all-stage3-target-libvtv: 33580 maybe-clean-stage3-target-libvtv: 33581 @if target-libvtv-bootstrap 33582 maybe-all-stage3-target-libvtv: all-stage3-target-libvtv 33583 all-stage3: all-stage3-target-libvtv 33584 TARGET-stage3-target-libvtv = $(TARGET-target-libvtv) 33585 all-stage3-target-libvtv: configure-stage3-target-libvtv 33586 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 33587 @r=`${PWD_COMMAND}`; export r; \ 33588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33589 TFLAGS="$(STAGE3_TFLAGS)"; \ 33590 $(RAW_CXX_TARGET_EXPORTS) \ 33591 \ 33592 cd $(TARGET_SUBDIR)/libvtv && \ 33593 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 33594 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 33595 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 33596 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 33597 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 33598 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 33599 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 33600 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 33601 TFLAGS="$(STAGE3_TFLAGS)" \ 33602 $(TARGET-stage3-target-libvtv) 33603 33604 maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv 33605 clean-stage3: clean-stage3-target-libvtv 33606 clean-stage3-target-libvtv: 33607 @if [ $(current_stage) = stage3 ]; then \ 33608 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \ 33609 else \ 33610 [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \ 33611 $(MAKE) stage3-start; \ 33612 fi; \ 33613 cd $(TARGET_SUBDIR)/libvtv && \ 33614 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 33615 @endif target-libvtv-bootstrap 33616 33617 33618 .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv 33619 .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv 33620 maybe-all-stage4-target-libvtv: 33621 maybe-clean-stage4-target-libvtv: 33622 @if target-libvtv-bootstrap 33623 maybe-all-stage4-target-libvtv: all-stage4-target-libvtv 33624 all-stage4: all-stage4-target-libvtv 33625 TARGET-stage4-target-libvtv = $(TARGET-target-libvtv) 33626 all-stage4-target-libvtv: configure-stage4-target-libvtv 33627 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 33628 @r=`${PWD_COMMAND}`; export r; \ 33629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33630 TFLAGS="$(STAGE4_TFLAGS)"; \ 33631 $(RAW_CXX_TARGET_EXPORTS) \ 33632 \ 33633 cd $(TARGET_SUBDIR)/libvtv && \ 33634 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 33635 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 33636 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 33637 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 33638 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 33639 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 33640 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 33641 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 33642 TFLAGS="$(STAGE4_TFLAGS)" \ 33643 $(TARGET-stage4-target-libvtv) 33644 33645 maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv 33646 clean-stage4: clean-stage4-target-libvtv 33647 clean-stage4-target-libvtv: 33648 @if [ $(current_stage) = stage4 ]; then \ 33649 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \ 33650 else \ 33651 [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \ 33652 $(MAKE) stage4-start; \ 33653 fi; \ 33654 cd $(TARGET_SUBDIR)/libvtv && \ 33655 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 33656 @endif target-libvtv-bootstrap 33657 33658 33659 .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv 33660 .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv 33661 maybe-all-stageprofile-target-libvtv: 33662 maybe-clean-stageprofile-target-libvtv: 33663 @if target-libvtv-bootstrap 33664 maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv 33665 all-stageprofile: all-stageprofile-target-libvtv 33666 TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv) 33667 all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv 33668 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 33669 @r=`${PWD_COMMAND}`; export r; \ 33670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33671 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 33672 $(RAW_CXX_TARGET_EXPORTS) \ 33673 \ 33674 cd $(TARGET_SUBDIR)/libvtv && \ 33675 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 33676 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 33677 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 33678 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 33679 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 33680 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 33681 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 33682 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 33683 TFLAGS="$(STAGEprofile_TFLAGS)" \ 33684 $(TARGET-stageprofile-target-libvtv) 33685 33686 maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv 33687 clean-stageprofile: clean-stageprofile-target-libvtv 33688 clean-stageprofile-target-libvtv: 33689 @if [ $(current_stage) = stageprofile ]; then \ 33690 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \ 33691 else \ 33692 [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \ 33693 $(MAKE) stageprofile-start; \ 33694 fi; \ 33695 cd $(TARGET_SUBDIR)/libvtv && \ 33696 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 33697 @endif target-libvtv-bootstrap 33698 33699 33700 .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv 33701 .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv 33702 maybe-all-stagefeedback-target-libvtv: 33703 maybe-clean-stagefeedback-target-libvtv: 33704 @if target-libvtv-bootstrap 33705 maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv 33706 all-stagefeedback: all-stagefeedback-target-libvtv 33707 TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv) 33708 all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv 33709 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 33710 @r=`${PWD_COMMAND}`; export r; \ 33711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33712 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 33713 $(RAW_CXX_TARGET_EXPORTS) \ 33714 \ 33715 cd $(TARGET_SUBDIR)/libvtv && \ 33716 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 33717 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 33718 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 33719 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 33720 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 33721 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 33722 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 33723 $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 33724 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 33725 $(TARGET-stagefeedback-target-libvtv) 33726 33727 maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv 33728 clean-stagefeedback: clean-stagefeedback-target-libvtv 33729 clean-stagefeedback-target-libvtv: 33730 @if [ $(current_stage) = stagefeedback ]; then \ 33731 [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \ 33732 else \ 33733 [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \ 33734 $(MAKE) stagefeedback-start; \ 33735 fi; \ 33736 cd $(TARGET_SUBDIR)/libvtv && \ 33737 $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean 33738 @endif target-libvtv-bootstrap 33739 33740 33741 33742 33743 33744 33745 .PHONY: check-target-libvtv maybe-check-target-libvtv 33746 maybe-check-target-libvtv: 33747 @if target-libvtv 33748 maybe-check-target-libvtv: check-target-libvtv 33749 33750 check-target-libvtv: 33751 @: $(MAKE); $(unstage) 33752 @r=`${PWD_COMMAND}`; export r; \ 33753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33754 $(RAW_CXX_TARGET_EXPORTS) \ 33755 (cd $(TARGET_SUBDIR)/libvtv && \ 33756 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check) 33757 33758 @endif target-libvtv 33759 33760 .PHONY: install-target-libvtv maybe-install-target-libvtv 33761 maybe-install-target-libvtv: 33762 @if target-libvtv 33763 maybe-install-target-libvtv: install-target-libvtv 33764 33765 install-target-libvtv: installdirs 33766 @: $(MAKE); $(unstage) 33767 @r=`${PWD_COMMAND}`; export r; \ 33768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33769 $(RAW_CXX_TARGET_EXPORTS) \ 33770 (cd $(TARGET_SUBDIR)/libvtv && \ 33771 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 33772 33773 @endif target-libvtv 33774 33775 .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv 33776 maybe-install-strip-target-libvtv: 33777 @if target-libvtv 33778 maybe-install-strip-target-libvtv: install-strip-target-libvtv 33779 33780 install-strip-target-libvtv: installdirs 33781 @: $(MAKE); $(unstage) 33782 @r=`${PWD_COMMAND}`; export r; \ 33783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33784 $(RAW_CXX_TARGET_EXPORTS) \ 33785 (cd $(TARGET_SUBDIR)/libvtv && \ 33786 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 33787 33788 @endif target-libvtv 33789 33790 # Other targets (info, dvi, pdf, etc.) 33791 33792 .PHONY: maybe-info-target-libvtv info-target-libvtv 33793 maybe-info-target-libvtv: 33794 @if target-libvtv 33795 maybe-info-target-libvtv: info-target-libvtv 33796 33797 info-target-libvtv: \ 33798 configure-target-libvtv 33799 @: $(MAKE); $(unstage) 33800 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \ 33801 r=`${PWD_COMMAND}`; export r; \ 33802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33803 $(RAW_CXX_TARGET_EXPORTS) \ 33804 echo "Doing info in $(TARGET_SUBDIR)/libvtv" ; \ 33805 for flag in $(EXTRA_TARGET_FLAGS); do \ 33806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 33807 done; \ 33808 (cd $(TARGET_SUBDIR)/libvtv && \ 33809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 33810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 33811 "RANLIB=$${RANLIB}" \ 33812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 33813 info) \ 33814 || exit 1 33815 33816 @endif target-libvtv 33817 33818 .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv 33819 maybe-dvi-target-libvtv: 33820 @if target-libvtv 33821 maybe-dvi-target-libvtv: dvi-target-libvtv 33822 33823 dvi-target-libvtv: \ 33824 configure-target-libvtv 33825 @: $(MAKE); $(unstage) 33826 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \ 33827 r=`${PWD_COMMAND}`; export r; \ 33828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33829 $(RAW_CXX_TARGET_EXPORTS) \ 33830 echo "Doing dvi in $(TARGET_SUBDIR)/libvtv" ; \ 33831 for flag in $(EXTRA_TARGET_FLAGS); do \ 33832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 33833 done; \ 33834 (cd $(TARGET_SUBDIR)/libvtv && \ 33835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 33836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 33837 "RANLIB=$${RANLIB}" \ 33838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 33839 dvi) \ 33840 || exit 1 33841 33842 @endif target-libvtv 33843 33844 .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv 33845 maybe-pdf-target-libvtv: 33846 @if target-libvtv 33847 maybe-pdf-target-libvtv: pdf-target-libvtv 33848 33849 pdf-target-libvtv: \ 33850 configure-target-libvtv 33851 @: $(MAKE); $(unstage) 33852 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \ 33853 r=`${PWD_COMMAND}`; export r; \ 33854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33855 $(RAW_CXX_TARGET_EXPORTS) \ 33856 echo "Doing pdf in $(TARGET_SUBDIR)/libvtv" ; \ 33857 for flag in $(EXTRA_TARGET_FLAGS); do \ 33858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 33859 done; \ 33860 (cd $(TARGET_SUBDIR)/libvtv && \ 33861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 33862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 33863 "RANLIB=$${RANLIB}" \ 33864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 33865 pdf) \ 33866 || exit 1 33867 33868 @endif target-libvtv 33869 33870 .PHONY: maybe-html-target-libvtv html-target-libvtv 33871 maybe-html-target-libvtv: 33872 @if target-libvtv 33873 maybe-html-target-libvtv: html-target-libvtv 33874 33875 html-target-libvtv: \ 33876 configure-target-libvtv 33877 @: $(MAKE); $(unstage) 33878 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \ 33879 r=`${PWD_COMMAND}`; export r; \ 33880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33881 $(RAW_CXX_TARGET_EXPORTS) \ 33882 echo "Doing html in $(TARGET_SUBDIR)/libvtv" ; \ 33883 for flag in $(EXTRA_TARGET_FLAGS); do \ 33884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 33885 done; \ 33886 (cd $(TARGET_SUBDIR)/libvtv && \ 33887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 33888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 33889 "RANLIB=$${RANLIB}" \ 33890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 33891 html) \ 33892 || exit 1 33893 33894 @endif target-libvtv 33895 33896 .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv 33897 maybe-TAGS-target-libvtv: 33898 @if target-libvtv 33899 maybe-TAGS-target-libvtv: TAGS-target-libvtv 33900 33901 TAGS-target-libvtv: \ 33902 configure-target-libvtv 33903 @: $(MAKE); $(unstage) 33904 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \ 33905 r=`${PWD_COMMAND}`; export r; \ 33906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33907 $(RAW_CXX_TARGET_EXPORTS) \ 33908 echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv" ; \ 33909 for flag in $(EXTRA_TARGET_FLAGS); do \ 33910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 33911 done; \ 33912 (cd $(TARGET_SUBDIR)/libvtv && \ 33913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 33914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 33915 "RANLIB=$${RANLIB}" \ 33916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 33917 TAGS) \ 33918 || exit 1 33919 33920 @endif target-libvtv 33921 33922 .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv 33923 maybe-install-info-target-libvtv: 33924 @if target-libvtv 33925 maybe-install-info-target-libvtv: install-info-target-libvtv 33926 33927 install-info-target-libvtv: \ 33928 configure-target-libvtv \ 33929 info-target-libvtv 33930 @: $(MAKE); $(unstage) 33931 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \ 33932 r=`${PWD_COMMAND}`; export r; \ 33933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33934 $(RAW_CXX_TARGET_EXPORTS) \ 33935 echo "Doing install-info in $(TARGET_SUBDIR)/libvtv" ; \ 33936 for flag in $(EXTRA_TARGET_FLAGS); do \ 33937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 33938 done; \ 33939 (cd $(TARGET_SUBDIR)/libvtv && \ 33940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 33941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 33942 "RANLIB=$${RANLIB}" \ 33943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 33944 install-info) \ 33945 || exit 1 33946 33947 @endif target-libvtv 33948 33949 .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv 33950 maybe-install-pdf-target-libvtv: 33951 @if target-libvtv 33952 maybe-install-pdf-target-libvtv: install-pdf-target-libvtv 33953 33954 install-pdf-target-libvtv: \ 33955 configure-target-libvtv \ 33956 pdf-target-libvtv 33957 @: $(MAKE); $(unstage) 33958 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \ 33959 r=`${PWD_COMMAND}`; export r; \ 33960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33961 $(RAW_CXX_TARGET_EXPORTS) \ 33962 echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv" ; \ 33963 for flag in $(EXTRA_TARGET_FLAGS); do \ 33964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 33965 done; \ 33966 (cd $(TARGET_SUBDIR)/libvtv && \ 33967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 33968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 33969 "RANLIB=$${RANLIB}" \ 33970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 33971 install-pdf) \ 33972 || exit 1 33973 33974 @endif target-libvtv 33975 33976 .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv 33977 maybe-install-html-target-libvtv: 33978 @if target-libvtv 33979 maybe-install-html-target-libvtv: install-html-target-libvtv 33980 33981 install-html-target-libvtv: \ 33982 configure-target-libvtv \ 33983 html-target-libvtv 33984 @: $(MAKE); $(unstage) 33985 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \ 33986 r=`${PWD_COMMAND}`; export r; \ 33987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 33988 $(RAW_CXX_TARGET_EXPORTS) \ 33989 echo "Doing install-html in $(TARGET_SUBDIR)/libvtv" ; \ 33990 for flag in $(EXTRA_TARGET_FLAGS); do \ 33991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 33992 done; \ 33993 (cd $(TARGET_SUBDIR)/libvtv && \ 33994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 33995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 33996 "RANLIB=$${RANLIB}" \ 33997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 33998 install-html) \ 33999 || exit 1 34000 34001 @endif target-libvtv 34002 34003 .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv 34004 maybe-installcheck-target-libvtv: 34005 @if target-libvtv 34006 maybe-installcheck-target-libvtv: installcheck-target-libvtv 34007 34008 installcheck-target-libvtv: \ 34009 configure-target-libvtv 34010 @: $(MAKE); $(unstage) 34011 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \ 34012 r=`${PWD_COMMAND}`; export r; \ 34013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34014 $(RAW_CXX_TARGET_EXPORTS) \ 34015 echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv" ; \ 34016 for flag in $(EXTRA_TARGET_FLAGS); do \ 34017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34018 done; \ 34019 (cd $(TARGET_SUBDIR)/libvtv && \ 34020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34022 "RANLIB=$${RANLIB}" \ 34023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34024 installcheck) \ 34025 || exit 1 34026 34027 @endif target-libvtv 34028 34029 .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv 34030 maybe-mostlyclean-target-libvtv: 34031 @if target-libvtv 34032 maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv 34033 34034 mostlyclean-target-libvtv: 34035 @: $(MAKE); $(unstage) 34036 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \ 34037 r=`${PWD_COMMAND}`; export r; \ 34038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34039 $(RAW_CXX_TARGET_EXPORTS) \ 34040 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv" ; \ 34041 for flag in $(EXTRA_TARGET_FLAGS); do \ 34042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34043 done; \ 34044 (cd $(TARGET_SUBDIR)/libvtv && \ 34045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34047 "RANLIB=$${RANLIB}" \ 34048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34049 mostlyclean) \ 34050 || exit 1 34051 34052 @endif target-libvtv 34053 34054 .PHONY: maybe-clean-target-libvtv clean-target-libvtv 34055 maybe-clean-target-libvtv: 34056 @if target-libvtv 34057 maybe-clean-target-libvtv: clean-target-libvtv 34058 34059 clean-target-libvtv: 34060 @: $(MAKE); $(unstage) 34061 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \ 34062 r=`${PWD_COMMAND}`; export r; \ 34063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34064 $(RAW_CXX_TARGET_EXPORTS) \ 34065 echo "Doing clean in $(TARGET_SUBDIR)/libvtv" ; \ 34066 for flag in $(EXTRA_TARGET_FLAGS); do \ 34067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34068 done; \ 34069 (cd $(TARGET_SUBDIR)/libvtv && \ 34070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34072 "RANLIB=$${RANLIB}" \ 34073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34074 clean) \ 34075 || exit 1 34076 34077 @endif target-libvtv 34078 34079 .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv 34080 maybe-distclean-target-libvtv: 34081 @if target-libvtv 34082 maybe-distclean-target-libvtv: distclean-target-libvtv 34083 34084 distclean-target-libvtv: 34085 @: $(MAKE); $(unstage) 34086 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \ 34087 r=`${PWD_COMMAND}`; export r; \ 34088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34089 $(RAW_CXX_TARGET_EXPORTS) \ 34090 echo "Doing distclean in $(TARGET_SUBDIR)/libvtv" ; \ 34091 for flag in $(EXTRA_TARGET_FLAGS); do \ 34092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34093 done; \ 34094 (cd $(TARGET_SUBDIR)/libvtv && \ 34095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34097 "RANLIB=$${RANLIB}" \ 34098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34099 distclean) \ 34100 || exit 1 34101 34102 @endif target-libvtv 34103 34104 .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv 34105 maybe-maintainer-clean-target-libvtv: 34106 @if target-libvtv 34107 maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv 34108 34109 maintainer-clean-target-libvtv: 34110 @: $(MAKE); $(unstage) 34111 @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \ 34112 r=`${PWD_COMMAND}`; export r; \ 34113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34114 $(RAW_CXX_TARGET_EXPORTS) \ 34115 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv" ; \ 34116 for flag in $(EXTRA_TARGET_FLAGS); do \ 34117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34118 done; \ 34119 (cd $(TARGET_SUBDIR)/libvtv && \ 34120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34122 "RANLIB=$${RANLIB}" \ 34123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34124 maintainer-clean) \ 34125 || exit 1 34126 34127 @endif target-libvtv 34128 34129 34130 34131 34132 34133 .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts 34134 maybe-configure-target-libcilkrts: 34135 @if gcc-bootstrap 34136 configure-target-libcilkrts: stage_current 34137 @endif gcc-bootstrap 34138 @if target-libcilkrts 34139 maybe-configure-target-libcilkrts: configure-target-libcilkrts 34140 configure-target-libcilkrts: 34141 @: $(MAKE); $(unstage) 34142 @r=`${PWD_COMMAND}`; export r; \ 34143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34144 echo "Checking multilib configuration for libcilkrts..."; \ 34145 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \ 34146 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \ 34147 if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \ 34148 if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \ 34149 rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \ 34150 else \ 34151 rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \ 34152 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \ 34153 fi; \ 34154 else \ 34155 mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \ 34156 fi; \ 34157 test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \ 34158 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \ 34159 $(NORMAL_TARGET_EXPORTS) \ 34160 echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \ 34161 cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \ 34162 case $(srcdir) in \ 34163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 34164 *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \ 34165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 34166 esac; \ 34167 srcdiroption="--srcdir=$${topdir}/libcilkrts"; \ 34168 libsrcdir="$$s/libcilkrts"; \ 34169 rm -f no-such-file || : ; \ 34170 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 34171 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 34172 --target=${target_alias} $${srcdiroption} \ 34173 || exit 1 34174 @endif target-libcilkrts 34175 34176 34177 34178 34179 34180 .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts 34181 maybe-all-target-libcilkrts: 34182 @if gcc-bootstrap 34183 all-target-libcilkrts: stage_current 34184 @endif gcc-bootstrap 34185 @if target-libcilkrts 34186 TARGET-target-libcilkrts=all 34187 maybe-all-target-libcilkrts: all-target-libcilkrts 34188 all-target-libcilkrts: configure-target-libcilkrts 34189 @: $(MAKE); $(unstage) 34190 @r=`${PWD_COMMAND}`; export r; \ 34191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34192 $(NORMAL_TARGET_EXPORTS) \ 34193 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34194 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 34195 $(TARGET-target-libcilkrts)) 34196 @endif target-libcilkrts 34197 34198 34199 34200 34201 34202 .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts 34203 maybe-check-target-libcilkrts: 34204 @if target-libcilkrts 34205 maybe-check-target-libcilkrts: check-target-libcilkrts 34206 34207 check-target-libcilkrts: 34208 @: $(MAKE); $(unstage) 34209 @r=`${PWD_COMMAND}`; export r; \ 34210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34211 $(NORMAL_TARGET_EXPORTS) \ 34212 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34213 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 34214 34215 @endif target-libcilkrts 34216 34217 .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts 34218 maybe-install-target-libcilkrts: 34219 @if target-libcilkrts 34220 maybe-install-target-libcilkrts: install-target-libcilkrts 34221 34222 install-target-libcilkrts: installdirs 34223 @: $(MAKE); $(unstage) 34224 @r=`${PWD_COMMAND}`; export r; \ 34225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34226 $(NORMAL_TARGET_EXPORTS) \ 34227 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34228 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 34229 34230 @endif target-libcilkrts 34231 34232 .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts 34233 maybe-install-strip-target-libcilkrts: 34234 @if target-libcilkrts 34235 maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts 34236 34237 install-strip-target-libcilkrts: installdirs 34238 @: $(MAKE); $(unstage) 34239 @r=`${PWD_COMMAND}`; export r; \ 34240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34241 $(NORMAL_TARGET_EXPORTS) \ 34242 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34243 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 34244 34245 @endif target-libcilkrts 34246 34247 # Other targets (info, dvi, pdf, etc.) 34248 34249 .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts 34250 maybe-info-target-libcilkrts: 34251 @if target-libcilkrts 34252 maybe-info-target-libcilkrts: info-target-libcilkrts 34253 34254 info-target-libcilkrts: \ 34255 configure-target-libcilkrts 34256 @: $(MAKE); $(unstage) 34257 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \ 34258 r=`${PWD_COMMAND}`; export r; \ 34259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34260 $(NORMAL_TARGET_EXPORTS) \ 34261 echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \ 34262 for flag in $(EXTRA_TARGET_FLAGS); do \ 34263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34264 done; \ 34265 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34268 "RANLIB=$${RANLIB}" \ 34269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34270 info) \ 34271 || exit 1 34272 34273 @endif target-libcilkrts 34274 34275 .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts 34276 maybe-dvi-target-libcilkrts: 34277 @if target-libcilkrts 34278 maybe-dvi-target-libcilkrts: dvi-target-libcilkrts 34279 34280 dvi-target-libcilkrts: \ 34281 configure-target-libcilkrts 34282 @: $(MAKE); $(unstage) 34283 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \ 34284 r=`${PWD_COMMAND}`; export r; \ 34285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34286 $(NORMAL_TARGET_EXPORTS) \ 34287 echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \ 34288 for flag in $(EXTRA_TARGET_FLAGS); do \ 34289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34290 done; \ 34291 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34294 "RANLIB=$${RANLIB}" \ 34295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34296 dvi) \ 34297 || exit 1 34298 34299 @endif target-libcilkrts 34300 34301 .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts 34302 maybe-pdf-target-libcilkrts: 34303 @if target-libcilkrts 34304 maybe-pdf-target-libcilkrts: pdf-target-libcilkrts 34305 34306 pdf-target-libcilkrts: \ 34307 configure-target-libcilkrts 34308 @: $(MAKE); $(unstage) 34309 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \ 34310 r=`${PWD_COMMAND}`; export r; \ 34311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34312 $(NORMAL_TARGET_EXPORTS) \ 34313 echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \ 34314 for flag in $(EXTRA_TARGET_FLAGS); do \ 34315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34316 done; \ 34317 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34320 "RANLIB=$${RANLIB}" \ 34321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34322 pdf) \ 34323 || exit 1 34324 34325 @endif target-libcilkrts 34326 34327 .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts 34328 maybe-html-target-libcilkrts: 34329 @if target-libcilkrts 34330 maybe-html-target-libcilkrts: html-target-libcilkrts 34331 34332 html-target-libcilkrts: \ 34333 configure-target-libcilkrts 34334 @: $(MAKE); $(unstage) 34335 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \ 34336 r=`${PWD_COMMAND}`; export r; \ 34337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34338 $(NORMAL_TARGET_EXPORTS) \ 34339 echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \ 34340 for flag in $(EXTRA_TARGET_FLAGS); do \ 34341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34342 done; \ 34343 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34346 "RANLIB=$${RANLIB}" \ 34347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34348 html) \ 34349 || exit 1 34350 34351 @endif target-libcilkrts 34352 34353 .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts 34354 maybe-TAGS-target-libcilkrts: 34355 @if target-libcilkrts 34356 maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts 34357 34358 TAGS-target-libcilkrts: \ 34359 configure-target-libcilkrts 34360 @: $(MAKE); $(unstage) 34361 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \ 34362 r=`${PWD_COMMAND}`; export r; \ 34363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34364 $(NORMAL_TARGET_EXPORTS) \ 34365 echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \ 34366 for flag in $(EXTRA_TARGET_FLAGS); do \ 34367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34368 done; \ 34369 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34372 "RANLIB=$${RANLIB}" \ 34373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34374 TAGS) \ 34375 || exit 1 34376 34377 @endif target-libcilkrts 34378 34379 .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts 34380 maybe-install-info-target-libcilkrts: 34381 @if target-libcilkrts 34382 maybe-install-info-target-libcilkrts: install-info-target-libcilkrts 34383 34384 install-info-target-libcilkrts: \ 34385 configure-target-libcilkrts \ 34386 info-target-libcilkrts 34387 @: $(MAKE); $(unstage) 34388 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \ 34389 r=`${PWD_COMMAND}`; export r; \ 34390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34391 $(NORMAL_TARGET_EXPORTS) \ 34392 echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \ 34393 for flag in $(EXTRA_TARGET_FLAGS); do \ 34394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34395 done; \ 34396 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34399 "RANLIB=$${RANLIB}" \ 34400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34401 install-info) \ 34402 || exit 1 34403 34404 @endif target-libcilkrts 34405 34406 .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts 34407 maybe-install-pdf-target-libcilkrts: 34408 @if target-libcilkrts 34409 maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts 34410 34411 install-pdf-target-libcilkrts: \ 34412 configure-target-libcilkrts \ 34413 pdf-target-libcilkrts 34414 @: $(MAKE); $(unstage) 34415 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \ 34416 r=`${PWD_COMMAND}`; export r; \ 34417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34418 $(NORMAL_TARGET_EXPORTS) \ 34419 echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \ 34420 for flag in $(EXTRA_TARGET_FLAGS); do \ 34421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34422 done; \ 34423 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34426 "RANLIB=$${RANLIB}" \ 34427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34428 install-pdf) \ 34429 || exit 1 34430 34431 @endif target-libcilkrts 34432 34433 .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts 34434 maybe-install-html-target-libcilkrts: 34435 @if target-libcilkrts 34436 maybe-install-html-target-libcilkrts: install-html-target-libcilkrts 34437 34438 install-html-target-libcilkrts: \ 34439 configure-target-libcilkrts \ 34440 html-target-libcilkrts 34441 @: $(MAKE); $(unstage) 34442 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \ 34443 r=`${PWD_COMMAND}`; export r; \ 34444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34445 $(NORMAL_TARGET_EXPORTS) \ 34446 echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \ 34447 for flag in $(EXTRA_TARGET_FLAGS); do \ 34448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34449 done; \ 34450 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34453 "RANLIB=$${RANLIB}" \ 34454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34455 install-html) \ 34456 || exit 1 34457 34458 @endif target-libcilkrts 34459 34460 .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts 34461 maybe-installcheck-target-libcilkrts: 34462 @if target-libcilkrts 34463 maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts 34464 34465 installcheck-target-libcilkrts: \ 34466 configure-target-libcilkrts 34467 @: $(MAKE); $(unstage) 34468 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \ 34469 r=`${PWD_COMMAND}`; export r; \ 34470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34471 $(NORMAL_TARGET_EXPORTS) \ 34472 echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \ 34473 for flag in $(EXTRA_TARGET_FLAGS); do \ 34474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34475 done; \ 34476 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34479 "RANLIB=$${RANLIB}" \ 34480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34481 installcheck) \ 34482 || exit 1 34483 34484 @endif target-libcilkrts 34485 34486 .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts 34487 maybe-mostlyclean-target-libcilkrts: 34488 @if target-libcilkrts 34489 maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts 34490 34491 mostlyclean-target-libcilkrts: 34492 @: $(MAKE); $(unstage) 34493 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \ 34494 r=`${PWD_COMMAND}`; export r; \ 34495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34496 $(NORMAL_TARGET_EXPORTS) \ 34497 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \ 34498 for flag in $(EXTRA_TARGET_FLAGS); do \ 34499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34500 done; \ 34501 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34504 "RANLIB=$${RANLIB}" \ 34505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34506 mostlyclean) \ 34507 || exit 1 34508 34509 @endif target-libcilkrts 34510 34511 .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts 34512 maybe-clean-target-libcilkrts: 34513 @if target-libcilkrts 34514 maybe-clean-target-libcilkrts: clean-target-libcilkrts 34515 34516 clean-target-libcilkrts: 34517 @: $(MAKE); $(unstage) 34518 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \ 34519 r=`${PWD_COMMAND}`; export r; \ 34520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34521 $(NORMAL_TARGET_EXPORTS) \ 34522 echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \ 34523 for flag in $(EXTRA_TARGET_FLAGS); do \ 34524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34525 done; \ 34526 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34529 "RANLIB=$${RANLIB}" \ 34530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34531 clean) \ 34532 || exit 1 34533 34534 @endif target-libcilkrts 34535 34536 .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts 34537 maybe-distclean-target-libcilkrts: 34538 @if target-libcilkrts 34539 maybe-distclean-target-libcilkrts: distclean-target-libcilkrts 34540 34541 distclean-target-libcilkrts: 34542 @: $(MAKE); $(unstage) 34543 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \ 34544 r=`${PWD_COMMAND}`; export r; \ 34545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34546 $(NORMAL_TARGET_EXPORTS) \ 34547 echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \ 34548 for flag in $(EXTRA_TARGET_FLAGS); do \ 34549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34550 done; \ 34551 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34554 "RANLIB=$${RANLIB}" \ 34555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34556 distclean) \ 34557 || exit 1 34558 34559 @endif target-libcilkrts 34560 34561 .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts 34562 maybe-maintainer-clean-target-libcilkrts: 34563 @if target-libcilkrts 34564 maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts 34565 34566 maintainer-clean-target-libcilkrts: 34567 @: $(MAKE); $(unstage) 34568 @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \ 34569 r=`${PWD_COMMAND}`; export r; \ 34570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34571 $(NORMAL_TARGET_EXPORTS) \ 34572 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \ 34573 for flag in $(EXTRA_TARGET_FLAGS); do \ 34574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34575 done; \ 34576 (cd $(TARGET_SUBDIR)/libcilkrts && \ 34577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34579 "RANLIB=$${RANLIB}" \ 34580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34581 maintainer-clean) \ 34582 || exit 1 34583 34584 @endif target-libcilkrts 34585 34586 34587 34588 34589 34590 .PHONY: configure-target-libssp maybe-configure-target-libssp 34591 maybe-configure-target-libssp: 34592 @if gcc-bootstrap 34593 configure-target-libssp: stage_current 34594 @endif gcc-bootstrap 34595 @if target-libssp 34596 maybe-configure-target-libssp: configure-target-libssp 34597 configure-target-libssp: 34598 @: $(MAKE); $(unstage) 34599 @r=`${PWD_COMMAND}`; export r; \ 34600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34601 echo "Checking multilib configuration for libssp..."; \ 34602 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \ 34603 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \ 34604 if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \ 34605 if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \ 34606 rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \ 34607 else \ 34608 rm -f $(TARGET_SUBDIR)/libssp/Makefile; \ 34609 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \ 34610 fi; \ 34611 else \ 34612 mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \ 34613 fi; \ 34614 test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \ 34615 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \ 34616 $(NORMAL_TARGET_EXPORTS) \ 34617 echo Configuring in $(TARGET_SUBDIR)/libssp; \ 34618 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \ 34619 case $(srcdir) in \ 34620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 34621 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \ 34622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 34623 esac; \ 34624 srcdiroption="--srcdir=$${topdir}/libssp"; \ 34625 libsrcdir="$$s/libssp"; \ 34626 rm -f no-such-file || : ; \ 34627 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 34628 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 34629 --target=${target_alias} $${srcdiroption} \ 34630 || exit 1 34631 @endif target-libssp 34632 34633 34634 34635 34636 34637 .PHONY: all-target-libssp maybe-all-target-libssp 34638 maybe-all-target-libssp: 34639 @if gcc-bootstrap 34640 all-target-libssp: stage_current 34641 @endif gcc-bootstrap 34642 @if target-libssp 34643 TARGET-target-libssp=all 34644 maybe-all-target-libssp: all-target-libssp 34645 all-target-libssp: configure-target-libssp 34646 @: $(MAKE); $(unstage) 34647 @r=`${PWD_COMMAND}`; export r; \ 34648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34649 $(NORMAL_TARGET_EXPORTS) \ 34650 (cd $(TARGET_SUBDIR)/libssp && \ 34651 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 34652 $(TARGET-target-libssp)) 34653 @endif target-libssp 34654 34655 34656 34657 34658 34659 .PHONY: check-target-libssp maybe-check-target-libssp 34660 maybe-check-target-libssp: 34661 @if target-libssp 34662 maybe-check-target-libssp: check-target-libssp 34663 34664 check-target-libssp: 34665 @: $(MAKE); $(unstage) 34666 @r=`${PWD_COMMAND}`; export r; \ 34667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34668 $(NORMAL_TARGET_EXPORTS) \ 34669 (cd $(TARGET_SUBDIR)/libssp && \ 34670 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 34671 34672 @endif target-libssp 34673 34674 .PHONY: install-target-libssp maybe-install-target-libssp 34675 maybe-install-target-libssp: 34676 @if target-libssp 34677 maybe-install-target-libssp: install-target-libssp 34678 34679 install-target-libssp: installdirs 34680 @: $(MAKE); $(unstage) 34681 @r=`${PWD_COMMAND}`; export r; \ 34682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34683 $(NORMAL_TARGET_EXPORTS) \ 34684 (cd $(TARGET_SUBDIR)/libssp && \ 34685 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 34686 34687 @endif target-libssp 34688 34689 .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp 34690 maybe-install-strip-target-libssp: 34691 @if target-libssp 34692 maybe-install-strip-target-libssp: install-strip-target-libssp 34693 34694 install-strip-target-libssp: installdirs 34695 @: $(MAKE); $(unstage) 34696 @r=`${PWD_COMMAND}`; export r; \ 34697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34698 $(NORMAL_TARGET_EXPORTS) \ 34699 (cd $(TARGET_SUBDIR)/libssp && \ 34700 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 34701 34702 @endif target-libssp 34703 34704 # Other targets (info, dvi, pdf, etc.) 34705 34706 .PHONY: maybe-info-target-libssp info-target-libssp 34707 maybe-info-target-libssp: 34708 @if target-libssp 34709 maybe-info-target-libssp: info-target-libssp 34710 34711 info-target-libssp: \ 34712 configure-target-libssp 34713 @: $(MAKE); $(unstage) 34714 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ 34715 r=`${PWD_COMMAND}`; export r; \ 34716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34717 $(NORMAL_TARGET_EXPORTS) \ 34718 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \ 34719 for flag in $(EXTRA_TARGET_FLAGS); do \ 34720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34721 done; \ 34722 (cd $(TARGET_SUBDIR)/libssp && \ 34723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34725 "RANLIB=$${RANLIB}" \ 34726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34727 info) \ 34728 || exit 1 34729 34730 @endif target-libssp 34731 34732 .PHONY: maybe-dvi-target-libssp dvi-target-libssp 34733 maybe-dvi-target-libssp: 34734 @if target-libssp 34735 maybe-dvi-target-libssp: dvi-target-libssp 34736 34737 dvi-target-libssp: \ 34738 configure-target-libssp 34739 @: $(MAKE); $(unstage) 34740 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ 34741 r=`${PWD_COMMAND}`; export r; \ 34742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34743 $(NORMAL_TARGET_EXPORTS) \ 34744 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \ 34745 for flag in $(EXTRA_TARGET_FLAGS); do \ 34746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34747 done; \ 34748 (cd $(TARGET_SUBDIR)/libssp && \ 34749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34751 "RANLIB=$${RANLIB}" \ 34752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34753 dvi) \ 34754 || exit 1 34755 34756 @endif target-libssp 34757 34758 .PHONY: maybe-pdf-target-libssp pdf-target-libssp 34759 maybe-pdf-target-libssp: 34760 @if target-libssp 34761 maybe-pdf-target-libssp: pdf-target-libssp 34762 34763 pdf-target-libssp: \ 34764 configure-target-libssp 34765 @: $(MAKE); $(unstage) 34766 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ 34767 r=`${PWD_COMMAND}`; export r; \ 34768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34769 $(NORMAL_TARGET_EXPORTS) \ 34770 echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \ 34771 for flag in $(EXTRA_TARGET_FLAGS); do \ 34772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34773 done; \ 34774 (cd $(TARGET_SUBDIR)/libssp && \ 34775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34777 "RANLIB=$${RANLIB}" \ 34778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34779 pdf) \ 34780 || exit 1 34781 34782 @endif target-libssp 34783 34784 .PHONY: maybe-html-target-libssp html-target-libssp 34785 maybe-html-target-libssp: 34786 @if target-libssp 34787 maybe-html-target-libssp: html-target-libssp 34788 34789 html-target-libssp: \ 34790 configure-target-libssp 34791 @: $(MAKE); $(unstage) 34792 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ 34793 r=`${PWD_COMMAND}`; export r; \ 34794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34795 $(NORMAL_TARGET_EXPORTS) \ 34796 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \ 34797 for flag in $(EXTRA_TARGET_FLAGS); do \ 34798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34799 done; \ 34800 (cd $(TARGET_SUBDIR)/libssp && \ 34801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34803 "RANLIB=$${RANLIB}" \ 34804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34805 html) \ 34806 || exit 1 34807 34808 @endif target-libssp 34809 34810 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp 34811 maybe-TAGS-target-libssp: 34812 @if target-libssp 34813 maybe-TAGS-target-libssp: TAGS-target-libssp 34814 34815 TAGS-target-libssp: \ 34816 configure-target-libssp 34817 @: $(MAKE); $(unstage) 34818 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ 34819 r=`${PWD_COMMAND}`; export r; \ 34820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34821 $(NORMAL_TARGET_EXPORTS) \ 34822 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \ 34823 for flag in $(EXTRA_TARGET_FLAGS); do \ 34824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34825 done; \ 34826 (cd $(TARGET_SUBDIR)/libssp && \ 34827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34829 "RANLIB=$${RANLIB}" \ 34830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34831 TAGS) \ 34832 || exit 1 34833 34834 @endif target-libssp 34835 34836 .PHONY: maybe-install-info-target-libssp install-info-target-libssp 34837 maybe-install-info-target-libssp: 34838 @if target-libssp 34839 maybe-install-info-target-libssp: install-info-target-libssp 34840 34841 install-info-target-libssp: \ 34842 configure-target-libssp \ 34843 info-target-libssp 34844 @: $(MAKE); $(unstage) 34845 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ 34846 r=`${PWD_COMMAND}`; export r; \ 34847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34848 $(NORMAL_TARGET_EXPORTS) \ 34849 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \ 34850 for flag in $(EXTRA_TARGET_FLAGS); do \ 34851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34852 done; \ 34853 (cd $(TARGET_SUBDIR)/libssp && \ 34854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34856 "RANLIB=$${RANLIB}" \ 34857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34858 install-info) \ 34859 || exit 1 34860 34861 @endif target-libssp 34862 34863 .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp 34864 maybe-install-pdf-target-libssp: 34865 @if target-libssp 34866 maybe-install-pdf-target-libssp: install-pdf-target-libssp 34867 34868 install-pdf-target-libssp: \ 34869 configure-target-libssp \ 34870 pdf-target-libssp 34871 @: $(MAKE); $(unstage) 34872 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ 34873 r=`${PWD_COMMAND}`; export r; \ 34874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34875 $(NORMAL_TARGET_EXPORTS) \ 34876 echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \ 34877 for flag in $(EXTRA_TARGET_FLAGS); do \ 34878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34879 done; \ 34880 (cd $(TARGET_SUBDIR)/libssp && \ 34881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34883 "RANLIB=$${RANLIB}" \ 34884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34885 install-pdf) \ 34886 || exit 1 34887 34888 @endif target-libssp 34889 34890 .PHONY: maybe-install-html-target-libssp install-html-target-libssp 34891 maybe-install-html-target-libssp: 34892 @if target-libssp 34893 maybe-install-html-target-libssp: install-html-target-libssp 34894 34895 install-html-target-libssp: \ 34896 configure-target-libssp \ 34897 html-target-libssp 34898 @: $(MAKE); $(unstage) 34899 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ 34900 r=`${PWD_COMMAND}`; export r; \ 34901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34902 $(NORMAL_TARGET_EXPORTS) \ 34903 echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \ 34904 for flag in $(EXTRA_TARGET_FLAGS); do \ 34905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34906 done; \ 34907 (cd $(TARGET_SUBDIR)/libssp && \ 34908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34910 "RANLIB=$${RANLIB}" \ 34911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34912 install-html) \ 34913 || exit 1 34914 34915 @endif target-libssp 34916 34917 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp 34918 maybe-installcheck-target-libssp: 34919 @if target-libssp 34920 maybe-installcheck-target-libssp: installcheck-target-libssp 34921 34922 installcheck-target-libssp: \ 34923 configure-target-libssp 34924 @: $(MAKE); $(unstage) 34925 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ 34926 r=`${PWD_COMMAND}`; export r; \ 34927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34928 $(NORMAL_TARGET_EXPORTS) \ 34929 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \ 34930 for flag in $(EXTRA_TARGET_FLAGS); do \ 34931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34932 done; \ 34933 (cd $(TARGET_SUBDIR)/libssp && \ 34934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34936 "RANLIB=$${RANLIB}" \ 34937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34938 installcheck) \ 34939 || exit 1 34940 34941 @endif target-libssp 34942 34943 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp 34944 maybe-mostlyclean-target-libssp: 34945 @if target-libssp 34946 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp 34947 34948 mostlyclean-target-libssp: 34949 @: $(MAKE); $(unstage) 34950 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ 34951 r=`${PWD_COMMAND}`; export r; \ 34952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34953 $(NORMAL_TARGET_EXPORTS) \ 34954 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \ 34955 for flag in $(EXTRA_TARGET_FLAGS); do \ 34956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34957 done; \ 34958 (cd $(TARGET_SUBDIR)/libssp && \ 34959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34961 "RANLIB=$${RANLIB}" \ 34962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34963 mostlyclean) \ 34964 || exit 1 34965 34966 @endif target-libssp 34967 34968 .PHONY: maybe-clean-target-libssp clean-target-libssp 34969 maybe-clean-target-libssp: 34970 @if target-libssp 34971 maybe-clean-target-libssp: clean-target-libssp 34972 34973 clean-target-libssp: 34974 @: $(MAKE); $(unstage) 34975 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ 34976 r=`${PWD_COMMAND}`; export r; \ 34977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 34978 $(NORMAL_TARGET_EXPORTS) \ 34979 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \ 34980 for flag in $(EXTRA_TARGET_FLAGS); do \ 34981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 34982 done; \ 34983 (cd $(TARGET_SUBDIR)/libssp && \ 34984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 34985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 34986 "RANLIB=$${RANLIB}" \ 34987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 34988 clean) \ 34989 || exit 1 34990 34991 @endif target-libssp 34992 34993 .PHONY: maybe-distclean-target-libssp distclean-target-libssp 34994 maybe-distclean-target-libssp: 34995 @if target-libssp 34996 maybe-distclean-target-libssp: distclean-target-libssp 34997 34998 distclean-target-libssp: 34999 @: $(MAKE); $(unstage) 35000 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ 35001 r=`${PWD_COMMAND}`; export r; \ 35002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35003 $(NORMAL_TARGET_EXPORTS) \ 35004 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \ 35005 for flag in $(EXTRA_TARGET_FLAGS); do \ 35006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35007 done; \ 35008 (cd $(TARGET_SUBDIR)/libssp && \ 35009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35011 "RANLIB=$${RANLIB}" \ 35012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35013 distclean) \ 35014 || exit 1 35015 35016 @endif target-libssp 35017 35018 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp 35019 maybe-maintainer-clean-target-libssp: 35020 @if target-libssp 35021 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp 35022 35023 maintainer-clean-target-libssp: 35024 @: $(MAKE); $(unstage) 35025 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \ 35026 r=`${PWD_COMMAND}`; export r; \ 35027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35028 $(NORMAL_TARGET_EXPORTS) \ 35029 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \ 35030 for flag in $(EXTRA_TARGET_FLAGS); do \ 35031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35032 done; \ 35033 (cd $(TARGET_SUBDIR)/libssp && \ 35034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35036 "RANLIB=$${RANLIB}" \ 35037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35038 maintainer-clean) \ 35039 || exit 1 35040 35041 @endif target-libssp 35042 35043 35044 35045 35046 35047 .PHONY: configure-target-newlib maybe-configure-target-newlib 35048 maybe-configure-target-newlib: 35049 @if gcc-bootstrap 35050 configure-target-newlib: stage_current 35051 @endif gcc-bootstrap 35052 @if target-newlib 35053 maybe-configure-target-newlib: configure-target-newlib 35054 configure-target-newlib: 35055 @: $(MAKE); $(unstage) 35056 @r=`${PWD_COMMAND}`; export r; \ 35057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35058 echo "Checking multilib configuration for newlib..."; \ 35059 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \ 35060 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \ 35061 if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \ 35062 if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \ 35063 rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \ 35064 else \ 35065 rm -f $(TARGET_SUBDIR)/newlib/Makefile; \ 35066 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \ 35067 fi; \ 35068 else \ 35069 mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \ 35070 fi; \ 35071 test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \ 35072 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \ 35073 $(NORMAL_TARGET_EXPORTS) \ 35074 echo Configuring in $(TARGET_SUBDIR)/newlib; \ 35075 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \ 35076 case $(srcdir) in \ 35077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 35078 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \ 35079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 35080 esac; \ 35081 srcdiroption="--srcdir=$${topdir}/newlib"; \ 35082 libsrcdir="$$s/newlib"; \ 35083 rm -f no-such-file || : ; \ 35084 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 35085 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 35086 --target=${target_alias} $${srcdiroption} \ 35087 || exit 1 35088 @endif target-newlib 35089 35090 35091 35092 35093 35094 .PHONY: all-target-newlib maybe-all-target-newlib 35095 maybe-all-target-newlib: 35096 @if gcc-bootstrap 35097 all-target-newlib: stage_current 35098 @endif gcc-bootstrap 35099 @if target-newlib 35100 TARGET-target-newlib=all 35101 maybe-all-target-newlib: all-target-newlib 35102 all-target-newlib: configure-target-newlib 35103 @: $(MAKE); $(unstage) 35104 @r=`${PWD_COMMAND}`; export r; \ 35105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35106 $(NORMAL_TARGET_EXPORTS) \ 35107 (cd $(TARGET_SUBDIR)/newlib && \ 35108 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 35109 $(TARGET-target-newlib)) 35110 @endif target-newlib 35111 35112 35113 35114 35115 35116 .PHONY: check-target-newlib maybe-check-target-newlib 35117 maybe-check-target-newlib: 35118 @if target-newlib 35119 maybe-check-target-newlib: check-target-newlib 35120 35121 check-target-newlib: 35122 @: $(MAKE); $(unstage) 35123 @r=`${PWD_COMMAND}`; export r; \ 35124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35125 $(NORMAL_TARGET_EXPORTS) \ 35126 (cd $(TARGET_SUBDIR)/newlib && \ 35127 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 35128 35129 @endif target-newlib 35130 35131 .PHONY: install-target-newlib maybe-install-target-newlib 35132 maybe-install-target-newlib: 35133 @if target-newlib 35134 maybe-install-target-newlib: install-target-newlib 35135 35136 install-target-newlib: installdirs 35137 @: $(MAKE); $(unstage) 35138 @r=`${PWD_COMMAND}`; export r; \ 35139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35140 $(NORMAL_TARGET_EXPORTS) \ 35141 (cd $(TARGET_SUBDIR)/newlib && \ 35142 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 35143 35144 @endif target-newlib 35145 35146 .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib 35147 maybe-install-strip-target-newlib: 35148 @if target-newlib 35149 maybe-install-strip-target-newlib: install-strip-target-newlib 35150 35151 install-strip-target-newlib: installdirs 35152 @: $(MAKE); $(unstage) 35153 @r=`${PWD_COMMAND}`; export r; \ 35154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35155 $(NORMAL_TARGET_EXPORTS) \ 35156 (cd $(TARGET_SUBDIR)/newlib && \ 35157 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 35158 35159 @endif target-newlib 35160 35161 # Other targets (info, dvi, pdf, etc.) 35162 35163 .PHONY: maybe-info-target-newlib info-target-newlib 35164 maybe-info-target-newlib: 35165 @if target-newlib 35166 maybe-info-target-newlib: info-target-newlib 35167 35168 info-target-newlib: \ 35169 configure-target-newlib 35170 @: $(MAKE); $(unstage) 35171 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ 35172 r=`${PWD_COMMAND}`; export r; \ 35173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35174 $(NORMAL_TARGET_EXPORTS) \ 35175 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \ 35176 for flag in $(EXTRA_TARGET_FLAGS); do \ 35177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35178 done; \ 35179 (cd $(TARGET_SUBDIR)/newlib && \ 35180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35182 "RANLIB=$${RANLIB}" \ 35183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35184 info) \ 35185 || exit 1 35186 35187 @endif target-newlib 35188 35189 .PHONY: maybe-dvi-target-newlib dvi-target-newlib 35190 maybe-dvi-target-newlib: 35191 @if target-newlib 35192 maybe-dvi-target-newlib: dvi-target-newlib 35193 35194 dvi-target-newlib: \ 35195 configure-target-newlib 35196 @: $(MAKE); $(unstage) 35197 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ 35198 r=`${PWD_COMMAND}`; export r; \ 35199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35200 $(NORMAL_TARGET_EXPORTS) \ 35201 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \ 35202 for flag in $(EXTRA_TARGET_FLAGS); do \ 35203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35204 done; \ 35205 (cd $(TARGET_SUBDIR)/newlib && \ 35206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35208 "RANLIB=$${RANLIB}" \ 35209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35210 dvi) \ 35211 || exit 1 35212 35213 @endif target-newlib 35214 35215 .PHONY: maybe-pdf-target-newlib pdf-target-newlib 35216 maybe-pdf-target-newlib: 35217 @if target-newlib 35218 maybe-pdf-target-newlib: pdf-target-newlib 35219 35220 pdf-target-newlib: \ 35221 configure-target-newlib 35222 @: $(MAKE); $(unstage) 35223 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ 35224 r=`${PWD_COMMAND}`; export r; \ 35225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35226 $(NORMAL_TARGET_EXPORTS) \ 35227 echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \ 35228 for flag in $(EXTRA_TARGET_FLAGS); do \ 35229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35230 done; \ 35231 (cd $(TARGET_SUBDIR)/newlib && \ 35232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35234 "RANLIB=$${RANLIB}" \ 35235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35236 pdf) \ 35237 || exit 1 35238 35239 @endif target-newlib 35240 35241 .PHONY: maybe-html-target-newlib html-target-newlib 35242 maybe-html-target-newlib: 35243 @if target-newlib 35244 maybe-html-target-newlib: html-target-newlib 35245 35246 html-target-newlib: \ 35247 configure-target-newlib 35248 @: $(MAKE); $(unstage) 35249 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ 35250 r=`${PWD_COMMAND}`; export r; \ 35251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35252 $(NORMAL_TARGET_EXPORTS) \ 35253 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \ 35254 for flag in $(EXTRA_TARGET_FLAGS); do \ 35255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35256 done; \ 35257 (cd $(TARGET_SUBDIR)/newlib && \ 35258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35260 "RANLIB=$${RANLIB}" \ 35261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35262 html) \ 35263 || exit 1 35264 35265 @endif target-newlib 35266 35267 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib 35268 maybe-TAGS-target-newlib: 35269 @if target-newlib 35270 maybe-TAGS-target-newlib: TAGS-target-newlib 35271 35272 TAGS-target-newlib: \ 35273 configure-target-newlib 35274 @: $(MAKE); $(unstage) 35275 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ 35276 r=`${PWD_COMMAND}`; export r; \ 35277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35278 $(NORMAL_TARGET_EXPORTS) \ 35279 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \ 35280 for flag in $(EXTRA_TARGET_FLAGS); do \ 35281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35282 done; \ 35283 (cd $(TARGET_SUBDIR)/newlib && \ 35284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35286 "RANLIB=$${RANLIB}" \ 35287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35288 TAGS) \ 35289 || exit 1 35290 35291 @endif target-newlib 35292 35293 .PHONY: maybe-install-info-target-newlib install-info-target-newlib 35294 maybe-install-info-target-newlib: 35295 @if target-newlib 35296 maybe-install-info-target-newlib: install-info-target-newlib 35297 35298 install-info-target-newlib: \ 35299 configure-target-newlib \ 35300 info-target-newlib 35301 @: $(MAKE); $(unstage) 35302 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ 35303 r=`${PWD_COMMAND}`; export r; \ 35304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35305 $(NORMAL_TARGET_EXPORTS) \ 35306 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \ 35307 for flag in $(EXTRA_TARGET_FLAGS); do \ 35308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35309 done; \ 35310 (cd $(TARGET_SUBDIR)/newlib && \ 35311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35313 "RANLIB=$${RANLIB}" \ 35314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35315 install-info) \ 35316 || exit 1 35317 35318 @endif target-newlib 35319 35320 .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib 35321 maybe-install-pdf-target-newlib: 35322 @if target-newlib 35323 maybe-install-pdf-target-newlib: install-pdf-target-newlib 35324 35325 install-pdf-target-newlib: \ 35326 configure-target-newlib \ 35327 pdf-target-newlib 35328 @: $(MAKE); $(unstage) 35329 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ 35330 r=`${PWD_COMMAND}`; export r; \ 35331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35332 $(NORMAL_TARGET_EXPORTS) \ 35333 echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \ 35334 for flag in $(EXTRA_TARGET_FLAGS); do \ 35335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35336 done; \ 35337 (cd $(TARGET_SUBDIR)/newlib && \ 35338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35340 "RANLIB=$${RANLIB}" \ 35341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35342 install-pdf) \ 35343 || exit 1 35344 35345 @endif target-newlib 35346 35347 .PHONY: maybe-install-html-target-newlib install-html-target-newlib 35348 maybe-install-html-target-newlib: 35349 @if target-newlib 35350 maybe-install-html-target-newlib: install-html-target-newlib 35351 35352 install-html-target-newlib: \ 35353 configure-target-newlib \ 35354 html-target-newlib 35355 @: $(MAKE); $(unstage) 35356 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ 35357 r=`${PWD_COMMAND}`; export r; \ 35358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35359 $(NORMAL_TARGET_EXPORTS) \ 35360 echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \ 35361 for flag in $(EXTRA_TARGET_FLAGS); do \ 35362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35363 done; \ 35364 (cd $(TARGET_SUBDIR)/newlib && \ 35365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35367 "RANLIB=$${RANLIB}" \ 35368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35369 install-html) \ 35370 || exit 1 35371 35372 @endif target-newlib 35373 35374 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib 35375 maybe-installcheck-target-newlib: 35376 @if target-newlib 35377 maybe-installcheck-target-newlib: installcheck-target-newlib 35378 35379 installcheck-target-newlib: \ 35380 configure-target-newlib 35381 @: $(MAKE); $(unstage) 35382 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ 35383 r=`${PWD_COMMAND}`; export r; \ 35384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35385 $(NORMAL_TARGET_EXPORTS) \ 35386 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \ 35387 for flag in $(EXTRA_TARGET_FLAGS); do \ 35388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35389 done; \ 35390 (cd $(TARGET_SUBDIR)/newlib && \ 35391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35393 "RANLIB=$${RANLIB}" \ 35394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35395 installcheck) \ 35396 || exit 1 35397 35398 @endif target-newlib 35399 35400 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib 35401 maybe-mostlyclean-target-newlib: 35402 @if target-newlib 35403 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib 35404 35405 mostlyclean-target-newlib: 35406 @: $(MAKE); $(unstage) 35407 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ 35408 r=`${PWD_COMMAND}`; export r; \ 35409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35410 $(NORMAL_TARGET_EXPORTS) \ 35411 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \ 35412 for flag in $(EXTRA_TARGET_FLAGS); do \ 35413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35414 done; \ 35415 (cd $(TARGET_SUBDIR)/newlib && \ 35416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35418 "RANLIB=$${RANLIB}" \ 35419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35420 mostlyclean) \ 35421 || exit 1 35422 35423 @endif target-newlib 35424 35425 .PHONY: maybe-clean-target-newlib clean-target-newlib 35426 maybe-clean-target-newlib: 35427 @if target-newlib 35428 maybe-clean-target-newlib: clean-target-newlib 35429 35430 clean-target-newlib: 35431 @: $(MAKE); $(unstage) 35432 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ 35433 r=`${PWD_COMMAND}`; export r; \ 35434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35435 $(NORMAL_TARGET_EXPORTS) \ 35436 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \ 35437 for flag in $(EXTRA_TARGET_FLAGS); do \ 35438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35439 done; \ 35440 (cd $(TARGET_SUBDIR)/newlib && \ 35441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35443 "RANLIB=$${RANLIB}" \ 35444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35445 clean) \ 35446 || exit 1 35447 35448 @endif target-newlib 35449 35450 .PHONY: maybe-distclean-target-newlib distclean-target-newlib 35451 maybe-distclean-target-newlib: 35452 @if target-newlib 35453 maybe-distclean-target-newlib: distclean-target-newlib 35454 35455 distclean-target-newlib: 35456 @: $(MAKE); $(unstage) 35457 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ 35458 r=`${PWD_COMMAND}`; export r; \ 35459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35460 $(NORMAL_TARGET_EXPORTS) \ 35461 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \ 35462 for flag in $(EXTRA_TARGET_FLAGS); do \ 35463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35464 done; \ 35465 (cd $(TARGET_SUBDIR)/newlib && \ 35466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35468 "RANLIB=$${RANLIB}" \ 35469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35470 distclean) \ 35471 || exit 1 35472 35473 @endif target-newlib 35474 35475 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib 35476 maybe-maintainer-clean-target-newlib: 35477 @if target-newlib 35478 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib 35479 35480 maintainer-clean-target-newlib: 35481 @: $(MAKE); $(unstage) 35482 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \ 35483 r=`${PWD_COMMAND}`; export r; \ 35484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35485 $(NORMAL_TARGET_EXPORTS) \ 35486 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \ 35487 for flag in $(EXTRA_TARGET_FLAGS); do \ 35488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 35489 done; \ 35490 (cd $(TARGET_SUBDIR)/newlib && \ 35491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 35492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 35493 "RANLIB=$${RANLIB}" \ 35494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 35495 maintainer-clean) \ 35496 || exit 1 35497 35498 @endif target-newlib 35499 35500 35501 35502 35503 35504 .PHONY: configure-target-libgcc maybe-configure-target-libgcc 35505 maybe-configure-target-libgcc: 35506 @if gcc-bootstrap 35507 configure-target-libgcc: stage_current 35508 @endif gcc-bootstrap 35509 @if target-libgcc 35510 maybe-configure-target-libgcc: configure-target-libgcc 35511 configure-target-libgcc: 35512 @r=`${PWD_COMMAND}`; export r; \ 35513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35514 echo "Checking multilib configuration for libgcc..."; \ 35515 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ 35516 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \ 35517 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \ 35518 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \ 35519 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \ 35520 else \ 35521 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \ 35522 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ 35523 fi; \ 35524 else \ 35525 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ 35526 fi; \ 35527 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \ 35528 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ 35529 $(NORMAL_TARGET_EXPORTS) \ 35530 echo Configuring in $(TARGET_SUBDIR)/libgcc; \ 35531 cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \ 35532 case $(srcdir) in \ 35533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 35534 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \ 35535 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 35536 esac; \ 35537 srcdiroption="--srcdir=$${topdir}/libgcc"; \ 35538 libsrcdir="$$s/libgcc"; \ 35539 rm -f no-such-file || : ; \ 35540 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 35541 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 35542 --target=${target_alias} $${srcdiroption} \ 35543 || exit 1 35544 @endif target-libgcc 35545 35546 35547 35548 .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc 35549 maybe-configure-stage1-target-libgcc: 35550 @if target-libgcc-bootstrap 35551 maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc 35552 configure-stage1-target-libgcc: 35553 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 35554 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc 35555 @r=`${PWD_COMMAND}`; export r; \ 35556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35557 TFLAGS="$(STAGE1_TFLAGS)"; \ 35558 echo "Checking multilib configuration for libgcc..."; \ 35559 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \ 35560 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \ 35561 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \ 35562 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \ 35563 else \ 35564 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \ 35565 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ 35566 fi; \ 35567 else \ 35568 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ 35569 fi; \ 35570 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \ 35571 $(NORMAL_TARGET_EXPORTS) \ 35572 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 35573 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 35574 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 35575 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \ 35576 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ 35577 cd $(TARGET_SUBDIR)/libgcc || exit 1; \ 35578 case $(srcdir) in \ 35579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 35580 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \ 35581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 35582 esac; \ 35583 srcdiroption="--srcdir=$${topdir}/libgcc"; \ 35584 libsrcdir="$$s/libgcc"; \ 35585 $(SHELL) $${libsrcdir}/configure \ 35586 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 35587 --target=${target_alias} $${srcdiroption} \ 35588 $(STAGE1_CONFIGURE_FLAGS) 35589 @endif target-libgcc-bootstrap 35590 35591 .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc 35592 maybe-configure-stage2-target-libgcc: 35593 @if target-libgcc-bootstrap 35594 maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc 35595 configure-stage2-target-libgcc: 35596 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 35597 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc 35598 @r=`${PWD_COMMAND}`; export r; \ 35599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35600 TFLAGS="$(STAGE2_TFLAGS)"; \ 35601 echo "Checking multilib configuration for libgcc..."; \ 35602 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \ 35603 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \ 35604 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \ 35605 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \ 35606 else \ 35607 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \ 35608 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ 35609 fi; \ 35610 else \ 35611 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ 35612 fi; \ 35613 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \ 35614 $(NORMAL_TARGET_EXPORTS) \ 35615 \ 35616 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 35617 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 35618 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 35619 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \ 35620 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ 35621 cd $(TARGET_SUBDIR)/libgcc || exit 1; \ 35622 case $(srcdir) in \ 35623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 35624 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \ 35625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 35626 esac; \ 35627 srcdiroption="--srcdir=$${topdir}/libgcc"; \ 35628 libsrcdir="$$s/libgcc"; \ 35629 $(SHELL) $${libsrcdir}/configure \ 35630 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 35631 --target=${target_alias} $${srcdiroption} \ 35632 --with-build-libsubdir=$(HOST_SUBDIR) \ 35633 $(STAGE2_CONFIGURE_FLAGS) 35634 @endif target-libgcc-bootstrap 35635 35636 .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc 35637 maybe-configure-stage3-target-libgcc: 35638 @if target-libgcc-bootstrap 35639 maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc 35640 configure-stage3-target-libgcc: 35641 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 35642 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc 35643 @r=`${PWD_COMMAND}`; export r; \ 35644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35645 TFLAGS="$(STAGE3_TFLAGS)"; \ 35646 echo "Checking multilib configuration for libgcc..."; \ 35647 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \ 35648 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \ 35649 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \ 35650 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \ 35651 else \ 35652 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \ 35653 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ 35654 fi; \ 35655 else \ 35656 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ 35657 fi; \ 35658 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \ 35659 $(NORMAL_TARGET_EXPORTS) \ 35660 \ 35661 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 35662 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 35663 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 35664 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \ 35665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ 35666 cd $(TARGET_SUBDIR)/libgcc || exit 1; \ 35667 case $(srcdir) in \ 35668 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 35669 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \ 35670 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 35671 esac; \ 35672 srcdiroption="--srcdir=$${topdir}/libgcc"; \ 35673 libsrcdir="$$s/libgcc"; \ 35674 $(SHELL) $${libsrcdir}/configure \ 35675 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 35676 --target=${target_alias} $${srcdiroption} \ 35677 --with-build-libsubdir=$(HOST_SUBDIR) \ 35678 $(STAGE3_CONFIGURE_FLAGS) 35679 @endif target-libgcc-bootstrap 35680 35681 .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc 35682 maybe-configure-stage4-target-libgcc: 35683 @if target-libgcc-bootstrap 35684 maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc 35685 configure-stage4-target-libgcc: 35686 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 35687 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc 35688 @r=`${PWD_COMMAND}`; export r; \ 35689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35690 TFLAGS="$(STAGE4_TFLAGS)"; \ 35691 echo "Checking multilib configuration for libgcc..."; \ 35692 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \ 35693 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \ 35694 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \ 35695 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \ 35696 else \ 35697 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \ 35698 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ 35699 fi; \ 35700 else \ 35701 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ 35702 fi; \ 35703 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \ 35704 $(NORMAL_TARGET_EXPORTS) \ 35705 \ 35706 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 35707 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 35708 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 35709 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \ 35710 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ 35711 cd $(TARGET_SUBDIR)/libgcc || exit 1; \ 35712 case $(srcdir) in \ 35713 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 35714 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \ 35715 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 35716 esac; \ 35717 srcdiroption="--srcdir=$${topdir}/libgcc"; \ 35718 libsrcdir="$$s/libgcc"; \ 35719 $(SHELL) $${libsrcdir}/configure \ 35720 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 35721 --target=${target_alias} $${srcdiroption} \ 35722 --with-build-libsubdir=$(HOST_SUBDIR) \ 35723 $(STAGE4_CONFIGURE_FLAGS) 35724 @endif target-libgcc-bootstrap 35725 35726 .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc 35727 maybe-configure-stageprofile-target-libgcc: 35728 @if target-libgcc-bootstrap 35729 maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc 35730 configure-stageprofile-target-libgcc: 35731 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 35732 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc 35733 @r=`${PWD_COMMAND}`; export r; \ 35734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35735 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 35736 echo "Checking multilib configuration for libgcc..."; \ 35737 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \ 35738 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \ 35739 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \ 35740 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \ 35741 else \ 35742 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \ 35743 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ 35744 fi; \ 35745 else \ 35746 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ 35747 fi; \ 35748 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \ 35749 $(NORMAL_TARGET_EXPORTS) \ 35750 \ 35751 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 35752 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 35753 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 35754 echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \ 35755 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ 35756 cd $(TARGET_SUBDIR)/libgcc || exit 1; \ 35757 case $(srcdir) in \ 35758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 35759 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \ 35760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 35761 esac; \ 35762 srcdiroption="--srcdir=$${topdir}/libgcc"; \ 35763 libsrcdir="$$s/libgcc"; \ 35764 $(SHELL) $${libsrcdir}/configure \ 35765 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 35766 --target=${target_alias} $${srcdiroption} \ 35767 --with-build-libsubdir=$(HOST_SUBDIR) \ 35768 $(STAGEprofile_CONFIGURE_FLAGS) 35769 @endif target-libgcc-bootstrap 35770 35771 .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc 35772 maybe-configure-stagefeedback-target-libgcc: 35773 @if target-libgcc-bootstrap 35774 maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc 35775 configure-stagefeedback-target-libgcc: 35776 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 35777 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc 35778 @r=`${PWD_COMMAND}`; export r; \ 35779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35780 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 35781 echo "Checking multilib configuration for libgcc..."; \ 35782 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \ 35783 if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \ 35784 if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \ 35785 rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \ 35786 else \ 35787 rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \ 35788 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ 35789 fi; \ 35790 else \ 35791 mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \ 35792 fi; \ 35793 test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \ 35794 $(NORMAL_TARGET_EXPORTS) \ 35795 \ 35796 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 35797 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 35798 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 35799 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \ 35800 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \ 35801 cd $(TARGET_SUBDIR)/libgcc || exit 1; \ 35802 case $(srcdir) in \ 35803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 35804 *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \ 35805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 35806 esac; \ 35807 srcdiroption="--srcdir=$${topdir}/libgcc"; \ 35808 libsrcdir="$$s/libgcc"; \ 35809 $(SHELL) $${libsrcdir}/configure \ 35810 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 35811 --target=${target_alias} $${srcdiroption} \ 35812 --with-build-libsubdir=$(HOST_SUBDIR) \ 35813 $(STAGEfeedback_CONFIGURE_FLAGS) 35814 @endif target-libgcc-bootstrap 35815 35816 35817 35818 35819 35820 .PHONY: all-target-libgcc maybe-all-target-libgcc 35821 maybe-all-target-libgcc: 35822 @if gcc-bootstrap 35823 all-target-libgcc: stage_current 35824 @endif gcc-bootstrap 35825 @if target-libgcc 35826 TARGET-target-libgcc=all 35827 maybe-all-target-libgcc: all-target-libgcc 35828 all-target-libgcc: configure-target-libgcc 35829 @r=`${PWD_COMMAND}`; export r; \ 35830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35831 $(NORMAL_TARGET_EXPORTS) \ 35832 (cd $(TARGET_SUBDIR)/libgcc && \ 35833 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 35834 $(TARGET-target-libgcc)) 35835 @endif target-libgcc 35836 35837 35838 35839 .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc 35840 .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc 35841 maybe-all-stage1-target-libgcc: 35842 maybe-clean-stage1-target-libgcc: 35843 @if target-libgcc-bootstrap 35844 maybe-all-stage1-target-libgcc: all-stage1-target-libgcc 35845 all-stage1: all-stage1-target-libgcc 35846 TARGET-stage1-target-libgcc = $(TARGET-target-libgcc) 35847 all-stage1-target-libgcc: configure-stage1-target-libgcc 35848 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 35849 @r=`${PWD_COMMAND}`; export r; \ 35850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35851 TFLAGS="$(STAGE1_TFLAGS)"; \ 35852 $(NORMAL_TARGET_EXPORTS) \ 35853 cd $(TARGET_SUBDIR)/libgcc && \ 35854 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 35855 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 35856 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 35857 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 35858 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 35859 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 35860 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 35861 $(EXTRA_TARGET_FLAGS) \ 35862 \ 35863 TFLAGS="$(STAGE1_TFLAGS)" \ 35864 $(TARGET-stage1-target-libgcc) 35865 35866 maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc 35867 clean-stage1: clean-stage1-target-libgcc 35868 clean-stage1-target-libgcc: 35869 @if [ $(current_stage) = stage1 ]; then \ 35870 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \ 35871 else \ 35872 [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \ 35873 $(MAKE) stage1-start; \ 35874 fi; \ 35875 cd $(TARGET_SUBDIR)/libgcc && \ 35876 $(MAKE) $(EXTRA_TARGET_FLAGS) \ 35877 clean 35878 @endif target-libgcc-bootstrap 35879 35880 35881 .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc 35882 .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc 35883 maybe-all-stage2-target-libgcc: 35884 maybe-clean-stage2-target-libgcc: 35885 @if target-libgcc-bootstrap 35886 maybe-all-stage2-target-libgcc: all-stage2-target-libgcc 35887 all-stage2: all-stage2-target-libgcc 35888 TARGET-stage2-target-libgcc = $(TARGET-target-libgcc) 35889 all-stage2-target-libgcc: configure-stage2-target-libgcc 35890 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 35891 @r=`${PWD_COMMAND}`; export r; \ 35892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35893 TFLAGS="$(STAGE2_TFLAGS)"; \ 35894 $(NORMAL_TARGET_EXPORTS) \ 35895 \ 35896 cd $(TARGET_SUBDIR)/libgcc && \ 35897 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 35898 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 35899 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 35900 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 35901 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 35902 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 35903 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 35904 $(EXTRA_TARGET_FLAGS) \ 35905 TFLAGS="$(STAGE2_TFLAGS)" \ 35906 $(TARGET-stage2-target-libgcc) 35907 35908 maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc 35909 clean-stage2: clean-stage2-target-libgcc 35910 clean-stage2-target-libgcc: 35911 @if [ $(current_stage) = stage2 ]; then \ 35912 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \ 35913 else \ 35914 [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \ 35915 $(MAKE) stage2-start; \ 35916 fi; \ 35917 cd $(TARGET_SUBDIR)/libgcc && \ 35918 $(MAKE) $(EXTRA_TARGET_FLAGS) clean 35919 @endif target-libgcc-bootstrap 35920 35921 35922 .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc 35923 .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc 35924 maybe-all-stage3-target-libgcc: 35925 maybe-clean-stage3-target-libgcc: 35926 @if target-libgcc-bootstrap 35927 maybe-all-stage3-target-libgcc: all-stage3-target-libgcc 35928 all-stage3: all-stage3-target-libgcc 35929 TARGET-stage3-target-libgcc = $(TARGET-target-libgcc) 35930 all-stage3-target-libgcc: configure-stage3-target-libgcc 35931 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 35932 @r=`${PWD_COMMAND}`; export r; \ 35933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35934 TFLAGS="$(STAGE3_TFLAGS)"; \ 35935 $(NORMAL_TARGET_EXPORTS) \ 35936 \ 35937 cd $(TARGET_SUBDIR)/libgcc && \ 35938 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 35939 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 35940 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 35941 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 35942 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 35943 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 35944 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 35945 $(EXTRA_TARGET_FLAGS) \ 35946 TFLAGS="$(STAGE3_TFLAGS)" \ 35947 $(TARGET-stage3-target-libgcc) 35948 35949 maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc 35950 clean-stage3: clean-stage3-target-libgcc 35951 clean-stage3-target-libgcc: 35952 @if [ $(current_stage) = stage3 ]; then \ 35953 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \ 35954 else \ 35955 [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \ 35956 $(MAKE) stage3-start; \ 35957 fi; \ 35958 cd $(TARGET_SUBDIR)/libgcc && \ 35959 $(MAKE) $(EXTRA_TARGET_FLAGS) clean 35960 @endif target-libgcc-bootstrap 35961 35962 35963 .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc 35964 .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc 35965 maybe-all-stage4-target-libgcc: 35966 maybe-clean-stage4-target-libgcc: 35967 @if target-libgcc-bootstrap 35968 maybe-all-stage4-target-libgcc: all-stage4-target-libgcc 35969 all-stage4: all-stage4-target-libgcc 35970 TARGET-stage4-target-libgcc = $(TARGET-target-libgcc) 35971 all-stage4-target-libgcc: configure-stage4-target-libgcc 35972 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 35973 @r=`${PWD_COMMAND}`; export r; \ 35974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 35975 TFLAGS="$(STAGE4_TFLAGS)"; \ 35976 $(NORMAL_TARGET_EXPORTS) \ 35977 \ 35978 cd $(TARGET_SUBDIR)/libgcc && \ 35979 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 35980 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 35981 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 35982 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 35983 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 35984 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 35985 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 35986 $(EXTRA_TARGET_FLAGS) \ 35987 TFLAGS="$(STAGE4_TFLAGS)" \ 35988 $(TARGET-stage4-target-libgcc) 35989 35990 maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc 35991 clean-stage4: clean-stage4-target-libgcc 35992 clean-stage4-target-libgcc: 35993 @if [ $(current_stage) = stage4 ]; then \ 35994 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \ 35995 else \ 35996 [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \ 35997 $(MAKE) stage4-start; \ 35998 fi; \ 35999 cd $(TARGET_SUBDIR)/libgcc && \ 36000 $(MAKE) $(EXTRA_TARGET_FLAGS) clean 36001 @endif target-libgcc-bootstrap 36002 36003 36004 .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc 36005 .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc 36006 maybe-all-stageprofile-target-libgcc: 36007 maybe-clean-stageprofile-target-libgcc: 36008 @if target-libgcc-bootstrap 36009 maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc 36010 all-stageprofile: all-stageprofile-target-libgcc 36011 TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc) 36012 all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc 36013 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 36014 @r=`${PWD_COMMAND}`; export r; \ 36015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36016 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 36017 $(NORMAL_TARGET_EXPORTS) \ 36018 \ 36019 cd $(TARGET_SUBDIR)/libgcc && \ 36020 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 36021 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 36022 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 36023 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 36024 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 36025 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 36026 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 36027 $(EXTRA_TARGET_FLAGS) \ 36028 TFLAGS="$(STAGEprofile_TFLAGS)" \ 36029 $(TARGET-stageprofile-target-libgcc) 36030 36031 maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc 36032 clean-stageprofile: clean-stageprofile-target-libgcc 36033 clean-stageprofile-target-libgcc: 36034 @if [ $(current_stage) = stageprofile ]; then \ 36035 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \ 36036 else \ 36037 [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \ 36038 $(MAKE) stageprofile-start; \ 36039 fi; \ 36040 cd $(TARGET_SUBDIR)/libgcc && \ 36041 $(MAKE) $(EXTRA_TARGET_FLAGS) clean 36042 @endif target-libgcc-bootstrap 36043 36044 36045 .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc 36046 .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc 36047 maybe-all-stagefeedback-target-libgcc: 36048 maybe-clean-stagefeedback-target-libgcc: 36049 @if target-libgcc-bootstrap 36050 maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc 36051 all-stagefeedback: all-stagefeedback-target-libgcc 36052 TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc) 36053 all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc 36054 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 36055 @r=`${PWD_COMMAND}`; export r; \ 36056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36057 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 36058 $(NORMAL_TARGET_EXPORTS) \ 36059 \ 36060 cd $(TARGET_SUBDIR)/libgcc && \ 36061 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 36062 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 36063 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 36064 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 36065 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 36066 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 36067 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 36068 $(EXTRA_TARGET_FLAGS) \ 36069 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 36070 $(TARGET-stagefeedback-target-libgcc) 36071 36072 maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc 36073 clean-stagefeedback: clean-stagefeedback-target-libgcc 36074 clean-stagefeedback-target-libgcc: 36075 @if [ $(current_stage) = stagefeedback ]; then \ 36076 [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \ 36077 else \ 36078 [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \ 36079 $(MAKE) stagefeedback-start; \ 36080 fi; \ 36081 cd $(TARGET_SUBDIR)/libgcc && \ 36082 $(MAKE) $(EXTRA_TARGET_FLAGS) clean 36083 @endif target-libgcc-bootstrap 36084 36085 36086 36087 36088 36089 36090 .PHONY: check-target-libgcc maybe-check-target-libgcc 36091 maybe-check-target-libgcc: 36092 @if target-libgcc 36093 maybe-check-target-libgcc: check-target-libgcc 36094 36095 # Dummy target for uncheckable module. 36096 check-target-libgcc: 36097 36098 @endif target-libgcc 36099 36100 .PHONY: install-target-libgcc maybe-install-target-libgcc 36101 maybe-install-target-libgcc: 36102 @if target-libgcc 36103 maybe-install-target-libgcc: install-target-libgcc 36104 36105 install-target-libgcc: installdirs 36106 @: $(MAKE); $(unstage) 36107 @r=`${PWD_COMMAND}`; export r; \ 36108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36109 $(NORMAL_TARGET_EXPORTS) \ 36110 (cd $(TARGET_SUBDIR)/libgcc && \ 36111 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 36112 36113 @endif target-libgcc 36114 36115 .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc 36116 maybe-install-strip-target-libgcc: 36117 @if target-libgcc 36118 maybe-install-strip-target-libgcc: install-strip-target-libgcc 36119 36120 install-strip-target-libgcc: installdirs 36121 @: $(MAKE); $(unstage) 36122 @r=`${PWD_COMMAND}`; export r; \ 36123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36124 $(NORMAL_TARGET_EXPORTS) \ 36125 (cd $(TARGET_SUBDIR)/libgcc && \ 36126 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 36127 36128 @endif target-libgcc 36129 36130 # Other targets (info, dvi, pdf, etc.) 36131 36132 .PHONY: maybe-info-target-libgcc info-target-libgcc 36133 maybe-info-target-libgcc: 36134 @if target-libgcc 36135 maybe-info-target-libgcc: info-target-libgcc 36136 36137 info-target-libgcc: \ 36138 configure-target-libgcc 36139 @: $(MAKE); $(unstage) 36140 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ 36141 r=`${PWD_COMMAND}`; export r; \ 36142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36143 $(NORMAL_TARGET_EXPORTS) \ 36144 echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \ 36145 for flag in $(EXTRA_TARGET_FLAGS); do \ 36146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36147 done; \ 36148 (cd $(TARGET_SUBDIR)/libgcc && \ 36149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36151 "RANLIB=$${RANLIB}" \ 36152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36153 info) \ 36154 || exit 1 36155 36156 @endif target-libgcc 36157 36158 .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc 36159 maybe-dvi-target-libgcc: 36160 @if target-libgcc 36161 maybe-dvi-target-libgcc: dvi-target-libgcc 36162 36163 dvi-target-libgcc: \ 36164 configure-target-libgcc 36165 @: $(MAKE); $(unstage) 36166 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ 36167 r=`${PWD_COMMAND}`; export r; \ 36168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36169 $(NORMAL_TARGET_EXPORTS) \ 36170 echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \ 36171 for flag in $(EXTRA_TARGET_FLAGS); do \ 36172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36173 done; \ 36174 (cd $(TARGET_SUBDIR)/libgcc && \ 36175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36177 "RANLIB=$${RANLIB}" \ 36178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36179 dvi) \ 36180 || exit 1 36181 36182 @endif target-libgcc 36183 36184 .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc 36185 maybe-pdf-target-libgcc: 36186 @if target-libgcc 36187 maybe-pdf-target-libgcc: pdf-target-libgcc 36188 36189 pdf-target-libgcc: \ 36190 configure-target-libgcc 36191 @: $(MAKE); $(unstage) 36192 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ 36193 r=`${PWD_COMMAND}`; export r; \ 36194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36195 $(NORMAL_TARGET_EXPORTS) \ 36196 echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \ 36197 for flag in $(EXTRA_TARGET_FLAGS); do \ 36198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36199 done; \ 36200 (cd $(TARGET_SUBDIR)/libgcc && \ 36201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36203 "RANLIB=$${RANLIB}" \ 36204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36205 pdf) \ 36206 || exit 1 36207 36208 @endif target-libgcc 36209 36210 .PHONY: maybe-html-target-libgcc html-target-libgcc 36211 maybe-html-target-libgcc: 36212 @if target-libgcc 36213 maybe-html-target-libgcc: html-target-libgcc 36214 36215 html-target-libgcc: \ 36216 configure-target-libgcc 36217 @: $(MAKE); $(unstage) 36218 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ 36219 r=`${PWD_COMMAND}`; export r; \ 36220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36221 $(NORMAL_TARGET_EXPORTS) \ 36222 echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \ 36223 for flag in $(EXTRA_TARGET_FLAGS); do \ 36224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36225 done; \ 36226 (cd $(TARGET_SUBDIR)/libgcc && \ 36227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36229 "RANLIB=$${RANLIB}" \ 36230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36231 html) \ 36232 || exit 1 36233 36234 @endif target-libgcc 36235 36236 .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc 36237 maybe-TAGS-target-libgcc: 36238 @if target-libgcc 36239 maybe-TAGS-target-libgcc: TAGS-target-libgcc 36240 36241 TAGS-target-libgcc: \ 36242 configure-target-libgcc 36243 @: $(MAKE); $(unstage) 36244 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ 36245 r=`${PWD_COMMAND}`; export r; \ 36246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36247 $(NORMAL_TARGET_EXPORTS) \ 36248 echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \ 36249 for flag in $(EXTRA_TARGET_FLAGS); do \ 36250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36251 done; \ 36252 (cd $(TARGET_SUBDIR)/libgcc && \ 36253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36255 "RANLIB=$${RANLIB}" \ 36256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36257 TAGS) \ 36258 || exit 1 36259 36260 @endif target-libgcc 36261 36262 .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc 36263 maybe-install-info-target-libgcc: 36264 @if target-libgcc 36265 maybe-install-info-target-libgcc: install-info-target-libgcc 36266 36267 install-info-target-libgcc: \ 36268 configure-target-libgcc \ 36269 info-target-libgcc 36270 @: $(MAKE); $(unstage) 36271 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ 36272 r=`${PWD_COMMAND}`; export r; \ 36273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36274 $(NORMAL_TARGET_EXPORTS) \ 36275 echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \ 36276 for flag in $(EXTRA_TARGET_FLAGS); do \ 36277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36278 done; \ 36279 (cd $(TARGET_SUBDIR)/libgcc && \ 36280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36282 "RANLIB=$${RANLIB}" \ 36283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36284 install-info) \ 36285 || exit 1 36286 36287 @endif target-libgcc 36288 36289 .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc 36290 maybe-install-pdf-target-libgcc: 36291 @if target-libgcc 36292 maybe-install-pdf-target-libgcc: install-pdf-target-libgcc 36293 36294 install-pdf-target-libgcc: \ 36295 configure-target-libgcc \ 36296 pdf-target-libgcc 36297 @: $(MAKE); $(unstage) 36298 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ 36299 r=`${PWD_COMMAND}`; export r; \ 36300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36301 $(NORMAL_TARGET_EXPORTS) \ 36302 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \ 36303 for flag in $(EXTRA_TARGET_FLAGS); do \ 36304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36305 done; \ 36306 (cd $(TARGET_SUBDIR)/libgcc && \ 36307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36309 "RANLIB=$${RANLIB}" \ 36310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36311 install-pdf) \ 36312 || exit 1 36313 36314 @endif target-libgcc 36315 36316 .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc 36317 maybe-install-html-target-libgcc: 36318 @if target-libgcc 36319 maybe-install-html-target-libgcc: install-html-target-libgcc 36320 36321 install-html-target-libgcc: \ 36322 configure-target-libgcc \ 36323 html-target-libgcc 36324 @: $(MAKE); $(unstage) 36325 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ 36326 r=`${PWD_COMMAND}`; export r; \ 36327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36328 $(NORMAL_TARGET_EXPORTS) \ 36329 echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \ 36330 for flag in $(EXTRA_TARGET_FLAGS); do \ 36331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36332 done; \ 36333 (cd $(TARGET_SUBDIR)/libgcc && \ 36334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36336 "RANLIB=$${RANLIB}" \ 36337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36338 install-html) \ 36339 || exit 1 36340 36341 @endif target-libgcc 36342 36343 .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc 36344 maybe-installcheck-target-libgcc: 36345 @if target-libgcc 36346 maybe-installcheck-target-libgcc: installcheck-target-libgcc 36347 36348 installcheck-target-libgcc: \ 36349 configure-target-libgcc 36350 @: $(MAKE); $(unstage) 36351 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ 36352 r=`${PWD_COMMAND}`; export r; \ 36353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36354 $(NORMAL_TARGET_EXPORTS) \ 36355 echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \ 36356 for flag in $(EXTRA_TARGET_FLAGS); do \ 36357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36358 done; \ 36359 (cd $(TARGET_SUBDIR)/libgcc && \ 36360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36362 "RANLIB=$${RANLIB}" \ 36363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36364 installcheck) \ 36365 || exit 1 36366 36367 @endif target-libgcc 36368 36369 .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc 36370 maybe-mostlyclean-target-libgcc: 36371 @if target-libgcc 36372 maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc 36373 36374 mostlyclean-target-libgcc: 36375 @: $(MAKE); $(unstage) 36376 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ 36377 r=`${PWD_COMMAND}`; export r; \ 36378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36379 $(NORMAL_TARGET_EXPORTS) \ 36380 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \ 36381 for flag in $(EXTRA_TARGET_FLAGS); do \ 36382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36383 done; \ 36384 (cd $(TARGET_SUBDIR)/libgcc && \ 36385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36387 "RANLIB=$${RANLIB}" \ 36388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36389 mostlyclean) \ 36390 || exit 1 36391 36392 @endif target-libgcc 36393 36394 .PHONY: maybe-clean-target-libgcc clean-target-libgcc 36395 maybe-clean-target-libgcc: 36396 @if target-libgcc 36397 maybe-clean-target-libgcc: clean-target-libgcc 36398 36399 clean-target-libgcc: 36400 @: $(MAKE); $(unstage) 36401 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ 36402 r=`${PWD_COMMAND}`; export r; \ 36403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36404 $(NORMAL_TARGET_EXPORTS) \ 36405 echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \ 36406 for flag in $(EXTRA_TARGET_FLAGS); do \ 36407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36408 done; \ 36409 (cd $(TARGET_SUBDIR)/libgcc && \ 36410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36412 "RANLIB=$${RANLIB}" \ 36413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36414 clean) \ 36415 || exit 1 36416 36417 @endif target-libgcc 36418 36419 .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc 36420 maybe-distclean-target-libgcc: 36421 @if target-libgcc 36422 maybe-distclean-target-libgcc: distclean-target-libgcc 36423 36424 distclean-target-libgcc: 36425 @: $(MAKE); $(unstage) 36426 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ 36427 r=`${PWD_COMMAND}`; export r; \ 36428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36429 $(NORMAL_TARGET_EXPORTS) \ 36430 echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \ 36431 for flag in $(EXTRA_TARGET_FLAGS); do \ 36432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36433 done; \ 36434 (cd $(TARGET_SUBDIR)/libgcc && \ 36435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36437 "RANLIB=$${RANLIB}" \ 36438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36439 distclean) \ 36440 || exit 1 36441 36442 @endif target-libgcc 36443 36444 .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc 36445 maybe-maintainer-clean-target-libgcc: 36446 @if target-libgcc 36447 maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc 36448 36449 maintainer-clean-target-libgcc: 36450 @: $(MAKE); $(unstage) 36451 @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \ 36452 r=`${PWD_COMMAND}`; export r; \ 36453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36454 $(NORMAL_TARGET_EXPORTS) \ 36455 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \ 36456 for flag in $(EXTRA_TARGET_FLAGS); do \ 36457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36458 done; \ 36459 (cd $(TARGET_SUBDIR)/libgcc && \ 36460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36462 "RANLIB=$${RANLIB}" \ 36463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36464 maintainer-clean) \ 36465 || exit 1 36466 36467 @endif target-libgcc 36468 36469 36470 36471 36472 36473 .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace 36474 maybe-configure-target-libbacktrace: 36475 @if gcc-bootstrap 36476 configure-target-libbacktrace: stage_current 36477 @endif gcc-bootstrap 36478 @if target-libbacktrace 36479 maybe-configure-target-libbacktrace: configure-target-libbacktrace 36480 configure-target-libbacktrace: 36481 @: $(MAKE); $(unstage) 36482 @r=`${PWD_COMMAND}`; export r; \ 36483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36484 echo "Checking multilib configuration for libbacktrace..."; \ 36485 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \ 36486 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \ 36487 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \ 36488 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \ 36489 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \ 36490 else \ 36491 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \ 36492 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \ 36493 fi; \ 36494 else \ 36495 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \ 36496 fi; \ 36497 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \ 36498 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \ 36499 $(NORMAL_TARGET_EXPORTS) \ 36500 echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \ 36501 cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \ 36502 case $(srcdir) in \ 36503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 36504 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \ 36505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 36506 esac; \ 36507 srcdiroption="--srcdir=$${topdir}/libbacktrace"; \ 36508 libsrcdir="$$s/libbacktrace"; \ 36509 rm -f no-such-file || : ; \ 36510 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 36511 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 36512 --target=${target_alias} $${srcdiroption} \ 36513 || exit 1 36514 @endif target-libbacktrace 36515 36516 36517 36518 36519 36520 .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace 36521 maybe-all-target-libbacktrace: 36522 @if gcc-bootstrap 36523 all-target-libbacktrace: stage_current 36524 @endif gcc-bootstrap 36525 @if target-libbacktrace 36526 TARGET-target-libbacktrace=all 36527 maybe-all-target-libbacktrace: all-target-libbacktrace 36528 all-target-libbacktrace: configure-target-libbacktrace 36529 @: $(MAKE); $(unstage) 36530 @r=`${PWD_COMMAND}`; export r; \ 36531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36532 $(NORMAL_TARGET_EXPORTS) \ 36533 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36534 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 36535 $(TARGET-target-libbacktrace)) 36536 @endif target-libbacktrace 36537 36538 36539 36540 36541 36542 .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace 36543 maybe-check-target-libbacktrace: 36544 @if target-libbacktrace 36545 maybe-check-target-libbacktrace: check-target-libbacktrace 36546 36547 check-target-libbacktrace: 36548 @: $(MAKE); $(unstage) 36549 @r=`${PWD_COMMAND}`; export r; \ 36550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36551 $(NORMAL_TARGET_EXPORTS) \ 36552 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36553 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 36554 36555 @endif target-libbacktrace 36556 36557 .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace 36558 maybe-install-target-libbacktrace: 36559 @if target-libbacktrace 36560 maybe-install-target-libbacktrace: install-target-libbacktrace 36561 36562 install-target-libbacktrace: installdirs 36563 @: $(MAKE); $(unstage) 36564 @r=`${PWD_COMMAND}`; export r; \ 36565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36566 $(NORMAL_TARGET_EXPORTS) \ 36567 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36568 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 36569 36570 @endif target-libbacktrace 36571 36572 .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace 36573 maybe-install-strip-target-libbacktrace: 36574 @if target-libbacktrace 36575 maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace 36576 36577 install-strip-target-libbacktrace: installdirs 36578 @: $(MAKE); $(unstage) 36579 @r=`${PWD_COMMAND}`; export r; \ 36580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36581 $(NORMAL_TARGET_EXPORTS) \ 36582 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36583 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 36584 36585 @endif target-libbacktrace 36586 36587 # Other targets (info, dvi, pdf, etc.) 36588 36589 .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace 36590 maybe-info-target-libbacktrace: 36591 @if target-libbacktrace 36592 maybe-info-target-libbacktrace: info-target-libbacktrace 36593 36594 info-target-libbacktrace: \ 36595 configure-target-libbacktrace 36596 @: $(MAKE); $(unstage) 36597 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \ 36598 r=`${PWD_COMMAND}`; export r; \ 36599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36600 $(NORMAL_TARGET_EXPORTS) \ 36601 echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \ 36602 for flag in $(EXTRA_TARGET_FLAGS); do \ 36603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36604 done; \ 36605 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36608 "RANLIB=$${RANLIB}" \ 36609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36610 info) \ 36611 || exit 1 36612 36613 @endif target-libbacktrace 36614 36615 .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace 36616 maybe-dvi-target-libbacktrace: 36617 @if target-libbacktrace 36618 maybe-dvi-target-libbacktrace: dvi-target-libbacktrace 36619 36620 dvi-target-libbacktrace: \ 36621 configure-target-libbacktrace 36622 @: $(MAKE); $(unstage) 36623 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \ 36624 r=`${PWD_COMMAND}`; export r; \ 36625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36626 $(NORMAL_TARGET_EXPORTS) \ 36627 echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \ 36628 for flag in $(EXTRA_TARGET_FLAGS); do \ 36629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36630 done; \ 36631 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36634 "RANLIB=$${RANLIB}" \ 36635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36636 dvi) \ 36637 || exit 1 36638 36639 @endif target-libbacktrace 36640 36641 .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace 36642 maybe-pdf-target-libbacktrace: 36643 @if target-libbacktrace 36644 maybe-pdf-target-libbacktrace: pdf-target-libbacktrace 36645 36646 pdf-target-libbacktrace: \ 36647 configure-target-libbacktrace 36648 @: $(MAKE); $(unstage) 36649 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \ 36650 r=`${PWD_COMMAND}`; export r; \ 36651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36652 $(NORMAL_TARGET_EXPORTS) \ 36653 echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \ 36654 for flag in $(EXTRA_TARGET_FLAGS); do \ 36655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36656 done; \ 36657 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36660 "RANLIB=$${RANLIB}" \ 36661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36662 pdf) \ 36663 || exit 1 36664 36665 @endif target-libbacktrace 36666 36667 .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace 36668 maybe-html-target-libbacktrace: 36669 @if target-libbacktrace 36670 maybe-html-target-libbacktrace: html-target-libbacktrace 36671 36672 html-target-libbacktrace: \ 36673 configure-target-libbacktrace 36674 @: $(MAKE); $(unstage) 36675 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \ 36676 r=`${PWD_COMMAND}`; export r; \ 36677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36678 $(NORMAL_TARGET_EXPORTS) \ 36679 echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \ 36680 for flag in $(EXTRA_TARGET_FLAGS); do \ 36681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36682 done; \ 36683 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36686 "RANLIB=$${RANLIB}" \ 36687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36688 html) \ 36689 || exit 1 36690 36691 @endif target-libbacktrace 36692 36693 .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace 36694 maybe-TAGS-target-libbacktrace: 36695 @if target-libbacktrace 36696 maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace 36697 36698 TAGS-target-libbacktrace: \ 36699 configure-target-libbacktrace 36700 @: $(MAKE); $(unstage) 36701 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \ 36702 r=`${PWD_COMMAND}`; export r; \ 36703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36704 $(NORMAL_TARGET_EXPORTS) \ 36705 echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \ 36706 for flag in $(EXTRA_TARGET_FLAGS); do \ 36707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36708 done; \ 36709 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36712 "RANLIB=$${RANLIB}" \ 36713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36714 TAGS) \ 36715 || exit 1 36716 36717 @endif target-libbacktrace 36718 36719 .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace 36720 maybe-install-info-target-libbacktrace: 36721 @if target-libbacktrace 36722 maybe-install-info-target-libbacktrace: install-info-target-libbacktrace 36723 36724 install-info-target-libbacktrace: \ 36725 configure-target-libbacktrace \ 36726 info-target-libbacktrace 36727 @: $(MAKE); $(unstage) 36728 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \ 36729 r=`${PWD_COMMAND}`; export r; \ 36730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36731 $(NORMAL_TARGET_EXPORTS) \ 36732 echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \ 36733 for flag in $(EXTRA_TARGET_FLAGS); do \ 36734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36735 done; \ 36736 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36739 "RANLIB=$${RANLIB}" \ 36740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36741 install-info) \ 36742 || exit 1 36743 36744 @endif target-libbacktrace 36745 36746 .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace 36747 maybe-install-pdf-target-libbacktrace: 36748 @if target-libbacktrace 36749 maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace 36750 36751 install-pdf-target-libbacktrace: \ 36752 configure-target-libbacktrace \ 36753 pdf-target-libbacktrace 36754 @: $(MAKE); $(unstage) 36755 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \ 36756 r=`${PWD_COMMAND}`; export r; \ 36757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36758 $(NORMAL_TARGET_EXPORTS) \ 36759 echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \ 36760 for flag in $(EXTRA_TARGET_FLAGS); do \ 36761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36762 done; \ 36763 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36766 "RANLIB=$${RANLIB}" \ 36767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36768 install-pdf) \ 36769 || exit 1 36770 36771 @endif target-libbacktrace 36772 36773 .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace 36774 maybe-install-html-target-libbacktrace: 36775 @if target-libbacktrace 36776 maybe-install-html-target-libbacktrace: install-html-target-libbacktrace 36777 36778 install-html-target-libbacktrace: \ 36779 configure-target-libbacktrace \ 36780 html-target-libbacktrace 36781 @: $(MAKE); $(unstage) 36782 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \ 36783 r=`${PWD_COMMAND}`; export r; \ 36784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36785 $(NORMAL_TARGET_EXPORTS) \ 36786 echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \ 36787 for flag in $(EXTRA_TARGET_FLAGS); do \ 36788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36789 done; \ 36790 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36793 "RANLIB=$${RANLIB}" \ 36794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36795 install-html) \ 36796 || exit 1 36797 36798 @endif target-libbacktrace 36799 36800 .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace 36801 maybe-installcheck-target-libbacktrace: 36802 @if target-libbacktrace 36803 maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace 36804 36805 installcheck-target-libbacktrace: \ 36806 configure-target-libbacktrace 36807 @: $(MAKE); $(unstage) 36808 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \ 36809 r=`${PWD_COMMAND}`; export r; \ 36810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36811 $(NORMAL_TARGET_EXPORTS) \ 36812 echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \ 36813 for flag in $(EXTRA_TARGET_FLAGS); do \ 36814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36815 done; \ 36816 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36819 "RANLIB=$${RANLIB}" \ 36820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36821 installcheck) \ 36822 || exit 1 36823 36824 @endif target-libbacktrace 36825 36826 .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace 36827 maybe-mostlyclean-target-libbacktrace: 36828 @if target-libbacktrace 36829 maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace 36830 36831 mostlyclean-target-libbacktrace: 36832 @: $(MAKE); $(unstage) 36833 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \ 36834 r=`${PWD_COMMAND}`; export r; \ 36835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36836 $(NORMAL_TARGET_EXPORTS) \ 36837 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \ 36838 for flag in $(EXTRA_TARGET_FLAGS); do \ 36839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36840 done; \ 36841 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36844 "RANLIB=$${RANLIB}" \ 36845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36846 mostlyclean) \ 36847 || exit 1 36848 36849 @endif target-libbacktrace 36850 36851 .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace 36852 maybe-clean-target-libbacktrace: 36853 @if target-libbacktrace 36854 maybe-clean-target-libbacktrace: clean-target-libbacktrace 36855 36856 clean-target-libbacktrace: 36857 @: $(MAKE); $(unstage) 36858 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \ 36859 r=`${PWD_COMMAND}`; export r; \ 36860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36861 $(NORMAL_TARGET_EXPORTS) \ 36862 echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \ 36863 for flag in $(EXTRA_TARGET_FLAGS); do \ 36864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36865 done; \ 36866 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36869 "RANLIB=$${RANLIB}" \ 36870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36871 clean) \ 36872 || exit 1 36873 36874 @endif target-libbacktrace 36875 36876 .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace 36877 maybe-distclean-target-libbacktrace: 36878 @if target-libbacktrace 36879 maybe-distclean-target-libbacktrace: distclean-target-libbacktrace 36880 36881 distclean-target-libbacktrace: 36882 @: $(MAKE); $(unstage) 36883 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \ 36884 r=`${PWD_COMMAND}`; export r; \ 36885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36886 $(NORMAL_TARGET_EXPORTS) \ 36887 echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \ 36888 for flag in $(EXTRA_TARGET_FLAGS); do \ 36889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36890 done; \ 36891 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36894 "RANLIB=$${RANLIB}" \ 36895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36896 distclean) \ 36897 || exit 1 36898 36899 @endif target-libbacktrace 36900 36901 .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace 36902 maybe-maintainer-clean-target-libbacktrace: 36903 @if target-libbacktrace 36904 maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace 36905 36906 maintainer-clean-target-libbacktrace: 36907 @: $(MAKE); $(unstage) 36908 @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \ 36909 r=`${PWD_COMMAND}`; export r; \ 36910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36911 $(NORMAL_TARGET_EXPORTS) \ 36912 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \ 36913 for flag in $(EXTRA_TARGET_FLAGS); do \ 36914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 36915 done; \ 36916 (cd $(TARGET_SUBDIR)/libbacktrace && \ 36917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 36918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 36919 "RANLIB=$${RANLIB}" \ 36920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 36921 maintainer-clean) \ 36922 || exit 1 36923 36924 @endif target-libbacktrace 36925 36926 36927 36928 36929 36930 .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath 36931 maybe-configure-target-libquadmath: 36932 @if gcc-bootstrap 36933 configure-target-libquadmath: stage_current 36934 @endif gcc-bootstrap 36935 @if target-libquadmath 36936 maybe-configure-target-libquadmath: configure-target-libquadmath 36937 configure-target-libquadmath: 36938 @: $(MAKE); $(unstage) 36939 @r=`${PWD_COMMAND}`; export r; \ 36940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36941 echo "Checking multilib configuration for libquadmath..."; \ 36942 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \ 36943 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \ 36944 if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \ 36945 if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \ 36946 rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \ 36947 else \ 36948 rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \ 36949 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \ 36950 fi; \ 36951 else \ 36952 mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \ 36953 fi; \ 36954 test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \ 36955 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \ 36956 $(NORMAL_TARGET_EXPORTS) \ 36957 echo Configuring in $(TARGET_SUBDIR)/libquadmath; \ 36958 cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \ 36959 case $(srcdir) in \ 36960 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 36961 *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \ 36962 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 36963 esac; \ 36964 srcdiroption="--srcdir=$${topdir}/libquadmath"; \ 36965 libsrcdir="$$s/libquadmath"; \ 36966 rm -f no-such-file || : ; \ 36967 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 36968 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 36969 --target=${target_alias} $${srcdiroption} \ 36970 || exit 1 36971 @endif target-libquadmath 36972 36973 36974 36975 36976 36977 .PHONY: all-target-libquadmath maybe-all-target-libquadmath 36978 maybe-all-target-libquadmath: 36979 @if gcc-bootstrap 36980 all-target-libquadmath: stage_current 36981 @endif gcc-bootstrap 36982 @if target-libquadmath 36983 TARGET-target-libquadmath=all 36984 maybe-all-target-libquadmath: all-target-libquadmath 36985 all-target-libquadmath: configure-target-libquadmath 36986 @: $(MAKE); $(unstage) 36987 @r=`${PWD_COMMAND}`; export r; \ 36988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 36989 $(NORMAL_TARGET_EXPORTS) \ 36990 (cd $(TARGET_SUBDIR)/libquadmath && \ 36991 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 36992 $(TARGET-target-libquadmath)) 36993 @endif target-libquadmath 36994 36995 36996 36997 36998 36999 .PHONY: check-target-libquadmath maybe-check-target-libquadmath 37000 maybe-check-target-libquadmath: 37001 @if target-libquadmath 37002 maybe-check-target-libquadmath: check-target-libquadmath 37003 37004 check-target-libquadmath: 37005 @: $(MAKE); $(unstage) 37006 @r=`${PWD_COMMAND}`; export r; \ 37007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37008 $(NORMAL_TARGET_EXPORTS) \ 37009 (cd $(TARGET_SUBDIR)/libquadmath && \ 37010 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 37011 37012 @endif target-libquadmath 37013 37014 .PHONY: install-target-libquadmath maybe-install-target-libquadmath 37015 maybe-install-target-libquadmath: 37016 @if target-libquadmath 37017 maybe-install-target-libquadmath: install-target-libquadmath 37018 37019 install-target-libquadmath: installdirs 37020 @: $(MAKE); $(unstage) 37021 @r=`${PWD_COMMAND}`; export r; \ 37022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37023 $(NORMAL_TARGET_EXPORTS) \ 37024 (cd $(TARGET_SUBDIR)/libquadmath && \ 37025 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 37026 37027 @endif target-libquadmath 37028 37029 .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath 37030 maybe-install-strip-target-libquadmath: 37031 @if target-libquadmath 37032 maybe-install-strip-target-libquadmath: install-strip-target-libquadmath 37033 37034 install-strip-target-libquadmath: installdirs 37035 @: $(MAKE); $(unstage) 37036 @r=`${PWD_COMMAND}`; export r; \ 37037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37038 $(NORMAL_TARGET_EXPORTS) \ 37039 (cd $(TARGET_SUBDIR)/libquadmath && \ 37040 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 37041 37042 @endif target-libquadmath 37043 37044 # Other targets (info, dvi, pdf, etc.) 37045 37046 .PHONY: maybe-info-target-libquadmath info-target-libquadmath 37047 maybe-info-target-libquadmath: 37048 @if target-libquadmath 37049 maybe-info-target-libquadmath: info-target-libquadmath 37050 37051 info-target-libquadmath: \ 37052 configure-target-libquadmath 37053 @: $(MAKE); $(unstage) 37054 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ 37055 r=`${PWD_COMMAND}`; export r; \ 37056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37057 $(NORMAL_TARGET_EXPORTS) \ 37058 echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \ 37059 for flag in $(EXTRA_TARGET_FLAGS); do \ 37060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37061 done; \ 37062 (cd $(TARGET_SUBDIR)/libquadmath && \ 37063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37065 "RANLIB=$${RANLIB}" \ 37066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37067 info) \ 37068 || exit 1 37069 37070 @endif target-libquadmath 37071 37072 .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath 37073 maybe-dvi-target-libquadmath: 37074 @if target-libquadmath 37075 maybe-dvi-target-libquadmath: dvi-target-libquadmath 37076 37077 dvi-target-libquadmath: \ 37078 configure-target-libquadmath 37079 @: $(MAKE); $(unstage) 37080 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ 37081 r=`${PWD_COMMAND}`; export r; \ 37082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37083 $(NORMAL_TARGET_EXPORTS) \ 37084 echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \ 37085 for flag in $(EXTRA_TARGET_FLAGS); do \ 37086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37087 done; \ 37088 (cd $(TARGET_SUBDIR)/libquadmath && \ 37089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37091 "RANLIB=$${RANLIB}" \ 37092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37093 dvi) \ 37094 || exit 1 37095 37096 @endif target-libquadmath 37097 37098 .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath 37099 maybe-pdf-target-libquadmath: 37100 @if target-libquadmath 37101 maybe-pdf-target-libquadmath: pdf-target-libquadmath 37102 37103 pdf-target-libquadmath: \ 37104 configure-target-libquadmath 37105 @: $(MAKE); $(unstage) 37106 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ 37107 r=`${PWD_COMMAND}`; export r; \ 37108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37109 $(NORMAL_TARGET_EXPORTS) \ 37110 echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \ 37111 for flag in $(EXTRA_TARGET_FLAGS); do \ 37112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37113 done; \ 37114 (cd $(TARGET_SUBDIR)/libquadmath && \ 37115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37117 "RANLIB=$${RANLIB}" \ 37118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37119 pdf) \ 37120 || exit 1 37121 37122 @endif target-libquadmath 37123 37124 .PHONY: maybe-html-target-libquadmath html-target-libquadmath 37125 maybe-html-target-libquadmath: 37126 @if target-libquadmath 37127 maybe-html-target-libquadmath: html-target-libquadmath 37128 37129 html-target-libquadmath: \ 37130 configure-target-libquadmath 37131 @: $(MAKE); $(unstage) 37132 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ 37133 r=`${PWD_COMMAND}`; export r; \ 37134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37135 $(NORMAL_TARGET_EXPORTS) \ 37136 echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \ 37137 for flag in $(EXTRA_TARGET_FLAGS); do \ 37138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37139 done; \ 37140 (cd $(TARGET_SUBDIR)/libquadmath && \ 37141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37143 "RANLIB=$${RANLIB}" \ 37144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37145 html) \ 37146 || exit 1 37147 37148 @endif target-libquadmath 37149 37150 .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath 37151 maybe-TAGS-target-libquadmath: 37152 @if target-libquadmath 37153 maybe-TAGS-target-libquadmath: TAGS-target-libquadmath 37154 37155 TAGS-target-libquadmath: \ 37156 configure-target-libquadmath 37157 @: $(MAKE); $(unstage) 37158 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ 37159 r=`${PWD_COMMAND}`; export r; \ 37160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37161 $(NORMAL_TARGET_EXPORTS) \ 37162 echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \ 37163 for flag in $(EXTRA_TARGET_FLAGS); do \ 37164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37165 done; \ 37166 (cd $(TARGET_SUBDIR)/libquadmath && \ 37167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37169 "RANLIB=$${RANLIB}" \ 37170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37171 TAGS) \ 37172 || exit 1 37173 37174 @endif target-libquadmath 37175 37176 .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath 37177 maybe-install-info-target-libquadmath: 37178 @if target-libquadmath 37179 maybe-install-info-target-libquadmath: install-info-target-libquadmath 37180 37181 install-info-target-libquadmath: \ 37182 configure-target-libquadmath \ 37183 info-target-libquadmath 37184 @: $(MAKE); $(unstage) 37185 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ 37186 r=`${PWD_COMMAND}`; export r; \ 37187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37188 $(NORMAL_TARGET_EXPORTS) \ 37189 echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \ 37190 for flag in $(EXTRA_TARGET_FLAGS); do \ 37191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37192 done; \ 37193 (cd $(TARGET_SUBDIR)/libquadmath && \ 37194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37196 "RANLIB=$${RANLIB}" \ 37197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37198 install-info) \ 37199 || exit 1 37200 37201 @endif target-libquadmath 37202 37203 .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath 37204 maybe-install-pdf-target-libquadmath: 37205 @if target-libquadmath 37206 maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath 37207 37208 install-pdf-target-libquadmath: \ 37209 configure-target-libquadmath \ 37210 pdf-target-libquadmath 37211 @: $(MAKE); $(unstage) 37212 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ 37213 r=`${PWD_COMMAND}`; export r; \ 37214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37215 $(NORMAL_TARGET_EXPORTS) \ 37216 echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \ 37217 for flag in $(EXTRA_TARGET_FLAGS); do \ 37218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37219 done; \ 37220 (cd $(TARGET_SUBDIR)/libquadmath && \ 37221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37223 "RANLIB=$${RANLIB}" \ 37224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37225 install-pdf) \ 37226 || exit 1 37227 37228 @endif target-libquadmath 37229 37230 .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath 37231 maybe-install-html-target-libquadmath: 37232 @if target-libquadmath 37233 maybe-install-html-target-libquadmath: install-html-target-libquadmath 37234 37235 install-html-target-libquadmath: \ 37236 configure-target-libquadmath \ 37237 html-target-libquadmath 37238 @: $(MAKE); $(unstage) 37239 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ 37240 r=`${PWD_COMMAND}`; export r; \ 37241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37242 $(NORMAL_TARGET_EXPORTS) \ 37243 echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \ 37244 for flag in $(EXTRA_TARGET_FLAGS); do \ 37245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37246 done; \ 37247 (cd $(TARGET_SUBDIR)/libquadmath && \ 37248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37250 "RANLIB=$${RANLIB}" \ 37251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37252 install-html) \ 37253 || exit 1 37254 37255 @endif target-libquadmath 37256 37257 .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath 37258 maybe-installcheck-target-libquadmath: 37259 @if target-libquadmath 37260 maybe-installcheck-target-libquadmath: installcheck-target-libquadmath 37261 37262 installcheck-target-libquadmath: \ 37263 configure-target-libquadmath 37264 @: $(MAKE); $(unstage) 37265 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ 37266 r=`${PWD_COMMAND}`; export r; \ 37267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37268 $(NORMAL_TARGET_EXPORTS) \ 37269 echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \ 37270 for flag in $(EXTRA_TARGET_FLAGS); do \ 37271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37272 done; \ 37273 (cd $(TARGET_SUBDIR)/libquadmath && \ 37274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37276 "RANLIB=$${RANLIB}" \ 37277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37278 installcheck) \ 37279 || exit 1 37280 37281 @endif target-libquadmath 37282 37283 .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath 37284 maybe-mostlyclean-target-libquadmath: 37285 @if target-libquadmath 37286 maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath 37287 37288 mostlyclean-target-libquadmath: 37289 @: $(MAKE); $(unstage) 37290 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ 37291 r=`${PWD_COMMAND}`; export r; \ 37292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37293 $(NORMAL_TARGET_EXPORTS) \ 37294 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \ 37295 for flag in $(EXTRA_TARGET_FLAGS); do \ 37296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37297 done; \ 37298 (cd $(TARGET_SUBDIR)/libquadmath && \ 37299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37301 "RANLIB=$${RANLIB}" \ 37302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37303 mostlyclean) \ 37304 || exit 1 37305 37306 @endif target-libquadmath 37307 37308 .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath 37309 maybe-clean-target-libquadmath: 37310 @if target-libquadmath 37311 maybe-clean-target-libquadmath: clean-target-libquadmath 37312 37313 clean-target-libquadmath: 37314 @: $(MAKE); $(unstage) 37315 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ 37316 r=`${PWD_COMMAND}`; export r; \ 37317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37318 $(NORMAL_TARGET_EXPORTS) \ 37319 echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \ 37320 for flag in $(EXTRA_TARGET_FLAGS); do \ 37321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37322 done; \ 37323 (cd $(TARGET_SUBDIR)/libquadmath && \ 37324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37326 "RANLIB=$${RANLIB}" \ 37327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37328 clean) \ 37329 || exit 1 37330 37331 @endif target-libquadmath 37332 37333 .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath 37334 maybe-distclean-target-libquadmath: 37335 @if target-libquadmath 37336 maybe-distclean-target-libquadmath: distclean-target-libquadmath 37337 37338 distclean-target-libquadmath: 37339 @: $(MAKE); $(unstage) 37340 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ 37341 r=`${PWD_COMMAND}`; export r; \ 37342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37343 $(NORMAL_TARGET_EXPORTS) \ 37344 echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \ 37345 for flag in $(EXTRA_TARGET_FLAGS); do \ 37346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37347 done; \ 37348 (cd $(TARGET_SUBDIR)/libquadmath && \ 37349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37351 "RANLIB=$${RANLIB}" \ 37352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37353 distclean) \ 37354 || exit 1 37355 37356 @endif target-libquadmath 37357 37358 .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath 37359 maybe-maintainer-clean-target-libquadmath: 37360 @if target-libquadmath 37361 maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath 37362 37363 maintainer-clean-target-libquadmath: 37364 @: $(MAKE); $(unstage) 37365 @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \ 37366 r=`${PWD_COMMAND}`; export r; \ 37367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37368 $(NORMAL_TARGET_EXPORTS) \ 37369 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \ 37370 for flag in $(EXTRA_TARGET_FLAGS); do \ 37371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37372 done; \ 37373 (cd $(TARGET_SUBDIR)/libquadmath && \ 37374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37376 "RANLIB=$${RANLIB}" \ 37377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37378 maintainer-clean) \ 37379 || exit 1 37380 37381 @endif target-libquadmath 37382 37383 37384 37385 37386 37387 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran 37388 maybe-configure-target-libgfortran: 37389 @if gcc-bootstrap 37390 configure-target-libgfortran: stage_current 37391 @endif gcc-bootstrap 37392 @if target-libgfortran 37393 maybe-configure-target-libgfortran: configure-target-libgfortran 37394 configure-target-libgfortran: 37395 @: $(MAKE); $(unstage) 37396 @r=`${PWD_COMMAND}`; export r; \ 37397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37398 echo "Checking multilib configuration for libgfortran..."; \ 37399 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \ 37400 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \ 37401 if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \ 37402 if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \ 37403 rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \ 37404 else \ 37405 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \ 37406 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \ 37407 fi; \ 37408 else \ 37409 mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \ 37410 fi; \ 37411 test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \ 37412 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \ 37413 $(NORMAL_TARGET_EXPORTS) \ 37414 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \ 37415 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \ 37416 case $(srcdir) in \ 37417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 37418 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \ 37419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 37420 esac; \ 37421 srcdiroption="--srcdir=$${topdir}/libgfortran"; \ 37422 libsrcdir="$$s/libgfortran"; \ 37423 rm -f no-such-file || : ; \ 37424 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 37425 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 37426 --target=${target_alias} $${srcdiroption} \ 37427 || exit 1 37428 @endif target-libgfortran 37429 37430 37431 37432 37433 37434 .PHONY: all-target-libgfortran maybe-all-target-libgfortran 37435 maybe-all-target-libgfortran: 37436 @if gcc-bootstrap 37437 all-target-libgfortran: stage_current 37438 @endif gcc-bootstrap 37439 @if target-libgfortran 37440 TARGET-target-libgfortran=all 37441 maybe-all-target-libgfortran: all-target-libgfortran 37442 all-target-libgfortran: configure-target-libgfortran 37443 @: $(MAKE); $(unstage) 37444 @r=`${PWD_COMMAND}`; export r; \ 37445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37446 $(NORMAL_TARGET_EXPORTS) \ 37447 (cd $(TARGET_SUBDIR)/libgfortran && \ 37448 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 37449 $(TARGET-target-libgfortran)) 37450 @endif target-libgfortran 37451 37452 37453 37454 37455 37456 .PHONY: check-target-libgfortran maybe-check-target-libgfortran 37457 maybe-check-target-libgfortran: 37458 @if target-libgfortran 37459 maybe-check-target-libgfortran: check-target-libgfortran 37460 37461 check-target-libgfortran: 37462 @: $(MAKE); $(unstage) 37463 @r=`${PWD_COMMAND}`; export r; \ 37464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37465 $(NORMAL_TARGET_EXPORTS) \ 37466 (cd $(TARGET_SUBDIR)/libgfortran && \ 37467 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 37468 37469 @endif target-libgfortran 37470 37471 .PHONY: install-target-libgfortran maybe-install-target-libgfortran 37472 maybe-install-target-libgfortran: 37473 @if target-libgfortran 37474 maybe-install-target-libgfortran: install-target-libgfortran 37475 37476 install-target-libgfortran: installdirs 37477 @: $(MAKE); $(unstage) 37478 @r=`${PWD_COMMAND}`; export r; \ 37479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37480 $(NORMAL_TARGET_EXPORTS) \ 37481 (cd $(TARGET_SUBDIR)/libgfortran && \ 37482 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 37483 37484 @endif target-libgfortran 37485 37486 .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran 37487 maybe-install-strip-target-libgfortran: 37488 @if target-libgfortran 37489 maybe-install-strip-target-libgfortran: install-strip-target-libgfortran 37490 37491 install-strip-target-libgfortran: installdirs 37492 @: $(MAKE); $(unstage) 37493 @r=`${PWD_COMMAND}`; export r; \ 37494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37495 $(NORMAL_TARGET_EXPORTS) \ 37496 (cd $(TARGET_SUBDIR)/libgfortran && \ 37497 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 37498 37499 @endif target-libgfortran 37500 37501 # Other targets (info, dvi, pdf, etc.) 37502 37503 .PHONY: maybe-info-target-libgfortran info-target-libgfortran 37504 maybe-info-target-libgfortran: 37505 @if target-libgfortran 37506 maybe-info-target-libgfortran: info-target-libgfortran 37507 37508 info-target-libgfortran: \ 37509 configure-target-libgfortran 37510 @: $(MAKE); $(unstage) 37511 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ 37512 r=`${PWD_COMMAND}`; export r; \ 37513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37514 $(NORMAL_TARGET_EXPORTS) \ 37515 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \ 37516 for flag in $(EXTRA_TARGET_FLAGS); do \ 37517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37518 done; \ 37519 (cd $(TARGET_SUBDIR)/libgfortran && \ 37520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37522 "RANLIB=$${RANLIB}" \ 37523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37524 info) \ 37525 || exit 1 37526 37527 @endif target-libgfortran 37528 37529 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran 37530 maybe-dvi-target-libgfortran: 37531 @if target-libgfortran 37532 maybe-dvi-target-libgfortran: dvi-target-libgfortran 37533 37534 dvi-target-libgfortran: \ 37535 configure-target-libgfortran 37536 @: $(MAKE); $(unstage) 37537 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ 37538 r=`${PWD_COMMAND}`; export r; \ 37539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37540 $(NORMAL_TARGET_EXPORTS) \ 37541 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \ 37542 for flag in $(EXTRA_TARGET_FLAGS); do \ 37543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37544 done; \ 37545 (cd $(TARGET_SUBDIR)/libgfortran && \ 37546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37548 "RANLIB=$${RANLIB}" \ 37549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37550 dvi) \ 37551 || exit 1 37552 37553 @endif target-libgfortran 37554 37555 .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran 37556 maybe-pdf-target-libgfortran: 37557 @if target-libgfortran 37558 maybe-pdf-target-libgfortran: pdf-target-libgfortran 37559 37560 pdf-target-libgfortran: \ 37561 configure-target-libgfortran 37562 @: $(MAKE); $(unstage) 37563 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ 37564 r=`${PWD_COMMAND}`; export r; \ 37565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37566 $(NORMAL_TARGET_EXPORTS) \ 37567 echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \ 37568 for flag in $(EXTRA_TARGET_FLAGS); do \ 37569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37570 done; \ 37571 (cd $(TARGET_SUBDIR)/libgfortran && \ 37572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37574 "RANLIB=$${RANLIB}" \ 37575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37576 pdf) \ 37577 || exit 1 37578 37579 @endif target-libgfortran 37580 37581 .PHONY: maybe-html-target-libgfortran html-target-libgfortran 37582 maybe-html-target-libgfortran: 37583 @if target-libgfortran 37584 maybe-html-target-libgfortran: html-target-libgfortran 37585 37586 html-target-libgfortran: \ 37587 configure-target-libgfortran 37588 @: $(MAKE); $(unstage) 37589 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ 37590 r=`${PWD_COMMAND}`; export r; \ 37591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37592 $(NORMAL_TARGET_EXPORTS) \ 37593 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \ 37594 for flag in $(EXTRA_TARGET_FLAGS); do \ 37595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37596 done; \ 37597 (cd $(TARGET_SUBDIR)/libgfortran && \ 37598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37600 "RANLIB=$${RANLIB}" \ 37601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37602 html) \ 37603 || exit 1 37604 37605 @endif target-libgfortran 37606 37607 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran 37608 maybe-TAGS-target-libgfortran: 37609 @if target-libgfortran 37610 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran 37611 37612 TAGS-target-libgfortran: \ 37613 configure-target-libgfortran 37614 @: $(MAKE); $(unstage) 37615 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ 37616 r=`${PWD_COMMAND}`; export r; \ 37617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37618 $(NORMAL_TARGET_EXPORTS) \ 37619 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \ 37620 for flag in $(EXTRA_TARGET_FLAGS); do \ 37621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37622 done; \ 37623 (cd $(TARGET_SUBDIR)/libgfortran && \ 37624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37626 "RANLIB=$${RANLIB}" \ 37627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37628 TAGS) \ 37629 || exit 1 37630 37631 @endif target-libgfortran 37632 37633 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran 37634 maybe-install-info-target-libgfortran: 37635 @if target-libgfortran 37636 maybe-install-info-target-libgfortran: install-info-target-libgfortran 37637 37638 install-info-target-libgfortran: \ 37639 configure-target-libgfortran \ 37640 info-target-libgfortran 37641 @: $(MAKE); $(unstage) 37642 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ 37643 r=`${PWD_COMMAND}`; export r; \ 37644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37645 $(NORMAL_TARGET_EXPORTS) \ 37646 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \ 37647 for flag in $(EXTRA_TARGET_FLAGS); do \ 37648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37649 done; \ 37650 (cd $(TARGET_SUBDIR)/libgfortran && \ 37651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37653 "RANLIB=$${RANLIB}" \ 37654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37655 install-info) \ 37656 || exit 1 37657 37658 @endif target-libgfortran 37659 37660 .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran 37661 maybe-install-pdf-target-libgfortran: 37662 @if target-libgfortran 37663 maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran 37664 37665 install-pdf-target-libgfortran: \ 37666 configure-target-libgfortran \ 37667 pdf-target-libgfortran 37668 @: $(MAKE); $(unstage) 37669 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ 37670 r=`${PWD_COMMAND}`; export r; \ 37671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37672 $(NORMAL_TARGET_EXPORTS) \ 37673 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \ 37674 for flag in $(EXTRA_TARGET_FLAGS); do \ 37675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37676 done; \ 37677 (cd $(TARGET_SUBDIR)/libgfortran && \ 37678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37680 "RANLIB=$${RANLIB}" \ 37681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37682 install-pdf) \ 37683 || exit 1 37684 37685 @endif target-libgfortran 37686 37687 .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran 37688 maybe-install-html-target-libgfortran: 37689 @if target-libgfortran 37690 maybe-install-html-target-libgfortran: install-html-target-libgfortran 37691 37692 install-html-target-libgfortran: \ 37693 configure-target-libgfortran \ 37694 html-target-libgfortran 37695 @: $(MAKE); $(unstage) 37696 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ 37697 r=`${PWD_COMMAND}`; export r; \ 37698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37699 $(NORMAL_TARGET_EXPORTS) \ 37700 echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \ 37701 for flag in $(EXTRA_TARGET_FLAGS); do \ 37702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37703 done; \ 37704 (cd $(TARGET_SUBDIR)/libgfortran && \ 37705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37707 "RANLIB=$${RANLIB}" \ 37708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37709 install-html) \ 37710 || exit 1 37711 37712 @endif target-libgfortran 37713 37714 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran 37715 maybe-installcheck-target-libgfortran: 37716 @if target-libgfortran 37717 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran 37718 37719 installcheck-target-libgfortran: \ 37720 configure-target-libgfortran 37721 @: $(MAKE); $(unstage) 37722 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ 37723 r=`${PWD_COMMAND}`; export r; \ 37724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37725 $(NORMAL_TARGET_EXPORTS) \ 37726 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \ 37727 for flag in $(EXTRA_TARGET_FLAGS); do \ 37728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37729 done; \ 37730 (cd $(TARGET_SUBDIR)/libgfortran && \ 37731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37733 "RANLIB=$${RANLIB}" \ 37734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37735 installcheck) \ 37736 || exit 1 37737 37738 @endif target-libgfortran 37739 37740 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran 37741 maybe-mostlyclean-target-libgfortran: 37742 @if target-libgfortran 37743 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran 37744 37745 mostlyclean-target-libgfortran: 37746 @: $(MAKE); $(unstage) 37747 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ 37748 r=`${PWD_COMMAND}`; export r; \ 37749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37750 $(NORMAL_TARGET_EXPORTS) \ 37751 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \ 37752 for flag in $(EXTRA_TARGET_FLAGS); do \ 37753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37754 done; \ 37755 (cd $(TARGET_SUBDIR)/libgfortran && \ 37756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37758 "RANLIB=$${RANLIB}" \ 37759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37760 mostlyclean) \ 37761 || exit 1 37762 37763 @endif target-libgfortran 37764 37765 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran 37766 maybe-clean-target-libgfortran: 37767 @if target-libgfortran 37768 maybe-clean-target-libgfortran: clean-target-libgfortran 37769 37770 clean-target-libgfortran: 37771 @: $(MAKE); $(unstage) 37772 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ 37773 r=`${PWD_COMMAND}`; export r; \ 37774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37775 $(NORMAL_TARGET_EXPORTS) \ 37776 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \ 37777 for flag in $(EXTRA_TARGET_FLAGS); do \ 37778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37779 done; \ 37780 (cd $(TARGET_SUBDIR)/libgfortran && \ 37781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37783 "RANLIB=$${RANLIB}" \ 37784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37785 clean) \ 37786 || exit 1 37787 37788 @endif target-libgfortran 37789 37790 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran 37791 maybe-distclean-target-libgfortran: 37792 @if target-libgfortran 37793 maybe-distclean-target-libgfortran: distclean-target-libgfortran 37794 37795 distclean-target-libgfortran: 37796 @: $(MAKE); $(unstage) 37797 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ 37798 r=`${PWD_COMMAND}`; export r; \ 37799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37800 $(NORMAL_TARGET_EXPORTS) \ 37801 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \ 37802 for flag in $(EXTRA_TARGET_FLAGS); do \ 37803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37804 done; \ 37805 (cd $(TARGET_SUBDIR)/libgfortran && \ 37806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37808 "RANLIB=$${RANLIB}" \ 37809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37810 distclean) \ 37811 || exit 1 37812 37813 @endif target-libgfortran 37814 37815 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran 37816 maybe-maintainer-clean-target-libgfortran: 37817 @if target-libgfortran 37818 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran 37819 37820 maintainer-clean-target-libgfortran: 37821 @: $(MAKE); $(unstage) 37822 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \ 37823 r=`${PWD_COMMAND}`; export r; \ 37824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37825 $(NORMAL_TARGET_EXPORTS) \ 37826 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \ 37827 for flag in $(EXTRA_TARGET_FLAGS); do \ 37828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37829 done; \ 37830 (cd $(TARGET_SUBDIR)/libgfortran && \ 37831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37833 "RANLIB=$${RANLIB}" \ 37834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37835 maintainer-clean) \ 37836 || exit 1 37837 37838 @endif target-libgfortran 37839 37840 37841 37842 37843 37844 .PHONY: configure-target-libobjc maybe-configure-target-libobjc 37845 maybe-configure-target-libobjc: 37846 @if gcc-bootstrap 37847 configure-target-libobjc: stage_current 37848 @endif gcc-bootstrap 37849 @if target-libobjc 37850 maybe-configure-target-libobjc: configure-target-libobjc 37851 configure-target-libobjc: 37852 @: $(MAKE); $(unstage) 37853 @r=`${PWD_COMMAND}`; export r; \ 37854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37855 echo "Checking multilib configuration for libobjc..."; \ 37856 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \ 37857 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \ 37858 if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \ 37859 if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \ 37860 rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \ 37861 else \ 37862 rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \ 37863 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \ 37864 fi; \ 37865 else \ 37866 mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \ 37867 fi; \ 37868 test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \ 37869 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \ 37870 $(NORMAL_TARGET_EXPORTS) \ 37871 echo Configuring in $(TARGET_SUBDIR)/libobjc; \ 37872 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \ 37873 case $(srcdir) in \ 37874 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 37875 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \ 37876 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 37877 esac; \ 37878 srcdiroption="--srcdir=$${topdir}/libobjc"; \ 37879 libsrcdir="$$s/libobjc"; \ 37880 rm -f no-such-file || : ; \ 37881 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 37882 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 37883 --target=${target_alias} $${srcdiroption} \ 37884 || exit 1 37885 @endif target-libobjc 37886 37887 37888 37889 37890 37891 .PHONY: all-target-libobjc maybe-all-target-libobjc 37892 maybe-all-target-libobjc: 37893 @if gcc-bootstrap 37894 all-target-libobjc: stage_current 37895 @endif gcc-bootstrap 37896 @if target-libobjc 37897 TARGET-target-libobjc=all 37898 maybe-all-target-libobjc: all-target-libobjc 37899 all-target-libobjc: configure-target-libobjc 37900 @: $(MAKE); $(unstage) 37901 @r=`${PWD_COMMAND}`; export r; \ 37902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37903 $(NORMAL_TARGET_EXPORTS) \ 37904 (cd $(TARGET_SUBDIR)/libobjc && \ 37905 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 37906 $(TARGET-target-libobjc)) 37907 @endif target-libobjc 37908 37909 37910 37911 37912 37913 .PHONY: check-target-libobjc maybe-check-target-libobjc 37914 maybe-check-target-libobjc: 37915 @if target-libobjc 37916 maybe-check-target-libobjc: check-target-libobjc 37917 37918 check-target-libobjc: 37919 @: $(MAKE); $(unstage) 37920 @r=`${PWD_COMMAND}`; export r; \ 37921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37922 $(NORMAL_TARGET_EXPORTS) \ 37923 (cd $(TARGET_SUBDIR)/libobjc && \ 37924 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 37925 37926 @endif target-libobjc 37927 37928 .PHONY: install-target-libobjc maybe-install-target-libobjc 37929 maybe-install-target-libobjc: 37930 @if target-libobjc 37931 maybe-install-target-libobjc: install-target-libobjc 37932 37933 install-target-libobjc: installdirs 37934 @: $(MAKE); $(unstage) 37935 @r=`${PWD_COMMAND}`; export r; \ 37936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37937 $(NORMAL_TARGET_EXPORTS) \ 37938 (cd $(TARGET_SUBDIR)/libobjc && \ 37939 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 37940 37941 @endif target-libobjc 37942 37943 .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc 37944 maybe-install-strip-target-libobjc: 37945 @if target-libobjc 37946 maybe-install-strip-target-libobjc: install-strip-target-libobjc 37947 37948 install-strip-target-libobjc: installdirs 37949 @: $(MAKE); $(unstage) 37950 @r=`${PWD_COMMAND}`; export r; \ 37951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37952 $(NORMAL_TARGET_EXPORTS) \ 37953 (cd $(TARGET_SUBDIR)/libobjc && \ 37954 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 37955 37956 @endif target-libobjc 37957 37958 # Other targets (info, dvi, pdf, etc.) 37959 37960 .PHONY: maybe-info-target-libobjc info-target-libobjc 37961 maybe-info-target-libobjc: 37962 @if target-libobjc 37963 maybe-info-target-libobjc: info-target-libobjc 37964 37965 info-target-libobjc: \ 37966 configure-target-libobjc 37967 @: $(MAKE); $(unstage) 37968 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ 37969 r=`${PWD_COMMAND}`; export r; \ 37970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37971 $(NORMAL_TARGET_EXPORTS) \ 37972 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \ 37973 for flag in $(EXTRA_TARGET_FLAGS); do \ 37974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 37975 done; \ 37976 (cd $(TARGET_SUBDIR)/libobjc && \ 37977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 37978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 37979 "RANLIB=$${RANLIB}" \ 37980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 37981 info) \ 37982 || exit 1 37983 37984 @endif target-libobjc 37985 37986 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc 37987 maybe-dvi-target-libobjc: 37988 @if target-libobjc 37989 maybe-dvi-target-libobjc: dvi-target-libobjc 37990 37991 dvi-target-libobjc: \ 37992 configure-target-libobjc 37993 @: $(MAKE); $(unstage) 37994 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ 37995 r=`${PWD_COMMAND}`; export r; \ 37996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 37997 $(NORMAL_TARGET_EXPORTS) \ 37998 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \ 37999 for flag in $(EXTRA_TARGET_FLAGS); do \ 38000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38001 done; \ 38002 (cd $(TARGET_SUBDIR)/libobjc && \ 38003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38005 "RANLIB=$${RANLIB}" \ 38006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38007 dvi) \ 38008 || exit 1 38009 38010 @endif target-libobjc 38011 38012 .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc 38013 maybe-pdf-target-libobjc: 38014 @if target-libobjc 38015 maybe-pdf-target-libobjc: pdf-target-libobjc 38016 38017 pdf-target-libobjc: \ 38018 configure-target-libobjc 38019 @: $(MAKE); $(unstage) 38020 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ 38021 r=`${PWD_COMMAND}`; export r; \ 38022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38023 $(NORMAL_TARGET_EXPORTS) \ 38024 echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \ 38025 for flag in $(EXTRA_TARGET_FLAGS); do \ 38026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38027 done; \ 38028 (cd $(TARGET_SUBDIR)/libobjc && \ 38029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38031 "RANLIB=$${RANLIB}" \ 38032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38033 pdf) \ 38034 || exit 1 38035 38036 @endif target-libobjc 38037 38038 .PHONY: maybe-html-target-libobjc html-target-libobjc 38039 maybe-html-target-libobjc: 38040 @if target-libobjc 38041 maybe-html-target-libobjc: html-target-libobjc 38042 38043 html-target-libobjc: \ 38044 configure-target-libobjc 38045 @: $(MAKE); $(unstage) 38046 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ 38047 r=`${PWD_COMMAND}`; export r; \ 38048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38049 $(NORMAL_TARGET_EXPORTS) \ 38050 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \ 38051 for flag in $(EXTRA_TARGET_FLAGS); do \ 38052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38053 done; \ 38054 (cd $(TARGET_SUBDIR)/libobjc && \ 38055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38057 "RANLIB=$${RANLIB}" \ 38058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38059 html) \ 38060 || exit 1 38061 38062 @endif target-libobjc 38063 38064 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc 38065 maybe-TAGS-target-libobjc: 38066 @if target-libobjc 38067 maybe-TAGS-target-libobjc: TAGS-target-libobjc 38068 38069 TAGS-target-libobjc: \ 38070 configure-target-libobjc 38071 @: $(MAKE); $(unstage) 38072 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ 38073 r=`${PWD_COMMAND}`; export r; \ 38074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38075 $(NORMAL_TARGET_EXPORTS) \ 38076 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \ 38077 for flag in $(EXTRA_TARGET_FLAGS); do \ 38078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38079 done; \ 38080 (cd $(TARGET_SUBDIR)/libobjc && \ 38081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38083 "RANLIB=$${RANLIB}" \ 38084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38085 TAGS) \ 38086 || exit 1 38087 38088 @endif target-libobjc 38089 38090 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc 38091 maybe-install-info-target-libobjc: 38092 @if target-libobjc 38093 maybe-install-info-target-libobjc: install-info-target-libobjc 38094 38095 install-info-target-libobjc: \ 38096 configure-target-libobjc \ 38097 info-target-libobjc 38098 @: $(MAKE); $(unstage) 38099 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ 38100 r=`${PWD_COMMAND}`; export r; \ 38101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38102 $(NORMAL_TARGET_EXPORTS) \ 38103 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \ 38104 for flag in $(EXTRA_TARGET_FLAGS); do \ 38105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38106 done; \ 38107 (cd $(TARGET_SUBDIR)/libobjc && \ 38108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38110 "RANLIB=$${RANLIB}" \ 38111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38112 install-info) \ 38113 || exit 1 38114 38115 @endif target-libobjc 38116 38117 .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc 38118 maybe-install-pdf-target-libobjc: 38119 @if target-libobjc 38120 maybe-install-pdf-target-libobjc: install-pdf-target-libobjc 38121 38122 install-pdf-target-libobjc: \ 38123 configure-target-libobjc \ 38124 pdf-target-libobjc 38125 @: $(MAKE); $(unstage) 38126 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ 38127 r=`${PWD_COMMAND}`; export r; \ 38128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38129 $(NORMAL_TARGET_EXPORTS) \ 38130 echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \ 38131 for flag in $(EXTRA_TARGET_FLAGS); do \ 38132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38133 done; \ 38134 (cd $(TARGET_SUBDIR)/libobjc && \ 38135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38137 "RANLIB=$${RANLIB}" \ 38138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38139 install-pdf) \ 38140 || exit 1 38141 38142 @endif target-libobjc 38143 38144 .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc 38145 maybe-install-html-target-libobjc: 38146 @if target-libobjc 38147 maybe-install-html-target-libobjc: install-html-target-libobjc 38148 38149 install-html-target-libobjc: \ 38150 configure-target-libobjc \ 38151 html-target-libobjc 38152 @: $(MAKE); $(unstage) 38153 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ 38154 r=`${PWD_COMMAND}`; export r; \ 38155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38156 $(NORMAL_TARGET_EXPORTS) \ 38157 echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \ 38158 for flag in $(EXTRA_TARGET_FLAGS); do \ 38159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38160 done; \ 38161 (cd $(TARGET_SUBDIR)/libobjc && \ 38162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38164 "RANLIB=$${RANLIB}" \ 38165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38166 install-html) \ 38167 || exit 1 38168 38169 @endif target-libobjc 38170 38171 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc 38172 maybe-installcheck-target-libobjc: 38173 @if target-libobjc 38174 maybe-installcheck-target-libobjc: installcheck-target-libobjc 38175 38176 installcheck-target-libobjc: \ 38177 configure-target-libobjc 38178 @: $(MAKE); $(unstage) 38179 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ 38180 r=`${PWD_COMMAND}`; export r; \ 38181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38182 $(NORMAL_TARGET_EXPORTS) \ 38183 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \ 38184 for flag in $(EXTRA_TARGET_FLAGS); do \ 38185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38186 done; \ 38187 (cd $(TARGET_SUBDIR)/libobjc && \ 38188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38190 "RANLIB=$${RANLIB}" \ 38191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38192 installcheck) \ 38193 || exit 1 38194 38195 @endif target-libobjc 38196 38197 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc 38198 maybe-mostlyclean-target-libobjc: 38199 @if target-libobjc 38200 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc 38201 38202 mostlyclean-target-libobjc: 38203 @: $(MAKE); $(unstage) 38204 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ 38205 r=`${PWD_COMMAND}`; export r; \ 38206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38207 $(NORMAL_TARGET_EXPORTS) \ 38208 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \ 38209 for flag in $(EXTRA_TARGET_FLAGS); do \ 38210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38211 done; \ 38212 (cd $(TARGET_SUBDIR)/libobjc && \ 38213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38215 "RANLIB=$${RANLIB}" \ 38216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38217 mostlyclean) \ 38218 || exit 1 38219 38220 @endif target-libobjc 38221 38222 .PHONY: maybe-clean-target-libobjc clean-target-libobjc 38223 maybe-clean-target-libobjc: 38224 @if target-libobjc 38225 maybe-clean-target-libobjc: clean-target-libobjc 38226 38227 clean-target-libobjc: 38228 @: $(MAKE); $(unstage) 38229 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ 38230 r=`${PWD_COMMAND}`; export r; \ 38231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38232 $(NORMAL_TARGET_EXPORTS) \ 38233 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \ 38234 for flag in $(EXTRA_TARGET_FLAGS); do \ 38235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38236 done; \ 38237 (cd $(TARGET_SUBDIR)/libobjc && \ 38238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38240 "RANLIB=$${RANLIB}" \ 38241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38242 clean) \ 38243 || exit 1 38244 38245 @endif target-libobjc 38246 38247 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc 38248 maybe-distclean-target-libobjc: 38249 @if target-libobjc 38250 maybe-distclean-target-libobjc: distclean-target-libobjc 38251 38252 distclean-target-libobjc: 38253 @: $(MAKE); $(unstage) 38254 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ 38255 r=`${PWD_COMMAND}`; export r; \ 38256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38257 $(NORMAL_TARGET_EXPORTS) \ 38258 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \ 38259 for flag in $(EXTRA_TARGET_FLAGS); do \ 38260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38261 done; \ 38262 (cd $(TARGET_SUBDIR)/libobjc && \ 38263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38265 "RANLIB=$${RANLIB}" \ 38266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38267 distclean) \ 38268 || exit 1 38269 38270 @endif target-libobjc 38271 38272 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc 38273 maybe-maintainer-clean-target-libobjc: 38274 @if target-libobjc 38275 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc 38276 38277 maintainer-clean-target-libobjc: 38278 @: $(MAKE); $(unstage) 38279 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \ 38280 r=`${PWD_COMMAND}`; export r; \ 38281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38282 $(NORMAL_TARGET_EXPORTS) \ 38283 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \ 38284 for flag in $(EXTRA_TARGET_FLAGS); do \ 38285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38286 done; \ 38287 (cd $(TARGET_SUBDIR)/libobjc && \ 38288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38290 "RANLIB=$${RANLIB}" \ 38291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38292 maintainer-clean) \ 38293 || exit 1 38294 38295 @endif target-libobjc 38296 38297 38298 38299 38300 38301 .PHONY: configure-target-libgo maybe-configure-target-libgo 38302 maybe-configure-target-libgo: 38303 @if gcc-bootstrap 38304 configure-target-libgo: stage_current 38305 @endif gcc-bootstrap 38306 @if target-libgo 38307 maybe-configure-target-libgo: configure-target-libgo 38308 configure-target-libgo: 38309 @: $(MAKE); $(unstage) 38310 @r=`${PWD_COMMAND}`; export r; \ 38311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38312 echo "Checking multilib configuration for libgo..."; \ 38313 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \ 38314 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \ 38315 if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \ 38316 if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \ 38317 rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \ 38318 else \ 38319 rm -f $(TARGET_SUBDIR)/libgo/Makefile; \ 38320 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \ 38321 fi; \ 38322 else \ 38323 mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \ 38324 fi; \ 38325 test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \ 38326 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \ 38327 $(NORMAL_TARGET_EXPORTS) \ 38328 echo Configuring in $(TARGET_SUBDIR)/libgo; \ 38329 cd "$(TARGET_SUBDIR)/libgo" || exit 1; \ 38330 case $(srcdir) in \ 38331 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 38332 *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \ 38333 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 38334 esac; \ 38335 srcdiroption="--srcdir=$${topdir}/libgo"; \ 38336 libsrcdir="$$s/libgo"; \ 38337 rm -f no-such-file || : ; \ 38338 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 38339 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 38340 --target=${target_alias} $${srcdiroption} \ 38341 || exit 1 38342 @endif target-libgo 38343 38344 38345 38346 38347 38348 .PHONY: all-target-libgo maybe-all-target-libgo 38349 maybe-all-target-libgo: 38350 @if gcc-bootstrap 38351 all-target-libgo: stage_current 38352 @endif gcc-bootstrap 38353 @if target-libgo 38354 TARGET-target-libgo=all 38355 maybe-all-target-libgo: all-target-libgo 38356 all-target-libgo: configure-target-libgo 38357 @: $(MAKE); $(unstage) 38358 @r=`${PWD_COMMAND}`; export r; \ 38359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38360 $(NORMAL_TARGET_EXPORTS) \ 38361 (cd $(TARGET_SUBDIR)/libgo && \ 38362 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 38363 $(TARGET-target-libgo)) 38364 @endif target-libgo 38365 38366 38367 38368 38369 38370 .PHONY: check-target-libgo maybe-check-target-libgo 38371 maybe-check-target-libgo: 38372 @if target-libgo 38373 maybe-check-target-libgo: check-target-libgo 38374 38375 check-target-libgo: 38376 @: $(MAKE); $(unstage) 38377 @r=`${PWD_COMMAND}`; export r; \ 38378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38379 $(NORMAL_TARGET_EXPORTS) \ 38380 (cd $(TARGET_SUBDIR)/libgo && \ 38381 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 38382 38383 @endif target-libgo 38384 38385 .PHONY: install-target-libgo maybe-install-target-libgo 38386 maybe-install-target-libgo: 38387 @if target-libgo 38388 maybe-install-target-libgo: install-target-libgo 38389 38390 install-target-libgo: installdirs 38391 @: $(MAKE); $(unstage) 38392 @r=`${PWD_COMMAND}`; export r; \ 38393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38394 $(NORMAL_TARGET_EXPORTS) \ 38395 (cd $(TARGET_SUBDIR)/libgo && \ 38396 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 38397 38398 @endif target-libgo 38399 38400 .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo 38401 maybe-install-strip-target-libgo: 38402 @if target-libgo 38403 maybe-install-strip-target-libgo: install-strip-target-libgo 38404 38405 install-strip-target-libgo: installdirs 38406 @: $(MAKE); $(unstage) 38407 @r=`${PWD_COMMAND}`; export r; \ 38408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38409 $(NORMAL_TARGET_EXPORTS) \ 38410 (cd $(TARGET_SUBDIR)/libgo && \ 38411 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 38412 38413 @endif target-libgo 38414 38415 # Other targets (info, dvi, pdf, etc.) 38416 38417 .PHONY: maybe-info-target-libgo info-target-libgo 38418 maybe-info-target-libgo: 38419 @if target-libgo 38420 maybe-info-target-libgo: info-target-libgo 38421 38422 info-target-libgo: \ 38423 configure-target-libgo 38424 @: $(MAKE); $(unstage) 38425 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ 38426 r=`${PWD_COMMAND}`; export r; \ 38427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38428 $(NORMAL_TARGET_EXPORTS) \ 38429 echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \ 38430 for flag in $(EXTRA_TARGET_FLAGS); do \ 38431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38432 done; \ 38433 (cd $(TARGET_SUBDIR)/libgo && \ 38434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38436 "RANLIB=$${RANLIB}" \ 38437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38438 info) \ 38439 || exit 1 38440 38441 @endif target-libgo 38442 38443 .PHONY: maybe-dvi-target-libgo dvi-target-libgo 38444 maybe-dvi-target-libgo: 38445 @if target-libgo 38446 maybe-dvi-target-libgo: dvi-target-libgo 38447 38448 dvi-target-libgo: \ 38449 configure-target-libgo 38450 @: $(MAKE); $(unstage) 38451 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ 38452 r=`${PWD_COMMAND}`; export r; \ 38453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38454 $(NORMAL_TARGET_EXPORTS) \ 38455 echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \ 38456 for flag in $(EXTRA_TARGET_FLAGS); do \ 38457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38458 done; \ 38459 (cd $(TARGET_SUBDIR)/libgo && \ 38460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38462 "RANLIB=$${RANLIB}" \ 38463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38464 dvi) \ 38465 || exit 1 38466 38467 @endif target-libgo 38468 38469 .PHONY: maybe-pdf-target-libgo pdf-target-libgo 38470 maybe-pdf-target-libgo: 38471 @if target-libgo 38472 maybe-pdf-target-libgo: pdf-target-libgo 38473 38474 pdf-target-libgo: \ 38475 configure-target-libgo 38476 @: $(MAKE); $(unstage) 38477 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ 38478 r=`${PWD_COMMAND}`; export r; \ 38479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38480 $(NORMAL_TARGET_EXPORTS) \ 38481 echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \ 38482 for flag in $(EXTRA_TARGET_FLAGS); do \ 38483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38484 done; \ 38485 (cd $(TARGET_SUBDIR)/libgo && \ 38486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38488 "RANLIB=$${RANLIB}" \ 38489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38490 pdf) \ 38491 || exit 1 38492 38493 @endif target-libgo 38494 38495 .PHONY: maybe-html-target-libgo html-target-libgo 38496 maybe-html-target-libgo: 38497 @if target-libgo 38498 maybe-html-target-libgo: html-target-libgo 38499 38500 html-target-libgo: \ 38501 configure-target-libgo 38502 @: $(MAKE); $(unstage) 38503 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ 38504 r=`${PWD_COMMAND}`; export r; \ 38505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38506 $(NORMAL_TARGET_EXPORTS) \ 38507 echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \ 38508 for flag in $(EXTRA_TARGET_FLAGS); do \ 38509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38510 done; \ 38511 (cd $(TARGET_SUBDIR)/libgo && \ 38512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38514 "RANLIB=$${RANLIB}" \ 38515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38516 html) \ 38517 || exit 1 38518 38519 @endif target-libgo 38520 38521 .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo 38522 maybe-TAGS-target-libgo: 38523 @if target-libgo 38524 maybe-TAGS-target-libgo: TAGS-target-libgo 38525 38526 TAGS-target-libgo: \ 38527 configure-target-libgo 38528 @: $(MAKE); $(unstage) 38529 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ 38530 r=`${PWD_COMMAND}`; export r; \ 38531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38532 $(NORMAL_TARGET_EXPORTS) \ 38533 echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \ 38534 for flag in $(EXTRA_TARGET_FLAGS); do \ 38535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38536 done; \ 38537 (cd $(TARGET_SUBDIR)/libgo && \ 38538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38540 "RANLIB=$${RANLIB}" \ 38541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38542 TAGS) \ 38543 || exit 1 38544 38545 @endif target-libgo 38546 38547 .PHONY: maybe-install-info-target-libgo install-info-target-libgo 38548 maybe-install-info-target-libgo: 38549 @if target-libgo 38550 maybe-install-info-target-libgo: install-info-target-libgo 38551 38552 install-info-target-libgo: \ 38553 configure-target-libgo \ 38554 info-target-libgo 38555 @: $(MAKE); $(unstage) 38556 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ 38557 r=`${PWD_COMMAND}`; export r; \ 38558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38559 $(NORMAL_TARGET_EXPORTS) \ 38560 echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \ 38561 for flag in $(EXTRA_TARGET_FLAGS); do \ 38562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38563 done; \ 38564 (cd $(TARGET_SUBDIR)/libgo && \ 38565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38567 "RANLIB=$${RANLIB}" \ 38568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38569 install-info) \ 38570 || exit 1 38571 38572 @endif target-libgo 38573 38574 .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo 38575 maybe-install-pdf-target-libgo: 38576 @if target-libgo 38577 maybe-install-pdf-target-libgo: install-pdf-target-libgo 38578 38579 install-pdf-target-libgo: \ 38580 configure-target-libgo \ 38581 pdf-target-libgo 38582 @: $(MAKE); $(unstage) 38583 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ 38584 r=`${PWD_COMMAND}`; export r; \ 38585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38586 $(NORMAL_TARGET_EXPORTS) \ 38587 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \ 38588 for flag in $(EXTRA_TARGET_FLAGS); do \ 38589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38590 done; \ 38591 (cd $(TARGET_SUBDIR)/libgo && \ 38592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38594 "RANLIB=$${RANLIB}" \ 38595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38596 install-pdf) \ 38597 || exit 1 38598 38599 @endif target-libgo 38600 38601 .PHONY: maybe-install-html-target-libgo install-html-target-libgo 38602 maybe-install-html-target-libgo: 38603 @if target-libgo 38604 maybe-install-html-target-libgo: install-html-target-libgo 38605 38606 install-html-target-libgo: \ 38607 configure-target-libgo \ 38608 html-target-libgo 38609 @: $(MAKE); $(unstage) 38610 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ 38611 r=`${PWD_COMMAND}`; export r; \ 38612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38613 $(NORMAL_TARGET_EXPORTS) \ 38614 echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \ 38615 for flag in $(EXTRA_TARGET_FLAGS); do \ 38616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38617 done; \ 38618 (cd $(TARGET_SUBDIR)/libgo && \ 38619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38621 "RANLIB=$${RANLIB}" \ 38622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38623 install-html) \ 38624 || exit 1 38625 38626 @endif target-libgo 38627 38628 .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo 38629 maybe-installcheck-target-libgo: 38630 @if target-libgo 38631 maybe-installcheck-target-libgo: installcheck-target-libgo 38632 38633 installcheck-target-libgo: \ 38634 configure-target-libgo 38635 @: $(MAKE); $(unstage) 38636 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ 38637 r=`${PWD_COMMAND}`; export r; \ 38638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38639 $(NORMAL_TARGET_EXPORTS) \ 38640 echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \ 38641 for flag in $(EXTRA_TARGET_FLAGS); do \ 38642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38643 done; \ 38644 (cd $(TARGET_SUBDIR)/libgo && \ 38645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38647 "RANLIB=$${RANLIB}" \ 38648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38649 installcheck) \ 38650 || exit 1 38651 38652 @endif target-libgo 38653 38654 .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo 38655 maybe-mostlyclean-target-libgo: 38656 @if target-libgo 38657 maybe-mostlyclean-target-libgo: mostlyclean-target-libgo 38658 38659 mostlyclean-target-libgo: 38660 @: $(MAKE); $(unstage) 38661 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ 38662 r=`${PWD_COMMAND}`; export r; \ 38663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38664 $(NORMAL_TARGET_EXPORTS) \ 38665 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \ 38666 for flag in $(EXTRA_TARGET_FLAGS); do \ 38667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38668 done; \ 38669 (cd $(TARGET_SUBDIR)/libgo && \ 38670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38672 "RANLIB=$${RANLIB}" \ 38673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38674 mostlyclean) \ 38675 || exit 1 38676 38677 @endif target-libgo 38678 38679 .PHONY: maybe-clean-target-libgo clean-target-libgo 38680 maybe-clean-target-libgo: 38681 @if target-libgo 38682 maybe-clean-target-libgo: clean-target-libgo 38683 38684 clean-target-libgo: 38685 @: $(MAKE); $(unstage) 38686 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ 38687 r=`${PWD_COMMAND}`; export r; \ 38688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38689 $(NORMAL_TARGET_EXPORTS) \ 38690 echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \ 38691 for flag in $(EXTRA_TARGET_FLAGS); do \ 38692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38693 done; \ 38694 (cd $(TARGET_SUBDIR)/libgo && \ 38695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38697 "RANLIB=$${RANLIB}" \ 38698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38699 clean) \ 38700 || exit 1 38701 38702 @endif target-libgo 38703 38704 .PHONY: maybe-distclean-target-libgo distclean-target-libgo 38705 maybe-distclean-target-libgo: 38706 @if target-libgo 38707 maybe-distclean-target-libgo: distclean-target-libgo 38708 38709 distclean-target-libgo: 38710 @: $(MAKE); $(unstage) 38711 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ 38712 r=`${PWD_COMMAND}`; export r; \ 38713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38714 $(NORMAL_TARGET_EXPORTS) \ 38715 echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \ 38716 for flag in $(EXTRA_TARGET_FLAGS); do \ 38717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38718 done; \ 38719 (cd $(TARGET_SUBDIR)/libgo && \ 38720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38722 "RANLIB=$${RANLIB}" \ 38723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38724 distclean) \ 38725 || exit 1 38726 38727 @endif target-libgo 38728 38729 .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo 38730 maybe-maintainer-clean-target-libgo: 38731 @if target-libgo 38732 maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo 38733 38734 maintainer-clean-target-libgo: 38735 @: $(MAKE); $(unstage) 38736 @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \ 38737 r=`${PWD_COMMAND}`; export r; \ 38738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38739 $(NORMAL_TARGET_EXPORTS) \ 38740 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \ 38741 for flag in $(EXTRA_TARGET_FLAGS); do \ 38742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38743 done; \ 38744 (cd $(TARGET_SUBDIR)/libgo && \ 38745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38747 "RANLIB=$${RANLIB}" \ 38748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38749 maintainer-clean) \ 38750 || exit 1 38751 38752 @endif target-libgo 38753 38754 38755 38756 38757 38758 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap 38759 maybe-configure-target-libtermcap: 38760 @if gcc-bootstrap 38761 configure-target-libtermcap: stage_current 38762 @endif gcc-bootstrap 38763 @if target-libtermcap 38764 maybe-configure-target-libtermcap: configure-target-libtermcap 38765 configure-target-libtermcap: 38766 @: $(MAKE); $(unstage) 38767 @r=`${PWD_COMMAND}`; export r; \ 38768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38769 echo "Checking multilib configuration for libtermcap..."; \ 38770 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \ 38771 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \ 38772 if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \ 38773 if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \ 38774 rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \ 38775 else \ 38776 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \ 38777 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \ 38778 fi; \ 38779 else \ 38780 mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \ 38781 fi; \ 38782 test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \ 38783 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \ 38784 $(NORMAL_TARGET_EXPORTS) \ 38785 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \ 38786 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \ 38787 case $(srcdir) in \ 38788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 38789 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \ 38790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 38791 esac; \ 38792 srcdiroption="--srcdir=$${topdir}/libtermcap"; \ 38793 libsrcdir="$$s/libtermcap"; \ 38794 rm -f no-such-file || : ; \ 38795 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 38796 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 38797 --target=${target_alias} $${srcdiroption} \ 38798 || exit 1 38799 @endif target-libtermcap 38800 38801 38802 38803 38804 38805 .PHONY: all-target-libtermcap maybe-all-target-libtermcap 38806 maybe-all-target-libtermcap: 38807 @if gcc-bootstrap 38808 all-target-libtermcap: stage_current 38809 @endif gcc-bootstrap 38810 @if target-libtermcap 38811 TARGET-target-libtermcap=all 38812 maybe-all-target-libtermcap: all-target-libtermcap 38813 all-target-libtermcap: configure-target-libtermcap 38814 @: $(MAKE); $(unstage) 38815 @r=`${PWD_COMMAND}`; export r; \ 38816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38817 $(NORMAL_TARGET_EXPORTS) \ 38818 (cd $(TARGET_SUBDIR)/libtermcap && \ 38819 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 38820 $(TARGET-target-libtermcap)) 38821 @endif target-libtermcap 38822 38823 38824 38825 38826 38827 .PHONY: check-target-libtermcap maybe-check-target-libtermcap 38828 maybe-check-target-libtermcap: 38829 @if target-libtermcap 38830 maybe-check-target-libtermcap: check-target-libtermcap 38831 38832 # Dummy target for uncheckable module. 38833 check-target-libtermcap: 38834 38835 @endif target-libtermcap 38836 38837 .PHONY: install-target-libtermcap maybe-install-target-libtermcap 38838 maybe-install-target-libtermcap: 38839 @if target-libtermcap 38840 maybe-install-target-libtermcap: install-target-libtermcap 38841 38842 install-target-libtermcap: installdirs 38843 @: $(MAKE); $(unstage) 38844 @r=`${PWD_COMMAND}`; export r; \ 38845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38846 $(NORMAL_TARGET_EXPORTS) \ 38847 (cd $(TARGET_SUBDIR)/libtermcap && \ 38848 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 38849 38850 @endif target-libtermcap 38851 38852 .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap 38853 maybe-install-strip-target-libtermcap: 38854 @if target-libtermcap 38855 maybe-install-strip-target-libtermcap: install-strip-target-libtermcap 38856 38857 install-strip-target-libtermcap: installdirs 38858 @: $(MAKE); $(unstage) 38859 @r=`${PWD_COMMAND}`; export r; \ 38860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38861 $(NORMAL_TARGET_EXPORTS) \ 38862 (cd $(TARGET_SUBDIR)/libtermcap && \ 38863 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 38864 38865 @endif target-libtermcap 38866 38867 # Other targets (info, dvi, pdf, etc.) 38868 38869 .PHONY: maybe-info-target-libtermcap info-target-libtermcap 38870 maybe-info-target-libtermcap: 38871 @if target-libtermcap 38872 maybe-info-target-libtermcap: info-target-libtermcap 38873 38874 info-target-libtermcap: \ 38875 configure-target-libtermcap 38876 @: $(MAKE); $(unstage) 38877 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ 38878 r=`${PWD_COMMAND}`; export r; \ 38879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38880 $(NORMAL_TARGET_EXPORTS) \ 38881 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \ 38882 for flag in $(EXTRA_TARGET_FLAGS); do \ 38883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38884 done; \ 38885 (cd $(TARGET_SUBDIR)/libtermcap && \ 38886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38888 "RANLIB=$${RANLIB}" \ 38889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38890 info) \ 38891 || exit 1 38892 38893 @endif target-libtermcap 38894 38895 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap 38896 maybe-dvi-target-libtermcap: 38897 @if target-libtermcap 38898 maybe-dvi-target-libtermcap: dvi-target-libtermcap 38899 38900 dvi-target-libtermcap: \ 38901 configure-target-libtermcap 38902 @: $(MAKE); $(unstage) 38903 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ 38904 r=`${PWD_COMMAND}`; export r; \ 38905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38906 $(NORMAL_TARGET_EXPORTS) \ 38907 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \ 38908 for flag in $(EXTRA_TARGET_FLAGS); do \ 38909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38910 done; \ 38911 (cd $(TARGET_SUBDIR)/libtermcap && \ 38912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38914 "RANLIB=$${RANLIB}" \ 38915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38916 dvi) \ 38917 || exit 1 38918 38919 @endif target-libtermcap 38920 38921 .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap 38922 maybe-pdf-target-libtermcap: 38923 @if target-libtermcap 38924 maybe-pdf-target-libtermcap: pdf-target-libtermcap 38925 38926 pdf-target-libtermcap: \ 38927 configure-target-libtermcap 38928 @: $(MAKE); $(unstage) 38929 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ 38930 r=`${PWD_COMMAND}`; export r; \ 38931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38932 $(NORMAL_TARGET_EXPORTS) \ 38933 echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \ 38934 for flag in $(EXTRA_TARGET_FLAGS); do \ 38935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38936 done; \ 38937 (cd $(TARGET_SUBDIR)/libtermcap && \ 38938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38940 "RANLIB=$${RANLIB}" \ 38941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38942 pdf) \ 38943 || exit 1 38944 38945 @endif target-libtermcap 38946 38947 .PHONY: maybe-html-target-libtermcap html-target-libtermcap 38948 maybe-html-target-libtermcap: 38949 @if target-libtermcap 38950 maybe-html-target-libtermcap: html-target-libtermcap 38951 38952 html-target-libtermcap: \ 38953 configure-target-libtermcap 38954 @: $(MAKE); $(unstage) 38955 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ 38956 r=`${PWD_COMMAND}`; export r; \ 38957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38958 $(NORMAL_TARGET_EXPORTS) \ 38959 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \ 38960 for flag in $(EXTRA_TARGET_FLAGS); do \ 38961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38962 done; \ 38963 (cd $(TARGET_SUBDIR)/libtermcap && \ 38964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38966 "RANLIB=$${RANLIB}" \ 38967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38968 html) \ 38969 || exit 1 38970 38971 @endif target-libtermcap 38972 38973 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap 38974 maybe-TAGS-target-libtermcap: 38975 @if target-libtermcap 38976 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap 38977 38978 TAGS-target-libtermcap: \ 38979 configure-target-libtermcap 38980 @: $(MAKE); $(unstage) 38981 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ 38982 r=`${PWD_COMMAND}`; export r; \ 38983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 38984 $(NORMAL_TARGET_EXPORTS) \ 38985 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \ 38986 for flag in $(EXTRA_TARGET_FLAGS); do \ 38987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 38988 done; \ 38989 (cd $(TARGET_SUBDIR)/libtermcap && \ 38990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 38991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 38992 "RANLIB=$${RANLIB}" \ 38993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 38994 TAGS) \ 38995 || exit 1 38996 38997 @endif target-libtermcap 38998 38999 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap 39000 maybe-install-info-target-libtermcap: 39001 @if target-libtermcap 39002 maybe-install-info-target-libtermcap: install-info-target-libtermcap 39003 39004 install-info-target-libtermcap: \ 39005 configure-target-libtermcap \ 39006 info-target-libtermcap 39007 @: $(MAKE); $(unstage) 39008 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ 39009 r=`${PWD_COMMAND}`; export r; \ 39010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39011 $(NORMAL_TARGET_EXPORTS) \ 39012 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \ 39013 for flag in $(EXTRA_TARGET_FLAGS); do \ 39014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39015 done; \ 39016 (cd $(TARGET_SUBDIR)/libtermcap && \ 39017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39019 "RANLIB=$${RANLIB}" \ 39020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39021 install-info) \ 39022 || exit 1 39023 39024 @endif target-libtermcap 39025 39026 .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap 39027 maybe-install-pdf-target-libtermcap: 39028 @if target-libtermcap 39029 maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap 39030 39031 install-pdf-target-libtermcap: \ 39032 configure-target-libtermcap \ 39033 pdf-target-libtermcap 39034 @: $(MAKE); $(unstage) 39035 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ 39036 r=`${PWD_COMMAND}`; export r; \ 39037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39038 $(NORMAL_TARGET_EXPORTS) \ 39039 echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \ 39040 for flag in $(EXTRA_TARGET_FLAGS); do \ 39041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39042 done; \ 39043 (cd $(TARGET_SUBDIR)/libtermcap && \ 39044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39046 "RANLIB=$${RANLIB}" \ 39047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39048 install-pdf) \ 39049 || exit 1 39050 39051 @endif target-libtermcap 39052 39053 .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap 39054 maybe-install-html-target-libtermcap: 39055 @if target-libtermcap 39056 maybe-install-html-target-libtermcap: install-html-target-libtermcap 39057 39058 install-html-target-libtermcap: \ 39059 configure-target-libtermcap \ 39060 html-target-libtermcap 39061 @: $(MAKE); $(unstage) 39062 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ 39063 r=`${PWD_COMMAND}`; export r; \ 39064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39065 $(NORMAL_TARGET_EXPORTS) \ 39066 echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \ 39067 for flag in $(EXTRA_TARGET_FLAGS); do \ 39068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39069 done; \ 39070 (cd $(TARGET_SUBDIR)/libtermcap && \ 39071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39073 "RANLIB=$${RANLIB}" \ 39074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39075 install-html) \ 39076 || exit 1 39077 39078 @endif target-libtermcap 39079 39080 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap 39081 maybe-installcheck-target-libtermcap: 39082 @if target-libtermcap 39083 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap 39084 39085 installcheck-target-libtermcap: \ 39086 configure-target-libtermcap 39087 @: $(MAKE); $(unstage) 39088 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \ 39089 r=`${PWD_COMMAND}`; export r; \ 39090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39091 $(NORMAL_TARGET_EXPORTS) \ 39092 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \ 39093 for flag in $(EXTRA_TARGET_FLAGS); do \ 39094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39095 done; \ 39096 (cd $(TARGET_SUBDIR)/libtermcap && \ 39097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39099 "RANLIB=$${RANLIB}" \ 39100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39101 installcheck) \ 39102 || exit 1 39103 39104 @endif target-libtermcap 39105 39106 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap 39107 maybe-mostlyclean-target-libtermcap: 39108 @if target-libtermcap 39109 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap 39110 39111 # libtermcap doesn't support mostlyclean. 39112 mostlyclean-target-libtermcap: 39113 39114 @endif target-libtermcap 39115 39116 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap 39117 maybe-clean-target-libtermcap: 39118 @if target-libtermcap 39119 maybe-clean-target-libtermcap: clean-target-libtermcap 39120 39121 # libtermcap doesn't support clean. 39122 clean-target-libtermcap: 39123 39124 @endif target-libtermcap 39125 39126 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap 39127 maybe-distclean-target-libtermcap: 39128 @if target-libtermcap 39129 maybe-distclean-target-libtermcap: distclean-target-libtermcap 39130 39131 # libtermcap doesn't support distclean. 39132 distclean-target-libtermcap: 39133 39134 @endif target-libtermcap 39135 39136 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap 39137 maybe-maintainer-clean-target-libtermcap: 39138 @if target-libtermcap 39139 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap 39140 39141 # libtermcap doesn't support maintainer-clean. 39142 maintainer-clean-target-libtermcap: 39143 39144 @endif target-libtermcap 39145 39146 39147 39148 39149 39150 .PHONY: configure-target-winsup maybe-configure-target-winsup 39151 maybe-configure-target-winsup: 39152 @if gcc-bootstrap 39153 configure-target-winsup: stage_current 39154 @endif gcc-bootstrap 39155 @if target-winsup 39156 maybe-configure-target-winsup: configure-target-winsup 39157 configure-target-winsup: 39158 @: $(MAKE); $(unstage) 39159 @r=`${PWD_COMMAND}`; export r; \ 39160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39161 echo "Checking multilib configuration for winsup..."; \ 39162 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \ 39163 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \ 39164 if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \ 39165 if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \ 39166 rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \ 39167 else \ 39168 rm -f $(TARGET_SUBDIR)/winsup/Makefile; \ 39169 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \ 39170 fi; \ 39171 else \ 39172 mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \ 39173 fi; \ 39174 test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \ 39175 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \ 39176 $(NORMAL_TARGET_EXPORTS) \ 39177 echo Configuring in $(TARGET_SUBDIR)/winsup; \ 39178 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \ 39179 case $(srcdir) in \ 39180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 39181 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \ 39182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 39183 esac; \ 39184 srcdiroption="--srcdir=$${topdir}/winsup"; \ 39185 libsrcdir="$$s/winsup"; \ 39186 rm -f no-such-file || : ; \ 39187 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 39188 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 39189 --target=${target_alias} $${srcdiroption} \ 39190 || exit 1 39191 @endif target-winsup 39192 39193 39194 39195 39196 39197 .PHONY: all-target-winsup maybe-all-target-winsup 39198 maybe-all-target-winsup: 39199 @if gcc-bootstrap 39200 all-target-winsup: stage_current 39201 @endif gcc-bootstrap 39202 @if target-winsup 39203 TARGET-target-winsup=all 39204 maybe-all-target-winsup: all-target-winsup 39205 all-target-winsup: configure-target-winsup 39206 @: $(MAKE); $(unstage) 39207 @r=`${PWD_COMMAND}`; export r; \ 39208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39209 $(NORMAL_TARGET_EXPORTS) \ 39210 (cd $(TARGET_SUBDIR)/winsup && \ 39211 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 39212 $(TARGET-target-winsup)) 39213 @endif target-winsup 39214 39215 39216 39217 39218 39219 .PHONY: check-target-winsup maybe-check-target-winsup 39220 maybe-check-target-winsup: 39221 @if target-winsup 39222 maybe-check-target-winsup: check-target-winsup 39223 39224 check-target-winsup: 39225 @: $(MAKE); $(unstage) 39226 @r=`${PWD_COMMAND}`; export r; \ 39227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39228 $(NORMAL_TARGET_EXPORTS) \ 39229 (cd $(TARGET_SUBDIR)/winsup && \ 39230 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 39231 39232 @endif target-winsup 39233 39234 .PHONY: install-target-winsup maybe-install-target-winsup 39235 maybe-install-target-winsup: 39236 @if target-winsup 39237 maybe-install-target-winsup: install-target-winsup 39238 39239 install-target-winsup: installdirs 39240 @: $(MAKE); $(unstage) 39241 @r=`${PWD_COMMAND}`; export r; \ 39242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39243 $(NORMAL_TARGET_EXPORTS) \ 39244 (cd $(TARGET_SUBDIR)/winsup && \ 39245 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 39246 39247 @endif target-winsup 39248 39249 .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup 39250 maybe-install-strip-target-winsup: 39251 @if target-winsup 39252 maybe-install-strip-target-winsup: install-strip-target-winsup 39253 39254 install-strip-target-winsup: installdirs 39255 @: $(MAKE); $(unstage) 39256 @r=`${PWD_COMMAND}`; export r; \ 39257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39258 $(NORMAL_TARGET_EXPORTS) \ 39259 (cd $(TARGET_SUBDIR)/winsup && \ 39260 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 39261 39262 @endif target-winsup 39263 39264 # Other targets (info, dvi, pdf, etc.) 39265 39266 .PHONY: maybe-info-target-winsup info-target-winsup 39267 maybe-info-target-winsup: 39268 @if target-winsup 39269 maybe-info-target-winsup: info-target-winsup 39270 39271 info-target-winsup: \ 39272 configure-target-winsup 39273 @: $(MAKE); $(unstage) 39274 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ 39275 r=`${PWD_COMMAND}`; export r; \ 39276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39277 $(NORMAL_TARGET_EXPORTS) \ 39278 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \ 39279 for flag in $(EXTRA_TARGET_FLAGS); do \ 39280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39281 done; \ 39282 (cd $(TARGET_SUBDIR)/winsup && \ 39283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39285 "RANLIB=$${RANLIB}" \ 39286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39287 info) \ 39288 || exit 1 39289 39290 @endif target-winsup 39291 39292 .PHONY: maybe-dvi-target-winsup dvi-target-winsup 39293 maybe-dvi-target-winsup: 39294 @if target-winsup 39295 maybe-dvi-target-winsup: dvi-target-winsup 39296 39297 dvi-target-winsup: \ 39298 configure-target-winsup 39299 @: $(MAKE); $(unstage) 39300 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ 39301 r=`${PWD_COMMAND}`; export r; \ 39302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39303 $(NORMAL_TARGET_EXPORTS) \ 39304 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \ 39305 for flag in $(EXTRA_TARGET_FLAGS); do \ 39306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39307 done; \ 39308 (cd $(TARGET_SUBDIR)/winsup && \ 39309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39311 "RANLIB=$${RANLIB}" \ 39312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39313 dvi) \ 39314 || exit 1 39315 39316 @endif target-winsup 39317 39318 .PHONY: maybe-pdf-target-winsup pdf-target-winsup 39319 maybe-pdf-target-winsup: 39320 @if target-winsup 39321 maybe-pdf-target-winsup: pdf-target-winsup 39322 39323 pdf-target-winsup: \ 39324 configure-target-winsup 39325 @: $(MAKE); $(unstage) 39326 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ 39327 r=`${PWD_COMMAND}`; export r; \ 39328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39329 $(NORMAL_TARGET_EXPORTS) \ 39330 echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \ 39331 for flag in $(EXTRA_TARGET_FLAGS); do \ 39332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39333 done; \ 39334 (cd $(TARGET_SUBDIR)/winsup && \ 39335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39337 "RANLIB=$${RANLIB}" \ 39338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39339 pdf) \ 39340 || exit 1 39341 39342 @endif target-winsup 39343 39344 .PHONY: maybe-html-target-winsup html-target-winsup 39345 maybe-html-target-winsup: 39346 @if target-winsup 39347 maybe-html-target-winsup: html-target-winsup 39348 39349 html-target-winsup: \ 39350 configure-target-winsup 39351 @: $(MAKE); $(unstage) 39352 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ 39353 r=`${PWD_COMMAND}`; export r; \ 39354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39355 $(NORMAL_TARGET_EXPORTS) \ 39356 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \ 39357 for flag in $(EXTRA_TARGET_FLAGS); do \ 39358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39359 done; \ 39360 (cd $(TARGET_SUBDIR)/winsup && \ 39361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39363 "RANLIB=$${RANLIB}" \ 39364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39365 html) \ 39366 || exit 1 39367 39368 @endif target-winsup 39369 39370 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup 39371 maybe-TAGS-target-winsup: 39372 @if target-winsup 39373 maybe-TAGS-target-winsup: TAGS-target-winsup 39374 39375 TAGS-target-winsup: \ 39376 configure-target-winsup 39377 @: $(MAKE); $(unstage) 39378 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ 39379 r=`${PWD_COMMAND}`; export r; \ 39380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39381 $(NORMAL_TARGET_EXPORTS) \ 39382 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \ 39383 for flag in $(EXTRA_TARGET_FLAGS); do \ 39384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39385 done; \ 39386 (cd $(TARGET_SUBDIR)/winsup && \ 39387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39389 "RANLIB=$${RANLIB}" \ 39390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39391 TAGS) \ 39392 || exit 1 39393 39394 @endif target-winsup 39395 39396 .PHONY: maybe-install-info-target-winsup install-info-target-winsup 39397 maybe-install-info-target-winsup: 39398 @if target-winsup 39399 maybe-install-info-target-winsup: install-info-target-winsup 39400 39401 install-info-target-winsup: \ 39402 configure-target-winsup \ 39403 info-target-winsup 39404 @: $(MAKE); $(unstage) 39405 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ 39406 r=`${PWD_COMMAND}`; export r; \ 39407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39408 $(NORMAL_TARGET_EXPORTS) \ 39409 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \ 39410 for flag in $(EXTRA_TARGET_FLAGS); do \ 39411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39412 done; \ 39413 (cd $(TARGET_SUBDIR)/winsup && \ 39414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39416 "RANLIB=$${RANLIB}" \ 39417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39418 install-info) \ 39419 || exit 1 39420 39421 @endif target-winsup 39422 39423 .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup 39424 maybe-install-pdf-target-winsup: 39425 @if target-winsup 39426 maybe-install-pdf-target-winsup: install-pdf-target-winsup 39427 39428 install-pdf-target-winsup: \ 39429 configure-target-winsup \ 39430 pdf-target-winsup 39431 @: $(MAKE); $(unstage) 39432 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ 39433 r=`${PWD_COMMAND}`; export r; \ 39434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39435 $(NORMAL_TARGET_EXPORTS) \ 39436 echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \ 39437 for flag in $(EXTRA_TARGET_FLAGS); do \ 39438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39439 done; \ 39440 (cd $(TARGET_SUBDIR)/winsup && \ 39441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39443 "RANLIB=$${RANLIB}" \ 39444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39445 install-pdf) \ 39446 || exit 1 39447 39448 @endif target-winsup 39449 39450 .PHONY: maybe-install-html-target-winsup install-html-target-winsup 39451 maybe-install-html-target-winsup: 39452 @if target-winsup 39453 maybe-install-html-target-winsup: install-html-target-winsup 39454 39455 install-html-target-winsup: \ 39456 configure-target-winsup \ 39457 html-target-winsup 39458 @: $(MAKE); $(unstage) 39459 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ 39460 r=`${PWD_COMMAND}`; export r; \ 39461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39462 $(NORMAL_TARGET_EXPORTS) \ 39463 echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \ 39464 for flag in $(EXTRA_TARGET_FLAGS); do \ 39465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39466 done; \ 39467 (cd $(TARGET_SUBDIR)/winsup && \ 39468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39470 "RANLIB=$${RANLIB}" \ 39471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39472 install-html) \ 39473 || exit 1 39474 39475 @endif target-winsup 39476 39477 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup 39478 maybe-installcheck-target-winsup: 39479 @if target-winsup 39480 maybe-installcheck-target-winsup: installcheck-target-winsup 39481 39482 installcheck-target-winsup: \ 39483 configure-target-winsup 39484 @: $(MAKE); $(unstage) 39485 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ 39486 r=`${PWD_COMMAND}`; export r; \ 39487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39488 $(NORMAL_TARGET_EXPORTS) \ 39489 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \ 39490 for flag in $(EXTRA_TARGET_FLAGS); do \ 39491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39492 done; \ 39493 (cd $(TARGET_SUBDIR)/winsup && \ 39494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39496 "RANLIB=$${RANLIB}" \ 39497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39498 installcheck) \ 39499 || exit 1 39500 39501 @endif target-winsup 39502 39503 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup 39504 maybe-mostlyclean-target-winsup: 39505 @if target-winsup 39506 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup 39507 39508 mostlyclean-target-winsup: 39509 @: $(MAKE); $(unstage) 39510 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ 39511 r=`${PWD_COMMAND}`; export r; \ 39512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39513 $(NORMAL_TARGET_EXPORTS) \ 39514 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \ 39515 for flag in $(EXTRA_TARGET_FLAGS); do \ 39516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39517 done; \ 39518 (cd $(TARGET_SUBDIR)/winsup && \ 39519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39521 "RANLIB=$${RANLIB}" \ 39522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39523 mostlyclean) \ 39524 || exit 1 39525 39526 @endif target-winsup 39527 39528 .PHONY: maybe-clean-target-winsup clean-target-winsup 39529 maybe-clean-target-winsup: 39530 @if target-winsup 39531 maybe-clean-target-winsup: clean-target-winsup 39532 39533 clean-target-winsup: 39534 @: $(MAKE); $(unstage) 39535 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ 39536 r=`${PWD_COMMAND}`; export r; \ 39537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39538 $(NORMAL_TARGET_EXPORTS) \ 39539 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \ 39540 for flag in $(EXTRA_TARGET_FLAGS); do \ 39541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39542 done; \ 39543 (cd $(TARGET_SUBDIR)/winsup && \ 39544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39546 "RANLIB=$${RANLIB}" \ 39547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39548 clean) \ 39549 || exit 1 39550 39551 @endif target-winsup 39552 39553 .PHONY: maybe-distclean-target-winsup distclean-target-winsup 39554 maybe-distclean-target-winsup: 39555 @if target-winsup 39556 maybe-distclean-target-winsup: distclean-target-winsup 39557 39558 distclean-target-winsup: 39559 @: $(MAKE); $(unstage) 39560 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ 39561 r=`${PWD_COMMAND}`; export r; \ 39562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39563 $(NORMAL_TARGET_EXPORTS) \ 39564 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \ 39565 for flag in $(EXTRA_TARGET_FLAGS); do \ 39566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39567 done; \ 39568 (cd $(TARGET_SUBDIR)/winsup && \ 39569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39571 "RANLIB=$${RANLIB}" \ 39572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39573 distclean) \ 39574 || exit 1 39575 39576 @endif target-winsup 39577 39578 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup 39579 maybe-maintainer-clean-target-winsup: 39580 @if target-winsup 39581 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup 39582 39583 maintainer-clean-target-winsup: 39584 @: $(MAKE); $(unstage) 39585 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \ 39586 r=`${PWD_COMMAND}`; export r; \ 39587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39588 $(NORMAL_TARGET_EXPORTS) \ 39589 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \ 39590 for flag in $(EXTRA_TARGET_FLAGS); do \ 39591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39592 done; \ 39593 (cd $(TARGET_SUBDIR)/winsup && \ 39594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39596 "RANLIB=$${RANLIB}" \ 39597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39598 maintainer-clean) \ 39599 || exit 1 39600 39601 @endif target-winsup 39602 39603 39604 39605 39606 39607 .PHONY: configure-target-libgloss maybe-configure-target-libgloss 39608 maybe-configure-target-libgloss: 39609 @if gcc-bootstrap 39610 configure-target-libgloss: stage_current 39611 @endif gcc-bootstrap 39612 @if target-libgloss 39613 maybe-configure-target-libgloss: configure-target-libgloss 39614 configure-target-libgloss: 39615 @: $(MAKE); $(unstage) 39616 @r=`${PWD_COMMAND}`; export r; \ 39617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39618 echo "Checking multilib configuration for libgloss..."; \ 39619 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \ 39620 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \ 39621 if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \ 39622 if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \ 39623 rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \ 39624 else \ 39625 rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \ 39626 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \ 39627 fi; \ 39628 else \ 39629 mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \ 39630 fi; \ 39631 test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \ 39632 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \ 39633 $(NORMAL_TARGET_EXPORTS) \ 39634 echo Configuring in $(TARGET_SUBDIR)/libgloss; \ 39635 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \ 39636 case $(srcdir) in \ 39637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 39638 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \ 39639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 39640 esac; \ 39641 srcdiroption="--srcdir=$${topdir}/libgloss"; \ 39642 libsrcdir="$$s/libgloss"; \ 39643 rm -f no-such-file || : ; \ 39644 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 39645 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 39646 --target=${target_alias} $${srcdiroption} \ 39647 || exit 1 39648 @endif target-libgloss 39649 39650 39651 39652 39653 39654 .PHONY: all-target-libgloss maybe-all-target-libgloss 39655 maybe-all-target-libgloss: 39656 @if gcc-bootstrap 39657 all-target-libgloss: stage_current 39658 @endif gcc-bootstrap 39659 @if target-libgloss 39660 TARGET-target-libgloss=all 39661 maybe-all-target-libgloss: all-target-libgloss 39662 all-target-libgloss: configure-target-libgloss 39663 @: $(MAKE); $(unstage) 39664 @r=`${PWD_COMMAND}`; export r; \ 39665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39666 $(NORMAL_TARGET_EXPORTS) \ 39667 (cd $(TARGET_SUBDIR)/libgloss && \ 39668 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 39669 $(TARGET-target-libgloss)) 39670 @endif target-libgloss 39671 39672 39673 39674 39675 39676 .PHONY: check-target-libgloss maybe-check-target-libgloss 39677 maybe-check-target-libgloss: 39678 @if target-libgloss 39679 maybe-check-target-libgloss: check-target-libgloss 39680 39681 # Dummy target for uncheckable module. 39682 check-target-libgloss: 39683 39684 @endif target-libgloss 39685 39686 .PHONY: install-target-libgloss maybe-install-target-libgloss 39687 maybe-install-target-libgloss: 39688 @if target-libgloss 39689 maybe-install-target-libgloss: install-target-libgloss 39690 39691 install-target-libgloss: installdirs 39692 @: $(MAKE); $(unstage) 39693 @r=`${PWD_COMMAND}`; export r; \ 39694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39695 $(NORMAL_TARGET_EXPORTS) \ 39696 (cd $(TARGET_SUBDIR)/libgloss && \ 39697 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 39698 39699 @endif target-libgloss 39700 39701 .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss 39702 maybe-install-strip-target-libgloss: 39703 @if target-libgloss 39704 maybe-install-strip-target-libgloss: install-strip-target-libgloss 39705 39706 install-strip-target-libgloss: installdirs 39707 @: $(MAKE); $(unstage) 39708 @r=`${PWD_COMMAND}`; export r; \ 39709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39710 $(NORMAL_TARGET_EXPORTS) \ 39711 (cd $(TARGET_SUBDIR)/libgloss && \ 39712 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 39713 39714 @endif target-libgloss 39715 39716 # Other targets (info, dvi, pdf, etc.) 39717 39718 .PHONY: maybe-info-target-libgloss info-target-libgloss 39719 maybe-info-target-libgloss: 39720 @if target-libgloss 39721 maybe-info-target-libgloss: info-target-libgloss 39722 39723 info-target-libgloss: \ 39724 configure-target-libgloss 39725 @: $(MAKE); $(unstage) 39726 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ 39727 r=`${PWD_COMMAND}`; export r; \ 39728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39729 $(NORMAL_TARGET_EXPORTS) \ 39730 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \ 39731 for flag in $(EXTRA_TARGET_FLAGS); do \ 39732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39733 done; \ 39734 (cd $(TARGET_SUBDIR)/libgloss && \ 39735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39737 "RANLIB=$${RANLIB}" \ 39738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39739 info) \ 39740 || exit 1 39741 39742 @endif target-libgloss 39743 39744 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss 39745 maybe-dvi-target-libgloss: 39746 @if target-libgloss 39747 maybe-dvi-target-libgloss: dvi-target-libgloss 39748 39749 dvi-target-libgloss: \ 39750 configure-target-libgloss 39751 @: $(MAKE); $(unstage) 39752 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ 39753 r=`${PWD_COMMAND}`; export r; \ 39754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39755 $(NORMAL_TARGET_EXPORTS) \ 39756 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \ 39757 for flag in $(EXTRA_TARGET_FLAGS); do \ 39758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39759 done; \ 39760 (cd $(TARGET_SUBDIR)/libgloss && \ 39761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39763 "RANLIB=$${RANLIB}" \ 39764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39765 dvi) \ 39766 || exit 1 39767 39768 @endif target-libgloss 39769 39770 .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss 39771 maybe-pdf-target-libgloss: 39772 @if target-libgloss 39773 maybe-pdf-target-libgloss: pdf-target-libgloss 39774 39775 pdf-target-libgloss: \ 39776 configure-target-libgloss 39777 @: $(MAKE); $(unstage) 39778 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ 39779 r=`${PWD_COMMAND}`; export r; \ 39780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39781 $(NORMAL_TARGET_EXPORTS) \ 39782 echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \ 39783 for flag in $(EXTRA_TARGET_FLAGS); do \ 39784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39785 done; \ 39786 (cd $(TARGET_SUBDIR)/libgloss && \ 39787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39789 "RANLIB=$${RANLIB}" \ 39790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39791 pdf) \ 39792 || exit 1 39793 39794 @endif target-libgloss 39795 39796 .PHONY: maybe-html-target-libgloss html-target-libgloss 39797 maybe-html-target-libgloss: 39798 @if target-libgloss 39799 maybe-html-target-libgloss: html-target-libgloss 39800 39801 html-target-libgloss: \ 39802 configure-target-libgloss 39803 @: $(MAKE); $(unstage) 39804 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ 39805 r=`${PWD_COMMAND}`; export r; \ 39806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39807 $(NORMAL_TARGET_EXPORTS) \ 39808 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \ 39809 for flag in $(EXTRA_TARGET_FLAGS); do \ 39810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39811 done; \ 39812 (cd $(TARGET_SUBDIR)/libgloss && \ 39813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39815 "RANLIB=$${RANLIB}" \ 39816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39817 html) \ 39818 || exit 1 39819 39820 @endif target-libgloss 39821 39822 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss 39823 maybe-TAGS-target-libgloss: 39824 @if target-libgloss 39825 maybe-TAGS-target-libgloss: TAGS-target-libgloss 39826 39827 TAGS-target-libgloss: \ 39828 configure-target-libgloss 39829 @: $(MAKE); $(unstage) 39830 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ 39831 r=`${PWD_COMMAND}`; export r; \ 39832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39833 $(NORMAL_TARGET_EXPORTS) \ 39834 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \ 39835 for flag in $(EXTRA_TARGET_FLAGS); do \ 39836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39837 done; \ 39838 (cd $(TARGET_SUBDIR)/libgloss && \ 39839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39841 "RANLIB=$${RANLIB}" \ 39842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39843 TAGS) \ 39844 || exit 1 39845 39846 @endif target-libgloss 39847 39848 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss 39849 maybe-install-info-target-libgloss: 39850 @if target-libgloss 39851 maybe-install-info-target-libgloss: install-info-target-libgloss 39852 39853 install-info-target-libgloss: \ 39854 configure-target-libgloss \ 39855 info-target-libgloss 39856 @: $(MAKE); $(unstage) 39857 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ 39858 r=`${PWD_COMMAND}`; export r; \ 39859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39860 $(NORMAL_TARGET_EXPORTS) \ 39861 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \ 39862 for flag in $(EXTRA_TARGET_FLAGS); do \ 39863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39864 done; \ 39865 (cd $(TARGET_SUBDIR)/libgloss && \ 39866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39868 "RANLIB=$${RANLIB}" \ 39869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39870 install-info) \ 39871 || exit 1 39872 39873 @endif target-libgloss 39874 39875 .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss 39876 maybe-install-pdf-target-libgloss: 39877 @if target-libgloss 39878 maybe-install-pdf-target-libgloss: install-pdf-target-libgloss 39879 39880 install-pdf-target-libgloss: \ 39881 configure-target-libgloss \ 39882 pdf-target-libgloss 39883 @: $(MAKE); $(unstage) 39884 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ 39885 r=`${PWD_COMMAND}`; export r; \ 39886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39887 $(NORMAL_TARGET_EXPORTS) \ 39888 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \ 39889 for flag in $(EXTRA_TARGET_FLAGS); do \ 39890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39891 done; \ 39892 (cd $(TARGET_SUBDIR)/libgloss && \ 39893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39895 "RANLIB=$${RANLIB}" \ 39896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39897 install-pdf) \ 39898 || exit 1 39899 39900 @endif target-libgloss 39901 39902 .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss 39903 maybe-install-html-target-libgloss: 39904 @if target-libgloss 39905 maybe-install-html-target-libgloss: install-html-target-libgloss 39906 39907 install-html-target-libgloss: \ 39908 configure-target-libgloss \ 39909 html-target-libgloss 39910 @: $(MAKE); $(unstage) 39911 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ 39912 r=`${PWD_COMMAND}`; export r; \ 39913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39914 $(NORMAL_TARGET_EXPORTS) \ 39915 echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \ 39916 for flag in $(EXTRA_TARGET_FLAGS); do \ 39917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39918 done; \ 39919 (cd $(TARGET_SUBDIR)/libgloss && \ 39920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39922 "RANLIB=$${RANLIB}" \ 39923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39924 install-html) \ 39925 || exit 1 39926 39927 @endif target-libgloss 39928 39929 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss 39930 maybe-installcheck-target-libgloss: 39931 @if target-libgloss 39932 maybe-installcheck-target-libgloss: installcheck-target-libgloss 39933 39934 installcheck-target-libgloss: \ 39935 configure-target-libgloss 39936 @: $(MAKE); $(unstage) 39937 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ 39938 r=`${PWD_COMMAND}`; export r; \ 39939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39940 $(NORMAL_TARGET_EXPORTS) \ 39941 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \ 39942 for flag in $(EXTRA_TARGET_FLAGS); do \ 39943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39944 done; \ 39945 (cd $(TARGET_SUBDIR)/libgloss && \ 39946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39948 "RANLIB=$${RANLIB}" \ 39949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39950 installcheck) \ 39951 || exit 1 39952 39953 @endif target-libgloss 39954 39955 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss 39956 maybe-mostlyclean-target-libgloss: 39957 @if target-libgloss 39958 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss 39959 39960 mostlyclean-target-libgloss: 39961 @: $(MAKE); $(unstage) 39962 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ 39963 r=`${PWD_COMMAND}`; export r; \ 39964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39965 $(NORMAL_TARGET_EXPORTS) \ 39966 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \ 39967 for flag in $(EXTRA_TARGET_FLAGS); do \ 39968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39969 done; \ 39970 (cd $(TARGET_SUBDIR)/libgloss && \ 39971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39973 "RANLIB=$${RANLIB}" \ 39974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 39975 mostlyclean) \ 39976 || exit 1 39977 39978 @endif target-libgloss 39979 39980 .PHONY: maybe-clean-target-libgloss clean-target-libgloss 39981 maybe-clean-target-libgloss: 39982 @if target-libgloss 39983 maybe-clean-target-libgloss: clean-target-libgloss 39984 39985 clean-target-libgloss: 39986 @: $(MAKE); $(unstage) 39987 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ 39988 r=`${PWD_COMMAND}`; export r; \ 39989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 39990 $(NORMAL_TARGET_EXPORTS) \ 39991 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \ 39992 for flag in $(EXTRA_TARGET_FLAGS); do \ 39993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 39994 done; \ 39995 (cd $(TARGET_SUBDIR)/libgloss && \ 39996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 39997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 39998 "RANLIB=$${RANLIB}" \ 39999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40000 clean) \ 40001 || exit 1 40002 40003 @endif target-libgloss 40004 40005 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss 40006 maybe-distclean-target-libgloss: 40007 @if target-libgloss 40008 maybe-distclean-target-libgloss: distclean-target-libgloss 40009 40010 distclean-target-libgloss: 40011 @: $(MAKE); $(unstage) 40012 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ 40013 r=`${PWD_COMMAND}`; export r; \ 40014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40015 $(NORMAL_TARGET_EXPORTS) \ 40016 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \ 40017 for flag in $(EXTRA_TARGET_FLAGS); do \ 40018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40019 done; \ 40020 (cd $(TARGET_SUBDIR)/libgloss && \ 40021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40023 "RANLIB=$${RANLIB}" \ 40024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40025 distclean) \ 40026 || exit 1 40027 40028 @endif target-libgloss 40029 40030 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss 40031 maybe-maintainer-clean-target-libgloss: 40032 @if target-libgloss 40033 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss 40034 40035 maintainer-clean-target-libgloss: 40036 @: $(MAKE); $(unstage) 40037 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \ 40038 r=`${PWD_COMMAND}`; export r; \ 40039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40040 $(NORMAL_TARGET_EXPORTS) \ 40041 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \ 40042 for flag in $(EXTRA_TARGET_FLAGS); do \ 40043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40044 done; \ 40045 (cd $(TARGET_SUBDIR)/libgloss && \ 40046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40048 "RANLIB=$${RANLIB}" \ 40049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40050 maintainer-clean) \ 40051 || exit 1 40052 40053 @endif target-libgloss 40054 40055 40056 40057 40058 40059 .PHONY: configure-target-libffi maybe-configure-target-libffi 40060 maybe-configure-target-libffi: 40061 @if gcc-bootstrap 40062 configure-target-libffi: stage_current 40063 @endif gcc-bootstrap 40064 @if target-libffi 40065 maybe-configure-target-libffi: configure-target-libffi 40066 configure-target-libffi: 40067 @: $(MAKE); $(unstage) 40068 @r=`${PWD_COMMAND}`; export r; \ 40069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40070 echo "Checking multilib configuration for libffi..."; \ 40071 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \ 40072 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \ 40073 if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \ 40074 if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \ 40075 rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \ 40076 else \ 40077 rm -f $(TARGET_SUBDIR)/libffi/Makefile; \ 40078 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \ 40079 fi; \ 40080 else \ 40081 mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \ 40082 fi; \ 40083 test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \ 40084 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \ 40085 $(NORMAL_TARGET_EXPORTS) \ 40086 echo Configuring in $(TARGET_SUBDIR)/libffi; \ 40087 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \ 40088 case $(srcdir) in \ 40089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 40090 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \ 40091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 40092 esac; \ 40093 srcdiroption="--srcdir=$${topdir}/libffi"; \ 40094 libsrcdir="$$s/libffi"; \ 40095 rm -f no-such-file || : ; \ 40096 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 40097 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 40098 --target=${target_alias} $${srcdiroption} \ 40099 || exit 1 40100 @endif target-libffi 40101 40102 40103 40104 40105 40106 .PHONY: all-target-libffi maybe-all-target-libffi 40107 maybe-all-target-libffi: 40108 @if gcc-bootstrap 40109 all-target-libffi: stage_current 40110 @endif gcc-bootstrap 40111 @if target-libffi 40112 TARGET-target-libffi=all 40113 maybe-all-target-libffi: all-target-libffi 40114 all-target-libffi: configure-target-libffi 40115 @: $(MAKE); $(unstage) 40116 @r=`${PWD_COMMAND}`; export r; \ 40117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40118 $(NORMAL_TARGET_EXPORTS) \ 40119 (cd $(TARGET_SUBDIR)/libffi && \ 40120 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 40121 $(TARGET-target-libffi)) 40122 @endif target-libffi 40123 40124 40125 40126 40127 40128 .PHONY: check-target-libffi maybe-check-target-libffi 40129 maybe-check-target-libffi: 40130 @if target-libffi 40131 maybe-check-target-libffi: check-target-libffi 40132 40133 check-target-libffi: 40134 @: $(MAKE); $(unstage) 40135 @r=`${PWD_COMMAND}`; export r; \ 40136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40137 $(NORMAL_TARGET_EXPORTS) \ 40138 (cd $(TARGET_SUBDIR)/libffi && \ 40139 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 40140 40141 @endif target-libffi 40142 40143 .PHONY: install-target-libffi maybe-install-target-libffi 40144 maybe-install-target-libffi: 40145 @if target-libffi 40146 maybe-install-target-libffi: install-target-libffi 40147 40148 # Dummy target for uninstallable. 40149 install-target-libffi: 40150 40151 @endif target-libffi 40152 40153 .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi 40154 maybe-install-strip-target-libffi: 40155 @if target-libffi 40156 maybe-install-strip-target-libffi: install-strip-target-libffi 40157 40158 # Dummy target for uninstallable. 40159 install-strip-target-libffi: 40160 40161 @endif target-libffi 40162 40163 # Other targets (info, dvi, pdf, etc.) 40164 40165 .PHONY: maybe-info-target-libffi info-target-libffi 40166 maybe-info-target-libffi: 40167 @if target-libffi 40168 maybe-info-target-libffi: info-target-libffi 40169 40170 info-target-libffi: \ 40171 configure-target-libffi 40172 @: $(MAKE); $(unstage) 40173 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ 40174 r=`${PWD_COMMAND}`; export r; \ 40175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40176 $(NORMAL_TARGET_EXPORTS) \ 40177 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \ 40178 for flag in $(EXTRA_TARGET_FLAGS); do \ 40179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40180 done; \ 40181 (cd $(TARGET_SUBDIR)/libffi && \ 40182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40184 "RANLIB=$${RANLIB}" \ 40185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40186 info) \ 40187 || exit 1 40188 40189 @endif target-libffi 40190 40191 .PHONY: maybe-dvi-target-libffi dvi-target-libffi 40192 maybe-dvi-target-libffi: 40193 @if target-libffi 40194 maybe-dvi-target-libffi: dvi-target-libffi 40195 40196 dvi-target-libffi: \ 40197 configure-target-libffi 40198 @: $(MAKE); $(unstage) 40199 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ 40200 r=`${PWD_COMMAND}`; export r; \ 40201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40202 $(NORMAL_TARGET_EXPORTS) \ 40203 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \ 40204 for flag in $(EXTRA_TARGET_FLAGS); do \ 40205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40206 done; \ 40207 (cd $(TARGET_SUBDIR)/libffi && \ 40208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40210 "RANLIB=$${RANLIB}" \ 40211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40212 dvi) \ 40213 || exit 1 40214 40215 @endif target-libffi 40216 40217 .PHONY: maybe-pdf-target-libffi pdf-target-libffi 40218 maybe-pdf-target-libffi: 40219 @if target-libffi 40220 maybe-pdf-target-libffi: pdf-target-libffi 40221 40222 pdf-target-libffi: \ 40223 configure-target-libffi 40224 @: $(MAKE); $(unstage) 40225 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ 40226 r=`${PWD_COMMAND}`; export r; \ 40227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40228 $(NORMAL_TARGET_EXPORTS) \ 40229 echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \ 40230 for flag in $(EXTRA_TARGET_FLAGS); do \ 40231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40232 done; \ 40233 (cd $(TARGET_SUBDIR)/libffi && \ 40234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40236 "RANLIB=$${RANLIB}" \ 40237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40238 pdf) \ 40239 || exit 1 40240 40241 @endif target-libffi 40242 40243 .PHONY: maybe-html-target-libffi html-target-libffi 40244 maybe-html-target-libffi: 40245 @if target-libffi 40246 maybe-html-target-libffi: html-target-libffi 40247 40248 html-target-libffi: \ 40249 configure-target-libffi 40250 @: $(MAKE); $(unstage) 40251 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ 40252 r=`${PWD_COMMAND}`; export r; \ 40253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40254 $(NORMAL_TARGET_EXPORTS) \ 40255 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \ 40256 for flag in $(EXTRA_TARGET_FLAGS); do \ 40257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40258 done; \ 40259 (cd $(TARGET_SUBDIR)/libffi && \ 40260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40262 "RANLIB=$${RANLIB}" \ 40263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40264 html) \ 40265 || exit 1 40266 40267 @endif target-libffi 40268 40269 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi 40270 maybe-TAGS-target-libffi: 40271 @if target-libffi 40272 maybe-TAGS-target-libffi: TAGS-target-libffi 40273 40274 TAGS-target-libffi: \ 40275 configure-target-libffi 40276 @: $(MAKE); $(unstage) 40277 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ 40278 r=`${PWD_COMMAND}`; export r; \ 40279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40280 $(NORMAL_TARGET_EXPORTS) \ 40281 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \ 40282 for flag in $(EXTRA_TARGET_FLAGS); do \ 40283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40284 done; \ 40285 (cd $(TARGET_SUBDIR)/libffi && \ 40286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40288 "RANLIB=$${RANLIB}" \ 40289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40290 TAGS) \ 40291 || exit 1 40292 40293 @endif target-libffi 40294 40295 .PHONY: maybe-install-info-target-libffi install-info-target-libffi 40296 maybe-install-info-target-libffi: 40297 @if target-libffi 40298 maybe-install-info-target-libffi: install-info-target-libffi 40299 40300 install-info-target-libffi: \ 40301 configure-target-libffi \ 40302 info-target-libffi 40303 @: $(MAKE); $(unstage) 40304 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ 40305 r=`${PWD_COMMAND}`; export r; \ 40306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40307 $(NORMAL_TARGET_EXPORTS) \ 40308 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \ 40309 for flag in $(EXTRA_TARGET_FLAGS); do \ 40310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40311 done; \ 40312 (cd $(TARGET_SUBDIR)/libffi && \ 40313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40315 "RANLIB=$${RANLIB}" \ 40316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40317 install-info) \ 40318 || exit 1 40319 40320 @endif target-libffi 40321 40322 .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi 40323 maybe-install-pdf-target-libffi: 40324 @if target-libffi 40325 maybe-install-pdf-target-libffi: install-pdf-target-libffi 40326 40327 install-pdf-target-libffi: \ 40328 configure-target-libffi \ 40329 pdf-target-libffi 40330 @: $(MAKE); $(unstage) 40331 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ 40332 r=`${PWD_COMMAND}`; export r; \ 40333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40334 $(NORMAL_TARGET_EXPORTS) \ 40335 echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \ 40336 for flag in $(EXTRA_TARGET_FLAGS); do \ 40337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40338 done; \ 40339 (cd $(TARGET_SUBDIR)/libffi && \ 40340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40342 "RANLIB=$${RANLIB}" \ 40343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40344 install-pdf) \ 40345 || exit 1 40346 40347 @endif target-libffi 40348 40349 .PHONY: maybe-install-html-target-libffi install-html-target-libffi 40350 maybe-install-html-target-libffi: 40351 @if target-libffi 40352 maybe-install-html-target-libffi: install-html-target-libffi 40353 40354 install-html-target-libffi: \ 40355 configure-target-libffi \ 40356 html-target-libffi 40357 @: $(MAKE); $(unstage) 40358 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ 40359 r=`${PWD_COMMAND}`; export r; \ 40360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40361 $(NORMAL_TARGET_EXPORTS) \ 40362 echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \ 40363 for flag in $(EXTRA_TARGET_FLAGS); do \ 40364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40365 done; \ 40366 (cd $(TARGET_SUBDIR)/libffi && \ 40367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40369 "RANLIB=$${RANLIB}" \ 40370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40371 install-html) \ 40372 || exit 1 40373 40374 @endif target-libffi 40375 40376 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi 40377 maybe-installcheck-target-libffi: 40378 @if target-libffi 40379 maybe-installcheck-target-libffi: installcheck-target-libffi 40380 40381 installcheck-target-libffi: \ 40382 configure-target-libffi 40383 @: $(MAKE); $(unstage) 40384 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ 40385 r=`${PWD_COMMAND}`; export r; \ 40386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40387 $(NORMAL_TARGET_EXPORTS) \ 40388 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \ 40389 for flag in $(EXTRA_TARGET_FLAGS); do \ 40390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40391 done; \ 40392 (cd $(TARGET_SUBDIR)/libffi && \ 40393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40395 "RANLIB=$${RANLIB}" \ 40396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40397 installcheck) \ 40398 || exit 1 40399 40400 @endif target-libffi 40401 40402 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi 40403 maybe-mostlyclean-target-libffi: 40404 @if target-libffi 40405 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi 40406 40407 mostlyclean-target-libffi: 40408 @: $(MAKE); $(unstage) 40409 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ 40410 r=`${PWD_COMMAND}`; export r; \ 40411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40412 $(NORMAL_TARGET_EXPORTS) \ 40413 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \ 40414 for flag in $(EXTRA_TARGET_FLAGS); do \ 40415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40416 done; \ 40417 (cd $(TARGET_SUBDIR)/libffi && \ 40418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40420 "RANLIB=$${RANLIB}" \ 40421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40422 mostlyclean) \ 40423 || exit 1 40424 40425 @endif target-libffi 40426 40427 .PHONY: maybe-clean-target-libffi clean-target-libffi 40428 maybe-clean-target-libffi: 40429 @if target-libffi 40430 maybe-clean-target-libffi: clean-target-libffi 40431 40432 clean-target-libffi: 40433 @: $(MAKE); $(unstage) 40434 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ 40435 r=`${PWD_COMMAND}`; export r; \ 40436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40437 $(NORMAL_TARGET_EXPORTS) \ 40438 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \ 40439 for flag in $(EXTRA_TARGET_FLAGS); do \ 40440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40441 done; \ 40442 (cd $(TARGET_SUBDIR)/libffi && \ 40443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40445 "RANLIB=$${RANLIB}" \ 40446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40447 clean) \ 40448 || exit 1 40449 40450 @endif target-libffi 40451 40452 .PHONY: maybe-distclean-target-libffi distclean-target-libffi 40453 maybe-distclean-target-libffi: 40454 @if target-libffi 40455 maybe-distclean-target-libffi: distclean-target-libffi 40456 40457 distclean-target-libffi: 40458 @: $(MAKE); $(unstage) 40459 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ 40460 r=`${PWD_COMMAND}`; export r; \ 40461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40462 $(NORMAL_TARGET_EXPORTS) \ 40463 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \ 40464 for flag in $(EXTRA_TARGET_FLAGS); do \ 40465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40466 done; \ 40467 (cd $(TARGET_SUBDIR)/libffi && \ 40468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40470 "RANLIB=$${RANLIB}" \ 40471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40472 distclean) \ 40473 || exit 1 40474 40475 @endif target-libffi 40476 40477 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi 40478 maybe-maintainer-clean-target-libffi: 40479 @if target-libffi 40480 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi 40481 40482 maintainer-clean-target-libffi: 40483 @: $(MAKE); $(unstage) 40484 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \ 40485 r=`${PWD_COMMAND}`; export r; \ 40486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40487 $(NORMAL_TARGET_EXPORTS) \ 40488 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \ 40489 for flag in $(EXTRA_TARGET_FLAGS); do \ 40490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40491 done; \ 40492 (cd $(TARGET_SUBDIR)/libffi && \ 40493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40495 "RANLIB=$${RANLIB}" \ 40496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40497 maintainer-clean) \ 40498 || exit 1 40499 40500 @endif target-libffi 40501 40502 40503 40504 40505 40506 .PHONY: configure-target-libjava maybe-configure-target-libjava 40507 maybe-configure-target-libjava: 40508 @if gcc-bootstrap 40509 configure-target-libjava: stage_current 40510 @endif gcc-bootstrap 40511 @if target-libjava 40512 maybe-configure-target-libjava: configure-target-libjava 40513 configure-target-libjava: 40514 @: $(MAKE); $(unstage) 40515 @r=`${PWD_COMMAND}`; export r; \ 40516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40517 echo "Checking multilib configuration for libjava..."; \ 40518 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \ 40519 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \ 40520 if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \ 40521 if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \ 40522 rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \ 40523 else \ 40524 rm -f $(TARGET_SUBDIR)/libjava/Makefile; \ 40525 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \ 40526 fi; \ 40527 else \ 40528 mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \ 40529 fi; \ 40530 test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \ 40531 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \ 40532 $(RAW_CXX_TARGET_EXPORTS) \ 40533 echo Configuring in $(TARGET_SUBDIR)/libjava; \ 40534 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \ 40535 case $(srcdir) in \ 40536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 40537 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \ 40538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 40539 esac; \ 40540 srcdiroption="--srcdir=$${topdir}/libjava"; \ 40541 libsrcdir="$$s/libjava"; \ 40542 rm -f no-such-file || : ; \ 40543 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 40544 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 40545 --target=${target_alias} $${srcdiroption} $(EXTRA_CONFIGARGS_LIBJAVA) \ 40546 || exit 1 40547 @endif target-libjava 40548 40549 40550 40551 40552 40553 .PHONY: all-target-libjava maybe-all-target-libjava 40554 maybe-all-target-libjava: 40555 @if gcc-bootstrap 40556 all-target-libjava: stage_current 40557 @endif gcc-bootstrap 40558 @if target-libjava 40559 TARGET-target-libjava=all 40560 maybe-all-target-libjava: all-target-libjava 40561 all-target-libjava: configure-target-libjava 40562 @: $(MAKE); $(unstage) 40563 @r=`${PWD_COMMAND}`; export r; \ 40564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40565 $(RAW_CXX_TARGET_EXPORTS) \ 40566 (cd $(TARGET_SUBDIR)/libjava && \ 40567 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \ 40568 $(TARGET-target-libjava)) 40569 @endif target-libjava 40570 40571 40572 40573 40574 40575 .PHONY: check-target-libjava maybe-check-target-libjava 40576 maybe-check-target-libjava: 40577 @if target-libjava 40578 maybe-check-target-libjava: check-target-libjava 40579 40580 check-target-libjava: 40581 @: $(MAKE); $(unstage) 40582 @r=`${PWD_COMMAND}`; export r; \ 40583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40584 $(RAW_CXX_TARGET_EXPORTS) \ 40585 (cd $(TARGET_SUBDIR)/libjava && \ 40586 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check) 40587 40588 @endif target-libjava 40589 40590 .PHONY: install-target-libjava maybe-install-target-libjava 40591 maybe-install-target-libjava: 40592 @if target-libjava 40593 maybe-install-target-libjava: install-target-libjava 40594 40595 install-target-libjava: installdirs 40596 @: $(MAKE); $(unstage) 40597 @r=`${PWD_COMMAND}`; export r; \ 40598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40599 $(RAW_CXX_TARGET_EXPORTS) \ 40600 (cd $(TARGET_SUBDIR)/libjava && \ 40601 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 40602 40603 @endif target-libjava 40604 40605 .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava 40606 maybe-install-strip-target-libjava: 40607 @if target-libjava 40608 maybe-install-strip-target-libjava: install-strip-target-libjava 40609 40610 install-strip-target-libjava: installdirs 40611 @: $(MAKE); $(unstage) 40612 @r=`${PWD_COMMAND}`; export r; \ 40613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40614 $(RAW_CXX_TARGET_EXPORTS) \ 40615 (cd $(TARGET_SUBDIR)/libjava && \ 40616 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 40617 40618 @endif target-libjava 40619 40620 # Other targets (info, dvi, pdf, etc.) 40621 40622 .PHONY: maybe-info-target-libjava info-target-libjava 40623 maybe-info-target-libjava: 40624 @if target-libjava 40625 maybe-info-target-libjava: info-target-libjava 40626 40627 info-target-libjava: \ 40628 configure-target-libjava 40629 @: $(MAKE); $(unstage) 40630 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ 40631 r=`${PWD_COMMAND}`; export r; \ 40632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40633 $(RAW_CXX_TARGET_EXPORTS) \ 40634 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \ 40635 for flag in $(EXTRA_TARGET_FLAGS); do \ 40636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40637 done; \ 40638 (cd $(TARGET_SUBDIR)/libjava && \ 40639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40641 "RANLIB=$${RANLIB}" \ 40642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40643 info) \ 40644 || exit 1 40645 40646 @endif target-libjava 40647 40648 .PHONY: maybe-dvi-target-libjava dvi-target-libjava 40649 maybe-dvi-target-libjava: 40650 @if target-libjava 40651 maybe-dvi-target-libjava: dvi-target-libjava 40652 40653 dvi-target-libjava: \ 40654 configure-target-libjava 40655 @: $(MAKE); $(unstage) 40656 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ 40657 r=`${PWD_COMMAND}`; export r; \ 40658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40659 $(RAW_CXX_TARGET_EXPORTS) \ 40660 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \ 40661 for flag in $(EXTRA_TARGET_FLAGS); do \ 40662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40663 done; \ 40664 (cd $(TARGET_SUBDIR)/libjava && \ 40665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40667 "RANLIB=$${RANLIB}" \ 40668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40669 dvi) \ 40670 || exit 1 40671 40672 @endif target-libjava 40673 40674 .PHONY: maybe-pdf-target-libjava pdf-target-libjava 40675 maybe-pdf-target-libjava: 40676 @if target-libjava 40677 maybe-pdf-target-libjava: pdf-target-libjava 40678 40679 pdf-target-libjava: \ 40680 configure-target-libjava 40681 @: $(MAKE); $(unstage) 40682 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ 40683 r=`${PWD_COMMAND}`; export r; \ 40684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40685 $(RAW_CXX_TARGET_EXPORTS) \ 40686 echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \ 40687 for flag in $(EXTRA_TARGET_FLAGS); do \ 40688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40689 done; \ 40690 (cd $(TARGET_SUBDIR)/libjava && \ 40691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40693 "RANLIB=$${RANLIB}" \ 40694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40695 pdf) \ 40696 || exit 1 40697 40698 @endif target-libjava 40699 40700 .PHONY: maybe-html-target-libjava html-target-libjava 40701 maybe-html-target-libjava: 40702 @if target-libjava 40703 maybe-html-target-libjava: html-target-libjava 40704 40705 html-target-libjava: \ 40706 configure-target-libjava 40707 @: $(MAKE); $(unstage) 40708 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ 40709 r=`${PWD_COMMAND}`; export r; \ 40710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40711 $(RAW_CXX_TARGET_EXPORTS) \ 40712 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \ 40713 for flag in $(EXTRA_TARGET_FLAGS); do \ 40714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40715 done; \ 40716 (cd $(TARGET_SUBDIR)/libjava && \ 40717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40719 "RANLIB=$${RANLIB}" \ 40720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40721 html) \ 40722 || exit 1 40723 40724 @endif target-libjava 40725 40726 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava 40727 maybe-TAGS-target-libjava: 40728 @if target-libjava 40729 maybe-TAGS-target-libjava: TAGS-target-libjava 40730 40731 TAGS-target-libjava: \ 40732 configure-target-libjava 40733 @: $(MAKE); $(unstage) 40734 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ 40735 r=`${PWD_COMMAND}`; export r; \ 40736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40737 $(RAW_CXX_TARGET_EXPORTS) \ 40738 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \ 40739 for flag in $(EXTRA_TARGET_FLAGS); do \ 40740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40741 done; \ 40742 (cd $(TARGET_SUBDIR)/libjava && \ 40743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40745 "RANLIB=$${RANLIB}" \ 40746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40747 TAGS) \ 40748 || exit 1 40749 40750 @endif target-libjava 40751 40752 .PHONY: maybe-install-info-target-libjava install-info-target-libjava 40753 maybe-install-info-target-libjava: 40754 @if target-libjava 40755 maybe-install-info-target-libjava: install-info-target-libjava 40756 40757 install-info-target-libjava: \ 40758 configure-target-libjava \ 40759 info-target-libjava 40760 @: $(MAKE); $(unstage) 40761 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ 40762 r=`${PWD_COMMAND}`; export r; \ 40763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40764 $(RAW_CXX_TARGET_EXPORTS) \ 40765 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \ 40766 for flag in $(EXTRA_TARGET_FLAGS); do \ 40767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40768 done; \ 40769 (cd $(TARGET_SUBDIR)/libjava && \ 40770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40772 "RANLIB=$${RANLIB}" \ 40773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40774 install-info) \ 40775 || exit 1 40776 40777 @endif target-libjava 40778 40779 .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava 40780 maybe-install-pdf-target-libjava: 40781 @if target-libjava 40782 maybe-install-pdf-target-libjava: install-pdf-target-libjava 40783 40784 install-pdf-target-libjava: \ 40785 configure-target-libjava \ 40786 pdf-target-libjava 40787 @: $(MAKE); $(unstage) 40788 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ 40789 r=`${PWD_COMMAND}`; export r; \ 40790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40791 $(RAW_CXX_TARGET_EXPORTS) \ 40792 echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \ 40793 for flag in $(EXTRA_TARGET_FLAGS); do \ 40794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40795 done; \ 40796 (cd $(TARGET_SUBDIR)/libjava && \ 40797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40799 "RANLIB=$${RANLIB}" \ 40800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40801 install-pdf) \ 40802 || exit 1 40803 40804 @endif target-libjava 40805 40806 .PHONY: maybe-install-html-target-libjava install-html-target-libjava 40807 maybe-install-html-target-libjava: 40808 @if target-libjava 40809 maybe-install-html-target-libjava: install-html-target-libjava 40810 40811 install-html-target-libjava: \ 40812 configure-target-libjava \ 40813 html-target-libjava 40814 @: $(MAKE); $(unstage) 40815 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ 40816 r=`${PWD_COMMAND}`; export r; \ 40817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40818 $(RAW_CXX_TARGET_EXPORTS) \ 40819 echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \ 40820 for flag in $(EXTRA_TARGET_FLAGS); do \ 40821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40822 done; \ 40823 (cd $(TARGET_SUBDIR)/libjava && \ 40824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40826 "RANLIB=$${RANLIB}" \ 40827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40828 install-html) \ 40829 || exit 1 40830 40831 @endif target-libjava 40832 40833 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava 40834 maybe-installcheck-target-libjava: 40835 @if target-libjava 40836 maybe-installcheck-target-libjava: installcheck-target-libjava 40837 40838 installcheck-target-libjava: \ 40839 configure-target-libjava 40840 @: $(MAKE); $(unstage) 40841 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ 40842 r=`${PWD_COMMAND}`; export r; \ 40843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40844 $(RAW_CXX_TARGET_EXPORTS) \ 40845 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \ 40846 for flag in $(EXTRA_TARGET_FLAGS); do \ 40847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40848 done; \ 40849 (cd $(TARGET_SUBDIR)/libjava && \ 40850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40852 "RANLIB=$${RANLIB}" \ 40853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40854 installcheck) \ 40855 || exit 1 40856 40857 @endif target-libjava 40858 40859 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava 40860 maybe-mostlyclean-target-libjava: 40861 @if target-libjava 40862 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava 40863 40864 mostlyclean-target-libjava: 40865 @: $(MAKE); $(unstage) 40866 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ 40867 r=`${PWD_COMMAND}`; export r; \ 40868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40869 $(RAW_CXX_TARGET_EXPORTS) \ 40870 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \ 40871 for flag in $(EXTRA_TARGET_FLAGS); do \ 40872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40873 done; \ 40874 (cd $(TARGET_SUBDIR)/libjava && \ 40875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40877 "RANLIB=$${RANLIB}" \ 40878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40879 mostlyclean) \ 40880 || exit 1 40881 40882 @endif target-libjava 40883 40884 .PHONY: maybe-clean-target-libjava clean-target-libjava 40885 maybe-clean-target-libjava: 40886 @if target-libjava 40887 maybe-clean-target-libjava: clean-target-libjava 40888 40889 clean-target-libjava: 40890 @: $(MAKE); $(unstage) 40891 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ 40892 r=`${PWD_COMMAND}`; export r; \ 40893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40894 $(RAW_CXX_TARGET_EXPORTS) \ 40895 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \ 40896 for flag in $(EXTRA_TARGET_FLAGS); do \ 40897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40898 done; \ 40899 (cd $(TARGET_SUBDIR)/libjava && \ 40900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40902 "RANLIB=$${RANLIB}" \ 40903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40904 clean) \ 40905 || exit 1 40906 40907 @endif target-libjava 40908 40909 .PHONY: maybe-distclean-target-libjava distclean-target-libjava 40910 maybe-distclean-target-libjava: 40911 @if target-libjava 40912 maybe-distclean-target-libjava: distclean-target-libjava 40913 40914 distclean-target-libjava: 40915 @: $(MAKE); $(unstage) 40916 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ 40917 r=`${PWD_COMMAND}`; export r; \ 40918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40919 $(RAW_CXX_TARGET_EXPORTS) \ 40920 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \ 40921 for flag in $(EXTRA_TARGET_FLAGS); do \ 40922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40923 done; \ 40924 (cd $(TARGET_SUBDIR)/libjava && \ 40925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40927 "RANLIB=$${RANLIB}" \ 40928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40929 distclean) \ 40930 || exit 1 40931 40932 @endif target-libjava 40933 40934 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava 40935 maybe-maintainer-clean-target-libjava: 40936 @if target-libjava 40937 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava 40938 40939 maintainer-clean-target-libjava: 40940 @: $(MAKE); $(unstage) 40941 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \ 40942 r=`${PWD_COMMAND}`; export r; \ 40943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40944 $(RAW_CXX_TARGET_EXPORTS) \ 40945 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \ 40946 for flag in $(EXTRA_TARGET_FLAGS); do \ 40947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 40948 done; \ 40949 (cd $(TARGET_SUBDIR)/libjava && \ 40950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 40951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 40952 "RANLIB=$${RANLIB}" \ 40953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 40954 maintainer-clean) \ 40955 || exit 1 40956 40957 @endif target-libjava 40958 40959 40960 40961 40962 40963 .PHONY: configure-target-zlib maybe-configure-target-zlib 40964 maybe-configure-target-zlib: 40965 @if gcc-bootstrap 40966 configure-target-zlib: stage_current 40967 @endif gcc-bootstrap 40968 @if target-zlib 40969 maybe-configure-target-zlib: configure-target-zlib 40970 configure-target-zlib: 40971 @: $(MAKE); $(unstage) 40972 @r=`${PWD_COMMAND}`; export r; \ 40973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 40974 echo "Checking multilib configuration for zlib..."; \ 40975 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \ 40976 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \ 40977 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \ 40978 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \ 40979 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \ 40980 else \ 40981 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \ 40982 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \ 40983 fi; \ 40984 else \ 40985 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \ 40986 fi; \ 40987 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \ 40988 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \ 40989 $(NORMAL_TARGET_EXPORTS) \ 40990 echo Configuring in $(TARGET_SUBDIR)/zlib; \ 40991 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \ 40992 case $(srcdir) in \ 40993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 40994 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \ 40995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 40996 esac; \ 40997 srcdiroption="--srcdir=$${topdir}/zlib"; \ 40998 libsrcdir="$$s/zlib"; \ 40999 rm -f no-such-file || : ; \ 41000 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 41001 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 41002 --target=${target_alias} $${srcdiroption} \ 41003 || exit 1 41004 @endif target-zlib 41005 41006 41007 41008 41009 41010 .PHONY: all-target-zlib maybe-all-target-zlib 41011 maybe-all-target-zlib: 41012 @if gcc-bootstrap 41013 all-target-zlib: stage_current 41014 @endif gcc-bootstrap 41015 @if target-zlib 41016 TARGET-target-zlib=all 41017 maybe-all-target-zlib: all-target-zlib 41018 all-target-zlib: configure-target-zlib 41019 @: $(MAKE); $(unstage) 41020 @r=`${PWD_COMMAND}`; export r; \ 41021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41022 $(NORMAL_TARGET_EXPORTS) \ 41023 (cd $(TARGET_SUBDIR)/zlib && \ 41024 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 41025 $(TARGET-target-zlib)) 41026 @endif target-zlib 41027 41028 41029 41030 41031 41032 .PHONY: check-target-zlib maybe-check-target-zlib 41033 maybe-check-target-zlib: 41034 @if target-zlib 41035 maybe-check-target-zlib: check-target-zlib 41036 41037 check-target-zlib: 41038 @: $(MAKE); $(unstage) 41039 @r=`${PWD_COMMAND}`; export r; \ 41040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41041 $(NORMAL_TARGET_EXPORTS) \ 41042 (cd $(TARGET_SUBDIR)/zlib && \ 41043 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 41044 41045 @endif target-zlib 41046 41047 .PHONY: install-target-zlib maybe-install-target-zlib 41048 maybe-install-target-zlib: 41049 @if target-zlib 41050 maybe-install-target-zlib: install-target-zlib 41051 41052 install-target-zlib: installdirs 41053 @: $(MAKE); $(unstage) 41054 @r=`${PWD_COMMAND}`; export r; \ 41055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41056 $(NORMAL_TARGET_EXPORTS) \ 41057 (cd $(TARGET_SUBDIR)/zlib && \ 41058 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 41059 41060 @endif target-zlib 41061 41062 .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib 41063 maybe-install-strip-target-zlib: 41064 @if target-zlib 41065 maybe-install-strip-target-zlib: install-strip-target-zlib 41066 41067 install-strip-target-zlib: installdirs 41068 @: $(MAKE); $(unstage) 41069 @r=`${PWD_COMMAND}`; export r; \ 41070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41071 $(NORMAL_TARGET_EXPORTS) \ 41072 (cd $(TARGET_SUBDIR)/zlib && \ 41073 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 41074 41075 @endif target-zlib 41076 41077 # Other targets (info, dvi, pdf, etc.) 41078 41079 .PHONY: maybe-info-target-zlib info-target-zlib 41080 maybe-info-target-zlib: 41081 @if target-zlib 41082 maybe-info-target-zlib: info-target-zlib 41083 41084 info-target-zlib: \ 41085 configure-target-zlib 41086 @: $(MAKE); $(unstage) 41087 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ 41088 r=`${PWD_COMMAND}`; export r; \ 41089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41090 $(NORMAL_TARGET_EXPORTS) \ 41091 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \ 41092 for flag in $(EXTRA_TARGET_FLAGS); do \ 41093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41094 done; \ 41095 (cd $(TARGET_SUBDIR)/zlib && \ 41096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41098 "RANLIB=$${RANLIB}" \ 41099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41100 info) \ 41101 || exit 1 41102 41103 @endif target-zlib 41104 41105 .PHONY: maybe-dvi-target-zlib dvi-target-zlib 41106 maybe-dvi-target-zlib: 41107 @if target-zlib 41108 maybe-dvi-target-zlib: dvi-target-zlib 41109 41110 dvi-target-zlib: \ 41111 configure-target-zlib 41112 @: $(MAKE); $(unstage) 41113 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ 41114 r=`${PWD_COMMAND}`; export r; \ 41115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41116 $(NORMAL_TARGET_EXPORTS) \ 41117 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \ 41118 for flag in $(EXTRA_TARGET_FLAGS); do \ 41119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41120 done; \ 41121 (cd $(TARGET_SUBDIR)/zlib && \ 41122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41124 "RANLIB=$${RANLIB}" \ 41125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41126 dvi) \ 41127 || exit 1 41128 41129 @endif target-zlib 41130 41131 .PHONY: maybe-pdf-target-zlib pdf-target-zlib 41132 maybe-pdf-target-zlib: 41133 @if target-zlib 41134 maybe-pdf-target-zlib: pdf-target-zlib 41135 41136 pdf-target-zlib: \ 41137 configure-target-zlib 41138 @: $(MAKE); $(unstage) 41139 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ 41140 r=`${PWD_COMMAND}`; export r; \ 41141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41142 $(NORMAL_TARGET_EXPORTS) \ 41143 echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \ 41144 for flag in $(EXTRA_TARGET_FLAGS); do \ 41145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41146 done; \ 41147 (cd $(TARGET_SUBDIR)/zlib && \ 41148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41150 "RANLIB=$${RANLIB}" \ 41151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41152 pdf) \ 41153 || exit 1 41154 41155 @endif target-zlib 41156 41157 .PHONY: maybe-html-target-zlib html-target-zlib 41158 maybe-html-target-zlib: 41159 @if target-zlib 41160 maybe-html-target-zlib: html-target-zlib 41161 41162 html-target-zlib: \ 41163 configure-target-zlib 41164 @: $(MAKE); $(unstage) 41165 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ 41166 r=`${PWD_COMMAND}`; export r; \ 41167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41168 $(NORMAL_TARGET_EXPORTS) \ 41169 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \ 41170 for flag in $(EXTRA_TARGET_FLAGS); do \ 41171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41172 done; \ 41173 (cd $(TARGET_SUBDIR)/zlib && \ 41174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41176 "RANLIB=$${RANLIB}" \ 41177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41178 html) \ 41179 || exit 1 41180 41181 @endif target-zlib 41182 41183 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib 41184 maybe-TAGS-target-zlib: 41185 @if target-zlib 41186 maybe-TAGS-target-zlib: TAGS-target-zlib 41187 41188 TAGS-target-zlib: \ 41189 configure-target-zlib 41190 @: $(MAKE); $(unstage) 41191 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ 41192 r=`${PWD_COMMAND}`; export r; \ 41193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41194 $(NORMAL_TARGET_EXPORTS) \ 41195 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \ 41196 for flag in $(EXTRA_TARGET_FLAGS); do \ 41197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41198 done; \ 41199 (cd $(TARGET_SUBDIR)/zlib && \ 41200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41202 "RANLIB=$${RANLIB}" \ 41203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41204 TAGS) \ 41205 || exit 1 41206 41207 @endif target-zlib 41208 41209 .PHONY: maybe-install-info-target-zlib install-info-target-zlib 41210 maybe-install-info-target-zlib: 41211 @if target-zlib 41212 maybe-install-info-target-zlib: install-info-target-zlib 41213 41214 install-info-target-zlib: \ 41215 configure-target-zlib \ 41216 info-target-zlib 41217 @: $(MAKE); $(unstage) 41218 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ 41219 r=`${PWD_COMMAND}`; export r; \ 41220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41221 $(NORMAL_TARGET_EXPORTS) \ 41222 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \ 41223 for flag in $(EXTRA_TARGET_FLAGS); do \ 41224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41225 done; \ 41226 (cd $(TARGET_SUBDIR)/zlib && \ 41227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41229 "RANLIB=$${RANLIB}" \ 41230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41231 install-info) \ 41232 || exit 1 41233 41234 @endif target-zlib 41235 41236 .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib 41237 maybe-install-pdf-target-zlib: 41238 @if target-zlib 41239 maybe-install-pdf-target-zlib: install-pdf-target-zlib 41240 41241 install-pdf-target-zlib: \ 41242 configure-target-zlib \ 41243 pdf-target-zlib 41244 @: $(MAKE); $(unstage) 41245 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ 41246 r=`${PWD_COMMAND}`; export r; \ 41247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41248 $(NORMAL_TARGET_EXPORTS) \ 41249 echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \ 41250 for flag in $(EXTRA_TARGET_FLAGS); do \ 41251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41252 done; \ 41253 (cd $(TARGET_SUBDIR)/zlib && \ 41254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41256 "RANLIB=$${RANLIB}" \ 41257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41258 install-pdf) \ 41259 || exit 1 41260 41261 @endif target-zlib 41262 41263 .PHONY: maybe-install-html-target-zlib install-html-target-zlib 41264 maybe-install-html-target-zlib: 41265 @if target-zlib 41266 maybe-install-html-target-zlib: install-html-target-zlib 41267 41268 install-html-target-zlib: \ 41269 configure-target-zlib \ 41270 html-target-zlib 41271 @: $(MAKE); $(unstage) 41272 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ 41273 r=`${PWD_COMMAND}`; export r; \ 41274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41275 $(NORMAL_TARGET_EXPORTS) \ 41276 echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \ 41277 for flag in $(EXTRA_TARGET_FLAGS); do \ 41278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41279 done; \ 41280 (cd $(TARGET_SUBDIR)/zlib && \ 41281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41283 "RANLIB=$${RANLIB}" \ 41284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41285 install-html) \ 41286 || exit 1 41287 41288 @endif target-zlib 41289 41290 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib 41291 maybe-installcheck-target-zlib: 41292 @if target-zlib 41293 maybe-installcheck-target-zlib: installcheck-target-zlib 41294 41295 installcheck-target-zlib: \ 41296 configure-target-zlib 41297 @: $(MAKE); $(unstage) 41298 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ 41299 r=`${PWD_COMMAND}`; export r; \ 41300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41301 $(NORMAL_TARGET_EXPORTS) \ 41302 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \ 41303 for flag in $(EXTRA_TARGET_FLAGS); do \ 41304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41305 done; \ 41306 (cd $(TARGET_SUBDIR)/zlib && \ 41307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41309 "RANLIB=$${RANLIB}" \ 41310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41311 installcheck) \ 41312 || exit 1 41313 41314 @endif target-zlib 41315 41316 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib 41317 maybe-mostlyclean-target-zlib: 41318 @if target-zlib 41319 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib 41320 41321 mostlyclean-target-zlib: 41322 @: $(MAKE); $(unstage) 41323 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ 41324 r=`${PWD_COMMAND}`; export r; \ 41325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41326 $(NORMAL_TARGET_EXPORTS) \ 41327 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \ 41328 for flag in $(EXTRA_TARGET_FLAGS); do \ 41329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41330 done; \ 41331 (cd $(TARGET_SUBDIR)/zlib && \ 41332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41334 "RANLIB=$${RANLIB}" \ 41335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41336 mostlyclean) \ 41337 || exit 1 41338 41339 @endif target-zlib 41340 41341 .PHONY: maybe-clean-target-zlib clean-target-zlib 41342 maybe-clean-target-zlib: 41343 @if target-zlib 41344 maybe-clean-target-zlib: clean-target-zlib 41345 41346 clean-target-zlib: 41347 @: $(MAKE); $(unstage) 41348 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ 41349 r=`${PWD_COMMAND}`; export r; \ 41350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41351 $(NORMAL_TARGET_EXPORTS) \ 41352 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \ 41353 for flag in $(EXTRA_TARGET_FLAGS); do \ 41354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41355 done; \ 41356 (cd $(TARGET_SUBDIR)/zlib && \ 41357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41359 "RANLIB=$${RANLIB}" \ 41360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41361 clean) \ 41362 || exit 1 41363 41364 @endif target-zlib 41365 41366 .PHONY: maybe-distclean-target-zlib distclean-target-zlib 41367 maybe-distclean-target-zlib: 41368 @if target-zlib 41369 maybe-distclean-target-zlib: distclean-target-zlib 41370 41371 distclean-target-zlib: 41372 @: $(MAKE); $(unstage) 41373 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ 41374 r=`${PWD_COMMAND}`; export r; \ 41375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41376 $(NORMAL_TARGET_EXPORTS) \ 41377 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \ 41378 for flag in $(EXTRA_TARGET_FLAGS); do \ 41379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41380 done; \ 41381 (cd $(TARGET_SUBDIR)/zlib && \ 41382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41384 "RANLIB=$${RANLIB}" \ 41385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41386 distclean) \ 41387 || exit 1 41388 41389 @endif target-zlib 41390 41391 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib 41392 maybe-maintainer-clean-target-zlib: 41393 @if target-zlib 41394 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib 41395 41396 maintainer-clean-target-zlib: 41397 @: $(MAKE); $(unstage) 41398 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \ 41399 r=`${PWD_COMMAND}`; export r; \ 41400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41401 $(NORMAL_TARGET_EXPORTS) \ 41402 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \ 41403 for flag in $(EXTRA_TARGET_FLAGS); do \ 41404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41405 done; \ 41406 (cd $(TARGET_SUBDIR)/zlib && \ 41407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41409 "RANLIB=$${RANLIB}" \ 41410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41411 maintainer-clean) \ 41412 || exit 1 41413 41414 @endif target-zlib 41415 41416 41417 41418 41419 41420 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc 41421 maybe-configure-target-boehm-gc: 41422 @if gcc-bootstrap 41423 configure-target-boehm-gc: stage_current 41424 @endif gcc-bootstrap 41425 @if target-boehm-gc 41426 maybe-configure-target-boehm-gc: configure-target-boehm-gc 41427 configure-target-boehm-gc: 41428 @: $(MAKE); $(unstage) 41429 @r=`${PWD_COMMAND}`; export r; \ 41430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41431 echo "Checking multilib configuration for boehm-gc..."; \ 41432 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \ 41433 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \ 41434 if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \ 41435 if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \ 41436 rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \ 41437 else \ 41438 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \ 41439 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \ 41440 fi; \ 41441 else \ 41442 mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \ 41443 fi; \ 41444 test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \ 41445 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \ 41446 $(NORMAL_TARGET_EXPORTS) \ 41447 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \ 41448 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \ 41449 case $(srcdir) in \ 41450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 41451 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \ 41452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 41453 esac; \ 41454 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \ 41455 libsrcdir="$$s/boehm-gc"; \ 41456 rm -f no-such-file || : ; \ 41457 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 41458 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 41459 --target=${target_alias} $${srcdiroption} \ 41460 || exit 1 41461 @endif target-boehm-gc 41462 41463 41464 41465 41466 41467 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc 41468 maybe-all-target-boehm-gc: 41469 @if gcc-bootstrap 41470 all-target-boehm-gc: stage_current 41471 @endif gcc-bootstrap 41472 @if target-boehm-gc 41473 TARGET-target-boehm-gc=all 41474 maybe-all-target-boehm-gc: all-target-boehm-gc 41475 all-target-boehm-gc: configure-target-boehm-gc 41476 @: $(MAKE); $(unstage) 41477 @r=`${PWD_COMMAND}`; export r; \ 41478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41479 $(NORMAL_TARGET_EXPORTS) \ 41480 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41481 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 41482 $(TARGET-target-boehm-gc)) 41483 @endif target-boehm-gc 41484 41485 41486 41487 41488 41489 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc 41490 maybe-check-target-boehm-gc: 41491 @if target-boehm-gc 41492 maybe-check-target-boehm-gc: check-target-boehm-gc 41493 41494 check-target-boehm-gc: 41495 @: $(MAKE); $(unstage) 41496 @r=`${PWD_COMMAND}`; export r; \ 41497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41498 $(NORMAL_TARGET_EXPORTS) \ 41499 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41500 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 41501 41502 @endif target-boehm-gc 41503 41504 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc 41505 maybe-install-target-boehm-gc: 41506 @if target-boehm-gc 41507 maybe-install-target-boehm-gc: install-target-boehm-gc 41508 41509 install-target-boehm-gc: installdirs 41510 @: $(MAKE); $(unstage) 41511 @r=`${PWD_COMMAND}`; export r; \ 41512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41513 $(NORMAL_TARGET_EXPORTS) \ 41514 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41515 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 41516 41517 @endif target-boehm-gc 41518 41519 .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc 41520 maybe-install-strip-target-boehm-gc: 41521 @if target-boehm-gc 41522 maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc 41523 41524 install-strip-target-boehm-gc: installdirs 41525 @: $(MAKE); $(unstage) 41526 @r=`${PWD_COMMAND}`; export r; \ 41527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41528 $(NORMAL_TARGET_EXPORTS) \ 41529 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41530 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 41531 41532 @endif target-boehm-gc 41533 41534 # Other targets (info, dvi, pdf, etc.) 41535 41536 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc 41537 maybe-info-target-boehm-gc: 41538 @if target-boehm-gc 41539 maybe-info-target-boehm-gc: info-target-boehm-gc 41540 41541 info-target-boehm-gc: \ 41542 configure-target-boehm-gc 41543 @: $(MAKE); $(unstage) 41544 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ 41545 r=`${PWD_COMMAND}`; export r; \ 41546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41547 $(NORMAL_TARGET_EXPORTS) \ 41548 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \ 41549 for flag in $(EXTRA_TARGET_FLAGS); do \ 41550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41551 done; \ 41552 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41555 "RANLIB=$${RANLIB}" \ 41556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41557 info) \ 41558 || exit 1 41559 41560 @endif target-boehm-gc 41561 41562 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc 41563 maybe-dvi-target-boehm-gc: 41564 @if target-boehm-gc 41565 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc 41566 41567 dvi-target-boehm-gc: \ 41568 configure-target-boehm-gc 41569 @: $(MAKE); $(unstage) 41570 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ 41571 r=`${PWD_COMMAND}`; export r; \ 41572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41573 $(NORMAL_TARGET_EXPORTS) \ 41574 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \ 41575 for flag in $(EXTRA_TARGET_FLAGS); do \ 41576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41577 done; \ 41578 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41581 "RANLIB=$${RANLIB}" \ 41582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41583 dvi) \ 41584 || exit 1 41585 41586 @endif target-boehm-gc 41587 41588 .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc 41589 maybe-pdf-target-boehm-gc: 41590 @if target-boehm-gc 41591 maybe-pdf-target-boehm-gc: pdf-target-boehm-gc 41592 41593 pdf-target-boehm-gc: \ 41594 configure-target-boehm-gc 41595 @: $(MAKE); $(unstage) 41596 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ 41597 r=`${PWD_COMMAND}`; export r; \ 41598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41599 $(NORMAL_TARGET_EXPORTS) \ 41600 echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \ 41601 for flag in $(EXTRA_TARGET_FLAGS); do \ 41602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41603 done; \ 41604 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41607 "RANLIB=$${RANLIB}" \ 41608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41609 pdf) \ 41610 || exit 1 41611 41612 @endif target-boehm-gc 41613 41614 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc 41615 maybe-html-target-boehm-gc: 41616 @if target-boehm-gc 41617 maybe-html-target-boehm-gc: html-target-boehm-gc 41618 41619 html-target-boehm-gc: \ 41620 configure-target-boehm-gc 41621 @: $(MAKE); $(unstage) 41622 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ 41623 r=`${PWD_COMMAND}`; export r; \ 41624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41625 $(NORMAL_TARGET_EXPORTS) \ 41626 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \ 41627 for flag in $(EXTRA_TARGET_FLAGS); do \ 41628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41629 done; \ 41630 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41633 "RANLIB=$${RANLIB}" \ 41634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41635 html) \ 41636 || exit 1 41637 41638 @endif target-boehm-gc 41639 41640 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc 41641 maybe-TAGS-target-boehm-gc: 41642 @if target-boehm-gc 41643 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc 41644 41645 TAGS-target-boehm-gc: \ 41646 configure-target-boehm-gc 41647 @: $(MAKE); $(unstage) 41648 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ 41649 r=`${PWD_COMMAND}`; export r; \ 41650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41651 $(NORMAL_TARGET_EXPORTS) \ 41652 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \ 41653 for flag in $(EXTRA_TARGET_FLAGS); do \ 41654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41655 done; \ 41656 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41659 "RANLIB=$${RANLIB}" \ 41660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41661 TAGS) \ 41662 || exit 1 41663 41664 @endif target-boehm-gc 41665 41666 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc 41667 maybe-install-info-target-boehm-gc: 41668 @if target-boehm-gc 41669 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc 41670 41671 install-info-target-boehm-gc: \ 41672 configure-target-boehm-gc \ 41673 info-target-boehm-gc 41674 @: $(MAKE); $(unstage) 41675 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ 41676 r=`${PWD_COMMAND}`; export r; \ 41677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41678 $(NORMAL_TARGET_EXPORTS) \ 41679 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \ 41680 for flag in $(EXTRA_TARGET_FLAGS); do \ 41681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41682 done; \ 41683 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41686 "RANLIB=$${RANLIB}" \ 41687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41688 install-info) \ 41689 || exit 1 41690 41691 @endif target-boehm-gc 41692 41693 .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc 41694 maybe-install-pdf-target-boehm-gc: 41695 @if target-boehm-gc 41696 maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc 41697 41698 install-pdf-target-boehm-gc: \ 41699 configure-target-boehm-gc \ 41700 pdf-target-boehm-gc 41701 @: $(MAKE); $(unstage) 41702 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ 41703 r=`${PWD_COMMAND}`; export r; \ 41704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41705 $(NORMAL_TARGET_EXPORTS) \ 41706 echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \ 41707 for flag in $(EXTRA_TARGET_FLAGS); do \ 41708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41709 done; \ 41710 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41713 "RANLIB=$${RANLIB}" \ 41714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41715 install-pdf) \ 41716 || exit 1 41717 41718 @endif target-boehm-gc 41719 41720 .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc 41721 maybe-install-html-target-boehm-gc: 41722 @if target-boehm-gc 41723 maybe-install-html-target-boehm-gc: install-html-target-boehm-gc 41724 41725 install-html-target-boehm-gc: \ 41726 configure-target-boehm-gc \ 41727 html-target-boehm-gc 41728 @: $(MAKE); $(unstage) 41729 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ 41730 r=`${PWD_COMMAND}`; export r; \ 41731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41732 $(NORMAL_TARGET_EXPORTS) \ 41733 echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \ 41734 for flag in $(EXTRA_TARGET_FLAGS); do \ 41735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41736 done; \ 41737 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41740 "RANLIB=$${RANLIB}" \ 41741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41742 install-html) \ 41743 || exit 1 41744 41745 @endif target-boehm-gc 41746 41747 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc 41748 maybe-installcheck-target-boehm-gc: 41749 @if target-boehm-gc 41750 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc 41751 41752 installcheck-target-boehm-gc: \ 41753 configure-target-boehm-gc 41754 @: $(MAKE); $(unstage) 41755 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ 41756 r=`${PWD_COMMAND}`; export r; \ 41757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41758 $(NORMAL_TARGET_EXPORTS) \ 41759 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \ 41760 for flag in $(EXTRA_TARGET_FLAGS); do \ 41761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41762 done; \ 41763 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41766 "RANLIB=$${RANLIB}" \ 41767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41768 installcheck) \ 41769 || exit 1 41770 41771 @endif target-boehm-gc 41772 41773 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc 41774 maybe-mostlyclean-target-boehm-gc: 41775 @if target-boehm-gc 41776 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc 41777 41778 mostlyclean-target-boehm-gc: 41779 @: $(MAKE); $(unstage) 41780 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ 41781 r=`${PWD_COMMAND}`; export r; \ 41782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41783 $(NORMAL_TARGET_EXPORTS) \ 41784 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \ 41785 for flag in $(EXTRA_TARGET_FLAGS); do \ 41786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41787 done; \ 41788 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41791 "RANLIB=$${RANLIB}" \ 41792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41793 mostlyclean) \ 41794 || exit 1 41795 41796 @endif target-boehm-gc 41797 41798 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc 41799 maybe-clean-target-boehm-gc: 41800 @if target-boehm-gc 41801 maybe-clean-target-boehm-gc: clean-target-boehm-gc 41802 41803 clean-target-boehm-gc: 41804 @: $(MAKE); $(unstage) 41805 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ 41806 r=`${PWD_COMMAND}`; export r; \ 41807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41808 $(NORMAL_TARGET_EXPORTS) \ 41809 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \ 41810 for flag in $(EXTRA_TARGET_FLAGS); do \ 41811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41812 done; \ 41813 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41816 "RANLIB=$${RANLIB}" \ 41817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41818 clean) \ 41819 || exit 1 41820 41821 @endif target-boehm-gc 41822 41823 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc 41824 maybe-distclean-target-boehm-gc: 41825 @if target-boehm-gc 41826 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc 41827 41828 distclean-target-boehm-gc: 41829 @: $(MAKE); $(unstage) 41830 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ 41831 r=`${PWD_COMMAND}`; export r; \ 41832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41833 $(NORMAL_TARGET_EXPORTS) \ 41834 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \ 41835 for flag in $(EXTRA_TARGET_FLAGS); do \ 41836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41837 done; \ 41838 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41841 "RANLIB=$${RANLIB}" \ 41842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41843 distclean) \ 41844 || exit 1 41845 41846 @endif target-boehm-gc 41847 41848 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc 41849 maybe-maintainer-clean-target-boehm-gc: 41850 @if target-boehm-gc 41851 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc 41852 41853 maintainer-clean-target-boehm-gc: 41854 @: $(MAKE); $(unstage) 41855 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \ 41856 r=`${PWD_COMMAND}`; export r; \ 41857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41858 $(NORMAL_TARGET_EXPORTS) \ 41859 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \ 41860 for flag in $(EXTRA_TARGET_FLAGS); do \ 41861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 41862 done; \ 41863 (cd $(TARGET_SUBDIR)/boehm-gc && \ 41864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 41865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 41866 "RANLIB=$${RANLIB}" \ 41867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 41868 maintainer-clean) \ 41869 || exit 1 41870 41871 @endif target-boehm-gc 41872 41873 41874 41875 41876 41877 .PHONY: configure-target-rda maybe-configure-target-rda 41878 maybe-configure-target-rda: 41879 @if gcc-bootstrap 41880 configure-target-rda: stage_current 41881 @endif gcc-bootstrap 41882 @if target-rda 41883 maybe-configure-target-rda: configure-target-rda 41884 configure-target-rda: 41885 @: $(MAKE); $(unstage) 41886 @r=`${PWD_COMMAND}`; export r; \ 41887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41888 echo "Checking multilib configuration for rda..."; \ 41889 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \ 41890 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \ 41891 if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \ 41892 if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \ 41893 rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \ 41894 else \ 41895 rm -f $(TARGET_SUBDIR)/rda/Makefile; \ 41896 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \ 41897 fi; \ 41898 else \ 41899 mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \ 41900 fi; \ 41901 test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \ 41902 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \ 41903 $(NORMAL_TARGET_EXPORTS) \ 41904 echo Configuring in $(TARGET_SUBDIR)/rda; \ 41905 cd "$(TARGET_SUBDIR)/rda" || exit 1; \ 41906 case $(srcdir) in \ 41907 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 41908 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \ 41909 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 41910 esac; \ 41911 srcdiroption="--srcdir=$${topdir}/rda"; \ 41912 libsrcdir="$$s/rda"; \ 41913 rm -f no-such-file || : ; \ 41914 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 41915 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 41916 --target=${target_alias} $${srcdiroption} \ 41917 || exit 1 41918 @endif target-rda 41919 41920 41921 41922 41923 41924 .PHONY: all-target-rda maybe-all-target-rda 41925 maybe-all-target-rda: 41926 @if gcc-bootstrap 41927 all-target-rda: stage_current 41928 @endif gcc-bootstrap 41929 @if target-rda 41930 TARGET-target-rda=all 41931 maybe-all-target-rda: all-target-rda 41932 all-target-rda: configure-target-rda 41933 @: $(MAKE); $(unstage) 41934 @r=`${PWD_COMMAND}`; export r; \ 41935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41936 $(NORMAL_TARGET_EXPORTS) \ 41937 (cd $(TARGET_SUBDIR)/rda && \ 41938 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 41939 $(TARGET-target-rda)) 41940 @endif target-rda 41941 41942 41943 41944 41945 41946 .PHONY: check-target-rda maybe-check-target-rda 41947 maybe-check-target-rda: 41948 @if target-rda 41949 maybe-check-target-rda: check-target-rda 41950 41951 check-target-rda: 41952 @: $(MAKE); $(unstage) 41953 @r=`${PWD_COMMAND}`; export r; \ 41954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41955 $(NORMAL_TARGET_EXPORTS) \ 41956 (cd $(TARGET_SUBDIR)/rda && \ 41957 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 41958 41959 @endif target-rda 41960 41961 .PHONY: install-target-rda maybe-install-target-rda 41962 maybe-install-target-rda: 41963 @if target-rda 41964 maybe-install-target-rda: install-target-rda 41965 41966 install-target-rda: installdirs 41967 @: $(MAKE); $(unstage) 41968 @r=`${PWD_COMMAND}`; export r; \ 41969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41970 $(NORMAL_TARGET_EXPORTS) \ 41971 (cd $(TARGET_SUBDIR)/rda && \ 41972 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 41973 41974 @endif target-rda 41975 41976 .PHONY: install-strip-target-rda maybe-install-strip-target-rda 41977 maybe-install-strip-target-rda: 41978 @if target-rda 41979 maybe-install-strip-target-rda: install-strip-target-rda 41980 41981 install-strip-target-rda: installdirs 41982 @: $(MAKE); $(unstage) 41983 @r=`${PWD_COMMAND}`; export r; \ 41984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 41985 $(NORMAL_TARGET_EXPORTS) \ 41986 (cd $(TARGET_SUBDIR)/rda && \ 41987 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 41988 41989 @endif target-rda 41990 41991 # Other targets (info, dvi, pdf, etc.) 41992 41993 .PHONY: maybe-info-target-rda info-target-rda 41994 maybe-info-target-rda: 41995 @if target-rda 41996 maybe-info-target-rda: info-target-rda 41997 41998 info-target-rda: \ 41999 configure-target-rda 42000 @: $(MAKE); $(unstage) 42001 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ 42002 r=`${PWD_COMMAND}`; export r; \ 42003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42004 $(NORMAL_TARGET_EXPORTS) \ 42005 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \ 42006 for flag in $(EXTRA_TARGET_FLAGS); do \ 42007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42008 done; \ 42009 (cd $(TARGET_SUBDIR)/rda && \ 42010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42012 "RANLIB=$${RANLIB}" \ 42013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42014 info) \ 42015 || exit 1 42016 42017 @endif target-rda 42018 42019 .PHONY: maybe-dvi-target-rda dvi-target-rda 42020 maybe-dvi-target-rda: 42021 @if target-rda 42022 maybe-dvi-target-rda: dvi-target-rda 42023 42024 dvi-target-rda: \ 42025 configure-target-rda 42026 @: $(MAKE); $(unstage) 42027 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ 42028 r=`${PWD_COMMAND}`; export r; \ 42029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42030 $(NORMAL_TARGET_EXPORTS) \ 42031 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \ 42032 for flag in $(EXTRA_TARGET_FLAGS); do \ 42033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42034 done; \ 42035 (cd $(TARGET_SUBDIR)/rda && \ 42036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42038 "RANLIB=$${RANLIB}" \ 42039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42040 dvi) \ 42041 || exit 1 42042 42043 @endif target-rda 42044 42045 .PHONY: maybe-pdf-target-rda pdf-target-rda 42046 maybe-pdf-target-rda: 42047 @if target-rda 42048 maybe-pdf-target-rda: pdf-target-rda 42049 42050 pdf-target-rda: \ 42051 configure-target-rda 42052 @: $(MAKE); $(unstage) 42053 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ 42054 r=`${PWD_COMMAND}`; export r; \ 42055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42056 $(NORMAL_TARGET_EXPORTS) \ 42057 echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \ 42058 for flag in $(EXTRA_TARGET_FLAGS); do \ 42059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42060 done; \ 42061 (cd $(TARGET_SUBDIR)/rda && \ 42062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42064 "RANLIB=$${RANLIB}" \ 42065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42066 pdf) \ 42067 || exit 1 42068 42069 @endif target-rda 42070 42071 .PHONY: maybe-html-target-rda html-target-rda 42072 maybe-html-target-rda: 42073 @if target-rda 42074 maybe-html-target-rda: html-target-rda 42075 42076 html-target-rda: \ 42077 configure-target-rda 42078 @: $(MAKE); $(unstage) 42079 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ 42080 r=`${PWD_COMMAND}`; export r; \ 42081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42082 $(NORMAL_TARGET_EXPORTS) \ 42083 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \ 42084 for flag in $(EXTRA_TARGET_FLAGS); do \ 42085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42086 done; \ 42087 (cd $(TARGET_SUBDIR)/rda && \ 42088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42090 "RANLIB=$${RANLIB}" \ 42091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42092 html) \ 42093 || exit 1 42094 42095 @endif target-rda 42096 42097 .PHONY: maybe-TAGS-target-rda TAGS-target-rda 42098 maybe-TAGS-target-rda: 42099 @if target-rda 42100 maybe-TAGS-target-rda: TAGS-target-rda 42101 42102 TAGS-target-rda: \ 42103 configure-target-rda 42104 @: $(MAKE); $(unstage) 42105 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ 42106 r=`${PWD_COMMAND}`; export r; \ 42107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42108 $(NORMAL_TARGET_EXPORTS) \ 42109 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \ 42110 for flag in $(EXTRA_TARGET_FLAGS); do \ 42111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42112 done; \ 42113 (cd $(TARGET_SUBDIR)/rda && \ 42114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42116 "RANLIB=$${RANLIB}" \ 42117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42118 TAGS) \ 42119 || exit 1 42120 42121 @endif target-rda 42122 42123 .PHONY: maybe-install-info-target-rda install-info-target-rda 42124 maybe-install-info-target-rda: 42125 @if target-rda 42126 maybe-install-info-target-rda: install-info-target-rda 42127 42128 install-info-target-rda: \ 42129 configure-target-rda \ 42130 info-target-rda 42131 @: $(MAKE); $(unstage) 42132 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ 42133 r=`${PWD_COMMAND}`; export r; \ 42134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42135 $(NORMAL_TARGET_EXPORTS) \ 42136 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \ 42137 for flag in $(EXTRA_TARGET_FLAGS); do \ 42138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42139 done; \ 42140 (cd $(TARGET_SUBDIR)/rda && \ 42141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42143 "RANLIB=$${RANLIB}" \ 42144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42145 install-info) \ 42146 || exit 1 42147 42148 @endif target-rda 42149 42150 .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda 42151 maybe-install-pdf-target-rda: 42152 @if target-rda 42153 maybe-install-pdf-target-rda: install-pdf-target-rda 42154 42155 install-pdf-target-rda: \ 42156 configure-target-rda \ 42157 pdf-target-rda 42158 @: $(MAKE); $(unstage) 42159 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ 42160 r=`${PWD_COMMAND}`; export r; \ 42161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42162 $(NORMAL_TARGET_EXPORTS) \ 42163 echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \ 42164 for flag in $(EXTRA_TARGET_FLAGS); do \ 42165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42166 done; \ 42167 (cd $(TARGET_SUBDIR)/rda && \ 42168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42170 "RANLIB=$${RANLIB}" \ 42171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42172 install-pdf) \ 42173 || exit 1 42174 42175 @endif target-rda 42176 42177 .PHONY: maybe-install-html-target-rda install-html-target-rda 42178 maybe-install-html-target-rda: 42179 @if target-rda 42180 maybe-install-html-target-rda: install-html-target-rda 42181 42182 install-html-target-rda: \ 42183 configure-target-rda \ 42184 html-target-rda 42185 @: $(MAKE); $(unstage) 42186 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ 42187 r=`${PWD_COMMAND}`; export r; \ 42188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42189 $(NORMAL_TARGET_EXPORTS) \ 42190 echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \ 42191 for flag in $(EXTRA_TARGET_FLAGS); do \ 42192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42193 done; \ 42194 (cd $(TARGET_SUBDIR)/rda && \ 42195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42197 "RANLIB=$${RANLIB}" \ 42198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42199 install-html) \ 42200 || exit 1 42201 42202 @endif target-rda 42203 42204 .PHONY: maybe-installcheck-target-rda installcheck-target-rda 42205 maybe-installcheck-target-rda: 42206 @if target-rda 42207 maybe-installcheck-target-rda: installcheck-target-rda 42208 42209 installcheck-target-rda: \ 42210 configure-target-rda 42211 @: $(MAKE); $(unstage) 42212 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ 42213 r=`${PWD_COMMAND}`; export r; \ 42214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42215 $(NORMAL_TARGET_EXPORTS) \ 42216 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \ 42217 for flag in $(EXTRA_TARGET_FLAGS); do \ 42218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42219 done; \ 42220 (cd $(TARGET_SUBDIR)/rda && \ 42221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42223 "RANLIB=$${RANLIB}" \ 42224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42225 installcheck) \ 42226 || exit 1 42227 42228 @endif target-rda 42229 42230 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda 42231 maybe-mostlyclean-target-rda: 42232 @if target-rda 42233 maybe-mostlyclean-target-rda: mostlyclean-target-rda 42234 42235 mostlyclean-target-rda: 42236 @: $(MAKE); $(unstage) 42237 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ 42238 r=`${PWD_COMMAND}`; export r; \ 42239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42240 $(NORMAL_TARGET_EXPORTS) \ 42241 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \ 42242 for flag in $(EXTRA_TARGET_FLAGS); do \ 42243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42244 done; \ 42245 (cd $(TARGET_SUBDIR)/rda && \ 42246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42248 "RANLIB=$${RANLIB}" \ 42249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42250 mostlyclean) \ 42251 || exit 1 42252 42253 @endif target-rda 42254 42255 .PHONY: maybe-clean-target-rda clean-target-rda 42256 maybe-clean-target-rda: 42257 @if target-rda 42258 maybe-clean-target-rda: clean-target-rda 42259 42260 clean-target-rda: 42261 @: $(MAKE); $(unstage) 42262 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ 42263 r=`${PWD_COMMAND}`; export r; \ 42264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42265 $(NORMAL_TARGET_EXPORTS) \ 42266 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \ 42267 for flag in $(EXTRA_TARGET_FLAGS); do \ 42268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42269 done; \ 42270 (cd $(TARGET_SUBDIR)/rda && \ 42271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42273 "RANLIB=$${RANLIB}" \ 42274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42275 clean) \ 42276 || exit 1 42277 42278 @endif target-rda 42279 42280 .PHONY: maybe-distclean-target-rda distclean-target-rda 42281 maybe-distclean-target-rda: 42282 @if target-rda 42283 maybe-distclean-target-rda: distclean-target-rda 42284 42285 distclean-target-rda: 42286 @: $(MAKE); $(unstage) 42287 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ 42288 r=`${PWD_COMMAND}`; export r; \ 42289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42290 $(NORMAL_TARGET_EXPORTS) \ 42291 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \ 42292 for flag in $(EXTRA_TARGET_FLAGS); do \ 42293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42294 done; \ 42295 (cd $(TARGET_SUBDIR)/rda && \ 42296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42298 "RANLIB=$${RANLIB}" \ 42299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42300 distclean) \ 42301 || exit 1 42302 42303 @endif target-rda 42304 42305 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda 42306 maybe-maintainer-clean-target-rda: 42307 @if target-rda 42308 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda 42309 42310 maintainer-clean-target-rda: 42311 @: $(MAKE); $(unstage) 42312 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \ 42313 r=`${PWD_COMMAND}`; export r; \ 42314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42315 $(NORMAL_TARGET_EXPORTS) \ 42316 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \ 42317 for flag in $(EXTRA_TARGET_FLAGS); do \ 42318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42319 done; \ 42320 (cd $(TARGET_SUBDIR)/rda && \ 42321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42323 "RANLIB=$${RANLIB}" \ 42324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42325 maintainer-clean) \ 42326 || exit 1 42327 42328 @endif target-rda 42329 42330 42331 42332 42333 42334 .PHONY: configure-target-libada maybe-configure-target-libada 42335 maybe-configure-target-libada: 42336 @if gcc-bootstrap 42337 configure-target-libada: stage_current 42338 @endif gcc-bootstrap 42339 @if target-libada 42340 maybe-configure-target-libada: configure-target-libada 42341 configure-target-libada: 42342 @: $(MAKE); $(unstage) 42343 @r=`${PWD_COMMAND}`; export r; \ 42344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42345 echo "Checking multilib configuration for libada..."; \ 42346 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \ 42347 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \ 42348 if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \ 42349 if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \ 42350 rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \ 42351 else \ 42352 rm -f $(TARGET_SUBDIR)/libada/Makefile; \ 42353 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \ 42354 fi; \ 42355 else \ 42356 mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \ 42357 fi; \ 42358 test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \ 42359 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \ 42360 $(NORMAL_TARGET_EXPORTS) \ 42361 echo Configuring in $(TARGET_SUBDIR)/libada; \ 42362 cd "$(TARGET_SUBDIR)/libada" || exit 1; \ 42363 case $(srcdir) in \ 42364 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 42365 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \ 42366 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 42367 esac; \ 42368 srcdiroption="--srcdir=$${topdir}/libada"; \ 42369 libsrcdir="$$s/libada"; \ 42370 rm -f no-such-file || : ; \ 42371 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 42372 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 42373 --target=${target_alias} $${srcdiroption} \ 42374 || exit 1 42375 @endif target-libada 42376 42377 42378 42379 42380 42381 .PHONY: all-target-libada maybe-all-target-libada 42382 maybe-all-target-libada: 42383 @if gcc-bootstrap 42384 all-target-libada: stage_current 42385 @endif gcc-bootstrap 42386 @if target-libada 42387 TARGET-target-libada=all 42388 maybe-all-target-libada: all-target-libada 42389 all-target-libada: configure-target-libada 42390 @: $(MAKE); $(unstage) 42391 @r=`${PWD_COMMAND}`; export r; \ 42392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42393 $(NORMAL_TARGET_EXPORTS) \ 42394 (cd $(TARGET_SUBDIR)/libada && \ 42395 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 42396 $(TARGET-target-libada)) 42397 @endif target-libada 42398 42399 42400 42401 42402 42403 .PHONY: check-target-libada maybe-check-target-libada 42404 maybe-check-target-libada: 42405 @if target-libada 42406 maybe-check-target-libada: check-target-libada 42407 42408 check-target-libada: 42409 @: $(MAKE); $(unstage) 42410 @r=`${PWD_COMMAND}`; export r; \ 42411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42412 $(NORMAL_TARGET_EXPORTS) \ 42413 (cd $(TARGET_SUBDIR)/libada && \ 42414 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 42415 42416 @endif target-libada 42417 42418 .PHONY: install-target-libada maybe-install-target-libada 42419 maybe-install-target-libada: 42420 @if target-libada 42421 maybe-install-target-libada: install-target-libada 42422 42423 install-target-libada: installdirs 42424 @: $(MAKE); $(unstage) 42425 @r=`${PWD_COMMAND}`; export r; \ 42426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42427 $(NORMAL_TARGET_EXPORTS) \ 42428 (cd $(TARGET_SUBDIR)/libada && \ 42429 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 42430 42431 @endif target-libada 42432 42433 .PHONY: install-strip-target-libada maybe-install-strip-target-libada 42434 maybe-install-strip-target-libada: 42435 @if target-libada 42436 maybe-install-strip-target-libada: install-strip-target-libada 42437 42438 install-strip-target-libada: installdirs 42439 @: $(MAKE); $(unstage) 42440 @r=`${PWD_COMMAND}`; export r; \ 42441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42442 $(NORMAL_TARGET_EXPORTS) \ 42443 (cd $(TARGET_SUBDIR)/libada && \ 42444 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 42445 42446 @endif target-libada 42447 42448 # Other targets (info, dvi, pdf, etc.) 42449 42450 .PHONY: maybe-info-target-libada info-target-libada 42451 maybe-info-target-libada: 42452 @if target-libada 42453 maybe-info-target-libada: info-target-libada 42454 42455 info-target-libada: \ 42456 configure-target-libada 42457 @: $(MAKE); $(unstage) 42458 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ 42459 r=`${PWD_COMMAND}`; export r; \ 42460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42461 $(NORMAL_TARGET_EXPORTS) \ 42462 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \ 42463 for flag in $(EXTRA_TARGET_FLAGS); do \ 42464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42465 done; \ 42466 (cd $(TARGET_SUBDIR)/libada && \ 42467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42469 "RANLIB=$${RANLIB}" \ 42470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42471 info) \ 42472 || exit 1 42473 42474 @endif target-libada 42475 42476 .PHONY: maybe-dvi-target-libada dvi-target-libada 42477 maybe-dvi-target-libada: 42478 @if target-libada 42479 maybe-dvi-target-libada: dvi-target-libada 42480 42481 dvi-target-libada: \ 42482 configure-target-libada 42483 @: $(MAKE); $(unstage) 42484 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ 42485 r=`${PWD_COMMAND}`; export r; \ 42486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42487 $(NORMAL_TARGET_EXPORTS) \ 42488 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \ 42489 for flag in $(EXTRA_TARGET_FLAGS); do \ 42490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42491 done; \ 42492 (cd $(TARGET_SUBDIR)/libada && \ 42493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42495 "RANLIB=$${RANLIB}" \ 42496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42497 dvi) \ 42498 || exit 1 42499 42500 @endif target-libada 42501 42502 .PHONY: maybe-pdf-target-libada pdf-target-libada 42503 maybe-pdf-target-libada: 42504 @if target-libada 42505 maybe-pdf-target-libada: pdf-target-libada 42506 42507 pdf-target-libada: \ 42508 configure-target-libada 42509 @: $(MAKE); $(unstage) 42510 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ 42511 r=`${PWD_COMMAND}`; export r; \ 42512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42513 $(NORMAL_TARGET_EXPORTS) \ 42514 echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \ 42515 for flag in $(EXTRA_TARGET_FLAGS); do \ 42516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42517 done; \ 42518 (cd $(TARGET_SUBDIR)/libada && \ 42519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42521 "RANLIB=$${RANLIB}" \ 42522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42523 pdf) \ 42524 || exit 1 42525 42526 @endif target-libada 42527 42528 .PHONY: maybe-html-target-libada html-target-libada 42529 maybe-html-target-libada: 42530 @if target-libada 42531 maybe-html-target-libada: html-target-libada 42532 42533 html-target-libada: \ 42534 configure-target-libada 42535 @: $(MAKE); $(unstage) 42536 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ 42537 r=`${PWD_COMMAND}`; export r; \ 42538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42539 $(NORMAL_TARGET_EXPORTS) \ 42540 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \ 42541 for flag in $(EXTRA_TARGET_FLAGS); do \ 42542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42543 done; \ 42544 (cd $(TARGET_SUBDIR)/libada && \ 42545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42547 "RANLIB=$${RANLIB}" \ 42548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42549 html) \ 42550 || exit 1 42551 42552 @endif target-libada 42553 42554 .PHONY: maybe-TAGS-target-libada TAGS-target-libada 42555 maybe-TAGS-target-libada: 42556 @if target-libada 42557 maybe-TAGS-target-libada: TAGS-target-libada 42558 42559 TAGS-target-libada: \ 42560 configure-target-libada 42561 @: $(MAKE); $(unstage) 42562 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ 42563 r=`${PWD_COMMAND}`; export r; \ 42564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42565 $(NORMAL_TARGET_EXPORTS) \ 42566 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \ 42567 for flag in $(EXTRA_TARGET_FLAGS); do \ 42568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42569 done; \ 42570 (cd $(TARGET_SUBDIR)/libada && \ 42571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42573 "RANLIB=$${RANLIB}" \ 42574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42575 TAGS) \ 42576 || exit 1 42577 42578 @endif target-libada 42579 42580 .PHONY: maybe-install-info-target-libada install-info-target-libada 42581 maybe-install-info-target-libada: 42582 @if target-libada 42583 maybe-install-info-target-libada: install-info-target-libada 42584 42585 install-info-target-libada: \ 42586 configure-target-libada \ 42587 info-target-libada 42588 @: $(MAKE); $(unstage) 42589 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ 42590 r=`${PWD_COMMAND}`; export r; \ 42591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42592 $(NORMAL_TARGET_EXPORTS) \ 42593 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \ 42594 for flag in $(EXTRA_TARGET_FLAGS); do \ 42595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42596 done; \ 42597 (cd $(TARGET_SUBDIR)/libada && \ 42598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42600 "RANLIB=$${RANLIB}" \ 42601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42602 install-info) \ 42603 || exit 1 42604 42605 @endif target-libada 42606 42607 .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada 42608 maybe-install-pdf-target-libada: 42609 @if target-libada 42610 maybe-install-pdf-target-libada: install-pdf-target-libada 42611 42612 install-pdf-target-libada: \ 42613 configure-target-libada \ 42614 pdf-target-libada 42615 @: $(MAKE); $(unstage) 42616 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ 42617 r=`${PWD_COMMAND}`; export r; \ 42618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42619 $(NORMAL_TARGET_EXPORTS) \ 42620 echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \ 42621 for flag in $(EXTRA_TARGET_FLAGS); do \ 42622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42623 done; \ 42624 (cd $(TARGET_SUBDIR)/libada && \ 42625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42627 "RANLIB=$${RANLIB}" \ 42628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42629 install-pdf) \ 42630 || exit 1 42631 42632 @endif target-libada 42633 42634 .PHONY: maybe-install-html-target-libada install-html-target-libada 42635 maybe-install-html-target-libada: 42636 @if target-libada 42637 maybe-install-html-target-libada: install-html-target-libada 42638 42639 install-html-target-libada: \ 42640 configure-target-libada \ 42641 html-target-libada 42642 @: $(MAKE); $(unstage) 42643 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ 42644 r=`${PWD_COMMAND}`; export r; \ 42645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42646 $(NORMAL_TARGET_EXPORTS) \ 42647 echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \ 42648 for flag in $(EXTRA_TARGET_FLAGS); do \ 42649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42650 done; \ 42651 (cd $(TARGET_SUBDIR)/libada && \ 42652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42654 "RANLIB=$${RANLIB}" \ 42655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42656 install-html) \ 42657 || exit 1 42658 42659 @endif target-libada 42660 42661 .PHONY: maybe-installcheck-target-libada installcheck-target-libada 42662 maybe-installcheck-target-libada: 42663 @if target-libada 42664 maybe-installcheck-target-libada: installcheck-target-libada 42665 42666 installcheck-target-libada: \ 42667 configure-target-libada 42668 @: $(MAKE); $(unstage) 42669 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ 42670 r=`${PWD_COMMAND}`; export r; \ 42671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42672 $(NORMAL_TARGET_EXPORTS) \ 42673 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \ 42674 for flag in $(EXTRA_TARGET_FLAGS); do \ 42675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42676 done; \ 42677 (cd $(TARGET_SUBDIR)/libada && \ 42678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42680 "RANLIB=$${RANLIB}" \ 42681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42682 installcheck) \ 42683 || exit 1 42684 42685 @endif target-libada 42686 42687 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada 42688 maybe-mostlyclean-target-libada: 42689 @if target-libada 42690 maybe-mostlyclean-target-libada: mostlyclean-target-libada 42691 42692 mostlyclean-target-libada: 42693 @: $(MAKE); $(unstage) 42694 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ 42695 r=`${PWD_COMMAND}`; export r; \ 42696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42697 $(NORMAL_TARGET_EXPORTS) \ 42698 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \ 42699 for flag in $(EXTRA_TARGET_FLAGS); do \ 42700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42701 done; \ 42702 (cd $(TARGET_SUBDIR)/libada && \ 42703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42705 "RANLIB=$${RANLIB}" \ 42706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42707 mostlyclean) \ 42708 || exit 1 42709 42710 @endif target-libada 42711 42712 .PHONY: maybe-clean-target-libada clean-target-libada 42713 maybe-clean-target-libada: 42714 @if target-libada 42715 maybe-clean-target-libada: clean-target-libada 42716 42717 clean-target-libada: 42718 @: $(MAKE); $(unstage) 42719 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ 42720 r=`${PWD_COMMAND}`; export r; \ 42721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42722 $(NORMAL_TARGET_EXPORTS) \ 42723 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \ 42724 for flag in $(EXTRA_TARGET_FLAGS); do \ 42725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42726 done; \ 42727 (cd $(TARGET_SUBDIR)/libada && \ 42728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42730 "RANLIB=$${RANLIB}" \ 42731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42732 clean) \ 42733 || exit 1 42734 42735 @endif target-libada 42736 42737 .PHONY: maybe-distclean-target-libada distclean-target-libada 42738 maybe-distclean-target-libada: 42739 @if target-libada 42740 maybe-distclean-target-libada: distclean-target-libada 42741 42742 distclean-target-libada: 42743 @: $(MAKE); $(unstage) 42744 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ 42745 r=`${PWD_COMMAND}`; export r; \ 42746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42747 $(NORMAL_TARGET_EXPORTS) \ 42748 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \ 42749 for flag in $(EXTRA_TARGET_FLAGS); do \ 42750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42751 done; \ 42752 (cd $(TARGET_SUBDIR)/libada && \ 42753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42755 "RANLIB=$${RANLIB}" \ 42756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42757 distclean) \ 42758 || exit 1 42759 42760 @endif target-libada 42761 42762 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada 42763 maybe-maintainer-clean-target-libada: 42764 @if target-libada 42765 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada 42766 42767 maintainer-clean-target-libada: 42768 @: $(MAKE); $(unstage) 42769 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \ 42770 r=`${PWD_COMMAND}`; export r; \ 42771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42772 $(NORMAL_TARGET_EXPORTS) \ 42773 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \ 42774 for flag in $(EXTRA_TARGET_FLAGS); do \ 42775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 42776 done; \ 42777 (cd $(TARGET_SUBDIR)/libada && \ 42778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 42779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 42780 "RANLIB=$${RANLIB}" \ 42781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 42782 maintainer-clean) \ 42783 || exit 1 42784 42785 @endif target-libada 42786 42787 42788 42789 42790 42791 .PHONY: configure-target-libgomp maybe-configure-target-libgomp 42792 maybe-configure-target-libgomp: 42793 @if gcc-bootstrap 42794 configure-target-libgomp: stage_current 42795 @endif gcc-bootstrap 42796 @if target-libgomp 42797 maybe-configure-target-libgomp: configure-target-libgomp 42798 configure-target-libgomp: 42799 @r=`${PWD_COMMAND}`; export r; \ 42800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42801 echo "Checking multilib configuration for libgomp..."; \ 42802 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ 42803 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \ 42804 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \ 42805 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \ 42806 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \ 42807 else \ 42808 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \ 42809 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ 42810 fi; \ 42811 else \ 42812 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ 42813 fi; \ 42814 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \ 42815 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ 42816 $(NORMAL_TARGET_EXPORTS) \ 42817 echo Configuring in $(TARGET_SUBDIR)/libgomp; \ 42818 cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \ 42819 case $(srcdir) in \ 42820 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 42821 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \ 42822 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 42823 esac; \ 42824 srcdiroption="--srcdir=$${topdir}/libgomp"; \ 42825 libsrcdir="$$s/libgomp"; \ 42826 rm -f no-such-file || : ; \ 42827 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 42828 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 42829 --target=${target_alias} $${srcdiroption} \ 42830 || exit 1 42831 @endif target-libgomp 42832 42833 42834 42835 .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp 42836 maybe-configure-stage1-target-libgomp: 42837 @if target-libgomp-bootstrap 42838 maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp 42839 configure-stage1-target-libgomp: 42840 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 42841 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp 42842 @r=`${PWD_COMMAND}`; export r; \ 42843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42844 TFLAGS="$(STAGE1_TFLAGS)"; \ 42845 echo "Checking multilib configuration for libgomp..."; \ 42846 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \ 42847 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \ 42848 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \ 42849 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \ 42850 else \ 42851 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \ 42852 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ 42853 fi; \ 42854 else \ 42855 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ 42856 fi; \ 42857 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \ 42858 $(NORMAL_TARGET_EXPORTS) \ 42859 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 42860 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 42861 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 42862 echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \ 42863 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ 42864 cd $(TARGET_SUBDIR)/libgomp || exit 1; \ 42865 case $(srcdir) in \ 42866 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 42867 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \ 42868 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 42869 esac; \ 42870 srcdiroption="--srcdir=$${topdir}/libgomp"; \ 42871 libsrcdir="$$s/libgomp"; \ 42872 $(SHELL) $${libsrcdir}/configure \ 42873 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 42874 --target=${target_alias} $${srcdiroption} \ 42875 $(STAGE1_CONFIGURE_FLAGS) 42876 @endif target-libgomp-bootstrap 42877 42878 .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp 42879 maybe-configure-stage2-target-libgomp: 42880 @if target-libgomp-bootstrap 42881 maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp 42882 configure-stage2-target-libgomp: 42883 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 42884 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp 42885 @r=`${PWD_COMMAND}`; export r; \ 42886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42887 TFLAGS="$(STAGE2_TFLAGS)"; \ 42888 echo "Checking multilib configuration for libgomp..."; \ 42889 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \ 42890 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \ 42891 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \ 42892 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \ 42893 else \ 42894 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \ 42895 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ 42896 fi; \ 42897 else \ 42898 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ 42899 fi; \ 42900 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \ 42901 $(NORMAL_TARGET_EXPORTS) \ 42902 \ 42903 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 42904 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 42905 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 42906 echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \ 42907 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ 42908 cd $(TARGET_SUBDIR)/libgomp || exit 1; \ 42909 case $(srcdir) in \ 42910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 42911 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \ 42912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 42913 esac; \ 42914 srcdiroption="--srcdir=$${topdir}/libgomp"; \ 42915 libsrcdir="$$s/libgomp"; \ 42916 $(SHELL) $${libsrcdir}/configure \ 42917 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 42918 --target=${target_alias} $${srcdiroption} \ 42919 --with-build-libsubdir=$(HOST_SUBDIR) \ 42920 $(STAGE2_CONFIGURE_FLAGS) 42921 @endif target-libgomp-bootstrap 42922 42923 .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp 42924 maybe-configure-stage3-target-libgomp: 42925 @if target-libgomp-bootstrap 42926 maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp 42927 configure-stage3-target-libgomp: 42928 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 42929 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp 42930 @r=`${PWD_COMMAND}`; export r; \ 42931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42932 TFLAGS="$(STAGE3_TFLAGS)"; \ 42933 echo "Checking multilib configuration for libgomp..."; \ 42934 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \ 42935 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \ 42936 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \ 42937 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \ 42938 else \ 42939 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \ 42940 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ 42941 fi; \ 42942 else \ 42943 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ 42944 fi; \ 42945 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \ 42946 $(NORMAL_TARGET_EXPORTS) \ 42947 \ 42948 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 42949 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 42950 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 42951 echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \ 42952 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ 42953 cd $(TARGET_SUBDIR)/libgomp || exit 1; \ 42954 case $(srcdir) in \ 42955 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 42956 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \ 42957 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 42958 esac; \ 42959 srcdiroption="--srcdir=$${topdir}/libgomp"; \ 42960 libsrcdir="$$s/libgomp"; \ 42961 $(SHELL) $${libsrcdir}/configure \ 42962 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 42963 --target=${target_alias} $${srcdiroption} \ 42964 --with-build-libsubdir=$(HOST_SUBDIR) \ 42965 $(STAGE3_CONFIGURE_FLAGS) 42966 @endif target-libgomp-bootstrap 42967 42968 .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp 42969 maybe-configure-stage4-target-libgomp: 42970 @if target-libgomp-bootstrap 42971 maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp 42972 configure-stage4-target-libgomp: 42973 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 42974 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp 42975 @r=`${PWD_COMMAND}`; export r; \ 42976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 42977 TFLAGS="$(STAGE4_TFLAGS)"; \ 42978 echo "Checking multilib configuration for libgomp..."; \ 42979 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \ 42980 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \ 42981 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \ 42982 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \ 42983 else \ 42984 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \ 42985 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ 42986 fi; \ 42987 else \ 42988 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ 42989 fi; \ 42990 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \ 42991 $(NORMAL_TARGET_EXPORTS) \ 42992 \ 42993 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 42994 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 42995 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 42996 echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \ 42997 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ 42998 cd $(TARGET_SUBDIR)/libgomp || exit 1; \ 42999 case $(srcdir) in \ 43000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 43001 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \ 43002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 43003 esac; \ 43004 srcdiroption="--srcdir=$${topdir}/libgomp"; \ 43005 libsrcdir="$$s/libgomp"; \ 43006 $(SHELL) $${libsrcdir}/configure \ 43007 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 43008 --target=${target_alias} $${srcdiroption} \ 43009 --with-build-libsubdir=$(HOST_SUBDIR) \ 43010 $(STAGE4_CONFIGURE_FLAGS) 43011 @endif target-libgomp-bootstrap 43012 43013 .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp 43014 maybe-configure-stageprofile-target-libgomp: 43015 @if target-libgomp-bootstrap 43016 maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp 43017 configure-stageprofile-target-libgomp: 43018 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 43019 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp 43020 @r=`${PWD_COMMAND}`; export r; \ 43021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43022 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 43023 echo "Checking multilib configuration for libgomp..."; \ 43024 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \ 43025 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \ 43026 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \ 43027 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \ 43028 else \ 43029 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \ 43030 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ 43031 fi; \ 43032 else \ 43033 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ 43034 fi; \ 43035 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \ 43036 $(NORMAL_TARGET_EXPORTS) \ 43037 \ 43038 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 43039 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 43040 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 43041 echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \ 43042 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ 43043 cd $(TARGET_SUBDIR)/libgomp || exit 1; \ 43044 case $(srcdir) in \ 43045 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 43046 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \ 43047 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 43048 esac; \ 43049 srcdiroption="--srcdir=$${topdir}/libgomp"; \ 43050 libsrcdir="$$s/libgomp"; \ 43051 $(SHELL) $${libsrcdir}/configure \ 43052 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 43053 --target=${target_alias} $${srcdiroption} \ 43054 --with-build-libsubdir=$(HOST_SUBDIR) \ 43055 $(STAGEprofile_CONFIGURE_FLAGS) 43056 @endif target-libgomp-bootstrap 43057 43058 .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp 43059 maybe-configure-stagefeedback-target-libgomp: 43060 @if target-libgomp-bootstrap 43061 maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp 43062 configure-stagefeedback-target-libgomp: 43063 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 43064 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp 43065 @r=`${PWD_COMMAND}`; export r; \ 43066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43067 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 43068 echo "Checking multilib configuration for libgomp..."; \ 43069 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \ 43070 if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \ 43071 if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \ 43072 rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \ 43073 else \ 43074 rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \ 43075 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ 43076 fi; \ 43077 else \ 43078 mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \ 43079 fi; \ 43080 test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \ 43081 $(NORMAL_TARGET_EXPORTS) \ 43082 \ 43083 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ 43084 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \ 43085 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \ 43086 echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \ 43087 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \ 43088 cd $(TARGET_SUBDIR)/libgomp || exit 1; \ 43089 case $(srcdir) in \ 43090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 43091 *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \ 43092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 43093 esac; \ 43094 srcdiroption="--srcdir=$${topdir}/libgomp"; \ 43095 libsrcdir="$$s/libgomp"; \ 43096 $(SHELL) $${libsrcdir}/configure \ 43097 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 43098 --target=${target_alias} $${srcdiroption} \ 43099 --with-build-libsubdir=$(HOST_SUBDIR) \ 43100 $(STAGEfeedback_CONFIGURE_FLAGS) 43101 @endif target-libgomp-bootstrap 43102 43103 43104 43105 43106 43107 .PHONY: all-target-libgomp maybe-all-target-libgomp 43108 maybe-all-target-libgomp: 43109 @if gcc-bootstrap 43110 all-target-libgomp: stage_current 43111 @endif gcc-bootstrap 43112 @if target-libgomp 43113 TARGET-target-libgomp=all 43114 maybe-all-target-libgomp: all-target-libgomp 43115 all-target-libgomp: configure-target-libgomp 43116 @r=`${PWD_COMMAND}`; export r; \ 43117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43118 $(NORMAL_TARGET_EXPORTS) \ 43119 (cd $(TARGET_SUBDIR)/libgomp && \ 43120 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 43121 $(TARGET-target-libgomp)) 43122 @endif target-libgomp 43123 43124 43125 43126 .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp 43127 .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp 43128 maybe-all-stage1-target-libgomp: 43129 maybe-clean-stage1-target-libgomp: 43130 @if target-libgomp-bootstrap 43131 maybe-all-stage1-target-libgomp: all-stage1-target-libgomp 43132 all-stage1: all-stage1-target-libgomp 43133 TARGET-stage1-target-libgomp = $(TARGET-target-libgomp) 43134 all-stage1-target-libgomp: configure-stage1-target-libgomp 43135 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start 43136 @r=`${PWD_COMMAND}`; export r; \ 43137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43138 TFLAGS="$(STAGE1_TFLAGS)"; \ 43139 $(NORMAL_TARGET_EXPORTS) \ 43140 cd $(TARGET_SUBDIR)/libgomp && \ 43141 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 43142 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 43143 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 43144 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 43145 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 43146 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 43147 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 43148 $(EXTRA_TARGET_FLAGS) \ 43149 \ 43150 TFLAGS="$(STAGE1_TFLAGS)" \ 43151 $(TARGET-stage1-target-libgomp) 43152 43153 maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp 43154 clean-stage1: clean-stage1-target-libgomp 43155 clean-stage1-target-libgomp: 43156 @if [ $(current_stage) = stage1 ]; then \ 43157 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \ 43158 else \ 43159 [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \ 43160 $(MAKE) stage1-start; \ 43161 fi; \ 43162 cd $(TARGET_SUBDIR)/libgomp && \ 43163 $(MAKE) $(EXTRA_TARGET_FLAGS) \ 43164 clean 43165 @endif target-libgomp-bootstrap 43166 43167 43168 .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp 43169 .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp 43170 maybe-all-stage2-target-libgomp: 43171 maybe-clean-stage2-target-libgomp: 43172 @if target-libgomp-bootstrap 43173 maybe-all-stage2-target-libgomp: all-stage2-target-libgomp 43174 all-stage2: all-stage2-target-libgomp 43175 TARGET-stage2-target-libgomp = $(TARGET-target-libgomp) 43176 all-stage2-target-libgomp: configure-stage2-target-libgomp 43177 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start 43178 @r=`${PWD_COMMAND}`; export r; \ 43179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43180 TFLAGS="$(STAGE2_TFLAGS)"; \ 43181 $(NORMAL_TARGET_EXPORTS) \ 43182 \ 43183 cd $(TARGET_SUBDIR)/libgomp && \ 43184 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 43185 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 43186 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 43187 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 43188 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 43189 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 43190 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 43191 $(EXTRA_TARGET_FLAGS) \ 43192 TFLAGS="$(STAGE2_TFLAGS)" \ 43193 $(TARGET-stage2-target-libgomp) 43194 43195 maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp 43196 clean-stage2: clean-stage2-target-libgomp 43197 clean-stage2-target-libgomp: 43198 @if [ $(current_stage) = stage2 ]; then \ 43199 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \ 43200 else \ 43201 [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \ 43202 $(MAKE) stage2-start; \ 43203 fi; \ 43204 cd $(TARGET_SUBDIR)/libgomp && \ 43205 $(MAKE) $(EXTRA_TARGET_FLAGS) clean 43206 @endif target-libgomp-bootstrap 43207 43208 43209 .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp 43210 .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp 43211 maybe-all-stage3-target-libgomp: 43212 maybe-clean-stage3-target-libgomp: 43213 @if target-libgomp-bootstrap 43214 maybe-all-stage3-target-libgomp: all-stage3-target-libgomp 43215 all-stage3: all-stage3-target-libgomp 43216 TARGET-stage3-target-libgomp = $(TARGET-target-libgomp) 43217 all-stage3-target-libgomp: configure-stage3-target-libgomp 43218 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start 43219 @r=`${PWD_COMMAND}`; export r; \ 43220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43221 TFLAGS="$(STAGE3_TFLAGS)"; \ 43222 $(NORMAL_TARGET_EXPORTS) \ 43223 \ 43224 cd $(TARGET_SUBDIR)/libgomp && \ 43225 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 43226 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 43227 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 43228 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 43229 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 43230 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 43231 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 43232 $(EXTRA_TARGET_FLAGS) \ 43233 TFLAGS="$(STAGE3_TFLAGS)" \ 43234 $(TARGET-stage3-target-libgomp) 43235 43236 maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp 43237 clean-stage3: clean-stage3-target-libgomp 43238 clean-stage3-target-libgomp: 43239 @if [ $(current_stage) = stage3 ]; then \ 43240 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \ 43241 else \ 43242 [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \ 43243 $(MAKE) stage3-start; \ 43244 fi; \ 43245 cd $(TARGET_SUBDIR)/libgomp && \ 43246 $(MAKE) $(EXTRA_TARGET_FLAGS) clean 43247 @endif target-libgomp-bootstrap 43248 43249 43250 .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp 43251 .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp 43252 maybe-all-stage4-target-libgomp: 43253 maybe-clean-stage4-target-libgomp: 43254 @if target-libgomp-bootstrap 43255 maybe-all-stage4-target-libgomp: all-stage4-target-libgomp 43256 all-stage4: all-stage4-target-libgomp 43257 TARGET-stage4-target-libgomp = $(TARGET-target-libgomp) 43258 all-stage4-target-libgomp: configure-stage4-target-libgomp 43259 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start 43260 @r=`${PWD_COMMAND}`; export r; \ 43261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43262 TFLAGS="$(STAGE4_TFLAGS)"; \ 43263 $(NORMAL_TARGET_EXPORTS) \ 43264 \ 43265 cd $(TARGET_SUBDIR)/libgomp && \ 43266 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 43267 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 43268 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 43269 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 43270 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 43271 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 43272 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 43273 $(EXTRA_TARGET_FLAGS) \ 43274 TFLAGS="$(STAGE4_TFLAGS)" \ 43275 $(TARGET-stage4-target-libgomp) 43276 43277 maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp 43278 clean-stage4: clean-stage4-target-libgomp 43279 clean-stage4-target-libgomp: 43280 @if [ $(current_stage) = stage4 ]; then \ 43281 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \ 43282 else \ 43283 [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \ 43284 $(MAKE) stage4-start; \ 43285 fi; \ 43286 cd $(TARGET_SUBDIR)/libgomp && \ 43287 $(MAKE) $(EXTRA_TARGET_FLAGS) clean 43288 @endif target-libgomp-bootstrap 43289 43290 43291 .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp 43292 .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp 43293 maybe-all-stageprofile-target-libgomp: 43294 maybe-clean-stageprofile-target-libgomp: 43295 @if target-libgomp-bootstrap 43296 maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp 43297 all-stageprofile: all-stageprofile-target-libgomp 43298 TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp) 43299 all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp 43300 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start 43301 @r=`${PWD_COMMAND}`; export r; \ 43302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43303 TFLAGS="$(STAGEprofile_TFLAGS)"; \ 43304 $(NORMAL_TARGET_EXPORTS) \ 43305 \ 43306 cd $(TARGET_SUBDIR)/libgomp && \ 43307 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 43308 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 43309 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 43310 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 43311 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 43312 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 43313 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 43314 $(EXTRA_TARGET_FLAGS) \ 43315 TFLAGS="$(STAGEprofile_TFLAGS)" \ 43316 $(TARGET-stageprofile-target-libgomp) 43317 43318 maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp 43319 clean-stageprofile: clean-stageprofile-target-libgomp 43320 clean-stageprofile-target-libgomp: 43321 @if [ $(current_stage) = stageprofile ]; then \ 43322 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \ 43323 else \ 43324 [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \ 43325 $(MAKE) stageprofile-start; \ 43326 fi; \ 43327 cd $(TARGET_SUBDIR)/libgomp && \ 43328 $(MAKE) $(EXTRA_TARGET_FLAGS) clean 43329 @endif target-libgomp-bootstrap 43330 43331 43332 .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp 43333 .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp 43334 maybe-all-stagefeedback-target-libgomp: 43335 maybe-clean-stagefeedback-target-libgomp: 43336 @if target-libgomp-bootstrap 43337 maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp 43338 all-stagefeedback: all-stagefeedback-target-libgomp 43339 TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp) 43340 all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp 43341 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start 43342 @r=`${PWD_COMMAND}`; export r; \ 43343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43344 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 43345 $(NORMAL_TARGET_EXPORTS) \ 43346 \ 43347 cd $(TARGET_SUBDIR)/libgomp && \ 43348 $(MAKE) $(BASE_FLAGS_TO_PASS) \ 43349 CFLAGS="$(CFLAGS_FOR_TARGET)" \ 43350 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \ 43351 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \ 43352 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ 43353 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ 43354 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ 43355 $(EXTRA_TARGET_FLAGS) \ 43356 TFLAGS="$(STAGEfeedback_TFLAGS)" \ 43357 $(TARGET-stagefeedback-target-libgomp) 43358 43359 maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp 43360 clean-stagefeedback: clean-stagefeedback-target-libgomp 43361 clean-stagefeedback-target-libgomp: 43362 @if [ $(current_stage) = stagefeedback ]; then \ 43363 [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \ 43364 else \ 43365 [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \ 43366 $(MAKE) stagefeedback-start; \ 43367 fi; \ 43368 cd $(TARGET_SUBDIR)/libgomp && \ 43369 $(MAKE) $(EXTRA_TARGET_FLAGS) clean 43370 @endif target-libgomp-bootstrap 43371 43372 43373 43374 43375 43376 43377 .PHONY: check-target-libgomp maybe-check-target-libgomp 43378 maybe-check-target-libgomp: 43379 @if target-libgomp 43380 maybe-check-target-libgomp: check-target-libgomp 43381 43382 check-target-libgomp: 43383 @: $(MAKE); $(unstage) 43384 @r=`${PWD_COMMAND}`; export r; \ 43385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43386 $(NORMAL_TARGET_EXPORTS) \ 43387 (cd $(TARGET_SUBDIR)/libgomp && \ 43388 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 43389 43390 @endif target-libgomp 43391 43392 .PHONY: install-target-libgomp maybe-install-target-libgomp 43393 maybe-install-target-libgomp: 43394 @if target-libgomp 43395 maybe-install-target-libgomp: install-target-libgomp 43396 43397 install-target-libgomp: installdirs 43398 @: $(MAKE); $(unstage) 43399 @r=`${PWD_COMMAND}`; export r; \ 43400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43401 $(NORMAL_TARGET_EXPORTS) \ 43402 (cd $(TARGET_SUBDIR)/libgomp && \ 43403 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 43404 43405 @endif target-libgomp 43406 43407 .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp 43408 maybe-install-strip-target-libgomp: 43409 @if target-libgomp 43410 maybe-install-strip-target-libgomp: install-strip-target-libgomp 43411 43412 install-strip-target-libgomp: installdirs 43413 @: $(MAKE); $(unstage) 43414 @r=`${PWD_COMMAND}`; export r; \ 43415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43416 $(NORMAL_TARGET_EXPORTS) \ 43417 (cd $(TARGET_SUBDIR)/libgomp && \ 43418 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 43419 43420 @endif target-libgomp 43421 43422 # Other targets (info, dvi, pdf, etc.) 43423 43424 .PHONY: maybe-info-target-libgomp info-target-libgomp 43425 maybe-info-target-libgomp: 43426 @if target-libgomp 43427 maybe-info-target-libgomp: info-target-libgomp 43428 43429 info-target-libgomp: \ 43430 configure-target-libgomp 43431 @: $(MAKE); $(unstage) 43432 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ 43433 r=`${PWD_COMMAND}`; export r; \ 43434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43435 $(NORMAL_TARGET_EXPORTS) \ 43436 echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \ 43437 for flag in $(EXTRA_TARGET_FLAGS); do \ 43438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43439 done; \ 43440 (cd $(TARGET_SUBDIR)/libgomp && \ 43441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43443 "RANLIB=$${RANLIB}" \ 43444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43445 info) \ 43446 || exit 1 43447 43448 @endif target-libgomp 43449 43450 .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp 43451 maybe-dvi-target-libgomp: 43452 @if target-libgomp 43453 maybe-dvi-target-libgomp: dvi-target-libgomp 43454 43455 dvi-target-libgomp: \ 43456 configure-target-libgomp 43457 @: $(MAKE); $(unstage) 43458 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ 43459 r=`${PWD_COMMAND}`; export r; \ 43460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43461 $(NORMAL_TARGET_EXPORTS) \ 43462 echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \ 43463 for flag in $(EXTRA_TARGET_FLAGS); do \ 43464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43465 done; \ 43466 (cd $(TARGET_SUBDIR)/libgomp && \ 43467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43469 "RANLIB=$${RANLIB}" \ 43470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43471 dvi) \ 43472 || exit 1 43473 43474 @endif target-libgomp 43475 43476 .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp 43477 maybe-pdf-target-libgomp: 43478 @if target-libgomp 43479 maybe-pdf-target-libgomp: pdf-target-libgomp 43480 43481 pdf-target-libgomp: \ 43482 configure-target-libgomp 43483 @: $(MAKE); $(unstage) 43484 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ 43485 r=`${PWD_COMMAND}`; export r; \ 43486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43487 $(NORMAL_TARGET_EXPORTS) \ 43488 echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \ 43489 for flag in $(EXTRA_TARGET_FLAGS); do \ 43490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43491 done; \ 43492 (cd $(TARGET_SUBDIR)/libgomp && \ 43493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43495 "RANLIB=$${RANLIB}" \ 43496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43497 pdf) \ 43498 || exit 1 43499 43500 @endif target-libgomp 43501 43502 .PHONY: maybe-html-target-libgomp html-target-libgomp 43503 maybe-html-target-libgomp: 43504 @if target-libgomp 43505 maybe-html-target-libgomp: html-target-libgomp 43506 43507 html-target-libgomp: \ 43508 configure-target-libgomp 43509 @: $(MAKE); $(unstage) 43510 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ 43511 r=`${PWD_COMMAND}`; export r; \ 43512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43513 $(NORMAL_TARGET_EXPORTS) \ 43514 echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \ 43515 for flag in $(EXTRA_TARGET_FLAGS); do \ 43516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43517 done; \ 43518 (cd $(TARGET_SUBDIR)/libgomp && \ 43519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43521 "RANLIB=$${RANLIB}" \ 43522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43523 html) \ 43524 || exit 1 43525 43526 @endif target-libgomp 43527 43528 .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp 43529 maybe-TAGS-target-libgomp: 43530 @if target-libgomp 43531 maybe-TAGS-target-libgomp: TAGS-target-libgomp 43532 43533 TAGS-target-libgomp: \ 43534 configure-target-libgomp 43535 @: $(MAKE); $(unstage) 43536 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ 43537 r=`${PWD_COMMAND}`; export r; \ 43538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43539 $(NORMAL_TARGET_EXPORTS) \ 43540 echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \ 43541 for flag in $(EXTRA_TARGET_FLAGS); do \ 43542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43543 done; \ 43544 (cd $(TARGET_SUBDIR)/libgomp && \ 43545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43547 "RANLIB=$${RANLIB}" \ 43548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43549 TAGS) \ 43550 || exit 1 43551 43552 @endif target-libgomp 43553 43554 .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp 43555 maybe-install-info-target-libgomp: 43556 @if target-libgomp 43557 maybe-install-info-target-libgomp: install-info-target-libgomp 43558 43559 install-info-target-libgomp: \ 43560 configure-target-libgomp \ 43561 info-target-libgomp 43562 @: $(MAKE); $(unstage) 43563 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ 43564 r=`${PWD_COMMAND}`; export r; \ 43565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43566 $(NORMAL_TARGET_EXPORTS) \ 43567 echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \ 43568 for flag in $(EXTRA_TARGET_FLAGS); do \ 43569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43570 done; \ 43571 (cd $(TARGET_SUBDIR)/libgomp && \ 43572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43574 "RANLIB=$${RANLIB}" \ 43575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43576 install-info) \ 43577 || exit 1 43578 43579 @endif target-libgomp 43580 43581 .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp 43582 maybe-install-pdf-target-libgomp: 43583 @if target-libgomp 43584 maybe-install-pdf-target-libgomp: install-pdf-target-libgomp 43585 43586 install-pdf-target-libgomp: \ 43587 configure-target-libgomp \ 43588 pdf-target-libgomp 43589 @: $(MAKE); $(unstage) 43590 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ 43591 r=`${PWD_COMMAND}`; export r; \ 43592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43593 $(NORMAL_TARGET_EXPORTS) \ 43594 echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \ 43595 for flag in $(EXTRA_TARGET_FLAGS); do \ 43596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43597 done; \ 43598 (cd $(TARGET_SUBDIR)/libgomp && \ 43599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43601 "RANLIB=$${RANLIB}" \ 43602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43603 install-pdf) \ 43604 || exit 1 43605 43606 @endif target-libgomp 43607 43608 .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp 43609 maybe-install-html-target-libgomp: 43610 @if target-libgomp 43611 maybe-install-html-target-libgomp: install-html-target-libgomp 43612 43613 install-html-target-libgomp: \ 43614 configure-target-libgomp \ 43615 html-target-libgomp 43616 @: $(MAKE); $(unstage) 43617 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ 43618 r=`${PWD_COMMAND}`; export r; \ 43619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43620 $(NORMAL_TARGET_EXPORTS) \ 43621 echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \ 43622 for flag in $(EXTRA_TARGET_FLAGS); do \ 43623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43624 done; \ 43625 (cd $(TARGET_SUBDIR)/libgomp && \ 43626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43628 "RANLIB=$${RANLIB}" \ 43629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43630 install-html) \ 43631 || exit 1 43632 43633 @endif target-libgomp 43634 43635 .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp 43636 maybe-installcheck-target-libgomp: 43637 @if target-libgomp 43638 maybe-installcheck-target-libgomp: installcheck-target-libgomp 43639 43640 installcheck-target-libgomp: \ 43641 configure-target-libgomp 43642 @: $(MAKE); $(unstage) 43643 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ 43644 r=`${PWD_COMMAND}`; export r; \ 43645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43646 $(NORMAL_TARGET_EXPORTS) \ 43647 echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \ 43648 for flag in $(EXTRA_TARGET_FLAGS); do \ 43649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43650 done; \ 43651 (cd $(TARGET_SUBDIR)/libgomp && \ 43652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43654 "RANLIB=$${RANLIB}" \ 43655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43656 installcheck) \ 43657 || exit 1 43658 43659 @endif target-libgomp 43660 43661 .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp 43662 maybe-mostlyclean-target-libgomp: 43663 @if target-libgomp 43664 maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp 43665 43666 mostlyclean-target-libgomp: 43667 @: $(MAKE); $(unstage) 43668 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ 43669 r=`${PWD_COMMAND}`; export r; \ 43670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43671 $(NORMAL_TARGET_EXPORTS) \ 43672 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \ 43673 for flag in $(EXTRA_TARGET_FLAGS); do \ 43674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43675 done; \ 43676 (cd $(TARGET_SUBDIR)/libgomp && \ 43677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43679 "RANLIB=$${RANLIB}" \ 43680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43681 mostlyclean) \ 43682 || exit 1 43683 43684 @endif target-libgomp 43685 43686 .PHONY: maybe-clean-target-libgomp clean-target-libgomp 43687 maybe-clean-target-libgomp: 43688 @if target-libgomp 43689 maybe-clean-target-libgomp: clean-target-libgomp 43690 43691 clean-target-libgomp: 43692 @: $(MAKE); $(unstage) 43693 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ 43694 r=`${PWD_COMMAND}`; export r; \ 43695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43696 $(NORMAL_TARGET_EXPORTS) \ 43697 echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \ 43698 for flag in $(EXTRA_TARGET_FLAGS); do \ 43699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43700 done; \ 43701 (cd $(TARGET_SUBDIR)/libgomp && \ 43702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43704 "RANLIB=$${RANLIB}" \ 43705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43706 clean) \ 43707 || exit 1 43708 43709 @endif target-libgomp 43710 43711 .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp 43712 maybe-distclean-target-libgomp: 43713 @if target-libgomp 43714 maybe-distclean-target-libgomp: distclean-target-libgomp 43715 43716 distclean-target-libgomp: 43717 @: $(MAKE); $(unstage) 43718 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ 43719 r=`${PWD_COMMAND}`; export r; \ 43720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43721 $(NORMAL_TARGET_EXPORTS) \ 43722 echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \ 43723 for flag in $(EXTRA_TARGET_FLAGS); do \ 43724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43725 done; \ 43726 (cd $(TARGET_SUBDIR)/libgomp && \ 43727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43729 "RANLIB=$${RANLIB}" \ 43730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43731 distclean) \ 43732 || exit 1 43733 43734 @endif target-libgomp 43735 43736 .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp 43737 maybe-maintainer-clean-target-libgomp: 43738 @if target-libgomp 43739 maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp 43740 43741 maintainer-clean-target-libgomp: 43742 @: $(MAKE); $(unstage) 43743 @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \ 43744 r=`${PWD_COMMAND}`; export r; \ 43745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43746 $(NORMAL_TARGET_EXPORTS) \ 43747 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \ 43748 for flag in $(EXTRA_TARGET_FLAGS); do \ 43749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43750 done; \ 43751 (cd $(TARGET_SUBDIR)/libgomp && \ 43752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43754 "RANLIB=$${RANLIB}" \ 43755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43756 maintainer-clean) \ 43757 || exit 1 43758 43759 @endif target-libgomp 43760 43761 43762 43763 43764 43765 .PHONY: configure-target-libitm maybe-configure-target-libitm 43766 maybe-configure-target-libitm: 43767 @if gcc-bootstrap 43768 configure-target-libitm: stage_current 43769 @endif gcc-bootstrap 43770 @if target-libitm 43771 maybe-configure-target-libitm: configure-target-libitm 43772 configure-target-libitm: 43773 @: $(MAKE); $(unstage) 43774 @r=`${PWD_COMMAND}`; export r; \ 43775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43776 echo "Checking multilib configuration for libitm..."; \ 43777 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \ 43778 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \ 43779 if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \ 43780 if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \ 43781 rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \ 43782 else \ 43783 rm -f $(TARGET_SUBDIR)/libitm/Makefile; \ 43784 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \ 43785 fi; \ 43786 else \ 43787 mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \ 43788 fi; \ 43789 test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \ 43790 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \ 43791 $(NORMAL_TARGET_EXPORTS) \ 43792 echo Configuring in $(TARGET_SUBDIR)/libitm; \ 43793 cd "$(TARGET_SUBDIR)/libitm" || exit 1; \ 43794 case $(srcdir) in \ 43795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 43796 *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \ 43797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 43798 esac; \ 43799 srcdiroption="--srcdir=$${topdir}/libitm"; \ 43800 libsrcdir="$$s/libitm"; \ 43801 rm -f no-such-file || : ; \ 43802 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 43803 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 43804 --target=${target_alias} $${srcdiroption} \ 43805 || exit 1 43806 @endif target-libitm 43807 43808 43809 43810 43811 43812 .PHONY: all-target-libitm maybe-all-target-libitm 43813 maybe-all-target-libitm: 43814 @if gcc-bootstrap 43815 all-target-libitm: stage_current 43816 @endif gcc-bootstrap 43817 @if target-libitm 43818 TARGET-target-libitm=all 43819 maybe-all-target-libitm: all-target-libitm 43820 all-target-libitm: configure-target-libitm 43821 @: $(MAKE); $(unstage) 43822 @r=`${PWD_COMMAND}`; export r; \ 43823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43824 $(NORMAL_TARGET_EXPORTS) \ 43825 (cd $(TARGET_SUBDIR)/libitm && \ 43826 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 43827 $(TARGET-target-libitm)) 43828 @endif target-libitm 43829 43830 43831 43832 43833 43834 .PHONY: check-target-libitm maybe-check-target-libitm 43835 maybe-check-target-libitm: 43836 @if target-libitm 43837 maybe-check-target-libitm: check-target-libitm 43838 43839 check-target-libitm: 43840 @: $(MAKE); $(unstage) 43841 @r=`${PWD_COMMAND}`; export r; \ 43842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43843 $(NORMAL_TARGET_EXPORTS) \ 43844 (cd $(TARGET_SUBDIR)/libitm && \ 43845 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 43846 43847 @endif target-libitm 43848 43849 .PHONY: install-target-libitm maybe-install-target-libitm 43850 maybe-install-target-libitm: 43851 @if target-libitm 43852 maybe-install-target-libitm: install-target-libitm 43853 43854 install-target-libitm: installdirs 43855 @: $(MAKE); $(unstage) 43856 @r=`${PWD_COMMAND}`; export r; \ 43857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43858 $(NORMAL_TARGET_EXPORTS) \ 43859 (cd $(TARGET_SUBDIR)/libitm && \ 43860 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 43861 43862 @endif target-libitm 43863 43864 .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm 43865 maybe-install-strip-target-libitm: 43866 @if target-libitm 43867 maybe-install-strip-target-libitm: install-strip-target-libitm 43868 43869 install-strip-target-libitm: installdirs 43870 @: $(MAKE); $(unstage) 43871 @r=`${PWD_COMMAND}`; export r; \ 43872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43873 $(NORMAL_TARGET_EXPORTS) \ 43874 (cd $(TARGET_SUBDIR)/libitm && \ 43875 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 43876 43877 @endif target-libitm 43878 43879 # Other targets (info, dvi, pdf, etc.) 43880 43881 .PHONY: maybe-info-target-libitm info-target-libitm 43882 maybe-info-target-libitm: 43883 @if target-libitm 43884 maybe-info-target-libitm: info-target-libitm 43885 43886 info-target-libitm: \ 43887 configure-target-libitm 43888 @: $(MAKE); $(unstage) 43889 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \ 43890 r=`${PWD_COMMAND}`; export r; \ 43891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43892 $(NORMAL_TARGET_EXPORTS) \ 43893 echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \ 43894 for flag in $(EXTRA_TARGET_FLAGS); do \ 43895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43896 done; \ 43897 (cd $(TARGET_SUBDIR)/libitm && \ 43898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43900 "RANLIB=$${RANLIB}" \ 43901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43902 info) \ 43903 || exit 1 43904 43905 @endif target-libitm 43906 43907 .PHONY: maybe-dvi-target-libitm dvi-target-libitm 43908 maybe-dvi-target-libitm: 43909 @if target-libitm 43910 maybe-dvi-target-libitm: dvi-target-libitm 43911 43912 dvi-target-libitm: \ 43913 configure-target-libitm 43914 @: $(MAKE); $(unstage) 43915 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \ 43916 r=`${PWD_COMMAND}`; export r; \ 43917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43918 $(NORMAL_TARGET_EXPORTS) \ 43919 echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \ 43920 for flag in $(EXTRA_TARGET_FLAGS); do \ 43921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43922 done; \ 43923 (cd $(TARGET_SUBDIR)/libitm && \ 43924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43926 "RANLIB=$${RANLIB}" \ 43927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43928 dvi) \ 43929 || exit 1 43930 43931 @endif target-libitm 43932 43933 .PHONY: maybe-pdf-target-libitm pdf-target-libitm 43934 maybe-pdf-target-libitm: 43935 @if target-libitm 43936 maybe-pdf-target-libitm: pdf-target-libitm 43937 43938 pdf-target-libitm: \ 43939 configure-target-libitm 43940 @: $(MAKE); $(unstage) 43941 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \ 43942 r=`${PWD_COMMAND}`; export r; \ 43943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43944 $(NORMAL_TARGET_EXPORTS) \ 43945 echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \ 43946 for flag in $(EXTRA_TARGET_FLAGS); do \ 43947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43948 done; \ 43949 (cd $(TARGET_SUBDIR)/libitm && \ 43950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43952 "RANLIB=$${RANLIB}" \ 43953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43954 pdf) \ 43955 || exit 1 43956 43957 @endif target-libitm 43958 43959 .PHONY: maybe-html-target-libitm html-target-libitm 43960 maybe-html-target-libitm: 43961 @if target-libitm 43962 maybe-html-target-libitm: html-target-libitm 43963 43964 html-target-libitm: \ 43965 configure-target-libitm 43966 @: $(MAKE); $(unstage) 43967 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \ 43968 r=`${PWD_COMMAND}`; export r; \ 43969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43970 $(NORMAL_TARGET_EXPORTS) \ 43971 echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \ 43972 for flag in $(EXTRA_TARGET_FLAGS); do \ 43973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 43974 done; \ 43975 (cd $(TARGET_SUBDIR)/libitm && \ 43976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 43977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 43978 "RANLIB=$${RANLIB}" \ 43979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 43980 html) \ 43981 || exit 1 43982 43983 @endif target-libitm 43984 43985 .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm 43986 maybe-TAGS-target-libitm: 43987 @if target-libitm 43988 maybe-TAGS-target-libitm: TAGS-target-libitm 43989 43990 TAGS-target-libitm: \ 43991 configure-target-libitm 43992 @: $(MAKE); $(unstage) 43993 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \ 43994 r=`${PWD_COMMAND}`; export r; \ 43995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 43996 $(NORMAL_TARGET_EXPORTS) \ 43997 echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \ 43998 for flag in $(EXTRA_TARGET_FLAGS); do \ 43999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44000 done; \ 44001 (cd $(TARGET_SUBDIR)/libitm && \ 44002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44004 "RANLIB=$${RANLIB}" \ 44005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44006 TAGS) \ 44007 || exit 1 44008 44009 @endif target-libitm 44010 44011 .PHONY: maybe-install-info-target-libitm install-info-target-libitm 44012 maybe-install-info-target-libitm: 44013 @if target-libitm 44014 maybe-install-info-target-libitm: install-info-target-libitm 44015 44016 install-info-target-libitm: \ 44017 configure-target-libitm \ 44018 info-target-libitm 44019 @: $(MAKE); $(unstage) 44020 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \ 44021 r=`${PWD_COMMAND}`; export r; \ 44022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44023 $(NORMAL_TARGET_EXPORTS) \ 44024 echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \ 44025 for flag in $(EXTRA_TARGET_FLAGS); do \ 44026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44027 done; \ 44028 (cd $(TARGET_SUBDIR)/libitm && \ 44029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44031 "RANLIB=$${RANLIB}" \ 44032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44033 install-info) \ 44034 || exit 1 44035 44036 @endif target-libitm 44037 44038 .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm 44039 maybe-install-pdf-target-libitm: 44040 @if target-libitm 44041 maybe-install-pdf-target-libitm: install-pdf-target-libitm 44042 44043 install-pdf-target-libitm: \ 44044 configure-target-libitm \ 44045 pdf-target-libitm 44046 @: $(MAKE); $(unstage) 44047 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \ 44048 r=`${PWD_COMMAND}`; export r; \ 44049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44050 $(NORMAL_TARGET_EXPORTS) \ 44051 echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \ 44052 for flag in $(EXTRA_TARGET_FLAGS); do \ 44053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44054 done; \ 44055 (cd $(TARGET_SUBDIR)/libitm && \ 44056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44058 "RANLIB=$${RANLIB}" \ 44059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44060 install-pdf) \ 44061 || exit 1 44062 44063 @endif target-libitm 44064 44065 .PHONY: maybe-install-html-target-libitm install-html-target-libitm 44066 maybe-install-html-target-libitm: 44067 @if target-libitm 44068 maybe-install-html-target-libitm: install-html-target-libitm 44069 44070 install-html-target-libitm: \ 44071 configure-target-libitm \ 44072 html-target-libitm 44073 @: $(MAKE); $(unstage) 44074 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \ 44075 r=`${PWD_COMMAND}`; export r; \ 44076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44077 $(NORMAL_TARGET_EXPORTS) \ 44078 echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \ 44079 for flag in $(EXTRA_TARGET_FLAGS); do \ 44080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44081 done; \ 44082 (cd $(TARGET_SUBDIR)/libitm && \ 44083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44085 "RANLIB=$${RANLIB}" \ 44086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44087 install-html) \ 44088 || exit 1 44089 44090 @endif target-libitm 44091 44092 .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm 44093 maybe-installcheck-target-libitm: 44094 @if target-libitm 44095 maybe-installcheck-target-libitm: installcheck-target-libitm 44096 44097 installcheck-target-libitm: \ 44098 configure-target-libitm 44099 @: $(MAKE); $(unstage) 44100 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \ 44101 r=`${PWD_COMMAND}`; export r; \ 44102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44103 $(NORMAL_TARGET_EXPORTS) \ 44104 echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \ 44105 for flag in $(EXTRA_TARGET_FLAGS); do \ 44106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44107 done; \ 44108 (cd $(TARGET_SUBDIR)/libitm && \ 44109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44111 "RANLIB=$${RANLIB}" \ 44112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44113 installcheck) \ 44114 || exit 1 44115 44116 @endif target-libitm 44117 44118 .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm 44119 maybe-mostlyclean-target-libitm: 44120 @if target-libitm 44121 maybe-mostlyclean-target-libitm: mostlyclean-target-libitm 44122 44123 mostlyclean-target-libitm: 44124 @: $(MAKE); $(unstage) 44125 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \ 44126 r=`${PWD_COMMAND}`; export r; \ 44127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44128 $(NORMAL_TARGET_EXPORTS) \ 44129 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \ 44130 for flag in $(EXTRA_TARGET_FLAGS); do \ 44131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44132 done; \ 44133 (cd $(TARGET_SUBDIR)/libitm && \ 44134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44136 "RANLIB=$${RANLIB}" \ 44137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44138 mostlyclean) \ 44139 || exit 1 44140 44141 @endif target-libitm 44142 44143 .PHONY: maybe-clean-target-libitm clean-target-libitm 44144 maybe-clean-target-libitm: 44145 @if target-libitm 44146 maybe-clean-target-libitm: clean-target-libitm 44147 44148 clean-target-libitm: 44149 @: $(MAKE); $(unstage) 44150 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \ 44151 r=`${PWD_COMMAND}`; export r; \ 44152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44153 $(NORMAL_TARGET_EXPORTS) \ 44154 echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \ 44155 for flag in $(EXTRA_TARGET_FLAGS); do \ 44156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44157 done; \ 44158 (cd $(TARGET_SUBDIR)/libitm && \ 44159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44161 "RANLIB=$${RANLIB}" \ 44162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44163 clean) \ 44164 || exit 1 44165 44166 @endif target-libitm 44167 44168 .PHONY: maybe-distclean-target-libitm distclean-target-libitm 44169 maybe-distclean-target-libitm: 44170 @if target-libitm 44171 maybe-distclean-target-libitm: distclean-target-libitm 44172 44173 distclean-target-libitm: 44174 @: $(MAKE); $(unstage) 44175 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \ 44176 r=`${PWD_COMMAND}`; export r; \ 44177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44178 $(NORMAL_TARGET_EXPORTS) \ 44179 echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \ 44180 for flag in $(EXTRA_TARGET_FLAGS); do \ 44181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44182 done; \ 44183 (cd $(TARGET_SUBDIR)/libitm && \ 44184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44186 "RANLIB=$${RANLIB}" \ 44187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44188 distclean) \ 44189 || exit 1 44190 44191 @endif target-libitm 44192 44193 .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm 44194 maybe-maintainer-clean-target-libitm: 44195 @if target-libitm 44196 maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm 44197 44198 maintainer-clean-target-libitm: 44199 @: $(MAKE); $(unstage) 44200 @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \ 44201 r=`${PWD_COMMAND}`; export r; \ 44202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44203 $(NORMAL_TARGET_EXPORTS) \ 44204 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \ 44205 for flag in $(EXTRA_TARGET_FLAGS); do \ 44206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44207 done; \ 44208 (cd $(TARGET_SUBDIR)/libitm && \ 44209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44211 "RANLIB=$${RANLIB}" \ 44212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44213 maintainer-clean) \ 44214 || exit 1 44215 44216 @endif target-libitm 44217 44218 44219 44220 44221 44222 .PHONY: configure-target-libatomic maybe-configure-target-libatomic 44223 maybe-configure-target-libatomic: 44224 @if gcc-bootstrap 44225 configure-target-libatomic: stage_current 44226 @endif gcc-bootstrap 44227 @if target-libatomic 44228 maybe-configure-target-libatomic: configure-target-libatomic 44229 configure-target-libatomic: 44230 @: $(MAKE); $(unstage) 44231 @r=`${PWD_COMMAND}`; export r; \ 44232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44233 echo "Checking multilib configuration for libatomic..."; \ 44234 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \ 44235 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \ 44236 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \ 44237 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \ 44238 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \ 44239 else \ 44240 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \ 44241 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \ 44242 fi; \ 44243 else \ 44244 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \ 44245 fi; \ 44246 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \ 44247 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \ 44248 $(NORMAL_TARGET_EXPORTS) \ 44249 echo Configuring in $(TARGET_SUBDIR)/libatomic; \ 44250 cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \ 44251 case $(srcdir) in \ 44252 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ 44253 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \ 44254 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ 44255 esac; \ 44256 srcdiroption="--srcdir=$${topdir}/libatomic"; \ 44257 libsrcdir="$$s/libatomic"; \ 44258 rm -f no-such-file || : ; \ 44259 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ 44260 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \ 44261 --target=${target_alias} $${srcdiroption} \ 44262 || exit 1 44263 @endif target-libatomic 44264 44265 44266 44267 44268 44269 .PHONY: all-target-libatomic maybe-all-target-libatomic 44270 maybe-all-target-libatomic: 44271 @if gcc-bootstrap 44272 all-target-libatomic: stage_current 44273 @endif gcc-bootstrap 44274 @if target-libatomic 44275 TARGET-target-libatomic=all 44276 maybe-all-target-libatomic: all-target-libatomic 44277 all-target-libatomic: configure-target-libatomic 44278 @: $(MAKE); $(unstage) 44279 @r=`${PWD_COMMAND}`; export r; \ 44280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44281 $(NORMAL_TARGET_EXPORTS) \ 44282 (cd $(TARGET_SUBDIR)/libatomic && \ 44283 $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \ 44284 $(TARGET-target-libatomic)) 44285 @endif target-libatomic 44286 44287 44288 44289 44290 44291 .PHONY: check-target-libatomic maybe-check-target-libatomic 44292 maybe-check-target-libatomic: 44293 @if target-libatomic 44294 maybe-check-target-libatomic: check-target-libatomic 44295 44296 check-target-libatomic: 44297 @: $(MAKE); $(unstage) 44298 @r=`${PWD_COMMAND}`; export r; \ 44299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44300 $(NORMAL_TARGET_EXPORTS) \ 44301 (cd $(TARGET_SUBDIR)/libatomic && \ 44302 $(MAKE) $(TARGET_FLAGS_TO_PASS) check) 44303 44304 @endif target-libatomic 44305 44306 .PHONY: install-target-libatomic maybe-install-target-libatomic 44307 maybe-install-target-libatomic: 44308 @if target-libatomic 44309 maybe-install-target-libatomic: install-target-libatomic 44310 44311 install-target-libatomic: installdirs 44312 @: $(MAKE); $(unstage) 44313 @r=`${PWD_COMMAND}`; export r; \ 44314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44315 $(NORMAL_TARGET_EXPORTS) \ 44316 (cd $(TARGET_SUBDIR)/libatomic && \ 44317 $(MAKE) $(TARGET_FLAGS_TO_PASS) install) 44318 44319 @endif target-libatomic 44320 44321 .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic 44322 maybe-install-strip-target-libatomic: 44323 @if target-libatomic 44324 maybe-install-strip-target-libatomic: install-strip-target-libatomic 44325 44326 install-strip-target-libatomic: installdirs 44327 @: $(MAKE); $(unstage) 44328 @r=`${PWD_COMMAND}`; export r; \ 44329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44330 $(NORMAL_TARGET_EXPORTS) \ 44331 (cd $(TARGET_SUBDIR)/libatomic && \ 44332 $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip) 44333 44334 @endif target-libatomic 44335 44336 # Other targets (info, dvi, pdf, etc.) 44337 44338 .PHONY: maybe-info-target-libatomic info-target-libatomic 44339 maybe-info-target-libatomic: 44340 @if target-libatomic 44341 maybe-info-target-libatomic: info-target-libatomic 44342 44343 info-target-libatomic: \ 44344 configure-target-libatomic 44345 @: $(MAKE); $(unstage) 44346 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \ 44347 r=`${PWD_COMMAND}`; export r; \ 44348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44349 $(NORMAL_TARGET_EXPORTS) \ 44350 echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \ 44351 for flag in $(EXTRA_TARGET_FLAGS); do \ 44352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44353 done; \ 44354 (cd $(TARGET_SUBDIR)/libatomic && \ 44355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44357 "RANLIB=$${RANLIB}" \ 44358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44359 info) \ 44360 || exit 1 44361 44362 @endif target-libatomic 44363 44364 .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic 44365 maybe-dvi-target-libatomic: 44366 @if target-libatomic 44367 maybe-dvi-target-libatomic: dvi-target-libatomic 44368 44369 dvi-target-libatomic: \ 44370 configure-target-libatomic 44371 @: $(MAKE); $(unstage) 44372 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \ 44373 r=`${PWD_COMMAND}`; export r; \ 44374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44375 $(NORMAL_TARGET_EXPORTS) \ 44376 echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \ 44377 for flag in $(EXTRA_TARGET_FLAGS); do \ 44378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44379 done; \ 44380 (cd $(TARGET_SUBDIR)/libatomic && \ 44381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44383 "RANLIB=$${RANLIB}" \ 44384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44385 dvi) \ 44386 || exit 1 44387 44388 @endif target-libatomic 44389 44390 .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic 44391 maybe-pdf-target-libatomic: 44392 @if target-libatomic 44393 maybe-pdf-target-libatomic: pdf-target-libatomic 44394 44395 pdf-target-libatomic: \ 44396 configure-target-libatomic 44397 @: $(MAKE); $(unstage) 44398 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \ 44399 r=`${PWD_COMMAND}`; export r; \ 44400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44401 $(NORMAL_TARGET_EXPORTS) \ 44402 echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \ 44403 for flag in $(EXTRA_TARGET_FLAGS); do \ 44404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44405 done; \ 44406 (cd $(TARGET_SUBDIR)/libatomic && \ 44407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44409 "RANLIB=$${RANLIB}" \ 44410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44411 pdf) \ 44412 || exit 1 44413 44414 @endif target-libatomic 44415 44416 .PHONY: maybe-html-target-libatomic html-target-libatomic 44417 maybe-html-target-libatomic: 44418 @if target-libatomic 44419 maybe-html-target-libatomic: html-target-libatomic 44420 44421 html-target-libatomic: \ 44422 configure-target-libatomic 44423 @: $(MAKE); $(unstage) 44424 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \ 44425 r=`${PWD_COMMAND}`; export r; \ 44426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44427 $(NORMAL_TARGET_EXPORTS) \ 44428 echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \ 44429 for flag in $(EXTRA_TARGET_FLAGS); do \ 44430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44431 done; \ 44432 (cd $(TARGET_SUBDIR)/libatomic && \ 44433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44435 "RANLIB=$${RANLIB}" \ 44436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44437 html) \ 44438 || exit 1 44439 44440 @endif target-libatomic 44441 44442 .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic 44443 maybe-TAGS-target-libatomic: 44444 @if target-libatomic 44445 maybe-TAGS-target-libatomic: TAGS-target-libatomic 44446 44447 TAGS-target-libatomic: \ 44448 configure-target-libatomic 44449 @: $(MAKE); $(unstage) 44450 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \ 44451 r=`${PWD_COMMAND}`; export r; \ 44452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44453 $(NORMAL_TARGET_EXPORTS) \ 44454 echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \ 44455 for flag in $(EXTRA_TARGET_FLAGS); do \ 44456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44457 done; \ 44458 (cd $(TARGET_SUBDIR)/libatomic && \ 44459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44461 "RANLIB=$${RANLIB}" \ 44462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44463 TAGS) \ 44464 || exit 1 44465 44466 @endif target-libatomic 44467 44468 .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic 44469 maybe-install-info-target-libatomic: 44470 @if target-libatomic 44471 maybe-install-info-target-libatomic: install-info-target-libatomic 44472 44473 install-info-target-libatomic: \ 44474 configure-target-libatomic \ 44475 info-target-libatomic 44476 @: $(MAKE); $(unstage) 44477 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \ 44478 r=`${PWD_COMMAND}`; export r; \ 44479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44480 $(NORMAL_TARGET_EXPORTS) \ 44481 echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \ 44482 for flag in $(EXTRA_TARGET_FLAGS); do \ 44483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44484 done; \ 44485 (cd $(TARGET_SUBDIR)/libatomic && \ 44486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44488 "RANLIB=$${RANLIB}" \ 44489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44490 install-info) \ 44491 || exit 1 44492 44493 @endif target-libatomic 44494 44495 .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic 44496 maybe-install-pdf-target-libatomic: 44497 @if target-libatomic 44498 maybe-install-pdf-target-libatomic: install-pdf-target-libatomic 44499 44500 install-pdf-target-libatomic: \ 44501 configure-target-libatomic \ 44502 pdf-target-libatomic 44503 @: $(MAKE); $(unstage) 44504 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \ 44505 r=`${PWD_COMMAND}`; export r; \ 44506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44507 $(NORMAL_TARGET_EXPORTS) \ 44508 echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \ 44509 for flag in $(EXTRA_TARGET_FLAGS); do \ 44510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44511 done; \ 44512 (cd $(TARGET_SUBDIR)/libatomic && \ 44513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44515 "RANLIB=$${RANLIB}" \ 44516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44517 install-pdf) \ 44518 || exit 1 44519 44520 @endif target-libatomic 44521 44522 .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic 44523 maybe-install-html-target-libatomic: 44524 @if target-libatomic 44525 maybe-install-html-target-libatomic: install-html-target-libatomic 44526 44527 install-html-target-libatomic: \ 44528 configure-target-libatomic \ 44529 html-target-libatomic 44530 @: $(MAKE); $(unstage) 44531 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \ 44532 r=`${PWD_COMMAND}`; export r; \ 44533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44534 $(NORMAL_TARGET_EXPORTS) \ 44535 echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \ 44536 for flag in $(EXTRA_TARGET_FLAGS); do \ 44537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44538 done; \ 44539 (cd $(TARGET_SUBDIR)/libatomic && \ 44540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44542 "RANLIB=$${RANLIB}" \ 44543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44544 install-html) \ 44545 || exit 1 44546 44547 @endif target-libatomic 44548 44549 .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic 44550 maybe-installcheck-target-libatomic: 44551 @if target-libatomic 44552 maybe-installcheck-target-libatomic: installcheck-target-libatomic 44553 44554 installcheck-target-libatomic: \ 44555 configure-target-libatomic 44556 @: $(MAKE); $(unstage) 44557 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \ 44558 r=`${PWD_COMMAND}`; export r; \ 44559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44560 $(NORMAL_TARGET_EXPORTS) \ 44561 echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \ 44562 for flag in $(EXTRA_TARGET_FLAGS); do \ 44563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44564 done; \ 44565 (cd $(TARGET_SUBDIR)/libatomic && \ 44566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44568 "RANLIB=$${RANLIB}" \ 44569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44570 installcheck) \ 44571 || exit 1 44572 44573 @endif target-libatomic 44574 44575 .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic 44576 maybe-mostlyclean-target-libatomic: 44577 @if target-libatomic 44578 maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic 44579 44580 mostlyclean-target-libatomic: 44581 @: $(MAKE); $(unstage) 44582 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \ 44583 r=`${PWD_COMMAND}`; export r; \ 44584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44585 $(NORMAL_TARGET_EXPORTS) \ 44586 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \ 44587 for flag in $(EXTRA_TARGET_FLAGS); do \ 44588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44589 done; \ 44590 (cd $(TARGET_SUBDIR)/libatomic && \ 44591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44593 "RANLIB=$${RANLIB}" \ 44594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44595 mostlyclean) \ 44596 || exit 1 44597 44598 @endif target-libatomic 44599 44600 .PHONY: maybe-clean-target-libatomic clean-target-libatomic 44601 maybe-clean-target-libatomic: 44602 @if target-libatomic 44603 maybe-clean-target-libatomic: clean-target-libatomic 44604 44605 clean-target-libatomic: 44606 @: $(MAKE); $(unstage) 44607 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \ 44608 r=`${PWD_COMMAND}`; export r; \ 44609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44610 $(NORMAL_TARGET_EXPORTS) \ 44611 echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \ 44612 for flag in $(EXTRA_TARGET_FLAGS); do \ 44613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44614 done; \ 44615 (cd $(TARGET_SUBDIR)/libatomic && \ 44616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44618 "RANLIB=$${RANLIB}" \ 44619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44620 clean) \ 44621 || exit 1 44622 44623 @endif target-libatomic 44624 44625 .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic 44626 maybe-distclean-target-libatomic: 44627 @if target-libatomic 44628 maybe-distclean-target-libatomic: distclean-target-libatomic 44629 44630 distclean-target-libatomic: 44631 @: $(MAKE); $(unstage) 44632 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \ 44633 r=`${PWD_COMMAND}`; export r; \ 44634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44635 $(NORMAL_TARGET_EXPORTS) \ 44636 echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \ 44637 for flag in $(EXTRA_TARGET_FLAGS); do \ 44638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44639 done; \ 44640 (cd $(TARGET_SUBDIR)/libatomic && \ 44641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44643 "RANLIB=$${RANLIB}" \ 44644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44645 distclean) \ 44646 || exit 1 44647 44648 @endif target-libatomic 44649 44650 .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic 44651 maybe-maintainer-clean-target-libatomic: 44652 @if target-libatomic 44653 maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic 44654 44655 maintainer-clean-target-libatomic: 44656 @: $(MAKE); $(unstage) 44657 @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \ 44658 r=`${PWD_COMMAND}`; export r; \ 44659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44660 $(NORMAL_TARGET_EXPORTS) \ 44661 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \ 44662 for flag in $(EXTRA_TARGET_FLAGS); do \ 44663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ 44664 done; \ 44665 (cd $(TARGET_SUBDIR)/libatomic && \ 44666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ 44667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ 44668 "RANLIB=$${RANLIB}" \ 44669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \ 44670 maintainer-clean) \ 44671 || exit 1 44672 44673 @endif target-libatomic 44674 44675 44676 44677 @if target-libgomp 44678 .PHONY: check-target-libgomp-c++ 44679 check-target-libgomp-c++: 44680 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp 44681 44682 @endif target-libgomp 44683 44684 @if target-libitm 44685 .PHONY: check-target-libitm-c++ 44686 check-target-libitm-c++: 44687 $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm 44688 44689 @endif target-libitm 44690 44691 # ---------- 44692 # GCC module 44693 # ---------- 44694 44695 @if gcc-no-bootstrap 44696 .PHONY: cross 44697 cross: all-build all-gas all-ld 44698 @r=`${PWD_COMMAND}`; export r; \ 44699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44700 $(HOST_EXPORTS) \ 44701 echo "Building the C and C++ compiler"; \ 44702 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++" 44703 @r=`${PWD_COMMAND}`; export r; \ 44704 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \ 44705 echo "Building runtime libraries"; \ 44706 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all 44707 @endif gcc-no-bootstrap 44708 44709 @if gcc 44710 44711 .PHONY: check-gcc-c check-c 44712 check-gcc-c: 44713 r=`${PWD_COMMAND}`; export r; \ 44714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44715 $(HOST_EXPORTS) \ 44716 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc); 44717 check-c: check-gcc-c 44718 44719 .PHONY: check-gcc-c++ check-c++ 44720 check-gcc-c++: 44721 r=`${PWD_COMMAND}`; export r; \ 44722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44723 $(HOST_EXPORTS) \ 44724 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); 44725 check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++ 44726 44727 .PHONY: check-gcc-fortran check-fortran 44728 check-gcc-fortran: 44729 r=`${PWD_COMMAND}`; export r; \ 44730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44731 $(HOST_EXPORTS) \ 44732 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran); 44733 check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran 44734 44735 .PHONY: check-gcc-java check-java 44736 check-gcc-java: 44737 r=`${PWD_COMMAND}`; export r; \ 44738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44739 $(HOST_EXPORTS) \ 44740 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java); 44741 check-java: check-gcc-java check-target-libjava 44742 44743 .PHONY: check-gcc-ada check-ada 44744 check-gcc-ada: 44745 r=`${PWD_COMMAND}`; export r; \ 44746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44747 $(HOST_EXPORTS) \ 44748 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada); 44749 check-ada: check-gcc-ada check-target-libada 44750 44751 .PHONY: check-gcc-objc check-objc 44752 check-gcc-objc: 44753 r=`${PWD_COMMAND}`; export r; \ 44754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44755 $(HOST_EXPORTS) \ 44756 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc); 44757 check-objc: check-gcc-objc check-target-libobjc 44758 44759 .PHONY: check-gcc-obj-c++ check-obj-c++ 44760 check-gcc-obj-c++: 44761 r=`${PWD_COMMAND}`; export r; \ 44762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44763 $(HOST_EXPORTS) \ 44764 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++); 44765 check-obj-c++: check-gcc-obj-c++ 44766 44767 .PHONY: check-gcc-go check-go 44768 check-gcc-go: 44769 r=`${PWD_COMMAND}`; export r; \ 44770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44771 $(HOST_EXPORTS) \ 44772 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go); 44773 check-go: check-gcc-go check-target-libgo 44774 44775 44776 # The gcc part of install-no-fixedincludes, which relies on an intimate 44777 # knowledge of how a number of gcc internal targets (inter)operate. Delegate. 44778 .PHONY: gcc-install-no-fixedincludes 44779 gcc-install-no-fixedincludes: 44780 @if [ -f ./gcc/Makefile ]; then \ 44781 r=`${PWD_COMMAND}`; export r; \ 44782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 44783 $(HOST_EXPORTS) \ 44784 (cd ./gcc \ 44785 && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \ 44786 else true; fi 44787 @endif gcc 44788 44789 # --------------------- 44790 # GCC bootstrap support 44791 # --------------------- 44792 44793 # We track the current stage (the one in 'gcc') in the stage_current file. 44794 # stage_last instead tracks the stage that was built last. These targets 44795 # are dummy when toplevel bootstrap is not active. 44796 44797 # While making host and target tools, symlinks to the final stage must be 44798 # there, so $(unstage) should be run at various points. To avoid excessive 44799 # recursive invocations of make, we "inline" them using a variable. These 44800 # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)" 44801 # to avoid warnings from the GNU Make job server. 44802 44803 unstage = : 44804 stage = : 44805 current_stage = "" 44806 44807 @if gcc-bootstrap 44808 unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi 44809 stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi 44810 current_stage = "`cat stage_current 2> /dev/null`" 44811 @endif gcc-bootstrap 44812 44813 .PHONY: unstage stage 44814 unstage: 44815 @: $(MAKE); $(unstage) 44816 stage: 44817 @: $(MAKE); $(stage) 44818 44819 # Disable commands for lean bootstrap. 44820 LEAN = false 44821 44822 # We name the build directories for the various stages "stage1-gcc", 44823 # "stage2-gcc","stage3-gcc", etc. 44824 44825 # Since the 'compare' process will fail (on debugging information) if any 44826 # directory names are different, we need to link the gcc directory for 44827 # the previous stage to a constant name ('prev-gcc'), and to make the name of 44828 # the build directories constant as well. For the latter, we use naked names 44829 # like 'gcc', because the scripts in that directory assume it. We use 44830 # mv on platforms where symlinks to directories do not work or are not 44831 # reliable. 44832 44833 # 'touch' doesn't work right on some platforms. 44834 STAMP = echo timestamp > 44835 44836 # We only want to compare .o files, so set this! 44837 objext = .o 44838 44839 44840 .PHONY: stage1-start stage1-end 44841 44842 stage1-start:: 44843 @: $(MAKE); $(stage); \ 44844 echo stage1 > stage_current ; \ 44845 echo stage1 > stage_last; \ 44846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) 44847 @if bfd 44848 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \ 44849 mkdir stage1-bfd; \ 44850 mv stage1-bfd bfd 44851 @endif bfd 44852 @if opcodes 44853 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \ 44854 mkdir stage1-opcodes; \ 44855 mv stage1-opcodes opcodes 44856 @endif opcodes 44857 @if binutils 44858 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \ 44859 mkdir stage1-binutils; \ 44860 mv stage1-binutils binutils 44861 @endif binutils 44862 @if fixincludes 44863 @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \ 44864 mkdir stage1-fixincludes; \ 44865 mv stage1-fixincludes fixincludes 44866 @endif fixincludes 44867 @if gas 44868 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \ 44869 mkdir stage1-gas; \ 44870 mv stage1-gas gas 44871 @endif gas 44872 @if gcc 44873 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \ 44874 mkdir stage1-gcc; \ 44875 mv stage1-gcc gcc 44876 @endif gcc 44877 @if gmp 44878 @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \ 44879 mkdir stage1-gmp; \ 44880 mv stage1-gmp gmp 44881 @endif gmp 44882 @if mpfr 44883 @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \ 44884 mkdir stage1-mpfr; \ 44885 mv stage1-mpfr mpfr 44886 @endif mpfr 44887 @if mpc 44888 @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \ 44889 mkdir stage1-mpc; \ 44890 mv stage1-mpc mpc 44891 @endif mpc 44892 @if isl 44893 @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \ 44894 mkdir stage1-isl; \ 44895 mv stage1-isl isl 44896 @endif isl 44897 @if cloog 44898 @cd $(HOST_SUBDIR); [ -d stage1-cloog ] || \ 44899 mkdir stage1-cloog; \ 44900 mv stage1-cloog cloog 44901 @endif cloog 44902 @if libelf 44903 @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \ 44904 mkdir stage1-libelf; \ 44905 mv stage1-libelf libelf 44906 @endif libelf 44907 @if gold 44908 @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \ 44909 mkdir stage1-gold; \ 44910 mv stage1-gold gold 44911 @endif gold 44912 @if intl 44913 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \ 44914 mkdir stage1-intl; \ 44915 mv stage1-intl intl 44916 @endif intl 44917 @if ld 44918 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \ 44919 mkdir stage1-ld; \ 44920 mv stage1-ld ld 44921 @endif ld 44922 @if libbacktrace 44923 @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \ 44924 mkdir stage1-libbacktrace; \ 44925 mv stage1-libbacktrace libbacktrace 44926 @endif libbacktrace 44927 @if libcpp 44928 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \ 44929 mkdir stage1-libcpp; \ 44930 mv stage1-libcpp libcpp 44931 @endif libcpp 44932 @if libdecnumber 44933 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \ 44934 mkdir stage1-libdecnumber; \ 44935 mv stage1-libdecnumber libdecnumber 44936 @endif libdecnumber 44937 @if libiberty 44938 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \ 44939 mkdir stage1-libiberty; \ 44940 mv stage1-libiberty libiberty 44941 @endif libiberty 44942 @if zlib 44943 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \ 44944 mkdir stage1-zlib; \ 44945 mv stage1-zlib zlib 44946 @endif zlib 44947 @if lto-plugin 44948 @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \ 44949 mkdir stage1-lto-plugin; \ 44950 mv stage1-lto-plugin lto-plugin 44951 @endif lto-plugin 44952 @[ -d stage1-$(TARGET_SUBDIR) ] || \ 44953 mkdir stage1-$(TARGET_SUBDIR); \ 44954 mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR) 44955 44956 stage1-end:: 44957 @if bfd 44958 @if test -d $(HOST_SUBDIR)/bfd ; then \ 44959 cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \ 44960 fi 44961 @endif bfd 44962 @if opcodes 44963 @if test -d $(HOST_SUBDIR)/opcodes ; then \ 44964 cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \ 44965 fi 44966 @endif opcodes 44967 @if binutils 44968 @if test -d $(HOST_SUBDIR)/binutils ; then \ 44969 cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \ 44970 fi 44971 @endif binutils 44972 @if fixincludes 44973 @if test -d $(HOST_SUBDIR)/fixincludes ; then \ 44974 cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes ; \ 44975 fi 44976 @endif fixincludes 44977 @if gas 44978 @if test -d $(HOST_SUBDIR)/gas ; then \ 44979 cd $(HOST_SUBDIR); mv gas stage1-gas ; \ 44980 fi 44981 @endif gas 44982 @if gcc 44983 @if test -d $(HOST_SUBDIR)/gcc ; then \ 44984 cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \ 44985 fi 44986 @endif gcc 44987 @if gmp 44988 @if test -d $(HOST_SUBDIR)/gmp ; then \ 44989 cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \ 44990 fi 44991 @endif gmp 44992 @if mpfr 44993 @if test -d $(HOST_SUBDIR)/mpfr ; then \ 44994 cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \ 44995 fi 44996 @endif mpfr 44997 @if mpc 44998 @if test -d $(HOST_SUBDIR)/mpc ; then \ 44999 cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \ 45000 fi 45001 @endif mpc 45002 @if isl 45003 @if test -d $(HOST_SUBDIR)/isl ; then \ 45004 cd $(HOST_SUBDIR); mv isl stage1-isl ; \ 45005 fi 45006 @endif isl 45007 @if cloog 45008 @if test -d $(HOST_SUBDIR)/cloog ; then \ 45009 cd $(HOST_SUBDIR); mv cloog stage1-cloog ; \ 45010 fi 45011 @endif cloog 45012 @if libelf 45013 @if test -d $(HOST_SUBDIR)/libelf ; then \ 45014 cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \ 45015 fi 45016 @endif libelf 45017 @if gold 45018 @if test -d $(HOST_SUBDIR)/gold ; then \ 45019 cd $(HOST_SUBDIR); mv gold stage1-gold ; \ 45020 fi 45021 @endif gold 45022 @if intl 45023 @if test -d $(HOST_SUBDIR)/intl ; then \ 45024 cd $(HOST_SUBDIR); mv intl stage1-intl ; \ 45025 fi 45026 @endif intl 45027 @if ld 45028 @if test -d $(HOST_SUBDIR)/ld ; then \ 45029 cd $(HOST_SUBDIR); mv ld stage1-ld ; \ 45030 fi 45031 @endif ld 45032 @if libbacktrace 45033 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \ 45034 cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \ 45035 fi 45036 @endif libbacktrace 45037 @if libcpp 45038 @if test -d $(HOST_SUBDIR)/libcpp ; then \ 45039 cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \ 45040 fi 45041 @endif libcpp 45042 @if libdecnumber 45043 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ 45044 cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \ 45045 fi 45046 @endif libdecnumber 45047 @if libiberty 45048 @if test -d $(HOST_SUBDIR)/libiberty ; then \ 45049 cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \ 45050 fi 45051 @endif libiberty 45052 @if zlib 45053 @if test -d $(HOST_SUBDIR)/zlib ; then \ 45054 cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \ 45055 fi 45056 @endif zlib 45057 @if lto-plugin 45058 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \ 45059 cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \ 45060 fi 45061 @endif lto-plugin 45062 @if test -d $(TARGET_SUBDIR) ; then \ 45063 mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \ 45064 fi 45065 rm -f stage_current 45066 45067 # Bubble a bug fix through all the stages up to stage 1. They are 45068 # remade, but not reconfigured. The next stage (if any) will not be 45069 # reconfigured either. 45070 .PHONY: stage1-bubble 45071 stage1-bubble:: 45072 @r=`${PWD_COMMAND}`; export r; \ 45073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 45074 if test -f stage1-lean ; then \ 45075 echo Skipping rebuild of stage1 ; \ 45076 else \ 45077 $(MAKE) stage1-start; \ 45078 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \ 45079 fi 45080 45081 .PHONY: all-stage1 clean-stage1 45082 do-clean: clean-stage1 45083 45084 # FIXME: Will not need to be conditional when toplevel bootstrap is the 45085 # only possibility, but now it conflicts with no-bootstrap rules 45086 @if gcc-bootstrap 45087 45088 45089 45090 45091 # Rules to wipe a stage and all the following ones, also used for cleanstrap 45092 45093 .PHONY: distclean-stage1 45094 distclean-stage1:: 45095 @: $(MAKE); $(stage) 45096 @test "`cat stage_last`" != stage1 || rm -f stage_last 45097 rm -rf stage1-* 45098 45099 45100 @endif gcc-bootstrap 45101 45102 45103 .PHONY: stage2-start stage2-end 45104 45105 stage2-start:: 45106 @: $(MAKE); $(stage); \ 45107 echo stage2 > stage_current ; \ 45108 echo stage2 > stage_last; \ 45109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) 45110 @if bfd 45111 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \ 45112 mkdir stage2-bfd; \ 45113 mv stage2-bfd bfd ; \ 45114 mv stage1-bfd prev-bfd || test -f stage1-lean 45115 @endif bfd 45116 @if opcodes 45117 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \ 45118 mkdir stage2-opcodes; \ 45119 mv stage2-opcodes opcodes ; \ 45120 mv stage1-opcodes prev-opcodes || test -f stage1-lean 45121 @endif opcodes 45122 @if binutils 45123 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \ 45124 mkdir stage2-binutils; \ 45125 mv stage2-binutils binutils ; \ 45126 mv stage1-binutils prev-binutils || test -f stage1-lean 45127 @endif binutils 45128 @if fixincludes 45129 @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \ 45130 mkdir stage2-fixincludes; \ 45131 mv stage2-fixincludes fixincludes ; \ 45132 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean 45133 @endif fixincludes 45134 @if gas 45135 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \ 45136 mkdir stage2-gas; \ 45137 mv stage2-gas gas ; \ 45138 mv stage1-gas prev-gas || test -f stage1-lean 45139 @endif gas 45140 @if gcc 45141 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \ 45142 mkdir stage2-gcc; \ 45143 mv stage2-gcc gcc ; \ 45144 mv stage1-gcc prev-gcc || test -f stage1-lean 45145 @endif gcc 45146 @if gmp 45147 @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \ 45148 mkdir stage2-gmp; \ 45149 mv stage2-gmp gmp ; \ 45150 mv stage1-gmp prev-gmp || test -f stage1-lean 45151 @endif gmp 45152 @if mpfr 45153 @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \ 45154 mkdir stage2-mpfr; \ 45155 mv stage2-mpfr mpfr ; \ 45156 mv stage1-mpfr prev-mpfr || test -f stage1-lean 45157 @endif mpfr 45158 @if mpc 45159 @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \ 45160 mkdir stage2-mpc; \ 45161 mv stage2-mpc mpc ; \ 45162 mv stage1-mpc prev-mpc || test -f stage1-lean 45163 @endif mpc 45164 @if isl 45165 @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \ 45166 mkdir stage2-isl; \ 45167 mv stage2-isl isl ; \ 45168 mv stage1-isl prev-isl || test -f stage1-lean 45169 @endif isl 45170 @if cloog 45171 @cd $(HOST_SUBDIR); [ -d stage2-cloog ] || \ 45172 mkdir stage2-cloog; \ 45173 mv stage2-cloog cloog ; \ 45174 mv stage1-cloog prev-cloog || test -f stage1-lean 45175 @endif cloog 45176 @if libelf 45177 @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \ 45178 mkdir stage2-libelf; \ 45179 mv stage2-libelf libelf ; \ 45180 mv stage1-libelf prev-libelf || test -f stage1-lean 45181 @endif libelf 45182 @if gold 45183 @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \ 45184 mkdir stage2-gold; \ 45185 mv stage2-gold gold ; \ 45186 mv stage1-gold prev-gold || test -f stage1-lean 45187 @endif gold 45188 @if intl 45189 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \ 45190 mkdir stage2-intl; \ 45191 mv stage2-intl intl ; \ 45192 mv stage1-intl prev-intl || test -f stage1-lean 45193 @endif intl 45194 @if ld 45195 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \ 45196 mkdir stage2-ld; \ 45197 mv stage2-ld ld ; \ 45198 mv stage1-ld prev-ld || test -f stage1-lean 45199 @endif ld 45200 @if libbacktrace 45201 @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \ 45202 mkdir stage2-libbacktrace; \ 45203 mv stage2-libbacktrace libbacktrace ; \ 45204 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean 45205 @endif libbacktrace 45206 @if libcpp 45207 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \ 45208 mkdir stage2-libcpp; \ 45209 mv stage2-libcpp libcpp ; \ 45210 mv stage1-libcpp prev-libcpp || test -f stage1-lean 45211 @endif libcpp 45212 @if libdecnumber 45213 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \ 45214 mkdir stage2-libdecnumber; \ 45215 mv stage2-libdecnumber libdecnumber ; \ 45216 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean 45217 @endif libdecnumber 45218 @if libiberty 45219 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \ 45220 mkdir stage2-libiberty; \ 45221 mv stage2-libiberty libiberty ; \ 45222 mv stage1-libiberty prev-libiberty || test -f stage1-lean 45223 @endif libiberty 45224 @if zlib 45225 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \ 45226 mkdir stage2-zlib; \ 45227 mv stage2-zlib zlib ; \ 45228 mv stage1-zlib prev-zlib || test -f stage1-lean 45229 @endif zlib 45230 @if lto-plugin 45231 @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \ 45232 mkdir stage2-lto-plugin; \ 45233 mv stage2-lto-plugin lto-plugin ; \ 45234 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean 45235 @endif lto-plugin 45236 @[ -d stage2-$(TARGET_SUBDIR) ] || \ 45237 mkdir stage2-$(TARGET_SUBDIR); \ 45238 mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ 45239 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean 45240 45241 stage2-end:: 45242 @if bfd 45243 @if test -d $(HOST_SUBDIR)/bfd ; then \ 45244 cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \ 45245 mv prev-bfd stage1-bfd ; : ; \ 45246 fi 45247 @endif bfd 45248 @if opcodes 45249 @if test -d $(HOST_SUBDIR)/opcodes ; then \ 45250 cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \ 45251 mv prev-opcodes stage1-opcodes ; : ; \ 45252 fi 45253 @endif opcodes 45254 @if binutils 45255 @if test -d $(HOST_SUBDIR)/binutils ; then \ 45256 cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \ 45257 mv prev-binutils stage1-binutils ; : ; \ 45258 fi 45259 @endif binutils 45260 @if fixincludes 45261 @if test -d $(HOST_SUBDIR)/fixincludes ; then \ 45262 cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes ; \ 45263 mv prev-fixincludes stage1-fixincludes ; : ; \ 45264 fi 45265 @endif fixincludes 45266 @if gas 45267 @if test -d $(HOST_SUBDIR)/gas ; then \ 45268 cd $(HOST_SUBDIR); mv gas stage2-gas ; \ 45269 mv prev-gas stage1-gas ; : ; \ 45270 fi 45271 @endif gas 45272 @if gcc 45273 @if test -d $(HOST_SUBDIR)/gcc ; then \ 45274 cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \ 45275 mv prev-gcc stage1-gcc ; : ; \ 45276 fi 45277 @endif gcc 45278 @if gmp 45279 @if test -d $(HOST_SUBDIR)/gmp ; then \ 45280 cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \ 45281 mv prev-gmp stage1-gmp ; : ; \ 45282 fi 45283 @endif gmp 45284 @if mpfr 45285 @if test -d $(HOST_SUBDIR)/mpfr ; then \ 45286 cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \ 45287 mv prev-mpfr stage1-mpfr ; : ; \ 45288 fi 45289 @endif mpfr 45290 @if mpc 45291 @if test -d $(HOST_SUBDIR)/mpc ; then \ 45292 cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \ 45293 mv prev-mpc stage1-mpc ; : ; \ 45294 fi 45295 @endif mpc 45296 @if isl 45297 @if test -d $(HOST_SUBDIR)/isl ; then \ 45298 cd $(HOST_SUBDIR); mv isl stage2-isl ; \ 45299 mv prev-isl stage1-isl ; : ; \ 45300 fi 45301 @endif isl 45302 @if cloog 45303 @if test -d $(HOST_SUBDIR)/cloog ; then \ 45304 cd $(HOST_SUBDIR); mv cloog stage2-cloog ; \ 45305 mv prev-cloog stage1-cloog ; : ; \ 45306 fi 45307 @endif cloog 45308 @if libelf 45309 @if test -d $(HOST_SUBDIR)/libelf ; then \ 45310 cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \ 45311 mv prev-libelf stage1-libelf ; : ; \ 45312 fi 45313 @endif libelf 45314 @if gold 45315 @if test -d $(HOST_SUBDIR)/gold ; then \ 45316 cd $(HOST_SUBDIR); mv gold stage2-gold ; \ 45317 mv prev-gold stage1-gold ; : ; \ 45318 fi 45319 @endif gold 45320 @if intl 45321 @if test -d $(HOST_SUBDIR)/intl ; then \ 45322 cd $(HOST_SUBDIR); mv intl stage2-intl ; \ 45323 mv prev-intl stage1-intl ; : ; \ 45324 fi 45325 @endif intl 45326 @if ld 45327 @if test -d $(HOST_SUBDIR)/ld ; then \ 45328 cd $(HOST_SUBDIR); mv ld stage2-ld ; \ 45329 mv prev-ld stage1-ld ; : ; \ 45330 fi 45331 @endif ld 45332 @if libbacktrace 45333 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \ 45334 cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \ 45335 mv prev-libbacktrace stage1-libbacktrace ; : ; \ 45336 fi 45337 @endif libbacktrace 45338 @if libcpp 45339 @if test -d $(HOST_SUBDIR)/libcpp ; then \ 45340 cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \ 45341 mv prev-libcpp stage1-libcpp ; : ; \ 45342 fi 45343 @endif libcpp 45344 @if libdecnumber 45345 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ 45346 cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \ 45347 mv prev-libdecnumber stage1-libdecnumber ; : ; \ 45348 fi 45349 @endif libdecnumber 45350 @if libiberty 45351 @if test -d $(HOST_SUBDIR)/libiberty ; then \ 45352 cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \ 45353 mv prev-libiberty stage1-libiberty ; : ; \ 45354 fi 45355 @endif libiberty 45356 @if zlib 45357 @if test -d $(HOST_SUBDIR)/zlib ; then \ 45358 cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \ 45359 mv prev-zlib stage1-zlib ; : ; \ 45360 fi 45361 @endif zlib 45362 @if lto-plugin 45363 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \ 45364 cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \ 45365 mv prev-lto-plugin stage1-lto-plugin ; : ; \ 45366 fi 45367 @endif lto-plugin 45368 @if test -d $(TARGET_SUBDIR) ; then \ 45369 mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \ 45370 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \ 45371 fi 45372 rm -f stage_current 45373 45374 # Bubble a bug fix through all the stages up to stage 2. They are 45375 # remade, but not reconfigured. The next stage (if any) will not be 45376 # reconfigured either. 45377 .PHONY: stage2-bubble 45378 stage2-bubble:: stage1-bubble 45379 @r=`${PWD_COMMAND}`; export r; \ 45380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 45381 if test -f stage2-lean || test -f stage1-lean ; then \ 45382 echo Skipping rebuild of stage2 ; \ 45383 else \ 45384 $(MAKE) stage2-start; \ 45385 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \ 45386 fi 45387 45388 .PHONY: all-stage2 clean-stage2 45389 do-clean: clean-stage2 45390 45391 # FIXME: Will not need to be conditional when toplevel bootstrap is the 45392 # only possibility, but now it conflicts with no-bootstrap rules 45393 @if gcc-bootstrap 45394 45395 45396 45397 .PHONY: bootstrap2 bootstrap2-lean 45398 bootstrap2: 45399 echo stage2 > stage_final 45400 @r=`${PWD_COMMAND}`; export r; \ 45401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 45402 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble 45403 @: $(MAKE); $(unstage) 45404 @r=`${PWD_COMMAND}`; export r; \ 45405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 45406 TFLAGS="$(STAGE2_TFLAGS)"; \ 45407 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target 45408 45409 bootstrap2-lean: 45410 echo stage2 > stage_final 45411 @r=`${PWD_COMMAND}`; export r; \ 45412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 45413 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble 45414 @: $(MAKE); $(unstage) 45415 @r=`${PWD_COMMAND}`; export r; \ 45416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 45417 TFLAGS="$(STAGE2_TFLAGS)"; \ 45418 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target 45419 45420 45421 # Rules to wipe a stage and all the following ones, also used for cleanstrap 45422 distclean-stage1:: distclean-stage2 45423 .PHONY: distclean-stage2 45424 distclean-stage2:: 45425 @: $(MAKE); $(stage) 45426 @test "`cat stage_last`" != stage2 || rm -f stage_last 45427 rm -rf stage2-* 45428 45429 45430 @endif gcc-bootstrap 45431 45432 45433 .PHONY: stage3-start stage3-end 45434 45435 stage3-start:: 45436 @: $(MAKE); $(stage); \ 45437 echo stage3 > stage_current ; \ 45438 echo stage3 > stage_last; \ 45439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) 45440 @if bfd 45441 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \ 45442 mkdir stage3-bfd; \ 45443 mv stage3-bfd bfd ; \ 45444 mv stage2-bfd prev-bfd || test -f stage2-lean 45445 @endif bfd 45446 @if opcodes 45447 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \ 45448 mkdir stage3-opcodes; \ 45449 mv stage3-opcodes opcodes ; \ 45450 mv stage2-opcodes prev-opcodes || test -f stage2-lean 45451 @endif opcodes 45452 @if binutils 45453 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \ 45454 mkdir stage3-binutils; \ 45455 mv stage3-binutils binutils ; \ 45456 mv stage2-binutils prev-binutils || test -f stage2-lean 45457 @endif binutils 45458 @if fixincludes 45459 @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \ 45460 mkdir stage3-fixincludes; \ 45461 mv stage3-fixincludes fixincludes ; \ 45462 mv stage2-fixincludes prev-fixincludes || test -f stage2-lean 45463 @endif fixincludes 45464 @if gas 45465 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \ 45466 mkdir stage3-gas; \ 45467 mv stage3-gas gas ; \ 45468 mv stage2-gas prev-gas || test -f stage2-lean 45469 @endif gas 45470 @if gcc 45471 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \ 45472 mkdir stage3-gcc; \ 45473 mv stage3-gcc gcc ; \ 45474 mv stage2-gcc prev-gcc || test -f stage2-lean 45475 @endif gcc 45476 @if gmp 45477 @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \ 45478 mkdir stage3-gmp; \ 45479 mv stage3-gmp gmp ; \ 45480 mv stage2-gmp prev-gmp || test -f stage2-lean 45481 @endif gmp 45482 @if mpfr 45483 @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \ 45484 mkdir stage3-mpfr; \ 45485 mv stage3-mpfr mpfr ; \ 45486 mv stage2-mpfr prev-mpfr || test -f stage2-lean 45487 @endif mpfr 45488 @if mpc 45489 @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \ 45490 mkdir stage3-mpc; \ 45491 mv stage3-mpc mpc ; \ 45492 mv stage2-mpc prev-mpc || test -f stage2-lean 45493 @endif mpc 45494 @if isl 45495 @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \ 45496 mkdir stage3-isl; \ 45497 mv stage3-isl isl ; \ 45498 mv stage2-isl prev-isl || test -f stage2-lean 45499 @endif isl 45500 @if cloog 45501 @cd $(HOST_SUBDIR); [ -d stage3-cloog ] || \ 45502 mkdir stage3-cloog; \ 45503 mv stage3-cloog cloog ; \ 45504 mv stage2-cloog prev-cloog || test -f stage2-lean 45505 @endif cloog 45506 @if libelf 45507 @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \ 45508 mkdir stage3-libelf; \ 45509 mv stage3-libelf libelf ; \ 45510 mv stage2-libelf prev-libelf || test -f stage2-lean 45511 @endif libelf 45512 @if gold 45513 @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \ 45514 mkdir stage3-gold; \ 45515 mv stage3-gold gold ; \ 45516 mv stage2-gold prev-gold || test -f stage2-lean 45517 @endif gold 45518 @if intl 45519 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \ 45520 mkdir stage3-intl; \ 45521 mv stage3-intl intl ; \ 45522 mv stage2-intl prev-intl || test -f stage2-lean 45523 @endif intl 45524 @if ld 45525 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \ 45526 mkdir stage3-ld; \ 45527 mv stage3-ld ld ; \ 45528 mv stage2-ld prev-ld || test -f stage2-lean 45529 @endif ld 45530 @if libbacktrace 45531 @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \ 45532 mkdir stage3-libbacktrace; \ 45533 mv stage3-libbacktrace libbacktrace ; \ 45534 mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean 45535 @endif libbacktrace 45536 @if libcpp 45537 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \ 45538 mkdir stage3-libcpp; \ 45539 mv stage3-libcpp libcpp ; \ 45540 mv stage2-libcpp prev-libcpp || test -f stage2-lean 45541 @endif libcpp 45542 @if libdecnumber 45543 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \ 45544 mkdir stage3-libdecnumber; \ 45545 mv stage3-libdecnumber libdecnumber ; \ 45546 mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean 45547 @endif libdecnumber 45548 @if libiberty 45549 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \ 45550 mkdir stage3-libiberty; \ 45551 mv stage3-libiberty libiberty ; \ 45552 mv stage2-libiberty prev-libiberty || test -f stage2-lean 45553 @endif libiberty 45554 @if zlib 45555 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \ 45556 mkdir stage3-zlib; \ 45557 mv stage3-zlib zlib ; \ 45558 mv stage2-zlib prev-zlib || test -f stage2-lean 45559 @endif zlib 45560 @if lto-plugin 45561 @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \ 45562 mkdir stage3-lto-plugin; \ 45563 mv stage3-lto-plugin lto-plugin ; \ 45564 mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean 45565 @endif lto-plugin 45566 @[ -d stage3-$(TARGET_SUBDIR) ] || \ 45567 mkdir stage3-$(TARGET_SUBDIR); \ 45568 mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ 45569 mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean 45570 45571 stage3-end:: 45572 @if bfd 45573 @if test -d $(HOST_SUBDIR)/bfd ; then \ 45574 cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \ 45575 mv prev-bfd stage2-bfd ; : ; \ 45576 fi 45577 @endif bfd 45578 @if opcodes 45579 @if test -d $(HOST_SUBDIR)/opcodes ; then \ 45580 cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \ 45581 mv prev-opcodes stage2-opcodes ; : ; \ 45582 fi 45583 @endif opcodes 45584 @if binutils 45585 @if test -d $(HOST_SUBDIR)/binutils ; then \ 45586 cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \ 45587 mv prev-binutils stage2-binutils ; : ; \ 45588 fi 45589 @endif binutils 45590 @if fixincludes 45591 @if test -d $(HOST_SUBDIR)/fixincludes ; then \ 45592 cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes ; \ 45593 mv prev-fixincludes stage2-fixincludes ; : ; \ 45594 fi 45595 @endif fixincludes 45596 @if gas 45597 @if test -d $(HOST_SUBDIR)/gas ; then \ 45598 cd $(HOST_SUBDIR); mv gas stage3-gas ; \ 45599 mv prev-gas stage2-gas ; : ; \ 45600 fi 45601 @endif gas 45602 @if gcc 45603 @if test -d $(HOST_SUBDIR)/gcc ; then \ 45604 cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \ 45605 mv prev-gcc stage2-gcc ; : ; \ 45606 fi 45607 @endif gcc 45608 @if gmp 45609 @if test -d $(HOST_SUBDIR)/gmp ; then \ 45610 cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \ 45611 mv prev-gmp stage2-gmp ; : ; \ 45612 fi 45613 @endif gmp 45614 @if mpfr 45615 @if test -d $(HOST_SUBDIR)/mpfr ; then \ 45616 cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \ 45617 mv prev-mpfr stage2-mpfr ; : ; \ 45618 fi 45619 @endif mpfr 45620 @if mpc 45621 @if test -d $(HOST_SUBDIR)/mpc ; then \ 45622 cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \ 45623 mv prev-mpc stage2-mpc ; : ; \ 45624 fi 45625 @endif mpc 45626 @if isl 45627 @if test -d $(HOST_SUBDIR)/isl ; then \ 45628 cd $(HOST_SUBDIR); mv isl stage3-isl ; \ 45629 mv prev-isl stage2-isl ; : ; \ 45630 fi 45631 @endif isl 45632 @if cloog 45633 @if test -d $(HOST_SUBDIR)/cloog ; then \ 45634 cd $(HOST_SUBDIR); mv cloog stage3-cloog ; \ 45635 mv prev-cloog stage2-cloog ; : ; \ 45636 fi 45637 @endif cloog 45638 @if libelf 45639 @if test -d $(HOST_SUBDIR)/libelf ; then \ 45640 cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \ 45641 mv prev-libelf stage2-libelf ; : ; \ 45642 fi 45643 @endif libelf 45644 @if gold 45645 @if test -d $(HOST_SUBDIR)/gold ; then \ 45646 cd $(HOST_SUBDIR); mv gold stage3-gold ; \ 45647 mv prev-gold stage2-gold ; : ; \ 45648 fi 45649 @endif gold 45650 @if intl 45651 @if test -d $(HOST_SUBDIR)/intl ; then \ 45652 cd $(HOST_SUBDIR); mv intl stage3-intl ; \ 45653 mv prev-intl stage2-intl ; : ; \ 45654 fi 45655 @endif intl 45656 @if ld 45657 @if test -d $(HOST_SUBDIR)/ld ; then \ 45658 cd $(HOST_SUBDIR); mv ld stage3-ld ; \ 45659 mv prev-ld stage2-ld ; : ; \ 45660 fi 45661 @endif ld 45662 @if libbacktrace 45663 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \ 45664 cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \ 45665 mv prev-libbacktrace stage2-libbacktrace ; : ; \ 45666 fi 45667 @endif libbacktrace 45668 @if libcpp 45669 @if test -d $(HOST_SUBDIR)/libcpp ; then \ 45670 cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \ 45671 mv prev-libcpp stage2-libcpp ; : ; \ 45672 fi 45673 @endif libcpp 45674 @if libdecnumber 45675 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ 45676 cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \ 45677 mv prev-libdecnumber stage2-libdecnumber ; : ; \ 45678 fi 45679 @endif libdecnumber 45680 @if libiberty 45681 @if test -d $(HOST_SUBDIR)/libiberty ; then \ 45682 cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \ 45683 mv prev-libiberty stage2-libiberty ; : ; \ 45684 fi 45685 @endif libiberty 45686 @if zlib 45687 @if test -d $(HOST_SUBDIR)/zlib ; then \ 45688 cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \ 45689 mv prev-zlib stage2-zlib ; : ; \ 45690 fi 45691 @endif zlib 45692 @if lto-plugin 45693 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \ 45694 cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \ 45695 mv prev-lto-plugin stage2-lto-plugin ; : ; \ 45696 fi 45697 @endif lto-plugin 45698 @if test -d $(TARGET_SUBDIR) ; then \ 45699 mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \ 45700 mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \ 45701 fi 45702 rm -f stage_current 45703 45704 # Bubble a bug fix through all the stages up to stage 3. They are 45705 # remade, but not reconfigured. The next stage (if any) will not be 45706 # reconfigured either. 45707 .PHONY: stage3-bubble 45708 stage3-bubble:: stage2-bubble 45709 @r=`${PWD_COMMAND}`; export r; \ 45710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 45711 if test -f stage3-lean || test -f stage2-lean ; then \ 45712 echo Skipping rebuild of stage3 ; \ 45713 else \ 45714 $(MAKE) stage3-start; \ 45715 if $(LEAN); then \ 45716 rm -rf stage1-* ; \ 45717 $(STAMP) stage1-lean ; \ 45718 fi; \ 45719 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \ 45720 fi 45721 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare 45722 45723 .PHONY: all-stage3 clean-stage3 45724 do-clean: clean-stage3 45725 45726 # FIXME: Will not need to be conditional when toplevel bootstrap is the 45727 # only possibility, but now it conflicts with no-bootstrap rules 45728 @if gcc-bootstrap 45729 45730 compare: 45731 @r=`${PWD_COMMAND}`; export r; \ 45732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 45733 if test -f stage2-lean; then \ 45734 echo Cannot compare object files as stage 2 was deleted. ; \ 45735 exit 0 ; \ 45736 fi; \ 45737 : $(MAKE); $(stage); \ 45738 rm -f .bad_compare ; \ 45739 echo Comparing stages 2 and 3 ; \ 45740 sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \ 45741 files=`find stage3-* -name "*$(objext)" -print | \ 45742 sed -n s,^stage$$sed-,,p` ; \ 45743 for file in $${files} ; do \ 45744 f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \ 45745 if test ! -f $$f1; then continue; fi; \ 45746 $(do-compare) > /dev/null 2>&1; \ 45747 if test $$? -eq 1; then \ 45748 case $$file in \ 45749 @compare_exclusions@) \ 45750 echo warning: $$file differs ;; \ 45751 *) \ 45752 echo $$file differs >> .bad_compare ;; \ 45753 esac ; \ 45754 fi ; \ 45755 done ; \ 45756 if [ -f .bad_compare ]; then \ 45757 echo "Bootstrap comparison failure!"; \ 45758 cat .bad_compare; \ 45759 exit 1; \ 45760 else \ 45761 echo Comparison successful.; \ 45762 fi ; \ 45763 $(STAMP) compare 45764 if $(LEAN); then \ 45765 rm -rf stage2-*; \ 45766 $(STAMP) stage2-lean; \ 45767 fi 45768 45769 45770 45771 .PHONY: bootstrap bootstrap-lean 45772 bootstrap: 45773 echo stage3 > stage_final 45774 @r=`${PWD_COMMAND}`; export r; \ 45775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 45776 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble 45777 @: $(MAKE); $(unstage) 45778 @r=`${PWD_COMMAND}`; export r; \ 45779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 45780 TFLAGS="$(STAGE3_TFLAGS)"; \ 45781 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target 45782 45783 bootstrap-lean: 45784 echo stage3 > stage_final 45785 @r=`${PWD_COMMAND}`; export r; \ 45786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 45787 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble 45788 @: $(MAKE); $(unstage) 45789 @r=`${PWD_COMMAND}`; export r; \ 45790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 45791 TFLAGS="$(STAGE3_TFLAGS)"; \ 45792 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target 45793 45794 45795 # Rules to wipe a stage and all the following ones, also used for cleanstrap 45796 distclean-stage2:: distclean-stage3 45797 .PHONY: distclean-stage3 45798 distclean-stage3:: 45799 @: $(MAKE); $(stage) 45800 @test "`cat stage_last`" != stage3 || rm -f stage_last 45801 rm -rf stage3-* compare 45802 45803 45804 .PHONY: cleanstrap 45805 cleanstrap: do-distclean local-clean 45806 echo stage3 > stage_final 45807 @r=`${PWD_COMMAND}`; export r; \ 45808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 45809 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble 45810 @: $(MAKE); $(unstage) 45811 @r=`${PWD_COMMAND}`; export r; \ 45812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 45813 TFLAGS="$(STAGE3_TFLAGS)"; \ 45814 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target 45815 45816 @endif gcc-bootstrap 45817 45818 45819 .PHONY: stage4-start stage4-end 45820 45821 stage4-start:: 45822 @: $(MAKE); $(stage); \ 45823 echo stage4 > stage_current ; \ 45824 echo stage4 > stage_last; \ 45825 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) 45826 @if bfd 45827 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \ 45828 mkdir stage4-bfd; \ 45829 mv stage4-bfd bfd ; \ 45830 mv stage3-bfd prev-bfd || test -f stage3-lean 45831 @endif bfd 45832 @if opcodes 45833 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \ 45834 mkdir stage4-opcodes; \ 45835 mv stage4-opcodes opcodes ; \ 45836 mv stage3-opcodes prev-opcodes || test -f stage3-lean 45837 @endif opcodes 45838 @if binutils 45839 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \ 45840 mkdir stage4-binutils; \ 45841 mv stage4-binutils binutils ; \ 45842 mv stage3-binutils prev-binutils || test -f stage3-lean 45843 @endif binutils 45844 @if fixincludes 45845 @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \ 45846 mkdir stage4-fixincludes; \ 45847 mv stage4-fixincludes fixincludes ; \ 45848 mv stage3-fixincludes prev-fixincludes || test -f stage3-lean 45849 @endif fixincludes 45850 @if gas 45851 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \ 45852 mkdir stage4-gas; \ 45853 mv stage4-gas gas ; \ 45854 mv stage3-gas prev-gas || test -f stage3-lean 45855 @endif gas 45856 @if gcc 45857 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \ 45858 mkdir stage4-gcc; \ 45859 mv stage4-gcc gcc ; \ 45860 mv stage3-gcc prev-gcc || test -f stage3-lean 45861 @endif gcc 45862 @if gmp 45863 @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \ 45864 mkdir stage4-gmp; \ 45865 mv stage4-gmp gmp ; \ 45866 mv stage3-gmp prev-gmp || test -f stage3-lean 45867 @endif gmp 45868 @if mpfr 45869 @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \ 45870 mkdir stage4-mpfr; \ 45871 mv stage4-mpfr mpfr ; \ 45872 mv stage3-mpfr prev-mpfr || test -f stage3-lean 45873 @endif mpfr 45874 @if mpc 45875 @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \ 45876 mkdir stage4-mpc; \ 45877 mv stage4-mpc mpc ; \ 45878 mv stage3-mpc prev-mpc || test -f stage3-lean 45879 @endif mpc 45880 @if isl 45881 @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \ 45882 mkdir stage4-isl; \ 45883 mv stage4-isl isl ; \ 45884 mv stage3-isl prev-isl || test -f stage3-lean 45885 @endif isl 45886 @if cloog 45887 @cd $(HOST_SUBDIR); [ -d stage4-cloog ] || \ 45888 mkdir stage4-cloog; \ 45889 mv stage4-cloog cloog ; \ 45890 mv stage3-cloog prev-cloog || test -f stage3-lean 45891 @endif cloog 45892 @if libelf 45893 @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \ 45894 mkdir stage4-libelf; \ 45895 mv stage4-libelf libelf ; \ 45896 mv stage3-libelf prev-libelf || test -f stage3-lean 45897 @endif libelf 45898 @if gold 45899 @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \ 45900 mkdir stage4-gold; \ 45901 mv stage4-gold gold ; \ 45902 mv stage3-gold prev-gold || test -f stage3-lean 45903 @endif gold 45904 @if intl 45905 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \ 45906 mkdir stage4-intl; \ 45907 mv stage4-intl intl ; \ 45908 mv stage3-intl prev-intl || test -f stage3-lean 45909 @endif intl 45910 @if ld 45911 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \ 45912 mkdir stage4-ld; \ 45913 mv stage4-ld ld ; \ 45914 mv stage3-ld prev-ld || test -f stage3-lean 45915 @endif ld 45916 @if libbacktrace 45917 @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \ 45918 mkdir stage4-libbacktrace; \ 45919 mv stage4-libbacktrace libbacktrace ; \ 45920 mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean 45921 @endif libbacktrace 45922 @if libcpp 45923 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \ 45924 mkdir stage4-libcpp; \ 45925 mv stage4-libcpp libcpp ; \ 45926 mv stage3-libcpp prev-libcpp || test -f stage3-lean 45927 @endif libcpp 45928 @if libdecnumber 45929 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \ 45930 mkdir stage4-libdecnumber; \ 45931 mv stage4-libdecnumber libdecnumber ; \ 45932 mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean 45933 @endif libdecnumber 45934 @if libiberty 45935 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \ 45936 mkdir stage4-libiberty; \ 45937 mv stage4-libiberty libiberty ; \ 45938 mv stage3-libiberty prev-libiberty || test -f stage3-lean 45939 @endif libiberty 45940 @if zlib 45941 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \ 45942 mkdir stage4-zlib; \ 45943 mv stage4-zlib zlib ; \ 45944 mv stage3-zlib prev-zlib || test -f stage3-lean 45945 @endif zlib 45946 @if lto-plugin 45947 @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \ 45948 mkdir stage4-lto-plugin; \ 45949 mv stage4-lto-plugin lto-plugin ; \ 45950 mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean 45951 @endif lto-plugin 45952 @[ -d stage4-$(TARGET_SUBDIR) ] || \ 45953 mkdir stage4-$(TARGET_SUBDIR); \ 45954 mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ 45955 mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean 45956 45957 stage4-end:: 45958 @if bfd 45959 @if test -d $(HOST_SUBDIR)/bfd ; then \ 45960 cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \ 45961 mv prev-bfd stage3-bfd ; : ; \ 45962 fi 45963 @endif bfd 45964 @if opcodes 45965 @if test -d $(HOST_SUBDIR)/opcodes ; then \ 45966 cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \ 45967 mv prev-opcodes stage3-opcodes ; : ; \ 45968 fi 45969 @endif opcodes 45970 @if binutils 45971 @if test -d $(HOST_SUBDIR)/binutils ; then \ 45972 cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \ 45973 mv prev-binutils stage3-binutils ; : ; \ 45974 fi 45975 @endif binutils 45976 @if fixincludes 45977 @if test -d $(HOST_SUBDIR)/fixincludes ; then \ 45978 cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes ; \ 45979 mv prev-fixincludes stage3-fixincludes ; : ; \ 45980 fi 45981 @endif fixincludes 45982 @if gas 45983 @if test -d $(HOST_SUBDIR)/gas ; then \ 45984 cd $(HOST_SUBDIR); mv gas stage4-gas ; \ 45985 mv prev-gas stage3-gas ; : ; \ 45986 fi 45987 @endif gas 45988 @if gcc 45989 @if test -d $(HOST_SUBDIR)/gcc ; then \ 45990 cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \ 45991 mv prev-gcc stage3-gcc ; : ; \ 45992 fi 45993 @endif gcc 45994 @if gmp 45995 @if test -d $(HOST_SUBDIR)/gmp ; then \ 45996 cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \ 45997 mv prev-gmp stage3-gmp ; : ; \ 45998 fi 45999 @endif gmp 46000 @if mpfr 46001 @if test -d $(HOST_SUBDIR)/mpfr ; then \ 46002 cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \ 46003 mv prev-mpfr stage3-mpfr ; : ; \ 46004 fi 46005 @endif mpfr 46006 @if mpc 46007 @if test -d $(HOST_SUBDIR)/mpc ; then \ 46008 cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \ 46009 mv prev-mpc stage3-mpc ; : ; \ 46010 fi 46011 @endif mpc 46012 @if isl 46013 @if test -d $(HOST_SUBDIR)/isl ; then \ 46014 cd $(HOST_SUBDIR); mv isl stage4-isl ; \ 46015 mv prev-isl stage3-isl ; : ; \ 46016 fi 46017 @endif isl 46018 @if cloog 46019 @if test -d $(HOST_SUBDIR)/cloog ; then \ 46020 cd $(HOST_SUBDIR); mv cloog stage4-cloog ; \ 46021 mv prev-cloog stage3-cloog ; : ; \ 46022 fi 46023 @endif cloog 46024 @if libelf 46025 @if test -d $(HOST_SUBDIR)/libelf ; then \ 46026 cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \ 46027 mv prev-libelf stage3-libelf ; : ; \ 46028 fi 46029 @endif libelf 46030 @if gold 46031 @if test -d $(HOST_SUBDIR)/gold ; then \ 46032 cd $(HOST_SUBDIR); mv gold stage4-gold ; \ 46033 mv prev-gold stage3-gold ; : ; \ 46034 fi 46035 @endif gold 46036 @if intl 46037 @if test -d $(HOST_SUBDIR)/intl ; then \ 46038 cd $(HOST_SUBDIR); mv intl stage4-intl ; \ 46039 mv prev-intl stage3-intl ; : ; \ 46040 fi 46041 @endif intl 46042 @if ld 46043 @if test -d $(HOST_SUBDIR)/ld ; then \ 46044 cd $(HOST_SUBDIR); mv ld stage4-ld ; \ 46045 mv prev-ld stage3-ld ; : ; \ 46046 fi 46047 @endif ld 46048 @if libbacktrace 46049 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \ 46050 cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \ 46051 mv prev-libbacktrace stage3-libbacktrace ; : ; \ 46052 fi 46053 @endif libbacktrace 46054 @if libcpp 46055 @if test -d $(HOST_SUBDIR)/libcpp ; then \ 46056 cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \ 46057 mv prev-libcpp stage3-libcpp ; : ; \ 46058 fi 46059 @endif libcpp 46060 @if libdecnumber 46061 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ 46062 cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \ 46063 mv prev-libdecnumber stage3-libdecnumber ; : ; \ 46064 fi 46065 @endif libdecnumber 46066 @if libiberty 46067 @if test -d $(HOST_SUBDIR)/libiberty ; then \ 46068 cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \ 46069 mv prev-libiberty stage3-libiberty ; : ; \ 46070 fi 46071 @endif libiberty 46072 @if zlib 46073 @if test -d $(HOST_SUBDIR)/zlib ; then \ 46074 cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \ 46075 mv prev-zlib stage3-zlib ; : ; \ 46076 fi 46077 @endif zlib 46078 @if lto-plugin 46079 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \ 46080 cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \ 46081 mv prev-lto-plugin stage3-lto-plugin ; : ; \ 46082 fi 46083 @endif lto-plugin 46084 @if test -d $(TARGET_SUBDIR) ; then \ 46085 mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \ 46086 mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \ 46087 fi 46088 rm -f stage_current 46089 46090 # Bubble a bug fix through all the stages up to stage 4. They are 46091 # remade, but not reconfigured. The next stage (if any) will not be 46092 # reconfigured either. 46093 .PHONY: stage4-bubble 46094 stage4-bubble:: stage3-bubble 46095 @r=`${PWD_COMMAND}`; export r; \ 46096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 46097 if test -f stage4-lean || test -f stage3-lean ; then \ 46098 echo Skipping rebuild of stage4 ; \ 46099 else \ 46100 $(MAKE) stage4-start; \ 46101 if $(LEAN); then \ 46102 rm -rf stage2-* ; \ 46103 $(STAMP) stage2-lean ; \ 46104 fi; \ 46105 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \ 46106 fi 46107 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3 46108 46109 .PHONY: all-stage4 clean-stage4 46110 do-clean: clean-stage4 46111 46112 # FIXME: Will not need to be conditional when toplevel bootstrap is the 46113 # only possibility, but now it conflicts with no-bootstrap rules 46114 @if gcc-bootstrap 46115 46116 compare3: 46117 @r=`${PWD_COMMAND}`; export r; \ 46118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 46119 if test -f stage3-lean; then \ 46120 echo Cannot compare object files as stage 3 was deleted. ; \ 46121 exit 0 ; \ 46122 fi; \ 46123 : $(MAKE); $(stage); \ 46124 rm -f .bad_compare ; \ 46125 echo Comparing stages 3 and 4 ; \ 46126 sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \ 46127 files=`find stage4-* -name "*$(objext)" -print | \ 46128 sed -n s,^stage$$sed-,,p` ; \ 46129 for file in $${files} ; do \ 46130 f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \ 46131 if test ! -f $$f1; then continue; fi; \ 46132 $(do-compare3) > /dev/null 2>&1; \ 46133 if test $$? -eq 1; then \ 46134 case $$file in \ 46135 @compare_exclusions@) \ 46136 echo warning: $$file differs ;; \ 46137 *) \ 46138 echo $$file differs >> .bad_compare ;; \ 46139 esac ; \ 46140 fi ; \ 46141 done ; \ 46142 if [ -f .bad_compare ]; then \ 46143 echo "Bootstrap comparison failure!"; \ 46144 cat .bad_compare; \ 46145 exit 1; \ 46146 else \ 46147 echo Comparison successful.; \ 46148 fi ; \ 46149 $(STAMP) compare3 46150 if $(LEAN); then \ 46151 rm -rf stage3-*; \ 46152 $(STAMP) stage3-lean; \ 46153 fi 46154 46155 46156 46157 .PHONY: bootstrap4 bootstrap4-lean 46158 bootstrap4: 46159 echo stage4 > stage_final 46160 @r=`${PWD_COMMAND}`; export r; \ 46161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 46162 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble 46163 @: $(MAKE); $(unstage) 46164 @r=`${PWD_COMMAND}`; export r; \ 46165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 46166 TFLAGS="$(STAGE4_TFLAGS)"; \ 46167 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target 46168 46169 bootstrap4-lean: 46170 echo stage4 > stage_final 46171 @r=`${PWD_COMMAND}`; export r; \ 46172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 46173 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble 46174 @: $(MAKE); $(unstage) 46175 @r=`${PWD_COMMAND}`; export r; \ 46176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 46177 TFLAGS="$(STAGE4_TFLAGS)"; \ 46178 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target 46179 46180 46181 # Rules to wipe a stage and all the following ones, also used for cleanstrap 46182 distclean-stage3:: distclean-stage4 46183 .PHONY: distclean-stage4 46184 distclean-stage4:: 46185 @: $(MAKE); $(stage) 46186 @test "`cat stage_last`" != stage4 || rm -f stage_last 46187 rm -rf stage4-* compare3 46188 46189 46190 @endif gcc-bootstrap 46191 46192 46193 .PHONY: stageprofile-start stageprofile-end 46194 46195 stageprofile-start:: 46196 @: $(MAKE); $(stage); \ 46197 echo stageprofile > stage_current ; \ 46198 echo stageprofile > stage_last; \ 46199 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) 46200 @if bfd 46201 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \ 46202 mkdir stageprofile-bfd; \ 46203 mv stageprofile-bfd bfd ; \ 46204 mv stage1-bfd prev-bfd || test -f stage1-lean 46205 @endif bfd 46206 @if opcodes 46207 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \ 46208 mkdir stageprofile-opcodes; \ 46209 mv stageprofile-opcodes opcodes ; \ 46210 mv stage1-opcodes prev-opcodes || test -f stage1-lean 46211 @endif opcodes 46212 @if binutils 46213 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \ 46214 mkdir stageprofile-binutils; \ 46215 mv stageprofile-binutils binutils ; \ 46216 mv stage1-binutils prev-binutils || test -f stage1-lean 46217 @endif binutils 46218 @if fixincludes 46219 @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \ 46220 mkdir stageprofile-fixincludes; \ 46221 mv stageprofile-fixincludes fixincludes ; \ 46222 mv stage1-fixincludes prev-fixincludes || test -f stage1-lean 46223 @endif fixincludes 46224 @if gas 46225 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \ 46226 mkdir stageprofile-gas; \ 46227 mv stageprofile-gas gas ; \ 46228 mv stage1-gas prev-gas || test -f stage1-lean 46229 @endif gas 46230 @if gcc 46231 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \ 46232 mkdir stageprofile-gcc; \ 46233 mv stageprofile-gcc gcc ; \ 46234 mv stage1-gcc prev-gcc || test -f stage1-lean 46235 @endif gcc 46236 @if gmp 46237 @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \ 46238 mkdir stageprofile-gmp; \ 46239 mv stageprofile-gmp gmp ; \ 46240 mv stage1-gmp prev-gmp || test -f stage1-lean 46241 @endif gmp 46242 @if mpfr 46243 @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \ 46244 mkdir stageprofile-mpfr; \ 46245 mv stageprofile-mpfr mpfr ; \ 46246 mv stage1-mpfr prev-mpfr || test -f stage1-lean 46247 @endif mpfr 46248 @if mpc 46249 @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \ 46250 mkdir stageprofile-mpc; \ 46251 mv stageprofile-mpc mpc ; \ 46252 mv stage1-mpc prev-mpc || test -f stage1-lean 46253 @endif mpc 46254 @if isl 46255 @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \ 46256 mkdir stageprofile-isl; \ 46257 mv stageprofile-isl isl ; \ 46258 mv stage1-isl prev-isl || test -f stage1-lean 46259 @endif isl 46260 @if cloog 46261 @cd $(HOST_SUBDIR); [ -d stageprofile-cloog ] || \ 46262 mkdir stageprofile-cloog; \ 46263 mv stageprofile-cloog cloog ; \ 46264 mv stage1-cloog prev-cloog || test -f stage1-lean 46265 @endif cloog 46266 @if libelf 46267 @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \ 46268 mkdir stageprofile-libelf; \ 46269 mv stageprofile-libelf libelf ; \ 46270 mv stage1-libelf prev-libelf || test -f stage1-lean 46271 @endif libelf 46272 @if gold 46273 @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \ 46274 mkdir stageprofile-gold; \ 46275 mv stageprofile-gold gold ; \ 46276 mv stage1-gold prev-gold || test -f stage1-lean 46277 @endif gold 46278 @if intl 46279 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \ 46280 mkdir stageprofile-intl; \ 46281 mv stageprofile-intl intl ; \ 46282 mv stage1-intl prev-intl || test -f stage1-lean 46283 @endif intl 46284 @if ld 46285 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \ 46286 mkdir stageprofile-ld; \ 46287 mv stageprofile-ld ld ; \ 46288 mv stage1-ld prev-ld || test -f stage1-lean 46289 @endif ld 46290 @if libbacktrace 46291 @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \ 46292 mkdir stageprofile-libbacktrace; \ 46293 mv stageprofile-libbacktrace libbacktrace ; \ 46294 mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean 46295 @endif libbacktrace 46296 @if libcpp 46297 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \ 46298 mkdir stageprofile-libcpp; \ 46299 mv stageprofile-libcpp libcpp ; \ 46300 mv stage1-libcpp prev-libcpp || test -f stage1-lean 46301 @endif libcpp 46302 @if libdecnumber 46303 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \ 46304 mkdir stageprofile-libdecnumber; \ 46305 mv stageprofile-libdecnumber libdecnumber ; \ 46306 mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean 46307 @endif libdecnumber 46308 @if libiberty 46309 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \ 46310 mkdir stageprofile-libiberty; \ 46311 mv stageprofile-libiberty libiberty ; \ 46312 mv stage1-libiberty prev-libiberty || test -f stage1-lean 46313 @endif libiberty 46314 @if zlib 46315 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \ 46316 mkdir stageprofile-zlib; \ 46317 mv stageprofile-zlib zlib ; \ 46318 mv stage1-zlib prev-zlib || test -f stage1-lean 46319 @endif zlib 46320 @if lto-plugin 46321 @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \ 46322 mkdir stageprofile-lto-plugin; \ 46323 mv stageprofile-lto-plugin lto-plugin ; \ 46324 mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean 46325 @endif lto-plugin 46326 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \ 46327 mkdir stageprofile-$(TARGET_SUBDIR); \ 46328 mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ 46329 mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean 46330 46331 stageprofile-end:: 46332 @if bfd 46333 @if test -d $(HOST_SUBDIR)/bfd ; then \ 46334 cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \ 46335 mv prev-bfd stage1-bfd ; : ; \ 46336 fi 46337 @endif bfd 46338 @if opcodes 46339 @if test -d $(HOST_SUBDIR)/opcodes ; then \ 46340 cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \ 46341 mv prev-opcodes stage1-opcodes ; : ; \ 46342 fi 46343 @endif opcodes 46344 @if binutils 46345 @if test -d $(HOST_SUBDIR)/binutils ; then \ 46346 cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \ 46347 mv prev-binutils stage1-binutils ; : ; \ 46348 fi 46349 @endif binutils 46350 @if fixincludes 46351 @if test -d $(HOST_SUBDIR)/fixincludes ; then \ 46352 cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes ; \ 46353 mv prev-fixincludes stage1-fixincludes ; : ; \ 46354 fi 46355 @endif fixincludes 46356 @if gas 46357 @if test -d $(HOST_SUBDIR)/gas ; then \ 46358 cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \ 46359 mv prev-gas stage1-gas ; : ; \ 46360 fi 46361 @endif gas 46362 @if gcc 46363 @if test -d $(HOST_SUBDIR)/gcc ; then \ 46364 cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \ 46365 mv prev-gcc stage1-gcc ; : ; \ 46366 fi 46367 @endif gcc 46368 @if gmp 46369 @if test -d $(HOST_SUBDIR)/gmp ; then \ 46370 cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \ 46371 mv prev-gmp stage1-gmp ; : ; \ 46372 fi 46373 @endif gmp 46374 @if mpfr 46375 @if test -d $(HOST_SUBDIR)/mpfr ; then \ 46376 cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \ 46377 mv prev-mpfr stage1-mpfr ; : ; \ 46378 fi 46379 @endif mpfr 46380 @if mpc 46381 @if test -d $(HOST_SUBDIR)/mpc ; then \ 46382 cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \ 46383 mv prev-mpc stage1-mpc ; : ; \ 46384 fi 46385 @endif mpc 46386 @if isl 46387 @if test -d $(HOST_SUBDIR)/isl ; then \ 46388 cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \ 46389 mv prev-isl stage1-isl ; : ; \ 46390 fi 46391 @endif isl 46392 @if cloog 46393 @if test -d $(HOST_SUBDIR)/cloog ; then \ 46394 cd $(HOST_SUBDIR); mv cloog stageprofile-cloog ; \ 46395 mv prev-cloog stage1-cloog ; : ; \ 46396 fi 46397 @endif cloog 46398 @if libelf 46399 @if test -d $(HOST_SUBDIR)/libelf ; then \ 46400 cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \ 46401 mv prev-libelf stage1-libelf ; : ; \ 46402 fi 46403 @endif libelf 46404 @if gold 46405 @if test -d $(HOST_SUBDIR)/gold ; then \ 46406 cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \ 46407 mv prev-gold stage1-gold ; : ; \ 46408 fi 46409 @endif gold 46410 @if intl 46411 @if test -d $(HOST_SUBDIR)/intl ; then \ 46412 cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \ 46413 mv prev-intl stage1-intl ; : ; \ 46414 fi 46415 @endif intl 46416 @if ld 46417 @if test -d $(HOST_SUBDIR)/ld ; then \ 46418 cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \ 46419 mv prev-ld stage1-ld ; : ; \ 46420 fi 46421 @endif ld 46422 @if libbacktrace 46423 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \ 46424 cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \ 46425 mv prev-libbacktrace stage1-libbacktrace ; : ; \ 46426 fi 46427 @endif libbacktrace 46428 @if libcpp 46429 @if test -d $(HOST_SUBDIR)/libcpp ; then \ 46430 cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \ 46431 mv prev-libcpp stage1-libcpp ; : ; \ 46432 fi 46433 @endif libcpp 46434 @if libdecnumber 46435 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ 46436 cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \ 46437 mv prev-libdecnumber stage1-libdecnumber ; : ; \ 46438 fi 46439 @endif libdecnumber 46440 @if libiberty 46441 @if test -d $(HOST_SUBDIR)/libiberty ; then \ 46442 cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \ 46443 mv prev-libiberty stage1-libiberty ; : ; \ 46444 fi 46445 @endif libiberty 46446 @if zlib 46447 @if test -d $(HOST_SUBDIR)/zlib ; then \ 46448 cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \ 46449 mv prev-zlib stage1-zlib ; : ; \ 46450 fi 46451 @endif zlib 46452 @if lto-plugin 46453 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \ 46454 cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \ 46455 mv prev-lto-plugin stage1-lto-plugin ; : ; \ 46456 fi 46457 @endif lto-plugin 46458 @if test -d $(TARGET_SUBDIR) ; then \ 46459 mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \ 46460 mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \ 46461 fi 46462 rm -f stage_current 46463 46464 # Bubble a bug fix through all the stages up to stage profile. They are 46465 # remade, but not reconfigured. The next stage (if any) will not be 46466 # reconfigured either. 46467 .PHONY: stageprofile-bubble 46468 stageprofile-bubble:: stage1-bubble 46469 @r=`${PWD_COMMAND}`; export r; \ 46470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 46471 if test -f stageprofile-lean || test -f stage1-lean ; then \ 46472 echo Skipping rebuild of stageprofile ; \ 46473 else \ 46474 $(MAKE) stageprofile-start; \ 46475 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \ 46476 fi 46477 46478 .PHONY: all-stageprofile clean-stageprofile 46479 do-clean: clean-stageprofile 46480 46481 # FIXME: Will not need to be conditional when toplevel bootstrap is the 46482 # only possibility, but now it conflicts with no-bootstrap rules 46483 @if gcc-bootstrap 46484 46485 46486 46487 46488 # Rules to wipe a stage and all the following ones, also used for cleanstrap 46489 distclean-stage1:: distclean-stageprofile 46490 .PHONY: distclean-stageprofile 46491 distclean-stageprofile:: 46492 @: $(MAKE); $(stage) 46493 @test "`cat stage_last`" != stageprofile || rm -f stage_last 46494 rm -rf stageprofile-* 46495 46496 46497 @endif gcc-bootstrap 46498 46499 46500 .PHONY: stagefeedback-start stagefeedback-end 46501 46502 stagefeedback-start:: 46503 @: $(MAKE); $(stage); \ 46504 echo stagefeedback > stage_current ; \ 46505 echo stagefeedback > stage_last; \ 46506 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) 46507 @if bfd 46508 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \ 46509 mkdir stagefeedback-bfd; \ 46510 mv stagefeedback-bfd bfd ; \ 46511 mv stageprofile-bfd prev-bfd || test -f stageprofile-lean 46512 @endif bfd 46513 @if opcodes 46514 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \ 46515 mkdir stagefeedback-opcodes; \ 46516 mv stagefeedback-opcodes opcodes ; \ 46517 mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean 46518 @endif opcodes 46519 @if binutils 46520 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \ 46521 mkdir stagefeedback-binutils; \ 46522 mv stagefeedback-binutils binutils ; \ 46523 mv stageprofile-binutils prev-binutils || test -f stageprofile-lean 46524 @endif binutils 46525 @if fixincludes 46526 @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \ 46527 mkdir stagefeedback-fixincludes; \ 46528 mv stagefeedback-fixincludes fixincludes ; \ 46529 mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean 46530 @endif fixincludes 46531 @if gas 46532 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \ 46533 mkdir stagefeedback-gas; \ 46534 mv stagefeedback-gas gas ; \ 46535 mv stageprofile-gas prev-gas || test -f stageprofile-lean 46536 @endif gas 46537 @if gcc 46538 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \ 46539 mkdir stagefeedback-gcc; \ 46540 mv stagefeedback-gcc gcc ; \ 46541 mv stageprofile-gcc prev-gcc || test -f stageprofile-lean 46542 @endif gcc 46543 @if gmp 46544 @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \ 46545 mkdir stagefeedback-gmp; \ 46546 mv stagefeedback-gmp gmp ; \ 46547 mv stageprofile-gmp prev-gmp || test -f stageprofile-lean 46548 @endif gmp 46549 @if mpfr 46550 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \ 46551 mkdir stagefeedback-mpfr; \ 46552 mv stagefeedback-mpfr mpfr ; \ 46553 mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean 46554 @endif mpfr 46555 @if mpc 46556 @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \ 46557 mkdir stagefeedback-mpc; \ 46558 mv stagefeedback-mpc mpc ; \ 46559 mv stageprofile-mpc prev-mpc || test -f stageprofile-lean 46560 @endif mpc 46561 @if isl 46562 @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \ 46563 mkdir stagefeedback-isl; \ 46564 mv stagefeedback-isl isl ; \ 46565 mv stageprofile-isl prev-isl || test -f stageprofile-lean 46566 @endif isl 46567 @if cloog 46568 @cd $(HOST_SUBDIR); [ -d stagefeedback-cloog ] || \ 46569 mkdir stagefeedback-cloog; \ 46570 mv stagefeedback-cloog cloog ; \ 46571 mv stageprofile-cloog prev-cloog || test -f stageprofile-lean 46572 @endif cloog 46573 @if libelf 46574 @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \ 46575 mkdir stagefeedback-libelf; \ 46576 mv stagefeedback-libelf libelf ; \ 46577 mv stageprofile-libelf prev-libelf || test -f stageprofile-lean 46578 @endif libelf 46579 @if gold 46580 @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \ 46581 mkdir stagefeedback-gold; \ 46582 mv stagefeedback-gold gold ; \ 46583 mv stageprofile-gold prev-gold || test -f stageprofile-lean 46584 @endif gold 46585 @if intl 46586 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \ 46587 mkdir stagefeedback-intl; \ 46588 mv stagefeedback-intl intl ; \ 46589 mv stageprofile-intl prev-intl || test -f stageprofile-lean 46590 @endif intl 46591 @if ld 46592 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \ 46593 mkdir stagefeedback-ld; \ 46594 mv stagefeedback-ld ld ; \ 46595 mv stageprofile-ld prev-ld || test -f stageprofile-lean 46596 @endif ld 46597 @if libbacktrace 46598 @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \ 46599 mkdir stagefeedback-libbacktrace; \ 46600 mv stagefeedback-libbacktrace libbacktrace ; \ 46601 mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean 46602 @endif libbacktrace 46603 @if libcpp 46604 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \ 46605 mkdir stagefeedback-libcpp; \ 46606 mv stagefeedback-libcpp libcpp ; \ 46607 mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean 46608 @endif libcpp 46609 @if libdecnumber 46610 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \ 46611 mkdir stagefeedback-libdecnumber; \ 46612 mv stagefeedback-libdecnumber libdecnumber ; \ 46613 mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean 46614 @endif libdecnumber 46615 @if libiberty 46616 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \ 46617 mkdir stagefeedback-libiberty; \ 46618 mv stagefeedback-libiberty libiberty ; \ 46619 mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean 46620 @endif libiberty 46621 @if zlib 46622 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \ 46623 mkdir stagefeedback-zlib; \ 46624 mv stagefeedback-zlib zlib ; \ 46625 mv stageprofile-zlib prev-zlib || test -f stageprofile-lean 46626 @endif zlib 46627 @if lto-plugin 46628 @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \ 46629 mkdir stagefeedback-lto-plugin; \ 46630 mv stagefeedback-lto-plugin lto-plugin ; \ 46631 mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean 46632 @endif lto-plugin 46633 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \ 46634 mkdir stagefeedback-$(TARGET_SUBDIR); \ 46635 mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ 46636 mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean 46637 46638 stagefeedback-end:: 46639 @if bfd 46640 @if test -d $(HOST_SUBDIR)/bfd ; then \ 46641 cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \ 46642 mv prev-bfd stageprofile-bfd ; : ; \ 46643 fi 46644 @endif bfd 46645 @if opcodes 46646 @if test -d $(HOST_SUBDIR)/opcodes ; then \ 46647 cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \ 46648 mv prev-opcodes stageprofile-opcodes ; : ; \ 46649 fi 46650 @endif opcodes 46651 @if binutils 46652 @if test -d $(HOST_SUBDIR)/binutils ; then \ 46653 cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \ 46654 mv prev-binutils stageprofile-binutils ; : ; \ 46655 fi 46656 @endif binutils 46657 @if fixincludes 46658 @if test -d $(HOST_SUBDIR)/fixincludes ; then \ 46659 cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes ; \ 46660 mv prev-fixincludes stageprofile-fixincludes ; : ; \ 46661 fi 46662 @endif fixincludes 46663 @if gas 46664 @if test -d $(HOST_SUBDIR)/gas ; then \ 46665 cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \ 46666 mv prev-gas stageprofile-gas ; : ; \ 46667 fi 46668 @endif gas 46669 @if gcc 46670 @if test -d $(HOST_SUBDIR)/gcc ; then \ 46671 cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \ 46672 mv prev-gcc stageprofile-gcc ; : ; \ 46673 fi 46674 @endif gcc 46675 @if gmp 46676 @if test -d $(HOST_SUBDIR)/gmp ; then \ 46677 cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \ 46678 mv prev-gmp stageprofile-gmp ; : ; \ 46679 fi 46680 @endif gmp 46681 @if mpfr 46682 @if test -d $(HOST_SUBDIR)/mpfr ; then \ 46683 cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \ 46684 mv prev-mpfr stageprofile-mpfr ; : ; \ 46685 fi 46686 @endif mpfr 46687 @if mpc 46688 @if test -d $(HOST_SUBDIR)/mpc ; then \ 46689 cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \ 46690 mv prev-mpc stageprofile-mpc ; : ; \ 46691 fi 46692 @endif mpc 46693 @if isl 46694 @if test -d $(HOST_SUBDIR)/isl ; then \ 46695 cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \ 46696 mv prev-isl stageprofile-isl ; : ; \ 46697 fi 46698 @endif isl 46699 @if cloog 46700 @if test -d $(HOST_SUBDIR)/cloog ; then \ 46701 cd $(HOST_SUBDIR); mv cloog stagefeedback-cloog ; \ 46702 mv prev-cloog stageprofile-cloog ; : ; \ 46703 fi 46704 @endif cloog 46705 @if libelf 46706 @if test -d $(HOST_SUBDIR)/libelf ; then \ 46707 cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \ 46708 mv prev-libelf stageprofile-libelf ; : ; \ 46709 fi 46710 @endif libelf 46711 @if gold 46712 @if test -d $(HOST_SUBDIR)/gold ; then \ 46713 cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \ 46714 mv prev-gold stageprofile-gold ; : ; \ 46715 fi 46716 @endif gold 46717 @if intl 46718 @if test -d $(HOST_SUBDIR)/intl ; then \ 46719 cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \ 46720 mv prev-intl stageprofile-intl ; : ; \ 46721 fi 46722 @endif intl 46723 @if ld 46724 @if test -d $(HOST_SUBDIR)/ld ; then \ 46725 cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \ 46726 mv prev-ld stageprofile-ld ; : ; \ 46727 fi 46728 @endif ld 46729 @if libbacktrace 46730 @if test -d $(HOST_SUBDIR)/libbacktrace ; then \ 46731 cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \ 46732 mv prev-libbacktrace stageprofile-libbacktrace ; : ; \ 46733 fi 46734 @endif libbacktrace 46735 @if libcpp 46736 @if test -d $(HOST_SUBDIR)/libcpp ; then \ 46737 cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \ 46738 mv prev-libcpp stageprofile-libcpp ; : ; \ 46739 fi 46740 @endif libcpp 46741 @if libdecnumber 46742 @if test -d $(HOST_SUBDIR)/libdecnumber ; then \ 46743 cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \ 46744 mv prev-libdecnumber stageprofile-libdecnumber ; : ; \ 46745 fi 46746 @endif libdecnumber 46747 @if libiberty 46748 @if test -d $(HOST_SUBDIR)/libiberty ; then \ 46749 cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \ 46750 mv prev-libiberty stageprofile-libiberty ; : ; \ 46751 fi 46752 @endif libiberty 46753 @if zlib 46754 @if test -d $(HOST_SUBDIR)/zlib ; then \ 46755 cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \ 46756 mv prev-zlib stageprofile-zlib ; : ; \ 46757 fi 46758 @endif zlib 46759 @if lto-plugin 46760 @if test -d $(HOST_SUBDIR)/lto-plugin ; then \ 46761 cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \ 46762 mv prev-lto-plugin stageprofile-lto-plugin ; : ; \ 46763 fi 46764 @endif lto-plugin 46765 @if test -d $(TARGET_SUBDIR) ; then \ 46766 mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \ 46767 mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \ 46768 fi 46769 rm -f stage_current 46770 46771 # Bubble a bug fix through all the stages up to stage feedback. They are 46772 # remade, but not reconfigured. The next stage (if any) will not be 46773 # reconfigured either. 46774 .PHONY: stagefeedback-bubble 46775 stagefeedback-bubble:: stageprofile-bubble 46776 @r=`${PWD_COMMAND}`; export r; \ 46777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 46778 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \ 46779 echo Skipping rebuild of stagefeedback ; \ 46780 else \ 46781 $(MAKE) stagefeedback-start; \ 46782 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \ 46783 fi 46784 46785 .PHONY: all-stagefeedback clean-stagefeedback 46786 do-clean: clean-stagefeedback 46787 46788 # FIXME: Will not need to be conditional when toplevel bootstrap is the 46789 # only possibility, but now it conflicts with no-bootstrap rules 46790 @if gcc-bootstrap 46791 46792 46793 46794 .PHONY: profiledbootstrap profiledbootstrap-lean 46795 profiledbootstrap: 46796 echo stagefeedback > stage_final 46797 @r=`${PWD_COMMAND}`; export r; \ 46798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 46799 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble 46800 @: $(MAKE); $(unstage) 46801 @r=`${PWD_COMMAND}`; export r; \ 46802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 46803 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 46804 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target 46805 46806 profiledbootstrap-lean: 46807 echo stagefeedback > stage_final 46808 @r=`${PWD_COMMAND}`; export r; \ 46809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 46810 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble 46811 @: $(MAKE); $(unstage) 46812 @r=`${PWD_COMMAND}`; export r; \ 46813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 46814 TFLAGS="$(STAGEfeedback_TFLAGS)"; \ 46815 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target 46816 46817 46818 # Rules to wipe a stage and all the following ones, also used for cleanstrap 46819 distclean-stageprofile:: distclean-stagefeedback 46820 .PHONY: distclean-stagefeedback 46821 distclean-stagefeedback:: 46822 @: $(MAKE); $(stage) 46823 @test "`cat stage_last`" != stagefeedback || rm -f stage_last 46824 rm -rf stagefeedback-* 46825 46826 46827 @endif gcc-bootstrap 46828 46829 46830 46831 stageprofile-end:: 46832 $(MAKE) distclean-stagefeedback 46833 46834 stagefeedback-start:: 46835 @r=`${PWD_COMMAND}`; export r; \ 46836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 46837 for i in prev-*; do \ 46838 j=`echo $$i | sed s/^prev-//` ; \ 46839 cd $$r/$$i && \ 46840 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \ 46841 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \ 46842 done 46843 46844 @if gcc-bootstrap 46845 do-distclean: distclean-stage1 46846 46847 # Provide a GCC build when we're building target libraries. This does 46848 # not work as a dependency, just as the minimum necessary to avoid errors. 46849 stage_last: 46850 @r=`${PWD_COMMAND}`; export r; \ 46851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 46852 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble 46853 46854 # Same as unstage, but not phony and defaulting to stage1-start. We place 46855 # it in the dependency so that for example `make -j3 all-gcc' works. 46856 stage_current: 46857 @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi 46858 46859 .PHONY: restrap 46860 restrap:: 46861 @: $(MAKE); $(stage) 46862 rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-* 46863 restrap:: all 46864 @endif gcc-bootstrap 46865 46866 # -------------------------------------- 46867 # Dependencies between different modules 46868 # -------------------------------------- 46869 46870 # Generic dependencies for target modules on host stuff, especially gcc 46871 @if gcc-bootstrap 46872 configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc 46873 configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc 46874 configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc 46875 configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc 46876 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc 46877 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc 46878 configure-stage1-target-libsanitizer: maybe-all-stage1-gcc 46879 configure-stage2-target-libsanitizer: maybe-all-stage2-gcc 46880 configure-stage3-target-libsanitizer: maybe-all-stage3-gcc 46881 configure-stage4-target-libsanitizer: maybe-all-stage4-gcc 46882 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc 46883 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc 46884 configure-stage1-target-libvtv: maybe-all-stage1-gcc 46885 configure-stage2-target-libvtv: maybe-all-stage2-gcc 46886 configure-stage3-target-libvtv: maybe-all-stage3-gcc 46887 configure-stage4-target-libvtv: maybe-all-stage4-gcc 46888 configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc 46889 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc 46890 configure-target-libcilkrts: stage_last 46891 configure-target-libssp: stage_last 46892 configure-target-newlib: stage_last 46893 configure-stage1-target-libgcc: maybe-all-stage1-gcc 46894 configure-stage2-target-libgcc: maybe-all-stage2-gcc 46895 configure-stage3-target-libgcc: maybe-all-stage3-gcc 46896 configure-stage4-target-libgcc: maybe-all-stage4-gcc 46897 configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc 46898 configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc 46899 configure-target-libbacktrace: stage_last 46900 configure-target-libquadmath: stage_last 46901 configure-target-libgfortran: stage_last 46902 configure-target-libobjc: stage_last 46903 configure-target-libgo: stage_last 46904 configure-target-libtermcap: stage_last 46905 configure-target-winsup: stage_last 46906 configure-target-libgloss: stage_last 46907 configure-target-libffi: stage_last 46908 configure-target-libjava: stage_last 46909 configure-target-zlib: stage_last 46910 configure-target-boehm-gc: stage_last 46911 configure-target-rda: stage_last 46912 configure-target-libada: stage_last 46913 configure-stage1-target-libgomp: maybe-all-stage1-gcc 46914 configure-stage2-target-libgomp: maybe-all-stage2-gcc 46915 configure-stage3-target-libgomp: maybe-all-stage3-gcc 46916 configure-stage4-target-libgomp: maybe-all-stage4-gcc 46917 configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc 46918 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc 46919 configure-target-libitm: stage_last 46920 configure-target-libatomic: stage_last 46921 @endif gcc-bootstrap 46922 46923 @if gcc-no-bootstrap 46924 configure-target-libstdc++-v3: maybe-all-gcc 46925 configure-target-libsanitizer: maybe-all-gcc 46926 configure-target-libvtv: maybe-all-gcc 46927 configure-target-libcilkrts: maybe-all-gcc 46928 configure-target-libssp: maybe-all-gcc 46929 configure-target-newlib: maybe-all-gcc 46930 configure-target-libgcc: maybe-all-gcc 46931 configure-target-libbacktrace: maybe-all-gcc 46932 configure-target-libquadmath: maybe-all-gcc 46933 configure-target-libgfortran: maybe-all-gcc 46934 configure-target-libobjc: maybe-all-gcc 46935 configure-target-libgo: maybe-all-gcc 46936 configure-target-libtermcap: maybe-all-gcc 46937 configure-target-winsup: maybe-all-gcc 46938 configure-target-libgloss: maybe-all-gcc 46939 configure-target-libffi: maybe-all-gcc 46940 configure-target-libjava: maybe-all-gcc 46941 configure-target-zlib: maybe-all-gcc 46942 configure-target-boehm-gc: maybe-all-gcc 46943 configure-target-rda: maybe-all-gcc 46944 configure-target-libada: maybe-all-gcc 46945 configure-target-libgomp: maybe-all-gcc 46946 configure-target-libitm: maybe-all-gcc 46947 configure-target-libatomic: maybe-all-gcc 46948 @endif gcc-no-bootstrap 46949 46950 46951 # There are two types of dependencies here: 'hard' dependencies, where one 46952 # module simply won't build without the other; and 'soft' dependencies, where 46953 # if the depended-on module is missing, the depending module will do without 46954 # or find a substitute somewhere (perhaps installed). Soft dependencies 46955 # are made here to depend on a 'maybe-' target. If you're not sure, 46956 # it's safer to use a soft dependency. 46957 46958 46959 46960 46961 46962 46963 # With all the machinery above in place, it is pretty easy to generate 46964 # dependencies. Host dependencies are a bit more complex because we have 46965 # to check for bootstrap/prebootstrap dependencies. To resolve 46966 # prebootstrap dependencies, prebootstrap modules are gathered in 46967 # a hash table. 46968 all-build-bison: maybe-all-build-texinfo 46969 all-build-flex: maybe-all-build-texinfo 46970 all-build-flex: maybe-all-build-bison 46971 all-build-flex: maybe-all-build-m4 46972 all-build-libiberty: maybe-all-build-texinfo 46973 all-build-m4: maybe-all-build-texinfo 46974 all-build-fixincludes: maybe-all-build-libiberty 46975 configure-gcc: maybe-configure-intl 46976 46977 configure-stage1-gcc: maybe-configure-stage1-intl 46978 configure-stage2-gcc: maybe-configure-stage2-intl 46979 configure-stage3-gcc: maybe-configure-stage3-intl 46980 configure-stage4-gcc: maybe-configure-stage4-intl 46981 configure-stageprofile-gcc: maybe-configure-stageprofile-intl 46982 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl 46983 configure-gcc: maybe-all-gmp 46984 46985 configure-stage1-gcc: maybe-all-stage1-gmp 46986 configure-stage2-gcc: maybe-all-stage2-gmp 46987 configure-stage3-gcc: maybe-all-stage3-gmp 46988 configure-stage4-gcc: maybe-all-stage4-gmp 46989 configure-stageprofile-gcc: maybe-all-stageprofile-gmp 46990 configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp 46991 configure-gcc: maybe-all-lto-plugin 46992 46993 configure-stage1-gcc: maybe-all-stage1-lto-plugin 46994 configure-stage2-gcc: maybe-all-stage2-lto-plugin 46995 configure-stage3-gcc: maybe-all-stage3-lto-plugin 46996 configure-stage4-gcc: maybe-all-stage4-lto-plugin 46997 configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin 46998 configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin 46999 configure-gcc: maybe-all-binutils 47000 47001 configure-stage1-gcc: maybe-all-stage1-binutils 47002 configure-stage2-gcc: maybe-all-stage2-binutils 47003 configure-stage3-gcc: maybe-all-stage3-binutils 47004 configure-stage4-gcc: maybe-all-stage4-binutils 47005 configure-stageprofile-gcc: maybe-all-stageprofile-binutils 47006 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils 47007 configure-gcc: maybe-all-gas 47008 47009 configure-stage1-gcc: maybe-all-stage1-gas 47010 configure-stage2-gcc: maybe-all-stage2-gas 47011 configure-stage3-gcc: maybe-all-stage3-gas 47012 configure-stage4-gcc: maybe-all-stage4-gas 47013 configure-stageprofile-gcc: maybe-all-stageprofile-gas 47014 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas 47015 configure-gcc: maybe-all-ld 47016 47017 configure-stage1-gcc: maybe-all-stage1-ld 47018 configure-stage2-gcc: maybe-all-stage2-ld 47019 configure-stage3-gcc: maybe-all-stage3-ld 47020 configure-stage4-gcc: maybe-all-stage4-ld 47021 configure-stageprofile-gcc: maybe-all-stageprofile-ld 47022 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld 47023 configure-gcc: maybe-all-gold 47024 47025 configure-stage1-gcc: maybe-all-stage1-gold 47026 configure-stage2-gcc: maybe-all-stage2-gold 47027 configure-stage3-gcc: maybe-all-stage3-gold 47028 configure-stage4-gcc: maybe-all-stage4-gold 47029 configure-stageprofile-gcc: maybe-all-stageprofile-gold 47030 configure-stagefeedback-gcc: maybe-all-stagefeedback-gold 47031 configure-gcc: maybe-all-libelf 47032 47033 configure-stage1-gcc: maybe-all-stage1-libelf 47034 configure-stage2-gcc: maybe-all-stage2-libelf 47035 configure-stage3-gcc: maybe-all-stage3-libelf 47036 configure-stage4-gcc: maybe-all-stage4-libelf 47037 configure-stageprofile-gcc: maybe-all-stageprofile-libelf 47038 configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf 47039 all-gcc: all-libiberty 47040 47041 all-stage1-gcc: all-stage1-libiberty 47042 all-stage2-gcc: all-stage2-libiberty 47043 all-stage3-gcc: all-stage3-libiberty 47044 all-stage4-gcc: all-stage4-libiberty 47045 all-stageprofile-gcc: all-stageprofile-libiberty 47046 all-stagefeedback-gcc: all-stagefeedback-libiberty 47047 all-gcc: maybe-all-intl 47048 47049 all-stage1-gcc: maybe-all-stage1-intl 47050 all-stage2-gcc: maybe-all-stage2-intl 47051 all-stage3-gcc: maybe-all-stage3-intl 47052 all-stage4-gcc: maybe-all-stage4-intl 47053 all-stageprofile-gcc: maybe-all-stageprofile-intl 47054 all-stagefeedback-gcc: maybe-all-stagefeedback-intl 47055 all-gcc: maybe-all-mpfr 47056 47057 all-stage1-gcc: maybe-all-stage1-mpfr 47058 all-stage2-gcc: maybe-all-stage2-mpfr 47059 all-stage3-gcc: maybe-all-stage3-mpfr 47060 all-stage4-gcc: maybe-all-stage4-mpfr 47061 all-stageprofile-gcc: maybe-all-stageprofile-mpfr 47062 all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr 47063 all-gcc: maybe-all-mpc 47064 47065 all-stage1-gcc: maybe-all-stage1-mpc 47066 all-stage2-gcc: maybe-all-stage2-mpc 47067 all-stage3-gcc: maybe-all-stage3-mpc 47068 all-stage4-gcc: maybe-all-stage4-mpc 47069 all-stageprofile-gcc: maybe-all-stageprofile-mpc 47070 all-stagefeedback-gcc: maybe-all-stagefeedback-mpc 47071 all-gcc: maybe-all-cloog 47072 47073 all-stage1-gcc: maybe-all-stage1-cloog 47074 all-stage2-gcc: maybe-all-stage2-cloog 47075 all-stage3-gcc: maybe-all-stage3-cloog 47076 all-stage4-gcc: maybe-all-stage4-cloog 47077 all-stageprofile-gcc: maybe-all-stageprofile-cloog 47078 all-stagefeedback-gcc: maybe-all-stagefeedback-cloog 47079 all-gcc: maybe-all-build-texinfo 47080 47081 all-stage1-gcc: maybe-all-build-texinfo 47082 all-stage2-gcc: maybe-all-build-texinfo 47083 all-stage3-gcc: maybe-all-build-texinfo 47084 all-stage4-gcc: maybe-all-build-texinfo 47085 all-stageprofile-gcc: maybe-all-build-texinfo 47086 all-stagefeedback-gcc: maybe-all-build-texinfo 47087 all-gcc: maybe-all-build-bison 47088 47089 all-stage1-gcc: maybe-all-build-bison 47090 all-stage2-gcc: maybe-all-build-bison 47091 all-stage3-gcc: maybe-all-build-bison 47092 all-stage4-gcc: maybe-all-build-bison 47093 all-stageprofile-gcc: maybe-all-build-bison 47094 all-stagefeedback-gcc: maybe-all-build-bison 47095 all-gcc: maybe-all-build-flex 47096 47097 all-stage1-gcc: maybe-all-build-flex 47098 all-stage2-gcc: maybe-all-build-flex 47099 all-stage3-gcc: maybe-all-build-flex 47100 all-stage4-gcc: maybe-all-build-flex 47101 all-stageprofile-gcc: maybe-all-build-flex 47102 all-stagefeedback-gcc: maybe-all-build-flex 47103 all-gcc: maybe-all-build-libiberty 47104 47105 all-stage1-gcc: maybe-all-build-libiberty 47106 all-stage2-gcc: maybe-all-build-libiberty 47107 all-stage3-gcc: maybe-all-build-libiberty 47108 all-stage4-gcc: maybe-all-build-libiberty 47109 all-stageprofile-gcc: maybe-all-build-libiberty 47110 all-stagefeedback-gcc: maybe-all-build-libiberty 47111 all-gcc: maybe-all-build-fixincludes 47112 47113 all-stage1-gcc: maybe-all-build-fixincludes 47114 all-stage2-gcc: maybe-all-build-fixincludes 47115 all-stage3-gcc: maybe-all-build-fixincludes 47116 all-stage4-gcc: maybe-all-build-fixincludes 47117 all-stageprofile-gcc: maybe-all-build-fixincludes 47118 all-stagefeedback-gcc: maybe-all-build-fixincludes 47119 all-gcc: maybe-all-zlib 47120 47121 all-stage1-gcc: maybe-all-stage1-zlib 47122 all-stage2-gcc: maybe-all-stage2-zlib 47123 all-stage3-gcc: maybe-all-stage3-zlib 47124 all-stage4-gcc: maybe-all-stage4-zlib 47125 all-stageprofile-gcc: maybe-all-stageprofile-zlib 47126 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib 47127 all-gcc: all-libbacktrace 47128 47129 all-stage1-gcc: all-stage1-libbacktrace 47130 all-stage2-gcc: all-stage2-libbacktrace 47131 all-stage3-gcc: all-stage3-libbacktrace 47132 all-stage4-gcc: all-stage4-libbacktrace 47133 all-stageprofile-gcc: all-stageprofile-libbacktrace 47134 all-stagefeedback-gcc: all-stagefeedback-libbacktrace 47135 all-gcc: all-libcpp 47136 47137 all-stage1-gcc: all-stage1-libcpp 47138 all-stage2-gcc: all-stage2-libcpp 47139 all-stage3-gcc: all-stage3-libcpp 47140 all-stage4-gcc: all-stage4-libcpp 47141 all-stageprofile-gcc: all-stageprofile-libcpp 47142 all-stagefeedback-gcc: all-stagefeedback-libcpp 47143 all-gcc: all-libdecnumber 47144 47145 all-stage1-gcc: all-stage1-libdecnumber 47146 all-stage2-gcc: all-stage2-libdecnumber 47147 all-stage3-gcc: all-stage3-libdecnumber 47148 all-stage4-gcc: all-stage4-libdecnumber 47149 all-stageprofile-gcc: all-stageprofile-libdecnumber 47150 all-stagefeedback-gcc: all-stagefeedback-libdecnumber 47151 all-gcc: maybe-all-libiberty 47152 47153 all-stage1-gcc: maybe-all-stage1-libiberty 47154 all-stage2-gcc: maybe-all-stage2-libiberty 47155 all-stage3-gcc: maybe-all-stage3-libiberty 47156 all-stage4-gcc: maybe-all-stage4-libiberty 47157 all-stageprofile-gcc: maybe-all-stageprofile-libiberty 47158 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty 47159 all-gcc: maybe-all-fixincludes 47160 47161 all-stage1-gcc: maybe-all-stage1-fixincludes 47162 all-stage2-gcc: maybe-all-stage2-fixincludes 47163 all-stage3-gcc: maybe-all-stage3-fixincludes 47164 all-stage4-gcc: maybe-all-stage4-fixincludes 47165 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes 47166 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes 47167 all-gcc: maybe-all-lto-plugin 47168 47169 all-stage1-gcc: maybe-all-stage1-lto-plugin 47170 all-stage2-gcc: maybe-all-stage2-lto-plugin 47171 all-stage3-gcc: maybe-all-stage3-lto-plugin 47172 all-stage4-gcc: maybe-all-stage4-lto-plugin 47173 all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin 47174 all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin 47175 info-gcc: maybe-all-build-libiberty 47176 47177 info-stage1-gcc: maybe-all-build-libiberty 47178 info-stage2-gcc: maybe-all-build-libiberty 47179 info-stage3-gcc: maybe-all-build-libiberty 47180 info-stage4-gcc: maybe-all-build-libiberty 47181 info-stageprofile-gcc: maybe-all-build-libiberty 47182 info-stagefeedback-gcc: maybe-all-build-libiberty 47183 dvi-gcc: maybe-all-build-libiberty 47184 47185 dvi-stage1-gcc: maybe-all-build-libiberty 47186 dvi-stage2-gcc: maybe-all-build-libiberty 47187 dvi-stage3-gcc: maybe-all-build-libiberty 47188 dvi-stage4-gcc: maybe-all-build-libiberty 47189 dvi-stageprofile-gcc: maybe-all-build-libiberty 47190 dvi-stagefeedback-gcc: maybe-all-build-libiberty 47191 pdf-gcc: maybe-all-build-libiberty 47192 47193 pdf-stage1-gcc: maybe-all-build-libiberty 47194 pdf-stage2-gcc: maybe-all-build-libiberty 47195 pdf-stage3-gcc: maybe-all-build-libiberty 47196 pdf-stage4-gcc: maybe-all-build-libiberty 47197 pdf-stageprofile-gcc: maybe-all-build-libiberty 47198 pdf-stagefeedback-gcc: maybe-all-build-libiberty 47199 html-gcc: maybe-all-build-libiberty 47200 47201 html-stage1-gcc: maybe-all-build-libiberty 47202 html-stage2-gcc: maybe-all-build-libiberty 47203 html-stage3-gcc: maybe-all-build-libiberty 47204 html-stage4-gcc: maybe-all-build-libiberty 47205 html-stageprofile-gcc: maybe-all-build-libiberty 47206 html-stagefeedback-gcc: maybe-all-build-libiberty 47207 install-gcc: maybe-install-fixincludes 47208 install-gcc: maybe-install-lto-plugin 47209 install-strip-gcc: maybe-install-strip-fixincludes 47210 install-strip-gcc: maybe-install-strip-lto-plugin 47211 configure-libcpp: configure-libiberty 47212 47213 configure-stage1-libcpp: configure-stage1-libiberty 47214 configure-stage2-libcpp: configure-stage2-libiberty 47215 configure-stage3-libcpp: configure-stage3-libiberty 47216 configure-stage4-libcpp: configure-stage4-libiberty 47217 configure-stageprofile-libcpp: configure-stageprofile-libiberty 47218 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty 47219 configure-libcpp: maybe-configure-intl 47220 47221 configure-stage1-libcpp: maybe-configure-stage1-intl 47222 configure-stage2-libcpp: maybe-configure-stage2-intl 47223 configure-stage3-libcpp: maybe-configure-stage3-intl 47224 configure-stage4-libcpp: maybe-configure-stage4-intl 47225 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl 47226 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl 47227 all-libcpp: all-libiberty 47228 47229 all-stage1-libcpp: all-stage1-libiberty 47230 all-stage2-libcpp: all-stage2-libiberty 47231 all-stage3-libcpp: all-stage3-libiberty 47232 all-stage4-libcpp: all-stage4-libiberty 47233 all-stageprofile-libcpp: all-stageprofile-libiberty 47234 all-stagefeedback-libcpp: all-stagefeedback-libiberty 47235 all-libcpp: maybe-all-intl 47236 47237 all-stage1-libcpp: maybe-all-stage1-intl 47238 all-stage2-libcpp: maybe-all-stage2-intl 47239 all-stage3-libcpp: maybe-all-stage3-intl 47240 all-stage4-libcpp: maybe-all-stage4-intl 47241 all-stageprofile-libcpp: maybe-all-stageprofile-intl 47242 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl 47243 all-fixincludes: maybe-all-libiberty 47244 47245 all-stage1-fixincludes: maybe-all-stage1-libiberty 47246 all-stage2-fixincludes: maybe-all-stage2-libiberty 47247 all-stage3-fixincludes: maybe-all-stage3-libiberty 47248 all-stage4-fixincludes: maybe-all-stage4-libiberty 47249 all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty 47250 all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty 47251 all-gnattools: maybe-all-target-libada 47252 all-gnattools: maybe-all-target-libstdc++-v3 47253 all-lto-plugin: maybe-all-libiberty 47254 47255 all-stage1-lto-plugin: maybe-all-stage1-libiberty 47256 all-stage2-lto-plugin: maybe-all-stage2-libiberty 47257 all-stage3-lto-plugin: maybe-all-stage3-libiberty 47258 all-stage4-lto-plugin: maybe-all-stage4-libiberty 47259 all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty 47260 all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty 47261 all-utils: maybe-all-libiberty 47262 configure-mpfr: maybe-all-gmp 47263 47264 configure-stage1-mpfr: maybe-all-stage1-gmp 47265 configure-stage2-mpfr: maybe-all-stage2-gmp 47266 configure-stage3-mpfr: maybe-all-stage3-gmp 47267 configure-stage4-mpfr: maybe-all-stage4-gmp 47268 configure-stageprofile-mpfr: maybe-all-stageprofile-gmp 47269 configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp 47270 configure-mpc: maybe-all-mpfr 47271 47272 configure-stage1-mpc: maybe-all-stage1-mpfr 47273 configure-stage2-mpc: maybe-all-stage2-mpfr 47274 configure-stage3-mpc: maybe-all-stage3-mpfr 47275 configure-stage4-mpc: maybe-all-stage4-mpfr 47276 configure-stageprofile-mpc: maybe-all-stageprofile-mpfr 47277 configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr 47278 configure-isl: maybe-all-gmp 47279 47280 configure-stage1-isl: maybe-all-stage1-gmp 47281 configure-stage2-isl: maybe-all-stage2-gmp 47282 configure-stage3-isl: maybe-all-stage3-gmp 47283 configure-stage4-isl: maybe-all-stage4-gmp 47284 configure-stageprofile-isl: maybe-all-stageprofile-gmp 47285 configure-stagefeedback-isl: maybe-all-stagefeedback-gmp 47286 configure-cloog: maybe-all-isl 47287 47288 configure-stage1-cloog: maybe-all-stage1-isl 47289 configure-stage2-cloog: maybe-all-stage2-isl 47290 configure-stage3-cloog: maybe-all-stage3-isl 47291 configure-stage4-cloog: maybe-all-stage4-isl 47292 configure-stageprofile-cloog: maybe-all-stageprofile-isl 47293 configure-stagefeedback-cloog: maybe-all-stagefeedback-isl 47294 configure-cloog: maybe-all-gmp 47295 47296 configure-stage1-cloog: maybe-all-stage1-gmp 47297 configure-stage2-cloog: maybe-all-stage2-gmp 47298 configure-stage3-cloog: maybe-all-stage3-gmp 47299 configure-stage4-cloog: maybe-all-stage4-gmp 47300 configure-stageprofile-cloog: maybe-all-stageprofile-gmp 47301 configure-stagefeedback-cloog: maybe-all-stagefeedback-gmp 47302 configure-gdb: maybe-all-intl 47303 configure-gdb: maybe-configure-sim 47304 configure-gdb: maybe-all-bfd 47305 configure-gdb: maybe-all-libiconv 47306 all-gdb: maybe-all-libiberty 47307 all-gdb: maybe-all-libiconv 47308 all-gdb: maybe-all-opcodes 47309 all-gdb: maybe-all-readline 47310 all-gdb: maybe-all-build-bison 47311 all-gdb: maybe-all-sim 47312 all-gdb: maybe-all-libdecnumber 47313 all-gdb: maybe-all-libtermcap 47314 configure-libgui: maybe-configure-tcl 47315 configure-libgui: maybe-configure-tk 47316 all-libgui: maybe-all-tcl 47317 all-libgui: maybe-all-tk 47318 all-libgui: maybe-all-itcl 47319 configure-bfd: configure-libiberty 47320 47321 configure-stage1-bfd: configure-stage1-libiberty 47322 configure-stage2-bfd: configure-stage2-libiberty 47323 configure-stage3-bfd: configure-stage3-libiberty 47324 configure-stage4-bfd: configure-stage4-libiberty 47325 configure-stageprofile-bfd: configure-stageprofile-libiberty 47326 configure-stagefeedback-bfd: configure-stagefeedback-libiberty 47327 configure-bfd: maybe-configure-intl 47328 47329 configure-stage1-bfd: maybe-configure-stage1-intl 47330 configure-stage2-bfd: maybe-configure-stage2-intl 47331 configure-stage3-bfd: maybe-configure-stage3-intl 47332 configure-stage4-bfd: maybe-configure-stage4-intl 47333 configure-stageprofile-bfd: maybe-configure-stageprofile-intl 47334 configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl 47335 all-bfd: maybe-all-libiberty 47336 47337 all-stage1-bfd: maybe-all-stage1-libiberty 47338 all-stage2-bfd: maybe-all-stage2-libiberty 47339 all-stage3-bfd: maybe-all-stage3-libiberty 47340 all-stage4-bfd: maybe-all-stage4-libiberty 47341 all-stageprofile-bfd: maybe-all-stageprofile-libiberty 47342 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty 47343 all-bfd: maybe-all-intl 47344 47345 all-stage1-bfd: maybe-all-stage1-intl 47346 all-stage2-bfd: maybe-all-stage2-intl 47347 all-stage3-bfd: maybe-all-stage3-intl 47348 all-stage4-bfd: maybe-all-stage4-intl 47349 all-stageprofile-bfd: maybe-all-stageprofile-intl 47350 all-stagefeedback-bfd: maybe-all-stagefeedback-intl 47351 configure-opcodes: configure-libiberty 47352 47353 configure-stage1-opcodes: configure-stage1-libiberty 47354 configure-stage2-opcodes: configure-stage2-libiberty 47355 configure-stage3-opcodes: configure-stage3-libiberty 47356 configure-stage4-opcodes: configure-stage4-libiberty 47357 configure-stageprofile-opcodes: configure-stageprofile-libiberty 47358 configure-stagefeedback-opcodes: configure-stagefeedback-libiberty 47359 all-opcodes: maybe-all-libiberty 47360 47361 all-stage1-opcodes: maybe-all-stage1-libiberty 47362 all-stage2-opcodes: maybe-all-stage2-libiberty 47363 all-stage3-opcodes: maybe-all-stage3-libiberty 47364 all-stage4-opcodes: maybe-all-stage4-libiberty 47365 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty 47366 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty 47367 configure-binutils: maybe-configure-intl 47368 47369 configure-stage1-binutils: maybe-configure-stage1-intl 47370 configure-stage2-binutils: maybe-configure-stage2-intl 47371 configure-stage3-binutils: maybe-configure-stage3-intl 47372 configure-stage4-binutils: maybe-configure-stage4-intl 47373 configure-stageprofile-binutils: maybe-configure-stageprofile-intl 47374 configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl 47375 all-binutils: maybe-all-libiberty 47376 47377 all-stage1-binutils: maybe-all-stage1-libiberty 47378 all-stage2-binutils: maybe-all-stage2-libiberty 47379 all-stage3-binutils: maybe-all-stage3-libiberty 47380 all-stage4-binutils: maybe-all-stage4-libiberty 47381 all-stageprofile-binutils: maybe-all-stageprofile-libiberty 47382 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty 47383 all-binutils: maybe-all-opcodes 47384 47385 all-stage1-binutils: maybe-all-stage1-opcodes 47386 all-stage2-binutils: maybe-all-stage2-opcodes 47387 all-stage3-binutils: maybe-all-stage3-opcodes 47388 all-stage4-binutils: maybe-all-stage4-opcodes 47389 all-stageprofile-binutils: maybe-all-stageprofile-opcodes 47390 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes 47391 all-binutils: maybe-all-bfd 47392 47393 all-stage1-binutils: maybe-all-stage1-bfd 47394 all-stage2-binutils: maybe-all-stage2-bfd 47395 all-stage3-binutils: maybe-all-stage3-bfd 47396 all-stage4-binutils: maybe-all-stage4-bfd 47397 all-stageprofile-binutils: maybe-all-stageprofile-bfd 47398 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd 47399 all-binutils: maybe-all-build-flex 47400 47401 all-stage1-binutils: maybe-all-build-flex 47402 all-stage2-binutils: maybe-all-build-flex 47403 all-stage3-binutils: maybe-all-build-flex 47404 all-stage4-binutils: maybe-all-build-flex 47405 all-stageprofile-binutils: maybe-all-build-flex 47406 all-stagefeedback-binutils: maybe-all-build-flex 47407 all-binutils: maybe-all-build-bison 47408 47409 all-stage1-binutils: maybe-all-build-bison 47410 all-stage2-binutils: maybe-all-build-bison 47411 all-stage3-binutils: maybe-all-build-bison 47412 all-stage4-binutils: maybe-all-build-bison 47413 all-stageprofile-binutils: maybe-all-build-bison 47414 all-stagefeedback-binutils: maybe-all-build-bison 47415 all-binutils: maybe-all-intl 47416 47417 all-stage1-binutils: maybe-all-stage1-intl 47418 all-stage2-binutils: maybe-all-stage2-intl 47419 all-stage3-binutils: maybe-all-stage3-intl 47420 all-stage4-binutils: maybe-all-stage4-intl 47421 all-stageprofile-binutils: maybe-all-stageprofile-intl 47422 all-stagefeedback-binutils: maybe-all-stagefeedback-intl 47423 all-binutils: maybe-all-gas 47424 47425 all-stage1-binutils: maybe-all-stage1-gas 47426 all-stage2-binutils: maybe-all-stage2-gas 47427 all-stage3-binutils: maybe-all-stage3-gas 47428 all-stage4-binutils: maybe-all-stage4-gas 47429 all-stageprofile-binutils: maybe-all-stageprofile-gas 47430 all-stagefeedback-binutils: maybe-all-stagefeedback-gas 47431 install-binutils: maybe-install-opcodes 47432 install-strip-binutils: maybe-install-strip-opcodes 47433 install-opcodes: maybe-install-bfd 47434 install-strip-opcodes: maybe-install-strip-bfd 47435 configure-gas: maybe-configure-intl 47436 47437 configure-stage1-gas: maybe-configure-stage1-intl 47438 configure-stage2-gas: maybe-configure-stage2-intl 47439 configure-stage3-gas: maybe-configure-stage3-intl 47440 configure-stage4-gas: maybe-configure-stage4-intl 47441 configure-stageprofile-gas: maybe-configure-stageprofile-intl 47442 configure-stagefeedback-gas: maybe-configure-stagefeedback-intl 47443 all-gas: maybe-all-libiberty 47444 47445 all-stage1-gas: maybe-all-stage1-libiberty 47446 all-stage2-gas: maybe-all-stage2-libiberty 47447 all-stage3-gas: maybe-all-stage3-libiberty 47448 all-stage4-gas: maybe-all-stage4-libiberty 47449 all-stageprofile-gas: maybe-all-stageprofile-libiberty 47450 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty 47451 all-gas: maybe-all-opcodes 47452 47453 all-stage1-gas: maybe-all-stage1-opcodes 47454 all-stage2-gas: maybe-all-stage2-opcodes 47455 all-stage3-gas: maybe-all-stage3-opcodes 47456 all-stage4-gas: maybe-all-stage4-opcodes 47457 all-stageprofile-gas: maybe-all-stageprofile-opcodes 47458 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes 47459 all-gas: maybe-all-bfd 47460 47461 all-stage1-gas: maybe-all-stage1-bfd 47462 all-stage2-gas: maybe-all-stage2-bfd 47463 all-stage3-gas: maybe-all-stage3-bfd 47464 all-stage4-gas: maybe-all-stage4-bfd 47465 all-stageprofile-gas: maybe-all-stageprofile-bfd 47466 all-stagefeedback-gas: maybe-all-stagefeedback-bfd 47467 all-gas: maybe-all-intl 47468 47469 all-stage1-gas: maybe-all-stage1-intl 47470 all-stage2-gas: maybe-all-stage2-intl 47471 all-stage3-gas: maybe-all-stage3-intl 47472 all-stage4-gas: maybe-all-stage4-intl 47473 all-stageprofile-gas: maybe-all-stageprofile-intl 47474 all-stagefeedback-gas: maybe-all-stagefeedback-intl 47475 configure-gprof: maybe-configure-intl 47476 all-gprof: maybe-all-libiberty 47477 all-gprof: maybe-all-bfd 47478 all-gprof: maybe-all-opcodes 47479 all-gprof: maybe-all-intl 47480 all-gprof: maybe-all-gas 47481 configure-ld: maybe-configure-intl 47482 47483 configure-stage1-ld: maybe-configure-stage1-intl 47484 configure-stage2-ld: maybe-configure-stage2-intl 47485 configure-stage3-ld: maybe-configure-stage3-intl 47486 configure-stage4-ld: maybe-configure-stage4-intl 47487 configure-stageprofile-ld: maybe-configure-stageprofile-intl 47488 configure-stagefeedback-ld: maybe-configure-stagefeedback-intl 47489 all-ld: maybe-all-libiberty 47490 47491 all-stage1-ld: maybe-all-stage1-libiberty 47492 all-stage2-ld: maybe-all-stage2-libiberty 47493 all-stage3-ld: maybe-all-stage3-libiberty 47494 all-stage4-ld: maybe-all-stage4-libiberty 47495 all-stageprofile-ld: maybe-all-stageprofile-libiberty 47496 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty 47497 all-ld: maybe-all-bfd 47498 47499 all-stage1-ld: maybe-all-stage1-bfd 47500 all-stage2-ld: maybe-all-stage2-bfd 47501 all-stage3-ld: maybe-all-stage3-bfd 47502 all-stage4-ld: maybe-all-stage4-bfd 47503 all-stageprofile-ld: maybe-all-stageprofile-bfd 47504 all-stagefeedback-ld: maybe-all-stagefeedback-bfd 47505 all-ld: maybe-all-opcodes 47506 47507 all-stage1-ld: maybe-all-stage1-opcodes 47508 all-stage2-ld: maybe-all-stage2-opcodes 47509 all-stage3-ld: maybe-all-stage3-opcodes 47510 all-stage4-ld: maybe-all-stage4-opcodes 47511 all-stageprofile-ld: maybe-all-stageprofile-opcodes 47512 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes 47513 all-ld: maybe-all-build-bison 47514 47515 all-stage1-ld: maybe-all-build-bison 47516 all-stage2-ld: maybe-all-build-bison 47517 all-stage3-ld: maybe-all-build-bison 47518 all-stage4-ld: maybe-all-build-bison 47519 all-stageprofile-ld: maybe-all-build-bison 47520 all-stagefeedback-ld: maybe-all-build-bison 47521 all-ld: maybe-all-build-flex 47522 47523 all-stage1-ld: maybe-all-build-flex 47524 all-stage2-ld: maybe-all-build-flex 47525 all-stage3-ld: maybe-all-build-flex 47526 all-stage4-ld: maybe-all-build-flex 47527 all-stageprofile-ld: maybe-all-build-flex 47528 all-stagefeedback-ld: maybe-all-build-flex 47529 all-ld: maybe-all-intl 47530 47531 all-stage1-ld: maybe-all-stage1-intl 47532 all-stage2-ld: maybe-all-stage2-intl 47533 all-stage3-ld: maybe-all-stage3-intl 47534 all-stage4-ld: maybe-all-stage4-intl 47535 all-stageprofile-ld: maybe-all-stageprofile-intl 47536 all-stagefeedback-ld: maybe-all-stagefeedback-intl 47537 all-ld: maybe-all-gas 47538 47539 all-stage1-ld: maybe-all-stage1-gas 47540 all-stage2-ld: maybe-all-stage2-gas 47541 all-stage3-ld: maybe-all-stage3-gas 47542 all-stage4-ld: maybe-all-stage4-gas 47543 all-stageprofile-ld: maybe-all-stageprofile-gas 47544 all-stagefeedback-ld: maybe-all-stagefeedback-gas 47545 all-ld: maybe-all-binutils 47546 47547 all-stage1-ld: maybe-all-stage1-binutils 47548 all-stage2-ld: maybe-all-stage2-binutils 47549 all-stage3-ld: maybe-all-stage3-binutils 47550 all-stage4-ld: maybe-all-stage4-binutils 47551 all-stageprofile-ld: maybe-all-stageprofile-binutils 47552 all-stagefeedback-ld: maybe-all-stagefeedback-binutils 47553 install-ld: maybe-install-gold 47554 install-strip-ld: maybe-install-strip-gold 47555 configure-gold: maybe-configure-intl 47556 47557 configure-stage1-gold: maybe-configure-stage1-intl 47558 configure-stage2-gold: maybe-configure-stage2-intl 47559 configure-stage3-gold: maybe-configure-stage3-intl 47560 configure-stage4-gold: maybe-configure-stage4-intl 47561 configure-stageprofile-gold: maybe-configure-stageprofile-intl 47562 configure-stagefeedback-gold: maybe-configure-stagefeedback-intl 47563 all-gold: maybe-all-libiberty 47564 47565 all-stage1-gold: maybe-all-stage1-libiberty 47566 all-stage2-gold: maybe-all-stage2-libiberty 47567 all-stage3-gold: maybe-all-stage3-libiberty 47568 all-stage4-gold: maybe-all-stage4-libiberty 47569 all-stageprofile-gold: maybe-all-stageprofile-libiberty 47570 all-stagefeedback-gold: maybe-all-stagefeedback-libiberty 47571 all-gold: maybe-all-intl 47572 47573 all-stage1-gold: maybe-all-stage1-intl 47574 all-stage2-gold: maybe-all-stage2-intl 47575 all-stage3-gold: maybe-all-stage3-intl 47576 all-stage4-gold: maybe-all-stage4-intl 47577 all-stageprofile-gold: maybe-all-stageprofile-intl 47578 all-stagefeedback-gold: maybe-all-stagefeedback-intl 47579 all-gold: maybe-all-bfd 47580 47581 all-stage1-gold: maybe-all-stage1-bfd 47582 all-stage2-gold: maybe-all-stage2-bfd 47583 all-stage3-gold: maybe-all-stage3-bfd 47584 all-stage4-gold: maybe-all-stage4-bfd 47585 all-stageprofile-gold: maybe-all-stageprofile-bfd 47586 all-stagefeedback-gold: maybe-all-stagefeedback-bfd 47587 all-gold: maybe-all-build-bison 47588 47589 all-stage1-gold: maybe-all-build-bison 47590 all-stage2-gold: maybe-all-build-bison 47591 all-stage3-gold: maybe-all-build-bison 47592 all-stage4-gold: maybe-all-build-bison 47593 all-stageprofile-gold: maybe-all-build-bison 47594 all-stagefeedback-gold: maybe-all-build-bison 47595 all-gold: maybe-all-gas 47596 47597 all-stage1-gold: maybe-all-stage1-gas 47598 all-stage2-gold: maybe-all-stage2-gas 47599 all-stage3-gold: maybe-all-stage3-gas 47600 all-stage4-gold: maybe-all-stage4-gas 47601 all-stageprofile-gold: maybe-all-stageprofile-gas 47602 all-stagefeedback-gold: maybe-all-stagefeedback-gas 47603 check-gold: maybe-all-binutils 47604 47605 check-stage1-gold: maybe-all-stage1-binutils 47606 check-stage2-gold: maybe-all-stage2-binutils 47607 check-stage3-gold: maybe-all-stage3-binutils 47608 check-stage4-gold: maybe-all-stage4-binutils 47609 check-stageprofile-gold: maybe-all-stageprofile-binutils 47610 check-stagefeedback-gold: maybe-all-stagefeedback-binutils 47611 check-gold: maybe-all-gas 47612 47613 check-stage1-gold: maybe-all-stage1-gas 47614 check-stage2-gold: maybe-all-stage2-gas 47615 check-stage3-gold: maybe-all-stage3-gas 47616 check-stage4-gold: maybe-all-stage4-gas 47617 check-stageprofile-gold: maybe-all-stageprofile-gas 47618 check-stagefeedback-gold: maybe-all-stagefeedback-gas 47619 configure-opcodes: maybe-configure-intl 47620 47621 configure-stage1-opcodes: maybe-configure-stage1-intl 47622 configure-stage2-opcodes: maybe-configure-stage2-intl 47623 configure-stage3-opcodes: maybe-configure-stage3-intl 47624 configure-stage4-opcodes: maybe-configure-stage4-intl 47625 configure-stageprofile-opcodes: maybe-configure-stageprofile-intl 47626 configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl 47627 all-opcodes: maybe-all-bfd 47628 47629 all-stage1-opcodes: maybe-all-stage1-bfd 47630 all-stage2-opcodes: maybe-all-stage2-bfd 47631 all-stage3-opcodes: maybe-all-stage3-bfd 47632 all-stage4-opcodes: maybe-all-stage4-bfd 47633 all-stageprofile-opcodes: maybe-all-stageprofile-bfd 47634 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd 47635 all-opcodes: maybe-all-libiberty 47636 47637 all-stage1-opcodes: maybe-all-stage1-libiberty 47638 all-stage2-opcodes: maybe-all-stage2-libiberty 47639 all-stage3-opcodes: maybe-all-stage3-libiberty 47640 all-stage4-opcodes: maybe-all-stage4-libiberty 47641 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty 47642 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty 47643 all-opcodes: maybe-all-intl 47644 47645 all-stage1-opcodes: maybe-all-stage1-intl 47646 all-stage2-opcodes: maybe-all-stage2-intl 47647 all-stage3-opcodes: maybe-all-stage3-intl 47648 all-stage4-opcodes: maybe-all-stage4-intl 47649 all-stageprofile-opcodes: maybe-all-stageprofile-intl 47650 all-stagefeedback-opcodes: maybe-all-stagefeedback-intl 47651 all-dejagnu: maybe-all-tcl 47652 all-dejagnu: maybe-all-expect 47653 all-dejagnu: maybe-all-tk 47654 configure-expect: maybe-configure-tcl 47655 configure-expect: maybe-configure-tk 47656 all-expect: maybe-all-tcl 47657 all-expect: maybe-all-tk 47658 configure-itcl: maybe-configure-tcl 47659 configure-itcl: maybe-configure-tk 47660 all-itcl: maybe-all-tcl 47661 all-itcl: maybe-all-tk 47662 install-itcl: maybe-install-tcl 47663 install-strip-itcl: maybe-install-strip-tcl 47664 configure-tk: maybe-configure-tcl 47665 all-tk: maybe-all-tcl 47666 all-sid: maybe-all-libiberty 47667 all-sid: maybe-all-bfd 47668 all-sid: maybe-all-opcodes 47669 all-sid: maybe-all-tcl 47670 all-sid: maybe-all-tk 47671 install-sid: maybe-install-tcl 47672 install-strip-sid: maybe-install-strip-tcl 47673 install-sid: maybe-install-tk 47674 install-strip-sid: maybe-install-strip-tk 47675 configure-sim: maybe-configure-intl 47676 all-sim: maybe-all-intl 47677 all-sim: maybe-all-libiberty 47678 all-sim: maybe-all-bfd 47679 all-sim: maybe-all-opcodes 47680 all-sim: maybe-all-readline 47681 all-sim: maybe-configure-gdb 47682 all-fastjar: maybe-all-zlib 47683 all-fastjar: maybe-all-build-texinfo 47684 all-fastjar: maybe-all-libiberty 47685 all-bison: maybe-all-intl 47686 all-bison: maybe-all-build-texinfo 47687 all-flex: maybe-all-build-bison 47688 all-flex: maybe-all-intl 47689 all-flex: maybe-all-m4 47690 all-flex: maybe-all-build-texinfo 47691 all-m4: maybe-all-intl 47692 all-m4: maybe-all-build-texinfo 47693 configure-target-boehm-gc: maybe-all-target-libstdc++-v3 47694 configure-target-fastjar: maybe-configure-target-zlib 47695 all-target-fastjar: maybe-all-target-zlib 47696 configure-target-libgo: maybe-configure-target-libffi 47697 configure-target-libgo: maybe-all-target-libstdc++-v3 47698 all-target-libgo: maybe-all-target-libbacktrace 47699 all-target-libgo: maybe-all-target-libffi 47700 all-target-libgo: maybe-all-target-libatomic 47701 configure-target-libjava: maybe-configure-target-zlib 47702 configure-target-libjava: maybe-configure-target-boehm-gc 47703 configure-target-libjava: maybe-configure-target-libffi 47704 all-target-libjava: maybe-all-fastjar 47705 all-target-libjava: maybe-all-target-zlib 47706 all-target-libjava: maybe-all-target-boehm-gc 47707 all-target-libjava: maybe-all-target-libffi 47708 configure-target-libobjc: maybe-configure-target-boehm-gc 47709 all-target-libobjc: maybe-all-target-boehm-gc 47710 configure-target-libstdc++-v3: maybe-configure-target-libgomp 47711 47712 configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp 47713 configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp 47714 configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp 47715 configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp 47716 configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp 47717 configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp 47718 configure-target-libsanitizer: maybe-all-target-libstdc++-v3 47719 47720 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3 47721 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3 47722 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3 47723 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3 47724 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3 47725 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3 47726 configure-target-libvtv: maybe-all-target-libstdc++-v3 47727 47728 configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3 47729 configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3 47730 configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3 47731 configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3 47732 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3 47733 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3 47734 all-target-libstdc++-v3: maybe-configure-target-libgomp 47735 47736 all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp 47737 all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp 47738 all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp 47739 all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp 47740 all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp 47741 all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp 47742 install-target-libgo: maybe-install-target-libatomic 47743 install-target-libgfortran: maybe-install-target-libquadmath 47744 install-target-libgfortran: maybe-install-target-libgcc 47745 install-target-libsanitizer: maybe-install-target-libstdc++-v3 47746 install-target-libsanitizer: maybe-install-target-libgcc 47747 install-target-libvtv: maybe-install-target-libstdc++-v3 47748 install-target-libvtv: maybe-install-target-libgcc 47749 install-target-libcilkrts: maybe-install-target-libstdc++-v3 47750 install-target-libcilkrts: maybe-install-target-libgcc 47751 install-target-libjava: maybe-install-target-libgcc 47752 install-target-libitm: maybe-install-target-libgcc 47753 install-target-libobjc: maybe-install-target-libgcc 47754 install-target-libstdc++-v3: maybe-install-target-libgcc 47755 all-target-libgloss: maybe-all-target-newlib 47756 all-target-winsup: maybe-all-target-libtermcap 47757 configure-target-newlib: maybe-all-binutils 47758 configure-target-newlib: maybe-all-ld 47759 configure-target-libgfortran: maybe-all-target-libquadmath 47760 47761 47762 # Dependencies for target modules on other target modules are 47763 # described by lang_env_dependencies; the defaults apply to anything 47764 # not mentioned there. 47765 47766 47767 @if gcc-bootstrap 47768 configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc 47769 configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc 47770 configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc 47771 configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc 47772 configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc 47773 configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc 47774 configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc 47775 configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc 47776 configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc 47777 configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc 47778 configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc 47779 configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc 47780 configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc 47781 configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc 47782 configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc 47783 configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc 47784 configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc 47785 configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc 47786 configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc 47787 configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc 47788 configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc 47789 configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc 47790 configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc 47791 configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc 47792 @endif gcc-bootstrap 47793 47794 @if gcc-no-bootstrap 47795 configure-target-libstdc++-v3: maybe-all-target-libgcc 47796 configure-target-libsanitizer: maybe-all-target-libgcc 47797 configure-target-libvtv: maybe-all-target-libgcc 47798 configure-target-libcilkrts: maybe-all-target-libgcc 47799 configure-target-libssp: maybe-all-target-libgcc 47800 configure-target-newlib: maybe-all-target-libgcc 47801 configure-target-libbacktrace: maybe-all-target-libgcc 47802 configure-target-libquadmath: maybe-all-target-libgcc 47803 configure-target-libgfortran: maybe-all-target-libgcc 47804 configure-target-libobjc: maybe-all-target-libgcc 47805 configure-target-libgo: maybe-all-target-libgcc 47806 configure-target-libtermcap: maybe-all-target-libgcc 47807 configure-target-winsup: maybe-all-target-libgcc 47808 configure-target-libgloss: maybe-all-target-libgcc 47809 configure-target-libffi: maybe-all-target-libgcc 47810 configure-target-libjava: maybe-all-target-libgcc 47811 configure-target-zlib: maybe-all-target-libgcc 47812 configure-target-boehm-gc: maybe-all-target-libgcc 47813 configure-target-rda: maybe-all-target-libgcc 47814 configure-target-libada: maybe-all-target-libgcc 47815 configure-target-libgomp: maybe-all-target-libgcc 47816 configure-target-libitm: maybe-all-target-libgcc 47817 configure-target-libatomic: maybe-all-target-libgcc 47818 @endif gcc-no-bootstrap 47819 47820 47821 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss 47822 47823 configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss 47824 47825 configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss 47826 47827 configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss 47828 configure-target-libcilkrts: maybe-all-target-libstdc++-v3 47829 47830 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss 47831 47832 47833 47834 configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss 47835 47836 configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss 47837 47838 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss 47839 47840 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss 47841 47842 configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss 47843 47844 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss 47845 47846 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss 47847 47848 47849 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss 47850 47851 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss 47852 configure-target-libjava: maybe-all-target-libstdc++-v3 47853 47854 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss 47855 47856 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss 47857 47858 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss 47859 47860 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss 47861 47862 configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss 47863 47864 configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss 47865 configure-target-libitm: maybe-all-target-libstdc++-v3 47866 47867 configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss 47868 47869 47870 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@ 47871 GDB_TK = @GDB_TK@ 47872 INSTALL_GDB_TK = @INSTALL_GDB_TK@ 47873 configure-gdb: $(CONFIGURE_GDB_TK) 47874 all-gdb: $(gdbnlmrequirements) $(GDB_TK) 47875 install-gdb: $(INSTALL_GDB_TK) 47876 47877 # Serialization dependencies. Host configures don't work well in parallel to 47878 # each other, due to contention over config.cache. Target configures and 47879 # build configures are similar. 47880 @serialization_dependencies@ 47881 47882 # -------------------------------- 47883 # Regenerating top level configury 47884 # -------------------------------- 47885 47886 # Rebuilding Makefile.in, using autogen. 47887 AUTOGEN = autogen 47888 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def 47889 cd $(srcdir) && $(AUTOGEN) Makefile.def 47890 47891 # Rebuilding Makefile. 47892 Makefile: $(srcdir)/Makefile.in config.status 47893 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 47894 47895 config.status: configure 47896 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck 47897 47898 # Rebuilding configure. 47899 AUTOCONF = autoconf 47900 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \ 47901 $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4 47902 cd $(srcdir) && $(AUTOCONF) 47903 47904 # ------------------------------ 47905 # Special directives to GNU Make 47906 # ------------------------------ 47907 47908 # Don't pass command-line variables to submakes. 47909 .NOEXPORT: 47910 MAKEOVERRIDES= 47911 47912 # end of Makefile.in 47913