summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2019-06-18 20:42:10 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2021-11-30 16:53:28 +0100
commit5fee5ec362f7a243f459e6378fd49dfc89dc9fb5 (patch)
tree61d1bdbca854a903c0860406f457f06b2040be7a /Makefile.in
parentipa-param-manip: Be careful about a reallocating hash_map (diff)
downloadgcc-5fee5ec362f7a243f459e6378fd49dfc89dc9fb5.tar.gz
gcc-5fee5ec362f7a243f459e6378fd49dfc89dc9fb5.tar.bz2
gcc-5fee5ec362f7a243f459e6378fd49dfc89dc9fb5.tar.xz
d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1)
The D front-end is now itself written in D, in order to build GDC, you will need a working GDC compiler (GCC version 9.1 or later). GCC changes: - Add support for bootstrapping the D front-end. These add the required components in order to have a D front-end written in D itself. Because the compiler front-end only depends on the core runtime modules, only libdruntime is built for the bootstrap stages. D front-end changes: - Import dmd v2.098.0-beta.1. Druntime changes: - Import druntime v2.098.0-beta.1. Phobos changes: - Import phobos v2.098.0-beta.1. The jump from v2.076.1 to v2.098.0 covers nearly 4 years worth of development on the D programming language and run-time libraries. ChangeLog: * Makefile.def: Add bootstrap to libbacktrace, libphobos, zlib, and libatomic. * Makefile.in: Regenerate. * Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Fix command for GDC. (STAGE1_CONFIGURE_FLAGS): Add --with-libphobos-druntime-only if target-libphobos-bootstrap. (STAGE2_CONFIGURE_FLAGS): Likewise. * configure: Regenerate. * configure.ac: Add support for bootstrapping D front-end. config/ChangeLog: * acx.m4 (ACX_PROG_GDC): New m4 function. gcc/ChangeLog: * Makefile.in (GDC): New variable. (GDCFLAGS): New variable. * configure: Regenerate. * configure.ac: Add call to ACX_PROG_GDC. Substitute GDCFLAGS. gcc/d/ChangeLog: * dmd/MERGE: Merge upstream dmd b8384668f. * Make-lang.in (d-warn): Use strict warnings. (DMD_WARN_CXXFLAGS): Remove. (DMD_COMPILE): Remove. (CHECKING_DFLAGS): Define. (WARN_DFLAGS): Define. (ALL_DFLAGS): Define. (DCOMPILE.base): Define. (DCOMPILE): Define. (DPOSTCOMPILE): Define. (DLINKER): Define. (DLLINKER): Define. (D_FRONTEND_OBJS): Add new dmd front-end objects. (D_GENERATED_SRCS): Remove. (D_GENERATED_OBJS): Remove. (D_ALL_OBJS): Remove D_GENERATED_OBJS. (d21$(exeext)): Build using DLLINKER and -static-libphobos. (d.tags): Remove dmd/*.c and dmd/root/*.c. (d.mostlyclean): Remove D_GENERATED_SRCS, d/idgen$(build_exeext), d/impcnvgen$(build_exeext). (D_INCLUDES): Include $(srcdir)/d/dmd/res. (CFLAGS-d/id.o): Remove. (CFLAGS-d/impcnvtab.o): Remove. (d/%.o): Build using DCOMPILE and DPOSTCOMPILE. Update dependencies from d/dmd/%.c to d/dmd/%.d. (d/idgen$(build_exeext)): Remove. (d/impcnvgen$(build_exeext)): Remove. (d/id.c): Remove. (d/id.h): Remove. (d/impcnvtab.c): Remove. (d/%.dmdgen.o): Remove. (D_SYSTEM_H): Remove. (d/idgen.dmdgen.o): Remove. (d/impcnvgen.dmdgen.o): Remove. * config-lang.in (boot_language): New variable. * d-attribs.cc: Include dmd/expression.h. * d-builtins.cc: Include d-frontend.h. (build_frontend_type): Update for new front-end interface. (d_eval_constant_expression): Likewise. (d_build_builtins_module): Likewise. (maybe_set_builtin_1): Likewise. (d_build_d_type_nodes): Likewise. * d-codegen.cc (d_decl_context): Likewise. (declaration_reference_p): Likewise. (declaration_type): Likewise. (parameter_reference_p): Likewise. (parameter_type): Likewise. (get_array_length): Likewise. (build_delegate_cst): Likewise. (build_typeof_null_value): Likewise. (identity_compare_p): Likewise. (lower_struct_comparison): Likewise. (build_filename_from_loc): Likewise. (build_assert_call): Remove LIBCALL_SWITCH_ERROR. (build_bounds_index_condition): Call LIBCALL_ARRAYBOUNDS_INDEXP on bounds error. (build_bounds_slice_condition): Call LIBCALL_ARRAYBOUNDS_SLICEP on bounds error. (array_bounds_check): Update for new front-end interface. (checkaction_trap_p): Handle CHECKACTION_context. (get_function_type): Update for new front-end interface. (d_build_call): Likewise. * d-compiler.cc: Remove include of dmd/scope.h. (Compiler::genCmain): Remove. (Compiler::paintAsType): Update for new front-end interface. (Compiler::onParseModule): Likewise. * d-convert.cc (convert_expr): Remove call to LIBCALL_ARRAYCAST. (convert_for_rvalue): Update for new front-end interface. (convert_for_assignment): Likewise. (convert_for_condition): Likewise. (d_array_convert): Likewise. * d-diagnostic.cc (error): Remove. (errorSupplemental): Remove. (warning): Remove. (warningSupplemental): Remove. (deprecation): Remove. (deprecationSupplemental): Remove. (message): Remove. (vtip): New. * d-frontend.cc (global): Remove. (Global::_init): Remove. (Global::startGagging): Remove. (Global::endGagging): Remove. (Global::increaseErrorCount): Remove. (Loc::Loc): Remove. (Loc::toChars): Remove. (Loc::equals): Remove. (isBuiltin): Update for new front-end interface. (eval_builtin): Likewise. (getTypeInfoType): Likewise. (inlineCopy): Remove. * d-incpath.cc: Include d-frontend.h. (add_globalpaths): Call d_gc_malloc to allocate Strings. (add_filepaths): Likewise. * d-lang.cc: Include dmd/id.h, dmd/root/file.h, d-frontend.h. Remove include of dmd/mars.h, id.h. (entrypoint_module): Remove. (entrypoint_root_module): Remove. (deps_write_string): Update for new front-end interface. (deps_write): Likewise. (d_init_options): Call rt_init. Remove setting global params that are default initialized by the front-end. (d_handle_option): Handle OPT_fcheckaction_, OPT_fdump_c___spec_, OPT_fdump_c___spec_verbose, OPT_fextern_std_, OPT_fpreview, OPT_revert, OPT_fsave_mixins_, and OPT_ftransition. (d_post_options): Propagate dip1021 and dip1000 preview flags to dip25, and flag_diagnostics_show_caret to printErrorContext. (d_add_entrypoint_module): Remove. (d_parse_file): Update for new front-end interface. (d_type_promotes_to): Likewise. (d_types_compatible_p): Likewise. * d-longdouble.cc (CTFloat::zero): Remove. (CTFloat::one): Remove. (CTFloat::minusone): Remove. (CTFloat::half): Remove. * d-system.h (POSIX): Remove. (realpath): Remove. (isalpha): Remove. (isalnum): Remove. (isdigit): Remove. (islower): Remove. (isprint): Remove. (isspace): Remove. (isupper): Remove. (isxdigit): Remove. (tolower): Remove. (_mkdir): Remove. (INT32_MAX): Remove. (INT32_MIN): Remove. (INT64_MIN): Remove. (UINT32_MAX): Remove. (UINT64_MAX): Remove. * d-target.cc: Include calls.h. (target): Remove. (define_float_constants): Remove initialization of snan. (Target::_init): Update for new front-end interface. (Target::isVectorTypeSupported): Likewise. (Target::isVectorOpSupported): Remove cases for unordered operators. (TargetCPP::typeMangle): Update for new front-end interface. (TargetCPP::parameterType): Likewise. (Target::systemLinkage): Likewise. (Target::isReturnOnStack): Likewise. (Target::isCalleeDestroyingArgs): Define. (Target::preferPassByRef): Define. * d-tree.h (d_add_entrypoint_module): Remove. * decl.cc (gcc_attribute_p): Update for new front-end interface. (apply_pragma_crt): Define. (DeclVisitor::visit(PragmaDeclaration *)): Handle pragmas crt_constructor and crt_destructor. (DeclVisitor::visit(TemplateDeclaration *)): Update for new front-end interface. (DeclVisitor::visit): Likewise. (DeclVisitor::finish_vtable): Likewise. (get_symbol_decl): Error if template has more than one nesting context. Update for new front-end interface. (make_thunk): Update for new front-end interface. (get_vtable_decl): Likewise. * expr.cc (ExprVisitor::visit): Likewise. (build_return_dtor): Likewise. * imports.cc (ImportVisitor::visit): Likewise. * intrinsics.cc: Include dmd/expression.h. Remove include of dmd/mangle.h. (maybe_set_intrinsic): Update for new front-end interface. * intrinsics.def (INTRINSIC_ROL): Update intrinsic signature. (INTRINSIC_ROR): Likewise. (INTRINSIC_ROR_TIARG): Likewise. (INTRINSIC_TOPREC): Likewise. (INTRINSIC_TOPRECL): Likewise. (INTRINSIC_TAN): Update intrinsic module and signature. (INTRINSIC_ISNAN): Likewise. (INTRINSIC_ISFINITE): Likewise. (INTRINSIC_COPYSIGN): Define intrinsic. (INTRINSIC_COPYSIGNI): Define intrinsic. (INTRINSIC_EXP): Update intrinsic module. (INTRINSIC_EXPM1): Likewise. (INTRINSIC_EXP2): Likewise. (INTRINSIC_LOG): Likewise. (INTRINSIC_LOG2): Likewise. (INTRINSIC_LOG10): Likewise. (INTRINSIC_POW): Likewise. (INTRINSIC_ROUND): Likewise. (INTRINSIC_FLOORF): Likewise. (INTRINSIC_FLOOR): Likewise. (INTRINSIC_FLOORL): Likewise. (INTRINSIC_CEILF): Likewise. (INTRINSIC_CEIL): Likewise. (INTRINSIC_CEILL): Likewise. (INTRINSIC_TRUNC): Likewise. (INTRINSIC_FMIN): Likewise. (INTRINSIC_FMAX): Likewise. (INTRINSIC_FMA): Likewise. (INTRINSIC_VA_ARG): Update intrinsic signature. (INTRINSIC_VASTART): Likewise. * lang.opt (fcheck=): Add alternate aliases for contract switches. (fcheckaction=): New option. (check_action): New Enum and EnumValue entries. (fdump-c++-spec-verbose): New option. (fdump-c++-spec=): New option. (fextern-std=): New option. (extern_stdcpp): New Enum and EnumValue entries (fpreview=): New options. (frevert=): New options. (fsave-mixins): New option. (ftransition=): Update options. * modules.cc (get_internal_fn): Replace Prot with Visibility. (build_internal_fn): Likewise. (build_dso_cdtor_fn): Likewise. (build_module_tree): Remove check for __entrypoint module. * runtime.def (P5): Define. (ARRAYBOUNDS_SLICEP): Define. (ARRAYBOUNDS_INDEXP): Define. (NEWTHROW): Define. (ADCMP2): Remove. (ARRAYCAST): Remove. (SWITCH_STRING): Remove. (SWITCH_USTRING): Remove. (SWITCH_DSTRING): Remove. (SWITCH_ERROR): Remove. * toir.cc (IRVisitor::visit): Update for new front-end interface. (IRVisitor::check_previous_goto): Remove checks for case and default statements. (IRVisitor::visit(SwitchStatement *)): Remove handling of string switch conditions. * typeinfo.cc: Include d-frontend.h. (get_typeinfo_kind): Update for new front-end interface. (make_frontend_typeinfo): Likewise. (TypeInfoVisitor::visit): Likewise. (builtin_typeinfo_p): Likewise. (get_typeinfo_decl): Likewise. (build_typeinfo): Likewise. * types.cc (valist_array_p): Likewise. (make_array_type): Likewise. (merge_aggregate_types): Likewise. (TypeVisitor::visit(TypeBasic *)): Likewise. (TypeVisitor::visit(TypeFunction *)): Likewise. (TypeVisitor::visit(TypeStruct *)): Update comment. * verstr.h: Removed. * d-frontend.h: New file. gcc/po/ChangeLog: * EXCLUDES: Remove d/dmd sources from list. gcc/testsuite/ChangeLog: * gdc.dg/Wcastresult2.d: Update test. * gdc.dg/asm1.d: Likewise. * gdc.dg/asm2.d: Likewise. * gdc.dg/asm3.d: Likewise. * gdc.dg/gdc282.d: Likewise. * gdc.dg/imports/gdc170.d: Likewise. * gdc.dg/intrinsics.d: Likewise. * gdc.dg/pr101672.d: Likewise. * gdc.dg/pr90650a.d: Likewise. * gdc.dg/pr90650b.d: Likewise. * gdc.dg/pr94777a.d: Likewise. * gdc.dg/pr95250.d: Likewise. * gdc.dg/pr96869.d: Likewise. * gdc.dg/pr98277.d: Likewise. * gdc.dg/pr98457.d: Likewise. * gdc.dg/simd1.d: Likewise. * gdc.dg/simd2a.d: Likewise. * gdc.dg/simd2b.d: Likewise. * gdc.dg/simd2c.d: Likewise. * gdc.dg/simd2d.d: Likewise. * gdc.dg/simd2e.d: Likewise. * gdc.dg/simd2f.d: Likewise. * gdc.dg/simd2g.d: Likewise. * gdc.dg/simd2h.d: Likewise. * gdc.dg/simd2i.d: Likewise. * gdc.dg/simd2j.d: Likewise. * gdc.dg/simd7951.d: Likewise. * gdc.dg/torture/gdc309.d: Likewise. * gdc.dg/torture/pr94424.d: Likewise. * gdc.dg/torture/pr94777b.d: Likewise. * lib/gdc-utils.exp (gdc-convert-args): Handle new compiler options. (gdc-convert-test): Handle CXXFLAGS, EXTRA_OBJC_SOURCES, and ARG_SETS test directives. (gdc-do-test): Only import modules in the test run directory. * gdc.dg/pr94777c.d: New test. * gdc.dg/pr96156b.d: New test. * gdc.dg/pr96157c.d: New test. * gdc.dg/simd_ctfe.d: New test. * gdc.dg/torture/simd17344.d: New test. * gdc.dg/torture/simd20052.d: New test. * gdc.dg/torture/simd6.d: New test. * gdc.dg/torture/simd7.d: New test. libphobos/ChangeLog: * libdruntime/MERGE: Merge upstream druntime e6caaab9. * libdruntime/Makefile.am (D_EXTRA_FLAGS): Build libdruntime with -fpreview=dip1000, -fpreview=fieldwise, and -fpreview=dtorfields. (ALL_DRUNTIME_SOURCES): Add DRUNTIME_DSOURCES_STDCXX. (DRUNTIME_DSOURCES): Update list of C binding modules. (DRUNTIME_DSOURCES_STDCXX): Likewise. (DRUNTIME_DSOURCES_LINUX): Likewise. (DRUNTIME_DSOURCES_OPENBSD): Likewise. (DRUNTIME_DISOURCES): Remove __entrypoint.di. * libdruntime/Makefile.in: Regenerated. * libdruntime/__entrypoint.di: Removed. * libdruntime/gcc/deh.d (_d_isbaseof): Update signature. (_d_createTrace): Likewise. (__gdc_begin_catch): Remove reference to the exception. (_d_throw): Increment reference count of thrown object before unwind. (__gdc_personality): Chain exceptions with Throwable.chainTogether. * libdruntime/gcc/emutls.d: Update imports. * libdruntime/gcc/sections/elf.d: Update imports. (DSO.moduleGroup): Update signature. * libdruntime/gcc/sections/macho.d: Update imports. (DSO.moduleGroup): Update signature. * libdruntime/gcc/sections/pecoff.d: Update imports. (DSO.moduleGroup): Update signature. * src/MERGE: Merge upstream phobos 5ab9ad256. * src/Makefile.am (D_EXTRA_DFLAGS): Add -fpreview=dip1000 and -fpreview=dtorfields flags. (PHOBOS_DSOURCES): Update list of std modules. * src/Makefile.in: Regenerate. * testsuite/lib/libphobos.exp (libphobos-dg-test): Handle assembly compile types. (dg-test): Override. (additional_prunes): Define. (libphobos-dg-prune): Filter any additional_prunes set by tests. * testsuite/libphobos.aa/test_aa.d: Update test. * testsuite/libphobos.druntime/druntime.exp (version_flags): Add -fversion=CoreUnittest. * testsuite/libphobos.druntime_shared/druntime_shared.exp (version_flags): Add -fversion=CoreUnittest -fversion=Shared. * testsuite/libphobos.exceptions/unknown_gc.d: Update test. * testsuite/libphobos.hash/test_hash.d: Update test. * testsuite/libphobos.phobos/phobos.exp (version_flags): Add -fversion=StdUnittest * testsuite/libphobos.phobos_shared/phobos_shared.exp (version_flags): Likewise. * testsuite/libphobos.shared/host.c: Update test. * testsuite/libphobos.shared/load.d: Update test. * testsuite/libphobos.shared/load_13414.d: Update test. * testsuite/libphobos.thread/fiber_guard_page.d: Update test. * testsuite/libphobos.thread/tlsgc_sections.d: Update test. * testsuite/testsuite_flags.in: Add -fpreview=dip1000 to --gdcflags. * testsuite/libphobos.shared/link_mod_collision.d: Removed. * testsuite/libphobos.shared/load_mod_collision.d: Removed. * testsuite/libphobos.betterc/betterc.exp: New test. * testsuite/libphobos.config/config.exp: New test. * testsuite/libphobos.gc/gc.exp: New test. * testsuite/libphobos.imports/imports.exp: New test. * testsuite/libphobos.lifetime/lifetime.exp: New test. * testsuite/libphobos.unittest/unittest.exp: New test.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3307
1 files changed, 3288 insertions, 19 deletions
diff --git a/Makefile.in b/Makefile.in
index 860cf8f067b..0f18c67120a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -273,11 +273,14 @@ POSTSTAGE1_HOST_EXPORTS = \
273 $(POSTSTAGE1_CXX_EXPORT) \ 273 $(POSTSTAGE1_CXX_EXPORT) \
274 $(LTO_EXPORTS) \ 274 $(LTO_EXPORTS) \
275 GDC="$$r/$(HOST_SUBDIR)/prev-gcc/gdc$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/ \ 275 GDC="$$r/$(HOST_SUBDIR)/prev-gcc/gdc$(exeext) -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
276 -B$(build_tooldir)/bin/ $(GDC_FLAGS_FOR_TARGET) \ 276 -B$(build_tooldir)/bin/ $(GDCFLAGS_FOR_TARGET) \
277 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime/gcc \
277 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/src \ 278 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/src \
279 -B$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \
278 -I$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime -I$$s/libphobos/libdruntime \ 280 -I$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime -I$$s/libphobos/libdruntime \
279 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \ 281 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/src/.libs \
280 -L$$r/prev-$(TARGET_SUBDIR)/libphobos/libdruntime/.libs"; \ 282 -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
283 -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; \
281 export GDC; \ 284 export GDC; \
282 GDC_FOR_BUILD="$$GDC"; export GDC_FOR_BUILD; \ 285 GDC_FOR_BUILD="$$GDC"; export GDC_FOR_BUILD; \
283 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \ 286 GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
@@ -564,6 +567,11 @@ STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
564 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \ 567 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
565 --disable-build-format-warnings 568 --disable-build-format-warnings
566 569
570@if target-libphobos-bootstrap
571STAGE1_CONFIGURE_FLAGS += --with-libphobos-druntime-only
572STAGE2_CONFIGURE_FLAGS += --with-libphobos-druntime-only
573@endif target-libphobos-bootstrap
574
567# When using the slow stage1 compiler disable IL verification and forcefully 575# When using the slow stage1 compiler disable IL verification and forcefully
568# enable it when using the stage2 compiler instead. As we later compare 576# enable it when using the stage2 compiler instead. As we later compare
569# stage2 and stage3 we are merely avoid doing redundant work, plus we apply 577# stage2 and stage3 we are merely avoid doing redundant work, plus we apply
@@ -1244,24 +1252,32 @@ all-target: maybe-all-target-newlib
1244@if target-libgcc-no-bootstrap 1252@if target-libgcc-no-bootstrap
1245all-target: maybe-all-target-libgcc 1253all-target: maybe-all-target-libgcc
1246@endif target-libgcc-no-bootstrap 1254@endif target-libgcc-no-bootstrap
1255@if target-libbacktrace-no-bootstrap
1247all-target: maybe-all-target-libbacktrace 1256all-target: maybe-all-target-libbacktrace
1257@endif target-libbacktrace-no-bootstrap
1248all-target: maybe-all-target-libquadmath 1258all-target: maybe-all-target-libquadmath
1249all-target: maybe-all-target-libgfortran 1259all-target: maybe-all-target-libgfortran
1250all-target: maybe-all-target-libobjc 1260all-target: maybe-all-target-libobjc
1251all-target: maybe-all-target-libgo 1261all-target: maybe-all-target-libgo
1262@if target-libphobos-no-bootstrap
1252all-target: maybe-all-target-libphobos 1263all-target: maybe-all-target-libphobos
1264@endif target-libphobos-no-bootstrap
1253all-target: maybe-all-target-libtermcap 1265all-target: maybe-all-target-libtermcap
1254all-target: maybe-all-target-winsup 1266all-target: maybe-all-target-winsup
1255all-target: maybe-all-target-libgloss 1267all-target: maybe-all-target-libgloss
1256all-target: maybe-all-target-libffi 1268all-target: maybe-all-target-libffi
1269@if target-zlib-no-bootstrap
1257all-target: maybe-all-target-zlib 1270all-target: maybe-all-target-zlib
1271@endif target-zlib-no-bootstrap
1258all-target: maybe-all-target-rda 1272all-target: maybe-all-target-rda
1259all-target: maybe-all-target-libada 1273all-target: maybe-all-target-libada
1260@if target-libgomp-no-bootstrap 1274@if target-libgomp-no-bootstrap
1261all-target: maybe-all-target-libgomp 1275all-target: maybe-all-target-libgomp
1262@endif target-libgomp-no-bootstrap 1276@endif target-libgomp-no-bootstrap
1263all-target: maybe-all-target-libitm 1277all-target: maybe-all-target-libitm
1278@if target-libatomic-no-bootstrap
1264all-target: maybe-all-target-libatomic 1279all-target: maybe-all-target-libatomic
1280@endif target-libatomic-no-bootstrap
1265 1281
1266# Do a target for all the subdirectories. A ``make do-X'' will do a 1282# Do a target for all the subdirectories. A ``make do-X'' will do a
1267# ``make X'' in all subdirectories (because, in general, there is a 1283# ``make X'' in all subdirectories (because, in general, there is a
@@ -50006,7 +50022,6 @@ configure-target-libbacktrace: stage_current
50006@if target-libbacktrace 50022@if target-libbacktrace
50007maybe-configure-target-libbacktrace: configure-target-libbacktrace 50023maybe-configure-target-libbacktrace: configure-target-libbacktrace
50008configure-target-libbacktrace: 50024configure-target-libbacktrace:
50009 @: $(MAKE); $(unstage)
50010 @r=`${PWD_COMMAND}`; export r; \ 50025 @r=`${PWD_COMMAND}`; export r; \
50011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 50026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50012 echo "Checking multilib configuration for libbacktrace..."; \ 50027 echo "Checking multilib configuration for libbacktrace..."; \
@@ -50044,6 +50059,412 @@ configure-target-libbacktrace:
50044 50059
50045 50060
50046 50061
50062.PHONY: configure-stage1-target-libbacktrace maybe-configure-stage1-target-libbacktrace
50063maybe-configure-stage1-target-libbacktrace:
50064@if target-libbacktrace-bootstrap
50065maybe-configure-stage1-target-libbacktrace: configure-stage1-target-libbacktrace
50066configure-stage1-target-libbacktrace:
50067 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
50068 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50069 @r=`${PWD_COMMAND}`; export r; \
50070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50071 TFLAGS="$(STAGE1_TFLAGS)"; \
50072 echo "Checking multilib configuration for libbacktrace..."; \
50073 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50074 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50075 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50076 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50077 else \
50078 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50079 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50080 fi; \
50081 else \
50082 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50083 fi; \
50084 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50085 $(NORMAL_TARGET_EXPORTS) \
50086 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50087 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50088 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50089 echo Configuring stage 1 in $(TARGET_SUBDIR)/libbacktrace; \
50090 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50091 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50092 case $(srcdir) in \
50093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50094 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50096 esac; \
50097 module_srcdir=libbacktrace; \
50098 $(SHELL) $$s/$$module_srcdir/configure \
50099 --srcdir=$${topdir}/$$module_srcdir \
50100 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50101 --target=${target_alias} \
50102 \
50103 $(STAGE1_CONFIGURE_FLAGS)
50104@endif target-libbacktrace-bootstrap
50105
50106.PHONY: configure-stage2-target-libbacktrace maybe-configure-stage2-target-libbacktrace
50107maybe-configure-stage2-target-libbacktrace:
50108@if target-libbacktrace-bootstrap
50109maybe-configure-stage2-target-libbacktrace: configure-stage2-target-libbacktrace
50110configure-stage2-target-libbacktrace:
50111 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
50112 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50113 @r=`${PWD_COMMAND}`; export r; \
50114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50115 TFLAGS="$(STAGE2_TFLAGS)"; \
50116 echo "Checking multilib configuration for libbacktrace..."; \
50117 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50118 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50119 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50120 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50121 else \
50122 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50123 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50124 fi; \
50125 else \
50126 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50127 fi; \
50128 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50129 $(NORMAL_TARGET_EXPORTS) \
50130 \
50131 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50132 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50133 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50134 echo Configuring stage 2 in $(TARGET_SUBDIR)/libbacktrace; \
50135 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50136 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50137 case $(srcdir) in \
50138 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50139 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50140 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50141 esac; \
50142 module_srcdir=libbacktrace; \
50143 $(SHELL) $$s/$$module_srcdir/configure \
50144 --srcdir=$${topdir}/$$module_srcdir \
50145 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50146 --target=${target_alias} \
50147 --with-build-libsubdir=$(HOST_SUBDIR) \
50148 $(STAGE2_CONFIGURE_FLAGS)
50149@endif target-libbacktrace-bootstrap
50150
50151.PHONY: configure-stage3-target-libbacktrace maybe-configure-stage3-target-libbacktrace
50152maybe-configure-stage3-target-libbacktrace:
50153@if target-libbacktrace-bootstrap
50154maybe-configure-stage3-target-libbacktrace: configure-stage3-target-libbacktrace
50155configure-stage3-target-libbacktrace:
50156 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
50157 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50158 @r=`${PWD_COMMAND}`; export r; \
50159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50160 TFLAGS="$(STAGE3_TFLAGS)"; \
50161 echo "Checking multilib configuration for libbacktrace..."; \
50162 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50163 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50164 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50165 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50166 else \
50167 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50168 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50169 fi; \
50170 else \
50171 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50172 fi; \
50173 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50174 $(NORMAL_TARGET_EXPORTS) \
50175 \
50176 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50177 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50178 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50179 echo Configuring stage 3 in $(TARGET_SUBDIR)/libbacktrace; \
50180 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50181 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50182 case $(srcdir) in \
50183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50184 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50186 esac; \
50187 module_srcdir=libbacktrace; \
50188 $(SHELL) $$s/$$module_srcdir/configure \
50189 --srcdir=$${topdir}/$$module_srcdir \
50190 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50191 --target=${target_alias} \
50192 --with-build-libsubdir=$(HOST_SUBDIR) \
50193 $(STAGE3_CONFIGURE_FLAGS)
50194@endif target-libbacktrace-bootstrap
50195
50196.PHONY: configure-stage4-target-libbacktrace maybe-configure-stage4-target-libbacktrace
50197maybe-configure-stage4-target-libbacktrace:
50198@if target-libbacktrace-bootstrap
50199maybe-configure-stage4-target-libbacktrace: configure-stage4-target-libbacktrace
50200configure-stage4-target-libbacktrace:
50201 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
50202 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50203 @r=`${PWD_COMMAND}`; export r; \
50204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50205 TFLAGS="$(STAGE4_TFLAGS)"; \
50206 echo "Checking multilib configuration for libbacktrace..."; \
50207 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50208 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50209 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50210 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50211 else \
50212 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50213 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50214 fi; \
50215 else \
50216 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50217 fi; \
50218 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50219 $(NORMAL_TARGET_EXPORTS) \
50220 \
50221 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50222 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50223 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50224 echo Configuring stage 4 in $(TARGET_SUBDIR)/libbacktrace; \
50225 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50226 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50227 case $(srcdir) in \
50228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50229 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50231 esac; \
50232 module_srcdir=libbacktrace; \
50233 $(SHELL) $$s/$$module_srcdir/configure \
50234 --srcdir=$${topdir}/$$module_srcdir \
50235 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50236 --target=${target_alias} \
50237 --with-build-libsubdir=$(HOST_SUBDIR) \
50238 $(STAGE4_CONFIGURE_FLAGS)
50239@endif target-libbacktrace-bootstrap
50240
50241.PHONY: configure-stageprofile-target-libbacktrace maybe-configure-stageprofile-target-libbacktrace
50242maybe-configure-stageprofile-target-libbacktrace:
50243@if target-libbacktrace-bootstrap
50244maybe-configure-stageprofile-target-libbacktrace: configure-stageprofile-target-libbacktrace
50245configure-stageprofile-target-libbacktrace:
50246 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
50247 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50248 @r=`${PWD_COMMAND}`; export r; \
50249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50250 TFLAGS="$(STAGEprofile_TFLAGS)"; \
50251 echo "Checking multilib configuration for libbacktrace..."; \
50252 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50253 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50254 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50255 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50256 else \
50257 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50258 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50259 fi; \
50260 else \
50261 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50262 fi; \
50263 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50264 $(NORMAL_TARGET_EXPORTS) \
50265 \
50266 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50267 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50268 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50269 echo Configuring stage profile in $(TARGET_SUBDIR)/libbacktrace; \
50270 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50271 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50272 case $(srcdir) in \
50273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50274 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50276 esac; \
50277 module_srcdir=libbacktrace; \
50278 $(SHELL) $$s/$$module_srcdir/configure \
50279 --srcdir=$${topdir}/$$module_srcdir \
50280 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50281 --target=${target_alias} \
50282 --with-build-libsubdir=$(HOST_SUBDIR) \
50283 $(STAGEprofile_CONFIGURE_FLAGS)
50284@endif target-libbacktrace-bootstrap
50285
50286.PHONY: configure-stagetrain-target-libbacktrace maybe-configure-stagetrain-target-libbacktrace
50287maybe-configure-stagetrain-target-libbacktrace:
50288@if target-libbacktrace-bootstrap
50289maybe-configure-stagetrain-target-libbacktrace: configure-stagetrain-target-libbacktrace
50290configure-stagetrain-target-libbacktrace:
50291 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
50292 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50293 @r=`${PWD_COMMAND}`; export r; \
50294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50295 TFLAGS="$(STAGEtrain_TFLAGS)"; \
50296 echo "Checking multilib configuration for libbacktrace..."; \
50297 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50298 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50299 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50300 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50301 else \
50302 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50303 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50304 fi; \
50305 else \
50306 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50307 fi; \
50308 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50309 $(NORMAL_TARGET_EXPORTS) \
50310 \
50311 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50312 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50313 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50314 echo Configuring stage train in $(TARGET_SUBDIR)/libbacktrace; \
50315 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50316 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50317 case $(srcdir) in \
50318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50319 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50321 esac; \
50322 module_srcdir=libbacktrace; \
50323 $(SHELL) $$s/$$module_srcdir/configure \
50324 --srcdir=$${topdir}/$$module_srcdir \
50325 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50326 --target=${target_alias} \
50327 --with-build-libsubdir=$(HOST_SUBDIR) \
50328 $(STAGEtrain_CONFIGURE_FLAGS)
50329@endif target-libbacktrace-bootstrap
50330
50331.PHONY: configure-stagefeedback-target-libbacktrace maybe-configure-stagefeedback-target-libbacktrace
50332maybe-configure-stagefeedback-target-libbacktrace:
50333@if target-libbacktrace-bootstrap
50334maybe-configure-stagefeedback-target-libbacktrace: configure-stagefeedback-target-libbacktrace
50335configure-stagefeedback-target-libbacktrace:
50336 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50337 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50338 @r=`${PWD_COMMAND}`; export r; \
50339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50340 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50341 echo "Checking multilib configuration for libbacktrace..."; \
50342 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50343 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50344 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50345 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50346 else \
50347 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50348 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50349 fi; \
50350 else \
50351 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50352 fi; \
50353 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50354 $(NORMAL_TARGET_EXPORTS) \
50355 \
50356 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50357 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50358 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50359 echo Configuring stage feedback in $(TARGET_SUBDIR)/libbacktrace; \
50360 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50361 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50362 case $(srcdir) in \
50363 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50364 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50365 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50366 esac; \
50367 module_srcdir=libbacktrace; \
50368 $(SHELL) $$s/$$module_srcdir/configure \
50369 --srcdir=$${topdir}/$$module_srcdir \
50370 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50371 --target=${target_alias} \
50372 --with-build-libsubdir=$(HOST_SUBDIR) \
50373 $(STAGEfeedback_CONFIGURE_FLAGS)
50374@endif target-libbacktrace-bootstrap
50375
50376.PHONY: configure-stageautoprofile-target-libbacktrace maybe-configure-stageautoprofile-target-libbacktrace
50377maybe-configure-stageautoprofile-target-libbacktrace:
50378@if target-libbacktrace-bootstrap
50379maybe-configure-stageautoprofile-target-libbacktrace: configure-stageautoprofile-target-libbacktrace
50380configure-stageautoprofile-target-libbacktrace:
50381 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50382 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50383 @r=`${PWD_COMMAND}`; export r; \
50384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50385 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50386 echo "Checking multilib configuration for libbacktrace..."; \
50387 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50388 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50389 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50390 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50391 else \
50392 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50393 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50394 fi; \
50395 else \
50396 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50397 fi; \
50398 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50399 $(NORMAL_TARGET_EXPORTS) \
50400 \
50401 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50402 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50403 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50404 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libbacktrace; \
50405 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50406 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50407 case $(srcdir) in \
50408 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50409 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50410 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50411 esac; \
50412 module_srcdir=libbacktrace; \
50413 $(SHELL) $$s/$$module_srcdir/configure \
50414 --srcdir=$${topdir}/$$module_srcdir \
50415 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50416 --target=${target_alias} \
50417 --with-build-libsubdir=$(HOST_SUBDIR) \
50418 $(STAGEautoprofile_CONFIGURE_FLAGS)
50419@endif target-libbacktrace-bootstrap
50420
50421.PHONY: configure-stageautofeedback-target-libbacktrace maybe-configure-stageautofeedback-target-libbacktrace
50422maybe-configure-stageautofeedback-target-libbacktrace:
50423@if target-libbacktrace-bootstrap
50424maybe-configure-stageautofeedback-target-libbacktrace: configure-stageautofeedback-target-libbacktrace
50425configure-stageautofeedback-target-libbacktrace:
50426 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50427 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace
50428 @r=`${PWD_COMMAND}`; export r; \
50429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50430 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50431 echo "Checking multilib configuration for libbacktrace..."; \
50432 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null; \
50433 if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50434 if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
50435 rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
50436 else \
50437 rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
50438 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50439 fi; \
50440 else \
50441 mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
50442 fi; \
50443 test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
50444 $(NORMAL_TARGET_EXPORTS) \
50445 \
50446 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
50447 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
50448 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
50449 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libbacktrace; \
50450 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace; \
50451 cd $(TARGET_SUBDIR)/libbacktrace || exit 1; \
50452 case $(srcdir) in \
50453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
50454 *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
50455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
50456 esac; \
50457 module_srcdir=libbacktrace; \
50458 $(SHELL) $$s/$$module_srcdir/configure \
50459 --srcdir=$${topdir}/$$module_srcdir \
50460 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
50461 --target=${target_alias} \
50462 --with-build-libsubdir=$(HOST_SUBDIR) \
50463 $(STAGEautofeedback_CONFIGURE_FLAGS)
50464@endif target-libbacktrace-bootstrap
50465
50466
50467
50047 50468
50048 50469
50049.PHONY: all-target-libbacktrace maybe-all-target-libbacktrace 50470.PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
@@ -50055,7 +50476,6 @@ all-target-libbacktrace: stage_current
50055TARGET-target-libbacktrace=all 50476TARGET-target-libbacktrace=all
50056maybe-all-target-libbacktrace: all-target-libbacktrace 50477maybe-all-target-libbacktrace: all-target-libbacktrace
50057all-target-libbacktrace: configure-target-libbacktrace 50478all-target-libbacktrace: configure-target-libbacktrace
50058 @: $(MAKE); $(unstage)
50059 @r=`${PWD_COMMAND}`; export r; \ 50479 @r=`${PWD_COMMAND}`; export r; \
50060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 50480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50061 $(NORMAL_TARGET_EXPORTS) \ 50481 $(NORMAL_TARGET_EXPORTS) \
@@ -50066,6 +50486,387 @@ all-target-libbacktrace: configure-target-libbacktrace
50066 50486
50067 50487
50068 50488
50489.PHONY: all-stage1-target-libbacktrace maybe-all-stage1-target-libbacktrace
50490.PHONY: clean-stage1-target-libbacktrace maybe-clean-stage1-target-libbacktrace
50491maybe-all-stage1-target-libbacktrace:
50492maybe-clean-stage1-target-libbacktrace:
50493@if target-libbacktrace-bootstrap
50494maybe-all-stage1-target-libbacktrace: all-stage1-target-libbacktrace
50495all-stage1: all-stage1-target-libbacktrace
50496TARGET-stage1-target-libbacktrace = $(TARGET-target-libbacktrace)
50497all-stage1-target-libbacktrace: configure-stage1-target-libbacktrace
50498 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
50499 @r=`${PWD_COMMAND}`; export r; \
50500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50501 TFLAGS="$(STAGE1_TFLAGS)"; \
50502 $(NORMAL_TARGET_EXPORTS) \
50503 cd $(TARGET_SUBDIR)/libbacktrace && \
50504 \
50505 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50506 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50507 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50508 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50509 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50510 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50511 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50512 $(EXTRA_TARGET_FLAGS) \
50513 \
50514 TFLAGS="$(STAGE1_TFLAGS)" \
50515 $(TARGET-stage1-target-libbacktrace)
50516
50517maybe-clean-stage1-target-libbacktrace: clean-stage1-target-libbacktrace
50518clean-stage1: clean-stage1-target-libbacktrace
50519clean-stage1-target-libbacktrace:
50520 @if [ $(current_stage) = stage1 ]; then \
50521 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50522 else \
50523 [ -f $(TARGET_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
50524 $(MAKE) stage1-start; \
50525 fi; \
50526 cd $(TARGET_SUBDIR)/libbacktrace && \
50527 $(MAKE) $(EXTRA_TARGET_FLAGS) \
50528 clean
50529@endif target-libbacktrace-bootstrap
50530
50531
50532.PHONY: all-stage2-target-libbacktrace maybe-all-stage2-target-libbacktrace
50533.PHONY: clean-stage2-target-libbacktrace maybe-clean-stage2-target-libbacktrace
50534maybe-all-stage2-target-libbacktrace:
50535maybe-clean-stage2-target-libbacktrace:
50536@if target-libbacktrace-bootstrap
50537maybe-all-stage2-target-libbacktrace: all-stage2-target-libbacktrace
50538all-stage2: all-stage2-target-libbacktrace
50539TARGET-stage2-target-libbacktrace = $(TARGET-target-libbacktrace)
50540all-stage2-target-libbacktrace: configure-stage2-target-libbacktrace
50541 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
50542 @r=`${PWD_COMMAND}`; export r; \
50543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50544 TFLAGS="$(STAGE2_TFLAGS)"; \
50545 $(NORMAL_TARGET_EXPORTS) \
50546 \
50547 cd $(TARGET_SUBDIR)/libbacktrace && \
50548 \
50549 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50550 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50551 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50552 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50553 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50554 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50555 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50556 $(EXTRA_TARGET_FLAGS) \
50557 TFLAGS="$(STAGE2_TFLAGS)" \
50558 $(TARGET-stage2-target-libbacktrace)
50559
50560maybe-clean-stage2-target-libbacktrace: clean-stage2-target-libbacktrace
50561clean-stage2: clean-stage2-target-libbacktrace
50562clean-stage2-target-libbacktrace:
50563 @if [ $(current_stage) = stage2 ]; then \
50564 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50565 else \
50566 [ -f $(TARGET_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
50567 $(MAKE) stage2-start; \
50568 fi; \
50569 cd $(TARGET_SUBDIR)/libbacktrace && \
50570 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50571@endif target-libbacktrace-bootstrap
50572
50573
50574.PHONY: all-stage3-target-libbacktrace maybe-all-stage3-target-libbacktrace
50575.PHONY: clean-stage3-target-libbacktrace maybe-clean-stage3-target-libbacktrace
50576maybe-all-stage3-target-libbacktrace:
50577maybe-clean-stage3-target-libbacktrace:
50578@if target-libbacktrace-bootstrap
50579maybe-all-stage3-target-libbacktrace: all-stage3-target-libbacktrace
50580all-stage3: all-stage3-target-libbacktrace
50581TARGET-stage3-target-libbacktrace = $(TARGET-target-libbacktrace)
50582all-stage3-target-libbacktrace: configure-stage3-target-libbacktrace
50583 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
50584 @r=`${PWD_COMMAND}`; export r; \
50585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50586 TFLAGS="$(STAGE3_TFLAGS)"; \
50587 $(NORMAL_TARGET_EXPORTS) \
50588 \
50589 cd $(TARGET_SUBDIR)/libbacktrace && \
50590 \
50591 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50592 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50593 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50594 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50595 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50596 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50597 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50598 $(EXTRA_TARGET_FLAGS) \
50599 TFLAGS="$(STAGE3_TFLAGS)" \
50600 $(TARGET-stage3-target-libbacktrace)
50601
50602maybe-clean-stage3-target-libbacktrace: clean-stage3-target-libbacktrace
50603clean-stage3: clean-stage3-target-libbacktrace
50604clean-stage3-target-libbacktrace:
50605 @if [ $(current_stage) = stage3 ]; then \
50606 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50607 else \
50608 [ -f $(TARGET_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
50609 $(MAKE) stage3-start; \
50610 fi; \
50611 cd $(TARGET_SUBDIR)/libbacktrace && \
50612 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50613@endif target-libbacktrace-bootstrap
50614
50615
50616.PHONY: all-stage4-target-libbacktrace maybe-all-stage4-target-libbacktrace
50617.PHONY: clean-stage4-target-libbacktrace maybe-clean-stage4-target-libbacktrace
50618maybe-all-stage4-target-libbacktrace:
50619maybe-clean-stage4-target-libbacktrace:
50620@if target-libbacktrace-bootstrap
50621maybe-all-stage4-target-libbacktrace: all-stage4-target-libbacktrace
50622all-stage4: all-stage4-target-libbacktrace
50623TARGET-stage4-target-libbacktrace = $(TARGET-target-libbacktrace)
50624all-stage4-target-libbacktrace: configure-stage4-target-libbacktrace
50625 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
50626 @r=`${PWD_COMMAND}`; export r; \
50627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50628 TFLAGS="$(STAGE4_TFLAGS)"; \
50629 $(NORMAL_TARGET_EXPORTS) \
50630 \
50631 cd $(TARGET_SUBDIR)/libbacktrace && \
50632 \
50633 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50634 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50635 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50636 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50637 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50638 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50639 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50640 $(EXTRA_TARGET_FLAGS) \
50641 TFLAGS="$(STAGE4_TFLAGS)" \
50642 $(TARGET-stage4-target-libbacktrace)
50643
50644maybe-clean-stage4-target-libbacktrace: clean-stage4-target-libbacktrace
50645clean-stage4: clean-stage4-target-libbacktrace
50646clean-stage4-target-libbacktrace:
50647 @if [ $(current_stage) = stage4 ]; then \
50648 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50649 else \
50650 [ -f $(TARGET_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
50651 $(MAKE) stage4-start; \
50652 fi; \
50653 cd $(TARGET_SUBDIR)/libbacktrace && \
50654 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50655@endif target-libbacktrace-bootstrap
50656
50657
50658.PHONY: all-stageprofile-target-libbacktrace maybe-all-stageprofile-target-libbacktrace
50659.PHONY: clean-stageprofile-target-libbacktrace maybe-clean-stageprofile-target-libbacktrace
50660maybe-all-stageprofile-target-libbacktrace:
50661maybe-clean-stageprofile-target-libbacktrace:
50662@if target-libbacktrace-bootstrap
50663maybe-all-stageprofile-target-libbacktrace: all-stageprofile-target-libbacktrace
50664all-stageprofile: all-stageprofile-target-libbacktrace
50665TARGET-stageprofile-target-libbacktrace = $(TARGET-target-libbacktrace)
50666all-stageprofile-target-libbacktrace: configure-stageprofile-target-libbacktrace
50667 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
50668 @r=`${PWD_COMMAND}`; export r; \
50669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50670 TFLAGS="$(STAGEprofile_TFLAGS)"; \
50671 $(NORMAL_TARGET_EXPORTS) \
50672 \
50673 cd $(TARGET_SUBDIR)/libbacktrace && \
50674 \
50675 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50676 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50677 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50678 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50679 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50680 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50681 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50682 $(EXTRA_TARGET_FLAGS) \
50683 TFLAGS="$(STAGEprofile_TFLAGS)" \
50684 $(TARGET-stageprofile-target-libbacktrace)
50685
50686maybe-clean-stageprofile-target-libbacktrace: clean-stageprofile-target-libbacktrace
50687clean-stageprofile: clean-stageprofile-target-libbacktrace
50688clean-stageprofile-target-libbacktrace:
50689 @if [ $(current_stage) = stageprofile ]; then \
50690 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50691 else \
50692 [ -f $(TARGET_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
50693 $(MAKE) stageprofile-start; \
50694 fi; \
50695 cd $(TARGET_SUBDIR)/libbacktrace && \
50696 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50697@endif target-libbacktrace-bootstrap
50698
50699
50700.PHONY: all-stagetrain-target-libbacktrace maybe-all-stagetrain-target-libbacktrace
50701.PHONY: clean-stagetrain-target-libbacktrace maybe-clean-stagetrain-target-libbacktrace
50702maybe-all-stagetrain-target-libbacktrace:
50703maybe-clean-stagetrain-target-libbacktrace:
50704@if target-libbacktrace-bootstrap
50705maybe-all-stagetrain-target-libbacktrace: all-stagetrain-target-libbacktrace
50706all-stagetrain: all-stagetrain-target-libbacktrace
50707TARGET-stagetrain-target-libbacktrace = $(TARGET-target-libbacktrace)
50708all-stagetrain-target-libbacktrace: configure-stagetrain-target-libbacktrace
50709 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
50710 @r=`${PWD_COMMAND}`; export r; \
50711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50712 TFLAGS="$(STAGEtrain_TFLAGS)"; \
50713 $(NORMAL_TARGET_EXPORTS) \
50714 \
50715 cd $(TARGET_SUBDIR)/libbacktrace && \
50716 \
50717 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50718 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50719 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50720 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50721 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50722 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50723 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50724 $(EXTRA_TARGET_FLAGS) \
50725 TFLAGS="$(STAGEtrain_TFLAGS)" \
50726 $(TARGET-stagetrain-target-libbacktrace)
50727
50728maybe-clean-stagetrain-target-libbacktrace: clean-stagetrain-target-libbacktrace
50729clean-stagetrain: clean-stagetrain-target-libbacktrace
50730clean-stagetrain-target-libbacktrace:
50731 @if [ $(current_stage) = stagetrain ]; then \
50732 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50733 else \
50734 [ -f $(TARGET_SUBDIR)/stagetrain-libbacktrace/Makefile ] || exit 0; \
50735 $(MAKE) stagetrain-start; \
50736 fi; \
50737 cd $(TARGET_SUBDIR)/libbacktrace && \
50738 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50739@endif target-libbacktrace-bootstrap
50740
50741
50742.PHONY: all-stagefeedback-target-libbacktrace maybe-all-stagefeedback-target-libbacktrace
50743.PHONY: clean-stagefeedback-target-libbacktrace maybe-clean-stagefeedback-target-libbacktrace
50744maybe-all-stagefeedback-target-libbacktrace:
50745maybe-clean-stagefeedback-target-libbacktrace:
50746@if target-libbacktrace-bootstrap
50747maybe-all-stagefeedback-target-libbacktrace: all-stagefeedback-target-libbacktrace
50748all-stagefeedback: all-stagefeedback-target-libbacktrace
50749TARGET-stagefeedback-target-libbacktrace = $(TARGET-target-libbacktrace)
50750all-stagefeedback-target-libbacktrace: configure-stagefeedback-target-libbacktrace
50751 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
50752 @r=`${PWD_COMMAND}`; export r; \
50753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50754 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
50755 $(NORMAL_TARGET_EXPORTS) \
50756 \
50757 cd $(TARGET_SUBDIR)/libbacktrace && \
50758 \
50759 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50760 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50761 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50762 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50763 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50764 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50765 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50766 $(EXTRA_TARGET_FLAGS) \
50767 TFLAGS="$(STAGEfeedback_TFLAGS)" \
50768 $(TARGET-stagefeedback-target-libbacktrace)
50769
50770maybe-clean-stagefeedback-target-libbacktrace: clean-stagefeedback-target-libbacktrace
50771clean-stagefeedback: clean-stagefeedback-target-libbacktrace
50772clean-stagefeedback-target-libbacktrace:
50773 @if [ $(current_stage) = stagefeedback ]; then \
50774 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50775 else \
50776 [ -f $(TARGET_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
50777 $(MAKE) stagefeedback-start; \
50778 fi; \
50779 cd $(TARGET_SUBDIR)/libbacktrace && \
50780 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50781@endif target-libbacktrace-bootstrap
50782
50783
50784.PHONY: all-stageautoprofile-target-libbacktrace maybe-all-stageautoprofile-target-libbacktrace
50785.PHONY: clean-stageautoprofile-target-libbacktrace maybe-clean-stageautoprofile-target-libbacktrace
50786maybe-all-stageautoprofile-target-libbacktrace:
50787maybe-clean-stageautoprofile-target-libbacktrace:
50788@if target-libbacktrace-bootstrap
50789maybe-all-stageautoprofile-target-libbacktrace: all-stageautoprofile-target-libbacktrace
50790all-stageautoprofile: all-stageautoprofile-target-libbacktrace
50791TARGET-stageautoprofile-target-libbacktrace = $(TARGET-target-libbacktrace)
50792all-stageautoprofile-target-libbacktrace: configure-stageautoprofile-target-libbacktrace
50793 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
50794 @r=`${PWD_COMMAND}`; export r; \
50795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50796 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
50797 $(NORMAL_TARGET_EXPORTS) \
50798 \
50799 cd $(TARGET_SUBDIR)/libbacktrace && \
50800 $$s/gcc/config/i386/$(AUTO_PROFILE) \
50801 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50802 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50803 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50804 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50805 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50806 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50807 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50808 $(EXTRA_TARGET_FLAGS) \
50809 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
50810 $(TARGET-stageautoprofile-target-libbacktrace)
50811
50812maybe-clean-stageautoprofile-target-libbacktrace: clean-stageautoprofile-target-libbacktrace
50813clean-stageautoprofile: clean-stageautoprofile-target-libbacktrace
50814clean-stageautoprofile-target-libbacktrace:
50815 @if [ $(current_stage) = stageautoprofile ]; then \
50816 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50817 else \
50818 [ -f $(TARGET_SUBDIR)/stageautoprofile-libbacktrace/Makefile ] || exit 0; \
50819 $(MAKE) stageautoprofile-start; \
50820 fi; \
50821 cd $(TARGET_SUBDIR)/libbacktrace && \
50822 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50823@endif target-libbacktrace-bootstrap
50824
50825
50826.PHONY: all-stageautofeedback-target-libbacktrace maybe-all-stageautofeedback-target-libbacktrace
50827.PHONY: clean-stageautofeedback-target-libbacktrace maybe-clean-stageautofeedback-target-libbacktrace
50828maybe-all-stageautofeedback-target-libbacktrace:
50829maybe-clean-stageautofeedback-target-libbacktrace:
50830@if target-libbacktrace-bootstrap
50831maybe-all-stageautofeedback-target-libbacktrace: all-stageautofeedback-target-libbacktrace
50832all-stageautofeedback: all-stageautofeedback-target-libbacktrace
50833TARGET-stageautofeedback-target-libbacktrace = $(TARGET-target-libbacktrace)
50834all-stageautofeedback-target-libbacktrace: configure-stageautofeedback-target-libbacktrace
50835 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
50836 @r=`${PWD_COMMAND}`; export r; \
50837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
50838 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
50839 $(NORMAL_TARGET_EXPORTS) \
50840 \
50841 cd $(TARGET_SUBDIR)/libbacktrace && \
50842 \
50843 $(MAKE) $(BASE_FLAGS_TO_PASS) \
50844 CFLAGS="$(CFLAGS_FOR_TARGET)" \
50845 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
50846 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
50847 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
50848 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
50849 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
50850 $(EXTRA_TARGET_FLAGS) \
50851 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
50852 $(TARGET-stageautofeedback-target-libbacktrace)
50853
50854maybe-clean-stageautofeedback-target-libbacktrace: clean-stageautofeedback-target-libbacktrace
50855clean-stageautofeedback: clean-stageautofeedback-target-libbacktrace
50856clean-stageautofeedback-target-libbacktrace:
50857 @if [ $(current_stage) = stageautofeedback ]; then \
50858 [ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
50859 else \
50860 [ -f $(TARGET_SUBDIR)/stageautofeedback-libbacktrace/Makefile ] || exit 0; \
50861 $(MAKE) stageautofeedback-start; \
50862 fi; \
50863 cd $(TARGET_SUBDIR)/libbacktrace && \
50864 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
50865@endif target-libbacktrace-bootstrap
50866
50867
50868
50869
50069 50870
50070 50871
50071.PHONY: check-target-libbacktrace maybe-check-target-libbacktrace 50872.PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
@@ -52398,7 +53199,6 @@ configure-target-libphobos: stage_current
52398@if target-libphobos 53199@if target-libphobos
52399maybe-configure-target-libphobos: configure-target-libphobos 53200maybe-configure-target-libphobos: configure-target-libphobos
52400configure-target-libphobos: 53201configure-target-libphobos:
52401 @: $(MAKE); $(unstage)
52402 @r=`${PWD_COMMAND}`; export r; \ 53202 @r=`${PWD_COMMAND}`; export r; \
52403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 53203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52404 echo "Checking multilib configuration for libphobos..."; \ 53204 echo "Checking multilib configuration for libphobos..."; \
@@ -52436,6 +53236,412 @@ configure-target-libphobos:
52436 53236
52437 53237
52438 53238
53239.PHONY: configure-stage1-target-libphobos maybe-configure-stage1-target-libphobos
53240maybe-configure-stage1-target-libphobos:
53241@if target-libphobos-bootstrap
53242maybe-configure-stage1-target-libphobos: configure-stage1-target-libphobos
53243configure-stage1-target-libphobos:
53244 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
53245 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53246 @r=`${PWD_COMMAND}`; export r; \
53247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53248 TFLAGS="$(STAGE1_TFLAGS)"; \
53249 echo "Checking multilib configuration for libphobos..."; \
53250 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53251 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53252 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53253 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53254 else \
53255 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53256 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53257 fi; \
53258 else \
53259 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53260 fi; \
53261 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53262 $(NORMAL_TARGET_EXPORTS) \
53263 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53264 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53265 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53266 echo Configuring stage 1 in $(TARGET_SUBDIR)/libphobos; \
53267 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53268 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53269 case $(srcdir) in \
53270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53271 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53273 esac; \
53274 module_srcdir=libphobos; \
53275 $(SHELL) $$s/$$module_srcdir/configure \
53276 --srcdir=$${topdir}/$$module_srcdir \
53277 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53278 --target=${target_alias} \
53279 \
53280 $(STAGE1_CONFIGURE_FLAGS)
53281@endif target-libphobos-bootstrap
53282
53283.PHONY: configure-stage2-target-libphobos maybe-configure-stage2-target-libphobos
53284maybe-configure-stage2-target-libphobos:
53285@if target-libphobos-bootstrap
53286maybe-configure-stage2-target-libphobos: configure-stage2-target-libphobos
53287configure-stage2-target-libphobos:
53288 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
53289 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53290 @r=`${PWD_COMMAND}`; export r; \
53291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53292 TFLAGS="$(STAGE2_TFLAGS)"; \
53293 echo "Checking multilib configuration for libphobos..."; \
53294 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53295 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53296 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53297 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53298 else \
53299 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53300 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53301 fi; \
53302 else \
53303 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53304 fi; \
53305 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53306 $(NORMAL_TARGET_EXPORTS) \
53307 \
53308 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53309 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53310 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53311 echo Configuring stage 2 in $(TARGET_SUBDIR)/libphobos; \
53312 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53313 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53314 case $(srcdir) in \
53315 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53316 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53317 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53318 esac; \
53319 module_srcdir=libphobos; \
53320 $(SHELL) $$s/$$module_srcdir/configure \
53321 --srcdir=$${topdir}/$$module_srcdir \
53322 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53323 --target=${target_alias} \
53324 --with-build-libsubdir=$(HOST_SUBDIR) \
53325 $(STAGE2_CONFIGURE_FLAGS)
53326@endif target-libphobos-bootstrap
53327
53328.PHONY: configure-stage3-target-libphobos maybe-configure-stage3-target-libphobos
53329maybe-configure-stage3-target-libphobos:
53330@if target-libphobos-bootstrap
53331maybe-configure-stage3-target-libphobos: configure-stage3-target-libphobos
53332configure-stage3-target-libphobos:
53333 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
53334 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53335 @r=`${PWD_COMMAND}`; export r; \
53336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53337 TFLAGS="$(STAGE3_TFLAGS)"; \
53338 echo "Checking multilib configuration for libphobos..."; \
53339 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53340 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53341 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53342 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53343 else \
53344 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53345 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53346 fi; \
53347 else \
53348 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53349 fi; \
53350 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53351 $(NORMAL_TARGET_EXPORTS) \
53352 \
53353 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53354 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53355 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53356 echo Configuring stage 3 in $(TARGET_SUBDIR)/libphobos; \
53357 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53358 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53359 case $(srcdir) in \
53360 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53361 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53362 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53363 esac; \
53364 module_srcdir=libphobos; \
53365 $(SHELL) $$s/$$module_srcdir/configure \
53366 --srcdir=$${topdir}/$$module_srcdir \
53367 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53368 --target=${target_alias} \
53369 --with-build-libsubdir=$(HOST_SUBDIR) \
53370 $(STAGE3_CONFIGURE_FLAGS)
53371@endif target-libphobos-bootstrap
53372
53373.PHONY: configure-stage4-target-libphobos maybe-configure-stage4-target-libphobos
53374maybe-configure-stage4-target-libphobos:
53375@if target-libphobos-bootstrap
53376maybe-configure-stage4-target-libphobos: configure-stage4-target-libphobos
53377configure-stage4-target-libphobos:
53378 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
53379 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53380 @r=`${PWD_COMMAND}`; export r; \
53381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53382 TFLAGS="$(STAGE4_TFLAGS)"; \
53383 echo "Checking multilib configuration for libphobos..."; \
53384 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53385 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53386 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53387 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53388 else \
53389 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53390 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53391 fi; \
53392 else \
53393 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53394 fi; \
53395 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53396 $(NORMAL_TARGET_EXPORTS) \
53397 \
53398 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53399 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53400 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53401 echo Configuring stage 4 in $(TARGET_SUBDIR)/libphobos; \
53402 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53403 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53404 case $(srcdir) in \
53405 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53406 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53407 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53408 esac; \
53409 module_srcdir=libphobos; \
53410 $(SHELL) $$s/$$module_srcdir/configure \
53411 --srcdir=$${topdir}/$$module_srcdir \
53412 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53413 --target=${target_alias} \
53414 --with-build-libsubdir=$(HOST_SUBDIR) \
53415 $(STAGE4_CONFIGURE_FLAGS)
53416@endif target-libphobos-bootstrap
53417
53418.PHONY: configure-stageprofile-target-libphobos maybe-configure-stageprofile-target-libphobos
53419maybe-configure-stageprofile-target-libphobos:
53420@if target-libphobos-bootstrap
53421maybe-configure-stageprofile-target-libphobos: configure-stageprofile-target-libphobos
53422configure-stageprofile-target-libphobos:
53423 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
53424 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53425 @r=`${PWD_COMMAND}`; export r; \
53426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53427 TFLAGS="$(STAGEprofile_TFLAGS)"; \
53428 echo "Checking multilib configuration for libphobos..."; \
53429 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53430 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53431 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53432 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53433 else \
53434 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53435 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53436 fi; \
53437 else \
53438 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53439 fi; \
53440 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53441 $(NORMAL_TARGET_EXPORTS) \
53442 \
53443 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53444 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53445 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53446 echo Configuring stage profile in $(TARGET_SUBDIR)/libphobos; \
53447 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53448 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53449 case $(srcdir) in \
53450 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53451 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53452 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53453 esac; \
53454 module_srcdir=libphobos; \
53455 $(SHELL) $$s/$$module_srcdir/configure \
53456 --srcdir=$${topdir}/$$module_srcdir \
53457 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53458 --target=${target_alias} \
53459 --with-build-libsubdir=$(HOST_SUBDIR) \
53460 $(STAGEprofile_CONFIGURE_FLAGS)
53461@endif target-libphobos-bootstrap
53462
53463.PHONY: configure-stagetrain-target-libphobos maybe-configure-stagetrain-target-libphobos
53464maybe-configure-stagetrain-target-libphobos:
53465@if target-libphobos-bootstrap
53466maybe-configure-stagetrain-target-libphobos: configure-stagetrain-target-libphobos
53467configure-stagetrain-target-libphobos:
53468 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
53469 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53470 @r=`${PWD_COMMAND}`; export r; \
53471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53472 TFLAGS="$(STAGEtrain_TFLAGS)"; \
53473 echo "Checking multilib configuration for libphobos..."; \
53474 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53475 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53476 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53477 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53478 else \
53479 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53480 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53481 fi; \
53482 else \
53483 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53484 fi; \
53485 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53486 $(NORMAL_TARGET_EXPORTS) \
53487 \
53488 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53489 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53490 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53491 echo Configuring stage train in $(TARGET_SUBDIR)/libphobos; \
53492 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53493 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53494 case $(srcdir) in \
53495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53496 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53498 esac; \
53499 module_srcdir=libphobos; \
53500 $(SHELL) $$s/$$module_srcdir/configure \
53501 --srcdir=$${topdir}/$$module_srcdir \
53502 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53503 --target=${target_alias} \
53504 --with-build-libsubdir=$(HOST_SUBDIR) \
53505 $(STAGEtrain_CONFIGURE_FLAGS)
53506@endif target-libphobos-bootstrap
53507
53508.PHONY: configure-stagefeedback-target-libphobos maybe-configure-stagefeedback-target-libphobos
53509maybe-configure-stagefeedback-target-libphobos:
53510@if target-libphobos-bootstrap
53511maybe-configure-stagefeedback-target-libphobos: configure-stagefeedback-target-libphobos
53512configure-stagefeedback-target-libphobos:
53513 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
53514 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53515 @r=`${PWD_COMMAND}`; export r; \
53516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53517 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53518 echo "Checking multilib configuration for libphobos..."; \
53519 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53520 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53521 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53522 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53523 else \
53524 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53525 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53526 fi; \
53527 else \
53528 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53529 fi; \
53530 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53531 $(NORMAL_TARGET_EXPORTS) \
53532 \
53533 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53534 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53535 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53536 echo Configuring stage feedback in $(TARGET_SUBDIR)/libphobos; \
53537 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53538 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53539 case $(srcdir) in \
53540 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53541 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53542 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53543 esac; \
53544 module_srcdir=libphobos; \
53545 $(SHELL) $$s/$$module_srcdir/configure \
53546 --srcdir=$${topdir}/$$module_srcdir \
53547 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53548 --target=${target_alias} \
53549 --with-build-libsubdir=$(HOST_SUBDIR) \
53550 $(STAGEfeedback_CONFIGURE_FLAGS)
53551@endif target-libphobos-bootstrap
53552
53553.PHONY: configure-stageautoprofile-target-libphobos maybe-configure-stageautoprofile-target-libphobos
53554maybe-configure-stageautoprofile-target-libphobos:
53555@if target-libphobos-bootstrap
53556maybe-configure-stageautoprofile-target-libphobos: configure-stageautoprofile-target-libphobos
53557configure-stageautoprofile-target-libphobos:
53558 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
53559 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53560 @r=`${PWD_COMMAND}`; export r; \
53561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53562 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
53563 echo "Checking multilib configuration for libphobos..."; \
53564 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53565 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53566 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53567 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53568 else \
53569 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53570 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53571 fi; \
53572 else \
53573 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53574 fi; \
53575 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53576 $(NORMAL_TARGET_EXPORTS) \
53577 \
53578 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53579 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53580 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53581 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libphobos; \
53582 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53583 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53584 case $(srcdir) in \
53585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53586 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53588 esac; \
53589 module_srcdir=libphobos; \
53590 $(SHELL) $$s/$$module_srcdir/configure \
53591 --srcdir=$${topdir}/$$module_srcdir \
53592 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53593 --target=${target_alias} \
53594 --with-build-libsubdir=$(HOST_SUBDIR) \
53595 $(STAGEautoprofile_CONFIGURE_FLAGS)
53596@endif target-libphobos-bootstrap
53597
53598.PHONY: configure-stageautofeedback-target-libphobos maybe-configure-stageautofeedback-target-libphobos
53599maybe-configure-stageautofeedback-target-libphobos:
53600@if target-libphobos-bootstrap
53601maybe-configure-stageautofeedback-target-libphobos: configure-stageautofeedback-target-libphobos
53602configure-stageautofeedback-target-libphobos:
53603 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
53604 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos
53605 @r=`${PWD_COMMAND}`; export r; \
53606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53607 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
53608 echo "Checking multilib configuration for libphobos..."; \
53609 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libphobos/multilib.tmp 2> /dev/null; \
53610 if test -r $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53611 if cmp -s $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; then \
53612 rm -f $(TARGET_SUBDIR)/libphobos/multilib.tmp; \
53613 else \
53614 rm -f $(TARGET_SUBDIR)/libphobos/Makefile; \
53615 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53616 fi; \
53617 else \
53618 mv $(TARGET_SUBDIR)/libphobos/multilib.tmp $(TARGET_SUBDIR)/libphobos/multilib.out; \
53619 fi; \
53620 test ! -f $(TARGET_SUBDIR)/libphobos/Makefile || exit 0; \
53621 $(NORMAL_TARGET_EXPORTS) \
53622 \
53623 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
53624 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
53625 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
53626 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libphobos; \
53627 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libphobos; \
53628 cd $(TARGET_SUBDIR)/libphobos || exit 1; \
53629 case $(srcdir) in \
53630 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
53631 *) topdir=`echo $(TARGET_SUBDIR)/libphobos/ | \
53632 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
53633 esac; \
53634 module_srcdir=libphobos; \
53635 $(SHELL) $$s/$$module_srcdir/configure \
53636 --srcdir=$${topdir}/$$module_srcdir \
53637 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
53638 --target=${target_alias} \
53639 --with-build-libsubdir=$(HOST_SUBDIR) \
53640 $(STAGEautofeedback_CONFIGURE_FLAGS)
53641@endif target-libphobos-bootstrap
53642
53643
53644
52439 53645
52440 53646
52441.PHONY: all-target-libphobos maybe-all-target-libphobos 53647.PHONY: all-target-libphobos maybe-all-target-libphobos
@@ -52447,7 +53653,6 @@ all-target-libphobos: stage_current
52447TARGET-target-libphobos=all 53653TARGET-target-libphobos=all
52448maybe-all-target-libphobos: all-target-libphobos 53654maybe-all-target-libphobos: all-target-libphobos
52449all-target-libphobos: configure-target-libphobos 53655all-target-libphobos: configure-target-libphobos
52450 @: $(MAKE); $(unstage)
52451 @r=`${PWD_COMMAND}`; export r; \ 53656 @r=`${PWD_COMMAND}`; export r; \
52452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 53657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
52453 $(NORMAL_TARGET_EXPORTS) \ 53658 $(NORMAL_TARGET_EXPORTS) \
@@ -52458,6 +53663,387 @@ all-target-libphobos: configure-target-libphobos
52458 53663
52459 53664
52460 53665
53666.PHONY: all-stage1-target-libphobos maybe-all-stage1-target-libphobos
53667.PHONY: clean-stage1-target-libphobos maybe-clean-stage1-target-libphobos
53668maybe-all-stage1-target-libphobos:
53669maybe-clean-stage1-target-libphobos:
53670@if target-libphobos-bootstrap
53671maybe-all-stage1-target-libphobos: all-stage1-target-libphobos
53672all-stage1: all-stage1-target-libphobos
53673TARGET-stage1-target-libphobos = $(TARGET-target-libphobos)
53674all-stage1-target-libphobos: configure-stage1-target-libphobos
53675 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
53676 @r=`${PWD_COMMAND}`; export r; \
53677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53678 TFLAGS="$(STAGE1_TFLAGS)"; \
53679 $(NORMAL_TARGET_EXPORTS) \
53680 cd $(TARGET_SUBDIR)/libphobos && \
53681 \
53682 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53683 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53684 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53685 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53686 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53687 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53688 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53689 $(EXTRA_TARGET_FLAGS) \
53690 \
53691 TFLAGS="$(STAGE1_TFLAGS)" \
53692 $(TARGET-stage1-target-libphobos)
53693
53694maybe-clean-stage1-target-libphobos: clean-stage1-target-libphobos
53695clean-stage1: clean-stage1-target-libphobos
53696clean-stage1-target-libphobos:
53697 @if [ $(current_stage) = stage1 ]; then \
53698 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53699 else \
53700 [ -f $(TARGET_SUBDIR)/stage1-libphobos/Makefile ] || exit 0; \
53701 $(MAKE) stage1-start; \
53702 fi; \
53703 cd $(TARGET_SUBDIR)/libphobos && \
53704 $(MAKE) $(EXTRA_TARGET_FLAGS) \
53705 clean
53706@endif target-libphobos-bootstrap
53707
53708
53709.PHONY: all-stage2-target-libphobos maybe-all-stage2-target-libphobos
53710.PHONY: clean-stage2-target-libphobos maybe-clean-stage2-target-libphobos
53711maybe-all-stage2-target-libphobos:
53712maybe-clean-stage2-target-libphobos:
53713@if target-libphobos-bootstrap
53714maybe-all-stage2-target-libphobos: all-stage2-target-libphobos
53715all-stage2: all-stage2-target-libphobos
53716TARGET-stage2-target-libphobos = $(TARGET-target-libphobos)
53717all-stage2-target-libphobos: configure-stage2-target-libphobos
53718 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
53719 @r=`${PWD_COMMAND}`; export r; \
53720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53721 TFLAGS="$(STAGE2_TFLAGS)"; \
53722 $(NORMAL_TARGET_EXPORTS) \
53723 \
53724 cd $(TARGET_SUBDIR)/libphobos && \
53725 \
53726 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53727 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53728 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53729 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53730 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53731 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53732 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53733 $(EXTRA_TARGET_FLAGS) \
53734 TFLAGS="$(STAGE2_TFLAGS)" \
53735 $(TARGET-stage2-target-libphobos)
53736
53737maybe-clean-stage2-target-libphobos: clean-stage2-target-libphobos
53738clean-stage2: clean-stage2-target-libphobos
53739clean-stage2-target-libphobos:
53740 @if [ $(current_stage) = stage2 ]; then \
53741 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53742 else \
53743 [ -f $(TARGET_SUBDIR)/stage2-libphobos/Makefile ] || exit 0; \
53744 $(MAKE) stage2-start; \
53745 fi; \
53746 cd $(TARGET_SUBDIR)/libphobos && \
53747 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53748@endif target-libphobos-bootstrap
53749
53750
53751.PHONY: all-stage3-target-libphobos maybe-all-stage3-target-libphobos
53752.PHONY: clean-stage3-target-libphobos maybe-clean-stage3-target-libphobos
53753maybe-all-stage3-target-libphobos:
53754maybe-clean-stage3-target-libphobos:
53755@if target-libphobos-bootstrap
53756maybe-all-stage3-target-libphobos: all-stage3-target-libphobos
53757all-stage3: all-stage3-target-libphobos
53758TARGET-stage3-target-libphobos = $(TARGET-target-libphobos)
53759all-stage3-target-libphobos: configure-stage3-target-libphobos
53760 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
53761 @r=`${PWD_COMMAND}`; export r; \
53762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53763 TFLAGS="$(STAGE3_TFLAGS)"; \
53764 $(NORMAL_TARGET_EXPORTS) \
53765 \
53766 cd $(TARGET_SUBDIR)/libphobos && \
53767 \
53768 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53769 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53770 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53771 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53772 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53773 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53774 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53775 $(EXTRA_TARGET_FLAGS) \
53776 TFLAGS="$(STAGE3_TFLAGS)" \
53777 $(TARGET-stage3-target-libphobos)
53778
53779maybe-clean-stage3-target-libphobos: clean-stage3-target-libphobos
53780clean-stage3: clean-stage3-target-libphobos
53781clean-stage3-target-libphobos:
53782 @if [ $(current_stage) = stage3 ]; then \
53783 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53784 else \
53785 [ -f $(TARGET_SUBDIR)/stage3-libphobos/Makefile ] || exit 0; \
53786 $(MAKE) stage3-start; \
53787 fi; \
53788 cd $(TARGET_SUBDIR)/libphobos && \
53789 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53790@endif target-libphobos-bootstrap
53791
53792
53793.PHONY: all-stage4-target-libphobos maybe-all-stage4-target-libphobos
53794.PHONY: clean-stage4-target-libphobos maybe-clean-stage4-target-libphobos
53795maybe-all-stage4-target-libphobos:
53796maybe-clean-stage4-target-libphobos:
53797@if target-libphobos-bootstrap
53798maybe-all-stage4-target-libphobos: all-stage4-target-libphobos
53799all-stage4: all-stage4-target-libphobos
53800TARGET-stage4-target-libphobos = $(TARGET-target-libphobos)
53801all-stage4-target-libphobos: configure-stage4-target-libphobos
53802 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
53803 @r=`${PWD_COMMAND}`; export r; \
53804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53805 TFLAGS="$(STAGE4_TFLAGS)"; \
53806 $(NORMAL_TARGET_EXPORTS) \
53807 \
53808 cd $(TARGET_SUBDIR)/libphobos && \
53809 \
53810 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53811 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53812 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53813 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53814 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53815 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53816 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53817 $(EXTRA_TARGET_FLAGS) \
53818 TFLAGS="$(STAGE4_TFLAGS)" \
53819 $(TARGET-stage4-target-libphobos)
53820
53821maybe-clean-stage4-target-libphobos: clean-stage4-target-libphobos
53822clean-stage4: clean-stage4-target-libphobos
53823clean-stage4-target-libphobos:
53824 @if [ $(current_stage) = stage4 ]; then \
53825 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53826 else \
53827 [ -f $(TARGET_SUBDIR)/stage4-libphobos/Makefile ] || exit 0; \
53828 $(MAKE) stage4-start; \
53829 fi; \
53830 cd $(TARGET_SUBDIR)/libphobos && \
53831 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53832@endif target-libphobos-bootstrap
53833
53834
53835.PHONY: all-stageprofile-target-libphobos maybe-all-stageprofile-target-libphobos
53836.PHONY: clean-stageprofile-target-libphobos maybe-clean-stageprofile-target-libphobos
53837maybe-all-stageprofile-target-libphobos:
53838maybe-clean-stageprofile-target-libphobos:
53839@if target-libphobos-bootstrap
53840maybe-all-stageprofile-target-libphobos: all-stageprofile-target-libphobos
53841all-stageprofile: all-stageprofile-target-libphobos
53842TARGET-stageprofile-target-libphobos = $(TARGET-target-libphobos)
53843all-stageprofile-target-libphobos: configure-stageprofile-target-libphobos
53844 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
53845 @r=`${PWD_COMMAND}`; export r; \
53846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53847 TFLAGS="$(STAGEprofile_TFLAGS)"; \
53848 $(NORMAL_TARGET_EXPORTS) \
53849 \
53850 cd $(TARGET_SUBDIR)/libphobos && \
53851 \
53852 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53853 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53854 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53855 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53856 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53857 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53858 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53859 $(EXTRA_TARGET_FLAGS) \
53860 TFLAGS="$(STAGEprofile_TFLAGS)" \
53861 $(TARGET-stageprofile-target-libphobos)
53862
53863maybe-clean-stageprofile-target-libphobos: clean-stageprofile-target-libphobos
53864clean-stageprofile: clean-stageprofile-target-libphobos
53865clean-stageprofile-target-libphobos:
53866 @if [ $(current_stage) = stageprofile ]; then \
53867 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53868 else \
53869 [ -f $(TARGET_SUBDIR)/stageprofile-libphobos/Makefile ] || exit 0; \
53870 $(MAKE) stageprofile-start; \
53871 fi; \
53872 cd $(TARGET_SUBDIR)/libphobos && \
53873 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53874@endif target-libphobos-bootstrap
53875
53876
53877.PHONY: all-stagetrain-target-libphobos maybe-all-stagetrain-target-libphobos
53878.PHONY: clean-stagetrain-target-libphobos maybe-clean-stagetrain-target-libphobos
53879maybe-all-stagetrain-target-libphobos:
53880maybe-clean-stagetrain-target-libphobos:
53881@if target-libphobos-bootstrap
53882maybe-all-stagetrain-target-libphobos: all-stagetrain-target-libphobos
53883all-stagetrain: all-stagetrain-target-libphobos
53884TARGET-stagetrain-target-libphobos = $(TARGET-target-libphobos)
53885all-stagetrain-target-libphobos: configure-stagetrain-target-libphobos
53886 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
53887 @r=`${PWD_COMMAND}`; export r; \
53888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53889 TFLAGS="$(STAGEtrain_TFLAGS)"; \
53890 $(NORMAL_TARGET_EXPORTS) \
53891 \
53892 cd $(TARGET_SUBDIR)/libphobos && \
53893 \
53894 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53895 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53896 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53897 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53898 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53899 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53900 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53901 $(EXTRA_TARGET_FLAGS) \
53902 TFLAGS="$(STAGEtrain_TFLAGS)" \
53903 $(TARGET-stagetrain-target-libphobos)
53904
53905maybe-clean-stagetrain-target-libphobos: clean-stagetrain-target-libphobos
53906clean-stagetrain: clean-stagetrain-target-libphobos
53907clean-stagetrain-target-libphobos:
53908 @if [ $(current_stage) = stagetrain ]; then \
53909 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53910 else \
53911 [ -f $(TARGET_SUBDIR)/stagetrain-libphobos/Makefile ] || exit 0; \
53912 $(MAKE) stagetrain-start; \
53913 fi; \
53914 cd $(TARGET_SUBDIR)/libphobos && \
53915 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53916@endif target-libphobos-bootstrap
53917
53918
53919.PHONY: all-stagefeedback-target-libphobos maybe-all-stagefeedback-target-libphobos
53920.PHONY: clean-stagefeedback-target-libphobos maybe-clean-stagefeedback-target-libphobos
53921maybe-all-stagefeedback-target-libphobos:
53922maybe-clean-stagefeedback-target-libphobos:
53923@if target-libphobos-bootstrap
53924maybe-all-stagefeedback-target-libphobos: all-stagefeedback-target-libphobos
53925all-stagefeedback: all-stagefeedback-target-libphobos
53926TARGET-stagefeedback-target-libphobos = $(TARGET-target-libphobos)
53927all-stagefeedback-target-libphobos: configure-stagefeedback-target-libphobos
53928 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
53929 @r=`${PWD_COMMAND}`; export r; \
53930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53931 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
53932 $(NORMAL_TARGET_EXPORTS) \
53933 \
53934 cd $(TARGET_SUBDIR)/libphobos && \
53935 \
53936 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53937 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53938 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53939 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53940 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53941 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53942 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53943 $(EXTRA_TARGET_FLAGS) \
53944 TFLAGS="$(STAGEfeedback_TFLAGS)" \
53945 $(TARGET-stagefeedback-target-libphobos)
53946
53947maybe-clean-stagefeedback-target-libphobos: clean-stagefeedback-target-libphobos
53948clean-stagefeedback: clean-stagefeedback-target-libphobos
53949clean-stagefeedback-target-libphobos:
53950 @if [ $(current_stage) = stagefeedback ]; then \
53951 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53952 else \
53953 [ -f $(TARGET_SUBDIR)/stagefeedback-libphobos/Makefile ] || exit 0; \
53954 $(MAKE) stagefeedback-start; \
53955 fi; \
53956 cd $(TARGET_SUBDIR)/libphobos && \
53957 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
53958@endif target-libphobos-bootstrap
53959
53960
53961.PHONY: all-stageautoprofile-target-libphobos maybe-all-stageautoprofile-target-libphobos
53962.PHONY: clean-stageautoprofile-target-libphobos maybe-clean-stageautoprofile-target-libphobos
53963maybe-all-stageautoprofile-target-libphobos:
53964maybe-clean-stageautoprofile-target-libphobos:
53965@if target-libphobos-bootstrap
53966maybe-all-stageautoprofile-target-libphobos: all-stageautoprofile-target-libphobos
53967all-stageautoprofile: all-stageautoprofile-target-libphobos
53968TARGET-stageautoprofile-target-libphobos = $(TARGET-target-libphobos)
53969all-stageautoprofile-target-libphobos: configure-stageautoprofile-target-libphobos
53970 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
53971 @r=`${PWD_COMMAND}`; export r; \
53972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
53973 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
53974 $(NORMAL_TARGET_EXPORTS) \
53975 \
53976 cd $(TARGET_SUBDIR)/libphobos && \
53977 $$s/gcc/config/i386/$(AUTO_PROFILE) \
53978 $(MAKE) $(BASE_FLAGS_TO_PASS) \
53979 CFLAGS="$(CFLAGS_FOR_TARGET)" \
53980 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
53981 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
53982 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
53983 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
53984 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
53985 $(EXTRA_TARGET_FLAGS) \
53986 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
53987 $(TARGET-stageautoprofile-target-libphobos)
53988
53989maybe-clean-stageautoprofile-target-libphobos: clean-stageautoprofile-target-libphobos
53990clean-stageautoprofile: clean-stageautoprofile-target-libphobos
53991clean-stageautoprofile-target-libphobos:
53992 @if [ $(current_stage) = stageautoprofile ]; then \
53993 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
53994 else \
53995 [ -f $(TARGET_SUBDIR)/stageautoprofile-libphobos/Makefile ] || exit 0; \
53996 $(MAKE) stageautoprofile-start; \
53997 fi; \
53998 cd $(TARGET_SUBDIR)/libphobos && \
53999 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
54000@endif target-libphobos-bootstrap
54001
54002
54003.PHONY: all-stageautofeedback-target-libphobos maybe-all-stageautofeedback-target-libphobos
54004.PHONY: clean-stageautofeedback-target-libphobos maybe-clean-stageautofeedback-target-libphobos
54005maybe-all-stageautofeedback-target-libphobos:
54006maybe-clean-stageautofeedback-target-libphobos:
54007@if target-libphobos-bootstrap
54008maybe-all-stageautofeedback-target-libphobos: all-stageautofeedback-target-libphobos
54009all-stageautofeedback: all-stageautofeedback-target-libphobos
54010TARGET-stageautofeedback-target-libphobos = $(TARGET-target-libphobos)
54011all-stageautofeedback-target-libphobos: configure-stageautofeedback-target-libphobos
54012 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
54013 @r=`${PWD_COMMAND}`; export r; \
54014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54015 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
54016 $(NORMAL_TARGET_EXPORTS) \
54017 \
54018 cd $(TARGET_SUBDIR)/libphobos && \
54019 \
54020 $(MAKE) $(BASE_FLAGS_TO_PASS) \
54021 CFLAGS="$(CFLAGS_FOR_TARGET)" \
54022 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
54023 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
54024 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
54025 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
54026 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
54027 $(EXTRA_TARGET_FLAGS) \
54028 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
54029 $(TARGET-stageautofeedback-target-libphobos)
54030
54031maybe-clean-stageautofeedback-target-libphobos: clean-stageautofeedback-target-libphobos
54032clean-stageautofeedback: clean-stageautofeedback-target-libphobos
54033clean-stageautofeedback-target-libphobos:
54034 @if [ $(current_stage) = stageautofeedback ]; then \
54035 [ -f $(TARGET_SUBDIR)/libphobos/Makefile ] || exit 0; \
54036 else \
54037 [ -f $(TARGET_SUBDIR)/stageautofeedback-libphobos/Makefile ] || exit 0; \
54038 $(MAKE) stageautofeedback-start; \
54039 fi; \
54040 cd $(TARGET_SUBDIR)/libphobos && \
54041 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
54042@endif target-libphobos-bootstrap
54043
54044
54045
54046
52461 54047
52462 54048
52463.PHONY: check-target-libphobos maybe-check-target-libphobos 54049.PHONY: check-target-libphobos maybe-check-target-libphobos
@@ -54743,7 +56329,6 @@ configure-target-zlib: stage_current
54743@if target-zlib 56329@if target-zlib
54744maybe-configure-target-zlib: configure-target-zlib 56330maybe-configure-target-zlib: configure-target-zlib
54745configure-target-zlib: 56331configure-target-zlib:
54746 @: $(MAKE); $(unstage)
54747 @r=`${PWD_COMMAND}`; export r; \ 56332 @r=`${PWD_COMMAND}`; export r; \
54748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 56333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54749 echo "Checking multilib configuration for zlib..."; \ 56334 echo "Checking multilib configuration for zlib..."; \
@@ -54781,6 +56366,412 @@ configure-target-zlib:
54781 56366
54782 56367
54783 56368
56369.PHONY: configure-stage1-target-zlib maybe-configure-stage1-target-zlib
56370maybe-configure-stage1-target-zlib:
56371@if target-zlib-bootstrap
56372maybe-configure-stage1-target-zlib: configure-stage1-target-zlib
56373configure-stage1-target-zlib:
56374 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
56375 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56376 @r=`${PWD_COMMAND}`; export r; \
56377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56378 TFLAGS="$(STAGE1_TFLAGS)"; \
56379 echo "Checking multilib configuration for zlib..."; \
56380 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56381 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56382 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56383 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56384 else \
56385 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56386 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56387 fi; \
56388 else \
56389 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56390 fi; \
56391 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56392 $(NORMAL_TARGET_EXPORTS) \
56393 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56394 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56395 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56396 echo Configuring stage 1 in $(TARGET_SUBDIR)/zlib; \
56397 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56398 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56399 case $(srcdir) in \
56400 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56401 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56402 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56403 esac; \
56404 module_srcdir=zlib; \
56405 $(SHELL) $$s/$$module_srcdir/configure \
56406 --srcdir=$${topdir}/$$module_srcdir \
56407 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56408 --target=${target_alias} \
56409 \
56410 $(STAGE1_CONFIGURE_FLAGS)
56411@endif target-zlib-bootstrap
56412
56413.PHONY: configure-stage2-target-zlib maybe-configure-stage2-target-zlib
56414maybe-configure-stage2-target-zlib:
56415@if target-zlib-bootstrap
56416maybe-configure-stage2-target-zlib: configure-stage2-target-zlib
56417configure-stage2-target-zlib:
56418 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
56419 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56420 @r=`${PWD_COMMAND}`; export r; \
56421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56422 TFLAGS="$(STAGE2_TFLAGS)"; \
56423 echo "Checking multilib configuration for zlib..."; \
56424 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56425 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56426 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56427 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56428 else \
56429 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56430 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56431 fi; \
56432 else \
56433 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56434 fi; \
56435 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56436 $(NORMAL_TARGET_EXPORTS) \
56437 \
56438 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56439 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56440 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56441 echo Configuring stage 2 in $(TARGET_SUBDIR)/zlib; \
56442 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56443 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56444 case $(srcdir) in \
56445 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56446 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56447 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56448 esac; \
56449 module_srcdir=zlib; \
56450 $(SHELL) $$s/$$module_srcdir/configure \
56451 --srcdir=$${topdir}/$$module_srcdir \
56452 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56453 --target=${target_alias} \
56454 --with-build-libsubdir=$(HOST_SUBDIR) \
56455 $(STAGE2_CONFIGURE_FLAGS)
56456@endif target-zlib-bootstrap
56457
56458.PHONY: configure-stage3-target-zlib maybe-configure-stage3-target-zlib
56459maybe-configure-stage3-target-zlib:
56460@if target-zlib-bootstrap
56461maybe-configure-stage3-target-zlib: configure-stage3-target-zlib
56462configure-stage3-target-zlib:
56463 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
56464 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56465 @r=`${PWD_COMMAND}`; export r; \
56466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56467 TFLAGS="$(STAGE3_TFLAGS)"; \
56468 echo "Checking multilib configuration for zlib..."; \
56469 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56470 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56471 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56472 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56473 else \
56474 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56475 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56476 fi; \
56477 else \
56478 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56479 fi; \
56480 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56481 $(NORMAL_TARGET_EXPORTS) \
56482 \
56483 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56484 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56485 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56486 echo Configuring stage 3 in $(TARGET_SUBDIR)/zlib; \
56487 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56488 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56489 case $(srcdir) in \
56490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56491 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56493 esac; \
56494 module_srcdir=zlib; \
56495 $(SHELL) $$s/$$module_srcdir/configure \
56496 --srcdir=$${topdir}/$$module_srcdir \
56497 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56498 --target=${target_alias} \
56499 --with-build-libsubdir=$(HOST_SUBDIR) \
56500 $(STAGE3_CONFIGURE_FLAGS)
56501@endif target-zlib-bootstrap
56502
56503.PHONY: configure-stage4-target-zlib maybe-configure-stage4-target-zlib
56504maybe-configure-stage4-target-zlib:
56505@if target-zlib-bootstrap
56506maybe-configure-stage4-target-zlib: configure-stage4-target-zlib
56507configure-stage4-target-zlib:
56508 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
56509 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56510 @r=`${PWD_COMMAND}`; export r; \
56511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56512 TFLAGS="$(STAGE4_TFLAGS)"; \
56513 echo "Checking multilib configuration for zlib..."; \
56514 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56515 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56516 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56517 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56518 else \
56519 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56520 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56521 fi; \
56522 else \
56523 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56524 fi; \
56525 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56526 $(NORMAL_TARGET_EXPORTS) \
56527 \
56528 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56529 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56530 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56531 echo Configuring stage 4 in $(TARGET_SUBDIR)/zlib; \
56532 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56533 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56534 case $(srcdir) in \
56535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56536 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56538 esac; \
56539 module_srcdir=zlib; \
56540 $(SHELL) $$s/$$module_srcdir/configure \
56541 --srcdir=$${topdir}/$$module_srcdir \
56542 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56543 --target=${target_alias} \
56544 --with-build-libsubdir=$(HOST_SUBDIR) \
56545 $(STAGE4_CONFIGURE_FLAGS)
56546@endif target-zlib-bootstrap
56547
56548.PHONY: configure-stageprofile-target-zlib maybe-configure-stageprofile-target-zlib
56549maybe-configure-stageprofile-target-zlib:
56550@if target-zlib-bootstrap
56551maybe-configure-stageprofile-target-zlib: configure-stageprofile-target-zlib
56552configure-stageprofile-target-zlib:
56553 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
56554 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56555 @r=`${PWD_COMMAND}`; export r; \
56556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56557 TFLAGS="$(STAGEprofile_TFLAGS)"; \
56558 echo "Checking multilib configuration for zlib..."; \
56559 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56560 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56561 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56562 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56563 else \
56564 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56565 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56566 fi; \
56567 else \
56568 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56569 fi; \
56570 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56571 $(NORMAL_TARGET_EXPORTS) \
56572 \
56573 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56574 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56575 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56576 echo Configuring stage profile in $(TARGET_SUBDIR)/zlib; \
56577 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56578 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56579 case $(srcdir) in \
56580 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56581 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56582 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56583 esac; \
56584 module_srcdir=zlib; \
56585 $(SHELL) $$s/$$module_srcdir/configure \
56586 --srcdir=$${topdir}/$$module_srcdir \
56587 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56588 --target=${target_alias} \
56589 --with-build-libsubdir=$(HOST_SUBDIR) \
56590 $(STAGEprofile_CONFIGURE_FLAGS)
56591@endif target-zlib-bootstrap
56592
56593.PHONY: configure-stagetrain-target-zlib maybe-configure-stagetrain-target-zlib
56594maybe-configure-stagetrain-target-zlib:
56595@if target-zlib-bootstrap
56596maybe-configure-stagetrain-target-zlib: configure-stagetrain-target-zlib
56597configure-stagetrain-target-zlib:
56598 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
56599 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56600 @r=`${PWD_COMMAND}`; export r; \
56601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56602 TFLAGS="$(STAGEtrain_TFLAGS)"; \
56603 echo "Checking multilib configuration for zlib..."; \
56604 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56605 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56606 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56607 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56608 else \
56609 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56610 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56611 fi; \
56612 else \
56613 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56614 fi; \
56615 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56616 $(NORMAL_TARGET_EXPORTS) \
56617 \
56618 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56619 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56620 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56621 echo Configuring stage train in $(TARGET_SUBDIR)/zlib; \
56622 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56623 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56624 case $(srcdir) in \
56625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56626 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56628 esac; \
56629 module_srcdir=zlib; \
56630 $(SHELL) $$s/$$module_srcdir/configure \
56631 --srcdir=$${topdir}/$$module_srcdir \
56632 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56633 --target=${target_alias} \
56634 --with-build-libsubdir=$(HOST_SUBDIR) \
56635 $(STAGEtrain_CONFIGURE_FLAGS)
56636@endif target-zlib-bootstrap
56637
56638.PHONY: configure-stagefeedback-target-zlib maybe-configure-stagefeedback-target-zlib
56639maybe-configure-stagefeedback-target-zlib:
56640@if target-zlib-bootstrap
56641maybe-configure-stagefeedback-target-zlib: configure-stagefeedback-target-zlib
56642configure-stagefeedback-target-zlib:
56643 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
56644 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56645 @r=`${PWD_COMMAND}`; export r; \
56646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56647 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
56648 echo "Checking multilib configuration for zlib..."; \
56649 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56650 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56651 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56652 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56653 else \
56654 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56655 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56656 fi; \
56657 else \
56658 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56659 fi; \
56660 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56661 $(NORMAL_TARGET_EXPORTS) \
56662 \
56663 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56664 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56665 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56666 echo Configuring stage feedback in $(TARGET_SUBDIR)/zlib; \
56667 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56668 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56669 case $(srcdir) in \
56670 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56671 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56672 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56673 esac; \
56674 module_srcdir=zlib; \
56675 $(SHELL) $$s/$$module_srcdir/configure \
56676 --srcdir=$${topdir}/$$module_srcdir \
56677 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56678 --target=${target_alias} \
56679 --with-build-libsubdir=$(HOST_SUBDIR) \
56680 $(STAGEfeedback_CONFIGURE_FLAGS)
56681@endif target-zlib-bootstrap
56682
56683.PHONY: configure-stageautoprofile-target-zlib maybe-configure-stageautoprofile-target-zlib
56684maybe-configure-stageautoprofile-target-zlib:
56685@if target-zlib-bootstrap
56686maybe-configure-stageautoprofile-target-zlib: configure-stageautoprofile-target-zlib
56687configure-stageautoprofile-target-zlib:
56688 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
56689 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56690 @r=`${PWD_COMMAND}`; export r; \
56691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56692 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
56693 echo "Checking multilib configuration for zlib..."; \
56694 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56695 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56696 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56697 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56698 else \
56699 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56700 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56701 fi; \
56702 else \
56703 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56704 fi; \
56705 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56706 $(NORMAL_TARGET_EXPORTS) \
56707 \
56708 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56709 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56710 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56711 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/zlib; \
56712 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56713 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56714 case $(srcdir) in \
56715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56716 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56718 esac; \
56719 module_srcdir=zlib; \
56720 $(SHELL) $$s/$$module_srcdir/configure \
56721 --srcdir=$${topdir}/$$module_srcdir \
56722 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56723 --target=${target_alias} \
56724 --with-build-libsubdir=$(HOST_SUBDIR) \
56725 $(STAGEautoprofile_CONFIGURE_FLAGS)
56726@endif target-zlib-bootstrap
56727
56728.PHONY: configure-stageautofeedback-target-zlib maybe-configure-stageautofeedback-target-zlib
56729maybe-configure-stageautofeedback-target-zlib:
56730@if target-zlib-bootstrap
56731maybe-configure-stageautofeedback-target-zlib: configure-stageautofeedback-target-zlib
56732configure-stageautofeedback-target-zlib:
56733 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
56734 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib
56735 @r=`${PWD_COMMAND}`; export r; \
56736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56737 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
56738 echo "Checking multilib configuration for zlib..."; \
56739 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null; \
56740 if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
56741 if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
56742 rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
56743 else \
56744 rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
56745 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56746 fi; \
56747 else \
56748 mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
56749 fi; \
56750 test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
56751 $(NORMAL_TARGET_EXPORTS) \
56752 \
56753 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
56754 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
56755 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
56756 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/zlib; \
56757 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib; \
56758 cd $(TARGET_SUBDIR)/zlib || exit 1; \
56759 case $(srcdir) in \
56760 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
56761 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
56762 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
56763 esac; \
56764 module_srcdir=zlib; \
56765 $(SHELL) $$s/$$module_srcdir/configure \
56766 --srcdir=$${topdir}/$$module_srcdir \
56767 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
56768 --target=${target_alias} \
56769 --with-build-libsubdir=$(HOST_SUBDIR) \
56770 $(STAGEautofeedback_CONFIGURE_FLAGS)
56771@endif target-zlib-bootstrap
56772
56773
56774
54784 56775
54785 56776
54786.PHONY: all-target-zlib maybe-all-target-zlib 56777.PHONY: all-target-zlib maybe-all-target-zlib
@@ -54792,7 +56783,6 @@ all-target-zlib: stage_current
54792TARGET-target-zlib=all 56783TARGET-target-zlib=all
54793maybe-all-target-zlib: all-target-zlib 56784maybe-all-target-zlib: all-target-zlib
54794all-target-zlib: configure-target-zlib 56785all-target-zlib: configure-target-zlib
54795 @: $(MAKE); $(unstage)
54796 @r=`${PWD_COMMAND}`; export r; \ 56786 @r=`${PWD_COMMAND}`; export r; \
54797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 56787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
54798 $(NORMAL_TARGET_EXPORTS) \ 56788 $(NORMAL_TARGET_EXPORTS) \
@@ -54803,6 +56793,387 @@ all-target-zlib: configure-target-zlib
54803 56793
54804 56794
54805 56795
56796.PHONY: all-stage1-target-zlib maybe-all-stage1-target-zlib
56797.PHONY: clean-stage1-target-zlib maybe-clean-stage1-target-zlib
56798maybe-all-stage1-target-zlib:
56799maybe-clean-stage1-target-zlib:
56800@if target-zlib-bootstrap
56801maybe-all-stage1-target-zlib: all-stage1-target-zlib
56802all-stage1: all-stage1-target-zlib
56803TARGET-stage1-target-zlib = $(TARGET-target-zlib)
56804all-stage1-target-zlib: configure-stage1-target-zlib
56805 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
56806 @r=`${PWD_COMMAND}`; export r; \
56807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56808 TFLAGS="$(STAGE1_TFLAGS)"; \
56809 $(NORMAL_TARGET_EXPORTS) \
56810 cd $(TARGET_SUBDIR)/zlib && \
56811 \
56812 $(MAKE) $(BASE_FLAGS_TO_PASS) \
56813 CFLAGS="$(CFLAGS_FOR_TARGET)" \
56814 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
56815 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
56816 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
56817 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
56818 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
56819 $(EXTRA_TARGET_FLAGS) \
56820 \
56821 TFLAGS="$(STAGE1_TFLAGS)" \
56822 $(TARGET-stage1-target-zlib)
56823
56824maybe-clean-stage1-target-zlib: clean-stage1-target-zlib
56825clean-stage1: clean-stage1-target-zlib
56826clean-stage1-target-zlib:
56827 @if [ $(current_stage) = stage1 ]; then \
56828 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
56829 else \
56830 [ -f $(TARGET_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
56831 $(MAKE) stage1-start; \
56832 fi; \
56833 cd $(TARGET_SUBDIR)/zlib && \
56834 $(MAKE) $(EXTRA_TARGET_FLAGS) \
56835 clean
56836@endif target-zlib-bootstrap
56837
56838
56839.PHONY: all-stage2-target-zlib maybe-all-stage2-target-zlib
56840.PHONY: clean-stage2-target-zlib maybe-clean-stage2-target-zlib
56841maybe-all-stage2-target-zlib:
56842maybe-clean-stage2-target-zlib:
56843@if target-zlib-bootstrap
56844maybe-all-stage2-target-zlib: all-stage2-target-zlib
56845all-stage2: all-stage2-target-zlib
56846TARGET-stage2-target-zlib = $(TARGET-target-zlib)
56847all-stage2-target-zlib: configure-stage2-target-zlib
56848 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
56849 @r=`${PWD_COMMAND}`; export r; \
56850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56851 TFLAGS="$(STAGE2_TFLAGS)"; \
56852 $(NORMAL_TARGET_EXPORTS) \
56853 \
56854 cd $(TARGET_SUBDIR)/zlib && \
56855 \
56856 $(MAKE) $(BASE_FLAGS_TO_PASS) \
56857 CFLAGS="$(CFLAGS_FOR_TARGET)" \
56858 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
56859 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
56860 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
56861 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
56862 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
56863 $(EXTRA_TARGET_FLAGS) \
56864 TFLAGS="$(STAGE2_TFLAGS)" \
56865 $(TARGET-stage2-target-zlib)
56866
56867maybe-clean-stage2-target-zlib: clean-stage2-target-zlib
56868clean-stage2: clean-stage2-target-zlib
56869clean-stage2-target-zlib:
56870 @if [ $(current_stage) = stage2 ]; then \
56871 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
56872 else \
56873 [ -f $(TARGET_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
56874 $(MAKE) stage2-start; \
56875 fi; \
56876 cd $(TARGET_SUBDIR)/zlib && \
56877 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
56878@endif target-zlib-bootstrap
56879
56880
56881.PHONY: all-stage3-target-zlib maybe-all-stage3-target-zlib
56882.PHONY: clean-stage3-target-zlib maybe-clean-stage3-target-zlib
56883maybe-all-stage3-target-zlib:
56884maybe-clean-stage3-target-zlib:
56885@if target-zlib-bootstrap
56886maybe-all-stage3-target-zlib: all-stage3-target-zlib
56887all-stage3: all-stage3-target-zlib
56888TARGET-stage3-target-zlib = $(TARGET-target-zlib)
56889all-stage3-target-zlib: configure-stage3-target-zlib
56890 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
56891 @r=`${PWD_COMMAND}`; export r; \
56892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56893 TFLAGS="$(STAGE3_TFLAGS)"; \
56894 $(NORMAL_TARGET_EXPORTS) \
56895 \
56896 cd $(TARGET_SUBDIR)/zlib && \
56897 \
56898 $(MAKE) $(BASE_FLAGS_TO_PASS) \
56899 CFLAGS="$(CFLAGS_FOR_TARGET)" \
56900 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
56901 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
56902 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
56903 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
56904 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
56905 $(EXTRA_TARGET_FLAGS) \
56906 TFLAGS="$(STAGE3_TFLAGS)" \
56907 $(TARGET-stage3-target-zlib)
56908
56909maybe-clean-stage3-target-zlib: clean-stage3-target-zlib
56910clean-stage3: clean-stage3-target-zlib
56911clean-stage3-target-zlib:
56912 @if [ $(current_stage) = stage3 ]; then \
56913 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
56914 else \
56915 [ -f $(TARGET_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
56916 $(MAKE) stage3-start; \
56917 fi; \
56918 cd $(TARGET_SUBDIR)/zlib && \
56919 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
56920@endif target-zlib-bootstrap
56921
56922
56923.PHONY: all-stage4-target-zlib maybe-all-stage4-target-zlib
56924.PHONY: clean-stage4-target-zlib maybe-clean-stage4-target-zlib
56925maybe-all-stage4-target-zlib:
56926maybe-clean-stage4-target-zlib:
56927@if target-zlib-bootstrap
56928maybe-all-stage4-target-zlib: all-stage4-target-zlib
56929all-stage4: all-stage4-target-zlib
56930TARGET-stage4-target-zlib = $(TARGET-target-zlib)
56931all-stage4-target-zlib: configure-stage4-target-zlib
56932 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
56933 @r=`${PWD_COMMAND}`; export r; \
56934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56935 TFLAGS="$(STAGE4_TFLAGS)"; \
56936 $(NORMAL_TARGET_EXPORTS) \
56937 \
56938 cd $(TARGET_SUBDIR)/zlib && \
56939 \
56940 $(MAKE) $(BASE_FLAGS_TO_PASS) \
56941 CFLAGS="$(CFLAGS_FOR_TARGET)" \
56942 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
56943 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
56944 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
56945 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
56946 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
56947 $(EXTRA_TARGET_FLAGS) \
56948 TFLAGS="$(STAGE4_TFLAGS)" \
56949 $(TARGET-stage4-target-zlib)
56950
56951maybe-clean-stage4-target-zlib: clean-stage4-target-zlib
56952clean-stage4: clean-stage4-target-zlib
56953clean-stage4-target-zlib:
56954 @if [ $(current_stage) = stage4 ]; then \
56955 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
56956 else \
56957 [ -f $(TARGET_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
56958 $(MAKE) stage4-start; \
56959 fi; \
56960 cd $(TARGET_SUBDIR)/zlib && \
56961 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
56962@endif target-zlib-bootstrap
56963
56964
56965.PHONY: all-stageprofile-target-zlib maybe-all-stageprofile-target-zlib
56966.PHONY: clean-stageprofile-target-zlib maybe-clean-stageprofile-target-zlib
56967maybe-all-stageprofile-target-zlib:
56968maybe-clean-stageprofile-target-zlib:
56969@if target-zlib-bootstrap
56970maybe-all-stageprofile-target-zlib: all-stageprofile-target-zlib
56971all-stageprofile: all-stageprofile-target-zlib
56972TARGET-stageprofile-target-zlib = $(TARGET-target-zlib)
56973all-stageprofile-target-zlib: configure-stageprofile-target-zlib
56974 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
56975 @r=`${PWD_COMMAND}`; export r; \
56976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
56977 TFLAGS="$(STAGEprofile_TFLAGS)"; \
56978 $(NORMAL_TARGET_EXPORTS) \
56979 \
56980 cd $(TARGET_SUBDIR)/zlib && \
56981 \
56982 $(MAKE) $(BASE_FLAGS_TO_PASS) \
56983 CFLAGS="$(CFLAGS_FOR_TARGET)" \
56984 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
56985 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
56986 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
56987 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
56988 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
56989 $(EXTRA_TARGET_FLAGS) \
56990 TFLAGS="$(STAGEprofile_TFLAGS)" \
56991 $(TARGET-stageprofile-target-zlib)
56992
56993maybe-clean-stageprofile-target-zlib: clean-stageprofile-target-zlib
56994clean-stageprofile: clean-stageprofile-target-zlib
56995clean-stageprofile-target-zlib:
56996 @if [ $(current_stage) = stageprofile ]; then \
56997 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
56998 else \
56999 [ -f $(TARGET_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
57000 $(MAKE) stageprofile-start; \
57001 fi; \
57002 cd $(TARGET_SUBDIR)/zlib && \
57003 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57004@endif target-zlib-bootstrap
57005
57006
57007.PHONY: all-stagetrain-target-zlib maybe-all-stagetrain-target-zlib
57008.PHONY: clean-stagetrain-target-zlib maybe-clean-stagetrain-target-zlib
57009maybe-all-stagetrain-target-zlib:
57010maybe-clean-stagetrain-target-zlib:
57011@if target-zlib-bootstrap
57012maybe-all-stagetrain-target-zlib: all-stagetrain-target-zlib
57013all-stagetrain: all-stagetrain-target-zlib
57014TARGET-stagetrain-target-zlib = $(TARGET-target-zlib)
57015all-stagetrain-target-zlib: configure-stagetrain-target-zlib
57016 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
57017 @r=`${PWD_COMMAND}`; export r; \
57018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57019 TFLAGS="$(STAGEtrain_TFLAGS)"; \
57020 $(NORMAL_TARGET_EXPORTS) \
57021 \
57022 cd $(TARGET_SUBDIR)/zlib && \
57023 \
57024 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57025 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57026 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57027 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57028 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57029 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57030 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57031 $(EXTRA_TARGET_FLAGS) \
57032 TFLAGS="$(STAGEtrain_TFLAGS)" \
57033 $(TARGET-stagetrain-target-zlib)
57034
57035maybe-clean-stagetrain-target-zlib: clean-stagetrain-target-zlib
57036clean-stagetrain: clean-stagetrain-target-zlib
57037clean-stagetrain-target-zlib:
57038 @if [ $(current_stage) = stagetrain ]; then \
57039 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57040 else \
57041 [ -f $(TARGET_SUBDIR)/stagetrain-zlib/Makefile ] || exit 0; \
57042 $(MAKE) stagetrain-start; \
57043 fi; \
57044 cd $(TARGET_SUBDIR)/zlib && \
57045 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57046@endif target-zlib-bootstrap
57047
57048
57049.PHONY: all-stagefeedback-target-zlib maybe-all-stagefeedback-target-zlib
57050.PHONY: clean-stagefeedback-target-zlib maybe-clean-stagefeedback-target-zlib
57051maybe-all-stagefeedback-target-zlib:
57052maybe-clean-stagefeedback-target-zlib:
57053@if target-zlib-bootstrap
57054maybe-all-stagefeedback-target-zlib: all-stagefeedback-target-zlib
57055all-stagefeedback: all-stagefeedback-target-zlib
57056TARGET-stagefeedback-target-zlib = $(TARGET-target-zlib)
57057all-stagefeedback-target-zlib: configure-stagefeedback-target-zlib
57058 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
57059 @r=`${PWD_COMMAND}`; export r; \
57060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57061 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
57062 $(NORMAL_TARGET_EXPORTS) \
57063 \
57064 cd $(TARGET_SUBDIR)/zlib && \
57065 \
57066 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57067 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57068 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57069 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57070 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57071 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57072 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57073 $(EXTRA_TARGET_FLAGS) \
57074 TFLAGS="$(STAGEfeedback_TFLAGS)" \
57075 $(TARGET-stagefeedback-target-zlib)
57076
57077maybe-clean-stagefeedback-target-zlib: clean-stagefeedback-target-zlib
57078clean-stagefeedback: clean-stagefeedback-target-zlib
57079clean-stagefeedback-target-zlib:
57080 @if [ $(current_stage) = stagefeedback ]; then \
57081 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57082 else \
57083 [ -f $(TARGET_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
57084 $(MAKE) stagefeedback-start; \
57085 fi; \
57086 cd $(TARGET_SUBDIR)/zlib && \
57087 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57088@endif target-zlib-bootstrap
57089
57090
57091.PHONY: all-stageautoprofile-target-zlib maybe-all-stageautoprofile-target-zlib
57092.PHONY: clean-stageautoprofile-target-zlib maybe-clean-stageautoprofile-target-zlib
57093maybe-all-stageautoprofile-target-zlib:
57094maybe-clean-stageautoprofile-target-zlib:
57095@if target-zlib-bootstrap
57096maybe-all-stageautoprofile-target-zlib: all-stageautoprofile-target-zlib
57097all-stageautoprofile: all-stageautoprofile-target-zlib
57098TARGET-stageautoprofile-target-zlib = $(TARGET-target-zlib)
57099all-stageautoprofile-target-zlib: configure-stageautoprofile-target-zlib
57100 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
57101 @r=`${PWD_COMMAND}`; export r; \
57102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57103 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
57104 $(NORMAL_TARGET_EXPORTS) \
57105 \
57106 cd $(TARGET_SUBDIR)/zlib && \
57107 $$s/gcc/config/i386/$(AUTO_PROFILE) \
57108 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57109 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57110 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57111 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57112 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57113 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57114 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57115 $(EXTRA_TARGET_FLAGS) \
57116 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
57117 $(TARGET-stageautoprofile-target-zlib)
57118
57119maybe-clean-stageautoprofile-target-zlib: clean-stageautoprofile-target-zlib
57120clean-stageautoprofile: clean-stageautoprofile-target-zlib
57121clean-stageautoprofile-target-zlib:
57122 @if [ $(current_stage) = stageautoprofile ]; then \
57123 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57124 else \
57125 [ -f $(TARGET_SUBDIR)/stageautoprofile-zlib/Makefile ] || exit 0; \
57126 $(MAKE) stageautoprofile-start; \
57127 fi; \
57128 cd $(TARGET_SUBDIR)/zlib && \
57129 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57130@endif target-zlib-bootstrap
57131
57132
57133.PHONY: all-stageautofeedback-target-zlib maybe-all-stageautofeedback-target-zlib
57134.PHONY: clean-stageautofeedback-target-zlib maybe-clean-stageautofeedback-target-zlib
57135maybe-all-stageautofeedback-target-zlib:
57136maybe-clean-stageautofeedback-target-zlib:
57137@if target-zlib-bootstrap
57138maybe-all-stageautofeedback-target-zlib: all-stageautofeedback-target-zlib
57139all-stageautofeedback: all-stageautofeedback-target-zlib
57140TARGET-stageautofeedback-target-zlib = $(TARGET-target-zlib)
57141all-stageautofeedback-target-zlib: configure-stageautofeedback-target-zlib
57142 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
57143 @r=`${PWD_COMMAND}`; export r; \
57144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57145 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
57146 $(NORMAL_TARGET_EXPORTS) \
57147 \
57148 cd $(TARGET_SUBDIR)/zlib && \
57149 \
57150 $(MAKE) $(BASE_FLAGS_TO_PASS) \
57151 CFLAGS="$(CFLAGS_FOR_TARGET)" \
57152 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
57153 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
57154 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
57155 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
57156 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
57157 $(EXTRA_TARGET_FLAGS) \
57158 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
57159 $(TARGET-stageautofeedback-target-zlib)
57160
57161maybe-clean-stageautofeedback-target-zlib: clean-stageautofeedback-target-zlib
57162clean-stageautofeedback: clean-stageautofeedback-target-zlib
57163clean-stageautofeedback-target-zlib:
57164 @if [ $(current_stage) = stageautofeedback ]; then \
57165 [ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0; \
57166 else \
57167 [ -f $(TARGET_SUBDIR)/stageautofeedback-zlib/Makefile ] || exit 0; \
57168 $(MAKE) stageautofeedback-start; \
57169 fi; \
57170 cd $(TARGET_SUBDIR)/zlib && \
57171 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
57172@endif target-zlib-bootstrap
57173
57174
57175
57176
54806 57177
54807 57178
54808.PHONY: check-target-zlib maybe-check-target-zlib 57179.PHONY: check-target-zlib maybe-check-target-zlib
@@ -57953,7 +60324,6 @@ configure-target-libatomic: stage_current
57953@if target-libatomic 60324@if target-libatomic
57954maybe-configure-target-libatomic: configure-target-libatomic 60325maybe-configure-target-libatomic: configure-target-libatomic
57955configure-target-libatomic: 60326configure-target-libatomic:
57956 @: $(MAKE); $(unstage)
57957 @r=`${PWD_COMMAND}`; export r; \ 60327 @r=`${PWD_COMMAND}`; export r; \
57958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 60328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
57959 echo "Checking multilib configuration for libatomic..."; \ 60329 echo "Checking multilib configuration for libatomic..."; \
@@ -57991,6 +60361,412 @@ configure-target-libatomic:
57991 60361
57992 60362
57993 60363
60364.PHONY: configure-stage1-target-libatomic maybe-configure-stage1-target-libatomic
60365maybe-configure-stage1-target-libatomic:
60366@if target-libatomic-bootstrap
60367maybe-configure-stage1-target-libatomic: configure-stage1-target-libatomic
60368configure-stage1-target-libatomic:
60369 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
60370 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60371 @r=`${PWD_COMMAND}`; export r; \
60372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60373 TFLAGS="$(STAGE1_TFLAGS)"; \
60374 echo "Checking multilib configuration for libatomic..."; \
60375 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60376 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60377 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60378 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60379 else \
60380 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60381 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60382 fi; \
60383 else \
60384 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60385 fi; \
60386 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60387 $(NORMAL_TARGET_EXPORTS) \
60388 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60389 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60390 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60391 echo Configuring stage 1 in $(TARGET_SUBDIR)/libatomic; \
60392 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60393 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60394 case $(srcdir) in \
60395 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60396 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60397 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60398 esac; \
60399 module_srcdir=libatomic; \
60400 $(SHELL) $$s/$$module_srcdir/configure \
60401 --srcdir=$${topdir}/$$module_srcdir \
60402 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60403 --target=${target_alias} \
60404 \
60405 $(STAGE1_CONFIGURE_FLAGS)
60406@endif target-libatomic-bootstrap
60407
60408.PHONY: configure-stage2-target-libatomic maybe-configure-stage2-target-libatomic
60409maybe-configure-stage2-target-libatomic:
60410@if target-libatomic-bootstrap
60411maybe-configure-stage2-target-libatomic: configure-stage2-target-libatomic
60412configure-stage2-target-libatomic:
60413 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
60414 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60415 @r=`${PWD_COMMAND}`; export r; \
60416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60417 TFLAGS="$(STAGE2_TFLAGS)"; \
60418 echo "Checking multilib configuration for libatomic..."; \
60419 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60420 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60421 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60422 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60423 else \
60424 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60425 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60426 fi; \
60427 else \
60428 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60429 fi; \
60430 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60431 $(NORMAL_TARGET_EXPORTS) \
60432 \
60433 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60434 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60435 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60436 echo Configuring stage 2 in $(TARGET_SUBDIR)/libatomic; \
60437 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60438 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60439 case $(srcdir) in \
60440 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60441 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60442 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60443 esac; \
60444 module_srcdir=libatomic; \
60445 $(SHELL) $$s/$$module_srcdir/configure \
60446 --srcdir=$${topdir}/$$module_srcdir \
60447 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60448 --target=${target_alias} \
60449 --with-build-libsubdir=$(HOST_SUBDIR) \
60450 $(STAGE2_CONFIGURE_FLAGS)
60451@endif target-libatomic-bootstrap
60452
60453.PHONY: configure-stage3-target-libatomic maybe-configure-stage3-target-libatomic
60454maybe-configure-stage3-target-libatomic:
60455@if target-libatomic-bootstrap
60456maybe-configure-stage3-target-libatomic: configure-stage3-target-libatomic
60457configure-stage3-target-libatomic:
60458 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
60459 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60460 @r=`${PWD_COMMAND}`; export r; \
60461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60462 TFLAGS="$(STAGE3_TFLAGS)"; \
60463 echo "Checking multilib configuration for libatomic..."; \
60464 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60465 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60466 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60467 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60468 else \
60469 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60470 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60471 fi; \
60472 else \
60473 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60474 fi; \
60475 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60476 $(NORMAL_TARGET_EXPORTS) \
60477 \
60478 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60479 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60480 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60481 echo Configuring stage 3 in $(TARGET_SUBDIR)/libatomic; \
60482 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60483 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60484 case $(srcdir) in \
60485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60486 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60488 esac; \
60489 module_srcdir=libatomic; \
60490 $(SHELL) $$s/$$module_srcdir/configure \
60491 --srcdir=$${topdir}/$$module_srcdir \
60492 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60493 --target=${target_alias} \
60494 --with-build-libsubdir=$(HOST_SUBDIR) \
60495 $(STAGE3_CONFIGURE_FLAGS)
60496@endif target-libatomic-bootstrap
60497
60498.PHONY: configure-stage4-target-libatomic maybe-configure-stage4-target-libatomic
60499maybe-configure-stage4-target-libatomic:
60500@if target-libatomic-bootstrap
60501maybe-configure-stage4-target-libatomic: configure-stage4-target-libatomic
60502configure-stage4-target-libatomic:
60503 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
60504 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60505 @r=`${PWD_COMMAND}`; export r; \
60506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60507 TFLAGS="$(STAGE4_TFLAGS)"; \
60508 echo "Checking multilib configuration for libatomic..."; \
60509 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60510 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60511 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60512 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60513 else \
60514 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60515 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60516 fi; \
60517 else \
60518 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60519 fi; \
60520 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60521 $(NORMAL_TARGET_EXPORTS) \
60522 \
60523 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60524 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60525 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60526 echo Configuring stage 4 in $(TARGET_SUBDIR)/libatomic; \
60527 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60528 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60529 case $(srcdir) in \
60530 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60531 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60532 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60533 esac; \
60534 module_srcdir=libatomic; \
60535 $(SHELL) $$s/$$module_srcdir/configure \
60536 --srcdir=$${topdir}/$$module_srcdir \
60537 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60538 --target=${target_alias} \
60539 --with-build-libsubdir=$(HOST_SUBDIR) \
60540 $(STAGE4_CONFIGURE_FLAGS)
60541@endif target-libatomic-bootstrap
60542
60543.PHONY: configure-stageprofile-target-libatomic maybe-configure-stageprofile-target-libatomic
60544maybe-configure-stageprofile-target-libatomic:
60545@if target-libatomic-bootstrap
60546maybe-configure-stageprofile-target-libatomic: configure-stageprofile-target-libatomic
60547configure-stageprofile-target-libatomic:
60548 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
60549 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60550 @r=`${PWD_COMMAND}`; export r; \
60551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60552 TFLAGS="$(STAGEprofile_TFLAGS)"; \
60553 echo "Checking multilib configuration for libatomic..."; \
60554 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60555 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60556 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60557 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60558 else \
60559 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60560 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60561 fi; \
60562 else \
60563 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60564 fi; \
60565 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60566 $(NORMAL_TARGET_EXPORTS) \
60567 \
60568 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60569 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60570 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60571 echo Configuring stage profile in $(TARGET_SUBDIR)/libatomic; \
60572 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60573 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60574 case $(srcdir) in \
60575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60576 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60578 esac; \
60579 module_srcdir=libatomic; \
60580 $(SHELL) $$s/$$module_srcdir/configure \
60581 --srcdir=$${topdir}/$$module_srcdir \
60582 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60583 --target=${target_alias} \
60584 --with-build-libsubdir=$(HOST_SUBDIR) \
60585 $(STAGEprofile_CONFIGURE_FLAGS)
60586@endif target-libatomic-bootstrap
60587
60588.PHONY: configure-stagetrain-target-libatomic maybe-configure-stagetrain-target-libatomic
60589maybe-configure-stagetrain-target-libatomic:
60590@if target-libatomic-bootstrap
60591maybe-configure-stagetrain-target-libatomic: configure-stagetrain-target-libatomic
60592configure-stagetrain-target-libatomic:
60593 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
60594 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60595 @r=`${PWD_COMMAND}`; export r; \
60596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60597 TFLAGS="$(STAGEtrain_TFLAGS)"; \
60598 echo "Checking multilib configuration for libatomic..."; \
60599 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60600 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60601 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60602 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60603 else \
60604 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60605 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60606 fi; \
60607 else \
60608 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60609 fi; \
60610 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60611 $(NORMAL_TARGET_EXPORTS) \
60612 \
60613 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60614 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60615 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60616 echo Configuring stage train in $(TARGET_SUBDIR)/libatomic; \
60617 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60618 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60619 case $(srcdir) in \
60620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60621 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60623 esac; \
60624 module_srcdir=libatomic; \
60625 $(SHELL) $$s/$$module_srcdir/configure \
60626 --srcdir=$${topdir}/$$module_srcdir \
60627 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60628 --target=${target_alias} \
60629 --with-build-libsubdir=$(HOST_SUBDIR) \
60630 $(STAGEtrain_CONFIGURE_FLAGS)
60631@endif target-libatomic-bootstrap
60632
60633.PHONY: configure-stagefeedback-target-libatomic maybe-configure-stagefeedback-target-libatomic
60634maybe-configure-stagefeedback-target-libatomic:
60635@if target-libatomic-bootstrap
60636maybe-configure-stagefeedback-target-libatomic: configure-stagefeedback-target-libatomic
60637configure-stagefeedback-target-libatomic:
60638 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
60639 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60640 @r=`${PWD_COMMAND}`; export r; \
60641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60642 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
60643 echo "Checking multilib configuration for libatomic..."; \
60644 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60645 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60646 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60647 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60648 else \
60649 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60650 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60651 fi; \
60652 else \
60653 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60654 fi; \
60655 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60656 $(NORMAL_TARGET_EXPORTS) \
60657 \
60658 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60659 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60660 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60661 echo Configuring stage feedback in $(TARGET_SUBDIR)/libatomic; \
60662 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60663 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60664 case $(srcdir) in \
60665 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60666 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60667 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60668 esac; \
60669 module_srcdir=libatomic; \
60670 $(SHELL) $$s/$$module_srcdir/configure \
60671 --srcdir=$${topdir}/$$module_srcdir \
60672 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60673 --target=${target_alias} \
60674 --with-build-libsubdir=$(HOST_SUBDIR) \
60675 $(STAGEfeedback_CONFIGURE_FLAGS)
60676@endif target-libatomic-bootstrap
60677
60678.PHONY: configure-stageautoprofile-target-libatomic maybe-configure-stageautoprofile-target-libatomic
60679maybe-configure-stageautoprofile-target-libatomic:
60680@if target-libatomic-bootstrap
60681maybe-configure-stageautoprofile-target-libatomic: configure-stageautoprofile-target-libatomic
60682configure-stageautoprofile-target-libatomic:
60683 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
60684 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60685 @r=`${PWD_COMMAND}`; export r; \
60686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60687 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
60688 echo "Checking multilib configuration for libatomic..."; \
60689 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60690 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60691 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60692 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60693 else \
60694 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60695 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60696 fi; \
60697 else \
60698 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60699 fi; \
60700 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60701 $(NORMAL_TARGET_EXPORTS) \
60702 \
60703 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60704 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60705 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60706 echo Configuring stage autoprofile in $(TARGET_SUBDIR)/libatomic; \
60707 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60708 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60709 case $(srcdir) in \
60710 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60711 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60712 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60713 esac; \
60714 module_srcdir=libatomic; \
60715 $(SHELL) $$s/$$module_srcdir/configure \
60716 --srcdir=$${topdir}/$$module_srcdir \
60717 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60718 --target=${target_alias} \
60719 --with-build-libsubdir=$(HOST_SUBDIR) \
60720 $(STAGEautoprofile_CONFIGURE_FLAGS)
60721@endif target-libatomic-bootstrap
60722
60723.PHONY: configure-stageautofeedback-target-libatomic maybe-configure-stageautofeedback-target-libatomic
60724maybe-configure-stageautofeedback-target-libatomic:
60725@if target-libatomic-bootstrap
60726maybe-configure-stageautofeedback-target-libatomic: configure-stageautofeedback-target-libatomic
60727configure-stageautofeedback-target-libatomic:
60728 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
60729 @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic
60730 @r=`${PWD_COMMAND}`; export r; \
60731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60732 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
60733 echo "Checking multilib configuration for libatomic..."; \
60734 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null; \
60735 if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60736 if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
60737 rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
60738 else \
60739 rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
60740 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60741 fi; \
60742 else \
60743 mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
60744 fi; \
60745 test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
60746 $(NORMAL_TARGET_EXPORTS) \
60747 \
60748 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
60749 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
60750 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
60751 echo Configuring stage autofeedback in $(TARGET_SUBDIR)/libatomic; \
60752 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic; \
60753 cd $(TARGET_SUBDIR)/libatomic || exit 1; \
60754 case $(srcdir) in \
60755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
60756 *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
60757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
60758 esac; \
60759 module_srcdir=libatomic; \
60760 $(SHELL) $$s/$$module_srcdir/configure \
60761 --srcdir=$${topdir}/$$module_srcdir \
60762 $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
60763 --target=${target_alias} \
60764 --with-build-libsubdir=$(HOST_SUBDIR) \
60765 $(STAGEautofeedback_CONFIGURE_FLAGS)
60766@endif target-libatomic-bootstrap
60767
60768
60769
57994 60770
57995 60771
57996.PHONY: all-target-libatomic maybe-all-target-libatomic 60772.PHONY: all-target-libatomic maybe-all-target-libatomic
@@ -58002,7 +60778,6 @@ all-target-libatomic: stage_current
58002TARGET-target-libatomic=all 60778TARGET-target-libatomic=all
58003maybe-all-target-libatomic: all-target-libatomic 60779maybe-all-target-libatomic: all-target-libatomic
58004all-target-libatomic: configure-target-libatomic 60780all-target-libatomic: configure-target-libatomic
58005 @: $(MAKE); $(unstage)
58006 @r=`${PWD_COMMAND}`; export r; \ 60781 @r=`${PWD_COMMAND}`; export r; \
58007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ 60782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
58008 $(NORMAL_TARGET_EXPORTS) \ 60783 $(NORMAL_TARGET_EXPORTS) \
@@ -58013,6 +60788,387 @@ all-target-libatomic: configure-target-libatomic
58013 60788
58014 60789
58015 60790
60791.PHONY: all-stage1-target-libatomic maybe-all-stage1-target-libatomic
60792.PHONY: clean-stage1-target-libatomic maybe-clean-stage1-target-libatomic
60793maybe-all-stage1-target-libatomic:
60794maybe-clean-stage1-target-libatomic:
60795@if target-libatomic-bootstrap
60796maybe-all-stage1-target-libatomic: all-stage1-target-libatomic
60797all-stage1: all-stage1-target-libatomic
60798TARGET-stage1-target-libatomic = $(TARGET-target-libatomic)
60799all-stage1-target-libatomic: configure-stage1-target-libatomic
60800 @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
60801 @r=`${PWD_COMMAND}`; export r; \
60802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60803 TFLAGS="$(STAGE1_TFLAGS)"; \
60804 $(NORMAL_TARGET_EXPORTS) \
60805 cd $(TARGET_SUBDIR)/libatomic && \
60806 \
60807 $(MAKE) $(BASE_FLAGS_TO_PASS) \
60808 CFLAGS="$(CFLAGS_FOR_TARGET)" \
60809 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
60810 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
60811 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
60812 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
60813 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
60814 $(EXTRA_TARGET_FLAGS) \
60815 \
60816 TFLAGS="$(STAGE1_TFLAGS)" \
60817 $(TARGET-stage1-target-libatomic)
60818
60819maybe-clean-stage1-target-libatomic: clean-stage1-target-libatomic
60820clean-stage1: clean-stage1-target-libatomic
60821clean-stage1-target-libatomic:
60822 @if [ $(current_stage) = stage1 ]; then \
60823 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
60824 else \
60825 [ -f $(TARGET_SUBDIR)/stage1-libatomic/Makefile ] || exit 0; \
60826 $(MAKE) stage1-start; \
60827 fi; \
60828 cd $(TARGET_SUBDIR)/libatomic && \
60829 $(MAKE) $(EXTRA_TARGET_FLAGS) \
60830 clean
60831@endif target-libatomic-bootstrap
60832
60833
60834.PHONY: all-stage2-target-libatomic maybe-all-stage2-target-libatomic
60835.PHONY: clean-stage2-target-libatomic maybe-clean-stage2-target-libatomic
60836maybe-all-stage2-target-libatomic:
60837maybe-clean-stage2-target-libatomic:
60838@if target-libatomic-bootstrap
60839maybe-all-stage2-target-libatomic: all-stage2-target-libatomic
60840all-stage2: all-stage2-target-libatomic
60841TARGET-stage2-target-libatomic = $(TARGET-target-libatomic)
60842all-stage2-target-libatomic: configure-stage2-target-libatomic
60843 @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
60844 @r=`${PWD_COMMAND}`; export r; \
60845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60846 TFLAGS="$(STAGE2_TFLAGS)"; \
60847 $(NORMAL_TARGET_EXPORTS) \
60848 \
60849 cd $(TARGET_SUBDIR)/libatomic && \
60850 \
60851 $(MAKE) $(BASE_FLAGS_TO_PASS) \
60852 CFLAGS="$(CFLAGS_FOR_TARGET)" \
60853 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
60854 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
60855 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
60856 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
60857 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
60858 $(EXTRA_TARGET_FLAGS) \
60859 TFLAGS="$(STAGE2_TFLAGS)" \
60860 $(TARGET-stage2-target-libatomic)
60861
60862maybe-clean-stage2-target-libatomic: clean-stage2-target-libatomic
60863clean-stage2: clean-stage2-target-libatomic
60864clean-stage2-target-libatomic:
60865 @if [ $(current_stage) = stage2 ]; then \
60866 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
60867 else \
60868 [ -f $(TARGET_SUBDIR)/stage2-libatomic/Makefile ] || exit 0; \
60869 $(MAKE) stage2-start; \
60870 fi; \
60871 cd $(TARGET_SUBDIR)/libatomic && \
60872 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
60873@endif target-libatomic-bootstrap
60874
60875
60876.PHONY: all-stage3-target-libatomic maybe-all-stage3-target-libatomic
60877.PHONY: clean-stage3-target-libatomic maybe-clean-stage3-target-libatomic
60878maybe-all-stage3-target-libatomic:
60879maybe-clean-stage3-target-libatomic:
60880@if target-libatomic-bootstrap
60881maybe-all-stage3-target-libatomic: all-stage3-target-libatomic
60882all-stage3: all-stage3-target-libatomic
60883TARGET-stage3-target-libatomic = $(TARGET-target-libatomic)
60884all-stage3-target-libatomic: configure-stage3-target-libatomic
60885 @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
60886 @r=`${PWD_COMMAND}`; export r; \
60887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60888 TFLAGS="$(STAGE3_TFLAGS)"; \
60889 $(NORMAL_TARGET_EXPORTS) \
60890 \
60891 cd $(TARGET_SUBDIR)/libatomic && \
60892 \
60893 $(MAKE) $(BASE_FLAGS_TO_PASS) \
60894 CFLAGS="$(CFLAGS_FOR_TARGET)" \
60895 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
60896 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
60897 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
60898 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
60899 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
60900 $(EXTRA_TARGET_FLAGS) \
60901 TFLAGS="$(STAGE3_TFLAGS)" \
60902 $(TARGET-stage3-target-libatomic)
60903
60904maybe-clean-stage3-target-libatomic: clean-stage3-target-libatomic
60905clean-stage3: clean-stage3-target-libatomic
60906clean-stage3-target-libatomic:
60907 @if [ $(current_stage) = stage3 ]; then \
60908 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
60909 else \
60910 [ -f $(TARGET_SUBDIR)/stage3-libatomic/Makefile ] || exit 0; \
60911 $(MAKE) stage3-start; \
60912 fi; \
60913 cd $(TARGET_SUBDIR)/libatomic && \
60914 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
60915@endif target-libatomic-bootstrap
60916
60917
60918.PHONY: all-stage4-target-libatomic maybe-all-stage4-target-libatomic
60919.PHONY: clean-stage4-target-libatomic maybe-clean-stage4-target-libatomic
60920maybe-all-stage4-target-libatomic:
60921maybe-clean-stage4-target-libatomic:
60922@if target-libatomic-bootstrap
60923maybe-all-stage4-target-libatomic: all-stage4-target-libatomic
60924all-stage4: all-stage4-target-libatomic
60925TARGET-stage4-target-libatomic = $(TARGET-target-libatomic)
60926all-stage4-target-libatomic: configure-stage4-target-libatomic
60927 @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
60928 @r=`${PWD_COMMAND}`; export r; \
60929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60930 TFLAGS="$(STAGE4_TFLAGS)"; \
60931 $(NORMAL_TARGET_EXPORTS) \
60932 \
60933 cd $(TARGET_SUBDIR)/libatomic && \
60934 \
60935 $(MAKE) $(BASE_FLAGS_TO_PASS) \
60936 CFLAGS="$(CFLAGS_FOR_TARGET)" \
60937 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
60938 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
60939 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
60940 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
60941 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
60942 $(EXTRA_TARGET_FLAGS) \
60943 TFLAGS="$(STAGE4_TFLAGS)" \
60944 $(TARGET-stage4-target-libatomic)
60945
60946maybe-clean-stage4-target-libatomic: clean-stage4-target-libatomic
60947clean-stage4: clean-stage4-target-libatomic
60948clean-stage4-target-libatomic:
60949 @if [ $(current_stage) = stage4 ]; then \
60950 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
60951 else \
60952 [ -f $(TARGET_SUBDIR)/stage4-libatomic/Makefile ] || exit 0; \
60953 $(MAKE) stage4-start; \
60954 fi; \
60955 cd $(TARGET_SUBDIR)/libatomic && \
60956 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
60957@endif target-libatomic-bootstrap
60958
60959
60960.PHONY: all-stageprofile-target-libatomic maybe-all-stageprofile-target-libatomic
60961.PHONY: clean-stageprofile-target-libatomic maybe-clean-stageprofile-target-libatomic
60962maybe-all-stageprofile-target-libatomic:
60963maybe-clean-stageprofile-target-libatomic:
60964@if target-libatomic-bootstrap
60965maybe-all-stageprofile-target-libatomic: all-stageprofile-target-libatomic
60966all-stageprofile: all-stageprofile-target-libatomic
60967TARGET-stageprofile-target-libatomic = $(TARGET-target-libatomic)
60968all-stageprofile-target-libatomic: configure-stageprofile-target-libatomic
60969 @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
60970 @r=`${PWD_COMMAND}`; export r; \
60971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
60972 TFLAGS="$(STAGEprofile_TFLAGS)"; \
60973 $(NORMAL_TARGET_EXPORTS) \
60974 \
60975 cd $(TARGET_SUBDIR)/libatomic && \
60976 \
60977 $(MAKE) $(BASE_FLAGS_TO_PASS) \
60978 CFLAGS="$(CFLAGS_FOR_TARGET)" \
60979 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
60980 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
60981 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
60982 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
60983 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
60984 $(EXTRA_TARGET_FLAGS) \
60985 TFLAGS="$(STAGEprofile_TFLAGS)" \
60986 $(TARGET-stageprofile-target-libatomic)
60987
60988maybe-clean-stageprofile-target-libatomic: clean-stageprofile-target-libatomic
60989clean-stageprofile: clean-stageprofile-target-libatomic
60990clean-stageprofile-target-libatomic:
60991 @if [ $(current_stage) = stageprofile ]; then \
60992 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
60993 else \
60994 [ -f $(TARGET_SUBDIR)/stageprofile-libatomic/Makefile ] || exit 0; \
60995 $(MAKE) stageprofile-start; \
60996 fi; \
60997 cd $(TARGET_SUBDIR)/libatomic && \
60998 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
60999@endif target-libatomic-bootstrap
61000
61001
61002.PHONY: all-stagetrain-target-libatomic maybe-all-stagetrain-target-libatomic
61003.PHONY: clean-stagetrain-target-libatomic maybe-clean-stagetrain-target-libatomic
61004maybe-all-stagetrain-target-libatomic:
61005maybe-clean-stagetrain-target-libatomic:
61006@if target-libatomic-bootstrap
61007maybe-all-stagetrain-target-libatomic: all-stagetrain-target-libatomic
61008all-stagetrain: all-stagetrain-target-libatomic
61009TARGET-stagetrain-target-libatomic = $(TARGET-target-libatomic)
61010all-stagetrain-target-libatomic: configure-stagetrain-target-libatomic
61011 @[ $(current_stage) = stagetrain ] || $(MAKE) stagetrain-start
61012 @r=`${PWD_COMMAND}`; export r; \
61013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61014 TFLAGS="$(STAGEtrain_TFLAGS)"; \
61015 $(NORMAL_TARGET_EXPORTS) \
61016 \
61017 cd $(TARGET_SUBDIR)/libatomic && \
61018 \
61019 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61020 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61021 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61022 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61023 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61024 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61025 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61026 $(EXTRA_TARGET_FLAGS) \
61027 TFLAGS="$(STAGEtrain_TFLAGS)" \
61028 $(TARGET-stagetrain-target-libatomic)
61029
61030maybe-clean-stagetrain-target-libatomic: clean-stagetrain-target-libatomic
61031clean-stagetrain: clean-stagetrain-target-libatomic
61032clean-stagetrain-target-libatomic:
61033 @if [ $(current_stage) = stagetrain ]; then \
61034 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61035 else \
61036 [ -f $(TARGET_SUBDIR)/stagetrain-libatomic/Makefile ] || exit 0; \
61037 $(MAKE) stagetrain-start; \
61038 fi; \
61039 cd $(TARGET_SUBDIR)/libatomic && \
61040 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61041@endif target-libatomic-bootstrap
61042
61043
61044.PHONY: all-stagefeedback-target-libatomic maybe-all-stagefeedback-target-libatomic
61045.PHONY: clean-stagefeedback-target-libatomic maybe-clean-stagefeedback-target-libatomic
61046maybe-all-stagefeedback-target-libatomic:
61047maybe-clean-stagefeedback-target-libatomic:
61048@if target-libatomic-bootstrap
61049maybe-all-stagefeedback-target-libatomic: all-stagefeedback-target-libatomic
61050all-stagefeedback: all-stagefeedback-target-libatomic
61051TARGET-stagefeedback-target-libatomic = $(TARGET-target-libatomic)
61052all-stagefeedback-target-libatomic: configure-stagefeedback-target-libatomic
61053 @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
61054 @r=`${PWD_COMMAND}`; export r; \
61055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61056 TFLAGS="$(STAGEfeedback_TFLAGS)"; \
61057 $(NORMAL_TARGET_EXPORTS) \
61058 \
61059 cd $(TARGET_SUBDIR)/libatomic && \
61060 \
61061 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61062 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61063 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61064 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61065 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61066 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61067 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61068 $(EXTRA_TARGET_FLAGS) \
61069 TFLAGS="$(STAGEfeedback_TFLAGS)" \
61070 $(TARGET-stagefeedback-target-libatomic)
61071
61072maybe-clean-stagefeedback-target-libatomic: clean-stagefeedback-target-libatomic
61073clean-stagefeedback: clean-stagefeedback-target-libatomic
61074clean-stagefeedback-target-libatomic:
61075 @if [ $(current_stage) = stagefeedback ]; then \
61076 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61077 else \
61078 [ -f $(TARGET_SUBDIR)/stagefeedback-libatomic/Makefile ] || exit 0; \
61079 $(MAKE) stagefeedback-start; \
61080 fi; \
61081 cd $(TARGET_SUBDIR)/libatomic && \
61082 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61083@endif target-libatomic-bootstrap
61084
61085
61086.PHONY: all-stageautoprofile-target-libatomic maybe-all-stageautoprofile-target-libatomic
61087.PHONY: clean-stageautoprofile-target-libatomic maybe-clean-stageautoprofile-target-libatomic
61088maybe-all-stageautoprofile-target-libatomic:
61089maybe-clean-stageautoprofile-target-libatomic:
61090@if target-libatomic-bootstrap
61091maybe-all-stageautoprofile-target-libatomic: all-stageautoprofile-target-libatomic
61092all-stageautoprofile: all-stageautoprofile-target-libatomic
61093TARGET-stageautoprofile-target-libatomic = $(TARGET-target-libatomic)
61094all-stageautoprofile-target-libatomic: configure-stageautoprofile-target-libatomic
61095 @[ $(current_stage) = stageautoprofile ] || $(MAKE) stageautoprofile-start
61096 @r=`${PWD_COMMAND}`; export r; \
61097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61098 TFLAGS="$(STAGEautoprofile_TFLAGS)"; \
61099 $(NORMAL_TARGET_EXPORTS) \
61100 \
61101 cd $(TARGET_SUBDIR)/libatomic && \
61102 $$s/gcc/config/i386/$(AUTO_PROFILE) \
61103 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61104 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61105 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61106 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61107 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61108 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61109 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61110 $(EXTRA_TARGET_FLAGS) \
61111 TFLAGS="$(STAGEautoprofile_TFLAGS)" \
61112 $(TARGET-stageautoprofile-target-libatomic)
61113
61114maybe-clean-stageautoprofile-target-libatomic: clean-stageautoprofile-target-libatomic
61115clean-stageautoprofile: clean-stageautoprofile-target-libatomic
61116clean-stageautoprofile-target-libatomic:
61117 @if [ $(current_stage) = stageautoprofile ]; then \
61118 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61119 else \
61120 [ -f $(TARGET_SUBDIR)/stageautoprofile-libatomic/Makefile ] || exit 0; \
61121 $(MAKE) stageautoprofile-start; \
61122 fi; \
61123 cd $(TARGET_SUBDIR)/libatomic && \
61124 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61125@endif target-libatomic-bootstrap
61126
61127
61128.PHONY: all-stageautofeedback-target-libatomic maybe-all-stageautofeedback-target-libatomic
61129.PHONY: clean-stageautofeedback-target-libatomic maybe-clean-stageautofeedback-target-libatomic
61130maybe-all-stageautofeedback-target-libatomic:
61131maybe-clean-stageautofeedback-target-libatomic:
61132@if target-libatomic-bootstrap
61133maybe-all-stageautofeedback-target-libatomic: all-stageautofeedback-target-libatomic
61134all-stageautofeedback: all-stageautofeedback-target-libatomic
61135TARGET-stageautofeedback-target-libatomic = $(TARGET-target-libatomic)
61136all-stageautofeedback-target-libatomic: configure-stageautofeedback-target-libatomic
61137 @[ $(current_stage) = stageautofeedback ] || $(MAKE) stageautofeedback-start
61138 @r=`${PWD_COMMAND}`; export r; \
61139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
61140 TFLAGS="$(STAGEautofeedback_TFLAGS)"; \
61141 $(NORMAL_TARGET_EXPORTS) \
61142 \
61143 cd $(TARGET_SUBDIR)/libatomic && \
61144 \
61145 $(MAKE) $(BASE_FLAGS_TO_PASS) \
61146 CFLAGS="$(CFLAGS_FOR_TARGET)" \
61147 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
61148 LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
61149 CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
61150 CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
61151 LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
61152 $(EXTRA_TARGET_FLAGS) \
61153 TFLAGS="$(STAGEautofeedback_TFLAGS)" PERF_DATA=perf.data \
61154 $(TARGET-stageautofeedback-target-libatomic)
61155
61156maybe-clean-stageautofeedback-target-libatomic: clean-stageautofeedback-target-libatomic
61157clean-stageautofeedback: clean-stageautofeedback-target-libatomic
61158clean-stageautofeedback-target-libatomic:
61159 @if [ $(current_stage) = stageautofeedback ]; then \
61160 [ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0; \
61161 else \
61162 [ -f $(TARGET_SUBDIR)/stageautofeedback-libatomic/Makefile ] || exit 0; \
61163 $(MAKE) stageautofeedback-start; \
61164 fi; \
61165 cd $(TARGET_SUBDIR)/libatomic && \
61166 $(MAKE) $(EXTRA_TARGET_FLAGS) clean
61167@endif target-libatomic-bootstrap
61168
61169
61170
61171
58016 61172
58017 61173
58018.PHONY: check-target-libatomic maybe-check-target-libatomic 61174.PHONY: check-target-libatomic maybe-check-target-libatomic
@@ -61936,17 +65092,41 @@ configure-stagetrain-target-libgcc: maybe-all-stagetrain-gcc
61936configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc 65092configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
61937configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc 65093configure-stageautoprofile-target-libgcc: maybe-all-stageautoprofile-gcc
61938configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc 65094configure-stageautofeedback-target-libgcc: maybe-all-stageautofeedback-gcc
61939configure-target-libbacktrace: stage_last 65095configure-stage1-target-libbacktrace: maybe-all-stage1-gcc
65096configure-stage2-target-libbacktrace: maybe-all-stage2-gcc
65097configure-stage3-target-libbacktrace: maybe-all-stage3-gcc
65098configure-stage4-target-libbacktrace: maybe-all-stage4-gcc
65099configure-stageprofile-target-libbacktrace: maybe-all-stageprofile-gcc
65100configure-stagetrain-target-libbacktrace: maybe-all-stagetrain-gcc
65101configure-stagefeedback-target-libbacktrace: maybe-all-stagefeedback-gcc
65102configure-stageautoprofile-target-libbacktrace: maybe-all-stageautoprofile-gcc
65103configure-stageautofeedback-target-libbacktrace: maybe-all-stageautofeedback-gcc
61940configure-target-libquadmath: stage_last 65104configure-target-libquadmath: stage_last
61941configure-target-libgfortran: stage_last 65105configure-target-libgfortran: stage_last
61942configure-target-libobjc: stage_last 65106configure-target-libobjc: stage_last
61943configure-target-libgo: stage_last 65107configure-target-libgo: stage_last
61944configure-target-libphobos: stage_last 65108configure-stage1-target-libphobos: maybe-all-stage1-gcc
65109configure-stage2-target-libphobos: maybe-all-stage2-gcc
65110configure-stage3-target-libphobos: maybe-all-stage3-gcc
65111configure-stage4-target-libphobos: maybe-all-stage4-gcc
65112configure-stageprofile-target-libphobos: maybe-all-stageprofile-gcc
65113configure-stagetrain-target-libphobos: maybe-all-stagetrain-gcc
65114configure-stagefeedback-target-libphobos: maybe-all-stagefeedback-gcc
65115configure-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-gcc
65116configure-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-gcc
61945configure-target-libtermcap: stage_last 65117configure-target-libtermcap: stage_last
61946configure-target-winsup: stage_last 65118configure-target-winsup: stage_last
61947configure-target-libgloss: stage_last 65119configure-target-libgloss: stage_last
61948configure-target-libffi: stage_last 65120configure-target-libffi: stage_last
61949configure-target-zlib: stage_last 65121configure-stage1-target-zlib: maybe-all-stage1-gcc
65122configure-stage2-target-zlib: maybe-all-stage2-gcc
65123configure-stage3-target-zlib: maybe-all-stage3-gcc
65124configure-stage4-target-zlib: maybe-all-stage4-gcc
65125configure-stageprofile-target-zlib: maybe-all-stageprofile-gcc
65126configure-stagetrain-target-zlib: maybe-all-stagetrain-gcc
65127configure-stagefeedback-target-zlib: maybe-all-stagefeedback-gcc
65128configure-stageautoprofile-target-zlib: maybe-all-stageautoprofile-gcc
65129configure-stageautofeedback-target-zlib: maybe-all-stageautofeedback-gcc
61950configure-target-rda: stage_last 65130configure-target-rda: stage_last
61951configure-target-libada: stage_last 65131configure-target-libada: stage_last
61952configure-stage1-target-libgomp: maybe-all-stage1-gcc 65132configure-stage1-target-libgomp: maybe-all-stage1-gcc
@@ -61959,7 +65139,15 @@ configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
61959configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc 65139configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-gcc
61960configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc 65140configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-gcc
61961configure-target-libitm: stage_last 65141configure-target-libitm: stage_last
61962configure-target-libatomic: stage_last 65142configure-stage1-target-libatomic: maybe-all-stage1-gcc
65143configure-stage2-target-libatomic: maybe-all-stage2-gcc
65144configure-stage3-target-libatomic: maybe-all-stage3-gcc
65145configure-stage4-target-libatomic: maybe-all-stage4-gcc
65146configure-stageprofile-target-libatomic: maybe-all-stageprofile-gcc
65147configure-stagetrain-target-libatomic: maybe-all-stagetrain-gcc
65148configure-stagefeedback-target-libatomic: maybe-all-stagefeedback-gcc
65149configure-stageautoprofile-target-libatomic: maybe-all-stageautoprofile-gcc
65150configure-stageautofeedback-target-libatomic: maybe-all-stageautofeedback-gcc
61963@endif gcc-bootstrap 65151@endif gcc-bootstrap
61964 65152
61965@if gcc-no-bootstrap 65153@if gcc-no-bootstrap
@@ -63102,17 +66290,58 @@ all-flex: maybe-all-build-bison
63102all-flex: maybe-all-m4 66290all-flex: maybe-all-m4
63103all-flex: maybe-all-build-texinfo 66291all-flex: maybe-all-build-texinfo
63104all-m4: maybe-all-build-texinfo 66292all-m4: maybe-all-build-texinfo
63105configure-target-fastjar: maybe-configure-target-zlib
63106all-target-fastjar: maybe-all-target-zlib
63107configure-target-libgo: maybe-configure-target-libffi 66293configure-target-libgo: maybe-configure-target-libffi
63108all-target-libgo: maybe-all-target-libbacktrace
63109all-target-libgo: maybe-all-target-libffi 66294all-target-libgo: maybe-all-target-libffi
63110all-target-libgo: maybe-all-target-libatomic
63111configure-target-libphobos: maybe-configure-target-libbacktrace 66295configure-target-libphobos: maybe-configure-target-libbacktrace
66296configure-stage1-target-libphobos: maybe-configure-stage1-target-libbacktrace
66297configure-stage2-target-libphobos: maybe-configure-stage2-target-libbacktrace
66298configure-stage3-target-libphobos: maybe-configure-stage3-target-libbacktrace
66299configure-stage4-target-libphobos: maybe-configure-stage4-target-libbacktrace
66300configure-stageprofile-target-libphobos: maybe-configure-stageprofile-target-libbacktrace
66301configure-stagetrain-target-libphobos: maybe-configure-stagetrain-target-libbacktrace
66302configure-stagefeedback-target-libphobos: maybe-configure-stagefeedback-target-libbacktrace
66303configure-stageautoprofile-target-libphobos: maybe-configure-stageautoprofile-target-libbacktrace
66304configure-stageautofeedback-target-libphobos: maybe-configure-stageautofeedback-target-libbacktrace
63112configure-target-libphobos: maybe-configure-target-zlib 66305configure-target-libphobos: maybe-configure-target-zlib
66306configure-stage1-target-libphobos: maybe-configure-stage1-target-zlib
66307configure-stage2-target-libphobos: maybe-configure-stage2-target-zlib
66308configure-stage3-target-libphobos: maybe-configure-stage3-target-zlib
66309configure-stage4-target-libphobos: maybe-configure-stage4-target-zlib
66310configure-stageprofile-target-libphobos: maybe-configure-stageprofile-target-zlib
66311configure-stagetrain-target-libphobos: maybe-configure-stagetrain-target-zlib
66312configure-stagefeedback-target-libphobos: maybe-configure-stagefeedback-target-zlib
66313configure-stageautoprofile-target-libphobos: maybe-configure-stageautoprofile-target-zlib
66314configure-stageautofeedback-target-libphobos: maybe-configure-stageautofeedback-target-zlib
63113all-target-libphobos: maybe-all-target-libbacktrace 66315all-target-libphobos: maybe-all-target-libbacktrace
66316all-stage1-target-libphobos: maybe-all-stage1-target-libbacktrace
66317all-stage2-target-libphobos: maybe-all-stage2-target-libbacktrace
66318all-stage3-target-libphobos: maybe-all-stage3-target-libbacktrace
66319all-stage4-target-libphobos: maybe-all-stage4-target-libbacktrace
66320all-stageprofile-target-libphobos: maybe-all-stageprofile-target-libbacktrace
66321all-stagetrain-target-libphobos: maybe-all-stagetrain-target-libbacktrace
66322all-stagefeedback-target-libphobos: maybe-all-stagefeedback-target-libbacktrace
66323all-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-target-libbacktrace
66324all-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-target-libbacktrace
63114all-target-libphobos: maybe-all-target-zlib 66325all-target-libphobos: maybe-all-target-zlib
66326all-stage1-target-libphobos: maybe-all-stage1-target-zlib
66327all-stage2-target-libphobos: maybe-all-stage2-target-zlib
66328all-stage3-target-libphobos: maybe-all-stage3-target-zlib
66329all-stage4-target-libphobos: maybe-all-stage4-target-zlib
66330all-stageprofile-target-libphobos: maybe-all-stageprofile-target-zlib
66331all-stagetrain-target-libphobos: maybe-all-stagetrain-target-zlib
66332all-stagefeedback-target-libphobos: maybe-all-stagefeedback-target-zlib
66333all-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-target-zlib
66334all-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-target-zlib
63115all-target-libphobos: maybe-all-target-libatomic 66335all-target-libphobos: maybe-all-target-libatomic
66336all-stage1-target-libphobos: maybe-all-stage1-target-libatomic
66337all-stage2-target-libphobos: maybe-all-stage2-target-libatomic
66338all-stage3-target-libphobos: maybe-all-stage3-target-libatomic
66339all-stage4-target-libphobos: maybe-all-stage4-target-libatomic
66340all-stageprofile-target-libphobos: maybe-all-stageprofile-target-libatomic
66341all-stagetrain-target-libphobos: maybe-all-stagetrain-target-libatomic
66342all-stagefeedback-target-libphobos: maybe-all-stagefeedback-target-libatomic
66343all-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-target-libatomic
66344all-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-target-libatomic
63116configure-target-libstdc++-v3: maybe-configure-target-libgomp 66345configure-target-libstdc++-v3: maybe-configure-target-libgomp
63117configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp 66346configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
63118configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp 66347configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
@@ -63169,7 +66398,6 @@ install-target-libstdc++-v3: maybe-install-target-libgcc
63169all-target-libgloss: maybe-all-target-newlib 66398all-target-libgloss: maybe-all-target-newlib
63170all-target-winsup: maybe-all-target-libtermcap 66399all-target-winsup: maybe-all-target-libtermcap
63171configure-target-libgfortran: maybe-all-target-libquadmath 66400configure-target-libgfortran: maybe-all-target-libquadmath
63172configure-target-libgfortran: maybe-all-target-libbacktrace
63173 66401
63174 66402
63175@if gcc-bootstrap 66403@if gcc-bootstrap
@@ -63226,12 +66454,17 @@ all-fastjar: maybe-all-libiberty
63226all-bison: maybe-all-intl 66454all-bison: maybe-all-intl
63227all-flex: maybe-all-intl 66455all-flex: maybe-all-intl
63228all-m4: maybe-all-intl 66456all-m4: maybe-all-intl
66457configure-target-fastjar: maybe-configure-target-zlib
66458all-target-fastjar: maybe-all-target-zlib
63229configure-target-libgo: maybe-all-target-libstdc++-v3 66459configure-target-libgo: maybe-all-target-libstdc++-v3
63230configure-target-libffi: maybe-all-target-libstdc++-v3 66460configure-target-libffi: maybe-all-target-libstdc++-v3
66461all-target-libgo: maybe-all-target-libbacktrace
66462all-target-libgo: maybe-all-target-libatomic
63231configure-target-liboffloadmic: maybe-configure-target-libgomp 66463configure-target-liboffloadmic: maybe-configure-target-libgomp
63232all-target-liboffloadmic: maybe-all-target-libgomp 66464all-target-liboffloadmic: maybe-all-target-libgomp
63233configure-target-newlib: maybe-all-binutils 66465configure-target-newlib: maybe-all-binutils
63234configure-target-newlib: maybe-all-ld 66466configure-target-newlib: maybe-all-ld
66467configure-target-libgfortran: maybe-all-target-libbacktrace
63235@endunless gcc-bootstrap 66468@endunless gcc-bootstrap
63236 66469
63237# Dependencies for target modules on other target modules are 66470# Dependencies for target modules on other target modules are
@@ -63267,6 +66500,33 @@ configure-stagetrain-target-libvtv: maybe-all-stagetrain-target-libgcc
63267configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc 66500configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
63268configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc 66501configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libgcc
63269configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc 66502configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libgcc
66503configure-stage1-target-libbacktrace: maybe-all-stage1-target-libgcc
66504configure-stage2-target-libbacktrace: maybe-all-stage2-target-libgcc
66505configure-stage3-target-libbacktrace: maybe-all-stage3-target-libgcc
66506configure-stage4-target-libbacktrace: maybe-all-stage4-target-libgcc
66507configure-stageprofile-target-libbacktrace: maybe-all-stageprofile-target-libgcc
66508configure-stagetrain-target-libbacktrace: maybe-all-stagetrain-target-libgcc
66509configure-stagefeedback-target-libbacktrace: maybe-all-stagefeedback-target-libgcc
66510configure-stageautoprofile-target-libbacktrace: maybe-all-stageautoprofile-target-libgcc
66511configure-stageautofeedback-target-libbacktrace: maybe-all-stageautofeedback-target-libgcc
66512configure-stage1-target-libphobos: maybe-all-stage1-target-libgcc
66513configure-stage2-target-libphobos: maybe-all-stage2-target-libgcc
66514configure-stage3-target-libphobos: maybe-all-stage3-target-libgcc
66515configure-stage4-target-libphobos: maybe-all-stage4-target-libgcc
66516configure-stageprofile-target-libphobos: maybe-all-stageprofile-target-libgcc
66517configure-stagetrain-target-libphobos: maybe-all-stagetrain-target-libgcc
66518configure-stagefeedback-target-libphobos: maybe-all-stagefeedback-target-libgcc
66519configure-stageautoprofile-target-libphobos: maybe-all-stageautoprofile-target-libgcc
66520configure-stageautofeedback-target-libphobos: maybe-all-stageautofeedback-target-libgcc
66521configure-stage1-target-zlib: maybe-all-stage1-target-libgcc
66522configure-stage2-target-zlib: maybe-all-stage2-target-libgcc
66523configure-stage3-target-zlib: maybe-all-stage3-target-libgcc
66524configure-stage4-target-zlib: maybe-all-stage4-target-libgcc
66525configure-stageprofile-target-zlib: maybe-all-stageprofile-target-libgcc
66526configure-stagetrain-target-zlib: maybe-all-stagetrain-target-libgcc
66527configure-stagefeedback-target-zlib: maybe-all-stagefeedback-target-libgcc
66528configure-stageautoprofile-target-zlib: maybe-all-stageautoprofile-target-libgcc
66529configure-stageautofeedback-target-zlib: maybe-all-stageautofeedback-target-libgcc
63270configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc 66530configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
63271configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc 66531configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
63272configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc 66532configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
@@ -63276,6 +66536,15 @@ configure-stagetrain-target-libgomp: maybe-all-stagetrain-target-libgcc
63276configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc 66536configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
63277configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc 66537configure-stageautoprofile-target-libgomp: maybe-all-stageautoprofile-target-libgcc
63278configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc 66538configure-stageautofeedback-target-libgomp: maybe-all-stageautofeedback-target-libgcc
66539configure-stage1-target-libatomic: maybe-all-stage1-target-libgcc
66540configure-stage2-target-libatomic: maybe-all-stage2-target-libgcc
66541configure-stage3-target-libatomic: maybe-all-stage3-target-libgcc
66542configure-stage4-target-libatomic: maybe-all-stage4-target-libgcc
66543configure-stageprofile-target-libatomic: maybe-all-stageprofile-target-libgcc
66544configure-stagetrain-target-libatomic: maybe-all-stagetrain-target-libgcc
66545configure-stagefeedback-target-libatomic: maybe-all-stagefeedback-target-libgcc
66546configure-stageautoprofile-target-libatomic: maybe-all-stageautoprofile-target-libgcc
66547configure-stageautofeedback-target-libatomic: maybe-all-stageautofeedback-target-libgcc
63279@endif gcc-bootstrap 66548@endif gcc-bootstrap
63280 66549
63281@if gcc-no-bootstrap 66550@if gcc-no-bootstrap