aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
AgeCommit message (Collapse)AuthorFilesLines
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.
2004-05-242004-05-23 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-2/+4
* Makefile.def (host_modules): add libcpp. * Makefile.tpl: Add dependencies on and for libcpp. * Makefile.in: Regenerate. * configure.in: Add libcpp host module. * configure: Regenerate. config/ChangeLog: 2004-05-23 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (ACX_HEADER_STDBOOL, ACX_HEADER_STRING): From gcc.
2004-05-212004-05-21 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-4/+51
* Makefile.tpl: Whenever a recursive target is defined, wrap it in a special @if/@endif block, and prepare its maybe dependency in the @if/@endif block * configure.in: Instead of writing maybe dependencies, remove the @if/@endif statements, and remove the @if/@endif blocks that remain. * configure: Regenerate. * Makefile.in: Regenerate.
2004-05-18 * Makefile.def, Makefile.tpl, configure.in: Remove all mentionZack Weinberg1-2/+0
of libf2c. * configure, Makefile.in: Regenerate.
2004-05-13merge from gccDJ Delorie1-4/+14
2004-04-27merge from gcc:DJ Delorie1-10/+36
2004-04-27 Paolo Bonzini <bonzini@gnu.org> Revert: 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (flags_to_pass): Remove *dir variables that are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS, as well as prefix and exec_prefix. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (host_modules): Mark with the bootstrap flag packages on which gcc depends. * Makefile.tpl (all-bootstrap): Use it. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * Makefile.def (flags_to_pass): Remove *dir variables that are passed to the modules via TOPLEVEL_CONFIGURE_ARGUMENTS, as well as prefix and exec_prefix. * Makefile.in: Regenerate. 2004-04-26 Paolo Bonzini <bonzini@gnu.org> * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL. * configure: Regenerate. * config/acx.m4: Mutuate ACX_PROG_CMP_IGNORE_INITIAL from gcc. * gcc/Makefile.tpl (compare): Use the result of the test. * gcc/Makefile.in: Regenerate. 2004-04-23 Paolo Bonzini <bonzini@gnu.org> * Makefile.tpl (all-stage1-gcc, all-stage2-gcc, all-stage3-gcc): Always relocate gcc and prev-gcc to the original names, even if the build fails. (new-cleanstrap, new-restage1, new-restage2, new-restage3): New targets.
2004-04-16Fix LDFLAGS related configure errors.Jim Wilson1-0/+5
* Makefile.tpl (configure-[+module+], configure-gcc, configure-stage1-gcc, configure-stage2-gcc, configure-stage3-gcc): Set and export LDFLAGS. * Makefile.in: Regenerate.
2004-04-092004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode1-7/+14
PR bootstrap/14871 * Makefile.tpl: If we don't have built-in-tree target tools, use the ones found by configure rather than hacking around with program_transform_name. * configure.in: Give Makefile.tpl the information necessary to do that. * Makefile.in: Regenerate. * configure: Regenerate. 2004-04-06 Nathanael Nerode <neroden@gcc.gnu.org> PR bootstrap/14760 * configure.in: When computing baseargs, strip *all* copies of offending options. Also, don't match/substitute the trailing space, so that this actually works when two similar options are separated by only one space. * configure: Regenerate. 2004-04-06 David Edelsohn <edelsohn@gnu.org> * configure.in (powerpc-*-aix*): Remove target-libada from noconfigdirs. (rs6000-*-aix*): Same. * configure: Regenerate.
2004-03-25 * Makefile.tpl (top level bootstrap support): Remove now-unneededNathanael Nerode1-3/+1
STRICT_WARN, WARN_CFLAGS flags passed down to make. * Makefile.in: Regenerate.
2004-03-24 * configure.in (top level bootstrap support): Rework --enable-werrorNathanael Nerode1-2/+4
to set @stage2_werror_flag@. * configure: Regenerate. * Makefile.tpl (top level bootstrap support): Pass @stage2_werror_flag@ down to configure in stages 2 and 3. * Makefile.in: Regenerate.
2004-03-242004-03-23 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode1-7/+6
* Makefile.tpl (new-bootstrap): Set CC and CC_FOR_BUILD in configure for stages 2 and 3 as well as in make. As a consequence, remove OUTPUT_OPTION (now detected by configure) from the flags passed down to make. * Makefile.in: Regenerate. * Makefile.tpl (new-bootstrap): Fix typo. * Makefile.in: Regenerate.
2004-03-22 * Makefile.tpl: Rearrange by moving recursive_targets rulesNathanael Nerode1-97/+116
into their proper sections. * Makefile.tpl (top level bootstrap support): Move disabling of coverage flags from 'make' to 'configure'; improve comments. * Makefile.in: Regenerate. * Makefile.tpl (experimental top level bootstrap) Move stage1 language setting from all- target to configure- target; disable intermodule optimization in stage 1; prevent gratuitous rebuilds of stage 1. * Makefile.in: Regenerate. * configure.in: Comma-separate stage 1 language list for top level bootstrap. * configure: Regenerate. * Makefile.tpl: Clean up experimental top level bootstrap support: note known problems; set CONFIG_SHELL; don't set BUILD_CC; relocate prev-gcc in configure- targets as well as all- targets. * Makefile.in: Regenerate.
2004-03-172004-03-17 Paolo Bonzini <bonzini@gnu.org>Nathanael Nerode1-1/+0
* configure.in: Remove symbolic link section. * configure: Regenerate. * Makefile.tpl (links): Remove. * Makefile.in: Regenerate.
2004-03-162004-03-15 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode1-5/+272
* Makefile.tpl: Introduce experimental top level bootstrap support. * Makefile.in: Regenerate. * configure.in: Introduce support for top level bootstrap. * configure: Regenerate.
2004-02-28 PR bootstrap/7087Nathanael Nerode1-9/+10
* Makefile.tpl: Guard XFOO sed statements better. * Makefile.tpl: Add dependency for configure-target-libada. * Makefile.in: Regenerate (incidentally fixes broken commit when libada-branch was merged).
2004-01-14* Makefile.def (target_modules) [libtermcap, libiberty, zlib]: Stage.DJ Delorie1-4/+4
* Makefile.tpl (configure-target-[+module+]): Support stage. * Makefile.in: Rebuilt.
2004-01-05 * configure.in: Use ./config.cache, not config.cache.Nathanael Nerode1-1/+1
* configure: Regenerate. * Makefile.tpl: Special-casing not needed for GCC any more. * Makefile.in: Regenerate.
2004-01-03 * Makefile.tpl: Make GCC use a separate config.cache.Nathanael Nerode1-1/+4
* Makefile.in: Regenerate.
2003-12-192003-12-19 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode1-1/+6
Port change over from GCC: 2003-11-20 Kelley Cook <kcook@gcc.gnu.org> * Makefile.tpl (BASE_FLAGS_TO_PASS): Pass along CONFIG_SHELL. (configure-build-[+module+], configure-[+module+]): Likewise. (configure-target-[+module+], configure-gcc, config.status): Likewise. * Makefile.in: Regenerate.
2003-11-19* Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS.DJ Delorie1-1/+2
* Makefile.in: Regenerate.
2003-10-13 * Makefile.tpl: Make GCC_FLAGS_TO_PASS a superset ofNathanael Nerode1-7/+1
HOST_FLAGS_TO_PASS. * Makefile.in: Regenerate.
2003-10-082003-10-05 Mohan Embar <gnustuff@thisiscool.com>DJ Delorie1-1/+1
* configure.in: Allow explicit specification of CFLAGS_FOR_BUILD. * configure: Rebuilt * Makefile.tpl: Use CFLAGS_FOR_BUILD computed by configure * Makefile.in: Rebuilt
2003-09-20 * Makefile.tpl: Don't pass down obsolete ENQUIRE variable.Nathanael Nerode1-3/+0
* Makefile.in: Regenerate. * Makefile.tpl: Don't pass (unused) DLLTOOL or WINDRES to gcc. * Makefile.in: Regenerate.
2003-08-02 Merge from gcc:Nathanael Nerode1-5/+3
2003-08-01 Matt Kraai <kraai@alumni.cmu.edu> * Makefile.tpl (check, check-c++): Express dependencies using dependencies rather than commands. * Makefile.in: Regenerate. 2003-07-31 Geoffrey Keating <geoffk@apple.com> * Makefile.tpl (libsubdir): Use gcc instead of gcc-lib. * Makefile.in: Update.
2003-07-28 * Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' whenNathanael Nerode1-6/+3
creating target and build subdirs to build all parent dirs as needed. * Makefile.in: Rebuild. * configure.in: Don't build dirs explicitly here. * configure: Rebuild.
2003-07-22* Makefile.tpl (all-make): Depend on intl.Alexandre Oliva1-1/+1
* Makefile.in: Rebuilt.
2003-07-13 * Makefile.tpl: Set INSTALL and friends using autoconf. RemoveNathanael Nerode1-11/+8
unused INSTALL_PROGRAM_ARGS. * configure.in: Use AC_PROG_INSTALL. * Makefile.in: Regenerate. * configure: Regenerate.
2003-07-062003-07-06 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-62/+64
* config-ml.in: Replace PWD with PWD_COMMAND. * Makefile.tpl: Likewise. * Makefile.in: Regenerated.
2003-06-23 * Makefile.tpl: Add maybe-configure-itcl to configure-gdb.Keith Seitz1-1/+1
* Makefile.in: Regenerate.
2003-06-23 * Makefile.def: Introduce flags_to_pass.Nathanael Nerode1-64/+3
* Makefile.tpl: Generate BASE_FLAGS_TO_PASS using it. * Makefile.in: Regenerate.
2003-06-17 (sync with gcc)Nathanael Nerode1-2/+0
* Makefile.tpl: Remove BUILD_CC stuff. * Makefile.in: Regenerate.
2003-06-12Merge these:DJ Delorie1-8/+2
2003-06-11 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> * configure.in: Don't pass --with-stabs for mips*-sgi-irix6*o32. * configure. Regenerate. 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org> * configure.in: Disable serial configure by default. * configure: Regenerate. * Makefile.tpl: Abolish .NOTPARALLEL. * Makefile.in: Regenerate.
2003-06-10 * Makefile.tpl: Replace {build,host,target}_canonical byNathanael Nerode1-20/+11
{build,host,target}. * Makefile.in: Regenerate.
2003-06-10 * Makefile.tpl: Fix stupid pasto.Nathanael Nerode1-1/+1
* Makefile.in: Regenerate.
2003-06-10 * Makefile.tpl: Remove bogus conditional.Nathanael Nerode1-24/+37
* Makefile.in: Regenerate.
2003-06-03 * Makefile.tpl: Make 'recursive targets' using autogen ratherNathanael Nerode1-94/+94
than shell loop. Remove duplicate 'clean' targets and false comments. * Makefile.def: Add systematic dependencies to 'recursive' targets. Add systematic method of specifying missing targets in subdirs. Add copyright boilerplate. * Makefile.in: Regenerate. * configure.in: Add 'recursive targets' to maybe list. * configure: Regenerate.
2003-06-03 * Makefile.tpl: Rename [+target+] to [+make_target+].Nathanael Nerode1-4/+4
* Makefile.def: Rename 'target' to 'make_target'.
2003-05-28* Makefile.tpl: Make maybe-check-gcc .PHONY.DJ Delorie1-1/+1
* Makefile.in: Regenerate.