aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
AgeCommit message (Collapse)Author
2007-03-02* configure.ac: Add "--with-pdfdir" configure option,Brooks Moses
which defines pdfdir variable. * Makefile.def (target=fixincludes): Add install-pdf to missing targets. (recursive_targets): Add install-pdf target. (flags_to_pass): Add pdfdir. * Makefile.tpl: Add pdfdir handling, add do-install-pdf target. * configure: Regenerate * Makefile.in: Regenerate git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@122467 138bc75d-0d04-0410-961f-82ee72b054a4
2007-02-09 * Makefile.tpl (build_alias, host_alias, target_alias): UseDaniel Jacobowitz
noncanonical equivalents. * configure.in: Rename to... * configure.ac: ...this. Update AC_PREREQ. Prevent error for AS_FOR_TARGET. Set build_noncanonical, host_noncanonical, and target_noncanonical. Use them. Rewrite removal of configure arguments for autoconf 2.59. Discard variable settings. Force program_transform_name for native tools. * Makefile.in: Regenerated. * configure: Regenerated with autoconf 2.59. * src-release (DEVO_SUPPORT, do-proto-toplev): Expect configure.ac. * acx.m4 (ACX_CHECK_INSTALLED_TARGET_TOOL): Avoid AC_PATH_PROG with an empty path. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@121751 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-31 * Makefile.tpl (LDFLAGS): Substitute it.Andreas Schwab
* Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@121441 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-232007-01-23 Richard Guenther <rguenther@suse.de>Richard Guenther
PR bootstrap/30541 * Makefile.def (flags_to_pass): Add GNATBIND and GNATMAKE. * Makefile.tpl (GNATBIND): Substitute it. (GNATMAKE): Likewise. (POSTSTAGE1_FLAGS_TO_PASS): Pass staged GNATBIND instead of STAGE_PREFIX. * Makefile.in: Regenerate. * configure: Regenerate. config/ * acx.m4 (ACX_PROG_GNAT): Check for gnatmake. libada/ * Makefile.in (STAGE_PREFIX): Do not define. (FLAGS_TO_PASS): Do not pass STAGE_PREFIX. gnattools/ * Makefile.in (STAGE_PREFIX): Do not define. ada/ * Make-lang.in: Replace invocations of gnatmake with $(GNATMAKE). (gnatboot2): Pass staged GNATMAKE instead of STAGE_PREFIX. (gnatboot3): Likewise. (GNATBIND): Do not define. * Makefile.in (GNATBIND): Do not define. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@121082 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-112007-01-11 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
Nick Clifton <nickc@redhat.com> Kaveh R. Ghazi <ghazi@caip.rutgets.edu> * configure.in (build_configargs, host_configargs, target_configargs): Remove build/host/target parameters. (host_libs): Add gmp and mpfr. (GMP tests): Reorganize to allow in-tree GMP/MPFR. * Makefile.def (gmp, mpfr): New. (gcc): Remove makefile target. * Makefile.tpl (build_os, build_vendor, host_os, host_vendor, target_os, target_vendor): New. (configure): Add host_alias/target_alias arguments. Adjust invocations. * configure: Regenerate. * Makefile.in: Regenerate. 2007-01-11 Matt Fago <fago@earthlink.net> * configure.in: Try to link to functions only in mpfr 2.2.x to improve robustness of configure tests. * configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@120671 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-05 * Makefile.tpl (all-target): Correct @if conditional for targetDaniel Jacobowitz
modules. * configure.in: Omit libiberty if building only target libgcc. * configure, Makefile.in: Regenerated. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@120494 138bc75d-0d04-0410-961f-82ee72b054a4
2007-01-04./Daniel Jacobowitz
* Makefile.def (target_modules): Add libgcc. (lang_env_dependencies): Remove default items. Use no_c and no_gcc. * Makefile.tpl (clean-target-libgcc): Delete. (configure-target-[+module+]): Emit --disable-bootstrap dependencies on gcc even for bootstrapped modules. Rewrite handling of lang_env_dependencies to loop over target_modules. * configure.in (target_libraries): Add target-libgcc. * Makefile.in, configure: Regenerated. gcc/ * config.gcc: Mention libgcc/config.host. * Makefile.in: Update comments mentioning libgcc. (LIBGCC, INSTALL_LIBGCC, GCC_PARTS, mklibgcc): Delete. (all.cross, start.encap, rest.encap, rest.cross): Update dependencies for libgcc move. (libgcc.mk, LIBGCC_DEPS, libgcov.a, libgcc.a, stmp-multilib) (clean-target, clean-target-libgcc): Delete. (srcdirify, GCC_EXTRA_PARTS): New macros. (libgcc-support, libgcc.mvars): New rules. (distclean): Remove mention of mklibgcc. (install): Don't reference INSTALL_LIBGCC. (install-common): Don't reference EXTRA_PARTS. (install-libgcc, install-multilib): Delete rules. * mklibgcc.in: Delete file. * doc/configfiles.texi: Don't mention mklibgcc. * config/i386/t-darwin (SHLIB_VERPFX): Delete (moved to libgcc). * config/i386/t-darwin64 (SHLIB_VERPFX): Likewise. * config/rs6000/t-darwin (SHLIB_VERPFX): Likewise. * config/rs6000/t-ppccomm (TARGET_LIBGCC2_CFLAGS, SHLIB_MAPFILES) (mklibgcc, ldblspecs): Likewise. * config/i386/t-nwld (libgcc.def, libc.def, libpcre.def) (posixpre.def): Use $(T). (SHLIB_EXT, SHLIB_NAME, SHLIB_SLIBDIR_QUAL, SHLIB_DEF, SHLIB_MAP) (SHLIB_SRC, SHLIB_INSTALL): Delete. (SHLIB_LINK): Make dummy. * config/t-slibgcc-darwin: Delete contents except for dummy SHLIB_LINK. * config/frv/t-linux (EXTRA_MULTILIB_PARTS): Clear. * config/alpha/t-crtfm: Use $(T) in rules for EXTRA_PARTS. * config/alpha/t-vms, config/alpha/t-vms64, config/fr30/t-fr30, config/i386/t-rtems-i386, config/ia64/t-ia64, config/rs6000/t-beos, config/rs6000/t-newas, config/sparc/t-elf: Likewise. * configure.ac (all_outputs): Remove mklibgcc. * configure: Regenerated. libgcc/ * Makefile.in, config/i386/t-darwin, config/i386/t-darwin64, config/i386/t-nwld, config/rs6000/t-darwin, config/rs6000/t-ldbl128, config/i386/t-crtfm, config/alpha/t-crtfm, config/ia64/t-ia64, config/sparc/t-crtfm, config/t-slibgcc-darwin, config/rs6000/t-ppccomm, config.host, configure.ac, empty.mk, shared-object.mk, siditi-object.mk, static-object.mk: New files. * configure: Generated. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@120429 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-292006-12-29 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* Makefile.tpl (GCC_STRAP_TARGETS, all-prebootstrap): Remove. * Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@120270 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-192006-12-19 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
PR bootstrap/29544 * Makefile.def (flags_to_pass): Add STAGE1_CHECKING. (bootstrap_stage): Add STAGE1_CHECKING to stage1 configure flags, move here comment from Makefile.tpl. * Makefile.tpl: Move some definitions higher in the file. (STAGE1_CHECKING): New. * configure.in: Add --enable-stage1-checking. * configure: Regenerate. * Makefile.in: Regenerate. gcc: 2006-12-19 Paolo Bonzini <bonzini@gnu.org> * gcc/Makefile.in (STAGE1_CHECKING): Rename to... (STAGE1_CHECKING_CFLAGS): ... this. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@120048 138bc75d-0d04-0410-961f-82ee72b054a4
2006-12-11 * configure.in: Handle spu makefile frag.Alan Modra
* config/mt-spu: New file. * Makefile.tpl (MAINT): Define (MAINTAINER_MODE_FALSE, MAINTAINER_MODE_TRUE): Define. * configure: Regenerate. * Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@119729 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-172006-11-16 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* Makefile.tpl (clean-target-libgcc): Test for gcc Makefile presence. (unstage): Test for stage_last presence. PR bootstrap/29802 * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Add HOST_SUBDIR in STAGE_PREFIX. * Makefile.in: Regenerate. libada: 2006-11-16 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/29802 * configure.ac: Call GCC_TOPLEV_SUBDIRS. * configure: Regenerate. * Makefile.in: Replace host_subdir. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@118927 138bc75d-0d04-0410-961f-82ee72b054a4
2006-11-142006-11-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* Makefile.tpl (clean-stage*): Test separately for package/Makefile and stageN-package/Makefile. * Makefile.in: Regenerated. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@118810 138bc75d-0d04-0410-961f-82ee72b054a4
2006-10-10--(top level)--------------------------------------------Brooks Moses
2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.def: Added pdf target handling. * Makefile.tpl: Added pdf target handling. * Makefile.in: Regenerated. ---fixincludes-------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---gcc---------------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * configure.ac: Added pdf to "Make-hooks" * Makefile.in: Added TEXI2PDF definition, and various pdf-file targets and *.pdf file patterns in cleanup targets. * configure: Regenerated. ---gcc/cp------------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "c++.pdf" target support. ---gcc/fortran-------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "fortran.pdf", "gfortran.pdf" target support. ---gcc/java----------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "java.pdf", "gcj.pdf" target support. ---gcc/objc----------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added empty "objc.pdf" target. ---gcc/objcp---------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added empty "obj-c++.pdf" target. ---gcc/treelang------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Make-lang.in: Added "treelang.pdf" target support. ---gnattools---------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---libcpp------------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---libdecnumber------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. ---libiberty---------------------------------------------- 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added "pdf", "libiberty.pdf" target support. * testsuite/Makefile.in: Added empty "pdf" target. ---libobjc------------------------------------------------ 2006-10-10 Brooks Moses <bmoses@stanford.edu> * Makefile.in: Added empty "pdf" target. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@117618 138bc75d-0d04-0410-961f-82ee72b054a4
2006-07-182006-07-18 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* Makefile.tpl (configure-stageN-MODULE): Pass --with-build-libsubdir for stages after the first. config: 2006-07-18 Paolo Bonzini <bonzini@gnu.org> * acx.m4: Support --with-build-libsubdir and AC_SUBST build_libsubdir. gcc: 2006-07-18 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. * Makefile.in (build_libsubdir): New configure substitution (build_libobjdir): New variable. (BUILD_LIBIBERTY): Use it. libgfortran: 2006-07-18 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libjava: 2006-07-18 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. libobjc: 2006-07-18 Paolo Bonzini <bonzini@gnu.org> * configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@115552 138bc75d-0d04-0410-961f-82ee72b054a4
2006-06-152006-06-15 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Export CFLAGS and LDFLAGS too. * Makefile.in: Regenerate. gcc: 2006-06-15 Paolo Bonzini <bonzini@gnu.org> * configure.ac (CFLAGS): Get them from the toplevel or from the configure invocation. * configure: Regenerate. * Makefile.in (CFLAGS): Substitute value provided by configure. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@114673 138bc75d-0d04-0410-961f-82ee72b054a4
2006-06-052006-06-05 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
PR 27674 * Makefile.tpl (configure-[+prefix+][+module+], all-[+prefix+][+module+]): Depend on stage_current if bootstrapping. Remove rule to unstage bootstrapped modules. (stage_current): New. * Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@114395 138bc75d-0d04-0410-961f-82ee72b054a4
2006-05-252006-05-25 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* Makefile.def (bfd, opcodes): Fix lib_path. * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Replace ADAC with ADAFLAGS. (restrap): Move under "@if gcc-bootstrap". Fix typo. * Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@114109 138bc75d-0d04-0410-961f-82ee72b054a4
2006-05-242006-05-24 Carlos O'Donell <carlos@codesourcery.com>Carlos O'Donell
* Makefile.def: Add install-html target. Add datarootdir docdir and htmldir to flags_to_pass. * Makefile.tpl: Add install-html target. * Makefile.in: Regenerate. * configure.in: Add --with-datarootdir, --with-docdir, and --with-htmldir options. AC_SUBST datarootdir, docdir and htmldir. * configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@114048 138bc75d-0d04-0410-961f-82ee72b054a4
2006-02-21 * Makefile.tpl (BUILD_CONFIGDIRS): RemoveRafael Ávila de Espíndola
(TARGET_CONFIGDIRS): Remove * configure.in: Remove AC_SUBST(target_configdirs) * Makefile.in, configure: Regenerated git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@111334 138bc75d-0d04-0410-961f-82ee72b054a4
2006-02-202006-02-20 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
PR bootstrap/25670 * Makefile.tpl ([+compare-target+]): Print explanation messages. * Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES): New flags_to_pass. * Makefile.tpl (BASE_FLAGS_TO_PASS): Support optional flags_to_pass. (EXTRA_GCC_FLAGS): Remove ADAFLAGS, BOOT_ADAFLAGS, LANGUAGES, BUILD_PREFIX, BUILD_PREFIX_1. * configure.in: (BUILD_PREFIX, BUILD_PREFIX_1): Don't substitute. * Makefile.def (bootstrap stage 1): Pass LIBCFLAGS too. * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Override LIBCFLAGS too. * Makefile.tpl (configure-stage[+id+]-[+prefix+][+module+], all-stage[+id+]-[+prefix+][+module+], : Use $(current_stage) instead of `cat stage_current`. Always provide the `r' and `s' variables. (clean-stage[+id+]-[+prefix+][+module+]): Likewise, and make it into a single shell execution. (configure-[+prefix+][+module+], all-[+prefix+][+module+]): For bootstrapped modules, make the stage1 module if the build was not started yet, else build the current stage. (all-host, all-target): Omit bootstrapped modules (if bootstrapping). (all-build, all-host, all-target, [+make_target+]-host, [+make_target+]-target): Do not use \-continued lines. (target modules): Depend on stage_last, not all-gcc, if bootstrapping. (current_stage, restrap, stage_last): New. * Makefile.in: Regenerate. * configure: Regenerate. gcc: 2006-02-20 Paolo Bonzini <bonzini@gnu.org> PR bootstrap/25476 * Makefile.in (LDFLAGS): Define from autoconf substitution. * Makefile.in (BOOTSTRAPPING): New. (quickstrap): New definition if BOOTSTRAPPING=yes. * Makefile.in (CONFIG_LANGUAGES): Substitute all_selected_languages. * configure.ac: Substitute all_selected_languages with the languages that were configured. For all the other variables except lang_specs_files, include all the languages in the tree. * configure: Regenerate. * Makefile.in (stmp-fixinc): Copy includes from the prev-gcc directory, if there is one. Run the commands to run fixincludes in the same subshell. * doc/makefile.texi: Document new makefile targets from toplevel bootstrap. * doc/install.texi: Document exact conventions for searching target tools. Document --with-build-time-tools. Document toplevel bootstrap. Document something more about building an Ada cross-compiler. Don't list GNU Make requirements which affect all platforms. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@111295 138bc75d-0d04-0410-961f-82ee72b054a4
2006-01-05* Makefile.tpl (clean-stage[+id+]-[+prefix+][+module+]): RemoveAlexandre Oliva
@ from continuation. * Makefile.in: Rebuilt. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@109385 138bc75d-0d04-0410-961f-82ee72b054a4
2006-01-042006-01-04 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
PR bootstrap/24252 * Makefile.def (flags_to_pass): Add STAGE1_CFLAGS and STAGE1_LANGUAGES. * Makefile.tpl (OBJDUMP): New. (EXTRA_HOST_FLAGS): Add it. (EXTRA_GCC_FLAGS): Remove flags already specified in flags_to_pass. * Makefile.tpl (stage[+id+]-start, stage[+id+]-end): Do not try to use symbolic links between directories. Avoid race conditions or make them harmless. * configure.in: Do not try to use symbolic links between directories. * Makefile.def (LEAN): Pass. * Makefile.tpl (LEAN): Define. (stage[+id+]-start): Accept that the previous directory does not exist, if the bootstrap is lean. (stage[+id+]-bubble): Invoke lean bootstrap commands after stage[+id+]-start. Use a makefile variable and an `if' instead of a configure substitution. ([+compare-target+]): Likewise. ([+bootstrap-target+]-lean): New. * configure.in: Remove lean bootstrap support from here. * Makefile.in: Regenerate. * configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@109325 138bc75d-0d04-0410-961f-82ee72b054a4
2005-12-202005-12-20 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
Revert Ada-related part of the previous change. * Makefile.def (ADAFLAGS, BOOT_ADAFLAGS, ADAFLAGS_FOR_TARGET): Do not pass. * Makefile.tpl (BOOT_ADAFLAGS): Do not define. * Makefile.in: Regenerate. * configure.in: Do not include mt-ppc-aix target fragment. * configure: Regenerate. config: 2005-12-20 Paolo Bonzini <bonzini@gnu.org> Revert Ada-related part of the previous change. * mt-ppc-aix: Delete. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@108856 138bc75d-0d04-0410-961f-82ee72b054a4
2005-12-192005-12-19 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* configure.in: Select appropriate fragments for PowerPC/AIX. * configure: Regenerate. * Makefile.def (flags_to_pass): Add ADAFLAGS, BOOT_ADAFLAGS, BOOT_CFLAGS, BOOT_LDFLAGS. * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Handle BOOT_ADAFLAGS, BOOT_CFLAGS, BOOT_LDFLAGS. (TARGET_FLAGS_TO_PASS): Handle ADAFLAGS_FOR_TARGET. (stage[+id+]-bubble): Pass flags recursively to the comparison target. (stage): Fail if we cannot complete the work. * Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@108793 138bc75d-0d04-0410-961f-82ee72b054a4
2005-12-152005-12-15 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* Makefile.tpl (all, do-[+make_target+], do-check, install, install-host-nogcc): Don't invoke $(stage) at the end. * Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@108580 138bc75d-0d04-0410-961f-82ee72b054a4
2005-12-14 * Makefile.tpl: Throughout the file, use : $(MAKE) along withDaniel Jacobowitz
$(stage) and $(unstage). (EXTRA_TARGET_FLAGS): Correct double-quoting. (all): Remove stray semicolon. (local-distclean): Don't handle multilib.tmp and multilib.out. (install.all): Set $s for consistency. (configure-[+prefix+][+module+]): Instead of [+deps+], handle check_multilibs setting. Always make the install directory. (configure-stage[+id+]-[+prefix+][+module+]): Likewise. Correct @if/@endif. (all-stage[+id+]-[+prefix+][+module+]): Correct @if/@endif. ($(TARGET_SUBDIR)/[+module+]/multilib.out): Remove. (stage[+id+]-start, stage[+id+]-end): Stage $(TARGET_SUBDIR). (multilib.out): Remove. * Makefile.in: Regenerated. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@108513 138bc75d-0d04-0410-961f-82ee72b054a4
2005-12-05toplevel:Paolo Bonzini
2005-12-05 Paolo Bonzini <bonzini@gnu.org> * configure.in (CONFIGURED_BISON, CONFIGURED_YACC, CONFIGURED_M4, CONFIGURED_FLEX, CONFIGURED_LEX, CONFIGURED_MAKEINFO): Remove "CONFIGURED_" from the AC_CHECK_PROGS invocation. Move below. Find in-tree tools if available. (EXPECT, RUNTEST, LIPO, STRIP): Find them and substitute them. (CONFIGURED_*_FOR_TARGET): Don't set nor substitute. (*_FOR_TARGET): Set them with GCC_TARGET_TOOL. (COMPILER_*_FOR_TARGET): New. * Makefile.tpl (HOST_EXPORTS): Add *_FOR_TARGET symbols that gcc needs. (BASE_TARGET_EXPORTS): Use COMPILER_*_FOR_TARGET symbols. (CONFIGURED_*, USUAL_*): Remove. (BISON, YACC, FLEX, LEX, M4, MAKEINFO, EXPECT, RUNTEST, LIPO, STRIP): Use autoconf substitutions. (COMPILER_AS_FOR_TARGET, COMPILER_LD_FOR_TARGET, COMPILER_NM_FOR_TARGET): New. (EXTRA_HOST_FLAGS): Pass LIPO and STRIP. (all): Make all-host and all-target in parallel. (do-[+make_target+], do-check, install, [+compare-target+]): Ensure that $$r and $$s are set before invoking a recursive make. (stage[+id+]-bubble): Likewise, and invoke the comparison at the end. ([+bootstrap-target+]): Inline most of the `all' target. config: 2005-12-05 Paolo Bonzini <bonzini@gnu.org> * acx.m4 (GCC_TARGET_TOOL): New. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@108059 138bc75d-0d04-0410-961f-82ee72b054a4
2005-11-29 * Makefile.tpl (clean-target-libgcc): Invoke clean-target-libgccBen Elliston
from the gcc build directory. * Makefile.in: Regenerate. gcc/ * Makefile.in (clean-target): Depend on clean-target-libgcc. (clean-target-libgcc): Import rule from the top-level Makefile.in. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@107668 138bc75d-0d04-0410-961f-82ee72b054a4
2005-11-11 * Makefile.def: Remove gdb dependencies for gdbtk.Daniel Jacobowitz
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@106801 138bc75d-0d04-0410-961f-82ee72b054a4
2005-10-222005-10-22 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105791 138bc75d-0d04-0410-961f-82ee72b054a4
2005-10-06./Daniel Jacobowitz
* Makefile.def (flags_to_pass): Add OBJDUMP_FOR_TARGET. * 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. gcc/ * acinclude.m4 (gcc_AC_CHECK_TOOL): Handle environment variables here. Use AC_PATH_PROG for environment variables instead of test -x. * configure.ac: Update calls to gcc_AC_CHECK_TOOL. Use it for objdump also. * configure: Regenerated. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105038 138bc75d-0d04-0410-961f-82ee72b054a4
2005-10-052005-10-05 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* Makefile.tpl (all) [gcc-no-bootstrap]: Make prebootstrap packages before other host packages. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@105002 138bc75d-0d04-0410-961f-82ee72b054a4
2005-10-052005-10-05 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104978 138bc75d-0d04-0410-961f-82ee72b054a4
2005-09-28Index: ChangeLogGeoffrey Keating
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@104747 138bc75d-0d04-0410-961f-82ee72b054a4
2005-08-172005-08-17 Christian Groessler <chris@groessler.org>Christian Groessler
* Makefile.tpl: (USUAL_CC_FOR_TARGET): Add missing trailing slash. * Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@103216 138bc75d-0d04-0410-961f-82ee72b054a4
2005-08-082005-08-08 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@102855 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-27 * Makefile.tpl (EXTRA_TARGET_FLAGS): Set LDFLAGS=LDFLAGS_FOR_TARGET.Mark Mitchell
* Makefile.def (flags_to_pass): Add LDFLAGS_FOR_TARGET. * Makefile.in: Regenerated. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@102440 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-26 * doc/install.texi (--with-build-sysroot): Fix grammatical error.Mark Mitchell
Clarify use of "build" in name. * 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@102389 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-242005-07-24 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* Makefile.tpl: Wrap install between unstage and stage * Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@102334 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-162005-07-16 Kelley Cook <kcook@gcc.gnu.org>Kelley Cook
* all files: Update FSF address. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@102083 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-112005-07-11 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
PR ada/22340 * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Fix pasto. * Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101868 138bc75d-0d04-0410-961f-82ee72b054a4
2005-07-07 * Makefile.def (flags_to_pass): Add CFLAGS_FOR_BUILD.Andreas Schwab
* Makefile.tpl (EXTRA_GCC_FLAGS): Don't pass CFLAGS_FOR_BUILD here. * Makefile.in: Regenerated. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101716 138bc75d-0d04-0410-961f-82ee72b054a4
2005-06-232005-06-22 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@101263 138bc75d-0d04-0410-961f-82ee72b054a4
2005-05-252005-05-25 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@100151 138bc75d-0d04-0410-961f-82ee72b054a4
2005-05-042005-05-04 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* 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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@99218 138bc75d-0d04-0410-961f-82ee72b054a4
2005-04-062005-04-06 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* Makefile.tpl (BUILD_CONFIGARGS): Include --with-build-subdir. (TARGET_CONFIGARGS): Include --with-target-subdir. (configure, all): New macros. Use them throughout. * Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97700 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-302005-03-31 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini
* 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-03-31 Paolo Bonzini <bonzini@gnu.org> * config/gcc-lib-path.m4: Remove. gcc: 2005-03-31 Paolo Bonzini <bonzini@gnu.org> * gcc/aclocal.m4: Do not include config/gcc-lib-path.m4. * gcc/Makefile.in: Do not @set_gcc_lib_path@. * gcc/configure.ac (TL_AC_GNU_MAKE_GCC_LIB_PATH): Remove. * gcc/configure: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@97249 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-21 * Makefile.def: Remove libstdcxx_incdir, libsubdir, gxx_include_dir,Zack Weinberg
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@96827 138bc75d-0d04-0410-961f-82ee72b054a4
2005-03-16 * Makefile.tpl (check-[+module+]): Fix shell statement inside if ... fi.Manfred Hollstein
* Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@96559 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-282005-02-28 Andrew Pinski <pinskia@physics.uc.edu>Andrew Pinski
PR bootstrap/20250 * Makefile.tpl (HOST target installs): Fix copy and pasto, use install instead of check. * Makefile.in: Regenerate. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@95685 138bc75d-0d04-0410-961f-82ee72b054a4