| 4 |
// Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'. |
// Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'. |
| 5 |
// This file was originally written by Nathanael Nerode. |
// This file was originally written by Nathanael Nerode. |
| 6 |
// |
// |
| 7 |
// Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation |
// Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
| 8 |
|
// Free Software Foundation |
| 9 |
// |
// |
| 10 |
// This file is free software; you can redistribute it and/or modify |
// This file is free software; you can redistribute it and/or modify |
| 11 |
// it under the terms of the GNU General Public License as published by |
// it under the terms of the GNU General Public License as published by |
| 43 |
host_modules= { module= bison; no_check_cross= true; }; |
host_modules= { module= bison; no_check_cross= true; }; |
| 44 |
host_modules= { module= byacc; no_check_cross= true; }; |
host_modules= { module= byacc; no_check_cross= true; }; |
| 45 |
host_modules= { module= bzip2; }; |
host_modules= { module= bzip2; }; |
| 46 |
|
host_modules= { module= cgen; }; |
| 47 |
host_modules= { module= dejagnu; }; |
host_modules= { module= dejagnu; }; |
| 48 |
host_modules= { module= diff; }; |
host_modules= { module= diff; }; |
| 49 |
host_modules= { module= dosutils; no_check= true; }; |
host_modules= { module= dosutils; no_check= true; }; |
| 95 |
host_modules= { module= libdecnumber; bootstrap=true; }; |
host_modules= { module= libdecnumber; bootstrap=true; }; |
| 96 |
host_modules= { module= libgui; }; |
host_modules= { module= libgui; }; |
| 97 |
host_modules= { module= libiberty; bootstrap=true; }; |
host_modules= { module= libiberty; bootstrap=true; }; |
| 98 |
|
// We abuse missing to avoid installing anything for libiconv. |
| 99 |
|
host_modules= { module= libiconv; |
| 100 |
|
extra_configure_flags='--disable-shared'; |
| 101 |
|
no_install= true; |
| 102 |
|
missing= install-info; |
| 103 |
|
missing= install-pdf; |
| 104 |
|
missing= install-html; |
| 105 |
|
missing= install-info; }; |
| 106 |
host_modules= { module= libtool; }; |
host_modules= { module= libtool; }; |
| 107 |
host_modules= { module= m4; }; |
host_modules= { module= m4; }; |
| 108 |
host_modules= { module= make; }; |
host_modules= { module= make; }; |
| 256 |
flags_to_pass = { flag= LDFLAGS ; }; |
flags_to_pass = { flag= LDFLAGS ; }; |
| 257 |
flags_to_pass = { flag= LIBCFLAGS ; }; |
flags_to_pass = { flag= LIBCFLAGS ; }; |
| 258 |
flags_to_pass = { flag= LIBCXXFLAGS ; }; |
flags_to_pass = { flag= LIBCXXFLAGS ; }; |
|
flags_to_pass = { flag= STAGE1_CFLAGS ; }; |
|
| 259 |
flags_to_pass = { flag= STAGE1_CHECKING ; }; |
flags_to_pass = { flag= STAGE1_CHECKING ; }; |
| 260 |
flags_to_pass = { flag= STAGE1_LANGUAGES ; }; |
flags_to_pass = { flag= STAGE1_LANGUAGES ; }; |
|
flags_to_pass = { flag= STAGE2_CFLAGS ; }; |
|
|
flags_to_pass = { flag= STAGE3_CFLAGS ; }; |
|
|
flags_to_pass = { flag= STAGE4_CFLAGS ; }; |
|
| 261 |
flags_to_pass = { flag= GNATBIND ; }; |
flags_to_pass = { flag= GNATBIND ; }; |
| 262 |
flags_to_pass = { flag= GNATMAKE ; }; |
flags_to_pass = { flag= GNATMAKE ; }; |
| 263 |
|
|
| 270 |
flags_to_pass = { flag= CXX_FOR_TARGET ; }; |
flags_to_pass = { flag= CXX_FOR_TARGET ; }; |
| 271 |
flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; }; |
flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; }; |
| 272 |
flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; }; |
flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; }; |
| 273 |
|
flags_to_pass = { flag= FLAGS_FOR_TARGET ; }; |
| 274 |
flags_to_pass = { flag= GCJ_FOR_TARGET ; }; |
flags_to_pass = { flag= GCJ_FOR_TARGET ; }; |
| 275 |
flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; }; |
flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; }; |
| 276 |
flags_to_pass = { flag= LD_FOR_TARGET ; }; |
flags_to_pass = { flag= LD_FOR_TARGET ; }; |
| 286 |
flags_to_pass = { flag= WINDMC_FOR_TARGET ; }; |
flags_to_pass = { flag= WINDMC_FOR_TARGET ; }; |
| 287 |
|
|
| 288 |
// Miscellaneous |
// Miscellaneous |
| 289 |
|
flags_to_pass = { flag= BUILD_CONFIG ; }; |
| 290 |
flags_to_pass = { flag= LANGUAGES ; optional=true ; }; |
flags_to_pass = { flag= LANGUAGES ; optional=true ; }; |
| 291 |
flags_to_pass = { flag= LEAN ; }; |
flags_to_pass = { flag= LEAN ; }; |
| 292 |
|
|
| 346 |
dependencies = { module=configure-gdb; on=all-intl; }; |
dependencies = { module=configure-gdb; on=all-intl; }; |
| 347 |
dependencies = { module=configure-gdb; on=configure-sim; }; |
dependencies = { module=configure-gdb; on=configure-sim; }; |
| 348 |
dependencies = { module=configure-gdb; on=all-bfd; }; |
dependencies = { module=configure-gdb; on=all-bfd; }; |
| 349 |
|
// Depend on all-libiconv so that configure checks for iconv |
| 350 |
|
// functions will work. |
| 351 |
|
dependencies = { module=configure-gdb; on=all-libiconv; }; |
| 352 |
dependencies = { module=all-gdb; on=all-libiberty; }; |
dependencies = { module=all-gdb; on=all-libiberty; }; |
| 353 |
|
dependencies = { module=all-gdb; on=all-libiconv; }; |
| 354 |
dependencies = { module=all-gdb; on=all-opcodes; }; |
dependencies = { module=all-gdb; on=all-opcodes; }; |
| 355 |
dependencies = { module=all-gdb; on=all-readline; }; |
dependencies = { module=all-gdb; on=all-readline; }; |
| 356 |
dependencies = { module=all-gdb; on=all-build-bison; }; |
dependencies = { module=all-gdb; on=all-build-bison; }; |
| 369 |
dependencies = { module=configure-bfd; on=configure-intl; }; |
dependencies = { module=configure-bfd; on=configure-intl; }; |
| 370 |
dependencies = { module=all-bfd; on=all-libiberty; }; |
dependencies = { module=all-bfd; on=all-libiberty; }; |
| 371 |
dependencies = { module=all-bfd; on=all-intl; }; |
dependencies = { module=all-bfd; on=all-intl; }; |
| 372 |
|
dependencies = { module=configure-opcodes; on=configure-libiberty; hard=true; }; |
| 373 |
|
dependencies = { module=all-opcodes; on=all-libiberty; }; |
| 374 |
|
|
| 375 |
dependencies = { module=configure-binutils; on=configure-intl; }; |
dependencies = { module=configure-binutils; on=configure-intl; }; |
| 376 |
dependencies = { module=all-binutils; on=all-libiberty; }; |
dependencies = { module=all-binutils; on=all-libiberty; }; |
| 540 |
dependencies = { module=all-target-winsup; on=all-target-libiberty; }; |
dependencies = { module=all-target-winsup; on=all-target-libiberty; }; |
| 541 |
dependencies = { module=all-target-winsup; on=all-target-libtermcap; }; |
dependencies = { module=all-target-winsup; on=all-target-libtermcap; }; |
| 542 |
|
|
| 543 |
// Toplevel bootstrap |
languages = { language=c; gcc-check-target=check-gcc; }; |
| 544 |
bootstrap_stage = { |
languages = { language=c++; gcc-check-target=check-c++; |
| 545 |
id=1 ; |
lib-check-target=check-target-libstdc++-v3; }; |
| 546 |
|
languages = { language=fortran; gcc-check-target=check-fortran; |
| 547 |
|
lib-check-target=check-target-libgfortran; }; |
| 548 |
|
languages = { language=java; gcc-check-target=check-java; |
| 549 |
|
lib-check-target=check-target-libjava; }; |
| 550 |
|
languages = { language=ada; gcc-check-target=check-ada; |
| 551 |
|
lib-check-target=check-target-libada; }; |
| 552 |
|
languages = { language=objc; gcc-check-target=check-objc; |
| 553 |
|
lib-check-target=check-target-libobjc; }; |
| 554 |
|
languages = { language=obj-c++; gcc-check-target=check-obj-c++; }; |
| 555 |
|
|
| 556 |
// * We force-disable intermodule optimizations, even if |
// Toplevel bootstrap |
| 557 |
// --enable-intermodule was passed, since the installed compiler |
bootstrap_stage = { id=1 ; }; |
|
// probably can't handle them. Luckily, autoconf always respects |
|
|
// the last argument when conflicting --enable arguments are passed. |
|
|
// * Likewise, we force-disable coverage flags, since the installed |
|
|
// compiler probably has never heard of them. |
|
|
stage_configure_flags='--disable-intermodule $(STAGE1_CHECKING) \ |
|
|
--disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"' ; |
|
|
stage_cflags='$(STAGE1_CFLAGS)' ; |
|
|
stage_libcflags='$(STAGE1_LIBCFLAGS)' ; }; |
|
| 558 |
bootstrap_stage = { |
bootstrap_stage = { |
| 559 |
id=2 ; prev=1 ; |
id=2 ; prev=1 ; |
| 560 |
bootstrap_target=bootstrap2 ; |
bootstrap_target=bootstrap2 ; }; |
|
stage_configure_flags="@stage2_werror_flag@" ; |
|
|
stage_cflags="$(STAGE2_CFLAGS)" ; |
|
|
stage_libcflags="$(STAGE2_LIBCFLAGS)" ; }; |
|
|
bootstrap_stage = { |
|
|
id=b2g0 ; prev=1 ; |
|
|
bootstrap_target=bootstrap2-debug ; |
|
|
stage_configure_flags="@stage2_werror_flag@" ; |
|
|
stage_cflags="$(STAGE2_CFLAGS) -g0" ; |
|
|
stage_libcflags="$(STAGE2_LIBCFLAGS) -g0" ; }; |
|
| 561 |
bootstrap_stage = { |
bootstrap_stage = { |
| 562 |
id=3 ; prev=2 ; lean=1 ; |
id=3 ; prev=2 ; lean=1 ; |
| 563 |
compare_target=compare ; |
compare_target=compare ; |
| 564 |
bootstrap_target=bootstrap ; |
bootstrap_target=bootstrap ; |
| 565 |
cleanstrap_target=cleanstrap ; |
cleanstrap_target=cleanstrap ; }; |
|
stage_configure_flags="@stage2_werror_flag@" ; |
|
|
stage_cflags="$(STAGE3_CFLAGS)" ; |
|
|
stage_libcflags="$(STAGE3_LIBCFLAGS)" ; }; |
|
|
bootstrap_stage = { |
|
|
id=b3g2 ; prev=b2g0 ; lean=1 ; |
|
|
compare_target=compare-debug ; |
|
|
bootstrap_target=bootstrap-debug ; |
|
|
cleanstrap_target=cleanstrap-debug ; |
|
|
stage_configure_flags="@stage2_werror_flag@" ; |
|
|
stage_cflags="$(STAGE3_CFLAGS) -g2" ; |
|
|
stage_libcflags="$(STAGE3_LIBCFLAGS) -g2" ; }; |
|
| 566 |
bootstrap_stage = { |
bootstrap_stage = { |
| 567 |
id=4 ; prev=3 ; lean=2 ; |
id=4 ; prev=3 ; lean=2 ; |
| 568 |
compare_target=compare3 ; |
compare_target=compare3 ; |
| 569 |
bootstrap_target=bootstrap4 ; |
bootstrap_target=bootstrap4 ; }; |
|
stage_configure_flags="@stage2_werror_flag@" ; |
|
|
stage_cflags="$(STAGE4_CFLAGS)" ; |
|
|
stage_libcflags="$(STAGE4_CFLAGS)" ; }; |
|
| 570 |
bootstrap_stage = { |
bootstrap_stage = { |
| 571 |
id=profile ; prev=1 ; |
id=profile ; prev=1 ; }; |
|
stage_configure_flags="@stage2_werror_flag@" ; |
|
|
stage_cflags='$(STAGE2_CFLAGS) -fprofile-generate' ; |
|
|
stage_libcflags='$(STAGE2_LIBCFLAGS)' ; }; |
|
| 572 |
bootstrap_stage = { |
bootstrap_stage = { |
| 573 |
id=feedback ; prev=profile ; |
id=feedback ; prev=profile ; |
| 574 |
bootstrap_target=profiledbootstrap ; |
bootstrap_target=profiledbootstrap ; }; |
|
stage_configure_flags="@stage2_werror_flag@" ; |
|
|
stage_cflags='$(STAGE3_CFLAGS) -fprofile-use' ; |
|
|
stage_libcflags='$(STAGE3_LIBCFLAGS) -fprofile-use' ; }; |
|