aboutsummaryrefslogtreecommitdiff
path: root/Makefile.def
AgeCommit message (Collapse)AuthorFilesLines
2005-02-282005-02-28 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-2/+5
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-0/+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-2/+2
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-2/+2
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-1/+0
2004-12-08 * Makefile.def (flags_to_pass): Add PICFLAG_FOR_TARGET.David Edelsohn1-0/+1
* Makefile.tpl (EXTRA_HOST_FLAGS): Add PICFLAG. (EXTRA_TARGET_FLAGS): Add PICFLAG. * Makefile.in: Regenerate.
2004-11-13 * Makefile.def: Add html support.Mike Stump1-0/+2
* Makefile.tpl: Likewise. * Makefile.in: Regenerate.
2004-11-12 PR 18423Geoffrey Keating1-0/+1
* configure.in: Remove all instances of build-fixincludes from noconfigdirs. (build_configargs): Supply --target to subdirectories. * configure: Regenerate. * Makefile.def: Make gcc install depend on fixincludes install. * Makefile.in: Regenerate.
2004-11-052004-11-05 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-1/+6
* Makefile.def (host fixincludes): Specify missing targets. * Makefile.in: Regenerate.
2004-11-05Merge from GCC versionsGeoffrey Keating1-1/+5
2004-09-102004-09-09 Daniel Berlin <dberlin@dberlin.org>Daniel Berlin1-2/+0
* Makefile.def: Remove libbanshee. * Makefile.tpl: Ditto. * configure.in: Ditto. * Makefile.in: Regen. * configure: Ditto.
2004-08-312004-08-31 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-0/+5
* Makefile.def (build_modules): Add fixincludes. (dependencies): Make gcc depend on fixincludes. * configure.in (build_tools): Add fixincludes. (build_configdirs): Always include build_libs. * Makefile.in: Regenerate. * configure: Regenerate.
2004-08-302004-08-26 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-2/+2
* 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-50/+48
* 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-12 * Makefile.def, configure.in, src-release: Remove useless, bogusNathanael Nerode1-6/+0
references to tix. * Makefile.in, configure: Regenerate.
2004-08-122004-08-12 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode1-1/+0
* src-release: Stop distributing mmalloc with gdb (which doesn't use it). * Makefile.def: GDB doesn't depend on mmalloc anymore. * Makefile.in: Regenerate.
2004-08-062004-08-06 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-7/+228
* 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-0/+1
* 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-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-0/+6
* 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-092004-06-09 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-6/+14
* 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-3/+10
* 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-242005-05-24 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini1-0/+18
* 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-0/+1
* 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-18 * Makefile.def, Makefile.tpl, configure.in: Remove all mentionZack Weinberg1-1/+0
of libf2c. * configure, Makefile.in: Regenerate.
2004-05-13merge from gccDJ Delorie1-0/+5
2004-04-27merge from gcc:DJ Delorie1-9/+9
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-02-102004-02-10 Arnaud Charlet <charlet@act-europe.fr>,DJ Delorie1-0/+1
Nathanael Nerode <neroden@gcc.gnu.org> PR ada/6637, PR ada/5911 Merge with libada-branch: * configure.in, Makefile.tpl, Makefile.def: Add target-libada, with appropriate dependencies. Add --enable-libada configure switch. * configure, Makefile.in: Regenerate.
2004-01-24* Makefile.def (target_modules) [libiberty]: Don't stage.DJ Delorie1-1/+1
* Makefile.in: Rebuilt.
2004-01-14* Makefile.def (target_modules) [libtermcap, libiberty, zlib]: Stage.DJ Delorie1-3/+3
* Makefile.tpl (configure-target-[+module+]): Support stage. * Makefile.in: Rebuilt.
2003-06-23 * Makefile.def: Introduce flags_to_pass.Nathanael Nerode1-0/+71
* Makefile.tpl: Generate BASE_FLAGS_TO_PASS using it. * Makefile.in: Regenerate.
2003-06-03 * Makefile.tpl: Make 'recursive targets' using autogen ratherNathanael Nerode1-9/+49
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-10/+10
* Makefile.def: Rename 'target' to 'make_target'.
2003-02-06Source Navigator is now on sourceforge...Keith Seitz1-3/+0
* Makefile.def: Remove "snavigator", "grep", and "db" modules. * Makefile.tpl: Remove "all-snavigator" and "all-grep". * Makefile.in: Regenerated. * configure.in: Remove all traces of snavigator, db, and grep. * configure: Regenerated.
2002-12-31 * Makefile.in: Rebuilt.Tom Tromey1-1/+1
* Makefile.def (target_modules) [libffi]: Allow installation.
2002-12-132002-12-13 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode1-1/+0
* configure.in, Makefile.tpl, Makefile.def: Remove tclX. * Makefile.in: Regenerate.
2002-12-022002-12-02 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode1-2/+2
(finishing slow-motion replay) * configure: Remove skip-this-dir support. * Makefile.tpl: Remove skip-this-dir support. * Makefile.tpl: Remove leftover support for non-autoconfiscated subdirectories. * Makefile.in: Regenerate. * Makefile.tpl: Strip out useless setting of 'dir'. * Makefile.in: Regenerate. 2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org> (finishing slow-motion replay) * configure.in: Fix deeply stupid bug. * configure.in: Introduce RAW_CXX_FOR_TARGET and simplify embedded shell code in CXX_FOR_TARGET * Makefile.def: Introduce raw_cxx. * Makefile.tpl: Use raw_cxx to select between CXX_FOR_TARGET and RAW_CXX_FOR_TARGET. * Makefile.in: Regenerate. 2002-12-02 Nathanael Nerode <neroden@gcc.gnu.org> (finishing slow-motion replay) * Makefile.tpl: Remove unnecessary ifs. * Makefile.in: Regenerate. * Makefile.tpl: Implement soft dependency machinery. Maybe-ize dependencies. Maybe-ize build-libiberty. Create dummy install targets for 'no_install' modules. * configure: Move GDB_TK substitution to configure.in. Move build_modules stuff to configure.in. * configure.in: Implement soft dependency machinery. Maybe-ize GDB_TK, rearrange slightly. Move build_modules stuff from configure. * Makefile.in: Regenerate.
2002-12-012002-12-01 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode1-1/+2
(continuing slow-motion replay) * Makefile.tpl: Make all-target, install-target behave similarly to all, install (only hitting configured targets). Eliminate unused macro defintions. * Makefile.tpl: Add all-gcc: all-build-libiberty dependency when build != host. * Makefile.tpl: Add all-gcc: all-libiberty dependency. * ltcf-c.sh, ltcf-gcj.sh, Makefile.tpl: Correct BUILD/HOST confusion. * configure.in: Produce lists of subdir targets we're actually configuring. Remove references to "dosrel". * Makefile.tpl: Let configure set which subdir targets are hit. Remove install-cross; clean up install; remove ALL. Remove references to "dosrel". Remove "EXTRA_TARGET_HOST" hackery. Autogenerate host module targets. Remove empty dependency lines and redundant dependency; rearrange slightly. * Makefile.def: Add host-side libtermcap, utils. * Makefile.in: Regenerate.
2002-12-012002-12-01 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode1-0/+14
(Continuing slow-motion replay) * Makefile.def: Add list of recursive targets to autogenerate. Add build_modules. * Makefile.tpl: Autogenerate do-* targets. Autogenerate *-target-* targets. Autogenerate *-build-* targets. * Makefile.in: Regenerate.
2002-11-292002-11-29 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode1-0/+7
(Starting slow-motion replay merge from gcc 3.4 b-i-b branch) * configure: Remove 'removing', which doesn't work. Replace $subdir with . everywhere. Replace $subdirs with ''. Replace $makesrcdir with $srcdir. Reformat indentation. Substitute some variables formerly hard-coded in the Makefile for build=host. * Makefile.tpl: Autogenerate more; make more autoconf-friendly. * Makefile.def: Autogenerate more. * Makefile.in: Regenerate.
2002-11-04Top level configury changes for RDA.Kevin Buettner1-0/+1
2002-10-022002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode1-2/+0
* Makefile.def: Remove order dependency comments. * Makefile.tpl: Add explicit install-install dependencies. * Makefile.in: Regenerate.
2002-09-252002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode1-0/+16
* Makefile.tpl: Autogenerate *-target-* lists, dependencies of all-target-foo on configure-target-foo. * Makefile.def: Ditto. * Makefile.in: Rebuild.
2002-09-242002-09-22 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode1-0/+65
* Makefile.def: New file. * Makefile.tpl: New file. * Makefile.in: Generate from Makefile.tpl with 'autogen Makefile.def'. * configure.in: Minor rearrangement. Simplify tests.