aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
AgeCommit message (Collapse)AuthorFilesLines
2005-11-11 * Makefile.def: Remove gdb dependencies for gdbtk.Daniel Jacobowitz1-0/+4
* Makefile.tpl (CONFIGURE_GDB_TK, INSTALL_GDB_TK): New variables. (configure-gdb, install-gdb): New rules. * configure.in: Set CONFIGURE_GDB_TK and INSTALL_GDB_TK. * Makefile.in, configure: Regenerated.
2005-10-222005-10-22 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-7/+15
PR bootstrap/24297 * Makefile.tpl (do-[+make-target+], do-check, install, stage[+id+]-bubble, [+compare-target+]): Ensure $$r and $$s are set before recursing. * Makefile.in: Regenerate.
2005-10-06 * Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET.Daniel Jacobowitz1-0/+19
* Makefile.tpl (BASE_TARGET_EXPORTS): Add OBJDUMP. (OBJDUMP_FOR_TARGET, CONFIGURED_OBJDUMP_FOR_TARGET) (USUAL_OBJDUMP_FOR_TARGET): New. (EXTRA_TARGET_FLAGS): Add OBJDUMP. * configure.in: Check for $OBJDUMP_FOR_TARGET. * configure, Makefile: Regenerated.
2005-10-052005-10-05 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-0/+5
* Makefile.tpl (all) [gcc-no-bootstrap]: Make prebootstrap packages before other host packages.
2005-10-052005-10-05 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-40/+90
PR bootstrap/22340 * configure.in (default_target): Remove. * Makefile.tpl (all): Do not use prerequisites as subroutines (all) [gcc-bootstrap]: Bootstrap gcc first if it was not done yet. (do-[+make_target+], check, install, [+bootstrap_target+]): Do not use prerequisites as subroutines. (check-host, check-target): New. (bootstrap configure & all targets): Do not use stage*-start if the directory layout is already ok. (non-bootstrap configure & all targets): Prepend a $(unstage). (stage[+id+]-bubble): Do that here. Do not use NOTPARALLEL. (NOTPARALLEL): Remove. (unstage, stage variables): New variables. (unstage, stage targets): Simply expand to those variables. * configure: Regenerate. * Makefile.in: Regenerate.
2005-09-29Index: ChangeLogGeoffrey Keating1-0/+32
2005-09-28 Geoffrey Keating <geoffk@apple.com> * Makefile.tpl (BASE_TARGET_EXPORTS): Add LIPO, STRIP. (LIPO_FOR_TARGET): New. (CONFIGURED_LIPO_FOR_TARGET): New. (USUAL_LIPO_FOR_TARGET): New. (STRIP_FOR_TARGET): New. (CONFIGURED_STRIP_FOR_TARGET): New. (USUAL_STRIP_FOR_TARGET): New. * Makefile.def (flags_to_pass): Add LIPO_FOR_TARGET and STRIP_FOR_TARGET. * configure.in: Set LIPO_FOR_TARGET, STRIP_FOR_TARGET, CONFIGURED_LIPO_FOR_TARGET, CONFIGURED_STRIP_FOR_TARGET. * Makefile.in: Regenerate. * configure.in: Regenerate. Index: gcc/ChangeLog 2005-09-28 Geoffrey Keating <geoffk@apple.com> * Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET. (stage1-start): Delete old libgcc and libunwind before moving anything into the stage directory. (stage2-start): Likewise. (stage3-start): Likewise. (stage4-start): Likewise. (stageprofile-start): Likewise. (stagefeedback-start): Likewise. * config.gcc (*-*-darwin*): Automatically use CPU-specific darwin.h header in tm_file and CPU-specific t-darwin in tmake_file. (i[34567]86-*-darwin*): Don't change tm_file. (powerpc-*-darwin*): Don't change tm_file or tmake_file. * config/darwin.h (REAL_LIBGCC_SPEC): Rewrite to use proper libgcc shared library stub for target OS version. * config/t-slibgcc-darwin (SHLIB_SOLINK): Delete. (SHLIB_LINK): Don't make SHLIB_SOLINK. (SHLIB_INSTALL): Don't install SHLIB_SOLINK. (libgcc_s.%.dylib): New. (LIBGCC): Define. (install-darwin-libgcc-stubs): New. (INSTALL_LIBGCC): New append. * config/i386/darwin-libgcc.10.4.ver: New. * config/i386/darwin-libgcc.10.5.ver: New. * config/i386/t-darwin: New. * config/rs6000/darwin-libgcc.10.4.ver: New. * config/rs6000/darwin-libgcc.10.5.ver: New. * config/rs6000/darwin.h (REAL_LIBGCC_SPEC): Delete. * config/rs6000/t-darwin (SHLIB_VERPFX): Define.
2005-08-172005-08-17 Christian Groessler <chris@groessler.org>Christian Groessler1-1/+1
* Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash. * Makefile.in: Regenerate.
2005-08-082005-08-08 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-26/+79
* configure.in (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET, GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Find them with NCN_STRICT_CHECK_TARGET_TOOL, like the other target tools; remove code to manually set them. (Target tools): Look in the environment for them. * Makefile.tpl (CC_FOR_TARGET, CXX_FOR_TARGET, GCJ_FOR_TARGET, GCC_FOR_TARGET, RAW_CXX_FOR_TARGET, GFORTRAN_FOR_TARGET): Redefine. (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): Look into gcc build directory. (CONFIGURED_CC_FOR_TARGET, CONFIGURED_CXX_FOR_TARGET, CONFIGURED_GCJ_FOR_TARGET, CONFIGURED_GCC_FOR_TARGET, CONFIGURED_GFORTRAN_FOR_TARGET, USUAL_CC_FOR_TARGET, USUAL_CXX_FOR_TARGET, USUAL_GCJ_FOR_TARGET, USUAL_GCC_FOR_TARGET, USUAL_RAW_CXX_FOR_TARGET, USUAL_GFORTRAN_FOR_TARGET): New. (CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, RECURSE_FLAGS): Delete. * configure: Regenerate. * Makefile.in: Regenerate.
2005-07-27 * Makefile.tpl (EXTRA_TARGET_FLAGS): Set LDFLAGS=LDFLAGS_FOR_TARGET.Mark Mitchell1-0/+1
* Makefile.def (flags_to_pass): Add LDFLAGS_FOR_TARGET. * Makefile.in: Regenerated.
2005-07-27 * config/mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.Mark Mitchell1-2/+3
* Makefile.tpl (SYSROOT_CFLAGS_FOR_TARGET): New variable. (CFLAGS_FOR_TARGET): Use it. (CXXFLAGS_FOR_TARGET): Likewise. * Makefile.in: Regenerated. * configure.in (--with-build-sysroot): New option. * configure: Regenerated.
2005-07-242005-07-24 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-1/+1
* Makefile.tpl: Wrap install between unstage and stage * Makefile.in: Regenerate.
2005-07-162005-07-16 Kelley Cook <kcook@gcc.gnu.org>Kelley Cook1-1/+1
* all files: Update FSF address.
2005-07-112005-07-11 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-1/+1
PR ada/22340 * Makefile.def: Sync with gcc. * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Fix pasto. * Makefile.in: Regenerate.
2005-07-07 * Makefile.def (flags_to_pass): Add CFLAGS_FOR_BUILD.Andreas Schwab1-1/+0
* Makefile.tpl (EXTRA_GCC_FLAGS): Don't pass CFLAGS_FOR_BUILD here. * Makefile.in: Regenerated.
2005-06-232005-06-22 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-23/+9
* Makefile.def (stagefeedback): Come after profile. Define profiledbootstrap target. * Makefile.tpl (profiledbootstrap): Remove. (stageprofile-end): Zap stagefeedback. (stagefeedback-start): Copy all .gcda files, not only GCC's. * Makefile.in: Regenerate.
2005-05-252005-05-25 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-5/+27
* Makefile.tpl (stage[+id+]-start): Iterate over target module as well. (Dependencies): Consider target modules for bootstrap dependencies. Make target bootstrap modules depend on each stage's gcc. * Makefile.in: Regenerate.
2005-05-042005-05-04 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-68/+74
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from STAGE_HOST_EXPORTS. (configure, all): Add bootstrap support. (Host modules, target modules): Pass post-stage1 flags and exports. (Top-level bootstrap): Remove bootstrap rules, expanded elsewhere. * Makefile.in: Regenerate.
2005-04-062005-04-06 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-121/+74
* Makefile.tpl (BUILD_CONFIGARGS): Include --with-build-subdir. (TARGET_CONFIGARGS): Include --with-target-subdir. (configure, all): New macros. Use them throughout.
2005-04-052005-04-05 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-74/+121
* Makefile.tpl: Sync with gcc. * Makefile.in: Regenerate.
2005-03-302005-02-28 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-171/+113
* Makefile.def (bfd, opcodes, libstdc++-v3, libmudflap): Set lib_path. * Makefile.tpl (SET_LIB_PATH, REALLY_SET_LIB_PATH): Remove. (HOST_EXPORTS, STAGE_HOST_EXPORTS, TARGET_EXPORTS): Set $(RPATH_ENVVAR). (HOST_LIB_PATH): Generate from Makefile.def. (TARGET_LIB_PATH): Likewise. (Old bootstrap targets): Include TARGET_LIB_PATH into RPATH_ENVVAR. * Makefile.in: Regenerate. * configure.in (set_lib_path, SET_LIB_PATH, SET_GCC_LIB_PATH): Remove. (RPATH_ENVVAR): Include Darwin case. * configure: Regenerate. config: 2005-02-28 Paolo Bonzini <bonzini@gnu.org> * config/gcc-lib-path.m4: Remove.
2005-03-22top:Zack Weinberg1-10/+1
* Makefile.def: Remove libstdcxx_incdir, libsubdir, gxx_include_dir, gcc_version, and gcc_version_trigger from set of flags to pass. * Makefile.tpl: Remove definitions of above variables. (config.status): Remove dependency on $(gcc_version_trigger). * Makefile.in: Regenerate. * configure.in: Do not reference config/gcc-version.m4 nor config/gxx-include-dir.m4. Do not invoke TL_AC_GCC_VERSION nor TL_AC_GXX_INCLUDE_DIR. Do not set gcc_version_trigger. * configure: Regenerate. config: * gxx-include-dir.m4: In all substitutions, leave $(gcc_version) to be expanded by the Makefile.
2005-03-16* Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi.DJ Delorie1-1/+1
* Makefile.in: Regenerate.
2005-02-282005-02-28 Andrew Pinski <pinskia@physics.uc.edu>Paolo Bonzini1-1/+1
PR bootstrap/20250 * Makefile.tpl (HOST target installs): Fix copy and pasto, use install instead of check. * Makefile.in: Regenerate.
2005-02-282005-02-28 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-125/+84
Sync from gcc. 2005-02-28 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/17383 * Makefile.def (target_modules): Remove "stage", now unnecessary. * Makefile.tpl (HOST_SUBDIR): New substitution. (STAGE_HOST_EXPORTS, EXPECT, HOST_LIB_PATH, USUAL_AR_FOR_TARGET, USUAL_AS_FOR_TARGET, USUAL_DLLTOOL_FOR_TARGET, USUAL_GCC_FOR_TARGET, USUAL_LD_FOR_TARGET, USUAL_NM_FOR_TARGET, USUAL_OBJDUMP_FOR_TARGET, USUAL_RANLIB_FOR_TARGET, USUAL_WINDRES_FOR_TARGET): Use it. (Host modules, Bootstrapped modules): Use it. (Build modules, Target modules): Do not create symlink trees, always configure out-of-srcdir. (distclean): Try removing $(host_subdir) with rm before using rm -rf. * configure.in (FLAGS_FOR_TARGET, CC_FOR_TARGET, GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET): Use $(HOST_SUBDIR). Create a symlink for host_subdir. * Makefile.in: Regenerate. * configure: Regenerate. Merged from libada-gnattools-branch: 2004-11-28 Nathanael Nerode <neroden@gcc.gnu.org> * Makefile.def: Add gnattools as a module, depending on target-libada. * Makefile.in: Regenerate. * configure.in: Include gnattools in host_tools; disable it if ada is disabled. * configure: Regenerate. config: 2005-02-28 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/17383 * acx.m4 (GCC_TOPLEV_SUBDIRS): Set HOST_SUBDIR if an in-src gcc build is going.
2005-01-192005-01-13 Kelley Cook <kcook@gcc.gnu.org>Kelley Cook1-1/+1
PR bootstrap/18222 * Makefile.def: Pass CPPFLAGS_FOR_TARGET. * Makefile.tpl: Define target CPPFLAGS on CPPFLAGS_FOR_TARGET. * Makefile.in: Regenerate.
2005-01-032005-01-03 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-36/+38
Revert 2004-12-28 Makefile changes, a better fix will be applied to mainline and src after GCC 4.0 branches.
2004-12-282004-12-28 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-38/+36
PR bootstrap/17383 * Makefile.def (target_modules): Remove stage parameter, it is always true now. * Makefile.tpl (configure-build-[+module+], configure-target-[+module+]): Always build symlink tree for the directory and for include. BUILD_SUBDIR and TARGET_SUBDIR cannot be . anymore. * Makefile.in: Regenerate.
2004-12-27Revert 2004-12-08 Makefile changes.DJ Delorie1-2/+0
2004-12-08 * Makefile.def (flags_to_pass): Add PICFLAG_FOR_TARGET.David Edelsohn1-0/+2
* Makefile.tpl (EXTRA_HOST_FLAGS): Add PICFLAG. (EXTRA_TARGET_FLAGS): Add PICFLAG. * Makefile.in: Regenerate.
2004-12-08* Makefile.tpl: Generate normal dependencies if the LHS module isDJ Delorie1-3/+4
not bootstrapped. * Makefile.in: Regenerate.
2004-12-022004-12-02 Eric Christopher <echristo@redhat.com>Eric Christopher1-0/+1
* Makefile.tpl (clean-target-libgcc): Add stmp-dirs to list of things to remove. * Makefile.in: Regenerate.
2004-11-13 * Makefile.def: Add html support.Mike Stump1-1/+2
* Makefile.tpl: Likewise. * Makefile.in: Regenerate.
2004-10-062004-10-06 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-7/+3
Fix wrong conflict resolution in: 2004-08-16 Paolo Bonzini <bonzini@gnu.org> * Makefile.in: Regenerate. * Makefile.tpl (Autogenerated `all-*' targets): Invoke $(TARGET-*) in the recursive `make', instead of hardwiring `all'. (Autogenerated TARGET-* variables): New.
2004-09-242004-09-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-2/+7
* Makefile.tpl (REALLY_SET_LIB_PATH): Add @SET_GCC_LIB_PATH@. (HOST_EXPORTS]): Add @SET_GCC_LIB_PATH@. Set and export SET_GCC_LIB_PATH_CMD. (BASE_TARGET_EXPORTS): Likewise. * Makefile.in: Regenerated. * configure.in (SET_GCC_LIB_PATH): Set and substitute. * configure: Regenerated. config/ 2004-09-23 H.J. Lu <hongjiu.lu@intel.com> * gcc-lib-path.m4: New file.
2004-09-102004-09-09 Daniel Berlin <dberlin@dberlin.org>Daniel Berlin1-1/+1
* Makefile.def: Remove libbanshee. * Makefile.tpl: Ditto. * configure.in: Ditto. * Makefile.in: Regen. * configure: Ditto.
2004-09-012004-09-01 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-16/+36
* Makefile.tpl (sorry): Remove. (clean-stage[+id+], clean-stage[+id+]-module): New targets. (cleanstrap targets): Depend on distclean, not distclean-stage1. (do-clean): Clean per-stage directories too. (do-distclean): Run distclean-stage1 too. (.NOTPARALLEL): Enable during toplevel bootstrap. (stage[+id+]-bubble): Enable parallel execution during the recursive invocation. * Makefile.in: Regenerate. Sync from gcc (moving the Makefile.in change to Makefile.tpl): 2004-08-31 Robert Bowdidge <bowdidge@apple.com> * Makefile.in: Move BOOT_CFLAGS above host makefile fragment include. * configure.in: add test for powerpc-*-darwin* to specify makefile frag * configure: regenerate * config/mh-ppc-darwin: create file, override BOOT_CFLAGS for -mdynamic-no-pic
2004-08-302004-08-26 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-56/+32
* Makefile.def (bootstrap stages): Add 'lean' parameter. * Makefile.tpl (configure-stageN-*, all-stageN-*): Turned into phony targets; do not generate timestamp files. (distclean-stageN): Remove references to their timestamp files. (restageN, touch-stageN): Remove. (stageN-bubble): Rewritten. (compare): Support lean bootstraps. * Makefile.in: Regenerate. * configure.in: Only warn when bootstrapping but build != host or build != target. Support lean bootstraps. * configure: Regenerate. Sync from gcc: 2004-08-26 Phil Edwards <phil@codesourcery.com> * configure.in: Give a better error message if GMP/MPFR are missing and a language needing them has been requested. * configure: Regenerated. 2004-08-25 Phil Edwards <phil@codesourcery.com> * configure.in: Print a list of available language front-ends if a requested one is missing. Tidy stray tab characters. * configure: Regenerated.
2004-08-182004-08-17 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-119/+122
* Makefile.in: Regenerate. * configure: Regenerate. * Makefile.def (bootstrap-stage): Rename extra_*_flags to stage_*_flags. * Makefile.tpl (configure-[+module+], all-[+module+]): Exit for bootstrapped modules if toplevel bootstrap is going. (GCC bootstrap): Generate per-stage targets for all bootstrapped modules. Adjust for changes in Makefile.def. Enable several rules even in non-bootstrap mode, just to avoid peppering the template with unnecessary "@if/@endif gcc-bootstrap" pairs. (stage-[+prev+]-bubble): Remove. * Makefile.def (Dependencies): Depend on all-build-bison, all-build-flex, all-build-byacc, all-build-texinfo, rather than the host variations. * Makefile.tpl (BUILD_DIR_PREFIX): Remove. Replace throughout with BUILD_SUBDIR. (BISON): Update for recent Bisons. (YACC): Fix typo. (cross): Depend on all-build. (all): Do not depend on all-build. (prebootstrap): Remove. (dep-kind): Accept separate prefixes for MODULE and ON variables. (Prebootstrap dependencies): Add them to the per-stage targets and to all-prebootstrap. * configure.in (build_configdirs): Always enable build_tools. (BUILD_DIR_PREFIX): Remove. * Makefile.def (gcc): Add target variable. (gdb, expect, guile, tk, tix): Replace with_x with extra_make_flags. * Makefile.tpl (Autogenerated `all-*' targets): Invoke $(TARGET-*) in the recursive `make', instead of hardwiring `all'. (Autogenerated TARGET-* variables): New.
2004-08-062004-08-06 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-120/+121
* Makefile.def (bfd, opcodes, gcc, zlib): Mark as bootstrap module. (bison, byacc, flex, texinfo): Do not mark as bootstrap module. (Dependencies): New section. * Makefile.tpl (Dependencies): Generate from Makefile.def. (configure-target-[+module+]): Depend on maybe-all-gcc (all-prebootstrap): New name of all-bootstrap. Changed throughout. (toplevel profiledbootstrap): Fix dependencies. * Makefile.in: Regenerate.
2004-08-032004-08-03 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-148/+49
* Makefile.def (host-modules): Add gcc. * Makefile.in: Regenerate. * Makefile.tpl (sorry): New rule. (configure-host, all-host, [+make_target+]-host, do-check, install-host): Do not add gcc as a special case. (host modules): Add a small special-casing for gcc. Export extra_make_flags through the environment. (maybe-configure-gcc, configure-gcc, maybe-all-gcc, all-gcc, maybe-check-gcc, check-gcc, maybe-install-gcc, install-gcc, other recursive targets for gcc): Remove. (all, do-[+make_target+], do-check): Wrap between unstage and stage. (stage, unstage): New rules. (stage[+id+]-start, stage[+id+]-end, [+compare-target+], distclean-stage[+id+]): Use stage_current. ([+bootstrap-target+], profiledbootstrap): Do not invoke manually the stage*-start rules.
2004-07-122004-07-12 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-6/+6
* configure.in: Add noconfigdirs for crx-*-*. * configure: Regenerate. 2004-07-09 Loren J. Rittle <ljrittle@acm.org> * configure.in: Build libmudflap by default on FreeBSD. * configure: Regenerated. 2004-07-09 Mark Mitchell <mark@codesourcery.com> * configure.in: Do not build libmudflap by default on non-GNU/Linux systems. * configure: Regenerated. 2004-07-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR target/16344 * Makefile.tpl (profiledbootstrap): Build runtime libraries with feedback based compiler. * Makefile.in: Rebuilt. 2004-07-05 Phil Edwards <phil@codesourcery.com> * configure.in: Do not prepend $srcdir to /dev/null in makefile fragments. * configure: Regenerate.
2004-07-08* Makefile.def (host_modules): Set bootstrap=true for flex.Alexandre Oliva1-1/+1
* Makefile.tpl (all-gcc): Depend on texinfo and flex. * Makefile.in: Rebuilt.
2004-07-022004-07-01 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-36/+65
* Makefile.def (build_modules): Add bison, byacc, flex, m4, texinfo. (flags_to_pass): Add FLEX. * Makefile.tpl (BUILD_DIR_PREFIX, BASE_EXPORTS): New. (BUILD_EXPORTS, HOST_EXPORTS, BASE_TARGET_EXPORTS): Include it. (DEFAULT_YACC, USUAL_YACC, DEFAULT_LEX, USUAL_LEX, DEFAULT_M4, DEFAULT_MAKEINFO): Remove. (CONFIGURED_YACC, CONFIGURED_FLEX, CONFIGURED_BISON, CONFIGURED_LEX, CONFIGURED_M4, CONFIGURED_MAKEINFO): Substitute. (YACC, FLEX, BISON, LEX, M4, MAKEINFO): Define to look into objdir or else use configured tool. (all-build): New. (all): Depend on it. (Build module dependencies): Add. * Makefile.in: Regenerate. * configure.in: Better support for multiple build modules, matching what is done for host/target modules. Do not look for "plausible" locations of build tools if Canadian cross. Use autoconf's AC_PROG_CC to find a C compiler. Define BUILD_DIR_PREFIX. Look for flex, makeinfo and m4. * configure: Regenerate.
2004-06-232004-06-22 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-1/+1
* Makefile.tpl (HOST_EXPORTS): Fix pasto. * Makefile.in: Regenerate.
2004-06-232004-06-22 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-35/+31
* Makefile.tpl (configure-build-[+module+], configure-[+module+], configure-target-[+module+]): Pass [+extra_configure_args+]. (all-build-[+module+], all-[+module+], check-[+module+], install-[+module+], [+make_target+]-[+module+], all-target-[+module+], check-target-[+module+], install-target-[+module+], [+make_target+]-target-[+module+]): Pass [+extra_make_args+]. (HOST_EXPORTS): Include the former GCC_HOST_EXPORTS. (GCC_HOST_EXPORTS): Remove. (configure-gcc, all-gcc, GCC_STRAP_TARGETS, profiledbootstrap, cross, check-gcc, check-gcc-c++, install-gcc, gcc-no-fixedincludes, [+make_target+]-gcc, stage[+id+]-bubble): Replace GCC_HOST_EXPORTS with HOST_EXPORTS. * Makefile.in: Regenerate.
2004-06-092004-06-09 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-22/+69
* Makefile.tpl (touch-stage[+id+]): New. (restage[+prev+]): Depend on touch-stage[+id+]. * Makefile.tpl (RECURSE_FLAGS_TO_PASS): New. Use it throughout. * Makefile.def: Add profile and feedback bootstrap stages. Remove next field from bootstrap stages. * Makefile.tpl (LN, LN_S): Substitute. (stageN-start, stageN-end): Use double-colon rules, to provide a hook for additional setup commands. (distclean-stageN-gcc, restageN): Create dependencies from [+prev+], not from [+next+]. (stageN-bubble): Add commands for successive stages from [+prev+], using double-colon rules. (all-stageN-gcc): Fix typo. (stagefeedback-start, profiledbootstrap): New. * Makefile.in: Regenerate. * configure.in: Call ACX_PROG_LN. * configure: Regenerate. config/ChangeLog: 2004-06-09 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_PROG_LN): From gcc, modified to accept a parameter.
2004-06-012004-06-01 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-1/+1
* Makefile.tpl: Fix typo. * Makefile.in: Regenerate.
2004-06-012004-06-01 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-32/+34
* Makefile.tpl (all.normal): Rename to all. (all): Replace with a rule to pick the default target from configure. (all-gcc, configure-gcc): Use conditionals to do nothing when toplevel bootstrap is going on. (GCC directory bootstrap) [gcc-bootstrap]: Disable. (Toplevel bootstrap) [gcc-no-bootstrap]: Disable. * configure.in: Support --enable-bootstrap. * Makefile.def: Remove new- prefix from toplevel bootstrap targets. * Makefile.tpl: Likewise. * Makefile.def: Add bootstrap_stage 4. Add bootstrap2 target. * Makefile.tpl (Toplevel bootstrap): Pass $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) to recursive invocation of make. * Makefile.in: Regenerate. * configure: Regenerate.
2004-05-25* Makefile.tpl (BUILD_EXPORTS, HOST_EXPORTS, GCC_HOST_EXPORTS)DJ Delorie1-99/+139
(STAGE_HOST_EXPORTS, BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS) (NORMAL_TARGET_EXPORTS): New macros. Use them in all the recursive targets. * Makefile.in: Regenerate.
2004-05-242005-05-24 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-219/+120
* configure.in: Test the ability to symlink directories. * configure: Regenerate. * Makefile.def (bootstrap-stage): New definitions. * Makefile.tpl (configure-stage1-gcc, configure-stage2-gcc, configure-stage3-gcc, all-stage1-gcc, all-stage2-gcc, all-stage3-gcc, new-bootstrap, new-cleanstrap, new-restage1, new-restage2, new-restage3, compare): Autogenerate, see Makefile.in entry for behavioral changes. (distclean-stage1, new-stage1-start, new-stage1-end, new-stage1-bubble, distclean-stage2, new-stage2-start, new-stage2-end, new-stage2-bubble, distclean-stage3, new-stage3-start, new-stage3-end): New autogenerated targets. (objext, prebootstrap, BOOT_CFLAGS, POSTSTAGE1_FLAGS_TO_PASS): Move above the autogenerated targets. * Makefile.in: Regenerate. (distclean-stage1, new-stage1-start, new-stage1-end, new-stage1-bubble, distclean-stage2, new-stage2-start, new-stage2-end, new-stage2-bubble, distclean-stage3, new-stage3-start, new-stage3-end): New targets. (all-stage1-gcc): Move prebootstrap dependency from here... (configure-stage1-gcc): ...to here. (new-bootstrap): Use bubble targets. (new-cleanstrap, new-restage1, new-restage2, new-restage3): Use per-stage distclean targets. (configure-stage1-gcc, configure-stage2-gcc, configure-stage3-gcc, all-stage1-gcc, all-stage2-gcc, all-stage3-gcc, new-bootstrap): Use new-stageN-start to prepare the tree.