2003-03-12 21:41:00 +01:00
|
|
|
|
# Makefile for GNU Compiler Collection
|
|
|
|
|
# Run 'configure' to generate Makefile from Makefile.in
|
|
|
|
|
|
2006-01-02 19:53:27 +01:00
|
|
|
|
# Copyright (C) 1987, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
|
2008-02-21 20:55:39 +01:00
|
|
|
|
# 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
|
|
|
|
|
# 2008 Free Software Foundation, Inc.
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
Makefile.in, [...]: replace "GNU CC" with "GCC".
* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
bitmap.h, builtin-types.def, builtins.c, builtins.def,
c-aux-info.c, c-common.c, c-common.def, c-common.h,
c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
conditions.h, config.gcc, configure.frag, configure.in,
conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
emit-rtl.c, errors.c, errors.h, except.c, except.h,
exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
gencheck.c, gencodes.c, genconfig.c, genemit.c,
genextract.c, genflags.c, gengenrtl.c, genmultilib,
genopinit.c, genoutput.c, genpeep.c, genrecog.c,
gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
params.h, predict.c, predict.def, predict.h, prefix.c,
prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
regclass.c, regmove.c, regrename.c, regs.h, reload.c,
reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
xcoffout.h: replace "GNU CC" with "GCC".
From-SVN: r45105
2001-08-22 16:35:51 +02:00
|
|
|
|
#This file is part of GCC.
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
Makefile.in, [...]: replace "GNU CC" with "GCC".
* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
bitmap.h, builtin-types.def, builtins.c, builtins.def,
c-aux-info.c, c-common.c, c-common.def, c-common.h,
c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
conditions.h, config.gcc, configure.frag, configure.in,
conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
emit-rtl.c, errors.c, errors.h, except.c, except.h,
exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
gencheck.c, gencodes.c, genconfig.c, genemit.c,
genextract.c, genflags.c, gengenrtl.c, genmultilib,
genopinit.c, genoutput.c, genpeep.c, genrecog.c,
gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
params.h, predict.c, predict.def, predict.h, prefix.c,
prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
regclass.c, regmove.c, regrename.c, regs.h, reload.c,
reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
xcoffout.h: replace "GNU CC" with "GCC".
From-SVN: r45105
2001-08-22 16:35:51 +02:00
|
|
|
|
#GCC is free software; you can redistribute it and/or modify
|
1992-02-03 23:08:59 +01:00
|
|
|
|
#it under the terms of the GNU General Public License as published by
|
2007-07-26 10:37:01 +02:00
|
|
|
|
#the Free Software Foundation; either version 3, or (at your option)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
#any later version.
|
|
|
|
|
|
Makefile.in, [...]: replace "GNU CC" with "GCC".
* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
bitmap.h, builtin-types.def, builtins.c, builtins.def,
c-aux-info.c, c-common.c, c-common.def, c-common.h,
c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
conditions.h, config.gcc, configure.frag, configure.in,
conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
emit-rtl.c, errors.c, errors.h, except.c, except.h,
exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
gencheck.c, gencodes.c, genconfig.c, genemit.c,
genextract.c, genflags.c, gengenrtl.c, genmultilib,
genopinit.c, genoutput.c, genpeep.c, genrecog.c,
gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
params.h, predict.c, predict.def, predict.h, prefix.c,
prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
regclass.c, regmove.c, regrename.c, regs.h, reload.c,
reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
xcoffout.h: replace "GNU CC" with "GCC".
From-SVN: r45105
2001-08-22 16:35:51 +02:00
|
|
|
|
#GCC is distributed in the hope that it will be useful,
|
1992-02-03 23:08:59 +01:00
|
|
|
|
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
#GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
#You should have received a copy of the GNU General Public License
|
2007-07-26 10:37:01 +02:00
|
|
|
|
#along with GCC; see the file COPYING3. If not see
|
|
|
|
|
#<http://www.gnu.org/licenses/>.
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
|
|
|
|
# The targets for external use include:
|
|
|
|
|
# all, doc, proto, install, install-cross, install-cross-rest,
|
configure.ac (strict1_warn): Rename to strict_warn.
2007-01-11 Paolo Bonzini <bonzini@gnu.org>
* configure.ac (strict1_warn): Rename to strict_warn.
(WERROR, --enable-werror, symlink hacks, stage1_cflags,
cc_set_by_configure, quoted_cc_set_by_configure,
stage_prefix_set_by_configure, quoted_stage_prefix_set_by_configure,
all_boot_languages, all_stagestuff): Remove.
(target_list): Remove bootstrap targets.
* Makefile.in (quickstrap): Unconditionally make a synonym of all.
(BOOT_LANGUAGES, STAGE1_CFLAGS, STAGE1_CHECKING,
REMAKEFLAGS, FLAGS_TO_PASS, PREPEND_DOTDOT_TO_RELATIVE_PATHS,
SUBDIR_FLAGS_TO_PASS, WERROR_FLAGS, STRICT2_WARN, LANG_STAGESTUFF,
VOL_FILES, POSTSTAGE1_FLAGS_TO_PASS, STAGE2_FLAGS_TO_PASS,
STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS, stage1_build,
stage1_copy, stage2_build, stage2_copy, stageprofile_build,
stageprofile_copy, stage3_build, stage3_copy, stagefeedback_build,
stagefeedback_copy, stage4_build, clean_s1, clean_sw, bootstrap,
bootstrap-lean, bootstrap2, bootstrap2-lean, bootstrap3,
bootstrap3-lean, bootstrap4, bootstrap4-lean, unstage1, unstage2,
unstage3, unstage4, unstageprofile, unstagefeedback, restage, restage2,
restage3, restage4, restageprofile, restagefeedback, bubbleestrap,
cleanstrap, unstrap, restrap, *compare, *compare3, *compare4,
*compare-lean, *compare3-lean, *compare4-lean, stage1-start, stage1,
stage2-start, stage2, stage3-start, stage3, stage4-start, stage4,
stageprofile-start, stageprofile, stagefeedback-start, stagefeedback,
risky-stage1, risky-stage2, risky-stage3, risky-stage4): Remove.
(ORDINARY_FLAGS_TO_PASS): Rename to FLAGS_TO_PASS.
(STAGECOPYSTUFF, STAGEMOVESTUFF): Consolidate into MOSTLYCLEANFILES.
(mostlyclean): Adjust.
(clean, distclean): Don't mention bootstrap stuff.
* configure: Regenerate.
* ada/config-lang.in, cp/config-lang.in, forttran/config-lang.in,
java/config-lang.in, objc/config-lang.in, objcp/config-lang.in,
treelang/config-lang.in (stagestuff): Remove.
* doc/sourcebuild.texi (stage1, stage2, stage3, stage4,
stageprofile, stagefeedback, stagestuff): Remove mention.
From-SVN: r120670
2007-01-11 11:49:30 +01:00
|
|
|
|
# uninstall, TAGS, mostlyclean, clean, distclean, maintainer-clean.
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2000-11-09 14:56:53 +01:00
|
|
|
|
# This is the default target.
|
2003-03-12 21:41:00 +01:00
|
|
|
|
# Set by autoconf to "all.internal" for a native build, or
|
|
|
|
|
# "all.cross" to build a cross compiler.
|
|
|
|
|
all: @ALL@
|
|
|
|
|
|
|
|
|
|
# Depend on this to specify a phony target portably.
|
|
|
|
|
force:
|
|
|
|
|
|
|
|
|
|
# This tells GNU make version 3 not to export the variables
|
|
|
|
|
# defined in this file into the environment (and thus recursive makes).
|
|
|
|
|
.NOEXPORT:
|
|
|
|
|
# And this tells it not to automatically pass command-line variables
|
|
|
|
|
# to recursive makes.
|
|
|
|
|
MAKEOVERRIDES =
|
2000-11-09 14:56:53 +01:00
|
|
|
|
|
re PR bootstrap/12744 (A GCC release tarball can no longer be built without bison/flex)
gcc/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12744
* configure.in: Revamp enable-generated-files-in-srcdir rule to define
GENINSRC and not parsedir. Define srcextra as a langhook.
* configure: Regenerate.
* Makefile.in: Suppress default .l.c rule. Don't substitute
parsedir and delete all references throughout. Conditionally define
rule for srcextra dependent on GENINSRC.
(stmp-docobjdir): Delete.
(c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
(srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
and gengtype-yacc.h back to source directory.
(maintainer-clean): Delete all parse files in source directory.
(distclean): Delete generated files.
* objc/Make-lang.in (objc-parse.o): Use implicit build rule.
(objc-parse.c, objc-parse.y): Don't use parsedir.
(objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
directory if requested.
(po-generated): Don't use parsedir.
(objc.maintainer-clean): Delete above files from source directory.
gcc/ada/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (ada.srcextra): Dummy entry.
gcc/cp/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (c++.srcextra): Dummy entry.
gcc/f/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (f77.srcextra): Dummy entry.
gcc/java/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (parse.c, parse-scan.c): Always build in doc directory.
(java.srcextra): Copy above back to source directory if requested.
(po-generated): Delete reference to $(parsedir).
(java/parse.o, java/parse-scan.o): Delete reference to $(parsedir).
Use implicit rule.
gcc/treelang/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
(treelang/parse.o, treelang/lex.o): Look for sources in build
directory. Use implicit rule.
(treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
doc directory.
(treelang.srcextra): Copy above back to source directory if requested.
From-SVN: r75903
2004-01-15 05:02:24 +01:00
|
|
|
|
# Suppress smart makes who think they know how to automake yacc and flex file
|
1992-03-20 23:22:14 +01:00
|
|
|
|
.y.c:
|
re PR bootstrap/12744 (A GCC release tarball can no longer be built without bison/flex)
gcc/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12744
* configure.in: Revamp enable-generated-files-in-srcdir rule to define
GENINSRC and not parsedir. Define srcextra as a langhook.
* configure: Regenerate.
* Makefile.in: Suppress default .l.c rule. Don't substitute
parsedir and delete all references throughout. Conditionally define
rule for srcextra dependent on GENINSRC.
(stmp-docobjdir): Delete.
(c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
(srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
and gengtype-yacc.h back to source directory.
(maintainer-clean): Delete all parse files in source directory.
(distclean): Delete generated files.
* objc/Make-lang.in (objc-parse.o): Use implicit build rule.
(objc-parse.c, objc-parse.y): Don't use parsedir.
(objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
directory if requested.
(po-generated): Don't use parsedir.
(objc.maintainer-clean): Delete above files from source directory.
gcc/ada/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (ada.srcextra): Dummy entry.
gcc/cp/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (c++.srcextra): Dummy entry.
gcc/f/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (f77.srcextra): Dummy entry.
gcc/java/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (parse.c, parse-scan.c): Always build in doc directory.
(java.srcextra): Copy above back to source directory if requested.
(po-generated): Delete reference to $(parsedir).
(java/parse.o, java/parse-scan.o): Delete reference to $(parsedir).
Use implicit rule.
gcc/treelang/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
(treelang/parse.o, treelang/lex.o): Look for sources in build
directory. Use implicit rule.
(treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
doc directory.
(treelang.srcextra): Copy above back to source directory if requested.
From-SVN: r75903
2004-01-15 05:02:24 +01:00
|
|
|
|
.l.c:
|
1992-03-20 23:22:14 +01:00
|
|
|
|
|
2003-03-12 21:41:00 +01:00
|
|
|
|
# The only suffixes we want for implicit rules are .c and .o, so clear
|
|
|
|
|
# the list and add them. This speeds up GNU Make, and allows -r to work.
|
|
|
|
|
# For i18n support, we also need .gmo, .po, .pox.
|
|
|
|
|
# This must come before the language makefile fragments to allow them to
|
|
|
|
|
# add suffixes and rules of their own.
|
|
|
|
|
.SUFFIXES:
|
|
|
|
|
.SUFFIXES: .c .o .po .pox .gmo
|
|
|
|
|
|
|
|
|
|
# -------------------------------
|
|
|
|
|
# Standard autoconf-set variables
|
|
|
|
|
# -------------------------------
|
|
|
|
|
|
2003-06-10 02:52:18 +02:00
|
|
|
|
build=@build@
|
|
|
|
|
host=@host@
|
2003-03-12 21:41:00 +01:00
|
|
|
|
target=@target@
|
Makefile.in (target_noncanonical, [...]): Use immediate define instead of deferred.
gcc/
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (target_noncanonical, program_transform_name): Use
immediate define instead of deferred.
(GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
deferred backquote.
gcc/cp
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (CXX_INSTALL_NAME, GXX_INSTALL_NAME,
CXX_TARGET_INSTALL_NAME, GXX_TARGET_INSTALL_NAME): Define via a
immediate $(shell) instead of deferred backquote.
gcc/f
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (G77_INSTALL_NAME): Define via a immediate $(shell)
instead of deferred backquote.
gcc/java
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (JAVA_INSTALL_NAME, JAVA_TARGET_INSTALL_NAME,
GCJH_TARGET_INSTALL_NAME): Define via a immediate $(shell)
instead of deferred backquote.
From-SVN: r76193
2004-01-20 02:52:02 +01:00
|
|
|
|
target_noncanonical:=@target_noncanonical@
|
2003-03-12 21:41:00 +01:00
|
|
|
|
|
|
|
|
|
# Sed command to transform gcc to installed name.
|
Makefile.in (target_noncanonical, [...]): Use immediate define instead of deferred.
gcc/
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (target_noncanonical, program_transform_name): Use
immediate define instead of deferred.
(GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
deferred backquote.
gcc/cp
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (CXX_INSTALL_NAME, GXX_INSTALL_NAME,
CXX_TARGET_INSTALL_NAME, GXX_TARGET_INSTALL_NAME): Define via a
immediate $(shell) instead of deferred backquote.
gcc/f
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (G77_INSTALL_NAME): Define via a immediate $(shell)
instead of deferred backquote.
gcc/java
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (JAVA_INSTALL_NAME, JAVA_TARGET_INSTALL_NAME,
GCJH_TARGET_INSTALL_NAME): Define via a immediate $(shell)
instead of deferred backquote.
From-SVN: r76193
2004-01-20 02:52:02 +01:00
|
|
|
|
program_transform_name := @program_transform_name@
|
2003-03-12 21:41:00 +01:00
|
|
|
|
|
|
|
|
|
# -----------------------------
|
|
|
|
|
# Directories used during build
|
|
|
|
|
# -----------------------------
|
|
|
|
|
|
|
|
|
|
# Directory where sources are, from where we are.
|
|
|
|
|
srcdir = @srcdir@
|
2006-03-30 22:20:10 +02:00
|
|
|
|
gcc_docdir = @srcdir@/doc
|
2004-01-31 01:50:03 +01:00
|
|
|
|
|
|
|
|
|
# Directory where sources are, absolute.
|
|
|
|
|
abs_srcdir = @abs_srcdir@
|
|
|
|
|
abs_docdir = @abs_srcdir@/doc
|
Makefile.in (parsedir): New variable.
* Makefile.in (parsedir): New variable.
(docobjdir): New variable.
(c-parse.o, c-parse.c, c-parse.y, gengtype-lex.o, gengtype-yacc.o,
gengtype-lex.c, gengtype-yacc.c): Use parsedir.
(info, cpp.info, gcc.info, gccint.info, gccinstall.info,
cppinternals.info, generated-manpages, gcov.1, cpp.1, gcc.1, gfdl.7,
gpl.7, fsf-funding.7, maintainer-clean, install-info, install-man):
Use docobjdir.
* objc/Make-lang.in (objc/objc-parse.c, objc/objc-parse.y,
objc.maintainer-clean): Use parsedir.
From-SVN: r61189
2003-01-11 03:18:37 +01:00
|
|
|
|
|
2004-05-25 22:16:56 +02:00
|
|
|
|
# Top build directory for this package, relative to here.
|
|
|
|
|
top_builddir = .
|
2007-06-14 10:10:41 +02:00
|
|
|
|
|
2003-03-12 21:41:00 +01:00
|
|
|
|
# objdir is set by configure.
|
|
|
|
|
# It's normally the absolute path to the current directory.
|
|
|
|
|
objdir = @objdir@
|
|
|
|
|
|
re PR bootstrap/17383 (Building in src dir fails)
2005-05-25 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.
config:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* config/acx.m4 (GCC_TOPLEV_SUBDIRS): Set HOST_SUBDIR if an in-src
gcc build is going.
gcc:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* gcc/Makefile.in (host_subdir): New.
(build_objdir): New. Replace ../$(build_subdir) with it throughout.
* gcc/configure: Regenerate.
libada:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* Makefile.in (GCC_DIR): Add $(HOST_SUBDIR) to the definition.
libjava:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* configure.ac: Call GCC_TOPLEV_SUBDIRS.
(COMPPATH): Removed.
(ZIP, GCJH): Replace it with ../$(host_subdir).
(built_gcc_dir): Add $(host_subdir).
* configure: Regenerate.
* Makefile.in, include/Makefile.in, testsuite/Makefile.in,
gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
external/w3c_dom/Makefile.in: Regenerate.
libobjc:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* configure.ac: Call GCC_TOPLEV_SUBDIRS.
(Determine CFLAGS for gthread): Use $host_subdir.
* configure: Regenerate.
* Makefile.in (host_subdir): New.
(INCLUDES): Use it.
From-SVN: r95680
2005-02-28 14:26:36 +01:00
|
|
|
|
host_subdir=@host_subdir@
|
2004-08-31 11:27:00 +02:00
|
|
|
|
build_subdir=@build_subdir@
|
2007-06-14 10:10:41 +02:00
|
|
|
|
target_subdir=@target_subdir@
|
2006-07-18 13:48:36 +02:00
|
|
|
|
build_libsubdir=@build_libsubdir@
|
2004-08-31 11:27:00 +02:00
|
|
|
|
|
2007-06-14 10:10:41 +02:00
|
|
|
|
# Top build directory for the "Cygnus tree", relative to $(top_builddir).
|
re PR bootstrap/17383 (Building in src dir fails)
2005-05-25 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.
config:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* config/acx.m4 (GCC_TOPLEV_SUBDIRS): Set HOST_SUBDIR if an in-src
gcc build is going.
gcc:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* gcc/Makefile.in (host_subdir): New.
(build_objdir): New. Replace ../$(build_subdir) with it throughout.
* gcc/configure: Regenerate.
libada:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* Makefile.in (GCC_DIR): Add $(HOST_SUBDIR) to the definition.
libjava:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* configure.ac: Call GCC_TOPLEV_SUBDIRS.
(COMPPATH): Removed.
(ZIP, GCJH): Replace it with ../$(host_subdir).
(built_gcc_dir): Add $(host_subdir).
* configure: Regenerate.
* Makefile.in, include/Makefile.in, testsuite/Makefile.in,
gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
external/w3c_dom/Makefile.in: Regenerate.
libobjc:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* configure.ac: Call GCC_TOPLEV_SUBDIRS.
(Determine CFLAGS for gthread): Use $host_subdir.
* configure: Regenerate.
* Makefile.in (host_subdir): New.
(INCLUDES): Use it.
From-SVN: r95680
2005-02-28 14:26:36 +01:00
|
|
|
|
ifeq ($(host_subdir),.)
|
2007-06-14 10:10:41 +02:00
|
|
|
|
toplevel_builddir := ..
|
re PR bootstrap/17383 (Building in src dir fails)
2005-05-25 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.
config:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* config/acx.m4 (GCC_TOPLEV_SUBDIRS): Set HOST_SUBDIR if an in-src
gcc build is going.
gcc:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* gcc/Makefile.in (host_subdir): New.
(build_objdir): New. Replace ../$(build_subdir) with it throughout.
* gcc/configure: Regenerate.
libada:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* Makefile.in (GCC_DIR): Add $(HOST_SUBDIR) to the definition.
libjava:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* configure.ac: Call GCC_TOPLEV_SUBDIRS.
(COMPPATH): Removed.
(ZIP, GCJH): Replace it with ../$(host_subdir).
(built_gcc_dir): Add $(host_subdir).
* configure: Regenerate.
* Makefile.in, include/Makefile.in, testsuite/Makefile.in,
gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
external/w3c_dom/Makefile.in: Regenerate.
libobjc:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* configure.ac: Call GCC_TOPLEV_SUBDIRS.
(Determine CFLAGS for gthread): Use $host_subdir.
* configure: Regenerate.
* Makefile.in (host_subdir): New.
(INCLUDES): Use it.
From-SVN: r95680
2005-02-28 14:26:36 +01:00
|
|
|
|
else
|
2007-06-14 10:10:41 +02:00
|
|
|
|
toplevel_builddir := ../..
|
re PR bootstrap/17383 (Building in src dir fails)
2005-05-25 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.
config:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* config/acx.m4 (GCC_TOPLEV_SUBDIRS): Set HOST_SUBDIR if an in-src
gcc build is going.
gcc:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* gcc/Makefile.in (host_subdir): New.
(build_objdir): New. Replace ../$(build_subdir) with it throughout.
* gcc/configure: Regenerate.
libada:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* Makefile.in (GCC_DIR): Add $(HOST_SUBDIR) to the definition.
libjava:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* configure.ac: Call GCC_TOPLEV_SUBDIRS.
(COMPPATH): Removed.
(ZIP, GCJH): Replace it with ../$(host_subdir).
(built_gcc_dir): Add $(host_subdir).
* configure: Regenerate.
* Makefile.in, include/Makefile.in, testsuite/Makefile.in,
gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
external/w3c_dom/Makefile.in: Regenerate.
libobjc:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* configure.ac: Call GCC_TOPLEV_SUBDIRS.
(Determine CFLAGS for gthread): Use $host_subdir.
* configure: Regenerate.
* Makefile.in (host_subdir): New.
(INCLUDES): Use it.
From-SVN: r95680
2005-02-28 14:26:36 +01:00
|
|
|
|
endif
|
|
|
|
|
|
2007-06-14 10:10:41 +02:00
|
|
|
|
build_objdir := $(toplevel_builddir)/$(build_subdir)
|
|
|
|
|
build_libobjdir := $(toplevel_builddir)/$(build_libsubdir)
|
|
|
|
|
target_objdir := $(toplevel_builddir)/$(target_subdir)
|
|
|
|
|
|
2003-10-24 21:34:50 +02:00
|
|
|
|
# --------
|
|
|
|
|
# Defined vpaths
|
|
|
|
|
# --------
|
|
|
|
|
|
|
|
|
|
# Directory where sources are, from where we are.
|
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
2004-03-09 02:53:28 +01:00
|
|
|
|
# We define a vpath for the sources of the .texi files here because they
|
2003-10-24 21:34:50 +02:00
|
|
|
|
# are split between multiple directories and we would rather use one implicit
|
|
|
|
|
# pattern rule for everything.
|
|
|
|
|
# This vpath could be extended within the Make-lang fragments.
|
|
|
|
|
|
2007-11-29 16:34:21 +01:00
|
|
|
|
vpath %.texi $(gcc_docdir)
|
|
|
|
|
vpath %.texi $(gcc_docdir)/include
|
2003-10-24 21:34:50 +02:00
|
|
|
|
|
2003-10-31 10:53:53 +01:00
|
|
|
|
# ----
|
|
|
|
|
# Default values for variables overridden in Makefile fragments.
|
|
|
|
|
# These need to be quite early in the Makefile so as to avoid
|
|
|
|
|
# trouble induced by changes in fragment ordering.
|
|
|
|
|
# ----
|
|
|
|
|
|
|
|
|
|
# For ada/Make-lang.in; overridden in, for example, config/pa/x-ada.
|
|
|
|
|
X_ADA_CFLAGS =
|
|
|
|
|
T_ADA_CFLAGS =
|
|
|
|
|
X_ADAFLAGS =
|
|
|
|
|
T_ADAFLAGS =
|
|
|
|
|
|
2003-03-12 21:41:00 +01:00
|
|
|
|
# --------
|
|
|
|
|
# UNSORTED
|
|
|
|
|
# --------
|
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Variables that exist for you to override.
|
|
|
|
|
# See below for how to change them for certain systems.
|
|
|
|
|
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
# List of language subdirectories.
|
2004-10-05 23:51:13 +02:00
|
|
|
|
SUBDIRS =@subdirs@ build
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Selection of languages to be made.
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
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.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
|
CONFIG_LANGUAGES = @all_selected_languages@
|
2002-12-16 19:23:00 +01:00
|
|
|
|
LANGUAGES = c gcov$(exeext) gcov-dump$(exeext) $(CONFIG_LANGUAGES)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1999-09-18 20:05:59 +02:00
|
|
|
|
# Various ways of specifying flags for compilations:
|
2001-04-13 12:14:47 +02:00
|
|
|
|
# CFLAGS is for the user to override to, e.g., do a cross build with -O2.
|
configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'.
* configure.in: If not NO_MINUS_C_MINUS_O, substitute
OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
top level. Kill oldstyle_subdirs. Do not include
$srcdir/$s/Makefile.in in all_lang_makefiles, but do include
$outputs. Do not run configure.lang from config.status.
Rearrange warning-flag logic to correspond to what the
makefile wants. Put special vax stage1 options in
@stage1_flags@ not @stage1_warn_cflags@. Don't do anything
with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
(--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
switch is given, nothing otherwise.
* configure.lang: Delete.
* Makefile.in: Expunge all traces of extra_c_objs,
extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
@maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
warning options via a three level scheme so that -pedantic and
-Wtraditional are not used for non-C front ends: LOOSE_WARN,
STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
generation rules. Wrap all rules that change the current
directory in parentheses; pmake doesn't spawn a new shell for
each command. Expunge all references to $(P). When one
command depends on another and they're run all at once, use &&
to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
and beyond.
* cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in,
objc/Make-lang.in: Wrap all rules that change the current
directory in parentheses. Expunge all references to $(P).
When one command depends on another and they're run all at
once, use && to separate them, not ;. Add OUTPUT_OPTION to
all object-file generation rules. Delete obsolete variables.
Move all build rules here from the corresponding Makefile.in and
adapt to the new environment.
* cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in:
Delete.
* cp/config-lang.in, f/config-lang.in, java/config-lang.in:
Delete outputs= line.
From-SVN: r37088
2000-10-27 22:22:28 +02:00
|
|
|
|
# XCFLAGS is used for most compilations but not when using the GCC just built.
|
|
|
|
|
# TCFLAGS is used for compilations with the GCC just built.
|
|
|
|
|
XCFLAGS =
|
|
|
|
|
TCFLAGS =
|
2006-06-15 08:26:59 +02:00
|
|
|
|
CFLAGS = @CFLAGS@
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
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.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
|
LDFLAGS = @LDFLAGS@
|
configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'.
* configure.in: If not NO_MINUS_C_MINUS_O, substitute
OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
top level. Kill oldstyle_subdirs. Do not include
$srcdir/$s/Makefile.in in all_lang_makefiles, but do include
$outputs. Do not run configure.lang from config.status.
Rearrange warning-flag logic to correspond to what the
makefile wants. Put special vax stage1 options in
@stage1_flags@ not @stage1_warn_cflags@. Don't do anything
with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
(--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
switch is given, nothing otherwise.
* configure.lang: Delete.
* Makefile.in: Expunge all traces of extra_c_objs,
extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
@maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
warning options via a three level scheme so that -pedantic and
-Wtraditional are not used for non-C front ends: LOOSE_WARN,
STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
generation rules. Wrap all rules that change the current
directory in parentheses; pmake doesn't spawn a new shell for
each command. Expunge all references to $(P). When one
command depends on another and they're run all at once, use &&
to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
and beyond.
* cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in,
objc/Make-lang.in: Wrap all rules that change the current
directory in parentheses. Expunge all references to $(P).
When one command depends on another and they're run all at
once, use && to separate them, not ;. Add OUTPUT_OPTION to
all object-file generation rules. Delete obsolete variables.
Move all build rules here from the corresponding Makefile.in and
adapt to the new environment.
* cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in:
Delete.
* cp/config-lang.in, f/config-lang.in, java/config-lang.in:
Delete outputs= line.
From-SVN: r37088
2000-10-27 22:22:28 +02:00
|
|
|
|
|
2002-08-08 11:10:39 +02:00
|
|
|
|
# Flags to determine code coverage. When coverage is disabled, this will
|
|
|
|
|
# contain the optimization flags, as you normally want code coverage
|
2003-07-07 13:12:31 +02:00
|
|
|
|
# without optimization.
|
2002-08-08 11:10:39 +02:00
|
|
|
|
COVERAGE_FLAGS = @coverage_flags@
|
gcov-io.h: Update documentation.
* gcov-io.h: Update documentation.
(GCOV_GRAPH_SUFFIX, GCOV_GRAPH_MAGIC): Rename to GCOV_NOTE_SUFFIX,
GCOV_NOTE_MAGIC.
(GCOV_DATA_SUFFIX, GCOV_NOTE_SUFFIX): Update.
(GCOV_DATA_MAGIC, GCOV_NOTE_MAGIC): Make non-palindromic.
(struct gcov_var): Change buffer's type. Add endian flag.
(gcov_open): Remove mode in libgcov.
(gcov_magic): Prototype.
* gcov-io.c (from_file): New.
(gcov_open): Clear endian flag.
(gcov_magic): New.
(gcov_write_bytes, gcov_read_bytes): Return gcov_unsigned_t
pointers.
(gcov_write_unsigned, gcov_write_counter, gcov_write_string,
gcov_write_tag, gcov_write_length, gcov_write_tag_length): Update.
(gcov_read_unsigned, gcov_read_counter, gcov_read_string): Update.
* gcov-iov.c (main): Correct cast.
* coverage.c (read_counts_file): Use gcov_magic. Remove endianness
conversion.
(gcov_begin_output): Use GCOV_NOTE_MAGIC.
(coverage_init): Use GCOV_NOTE_SUFFIX.
* libgcov.c (gcov_version_mismatch): Remove endianness conversion.
Rename to gcov_version, and return flag.
(gcov_exit): Use gcov_version.
(__gcov_init): Use gcov_version.
* Makefile.in (coverageexts): Update.
* gcov.c (print_version): Remove endianness conversion.
(create_file_names): Use GCOV_NOTE_SUFFIX.
(read_graph_file): Use gcov_magic.
(read_count_file): Likewise.
* gcov-dump.c (dump_file): Remove endianness conversion, use
gcov_magic.
From-SVN: r69137
2003-07-09 14:12:29 +02:00
|
|
|
|
coverageexts = .{gcda,gcno}
|
2002-08-08 11:10:39 +02:00
|
|
|
|
|
configure.ac (strict1_warn): Rename to strict_warn.
2007-01-11 Paolo Bonzini <bonzini@gnu.org>
* configure.ac (strict1_warn): Rename to strict_warn.
(WERROR, --enable-werror, symlink hacks, stage1_cflags,
cc_set_by_configure, quoted_cc_set_by_configure,
stage_prefix_set_by_configure, quoted_stage_prefix_set_by_configure,
all_boot_languages, all_stagestuff): Remove.
(target_list): Remove bootstrap targets.
* Makefile.in (quickstrap): Unconditionally make a synonym of all.
(BOOT_LANGUAGES, STAGE1_CFLAGS, STAGE1_CHECKING,
REMAKEFLAGS, FLAGS_TO_PASS, PREPEND_DOTDOT_TO_RELATIVE_PATHS,
SUBDIR_FLAGS_TO_PASS, WERROR_FLAGS, STRICT2_WARN, LANG_STAGESTUFF,
VOL_FILES, POSTSTAGE1_FLAGS_TO_PASS, STAGE2_FLAGS_TO_PASS,
STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS, stage1_build,
stage1_copy, stage2_build, stage2_copy, stageprofile_build,
stageprofile_copy, stage3_build, stage3_copy, stagefeedback_build,
stagefeedback_copy, stage4_build, clean_s1, clean_sw, bootstrap,
bootstrap-lean, bootstrap2, bootstrap2-lean, bootstrap3,
bootstrap3-lean, bootstrap4, bootstrap4-lean, unstage1, unstage2,
unstage3, unstage4, unstageprofile, unstagefeedback, restage, restage2,
restage3, restage4, restageprofile, restagefeedback, bubbleestrap,
cleanstrap, unstrap, restrap, *compare, *compare3, *compare4,
*compare-lean, *compare3-lean, *compare4-lean, stage1-start, stage1,
stage2-start, stage2, stage3-start, stage3, stage4-start, stage4,
stageprofile-start, stageprofile, stagefeedback-start, stagefeedback,
risky-stage1, risky-stage2, risky-stage3, risky-stage4): Remove.
(ORDINARY_FLAGS_TO_PASS): Rename to FLAGS_TO_PASS.
(STAGECOPYSTUFF, STAGEMOVESTUFF): Consolidate into MOSTLYCLEANFILES.
(mostlyclean): Adjust.
(clean, distclean): Don't mention bootstrap stuff.
* configure: Regenerate.
* ada/config-lang.in, cp/config-lang.in, forttran/config-lang.in,
java/config-lang.in, objc/config-lang.in, objcp/config-lang.in,
treelang/config-lang.in (stagestuff): Remove.
* doc/sourcebuild.texi (stage1, stage2, stage3, stage4,
stageprofile, stagefeedback, stagestuff): Remove mention.
From-SVN: r120670
2007-01-11 11:49:30 +01:00
|
|
|
|
# The warning flags are separate from CFLAGS because people tend to
|
2000-08-30 00:55:39 +02:00
|
|
|
|
# override optimization flags and we'd like them to still have warnings
|
|
|
|
|
# turned on. These flags are also used to pass other stage dependent
|
|
|
|
|
# flags from configure. The user is free to explicitly turn these flags
|
|
|
|
|
# off if they wish.
|
configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'.
* configure.in: If not NO_MINUS_C_MINUS_O, substitute
OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
top level. Kill oldstyle_subdirs. Do not include
$srcdir/$s/Makefile.in in all_lang_makefiles, but do include
$outputs. Do not run configure.lang from config.status.
Rearrange warning-flag logic to correspond to what the
makefile wants. Put special vax stage1 options in
@stage1_flags@ not @stage1_warn_cflags@. Don't do anything
with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
(--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
switch is given, nothing otherwise.
* configure.lang: Delete.
* Makefile.in: Expunge all traces of extra_c_objs,
extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
@maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
warning options via a three level scheme so that -pedantic and
-Wtraditional are not used for non-C front ends: LOOSE_WARN,
STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
generation rules. Wrap all rules that change the current
directory in parentheses; pmake doesn't spawn a new shell for
each command. Expunge all references to $(P). When one
command depends on another and they're run all at once, use &&
to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
and beyond.
* cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in,
objc/Make-lang.in: Wrap all rules that change the current
directory in parentheses. Expunge all references to $(P).
When one command depends on another and they're run all at
once, use && to separate them, not ;. Add OUTPUT_OPTION to
all object-file generation rules. Delete obsolete variables.
Move all build rules here from the corresponding Makefile.in and
adapt to the new environment.
* cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in:
Delete.
* cp/config-lang.in, f/config-lang.in, java/config-lang.in:
Delete outputs= line.
From-SVN: r37088
2000-10-27 22:22:28 +02:00
|
|
|
|
# LOOSE_WARN are the warning flags to use when compiling something
|
|
|
|
|
# which is only compiled with gcc, such as libgcc and the frontends
|
|
|
|
|
# other than C.
|
configure.ac (strict1_warn): Rename to strict_warn.
2007-01-11 Paolo Bonzini <bonzini@gnu.org>
* configure.ac (strict1_warn): Rename to strict_warn.
(WERROR, --enable-werror, symlink hacks, stage1_cflags,
cc_set_by_configure, quoted_cc_set_by_configure,
stage_prefix_set_by_configure, quoted_stage_prefix_set_by_configure,
all_boot_languages, all_stagestuff): Remove.
(target_list): Remove bootstrap targets.
* Makefile.in (quickstrap): Unconditionally make a synonym of all.
(BOOT_LANGUAGES, STAGE1_CFLAGS, STAGE1_CHECKING,
REMAKEFLAGS, FLAGS_TO_PASS, PREPEND_DOTDOT_TO_RELATIVE_PATHS,
SUBDIR_FLAGS_TO_PASS, WERROR_FLAGS, STRICT2_WARN, LANG_STAGESTUFF,
VOL_FILES, POSTSTAGE1_FLAGS_TO_PASS, STAGE2_FLAGS_TO_PASS,
STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS, stage1_build,
stage1_copy, stage2_build, stage2_copy, stageprofile_build,
stageprofile_copy, stage3_build, stage3_copy, stagefeedback_build,
stagefeedback_copy, stage4_build, clean_s1, clean_sw, bootstrap,
bootstrap-lean, bootstrap2, bootstrap2-lean, bootstrap3,
bootstrap3-lean, bootstrap4, bootstrap4-lean, unstage1, unstage2,
unstage3, unstage4, unstageprofile, unstagefeedback, restage, restage2,
restage3, restage4, restageprofile, restagefeedback, bubbleestrap,
cleanstrap, unstrap, restrap, *compare, *compare3, *compare4,
*compare-lean, *compare3-lean, *compare4-lean, stage1-start, stage1,
stage2-start, stage2, stage3-start, stage3, stage4-start, stage4,
stageprofile-start, stageprofile, stagefeedback-start, stagefeedback,
risky-stage1, risky-stage2, risky-stage3, risky-stage4): Remove.
(ORDINARY_FLAGS_TO_PASS): Rename to FLAGS_TO_PASS.
(STAGECOPYSTUFF, STAGEMOVESTUFF): Consolidate into MOSTLYCLEANFILES.
(mostlyclean): Adjust.
(clean, distclean): Don't mention bootstrap stuff.
* configure: Regenerate.
* ada/config-lang.in, cp/config-lang.in, forttran/config-lang.in,
java/config-lang.in, objc/config-lang.in, objcp/config-lang.in,
treelang/config-lang.in (stagestuff): Remove.
* doc/sourcebuild.texi (stage1, stage2, stage3, stage4,
stageprofile, stagefeedback, stagestuff): Remove mention.
From-SVN: r120670
2007-01-11 11:49:30 +01:00
|
|
|
|
# STRICT_WARN are the additional warning flags to
|
configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'.
* configure.in: If not NO_MINUS_C_MINUS_O, substitute
OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
top level. Kill oldstyle_subdirs. Do not include
$srcdir/$s/Makefile.in in all_lang_makefiles, but do include
$outputs. Do not run configure.lang from config.status.
Rearrange warning-flag logic to correspond to what the
makefile wants. Put special vax stage1 options in
@stage1_flags@ not @stage1_warn_cflags@. Don't do anything
with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
(--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
switch is given, nothing otherwise.
* configure.lang: Delete.
* Makefile.in: Expunge all traces of extra_c_objs,
extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
@maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
warning options via a three level scheme so that -pedantic and
-Wtraditional are not used for non-C front ends: LOOSE_WARN,
STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
generation rules. Wrap all rules that change the current
directory in parentheses; pmake doesn't spawn a new shell for
each command. Expunge all references to $(P). When one
command depends on another and they're run all at once, use &&
to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
and beyond.
* cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in,
objc/Make-lang.in: Wrap all rules that change the current
directory in parentheses. Expunge all references to $(P).
When one command depends on another and they're run all at
once, use && to separate them, not ;. Add OUTPUT_OPTION to
all object-file generation rules. Delete obsolete variables.
Move all build rules here from the corresponding Makefile.in and
adapt to the new environment.
* cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in:
Delete.
* cp/config-lang.in, f/config-lang.in, java/config-lang.in:
Delete outputs= line.
From-SVN: r37088
2000-10-27 22:22:28 +02:00
|
|
|
|
# apply to the back end and the C front end, which may be compiled
|
configure.ac (strict1_warn): Rename to strict_warn.
2007-01-11 Paolo Bonzini <bonzini@gnu.org>
* configure.ac (strict1_warn): Rename to strict_warn.
(WERROR, --enable-werror, symlink hacks, stage1_cflags,
cc_set_by_configure, quoted_cc_set_by_configure,
stage_prefix_set_by_configure, quoted_stage_prefix_set_by_configure,
all_boot_languages, all_stagestuff): Remove.
(target_list): Remove bootstrap targets.
* Makefile.in (quickstrap): Unconditionally make a synonym of all.
(BOOT_LANGUAGES, STAGE1_CFLAGS, STAGE1_CHECKING,
REMAKEFLAGS, FLAGS_TO_PASS, PREPEND_DOTDOT_TO_RELATIVE_PATHS,
SUBDIR_FLAGS_TO_PASS, WERROR_FLAGS, STRICT2_WARN, LANG_STAGESTUFF,
VOL_FILES, POSTSTAGE1_FLAGS_TO_PASS, STAGE2_FLAGS_TO_PASS,
STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS, stage1_build,
stage1_copy, stage2_build, stage2_copy, stageprofile_build,
stageprofile_copy, stage3_build, stage3_copy, stagefeedback_build,
stagefeedback_copy, stage4_build, clean_s1, clean_sw, bootstrap,
bootstrap-lean, bootstrap2, bootstrap2-lean, bootstrap3,
bootstrap3-lean, bootstrap4, bootstrap4-lean, unstage1, unstage2,
unstage3, unstage4, unstageprofile, unstagefeedback, restage, restage2,
restage3, restage4, restageprofile, restagefeedback, bubbleestrap,
cleanstrap, unstrap, restrap, *compare, *compare3, *compare4,
*compare-lean, *compare3-lean, *compare4-lean, stage1-start, stage1,
stage2-start, stage2, stage3-start, stage3, stage4-start, stage4,
stageprofile-start, stageprofile, stagefeedback-start, stagefeedback,
risky-stage1, risky-stage2, risky-stage3, risky-stage4): Remove.
(ORDINARY_FLAGS_TO_PASS): Rename to FLAGS_TO_PASS.
(STAGECOPYSTUFF, STAGEMOVESTUFF): Consolidate into MOSTLYCLEANFILES.
(mostlyclean): Adjust.
(clean, distclean): Don't mention bootstrap stuff.
* configure: Regenerate.
* ada/config-lang.in, cp/config-lang.in, forttran/config-lang.in,
java/config-lang.in, objc/config-lang.in, objcp/config-lang.in,
treelang/config-lang.in (stagestuff): Remove.
* doc/sourcebuild.texi (stage1, stage2, stage3, stage4,
stageprofile, stagefeedback, stagestuff): Remove mention.
From-SVN: r120670
2007-01-11 11:49:30 +01:00
|
|
|
|
# with other compilers.
|
2006-01-29 20:51:40 +01:00
|
|
|
|
# CXX_COMPAT_WARN are C++ source compatibility warnings.
|
2007-06-14 10:10:41 +02:00
|
|
|
|
LOOSE_WARN = @loose_warn@
|
configure.ac (strict1_warn): Rename to strict_warn.
2007-01-11 Paolo Bonzini <bonzini@gnu.org>
* configure.ac (strict1_warn): Rename to strict_warn.
(WERROR, --enable-werror, symlink hacks, stage1_cflags,
cc_set_by_configure, quoted_cc_set_by_configure,
stage_prefix_set_by_configure, quoted_stage_prefix_set_by_configure,
all_boot_languages, all_stagestuff): Remove.
(target_list): Remove bootstrap targets.
* Makefile.in (quickstrap): Unconditionally make a synonym of all.
(BOOT_LANGUAGES, STAGE1_CFLAGS, STAGE1_CHECKING,
REMAKEFLAGS, FLAGS_TO_PASS, PREPEND_DOTDOT_TO_RELATIVE_PATHS,
SUBDIR_FLAGS_TO_PASS, WERROR_FLAGS, STRICT2_WARN, LANG_STAGESTUFF,
VOL_FILES, POSTSTAGE1_FLAGS_TO_PASS, STAGE2_FLAGS_TO_PASS,
STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS, stage1_build,
stage1_copy, stage2_build, stage2_copy, stageprofile_build,
stageprofile_copy, stage3_build, stage3_copy, stagefeedback_build,
stagefeedback_copy, stage4_build, clean_s1, clean_sw, bootstrap,
bootstrap-lean, bootstrap2, bootstrap2-lean, bootstrap3,
bootstrap3-lean, bootstrap4, bootstrap4-lean, unstage1, unstage2,
unstage3, unstage4, unstageprofile, unstagefeedback, restage, restage2,
restage3, restage4, restageprofile, restagefeedback, bubbleestrap,
cleanstrap, unstrap, restrap, *compare, *compare3, *compare4,
*compare-lean, *compare3-lean, *compare4-lean, stage1-start, stage1,
stage2-start, stage2, stage3-start, stage3, stage4-start, stage4,
stageprofile-start, stageprofile, stagefeedback-start, stagefeedback,
risky-stage1, risky-stage2, risky-stage3, risky-stage4): Remove.
(ORDINARY_FLAGS_TO_PASS): Rename to FLAGS_TO_PASS.
(STAGECOPYSTUFF, STAGEMOVESTUFF): Consolidate into MOSTLYCLEANFILES.
(mostlyclean): Adjust.
(clean, distclean): Don't mention bootstrap stuff.
* configure: Regenerate.
* ada/config-lang.in, cp/config-lang.in, forttran/config-lang.in,
java/config-lang.in, objc/config-lang.in, objcp/config-lang.in,
treelang/config-lang.in (stagestuff): Remove.
* doc/sourcebuild.texi (stage1, stage2, stage3, stage4,
stageprofile, stagefeedback, stagestuff): Remove mention.
From-SVN: r120670
2007-01-11 11:49:30 +01:00
|
|
|
|
STRICT_WARN = @strict_warn@
|
2006-01-29 20:51:40 +01:00
|
|
|
|
CXX_COMPAT_WARN = @cxx_compat_warn@
|
configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'.
* configure.in: If not NO_MINUS_C_MINUS_O, substitute
OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
top level. Kill oldstyle_subdirs. Do not include
$srcdir/$s/Makefile.in in all_lang_makefiles, but do include
$outputs. Do not run configure.lang from config.status.
Rearrange warning-flag logic to correspond to what the
makefile wants. Put special vax stage1 options in
@stage1_flags@ not @stage1_warn_cflags@. Don't do anything
with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
(--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
switch is given, nothing otherwise.
* configure.lang: Delete.
* Makefile.in: Expunge all traces of extra_c_objs,
extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
@maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
warning options via a three level scheme so that -pedantic and
-Wtraditional are not used for non-C front ends: LOOSE_WARN,
STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
generation rules. Wrap all rules that change the current
directory in parentheses; pmake doesn't spawn a new shell for
each command. Expunge all references to $(P). When one
command depends on another and they're run all at once, use &&
to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
and beyond.
* cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in,
objc/Make-lang.in: Wrap all rules that change the current
directory in parentheses. Expunge all references to $(P).
When one command depends on another and they're run all at
once, use && to separate them, not ;. Add OUTPUT_OPTION to
all object-file generation rules. Delete obsolete variables.
Move all build rules here from the corresponding Makefile.in and
adapt to the new environment.
* cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in:
Delete.
* cp/config-lang.in, f/config-lang.in, java/config-lang.in:
Delete outputs= line.
From-SVN: r37088
2000-10-27 22:22:28 +02:00
|
|
|
|
|
2002-08-15 23:45:47 +02:00
|
|
|
|
# This is set by --enable-checking. The idea is to catch forgotten
|
|
|
|
|
# "extern" tags in header files.
|
|
|
|
|
NOCOMMON_FLAG = @nocommon_flag@
|
|
|
|
|
|
2004-01-14 12:53:19 +01:00
|
|
|
|
# This is set by --disable-maintainer-mode (default) to "#"
|
2004-01-16 00:49:11 +01:00
|
|
|
|
MAINT := @MAINT@
|
2004-01-14 12:53:19 +01:00
|
|
|
|
|
Makefile.in (RUN_GEN, [...]): New variables.
* Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
(DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
(executing gencheck, genconfigs, genconditions, genflags,
gencodes, genconstants, genemit, genrecog, genopinit, genextract,
genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
gengtype, genprotos): Prepend $(RUN_GEN).
* configure.in: Move host compiler tests before --enable-checking
tests.
(--enable-checking=valgrind): New.
* config.in, configure: Regenerate.
* cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
Define as empty.
(read_include_file): When doing the mmap+1 trick,
valgrind-annotate the byte after the mmap:ed area as readable.
(purge_cache): Remove above annotation.
* gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
VALGRIND_PATH -q to each command.
From-SVN: r59309
2002-11-20 20:49:53 +01:00
|
|
|
|
# These are set by --enable-checking=valgrind.
|
|
|
|
|
RUN_GEN = @valgrind_command@
|
|
|
|
|
VALGRIND_DRIVER_DEFINES = @valgrind_path_defines@
|
|
|
|
|
|
configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'.
* configure.in: If not NO_MINUS_C_MINUS_O, substitute
OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
top level. Kill oldstyle_subdirs. Do not include
$srcdir/$s/Makefile.in in all_lang_makefiles, but do include
$outputs. Do not run configure.lang from config.status.
Rearrange warning-flag logic to correspond to what the
makefile wants. Put special vax stage1 options in
@stage1_flags@ not @stage1_warn_cflags@. Don't do anything
with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
(--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
switch is given, nothing otherwise.
* configure.lang: Delete.
* Makefile.in: Expunge all traces of extra_c_objs,
extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
@maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
warning options via a three level scheme so that -pedantic and
-Wtraditional are not used for non-C front ends: LOOSE_WARN,
STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
generation rules. Wrap all rules that change the current
directory in parentheses; pmake doesn't spawn a new shell for
each command. Expunge all references to $(P). When one
command depends on another and they're run all at once, use &&
to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
and beyond.
* cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in,
objc/Make-lang.in: Wrap all rules that change the current
directory in parentheses. Expunge all references to $(P).
When one command depends on another and they're run all at
once, use && to separate them, not ;. Add OUTPUT_OPTION to
all object-file generation rules. Delete obsolete variables.
Move all build rules here from the corresponding Makefile.in and
adapt to the new environment.
* cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in:
Delete.
* cp/config-lang.in, f/config-lang.in, java/config-lang.in:
Delete outputs= line.
From-SVN: r37088
2000-10-27 22:22:28 +02:00
|
|
|
|
# This is how we control whether or not the additional warnings are applied.
|
|
|
|
|
.-warn = $(STRICT_WARN)
|
2005-01-12 04:50:55 +01:00
|
|
|
|
build-warn = $(STRICT_WARN)
|
2003-03-20 04:11:25 +01:00
|
|
|
|
GCC_WARN_CFLAGS = $(LOOSE_WARN) $($(@D)-warn) $(NOCOMMON_FLAG) $($@-warn)
|
2003-01-21 14:45:16 +01:00
|
|
|
|
|
2006-01-29 04:30:47 +01:00
|
|
|
|
# These files are to have specific diagnostics suppressed, or are not to
|
|
|
|
|
# be subject to -Werror:
|
2003-05-03 23:44:31 +02:00
|
|
|
|
# flex output may yield harmless "no previous prototype" warnings
|
2004-10-05 13:56:00 +02:00
|
|
|
|
build/gengtype-lex.o-warn = -Wno-error
|
2003-11-03 06:35:30 +01:00
|
|
|
|
# SYSCALLS.c misses prototypes
|
|
|
|
|
SYSCALLS.c.X-warn = -Wno-strict-prototypes -Wno-error
|
configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'.
* configure.in: If not NO_MINUS_C_MINUS_O, substitute
OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
top level. Kill oldstyle_subdirs. Do not include
$srcdir/$s/Makefile.in in all_lang_makefiles, but do include
$outputs. Do not run configure.lang from config.status.
Rearrange warning-flag logic to correspond to what the
makefile wants. Put special vax stage1 options in
@stage1_flags@ not @stage1_warn_cflags@. Don't do anything
with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
(--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
switch is given, nothing otherwise.
* configure.lang: Delete.
* Makefile.in: Expunge all traces of extra_c_objs,
extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
@maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
warning options via a three level scheme so that -pedantic and
-Wtraditional are not used for non-C front ends: LOOSE_WARN,
STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
generation rules. Wrap all rules that change the current
directory in parentheses; pmake doesn't spawn a new shell for
each command. Expunge all references to $(P). When one
command depends on another and they're run all at once, use &&
to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
and beyond.
* cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in,
objc/Make-lang.in: Wrap all rules that change the current
directory in parentheses. Expunge all references to $(P).
When one command depends on another and they're run all at
once, use && to separate them, not ;. Add OUTPUT_OPTION to
all object-file generation rules. Delete obsolete variables.
Move all build rules here from the corresponding Makefile.in and
adapt to the new environment.
* cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in:
Delete.
* cp/config-lang.in, f/config-lang.in, java/config-lang.in:
Delete outputs= line.
From-SVN: r37088
2000-10-27 22:22:28 +02:00
|
|
|
|
|
|
|
|
|
# All warnings have to be shut off in stage1 if the compiler used then
|
|
|
|
|
# isn't gcc; configure determines that. WARN_CFLAGS will be either
|
|
|
|
|
# $(GCC_WARN_CFLAGS), or nothing.
|
|
|
|
|
WARN_CFLAGS = @warn_cflags@
|
|
|
|
|
|
2003-12-16 06:45:30 +01:00
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# These exists to be overridden by the x-* and t-* files, respectively.
|
|
|
|
|
X_CFLAGS =
|
|
|
|
|
T_CFLAGS =
|
|
|
|
|
|
|
|
|
|
X_CPPFLAGS =
|
|
|
|
|
T_CPPFLAGS =
|
|
|
|
|
|
1999-01-27 02:43:17 +01:00
|
|
|
|
AWK = @AWK@
|
1997-07-10 19:07:44 +02:00
|
|
|
|
CC = @CC@
|
configure.in: Remove AC_PROG_LEX and AC_PROG_YACC.
* configure.in: Remove AC_PROG_LEX and AC_PROG_YACC. Look for
flex and bison, specifically, first in a unified build and
then installed on the system.
* Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@. Rename
LEXFLAGS to FLEXFLAGS. Adjust ORDINARY_FLAGS_TO_PASS to
match.
(collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
cppdefault.o): Remove pointless sed munging of source file
name.
f:
* Make-lang.in (f/fini.o, f/proj-h.o): Remove pointless sed
munging of source file name.
($(srcdir)/f/intdoc.texi): Break up into several rules each of
which builds just one thing. Don't mess with $(LANGUAGES).
(f/ansify.o, f/intdoc.o): Remove unnecessary rules.
From-SVN: r37371
2000-11-10 18:23:09 +01:00
|
|
|
|
BISON = @BISON@
|
1993-05-23 07:18:39 +02:00
|
|
|
|
BISONFLAGS =
|
configure.in: Remove AC_PROG_LEX and AC_PROG_YACC.
* configure.in: Remove AC_PROG_LEX and AC_PROG_YACC. Look for
flex and bison, specifically, first in a unified build and
then installed on the system.
* Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@. Rename
LEXFLAGS to FLEXFLAGS. Adjust ORDINARY_FLAGS_TO_PASS to
match.
(collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
cppdefault.o): Remove pointless sed munging of source file
name.
f:
* Make-lang.in (f/fini.o, f/proj-h.o): Remove pointless sed
munging of source file name.
($(srcdir)/f/intdoc.texi): Break up into several rules each of
which builds just one thing. Don't mess with $(LANGUAGES).
(f/ansify.o, f/intdoc.o): Remove unnecessary rules.
From-SVN: r37371
2000-11-10 18:23:09 +01:00
|
|
|
|
FLEX = @FLEX@
|
|
|
|
|
FLEXFLAGS =
|
2004-07-13 04:21:30 +02:00
|
|
|
|
AR = @AR@
|
1992-02-03 23:08:59 +01:00
|
|
|
|
AR_FLAGS = rc
|
2004-07-13 04:21:30 +02:00
|
|
|
|
NM = @NM@
|
2001-03-07 20:05:25 +01:00
|
|
|
|
RANLIB = @RANLIB@
|
2004-07-04 19:18:59 +02:00
|
|
|
|
RANLIB_FLAGS = @ranlib_flags@
|
2003-03-12 21:41:00 +01:00
|
|
|
|
|
|
|
|
|
# -------------------------------------------
|
|
|
|
|
# Programs which operate on the build machine
|
|
|
|
|
# -------------------------------------------
|
|
|
|
|
|
2002-06-25 03:58:10 +02:00
|
|
|
|
SHELL = @SHELL@
|
2002-05-16 19:43:21 +02:00
|
|
|
|
# pwd command to use. Allow user to override default by setting PWDCMD in
|
|
|
|
|
# the environment to account for automounters. The make variable must not
|
|
|
|
|
# be called PWDCMD, otherwise the value set here is passed to make
|
|
|
|
|
# subprocesses and overrides the setting from the user's environment.
|
2003-07-04 21:45:55 +02:00
|
|
|
|
# Don't use PWD since it is a common shell environment variable and we
|
|
|
|
|
# don't want to corrupt it.
|
|
|
|
|
PWD_COMMAND = $${PWDCMD-pwd}
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# on sysV, define this as cp.
|
1997-05-18 14:31:46 +02:00
|
|
|
|
INSTALL = @INSTALL@
|
1997-09-11 22:39:08 +02:00
|
|
|
|
# Some systems may be missing symbolic links, regular links, or both.
|
|
|
|
|
# Allow configure to check this and use "ln -s", "ln", or "cp" as appropriate.
|
|
|
|
|
LN=@LN@
|
|
|
|
|
LN_S=@LN_S@
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# These permit overriding just for certain files.
|
1997-09-14 00:52:49 +02:00
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
2001-12-05 00:42:45 +01:00
|
|
|
|
INSTALL_SCRIPT = @INSTALL@
|
2000-05-02 21:09:24 +02:00
|
|
|
|
MAKEINFO = @MAKEINFO@
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
MAKEINFOFLAGS = --no-split
|
1993-05-06 15:26:26 +02:00
|
|
|
|
TEXI2DVI = texi2dvi
|
2006-10-11 01:48:09 +02:00
|
|
|
|
TEXI2PDF = texi2pdf
|
2004-11-13 08:35:55 +01:00
|
|
|
|
TEXI2HTML = $(MAKEINFO) --html
|
2001-01-03 21:15:01 +01:00
|
|
|
|
TEXI2POD = perl $(srcdir)/../contrib/texi2pod.pl
|
texi2pod.pl: Handle @ifnottex, @iftex and @display.
contrib:
* texi2pod.pl: Handle @ifnottex, @iftex and @display. Handle @var
in verbatim blocks specially. Handle @unnumbered, @unnumberedsec
and @center. Allow [a-z] after @enumerate. Handle 0 and numbers
greater than 9 in enumerations.
gcc:
* Makefile.in (POD2MAN): Don't include --section=1.
(manext): Rename to man1ext. All users changed.
(man7ext): New.
(man7dir): New.
(generated-manpages): Also depend on $(docdir)/gfdl.7,
$(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
--section=1 in calls to $(POD2MAN).
($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
(maintainer-clean, install, uninstall): Handle the new man pages.
($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
(installdirs): Create man7dir.
* doc/cpp.texi: Include GFDL in this manual. In the man page,
refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
the SEE ALSO man page section.
* doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
and fsf-funding(7) in the SEE ALSO man page section.
* doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
* doc/include/fdl.texi, doc/include/funding.texi,
doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
* doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
gcc/cp:
* Make-lang.in: Change all uses of $(manext) to $(man1ext).
gcc/f:
* Make-lang.in: Change all uses of $(manext) to $(man1ext).
From-SVN: r46998
2001-11-14 01:47:47 +01:00
|
|
|
|
POD2MAN = pod2man --center="GNU" --release="gcc-$(version)"
|
2001-05-16 21:05:50 +02:00
|
|
|
|
# Some versions of `touch' (such as the version on Solaris 2.8)
|
2001-05-13 21:37:13 +02:00
|
|
|
|
# do not correctly set the timestamp due to buggy versions of `utime'
|
2001-05-16 21:05:50 +02:00
|
|
|
|
# in the kernel. So, we use `echo' instead.
|
2001-05-13 21:37:13 +02:00
|
|
|
|
STAMP = echo timestamp >
|
2008-02-21 20:55:39 +01:00
|
|
|
|
# If necessary (e.g., when using the MSYS shell on Microsoft Windows)
|
|
|
|
|
# translate the shell's notion of absolute pathnames to the native
|
|
|
|
|
# spelling.
|
2008-02-19 20:38:52 +01:00
|
|
|
|
build_file_translate = @build_file_translate@
|
2001-05-13 21:37:13 +02:00
|
|
|
|
|
2003-03-12 21:41:00 +01:00
|
|
|
|
# Make sure the $(MAKE) variable is defined.
|
|
|
|
|
@SET_MAKE@
|
|
|
|
|
|
2004-02-08 00:45:23 +01:00
|
|
|
|
# Locate mkinstalldirs.
|
|
|
|
|
mkinstalldirs=$(SHELL) $(srcdir)/../mkinstalldirs
|
|
|
|
|
|
2003-03-12 21:41:00 +01:00
|
|
|
|
# --------
|
|
|
|
|
# UNSORTED
|
|
|
|
|
# --------
|
|
|
|
|
|
|
|
|
|
# Some compilers can't handle cc -c blah.c -o foo/blah.o.
|
|
|
|
|
# In stage2 and beyond, we force this to "-o $@" since we know we're using gcc.
|
|
|
|
|
OUTPUT_OPTION = @OUTPUT_OPTION@
|
|
|
|
|
|
configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'.
* configure.in: If not NO_MINUS_C_MINUS_O, substitute
OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
top level. Kill oldstyle_subdirs. Do not include
$srcdir/$s/Makefile.in in all_lang_makefiles, but do include
$outputs. Do not run configure.lang from config.status.
Rearrange warning-flag logic to correspond to what the
makefile wants. Put special vax stage1 options in
@stage1_flags@ not @stage1_warn_cflags@. Don't do anything
with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
(--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
switch is given, nothing otherwise.
* configure.lang: Delete.
* Makefile.in: Expunge all traces of extra_c_objs,
extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
@maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
warning options via a three level scheme so that -pedantic and
-Wtraditional are not used for non-C front ends: LOOSE_WARN,
STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
generation rules. Wrap all rules that change the current
directory in parentheses; pmake doesn't spawn a new shell for
each command. Expunge all references to $(P). When one
command depends on another and they're run all at once, use &&
to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
and beyond.
* cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in,
objc/Make-lang.in: Wrap all rules that change the current
directory in parentheses. Expunge all references to $(P).
When one command depends on another and they're run all at
once, use && to separate them, not ;. Add OUTPUT_OPTION to
all object-file generation rules. Delete obsolete variables.
Move all build rules here from the corresponding Makefile.in and
adapt to the new environment.
* cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in:
Delete.
* cp/config-lang.in, f/config-lang.in, java/config-lang.in:
Delete outputs= line.
From-SVN: r37088
2000-10-27 22:22:28 +02:00
|
|
|
|
# This is where we get zlib from. zlibdir is -L../zlib and zlibinc is
|
|
|
|
|
# -I../zlib, unless we were configured with --with-system-zlib, in which
|
|
|
|
|
# case both are empty.
|
|
|
|
|
ZLIB = @zlibdir@ -lz
|
|
|
|
|
ZLIBINC = @zlibinc@
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2004-05-13 08:41:07 +02:00
|
|
|
|
# How to find GMP
|
|
|
|
|
GMPLIBS = @GMPLIBS@
|
|
|
|
|
GMPINC = @GMPINC@
|
|
|
|
|
|
2004-05-24 19:34:14 +02:00
|
|
|
|
CPPLIB = ../libcpp/libcpp.a
|
2004-05-24 12:50:45 +02:00
|
|
|
|
CPPINC = -I$(srcdir)/../libcpp/include
|
|
|
|
|
|
dfp.h, dfp.c: New files.
2005-12-02 Jon Grimm <jgrimm2@us.ibm.com>
Janis Johnson <janis187@us.ibm.com>
David Edelsohn <dje@watson.ibm.com>
Ben Elliston <bje@au.ibm.com>
* dfp.h, dfp.c: New files.
* Makefile.in (DECNUM, DECNUMINC, LIBDECNUMBER): New variables.
(DECNUM_H): Likewise.
(LIBDEPS, LIBS, BACKEND): Append $(LIBDECNUMBER).
(INCLUDES): Append $(DECNUMINC).
(OBJS-common): Add dfp.o.
(dfp.o): New rule.
* real.h (EXP_BITS): Pinch one bit to ..
(struct real_value): Add decimal field.
(real_format): Change table size, update documentation.
(REAL_MODE_FORMAT): Update for to handle float, decimal float.
(real_from_string3): Declare.
(decimal_single_format): Declare.
(decimal_double_format): Declare.
(decimal_quad_format): Declare.
(REAL_VALUE_TO_TARGET_DECIMAL32): New.
(REAL_VALUE_TO_TARGET_DECIMAL64): New.
(REAL_VALUE_TO_TARGET_DECIMAL128): New.
* real.c: Include dfp.h.
(normalize): Early return for decimal floats.
(do_add): Zero decimal field.
(do_compare): Call do_decimal_compare for decimal floats.
(do_fix_trunc): Likewise, call decimal_do_fix_trunc.
(real_arithmetic): Call decimal_real_arithmetic for decimal
floating point operands.
(real_identical): If a and b are of differing radix, return false.
(real_to_integer): Call decimal_real_to_integer if the value is a
decimal float.
(real_to_integer2): Likewise, call decimal_real_to_integer2.
(real_to_decimal): Likewise, call decimal_real_to_decimal.
(real_to_hexadecimal): Place "N/A" in the return string for
decimal float.
(real_from_string3): New variant, given a mode.
(real_maxval): Use decimal_real_maxval for decimal floats.
(round_for_format): Use decimal_round_for_format for decimals.
(real_convert): Use decimal_real_convert where appropriate.
(significand_size): Handle base 10.
(encode_decimal_single, decode_decimal_single,
encode_decimal_double, decode_decimal_double, encode_decimal_quad,
decode_decimal_quad): New functions.
(decimal_single_format): New.
(decimal_double_format): New.
(decimal_quad_format): New.
* machmode.def: Add SD, DD and TD decimal floating point modes.
* machmode.h (FLOAT_MODE_P, SCALAR_FLOAT_MODE_P, MODES_WIDEN_P):
Include MODE_DECIMAL_FLOAT.
(DECIMAL_FLOAT_MODE_P): New.
* mode-classes.def (MODE_DECIMAL_FLOAT): New mode class.
* genmodes.c (struct mode_data): Add counter field.
(struct mode_data): Update comment for format.
(blank_mode): Initialise counter field.
(new_mode): Increment counter field for each mode defined.
(complete_mode): Handle MODE_DECIMAL_FLOAT, update check for mode
using a format.
(make_complex_modes): Handle modes containing `D'.
(DECIMAL_FLOAT_MODE, FRACTIONAL_DECIMAL_FLOAT_MODE): New.
(make_decimal_float_mode): New.
(reset_float_format): Handle MODE_DECIMAL_FLOAT.
(cmp_modes): Compare counter field if other characteristics
similar.
(emit_real_format_for_mode): Support formats for decimal floats.
* doc/rtl.texi (Machine Modes): Document SD, DD and TDmodes.
Document MODE_DECIMAL_FLOAT.
Co-Authored-By: Ben Elliston <bje@au.ibm.com>
Co-Authored-By: David Edelsohn <dje@watson.ibm.com>
Co-Authored-By: Janis Johnson <janis187@us.ibm.com>
From-SVN: r107861
2005-12-02 03:30:42 +01:00
|
|
|
|
# Where to find decNumber
|
2007-03-24 18:04:47 +01:00
|
|
|
|
enable_decimal_float = @enable_decimal_float@
|
dfp.h, dfp.c: New files.
2005-12-02 Jon Grimm <jgrimm2@us.ibm.com>
Janis Johnson <janis187@us.ibm.com>
David Edelsohn <dje@watson.ibm.com>
Ben Elliston <bje@au.ibm.com>
* dfp.h, dfp.c: New files.
* Makefile.in (DECNUM, DECNUMINC, LIBDECNUMBER): New variables.
(DECNUM_H): Likewise.
(LIBDEPS, LIBS, BACKEND): Append $(LIBDECNUMBER).
(INCLUDES): Append $(DECNUMINC).
(OBJS-common): Add dfp.o.
(dfp.o): New rule.
* real.h (EXP_BITS): Pinch one bit to ..
(struct real_value): Add decimal field.
(real_format): Change table size, update documentation.
(REAL_MODE_FORMAT): Update for to handle float, decimal float.
(real_from_string3): Declare.
(decimal_single_format): Declare.
(decimal_double_format): Declare.
(decimal_quad_format): Declare.
(REAL_VALUE_TO_TARGET_DECIMAL32): New.
(REAL_VALUE_TO_TARGET_DECIMAL64): New.
(REAL_VALUE_TO_TARGET_DECIMAL128): New.
* real.c: Include dfp.h.
(normalize): Early return for decimal floats.
(do_add): Zero decimal field.
(do_compare): Call do_decimal_compare for decimal floats.
(do_fix_trunc): Likewise, call decimal_do_fix_trunc.
(real_arithmetic): Call decimal_real_arithmetic for decimal
floating point operands.
(real_identical): If a and b are of differing radix, return false.
(real_to_integer): Call decimal_real_to_integer if the value is a
decimal float.
(real_to_integer2): Likewise, call decimal_real_to_integer2.
(real_to_decimal): Likewise, call decimal_real_to_decimal.
(real_to_hexadecimal): Place "N/A" in the return string for
decimal float.
(real_from_string3): New variant, given a mode.
(real_maxval): Use decimal_real_maxval for decimal floats.
(round_for_format): Use decimal_round_for_format for decimals.
(real_convert): Use decimal_real_convert where appropriate.
(significand_size): Handle base 10.
(encode_decimal_single, decode_decimal_single,
encode_decimal_double, decode_decimal_double, encode_decimal_quad,
decode_decimal_quad): New functions.
(decimal_single_format): New.
(decimal_double_format): New.
(decimal_quad_format): New.
* machmode.def: Add SD, DD and TD decimal floating point modes.
* machmode.h (FLOAT_MODE_P, SCALAR_FLOAT_MODE_P, MODES_WIDEN_P):
Include MODE_DECIMAL_FLOAT.
(DECIMAL_FLOAT_MODE_P): New.
* mode-classes.def (MODE_DECIMAL_FLOAT): New mode class.
* genmodes.c (struct mode_data): Add counter field.
(struct mode_data): Update comment for format.
(blank_mode): Initialise counter field.
(new_mode): Increment counter field for each mode defined.
(complete_mode): Handle MODE_DECIMAL_FLOAT, update check for mode
using a format.
(make_complex_modes): Handle modes containing `D'.
(DECIMAL_FLOAT_MODE, FRACTIONAL_DECIMAL_FLOAT_MODE): New.
(make_decimal_float_mode): New.
(reset_float_format): Handle MODE_DECIMAL_FLOAT.
(cmp_modes): Compare counter field if other characteristics
similar.
(emit_real_format_for_mode): Support formats for decimal floats.
* doc/rtl.texi (Machine Modes): Document SD, DD and TDmodes.
Document MODE_DECIMAL_FLOAT.
Co-Authored-By: Ben Elliston <bje@au.ibm.com>
Co-Authored-By: David Edelsohn <dje@watson.ibm.com>
Co-Authored-By: Janis Johnson <janis187@us.ibm.com>
From-SVN: r107861
2005-12-02 03:30:42 +01:00
|
|
|
|
DECNUM = $(srcdir)/../libdecnumber
|
2007-03-24 18:04:47 +01:00
|
|
|
|
DECNUMFMT = $(srcdir)/../libdecnumber/$(enable_decimal_float)
|
|
|
|
|
DECNUMINC = -I$(DECNUM) -I$(DECNUMFMT) -I../libdecnumber
|
dfp.h, dfp.c: New files.
2005-12-02 Jon Grimm <jgrimm2@us.ibm.com>
Janis Johnson <janis187@us.ibm.com>
David Edelsohn <dje@watson.ibm.com>
Ben Elliston <bje@au.ibm.com>
* dfp.h, dfp.c: New files.
* Makefile.in (DECNUM, DECNUMINC, LIBDECNUMBER): New variables.
(DECNUM_H): Likewise.
(LIBDEPS, LIBS, BACKEND): Append $(LIBDECNUMBER).
(INCLUDES): Append $(DECNUMINC).
(OBJS-common): Add dfp.o.
(dfp.o): New rule.
* real.h (EXP_BITS): Pinch one bit to ..
(struct real_value): Add decimal field.
(real_format): Change table size, update documentation.
(REAL_MODE_FORMAT): Update for to handle float, decimal float.
(real_from_string3): Declare.
(decimal_single_format): Declare.
(decimal_double_format): Declare.
(decimal_quad_format): Declare.
(REAL_VALUE_TO_TARGET_DECIMAL32): New.
(REAL_VALUE_TO_TARGET_DECIMAL64): New.
(REAL_VALUE_TO_TARGET_DECIMAL128): New.
* real.c: Include dfp.h.
(normalize): Early return for decimal floats.
(do_add): Zero decimal field.
(do_compare): Call do_decimal_compare for decimal floats.
(do_fix_trunc): Likewise, call decimal_do_fix_trunc.
(real_arithmetic): Call decimal_real_arithmetic for decimal
floating point operands.
(real_identical): If a and b are of differing radix, return false.
(real_to_integer): Call decimal_real_to_integer if the value is a
decimal float.
(real_to_integer2): Likewise, call decimal_real_to_integer2.
(real_to_decimal): Likewise, call decimal_real_to_decimal.
(real_to_hexadecimal): Place "N/A" in the return string for
decimal float.
(real_from_string3): New variant, given a mode.
(real_maxval): Use decimal_real_maxval for decimal floats.
(round_for_format): Use decimal_round_for_format for decimals.
(real_convert): Use decimal_real_convert where appropriate.
(significand_size): Handle base 10.
(encode_decimal_single, decode_decimal_single,
encode_decimal_double, decode_decimal_double, encode_decimal_quad,
decode_decimal_quad): New functions.
(decimal_single_format): New.
(decimal_double_format): New.
(decimal_quad_format): New.
* machmode.def: Add SD, DD and TD decimal floating point modes.
* machmode.h (FLOAT_MODE_P, SCALAR_FLOAT_MODE_P, MODES_WIDEN_P):
Include MODE_DECIMAL_FLOAT.
(DECIMAL_FLOAT_MODE_P): New.
* mode-classes.def (MODE_DECIMAL_FLOAT): New mode class.
* genmodes.c (struct mode_data): Add counter field.
(struct mode_data): Update comment for format.
(blank_mode): Initialise counter field.
(new_mode): Increment counter field for each mode defined.
(complete_mode): Handle MODE_DECIMAL_FLOAT, update check for mode
using a format.
(make_complex_modes): Handle modes containing `D'.
(DECIMAL_FLOAT_MODE, FRACTIONAL_DECIMAL_FLOAT_MODE): New.
(make_decimal_float_mode): New.
(reset_float_format): Handle MODE_DECIMAL_FLOAT.
(cmp_modes): Compare counter field if other characteristics
similar.
(emit_real_format_for_mode): Support formats for decimal floats.
* doc/rtl.texi (Machine Modes): Document SD, DD and TDmodes.
Document MODE_DECIMAL_FLOAT.
Co-Authored-By: Ben Elliston <bje@au.ibm.com>
Co-Authored-By: David Edelsohn <dje@watson.ibm.com>
Co-Authored-By: Janis Johnson <janis187@us.ibm.com>
From-SVN: r107861
2005-12-02 03:30:42 +01:00
|
|
|
|
LIBDECNUMBER = ../libdecnumber/libdecnumber.a
|
|
|
|
|
|
2000-07-17 11:23:16 +02:00
|
|
|
|
# Substitution type for target's getgroups 2nd arg.
|
|
|
|
|
TARGET_GETGROUPS_T = @TARGET_GETGROUPS_T@
|
|
|
|
|
|
1993-01-14 21:10:31 +01:00
|
|
|
|
# Target to use when installing include directory. Either
|
2002-01-26 00:46:14 +01:00
|
|
|
|
# install-headers-tar, install-headers-cpio or install-headers-cp.
|
1997-05-18 14:31:46 +02:00
|
|
|
|
INSTALL_HEADERS_DIR = @build_install_headers_dir@
|
1993-01-14 21:10:31 +01:00
|
|
|
|
|
1995-09-28 19:02:22 +01:00
|
|
|
|
# Header files that are made available under the same name
|
|
|
|
|
# to programs compiled with GCC.
|
2007-01-29 21:27:41 +01:00
|
|
|
|
USER_H = $(srcdir)/ginclude/float.h \
|
Makefile.in (USER_H): Add ginclude/float.h.
* Makefile.in (USER_H): Add ginclude/float.h.
(FLOAT_H): Remove.
(stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
(mostlyclean): Don't remove float.h intermediate files.
(distclean): Don't remove float.h.
* config.gcc: Remove all float_format references.
* configure.in (float_format, float_h_file): Remove.
* c-common.c: Include tree-inline.h.
(builtin_define_with_int_value): New.
(builtin_define_type_precision): Use it.
(builtin_define_float_constants): New.
(cb_register_builtins): Use it. Define __FLT_RADIX__ and
__FLT_EVAL_METHOD__.
* defaults.h (TARGET_FLT_EVAL_METHOD): New.
* config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
* config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
* doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
(TARGET_FLT_EVAL_METHOD): New.
* config/float-c4x.h, config/float-i128.h, config/float-i32.h,
config/float-i386.h, config/float-i64.h, config/float-m68k.h,
config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
* ginclude/float.h: New.
From-SVN: r56769
2002-09-03 22:21:35 +02:00
|
|
|
|
$(srcdir)/ginclude/iso646.h \
|
|
|
|
|
$(srcdir)/ginclude/stdarg.h \
|
|
|
|
|
$(srcdir)/ginclude/stdbool.h \
|
|
|
|
|
$(srcdir)/ginclude/stddef.h \
|
|
|
|
|
$(srcdir)/ginclude/varargs.h \
|
stdfix.h: New file.
* ginclude/stdfix.h: New file.
* Makefile.in (USER_H): Add $(srcdir)/ginclude/stdfix.h.
(convert.o): Add dependence on fixed-value.h.
* c-convert.c (convert): Support FIXED_POINT_TYPE.
* c-cppbuiltin.c (builtin_define_fixed_point_constants): New function
to define fixed-point constants.
(c_cpp_builtins): Define fixed-point constants.
* convert.c (fixed-value.h): New include.
(convert_to_real): Update comment to include fixed-point.
Support FIXED_POINT_TYPE.
(convert_to_integer): Update comment to include fixed-point.
Support FIXED_POINT_TYPE.
(convert_to_complex): Support FIXED_POINT_TYPE.
(convert_to_fixed): New function.
* convert.h (convert_to_fixed): Declare.
* genopinit.c: Add comment about $Q for only fixed-point modes.
(optabs): Add fract_optab, fractuns_optab, satfract_optab,
satfractuns_optab, add_optab, ssadd_optab, usadd_optab, sub_optab,
sssub_optab, ussub_optab, smul_optab, ssmul_optab, usmul_optab,
ssmadd_widen_optab, usmadd_widen_optab, ssdiv_optab, udiv_optab,
usdiv_optab, ssashl_optab, usashl_optab, neg_optab, ssneg_optab,
usneg_optab for fixed-point modes.
(gen_insn): Add force_fixed to track the $Q format for all fixed-point
modes.
* optabs.c (optab_for_tree_code): For *DIV_EXPR, LSHIFT_EXPR,
PLUS_EXPR, MINUS_EXPR, MULT_EXPR, NEGATE_EXPR, return signed or
unsigned saturation optabs, when type is saturating.
(shift_optab_p): Return true for SS_ASHIFT or US_ASHIFT.
(expand_fixed_convert): New function.
(gen_fixed_libfunc, gen_signed_fixed_libfunc,
gen_unsigned_fixed_libfunc, gen_int_fp_fixed_libfunc,
gen_int_fp_signed_fixed_libfunc, gen_int_fixed_libfunc,
gen_int_signed_fixed_libfunc, gen_int_unsigned_fixed_libfunc,
gen_fract_conv_libfunc, gen_fractuns_conv_libfunc,
gen_satfract_conv_libfunc, gen_satfractuns_conv_libfunc): New
functions.
(init_optabs): Initialize ssadd_optab, usadd_optab, sssub_optab,
ussub_optab, ssmul_optab, usmul_optab, ssmadd_widen_optab,
usmadd_widen_optab, ssmsub_widen_optab, usmsub_widen_optab,
ssdiv_optab, usdiv_optab, ssashl_optab, usashl_optab, ssneg_optab,
usneg_optab, fract_optab, fractuns_optab, satfract_optab,
satfractuns_optab.
Initialize fixed-point libraries, including add, ssadd, usadd, sub,
sssub, ussub, mul, ssmul, usmul, div, ssdiv, udiv, usdiv, ashl,
ssashl, usashl, ashr, lshr, neg, ssneg, usneg, cmp, fract, satfract,
fractuns, satfractuns.
* optabs.h (enum optab_index): Add OTI_ssadd, OTI_usadd, OTI_sssub,
OTI_ussub, OTI_ssmul, OTI_usmul, OTI_ssdiv, OTI_usdiv, OTI_ssneg,
OTI_usneg, OTI_ssashl, OTI_usashl, OTI_ssmadd_widen, OTI_usmadd_widen,
OTI_ssmsub_widen, OTI_usmsub_widen.
(ssadd_optab, usadd_optab, sssub_optab, ussub_optab, ssmul_optab,
usmul_optab, ssdiv_optab, usdiv_optab, ssneg_optab, usneg_optab,
ssashl_optab, usashl_optab, ssmadd_widen_optab, usmadd_widen_optab,
umsub_widen_optab, usmsub_widen_optab): Define.
(enum convert_optab_index): Add COI_fract, COI_fractuns, COI_satfract,
COI_satfractuns.
(fract_optab, fractuns_optab, satfract_optab, satfractuns_optab):
Define.
(expand_fixed_convert): Declare.
* expr.c (convert_move): Support the move of fixed-point modes.
(emit_move_insn_1): Handle fixed-point mode to move via integer.
(categorize_ctor_elements_1): Handle FIXED_CST.
(count_type_elements): Handle FIXED_POINT_TYPE.
(expand_expr_real_1): For VECTOR_CST, check MODE_VECTOR_FRACT,
MODE_VECTOR_UFRACT, MODE_VECTOR_ACCUM, MODE_VECTOR_UACCUM.
Support FIXED_CST.
For PLUS_EXPR and MINUS_EXPR, support saturating and non-saturating
multiply and add/subtract for fixed-point types.
For MULT_EXPR, *DIV_EXPR, *SHIFT_EXPR, if the mode if a fixed-point
mode, we jump to binop directly.
Support FIXED_CONVERT_EXPR.
(do_store_flag): Check FIXED_CST to put a constant second.
(vector_mode_valid_p): Handle MODE_VECTOR_FRACT,
MODE_VECTOR_UFRACT, MODE_VECTOR_ACCUM, MODE_VECTOR_UACCUM.
(const_vector_from_tree): Support FIXED_CST.
* doc/extend.texi (Fixed-Point): New node.
* doc/md.texi (ssadd, usadd, sssub, ussub, ssmul, usmul, ssdiv, usdiv,
ssmadd, usmadd, ssmsub, usmsub, ssashl, usashl, ssneg, usneg, fract,
satfract, fractuns, satfractuns): Document them.
From-SVN: r128218
2007-09-07 03:24:09 +02:00
|
|
|
|
$(srcdir)/ginclude/stdfix.h \
|
Makefile.in (USER_H): Add ginclude/float.h.
* Makefile.in (USER_H): Add ginclude/float.h.
(FLOAT_H): Remove.
(stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
(mostlyclean): Don't remove float.h intermediate files.
(distclean): Don't remove float.h.
* config.gcc: Remove all float_format references.
* configure.in (float_format, float_h_file): Remove.
* c-common.c: Include tree-inline.h.
(builtin_define_with_int_value): New.
(builtin_define_type_precision): Use it.
(builtin_define_float_constants): New.
(cb_register_builtins): Use it. Define __FLT_RADIX__ and
__FLT_EVAL_METHOD__.
* defaults.h (TARGET_FLT_EVAL_METHOD): New.
* config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
* config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
* doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
(TARGET_FLT_EVAL_METHOD): New.
* config/float-c4x.h, config/float-i128.h, config/float-i32.h,
config/float-i386.h, config/float-i64.h, config/float-m68k.h,
config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
* ginclude/float.h: New.
From-SVN: r56769
2002-09-03 22:21:35 +02:00
|
|
|
|
$(EXTRA_HEADERS)
|
1995-09-28 19:02:22 +01:00
|
|
|
|
|
Makefile.in: Set and use UNWIND_H.
2005-06-28 Paul Brook <paul@codesourcery.com>
gcc/
* Makefile.in: Set and use UNWIND_H. Install as unwind.h.
* c-decl.c (finish_decl): Call default_init_unwind_resume_libfunc.
* except.c (add_ehspec_entry): Generate arm eabi filter lists.
(assign_filter_values): Ditto.
(output_ttype): New function.
(output_function_exception_table): Use output_ttype. Generate arm
eabi filter lists.
(default_init_unwind_resume_libfunc): New function.
* except.h (default_init_unwind_resume_libfunc): Add prototype.
* optabs.c (init_optabs): Don't set unwind_resume_libfunc.
* opts.c (decode_options): Use targetm.unwind_tables_default.
* target-def.h (TARGET_ASM_TTYPE): Provide and use definition.
(TARGET_ARM_EABI_UNWINDER, TARGET_UNWIND_TABLES_DEFAULT): Ditto.
* target.h (struct gcc_target): Add asm.ttype, unwind_tables_default
and arm_eabi_unwinder.
* unwind-c.c: Support Arm EABI unwinder.
* unwind.h: Rename ...
* unwind-generic.h: ... To this.
* doc/tm.texi (TARGET_ASM_TTYPE, TARGET_ARM_EABI_UNWINDER): Document.
(TARGET_UNWID_TABLES_DEFAULT): Document.
* config/arm/arm-protos.h (arm_output_fn_unwind): Add prototype.
* config/arm/arm.c (arm_unwind_emit, arm_output_ttype): New functions.
(TARGET_UNWIND_EMIT, TARGET_ASM_TTYPE, TARGET_ARM_EABI_UNWINDER):
Define.
(thumb_pushpop, thumb_output_function_prologue): Output unwinding
directives.
(arm_unwind_emit_stm, arm_unwind_emit_set): New functions.
* config/arm/arm.h (MUST_USE_SJLJ_EXCEPTIONS): Only define when
!TARGET_UNWIND_INFO.
(ARM_OUTPUT_FN_UNWIND, ARM_EABI_UNWIND_TABLES): Define.
* config/arm/bpabi.h (TARGET_UNWIND_INFO): Define.
* config/arm/elf.h (ASM_DECLARE_FUNCTION_NAME,
ASM_DECLARE_FUNCTION_SIZE): Use ARM_OUTPUT_FN_UNWIND.
* config/arm/lib1funcs.asm: Include libunwind.S.
* config/arm/libgcc-bpabi.ver: Add unwinding routines.
* config/arm/libunwind.S: New file.
* config/arm/pr-support.c: New file.
* config/arm/t-bpabi (LIB1ASMFUNCS): Add _unwind.
(UNWIND_H, LIB2ADDEH, LIB2ADDEHDEP): Set.
* config/arm/t-symbian (UNWIND_H, LIB2ADDEH, LIB2ADDEHDEP): Set.
* config/arm/unwind-arm.c: New file.
* config/arm/unwind-arm.h: New file.
* config/i386/t-netware (USER_H): Remove unwind.h.
* config/ia64/ia64.h (TARGET_UNWIND_TABLES_DEFAULT): Define.
gcc/cp/
* Make-lang.in (cp/except.o): Depend on $(TARGET_H)
* except.c: Include target.h.
(init_exception_processing): Initialize unwind_resume_libfunc.
* doc/tm.texi: Document TARGET_ASM_TTYPE
gcc/ada/
* misc.c (gnat_init_gcc_eh): Call default_init_unwind_resume_libfunc.
gcc/java/
* decl.c (java_init_decl_processing): Call
default_init_unwind_resume_libfunc.
gcc/objc/
* objc-act.c (objc_init_exceptions): Call
default_init_unwind_resume_libfunc.
libstdc++/
* acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
__cxa_end_cleanup.
* libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
* libsupc++/eh_arm.cc: New file.
* libsupc++/eh_call.cc: New file.
* libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
__gxx_caught_object.
(__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
_Unwind_Complete when using the ARM EABI.
(__cxa_end_catch): Use __is_gxx_exception_class.
* libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
using the ARM EABI.
(save_caught_exception, restore_caught_exception): New functions.
(_throw_typet): New typedef.
(get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
EABI implementations.
(PERSONALITY_FUNCTION): Use new functions. Addd support for ARM EABI
unwinding libary.
(__cxa_unexpected): Disable when using the ARM EABI.
* libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
(__cxa_rethrow): Use __is_gxx_exception_class. Call
_Unwind_RaiseException when using the ARM EABI.
* libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
EABI semantics.
(struct __cxa_eh_globals): Ditto.
(__cxa_call_terminate): Add prototype.
(__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
prototypes.
(__get_exception_header_from_obj, __get_exception_header_from_ue):
Move earlier in file.
(__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
__gxx_caught_object): New functions.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* src/Makefie.in: Regenerate.
* testsuite/makefile.in: Regenerate.
From-SVN: r101385
2005-06-28 21:52:27 +02:00
|
|
|
|
UNWIND_H = $(srcdir)/unwind-generic.h
|
|
|
|
|
|
Makefile.def (target_modules): Add libgcc.
./ * 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.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
# The GCC to use for compiling crt*.o.
|
1992-07-01 03:25:23 +02:00
|
|
|
|
# Usually the one we just built.
|
Makefile.def (target_modules): Add libgcc.
./ * 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.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
# Don't use this as a dependency--use $(GCC_PASSES).
|
2002-12-16 19:23:00 +01:00
|
|
|
|
GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) ./xgcc -B./ -B$(build_tooldir)/bin/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include -L$(objdir)/../ld
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
|
|
|
|
# This is used instead of ALL_CFLAGS when compiling with GCC_FOR_TARGET.
|
|
|
|
|
# It omits XCFLAGS, and specifies -B./.
|
2000-04-24 22:12:12 +02:00
|
|
|
|
# It also specifies -isystem ./include to find, e.g., stddef.h.
|
2005-07-25 21:42:04 +02:00
|
|
|
|
GCC_CFLAGS=$(CFLAGS_FOR_TARGET) $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(LOOSE_WARN) -Wold-style-definition $($@-warn) -isystem ./include $(TCFLAGS)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2003-03-12 21:41:00 +01:00
|
|
|
|
# ---------------------------------------------------
|
|
|
|
|
# Programs which produce files for the target machine
|
|
|
|
|
# ---------------------------------------------------
|
1998-05-18 03:24:26 +02:00
|
|
|
|
|
2004-05-20 22:17:04 +02:00
|
|
|
|
AR_FOR_TARGET := $(shell \
|
1998-05-18 03:24:26 +02:00
|
|
|
|
if [ -f $(objdir)/../binutils/ar ] ; then \
|
|
|
|
|
echo $(objdir)/../binutils/ar ; \
|
|
|
|
|
else \
|
2003-06-10 02:52:18 +02:00
|
|
|
|
if [ "$(host)" = "$(target)" ] ; then \
|
2004-07-13 04:21:30 +02:00
|
|
|
|
echo $(AR); \
|
1998-05-18 03:24:26 +02:00
|
|
|
|
else \
|
Makefile.in (program_transform_cross_name): Delete.
gcc/
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (program_transform_cross_name): Delete.
(GCC_CROSS_NAME, CPP_CROSS_NAME): Delete.
(PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Delete.
(AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET): Adjust for above.
(install_cpp, install_driver, install-man, uninstall): Likewise.
gcc/cp
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (GXX_CROSS_NAME, CXX_CROSS_NAME): Delete.
(c++.install_common, cp/g++.1, c++.install-man): Adjust for above.
(c++.uninstall): Likewise.
gcc/f
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (G77_CROSS_NAME): Delete.
(g77.install_common, g77.install-man, g77.uninstall): Adjust for above.
gcc/java
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (GCJ_CROSS_NAME): Delete.
(java.install_common, java.install-man): Adjust for above.
(java.uninstall): Likewise.
From-SVN: r74365
2003-12-06 14:13:20 +01:00
|
|
|
|
t='$(program_transform_name)'; echo ar | sed -e $$t ; \
|
1998-05-18 03:24:26 +02:00
|
|
|
|
fi; \
|
2004-05-20 22:17:04 +02:00
|
|
|
|
fi)
|
2001-05-16 21:05:50 +02:00
|
|
|
|
AR_FLAGS_FOR_TARGET =
|
2000-04-01 00:28:33 +02:00
|
|
|
|
AR_CREATE_FOR_TARGET = $(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET) rc
|
|
|
|
|
AR_EXTRACT_FOR_TARGET = $(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET) x
|
2005-10-01 01:43:07 +02:00
|
|
|
|
LIPO_FOR_TARGET = lipo
|
2005-06-16 14:49:06 +02:00
|
|
|
|
ORIGINAL_AS_FOR_TARGET = @ORIGINAL_AS_FOR_TARGET@
|
2004-05-20 22:17:04 +02:00
|
|
|
|
RANLIB_FOR_TARGET := $(shell \
|
1998-05-18 03:24:26 +02:00
|
|
|
|
if [ -f $(objdir)/../binutils/ranlib ] ; then \
|
|
|
|
|
echo $(objdir)/../binutils/ranlib ; \
|
|
|
|
|
else \
|
2003-06-10 02:52:18 +02:00
|
|
|
|
if [ "$(host)" = "$(target)" ] ; then \
|
2003-01-10 23:13:05 +01:00
|
|
|
|
echo $(RANLIB); \
|
1998-05-18 03:24:26 +02:00
|
|
|
|
else \
|
Makefile.in (program_transform_cross_name): Delete.
gcc/
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (program_transform_cross_name): Delete.
(GCC_CROSS_NAME, CPP_CROSS_NAME): Delete.
(PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Delete.
(AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET): Adjust for above.
(install_cpp, install_driver, install-man, uninstall): Likewise.
gcc/cp
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (GXX_CROSS_NAME, CXX_CROSS_NAME): Delete.
(c++.install_common, cp/g++.1, c++.install-man): Adjust for above.
(c++.uninstall): Likewise.
gcc/f
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (G77_CROSS_NAME): Delete.
(g77.install_common, g77.install-man, g77.uninstall): Adjust for above.
gcc/java
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (GCJ_CROSS_NAME): Delete.
(java.install_common, java.install-man): Adjust for above.
(java.uninstall): Likewise.
From-SVN: r74365
2003-12-06 14:13:20 +01:00
|
|
|
|
t='$(program_transform_name)'; echo ranlib | sed -e $$t ; \
|
1998-05-18 03:24:26 +02:00
|
|
|
|
fi; \
|
2004-05-20 22:17:04 +02:00
|
|
|
|
fi)
|
2005-06-16 14:49:06 +02:00
|
|
|
|
ORIGINAL_LD_FOR_TARGET = @ORIGINAL_LD_FOR_TARGET@
|
|
|
|
|
ORIGINAL_NM_FOR_TARGET = @ORIGINAL_NM_FOR_TARGET@
|
|
|
|
|
NM_FOR_TARGET = ./nm
|
2005-10-01 01:43:07 +02:00
|
|
|
|
STRIP_FOR_TARGET := $(shell \
|
|
|
|
|
if [ -f $(objdir)/../binutils/strip ] ; then \
|
|
|
|
|
echo $(objdir)/../binutils/strip ; \
|
|
|
|
|
else \
|
|
|
|
|
if [ "$(host)" = "$(target)" ] ; then \
|
|
|
|
|
echo strip; \
|
|
|
|
|
else \
|
|
|
|
|
t='$(program_transform_name)'; echo strip | sed -e $$t ; \
|
|
|
|
|
fi; \
|
|
|
|
|
fi)
|
1998-05-18 03:24:26 +02:00
|
|
|
|
|
2003-03-12 21:41:00 +01:00
|
|
|
|
# --------
|
|
|
|
|
# UNSORTED
|
|
|
|
|
# --------
|
|
|
|
|
|
2000-04-06 23:22:49 +02:00
|
|
|
|
# Where to find some libiberty headers.
|
|
|
|
|
HASHTAB_H = $(srcdir)/../include/hashtab.h
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
OBSTACK_H = $(srcdir)/../include/obstack.h
|
2000-06-21 20:41:38 +02:00
|
|
|
|
SPLAY_TREE_H= $(srcdir)/../include/splay-tree.h
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
FIBHEAP_H = $(srcdir)/../include/fibheap.h
|
|
|
|
|
PARTITION_H = $(srcdir)/../include/partition.h
|
|
|
|
|
MD5_H = $(srcdir)/../include/md5.h
|
2000-04-06 23:22:49 +02:00
|
|
|
|
|
build-make, cross-make: Delete file.
* build-make, cross-make: Delete file.
* configure.in: Set and substitute CROSS, ALL,
SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
whether build == host and host == target. Do not
AC_SUBST_FILE build_overrides or cross_overrides. Do not
AC_SUBST cross_defines or extra_c_flags.
* Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
(SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
partially or completely with autoconf-substituted @variable@
notation.
(INSTALL_TARGET, @cross_defines@, @cross_overrides@,
@build_overrides@, @extra_c_flags@, all.build, install-build,
install-cross-rest, install-float-h-cross): Deleted.
(install-normal): Rename to install. Delete old "install"
indirection rule.
* ada/Makefile.in, ch/Makefile.in: Don't set ALL. Delete
@cross_defines@, @cross_overrides@, @build_overrides@ stanzas.
INTERNAL_CFLAGS is now @CROSS@ -DIN_GCC; update comment.
From-SVN: r47617
2001-12-04 19:02:50 +01:00
|
|
|
|
# Default native SYSTEM_HEADER_DIR, to be overridden by targets.
|
|
|
|
|
NATIVE_SYSTEM_HEADER_DIR = /usr/include
|
configure.in (i?86-*-beos{pe,elf,}*): Recognize.
* configure.in (i?86-*-beos{pe,elf,}*): Recognize.
* i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
* i386/beos-elf.h, i386/beos-pe.h: New files.
* Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
* cross-make (SYSTEM_HEADER_DIR): Define using
CROSS_SYSTEM_HEADER_DIR.
* gcc.c (LIBRARY_PATH_ENV): Provide default.
(process_command): Use it.
(main): Likewise. Kill trailing = from env vars.
(build_search_list): Put it back.
* collect2.c (main): Use LIBRARY_PATH_ENV.
* configure.in (GCC_NEED_DECLARATIONS): Add environ.
* toplev.c: Use NEED_DECLARATION_ENVIRON.
* tm.texi (Frame Layout): Document SMALL_STACK.
* c-common.c (c_common_nodes_and_builtins): Check it.
* system.h: Undef alloca after including glibc's <stdlib.h>,
if USE_C_ALLOCA is defined.
* gcc.c (set_input): New fn.
(main): After all input files are compiled, reset the input file
info to the first.
* aclocal.m4 (rindex, index): If already defined, don't attempt
to redefine.
* ginclude/varargs.h: (__va_list__): Define ifndef.
* ginclude/stdarg.h: Likewise.
* ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
instead of unsigned char.
* hash.h (true, false, boolean): Undef before enum.
From-SVN: r31366
2000-01-13 01:37:06 +01:00
|
|
|
|
# Default cross SYSTEM_HEADER_DIR, to be overridden by targets.
|
2002-12-16 19:23:00 +01:00
|
|
|
|
CROSS_SYSTEM_HEADER_DIR = @CROSS_SYSTEM_HEADER_DIR@
|
configure.in (i?86-*-beos{pe,elf,}*): Recognize.
* configure.in (i?86-*-beos{pe,elf,}*): Recognize.
* i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
* i386/beos-elf.h, i386/beos-pe.h: New files.
* Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
* cross-make (SYSTEM_HEADER_DIR): Define using
CROSS_SYSTEM_HEADER_DIR.
* gcc.c (LIBRARY_PATH_ENV): Provide default.
(process_command): Use it.
(main): Likewise. Kill trailing = from env vars.
(build_search_list): Put it back.
* collect2.c (main): Use LIBRARY_PATH_ENV.
* configure.in (GCC_NEED_DECLARATIONS): Add environ.
* toplev.c: Use NEED_DECLARATION_ENVIRON.
* tm.texi (Frame Layout): Document SMALL_STACK.
* c-common.c (c_common_nodes_and_builtins): Check it.
* system.h: Undef alloca after including glibc's <stdlib.h>,
if USE_C_ALLOCA is defined.
* gcc.c (set_input): New fn.
(main): After all input files are compiled, reset the input file
info to the first.
* aclocal.m4 (rindex, index): If already defined, don't attempt
to redefine.
* ginclude/varargs.h: (__va_list__): Define ifndef.
* ginclude/stdarg.h: Likewise.
* ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
instead of unsigned char.
* hash.h (true, false, boolean): Undef before enum.
From-SVN: r31366
2000-01-13 01:37:06 +01:00
|
|
|
|
|
build-make, cross-make: Delete file.
* build-make, cross-make: Delete file.
* configure.in: Set and substitute CROSS, ALL,
SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
whether build == host and host == target. Do not
AC_SUBST_FILE build_overrides or cross_overrides. Do not
AC_SUBST cross_defines or extra_c_flags.
* Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
(SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
partially or completely with autoconf-substituted @variable@
notation.
(INSTALL_TARGET, @cross_defines@, @cross_overrides@,
@build_overrides@, @extra_c_flags@, all.build, install-build,
install-cross-rest, install-float-h-cross): Deleted.
(install-normal): Rename to install. Delete old "install"
indirection rule.
* ada/Makefile.in, ch/Makefile.in: Don't set ALL. Delete
@cross_defines@, @cross_overrides@, @build_overrides@ stanzas.
INTERNAL_CFLAGS is now @CROSS@ -DIN_GCC; update comment.
From-SVN: r47617
2001-12-04 19:02:50 +01:00
|
|
|
|
# autoconf sets SYSTEM_HEADER_DIR to one of the above.
|
2006-05-17 15:54:38 +02:00
|
|
|
|
# Purge it of unneccessary internal relative paths
|
|
|
|
|
# to directories that might not exist yet.
|
|
|
|
|
# The sed idiom for this is to repeat the search-and-replace until it doesn't match, using :a ... ta.
|
2007-02-16 09:53:51 +01:00
|
|
|
|
# Use single quotes here to avoid nested double- and backquotes, this
|
|
|
|
|
# macro is also used in a double-quoted context.
|
|
|
|
|
SYSTEM_HEADER_DIR = `echo @SYSTEM_HEADER_DIR@ | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`
|
build-make, cross-make: Delete file.
* build-make, cross-make: Delete file.
* configure.in: Set and substitute CROSS, ALL,
SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
whether build == host and host == target. Do not
AC_SUBST_FILE build_overrides or cross_overrides. Do not
AC_SUBST cross_defines or extra_c_flags.
* Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
(SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
partially or completely with autoconf-substituted @variable@
notation.
(INSTALL_TARGET, @cross_defines@, @cross_overrides@,
@build_overrides@, @extra_c_flags@, all.build, install-build,
install-cross-rest, install-float-h-cross): Deleted.
(install-normal): Rename to install. Delete old "install"
indirection rule.
* ada/Makefile.in, ch/Makefile.in: Don't set ALL. Delete
@cross_defines@, @cross_overrides@, @build_overrides@ stanzas.
INTERNAL_CFLAGS is now @CROSS@ -DIN_GCC; update comment.
From-SVN: r47617
2001-12-04 19:02:50 +01:00
|
|
|
|
|
2000-02-27 01:10:15 +01:00
|
|
|
|
# Control whether to run fixproto and fixincludes.
|
2001-12-05 23:06:28 +01:00
|
|
|
|
STMP_FIXPROTO = @STMP_FIXPROTO@
|
|
|
|
|
STMP_FIXINC = @STMP_FIXINC@
|
1993-07-26 10:49:02 +02:00
|
|
|
|
|
1994-12-22 18:16:22 +01:00
|
|
|
|
# Test to see whether <limits.h> exists in the system header files.
|
|
|
|
|
LIMITS_H_TEST = [ -f $(SYSTEM_HEADER_DIR)/limits.h ]
|
|
|
|
|
|
2002-12-16 19:23:00 +01:00
|
|
|
|
# Directory for prefix to system directories, for
|
|
|
|
|
# each of $(system_prefix)/usr/include, $(system_prefix)/usr/lib, etc.
|
|
|
|
|
TARGET_SYSTEM_ROOT = @TARGET_SYSTEM_ROOT@
|
|
|
|
|
|
2003-08-31 08:07:42 +02:00
|
|
|
|
xmake_file=@xmake_file@
|
|
|
|
|
tmake_file=@tmake_file@
|
1997-05-18 14:31:46 +02:00
|
|
|
|
out_file=$(srcdir)/config/@out_file@
|
|
|
|
|
out_object_file=@out_object_file@
|
|
|
|
|
md_file=$(srcdir)/config/@md_file@
|
2002-12-16 19:23:00 +01:00
|
|
|
|
tm_file_list=@tm_file_list@
|
Makefile.in (tm_file): Rename tm_include_list.
* Makefile.in (tm_file): Rename tm_include_list.
(tm_p_file): Rename tm_p_include_list.
(build_xm_file): Rename build_xm_include_list.
(host_xm_file): Rename host_xm_include_list.
(xm_file): Rename xm_include_list.
(xm_file_list): Add to be substituted.
(cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h):
Update to match.
(bt-load.o): Add missing dependency on $(TM_H).
* configure.in: Prefix value of EXTRA_MODES_FILE with config/.
For each of tm_file, tm_p_file, xm_file, host_xm_file, and
build_xm_file, generate both *_file_list and *_include_list
values from it. (xm_file_list was formerly not being generated.)
In *_include_list, prefix the names of all headers found in
$(srcdir)/config with config/. In each loop, consider only
the special case files that can actually appear in that list.
AC_SUBST all *_file_list and all *_include_list variables; do
not AC_SUBST the plain *_file variables.
* configure: Regenerate.
From-SVN: r70449
2003-08-14 22:25:14 +02:00
|
|
|
|
tm_include_list=@tm_include_list@
|
2002-06-15 19:31:32 +02:00
|
|
|
|
tm_defines=@tm_defines@
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
tm_p_file_list=@tm_p_file_list@
|
Makefile.in (tm_file): Rename tm_include_list.
* Makefile.in (tm_file): Rename tm_include_list.
(tm_p_file): Rename tm_p_include_list.
(build_xm_file): Rename build_xm_include_list.
(host_xm_file): Rename host_xm_include_list.
(xm_file): Rename xm_include_list.
(xm_file_list): Add to be substituted.
(cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h):
Update to match.
(bt-load.o): Add missing dependency on $(TM_H).
* configure.in: Prefix value of EXTRA_MODES_FILE with config/.
For each of tm_file, tm_p_file, xm_file, host_xm_file, and
build_xm_file, generate both *_file_list and *_include_list
values from it. (xm_file_list was formerly not being generated.)
In *_include_list, prefix the names of all headers found in
$(srcdir)/config with config/. In each loop, consider only
the special case files that can actually appear in that list.
AC_SUBST all *_file_list and all *_include_list variables; do
not AC_SUBST the plain *_file variables.
* configure: Regenerate.
From-SVN: r70449
2003-08-14 22:25:14 +02:00
|
|
|
|
tm_p_include_list=@tm_p_include_list@
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
build_xm_file_list=@build_xm_file_list@
|
Makefile.in (tm_file): Rename tm_include_list.
* Makefile.in (tm_file): Rename tm_include_list.
(tm_p_file): Rename tm_p_include_list.
(build_xm_file): Rename build_xm_include_list.
(host_xm_file): Rename host_xm_include_list.
(xm_file): Rename xm_include_list.
(xm_file_list): Add to be substituted.
(cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h):
Update to match.
(bt-load.o): Add missing dependency on $(TM_H).
* configure.in: Prefix value of EXTRA_MODES_FILE with config/.
For each of tm_file, tm_p_file, xm_file, host_xm_file, and
build_xm_file, generate both *_file_list and *_include_list
values from it. (xm_file_list was formerly not being generated.)
In *_include_list, prefix the names of all headers found in
$(srcdir)/config with config/. In each loop, consider only
the special case files that can actually appear in that list.
AC_SUBST all *_file_list and all *_include_list variables; do
not AC_SUBST the plain *_file variables.
* configure: Regenerate.
From-SVN: r70449
2003-08-14 22:25:14 +02:00
|
|
|
|
build_xm_include_list=@build_xm_include_list@
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
build_xm_defines=@build_xm_defines@
|
|
|
|
|
host_xm_file_list=@host_xm_file_list@
|
Makefile.in (tm_file): Rename tm_include_list.
* Makefile.in (tm_file): Rename tm_include_list.
(tm_p_file): Rename tm_p_include_list.
(build_xm_file): Rename build_xm_include_list.
(host_xm_file): Rename host_xm_include_list.
(xm_file): Rename xm_include_list.
(xm_file_list): Add to be substituted.
(cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h):
Update to match.
(bt-load.o): Add missing dependency on $(TM_H).
* configure.in: Prefix value of EXTRA_MODES_FILE with config/.
For each of tm_file, tm_p_file, xm_file, host_xm_file, and
build_xm_file, generate both *_file_list and *_include_list
values from it. (xm_file_list was formerly not being generated.)
In *_include_list, prefix the names of all headers found in
$(srcdir)/config with config/. In each loop, consider only
the special case files that can actually appear in that list.
AC_SUBST all *_file_list and all *_include_list variables; do
not AC_SUBST the plain *_file variables.
* configure: Regenerate.
From-SVN: r70449
2003-08-14 22:25:14 +02:00
|
|
|
|
host_xm_include_list=@host_xm_include_list@
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
host_xm_defines=@host_xm_defines@
|
Makefile.in (tm_file): Rename tm_include_list.
* Makefile.in (tm_file): Rename tm_include_list.
(tm_p_file): Rename tm_p_include_list.
(build_xm_file): Rename build_xm_include_list.
(host_xm_file): Rename host_xm_include_list.
(xm_file): Rename xm_include_list.
(xm_file_list): Add to be substituted.
(cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h):
Update to match.
(bt-load.o): Add missing dependency on $(TM_H).
* configure.in: Prefix value of EXTRA_MODES_FILE with config/.
For each of tm_file, tm_p_file, xm_file, host_xm_file, and
build_xm_file, generate both *_file_list and *_include_list
values from it. (xm_file_list was formerly not being generated.)
In *_include_list, prefix the names of all headers found in
$(srcdir)/config with config/. In each loop, consider only
the special case files that can actually appear in that list.
AC_SUBST all *_file_list and all *_include_list variables; do
not AC_SUBST the plain *_file variables.
* configure: Regenerate.
From-SVN: r70449
2003-08-14 22:25:14 +02:00
|
|
|
|
xm_file_list=@xm_file_list@
|
|
|
|
|
xm_include_list=@xm_include_list@
|
2001-03-11 22:19:11 +01:00
|
|
|
|
xm_defines=@xm_defines@
|
2003-11-20 10:59:59 +01:00
|
|
|
|
lang_checks=check-gcc
|
2003-06-14 14:26:36 +02:00
|
|
|
|
lang_opt_files=@lang_opt_files@ $(srcdir)/c.opt $(srcdir)/common.opt
|
1997-05-18 14:31:46 +02:00
|
|
|
|
lang_specs_files=@lang_specs_files@
|
1998-08-30 17:50:47 +02:00
|
|
|
|
lang_tree_files=@lang_tree_files@
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
target_cpu_default=@target_cpu_default@
|
1997-06-28 00:49:22 +02:00
|
|
|
|
GCC_THREAD_FILE=@thread_file@
|
1998-09-03 01:48:01 +02:00
|
|
|
|
OBJC_BOEHM_GC=@objc_boehm_gc@
|
1997-12-25 00:56:08 +01:00
|
|
|
|
GTHREAD_FLAGS=@gthread_flags@
|
genmodes.c, [...]: New files.
* genmodes.c, mode-classes.def: New files.
* machmode.def: Rewritten to genmodes.c interface.
* Makefile.in (extra_modes_file): New substitution variable.
(MACHMODE_H): No longer includes machmode.def or
@extra_modes_file@; instead, mode-classes.def and insn-modes.h.
(BUILD_RTL): Add $(BUILD_PREFIX)insn-modes.o.
(OBJS-common): Add insn-modes.o.
(STAGESTUFF): Add insn-modes.c, insn-modes.h, s-modes, and
genmodes$(build_exeext).
(insn-modes.o, insn-modes.c, insn-modes.h, s-modes, genmodes.o,
genmodes$(build_exeext), $(BUILD_PREFIX_1)insn-modes.o): New targets.
(s-genrtl): Don't depend on $(RTL_BASE_H).
(gengenrtl.o): Don't depend on coretypes.h, $(GTM_H), real.h,
or $(RTL_BASE_H); just rtl.def.
* gengenrtl.c: Don't include coretypes.h, tm.h, rtl.h, or
real.h. Give fake definition of CONST_DOUBLE_FORMAT and
substitute definition of NUM_RTX_CODE. Add casts to avoid
warnings.
* machmode.h: Include insn-modes.h, not machmode.def. Include
mode-classes.def to define enum mode_class. Tweak definitions
of GET_MODE_CLASS, GET_MODE_SIZE, GET_MODE_BITSIZE, GET_MODE_MASK,
GET_MODE_INNER, GET_MODE_WIDER_MODE, GET_CLASS_NARROWEST_MODE.
(inner_mode_array): Renamed mode_inner.
(mode_base_align): New.
* rtl.c (mode_name, mode_class, mode_bitsize, mode_size,
mode_unit_size, mode_wider_mode, mode_mask_array,
inner_mode_array, class_narrowest_mode): Delete definitions.
* stor-layout.c (get_mode_alignment): Use mode_base_align.
* real.h: Use MIN_MODE_FLOAT and MAX_MODE_FLOAT, not QFmode
and TFmode, in real_format_for_mode and REAL_MODE_FORMAT.
* config/ip2k/ip2k.h, config/iq2000/iq2000.h:
No need to define BITS_PER_UNIT.
From-SVN: r72313
2003-10-10 22:33:07 +02:00
|
|
|
|
extra_modes_file=@extra_modes_file@
|
2005-03-14 21:18:43 +01:00
|
|
|
|
extra_opt_files=@extra_opt_files@
|
2003-02-06 02:47:56 +01:00
|
|
|
|
host_hook_obj=@out_host_hook_obj@
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2003-03-12 21:41:00 +01:00
|
|
|
|
# ------------------------
|
|
|
|
|
# Installation directories
|
|
|
|
|
# ------------------------
|
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Common prefix for installation directories.
|
|
|
|
|
# NOTE: This directory must exist when you start installation.
|
1997-05-18 14:31:46 +02:00
|
|
|
|
prefix = @prefix@
|
1993-01-19 09:54:40 +01:00
|
|
|
|
# Directory in which to put localized header files. On the systems with
|
|
|
|
|
# gcc as the native cc, `local_prefix' may not be `prefix' which is
|
|
|
|
|
# `/usr'.
|
1993-05-18 22:48:27 +02:00
|
|
|
|
# NOTE: local_prefix *should not* default from prefix.
|
1997-05-18 14:31:46 +02:00
|
|
|
|
local_prefix = @local_prefix@
|
1992-03-20 23:22:14 +01:00
|
|
|
|
# Directory in which to put host dependent programs and libraries
|
1997-05-18 14:31:46 +02:00
|
|
|
|
exec_prefix = @exec_prefix@
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Directory in which to put the executable for the command `gcc'
|
1997-05-18 14:31:46 +02:00
|
|
|
|
bindir = @bindir@
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Directory in which to put the directories used by the compiler.
|
1997-05-18 14:31:46 +02:00
|
|
|
|
libdir = @libdir@
|
2003-08-01 01:36:43 +02:00
|
|
|
|
# Directory in which GCC puts its executables.
|
|
|
|
|
libexecdir = @libexecdir@
|
2003-03-12 21:41:00 +01:00
|
|
|
|
|
|
|
|
|
# --------
|
|
|
|
|
# UNSORTED
|
|
|
|
|
# --------
|
|
|
|
|
|
2003-08-01 01:36:43 +02:00
|
|
|
|
# Directory in which the compiler finds libraries etc.
|
2003-10-14 05:41:42 +02:00
|
|
|
|
libsubdir = $(libdir)/gcc/$(target_noncanonical)/$(version)
|
2003-08-01 01:36:43 +02:00
|
|
|
|
# Directory in which the compiler finds executables
|
2003-10-14 05:41:42 +02:00
|
|
|
|
libexecsubdir = $(libexecdir)/gcc/$(target_noncanonical)/$(version)
|
1999-01-22 07:46:43 +01:00
|
|
|
|
# Used to produce a relative $(gcc_tooldir) in gcc.o
|
1998-10-02 03:05:51 +02:00
|
|
|
|
unlibsubdir = ../../..
|
2007-07-02 21:20:33 +02:00
|
|
|
|
# $(prefix), expressed as a path relative to $(libsubdir).
|
|
|
|
|
#
|
|
|
|
|
# An explanation of the sed strings:
|
|
|
|
|
# -e 's|^$(prefix)||' matches and eliminates 'prefix' from 'exec_prefix'
|
|
|
|
|
# -e 's|/$$||' match a trailing forward slash and eliminates it
|
|
|
|
|
# -e 's|^[^/]|/|' forces the string to start with a forward slash (*)
|
|
|
|
|
# -e 's|/[^/]*|../|g' replaces each occurrence of /<directory> with ../
|
|
|
|
|
#
|
|
|
|
|
# (*) Note this pattern overwrites the first character of the string
|
|
|
|
|
# with a forward slash if one is not already present. This is not a
|
|
|
|
|
# problem because the exact names of the sub-directories concerned is
|
|
|
|
|
# unimportant, just the number of them matters.
|
|
|
|
|
#
|
|
|
|
|
# The practical upshot of these patterns is like this:
|
|
|
|
|
#
|
|
|
|
|
# prefix exec_prefix result
|
|
|
|
|
# ------ ----------- ------
|
|
|
|
|
# /foo /foo/bar ../
|
|
|
|
|
# /foo/ /foo/bar ../
|
|
|
|
|
# /foo /foo/bar/ ../
|
|
|
|
|
# /foo/ /foo/bar/ ../
|
|
|
|
|
# /foo /foo/bar/ugg ../../
|
|
|
|
|
libsubdir_to_prefix := \
|
|
|
|
|
$(unlibsubdir)/$(shell echo "$(libdir)" | \
|
|
|
|
|
sed -e 's|^$(prefix)||' -e 's|/$$||' -e 's|^[^/]|/|' \
|
|
|
|
|
-e 's|/[^/]*|../|g')
|
|
|
|
|
# $(exec_prefix), expressed as a path relative to $(prefix).
|
|
|
|
|
prefix_to_exec_prefix := \
|
|
|
|
|
$(shell echo "$(exec_prefix)" | \
|
|
|
|
|
sed -e 's|^$(prefix)||' -e 's|^/||' -e '/./s|$$|/|')
|
1999-01-22 08:17:21 +01:00
|
|
|
|
# Directory in which to find other cross-compilation tools and headers.
|
1999-03-02 10:29:26 +01:00
|
|
|
|
dollar = @dollar@
|
1999-01-22 08:17:21 +01:00
|
|
|
|
# Used in install-cross.
|
|
|
|
|
gcc_tooldir = @gcc_tooldir@
|
2001-01-07 10:27:25 +01:00
|
|
|
|
# Used to install the shared libgcc.
|
|
|
|
|
slibdir = @slibdir@
|
2001-11-08 23:48:13 +01:00
|
|
|
|
# Since gcc_tooldir does not exist at build-time, use -B$(build_tooldir)/bin/
|
2003-10-14 05:41:42 +02:00
|
|
|
|
build_tooldir = $(exec_prefix)/$(target_noncanonical)
|
2000-12-18 19:12:45 +01:00
|
|
|
|
# Directory in which the compiler finds target-independent g++ includes.
|
|
|
|
|
gcc_gxx_include_dir = @gcc_gxx_include_dir@
|
1993-06-05 10:10:50 +02:00
|
|
|
|
# Directory to search for site-specific includes.
|
2001-09-29 20:22:05 +02:00
|
|
|
|
local_includedir = $(local_prefix)/include
|
|
|
|
|
includedir = $(prefix)/include
|
1993-05-18 22:48:27 +02:00
|
|
|
|
# where the info files go
|
1997-05-18 14:31:46 +02:00
|
|
|
|
infodir = @infodir@
|
1999-03-02 01:59:28 +01:00
|
|
|
|
# Where cpp should go besides $prefix/bin if necessary
|
|
|
|
|
cpp_install_dir = @cpp_install_dir@
|
1999-01-27 02:43:17 +01:00
|
|
|
|
# where the locale files go
|
2001-10-19 17:17:39 +02:00
|
|
|
|
datadir = @datadir@
|
1999-01-27 02:43:17 +01:00
|
|
|
|
localedir = $(datadir)/locale
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Extension (if any) to put in installed man-page filename.
|
texi2pod.pl: Handle @ifnottex, @iftex and @display.
contrib:
* texi2pod.pl: Handle @ifnottex, @iftex and @display. Handle @var
in verbatim blocks specially. Handle @unnumbered, @unnumberedsec
and @center. Allow [a-z] after @enumerate. Handle 0 and numbers
greater than 9 in enumerations.
gcc:
* Makefile.in (POD2MAN): Don't include --section=1.
(manext): Rename to man1ext. All users changed.
(man7ext): New.
(man7dir): New.
(generated-manpages): Also depend on $(docdir)/gfdl.7,
$(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
--section=1 in calls to $(POD2MAN).
($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
(maintainer-clean, install, uninstall): Handle the new man pages.
($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
(installdirs): Create man7dir.
* doc/cpp.texi: Include GFDL in this manual. In the man page,
refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
the SEE ALSO man page section.
* doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
and fsf-funding(7) in the SEE ALSO man page section.
* doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
* doc/include/fdl.texi, doc/include/funding.texi,
doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
* doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
gcc/cp:
* Make-lang.in: Change all uses of $(manext) to $(man1ext).
gcc/f:
* Make-lang.in: Change all uses of $(manext) to $(man1ext).
From-SVN: r46998
2001-11-14 01:47:47 +01:00
|
|
|
|
man1ext = .1
|
|
|
|
|
man7ext = .7
|
1995-02-21 23:54:50 +01:00
|
|
|
|
objext = .o
|
1997-12-31 12:48:25 +01:00
|
|
|
|
exeext = @host_exeext@
|
|
|
|
|
build_exeext = @build_exeext@
|
1995-02-21 23:54:50 +01:00
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Directory in which to put man pages.
|
1998-11-19 07:49:46 +01:00
|
|
|
|
mandir = @mandir@
|
|
|
|
|
man1dir = $(mandir)/man1
|
texi2pod.pl: Handle @ifnottex, @iftex and @display.
contrib:
* texi2pod.pl: Handle @ifnottex, @iftex and @display. Handle @var
in verbatim blocks specially. Handle @unnumbered, @unnumberedsec
and @center. Allow [a-z] after @enumerate. Handle 0 and numbers
greater than 9 in enumerations.
gcc:
* Makefile.in (POD2MAN): Don't include --section=1.
(manext): Rename to man1ext. All users changed.
(man7ext): New.
(man7dir): New.
(generated-manpages): Also depend on $(docdir)/gfdl.7,
$(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
--section=1 in calls to $(POD2MAN).
($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
(maintainer-clean, install, uninstall): Handle the new man pages.
($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
(installdirs): Create man7dir.
* doc/cpp.texi: Include GFDL in this manual. In the man page,
refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
the SEE ALSO man page section.
* doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
and fsf-funding(7) in the SEE ALSO man page section.
* doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
* doc/include/fdl.texi, doc/include/funding.texi,
doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
* doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
gcc/cp:
* Make-lang.in: Change all uses of $(manext) to $(man1ext).
gcc/f:
* Make-lang.in: Change all uses of $(manext) to $(man1ext).
From-SVN: r46998
2001-11-14 01:47:47 +01:00
|
|
|
|
man7dir = $(mandir)/man7
|
1992-10-31 22:00:49 +01:00
|
|
|
|
# Dir for temp files.
|
|
|
|
|
tmpdir = /tmp
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2006-06-06 12:15:12 +02:00
|
|
|
|
datarootdir = @datarootdir@
|
|
|
|
|
docdir = @docdir@
|
2006-06-13 21:13:47 +02:00
|
|
|
|
# Directory in which to build HTML
|
2006-06-06 12:15:12 +02:00
|
|
|
|
build_htmldir = $(objdir)/HTML/gcc-$(version)
|
2004-11-13 08:35:55 +01:00
|
|
|
|
# Directory in which to put HTML
|
2006-06-06 12:15:12 +02:00
|
|
|
|
htmldir = @htmldir@
|
2004-11-13 08:35:55 +01:00
|
|
|
|
|
1999-01-27 02:43:17 +01:00
|
|
|
|
# Whether we were configured with NLS.
|
|
|
|
|
USE_NLS = @USE_NLS@
|
|
|
|
|
|
|
|
|
|
# Internationalization library.
|
Makefile.tpl (configure-gcc): Depend on maybe-configure-intl.
top:
* Makefile.tpl (configure-gcc): Depend on maybe-configure-intl.
* Makefile.in: Regenerate.
config:
* gettext.m4: Delete all former contents.
(ZW_GNU_GETTEXT_SISTER_DIR): New macro.
* progtest.m4: New file.
gcc:
* Makefile.in (top_builddir): Set to "..", not ".".
(INTLLIBS, INTLDEPS): Delete.
(LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
(LIBDEPS): Add $(LIBICONV_DEP).
(LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
(INCLUDES): Replace -I../intl with @INCINTL@.
($(top_builddir)/intl/libintl.a): Delete rule.
(stage2-start, stage3-start, stage4-start, stageprofile-start,
stagefeedback-start): Use $$ for variable to be evaluated by
shell, not make.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
* aclocal.m4: sinclude ../config/progtest.m4. Add
contents of lcmessage.m4 from gettext distro.
* configure.in: Check for wchar.h and setlocale. Set
LIBICONV_DEP to the empty string and substitute it.
Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls;
this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR,
not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included
in $LIBINTL, to avoid linking it twice.
* configure, config.in: Regenerate.
intl:
* README: Update.
* Makefile.in (INSTALL, INSTALL_DATA, MKINSTALLDIRS,
mkinstalldirs, gettextsrcdir, l): Delete.
(COMPILE): Add $(DEFS-$@), remove $(XCFLAGS).
(HEADERS): libgnuintl.h not libgnuintl.h.in. Remove os2compat.h.
(SOURCES): Remove os2compat.c.
(DEFS-dcigettext.o, DEFS-localealias.o, DEFS-localcharset.o,
DEFS-relocatable.o): New.
(all-yes): Add config.intl.
(libintl.h): Use cp, not cat.
(INCLUDES): Remove -I..
(TAGS, CTAGS, ID): Word wrap.
(mostlyclean, distclean): Remove junk.
(config.intl): New rule.
* aclocal.m4: sinclude ../config/progtest.m4 instead of
including it inline.
* config.intl.in: New file.
* configure.in: Take out unnecessary AC_CONFIG_AUX_DIR.
Take out AC_DEFINEs for LOCALEDIR, LOCALE_ALIAS_PATH,
LIBDIR, INSTALLDIR. Set LIBINTL_DEP and INCINTL and AC_SUBST
them. Add config.intl to AC_OUTPUT.
* os2compat.c, os2compat.h: Delete, unused.
From-SVN: r69071
2003-07-08 07:55:11 +02:00
|
|
|
|
LIBINTL = @LIBINTL@
|
|
|
|
|
LIBINTL_DEP = @LIBINTL_DEP@
|
1999-01-27 02:43:17 +01:00
|
|
|
|
|
2001-07-26 18:27:36 +02:00
|
|
|
|
# Character encoding conversion library.
|
|
|
|
|
LIBICONV = @LIBICONV@
|
Makefile.tpl (configure-gcc): Depend on maybe-configure-intl.
top:
* Makefile.tpl (configure-gcc): Depend on maybe-configure-intl.
* Makefile.in: Regenerate.
config:
* gettext.m4: Delete all former contents.
(ZW_GNU_GETTEXT_SISTER_DIR): New macro.
* progtest.m4: New file.
gcc:
* Makefile.in (top_builddir): Set to "..", not ".".
(INTLLIBS, INTLDEPS): Delete.
(LIBINTL, LIBINTL_DEP, LIBICONV_DEP): New variables to be substituted.
(LIBDEPS): Add $(LIBICONV_DEP).
(LIBS): Take out $(INTLLIBS), add $(LIBINTL) and $(LIBICONV).
(INCLUDES): Replace -I../intl with @INCINTL@.
($(top_builddir)/intl/libintl.a): Delete rule.
(stage2-start, stage3-start, stage4-start, stageprofile-start,
stagefeedback-start): Use $$ for variable to be evaluated by
shell, not make.
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
HAVE_LC_MESSAGES, HAVE_STPCPY): Delete.
* aclocal.m4: sinclude ../config/progtest.m4. Add
contents of lcmessage.m4 from gettext distro.
* configure.in: Check for wchar.h and setlocale. Set
LIBICONV_DEP to the empty string and substitute it.
Call AM_LC_MESSAGES. Delete AC_ARG_ENABLE for --enable-nls;
this is handled elsewhere. Use ZW_GNU_GETTEXT_SISTER_DIR,
not CY_GNU_GETTEXT. Clear $LIBICONV if its text is included
in $LIBINTL, to avoid linking it twice.
* configure, config.in: Regenerate.
intl:
* README: Update.
* Makefile.in (INSTALL, INSTALL_DATA, MKINSTALLDIRS,
mkinstalldirs, gettextsrcdir, l): Delete.
(COMPILE): Add $(DEFS-$@), remove $(XCFLAGS).
(HEADERS): libgnuintl.h not libgnuintl.h.in. Remove os2compat.h.
(SOURCES): Remove os2compat.c.
(DEFS-dcigettext.o, DEFS-localealias.o, DEFS-localcharset.o,
DEFS-relocatable.o): New.
(all-yes): Add config.intl.
(libintl.h): Use cp, not cat.
(INCLUDES): Remove -I..
(TAGS, CTAGS, ID): Word wrap.
(mostlyclean, distclean): Remove junk.
(config.intl): New rule.
* aclocal.m4: sinclude ../config/progtest.m4 instead of
including it inline.
* config.intl.in: New file.
* configure.in: Take out unnecessary AC_CONFIG_AUX_DIR.
Take out AC_DEFINEs for LOCALEDIR, LOCALE_ALIAS_PATH,
LIBDIR, INSTALLDIR. Set LIBINTL_DEP and INCINTL and AC_SUBST
them. Add config.intl to AC_OUTPUT.
* os2compat.c, os2compat.h: Delete, unused.
From-SVN: r69071
2003-07-08 07:55:11 +02:00
|
|
|
|
LIBICONV_DEP = @LIBICONV_DEP@
|
2001-07-26 18:27:36 +02:00
|
|
|
|
|
1999-09-04 20:25:41 +02:00
|
|
|
|
# The GC method to be used on this system.
|
1999-10-07 10:15:19 +02:00
|
|
|
|
GGC=@GGC@.o
|
1999-09-04 20:25:41 +02:00
|
|
|
|
|
|
|
|
|
# If a supplementary library is being used for the GC.
|
|
|
|
|
GGC_LIB=
|
|
|
|
|
|
2005-07-25 21:42:04 +02:00
|
|
|
|
# "true" if the target C library headers are unavailable; "false"
|
|
|
|
|
# otherwise.
|
|
|
|
|
inhibit_libc = @inhibit_libc@
|
|
|
|
|
ifeq ($(inhibit_libc),true)
|
|
|
|
|
INHIBIT_LIBC_CFLAGS = -Dinhibit_libc
|
|
|
|
|
endif
|
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Options to use when compiling libgcc2.a.
|
1997-10-26 19:21:28 +01:00
|
|
|
|
#
|
2002-03-19 22:24:41 +01:00
|
|
|
|
LIBGCC2_DEBUG_CFLAGS = -g
|
2005-04-06 03:40:06 +02:00
|
|
|
|
LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) \
|
2005-04-06 13:42:59 +02:00
|
|
|
|
$(LIBGCC2_DEBUG_CFLAGS) $(GTHREAD_FLAGS) \
|
2005-07-25 21:42:04 +02:00
|
|
|
|
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \
|
|
|
|
|
$(INHIBIT_LIBC_CFLAGS)
|
1993-04-08 16:53:33 +02:00
|
|
|
|
|
|
|
|
|
# Additional options to use when compiling libgcc2.a.
|
2000-04-24 22:12:12 +02:00
|
|
|
|
# Some targets override this to -isystem include
|
1993-04-08 16:53:33 +02:00
|
|
|
|
LIBGCC2_INCLUDES =
|
|
|
|
|
|
1995-08-14 00:04:59 +02:00
|
|
|
|
# Additional target-dependent options for compiling libgcc2.a.
|
1999-09-18 20:05:59 +02:00
|
|
|
|
TARGET_LIBGCC2_CFLAGS =
|
1995-08-14 00:04:59 +02:00
|
|
|
|
|
Makefile.in (CRTSTUFF_CFLAGS): New.
* Makefile.in (CRTSTUFF_CFLAGS): New.
(crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
* config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
crtstuff.c instead of alpha assembly version.
* crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
not FORCE_{INIT,FINI}_SECTION_ALIGN.
(__do_global_dtors_aux): Mark used.
(frame_dummy, __do_global_ctors_aux): Mark used.
(fini_dummy, init_dummy): Remove.
* config/alpha/crtbegin.asm: Remove file.
* config/alpha/crtend.asm: Remove file.
* config/alpha/t-crtbe: Remove file.
* config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
(LINK_EH_SPEC): New.
* config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
calling constructors.
* config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
* config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
* config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
CRT_END_INIT_DUMMY hack.
* config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
invocation sequence.
* config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
* doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
(FORCE_CODE_SECTION_ALIGN): New.
From-SVN: r49261
2002-01-27 05:18:12 +01:00
|
|
|
|
# Options to use when compiling crtbegin/end.
|
|
|
|
|
CRTSTUFF_CFLAGS = -O2 $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -g0 \
|
2002-03-02 04:52:17 +01:00
|
|
|
|
-finhibit-size-directive -fno-inline-functions -fno-exceptions \
|
2007-11-13 14:53:33 +01:00
|
|
|
|
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize \
|
2005-07-25 21:42:04 +02:00
|
|
|
|
$(INHIBIT_LIBC_CFLAGS)
|
Makefile.in (CRTSTUFF_CFLAGS): New.
* Makefile.in (CRTSTUFF_CFLAGS): New.
(crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
* config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
crtstuff.c instead of alpha assembly version.
* crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
not FORCE_{INIT,FINI}_SECTION_ALIGN.
(__do_global_dtors_aux): Mark used.
(frame_dummy, __do_global_ctors_aux): Mark used.
(fini_dummy, init_dummy): Remove.
* config/alpha/crtbegin.asm: Remove file.
* config/alpha/crtend.asm: Remove file.
* config/alpha/t-crtbe: Remove file.
* config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
(LINK_EH_SPEC): New.
* config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
calling constructors.
* config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
* config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
* config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
CRT_END_INIT_DUMMY hack.
* config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
invocation sequence.
* config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
* doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
(FORCE_CODE_SECTION_ALIGN): New.
From-SVN: r49261
2002-01-27 05:18:12 +01:00
|
|
|
|
|
2002-12-16 19:23:00 +01:00
|
|
|
|
# Additional sources to handle exceptions; overridden by targets as needed.
|
2001-03-28 13:04:51 +02:00
|
|
|
|
LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde.c \
|
2003-06-04 19:06:00 +02:00
|
|
|
|
$(srcdir)/unwind-sjlj.c $(srcdir)/gthr-gnat.c $(srcdir)/unwind-c.c
|
2004-09-04 02:15:42 +02:00
|
|
|
|
LIB2ADDEHSTATIC = $(LIB2ADDEH)
|
|
|
|
|
LIB2ADDEHSHARED = $(LIB2ADDEH)
|
Makefile.in: Set and use UNWIND_H.
2005-06-28 Paul Brook <paul@codesourcery.com>
gcc/
* Makefile.in: Set and use UNWIND_H. Install as unwind.h.
* c-decl.c (finish_decl): Call default_init_unwind_resume_libfunc.
* except.c (add_ehspec_entry): Generate arm eabi filter lists.
(assign_filter_values): Ditto.
(output_ttype): New function.
(output_function_exception_table): Use output_ttype. Generate arm
eabi filter lists.
(default_init_unwind_resume_libfunc): New function.
* except.h (default_init_unwind_resume_libfunc): Add prototype.
* optabs.c (init_optabs): Don't set unwind_resume_libfunc.
* opts.c (decode_options): Use targetm.unwind_tables_default.
* target-def.h (TARGET_ASM_TTYPE): Provide and use definition.
(TARGET_ARM_EABI_UNWINDER, TARGET_UNWIND_TABLES_DEFAULT): Ditto.
* target.h (struct gcc_target): Add asm.ttype, unwind_tables_default
and arm_eabi_unwinder.
* unwind-c.c: Support Arm EABI unwinder.
* unwind.h: Rename ...
* unwind-generic.h: ... To this.
* doc/tm.texi (TARGET_ASM_TTYPE, TARGET_ARM_EABI_UNWINDER): Document.
(TARGET_UNWID_TABLES_DEFAULT): Document.
* config/arm/arm-protos.h (arm_output_fn_unwind): Add prototype.
* config/arm/arm.c (arm_unwind_emit, arm_output_ttype): New functions.
(TARGET_UNWIND_EMIT, TARGET_ASM_TTYPE, TARGET_ARM_EABI_UNWINDER):
Define.
(thumb_pushpop, thumb_output_function_prologue): Output unwinding
directives.
(arm_unwind_emit_stm, arm_unwind_emit_set): New functions.
* config/arm/arm.h (MUST_USE_SJLJ_EXCEPTIONS): Only define when
!TARGET_UNWIND_INFO.
(ARM_OUTPUT_FN_UNWIND, ARM_EABI_UNWIND_TABLES): Define.
* config/arm/bpabi.h (TARGET_UNWIND_INFO): Define.
* config/arm/elf.h (ASM_DECLARE_FUNCTION_NAME,
ASM_DECLARE_FUNCTION_SIZE): Use ARM_OUTPUT_FN_UNWIND.
* config/arm/lib1funcs.asm: Include libunwind.S.
* config/arm/libgcc-bpabi.ver: Add unwinding routines.
* config/arm/libunwind.S: New file.
* config/arm/pr-support.c: New file.
* config/arm/t-bpabi (LIB1ASMFUNCS): Add _unwind.
(UNWIND_H, LIB2ADDEH, LIB2ADDEHDEP): Set.
* config/arm/t-symbian (UNWIND_H, LIB2ADDEH, LIB2ADDEHDEP): Set.
* config/arm/unwind-arm.c: New file.
* config/arm/unwind-arm.h: New file.
* config/i386/t-netware (USER_H): Remove unwind.h.
* config/ia64/ia64.h (TARGET_UNWIND_TABLES_DEFAULT): Define.
gcc/cp/
* Make-lang.in (cp/except.o): Depend on $(TARGET_H)
* except.c: Include target.h.
(init_exception_processing): Initialize unwind_resume_libfunc.
* doc/tm.texi: Document TARGET_ASM_TTYPE
gcc/ada/
* misc.c (gnat_init_gcc_eh): Call default_init_unwind_resume_libfunc.
gcc/java/
* decl.c (java_init_decl_processing): Call
default_init_unwind_resume_libfunc.
gcc/objc/
* objc-act.c (objc_init_exceptions): Call
default_init_unwind_resume_libfunc.
libstdc++/
* acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
__cxa_end_cleanup.
* libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
* libsupc++/eh_arm.cc: New file.
* libsupc++/eh_call.cc: New file.
* libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
__gxx_caught_object.
(__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
_Unwind_Complete when using the ARM EABI.
(__cxa_end_catch): Use __is_gxx_exception_class.
* libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
using the ARM EABI.
(save_caught_exception, restore_caught_exception): New functions.
(_throw_typet): New typedef.
(get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
EABI implementations.
(PERSONALITY_FUNCTION): Use new functions. Addd support for ARM EABI
unwinding libary.
(__cxa_unexpected): Disable when using the ARM EABI.
* libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
(__cxa_rethrow): Use __is_gxx_exception_class. Call
_Unwind_RaiseException when using the ARM EABI.
* libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
EABI semantics.
(struct __cxa_eh_globals): Ditto.
(__cxa_call_terminate): Add prototype.
(__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
prototypes.
(__get_exception_header_from_obj, __get_exception_header_from_ue):
Move earlier in file.
(__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
__gxx_caught_object): New functions.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* src/Makefie.in: Regenerate.
* testsuite/makefile.in: Regenerate.
From-SVN: r101385
2005-06-28 21:52:27 +02:00
|
|
|
|
LIB2ADDEHDEP = $(UNWIND_H) unwind-pe.h unwind.inc unwind-dw2-fde.h unwind-dw2.h
|
except.c (func_eh_entry): Add emitted field.
2000-05-25 Andrew MacLeod <amacleod@cygnus.com>
Andrew Haley <aph@cygnus.com>
* except.c (func_eh_entry): Add emitted field.
(new_eh_region_entry): Set emitted field to 0;
(output_exception_table_entry): Only emit previously un-emitted data,
and send it to the eh_data section.
(output_exception_table): Break out common parts. Output
exception table for entire compilation unit to eh_data section.
(output_exception_table_data): Common parts of output_exception_table.
Send output to eh_data section.
(output_function_exception_table): Output exception table data for
a single function to eh_data section.
(free_exception_table): New external to free the table.
* except.h (free_exception_table): Add prototype.
(output_function_exception_table): Add prototype.
* final.c (final_end_function): Output function exception table
for IA64_UNWIND_INFO.
(final_scan_insn): Emit any unwind directives for an insn.
* frame-dwarf2.c: New file containing all DWARF 2 specific code
from frame.c.
* frame.c: Remove all DWARF 2 specific code.
* config/ia64/frame-ia64.c: New file.
(gthread_stuff): Make all gthread available with
IA64_UNWIND_INFO.
(dwarf_fde): Define an IA64 struct for dwarf_fde.
(__register_frame_info, __register_frame): Move to common area of file.
(__register_frame_info_table, __register_frame_table): Move to common i
area.
(__deregister_frame_info, __deregister_frame): Move to common area.
(__frame_init, find_fde): New versions for IA64_UNWIND_INFO.
(read_uleb128): New version for ia64.
(get_unwind_record): Read the next IA-64 unwind record.
(read_R_record): Read a region header record.
(process_a_b_reg_code): X record helper.
(read_X_record): Read an X format record.
(read_B_record): Read a B format record.
(P3_record_types): List of record types matching the P3 format.
(P7_record_types): List of record types matching the P7 format.
(P8_record_types): List of record types matching the P8 format.
(read_P_record): Read a P format record.
(init_ia64_reg_loc): Set default fields for a register.
(init_ia64_unwind_frame): Set defaults for all register records.
(execute_one_ia64_descriptor): Execute one descriptor record.
(rse_address_add): Calculate the position of a local reg in memory.
(normalize_reg_loc): Turn a location descriptor into a memory address.
(maybe_normalize_reg_loc): Only normalize a descriptor if it falls
within a specified PC offset range.
(get_real_reg_value): Given a register location, retrieve its value.
(set_real_reg_value): Change the value of a register location.
(copy_reg_value): Copy reg values, if needed.
(copy_saved_reg_state): Copy all registers that need to be copied.
(process_state_between): Normalize all frame register records that
fall within the specified PC range.
(frame_translate): Take a processed frame description, and turn
everything into addresses.
(build_ia64_frame_state ): Find and create frame state record for a PC.
(get_personality): Get the personality routine for a given frame.
(get_except_table): Get the exception table for a given frame.
(record_name): Unwind record names for debugging.
(print_record): Print and unwind record.
(print_all_records): Print an entire unwind image.
(__ia64_backtrace): Print a backtrace.
(ia64_backtrace_helper): New function.
(__register_frame_info_aux): New function.
* config/ia64/crtend.asm (__do_frame_setup_aux): New function.
* frame.h (enum unw_record_type): New unwind record types.
(struct unw_p_record, unw_b_record, unw_x_record) : New unwind records.
(struct unw_r_record, unwind_record): New unwind record structs.
(struct unwind_info_ptr): Unwind information layout.
(IA64_UNW_LOC_TYPE_*): Macros for different types for location
descriptors.
(struct ia64_reg_loc): Register location description.
(struct ia64_frame_state): Location of all registers in a frame.
(struct object): Add pc_base and fde_end for IA64_UNWIND_INFO.
* libgcc2.c (__ia64_personality_v1): Personality routine.
(__calc_caller_bsp): Calculate the bsp register for the caller's
frame.
(ia64_throw_helper): Figure out who to return to and set up the
registers.
(__throw): Throw routine.
* output.h (assemble_eh_align, assemble_eh_label): New functions
to generate EH info where we want it.
(assemble_eh_integer): New function.
* toplev.c (compile_file): Output module level exception table for
non-ia64 targets.
(main): Set exceptions_via_longjump and flag_new_exceptions based
on IA64_UNWIND_INFO too.
* varasm.c (assemble_eh_label): Generate a label via
ASM_OUTPUT_EH_LABEL if it has been specified.
(assemble_eh_align): Generate an alignment directive via
ASM_OUTPUT_EH_ALIGN if it has been specified.
(assemble_eh_label): Generate an integer value via
ASM_OUTPUT_EH_type if they have been specified.
* config/ia64/ia64.c (rtx_needs_barrier): Add flushrs.
(ia64_init_builtins): Add __builtin_ia64_bsp
and __builtin_ia64_flushrs.
(ia64_expand_builtin): Add IA64_BUILTIN_BSP and
IA64_BUILTIN_FLUSHRS.
* config/ia64/ia64.h (ia64_builtins): Add IA64_BUILTIN_BSP and
IA64_BUILTIN_FLUSHRS.
* config/ia64/ia64.md (flushrs): New insn to flush the register
stack. Add to unspec list.
* config/ia64/crtbegin.asm (frame_object): Change size.
(__do_frame_setup_aux): New function.
* config/ia64/crtend.asm: call __do_frame_setup_aux.
* config/ia64/t-ia64 (LIB2ADDEH): Add.
* Makefile.in (LIB2ADDEH): Add.
(LIB2ADD): Use LIB2ADDEH.
Co-Authored-By: Andrew Haley <aph@cygnus.com>
From-SVN: r34169
2000-05-25 17:21:51 +02:00
|
|
|
|
|
2004-09-04 02:15:42 +02:00
|
|
|
|
# Don't build libunwind by default.
|
|
|
|
|
LIBUNWIND =
|
|
|
|
|
LIBUNWINDDEP =
|
|
|
|
|
SHLIBUNWIND_LINK =
|
|
|
|
|
SHLIBUNWIND_INSTALL =
|
|
|
|
|
|
2000-10-21 03:47:05 +02:00
|
|
|
|
# nm flags to list global symbols in libgcc object files.
|
|
|
|
|
SHLIB_NM_FLAGS = -pg
|
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# List of extra executables that should be compiled for this target machine
|
|
|
|
|
# that are used for compiling from source code to object code.
|
|
|
|
|
# The rules for compiling them should be in the t-* file for the machine.
|
1997-05-18 14:31:46 +02:00
|
|
|
|
EXTRA_PASSES =@extra_passes@
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1992-03-20 23:22:14 +01:00
|
|
|
|
# Like EXTRA_PASSES, but these are used when linking.
|
1997-05-18 14:31:46 +02:00
|
|
|
|
EXTRA_PROGRAMS = @extra_programs@
|
1992-03-20 23:22:14 +01:00
|
|
|
|
|
|
|
|
|
# List of extra object files that should be compiled for this target machine.
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# The rules for compiling them should be in the t-* file for the machine.
|
1997-05-18 14:31:46 +02:00
|
|
|
|
EXTRA_PARTS = @extra_parts@
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1992-03-20 23:22:14 +01:00
|
|
|
|
# List of extra object files that should be compiled and linked with
|
|
|
|
|
# compiler proper (cc1, cc1obj, cc1plus).
|
1997-05-18 14:31:46 +02:00
|
|
|
|
EXTRA_OBJS = @extra_objs@
|
1992-03-20 23:22:14 +01:00
|
|
|
|
|
1995-09-12 23:39:08 +02:00
|
|
|
|
# List of extra object files that should be compiled and linked with
|
|
|
|
|
# the gcc driver.
|
2004-02-25 22:43:26 +01:00
|
|
|
|
EXTRA_GCC_OBJS =@extra_gcc_objs@
|
1995-09-12 23:39:08 +02:00
|
|
|
|
|
1992-05-24 21:40:47 +02:00
|
|
|
|
# List of additional header files to install.
|
1997-05-18 14:31:46 +02:00
|
|
|
|
EXTRA_HEADERS =@extra_headers_list@
|
1992-05-24 21:40:47 +02:00
|
|
|
|
|
2004-04-05 05:58:46 +02:00
|
|
|
|
# The configure script will set this to collect2$(exeext), except on a
|
|
|
|
|
# (non-Unix) host which can not build collect2, for which it will be
|
|
|
|
|
# set to empty.
|
|
|
|
|
COLLECT2 = @collect2@
|
1992-04-04 23:34:42 +02:00
|
|
|
|
|
2001-04-10 01:43:06 +02:00
|
|
|
|
# List of extra C and assembler files to add to static and shared libgcc2.
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Assembler files should have names ending in `.asm'.
|
1999-09-18 20:05:59 +02:00
|
|
|
|
LIB2FUNCS_EXTRA =
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2001-04-10 01:43:06 +02:00
|
|
|
|
# List of extra C and assembler files to add to static libgcc2.
|
|
|
|
|
# Assembler files should have names ending in `.asm'.
|
|
|
|
|
LIB2FUNCS_STATIC_EXTRA =
|
|
|
|
|
|
2006-04-18 22:50:45 +02:00
|
|
|
|
# List of functions not to build from libgcc2.c.
|
|
|
|
|
LIB2FUNCS_EXCLUDE =
|
|
|
|
|
|
|
|
|
|
# Target sfp-machine.h file.
|
|
|
|
|
SFP_MACHINE =
|
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Program to convert libraries.
|
1999-09-18 20:05:59 +02:00
|
|
|
|
LIBCONVERT =
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
|
|
|
|
# Control whether header files are installed.
|
Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
2002-05-26 Geoffrey Keating <geoffk@redhat.com>
* Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
(mkheaders): New rule.
(install-mkheaders): New rule.
* configure.in (all_outputs): Add mkheaders.
* configure: Regenerate.
* mkheaders.in: New file.
Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.880
diff -p -u -p -r1.880 Makefile.in
--- gcc/Makefile.in 25 May 2002 22:01:40 -0000 1.880
+++ gcc/Makefile.in 27 May 2002 04:14:19 -0000
@@ -434,7 +434,7 @@ FLOAT_H=@float_h_file@
LIBCONVERT =
# Control whether header files are installed.
-INSTALL_HEADERS=install-headers
+INSTALL_HEADERS=install-headers install-mkheaders
# Control whether Info documentation is built and installed.
BUILD_INFO = @BUILD_INFO@
@@ -878,6 +878,9 @@ gccbug: $(srcdir)/gccbug.in
mklibgcc: $(srcdir)/mklibgcc.in
CONFIG_FILES=mklibgcc CONFIG_HEADERS= ./config.status
+mkheaders: $(srcdir)/mkheaders.in
+ CONFIG_FILES=mkheaders CONFIG_HEADERS= ./config.status
+
# cstamp-h.in controls rebuilding of config.in.
# It is named cstamp-h.in and not stamp-h.in so the mostlyclean rule doesn't
# delete it. A stamp file is needed as autoheader won't update the file if
@@ -2839,6 +2842,47 @@ install-headers-cpio: stmp-int-hdrs $(ST
# Install the include directory using cp.
install-headers-cp: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
cp -p -r include $(libsubdir)
+
+itoolsdir = $(libsubdir)/install-tools
+# Don't install the headers. Instead, install appropriate scripts
+# and supporting files for fixincludes to be run later.
+install-mkheaders: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir \
+ mkheaders xlimits.h
+ -rm -rf $(itoolsdir)
+ $(SHELL) $(srcdir)/mkinstalldirs $(itoolsdir)/include
+ for file in $(USER_H); do \
+ realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
+ $(INSTALL_DATA) $$file \
+ $(itoolsdir)/include/$$realfile ; \
+ done
+ if [ x$(FLOAT_H) != xMakefile.in ]; then \
+ $(INSTALL_DATA) $(srcdir)/config/$(FLOAT_H) \
+ $(itoolsdir)/include/float.h ; \
+ else :; fi
+ $(INSTALL_DATA) xlimits.h $(itoolsdir)/include/limits.h
+ if [ x$(STMP_FIXINC) != x ] ; then \
+ $(INSTALL_DATA) $(srcdir)/README-fixinc \
+ $(itoolsdir)/include/README ; \
+ $(INSTALL_PROGRAM) fixinc.sh $(itoolsdir)/fixinc.sh ; \
+ $(INSTALL_PROGRAM) fixinc/fixincl $(itoolsdir)/fixincl ; \
+ $(INSTALL_DATA) $(srcdir)/gsyslimits.h $(itoolsdir)/gsyslimits.h ; \
+ else :; fi
+ if [ x$(STMP_FIXPROTO) != x ] ; then \
+ $(INSTALL_PROGRAM) $(srcdir)/mkinstalldirs \
+ $(itoolsdir)/mkinstalldirs ; \
+ $(INSTALL_PROGRAM) $(srcdir)/fixproto $(itoolsdir)/fixproto ; \
+ $(INSTALL_PROGRAM) fix-header$(build_exeext) \
+ $(itoolsdir)/fix-header$(build_exeext) ; \
+ else :; fi
+ $(INSTALL_PROGRAM) mkheaders $(itoolsdir)/mkheaders
+ echo 'SYSTEM_HEADER_DIR="$(SYSTEM_HEADER_DIR)"' \
+ > $(itoolsdir)/mkheaders.conf
+ echo 'OTHER_FIXINCLUDES_DIRS="$(OTHER_FIXINCLUDES_DIRS)"' \
+ >> $(itoolsdir)/mkheaders.conf
+ echo 'FIXPROTO_DEFINES="$(FIXPROTO_DEFINES)"' \
+ >> $(itoolsdir)/mkheaders.conf
+ echo 'STMP_FIXPROTO="$(STMP_FIXPROTO)"' >> $(itoolsdir)/mkheaders.conf
+ echo 'STMP_FIXINC="$(STMP_FIXINC)"' >> $(itoolsdir)/mkheaders.conf
# Use this target to install the program `collect2' under the name `collect2'.
install-collect2: collect2 installdirs
Index: gcc/configure
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure,v
retrieving revision 1.606
diff -p -u -p -r1.606 configure
--- gcc/configure 25 May 2002 19:51:40 -0000 1.606
+++ gcc/configure 27 May 2002 04:14:21 -0000
@@ -8065,7 +8065,7 @@ all_languages=
all_boot_languages=
all_compilers=
all_stagestuff=
-all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc'
+all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders'
# List of language makefile fragments.
all_lang_makefiles=
Index: gcc/configure.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.in,v
retrieving revision 1.593
diff -p -u -p -r1.593 configure.in
--- gcc/configure.in 25 May 2002 19:51:41 -0000 1.593
+++ gcc/configure.in 27 May 2002 04:14:21 -0000
@@ -2312,7 +2312,7 @@ all_languages=
all_boot_languages=
all_compilers=
all_stagestuff=
-all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc'
+all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders'
# List of language makefile fragments.
all_lang_makefiles=
Index: gcc/mkheaders.in
===================================================================
RCS file: gcc/mkheaders.in
diff -N gcc/mkheaders.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ gcc/mkheaders.in 27 May 2002 04:14:21 -0000
@@ -0,0 +1,101 @@
+#!/bin/sh
+
+# Copyright (C) 2002 Free Software Foundation, Inc.
+
+#This file is part of GCC.
+
+#GCC is free software; you can redistribute it and/or modify it under
+#the terms of the GNU General Public License as published by the Free
+#Software Foundation; either version 2, or (at your option) any later
+#version.
+
+#GCC is distributed in the hope that it will be useful, but WITHOUT
+#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+#FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+#for more details.
+
+#You should have received a copy of the GNU General Public License
+#along with GCC; see the file COPYING. If not, write to the Free
+#Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+#02111-1307, USA.
+
+# Basic information
+target=@target@
+target_alias=@target_alias@
+version=@gcc_version@
+
+VERBOSE=0
+while [ x$1 = x-v ] ; do
+ shift
+ VERBOSE=`expr $VERBOSE + 1`
+done
+export VERBOSE
+
+if [ x$1 = x--help ] ; then
+ echo "Usage: mkheaders [options] [prefix]"
+ echo "Options:"
+ echo " -v Print more output (may be repeated for even more output)"
+ echo " --help This help"
+ echo " --version Print version information"
+ exit 0
+fi
+
+if [ x$1 = x--version ] ; then
+ echo "mkheaders (GCC) version $version"
+ echo "Copyright 2002 Free Software Foundation, Inc."
+ echo "This program is free software; you may redistribute it under the"
+ echo "terms of the GNU General Public License. This program has"
+ echo "absolutely no warranty."
+ exit 0
+fi
+
+# Common prefix for installation directories.
+if [ x$1 != x ] ; then
+ prefix=$1
+else
+ prefix=@prefix@
+fi
+# Directory in which to put localized header files. On the systems with
+# gcc as the native cc, `local_prefix' may not be `prefix' which is
+# `/usr'.
+# NOTE: local_prefix *should not* default from prefix.
+local_prefix=@local_prefix@
+# Directory in which to put host dependent programs and libraries
+exec_prefix=@exec_prefix@
+# Directory in which to put the directories used by the compiler.
+libdir=@libdir@
+# Directory in which the compiler finds executables, libraries, etc.
+libsubdir=${libdir}/gcc-lib/${target_alias}/${version}
+# Since gcc_tooldir does not exist at build-time, use -B${build_tooldir}/bin/
+build_tooldir=${exec_prefix}/${target_alias}
+# Directory to search for site-specific includes.
+local_includedir=${local_prefix}/include
+includedir=${prefix}/include
+
+itoolsdir=${libsubdir}/install-tools
+incdir=${libsubdir}/include
+
+. ${itoolsdir}/mkheaders.conf
+
+cd ${itoolsdir}
+rm -rf ${incdir}/*
+
+if [ x${STMP_FIXINC} != x ] ; then
+ TARGET_MACHINE="${target}" target_canonical="${target}" \
+ ${SHELL} ./fixinc.sh ${incdir} \
+ ${SYSTEM_HEADER_DIR} ${OTHER_FIXINCLUDES_DIRS}
+ rm -f ${incdir}/syslimits.h
+ if [ -f ${incdir}/limits.h ]; then
+ mv ${incdir}/limits.h ${incdir}/syslimits.h
+ else
+ cp gsyslimits.h ${incdir}/syslimits.h
+ fi
+fi
+
+cp include/* ${incdir}
+
+if [ x${STMP_FIXPROTO} != x ] ; then
+ mkinstalldirs="${SHELL} ${itoolsdir}/mkinstalldirs"
+ export FIXPROTO_DEFINES mkinstalldirs
+ ${SHELL} fixproto ${incdir} ${incdir} ${SYSTEM_HEADER_DIR} || exit 1
+fi
From-SVN: r53907
2002-05-27 06:24:54 +02:00
|
|
|
|
INSTALL_HEADERS=install-headers install-mkheaders
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2000-05-02 21:09:24 +02:00
|
|
|
|
# Control whether Info documentation is built and installed.
|
|
|
|
|
BUILD_INFO = @BUILD_INFO@
|
|
|
|
|
|
2001-01-03 21:15:01 +01:00
|
|
|
|
# Control whether manpages generated by texi2pod.pl can be rebuilt.
|
|
|
|
|
GENERATED_MANPAGES = @GENERATED_MANPAGES@
|
|
|
|
|
|
1992-10-23 08:24:42 +01:00
|
|
|
|
# Additional directories of header files to run fixincludes on.
|
1993-06-16 21:45:41 +02:00
|
|
|
|
# These should be directories searched automatically by default
|
|
|
|
|
# just as /usr/include is.
|
1999-09-18 20:05:59 +02:00
|
|
|
|
# *Do not* use this for directories that happen to contain
|
1993-06-16 21:45:41 +02:00
|
|
|
|
# header files, but are not searched automatically by default.
|
1992-10-23 08:24:42 +01:00
|
|
|
|
# On most systems, this is empty.
|
|
|
|
|
OTHER_FIXINCLUDES_DIRS=
|
|
|
|
|
|
1997-02-15 23:54:15 +01:00
|
|
|
|
# A list of all the language-specific executables.
|
(LANGUAGES, COMPILERS, .PHONY, stmp-int-hdrs): Remove specific references to ObjC compiler and source files.
(LANGUAGES, COMPILERS, .PHONY, stmp-int-hdrs): Remove specific references to
ObjC compiler and source files.
({mostly,dist,maintainer,}clean, install-normal): Likewise
(OBJC_OBJS, OBJC, OBJECTIVE-C, cc1obj, objc-runtime): Rules deleted.
(libobjc.a, sublibobjc.a, objc-parse.{o, c, y}): Rules deleted.
(objc-headers, install-libobjc): Rules deleted.
From-SVN: r14281
1997-06-22 02:41:52 +02:00
|
|
|
|
COMPILERS = cc1$(exeext) @all_compilers@
|
1997-02-15 23:54:15 +01:00
|
|
|
|
|
1992-06-24 04:36:02 +02:00
|
|
|
|
# List of things which should already be built whenever we try to use xgcc
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# to compile anything (without linking).
|
Removal of separate preprocessor cpp0.
* Makefile.in (GCC_PASSES, STAGESTUFF, LIBCPP_OBJS,
cpp0, install-common): Update.
* c-common.c (flag_preprocess_only): New.
(c_common_init): Preprocess for -E.
* c-common.h (flag_preprocess_only): New.
* c-decl.c (c_decode_option): Handle -E, and -std=c++98.
* c-objc-common.c (c_init_decl_processing): Exit quickly
for NULL return from c_common_init.
* cpplib.h (cpp_preprocess_file): New.
* cppmain.c (main, general_init, pfile, progname): Remove.
(do_preprocessing): Rename cpp_preprocess_file, don't call
cpp_finish. Don't close stdout here.
(setup_callbacks): Update prototype.
* gcc.c (trad_capable_cpp, cpp_unique_options, default_compilers):
Update.
* tradcpp.c (main): Ignore -quiet.
cp:
* decl2.c (cxx_decode_option): Handle -E.
* lang-specs.h (default_compilers): Preprocess with cc1plus.
* lex.c (cxx_init): Exit quickly if c_common_init returns NULL.
objc:
* lang-specs.h (default_compilers): Preprocess with cc1obj.
Co-Authored-By: Aldy Hernandez <aldyh@redhat.com>
From-SVN: r51256
2002-03-24 13:27:45 +01:00
|
|
|
|
GCC_PASSES=xgcc$(exeext) cc1$(exeext) specs $(EXTRA_PASSES)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
|
|
|
|
# Directory to link to, when using the target `maketest'.
|
|
|
|
|
DIR = ../gcc
|
|
|
|
|
|
build-make, cross-make: Delete file.
* build-make, cross-make: Delete file.
* configure.in: Set and substitute CROSS, ALL,
SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
whether build == host and host == target. Do not
AC_SUBST_FILE build_overrides or cross_overrides. Do not
AC_SUBST cross_defines or extra_c_flags.
* Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
(SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
partially or completely with autoconf-substituted @variable@
notation.
(INSTALL_TARGET, @cross_defines@, @cross_overrides@,
@build_overrides@, @extra_c_flags@, all.build, install-build,
install-cross-rest, install-float-h-cross): Deleted.
(install-normal): Rename to install. Delete old "install"
indirection rule.
* ada/Makefile.in, ch/Makefile.in: Don't set ALL. Delete
@cross_defines@, @cross_overrides@, @build_overrides@ stanzas.
INTERNAL_CFLAGS is now @CROSS@ -DIN_GCC; update comment.
From-SVN: r47617
2001-12-04 19:02:50 +01:00
|
|
|
|
# Native compiler for the build machine and its switches.
|
2003-06-17 23:53:49 +02:00
|
|
|
|
CC_FOR_BUILD = @CC_FOR_BUILD@
|
2002-12-16 19:23:00 +01:00
|
|
|
|
BUILD_CFLAGS= @BUILD_CFLAGS@ -DGENERATOR_FILE
|
build-make, cross-make: Delete file.
* build-make, cross-make: Delete file.
* configure.in: Set and substitute CROSS, ALL,
SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
whether build == host and host == target. Do not
AC_SUBST_FILE build_overrides or cross_overrides. Do not
AC_SUBST cross_defines or extra_c_flags.
* Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
(SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
partially or completely with autoconf-substituted @variable@
notation.
(INSTALL_TARGET, @cross_defines@, @cross_overrides@,
@build_overrides@, @extra_c_flags@, all.build, install-build,
install-cross-rest, install-float-h-cross): Deleted.
(install-normal): Rename to install. Delete old "install"
indirection rule.
* ada/Makefile.in, ch/Makefile.in: Don't set ALL. Delete
@cross_defines@, @cross_overrides@, @build_overrides@ stanzas.
INTERNAL_CFLAGS is now @CROSS@ -DIN_GCC; update comment.
From-SVN: r47617
2001-12-04 19:02:50 +01:00
|
|
|
|
|
|
|
|
|
# Native linker and preprocessor flags. For x-fragment overrides.
|
2002-12-16 19:23:00 +01:00
|
|
|
|
BUILD_LDFLAGS=$(LDFLAGS)
|
|
|
|
|
BUILD_CPPFLAGS=$(ALL_CPPFLAGS)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1994-11-17 22:03:59 +01:00
|
|
|
|
# Actual name to use when installing a native compiler.
|
Makefile.in (target_noncanonical, [...]): Use immediate define instead of deferred.
gcc/
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (target_noncanonical, program_transform_name): Use
immediate define instead of deferred.
(GCC_INSTALL_NAME, GCC_TARGET_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME): Define via a immediate $(shell) instead of
deferred backquote.
gcc/cp
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (CXX_INSTALL_NAME, GXX_INSTALL_NAME,
CXX_TARGET_INSTALL_NAME, GXX_TARGET_INSTALL_NAME): Define via a
immediate $(shell) instead of deferred backquote.
gcc/f
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (G77_INSTALL_NAME): Define via a immediate $(shell)
instead of deferred backquote.
gcc/java
2004-01-16 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (JAVA_INSTALL_NAME, JAVA_TARGET_INSTALL_NAME,
GCJH_TARGET_INSTALL_NAME): Define via a immediate $(shell)
instead of deferred backquote.
From-SVN: r76193
2004-01-20 02:52:02 +01:00
|
|
|
|
GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)')
|
|
|
|
|
GCC_TARGET_INSTALL_NAME := $(target_noncanonical)-$(shell echo gcc|sed '$(program_transform_name)')
|
|
|
|
|
CPP_INSTALL_NAME := $(shell echo cpp|sed '$(program_transform_name)')
|
|
|
|
|
PROTOIZE_INSTALL_NAME := $(shell echo protoize|sed '$(program_transform_name)')
|
|
|
|
|
UNPROTOIZE_INSTALL_NAME := $(shell echo unprotoize|sed '$(program_transform_name)')
|
|
|
|
|
GCOV_INSTALL_NAME := $(shell echo gcov|sed '$(program_transform_name)')
|
|
|
|
|
GCCBUG_INSTALL_NAME := $(shell echo gccbug|sed '$(program_transform_name)')
|
1994-11-17 22:03:59 +01:00
|
|
|
|
|
1997-08-19 17:36:20 +02:00
|
|
|
|
# Setup the testing framework, if you have one
|
|
|
|
|
EXPECT = `if [ -f $${rootme}/../expect/expect ] ; then \
|
|
|
|
|
echo $${rootme}/../expect/expect ; \
|
|
|
|
|
else echo expect ; fi`
|
|
|
|
|
|
|
|
|
|
RUNTEST = `if [ -f $${srcdir}/../dejagnu/runtest ] ; then \
|
|
|
|
|
echo $${srcdir}/../dejagnu/runtest ; \
|
|
|
|
|
else echo runtest; fi`
|
|
|
|
|
RUNTESTFLAGS =
|
|
|
|
|
|
1994-05-19 01:08:30 +02:00
|
|
|
|
# Extra symbols for fixproto to define when parsing headers.
|
1999-09-18 20:05:59 +02:00
|
|
|
|
FIXPROTO_DEFINES =
|
1994-05-19 01:08:30 +02:00
|
|
|
|
|
1994-11-19 05:09:58 +01:00
|
|
|
|
# Extra flags to use when compiling crt{begin,end}.o.
|
1999-09-18 20:05:59 +02:00
|
|
|
|
CRTSTUFF_T_CFLAGS =
|
1994-11-19 05:09:58 +01:00
|
|
|
|
|
1996-03-05 00:39:06 +01:00
|
|
|
|
# Extra flags to use when compiling [m]crt0.o.
|
1999-09-18 20:05:59 +02:00
|
|
|
|
CRT0STUFF_T_CFLAGS =
|
1996-03-05 00:39:06 +01:00
|
|
|
|
|
1997-11-02 22:19:36 +01:00
|
|
|
|
# "t" or nothing, for building multilibbed versions of, say, crtbegin.o.
|
|
|
|
|
T =
|
|
|
|
|
|
Makefile.def (target_modules): Add libgcc.
./ * 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.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
# Should T contain a `=', libgcc/Makefile will make T_TARGET, setting
|
2000-11-09 14:56:53 +01:00
|
|
|
|
# $(T_TARGET) to the name of the actual target filename.
|
|
|
|
|
T_TARGET =
|
|
|
|
|
T_TARGET : $(T_TARGET)
|
|
|
|
|
|
2003-01-19 14:04:24 +01:00
|
|
|
|
# This should name the specs file that we're going to install. Target
|
|
|
|
|
# Makefiles may override it and name another file to be generated from
|
|
|
|
|
# the built-in specs and installed as the default spec, as long as
|
|
|
|
|
# they also introduce a rule to generate a file name specs, to be used
|
|
|
|
|
# at build time.
|
|
|
|
|
SPECS = specs
|
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# End of variables for you to override.
|
|
|
|
|
|
2002-12-16 19:23:00 +01:00
|
|
|
|
# GTM_H lists the config files that the generator files depend on,
|
|
|
|
|
# while TM_H lists the ones ordinary gcc files depend on, which
|
|
|
|
|
# includes several files generated by those generators.
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
BCONFIG_H = bconfig.h $(build_xm_file_list)
|
2002-12-16 19:23:00 +01:00
|
|
|
|
CONFIG_H = config.h $(host_xm_file_list)
|
Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
* Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
(CONFIG_H, TCONFIG_H, TM_P_H): Update.
(GEN, STAGESTUFF): Add new files.
(insn-constants.h, s-constants, tm-preds.h, s-preds,
genconstants, genpreds, genconstants.o, genpreds.o): New rules.
(hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
* mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
as well as insn-codes.h and insn-flags.h in config.h; and no
extra headers in tconfig.h and hconfig.h.
* gencodes.c: Eliminate code to generate predicate declarations
or #defines for md-file constants.
* genconstants.c, genpreds.c: New files.
* i386.md: Re-order guard expressions such that TARGET_64BIT
comes first, when this permits better optimization. Add
TARGET_64BIT to more x86-64 patterns. Add comment explaining
why this is desirable.
From-SVN: r44743
2001-08-09 19:11:00 +02:00
|
|
|
|
TCONFIG_H = tconfig.h $(xm_file_list)
|
2002-12-16 19:23:00 +01:00
|
|
|
|
TM_P_H = tm_p.h $(tm_p_file_list)
|
|
|
|
|
GTM_H = tm.h $(tm_file_list)
|
tree-ssa-address.c: New file.
* tree-ssa-address.c: New file.
* Makefile.in (tree-ssa-address.o): Add.
* expr.c (expand_expr_real_1): Do not handle REF_ORIGINAL on
INDIRECT_REFs. Handle TARGET_MEM_REFs.
* tree-eh.c (tree_could_trap_p): Handle TARGET_MEM_REFs.
* tree-flow.h (struct mem_address): New.
(struct affine_tree_combination): Moved from tree-ssa-loop-ivopts.c.
(create_mem_ref, addr_for_mem_ref, get_address_description,
maybe_fold_tmr, multiplier_allowed_in_address_p,
multiply_by_cost): Declare.
* tree-mudflap.c (mf_xform_derefs_1): Handle TARGET_MEM_REFs.
* tree-pretty-print.c (dump_generic_node): Ditto.
* tree-ssa-loop-im.c (for_each_index): Ditto.
* tree-ssa-loop-ivopts.c (may_be_unaligned_p,
find_interesting_uses_address): Ditto.
(rewrite_address_base, build_addr_strip_iref): Removed.
(struct affine_tree_combination): Moved to tree-flow.h.
(get_ref_tag, copy_ref_info): New functions.
(rewrite_use_address): Produce TARGET_MEM_REFs.
(tree_ssa_iv_optimize): Do not call update_ssa
and rewrite_into_loop_closed_ssa.
(tree_to_aff_combination): Use build_fold_addr_expr instead of
build_addr_strip_iref.
(unshare_aff_combination): New function.
(fold_affine_sum): Removed.
(get_computation_at): Use get_computation_aff. Unshare the result.
(get_computation_aff, multiplier_allowed_in_address_p): New function.
(multiply_by_cost): Exported.
(get_address_cost): Use multiplier_allowed_in_address_p.
* tree-ssa-operands.c (get_tmr_operands): New function.
(get_expr_operands): Handle TARGET_MEM_REFs.
* tree.c (copy_node_stat): Copy annotations for TARGET_MEM_REFs.
(build): Handle 7 arguments.
(build7_stat): New function.
* tree.def (TARGET_MEM_DEF): New.
* tree.h (REF_ORIGINAL): Removed.
(TMR_SYMBOL, TMR_BASE, TMR_INDEX, TMR_STEP, TMR_OFFSET, TMR_ORIGINAL,
TMR_TAG, build7): New macros.
(build7_stat, tree_mem_ref_addr, copy_mem_ref_info): Declare.
* tree-ssa-ccp.c (fold_stmt_r): Call maybe_fold_tmr.
* doc/c-tree.texi: Document TARGET_MEM_REF.
* doc/tree-ssa.texi: Add TARGET_MEM_REF to gimple grammar.
* gcc.dg/tree-ssa/loop-2.c: Update outcome.
* gcc.dg/tree-ssa/loop-3.c: Update outcome.
* gcc.dg/tree-ssa/loop-4.c: Update outcome.
* gcc.dg/tree-ssa/loop-9.c: New test.
From-SVN: r100708
2005-06-07 14:01:47 +02:00
|
|
|
|
TM_H = $(GTM_H) insn-constants.h insn-flags.h options.h
|
2002-12-16 19:23:00 +01:00
|
|
|
|
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
# Variables for version information.
|
2005-03-21 18:58:06 +01:00
|
|
|
|
BASEVER := $(srcdir)/BASE-VER # 4.x.y
|
|
|
|
|
DEVPHASE := $(srcdir)/DEV-PHASE # experimental, prerelease, ""
|
|
|
|
|
DATESTAMP := $(srcdir)/DATESTAMP # YYYYMMDD or empty
|
2007-08-16 23:10:14 +02:00
|
|
|
|
REVISION := $(srcdir)/REVISION # [BRANCH revision XXXXXX]
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
|
2005-03-21 18:58:06 +01:00
|
|
|
|
BASEVER_c := $(shell cat $(BASEVER))
|
|
|
|
|
DEVPHASE_c := $(shell cat $(DEVPHASE))
|
|
|
|
|
DATESTAMP_c := $(shell cat $(DATESTAMP))
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
|
2007-08-16 23:10:14 +02:00
|
|
|
|
ifeq (,$(wildcard $(REVISION)))
|
|
|
|
|
REVISION_c :=
|
|
|
|
|
else
|
|
|
|
|
REVISION_c := $(shell cat $(REVISION))
|
|
|
|
|
endif
|
|
|
|
|
|
2005-03-21 18:58:06 +01:00
|
|
|
|
version := $(BASEVER_c)
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
|
|
|
|
|
# For use in version.c - double quoted strings, with appropriate
|
|
|
|
|
# surrounding punctuation and spaces, and with the datestamp and
|
|
|
|
|
# development phase collapsed to the empty string in release mode
|
|
|
|
|
# (i.e. if DEVPHASE_c is empty). The space immediately after the
|
|
|
|
|
# comma in the $(if ...) constructs is significant - do not remove it.
|
2005-03-21 18:58:06 +01:00
|
|
|
|
BASEVER_s := "\"$(BASEVER_c)\""
|
|
|
|
|
DEVPHASE_s := "\"$(if $(DEVPHASE_c), ($(DEVPHASE_c)))\""
|
|
|
|
|
DATESTAMP_s := "\"$(if $(DEVPHASE_c), $(DATESTAMP_c))\""
|
2007-08-21 17:35:30 +02:00
|
|
|
|
PKGVERSION_s:= "\"@PKGVERSION@\""
|
|
|
|
|
BUGURL_s := "\"@REPORT_BUGS_TO@\""
|
|
|
|
|
|
|
|
|
|
PKGVERSION := @PKGVERSION@
|
|
|
|
|
BUGURL_TEXI := @REPORT_BUGS_TEXI@
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
|
2007-08-16 23:10:14 +02:00
|
|
|
|
ifdef REVISION_c
|
|
|
|
|
REVISION_s := "\"$(if $(DEVPHASE_c), $(REVISION_c))\""
|
|
|
|
|
else
|
|
|
|
|
REVISION_s :=
|
|
|
|
|
endif
|
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
# Shorthand variables for dependency lists.
|
|
|
|
|
TARGET_H = $(TM_H) target.h insn-modes.h
|
|
|
|
|
MACHMODE_H = machmode.h mode-classes.def insn-modes.h
|
|
|
|
|
HOOKS_H = hooks.h $(MACHMODE_H)
|
|
|
|
|
HOSTHOOKS_DEF_H = hosthooks-def.h $(HOOKS_H)
|
|
|
|
|
LANGHOOKS_DEF_H = langhooks-def.h $(HOOKS_H)
|
|
|
|
|
TARGET_DEF_H = target-def.h $(HOOKS_H)
|
|
|
|
|
RTL_BASE_H = rtl.h rtl.def $(MACHMODE_H) reg-notes.def insn-notes.def \
|
|
|
|
|
input.h $(REAL_H) statistics.h vec.h fixed-value.h alias.h
|
|
|
|
|
RTL_H = $(RTL_BASE_H) genrtl.h
|
|
|
|
|
PARAMS_H = params.h params.def
|
|
|
|
|
BUILTINS_DEF = builtins.def sync-builtins.def omp-builtins.def
|
|
|
|
|
TREE_H = tree.h tree.def $(MACHMODE_H) tree-check.h $(BUILTINS_DEF) \
|
|
|
|
|
input.h statistics.h vec.h treestruct.def $(HASHTAB_H) \
|
|
|
|
|
double-int.h alias.h
|
|
|
|
|
BASIC_BLOCK_H = basic-block.h bitmap.h sbitmap.h varray.h $(PARTITION_H) \
|
|
|
|
|
hard-reg-set.h $(PREDICT_H) vec.h $(FUNCTION_H) \
|
|
|
|
|
cfghooks.h $(OBSTACK_H)
|
|
|
|
|
GCOV_IO_H = gcov-io.h gcov-iov.h auto-host.h
|
|
|
|
|
COVERAGE_H = coverage.h $(GCOV_IO_H)
|
|
|
|
|
DEMANGLE_H = $(srcdir)/../include/demangle.h
|
|
|
|
|
RECOG_H = recog.h
|
|
|
|
|
ALIAS_H = alias.h coretypes.h
|
|
|
|
|
EMIT_RTL_H = emit-rtl.h
|
|
|
|
|
FLAGS_H = flags.h options.h
|
|
|
|
|
FUNCTION_H = function.h $(TREE_H) $(HASHTAB_H)
|
|
|
|
|
EXPR_H = expr.h insn-config.h $(FUNCTION_H) $(RTL_H) $(FLAGS_H) $(TREE_H) $(MACHMODE_H) $(EMIT_RTL_H)
|
|
|
|
|
OPTABS_H = optabs.h insn-codes.h
|
|
|
|
|
REGS_H = regs.h varray.h $(MACHMODE_H) $(OBSTACK_H) $(BASIC_BLOCK_H) $(FUNCTION_H)
|
|
|
|
|
RA_H = ra.h $(REGS_H)
|
|
|
|
|
RESOURCE_H = resource.h hard-reg-set.h
|
|
|
|
|
SCHED_INT_H = sched-int.h $(INSN_ATTR_H) $(BASIC_BLOCK_H) $(RTL_H) $(DF_H)
|
|
|
|
|
INTEGRATE_H = integrate.h $(VARRAY_H)
|
|
|
|
|
CFGLAYOUT_H = cfglayout.h $(BASIC_BLOCK_H)
|
|
|
|
|
CFGLOOP_H = cfgloop.h $(BASIC_BLOCK_H) $(RTL_H) vecprim.h double-int.h
|
|
|
|
|
IPA_UTILS_H = ipa-utils.h $(TREE_H) $(CGRAPH_H)
|
|
|
|
|
IPA_REFERENCE_H = ipa-reference.h bitmap.h $(TREE_H)
|
|
|
|
|
IPA_TYPE_ESCAPE_H = ipa-type-escape.h $(TREE_H)
|
|
|
|
|
CGRAPH_H = cgraph.h $(TREE_H)
|
|
|
|
|
DF_H = df.h bitmap.h $(BASIC_BLOCK_H) alloc-pool.h
|
|
|
|
|
RESOURCE_H = resource.h hard-reg-set.h $(DF_H)
|
|
|
|
|
DDG_H = ddg.h sbitmap.h $(DF_H)
|
|
|
|
|
GCC_H = gcc.h version.h
|
|
|
|
|
GGC_H = ggc.h gtype-desc.h
|
|
|
|
|
TIMEVAR_H = timevar.h timevar.def
|
|
|
|
|
INSN_ATTR_H = insn-attr.h $(srcdir)/insn-addr.h $(srcdir)/varray.h
|
|
|
|
|
C_COMMON_H = c-common.h $(SPLAY_TREE_H) $(CPPLIB_H) $(GGC_H)
|
|
|
|
|
C_PRAGMA_H = c-pragma.h $(CPPLIB_H)
|
|
|
|
|
C_TREE_H = c-tree.h $(C_COMMON_H) toplev.h $(DIAGNOSTIC_H)
|
|
|
|
|
SYSTEM_H = system.h hwint.h $(srcdir)/../include/libiberty.h
|
|
|
|
|
PREDICT_H = predict.h predict.def
|
2004-06-09 22:10:13 +02:00
|
|
|
|
CPPLIB_H = $(srcdir)/../libcpp/include/line-map.h \
|
|
|
|
|
$(srcdir)/../libcpp/include/cpplib.h
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
DECNUM_H = $(DECNUM)/decContext.h $(DECNUM)/decDPD.h $(DECNUM)/decNumber.h \
|
|
|
|
|
$(DECNUMFMT)/decimal32.h $(DECNUMFMT)/decimal64.h \
|
|
|
|
|
$(DECNUMFMT)/decimal128.h $(DECNUMFMT)/decimal128Local.h
|
|
|
|
|
MKDEPS_H = $(srcdir)/../libcpp/include/mkdeps.h
|
|
|
|
|
SYMTAB_H = $(srcdir)/../libcpp/include/symtab.h
|
2004-06-09 22:10:13 +02:00
|
|
|
|
CPP_ID_DATA_H = $(CPPLIB_H) $(srcdir)/../libcpp/include/cpp-id-data.h
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
TREE_DUMP_H = tree-dump.h $(SPLAY_TREE_H)
|
|
|
|
|
TREE_GIMPLE_H = tree-gimple.h tree-iterator.h
|
|
|
|
|
TREE_FLOW_H = tree-flow.h tree-flow-inline.h tree-ssa-operands.h \
|
|
|
|
|
bitmap.h $(BASIC_BLOCK_H) hard-reg-set.h $(TREE_GIMPLE_H) \
|
|
|
|
|
$(HASHTAB_H) $(CGRAPH_H) $(IPA_REFERENCE_H)
|
|
|
|
|
TREE_SSA_LIVE_H = tree-ssa-live.h $(PARTITION_H) vecprim.h
|
|
|
|
|
PRETTY_PRINT_H = pretty-print.h input.h $(OBSTACK_H)
|
|
|
|
|
DIAGNOSTIC_H = diagnostic.h diagnostic.def $(PRETTY_PRINT_H) options.h
|
|
|
|
|
C_PRETTY_PRINT_H = c-pretty-print.h $(PRETTY_PRINT_H) $(C_COMMON_H) $(TREE_H)
|
|
|
|
|
SCEV_H = tree-scalar-evolution.h $(GGC_H) tree-chrec.h $(PARAMS_H)
|
|
|
|
|
LAMBDA_H = lambda.h $(TREE_H) vec.h $(GGC_H)
|
|
|
|
|
TREE_DATA_REF_H = tree-data-ref.h $(LAMBDA_H) omega.h graphds.h tree-chrec.h
|
|
|
|
|
VARRAY_H = varray.h $(MACHMODE_H) $(SYSTEM_H) coretypes.h $(TM_H)
|
|
|
|
|
TREE_INLINE_H = tree-inline.h $(VARRAY_H) pointer-set.h
|
|
|
|
|
REAL_H = real.h $(MACHMODE_H)
|
|
|
|
|
DBGCNT_H = dbgcnt.h dbgcnt.def
|
|
|
|
|
EBIMAP_H = ebitmap.h sbitmap.h
|
2001-05-24 00:58:41 +02:00
|
|
|
|
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Now figure out from those variables how to compile and link.
|
|
|
|
|
|
build-make, cross-make: Delete file.
* build-make, cross-make: Delete file.
* configure.in: Set and substitute CROSS, ALL,
SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
whether build == host and host == target. Do not
AC_SUBST_FILE build_overrides or cross_overrides. Do not
AC_SUBST cross_defines or extra_c_flags.
* Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
(SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
partially or completely with autoconf-substituted @variable@
notation.
(INSTALL_TARGET, @cross_defines@, @cross_overrides@,
@build_overrides@, @extra_c_flags@, all.build, install-build,
install-cross-rest, install-float-h-cross): Deleted.
(install-normal): Rename to install. Delete old "install"
indirection rule.
* ada/Makefile.in, ch/Makefile.in: Don't set ALL. Delete
@cross_defines@, @cross_overrides@, @build_overrides@ stanzas.
INTERNAL_CFLAGS is now @CROSS@ -DIN_GCC; update comment.
From-SVN: r47617
2001-12-04 19:02:50 +01:00
|
|
|
|
# IN_GCC distinguishes between code compiled into GCC itself and other
|
|
|
|
|
# programs built during a bootstrap.
|
2006-12-13 10:28:16 +01:00
|
|
|
|
# autoconf inserts -DCROSS_DIRECTORY_STRUCTURE if we are building a
|
|
|
|
|
# cross compiler which does not use the native headers and libraries.
|
2002-08-13 14:11:20 +02:00
|
|
|
|
INTERNAL_CFLAGS = -DIN_GCC @CROSS@
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2003-07-09 13:48:24 +02:00
|
|
|
|
# This is the variable actually used when we compile. If you change this,
|
2004-01-09 02:18:35 +01:00
|
|
|
|
# you probably want to update BUILD_CFLAGS in configure.ac
|
2002-08-08 11:10:39 +02:00
|
|
|
|
ALL_CFLAGS = $(X_CFLAGS) $(T_CFLAGS) \
|
2002-08-13 14:11:20 +02:00
|
|
|
|
$(CFLAGS) $(INTERNAL_CFLAGS) $(COVERAGE_FLAGS) $(WARN_CFLAGS) $(XCFLAGS) @DEFS@
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2005-08-29 15:52:32 +02:00
|
|
|
|
# Likewise. Put INCLUDES at the beginning: this way, if some autoconf macro
|
|
|
|
|
# puts -I options in CPPFLAGS, our include files in the srcdir will always
|
|
|
|
|
# win against random include files in /usr/include.
|
|
|
|
|
ALL_CPPFLAGS = $(INCLUDES) $(CPPFLAGS) $(X_CPPFLAGS) $(T_CPPFLAGS)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2004-08-31 11:27:00 +02:00
|
|
|
|
# Build and host support libraries.
|
Purge cruft now we have build libiberty.
* Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
USE_HOST_STRSTR): Delete variables.
(vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
$(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
$(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
(LIBIBERTY, BUILD_LIBIBERTY): New variables.
(LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
(LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
(HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
(HOST_LIBS): Ditto.
(HOST_RTL): Remove hashtab.o safe-ctype.o.
(OBJS): Remove splay-tree.o.
(gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
(distclean): No need to delete splay-tree.c obstack.c
hashtab.c safe-ctype.c.
(mostlyclean): Delete build copies of print-rtl.c bitmap.c
errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
* aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
Delete.
* configure.in: Don't use them.
Set and substitute @FORBUILD@.
* config.in, configure: Regenerate.
* doprint.c: Move to libiberty/_doprnt.c.
* doc/configterms.texi: Document that libiberty is now built
up to three times. Fix typo.
* f/Make-lang.in (f/fini, f/intdoc): Depend on $(HOST_LIBDEPS)
and link with $(HOST_LIBS), not safe-ctype.o.
From-SVN: r47475
2001-11-30 05:43:05 +01:00
|
|
|
|
LIBIBERTY = ../libiberty/libiberty.a
|
2006-07-18 13:48:36 +02:00
|
|
|
|
BUILD_LIBIBERTY = $(build_libobjdir)/libiberty/libiberty.a
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2002-05-04 05:10:42 +02:00
|
|
|
|
# Dependencies on the intl and portability libraries.
|
dfp.h, dfp.c: New files.
2005-12-02 Jon Grimm <jgrimm2@us.ibm.com>
Janis Johnson <janis187@us.ibm.com>
David Edelsohn <dje@watson.ibm.com>
Ben Elliston <bje@au.ibm.com>
* dfp.h, dfp.c: New files.
* Makefile.in (DECNUM, DECNUMINC, LIBDECNUMBER): New variables.
(DECNUM_H): Likewise.
(LIBDEPS, LIBS, BACKEND): Append $(LIBDECNUMBER).
(INCLUDES): Append $(DECNUMINC).
(OBJS-common): Add dfp.o.
(dfp.o): New rule.
* real.h (EXP_BITS): Pinch one bit to ..
(struct real_value): Add decimal field.
(real_format): Change table size, update documentation.
(REAL_MODE_FORMAT): Update for to handle float, decimal float.
(real_from_string3): Declare.
(decimal_single_format): Declare.
(decimal_double_format): Declare.
(decimal_quad_format): Declare.
(REAL_VALUE_TO_TARGET_DECIMAL32): New.
(REAL_VALUE_TO_TARGET_DECIMAL64): New.
(REAL_VALUE_TO_TARGET_DECIMAL128): New.
* real.c: Include dfp.h.
(normalize): Early return for decimal floats.
(do_add): Zero decimal field.
(do_compare): Call do_decimal_compare for decimal floats.
(do_fix_trunc): Likewise, call decimal_do_fix_trunc.
(real_arithmetic): Call decimal_real_arithmetic for decimal
floating point operands.
(real_identical): If a and b are of differing radix, return false.
(real_to_integer): Call decimal_real_to_integer if the value is a
decimal float.
(real_to_integer2): Likewise, call decimal_real_to_integer2.
(real_to_decimal): Likewise, call decimal_real_to_decimal.
(real_to_hexadecimal): Place "N/A" in the return string for
decimal float.
(real_from_string3): New variant, given a mode.
(real_maxval): Use decimal_real_maxval for decimal floats.
(round_for_format): Use decimal_round_for_format for decimals.
(real_convert): Use decimal_real_convert where appropriate.
(significand_size): Handle base 10.
(encode_decimal_single, decode_decimal_single,
encode_decimal_double, decode_decimal_double, encode_decimal_quad,
decode_decimal_quad): New functions.
(decimal_single_format): New.
(decimal_double_format): New.
(decimal_quad_format): New.
* machmode.def: Add SD, DD and TD decimal floating point modes.
* machmode.h (FLOAT_MODE_P, SCALAR_FLOAT_MODE_P, MODES_WIDEN_P):
Include MODE_DECIMAL_FLOAT.
(DECIMAL_FLOAT_MODE_P): New.
* mode-classes.def (MODE_DECIMAL_FLOAT): New mode class.
* genmodes.c (struct mode_data): Add counter field.
(struct mode_data): Update comment for format.
(blank_mode): Initialise counter field.
(new_mode): Increment counter field for each mode defined.
(complete_mode): Handle MODE_DECIMAL_FLOAT, update check for mode
using a format.
(make_complex_modes): Handle modes containing `D'.
(DECIMAL_FLOAT_MODE, FRACTIONAL_DECIMAL_FLOAT_MODE): New.
(make_decimal_float_mode): New.
(reset_float_format): Handle MODE_DECIMAL_FLOAT.
(cmp_modes): Compare counter field if other characteristics
similar.
(emit_real_format_for_mode): Support formats for decimal floats.
* doc/rtl.texi (Machine Modes): Document SD, DD and TDmodes.
Document MODE_DECIMAL_FLOAT.
Co-Authored-By: Ben Elliston <bje@au.ibm.com>
Co-Authored-By: David Edelsohn <dje@watson.ibm.com>
Co-Authored-By: Janis Johnson <janis187@us.ibm.com>
From-SVN: r107861
2005-12-02 03:30:42 +01:00
|
|
|
|
LIBDEPS= $(CPPLIB) $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP) $(LIBDECNUMBER)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
|
|
|
|
# Likewise, for use in the tools that must run on this machine
|
|
|
|
|
# even if we are cross-building GCC.
|
2002-12-16 19:23:00 +01:00
|
|
|
|
BUILD_LIBDEPS= $(BUILD_LIBIBERTY)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
|
|
|
|
# How to link with both our special library facilities
|
|
|
|
|
# and the system's installed libraries.
|
2008-02-06 22:51:24 +01:00
|
|
|
|
LIBS = @LIBS@ $(CPPLIB) $(LIBINTL) $(LIBICONV) $(LIBIBERTY) $(LIBDECNUMBER)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
Makefile.in (ADAC): Define.
* Makefile.in (ADAC): Define.
(SYSLIBS): Define.
(.SUFFIXES): Move before language makefile fragments.
(STAGE2_FLAGS_TO_PASS): Use stage CC as ADAC.
ada:
* Make-lang.in (CP, ECHO): Copy from Makefile.in.
(X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise.
(ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise.
(ALL_ADA_CFLAGS): Likewise.
(ADA_INCLUDES): Likewise.
Adapt for new working dir.
(GNATBIND): Use Makefile.in version.
(.SUFFIXES): Copy from Makefile.in.
(ada-warn): Define.
(.adb.o, .ads.o): Copy from Makefile.in.
Added $(OUTPUT_OPTION).
(GNAT1_C_OBJS): Moved from Makefile.in.
Prefix with ada subdir.
(GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise.
(EXTRA_GNAT1_OBJS): Moved from Makefile.in.
Adapt for new working dir.
(EXTRA_GNATBIND_OBJS): Likewise.
(ADA_BACKEND): Moved from Makefile.in.
Renamed to avoid conflict with global BACKEND.
Use that one.
(TARGET_ADA_SRCS): Moved from Makefile.in.
(gnat1$(exeext)): Replaced recursive rule with Makefile.in version.
Use ADA_BACKEND.
(gnatbind$(exeext)): Replaced recursive rule with Makefile.in version.
(ada_extra_files): Moved from Makefile.in.
Prefix with ada subdir.
(ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise.
(ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise.
(ada/nmake.ads): Likewise.
(update-sources): Moved from Makefile.in.
Prefix with ada subdir.
(ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise.
(ADA_TREE_H): Likewise.
(ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise.
(ada/memtrack.o): Likewise.
(ada/adadecode.o): Likewise.
Update dependencies.
(ada/adaint.o): New.
(ada/argv.o): Moved from Makefile.in.
Prefix with ada subdir.
Update dependencies.
(ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise.
(ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise.
(ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in.
Prefix with ada subdir.
(ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise.
(GNAT DEPENDENCIES): Regenerate.
* Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by
toplevel Makefile.in.
(EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed.
(TARGET_ADA_SRCS): Removed.
(GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise.
(GNATBIND_OBJS): Likewise.
(ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here.
(BACKEND): Removed.
(../gnat1$(exeext), ../gnatbind$(exeext)): Likewise.
(TREE_H): Likewise.
(ada_extra_files): Likewise.
(b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise.
(treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise.
(update-sources): Likewise.
(sdefault.adb, stamp-sdefault, sdefault.o): Likewise
(ADA_TREE_H): Likewise.
(adadecoce.o): Likewise.
(cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise.
(GNAT DEPENDENCIES): Likewise.
From-SVN: r53800
2002-05-23 20:13:28 +02:00
|
|
|
|
# Any system libraries needed just for GNAT.
|
|
|
|
|
SYSLIBS = @GNAT_LIBEXC@
|
|
|
|
|
|
2003-03-23 21:13:58 +01:00
|
|
|
|
# Libs needed (at present) just for jcf-dump.
|
|
|
|
|
LDEXP_LIB = @LDEXP_LIB@
|
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Likewise, for use in the tools that must run on this machine
|
|
|
|
|
# even if we are cross-building GCC.
|
2002-12-16 19:23:00 +01:00
|
|
|
|
BUILD_LIBS = $(BUILD_LIBIBERTY)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2006-07-04 09:52:47 +02:00
|
|
|
|
BUILD_RTL = build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o \
|
r110124@banpei: zack | 2006-01-22 14:45:55 -0800
r110124@banpei: zack | 2006-01-22 14:45:55 -0800
* gensupport.c: Define get_insn_name and record_insn_name here.
(read_md_rtx): Call record_insn_name as appropriate.
* genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c
* genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c
* genpreds.c, genrecog.c: Don't define get_insn_name nor
record_insn_name.
* Makefile.in (BUILD_SUPPORT, BUILD_PRINT): Fold into BUILD_RTL.
(BUILD_VARRAY): Delete.
(genprognormal): Rename genprogmd. Fold in all programs from
genprognoprint; also attrtab.
(build/genattrtab): Just mention genautomata.o and varray.o.
Reorganize a bit, add comments to make the categories clearer.
From-SVN: r110120
2006-01-23 16:15:12 +01:00
|
|
|
|
build/min-insn-modes.o build/gensupport.o build/print-rtl.o
|
2004-09-22 13:21:21 +02:00
|
|
|
|
BUILD_ERRORS = build/errors.o
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
|
|
|
|
# Specify the directories to be searched for header files.
|
|
|
|
|
# Both . and srcdir are used, in that order,
|
configure.in: Kill tm.h.
* configure.in: Kill tm.h. Include the files in the $tm_file
list in all three of config.h, hconfig.h, tconfig.h, after the
relevant set of xm_files. Put TARGET_CPU_DEFAULT in all
three, include insn-codes.h in all three (#ifndef GENERATOR_FILE).
* configure: Regenerate.
* Makefile.in (clean): Don't delete tm.h.
* system.h: If SUCCESS_EXIT_CODE and FATAL_EXIT_CODE are not
defined, set them from EXIT_SUCCESS and EXIT_FAILURE. If
those are not defined, set SEC and FEC to 0 and 1.
* gcc.texi: Update to match.
* crtstuff.c: Include tconfig.h, not auto-host.h and tm.h.
* config/fp-bit.c, config/m68k/aux-crt2.asm,
config/m68k/aux-crtn.asm, config/m68k/aux-mcount.c:
Include tconfig.h, not tm.h.
* config/xm-lynx.h, config/xm-std32.h,
config/a29k/xm-a29k.h, config/a29k/xm-unix.h,
config/alpha/xm-alpha.h, config/arc/xm-arc.h,
config/avr/xm-avr.h, config/c4x/xm-c4x.h,
config/clipper/xm-clix.h, config/convex/xm-convex.h,
config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
config/h8300/xm-h8300.h, config/i370/xm-linux.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/ia64/xm-ia64.h,
config/m32r/xm-m32r.h, config/m68hc11/xm-m68hc11.h,
config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
config/mips/xm-mips.h, config/mn10200/xm-mn10200.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pa/xm-linux.h, config/pa/xm-pa.h,
config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
config/pa/xm-papro.h, config/pdp11/xm-pdp11.h,
config/pj/xm-pj.h, config/romp/xm-romp.h,
config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
config/v850/xm-v850.h, config/vax/xm-vax.h,
config/we32k/xm-we32k.h:
Don't include tm.h.
Don't define SUCCESS_EXIT_CODE or FATAL_EXIT_CODE.
* config/i370/xm-i370.h, config/i370/xm-mvs.h,
config/i370/xm-oe.h: Don't include tm.h. Don't define
SUCCESS_EXIT_CODE.
* config/vax/xm-vms.h: Don't include tm.h.
* config/xm-lynx.h, config/avr/xm-avr.h,
config/fr30/xm-fr30.h, config/pdp11/xm-pdp11.h,
Delete; made empty by above changes.
* config/i386/xm-lynx.h, config/m68k/xm-lynx.h,
config/rs6000/xm-lynx.h, config/sparc/xm-lynx.h:
Don't include config/xm-lynx.h or tm.h.
* config/xm-gnu.h: Don't include fcntl.h.
* config/sparc/xm-lynx.h: Don't include sys/types.h and
sys/wait.h.
* config/clipper/xm-clix.h, config/vax/xm-vax.h: Don't define isinf.
From-SVN: r40199
2001-03-03 04:32:55 +01:00
|
|
|
|
# so that *config.h will be found in the compilation
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# subdirectory rather than in the source directory.
|
configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'.
* configure.in: If not NO_MINUS_C_MINUS_O, substitute
OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
top level. Kill oldstyle_subdirs. Do not include
$srcdir/$s/Makefile.in in all_lang_makefiles, but do include
$outputs. Do not run configure.lang from config.status.
Rearrange warning-flag logic to correspond to what the
makefile wants. Put special vax stage1 options in
@stage1_flags@ not @stage1_warn_cflags@. Don't do anything
with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
(--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
switch is given, nothing otherwise.
* configure.lang: Delete.
* Makefile.in: Expunge all traces of extra_c_objs,
extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
@maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
warning options via a three level scheme so that -pedantic and
-Wtraditional are not used for non-C front ends: LOOSE_WARN,
STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
generation rules. Wrap all rules that change the current
directory in parentheses; pmake doesn't spawn a new shell for
each command. Expunge all references to $(P). When one
command depends on another and they're run all at once, use &&
to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
and beyond.
* cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in,
objc/Make-lang.in: Wrap all rules that change the current
directory in parentheses. Expunge all references to $(P).
When one command depends on another and they're run all at
once, use && to separate them, not ;. Add OUTPUT_OPTION to
all object-file generation rules. Delete obsolete variables.
Move all build rules here from the corresponding Makefile.in and
adapt to the new environment.
* cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in:
Delete.
* cp/config-lang.in, f/config-lang.in, java/config-lang.in:
Delete outputs= line.
From-SVN: r37088
2000-10-27 22:22:28 +02:00
|
|
|
|
# -I$(@D) and -I$(srcdir)/$(@D) cause the subdirectory of the file
|
|
|
|
|
# currently being compiled, in both source trees, to be examined as well.
|
intl: New directory; see intl/ChangeLog for details.
top:
* intl: New directory; see intl/ChangeLog for details.
* ABOUT-NLS, config.rpath: Import from gettext 0.12.1.
* Makefile.tpl: all-gcc depends on maybe-all-intl.
* Makefile.in: Regenerate.
config:
* gettext.m4: New file - copy of gettext.m4 from binutils
CVS, with added AC_ISC_POSIX macro from gcc/aclocal.m4.
gcc:
* ABOUT-NLS: Delete.
* intl: Delete entire directory.
* aclocal.m4: Include ../config/gettext.m4. Delete
AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
* configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
Remove intl/Makefile from all_outputs.
* configure, config.in: Regenerate.
* Makefile.in: Expunge all references to intl subdirectory.
Add -I../intl to INCLUDES.
* intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
intl:
* Makefile.in: Remove unnecessary capabilities for
installation, build of shared libraries, generation of
distribution tarballs, etc. Fix all the places that rely on
the parent directory. Don't generate libgnuintl.h from
anything; do generate $(objdir)/libintl.h from libgnuintl.h if
necessary. Adjust DEFS for use of config.h.
* libgnuintl.h.in: Rename libgnuintl.h.
* README: New file.
* config.charset, ref-add.sin, ref-del.sin: Delete (unused).
* COPYING.LIB-2.0, COPYING.LIB-2.1: Delete (redundant).
* aclocal.m4: New; generated per instructions in gettext manual.
* configure.in: New; written from scratch for this configuration.
* configure, config.h.in: Generated.
contrib:
* gcc_update: Remove gcc/intl/plural.c from list.
Add new generated files intl/plural.c, intl/configure,
intl/config.h.in.
From-SVN: r68928
2003-07-04 20:18:54 +02:00
|
|
|
|
# libintl.h will be found in ../intl if we are using the included libintl.
|
configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'.
* configure.in: If not NO_MINUS_C_MINUS_O, substitute
OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
top level. Kill oldstyle_subdirs. Do not include
$srcdir/$s/Makefile.in in all_lang_makefiles, but do include
$outputs. Do not run configure.lang from config.status.
Rearrange warning-flag logic to correspond to what the
makefile wants. Put special vax stage1 options in
@stage1_flags@ not @stage1_warn_cflags@. Don't do anything
with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
(--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
switch is given, nothing otherwise.
* configure.lang: Delete.
* Makefile.in: Expunge all traces of extra_c_objs,
extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
@maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
warning options via a three level scheme so that -pedantic and
-Wtraditional are not used for non-C front ends: LOOSE_WARN,
STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
generation rules. Wrap all rules that change the current
directory in parentheses; pmake doesn't spawn a new shell for
each command. Expunge all references to $(P). When one
command depends on another and they're run all at once, use &&
to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
and beyond.
* cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in,
objc/Make-lang.in: Wrap all rules that change the current
directory in parentheses. Expunge all references to $(P).
When one command depends on another and they're run all at
once, use && to separate them, not ;. Add OUTPUT_OPTION to
all object-file generation rules. Delete obsolete variables.
Move all build rules here from the corresponding Makefile.in and
adapt to the new environment.
* cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in:
Delete.
* cp/config-lang.in, f/config-lang.in, java/config-lang.in:
Delete outputs= line.
From-SVN: r37088
2000-10-27 22:22:28 +02:00
|
|
|
|
INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \
|
2004-05-13 08:41:07 +02:00
|
|
|
|
-I$(srcdir)/../include @INCINTL@ \
|
dfp.h, dfp.c: New files.
2005-12-02 Jon Grimm <jgrimm2@us.ibm.com>
Janis Johnson <janis187@us.ibm.com>
David Edelsohn <dje@watson.ibm.com>
Ben Elliston <bje@au.ibm.com>
* dfp.h, dfp.c: New files.
* Makefile.in (DECNUM, DECNUMINC, LIBDECNUMBER): New variables.
(DECNUM_H): Likewise.
(LIBDEPS, LIBS, BACKEND): Append $(LIBDECNUMBER).
(INCLUDES): Append $(DECNUMINC).
(OBJS-common): Add dfp.o.
(dfp.o): New rule.
* real.h (EXP_BITS): Pinch one bit to ..
(struct real_value): Add decimal field.
(real_format): Change table size, update documentation.
(REAL_MODE_FORMAT): Update for to handle float, decimal float.
(real_from_string3): Declare.
(decimal_single_format): Declare.
(decimal_double_format): Declare.
(decimal_quad_format): Declare.
(REAL_VALUE_TO_TARGET_DECIMAL32): New.
(REAL_VALUE_TO_TARGET_DECIMAL64): New.
(REAL_VALUE_TO_TARGET_DECIMAL128): New.
* real.c: Include dfp.h.
(normalize): Early return for decimal floats.
(do_add): Zero decimal field.
(do_compare): Call do_decimal_compare for decimal floats.
(do_fix_trunc): Likewise, call decimal_do_fix_trunc.
(real_arithmetic): Call decimal_real_arithmetic for decimal
floating point operands.
(real_identical): If a and b are of differing radix, return false.
(real_to_integer): Call decimal_real_to_integer if the value is a
decimal float.
(real_to_integer2): Likewise, call decimal_real_to_integer2.
(real_to_decimal): Likewise, call decimal_real_to_decimal.
(real_to_hexadecimal): Place "N/A" in the return string for
decimal float.
(real_from_string3): New variant, given a mode.
(real_maxval): Use decimal_real_maxval for decimal floats.
(round_for_format): Use decimal_round_for_format for decimals.
(real_convert): Use decimal_real_convert where appropriate.
(significand_size): Handle base 10.
(encode_decimal_single, decode_decimal_single,
encode_decimal_double, decode_decimal_double, encode_decimal_quad,
decode_decimal_quad): New functions.
(decimal_single_format): New.
(decimal_double_format): New.
(decimal_quad_format): New.
* machmode.def: Add SD, DD and TD decimal floating point modes.
* machmode.h (FLOAT_MODE_P, SCALAR_FLOAT_MODE_P, MODES_WIDEN_P):
Include MODE_DECIMAL_FLOAT.
(DECIMAL_FLOAT_MODE_P): New.
* mode-classes.def (MODE_DECIMAL_FLOAT): New mode class.
* genmodes.c (struct mode_data): Add counter field.
(struct mode_data): Update comment for format.
(blank_mode): Initialise counter field.
(new_mode): Increment counter field for each mode defined.
(complete_mode): Handle MODE_DECIMAL_FLOAT, update check for mode
using a format.
(make_complex_modes): Handle modes containing `D'.
(DECIMAL_FLOAT_MODE, FRACTIONAL_DECIMAL_FLOAT_MODE): New.
(make_decimal_float_mode): New.
(reset_float_format): Handle MODE_DECIMAL_FLOAT.
(cmp_modes): Compare counter field if other characteristics
similar.
(emit_real_format_for_mode): Support formats for decimal floats.
* doc/rtl.texi (Machine Modes): Document SD, DD and TDmodes.
Document MODE_DECIMAL_FLOAT.
Co-Authored-By: Ben Elliston <bje@au.ibm.com>
Co-Authored-By: David Edelsohn <dje@watson.ibm.com>
Co-Authored-By: Janis Johnson <janis187@us.ibm.com>
From-SVN: r107861
2005-12-02 03:30:42 +01:00
|
|
|
|
$(CPPINC) $(GMPINC) $(DECNUMINC)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
.c.o:
|
|
|
|
|
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $< $(OUTPUT_OPTION)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
2003-03-12 21:41:00 +01:00
|
|
|
|
# Support for additional languages (other than C).
|
|
|
|
|
# C can be supported this way too (leave for later).
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
|
2003-08-31 08:07:42 +02:00
|
|
|
|
LANG_MAKEFRAGS = @all_lang_makefrags@
|
1997-05-18 14:31:46 +02:00
|
|
|
|
LANG_MAKEFILES = @all_lang_makefiles@
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
|
|
|
|
|
# Flags to pass to recursive makes.
|
configure.ac (strict1_warn): Rename to strict_warn.
2007-01-11 Paolo Bonzini <bonzini@gnu.org>
* configure.ac (strict1_warn): Rename to strict_warn.
(WERROR, --enable-werror, symlink hacks, stage1_cflags,
cc_set_by_configure, quoted_cc_set_by_configure,
stage_prefix_set_by_configure, quoted_stage_prefix_set_by_configure,
all_boot_languages, all_stagestuff): Remove.
(target_list): Remove bootstrap targets.
* Makefile.in (quickstrap): Unconditionally make a synonym of all.
(BOOT_LANGUAGES, STAGE1_CFLAGS, STAGE1_CHECKING,
REMAKEFLAGS, FLAGS_TO_PASS, PREPEND_DOTDOT_TO_RELATIVE_PATHS,
SUBDIR_FLAGS_TO_PASS, WERROR_FLAGS, STRICT2_WARN, LANG_STAGESTUFF,
VOL_FILES, POSTSTAGE1_FLAGS_TO_PASS, STAGE2_FLAGS_TO_PASS,
STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS, stage1_build,
stage1_copy, stage2_build, stage2_copy, stageprofile_build,
stageprofile_copy, stage3_build, stage3_copy, stagefeedback_build,
stagefeedback_copy, stage4_build, clean_s1, clean_sw, bootstrap,
bootstrap-lean, bootstrap2, bootstrap2-lean, bootstrap3,
bootstrap3-lean, bootstrap4, bootstrap4-lean, unstage1, unstage2,
unstage3, unstage4, unstageprofile, unstagefeedback, restage, restage2,
restage3, restage4, restageprofile, restagefeedback, bubbleestrap,
cleanstrap, unstrap, restrap, *compare, *compare3, *compare4,
*compare-lean, *compare3-lean, *compare4-lean, stage1-start, stage1,
stage2-start, stage2, stage3-start, stage3, stage4-start, stage4,
stageprofile-start, stageprofile, stagefeedback-start, stagefeedback,
risky-stage1, risky-stage2, risky-stage3, risky-stage4): Remove.
(ORDINARY_FLAGS_TO_PASS): Rename to FLAGS_TO_PASS.
(STAGECOPYSTUFF, STAGEMOVESTUFF): Consolidate into MOSTLYCLEANFILES.
(mostlyclean): Adjust.
(clean, distclean): Don't mention bootstrap stuff.
* configure: Regenerate.
* ada/config-lang.in, cp/config-lang.in, forttran/config-lang.in,
java/config-lang.in, objc/config-lang.in, objcp/config-lang.in,
treelang/config-lang.in (stagestuff): Remove.
* doc/sourcebuild.texi (stage1, stage2, stage3, stage4,
stageprofile, stagefeedback, stagestuff): Remove mention.
From-SVN: r120670
2007-01-11 11:49:30 +01:00
|
|
|
|
# CC is set by configure.
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
# ??? The choices here will need some experimenting with.
|
2003-08-26 20:47:26 +02:00
|
|
|
|
|
|
|
|
|
export AR_FOR_TARGET
|
|
|
|
|
export AR_CREATE_FOR_TARGET
|
|
|
|
|
export AR_FLAGS_FOR_TARGET
|
|
|
|
|
export AR_EXTRACT_FOR_TARGET
|
|
|
|
|
export AWK
|
|
|
|
|
export DESTDIR
|
|
|
|
|
export GCC_FOR_TARGET
|
|
|
|
|
export INCLUDES
|
|
|
|
|
export INSTALL_DATA
|
|
|
|
|
export LIB1ASMSRC
|
|
|
|
|
export LIBGCC2_CFLAGS
|
2005-09-29 01:50:06 +02:00
|
|
|
|
export LIPO_FOR_TARGET
|
2003-08-26 20:47:26 +02:00
|
|
|
|
export MACHMODE_H
|
|
|
|
|
export NM_FOR_TARGET
|
2005-09-29 01:50:06 +02:00
|
|
|
|
export STRIP_FOR_TARGET
|
2003-08-26 20:47:26 +02:00
|
|
|
|
export RANLIB_FOR_TARGET
|
|
|
|
|
export libsubdir
|
|
|
|
|
export slibdir
|
|
|
|
|
|
configure.ac (strict1_warn): Rename to strict_warn.
2007-01-11 Paolo Bonzini <bonzini@gnu.org>
* configure.ac (strict1_warn): Rename to strict_warn.
(WERROR, --enable-werror, symlink hacks, stage1_cflags,
cc_set_by_configure, quoted_cc_set_by_configure,
stage_prefix_set_by_configure, quoted_stage_prefix_set_by_configure,
all_boot_languages, all_stagestuff): Remove.
(target_list): Remove bootstrap targets.
* Makefile.in (quickstrap): Unconditionally make a synonym of all.
(BOOT_LANGUAGES, STAGE1_CFLAGS, STAGE1_CHECKING,
REMAKEFLAGS, FLAGS_TO_PASS, PREPEND_DOTDOT_TO_RELATIVE_PATHS,
SUBDIR_FLAGS_TO_PASS, WERROR_FLAGS, STRICT2_WARN, LANG_STAGESTUFF,
VOL_FILES, POSTSTAGE1_FLAGS_TO_PASS, STAGE2_FLAGS_TO_PASS,
STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS, stage1_build,
stage1_copy, stage2_build, stage2_copy, stageprofile_build,
stageprofile_copy, stage3_build, stage3_copy, stagefeedback_build,
stagefeedback_copy, stage4_build, clean_s1, clean_sw, bootstrap,
bootstrap-lean, bootstrap2, bootstrap2-lean, bootstrap3,
bootstrap3-lean, bootstrap4, bootstrap4-lean, unstage1, unstage2,
unstage3, unstage4, unstageprofile, unstagefeedback, restage, restage2,
restage3, restage4, restageprofile, restagefeedback, bubbleestrap,
cleanstrap, unstrap, restrap, *compare, *compare3, *compare4,
*compare-lean, *compare3-lean, *compare4-lean, stage1-start, stage1,
stage2-start, stage2, stage3-start, stage3, stage4-start, stage4,
stageprofile-start, stageprofile, stagefeedback-start, stagefeedback,
risky-stage1, risky-stage2, risky-stage3, risky-stage4): Remove.
(ORDINARY_FLAGS_TO_PASS): Rename to FLAGS_TO_PASS.
(STAGECOPYSTUFF, STAGEMOVESTUFF): Consolidate into MOSTLYCLEANFILES.
(mostlyclean): Adjust.
(clean, distclean): Don't mention bootstrap stuff.
* configure: Regenerate.
* ada/config-lang.in, cp/config-lang.in, forttran/config-lang.in,
java/config-lang.in, objc/config-lang.in, objcp/config-lang.in,
treelang/config-lang.in (stagestuff): Remove.
* doc/sourcebuild.texi (stage1, stage2, stage3, stage4,
stageprofile, stagefeedback, stagestuff): Remove mention.
From-SVN: r120670
2007-01-11 11:49:30 +01:00
|
|
|
|
FLAGS_TO_PASS = \
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
"BISON=$(BISON)" \
|
|
|
|
|
"BISONFLAGS=$(BISONFLAGS)" \
|
2000-08-30 00:55:39 +02:00
|
|
|
|
"CFLAGS=$(CFLAGS) $(WARN_CFLAGS)" \
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
"LDFLAGS=$(LDFLAGS)" \
|
configure.in: Remove AC_PROG_LEX and AC_PROG_YACC.
* configure.in: Remove AC_PROG_LEX and AC_PROG_YACC. Look for
flex and bison, specifically, first in a unified build and
then installed on the system.
* Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@. Rename
LEXFLAGS to FLEXFLAGS. Adjust ORDINARY_FLAGS_TO_PASS to
match.
(collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
cppdefault.o): Remove pointless sed munging of source file
name.
f:
* Make-lang.in (f/fini.o, f/proj-h.o): Remove pointless sed
munging of source file name.
($(srcdir)/f/intdoc.texi): Break up into several rules each of
which builds just one thing. Don't mess with $(LANGUAGES).
(f/ansify.o, f/intdoc.o): Remove unnecessary rules.
From-SVN: r37371
2000-11-10 18:23:09 +01:00
|
|
|
|
"FLEX=$(FLEX)" \
|
|
|
|
|
"FLEXFLAGS=$(FLEXFLAGS)" \
|
1997-09-11 22:39:08 +02:00
|
|
|
|
"LN=$(LN)" \
|
|
|
|
|
"LN_S=$(LN_S)" \
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
"MAKEINFO=$(MAKEINFO)" \
|
|
|
|
|
"MAKEINFOFLAGS=$(MAKEINFOFLAGS)" \
|
2001-01-20 00:37:07 +01:00
|
|
|
|
"MAKEOVERRIDES=" \
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
"SHELL=$(SHELL)" \
|
(SYMLINK): Deleted; unused.
(oldobjext): Deleted; no longer used.
(FLAGS_TO_PASS): Include objext and exeext.
(STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o.
(test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise.
(STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext).
(libgcc1.null, libgcc[12].a, stage[1-4]): Likewise.
(xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value.
(collect2, mips-tfile, mips-tdump, gen*): Likewise.
(bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise.
(protoize, unprotoize, gen-protos, fix-header): Likewise.
(crtbegin.o, crtend.o): Don't use -o; move output to proper
filename (using objext) instead.
(BI_ALL, BC_ALL, bytecode): Deleted; unused.
(bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir).
(getopt{,1}.o, SYSCALLS.c.X): Likewise.
(install-driver): New target.
(install-normal): Depend on it.
(install-common): Don't depend on xgcc.
(maketest): Deleted; no longer used.
(stage[1-4]): Use name collect-ld, not real-ld.
(risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy.
From-SVN: r9770
1995-05-23 00:55:23 +02:00
|
|
|
|
"exeext=$(exeext)" \
|
1997-12-31 12:48:25 +01:00
|
|
|
|
"build_exeext=$(build_exeext)" \
|
(SYMLINK): Deleted; unused.
(oldobjext): Deleted; no longer used.
(FLAGS_TO_PASS): Include objext and exeext.
(STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o.
(test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise.
(STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext).
(libgcc1.null, libgcc[12].a, stage[1-4]): Likewise.
(xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value.
(collect2, mips-tfile, mips-tdump, gen*): Likewise.
(bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise.
(protoize, unprotoize, gen-protos, fix-header): Likewise.
(crtbegin.o, crtend.o): Don't use -o; move output to proper
filename (using objext) instead.
(BI_ALL, BC_ALL, bytecode): Deleted; unused.
(bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir).
(getopt{,1}.o, SYSCALLS.c.X): Likewise.
(install-driver): New target.
(install-normal): Depend on it.
(install-common): Don't depend on xgcc.
(maketest): Deleted; no longer used.
(stage[1-4]): Use name collect-ld, not real-ld.
(risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy.
From-SVN: r9770
1995-05-23 00:55:23 +02:00
|
|
|
|
"objext=$(objext)" \
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
"exec_prefix=$(exec_prefix)" \
|
|
|
|
|
"prefix=$(prefix)" \
|
1998-01-17 21:29:12 +01:00
|
|
|
|
"local_prefix=$(local_prefix)" \
|
1999-03-02 10:25:31 +01:00
|
|
|
|
"gxx_include_dir=$(gcc_gxx_include_dir)" \
|
2001-11-08 23:48:13 +01:00
|
|
|
|
"build_tooldir=$(build_tooldir)" \
|
1999-01-22 07:46:43 +01:00
|
|
|
|
"gcc_tooldir=$(gcc_tooldir)" \
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
"bindir=$(bindir)" \
|
2003-08-01 01:36:43 +02:00
|
|
|
|
"libexecsubdir=$(libsubdir)" \
|
1999-01-27 02:43:17 +01:00
|
|
|
|
"datadir=$(datadir)" \
|
|
|
|
|
"localedir=$(localedir)"
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Lists of files for various purposes.
|
|
|
|
|
|
2005-03-14 21:18:43 +01:00
|
|
|
|
# All option source files
|
|
|
|
|
ALL_OPT_FILES=$(lang_opt_files) $(extra_opt_files)
|
|
|
|
|
|
2000-11-25 01:33:04 +01:00
|
|
|
|
# Target specific, C specific object file
|
|
|
|
|
C_TARGET_OBJS=@c_target_objs@
|
|
|
|
|
|
|
|
|
|
# Target specific, C++ specific object file
|
|
|
|
|
CXX_TARGET_OBJS=@cxx_target_objs@
|
|
|
|
|
|
2006-05-16 16:27:18 +02:00
|
|
|
|
# Object files for gcc driver.
|
2006-05-17 07:06:52 +02:00
|
|
|
|
GCC_OBJS = gcc.o opts-common.o gcc-options.o
|
2006-05-16 16:27:18 +02:00
|
|
|
|
|
1997-08-02 22:59:17 +02:00
|
|
|
|
# Language-specific object files for C and Objective C.
|
2001-09-22 15:59:01 +02:00
|
|
|
|
C_AND_OBJC_OBJS = attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o \
|
2002-08-07 20:32:13 +02:00
|
|
|
|
c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o \
|
2003-06-14 14:26:36 +02:00
|
|
|
|
c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o \
|
c-parser.c: New file.
* c-parser.c: New file.
* c-parse.in: Remove.
* Makefile.in (c-parse.o-warn, c-parse.o, c-parse.c, c-parse.y):
Remove.
(c-parser.o): Add dependencies.
(C_AND_OBJC_OBJC, C_OBJS, gcc.srcextra, GTFILES, distclean,
maintainer-clean, TAGS): Update.
* c-config-lang.in (gtfiles): Update.
* gengtype-lex.l: Don't handle "@@".
* stub-objc.c (objc_get_class_ivars, objc_build_throw_stmt,
objc_build_synchronized, objc_begin_try_stmt,
objc_begin_catch_clause, objc_finish_catch_clause,
objc_build_finally_clause, objc_finish_try_stmt): New.
* c-tree.h (struct c_declspecs): Add declspecs_seen_p and
type_seen_p.
(c_parse_init): Update comment.
* c-decl.c (c_init_decl_processing): Update comment.
(build_null_declspecs, declspecs_add_qual, declspecs_add_type,
declspecs_add_scspec, declspecs_add_attrs): Initialize and update
new c_declspecs members.
objc:
* Make-lang.in (objc/objc-parse.o-warn, objc/objc-parse.o,
objc/objc-parse.c, objc/objc-parse.y): Remove
(OBJC_OBJS, objc.srcextra, objc.tags, objc.mostlyclean,
objc.distclean, objc.maintainer-clean): Update for new parser.
* config-lang.in (gtfiles): Update for new parser.
testsuite:
* gcc.dg/cpp/separate-1.c, gcc.dg/noncompile/971104-1.c,
gcc.dg/noncompile/990416-1.c: Adjust expected messages for new
parser.
From-SVN: r95558
2005-02-26 00:20:48 +01:00
|
|
|
|
c-objc-common.o c-dump.o c-pch.o c-parser.o $(C_TARGET_OBJS) \
|
[multiple changes]
2006-01-18 Richard Henderson <rth@redhat.com>
Jakub Jelinek <jakub@redhat.com>
Diego Novillo <dnovillo@redhat.com>
* libgomp: New directory.
* Makefile.def: Add target_module libgomp.
* Makefile.in: Regenerate.
* configure.in (target_libraries): Add target-libgomp.
* configure: Regenerate.
contrib/
2006-01-18 Richard Henderson <rth@redhat.com>
Diego Novillo <dnovillo@redhat.com>
* gcc_update (files_and_dependencies): Add libgomp files.
gcc/
2006-01-18 Richard Henderson <rth@redhat.com>
Aldy Hernandez <aldyh@redhat.com>
Jakub Jelinek <jakub@redhat.com>
Diego Novillo <dnovillo@redhat.com>
* omp-low.c: New file.
* c-omp.c: New file.
2006-01-18 Richard Henderson <rth@redhat.com>
Jakub Jelinek <jakub@redhat.com>
Diego Novillo <dnovillo@redhat.com>
* doc/invoke.texi: Document -fopenmp.
* tree-dump.h (debug_function): Declare.
* hooks.c (hook_bool_tree_bool_false): New function.
(hook_tree_tree_null): Remove.
(hook_tree_tree_tree_null): New.
* hooks.h: Update to match.
* tree-pretty-print.c (debug_tree_chain): New.
(print_generic_expr): Handle TDF_CHAIN.
(dump_generic_node): Handle BLOCK.
Do not abort with incomplete SWITCH_EXPRs.
Do not dump body of an OpenMP directive if TDF_SLIM is given.
<case OMP_PARALLEL, OMP_FOR, OMP_SECTIONS>: Don't
print space after directive name.
<OMP_FOR>: Handle printing OMP_FOR_PRE_BODY.
Handle OMP_MASTER and OMP_ORDERED.
Handle printing of OMP_BODY just in one place, goto
dump_omp_body in the rest of OMP_* nodes that have
OMP_BODY.
Don't handle clause nodes here. Update omp statements to
use dump_omp_clauses.
Handle OMP_SINGLE, OMP_SECTIONS, OMP_SECTION,
OMP_CLAUSE_ORDERED, OMP_CLAUSE_SCHEDULE, OMP_ATOMIC,
OMP_CRITICAL, OMP_CLAUSE_NOWAIT, GOMP_CLAUSE_IF,
GOMP_CLAUSE_NUM_THREADS, GOMP_FOR, GOMP_CLAUSE_SHARED,
GOMP_CLAUSE_FIRSTPRIVATE, GOMP_CLAUSE_LASTPRIVATE,
GOMP_CLAUSE_COPYIN and GOMP_CLAUSE_COPYPRIVATE.
Adjust output for GOMP_PARALLEL.
(dump_omp_clauses): New.
(print_declaration): Dump DECL_VALUE_EXPR.
(op_symbol_1): Split out of op_symbol.
(dumping_stmts): Remove. Update all users.
* cgraph.c (cgraph_analyze_queue): New.
(cgraph_add_new_function): New.
* cgraph.h (cgraph_analyze_queue): Declare.
(cgraph_add_new_function): Declare.
(cgraph_lower_function): Remove.
* tree.c (walk_tree): Walk OMP_CLAUSE_CHAIN of OMP_CLAUSE_*
nodes. Use switch for all nodes, handle most of IS_EXPR_CODE_CLASS
and TYPE_P nodes in its default clause.
(empty_body_p): New.
(tree_range_check_failed): New.
(build5_stat): New.
* tree.h (OMP_CLAUSE_REDUCTION_INIT,
OMP_CLAUSE_REDUCTION_MERGE,
OMP_CLAUSE_REDUCTION_PLACEHOLDER,
OMP_CLAUSE_PRIVATE_DEBUG,
OMP_CLAUSE_LASTPRIVATE_FIRSTPRIVATE, OMP_FOR_PRE_BODY,
OMP_MASTER_BODY, OMP_ORDERED_BODY OMP_BODY,
OMP_CLAUSES, OMP_CLAUSE_DECL, OMP_CLAUSE_DEFAULT_KIND,
OMP_CLAUSE_CHAIN, OMP_CLAUSE_OUTER_DECL,
OMP_CLAUSE_INNER_DECL, OMP_CLAUSE_NUM_THREADS_EXPR,
OMP_CLAUSE_IF_EXPR, OMP_CLAUSE_SCHEDULE_CHUNK_EXPR,
OMP_CLAUSE_SCHEDULE_CHUNK_SIZE. OMP_PARALLEL_VAR_INIT,
OMP_PARALLEL_VAR_REDUC, OMP_FOR_VAR_INIT,
OMP_FOR_VAR_LAST, OMP_FOR_VAR_REDUC,
OMP_SECTIONS_VAR_INIT, OMP_SECTIONS_VAR_LAST,
OMP_SECTIONS_VAR_REDUC, OMP_CLAUSE_REDUCTION_CODE
OMP_SINGLE_CLAUSES, OMP_SINGLE_BODY,
OMP_CLAUSE_SCHEDULE_CHUNK_SIZE, OMP_SECTION_BODY,
OMP_CRITICAL_NAME, OMP_CRITICAL_BODY): New.
(TREE_RANGE_CHECK): New.
(empty_body_p): Declare.
(enum omp_clause_default_kind): New.
(build_string_literal): Declare.
(enum omp_clause_schedule_kind, OMP_CLAUSE_SCHEDULE_KIND): New.
(build5_stat, build5): Declare.
* tree-pass.h (TDF_CHAIN): Define.
* tree-pass.h (PROP_gimple_lomp): Define.
(pass_lower_omp): Declare.
* diagnostic.h (debug_tree_chain): Declare.
* builtins.c (get_builtin_sync_mode): Use 0 as last argument to
mode_for_size.
(expand_builtin): Handle sync BUILT_IN_*_16 builtins.
* builtins.c (build_string_literal): Make extern.
* gcc.c (include_spec_function): New.
(static_spec_functions): Add it.
(main): Move load of libgomp.spec ...
(LINK_COMMAND_SPEC): ... here.
(link_gomp_spec): New.
(static_specs): Include it.
(LINK_COMMAND_SPEC): Add link_gomp.
(GOMP_SELF_SPECS): New.
(driver_self_specs): Include it.
(switch_matches): Don't mark inline.
(main): Load libgomp.spec.
* tree-gimple.c (is_gimple_stmt): True for OMP_MASTER,
OMP_ORDERED, OMP_CRITICAL, OMP_SECTIONS, OMP_SECTION,
and OMP_SINGLE, OMP_FOR and OMP_PARALLEL.
* tree-gimple.h (enum omp_parallel): Declare.
(determine_parallel_type): Declare.
(omp_firstprivatize_variable): Declare.
(omp_reduction_init): Declare.
(diagnose_omp_structured_block_errors): Declare.
(struct walk_stmt_info): Add want_return_expr.
(struct walk_stmt_info): Add want_bind_expr, want_locations.
(find_omp_clause): Declare.
(insert_field_into_struct): Declare.
(struct walk_stmt_info): Move from tree-nested.c
(walk_stmts): Declare.
* c-cppbuiltin.c (c_cpp_builtins): If -fopenmp, #define _OPENMP
to 200505.
* cgraphunit.c (cgraph_lower_function): Make static.
(cgraph_finalize_pending_functions): New.
(cgraph_finalize_function): Call it.
(cgraph_finalize_compilation_unit): Likewise.
* builtin-types.def (BT_I16, BT_FN_I16_VPTR_I16,
BT_FN_BOOL_VPTR_I16_I16, BT_FN_I16_VPTR_I16_I16): Add.
(BT_FN_UINT_UINT): New.
(DEF_FUNCTION_TYPE_6, DEF_FUNCTION_TYPE_7,
DEF_FUNCTION_TYPE_VAR_4): Document.
(BT_PTR_LONG, BT_PTR_PTR, BT_FN_BOOL, BT_FN_INT,
BT_FN_VOID_PTRPTR, BT_PTR_FN_VOID_PTR,
BT_FN_BOOL_LONGPTR_LONGPTR, BT_FN_VOID_OMPFN_PTR_UINT,
BT_FN_VOID_OMPFN_PTR_UINT_UINT,
BT_FN_BOOL_LONG_LONG_LONG_LONGPTR_LONGPTR,
BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR,
BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG,
BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG): New.
* builtins.def: Update DEF_BUILTIN comment to include COND argument.
Move all DEF_SYNC_BUILTIN () and DEF_GOMP_BUILTIN () builtins
into separate files.
(DEF_GOMP_BUILTIN): New.
(BUILT_IN_OMP_GET_THREAD_NUM, BUILT_IN_GOMP_BARRIER,
BUILT_IN_GOMP_CRITICAL_START, BUILT_IN_GOMP_CRITICAL_END,
BUILT_IN_GOMP_CRITICAL_NAME_START, BUILT_IN_GOMP_CRITICAL_NAME_END,
BUILT_IN_GOMP_LOOP_STATIC_START, BUILT_IN_GOMP_LOOP_DYNAMIC_START,
BUILT_IN_GOMP_LOOP_GUIDED_START, BUILT_IN_GOMP_LOOP_RUNTIME_START,
BUILT_IN_GOMP_LOOP_ORDERED_STATIC_START,
BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_START,
BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_START,
BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_START,
BUILT_IN_GOMP_LOOP_STATIC_NEXT, BUILT_IN_GOMP_LOOP_DYNAMIC_NEXT,
BUILT_IN_GOMP_LOOP_GUIDED_NEXT, BUILT_IN_GOMP_LOOP_RUNTIME_NEXT,
BUILT_IN_GOMP_LOOP_ORDERED_STATIC_NEXT,
BUILT_IN_GOMP_LOOP_ORDERED_DYNAMIC_NEXT,
BUILT_IN_GOMP_LOOP_ORDERED_GUIDED_NEXT,
BUILT_IN_GOMP_LOOP_ORDERED_RUNTIME_NEXT,
BUILT_IN_GOMP_PARALLEL_LOOP_STATIC_START,
BUILT_IN_GOMP_PARALLEL_LOOP_DYNAMIC_START,
BUILT_IN_GOMP_PARALLEL_LOOP_GUIDED_START,
BUILT_IN_GOMP_PARALLEL_LOOP_RUNTIME_START,
BUILT_IN_GOMP_LOOP_END, BUILT_IN_GOMP_LOOP_END_NOWAIT,
BUILT_IN_GOMP_ORDERED_START, BUILT_IN_GOMP_ORDERED_END,
BUILT_IN_GOMP_PARALLEL_START, BUILT_IN_GOMP_PARALLEL_END,
BUILT_IN_GOMP_SECTIONS_START, BUILT_IN_GOMP_SECTIONS_NEXT,
BUILT_IN_GOMP_PARALLEL_SECTIONS_START, BUILT_IN_GOMP_SECTIONS_END,
BUILT_IN_GOMP_SECTIONS_END_NOWAIT, BUILT_IN_GOMP_SINGLE_START,
BUILT_IN_GOMP_SINGLE_COPY_START, BUILT_IN_GOMP_SINGLE_COPY_END): New.
* sync-builtins.def: New file, moved from builtins.def.
* omp-builtins.def: New file, moved from builtins.def.
* c-objc-common.h (LANG_HOOKS_OMP_PREDETERMINED_SHARING): Redefine.
* gimple-low.c (lower_function_body): Clear data.
(lower_stmt): Do not handle COMPOUND_EXPR.
Remove call to print_node_brief.
* c-tree.h (c_finish_omp_clauses): New prototype.
(C_DECL_THREADPRIVATE_P): Define.
(lookup_name_no_remap, c_omp_remap_private): Remove
(c_begin_omp_parallel, c_finish_omp_parallel): Update.
(check_for_loop_decls): Update decl.
(lookup_name_no_remap, c_omp_remap_private): Declare.
(build_indirect_ref, build_modify_expr, pushdecl,
pushdecl_top_level): Move to c-common.h.
* dwarf2out.c (loc_descriptor_from_tree_1): Don't set unsignedp
before the switch, but just in the 2 places that need it.
* c-decl.c (diagnose_mismatched_decls): Do not check for
mismatched thread-local attributes when OLDDECL is marked
threadprivate and NEWDECL has no thread-local attributes.
(merge_decls): Merge C_DECL_THREADPRIVATE_P.
(c_gimple_diagnostics_recursively): Rename from
c_warn_unused_result_recursively. Invoke
diagnose_omp_structured_block_errors.
(check_for_loop_decls): Return a singular decl found.
* langhooks.c (lhd_omp_predetermined_sharing): Return
OMP_CLAUSE_DEFAULT_SHARED for DECL_ARTIFICIAL decls.
(lhd_omp_firstprivatize_type_sizes): New.
(lhd_omp_assignment): New.
(lhd_omp_predetermined_sharing): New.
* langhooks.h (struct gimplify_omp_ctx): Forward declare.
(struct lang_hooks_for_types): Add
omp_firstprivatize_type_sizes, omp_privatize_by_reference,
omp_predetermined_sharing, omp_disregard_value_expr,
omp_private_debug_clause, omp_clause_default_ctor,
omp_clause_copy_ctor, omp_clause_assign_op, omp_clause_dtor.
(c_finish_omp_clauses): New.
(c_finish_bc_stmt): Diagnose break within omp for.
(c_begin_omp_parallel, c_finish_omp_parallel): New.
(build_unary_op): Return error_mark after reporting
a readonly_error.
(build_modify_expr): Likewise.
* gimplify.c: Include optabs.h and pointer-set.h.
(enum gimplify_omp_var_data): Declare.
(struct gimplify_omp_ctx): Declare.
(struct gimplify_ctx): Add fields prev_context, combined_pre_p
and combined_ctxp.
(gimplify_ctxp, gimplify_omp_ctxp): New local variables.
(push_gimplify_context, pop_gimplify_context): Allow nesting.
(splay_tree_compare_decl_uid): New.
(new_omp_context): New.
(delete_omp_context): New.
(gimple_add_tmp_var): Call omp_add_variable.
(gimplify_bind_expr): Likewise.
(gimplify_var_or_parm_decl): If omp_notice_variable returned
true, disregard DECL_VALUE_EXPR on the decl if any.
(gimplify_expr_in_ctx): New.
(omp_firstprivatize_variable, omp_firstprivatize_type_sizes
omp_add_variable, omp_notice_variable, omp_is_private
gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses_1
gimplify_adjust_omp_clauses, gimplify_omp_parallel
gimplify_omp_for, gimplify_omp_workshare, goa_lhs_expr_p
gimplify_omp_atomic_fetch_op, goa_stabilize_expr
gimplify_omp_atomic_pipeline, gimplify_omp_atomic_mutex
gimplify_omp_atomic): New.
(gimplify_expr): Handle OMP_PARALLEL, OMP_FOR, OMP_SECTIONS,
OMP_SINGLE, OMP_SECTION, OMP_MASTER, OMP_ORDERED,
OMP_CRITICAL and OMP_ATOMIC.
(gimplify_body): Verify gimplify_ctxp is empty after gimplification.
* c-pragma.h (enum pragma_kind): Add
PRAGMA_OMP_ATOMIC, PRAGMA_OMP_BARRIER,
PRAGMA_OMP_CRITICAL, PRAGMA_OMP_FLUSH, PRAGMA_OMP_FOR,
PRAGMA_OMP_MASTER, PRAGMA_OMP_ORDERED,
PRAGMA_OMP_PARALLEL, PRAGMA_OMP_PARALLEL_FOR,
PRAGMA_OMP_PARALLEL_SECTIONS, PRAGMA_OMP_SECTION,
PRAGMA_OMP_SECTIONS, PRAGMA_OMP_SINGLE,
PRAGMA_OMP_THREADPRIVATE.
* tree.def (OMP_PARALLEL, OMP_FOR, OMP_SECTIONS,
OMP_SINGLE, OMP_SECTION, OMP_MASTER, OMP_ORDERED,
OMP_CRITICAL, OMP_ATOMIC, OMP_CLAUSE_PRIVATE,
OMP_CLAUSE_SHARED, OMP_CLAUSE_FIRSTPRIVATE,
OMP_CLAUSE_LASTPRIVATE, OMP_CLAUSE_REDUCTION,
OMP_CLAUSE_COPYIN, OMP_CLAUSE_COPYPRIVATE,
OMP_CLAUSE_IF, OMP_CLAUSE_NUM_THREADS,
OMP_CLAUSE_SCHEDULE, OMP_CLAUSE_NOWAIT,
OMP_CLAUSE_ORDERED, OMP_CLAUSE_DEFAULT): Define.
* print-tree.c (print_node): Dump DECL_VALUE_EXPR.
* tree-ssa-dce.c (find_control_dependence): Do not assume that
ENTRY_BLOCK_PTR->next_bb == single_succ (ENTRY_BLOCK_PTR).
* tree-nested.c (convert_call_expr): Call walk_body on OMP_BODY for
OpenMP directives.
(struct nesting_info): Add field_map,
suppress_expansion, debug_var_chain.
(create_nesting_tree): Initialize them.
(lookup_field_for_decl): Use field_map.
(get_nonlocal_debug_decl, get_local_debug_decl): New.
(convert_local_omp_clauses): New.
(finalize_nesting_tree_1): Add debug_var_chain to toplevel block.
(walk_body): Split out of walk_function.
(convert_nonlocal_omp_clauses, convert_local_omp_clauses): New.
(convert_nonlocal_reference): Handle omp statements.
(convert_local_reference): Likewise.
(unnest_nesting_tree_1): Split out of finalize_nesting_tree_1.
(unnest_nesting_tree): New.
(lower_nested_functions): Call it.
(insert_field_into_struct): Make extern.
(struct walk_stmt_info): Move to tree-gimple.h.
(walk_stmts): Make extern.
* omp-builtins.def: New file.
* tree-iterator.c (expr_only): Clarify comment.
* c-common.h (pushdecl_top_level, pushdecl,
build_modify_expr, build_indirect_ref,
c_finish_omp_master, c_finish_omp_critical,
c_finish_omp_ordered, c_finish_omp_barrier,
c_finish_omp_atomic, c_finish_omp_flush,
c_finish_omp_for, c_split_parallel_clauses,
omp_clause_default_kind, c_omp_sharing_predetermined,
c_omp_remap_decl): Declare.
* Makefile.in (BUILTINS_DEF): Add omp-builtins.def.
(OBJS-common): Add omp-low.o.
(c-omp.o, omp-low.o): Add.
(gimplify.o): Add dependency on $(OPTABS_H).
(GTFILES): Add omp-low.c.
(gt-stringpool.h): Add.
* tree-cfg.c (set_bb_for_stmt): Do not update the
block-to-labels map if we are currently expanding to RTL.
(tree_node_can_be_shared): Remove unnecessary CONSTANT_CLASS_P
checks.
Handle IDENTIFIER_NODE.
(tree_verify_flow_info): Do not ICE when emitting error
messages about invalid labels.
(dump_function_to_file): Reset CFUN before emitting the body
of the function.
(debug_function): New.
* passes.c (init_optimization_passes): Schedule
pass_lower_omp.
* langhooks-def.h (lhd_omp_predetermined_sharing,
lhd_omp_assignment, lhd_omp_firstprivatize_type_sizes):
Declare.
(LANG_HOOKS_OMP_FIRSTPRIVATIZE_TYPE_SIZES): Define.
(LANG_HOOKS_FOR_TYPES_INITIALIZER): Use it.
(LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE,
LANG_HOOKS_OMP_PREDETERMINED_SHARING,
LANG_HOOKS_OMP_DISREGARD_VALUE_EXPR,
LANG_HOOKS_OMP_PRIVATE_DEBUG_CLAUSE,
LANG_HOOKS_OMP_CLAUSE_DEFAULT_CTOR,
LANG_HOOKS_OMP_CLAUSE_COPY_CTOR,
LANG_HOOKS_OMP_CLAUSE_ASSIGN_OP,
LANG_HOOKS_OMP_CLAUSE_DTOR): Define.
(LANG_HOOK_DECLS): Use them.
2006-01-18 Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
Richard Henderson <rth@redhat.com>
Jakub Jelinek <jakub@redhat.com>
Diego Novillo <dnovillo@redhat.com>
* c-parser.c (pragma_omp_clause): Define.
(c_parser_declaration_or_fndef): Document OpenMP syntax.
(c_parser_compound_statement): Likewise.
(c_parser_statement): Likewise.
(c_parser_pragma): Handle omp pragmas.
(OMP_FOR_CLAUSE_MASK, OMP_SECTIONS_CLAUSE_MASK,
OMP_PARALLEL_CLAUSE_MASK, OMP_SINGLE_CLAUSE_MASK): Define.
(c_parser_omp_clause_name, check_no_duplicate_clause,
c_parser_omp_variable_list,
c_parser_omp_var_list_parens, c_parser_omp_clause_copyin,
c_parser_omp_clause_copyprivate,
c_parser_omp_clause_default,
c_parser_omp_clause_firstprivate, c_parser_omp_clause_if,
c_parser_omp_clause_lastprivate,
c_parser_omp_clause_nowait,
c_parser_omp_clause_num_threads,
c_parser_omp_clause_ordered, c_parser_omp_clause_private,
c_parser_omp_clause_reduction,
c_parser_omp_clause_schedule, c_parser_omp_clause_shared,
c_parser_omp_all_clauses, c_parser_omp_structured_block,
c_parser_omp_atomic, c_parser_omp_barrier,
c_parser_omp_critical, c_parser_omp_flush,
c_parser_omp_for_loop, c_parser_omp_for,
c_parser_omp_master, c_parser_omp_ordered,
c_parser_omp_sections_scope, c_parser_omp_sections,
c_parser_omp_parallel, c_parser_omp_single,
c_parser_omp_construct, c_parser_omp_threadprivate): New.
* c-pragma.c (init_pragma): Do omp pragma registration here.
* c.opt (fopenmp): New flag.
2006-01-18 Eric Christopher <echristo@apple.com>
* gcc.c (GOMP_SELF_SPECS): Bracket in #ifndef/#endif.
* config/darwin.h (GOMP_SELF_SPECS): Define.
testsuite/
2006-01-18 Richard Henderson <rth@redhat.com>
Aldy Hernandez <aldyh@redhat.com>
Jakub Jelinek <jakub@redhat.com>
Diego Novillo <dnovillo@redhat.com>
Uros Bizjak <uros@kss-loka.si>
* testsuite/gcc.dg/gomp: New directory.
From-SVN: r109902
2006-01-18 20:21:25 +01:00
|
|
|
|
c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o
|
1997-08-02 22:59:17 +02:00
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Language-specific object files for C.
|
c-parser.c: New file.
* c-parser.c: New file.
* c-parse.in: Remove.
* Makefile.in (c-parse.o-warn, c-parse.o, c-parse.c, c-parse.y):
Remove.
(c-parser.o): Add dependencies.
(C_AND_OBJC_OBJC, C_OBJS, gcc.srcextra, GTFILES, distclean,
maintainer-clean, TAGS): Update.
* c-config-lang.in (gtfiles): Update.
* gengtype-lex.l: Don't handle "@@".
* stub-objc.c (objc_get_class_ivars, objc_build_throw_stmt,
objc_build_synchronized, objc_begin_try_stmt,
objc_begin_catch_clause, objc_finish_catch_clause,
objc_build_finally_clause, objc_finish_try_stmt): New.
* c-tree.h (struct c_declspecs): Add declspecs_seen_p and
type_seen_p.
(c_parse_init): Update comment.
* c-decl.c (c_init_decl_processing): Update comment.
(build_null_declspecs, declspecs_add_qual, declspecs_add_type,
declspecs_add_scspec, declspecs_add_attrs): Initialize and update
new c_declspecs members.
objc:
* Make-lang.in (objc/objc-parse.o-warn, objc/objc-parse.o,
objc/objc-parse.c, objc/objc-parse.y): Remove
(OBJC_OBJS, objc.srcextra, objc.tags, objc.mostlyclean,
objc.distclean, objc.maintainer-clean): Update for new parser.
* config-lang.in (gtfiles): Update for new parser.
testsuite:
* gcc.dg/cpp/separate-1.c, gcc.dg/noncompile/971104-1.c,
gcc.dg/noncompile/990416-1.c: Adjust expected messages for new
parser.
From-SVN: r95558
2005-02-26 00:20:48 +01:00
|
|
|
|
C_OBJS = c-lang.o stub-objc.o $(C_AND_OBJC_OBJS)
|
1997-07-30 00:07:34 +02:00
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Language-independent object files.
|
2007-01-23 16:12:44 +01:00
|
|
|
|
# We put the insn-*.o files first so that a parallel make will build
|
|
|
|
|
# them sooner, because they are large and otherwise tend to be the
|
|
|
|
|
# last objects to finish building.
|
2003-07-11 10:33:21 +02:00
|
|
|
|
OBJS-common = \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
insn-attrtab.o \
|
|
|
|
|
insn-automata.o \
|
|
|
|
|
insn-emit.o \
|
|
|
|
|
insn-extract.o \
|
|
|
|
|
insn-modes.o \
|
|
|
|
|
insn-opinit.o \
|
|
|
|
|
insn-output.o \
|
|
|
|
|
insn-peep.o \
|
|
|
|
|
insn-preds.o \
|
|
|
|
|
insn-recog.o \
|
|
|
|
|
$(GGC) \
|
|
|
|
|
alias.o \
|
|
|
|
|
alloc-pool.o \
|
2007-06-11 20:02:15 +02:00
|
|
|
|
auto-inc-dec.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
bb-reorder.o \
|
|
|
|
|
bitmap.o \
|
|
|
|
|
bt-load.o \
|
|
|
|
|
builtins.o \
|
|
|
|
|
caller-save.o \
|
|
|
|
|
calls.o \
|
|
|
|
|
cfg.o \
|
|
|
|
|
cfganal.o \
|
|
|
|
|
cfgbuild.o \
|
|
|
|
|
cfgcleanup.o \
|
|
|
|
|
cfgexpand.o \
|
|
|
|
|
cfghooks.o \
|
|
|
|
|
cfglayout.o \
|
|
|
|
|
cfgloop.o \
|
|
|
|
|
cfgloopanal.o \
|
|
|
|
|
cfgloopmanip.o \
|
|
|
|
|
cfgrtl.o \
|
|
|
|
|
combine.o \
|
2007-03-30 20:17:31 +02:00
|
|
|
|
combine-stack-adj.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
convert.o \
|
|
|
|
|
coverage.o \
|
|
|
|
|
cse.o \
|
|
|
|
|
cselib.o \
|
|
|
|
|
dbxout.o \
|
2007-06-11 20:02:15 +02:00
|
|
|
|
dbgcnt.o \
|
|
|
|
|
dce.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
ddg.o \
|
|
|
|
|
debug.o \
|
|
|
|
|
df-core.o \
|
|
|
|
|
df-problems.o \
|
|
|
|
|
df-scan.o \
|
|
|
|
|
dfp.o \
|
|
|
|
|
diagnostic.o \
|
|
|
|
|
dojump.o \
|
|
|
|
|
dominance.o \
|
|
|
|
|
domwalk.o \
|
|
|
|
|
double-int.o \
|
2007-06-11 20:02:15 +02:00
|
|
|
|
dse.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
dwarf2asm.o \
|
|
|
|
|
dwarf2out.o \
|
2007-04-02 05:44:25 +02:00
|
|
|
|
ebitmap.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
emit-rtl.o \
|
|
|
|
|
et-forest.o \
|
|
|
|
|
except.o \
|
|
|
|
|
explow.o \
|
|
|
|
|
expmed.o \
|
|
|
|
|
expr.o \
|
|
|
|
|
final.o \
|
2007-08-07 01:18:57 +02:00
|
|
|
|
fixed-value.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
fold-const.o \
|
|
|
|
|
function.o \
|
|
|
|
|
fwprop.o \
|
|
|
|
|
gcse.o \
|
|
|
|
|
genrtl.o \
|
|
|
|
|
ggc-common.o \
|
|
|
|
|
gimple-low.o \
|
|
|
|
|
gimplify.o \
|
|
|
|
|
global.o \
|
|
|
|
|
graph.o \
|
cfgloopmanip.c (remove_path, [...]): Change dom_bbs to vector.
* cfgloopmanip.c (remove_path, loopify, duplicate_loop_to_header_edge):
Change dom_bbs to vector. Add argument to iterate_fix_dominators call.
* loop-unroll.c (unroll_loop_runtime_iterations): Ditto.
* tree-cfg.c (tree_duplicate_sese_region): Change doms to vector.
Add argument to iterate_fix_dominators call.
(remove_edge_and_dominated_blocks): Pass vector to bbs_to_fix_dom.
* gcse.c (hoist_code): Change domby to vector.
* cfghooks.c (make_forwarder_block): Change doms_to_fix to vector.
Add argument to iterate_fix_dominators call.
* loop-doloop.c (doloop_modify): Changed recount_dominator to
recompute_dominator.
* lambda-code.c (perfect_nestify): Ditto.
* cfgloopanal.c: Include graphds.h.
(struct edge, struct vertex, struct graph, dump_graph, new_graph,
add_edge, dfs, for_each_edge, free_graph): Moved to graphds.c.
(mark_irreducible_loops): Use graphds_scc. Remove argument from
add_edge call.
* graphds.c: New file.
* graphds.h: New file.
* dominance.c: Include vecprim.h, pointer-set.h and graphds.h.
(get_dominated_by, get_dominated_by_region): Change return type to
vector.
(verify_dominators): Recompute all dominators and compare the results.
(recount_dominator): Renamed to ...
(recompute_dominator): ... this. Do not check that the block is
dominated by entry.
(iterate_fix_dominators): Reimplemented.
(prune_bbs_to_update_dominators, root_of_dom_tree,
determine_dominators_for_sons): New functions.
* et-forest.c (et_root): New function.
* et-forest.h (et_root): Declare.
* Makefile.in (graphds.o): Add.
(cfgloopanal.o): Add graphds.h dependency.
(dominance.o): Add graphds.h, vecprim.h and pointer-set.h dependency.
* basic-block.h (get_dominated_by, get_dominated_by_region,
iterate_fix_dominators): Declaration changed.
(recount_dominator): Renamed to ...
(recompute_dominator): ... this.
* tree-ssa-threadupdate.c (thread_block): Free dominance info.
(thread_through_all_blocks): Do not free dominance info.
From-SVN: r125297
2007-06-03 21:10:44 +02:00
|
|
|
|
graphds.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
gtype-desc.o \
|
|
|
|
|
haifa-sched.o \
|
|
|
|
|
hooks.o \
|
|
|
|
|
ifcvt.o \
|
2007-06-11 20:02:15 +02:00
|
|
|
|
init-regs.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
integrate.o \
|
|
|
|
|
intl.o \
|
|
|
|
|
jump.o \
|
|
|
|
|
lambda-code.o \
|
|
|
|
|
lambda-mat.o \
|
|
|
|
|
lambda-trans.o \
|
|
|
|
|
langhooks.o \
|
|
|
|
|
lcm.o \
|
|
|
|
|
lists.o \
|
|
|
|
|
local-alloc.o \
|
|
|
|
|
loop-doloop.o \
|
|
|
|
|
loop-init.o \
|
|
|
|
|
loop-invariant.o \
|
|
|
|
|
loop-iv.o \
|
|
|
|
|
loop-unroll.o \
|
|
|
|
|
loop-unswitch.o \
|
2007-02-01 02:09:35 +01:00
|
|
|
|
lower-subreg.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
mode-switching.o \
|
|
|
|
|
modulo-sched.o \
|
loop.texi: Document the Omega linear constraints solver.
* doc/loop.texi: Document the Omega linear constraints solver.
* doc/invoke.texi: Document -fcheck-data-deps, omega-max-vars,
omega-max-geqs, omega-max-eqs, omega-max-wild-cards,
omega-hash-table-size, omega-max-keys, and
omega-eliminate-redundant-constraints.
* tree-pass.h (pass_check_data_deps): Declared.
* omega.c: New.
* omega.h: New.
* timevar.def (TV_CHECK_DATA_DEPS): Declared.
* tree-ssa-loop.c (check_data_deps, gate_check_data_deps,
pass_check_data_deps): New.
* tree-data-ref.c (init_data_ref): Remove declaration.
(dump_data_dependence_relation): Dump DDR_INNER_LOOP.
(analyze_array): Renamed init_array_ref, move up initializations.
(init_data_ref): Renamed init_pointer_ref. Moved before its call.
Removed arguments that are set to NULL.
(analyze_indirect_ref): Correct indentation, correct call to
init_pointer_ref.
(object_analysis): Call init_array_ref instead of analyze_array.
(initialize_data_dependence_relation): Initialize DDR_INNER_LOOP.
(access_functions_are_affine_or_constant_p): Use DR_ACCESS_FNS instead
of DR_ACCESS_FNS_ADDR.
(init_omega_eq_with_af, omega_extract_distance_vectors,
omega_setup_subscript, init_omega_for_ddr_1, init_omega_for_ddr,
ddr_consistent_p): New.
(compute_affine_dependence): Check consistency of ddrs when
flag_check_data_deps is passed.
(analyze_all_data_dependences): Uncomment.
(tree_check_data_deps): New.
* tree-data-ref.h: Include omega.h.
(DR_ACCESS_FNS_ADDR): Removed.
(data_dependence_relation): Add inner_loop.
(DDR_INNER_LOOP): New.
* common.opt (fcheck-data-deps): New.
* tree-flow.h (tree_check_data_deps): Declare.
* Makefile.in (TREE_DATA_REF_H): Depend on omega.h.
(OBJS-common): Depend on omega.o.
(omega.o): Define.
* passes.c (pass_check_data_deps): Scheduled.
* params.def (PARAM_OMEGA_MAX_VARS, PARAM_OMEGA_MAX_GEQS,
PARAM_OMEGA_MAX_EQS, PARAM_OMEGA_MAX_WILD_CARDS,
PARAM_OMEGA_HASH_TABLE_SIZE, PARAM_OMEGA_MAX_KEYS,
PARAM_VECT_MAX_VERSION_CHECKS,
PARAM_OMEGA_ELIMINATE_REDUNDANT_CONSTRAINTS): New.
From-SVN: r122749
2007-03-09 13:39:49 +01:00
|
|
|
|
omega.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
omp-low.o \
|
|
|
|
|
optabs.o \
|
|
|
|
|
options.o \
|
|
|
|
|
opts-common.o \
|
|
|
|
|
opts.o \
|
|
|
|
|
params.o \
|
|
|
|
|
passes.o \
|
|
|
|
|
pointer-set.o \
|
|
|
|
|
postreload-gcse.o \
|
|
|
|
|
postreload.o \
|
|
|
|
|
predict.o \
|
|
|
|
|
pretty-print.o \
|
|
|
|
|
print-rtl.o \
|
|
|
|
|
print-tree.o \
|
|
|
|
|
profile.o \
|
ra-conflict.c: New file.
2007-09-02 Kenneth Zadeck <zadeck@naturalbridge.com>
* ra-conflict.c: New file.
* ra.h: New file.
* reload.c (push_reload, find_dummy_reload): Change DF_RA_LIVE
usage to DF_LIVE usage.
* rtlanal.c (subreg_nregs_with_regno): New function.
* df-scan.c (df_def_record_1, df_uses_record): Add code to set
DF_REF_EXTRACT, DF_REF_STRICT_LOWER_PART, and DF_REF_SUBREG flags.
(df_has_eh_preds): Removed.
(df_bb_refs_collect, df_bb_refs_collect, df_bb_refs_collect,
df_exit_block_uses_collect): Changed call from df_has_eh_preds to
bb_has_eh_pred.
* global.c (allocno, max_allocno, conflicts, allocno_row_words,
reg_allocno, EXECUTE_IF_SET_IN_ALLOCNO_SET): Moved to ra.h
(SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Moved to ra-conflicts.c.
(regs_set, record_one_conflict, record_conflicts, mark_reg_store,
mark_reg_clobber, mark_reg_conflicts, mark_reg_death): Deleted.
(global_alloc): Turn off rescanning insns after call to
global_conflicts and added call to set_preferences.
(global_conflicts): Moved to ra-alloc.c.
(set_preferences_1, set_preferences): New function.
(mirror_conflicts): Changed types for various variables.
(mark_elimination): Change DF_RA_LIVE
usage to DF_LIVE usage.
(build_insn_chain): Rewritten from scratch and made local.
(print_insn_chain, print_insn_chains): New functions.
(dump_conflicts): Do not print conflicts for fixed_regs.
(rest_of_handle_global_alloc): Turn off insn rescanning.
* hard-reg-set.h: Fixed comment.
* local-alloc.c (update_equiv_regs): Change DF_RA_LIVE
usage to DF_LIVE usage and delete refs to TOP sets.
(block_alloc): Mark regs as live if they are in the artificial
defs at top of block.
(find_stack_regs): New function.
(rest_of_handle_local_alloc): Changed urec problem to live
problem and do not turn off df rescanning.
* df.h (DF_UREC, DF_UREC_BB_INFO, DF_LIVE_TOP, DF_RA_LIVE_IN,
DF_RA_LIVE_TOP, DF_RA_LIVE_OUT, df_urec_bb_info, df_urec,
df_urec_add_problem, df_urec_get_bb_info, df_has_eh_preds): Removed.
(DF_CHAIN, DF_NOTE, DF_CHAIN): Renumbered.
(DF_REF_EXTRACT, DF_REF_STRICT_LOWER_PART, DF_REF_SUBREG): New
fields in df_ref_flags. The rest have been renumbered.
* init-regs.c (initialize_uninitialized_regs): Enhanced debugging
at -O1.
* rtl.h (subreg_nregs_with_regno): New function.
* df-problems.c: (df_get_live_out, df_get_live_in,
df_get_live_top): Removed reference to DF_RA_LIVE.
(df_lr_reset, df_lr_transfer_function, df_live_free_bb_info,
df_live_alloc, df_live_reset, df_live_local_finalize,
df_live_free): Make top set only if different from in set.
(df_lr_top_dump, df_live_top_dump): Only print top set if
different from in set.
(df_lr_bb_local_compute): Removed unnecessary check.
(df_urec_problem_data, df_urec_set_bb_info, df_urec_free_bb_info,
df_urec_alloc, df_urec_mark_reg_change, earlyclobber_regclass,
df_urec_check_earlyclobber, df_urec_mark_reg_use_for_earlyclobber,
df_urec_mark_reg_use_for_earlyclobber_1, df_urec_bb_local_compute,
df_urec_local_compute, df_urec_init, df_urec_local_finalize,
df_urec_confluence_n, df_urec_transfer_function, df_urec_free,
df_urec_top_dump, df_urec_bottom_dump, problem_UREC,
df_urec_add_problem): Removed.
(df_simulate_fixup_sets): Changed call from df_has_eh_preds to
bb_has_eh_pred.
* Makefile.in (ra-conflict.o, ra.h): New dependencies.
* basic_block.h (bb_has_abnormal_pred): New function.
* reload1.c (compute_use_by_pseudos): Change DF_RA_LIVE
usage to DF_LIVE usage.
From-SVN: r128957
2007-10-02 15:10:07 +02:00
|
|
|
|
ra-conflict.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
real.o \
|
|
|
|
|
recog.o \
|
|
|
|
|
reg-stack.o \
|
|
|
|
|
regclass.o \
|
|
|
|
|
regmove.o \
|
|
|
|
|
regrename.o \
|
2007-06-11 20:02:15 +02:00
|
|
|
|
regstat.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
reload.o \
|
|
|
|
|
reload1.o \
|
|
|
|
|
reorg.o \
|
|
|
|
|
resource.o \
|
|
|
|
|
rtl-error.o \
|
|
|
|
|
rtl-factoring.o \
|
|
|
|
|
rtl.o \
|
|
|
|
|
rtlanal.o \
|
|
|
|
|
rtlhooks.o \
|
|
|
|
|
sbitmap.o \
|
|
|
|
|
sched-deps.o \
|
|
|
|
|
sched-ebb.o \
|
|
|
|
|
sched-rgn.o \
|
|
|
|
|
sched-vis.o \
|
|
|
|
|
sdbout.o \
|
|
|
|
|
see.o \
|
|
|
|
|
simplify-rtx.o \
|
ra-conflict.c: Include "sparseset.h".
* ra-conflict.c: Include "sparseset.h".
(conflicts): Change to HOST_WIDEST_FAST_INT.
(allocnos_live): Redefine variable as a sparseset.
(SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE, GET_ALLOCNO_LIVE): Delete macros.
(allocno_row_words): Removed global variable.
(partial_bitnum, max_bitnum, adjacency_pool, adjacency): New variables.
(CONFLICT_BITNUM, CONFLICT_BITNUM_FAST): New defines.
(conflict_p, set_conflict_p, set_conflicts_p): New functions.
(record_one_conflict_between_regnos): Cache allocno values and reuse.
Use set_conflict_p.
(record_one_conflict): Update uses of allocnos_live to use
the sparseset routines. Use set_conflicts_p.
(mark_reg_store): Likewise.
(set_reg_in_live): Likewise.
(global_conflicts): Update uses of allocnos_live.
Use the new adjacency list to visit an allocno's neighbors
rather than iterating over all possible allocnos.
Call set_conflicts_p to setup conflicts rather than adding
them manually.
* global.c: Comments updated.
(CONFLICTP): Delete define.
(regno_compare): New function. Add prototype.
(global_alloc): Sort the allocno to regno mapping according to
which basic blocks the regnos are referenced in. Modify the
conflict bit matrix to a compressed triangular bitmatrix.
Only allocate the conflict bit matrix and adjacency lists if
we are actually going to allocate something.
(expand_preferences): Use conflict_p. Update uses of allocnos_live.
(prune_preferences): Use the FOR_EACH_CONFLICT macro to visit an
allocno's neighbors rather than iterating over all possible allocnos.
(mirror_conflicts): Removed function.
(dump_conflicts): Iterate over regnos rather than allocnos so
that all dump output will be sorted by regno number.
Use the FOR_EACH_CONFLICT macro.
* ra.h: Comments updated.
(conflicts): Update prototype to HOST_WIDEST_FAST_INT.
(partial_bitnum, max_bitnum, adjacency, adjacency_pool): Add prototypes.
(ADJACENCY_VEC_LENGTH, FOR_EACH_CONFLICT): New defines.
(adjacency_list_d, adjacency_iterator_d): New types.
(add_neighbor, adjacency_iter_init, adjacency_iter_done,
adjacency_iter_next, regno_basic_block): New static inline functions.
(EXECUTE_IF_SET_IN_ALLOCNO_SET): Removed define.
(conflict_p): Add function prototype.
* sparseset.h, sparseset.c: New files.
* Makefile.in (OBJS-common): Add sparseset.o.
(sparseset.o): New rule.
From-SVN: r129037
2007-10-05 19:55:18 +02:00
|
|
|
|
sparseset.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
sreal.o \
|
2007-06-11 20:02:15 +02:00
|
|
|
|
stack-ptr-mod.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
stmt.o \
|
|
|
|
|
stor-layout.o \
|
|
|
|
|
stringpool.o \
|
|
|
|
|
targhooks.o \
|
|
|
|
|
timevar.o \
|
|
|
|
|
toplev.o \
|
|
|
|
|
tracer.o \
|
|
|
|
|
tree-affine.o \
|
|
|
|
|
tree-cfg.o \
|
|
|
|
|
tree-cfgcleanup.o \
|
|
|
|
|
tree-chrec.o \
|
|
|
|
|
tree-complex.o \
|
|
|
|
|
tree-data-ref.o \
|
|
|
|
|
tree-dfa.o \
|
|
|
|
|
tree-dump.o \
|
|
|
|
|
tree-eh.o \
|
|
|
|
|
tree-gimple.o \
|
|
|
|
|
tree-if-conv.o \
|
|
|
|
|
tree-into-ssa.o \
|
|
|
|
|
tree-iterator.o \
|
invoke.texi: Document -ftree-loop-distribution.
* doc/invoke.texi: Document -ftree-loop-distribution.
* tree-loop-distribution.c: New.
* tree-pass.h (pass_loop_distribution): New.
* graphds.h (struct graph): Add htab_t indices.
* timevar.def (TV_TREE_LOOP_DISTRIBUTION): New.
* tree-vectorizer.c (rename_variables_in_loop): Extern.
(slpeel_tree_duplicate_loop_to_edge_cfg): Init PENDING_STMT to NULL.
* tree-vectorizer.h (tree_duplicate_loop_on_edge): Declared.
* tree-data-ref.c (debug_data_dependence_relations): New.
(dump_data_dependence_relation): Also print data references.
(free_data_ref): Extern.
(same_access_functions): Moved...
(find_vertex_for_stmt): Renamed rdg_vertex_for_stmt.
(dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component,
debug_rdg_component, dump_rdg, debug_rdg, dot_rdg_1, dot_rdg,
struct rdg_vertex_info, rdg_vertex_for_stmt): New.
(create_rdg_edge_for_ddr, create_rdg_vertices): Cleaned up.
(stmts_from_loop): Skip LABEL_EXPR.
(hash_stmt_vertex_info, eq_stmt_vertex_info, hash_stmt_vertex_del): New.
(build_rdg): Initialize rdg->indices htab.
(free_rdg, stores_from_loop, ref_base_address,
rdg_defs_used_in_other_loops_p, have_similar_memory_accesses,
have_similar_memory_accesses_1, ref_base_address_1,
remove_similar_memory_refs): New.
* tree-data-ref.h: Depend on tree-chrec.h.
(debug_data_dependence_relations, free_data_ref): Declared.
(same_access_functions): ... here.
(ddr_is_anti_dependent, ddrs_have_anti_deps, ddr_dependence_level): New.
(struct rdg_vertex): Add has_mem_write and has_mem_reads.
(RDGV_HAS_MEM_WRITE, RDGV_HAS_MEM_READS, RDG_STMT,
RDG_MEM_WRITE_STMT, RDG_MEM_READS_STMT): New.
(dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component,
debug_rdg_component, dump_rdg, debug_rdg, dot_rdg,
rdg_vertex_for_stmt): Declared.
(struct rdg_edge): Add level.
(RDGE_LEVEL): New.
(free_rdg, stores_from_loop, remove_similar_memory_refs,
rdg_defs_used_in_other_loops_p, have_similar_memory_accesses): Declared.
(rdg_has_similar_memory_accesses): New.
* tree-vect-analyze.c: Remove unused static decls.
* lambda.h (dependence_level): New.
* common.opt (ftree-loop-distribution): New.
* tree-flow.h (mark_virtual_ops_in_bb,
slpeel_tree_duplicate_loop_to_edge_cfg,
rename_variables_in_loop): Declared.
* Makefile.in (TREE_DATA_REF_H): Depend on tree-chrec.h.
(OBJS-common): Add tree-loop-distribution.o.
(tree-loop-distribution.o): New rule.
* tree-cfg.c (mark_virtual_ops_in_bb): New.
(mark_virtual_ops_in_region): Use mark_virtual_ops_in_bb.
* passes.c (init_optimization_passes): Schedule pass_loop_distribution.
* testsuite/gcc.dg/tree-ssa/ldist-{1..12}.c: New.
From-SVN: r132745
2008-02-28 13:37:24 +01:00
|
|
|
|
tree-loop-distribution.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
tree-loop-linear.o \
|
|
|
|
|
tree-nested.o \
|
|
|
|
|
tree-nrv.o \
|
|
|
|
|
tree-object-size.o \
|
|
|
|
|
tree-optimize.o \
|
|
|
|
|
tree-outof-ssa.o \
|
2007-09-15 23:53:45 +02:00
|
|
|
|
tree-parloops.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
tree-phinodes.o \
|
passes.texi: Document predictive commoning.
* doc/passes.texi: Document predictive commoning.
* doc/invoke.texi (-fpredictive-commoning): Document.
* opts.c (decode_options): Enable flag_predictive_commoning on -O3.
* tree-ssa-loop-im.c (get_lsm_tmp_name): Export. Allow
adding indices to the generated name.
(schedule_sm): Pass 0 to get_lsm_tmp_name.
* tree-ssa-loop-niter.c (stmt_dominates_stmt_p): Export.
* tree-pretty-print.c (op_symbol_1): Renamed to ...
(op_symbol_code): ... and exported.
(dump_omp_clause, op_symbol): Use op_symbol_code
instead of op_symbol_1.
* tree-pass.h (pass_predcom): Declare.
* timevar.def (TV_PREDCOM): New timevar.
* tree-ssa-loop.c (run_tree_predictive_commoning,
gate_tree_predictive_commoning, pass_predcom): New.
* tree-data-ref.c (find_data_references_in_loop): Find the
references in dominance order.
(canonicalize_base_object_address): Ensure that the result has
pointer type.
(dr_analyze_innermost): Export.
(create_data_ref): Code to fail for references with invariant
address moved ...
(find_data_references_in_stmt): ... here.
* tree-data-ref.h (dr_analyze_innermost): Declare.
* tree-affine.c: Include tree-gimple.h and hashtab.h.
(aff_combination_find_elt, name_expansion_hash,
name_expansion_eq, tree_to_aff_combination_expand,
double_int_constant_multiple_p, aff_combination_constant_multiple_p):
New functions.
* tree-affine.h (aff_combination_constant_multiple_p,
tree_to_aff_combination_expand): Declare.
* tree-predcom.c: New file.
* common.opt (fpredictive-commoning): New option.
* tree-flow.h (op_symbol_code, tree_predictive_commoning,
stmt_dominates_stmt_p, get_lsm_tmp_name): Declare.
* Makefile.in (tree-predcom.o): Add.
(tree-affine.o): Add TREE_GIMPLE_H dependency.
* passes.c (init_optimization_passes): Add dceloop after
copy propagation in loop optimizer. Add predictive commoning
to loop optimizer passes.
* gcc.dg/tree-ssa/predcom-1.c: New test.
* gcc.dg/tree-ssa/predcom-2.c: New test.
* gcc.dg/tree-ssa/predcom-3.c: New test.
* gcc.dg/tree-ssa/predcom-4.c: New test.
* gcc.dg/tree-ssa/predcom-5.c: New test.
* gcc.dg/vect/dump-tree-dceloop-pr26359.c: Test dceloop2 dumps.
From-SVN: r125030
2007-05-24 18:09:26 +02:00
|
|
|
|
tree-predcom.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
tree-pretty-print.o \
|
|
|
|
|
tree-profile.o \
|
|
|
|
|
tree-scalar-evolution.o \
|
|
|
|
|
tree-sra.o \
|
|
|
|
|
tree-ssa-address.o \
|
|
|
|
|
tree-ssa-alias.o \
|
2007-05-11 18:20:08 +02:00
|
|
|
|
tree-ssa-alias-warnings.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
tree-ssa-ccp.o \
|
|
|
|
|
tree-ssa-coalesce.o \
|
|
|
|
|
tree-ssa-copy.o \
|
|
|
|
|
tree-ssa-copyrename.o \
|
|
|
|
|
tree-ssa-dce.o \
|
|
|
|
|
tree-ssa-dom.o \
|
|
|
|
|
tree-ssa-dse.o \
|
|
|
|
|
tree-ssa-forwprop.o \
|
2007-06-12 14:06:19 +02:00
|
|
|
|
tree-ssa-ifcombine.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
tree-ssa-live.o \
|
|
|
|
|
tree-ssa-loop-ch.o \
|
|
|
|
|
tree-ssa-loop-im.o \
|
|
|
|
|
tree-ssa-loop-ivcanon.o \
|
|
|
|
|
tree-ssa-loop-ivopts.o \
|
|
|
|
|
tree-ssa-loop-manip.o \
|
|
|
|
|
tree-ssa-loop-niter.o \
|
|
|
|
|
tree-ssa-loop-prefetch.o \
|
|
|
|
|
tree-ssa-loop-unswitch.o \
|
|
|
|
|
tree-ssa-loop.o \
|
|
|
|
|
tree-ssa-math-opts.o \
|
|
|
|
|
tree-ssa-operands.o \
|
|
|
|
|
tree-ssa-phiopt.o \
|
2008-03-12 13:15:41 +01:00
|
|
|
|
tree-ssa-phiprop.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
tree-ssa-pre.o \
|
|
|
|
|
tree-ssa-propagate.o \
|
|
|
|
|
tree-ssa-reassoc.o \
|
2007-06-30 16:15:26 +02:00
|
|
|
|
tree-ssa-sccvn.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
tree-ssa-sink.o \
|
|
|
|
|
tree-ssa-structalias.o \
|
|
|
|
|
tree-ssa-ter.o \
|
|
|
|
|
tree-ssa-threadedge.o \
|
|
|
|
|
tree-ssa-threadupdate.o \
|
|
|
|
|
tree-ssa-uncprop.o \
|
|
|
|
|
tree-ssa.o \
|
|
|
|
|
tree-ssanames.o \
|
|
|
|
|
tree-stdarg.o \
|
|
|
|
|
tree-tailcall.o \
|
|
|
|
|
tree-vect-analyze.o \
|
|
|
|
|
tree-vect-generic.o \
|
|
|
|
|
tree-vect-patterns.o \
|
|
|
|
|
tree-vect-transform.o \
|
|
|
|
|
tree-vectorizer.o \
|
|
|
|
|
tree-vn.o \
|
|
|
|
|
tree-vrp.o \
|
|
|
|
|
tree.o \
|
|
|
|
|
value-prof.o \
|
|
|
|
|
var-tracking.o \
|
|
|
|
|
varasm.o \
|
|
|
|
|
varray.o \
|
|
|
|
|
vec.o \
|
|
|
|
|
version.o \
|
|
|
|
|
vmsdbgout.o \
|
|
|
|
|
web.o \
|
|
|
|
|
xcoffout.o
|
|
|
|
|
|
|
|
|
|
# Target object files.
|
2003-07-11 10:33:21 +02:00
|
|
|
|
OBJS-md = $(out_object_file)
|
|
|
|
|
|
2007-01-23 16:12:44 +01:00
|
|
|
|
# Language independent object files which are not used by all languages.
|
|
|
|
|
OBJS-archive = \
|
|
|
|
|
$(EXTRA_OBJS) \
|
|
|
|
|
$(host_hook_obj) \
|
|
|
|
|
cgraph.o \
|
|
|
|
|
cgraphbuild.o \
|
|
|
|
|
cgraphunit.o \
|
|
|
|
|
ipa-cp.o \
|
|
|
|
|
ipa-inline.o \
|
|
|
|
|
ipa-prop.o \
|
|
|
|
|
ipa-pure-const.o \
|
|
|
|
|
ipa-reference.o \
|
2007-10-24 12:36:30 +02:00
|
|
|
|
ipa-struct-reorg.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
ipa-type-escape.o \
|
|
|
|
|
ipa-utils.o \
|
|
|
|
|
ipa.o \
|
2007-05-28 13:10:27 +02:00
|
|
|
|
matrix-reorg.o \
|
2007-01-23 16:12:44 +01:00
|
|
|
|
tree-inline.o \
|
|
|
|
|
tree-nomudflap.o \
|
|
|
|
|
varpool.o
|
|
|
|
|
|
|
|
|
|
OBJS = $(OBJS-common) $(OBJS-md) $(OBJS-archive)
|
2003-07-11 10:33:21 +02:00
|
|
|
|
|
|
|
|
|
OBJS-onestep = libbackend.o $(OBJS-archive)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
dfp.h, dfp.c: New files.
2005-12-02 Jon Grimm <jgrimm2@us.ibm.com>
Janis Johnson <janis187@us.ibm.com>
David Edelsohn <dje@watson.ibm.com>
Ben Elliston <bje@au.ibm.com>
* dfp.h, dfp.c: New files.
* Makefile.in (DECNUM, DECNUMINC, LIBDECNUMBER): New variables.
(DECNUM_H): Likewise.
(LIBDEPS, LIBS, BACKEND): Append $(LIBDECNUMBER).
(INCLUDES): Append $(DECNUMINC).
(OBJS-common): Add dfp.o.
(dfp.o): New rule.
* real.h (EXP_BITS): Pinch one bit to ..
(struct real_value): Add decimal field.
(real_format): Change table size, update documentation.
(REAL_MODE_FORMAT): Update for to handle float, decimal float.
(real_from_string3): Declare.
(decimal_single_format): Declare.
(decimal_double_format): Declare.
(decimal_quad_format): Declare.
(REAL_VALUE_TO_TARGET_DECIMAL32): New.
(REAL_VALUE_TO_TARGET_DECIMAL64): New.
(REAL_VALUE_TO_TARGET_DECIMAL128): New.
* real.c: Include dfp.h.
(normalize): Early return for decimal floats.
(do_add): Zero decimal field.
(do_compare): Call do_decimal_compare for decimal floats.
(do_fix_trunc): Likewise, call decimal_do_fix_trunc.
(real_arithmetic): Call decimal_real_arithmetic for decimal
floating point operands.
(real_identical): If a and b are of differing radix, return false.
(real_to_integer): Call decimal_real_to_integer if the value is a
decimal float.
(real_to_integer2): Likewise, call decimal_real_to_integer2.
(real_to_decimal): Likewise, call decimal_real_to_decimal.
(real_to_hexadecimal): Place "N/A" in the return string for
decimal float.
(real_from_string3): New variant, given a mode.
(real_maxval): Use decimal_real_maxval for decimal floats.
(round_for_format): Use decimal_round_for_format for decimals.
(real_convert): Use decimal_real_convert where appropriate.
(significand_size): Handle base 10.
(encode_decimal_single, decode_decimal_single,
encode_decimal_double, decode_decimal_double, encode_decimal_quad,
decode_decimal_quad): New functions.
(decimal_single_format): New.
(decimal_double_format): New.
(decimal_quad_format): New.
* machmode.def: Add SD, DD and TD decimal floating point modes.
* machmode.h (FLOAT_MODE_P, SCALAR_FLOAT_MODE_P, MODES_WIDEN_P):
Include MODE_DECIMAL_FLOAT.
(DECIMAL_FLOAT_MODE_P): New.
* mode-classes.def (MODE_DECIMAL_FLOAT): New mode class.
* genmodes.c (struct mode_data): Add counter field.
(struct mode_data): Update comment for format.
(blank_mode): Initialise counter field.
(new_mode): Increment counter field for each mode defined.
(complete_mode): Handle MODE_DECIMAL_FLOAT, update check for mode
using a format.
(make_complex_modes): Handle modes containing `D'.
(DECIMAL_FLOAT_MODE, FRACTIONAL_DECIMAL_FLOAT_MODE): New.
(make_decimal_float_mode): New.
(reset_float_format): Handle MODE_DECIMAL_FLOAT.
(cmp_modes): Compare counter field if other characteristics
similar.
(emit_real_format_for_mode): Support formats for decimal floats.
* doc/rtl.texi (Machine Modes): Document SD, DD and TDmodes.
Document MODE_DECIMAL_FLOAT.
Co-Authored-By: Ben Elliston <bje@au.ibm.com>
Co-Authored-By: David Edelsohn <dje@watson.ibm.com>
Co-Authored-By: Janis Johnson <janis187@us.ibm.com>
From-SVN: r107861
2005-12-02 03:30:42 +01:00
|
|
|
|
BACKEND = main.o @TREEBROWSER@ libbackend.a $(CPPLIB) $(LIBDECNUMBER)
|
[multiple changes]
2000-08-04 Andreas Schwab <schwab@suse.de>
* cppmain.c (cb_def_pragma): Skip the first two tokens from the
token list, which are always `#' and `pragma'.
2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
* tree.c (tree_expr_nonnegative_p): Move to...
* fold-const.c: ... here. Also handle BIND_EXPR and RTL_EXPR.
(rtl_expr_nonnegative_p): New.
* tree.h: Add prototype for rtl_expr_nonnegative_p.
* real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
CONST_DOUBLE_CHAIN: Move to...
* rtl.h: ...here. Use XCINT/XCEXP.
* Makefile.in: Remove toplev.o from OBJS. Add rule to make
libbackend.a; add libbackend.a to STAGESTUFF. Add BACKEND
variable. Use BACKEND when linking cc1, not OBJS. Add BACKEND
to VOL_FILES.
* objc/Make-lang.in (cc1obj): Link with $(BACKEND).
ch:
* Make-lang.in (cc1chill): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in (cc1chill): Link with $(BACKEND). Define BACKEND,
eliminate C_OBJS (was commented out), OBJS, OBJDEPS.
cp:
* Make-lang.in (cc1plus): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in: Add C_OBJS, BACKEND; delete OBJS, OBJDEPS.
(cc1plus): Link with $(BACKEND) and $(C_OBJS).
f:
* Make-lang.in (f771): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
(f771): Link with $(BACKEND).
java:
* Make-lang.in (jc1, jv-scan): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
(jc1): Link with $(BACKEND).
(jv-scan): Depend on version.o, not all of $(OBJS) or $(BACKEND).
From-SVN: r35501
2000-08-05 02:50:02 +02:00
|
|
|
|
|
configure.ac (strict1_warn): Rename to strict_warn.
2007-01-11 Paolo Bonzini <bonzini@gnu.org>
* configure.ac (strict1_warn): Rename to strict_warn.
(WERROR, --enable-werror, symlink hacks, stage1_cflags,
cc_set_by_configure, quoted_cc_set_by_configure,
stage_prefix_set_by_configure, quoted_stage_prefix_set_by_configure,
all_boot_languages, all_stagestuff): Remove.
(target_list): Remove bootstrap targets.
* Makefile.in (quickstrap): Unconditionally make a synonym of all.
(BOOT_LANGUAGES, STAGE1_CFLAGS, STAGE1_CHECKING,
REMAKEFLAGS, FLAGS_TO_PASS, PREPEND_DOTDOT_TO_RELATIVE_PATHS,
SUBDIR_FLAGS_TO_PASS, WERROR_FLAGS, STRICT2_WARN, LANG_STAGESTUFF,
VOL_FILES, POSTSTAGE1_FLAGS_TO_PASS, STAGE2_FLAGS_TO_PASS,
STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS, stage1_build,
stage1_copy, stage2_build, stage2_copy, stageprofile_build,
stageprofile_copy, stage3_build, stage3_copy, stagefeedback_build,
stagefeedback_copy, stage4_build, clean_s1, clean_sw, bootstrap,
bootstrap-lean, bootstrap2, bootstrap2-lean, bootstrap3,
bootstrap3-lean, bootstrap4, bootstrap4-lean, unstage1, unstage2,
unstage3, unstage4, unstageprofile, unstagefeedback, restage, restage2,
restage3, restage4, restageprofile, restagefeedback, bubbleestrap,
cleanstrap, unstrap, restrap, *compare, *compare3, *compare4,
*compare-lean, *compare3-lean, *compare4-lean, stage1-start, stage1,
stage2-start, stage2, stage3-start, stage3, stage4-start, stage4,
stageprofile-start, stageprofile, stagefeedback-start, stagefeedback,
risky-stage1, risky-stage2, risky-stage3, risky-stage4): Remove.
(ORDINARY_FLAGS_TO_PASS): Rename to FLAGS_TO_PASS.
(STAGECOPYSTUFF, STAGEMOVESTUFF): Consolidate into MOSTLYCLEANFILES.
(mostlyclean): Adjust.
(clean, distclean): Don't mention bootstrap stuff.
* configure: Regenerate.
* ada/config-lang.in, cp/config-lang.in, forttran/config-lang.in,
java/config-lang.in, objc/config-lang.in, objcp/config-lang.in,
treelang/config-lang.in (stagestuff): Remove.
* doc/sourcebuild.texi (stage1, stage2, stage3, stage4,
stageprofile, stagefeedback, stagestuff): Remove mention.
From-SVN: r120670
2007-01-11 11:49:30 +01:00
|
|
|
|
MOSTLYCLEANFILES = insn-flags.h insn-config.h insn-codes.h \
|
1992-02-03 23:08:59 +01:00
|
|
|
|
insn-output.c insn-recog.c insn-emit.c insn-extract.c insn-peep.c \
|
genpreds.c: Add capability to generate predicate bodies as well as function prototypes.
* genpreds.c: Add capability to generate predicate bodies as
well as function prototypes. Write function prototypes for
the generic predicates too.
(process_define_predicate, write_tm_preds_h, write_insn_preds_c)
(write_predicate_subfunction, mark_mode_tests, add_mode_tests)
(write_match_code, write_predicate_expr, write_one_predicate_function)
(parse_option): New functions.
(output_predicate_decls): Delete.
(main): Read the machine description, process DEFINE_PREDICATE or
DEFINE_SPECIAL_PREDICATE patterns, write tm-preds.h or insn-preds.c
as appropriate.
* genrecog.c (struct decision_test): Replace index with
struct pred_data pointer.
(next_index): Remove, unused.
(pred_table, preds, special_mode_pred_table): Delete.
(compute_predicate_codes, process_define_predicate): New functions.
(validate_pattern, add_to_sequence, write_switch): Update for
new data structures.
(main): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE.
Check both error_count and have_error.
* gensupport.c (in_fname, first_predicate): New globals.
(define_pred_queue, define_pred_tail): New RTL-pattern queue.
(predicate_table, last_predicate, old_pred_table)
(old_special_pred_table): New statics.
(hash_struct_pred_data, eq_struct_pred_data, lookup_predicate)
(add_predicate, init_predicate_table): New functions.
(process_rtx): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE.
(init_md_reader_args_cb): Use the global in_fname. No need to zero
it or max_include_len. Call init_predicate_table.
(read_rtx): Run the predicate queue after the attribute queue
but before all the others.
* gensupport.h (in_fname, struct pred_data, first_predicate)
(lookup_predicate, add_predicate, FOR_ALL_PREDICATES): Declare.
* rtl.def (MATCH_CODE, MATCH_TEST, DEFINE_PREDICATE)
(DEFINE_SPECIAL_PREDICATE): New RTL codes.
* dummy-conditions.c: Don't include bconfig.h, system.h,
coretypes.h, tm.h, or system.h. Do include stddef.h.
Duplicate declaration of struct c_test from gensupport.h.
* Makefile.in (OBJS-common): Add insn-preds.o.
(STAGESTUFF, .PRECIOUS): Add insn-preds.c.
(insn-preds.c, insn-preds.o): New rules.
(s-preds): Also generate insn-preds.c.
(dummy-conditions.o, genpreds$(build_exeext), genpreds.o):
Update dependencies.
(print-rtl.o, print-rtl1.o): Correct dependencies.
* recog.h: Delete prototypes of predicate functions.
* doc/md.texi (Predicates): New section with complete
documentation of operand/operator predicates. Remove some
incomplete documentation of predicates from other places.
* doc/tm.texi (Misc): Move SPECIAL_MODE_PREDICATES next to
PREDICATE_CODES; indicate that both are deprecated in favor
of define_predicate/define_special_predicate.
* config/ia64/ia64.c: All predicate function definitions moved
to ia64.md, except
(small_addr_symbolic_operand, tls_symbolic_operand): Delete.
(ia64_expand_load_address, ia64_expand_move):
Check SYMBOL_REF_TLS_MODEL directly, don't use tls_symbolic_operand.
* config/ia64/ia64.md: All predicates now defined here.
(symbolic_operand): Is now a special predicate.
* config/ia64/ia64.h: Declare ia64_section_threshold.
(PREDICATE_CODES): Delete.
From-SVN: r85855
2004-08-12 09:49:00 +02:00
|
|
|
|
insn-attr.h insn-attrtab.c insn-opinit.c insn-preds.c insn-constants.h \
|
2006-03-29 23:07:12 +02:00
|
|
|
|
tm-preds.h tm-constrs.h \
|
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
* genconditions.c (condition_table, add_condition): Delete.
(write_conditions): Don't emit n_insn_conditions nor
insn_elision_unavailable. Issue the gcc version #ifdef here,
inside the table, with no #else clause ...
(write_header): ...not here.
(write_writer): New function.
(main): Don't initialize condition_table. Use add_c_test.
Call write_writer.
* gensupport.c (init_md_reader_args_cb): Handle multiple input
files on the command line.
(maybe_eval_c_test): Don't check insn_elision_unavailable.
Return -1 if there is no entry in the table, don't abort.
(add_c_test, traverse_c_tests): New functions.
* gensupport.h (insn_elision_unavailable, insn_conditions)
(n_insn_conditions): Delete declarations.
(add_c_test, traverse_c_tests): Declare.
* read-rtl.c: Include gensupport.h.
(read_conditions): New function.
(read_rtx): If read_rtx_1 returns 0, treat as EOF.
(read_rtx_1): If we get EOF when we were looking for an initial
open paren, return 0. Call read_conditions when appropriate.
* Makefile.in: Kill BUILD_EARLY_SUPPORT and all references to
dummy-conditions.o. Eliminate references to insn-conditions.o,
or change them to build/gencondmd.o, as appropriate. Remove
insn-constants.h from $(simple_generated_h) and insn-conditions.c
from $(simple_generated_c). For all files remaining in those
two lists, add insn-conditions.md to the generator command line.
Give insn-constants.h/s-constants their own rules. Add rules
for build/gencondmd.c, s-conditions, insn-conditions.md, s-condmd.
(build/read-rtl.o): Depend on gensupport.h.
(genprognormal): Include preds.
(genprogearly): Rename genprognoprint; only difference is now that
they don't link with $(BUILD_PRINT).
* dummy-conditions.c: Delete.
From-SVN: r110119
2006-01-23 16:15:05 +01:00
|
|
|
|
tree-check.h min-insn-modes.c insn-modes.c insn-modes.h \
|
gengtype.c: Don't include gtyp-gen.h.
* gengtype.c: Don't include gtyp-gen.h.
(srcdir): Declare here.
(base_files, lang_dir_names): Allocate dynamically.
(gt_files, num_gt_files, num_lang_dirs): New globals.
(measure_input_list, read_input_line, read_input_list)
(set_lang_bitmap): New functions.
(get_base_file_bitmap): Rename get_lang_bitmap and drastically
simplify, relying on read_input_list to set up the bitmaps.
(main): Arguments are no longer unused. Check for correct number
of command line arguments, set srcdir and srcdir_len, then call
read_input_list, before doing anything else. No need to worry
about duplicates in main loop.
* configure.ac: Simplify the calculation of all_gtfiles.
Put language tags in there. Don't set or substitute
all_gtfiles_files_langs or all_gtfiles_files_frags.
* Makefile.in: Revamp the way gengtype is invoked, now that it
takes a file on its command line with a much simpler format.
Remove or replace with gtyp-input.list all references to gtyp-gen.h.
(GTFILES): Remove duplicates and C source files.
* c-config-lang.in, cp/config-lang.in, objc/config-lang.in
* objcp/config-lang.in: Add c-pragma.h to gtfiles.
* configure: Regenerate.
From-SVN: r123234
2007-03-26 23:07:27 +02:00
|
|
|
|
genrtl.c genrtl.h gt-*.h gtype-*.h gtype-desc.c gtyp-input.list \
|
2005-05-18 22:45:26 +02:00
|
|
|
|
xgcc$(exeext) cpp$(exeext) cc1$(exeext) cc1*-dummy$(exeext) $(EXTRA_PASSES) \
|
2003-08-20 12:50:20 +02:00
|
|
|
|
$(EXTRA_PARTS) $(EXTRA_PROGRAMS) gcc-cross$(exeext) \
|
2002-07-17 02:09:11 +02:00
|
|
|
|
protoize$(exeext) unprotoize$(exeext) \
|
2004-04-05 05:58:46 +02:00
|
|
|
|
$(SPECS) collect2$(exeext) \
|
2002-12-16 19:23:00 +01:00
|
|
|
|
gcov-iov$(build_exeext) gcov$(exeext) gcov-dump$(exeext) \
|
configure.ac (strict1_warn): Rename to strict_warn.
2007-01-11 Paolo Bonzini <bonzini@gnu.org>
* configure.ac (strict1_warn): Rename to strict_warn.
(WERROR, --enable-werror, symlink hacks, stage1_cflags,
cc_set_by_configure, quoted_cc_set_by_configure,
stage_prefix_set_by_configure, quoted_stage_prefix_set_by_configure,
all_boot_languages, all_stagestuff): Remove.
(target_list): Remove bootstrap targets.
* Makefile.in (quickstrap): Unconditionally make a synonym of all.
(BOOT_LANGUAGES, STAGE1_CFLAGS, STAGE1_CHECKING,
REMAKEFLAGS, FLAGS_TO_PASS, PREPEND_DOTDOT_TO_RELATIVE_PATHS,
SUBDIR_FLAGS_TO_PASS, WERROR_FLAGS, STRICT2_WARN, LANG_STAGESTUFF,
VOL_FILES, POSTSTAGE1_FLAGS_TO_PASS, STAGE2_FLAGS_TO_PASS,
STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS, stage1_build,
stage1_copy, stage2_build, stage2_copy, stageprofile_build,
stageprofile_copy, stage3_build, stage3_copy, stagefeedback_build,
stagefeedback_copy, stage4_build, clean_s1, clean_sw, bootstrap,
bootstrap-lean, bootstrap2, bootstrap2-lean, bootstrap3,
bootstrap3-lean, bootstrap4, bootstrap4-lean, unstage1, unstage2,
unstage3, unstage4, unstageprofile, unstagefeedback, restage, restage2,
restage3, restage4, restageprofile, restagefeedback, bubbleestrap,
cleanstrap, unstrap, restrap, *compare, *compare3, *compare4,
*compare-lean, *compare3-lean, *compare4-lean, stage1-start, stage1,
stage2-start, stage2, stage3-start, stage3, stage4-start, stage4,
stageprofile-start, stageprofile, stagefeedback-start, stagefeedback,
risky-stage1, risky-stage2, risky-stage3, risky-stage4): Remove.
(ORDINARY_FLAGS_TO_PASS): Rename to FLAGS_TO_PASS.
(STAGECOPYSTUFF, STAGEMOVESTUFF): Consolidate into MOSTLYCLEANFILES.
(mostlyclean): Adjust.
(clean, distclean): Don't mention bootstrap stuff.
* configure: Regenerate.
* ada/config-lang.in, cp/config-lang.in, forttran/config-lang.in,
java/config-lang.in, objc/config-lang.in, objcp/config-lang.in,
treelang/config-lang.in (stagestuff): Remove.
* doc/sourcebuild.texi (stage1, stage2, stage3, stage4,
stageprofile, stagefeedback, stagestuff): Remove mention.
From-SVN: r120670
2007-01-11 11:49:30 +01:00
|
|
|
|
*.[0-9][0-9].* *.[si] *-checksum.c libbackend.a libgcc.mk
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2001-05-14 04:46:22 +02:00
|
|
|
|
# Defined in libgcc2.c, included only in the static library.
|
2003-01-28 00:22:17 +01:00
|
|
|
|
LIB2FUNCS_ST = _eprintf __gcc_bcmp
|
|
|
|
|
|
|
|
|
|
# Defined in libgcov.c, included only in gcov library
|
Makefile.in (LIBGCOV): Add _gcov_fork...
* Makefile.in (LIBGCOV): Add _gcov_fork, _gcov_execl, _gcov_execlp,
_gcov_execle, _gcov_execv, _gcov_execvp, _gcov_execve.
* builtin-types.def (BT_PID, BT_PTR_CONST_STRING, BT_FN_PID,
BT_FN_INT_CONST_STRING_PTR_CONST_STRING,
BT_FN_INT_CONST_STRING_PTR_CONST_STRING_PTR_CONST_STRING): New.
* builtins.c (expand_builtin_fork_or_exec): New.
(expand_builtin): Call it.
* builtins.def (BUILT_IN_EXECL, BUILT_IN_EXECLP,BUILT_IN_EXECLE,
BUILT_IN_EXECV, BUILT_IN_EXECVP, BUILT_IN_EXECVE, BUILT_IN_FORK): New.
* c-common.c (PID_TYPE): New macro.
(c_common_nodes_and_builtins): Initialize pid_type_node.
* calls.c (special_function_p): Do not handle fork and exec.
(expand_call): Do not handle ECF_FORK_OR_EXEC.
* gcov-io.h (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle,
__gcov_execv, __gcov_execvp, __gcov_execve): Declare.
* libgcov.c (__gcov_fork, __gcov_execl, __gcov_execlp, __gcov_execle,
__gcov_execv, __gcov_execvp, __gcov_execve): New.
* tree.h (enum tree_index): Add TI_PID_TYPE.
(pid_type_node): New macro.
(ECF_FORK_OR_EXEC): Removed.
From-SVN: r81118
2004-04-24 00:50:16 +02:00
|
|
|
|
LIBGCOV = _gcov _gcov_merge_add _gcov_merge_single _gcov_merge_delta \
|
|
|
|
|
_gcov_fork _gcov_execl _gcov_execlp _gcov_execle \
|
Makefile.in (LIBGCOV): Add _gcov_interval_profiler, _gcov_pow2_profiler and _gcov_one_value_profiler.
* Makefile.in (LIBGCOV): Add _gcov_interval_profiler,
_gcov_pow2_profiler and _gcov_one_value_profiler.
(tree-profile.o): Add GGC_H and gt-tree-profile.h dependency.
(GTFILES): Add $(srcdir)/tree-profile.c.
* gcov-io.h (__gcov_interval_profiler, __gcov_pow2_profiler,
__gcov_one_value_profiler): Declare.
* gimplify.c (force_gimple_operand): Check whether the statements
should be produced in ssa form.
(force_gimple_operand_bsi): New function.
* libgcov.c (__gcov_interval_profiler, __gcov_pow2_profiler,
__gcov_one_value_profiler): New functions.
* rtl-profile.c (rtl_gen_pow2_profiler): Only measure whether
the profiled value is a power of two or not.
* tree-cfg.c (tree_block_ends_with_condjump_p): Handle empty blocks.
* tree-flow.h (in_ssa_p): Declare.
(force_gimple_operand_bsi): Declare.
* tree-into-ssa.c (in_ssa_p): New variable.
(rewrite_into_ssa): Set in_ssa_p.
* tree-outof-ssa.c (rewrite_out_of_ssa): Set in_ssa_p.
* tree-profile.c: Include ggc.h and gt-tree-profile.h.
(gcov_type_node, tree_interval_profiler_fn, tree_pow2_profiler_fn,
tree_one_value_profiler_fn): New variables.
(tree_init_edge_profiler): Initialize the profiler function decls.
(tree_gen_edge_profiler): Use global gcov_type_node.
(prepare_instrumented_value): New function.
(tree_gen_interval_profiler, tree_gen_interval_profiler,
tree_gen_one_value_profiler): Call the library functions instead of
creating instrumentation code.
* tree.c (build_fn_decl): New function.
* tree.h (build_fn_decl): Declare.
* value-prof.c (rtl_divmod_values_to_profile,
rtl_find_values_to_profile, rtl_mod_pow2_value_transform,
tree_mod_pow2_value_transform, tree_find_values_to_profile):
Do not handle may_be_other and precise values of exponents at pow2
profiler.
(tree_mod_subtract_transform): Reflect that value field of
histogram has changed meaning.
(tree_divmod_values_to_profile): Record the values correctly.
(tree_values_to_profile): Update comment.
* value-prof.h (struct histogram_value_t): Remove pow2 data.
From-SVN: r98555
2005-04-22 12:57:04 +02:00
|
|
|
|
_gcov_execv _gcov_execvp _gcov_execve \
|
2007-01-19 19:34:02 +01:00
|
|
|
|
_gcov_interval_profiler _gcov_pow2_profiler _gcov_one_value_profiler \
|
expr.c (emit_block_move_via_movmem, [...]): Add variant handling histograms; add wrapper.
* expr.c (emit_block_move_via_movmem, emit_block_move_via_libcall): Add
variant handling histograms; add wrapper.
(clear_storage_via_libcall): Export.
(emit_block_move_hints): Break out from ...; add histograms.
(emit_block_move): ... this one.
(clear_storage_hints): Break out from ...; add histograms.
(clear_storage): ... this one.
(set_storage_via_memset): Handle histogram.
* expr.h (emit_block_move_via_libcall, emit_block_move_hints): Declare.
(clear_storage_hints, clear_storage_via_libcall): Declare.
(set_storage_via_setmem): Update prototype.
* doc/md.texi (movmem, setmem): Document new arguments.
* value-prof.c (dump_histogram_value, tree_find_values_to_profile): Add
new histograms.
(stringop_block_profile): New global function.
(tree_stringops_values_to_profile): Profile block size and alignment.
* value-prof.h (enum hist_type): add HIST_TYPE_AVERAGE and
HIST_TYPE_IOR.
(struct profile_hooks): Add gen_average_profiler and gen_ior_profiler.
(stringop_block_profile): Declare.
* builtins.c: Include value-prof.h.
(expand_builtin_memcpy, expand_builtin_memset): Pass block profile.
* gcov-ui.h (GCOV_COUNTER_NAMES): Add new counter.
(GCOV_COUNTER_AVERAGE, GCOV_COUNTER_IOR): New constants.
(GCOV_COUNTERS, GCOV_LAST_VALUE_COUNTER): Update.
* profile.c (instrument_values): Add new counters.
* cfgexpand.c (expand_gimple_basic_block): Propagate histograms to
calls.
* tree-profile.c (tree_average_profiler_fn, tree_ior_profiler_fn): New.
(tree_init_edge_profiler): Build new profilers.
(tree_gen_average_profiler, tree_gen_ior_profiler): New.
(pass_tree_profile): Add dump.
(tree_profile_hooks): Update.
* Makefile.in (LIBGCOV): Add new constants.
* libgcov.c (__gcov_merge_ior, __gcov_average_profiler,
__gcov_ior_profiler): New.
* i386.md (movmem/setmem expanders): Add new optional arguments.
From-SVN: r121270
2007-01-28 20:38:39 +01:00
|
|
|
|
_gcov_indirect_call_profiler _gcov_average_profiler _gcov_ior_profiler \
|
|
|
|
|
_gcov_merge_ior
|
2001-05-14 04:46:22 +02:00
|
|
|
|
|
1997-12-21 14:45:20 +01:00
|
|
|
|
FPBIT_FUNCS = _pack_sf _unpack_sf _addsub_sf _mul_sf _div_sf \
|
|
|
|
|
_fpcmp_parts_sf _compare_sf _eq_sf _ne_sf _gt_sf _ge_sf \
|
2000-01-24 21:10:04 +01:00
|
|
|
|
_lt_sf _le_sf _unord_sf _si_to_sf _sf_to_si _negate_sf _make_sf \
|
2003-01-26 10:17:13 +01:00
|
|
|
|
_sf_to_df _sf_to_tf _thenan_sf _sf_to_usi _usi_to_sf
|
1997-12-21 14:45:20 +01:00
|
|
|
|
|
|
|
|
|
DPBIT_FUNCS = _pack_df _unpack_df _addsub_df _mul_df _div_df \
|
|
|
|
|
_fpcmp_parts_df _compare_df _eq_df _ne_df _gt_df _ge_df \
|
2000-01-24 21:10:04 +01:00
|
|
|
|
_lt_df _le_df _unord_df _si_to_df _df_to_si _negate_df _make_df \
|
2003-01-26 10:17:13 +01:00
|
|
|
|
_df_to_sf _df_to_tf _thenan_df _df_to_usi _usi_to_df
|
|
|
|
|
|
|
|
|
|
TPBIT_FUNCS = _pack_tf _unpack_tf _addsub_tf _mul_tf _div_tf \
|
|
|
|
|
_fpcmp_parts_tf _compare_tf _eq_tf _ne_tf _gt_tf _ge_tf \
|
|
|
|
|
_lt_tf _le_tf _unord_tf _si_to_tf _tf_to_si _negate_tf _make_tf \
|
|
|
|
|
_tf_to_df _tf_to_sf _thenan_tf _tf_to_usi _usi_to_tf
|
1997-12-21 14:45:20 +01:00
|
|
|
|
|
2006-01-18 01:39:23 +01:00
|
|
|
|
D32PBIT_FUNCS = _addsub_sd _div_sd _mul_sd _plus_sd _minus_sd \
|
|
|
|
|
_eq_sd _ne_sd _lt_sd _gt_sd _le_sd _ge_sd \
|
|
|
|
|
_sd_to_si _sd_to_di _sd_to_usi _sd_to_udi \
|
|
|
|
|
_si_to_sd _di_to_sd _usi_to_sd _udi_to_sd \
|
2007-07-19 00:28:28 +02:00
|
|
|
|
_sd_to_sf _sd_to_df _sd_to_xf _sd_to_tf \
|
|
|
|
|
_sf_to_sd _df_to_sd _xf_to_sd _tf_to_sd \
|
2006-01-18 01:39:23 +01:00
|
|
|
|
_sd_to_dd _sd_to_td _unord_sd _conv_sd
|
|
|
|
|
|
|
|
|
|
D64PBIT_FUNCS = _addsub_dd _div_dd _mul_dd _plus_dd _minus_dd \
|
|
|
|
|
_eq_dd _ne_dd _lt_dd _gt_dd _le_dd _ge_dd \
|
|
|
|
|
_dd_to_si _dd_to_di _dd_to_usi _dd_to_udi \
|
|
|
|
|
_si_to_dd _di_to_dd _usi_to_dd _udi_to_dd \
|
2007-07-19 00:28:28 +02:00
|
|
|
|
_dd_to_sf _dd_to_df _dd_to_xf _dd_to_tf \
|
|
|
|
|
_sf_to_dd _df_to_dd _xf_to_dd _tf_to_dd \
|
2006-01-18 01:39:23 +01:00
|
|
|
|
_dd_to_sd _dd_to_td _unord_dd _conv_dd
|
|
|
|
|
|
|
|
|
|
D128PBIT_FUNCS = _addsub_td _div_td _mul_td _plus_td _minus_td \
|
|
|
|
|
_eq_td _ne_td _lt_td _gt_td _le_td _ge_td \
|
|
|
|
|
_td_to_si _td_to_di _td_to_usi _td_to_udi \
|
|
|
|
|
_si_to_td _di_to_td _usi_to_td _udi_to_td \
|
2007-07-19 00:28:28 +02:00
|
|
|
|
_td_to_sf _td_to_df _td_to_xf _td_to_tf \
|
|
|
|
|
_sf_to_td _df_to_td _xf_to_td _tf_to_td \
|
2006-01-18 01:39:23 +01:00
|
|
|
|
_td_to_sd _td_to_dd _unord_td _conv_td
|
|
|
|
|
|
2001-07-06 16:41:52 +02:00
|
|
|
|
# These might cause a divide overflow trap and so are compiled with
|
|
|
|
|
# unwinder info.
|
|
|
|
|
LIB2_DIVMOD_FUNCS = _divdi3 _moddi3 _udivdi3 _umoddi3 _udiv_w_sdiv _udivmoddi4
|
|
|
|
|
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
# Language makefile fragments.
|
|
|
|
|
|
|
|
|
|
# The following targets define the interface between us and the languages.
|
|
|
|
|
#
|
build-make, cross-make: Delete file.
* build-make, cross-make: Delete file.
* configure.in: Set and substitute CROSS, ALL,
SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_PREFIX_1, HOST_CC,
HOST_CFLAGS, STMP_FIXINC, and STMP_FIXPROTO depending on
whether build == host and host == target. Do not
AC_SUBST_FILE build_overrides or cross_overrides. Do not
AC_SUBST cross_defines or extra_c_flags.
* Makefile.in (NATIVE_SYSTEM_HEADER_DIR): New.
(SYSTEM_HEADER_DIR, HOST_PREFIX, HOST_CC, HOST_PREFIX,
HOST_PREFIX_1, HOST_CFLAGS, ALL, INTERNAL_CFLAGS): Set
partially or completely with autoconf-substituted @variable@
notation.
(INSTALL_TARGET, @cross_defines@, @cross_overrides@,
@build_overrides@, @extra_c_flags@, all.build, install-build,
install-cross-rest, install-float-h-cross): Deleted.
(install-normal): Rename to install. Delete old "install"
indirection rule.
* ada/Makefile.in, ch/Makefile.in: Don't set ALL. Delete
@cross_defines@, @cross_overrides@, @build_overrides@ stanzas.
INTERNAL_CFLAGS is now @CROSS@ -DIN_GCC; update comment.
From-SVN: r47617
2001-12-04 19:02:50 +01:00
|
|
|
|
# all.cross, start.encap, rest.encap,
|
2005-12-07 12:40:30 +01:00
|
|
|
|
# install-common, install-info, install-man,
|
2000-11-05 11:35:33 +01:00
|
|
|
|
# uninstall,
|
2003-11-20 11:08:56 +01:00
|
|
|
|
# mostlyclean, clean, distclean, maintainer-clean,
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
#
|
2003-10-06 09:56:16 +02:00
|
|
|
|
# Each language is linked in with a series of hooks. The name of each
|
|
|
|
|
# hooked is "lang.${target_name}" (eg: lang.info). Configure computes
|
|
|
|
|
# and adds these here. We use double-colon rules for some of the hooks;
|
|
|
|
|
# double-colon rules should be preferred for any new hooks.
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
|
2003-08-31 08:07:42 +02:00
|
|
|
|
# language hooks, generated by configure
|
1997-05-18 14:31:46 +02:00
|
|
|
|
@language_hooks@
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
|
2003-08-31 08:07:42 +02:00
|
|
|
|
# per-language makefile fragments
|
|
|
|
|
ifneq ($(LANG_MAKEFRAGS),)
|
|
|
|
|
include $(LANG_MAKEFRAGS)
|
|
|
|
|
endif
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
|
2004-02-04 21:39:15 +01:00
|
|
|
|
# target and host overrides must follow the per-language makefile fragments
|
|
|
|
|
# so they can override or augment language-specific variables
|
|
|
|
|
|
|
|
|
|
# target overrides
|
|
|
|
|
ifneq ($(tmake_file),)
|
|
|
|
|
include $(tmake_file)
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
# host overrides
|
|
|
|
|
ifneq ($(xmake_file),)
|
|
|
|
|
include $(xmake_file)
|
|
|
|
|
endif
|
|
|
|
|
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2003-03-12 21:41:00 +01:00
|
|
|
|
# -----------------------------
|
|
|
|
|
# Rebuilding this configuration
|
|
|
|
|
# -----------------------------
|
|
|
|
|
|
2005-12-07 12:24:48 +01:00
|
|
|
|
# On the use of stamps:
|
|
|
|
|
# Consider the example of tree-check.h. It is constructed with build/gencheck.
|
|
|
|
|
# A simple rule to build tree-check.h would be
|
|
|
|
|
# tree-check.h: build/gencheck$(build_exeext)
|
|
|
|
|
# $(RUN_GEN) build/gencheck$(build_exeext) > tree-check.h
|
|
|
|
|
#
|
|
|
|
|
# but tree-check.h doesn't change every time gencheck changes. It would the
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
# nice if targets that depend on tree-check.h wouldn't be rebuild
|
2005-12-07 12:24:48 +01:00
|
|
|
|
# unnecessarily when tree-check.h is unchanged. To make this, tree-check.h
|
|
|
|
|
# must not be overwritten with a identical copy. One solution is to use a
|
|
|
|
|
# temporary file
|
|
|
|
|
# tree-check.h: build/gencheck$(build_exeext)
|
2006-02-15 19:46:57 +01:00
|
|
|
|
# $(RUN_GEN) build/gencheck$(build_exeext) > tmp-check.h
|
2005-12-07 12:24:48 +01:00
|
|
|
|
# $(SHELL) $(srcdir)/../move-if-change tmp-check.h tree-check.h
|
|
|
|
|
#
|
|
|
|
|
# This solution has a different problem. Since the time stamp of tree-check.h
|
|
|
|
|
# is unchanged, make will try to update tree-check.h every time it runs.
|
|
|
|
|
# To prevent this, one can add a stamp
|
|
|
|
|
# tree-check.h: s-check
|
|
|
|
|
# s-check : build/gencheck$(build_exeext)
|
2006-02-15 19:46:57 +01:00
|
|
|
|
# $(RUN_GEN) build/gencheck$(build_exeext) > tmp-check.h
|
2005-12-07 12:24:48 +01:00
|
|
|
|
# $(SHELL) $(srcdir)/../move-if-change tmp-check.h tree-check.h
|
|
|
|
|
# $(STAMP) s-check
|
|
|
|
|
#
|
|
|
|
|
# The problem with this solution is that make thinks that tree-check.h is
|
|
|
|
|
# always unchanged. Make must be deceived into thinking that tree-check.h is
|
2006-02-15 19:46:57 +01:00
|
|
|
|
# rebuild by the "tree-check.h: s-check" rule. To do this, add a dummy command:
|
2005-12-07 12:24:48 +01:00
|
|
|
|
# tree-check.h: s-check; @true
|
|
|
|
|
# s-check : build/gencheck$(build_exeext)
|
2006-02-15 19:46:57 +01:00
|
|
|
|
# $(RUN_GEN) build/gencheck$(build_exeext) > tmp-check.h
|
2005-12-07 12:24:48 +01:00
|
|
|
|
# $(SHELL) $(srcdir)/../move-if-change tmp-check.h tree-check.h
|
|
|
|
|
# $(STAMP) s-check
|
|
|
|
|
#
|
|
|
|
|
# This is what is done in this makefile. Note that mkconfig.sh has a
|
|
|
|
|
# move-if-change built-in
|
|
|
|
|
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
Makefile: config.status $(srcdir)/Makefile.in $(LANG_MAKEFRAGS)
|
2003-08-31 08:07:42 +02:00
|
|
|
|
LANGUAGES="$(CONFIG_LANGUAGES)" \
|
|
|
|
|
CONFIG_HEADERS= \
|
2003-11-21 01:39:18 +01:00
|
|
|
|
CONFIG_SHELL="$(SHELL)" \
|
2003-08-31 08:07:42 +02:00
|
|
|
|
CONFIG_FILES=$@ $(SHELL) config.status
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
config.h: cs-config.h ; @true
|
2002-12-16 19:23:00 +01:00
|
|
|
|
bconfig.h: cs-bconfig.h ; @true
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
tconfig.h: cs-tconfig.h ; @true
|
2002-12-16 19:23:00 +01:00
|
|
|
|
tm.h: cs-tm.h ; @true
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
tm_p.h: cs-tm_p.h ; @true
|
|
|
|
|
|
|
|
|
|
cs-config.h: Makefile
|
2002-12-16 19:23:00 +01:00
|
|
|
|
TARGET_CPU_DEFAULT="" \
|
Makefile.in (tm_file): Rename tm_include_list.
* Makefile.in (tm_file): Rename tm_include_list.
(tm_p_file): Rename tm_p_include_list.
(build_xm_file): Rename build_xm_include_list.
(host_xm_file): Rename host_xm_include_list.
(xm_file): Rename xm_include_list.
(xm_file_list): Add to be substituted.
(cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h):
Update to match.
(bt-load.o): Add missing dependency on $(TM_H).
* configure.in: Prefix value of EXTRA_MODES_FILE with config/.
For each of tm_file, tm_p_file, xm_file, host_xm_file, and
build_xm_file, generate both *_file_list and *_include_list
values from it. (xm_file_list was formerly not being generated.)
In *_include_list, prefix the names of all headers found in
$(srcdir)/config with config/. In each loop, consider only
the special case files that can actually appear in that list.
AC_SUBST all *_file_list and all *_include_list variables; do
not AC_SUBST the plain *_file variables.
* configure: Regenerate.
From-SVN: r70449
2003-08-14 22:25:14 +02:00
|
|
|
|
HEADERS="$(host_xm_include_list)" DEFINES="$(host_xm_defines)" \
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
$(SHELL) $(srcdir)/mkconfig.sh config.h
|
|
|
|
|
|
2002-12-16 19:23:00 +01:00
|
|
|
|
cs-bconfig.h: Makefile
|
|
|
|
|
TARGET_CPU_DEFAULT="" \
|
Makefile.in (tm_file): Rename tm_include_list.
* Makefile.in (tm_file): Rename tm_include_list.
(tm_p_file): Rename tm_p_include_list.
(build_xm_file): Rename build_xm_include_list.
(host_xm_file): Rename host_xm_include_list.
(xm_file): Rename xm_include_list.
(xm_file_list): Add to be substituted.
(cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h):
Update to match.
(bt-load.o): Add missing dependency on $(TM_H).
* configure.in: Prefix value of EXTRA_MODES_FILE with config/.
For each of tm_file, tm_p_file, xm_file, host_xm_file, and
build_xm_file, generate both *_file_list and *_include_list
values from it. (xm_file_list was formerly not being generated.)
In *_include_list, prefix the names of all headers found in
$(srcdir)/config with config/. In each loop, consider only
the special case files that can actually appear in that list.
AC_SUBST all *_file_list and all *_include_list variables; do
not AC_SUBST the plain *_file variables.
* configure: Regenerate.
From-SVN: r70449
2003-08-14 22:25:14 +02:00
|
|
|
|
HEADERS="$(build_xm_include_list)" DEFINES="$(build_xm_defines)" \
|
2002-12-16 19:23:00 +01:00
|
|
|
|
$(SHELL) $(srcdir)/mkconfig.sh bconfig.h
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
|
2002-01-08 20:03:20 +01:00
|
|
|
|
cs-tconfig.h: Makefile
|
2001-03-11 22:19:11 +01:00
|
|
|
|
TARGET_CPU_DEFAULT="" \
|
2005-05-08 12:13:19 +02:00
|
|
|
|
HEADERS="$(xm_include_list)" DEFINES="USED_FOR_TARGET $(xm_defines)" \
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
$(SHELL) $(srcdir)/mkconfig.sh tconfig.h
|
|
|
|
|
|
2002-12-16 19:23:00 +01:00
|
|
|
|
cs-tm.h: Makefile
|
|
|
|
|
TARGET_CPU_DEFAULT="$(target_cpu_default)" \
|
Makefile.in (tm_file): Rename tm_include_list.
* Makefile.in (tm_file): Rename tm_include_list.
(tm_p_file): Rename tm_p_include_list.
(build_xm_file): Rename build_xm_include_list.
(host_xm_file): Rename host_xm_include_list.
(xm_file): Rename xm_include_list.
(xm_file_list): Add to be substituted.
(cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h):
Update to match.
(bt-load.o): Add missing dependency on $(TM_H).
* configure.in: Prefix value of EXTRA_MODES_FILE with config/.
For each of tm_file, tm_p_file, xm_file, host_xm_file, and
build_xm_file, generate both *_file_list and *_include_list
values from it. (xm_file_list was formerly not being generated.)
In *_include_list, prefix the names of all headers found in
$(srcdir)/config with config/. In each loop, consider only
the special case files that can actually appear in that list.
AC_SUBST all *_file_list and all *_include_list variables; do
not AC_SUBST the plain *_file variables.
* configure: Regenerate.
From-SVN: r70449
2003-08-14 22:25:14 +02:00
|
|
|
|
HEADERS="$(tm_include_list)" DEFINES="$(tm_defines)" \
|
2002-12-16 19:23:00 +01:00
|
|
|
|
$(SHELL) $(srcdir)/mkconfig.sh tm.h
|
|
|
|
|
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
cs-tm_p.h: Makefile
|
2002-12-16 19:23:00 +01:00
|
|
|
|
TARGET_CPU_DEFAULT="" \
|
Makefile.in (tm_file): Rename tm_include_list.
* Makefile.in (tm_file): Rename tm_include_list.
(tm_p_file): Rename tm_p_include_list.
(build_xm_file): Rename build_xm_include_list.
(host_xm_file): Rename host_xm_include_list.
(xm_file): Rename xm_include_list.
(xm_file_list): Add to be substituted.
(cs-config.h, cs-bconfig.h, cs-tconfig.h, cs-tm.h, cs-tm_p.h):
Update to match.
(bt-load.o): Add missing dependency on $(TM_H).
* configure.in: Prefix value of EXTRA_MODES_FILE with config/.
For each of tm_file, tm_p_file, xm_file, host_xm_file, and
build_xm_file, generate both *_file_list and *_include_list
values from it. (xm_file_list was formerly not being generated.)
In *_include_list, prefix the names of all headers found in
$(srcdir)/config with config/. In each loop, consider only
the special case files that can actually appear in that list.
AC_SUBST all *_file_list and all *_include_list variables; do
not AC_SUBST the plain *_file variables.
* configure: Regenerate.
From-SVN: r70449
2003-08-14 22:25:14 +02:00
|
|
|
|
HEADERS="$(tm_p_include_list)" DEFINES="" \
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
$(SHELL) $(srcdir)/mkconfig.sh tm_p.h
|
|
|
|
|
|
2004-01-09 02:18:35 +01:00
|
|
|
|
# Don't automatically run autoconf, since configure.ac might be accidentally
|
2001-08-02 19:36:33 +02:00
|
|
|
|
# newer than configure. Also, this writes into the source directory which
|
|
|
|
|
# might be on a read-only file system. If configured for maintainer mode
|
|
|
|
|
# then do allow autoconf to be run.
|
|
|
|
|
|
2006-07-10 19:58:18 +02:00
|
|
|
|
$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/aclocal.m4 \
|
|
|
|
|
$(srcdir)/acinclude.m4
|
configure.in: If not NO_MINUS_C_MINUS_O, substitute OUTPUT_OPTION with '-o $@'.
* configure.in: If not NO_MINUS_C_MINUS_O, substitute
OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
top level. Kill oldstyle_subdirs. Do not include
$srcdir/$s/Makefile.in in all_lang_makefiles, but do include
$outputs. Do not run configure.lang from config.status.
Rearrange warning-flag logic to correspond to what the
makefile wants. Put special vax stage1 options in
@stage1_flags@ not @stage1_warn_cflags@. Don't do anything
with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
(--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
switch is given, nothing otherwise.
* configure.lang: Delete.
* Makefile.in: Expunge all traces of extra_c_objs,
extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
@maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
warning options via a three level scheme so that -pedantic and
-Wtraditional are not used for non-C front ends: LOOSE_WARN,
STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
generation rules. Wrap all rules that change the current
directory in parentheses; pmake doesn't spawn a new shell for
each command. Expunge all references to $(P). When one
command depends on another and they're run all at once, use &&
to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
and beyond.
* cp/Make-lang.in, f/Make-lang.in, java/Make-lang.in,
objc/Make-lang.in: Wrap all rules that change the current
directory in parentheses. Expunge all references to $(P).
When one command depends on another and they're run all at
once, use && to separate them, not ;. Add OUTPUT_OPTION to
all object-file generation rules. Delete obsolete variables.
Move all build rules here from the corresponding Makefile.in and
adapt to the new environment.
* cp/Makefile.in, f/Makefile.in, java/Makefile.in, objc/Makefile.in:
Delete.
* cp/config-lang.in, f/config-lang.in, java/config-lang.in:
Delete outputs= line.
From-SVN: r37088
2000-10-27 22:22:28 +02:00
|
|
|
|
(cd $(srcdir) && autoconf)
|
1997-05-18 14:31:46 +02:00
|
|
|
|
|
2000-04-05 00:54:44 +02:00
|
|
|
|
gccbug: $(srcdir)/gccbug.in
|
2001-05-16 21:05:50 +02:00
|
|
|
|
CONFIG_FILES=gccbug CONFIG_HEADERS= ./config.status
|
2000-04-05 00:54:44 +02:00
|
|
|
|
|
1997-07-19 09:03:46 +02:00
|
|
|
|
# cstamp-h.in controls rebuilding of config.in.
|
1997-07-21 20:05:29 +02:00
|
|
|
|
# It is named cstamp-h.in and not stamp-h.in so the mostlyclean rule doesn't
|
|
|
|
|
# delete it. A stamp file is needed as autoheader won't update the file if
|
|
|
|
|
# nothing has changed.
|
1997-07-19 09:03:46 +02:00
|
|
|
|
# It remains in the source directory and is part of the distribution.
|
|
|
|
|
# This follows what is done in shellutils, fileutils, etc.
|
1997-07-21 20:55:54 +02:00
|
|
|
|
# "echo timestamp" is used instead of touch to be consistent with other
|
|
|
|
|
# packages that use autoconf (??? perhaps also to avoid problems with patch?).
|
1997-07-19 09:03:46 +02:00
|
|
|
|
# ??? Newer versions have a maintainer mode that may be useful here.
|
2001-08-02 19:36:33 +02:00
|
|
|
|
|
|
|
|
|
# Don't run autoheader automatically either.
|
|
|
|
|
# Only run it if maintainer mode is enabled.
|
|
|
|
|
@MAINT@ $(srcdir)/config.in: $(srcdir)/cstamp-h.in
|
2004-01-09 02:18:35 +01:00
|
|
|
|
@MAINT@ $(srcdir)/cstamp-h.in: $(srcdir)/configure.ac
|
2001-08-02 19:36:33 +02:00
|
|
|
|
@MAINT@ (cd $(srcdir) && autoheader)
|
|
|
|
|
@MAINT@ @rm -f $(srcdir)/cstamp-h.in
|
|
|
|
|
@MAINT@ echo timestamp > $(srcdir)/cstamp-h.in
|
1998-04-14 10:32:34 +02:00
|
|
|
|
auto-host.h: cstamp-h ; @true
|
1997-07-19 09:03:46 +02:00
|
|
|
|
cstamp-h: config.in config.status
|
2003-08-31 08:07:42 +02:00
|
|
|
|
CONFIG_HEADERS=auto-host.h:config.in \
|
|
|
|
|
CONFIG_FILES= \
|
|
|
|
|
LANGUAGES="$(CONFIG_LANGUAGES)" $(SHELL) config.status
|
1997-07-19 04:49:31 +02:00
|
|
|
|
|
1997-07-21 20:05:29 +02:00
|
|
|
|
# Really, really stupid make features, such as SUN's KEEP_STATE, may force
|
|
|
|
|
# a target to build even if it is up-to-date. So we must verify that
|
|
|
|
|
# config.status does not exist before failing.
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
config.status: $(srcdir)/configure $(srcdir)/config.gcc
|
1997-07-21 20:05:29 +02:00
|
|
|
|
@if [ ! -f config.status ] ; then \
|
2000-11-05 11:35:33 +01:00
|
|
|
|
echo You must configure gcc. Look at http://gcc.gnu.org/install/ for details.; \
|
1997-07-21 20:05:29 +02:00
|
|
|
|
false; \
|
|
|
|
|
else \
|
1998-11-26 02:48:34 +01:00
|
|
|
|
LANGUAGES="$(CONFIG_LANGUAGES)" $(SHELL) config.status --recheck; \
|
1997-07-21 20:05:29 +02:00
|
|
|
|
fi
|
|
|
|
|
|
2003-03-12 21:41:00 +01:00
|
|
|
|
# --------
|
|
|
|
|
# UNSORTED
|
|
|
|
|
# --------
|
|
|
|
|
|
2007-06-14 10:10:41 +02:00
|
|
|
|
# Provide quickstrap as a target that people can type into the gcc directory,
|
|
|
|
|
# and that fails if you're not into it.
|
|
|
|
|
quickstrap: all
|
|
|
|
|
cd $(toplevel_builddir) && $(MAKE) all-target-libgcc
|
|
|
|
|
|
1999-02-22 09:49:36 +01:00
|
|
|
|
all.internal: start.encap rest.encap doc
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# This is what to compile if making a cross-compiler.
|
2006-04-11 05:08:13 +02:00
|
|
|
|
all.cross: native gcc-cross$(exeext) cpp$(exeext) specs \
|
Makefile.def (target_modules): Add libgcc.
./ * 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.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
libgcc-support lang.all.cross doc @GENINSRC@ srcextra
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# This is what must be made before installing GCC and converting libraries.
|
2000-07-31 20:29:58 +02:00
|
|
|
|
start.encap: native xgcc$(exeext) cpp$(exeext) specs \
|
2007-03-06 16:50:28 +01:00
|
|
|
|
libgcc-support lang.start.encap @GENINSRC@ srcextra
|
1994-04-01 08:19:45 +02:00
|
|
|
|
# These can't be made until after GCC can run.
|
Makefile.def (target_modules): Add libgcc.
./ * 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.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
rest.encap: $(STMP_FIXPROTO) lang.rest.encap
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# This is what is made with the host's compiler
|
|
|
|
|
# whether making a cross compiler or not.
|
intl: New directory; see intl/ChangeLog for details.
top:
* intl: New directory; see intl/ChangeLog for details.
* ABOUT-NLS, config.rpath: Import from gettext 0.12.1.
* Makefile.tpl: all-gcc depends on maybe-all-intl.
* Makefile.in: Regenerate.
config:
* gettext.m4: New file - copy of gettext.m4 from binutils
CVS, with added AC_ISC_POSIX macro from gcc/aclocal.m4.
gcc:
* ABOUT-NLS: Delete.
* intl: Delete entire directory.
* aclocal.m4: Include ../config/gettext.m4. Delete
AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
* configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
Remove intl/Makefile from all_outputs.
* configure, config.in: Regenerate.
* Makefile.in: Expunge all references to intl subdirectory.
Add -I../intl to INCLUDES.
* intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
intl:
* Makefile.in: Remove unnecessary capabilities for
installation, build of shared libraries, generation of
distribution tarballs, etc. Fix all the places that rely on
the parent directory. Don't generate libgnuintl.h from
anything; do generate $(objdir)/libintl.h from libgnuintl.h if
necessary. Adjust DEFS for use of config.h.
* libgnuintl.h.in: Rename libgnuintl.h.
* README: New file.
* config.charset, ref-add.sin, ref-del.sin: Delete (unused).
* COPYING.LIB-2.0, COPYING.LIB-2.1: Delete (redundant).
* aclocal.m4: New; generated per instructions in gettext manual.
* configure.in: New; written from scratch for this configuration.
* configure, config.h.in: Generated.
contrib:
* gcc_update: Remove gcc/intl/plural.c from list.
Add new generated files intl/plural.c, intl/configure,
intl/config.h.in.
From-SVN: r68928
2003-07-04 20:18:54 +02:00
|
|
|
|
native: config.status auto-host.h build-@POSUB@ $(LANGUAGES) \
|
2004-04-05 05:58:46 +02:00
|
|
|
|
$(EXTRA_PASSES) $(EXTRA_PROGRAMS) $(COLLECT2)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
|
|
|
|
# Define the names for selecting languages in LANGUAGES.
|
2006-02-20 18:17:04 +01:00
|
|
|
|
c: cc1$(exeext)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1994-12-19 23:49:45 +01:00
|
|
|
|
# Tell GNU make these are phony targets.
|
2006-02-20 18:17:04 +01:00
|
|
|
|
.PHONY: c proto
|
1994-12-19 23:49:45 +01:00
|
|
|
|
|
1992-05-28 00:11:24 +02:00
|
|
|
|
# On the target machine, finish building a cross compiler.
|
|
|
|
|
# This does the things that can't be done on the host machine.
|
Makefile.def (target_modules): Add libgcc.
./ * 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.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
rest.cross: specs
|
1992-05-28 00:11:24 +02:00
|
|
|
|
|
|
|
|
|
# Recompile all the language-independent object files.
|
|
|
|
|
# This is used only if the user explicitly asks for it.
|
[multiple changes]
2000-08-04 Andreas Schwab <schwab@suse.de>
* cppmain.c (cb_def_pragma): Skip the first two tokens from the
token list, which are always `#' and `pragma'.
2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
* tree.c (tree_expr_nonnegative_p): Move to...
* fold-const.c: ... here. Also handle BIND_EXPR and RTL_EXPR.
(rtl_expr_nonnegative_p): New.
* tree.h: Add prototype for rtl_expr_nonnegative_p.
* real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
CONST_DOUBLE_CHAIN: Move to...
* rtl.h: ...here. Use XCINT/XCEXP.
* Makefile.in: Remove toplev.o from OBJS. Add rule to make
libbackend.a; add libbackend.a to STAGESTUFF. Add BACKEND
variable. Use BACKEND when linking cc1, not OBJS. Add BACKEND
to VOL_FILES.
* objc/Make-lang.in (cc1obj): Link with $(BACKEND).
ch:
* Make-lang.in (cc1chill): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in (cc1chill): Link with $(BACKEND). Define BACKEND,
eliminate C_OBJS (was commented out), OBJS, OBJDEPS.
cp:
* Make-lang.in (cc1plus): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in: Add C_OBJS, BACKEND; delete OBJS, OBJDEPS.
(cc1plus): Link with $(BACKEND) and $(C_OBJS).
f:
* Make-lang.in (f771): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
(f771): Link with $(BACKEND).
java:
* Make-lang.in (jc1, jv-scan): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
(jc1): Link with $(BACKEND).
(jv-scan): Depend on version.o, not all of $(OBJS) or $(BACKEND).
From-SVN: r35501
2000-08-05 02:50:02 +02:00
|
|
|
|
compilations: $(BACKEND)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2004-05-24 12:50:45 +02:00
|
|
|
|
# This archive is strictly for the host.
|
2003-07-11 10:33:21 +02:00
|
|
|
|
libbackend.a: $(OBJS@onestep@)
|
[multiple changes]
2000-08-04 Andreas Schwab <schwab@suse.de>
* cppmain.c (cb_def_pragma): Skip the first two tokens from the
token list, which are always `#' and `pragma'.
2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
* tree.c (tree_expr_nonnegative_p): Move to...
* fold-const.c: ... here. Also handle BIND_EXPR and RTL_EXPR.
(rtl_expr_nonnegative_p): New.
* tree.h: Add prototype for rtl_expr_nonnegative_p.
* real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
CONST_DOUBLE_CHAIN: Move to...
* rtl.h: ...here. Use XCINT/XCEXP.
* Makefile.in: Remove toplev.o from OBJS. Add rule to make
libbackend.a; add libbackend.a to STAGESTUFF. Add BACKEND
variable. Use BACKEND when linking cc1, not OBJS. Add BACKEND
to VOL_FILES.
* objc/Make-lang.in (cc1obj): Link with $(BACKEND).
ch:
* Make-lang.in (cc1chill): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in (cc1chill): Link with $(BACKEND). Define BACKEND,
eliminate C_OBJS (was commented out), OBJS, OBJDEPS.
cp:
* Make-lang.in (cc1plus): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in: Add C_OBJS, BACKEND; delete OBJS, OBJDEPS.
(cc1plus): Link with $(BACKEND) and $(C_OBJS).
f:
* Make-lang.in (f771): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
(f771): Link with $(BACKEND).
java:
* Make-lang.in (jc1, jv-scan): Depend on $(BACKEND), not stamp-objlist.
* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
(jc1): Link with $(BACKEND).
(jv-scan): Depend on version.o, not all of $(OBJS) or $(BACKEND).
From-SVN: r35501
2000-08-05 02:50:02 +02:00
|
|
|
|
-rm -rf libbackend.a
|
2003-07-11 10:33:21 +02:00
|
|
|
|
$(AR) $(AR_FLAGS) libbackend.a $(OBJS@onestep@)
|
2004-07-04 19:18:59 +02:00
|
|
|
|
-$(RANLIB) $(RANLIB_FLAGS) libbackend.a
|
1994-04-29 07:01:27 +02:00
|
|
|
|
|
1992-06-24 04:36:02 +02:00
|
|
|
|
# We call this executable `xgcc' rather than `gcc'
|
|
|
|
|
# to avoid confusion if the current directory is in the path
|
|
|
|
|
# and CC is `gcc'. It is renamed to `gcc' when it is installed.
|
2006-05-16 16:27:18 +02:00
|
|
|
|
xgcc$(exeext): $(GCC_OBJS) gccspec.o version.o intl.o prefix.o \
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
version.o $(LIBDEPS) $(EXTRA_GCC_OBJS)
|
2006-05-16 16:27:18 +02:00
|
|
|
|
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(GCC_OBJS) gccspec.o \
|
|
|
|
|
intl.o prefix.o version.o $(EXTRA_GCC_OBJS) $(LIBS)
|
1992-05-28 00:11:24 +02:00
|
|
|
|
|
2000-07-31 20:29:58 +02:00
|
|
|
|
# cpp is to cpp0 as gcc is to cc1.
|
1999-03-26 23:55:35 +01:00
|
|
|
|
# The only difference from xgcc is that it's linked with cppspec.o
|
|
|
|
|
# instead of gccspec.o.
|
2006-05-16 16:27:18 +02:00
|
|
|
|
cpp$(exeext): $(GCC_OBJS) cppspec.o version.o intl.o prefix.o \
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
version.o $(LIBDEPS) $(EXTRA_GCC_OBJS)
|
2006-05-16 16:27:18 +02:00
|
|
|
|
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(GCC_OBJS) cppspec.o \
|
|
|
|
|
intl.o prefix.o version.o $(EXTRA_GCC_OBJS) $(LIBS)
|
1999-03-26 23:55:35 +01:00
|
|
|
|
|
1992-05-28 00:11:24 +02:00
|
|
|
|
# Dump a specs file to make -B./ read these specs over installed ones.
|
2003-01-19 14:04:24 +01:00
|
|
|
|
$(SPECS): xgcc$(exeext)
|
1994-11-16 01:17:27 +01:00
|
|
|
|
$(GCC_FOR_TARGET) -dumpspecs > tmp-specs
|
2003-01-19 14:04:24 +01:00
|
|
|
|
mv tmp-specs $(SPECS)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1992-06-24 04:36:02 +02:00
|
|
|
|
# We do want to create an executable named `xgcc', so we can use it to
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# compile libgcc2.a.
|
|
|
|
|
# Also create gcc-cross, so that install-common will install properly.
|
2006-04-11 05:08:13 +02:00
|
|
|
|
gcc-cross$(exeext): xgcc$(exeext)
|
(SYMLINK): Deleted; unused.
(oldobjext): Deleted; no longer used.
(FLAGS_TO_PASS): Include objext and exeext.
(STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o.
(test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise.
(STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext).
(libgcc1.null, libgcc[12].a, stage[1-4]): Likewise.
(xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value.
(collect2, mips-tfile, mips-tdump, gen*): Likewise.
(bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise.
(protoize, unprotoize, gen-protos, fix-header): Likewise.
(crtbegin.o, crtend.o): Don't use -o; move output to proper
filename (using objext) instead.
(BI_ALL, BC_ALL, bytecode): Deleted; unused.
(bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir).
(getopt{,1}.o, SYSCALLS.c.X): Likewise.
(install-driver): New target.
(install-normal): Depend on it.
(install-common): Don't depend on xgcc.
(maketest): Deleted; no longer used.
(stage[1-4]): Use name collect-ld, not real-ld.
(risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy.
From-SVN: r9770
1995-05-23 00:55:23 +02:00
|
|
|
|
cp xgcc$(exeext) gcc-cross$(exeext)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
dummy-checksum.o : dummy-checksum.c
|
|
|
|
|
|
2005-05-18 22:45:26 +02:00
|
|
|
|
cc1-dummy$(exeext): $(C_OBJS) dummy-checksum.o $(BACKEND) $(LIBDEPS)
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(C_OBJS) dummy-checksum.o \
|
2008-02-06 22:51:24 +01:00
|
|
|
|
$(BACKEND) $(LIBS) $(GMPLIBS)
|
2005-05-18 22:45:26 +02:00
|
|
|
|
|
2005-06-17 01:02:58 +02:00
|
|
|
|
cc1-checksum.c : cc1-dummy$(exeext) build/genchecksum$(build_exeext)
|
|
|
|
|
build/genchecksum$(build_exeext) cc1-dummy$(exeext) > $@
|
2005-05-18 22:45:26 +02:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
cc1-checksum.o : cc1-checksum.c
|
|
|
|
|
|
2005-05-18 22:45:26 +02:00
|
|
|
|
cc1$(exeext): $(C_OBJS) cc1-checksum.o $(BACKEND) $(LIBDEPS)
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(C_OBJS) cc1-checksum.o \
|
2008-02-06 22:51:24 +01:00
|
|
|
|
$(BACKEND) $(LIBS) $(GMPLIBS)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Build libgcc.a.
|
1995-02-13 23:14:59 +01:00
|
|
|
|
|
2001-03-28 13:04:51 +02:00
|
|
|
|
LIB2ADD = $(LIB2FUNCS_EXTRA)
|
2001-04-10 01:43:06 +02:00
|
|
|
|
LIB2ADD_ST = $(LIB2FUNCS_STATIC_EXTRA)
|
2000-05-03 20:21:49 +02:00
|
|
|
|
|
Makefile.def (target_modules): Add libgcc.
./ * 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.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
# All source files for libgcc are either in the source directory (in
|
|
|
|
|
# which case they will start with $(srcdir)), or generated into the build
|
|
|
|
|
# directory (in which case they will be relative paths).
|
|
|
|
|
srcdirify = $(patsubst $(srcdir)%,$$(gcc_srcdir)%,$(filter $(srcdir)%,$(1))) \
|
|
|
|
|
$(patsubst %,$$(gcc_objdir)/%,$(filter-out $(srcdir)%,$(1)))
|
|
|
|
|
|
|
|
|
|
# The distinction between these two variables is no longer relevant,
|
|
|
|
|
# so we combine them. Sort removes duplicates.
|
|
|
|
|
GCC_EXTRA_PARTS := $(sort $(EXTRA_MULTILIB_PARTS) $(EXTRA_PARTS))
|
|
|
|
|
|
|
|
|
|
libgcc-support: libgcc.mvars stmp-int-hdrs $(STMP_FIXPROTO) $(TCONFIG_H) \
|
|
|
|
|
$(MACHMODE_H) $(FPBIT) $(DPBIT) $(TPBIT) $(LIB2ADD) \
|
Makefile.in (libgcc-support, [...]): Add emutls.c.
gcc/ChangeLog:
* Makefile.in (libgcc-support, libgcc.mvars): Add emutls.c.
* builtin-types.def (BT_WORD): Make unsigned.
(BT_FN_VOID_PTR_WORD_WORD_PTR): New.
* builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS): New.
(BUILT_IN_EMUTLS_REGISTER_COMMON): New.
* c-decl.c (grokdeclarator): Don't error if !have_tls.
* c-parser.c (c_parser_omp_threadprivate): Likewise.
* dwarf2out.c (loc_descriptor_from_tree_1): Don't do anything for
emulated tls.
* expr.c (emutls_var_address): New.
(expand_expr_real_1): Expand emulated tls.
(expand_expr_addr_expr_1): Likewise.
* libgcc-std.ver: Add __emutls_get_address, __emutls_register_common.
* output.h (emutls_finish): Declare.
* toplev.c (compile_file): Call it.
* tree-ssa-address.c (gen_addr_rtx): Check for const-ness of the
address before wrapping in CONST.
* varasm.c (emutls_htab, emutls_object_type): New.
(EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): New.
(get_emutls_object_name, get_emutls_object_type): New.
(get_emutls_init_templ_addr, emutls_decl): New.
(emutls_common_1, emutls_finish): New.
(assemble_variable): When emulating tls, swap decls; generate
constructor for the emutls objects.
(do_assemble_alias): When emulating tls, swap decl and target name.
(default_encode_section_info): Don't add SYMBOL_FLAG_TLS_SHIFT
for emulated tls.
* varpool.c (decide_is_variable_needed): Look at force_output.
Recurse for emulated tls.
(cgraph_varpool_remove_unreferenced_decls): Remove checks redundant
with decide_is_variable_needed.
* emutls.c: New file.
* config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): Only emit
tls_object for real tls.
gcc/cp/ChangeLog:
* decl.c (grokvardecl): Don't error if !have_tls.
(grokdeclarator): Likewise.
* parser.c (cp_parser_omp_threadprivate): Likewise.
gcc/fortran/ChangeLog:
* f95-lang.c (gfc_init_builtin_functions): Add __emutls_get_address
and __emutls_register_common.
* openmp.c (gfc_match_omp_threadprivate): Don't error if !have_tls.
* trans-common.c (build_common_decl): Don't check have_tls.
* trans-decl.c (gfc_finish_var_decl): Likewise.
* types.def (BT_WORD, BT_FN_PTR_PTR): New.
(BT_FN_VOID_PTR_WORD_WORD_PTR): New.
gcc/testsuite/ChangeLog:
* lib/target-supports.exp (check_effective_target_tls): Redefine
to mean non-emulated tls.
* gcc.dg/tls/alias-1.c: Remove tls requirement.
* gcc.dg/tls/asm-1.c, gcc.dg/tls/debug-1.c, gcc.dg/tls/diag-1.c,
gcc.dg/tls/diag-2.c, gcc.dg/tls/diag-3.c, gcc.dg/tls/diag-4.c,
gcc.dg/tls/diag-5.c, gcc.dg/tls/init-1.c, gcc.dg/tls/nonpic-1.c,
gcc.dg/tls/opt-10.c, gcc.dg/tls/opt-5.c, gcc.dg/tls/opt-6.c,
gcc.dg/tls/opt-8.c, gcc.dg/tls/opt-9.c, gcc.dg/tls/pic-1.c,
gcc.dg/tls/struct-1.c, gcc.dg/tls/trivial.c: Likewise.
From-SVN: r121800
2007-02-10 20:19:10 +01:00
|
|
|
|
$(LIB2ADD_ST) $(LIB2ADDEH) $(srcdir)/emutls.c gcov-iov.h $(SFP_MACHINE)
|
Makefile.def (target_modules): Add libgcc.
./ * 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.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
|
|
|
|
|
libgcc.mvars: config.status Makefile $(LIB2ADD) $(LIB2ADD_ST) specs \
|
2007-04-13 09:04:39 +02:00
|
|
|
|
xgcc$(exeext)
|
Makefile.def (target_modules): Add libgcc.
./ * 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.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
: > tmp-libgcc.mvars
|
|
|
|
|
echo LIB1ASMFUNCS = '$(LIB1ASMFUNCS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo LIB1ASMSRC = '$(LIB1ASMSRC)' >> tmp-libgcc.mvars
|
|
|
|
|
echo LIB2FUNCS_ST = '$(LIB2FUNCS_ST)' >> tmp-libgcc.mvars
|
|
|
|
|
echo LIB2FUNCS_EXCLUDE = '$(LIB2FUNCS_EXCLUDE)' >> tmp-libgcc.mvars
|
|
|
|
|
echo LIBGCOV = '$(LIBGCOV)' >> tmp-libgcc.mvars
|
|
|
|
|
echo LIB2ADD = '$(call srcdirify,$(LIB2ADD))' >> tmp-libgcc.mvars
|
|
|
|
|
echo LIB2ADD_ST = '$(call srcdirify,$(LIB2ADD_ST))' >> tmp-libgcc.mvars
|
Makefile.in (libgcc-support, [...]): Add emutls.c.
gcc/ChangeLog:
* Makefile.in (libgcc-support, libgcc.mvars): Add emutls.c.
* builtin-types.def (BT_WORD): Make unsigned.
(BT_FN_VOID_PTR_WORD_WORD_PTR): New.
* builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS): New.
(BUILT_IN_EMUTLS_REGISTER_COMMON): New.
* c-decl.c (grokdeclarator): Don't error if !have_tls.
* c-parser.c (c_parser_omp_threadprivate): Likewise.
* dwarf2out.c (loc_descriptor_from_tree_1): Don't do anything for
emulated tls.
* expr.c (emutls_var_address): New.
(expand_expr_real_1): Expand emulated tls.
(expand_expr_addr_expr_1): Likewise.
* libgcc-std.ver: Add __emutls_get_address, __emutls_register_common.
* output.h (emutls_finish): Declare.
* toplev.c (compile_file): Call it.
* tree-ssa-address.c (gen_addr_rtx): Check for const-ness of the
address before wrapping in CONST.
* varasm.c (emutls_htab, emutls_object_type): New.
(EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): New.
(get_emutls_object_name, get_emutls_object_type): New.
(get_emutls_init_templ_addr, emutls_decl): New.
(emutls_common_1, emutls_finish): New.
(assemble_variable): When emulating tls, swap decls; generate
constructor for the emutls objects.
(do_assemble_alias): When emulating tls, swap decl and target name.
(default_encode_section_info): Don't add SYMBOL_FLAG_TLS_SHIFT
for emulated tls.
* varpool.c (decide_is_variable_needed): Look at force_output.
Recurse for emulated tls.
(cgraph_varpool_remove_unreferenced_decls): Remove checks redundant
with decide_is_variable_needed.
* emutls.c: New file.
* config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): Only emit
tls_object for real tls.
gcc/cp/ChangeLog:
* decl.c (grokvardecl): Don't error if !have_tls.
(grokdeclarator): Likewise.
* parser.c (cp_parser_omp_threadprivate): Likewise.
gcc/fortran/ChangeLog:
* f95-lang.c (gfc_init_builtin_functions): Add __emutls_get_address
and __emutls_register_common.
* openmp.c (gfc_match_omp_threadprivate): Don't error if !have_tls.
* trans-common.c (build_common_decl): Don't check have_tls.
* trans-decl.c (gfc_finish_var_decl): Likewise.
* types.def (BT_WORD, BT_FN_PTR_PTR): New.
(BT_FN_VOID_PTR_WORD_WORD_PTR): New.
gcc/testsuite/ChangeLog:
* lib/target-supports.exp (check_effective_target_tls): Redefine
to mean non-emulated tls.
* gcc.dg/tls/alias-1.c: Remove tls requirement.
* gcc.dg/tls/asm-1.c, gcc.dg/tls/debug-1.c, gcc.dg/tls/diag-1.c,
gcc.dg/tls/diag-2.c, gcc.dg/tls/diag-3.c, gcc.dg/tls/diag-4.c,
gcc.dg/tls/diag-5.c, gcc.dg/tls/init-1.c, gcc.dg/tls/nonpic-1.c,
gcc.dg/tls/opt-10.c, gcc.dg/tls/opt-5.c, gcc.dg/tls/opt-6.c,
gcc.dg/tls/opt-8.c, gcc.dg/tls/opt-9.c, gcc.dg/tls/pic-1.c,
gcc.dg/tls/struct-1.c, gcc.dg/tls/trivial.c: Likewise.
From-SVN: r121800
2007-02-10 20:19:10 +01:00
|
|
|
|
echo LIB2ADDEH = '$(call srcdirify,$(LIB2ADDEH) $(srcdir)/emutls.c)' >> tmp-libgcc.mvars
|
|
|
|
|
echo LIB2ADDEHSTATIC = '$(call srcdirify,$(LIB2ADDEHSTATIC) $(srcdir)/emutls.c)' >> tmp-libgcc.mvars
|
|
|
|
|
echo LIB2ADDEHSHARED = '$(call srcdirify,$(LIB2ADDEHSHARED) $(srcdir)/emutls.c)' >> tmp-libgcc.mvars
|
Makefile.def (target_modules): Add libgcc.
./ * 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.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
echo LIB2_SIDITI_CONV_FUNCS = '$(LIB2_SIDITI_CONV_FUNCS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo LIBUNWIND = '$(call srcdirify,$(LIBUNWIND))' >> tmp-libgcc.mvars
|
|
|
|
|
echo SHLIBUNWIND_LINK = '$(SHLIBUNWIND_LINK)' >> tmp-libgcc.mvars
|
|
|
|
|
echo SHLIBUNWIND_INSTALL = '$(SHLIBUNWIND_INSTALL)' >> tmp-libgcc.mvars
|
|
|
|
|
echo FPBIT = '$(FPBIT)' >> tmp-libgcc.mvars
|
|
|
|
|
echo FPBIT_FUNCS = '$(FPBIT_FUNCS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo LIB2_DIVMOD_FUNCS = '$(LIB2_DIVMOD_FUNCS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo DPBIT = '$(DPBIT)' >> tmp-libgcc.mvars
|
|
|
|
|
echo DPBIT_FUNCS = '$(DPBIT_FUNCS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo TPBIT = '$(TPBIT)' >> tmp-libgcc.mvars
|
|
|
|
|
echo TPBIT_FUNCS = '$(TPBIT_FUNCS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo DFP_ENABLE = '$(DFP_ENABLE)' >> tmp-libgcc.mvars
|
|
|
|
|
echo DFP_CFLAGS='$(DFP_CFLAGS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo D32PBIT='$(D32PBIT)' >> tmp-libgcc.mvars
|
|
|
|
|
echo D32PBIT_FUNCS='$(D32PBIT_FUNCS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo D64PBIT='$(D64PBIT)' >> tmp-libgcc.mvars
|
|
|
|
|
echo D64PBIT_FUNCS='$(D64PBIT_FUNCS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo D128PBIT='$(D128PBIT)' >> tmp-libgcc.mvars
|
|
|
|
|
echo D128PBIT_FUNCS='$(D128PBIT_FUNCS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo GCC_EXTRA_PARTS = '$(GCC_EXTRA_PARTS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo SHLIB_LINK = '$(subst $(GCC_FOR_TARGET),$$(GCC_FOR_TARGET),$(SHLIB_LINK))' >> tmp-libgcc.mvars
|
|
|
|
|
echo SHLIB_INSTALL = '$(SHLIB_INSTALL)' >> tmp-libgcc.mvars
|
|
|
|
|
echo SHLIB_EXT = '$(SHLIB_EXT)' >> tmp-libgcc.mvars
|
|
|
|
|
echo SHLIB_MKMAP = '$(call srcdirify,$(SHLIB_MKMAP))' >> tmp-libgcc.mvars
|
|
|
|
|
echo SHLIB_MKMAP_OPTS = '$(SHLIB_MKMAP_OPTS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo SHLIB_MAPFILES = '$(call srcdirify,$(SHLIB_MAPFILES))' >> tmp-libgcc.mvars
|
|
|
|
|
echo SHLIB_NM_FLAGS = '$(SHLIB_NM_FLAGS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo LIBGCC2_CFLAGS = '$(LIBGCC2_CFLAGS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo CRTSTUFF_CFLAGS = '$(CRTSTUFF_CFLAGS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo CRTSTUFF_T_CFLAGS = '$(CRTSTUFF_T_CFLAGS)' >> tmp-libgcc.mvars
|
|
|
|
|
echo CRTSTUFF_T_CFLAGS_S = '$(CRTSTUFF_T_CFLAGS_S)' >> tmp-libgcc.mvars
|
|
|
|
|
|
|
|
|
|
mv tmp-libgcc.mvars libgcc.mvars
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1994-06-15 10:03:05 +02:00
|
|
|
|
# Use the genmultilib shell script to generate the information the gcc
|
|
|
|
|
# driver program needs to select the library directory based on the
|
|
|
|
|
# switches.
|
1998-04-04 15:32:39 +02:00
|
|
|
|
multilib.h: s-mlib; @true
|
|
|
|
|
s-mlib: $(srcdir)/genmultilib Makefile
|
2002-10-05 20:55:54 +02:00
|
|
|
|
if test @enable_multilib@ = yes \
|
|
|
|
|
|| test -n "$(MULTILIB_OSDIRNAMES)"; then \
|
2002-04-05 10:20:02 +02:00
|
|
|
|
$(SHELL) $(srcdir)/genmultilib \
|
|
|
|
|
"$(MULTILIB_OPTIONS)" \
|
|
|
|
|
"$(MULTILIB_DIRNAMES)" \
|
|
|
|
|
"$(MULTILIB_MATCHES)" \
|
|
|
|
|
"$(MULTILIB_EXCEPTIONS)" \
|
|
|
|
|
"$(MULTILIB_EXTRA_OPTS)" \
|
|
|
|
|
"$(MULTILIB_EXCLUSIONS)" \
|
gcc.c (print_multi_os_directory): New variable.
* gcc.c (print_multi_os_directory): New variable.
(option_map): Support --print-multi-os-directory.
(struct prefix_list): Add os_multilib field.
(multilib_os_dir): New variable.
(static_specs): Add multilib_options.
(find_a_file): Add multilib argument. Search in GCC or OS multilib
subdirs if non-zero.
(read_specs, execute): Update callers.
(find_file): Likewise. Don't prefix name with multilib_dir, instead
pass 1 as multilib option.
(display_help): Include --print-multi-os-directory.
(add_prefix): Add os_multilib argument. Initialize pl->os_multilib.
(process_command): Update callers. Handle --print-multi-os-directory.
(do_spec_1) ['D']: Use multilib_os_directory if pl->os_multilib is
set.
(main): Update find_a_file and add_prefix callers.
Handle print_multi_os_directory.
(struct mdswitchstr): New.
(mdswitches, n_mdswitches): New variables.
(used_arg): Add MULTILIB_DEFAULT switches too if they are not
present on the command line nor their mutually incompatible
switches.
(default_arg): Optimize.
(set_multilib_dir): Compute multilib_os_dir. Initialize mdswitches
array.
(print_multilib_info): Only print GCC multilib dir name, not OS
multilib dirname.
* genmultilib: Add osdirnames parameter. Output multilib_options
variable. If osdirnames is specified, output dirnames as
dirname:osdirname.
* mklibgcc.in: Use MULTILIB_OSDIRNAMES, --print-multi-directory
and --print-multi-os-directory instead of SHLIB_SLIBDIR_SUFFIXES
to compute libgcc_s soname and install path.
* Makefile.in (libgcc.mk): Pass MULTILIB_OSDIRNAMES instead of
SHLIB_SLIBDIR_SUFFIXES to mklibgcc.
(s_mlib): Pass MULTILIB_OSDIRNAMES or nothing as last genmultilib
argument.
* config/sparc/t-linux64 (MULTILIB_OSDIRNAMES): Set.
(SHLIB_SLIBDIR_SUFFIXES): Remove.
* config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64,
ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_COMMON): Remove.
(STARTFILE_SPEC, ENDFILE_SPEC): Don't distinguish between -m32
and -m64.
* config/sparc/t-sol2-64 (MULTILIB_OSDIRNAMES): Set.
(SHLIB_SLIBDIR_SUFFIXES): Remove.
* config/sparc/sol2-bi.h (STARTFILE_ARCH64_SPEC): Remove.
(STARTFILE_ARCH_SPEC): Remove.
* config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Set.
(SHLIB_SLIBDIR_SUFFIXES): Remove.
* config/i386/linux64.h (STARTFILE_PREFIX_SPEC): Remove.
* config/mips/t-iris6 (MULTILIB_OSDIRNAMES): Set.
(SHLIB_SLIBDIR_SUFFIXES): Remove.
From-SVN: r57786
2002-10-03 22:35:14 +02:00
|
|
|
|
"$(MULTILIB_OSDIRNAMES)" \
|
2002-10-05 20:55:54 +02:00
|
|
|
|
"@enable_multilib@" \
|
2002-04-05 10:20:02 +02:00
|
|
|
|
> tmp-mlib.h; \
|
|
|
|
|
else \
|
2002-10-05 20:55:54 +02:00
|
|
|
|
$(SHELL) $(srcdir)/genmultilib '' '' '' '' '' '' '' no \
|
|
|
|
|
> tmp-mlib.h; \
|
2002-04-05 10:20:02 +02:00
|
|
|
|
fi
|
move-if-change: Remove.
* move-if-change: Remove.
* Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck)
(s-specs, s-options, s-config, s-conditions, s-flags, s-codes)
(s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep)
(s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds)
(s-gtyp-gen, s-iov): Use the top level move-if-change.
* objc/Make-lang.in (objc/objc-parse.y): Likewise.
(gcc/ada/ChangeLog)
* Make-lang.in (ada/stamp-sdefault): Use the top level
move-if-change.
(gcc/f/ChangeLog)
* Make-lang.in (f/stamp-1t, f/stamp-2t, f/stamp-fo)
(f/stamp-io, f/stamp-nq, f/stamp-op, f/stamp-ot): Use the top
level move-if-change.
From-SVN: r78146
2004-02-20 05:19:33 +01:00
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-mlib.h multilib.h
|
2001-05-13 21:37:13 +02:00
|
|
|
|
$(STAMP) s-mlib
|
1994-06-15 10:03:05 +02:00
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Compile two additional files that are linked with every program
|
1995-07-26 14:18:04 +02:00
|
|
|
|
# linked using GCC on systems using COFF or ELF, for the sake of C++
|
|
|
|
|
# constructors.
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
$(T)crtbegin.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
|
2002-12-16 19:23:00 +01:00
|
|
|
|
gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
|
Makefile.in (CRTSTUFF_CFLAGS): New.
* Makefile.in (CRTSTUFF_CFLAGS): New.
(crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
* config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
crtstuff.c instead of alpha assembly version.
* crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
not FORCE_{INIT,FINI}_SECTION_ALIGN.
(__do_global_dtors_aux): Mark used.
(frame_dummy, __do_global_ctors_aux): Mark used.
(fini_dummy, init_dummy): Remove.
* config/alpha/crtbegin.asm: Remove file.
* config/alpha/crtend.asm: Remove file.
* config/alpha/t-crtbe: Remove file.
* config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
(LINK_EH_SPEC): New.
* config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
calling constructors.
* config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
* config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
* config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
CRT_END_INIT_DUMMY hack.
* config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
invocation sequence.
* config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
* doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
(FORCE_CODE_SECTION_ALIGN): New.
From-SVN: r49261
2002-01-27 05:18:12 +01:00
|
|
|
|
$(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS) \
|
2005-07-25 21:42:04 +02:00
|
|
|
|
-c $(srcdir)/crtstuff.c -DCRT_BEGIN \
|
Makefile.in (CRTSTUFF_CFLAGS): New.
* Makefile.in (CRTSTUFF_CFLAGS): New.
(crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
* config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
crtstuff.c instead of alpha assembly version.
* crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
not FORCE_{INIT,FINI}_SECTION_ALIGN.
(__do_global_dtors_aux): Mark used.
(frame_dummy, __do_global_ctors_aux): Mark used.
(fini_dummy, init_dummy): Remove.
* config/alpha/crtbegin.asm: Remove file.
* config/alpha/crtend.asm: Remove file.
* config/alpha/t-crtbe: Remove file.
* config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
(LINK_EH_SPEC): New.
* config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
calling constructors.
* config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
* config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
* config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
CRT_END_INIT_DUMMY hack.
* config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
invocation sequence.
* config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
* doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
(FORCE_CODE_SECTION_ALIGN): New.
From-SVN: r49261
2002-01-27 05:18:12 +01:00
|
|
|
|
-o $(T)crtbegin$(objext)
|
1996-10-29 21:49:42 +01:00
|
|
|
|
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
$(T)crtend.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
|
2002-12-16 19:23:00 +01:00
|
|
|
|
gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
|
Makefile.in (CRTSTUFF_CFLAGS): New.
* Makefile.in (CRTSTUFF_CFLAGS): New.
(crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
* config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
crtstuff.c instead of alpha assembly version.
* crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
not FORCE_{INIT,FINI}_SECTION_ALIGN.
(__do_global_dtors_aux): Mark used.
(frame_dummy, __do_global_ctors_aux): Mark used.
(fini_dummy, init_dummy): Remove.
* config/alpha/crtbegin.asm: Remove file.
* config/alpha/crtend.asm: Remove file.
* config/alpha/t-crtbe: Remove file.
* config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
(LINK_EH_SPEC): New.
* config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
calling constructors.
* config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
* config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
* config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
CRT_END_INIT_DUMMY hack.
* config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
invocation sequence.
* config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
* doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
(FORCE_CODE_SECTION_ALIGN): New.
From-SVN: r49261
2002-01-27 05:18:12 +01:00
|
|
|
|
$(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS) \
|
2005-07-25 21:42:04 +02:00
|
|
|
|
-c $(srcdir)/crtstuff.c -DCRT_END \
|
Makefile.in (CRTSTUFF_CFLAGS): New.
* Makefile.in (CRTSTUFF_CFLAGS): New.
(crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
* config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
crtstuff.c instead of alpha assembly version.
* crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
not FORCE_{INIT,FINI}_SECTION_ALIGN.
(__do_global_dtors_aux): Mark used.
(frame_dummy, __do_global_ctors_aux): Mark used.
(fini_dummy, init_dummy): Remove.
* config/alpha/crtbegin.asm: Remove file.
* config/alpha/crtend.asm: Remove file.
* config/alpha/t-crtbe: Remove file.
* config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
(LINK_EH_SPEC): New.
* config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
calling constructors.
* config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
* config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
* config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
CRT_END_INIT_DUMMY hack.
* config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
invocation sequence.
* config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
* doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
(FORCE_CODE_SECTION_ALIGN): New.
From-SVN: r49261
2002-01-27 05:18:12 +01:00
|
|
|
|
-o $(T)crtend$(objext)
|
1995-07-26 14:18:04 +02:00
|
|
|
|
|
2000-04-07 16:57:58 +02:00
|
|
|
|
# These are versions of crtbegin and crtend for shared libraries.
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
$(T)crtbeginS.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
|
2002-12-16 19:23:00 +01:00
|
|
|
|
gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
|
Makefile.in (CRTSTUFF_CFLAGS): New.
* Makefile.in (CRTSTUFF_CFLAGS): New.
(crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
* config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
crtstuff.c instead of alpha assembly version.
* crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
not FORCE_{INIT,FINI}_SECTION_ALIGN.
(__do_global_dtors_aux): Mark used.
(frame_dummy, __do_global_ctors_aux): Mark used.
(fini_dummy, init_dummy): Remove.
* config/alpha/crtbegin.asm: Remove file.
* config/alpha/crtend.asm: Remove file.
* config/alpha/t-crtbe: Remove file.
* config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
(LINK_EH_SPEC): New.
* config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
calling constructors.
* config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
* config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
* config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
CRT_END_INIT_DUMMY hack.
* config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
invocation sequence.
* config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
* doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
(FORCE_CODE_SECTION_ALIGN): New.
From-SVN: r49261
2002-01-27 05:18:12 +01:00
|
|
|
|
$(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS_S) \
|
2005-07-25 21:42:04 +02:00
|
|
|
|
-c $(srcdir)/crtstuff.c -DCRT_BEGIN -DCRTSTUFFS_O \
|
2000-04-07 16:57:58 +02:00
|
|
|
|
-o $(T)crtbeginS$(objext)
|
1995-07-26 14:18:04 +02:00
|
|
|
|
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
$(T)crtendS.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
|
2002-12-16 19:23:00 +01:00
|
|
|
|
gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
|
Makefile.in (CRTSTUFF_CFLAGS): New.
* Makefile.in (CRTSTUFF_CFLAGS): New.
(crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
* config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
crtstuff.c instead of alpha assembly version.
* crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
not FORCE_{INIT,FINI}_SECTION_ALIGN.
(__do_global_dtors_aux): Mark used.
(frame_dummy, __do_global_ctors_aux): Mark used.
(fini_dummy, init_dummy): Remove.
* config/alpha/crtbegin.asm: Remove file.
* config/alpha/crtend.asm: Remove file.
* config/alpha/t-crtbe: Remove file.
* config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
(LINK_EH_SPEC): New.
* config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
calling constructors.
* config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
* config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
* config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
CRT_END_INIT_DUMMY hack.
* config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
invocation sequence.
* config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
* doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
(FORCE_CODE_SECTION_ALIGN): New.
From-SVN: r49261
2002-01-27 05:18:12 +01:00
|
|
|
|
$(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS_S) \
|
2005-07-25 21:42:04 +02:00
|
|
|
|
-c $(srcdir)/crtstuff.c -DCRT_END -DCRTSTUFFS_O \
|
2000-04-07 16:57:58 +02:00
|
|
|
|
-o $(T)crtendS$(objext)
|
1996-03-05 00:39:06 +01:00
|
|
|
|
|
configure.in: Check for ld.
* configure.in: Check for ld.
(HAVE_LD_EH_FRAME_HDR): Define if ld supports --eh-frame-hdr option.
* configure, config.in: Rebuilt.
* config.gcc: Add crtbeginT.o to extra_parts where needed.
* config/t-linux (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde-glibc
frame unwinding on Linux.
* config/t-linux-gnulibc1 (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde
frame unwinding.
* config/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
(LINK_EH_SPEC): Define.
* config/i386/gnu.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
* config/ia64/linux.h (STARTFILE_SPEC, LINK_EH_SPEC): Define.
* config/ia64/fde-glibc.c (_Unwind_IteratePhdrCallback): Don't
iterate further if pc falls into current library, but fde was not
found.
* config/sparc/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static
if using glibc.
(LINK_EH_SPEC): Define.
* config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64):
Use crtbeginT.o for -static.
(LINK_EH_SPEC): Define.
* config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
* Makefile.in (crtbeginT.o): Add rule.
* gcc.c (init_gcc_specs): For -static-libgcc, use -lgcc -lgcc_eh.
If neither -static-libgcc nor -shared-libgcc is passed and -shared,
use -lgcc if LINK_EH_SPEC is defined and -lgcc_s -lgcc if not.
If none of the above switches are passed, use -lgcc -lgcc_eh.
(init_spec): If LINK_EH_SPEC is defined, prepend it to link_spec.
* mklibgcc.in: Don't include LIB2ADDEH objects into libgcc.a if
creating libgcc_s.so, put them into separate libgcc_eh.a instead.
* unwind-dw2-fde.c: Don't include any headers if this file
is included from other .c file.
* unwind-dw2-fde-glibc.c: New file.
* crtstuff.c (USE_PT_GNU_EH_FRAME, USE_EH_FRAME_REGISTRY): Define.
Use it instead of EH_FRAME_SECTION_NAME where appropriate.
From-SVN: r48039
2001-12-15 12:49:18 +01:00
|
|
|
|
# This is a version of crtbegin for -static links.
|
|
|
|
|
$(T)crtbeginT.o: crtstuff.c $(GCC_PASSES) $(TCONFIG_H) auto-host.h \
|
2002-12-16 19:23:00 +01:00
|
|
|
|
gbl-ctors.h stmp-int-hdrs tsystem.h coretypes.h $(TM_H)
|
Makefile.in (CRTSTUFF_CFLAGS): New.
* Makefile.in (CRTSTUFF_CFLAGS): New.
(crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
* config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
crtstuff.c instead of alpha assembly version.
* crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN
not FORCE_{INIT,FINI}_SECTION_ALIGN.
(__do_global_dtors_aux): Mark used.
(frame_dummy, __do_global_ctors_aux): Mark used.
(fini_dummy, init_dummy): Remove.
* config/alpha/crtbegin.asm: Remove file.
* config/alpha/crtend.asm: Remove file.
* config/alpha/t-crtbe: Remove file.
* config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
(LINK_EH_SPEC): New.
* config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before
calling constructors.
* config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
* config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
* config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
CRT_END_INIT_DUMMY hack.
* config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
FORCE_{INIT,FINI}_SECTION_ALIGN.
* config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
invocation sequence.
* config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
* doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
(FORCE_CODE_SECTION_ALIGN): New.
From-SVN: r49261
2002-01-27 05:18:12 +01:00
|
|
|
|
$(GCC_FOR_TARGET) $(CRTSTUFF_CFLAGS) $(CRTSTUFF_T_CFLAGS) \
|
2005-07-25 21:42:04 +02:00
|
|
|
|
-c $(srcdir)/crtstuff.c -DCRT_BEGIN -DCRTSTUFFT_O \
|
configure.in: Check for ld.
* configure.in: Check for ld.
(HAVE_LD_EH_FRAME_HDR): Define if ld supports --eh-frame-hdr option.
* configure, config.in: Rebuilt.
* config.gcc: Add crtbeginT.o to extra_parts where needed.
* config/t-linux (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde-glibc
frame unwinding on Linux.
* config/t-linux-gnulibc1 (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde
frame unwinding.
* config/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
(LINK_EH_SPEC): Define.
* config/i386/gnu.h (STARTFILE_SPEC): Use crtbeginT.o for -static.
* config/ia64/linux.h (STARTFILE_SPEC, LINK_EH_SPEC): Define.
* config/ia64/fde-glibc.c (_Unwind_IteratePhdrCallback): Don't
iterate further if pc falls into current library, but fde was not
found.
* config/sparc/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static
if using glibc.
(LINK_EH_SPEC): Define.
* config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64):
Use crtbeginT.o for -static.
(LINK_EH_SPEC): Define.
* config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtbeginT.o.
* Makefile.in (crtbeginT.o): Add rule.
* gcc.c (init_gcc_specs): For -static-libgcc, use -lgcc -lgcc_eh.
If neither -static-libgcc nor -shared-libgcc is passed and -shared,
use -lgcc if LINK_EH_SPEC is defined and -lgcc_s -lgcc if not.
If none of the above switches are passed, use -lgcc -lgcc_eh.
(init_spec): If LINK_EH_SPEC is defined, prepend it to link_spec.
* mklibgcc.in: Don't include LIB2ADDEH objects into libgcc.a if
creating libgcc_s.so, put them into separate libgcc_eh.a instead.
* unwind-dw2-fde.c: Don't include any headers if this file
is included from other .c file.
* unwind-dw2-fde-glibc.c: New file.
* crtstuff.c (USE_PT_GNU_EH_FRAME, USE_EH_FRAME_REGISTRY): Define.
Use it instead of EH_FRAME_SECTION_NAME where appropriate.
From-SVN: r48039
2001-12-15 12:49:18 +01:00
|
|
|
|
-o $(T)crtbeginT$(objext)
|
|
|
|
|
|
2000-05-03 20:21:49 +02:00
|
|
|
|
# Compile the start modules crt0.o and mcrt0.o that are linked with
|
|
|
|
|
# every program
|
2008-02-25 15:47:35 +01:00
|
|
|
|
$(T)crt0.o: s-crt0 ; @true
|
|
|
|
|
$(T)mcrt0.o: s-crt0; @true
|
1996-03-05 00:39:06 +01:00
|
|
|
|
|
1998-04-04 15:32:39 +02:00
|
|
|
|
s-crt0: $(CRT0_S) $(MCRT0_S) $(GCC_PASSES) $(CONFIG_H)
|
1996-03-05 00:39:06 +01:00
|
|
|
|
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(CRT0STUFF_T_CFLAGS) \
|
2008-02-25 15:47:35 +01:00
|
|
|
|
-o $(T)crt0.o -c $(CRT0_S)
|
1996-03-05 00:39:06 +01:00
|
|
|
|
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(CRT0STUFF_T_CFLAGS) \
|
2008-02-25 15:47:35 +01:00
|
|
|
|
-o $(T)mcrt0.o -c $(MCRT0_S)
|
2001-05-13 21:37:13 +02:00
|
|
|
|
$(STAMP) s-crt0
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Compiling object files from source files.
|
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
# Note that dependencies on obstack.h are not written
|
|
|
|
|
# because that file is not part of GCC.
|
|
|
|
|
|
|
|
|
|
# C language specific files.
|
|
|
|
|
|
|
|
|
|
c-errors.o: c-errors.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(C_TREE_H) $(FLAGS_H) $(DIAGNOSTIC_H) $(TM_P_H)
|
|
|
|
|
c-parser.o : c-parser.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(GGC_H) $(TIMEVAR_H) $(C_TREE_H) input.h $(FLAGS_H) toplev.h output.h \
|
|
|
|
|
$(CPPLIB_H) gt-c-parser.h langhooks.h $(C_COMMON_H) $(C_PRAGMA_H) \
|
|
|
|
|
vec.h $(TARGET_H)
|
|
|
|
|
|
2004-02-06 02:02:31 +01:00
|
|
|
|
srcextra: gcc.srcextra lang.srcextra
|
|
|
|
|
|
2007-03-26 23:18:43 +02:00
|
|
|
|
gcc.srcextra: gengtype-lex.c
|
re PR bootstrap/12744 (A GCC release tarball can no longer be built without bison/flex)
gcc/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12744
* configure.in: Revamp enable-generated-files-in-srcdir rule to define
GENINSRC and not parsedir. Define srcextra as a langhook.
* configure: Regenerate.
* Makefile.in: Suppress default .l.c rule. Don't substitute
parsedir and delete all references throughout. Conditionally define
rule for srcextra dependent on GENINSRC.
(stmp-docobjdir): Delete.
(c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
(srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
and gengtype-yacc.h back to source directory.
(maintainer-clean): Delete all parse files in source directory.
(distclean): Delete generated files.
* objc/Make-lang.in (objc-parse.o): Use implicit build rule.
(objc-parse.c, objc-parse.y): Don't use parsedir.
(objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
directory if requested.
(po-generated): Don't use parsedir.
(objc.maintainer-clean): Delete above files from source directory.
gcc/ada/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (ada.srcextra): Dummy entry.
gcc/cp/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (c++.srcextra): Dummy entry.
gcc/f/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (f77.srcextra): Dummy entry.
gcc/java/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (parse.c, parse-scan.c): Always build in doc directory.
(java.srcextra): Copy above back to source directory if requested.
(po-generated): Delete reference to $(parsedir).
(java/parse.o, java/parse-scan.o): Delete reference to $(parsedir).
Use implicit rule.
gcc/treelang/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
(treelang/parse.o, treelang/lex.o): Look for sources in build
directory. Use implicit rule.
(treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
doc directory.
(treelang.srcextra): Copy above back to source directory if requested.
From-SVN: r75903
2004-01-15 05:02:24 +01:00
|
|
|
|
-cp -p $^ $(srcdir)
|
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
c-incpath.o: c-incpath.c c-incpath.h $(CONFIG_H) $(SYSTEM_H) $(CPPLIB_H) \
|
|
|
|
|
intl.h prefix.h coretypes.h $(TM_H) cppdefault.h $(TARGET_H) \
|
|
|
|
|
$(MACHMODE_H)
|
|
|
|
|
|
|
|
|
|
c-decl.o : c-decl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(RTL_H) $(C_TREE_H) $(GGC_H) $(TARGET_H) $(FLAGS_H) $(FUNCTION_H) output.h \
|
|
|
|
|
$(EXPR_H) debug.h toplev.h intl.h $(TM_P_H) $(TREE_INLINE_H) $(TIMEVAR_H) \
|
|
|
|
|
opts.h $(C_PRAGMA_H) gt-c-decl.h $(CGRAPH_H) $(HASHTAB_H) libfuncs.h \
|
|
|
|
|
except.h $(LANGHOOKS_DEF_H) $(TREE_DUMP_H) $(C_COMMON_H) $(CPPLIB_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) input.h langhooks.h $(TREE_GIMPLE_H) tree-mudflap.h \
|
|
|
|
|
pointer-set.h
|
|
|
|
|
c-typeck.o : c-typeck.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) $(C_TREE_H) $(TARGET_H) $(FLAGS_H) intl.h output.h $(EXPR_H) \
|
|
|
|
|
$(RTL_H) toplev.h $(TM_P_H) langhooks.h $(GGC_H) $(TREE_FLOW_H) \
|
|
|
|
|
$(TREE_GIMPLE_H) tree-iterator.h
|
|
|
|
|
c-lang.o : c-lang.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(C_TREE_H) $(DIAGNOSTIC_H) \
|
|
|
|
|
$(GGC_H) langhooks.h $(LANGHOOKS_DEF_H) $(C_COMMON_H) gtype-c.h \
|
|
|
|
|
c-objc-common.h $(C_PRAGMA_H) c-common.def $(TREE_INLINE_H)
|
|
|
|
|
stub-objc.o : stub-objc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
|
|
|
|
|
$(C_COMMON_H)
|
|
|
|
|
c-lex.o : c-lex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(RTL_H) debug.h $(C_TREE_H) $(C_COMMON_H) $(REAL_H) $(SPLAY_TREE_H) \
|
|
|
|
|
$(C_PRAGMA_H) input.h intl.h $(FLAGS_H) toplev.h output.h \
|
|
|
|
|
$(CPPLIB_H) $(TARGET_H) $(TIMEVAR_H) $(TM_P_H)
|
|
|
|
|
c-ppoutput.o : c-ppoutput.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(C_COMMON_H) $(TREE_H) $(CPPLIB_H) $(srcdir)/../libcpp/internal.h \
|
|
|
|
|
$(C_PRAGMA_H)
|
|
|
|
|
c-objc-common.o : c-objc-common.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(TREE_H) $(C_TREE_H) $(RTL_H) insn-config.h $(INTEGRATE_H) \
|
|
|
|
|
$(FUNCTION_H) $(FLAGS_H) toplev.h $(TREE_INLINE_H) $(DIAGNOSTIC_H) $(VARRAY_H) \
|
|
|
|
|
langhooks.h $(GGC_H) $(TARGET_H) $(C_PRETTY_PRINT_H) c-objc-common.h \
|
|
|
|
|
tree-mudflap.h
|
|
|
|
|
c-aux-info.o : c-aux-info.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(C_TREE_H) $(FLAGS_H) toplev.h
|
|
|
|
|
c-convert.o : c-convert.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) $(FLAGS_H) toplev.h $(C_COMMON_H) convert.h $(C_TREE_H) \
|
|
|
|
|
langhooks.h $(TARGET_H)
|
|
|
|
|
c-pragma.o: c-pragma.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(FUNCTION_H) $(C_PRAGMA_H) toplev.h output.h $(GGC_H) $(TM_P_H) \
|
|
|
|
|
$(C_COMMON_H) $(TARGET_H) gt-c-pragma.h $(CPPLIB_H) $(FLAGS_H)
|
|
|
|
|
graph.o: graph.c $(SYSTEM_H) coretypes.h $(TM_H) toplev.h $(FLAGS_H) output.h \
|
|
|
|
|
$(RTL_H) $(FUNCTION_H) hard-reg-set.h $(BASIC_BLOCK_H) graph.h $(OBSTACK_H)
|
|
|
|
|
sbitmap.o: sbitmap.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(FLAGS_H) hard-reg-set.h $(BASIC_BLOCK_H) $(OBSTACK_H)
|
|
|
|
|
ebitmap.o: ebitmap.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(EBITMAP_H)
|
|
|
|
|
sparseset.o: sparseset.c $(SYSTEM_H) sparseset.h
|
|
|
|
|
|
2002-09-11 21:58:02 +02:00
|
|
|
|
COLLECT2_OBJS = collect2.o tlink.o intl.o version.o
|
config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
2001-05-01 Zack Weinberg <zackw@stanford.edu>
* config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
Remove references to deleted files.
(*-*-openbsd): No need to override xmake_file.
(*-*-sysv4): Treat like *-*-sysv.
* configure.in: Probe for ldopen in various places, and set up
collect2 to be linked with them if found.
Don't dink with Windows registry stuff unless $host_os is a
Win32 os name. Check to see if we need -ladvapi32.
* configure: Regenerate.
* Makefile: Get rid of CLIB and HOST_CLIB.
Substitute in COLLECT2_LIBS and link collect2 against its contents.
* build-make: Get rid of HOST_CLIB.
* config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
config/rs6000/x-rs6000: Delete.
* config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
Don't set CLIB.
24 x-host fragments remain, 0 x-cpu, 3 top level.
2001-05-01 Zack Weinberg <zackw@stanford.edu>
* aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
* configure: Regenerate.
From-SVN: r41732
2001-05-01 19:45:05 +02:00
|
|
|
|
COLLECT2_LIBS = @COLLECT2_LIBS@
|
1999-02-09 21:55:29 +01:00
|
|
|
|
collect2$(exeext): $(COLLECT2_OBJS) $(LIBDEPS)
|
1992-10-18 06:30:48 +01:00
|
|
|
|
# Don't try modifying collect2 (aka ld) in place--it might be linking this.
|
2001-08-17 16:41:51 +02:00
|
|
|
|
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o T$@ \
|
config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
2001-05-01 Zack Weinberg <zackw@stanford.edu>
* config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
Remove references to deleted files.
(*-*-openbsd): No need to override xmake_file.
(*-*-sysv4): Treat like *-*-sysv.
* configure.in: Probe for ldopen in various places, and set up
collect2 to be linked with them if found.
Don't dink with Windows registry stuff unless $host_os is a
Win32 os name. Check to see if we need -ladvapi32.
* configure: Regenerate.
* Makefile: Get rid of CLIB and HOST_CLIB.
Substitute in COLLECT2_LIBS and link collect2 against its contents.
* build-make: Get rid of HOST_CLIB.
* config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
config/rs6000/x-rs6000: Delete.
* config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
Don't set CLIB.
24 x-host fragments remain, 0 x-cpu, 3 top level.
2001-05-01 Zack Weinberg <zackw@stanford.edu>
* aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
* configure: Regenerate.
From-SVN: r41732
2001-05-01 19:45:05 +02:00
|
|
|
|
$(COLLECT2_OBJS) $(LIBS) $(COLLECT2_LIBS)
|
2001-08-17 16:41:51 +02:00
|
|
|
|
mv -f T$@ $@
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
collect2.o : collect2.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) intl.h \
|
|
|
|
|
$(OBSTACK_H) $(DEMANGLE_H) collect2.h version.h
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
|
|
|
|
|
-DTARGET_MACHINE=\"$(target_noncanonical)\" \
|
|
|
|
|
-c $(srcdir)/collect2.c $(OUTPUT_OPTION)
|
|
|
|
|
|
|
|
|
|
tlink.o: tlink.c $(DEMANGLE_H) $(HASHTAB_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(OBSTACK_H) collect2.h intl.h
|
|
|
|
|
|
|
|
|
|
# A file used by all variants of C.
|
|
|
|
|
|
|
|
|
|
c-common.o : c-common.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(OBSTACK_H) $(C_COMMON_H) $(FLAGS_H) toplev.h output.h $(C_PRAGMA_H) \
|
|
|
|
|
$(GGC_H) $(EXPR_H) $(TM_P_H) builtin-types.def builtin-attrs.def \
|
|
|
|
|
$(DIAGNOSTIC_H) gt-c-common.h langhooks.h $(VARRAY_H) $(RTL_H) \
|
|
|
|
|
$(TARGET_H) $(C_TREE_H) tree-iterator.h langhooks.h tree-mudflap.h \
|
|
|
|
|
intl.h opts.h $(REAL_H) $(CPPLIB_H) $(TREE_INLINE_H) $(HASHTAB_H) \
|
|
|
|
|
$(BUILTINS_DEF)
|
|
|
|
|
|
|
|
|
|
c-pretty-print.o : c-pretty-print.c $(C_PRETTY_PRINT_H) \
|
|
|
|
|
$(C_TREE_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(REAL_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) tree-iterator.h fixed-value.h
|
|
|
|
|
|
|
|
|
|
c-opts.o : c-opts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) $(C_PRAGMA_H) $(FLAGS_H) toplev.h langhooks.h \
|
|
|
|
|
$(TREE_INLINE_H) $(DIAGNOSTIC_H) intl.h debug.h $(C_COMMON_H) \
|
|
|
|
|
opts.h options.h $(MKDEPS_H) c-incpath.h cppdefault.h $(TM_P_H)
|
|
|
|
|
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
|
|
|
|
|
$< $(OUTPUT_OPTION) @TARGET_SYSTEM_ROOT_DEFINE@
|
|
|
|
|
|
|
|
|
|
c-cppbuiltin.o : c-cppbuiltin.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) version.h $(C_COMMON_H) $(C_PRAGMA_H) $(FLAGS_H) toplev.h \
|
|
|
|
|
output.h except.h $(REAL_H) $(TARGET_H) $(TM_P_H)
|
|
|
|
|
|
|
|
|
|
# A file used by all variants of C and some other languages.
|
|
|
|
|
|
|
|
|
|
attribs.o : attribs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(FLAGS_H) toplev.h output.h $(RTL_H) $(GGC_H) $(TM_P_H) \
|
|
|
|
|
$(TARGET_H) langhooks.h $(CPPLIB_H)
|
|
|
|
|
|
|
|
|
|
c-format.o : c-format.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) langhooks.h \
|
|
|
|
|
$(C_COMMON_H) $(FLAGS_H) toplev.h intl.h $(DIAGNOSTIC_H) alloc-pool.h \
|
|
|
|
|
c-format.h
|
|
|
|
|
|
|
|
|
|
c-semantics.o : c-semantics.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) $(FLAGS_H) toplev.h output.h $(RTL_H) $(GGC_H) \
|
|
|
|
|
$(PREDICT_H) $(TREE_INLINE_H) $(C_COMMON_H) except.h $(FUNCTION_H) \
|
|
|
|
|
langhooks.h $(SPLAY_TREE_H) $(TIMEVAR_H) $(TREE_GIMPLE_H) \
|
|
|
|
|
$(VARRAY_H)
|
|
|
|
|
|
|
|
|
|
c-dump.o : c-dump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(C_TREE_H) $(TREE_DUMP_H)
|
|
|
|
|
|
|
|
|
|
c-pch.o : c-pch.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(CPPLIB_H) $(TREE_H) \
|
|
|
|
|
$(C_COMMON_H) output.h toplev.h $(C_PRAGMA_H) $(GGC_H) debug.h \
|
|
|
|
|
langhooks.h $(FLAGS_H) hosthooks.h version.h $(TARGET_H)
|
|
|
|
|
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
|
|
|
|
|
-DHOST_MACHINE=\"$(host)\" -DTARGET_MACHINE=\"$(target)\" \
|
|
|
|
|
$< $(OUTPUT_OPTION)
|
|
|
|
|
|
|
|
|
|
c-omp.o : c-omp.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(FUNCTION_H) $(C_COMMON_H) toplev.h $(TREE_GIMPLE_H)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
# Language-independent files.
|
x-solaris (host-solaris.o): Update.
gcc
* config/x-solaris (host-solaris.o): Update.
* config/x-linux (host-linux.o): Update.
* config/x-hpux (host-hpux.o): Update.
* config/x-darwin (host-darwin.o): Update.
* config/v850/t-v850e (v850-c.o): Update.
* config/v850/t-v850 (v850-c.o): Update.
* config/t-vxworks (vxworks.o): Update.
* config/t-sol2 (sol2-c.o, sol2.o): Update.
* config/t-darwin (darwin.o, darwin-c.o, darwin-driver.o):
Update.
* config/spu/t-spu-elf (spu-c.o): Update.
(spu.o): Remove.
* config/sh/t-symbian (sh-c.o): Update.
(symbian.o): Update.
* config/sh/t-sh (sh-c.o): Update.
* config/score/t-score-elf (score7.o, score3.o): Update.
* config/rs6000/x-rs6000 (driver-rs6000.o): Update.
* config/rs6000/x-darwin64 (host-ppc64-darwin.o): Update.
* config/rs6000/x-darwin (host-ppc-darwin.o): Update.
* config/rs6000/t-rs6000 (rs6000-c.o): Update.
(rs6000.o): Remove.
* config/m68k/t-uclinux (generated_files): Add sysroot-suffix.h.
* config/m32c/t-m32c (m32c-pragma.o): Update.
* config/ia64/t-ia64 (ia64-c.o): Update.
* config/i386/x-mingw32 (host-mingw32.o): Update.
* config/i386/x-i386 (driver-i386.o): Update.
* config/i386/x-darwin (host-i386-darwin.o): Update.
* config/i386/x-cygwin (host-cygwin.o): Update.
* config/i386/t-nwld (nwld.o): Update.
* config/i386/t-netware (netware.o): Update.
* config/i386/t-interix (winnt.o): Update.
* config/i386/t-cygwin (cygwin1.o, cygwin2.o): Update.
* config/i386/t-cygming (winnt.o, winnt-cxx.o, winnt-stubs.o,
msformat-c.o): Update.
* config/bfin/t-bfin-linux (generated_files): Add
linux-sysroot-suffix.h.
* config/arm/t-wince-pe (pe.o): Update.
* config/arm/t-strongarm-pe (pe.o): Update.
* config/arm/t-pe (pe.o): Update.
* config/arm/t-arm (arm-c.o): Update.
* doc/install.texi (Prerequisites): Require make 3.80.
* Makefile.in: Remove .o targets.
(CCDEPMODE, DEPDIR, depcomp, BUILD_DEPMODE): New variables.
(OBSTACK_H, FIBHEAP_H, PARTITION_H, MD5_H, BCONFIG_H): Remove.
(simple_generated_h, simple_generated_c): Move earlier.
(generated_files): New variable.
(TARGET_H, MACHMODE_H, HOOKS_H, HOSTHOOKS_DEF_H, LANGHOOKS_DEF_H,
TARGET_DEF_H, RTL_BASE_H, RTL_H, PARAMS_H, BUILTINS_DEF, TREE_H,
BASIC_BLOCK_H, GCOV_IO_H, COVERAGE_H, DEMANGLE_H, RECOG_H,
ALIAS_H, EMIT_RTL_H, FLAGS_H, FUNCTION_H, EXPR_H, OPTABS_H,
REGS_H, RA_H, RESOURCE_H, SCHED_INT_H, INTEGRATE_H, CFGLAYOUT_H,
CFGLOOP_H, IPA_UTILS_H, IPA_REFERENCE_H, IPA_TYPE_ESCAPE_H,
CGRAPH_H, DF_H, RESOURCE_H, DDG_H, GCC_H, GGC_H, TIMEVAR_H,
INSN_ATTR_H, C_COMMON_H, C_PRAGMA_H, C_TREE_H, SYSTEM_H,
PREDICT_H, DECNUM_H, MKDEPS_H, SYMTAB_H, TREE_DUMP_H,
TREE_GIMPLE_H, TREE_FLOW_H, TREE_SSA_LIVE_H, PRETTY_PRINT_H,
DIAGNOSTIC_H, C_PRETTY_PRINT_H, SCEV_H, LAMBDA_H, TREE_DATA_REF_H,
VARRAY_H, TREE_INLINE_H, REAL_H, DBGCNT_H, EBIMAP_H): Remove.
(.c.o): Remove.
(COMPILE.base, COMPILE): New variables.
(%.o): New pattern rule.
(ALL_HOST_OBJS): New variable.
(xgcc$(exeext), cpp$(exeext)): Remove extra version.o.
(dummy-checksum.o, cc1-checksum.o): Remove.
(DRIVER_SHLIB): New variable.
(DRIVER_DEFINES): Use it.
(gencondmd.c): Move out of build/.
(s-conditions): Update.
(BUILDCOMPILE.base, BUILDCOMPILE): New variables.
(ALL_BUILD_OBJS): Likewise.
(build/%.o): Use BUILDCOMPILE.
(build/ggc-none.o, build/ggc-none.o, build/min-insn-modes.o,
build/print-rtl.o, build/read-rtl.o, build/rtl.o, build/vec.o,
build/gencondmd.o, build/genattrtab.o, build/genautomata.o,
build/gencheck.o, build/gencodes.o, build/genconditions.o,
build/genconfig.o, build/genconstants.o, build/genemit.o,
build/genextract.o, build/genflags.o, build/genmddeps.o,
build/genopinit.o, build/genoutput.o, build/genpeep.o,
build/genpreds.o, build/genrecog.o, build/gcov-iov.o,
build/gen-protos.o, build/scan.o, build/fix-header.o,
build/scan-decls.o): Simplify.
(collect2.o, c-opts.o, gcc.o, gccspec.o, gcc-options.o,
cppdefault.o, protoize.o, unprotoize.o, intl.o, version.o,
prefix.o, toplev.o): Reduce to variable setting.
(libbackend.o): Use COMPILE. Remove most dependencies. Move
later.
($(out_object_file), gcc-options.o): New targets.
($(ALL_HOST_OBJS)): New target.
Include dependency files.
* configure: Rebuilt.
* configure.ac: Call ZW_CREATE_DEPDIR,
ZW_PROG_COMPILER_DEPENDENCIES.
* doc/sourcebuild.texi (Front End Directory): Document new
variable.
gcc/java
* Make-lang.in: Removed most explicit .o targets.
(java/jvspec.o): Reduce to variable setting. Moved to java/.
($(GCJ)$(exeext)): Update.
(JAVA_OBJS): New variable.
(JCFDUMP_OBJS): Reformat.
(java_OBJS): New variable.
(java/jvspec.o-warn): Update.
(java/parse.o-warn): Remove.
(JAVA_TREE_H): Remove.
(java/jcf-io.o): Reduce to variable setting.
(ALL_CPPFLAGS): Likewise.
gcc/objc
* Make-lang.in (objc_OBJS): New variable.
(cc1obj-checksum.o, objc/objc-lang.o, objc/objc-act.o): Remove.
gcc/objcp
* Make-lang.in (objcp_OBJS): New variable.
(cc1objplus-checksum.o, objcp/objcp-lang.o, objcp/objcp-decl.o,
objcp/objcp-act.o): Remove.
gcc/cp
* Make-lang.in: Remove .o targets.
(cp/g++spec.o): Moved to cp/. Reduce to variable setting.
(GXX_OBJS): Update.
(c++_OBJS): New variable.
(CXX_TREE_H, CXX_PRETTY_PRINT_H): Remove.
gcc/fortran
* Make-lang.in: Remove .o targets.
(fortran_OBJS): New variable.
(fortran/gfortranspec.o): Move to fortran/. Reduce to variable
setting.
(GFORTRAN_D_OBJS): Update.
(GFORTRAN_TRANS_DEPS): Remove.
From-SVN: r133523
2008-03-25 17:56:50 +01:00
|
|
|
|
|
1996-12-07 17:53:42 +01:00
|
|
|
|
DRIVER_DEFINES = \
|
1999-11-10 02:19:08 +01:00
|
|
|
|
-DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
|
2003-08-01 01:36:43 +02:00
|
|
|
|
-DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
|
|
|
|
|
-DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \
|
1993-12-22 19:38:50 +01:00
|
|
|
|
-DDEFAULT_TARGET_VERSION=\"$(version)\" \
|
2003-10-14 05:41:42 +02:00
|
|
|
|
-DDEFAULT_TARGET_MACHINE=\"$(target_noncanonical)\" \
|
1999-11-10 02:19:08 +01:00
|
|
|
|
-DSTANDARD_BINDIR_PREFIX=\"$(bindir)/\" \
|
2007-07-02 21:20:33 +02:00
|
|
|
|
-DTOOLDIR_BASE_PREFIX=\"$(libsubdir_to_prefix)$(prefix_to_exec_prefix)\" \
|
2002-12-16 19:23:00 +01:00
|
|
|
|
@TARGET_SYSTEM_ROOT_DEFINE@ \
|
Makefile.in (RUN_GEN, [...]): New variables.
* Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.
(DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES).
(executing gencheck, genconfigs, genconditions, genflags,
gencodes, genconstants, genemit, genrecog, genopinit, genextract,
genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds,
gengtype, genprotos): Prepend $(RUN_GEN).
* configure.in: Move host compiler tests before --enable-checking
tests.
(--enable-checking=valgrind): New.
* config.in, configure: Regenerate.
* cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD):
Define as empty.
(read_include_file): When doing the mmap+1 trick,
valgrind-annotate the byte after the mmap:ed area as readable.
(purge_cache): Remove above annotation.
* gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend
VALGRIND_PATH -q to each command.
From-SVN: r59309
2002-11-20 20:49:53 +01:00
|
|
|
|
$(VALGRIND_DRIVER_DEFINES) \
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
`test "X$${SHLIB_LINK}" = "X" || test "@enable_shared@" != "yes" || echo "-DENABLE_SHARED_LIBGCC"`
|
|
|
|
|
|
|
|
|
|
gcc.o: gcc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) intl.h multilib.h \
|
|
|
|
|
Makefile $(lang_specs_files) specs.h prefix.h $(GCC_H) $(FLAGS_H) \
|
|
|
|
|
configargs.h $(OBSTACK_H) opts.h
|
|
|
|
|
(SHLIB_LINK='$(SHLIB_LINK)'; \
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
|
|
|
|
|
$(DRIVER_DEFINES) \
|
|
|
|
|
-c $(srcdir)/gcc.c $(OUTPUT_OPTION))
|
|
|
|
|
|
|
|
|
|
gccspec.o: gccspec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(GCC_H)
|
|
|
|
|
(SHLIB_LINK='$(SHLIB_LINK)'; \
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
|
|
|
|
|
$(DRIVER_DEFINES) \
|
|
|
|
|
-c $(srcdir)/gccspec.c $(OUTPUT_OPTION))
|
|
|
|
|
|
|
|
|
|
cppspec.o: cppspec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(GCC_H)
|
1999-03-26 00:36:47 +01:00
|
|
|
|
|
2002-01-08 20:03:20 +01:00
|
|
|
|
gencheck.h : s-gencheck ; @true
|
|
|
|
|
s-gencheck : Makefile
|
2002-01-10 05:25:56 +01:00
|
|
|
|
ltf="$(lang_tree_files)"; for f in $$ltf; do \
|
|
|
|
|
echo "#include \"$$f\""; \
|
2002-01-08 20:03:20 +01:00
|
|
|
|
done | sed 's|$(srcdir)/||' > tmp-gencheck.h
|
move-if-change: Remove.
* move-if-change: Remove.
* Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck)
(s-specs, s-options, s-config, s-conditions, s-flags, s-codes)
(s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep)
(s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds)
(s-gtyp-gen, s-iov): Use the top level move-if-change.
* objc/Make-lang.in (objc/objc-parse.y): Likewise.
(gcc/ada/ChangeLog)
* Make-lang.in (ada/stamp-sdefault): Use the top level
move-if-change.
(gcc/f/ChangeLog)
* Make-lang.in (f/stamp-1t, f/stamp-2t, f/stamp-fo)
(f/stamp-io, f/stamp-nq, f/stamp-op, f/stamp-ot): Use the top
level move-if-change.
From-SVN: r78146
2004-02-20 05:19:33 +01:00
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-gencheck.h gencheck.h
|
2002-01-08 20:03:20 +01:00
|
|
|
|
$(STAMP) s-gencheck
|
|
|
|
|
|
|
|
|
|
specs.h : s-specs ; @true
|
|
|
|
|
s-specs : Makefile
|
2002-01-10 05:25:56 +01:00
|
|
|
|
lsf="$(lang_specs_files)"; for f in $$lsf; do \
|
|
|
|
|
echo "#include \"$$f\""; \
|
2002-01-08 20:03:20 +01:00
|
|
|
|
done | sed 's|$(srcdir)/||' > tmp-specs.h
|
move-if-change: Remove.
* move-if-change: Remove.
* Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck)
(s-specs, s-options, s-config, s-conditions, s-flags, s-codes)
(s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep)
(s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds)
(s-gtyp-gen, s-iov): Use the top level move-if-change.
* objc/Make-lang.in (objc/objc-parse.y): Likewise.
(gcc/ada/ChangeLog)
* Make-lang.in (ada/stamp-sdefault): Use the top level
move-if-change.
(gcc/f/ChangeLog)
* Make-lang.in (f/stamp-1t, f/stamp-2t, f/stamp-fo)
(f/stamp-io, f/stamp-nq, f/stamp-op, f/stamp-ot): Use the top
level move-if-change.
From-SVN: r78146
2004-02-20 05:19:33 +01:00
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-specs.h specs.h
|
2002-01-08 20:03:20 +01:00
|
|
|
|
$(STAMP) s-specs
|
|
|
|
|
|
2004-06-18 03:59:45 +02:00
|
|
|
|
optionlist: s-options ; @true
|
2005-03-14 21:18:43 +01:00
|
|
|
|
s-options: $(ALL_OPT_FILES) Makefile $(srcdir)/opt-gather.awk
|
|
|
|
|
$(AWK) -f $(srcdir)/opt-gather.awk $(ALL_OPT_FILES) > tmp-optionlist
|
2004-06-18 03:59:45 +02:00
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-optionlist optionlist
|
2004-01-28 20:43:45 +01:00
|
|
|
|
$(STAMP) s-options
|
|
|
|
|
|
2004-06-18 03:59:45 +02:00
|
|
|
|
options.c: optionlist $(srcdir)/opt-functions.awk $(srcdir)/optc-gen.awk
|
|
|
|
|
$(AWK) -f $(srcdir)/opt-functions.awk -f $(srcdir)/optc-gen.awk \
|
2007-02-28 23:46:01 +01:00
|
|
|
|
-v header_name="config.h system.h coretypes.h tm.h" < $< > $@
|
2004-06-18 03:59:45 +02:00
|
|
|
|
|
2005-03-14 21:18:43 +01:00
|
|
|
|
options.h: s-options-h ; @true
|
|
|
|
|
s-options-h: optionlist $(srcdir)/opt-functions.awk $(srcdir)/opth-gen.awk
|
2004-06-18 03:59:45 +02:00
|
|
|
|
$(AWK) -f $(srcdir)/opt-functions.awk -f $(srcdir)/opth-gen.awk \
|
2005-03-14 21:18:43 +01:00
|
|
|
|
< $< > tmp-options.h
|
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-options.h options.h
|
|
|
|
|
$(STAMP) $@
|
2004-06-18 03:59:45 +02:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
options.o: options.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) opts.h intl.h
|
|
|
|
|
|
|
|
|
|
gcc-options.o: options.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) opts.h intl.h
|
|
|
|
|
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(OUTPUT_OPTION) -DGCC_DRIVER options.c
|
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
dumpvers: dumpvers.c
|
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
ifdef REVISION_s
|
|
|
|
|
version.o: version.c version.h $(REVISION) $(DATESTAMP) $(BASEVER) $(DEVPHASE)
|
|
|
|
|
else
|
|
|
|
|
version.o: version.c version.h $(DATESTAMP) $(BASEVER) $(DEVPHASE)
|
|
|
|
|
endif
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
|
|
|
|
|
-DBASEVER=$(BASEVER_s) -DDATESTAMP=$(DATESTAMP_s) \
|
|
|
|
|
-DREVISION=$(REVISION_s) \
|
|
|
|
|
-DDEVPHASE=$(DEVPHASE_s) -DPKGVERSION=$(PKGVERSION_s) \
|
|
|
|
|
-DBUGURL=$(BUGURL_s) -c $(srcdir)/version.c $(OUTPUT_OPTION)
|
|
|
|
|
|
|
|
|
|
gtype-desc.o: gtype-desc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(VARRAY_H) $(HASHTAB_H) $(SPLAY_TREE_H) bitmap.h $(TREE_H) $(RTL_H) \
|
|
|
|
|
$(FUNCTION_H) insn-config.h $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) \
|
|
|
|
|
cselib.h insn-addr.h $(OPTABS_H) libfuncs.h debug.h $(GGC_H) \
|
|
|
|
|
$(CGRAPH_H) $(TREE_FLOW_H) reload.h $(CPP_ID_DATA_H)
|
|
|
|
|
|
|
|
|
|
ggc-common.o: ggc-common.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(GGC_H) \
|
|
|
|
|
$(HASHTAB_H) toplev.h $(PARAMS_H) hosthooks.h $(HOSTHOOKS_DEF_H)
|
|
|
|
|
|
|
|
|
|
ggc-page.o: ggc-page.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
|
|
|
|
|
$(FLAGS_H) toplev.h $(GGC_H) $(TIMEVAR_H) $(TM_P_H) $(PARAMS_H) $(TREE_FLOW_H)
|
|
|
|
|
|
|
|
|
|
ggc-zone.o: ggc-zone.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(FLAGS_H) toplev.h $(GGC_H) $(TIMEVAR_H) $(TM_P_H) \
|
|
|
|
|
$(PARAMS_H) bitmap.h $(VARRAY_H)
|
|
|
|
|
|
|
|
|
|
ggc-none.o: ggc-none.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(GGC_H) \
|
|
|
|
|
$(BCONFIG_H)
|
|
|
|
|
|
|
|
|
|
stringpool.o: stringpool.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) $(GGC_H) gt-stringpool.h $(CPPLIB_H) $(SYMTAB_H)
|
|
|
|
|
|
|
|
|
|
prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) prefix.h \
|
|
|
|
|
Makefile $(BASEVER)
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
|
|
|
|
|
-DPREFIX=\"$(prefix)\" -DBASEVER=$(BASEVER_s) \
|
|
|
|
|
-c $(srcdir)/prefix.c $(OUTPUT_OPTION)
|
|
|
|
|
|
|
|
|
|
convert.o: convert.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(FLAGS_H) convert.h toplev.h langhooks.h $(REAL_H) fixed-value.h
|
|
|
|
|
|
|
|
|
|
double-int.o: double-int.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H)
|
|
|
|
|
|
|
|
|
|
langhooks.o : langhooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) toplev.h $(TREE_INLINE_H) $(RTL_H) insn-config.h $(INTEGRATE_H) \
|
|
|
|
|
langhooks.h $(LANGHOOKS_DEF_H) $(FLAGS_H) $(GGC_H) $(DIAGNOSTIC_H) intl.h \
|
|
|
|
|
$(TREE_GIMPLE_H)
|
|
|
|
|
tree.o : tree.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(FLAGS_H) $(FUNCTION_H) $(PARAMS_H) \
|
|
|
|
|
toplev.h $(GGC_H) $(HASHTAB_H) $(TARGET_H) output.h $(TM_P_H) langhooks.h \
|
|
|
|
|
$(REAL_H) gt-tree.h tree-iterator.h $(BASIC_BLOCK_H) $(TREE_FLOW_H) \
|
|
|
|
|
$(OBSTACK_H) pointer-set.h fixed-value.h
|
|
|
|
|
tree-dump.o: tree-dump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) langhooks.h toplev.h $(SPLAY_TREE_H) $(TREE_DUMP_H) \
|
|
|
|
|
tree-iterator.h tree-pass.h $(DIAGNOSTIC_H) $(REAL_H) fixed-value.h
|
|
|
|
|
tree-inline.o : tree-inline.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) $(RTL_H) $(EXPR_H) $(FLAGS_H) $(PARAMS_H) input.h insn-config.h \
|
|
|
|
|
$(VARRAY_H) $(HASHTAB_H) $(SPLAY_TREE_H) toplev.h \
|
|
|
|
|
langhooks.h $(TREE_INLINE_H) $(CGRAPH_H) intl.h $(FUNCTION_H) $(TREE_GIMPLE_H) \
|
|
|
|
|
debug.h $(DIAGNOSTIC_H) $(TREE_FLOW_H) tree-iterator.h tree-mudflap.h \
|
|
|
|
|
ipa-prop.h value-prof.h $(TARGET_H) $(INTEGRATE_H)
|
|
|
|
|
print-tree.o : print-tree.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(GGC_H) langhooks.h $(REAL_H) tree-iterator.h fixed-value.h
|
|
|
|
|
stor-layout.o : stor-layout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) $(PARAMS_H) $(FLAGS_H) $(FUNCTION_H) $(EXPR_H) $(RTL_H) \
|
|
|
|
|
$(GGC_H) $(TM_P_H) $(TARGET_H) langhooks.h $(REGS_H) gt-stor-layout.h \
|
|
|
|
|
toplev.h
|
|
|
|
|
tree-ssa-structalias.o: tree-ssa-structalias.c tree-ssa-structalias.h \
|
|
|
|
|
$(SYSTEM_H) $(CONFIG_H) $(GGC_H) $(TREE_H) $(TREE_FLOW_H) \
|
|
|
|
|
$(TM_H) coretypes.h $(CGRAPH_H) tree-pass.h $(TIMEVAR_H) \
|
|
|
|
|
gt-tree-ssa-structalias.h $(PARAMS_H) $(ALIAS_H) pointer-set.h $(FUNCTION_H)
|
|
|
|
|
tree-ssa.o : tree-ssa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) output.h $(DIAGNOSTIC_H) \
|
|
|
|
|
toplev.h $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
|
|
|
|
|
$(TREE_DUMP_H) langhooks.h tree-pass.h $(BASIC_BLOCK_H) bitmap.h \
|
|
|
|
|
$(FLAGS_H) $(GGC_H) hard-reg-set.h $(HASHTAB_H) pointer-set.h \
|
|
|
|
|
$(TREE_GIMPLE_H) $(TREE_INLINE_H) $(VARRAY_H)
|
|
|
|
|
tree-into-ssa.o : tree-into-ssa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) output.h $(DIAGNOSTIC_H) \
|
|
|
|
|
$(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
langhooks.h domwalk.h tree-pass.h $(GGC_H) $(PARAMS_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
bitmap.h $(CFGLOOP_H) $(FLAGS_H) hard-reg-set.h $(HASHTAB_H) \
|
|
|
|
|
$(TREE_GIMPLE_H) $(TREE_INLINE_H) $(VARRAY_H) vecprim.h
|
|
|
|
|
tree-ssa-ter.o : tree-ssa-ter.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
$(TREE_SSA_LIVE_H) bitmap.h
|
|
|
|
|
tree-ssa-coalesce.o : tree-ssa-coalesce.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
$(TREE_SSA_LIVE_H) bitmap.h $(FLAGS_H) $(HASHTAB_H) toplev.h
|
|
|
|
|
tree-outof-ssa.o : tree-outof-ssa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(TREE_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
tree-pass.h $(TREE_SSA_LIVE_H) $(BASIC_BLOCK_H) bitmap.h $(GGC_H) toplev.h
|
|
|
|
|
tree-ssa-dse.o : tree-ssa-dse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(GGC_H) $(TREE_H) $(RTL_H) $(TM_P_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
$(TREE_FLOW_H) tree-pass.h $(TREE_DUMP_H) domwalk.h $(FLAGS_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) $(TIMEVAR_H)
|
|
|
|
|
tree-ssa-forwprop.o : tree-ssa-forwprop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(GGC_H) $(TREE_H) $(RTL_H) $(TM_P_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
$(TREE_FLOW_H) tree-pass.h $(TREE_DUMP_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
|
|
|
|
|
langhooks.h $(FLAGS_H)
|
|
|
|
|
tree-ssa-phiprop.o : tree-ssa-forwprop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(GGC_H) $(TREE_H) $(RTL_H) $(TM_P_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
$(TREE_FLOW_H) tree-pass.h $(TREE_DUMP_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
|
|
|
|
|
langhooks.h $(FLAGS_H)
|
|
|
|
|
tree-ssa-ifcombine.o : tree-ssa-ifcombine.c $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(TM_H) $(TREE_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
$(TREE_FLOW_H) tree-pass.h $(TREE_DUMP_H) $(DIAGNOSTIC_H) $(TIMEVAR_H)
|
|
|
|
|
tree-ssa-phiopt.o : tree-ssa-phiopt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(GGC_H) $(TREE_H) $(RTL_H) $(TM_P_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
$(TREE_FLOW_H) tree-pass.h $(TREE_DUMP_H) langhooks.h $(FLAGS_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) $(TIMEVAR_H)
|
|
|
|
|
tree-nrv.o : tree-nrv.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(TREE_H) $(RTL_H) $(FUNCTION_H) $(BASIC_BLOCK_H) $(EXPR_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TIMEVAR_H) $(TREE_DUMP_H) tree-pass.h \
|
|
|
|
|
langhooks.h
|
|
|
|
|
tree-ssa-copy.o : tree-ssa-copy.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h $(DIAGNOSTIC_H) \
|
|
|
|
|
$(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) tree-pass.h langhooks.h tree-ssa-propagate.h $(FLAGS_H)
|
|
|
|
|
tree-ssa-propagate.o : tree-ssa-propagate.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h \
|
|
|
|
|
$(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
|
|
|
|
|
$(TREE_DUMP_H) $(BASIC_BLOCK_H) tree-pass.h langhooks.h \
|
|
|
|
|
tree-ssa-propagate.h vec.h gt-tree-ssa-propagate.h $(FLAGS_H) $(VARRAY_H)
|
|
|
|
|
tree-ssa-dom.o : tree-ssa-dom.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h $(DIAGNOSTIC_H) \
|
|
|
|
|
$(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) domwalk.h tree-pass.h $(FLAGS_H) langhooks.h \
|
|
|
|
|
tree-ssa-propagate.h $(CFGLOOP_H) $(PARAMS_H) $(REAL_H)
|
|
|
|
|
tree-ssa-uncprop.o : tree-ssa-uncprop.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h \
|
|
|
|
|
$(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
|
|
|
|
|
$(TREE_DUMP_H) $(BASIC_BLOCK_H) domwalk.h tree-pass.h $(FLAGS_H) \
|
|
|
|
|
langhooks.h tree-ssa-propagate.h $(REAL_H)
|
|
|
|
|
tree-ssa-threadedge.o : tree-ssa-threadedge.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h \
|
|
|
|
|
$(DIAGNOSTIC_H) $(FUNCTION_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) $(FLAGS_H) tree-pass.h $(CFGLOOP_H)
|
|
|
|
|
tree-ssa-threadupdate.o : tree-ssa-threadupdate.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h \
|
|
|
|
|
$(DIAGNOSTIC_H) $(FUNCTION_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) $(FLAGS_H) tree-pass.h $(CFGLOOP_H)
|
|
|
|
|
tree-ssanames.o : tree-ssanames.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(TREE_H) $(VARRAY_H) $(GGC_H) $(TREE_FLOW_H)
|
|
|
|
|
tree-phinodes.o : tree-phinodes.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(TREE_H) $(VARRAY_H) $(GGC_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) \
|
|
|
|
|
gt-tree-phinodes.h $(RTL_H) toplev.h
|
|
|
|
|
domwalk.o : domwalk.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) domwalk.h $(GGC_H)
|
|
|
|
|
tree-ssa-live.o : tree-ssa-live.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(TREE_H) $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
$(TREE_SSA_LIVE_H) bitmap.h toplev.h
|
|
|
|
|
tree-ssa-copyrename.o : tree-ssa-copyrename.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(TREE_H) $(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) tree-pass.h \
|
|
|
|
|
$(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_SSA_LIVE_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
bitmap.h $(FLAGS_H) $(HASHTAB_H) langhooks.h $(TREE_GIMPLE_H) \
|
|
|
|
|
$(TREE_INLINE_H)
|
|
|
|
|
tree-ssa-pre.o : tree-ssa-pre.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(TREE_H) $(GGC_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
|
|
|
|
|
$(TM_H) coretypes.h $(TREE_DUMP_H) tree-pass.h $(FLAGS_H) $(CFGLOOP_H) \
|
|
|
|
|
alloc-pool.h $(BASIC_BLOCK_H) bitmap.h $(HASHTAB_H) $(TREE_GIMPLE_H) \
|
|
|
|
|
$(TREE_INLINE_H) tree-iterator.h tree-ssa-sccvn.h $(PARAMS_H)
|
|
|
|
|
tree-ssa-sccvn.o : tree-ssa-sccvn.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(TREE_H) $(GGC_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
|
|
|
|
|
$(TM_H) coretypes.h $(TREE_DUMP_H) tree-pass.h $(FLAGS_H) $(CFGLOOP_H) \
|
|
|
|
|
alloc-pool.h $(BASIC_BLOCK_H) bitmap.h $(HASHTAB_H) $(TREE_GIMPLE_H) \
|
|
|
|
|
$(TREE_INLINE_H) tree-iterator.h tree-ssa-propagate.h tree-ssa-sccvn.h \
|
|
|
|
|
$(PARAMS_H)
|
|
|
|
|
tree-vn.o : tree-vn.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(GGC_H) \
|
|
|
|
|
$(TREE_H) $(TREE_FLOW_H) $(HASHTAB_H) langhooks.h tree-pass.h \
|
|
|
|
|
$(TREE_DUMP_H) $(DIAGNOSTIC_H) tree-ssa-sccvn.h
|
|
|
|
|
tree-vrp.o : tree-vrp.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(TREE_FLOW_H) tree-pass.h $(TREE_DUMP_H) $(DIAGNOSTIC_H) $(GGC_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) tree-ssa-propagate.h $(FLAGS_H) $(TREE_DUMP_H) \
|
|
|
|
|
$(CFGLOOP_H) $(SCEV_H) tree-chrec.h $(TIMEVAR_H) toplev.h intl.h
|
|
|
|
|
tree-cfg.o : tree-cfg.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) $(FLAGS_H) output.h \
|
|
|
|
|
$(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
|
|
|
|
|
$(TREE_DUMP_H) except.h langhooks.h $(CFGLOOP_H) tree-pass.h \
|
|
|
|
|
$(CFGLAYOUT_H) $(BASIC_BLOCK_H) hard-reg-set.h toplev.h \
|
|
|
|
|
tree-ssa-propagate.h $(TREE_INLINE_H)
|
|
|
|
|
tree-cfgcleanup.o : tree-cfgcleanup.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) $(FLAGS_H) output.h \
|
|
|
|
|
$(DIAGNOSTIC_H) toplev.h $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
|
|
|
|
|
$(TREE_DUMP_H) except.h langhooks.h $(CFGLOOP_H) tree-pass.h \
|
|
|
|
|
$(CFGLAYOUT_H) $(BASIC_BLOCK_H) hard-reg-set.h $(HASHTAB_H) toplev.h \
|
|
|
|
|
tree-ssa-propagate.h
|
|
|
|
|
rtl-factoring.o : rtl-factoring.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) \
|
|
|
|
|
coretypes.h $(TM_H) $(BASIC_BLOCK_H) $(GGC_H) $(REGS_H) $(PARAMS_H) $(EXPR_H) \
|
|
|
|
|
addresses.h $(TM_P_H) tree-pass.h $(TREE_FLOW_H) $(TIMEVAR_H) output.h \
|
|
|
|
|
$(DF_H)
|
|
|
|
|
tree-tailcall.o : tree-tailcall.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) $(TM_P_H) $(FUNCTION_H) $(TM_H) coretypes.h \
|
|
|
|
|
$(TREE_DUMP_H) $(DIAGNOSTIC_H) except.h tree-pass.h $(FLAGS_H) langhooks.h \
|
|
|
|
|
$(BASIC_BLOCK_H) hard-reg-set.h
|
|
|
|
|
tree-ssa-sink.o : tree-ssa-sink.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(TREE_H) $(GGC_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) \
|
|
|
|
|
$(TM_H) coretypes.h $(TREE_DUMP_H) tree-pass.h $(FLAGS_H) alloc-pool.h \
|
|
|
|
|
$(BASIC_BLOCK_H) bitmap.h $(CFGLOOP_H) $(FIBHEAP_H) $(HASHTAB_H) \
|
|
|
|
|
langhooks.h $(REAL_H) $(TREE_GIMPLE_H) $(TREE_INLINE_H) tree-iterator.h
|
|
|
|
|
tree-nested.o: tree-nested.c $(CONFIG_H) $(SYSTEM_H) $(TM_H) $(TREE_H) \
|
|
|
|
|
$(RTL_H) $(TM_P_H) $(FUNCTION_H) $(TREE_DUMP_H) $(TREE_INLINE_H) \
|
|
|
|
|
tree-iterator.h $(TREE_GIMPLE_H) $(CGRAPH_H) $(EXPR_H) langhooks.h \
|
|
|
|
|
$(GGC_H) gt-tree-nested.h coretypes.h $(TREE_FLOW_H) pointer-set.h
|
|
|
|
|
tree-if-conv.o: tree-if-conv.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) $(FLAGS_H) $(TIMEVAR_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) \
|
|
|
|
|
$(CFGLOOP_H) $(RTL_H) $(C_COMMON_H) tree-chrec.h $(TREE_DATA_REF_H) \
|
|
|
|
|
$(SCEV_H) tree-pass.h $(DIAGNOSTIC_H) $(TARGET_H) $(TREE_DUMP_H) \
|
|
|
|
|
$(VARRAY_H)
|
|
|
|
|
tree-iterator.o : tree-iterator.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
|
|
|
|
|
coretypes.h $(GGC_H) tree-iterator.h $(TREE_GIMPLE_H) gt-tree-iterator.h
|
|
|
|
|
tree-dfa.o : tree-dfa.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h $(DIAGNOSTIC_H) \
|
|
|
|
|
$(TREE_INLINE_H) $(HASHTAB_H) pointer-set.h $(FLAGS_H) $(FUNCTION_H) \
|
|
|
|
|
$(TIMEVAR_H) convert.h $(TM_H) coretypes.h langhooks.h $(TREE_DUMP_H) \
|
|
|
|
|
tree-pass.h $(PARAMS_H) $(CGRAPH_H) $(BASIC_BLOCK_H) hard-reg-set.h \
|
|
|
|
|
$(TREE_GIMPLE_H)
|
|
|
|
|
tree-ssa-operands.o : tree-ssa-operands.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(TREE_H) $(GGC_H) $(DIAGNOSTIC_H) errors.h $(TREE_INLINE_H) \
|
|
|
|
|
$(FLAGS_H) $(FUNCTION_H) $(TM_H) $(TIMEVAR_H) tree-pass.h toplev.h \
|
|
|
|
|
coretypes.h langhooks.h $(IPA_REFERENCE_H)
|
|
|
|
|
tree-eh.o : tree-eh.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) $(TM_H) $(FLAGS_H) $(FUNCTION_H) except.h langhooks.h \
|
|
|
|
|
$(GGC_H) tree-pass.h coretypes.h $(TIMEVAR_H) $(TM_P_H) pointer-set.h \
|
|
|
|
|
$(TREE_DUMP_H) $(TREE_INLINE_H) tree-iterator.h toplev.h
|
|
|
|
|
tree-ssa-loop.o : tree-ssa-loop.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) \
|
|
|
|
|
output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
tree-pass.h $(FLAGS_H) $(TREE_INLINE_H) $(SCEV_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
hard-reg-set.h
|
|
|
|
|
tree-ssa-loop-unswitch.o : tree-ssa-loop-unswitch.c $(TREE_FLOW_H) \
|
|
|
|
|
$(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) \
|
|
|
|
|
domwalk.h $(PARAMS_H) output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) \
|
|
|
|
|
coretypes.h $(TREE_DUMP_H) tree-pass.h $(BASIC_BLOCK_H) hard-reg-set.h \
|
|
|
|
|
$(TREE_INLINE_H)
|
|
|
|
|
tree-ssa-address.o : tree-ssa-address.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) \
|
|
|
|
|
output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
tree-pass.h $(FLAGS_H) $(TREE_INLINE_H) $(RECOG_H) insn-config.h $(EXPR_H) \
|
|
|
|
|
gt-tree-ssa-address.h $(GGC_H) tree-affine.h
|
|
|
|
|
tree-ssa-loop-niter.o : tree-ssa-loop-niter.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(PARAMS_H) \
|
|
|
|
|
$(TREE_INLINE_H) output.h $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
$(FLAGS_H) tree-pass.h $(SCEV_H) $(TREE_DATA_REF_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
$(GGC_H) hard-reg-set.h tree-chrec.h intl.h
|
|
|
|
|
tree-ssa-loop-ivcanon.o : tree-ssa-loop-ivcanon.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(PARAMS_H) \
|
|
|
|
|
$(TREE_INLINE_H) output.h $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
$(FLAGS_H) tree-pass.h $(SCEV_H) $(BASIC_BLOCK_H) $(GGC_H) hard-reg-set.h \
|
|
|
|
|
tree-chrec.h
|
|
|
|
|
tree-ssa-loop-ch.o : tree-ssa-loop-ch.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(TREE_INLINE_H) \
|
|
|
|
|
output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
tree-pass.h $(FLAGS_H) $(BASIC_BLOCK_H) hard-reg-set.h
|
|
|
|
|
tree-ssa-loop-prefetch.o: tree-ssa-loop-prefetch.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(EXPR_H) \
|
|
|
|
|
output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
tree-pass.h $(GGC_H) $(RECOG_H) insn-config.h $(HASHTAB_H) $(SCEV_H) \
|
|
|
|
|
$(CFGLOOP_H) $(PARAMS_H) langhooks.h $(BASIC_BLOCK_H) hard-reg-set.h \
|
|
|
|
|
tree-chrec.h toplev.h langhooks.h $(TREE_INLINE_H) $(TREE_DATA_REF_H) \
|
|
|
|
|
$(OPTABS_H)
|
|
|
|
|
tree-predcom.o: tree-predcom.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TM_P_H) \
|
|
|
|
|
$(CFGLOOP_H) $(TREE_FLOW_H) $(GGC_H) $(TREE_DATA_REF_H) $(SCEV_H) \
|
|
|
|
|
$(PARAMS_H) $(DIAGNOSTIC_H) tree-pass.h $(TM_H) coretypes.h tree-affine.h \
|
|
|
|
|
tree-inline.h
|
|
|
|
|
tree-ssa-loop-ivopts.o : tree-ssa-loop-ivopts.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) $(EXPR_H) \
|
|
|
|
|
output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
tree-pass.h $(GGC_H) $(RECOG_H) insn-config.h $(HASHTAB_H) $(SCEV_H) \
|
|
|
|
|
$(CFGLOOP_H) $(PARAMS_H) langhooks.h $(BASIC_BLOCK_H) hard-reg-set.h \
|
|
|
|
|
tree-chrec.h $(VARRAY_H) tree-affine.h pointer-set.h $(TARGET_H)
|
|
|
|
|
tree-affine.o : tree-affine.c tree-affine.h $(CONFIG_H) pointer-set.h \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(TREE_GIMPLE_H) \
|
|
|
|
|
output.h $(DIAGNOSTIC_H) $(TM_H) coretypes.h $(TREE_DUMP_H)
|
|
|
|
|
tree-ssa-loop-manip.o : tree-ssa-loop-manip.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) \
|
|
|
|
|
output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) \
|
|
|
|
|
tree-pass.h $(CFGLAYOUT_H) $(SCEV_H) $(BASIC_BLOCK_H) hard-reg-set.h \
|
|
|
|
|
$(PARAMS_H) $(TREE_INLINE_H)
|
|
|
|
|
tree-ssa-loop-im.o : tree-ssa-loop-im.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(CFGLOOP_H) domwalk.h \
|
|
|
|
|
$(PARAMS_H) output.h $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
|
|
|
|
|
$(TREE_DUMP_H) tree-pass.h $(FLAGS_H) $(REAL_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
hard-reg-set.h
|
|
|
|
|
tree-ssa-math-opts.o : tree-ssa-math-opts.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(TREE_H) $(TIMEVAR_H) tree-pass.h $(TM_H) $(FLAGS_H) \
|
|
|
|
|
alloc-pool.h $(BASIC_BLOCK_H) $(TARGET_H)
|
|
|
|
|
tree-ssa-alias-warnings.o : tree-ssa-alias-warnings.c \
|
|
|
|
|
$(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(TREE_DUMP_H) \
|
|
|
|
|
$(TREE_FLOW_H) $(PARAMS_H) $(FUNCTION_H) $(EXPR_H) toplev.h \
|
|
|
|
|
tree-ssa-structalias.h tree-ssa-propagate.h langhooks.h alloc-pool.h \
|
|
|
|
|
$(DIAGNOSTIC_H)
|
|
|
|
|
tree-ssa-alias.o : tree-ssa-alias.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) $(TREE_INLINE_H) $(FLAGS_H) \
|
|
|
|
|
$(FUNCTION_H) $(TIMEVAR_H) convert.h $(TM_H) coretypes.h langhooks.h \
|
|
|
|
|
$(TREE_DUMP_H) tree-pass.h $(PARAMS_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) \
|
|
|
|
|
hard-reg-set.h $(TREE_GIMPLE_H) vec.h tree-ssa-structalias.h \
|
|
|
|
|
$(IPA_TYPE_ESCAPE_H) vecprim.h pointer-set.h alloc-pool.h
|
|
|
|
|
tree-ssa-reassoc.o : tree-ssa-reassoc.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(TREE_H) $(GGC_H) $(DIAGNOSTIC_H) errors.h $(TIMEVAR_H) \
|
|
|
|
|
$(TM_H) coretypes.h $(TREE_DUMP_H) tree-pass.h $(FLAGS_H) tree-iterator.h\
|
|
|
|
|
$(BASIC_BLOCK_H) $(TREE_GIMPLE_H) $(TREE_INLINE_H) vec.h \
|
|
|
|
|
alloc-pool.h pointer-set.h $(CFGLOOP_H)
|
|
|
|
|
tree-optimize.o : tree-optimize.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h $(DIAGNOSTIC_H) \
|
|
|
|
|
$(FLAGS_H) $(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) toplev.h \
|
|
|
|
|
$(FUNCTION_H) langhooks.h $(FLAGS_H) $(CGRAPH_H) $(TREE_INLINE_H) \
|
|
|
|
|
tree-mudflap.h $(GGC_H) $(CGRAPH_H) tree-pass.h $(CFGLOOP_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) graph.h hard-reg-set.h
|
|
|
|
|
c-gimplify.o : c-gimplify.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
|
|
|
|
|
$(C_TREE_H) $(C_COMMON_H) $(DIAGNOSTIC_H) $(TREE_GIMPLE_H) $(VARRAY_H) \
|
|
|
|
|
$(FLAGS_H) langhooks.h toplev.h $(RTL_H) $(TREE_FLOW_H) $(LANGHOOKS_DEF_H) \
|
|
|
|
|
$(TM_H) coretypes.h $(C_PRETTY_PRINT_H) $(CGRAPH_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
hard-reg-set.h $(TREE_DUMP_H) $(TREE_INLINE_H)
|
|
|
|
|
gimplify.o : gimplify.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) $(TREE_GIMPLE_H) $(TREE_INLINE_H) $(VARRAY_H) langhooks.h \
|
|
|
|
|
$(LANGHOOKS_DEF_H) $(TREE_FLOW_H) $(CGRAPH_H) $(TIMEVAR_H) $(TM_H) \
|
|
|
|
|
coretypes.h except.h $(FLAGS_H) $(RTL_H) $(FUNCTION_H) $(EXPR_H) output.h \
|
|
|
|
|
$(GGC_H) gt-gimplify.h $(HASHTAB_H) $(TARGET_H) toplev.h $(OPTABS_H) \
|
|
|
|
|
$(REAL_H) $(SPLAY_TREE_H)
|
|
|
|
|
gimple-low.o : gimple-low.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) $(TREE_GIMPLE_H) $(TREE_INLINE_H) $(VARRAY_H) langhooks.h \
|
|
|
|
|
$(LANGHOOKS_DEF_H) $(TREE_FLOW_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
|
|
|
|
|
except.h $(FLAGS_H) $(RTL_H) $(FUNCTION_H) $(EXPR_H) tree-pass.h \
|
|
|
|
|
$(HASHTAB_H) toplev.h
|
|
|
|
|
omp-low.o : omp-low.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(RTL_H) $(TREE_GIMPLE_H) $(TREE_INLINE_H) langhooks.h $(DIAGNOSTIC_H) \
|
|
|
|
|
$(TREE_FLOW_H) $(TIMEVAR_H) $(FLAGS_H) $(EXPR_H) toplev.h tree-pass.h \
|
|
|
|
|
$(GGC_H) $(SPLAY_TREE_H) $(OPTABS_H) $(CFGLOOP_H)
|
|
|
|
|
tree-browser.o : tree-browser.c tree-browser.def $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(TREE_H) $(TREE_INLINE_H) $(DIAGNOSTIC_H) $(HASHTAB_H) \
|
|
|
|
|
$(TM_H) coretypes.h
|
|
|
|
|
omega.o : omega.c omega.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
errors.h $(GGC_H) $(TREE_H) $(DIAGNOSTIC_H) varray.h tree-pass.h
|
|
|
|
|
tree-chrec.o: tree-chrec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(GGC_H) $(TREE_H) $(REAL_H) $(SCEV_H) tree-pass.h $(PARAMS_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) $(CFGLOOP_H) $(TREE_FLOW_H)
|
|
|
|
|
tree-scalar-evolution.o: tree-scalar-evolution.c $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(TM_H) $(GGC_H) $(TREE_H) $(REAL_H) $(RTL_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) \
|
|
|
|
|
$(TIMEVAR_H) $(CFGLOOP_H) $(SCEV_H) tree-pass.h $(FLAGS_H) tree-chrec.h \
|
|
|
|
|
gt-tree-scalar-evolution.h
|
|
|
|
|
tree-data-ref.o: tree-data-ref.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(GGC_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) $(DIAGNOSTIC_H) \
|
|
|
|
|
$(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) \
|
|
|
|
|
$(TREE_DATA_REF_H) $(SCEV_H) tree-pass.h tree-chrec.h langhooks.h
|
|
|
|
|
tree-vect-analyze.o: tree-vect-analyze.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(GGC_H) $(OPTABS_H) $(TREE_H) $(RECOG_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) \
|
|
|
|
|
tree-vectorizer.h $(TREE_DATA_REF_H) $(SCEV_H) $(EXPR_H) tree-chrec.h
|
|
|
|
|
tree-vect-patterns.o: tree-vect-patterns.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) errors.h $(GGC_H) $(OPTABS_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) \
|
|
|
|
|
tree-vectorizer.h $(TREE_DATA_REF_H) $(EXPR_H) $(TARGET_H)
|
|
|
|
|
tree-vect-transform.o: tree-vect-transform.c $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(TM_H) $(GGC_H) $(OPTABS_H) $(RECOG_H) $(TREE_H) $(RTL_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) \
|
|
|
|
|
$(TIMEVAR_H) $(CFGLOOP_H) $(TARGET_H) tree-pass.h $(EXPR_H) \
|
|
|
|
|
tree-vectorizer.h $(TREE_DATA_REF_H) $(SCEV_H) langhooks.h toplev.h \
|
|
|
|
|
tree-chrec.h
|
|
|
|
|
tree-vectorizer.o: tree-vectorizer.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(GGC_H) $(OPTABS_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) \
|
|
|
|
|
tree-pass.h $(EXPR_H) tree-vectorizer.h $(TREE_DATA_REF_H) $(SCEV_H) \
|
|
|
|
|
input.h $(TARGET_H) $(CFGLAYOUT_H) toplev.h tree-chrec.h
|
|
|
|
|
tree-loop-linear.o: tree-loop-linear.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(GGC_H) $(OPTABS_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) \
|
|
|
|
|
tree-pass.h $(TREE_DATA_REF_H) $(SCEV_H) $(EXPR_H) $(LAMBDA_H) \
|
|
|
|
|
$(TARGET_H) tree-chrec.h $(OBSTACK_H)
|
|
|
|
|
tree-loop-distribution.o: tree-loop-distribution.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(GGC_H) $(OPTABS_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) \
|
|
|
|
|
tree-pass.h $(TREE_DATA_REF_H) $(SCEV_H) $(EXPR_H) \
|
|
|
|
|
$(TARGET_H) tree-chrec.h tree-vectorizer.h
|
|
|
|
|
tree-parloops.o: tree-parloops.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_FLOW_H) $(TREE_H) $(RTL_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) $(GGC_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) tree-pass.h $(SCEV_H) langhooks.h gt-tree-parloops.h \
|
|
|
|
|
tree-vectorizer.h
|
|
|
|
|
tree-stdarg.o: tree-stdarg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) $(FUNCTION_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) tree-pass.h \
|
|
|
|
|
tree-stdarg.h $(TARGET_H) langhooks.h
|
|
|
|
|
tree-object-size.o: tree-object-size.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(TREE_H) $(DIAGNOSTIC_H) $(TREE_FLOW_H) tree-pass.h \
|
|
|
|
|
tree-ssa-propagate.h
|
|
|
|
|
tree-gimple.o : tree-gimple.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(EXPR_H) \
|
|
|
|
|
$(RTL_H) $(TREE_GIMPLE_H) $(TM_H) coretypes.h bitmap.h $(GGC_H) \
|
|
|
|
|
output.h $(TREE_FLOW_H)
|
|
|
|
|
tree-mudflap.o : $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TREE_INLINE_H) \
|
|
|
|
|
$(TREE_GIMPLE_H) $(DIAGNOSTIC_H) $(HASHTAB_H) langhooks.h tree-mudflap.h \
|
|
|
|
|
$(TM_H) coretypes.h $(TREE_DUMP_H) tree-pass.h $(CGRAPH_H) $(GGC_H) \
|
|
|
|
|
gt-tree-mudflap.h $(BASIC_BLOCK_H) $(FLAGS_H) $(FUNCTION_H) hard-reg-set.h \
|
|
|
|
|
$(RTL_H) $(TM_P_H) $(TREE_FLOW_H) toplev.h
|
|
|
|
|
tree-nomudflap.o : $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TREE_INLINE_H) \
|
|
|
|
|
$(C_TREE_H) $(C_COMMON_H) $(TREE_GIMPLE_H) $(DIAGNOSTIC_H) $(HASHTAB_H) \
|
|
|
|
|
output.h $(VARRAY_H) langhooks.h tree-mudflap.h $(TM_H) coretypes.h \
|
|
|
|
|
$(GGC_H) gt-tree-mudflap.h tree-pass.h toplev.h
|
|
|
|
|
tree-pretty-print.o : tree-pretty-print.c $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(TREE_H) $(DIAGNOSTIC_H) $(REAL_H) $(HASHTAB_H) $(TREE_FLOW_H) \
|
|
|
|
|
$(TM_H) coretypes.h tree-iterator.h tree-chrec.h langhooks.h tree-pass.h \
|
|
|
|
|
value-prof.h fixed-value.h output.h
|
|
|
|
|
fold-const.o : fold-const.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) $(FLAGS_H) $(REAL_H) toplev.h $(HASHTAB_H) $(EXPR_H) $(RTL_H) \
|
|
|
|
|
$(GGC_H) $(TM_P_H) langhooks.h $(MD5_H) intl.h fixed-value.h
|
|
|
|
|
diagnostic.o : diagnostic.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) version.h $(TM_P_H) $(FLAGS_H) input.h toplev.h intl.h \
|
|
|
|
|
$(DIAGNOSTIC_H) langhooks.h $(LANGHOOKS_DEF_H) diagnostic.def opts.h
|
|
|
|
|
opts.o : opts.c opts.h options.h toplev.h $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(TREE_H) $(TM_H) langhooks.h $(GGC_H) $(RTL_H) \
|
|
|
|
|
output.h $(DIAGNOSTIC_H) $(TM_P_H) $(INSN_ATTR_H) intl.h $(TARGET_H) \
|
|
|
|
|
$(FLAGS_H) $(PARAMS_H) tree-pass.h $(DBGCNT_H) debug.h
|
|
|
|
|
opts-common.o : opts-common.c opts.h $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h intl.h
|
|
|
|
|
targhooks.o : targhooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
|
|
|
|
|
$(EXPR_H) $(TM_H) $(RTL_H) $(TM_P_H) $(FUNCTION_H) output.h toplev.h \
|
|
|
|
|
$(MACHMODE_H) $(TARGET_DEF_H) $(TARGET_H) $(GGC_H) gt-targhooks.h \
|
|
|
|
|
$(OPTABS_H)
|
|
|
|
|
|
|
|
|
|
toplev.o : toplev.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
version.h $(RTL_H) $(FUNCTION_H) $(FLAGS_H) xcoffout.h input.h \
|
|
|
|
|
$(INSN_ATTR_H) output.h $(DIAGNOSTIC_H) debug.h insn-config.h intl.h \
|
|
|
|
|
$(RECOG_H) Makefile toplev.h dwarf2out.h sdbout.h dbxout.h $(EXPR_H) \
|
|
|
|
|
hard-reg-set.h $(BASIC_BLOCK_H) graph.h except.h $(REGS_H) $(TIMEVAR_H) \
|
|
|
|
|
value-prof.h $(PARAMS_H) $(TM_P_H) reload.h dwarf2asm.h $(TARGET_H) \
|
|
|
|
|
langhooks.h insn-flags.h $(CFGLAYOUT_H) $(CFGLOOP_H) hosthooks.h \
|
|
|
|
|
$(CGRAPH_H) $(COVERAGE_H) alloc-pool.h $(GGC_H) $(INTEGRATE_H) \
|
|
|
|
|
$(CPPLIB_H) opts.h params.def tree-mudflap.h $(REAL_H) tree-pass.h
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
|
|
|
|
|
-DTARGET_NAME=\"$(target_noncanonical)\" \
|
|
|
|
|
-c $(srcdir)/toplev.c $(OUTPUT_OPTION)
|
|
|
|
|
|
|
|
|
|
passes.o : passes.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(RTL_H) $(FUNCTION_H) $(FLAGS_H) xcoffout.h input.h $(INSN_ATTR_H) output.h \
|
|
|
|
|
$(DIAGNOSTIC_H) debug.h insn-config.h intl.h $(RECOG_H) toplev.h \
|
|
|
|
|
dwarf2out.h sdbout.h dbxout.h $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) \
|
|
|
|
|
graph.h except.h $(REGS_H) $(TIMEVAR_H) value-prof.h \
|
|
|
|
|
$(PARAMS_H) $(TM_P_H) reload.h dwarf2asm.h $(TARGET_H) \
|
|
|
|
|
langhooks.h insn-flags.h $(CFGLAYOUT_H) $(REAL_H) $(CFGLOOP_H) \
|
|
|
|
|
hosthooks.h $(CGRAPH_H) $(COVERAGE_H) tree-pass.h $(TREE_DUMP_H) \
|
|
|
|
|
$(GGC_H) $(INTEGRATE_H) $(CPPLIB_H) opts.h $(TREE_FLOW_H) $(TREE_INLINE_H) \
|
|
|
|
|
gt-passes.h $(DF_H) $(PREDICT_H)
|
|
|
|
|
|
|
|
|
|
main.o : main.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) toplev.h
|
|
|
|
|
|
|
|
|
|
host-default.o : host-default.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
hosthooks.h $(HOSTHOOKS_DEF_H)
|
|
|
|
|
|
|
|
|
|
rtl-error.o: rtl-error.c $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(INSN_ATTR_H) insn-config.h input.h toplev.h intl.h $(DIAGNOSTIC_H) \
|
|
|
|
|
$(CONFIG_H)
|
|
|
|
|
|
|
|
|
|
rtl.o : rtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(GGC_H) $(BCONFIG_H) insn-notes.def reg-notes.def toplev.h $(REAL_H)
|
|
|
|
|
|
|
|
|
|
print-rtl.o : print-rtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) hard-reg-set.h $(BASIC_BLOCK_H) $(FLAGS_H) \
|
|
|
|
|
$(BCONFIG_H) $(REAL_H)
|
|
|
|
|
rtlanal.o : rtlanal.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) toplev.h \
|
|
|
|
|
$(RTL_H) hard-reg-set.h $(TM_P_H) insn-config.h $(RECOG_H) $(REAL_H) \
|
|
|
|
|
$(FLAGS_H) $(REGS_H) output.h $(TARGET_H) $(FUNCTION_H) $(TREE_H) \
|
|
|
|
|
$(DF_H)
|
|
|
|
|
|
|
|
|
|
varasm.o : varasm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(RTL_H) $(FLAGS_H) $(FUNCTION_H) $(EXPR_H) hard-reg-set.h $(REGS_H) \
|
|
|
|
|
output.h $(C_PRAGMA_H) toplev.h xcoffout.h debug.h $(GGC_H) $(TM_P_H) \
|
|
|
|
|
$(HASHTAB_H) $(TARGET_H) langhooks.h gt-varasm.h $(BASIC_BLOCK_H) \
|
|
|
|
|
$(CFGLAYOUT_H) $(CGRAPH_H) tree-mudflap.h $(REAL_H)
|
|
|
|
|
function.o : function.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(CFGLAYOUT_H) $(TREE_GIMPLE_H) $(FLAGS_H) $(FUNCTION_H) $(EXPR_H) \
|
|
|
|
|
$(OPTABS_H) libfuncs.h $(REGS_H) hard-reg-set.h insn-config.h $(RECOG_H) \
|
|
|
|
|
output.h toplev.h except.h $(HASHTAB_H) $(GGC_H) $(TM_P_H) langhooks.h \
|
|
|
|
|
gt-function.h $(TARGET_H) $(BASIC_BLOCK_H) $(INTEGRATE_H) $(PREDICT_H) \
|
|
|
|
|
tree-pass.h $(DF_H) timevar.h vecprim.h
|
|
|
|
|
stmt.o : stmt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(FLAGS_H) $(FUNCTION_H) insn-config.h hard-reg-set.h $(EXPR_H) \
|
|
|
|
|
libfuncs.h except.h $(RECOG_H) toplev.h output.h $(GGC_H) $(TM_P_H) \
|
|
|
|
|
langhooks.h $(PREDICT_H) $(OPTABS_H) $(TARGET_H) $(MACHMODE_H) \
|
|
|
|
|
$(REGS_H) alloc-pool.h
|
|
|
|
|
except.o : except.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(FLAGS_H) except.h $(FUNCTION_H) $(EXPR_H) libfuncs.h \
|
|
|
|
|
langhooks.h insn-config.h hard-reg-set.h $(BASIC_BLOCK_H) output.h \
|
|
|
|
|
dwarf2asm.h dwarf2out.h toplev.h $(HASHTAB_H) intl.h $(GGC_H) \
|
|
|
|
|
gt-except.h $(CGRAPH_H) $(INTEGRATE_H) $(DIAGNOSTIC_H) dwarf2.h \
|
|
|
|
|
$(TARGET_H) $(TM_P_H) tree-pass.h $(TIMEVAR_H)
|
|
|
|
|
expr.o : expr.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(FLAGS_H) $(FUNCTION_H) $(REGS_H) $(EXPR_H) $(OPTABS_H) \
|
|
|
|
|
libfuncs.h $(INSN_ATTR_H) insn-config.h $(RECOG_H) output.h \
|
|
|
|
|
typeclass.h hard-reg-set.h toplev.h hard-reg-set.h except.h reload.h \
|
|
|
|
|
$(GGC_H) langhooks.h intl.h $(TM_P_H) $(REAL_H) $(TARGET_H) \
|
|
|
|
|
tree-iterator.h gt-expr.h $(MACHMODE_H) $(TIMEVAR_H) $(TREE_FLOW_H) \
|
|
|
|
|
tree-pass.h $(DF_H) $(DIAGNOSTIC_H)
|
|
|
|
|
dojump.o : dojump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
|
|
|
|
|
$(FLAGS_H) $(FUNCTION_H) $(EXPR_H) $(OPTABS_H) $(INSN_ATTR_H) insn-config.h \
|
|
|
|
|
langhooks.h $(GGC_H) gt-dojump.h
|
|
|
|
|
builtins.o : builtins.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(TREE_GIMPLE_H) $(FLAGS_H) $(TARGET_H) $(FUNCTION_H) $(REGS_H) \
|
|
|
|
|
$(EXPR_H) $(OPTABS_H) insn-config.h $(RECOG_H) output.h typeclass.h \
|
|
|
|
|
hard-reg-set.h toplev.h hard-reg-set.h except.h $(TM_P_H) $(PREDICT_H) \
|
|
|
|
|
libfuncs.h $(REAL_H) langhooks.h $(BASIC_BLOCK_H) tree-mudflap.h \
|
|
|
|
|
$(BUILTINS_DEF) $(MACHMODE_H) $(DIAGNOSTIC_H)
|
|
|
|
|
calls.o : calls.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(FLAGS_H) $(EXPR_H) $(OPTABS_H) langhooks.h $(TARGET_H) \
|
|
|
|
|
libfuncs.h $(REGS_H) toplev.h output.h $(FUNCTION_H) $(TIMEVAR_H) $(TM_P_H) \
|
|
|
|
|
$(CGRAPH_H) except.h sbitmap.h $(DBGCNT_H)
|
|
|
|
|
expmed.o : expmed.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
|
|
|
|
|
$(FLAGS_H) insn-config.h $(EXPR_H) $(OPTABS_H) $(RECOG_H) $(REAL_H) \
|
|
|
|
|
toplev.h $(TM_P_H) langhooks.h $(DF_H) $(TARGET_H)
|
|
|
|
|
explow.o : explow.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
|
|
|
|
|
$(FLAGS_H) hard-reg-set.h insn-config.h $(EXPR_H) $(OPTABS_H) $(RECOG_H) \
|
|
|
|
|
toplev.h $(FUNCTION_H) $(GGC_H) $(TM_P_H) langhooks.h gt-explow.h \
|
|
|
|
|
$(TARGET_H) output.h
|
|
|
|
|
optabs.o : optabs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(FLAGS_H) insn-config.h $(EXPR_H) $(OPTABS_H) libfuncs.h \
|
|
|
|
|
$(RECOG_H) reload.h toplev.h $(GGC_H) $(REAL_H) $(TM_P_H) except.h \
|
|
|
|
|
gt-optabs.h $(BASIC_BLOCK_H) $(TARGET_H) $(FUNCTION_H)
|
|
|
|
|
dbxout.o : dbxout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(RTL_H) $(FLAGS_H) $(REGS_H) debug.h $(TM_P_H) $(TARGET_H) $(FUNCTION_H) \
|
|
|
|
|
langhooks.h insn-config.h reload.h gstab.h xcoffout.h output.h dbxout.h \
|
|
|
|
|
toplev.h $(GGC_H) $(OBSTACK_H) $(EXPR_H) gt-dbxout.h
|
|
|
|
|
debug.o : debug.c debug.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H)
|
|
|
|
|
sdbout.o : sdbout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) debug.h \
|
|
|
|
|
$(TREE_H) $(GGC_H) $(RTL_H) $(REGS_H) $(FLAGS_H) insn-config.h \
|
|
|
|
|
output.h toplev.h $(TM_P_H) gsyms.h langhooks.h $(TARGET_H) sdbout.h \
|
|
|
|
|
gt-sdbout.h reload.h $(VARRAY_H)
|
|
|
|
|
dwarf2out.o : dwarf2out.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) version.h $(RTL_H) dwarf2.h debug.h $(FLAGS_H) insn-config.h \
|
|
|
|
|
output.h $(DIAGNOSTIC_H) $(REAL_H) hard-reg-set.h $(REGS_H) $(EXPR_H) \
|
|
|
|
|
libfuncs.h toplev.h dwarf2out.h reload.h $(GGC_H) except.h dwarf2asm.h \
|
|
|
|
|
$(TM_P_H) langhooks.h $(HASHTAB_H) gt-dwarf2out.h $(TARGET_H) $(CGRAPH_H) \
|
|
|
|
|
$(MD5_H) input.h $(FUNCTION_H) $(VARRAY_H)
|
|
|
|
|
dwarf2asm.o : dwarf2asm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(FLAGS_H) $(RTL_H) $(TREE_H) output.h dwarf2asm.h $(TM_P_H) $(GGC_H) \
|
|
|
|
|
gt-dwarf2asm.h dwarf2.h $(SPLAY_TREE_H) $(TARGET_H)
|
|
|
|
|
vmsdbgout.o : vmsdbgout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) version.h \
|
|
|
|
|
$(RTL_H) $(FLAGS_H) output.h vmsdbg.h debug.h langhooks.h $(FUNCTION_H) $(TARGET_H)
|
|
|
|
|
xcoffout.o : xcoffout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) $(RTL_H) xcoffout.h $(FLAGS_H) toplev.h output.h dbxout.h \
|
|
|
|
|
$(GGC_H) $(TARGET_H) debug.h gstab.h xcoff.h
|
|
|
|
|
emit-rtl.o : emit-rtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(FLAGS_H) $(FUNCTION_H) $(REGS_H) insn-config.h $(RECOG_H) \
|
|
|
|
|
$(GGC_H) $(EXPR_H) hard-reg-set.h bitmap.h toplev.h $(BASIC_BLOCK_H) \
|
|
|
|
|
$(HASHTAB_H) $(TM_P_H) debug.h langhooks.h tree-pass.h gt-emit-rtl.h \
|
|
|
|
|
$(REAL_H) $(DF_H)
|
|
|
|
|
real.o : real.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
toplev.h $(TM_P_H) $(REAL_H)
|
|
|
|
|
dfp.o : dfp.c dfp.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
toplev.h $(TM_P_H) $(REAL_H) $(DECNUM_H)
|
|
|
|
|
fixed-value.o: fixed-value.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) fixed-value.h $(REAL_H) toplev.h
|
|
|
|
|
integrate.o : integrate.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) $(FLAGS_H) debug.h $(INTEGRATE_H) insn-config.h \
|
|
|
|
|
$(EXPR_H) $(REAL_H) $(REGS_H) intl.h $(FUNCTION_H) output.h $(RECOG_H) \
|
|
|
|
|
except.h toplev.h $(PARAMS_H) $(TM_P_H) $(TARGET_H) langhooks.h \
|
|
|
|
|
gt-integrate.h $(GGC_H) tree-pass.h $(DF_H)
|
|
|
|
|
jump.o : jump.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(FLAGS_H) hard-reg-set.h $(REGS_H) insn-config.h $(RECOG_H) $(EXPR_H) \
|
|
|
|
|
$(REAL_H) except.h $(FUNCTION_H) tree-pass.h $(DIAGNOSTIC_H) \
|
|
|
|
|
toplev.h $(INSN_ATTR_H) $(TM_P_H) reload.h $(PREDICT_H) \
|
|
|
|
|
$(TIMEVAR_H) $(TARGET_H)
|
|
|
|
|
simplify-rtx.o : simplify-rtx.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) $(REAL_H) insn-config.h \
|
|
|
|
|
$(RECOG_H) $(EXPR_H) toplev.h output.h $(FUNCTION_H) $(GGC_H) $(TM_P_H) \
|
|
|
|
|
$(TREE_H) $(TARGET_H)
|
|
|
|
|
cgraph.o : cgraph.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
langhooks.h toplev.h $(FLAGS_H) $(GGC_H) $(TARGET_H) $(CGRAPH_H) \
|
|
|
|
|
gt-cgraph.h output.h intl.h $(BASIC_BLOCK_H) debug.h $(HASHTAB_H) \
|
|
|
|
|
$(TREE_INLINE_H) $(VARRAY_H) $(TREE_DUMP_H) $(TREE_FLOW_H)
|
|
|
|
|
cgraphunit.o : cgraphunit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) langhooks.h $(TREE_INLINE_H) toplev.h $(FLAGS_H) $(GGC_H) \
|
|
|
|
|
$(TARGET_H) $(CGRAPH_H) intl.h pointer-set.h $(FUNCTION_H) $(TREE_GIMPLE_H) \
|
|
|
|
|
$(TREE_FLOW_H) tree-pass.h $(C_COMMON_H) debug.h $(DIAGNOSTIC_H) \
|
|
|
|
|
$(FIBHEAP_H) output.h $(PARAMS_H) $(RTL_H) $(TIMEVAR_H) ipa-prop.h \
|
|
|
|
|
gt-cgraphunit.h
|
|
|
|
|
cgraphbuild.o : cgraphbuild.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) langhooks.h $(CGRAPH_H) intl.h pointer-set.h $(TREE_GIMPLE_H) \
|
|
|
|
|
$(TREE_FLOW_H) tree-pass.h
|
|
|
|
|
varpool.o : varpool.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) langhooks.h $(TREE_INLINE_H) toplev.h $(FLAGS_H) $(GGC_H) \
|
|
|
|
|
$(TARGET_H) $(CGRAPH_H) intl.h pointer-set.h $(FUNCTION_H) $(TREE_GIMPLE_H) \
|
|
|
|
|
$(TREE_FLOW_H) tree-pass.h $(C_COMMON_H) debug.h $(DIAGNOSTIC_H) \
|
|
|
|
|
$(FIBHEAP_H) output.h $(PARAMS_H) $(RTL_H) $(TIMEVAR_H) ipa-prop.h \
|
|
|
|
|
gt-varpool.h
|
|
|
|
|
ipa.o : ipa.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(CGRAPH_H)
|
|
|
|
|
ipa-prop.o : ipa-prop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
langhooks.h $(GGC_H) $(TARGET_H) $(CGRAPH_H) ipa-prop.h \
|
|
|
|
|
$(TREE_FLOW_H) $(TM_H) tree-pass.h $(FLAGS_H) $(TREE_H)
|
|
|
|
|
ipa-cp.o : ipa-cp.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
langhooks.h $(TARGET_H) $(CGRAPH_H) ipa-prop.h tree-inline.h tree-dump.h \
|
|
|
|
|
$(TREE_FLOW_H) $(TM_H) tree-pass.h $(FLAGS_H) $(TREE_H) $(DIAGNOSTIC_H)
|
|
|
|
|
matrix-reorg.o : matrix-reorg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TARGET_H) $(CGRAPH_H) $(TREE_FLOW_H) $(TM_H) tree-pass.h \
|
|
|
|
|
$(FLAGS_H) $(TREE_H) $(DIAGNOSTIC_H)
|
|
|
|
|
ipa-inline.o : ipa-inline.c gt-ipa-inline.h $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) langhooks.h $(TREE_INLINE_H) $(FLAGS_H) $(CGRAPH_H) intl.h \
|
|
|
|
|
$(DIAGNOSTIC_H) $(FIBHEAP_H) $(PARAMS_H) $(TIMEVAR_H) tree-pass.h \
|
|
|
|
|
$(COVERAGE_H) $(HASHTAB_H) $(RTL_H)
|
|
|
|
|
ipa-utils.o : ipa-utils.c $(IPA_UTILS_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) langhooks.h \
|
|
|
|
|
pointer-set.h $(GGC_H) $(C_COMMON_H) $(TREE_GIMPLE_H) \
|
|
|
|
|
$(CGRAPH_H) output.h $(FLAGS_H) tree-pass.h $(DIAGNOSTIC_H)
|
|
|
|
|
ipa-reference.o : ipa-reference.c $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) langhooks.h \
|
|
|
|
|
pointer-set.h $(GGC_H) $(IPA_REFERENCE_H) $(IPA_UTILS_H) $(C_COMMON_H) \
|
|
|
|
|
$(TREE_GIMPLE_H) $(CGRAPH_H) output.h $(FLAGS_H) tree-pass.h \
|
|
|
|
|
$(DIAGNOSTIC_H) $(FUNCTION_H)
|
|
|
|
|
|
|
|
|
|
ipa-pure-const.o : ipa-pure-const.c $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) langhooks.h \
|
|
|
|
|
pointer-set.h $(GGC_H) $(IPA_UTILS_H) $(C_COMMON_H) $(TARGET_H) \
|
|
|
|
|
$(TREE_GIMPLE_H) $(CGRAPH_H) output.h $(FLAGS_H) tree-pass.h $(DIAGNOSTIC_H)
|
|
|
|
|
ipa-type-escape.o : ipa-type-escape.c $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(TM_H) $(TREE_H) $(TREE_FLOW_H) $(TREE_INLINE_H) langhooks.h \
|
|
|
|
|
pointer-set.h $(GGC_H) $(IPA_TYPE_ESCAPE_H) $(IPA_UTILS_H) $(C_COMMON_H) \
|
|
|
|
|
$(TREE_GIMPLE_H) $(CGRAPH_H) output.h $(FLAGS_H) tree-pass.h \
|
|
|
|
|
$(DIAGNOSTIC_H) $(FUNCTION_H)
|
|
|
|
|
ipa-struct-reorg.o: ipa-struct-reorg.c ipa-struct-reorg.h $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(TM_H) $(RTL_H) $(TREE_H) $(FLAGS_H) output.h $(REGS_H) \
|
|
|
|
|
$(EXPR_H) $(FUNCTION_H) toplev.h $(GGC_H) $(TARGET_H) langhooks.h $(COVERAGE_H) \
|
|
|
|
|
libfuncs.h gt-coverage.h $(HASHTAB_H) $(IPA_TYPE_ESCAPE_H)
|
|
|
|
|
|
|
|
|
|
coverage.o : coverage.c $(GCOV_IO_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(RTL_H) $(TREE_H) $(FLAGS_H) output.h $(REGS_H) $(EXPR_H) \
|
|
|
|
|
$(FUNCTION_H) toplev.h $(GGC_H) langhooks.h $(COVERAGE_H) gt-coverage.h \
|
|
|
|
|
$(HASHTAB_H) $(CGRAPH_H) tree-iterator.h
|
|
|
|
|
cselib.o : cselib.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(REGS_H) hard-reg-set.h $(FLAGS_H) $(REAL_H) insn-config.h $(RECOG_H) \
|
|
|
|
|
$(EMIT_RTL_H) toplev.h output.h $(FUNCTION_H) cselib.h $(GGC_H) $(TM_P_H) \
|
|
|
|
|
gt-cselib.h $(PARAMS_H) alloc-pool.h $(HASHTAB_H) $(TARGET_H)
|
|
|
|
|
cse.o : cse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(REGS_H) \
|
|
|
|
|
hard-reg-set.h $(FLAGS_H) insn-config.h $(RECOG_H) $(EXPR_H) toplev.h \
|
|
|
|
|
output.h $(FUNCTION_H) $(BASIC_BLOCK_H) $(GGC_H) $(TM_P_H) $(TIMEVAR_H) \
|
|
|
|
|
except.h $(TARGET_H) $(PARAMS_H) rtlhooks-def.h tree-pass.h $(REAL_H) \
|
|
|
|
|
$(DF_H) $(DBGCNT_H)
|
|
|
|
|
dce.o : dce.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) $(DF_H) cselib.h \
|
|
|
|
|
$(DBGCNT_H) dce.h timevar.h tree-pass.h $(DBGCNT_H)
|
|
|
|
|
dse.o : dse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(TM_P_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
|
|
|
|
|
$(RECOG_H) $(EXPR_H) $(DF_H) cselib.h $(DBGCNT_H) timevar.h tree-pass.h \
|
|
|
|
|
alloc-pool.h $(ALIAS_H) dse.h $(OPTABS_H)
|
|
|
|
|
fwprop.o : fwprop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
toplev.h insn-config.h $(RECOG_H) $(FLAGS_H) $(OBSTACK_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
output.h $(DF_H) alloc-pool.h $(TIMEVAR_H) tree-pass.h
|
|
|
|
|
web.o : web.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
hard-reg-set.h $(FLAGS_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h toplev.h \
|
|
|
|
|
$(DF_H) $(OBSTACK_H) $(TIMEVAR_H) tree-pass.h
|
|
|
|
|
see.o : see.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
hard-reg-set.h $(FLAGS_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h toplev.h \
|
|
|
|
|
$(DF_H) $(OBSTACK_H) $(TIMEVAR_H) tree-pass.h $(EXPR_H) dce.h
|
|
|
|
|
gcse.o : gcse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(REGS_H) hard-reg-set.h $(FLAGS_H) $(REAL_H) insn-config.h $(GGC_H) \
|
|
|
|
|
$(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h toplev.h \
|
|
|
|
|
$(TM_P_H) $(PARAMS_H) except.h gt-gcse.h $(TREE_H) cselib.h $(TIMEVAR_H) \
|
|
|
|
|
intl.h $(OBSTACK_H) tree-pass.h $(DF_H) $(DBGCNT_H)
|
|
|
|
|
resource.o : resource.c $(CONFIG_H) $(RTL_H) hard-reg-set.h $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(TM_H) $(REGS_H) $(FLAGS_H) output.h $(RESOURCE_H) $(DF_H) \
|
|
|
|
|
$(FUNCTION_H) toplev.h $(INSN_ATTR_H) except.h $(PARAMS_H) $(TM_P_H)
|
|
|
|
|
lcm.o : lcm.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(REGS_H) \
|
|
|
|
|
hard-reg-set.h $(FLAGS_H) insn-config.h $(INSN_ATTR_H) $(RECOG_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) $(TM_P_H) $(FUNCTION_H) output.h $(REAL_H)
|
|
|
|
|
mode-switching.o : mode-switching.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
|
|
|
|
|
$(INSN_ATTR_H) $(RECOG_H) $(BASIC_BLOCK_H) $(TM_P_H) $(FUNCTION_H) \
|
|
|
|
|
output.h tree-pass.h $(TIMEVAR_H) $(REAL_H) $(DF_H)
|
|
|
|
|
tree-ssa-dce.o : tree-ssa-dce.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
|
|
|
|
|
$(RTL_H) $(TM_P_H) $(TREE_FLOW_H) $(DIAGNOSTIC_H) $(TIMEVAR_H) $(TM_H) \
|
|
|
|
|
coretypes.h $(TREE_DUMP_H) tree-pass.h $(FLAGS_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
$(GGC_H) hard-reg-set.h $(OBSTACK_H) $(TREE_GIMPLE_H) $(CFGLOOP_H) \
|
|
|
|
|
$(SCEV_H)
|
|
|
|
|
tree-ssa-ccp.o : tree-ssa-ccp.c $(TREE_FLOW_H) $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) $(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(GGC_H) output.h \
|
|
|
|
|
$(DIAGNOSTIC_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) coretypes.h \
|
|
|
|
|
$(TREE_DUMP_H) $(BASIC_BLOCK_H) tree-pass.h langhooks.h \
|
|
|
|
|
tree-ssa-propagate.h $(FLAGS_H) $(TARGET_H) toplev.h
|
|
|
|
|
tree-sra.o : tree-sra.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(RTL_H) \
|
|
|
|
|
$(TM_P_H) $(TREE_FLOW_H) $(DIAGNOSTIC_H) $(TREE_INLINE_H) \
|
|
|
|
|
$(TIMEVAR_H) $(TM_H) coretypes.h $(TREE_DUMP_H) $(TREE_GIMPLE_H) \
|
|
|
|
|
langhooks.h tree-pass.h $(FLAGS_H) $(EXPR_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
bitmap.h $(GGC_H) hard-reg-set.h $(OBSTACK_H) $(PARAMS_H) $(TARGET_H)
|
|
|
|
|
tree-complex.o : tree-complex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TREE_H) \
|
|
|
|
|
$(TM_H) $(RTL_H) $(REAL_H) $(FLAGS_H) $(TREE_FLOW_H) $(TREE_GIMPLE_H) \
|
|
|
|
|
tree-iterator.h tree-pass.h tree-ssa-propagate.h $(DIAGNOSTIC_H)
|
|
|
|
|
tree-vect-generic.o : tree-vect-generic.c $(CONFIG_H) $(SYSTEM_H) $(TREE_H) \
|
|
|
|
|
$(TM_H) $(TREE_FLOW_H) $(TREE_GIMPLE_H) tree-iterator.h tree-pass.h \
|
|
|
|
|
$(FLAGS_H) $(OPTABS_H) $(RTL_H) $(MACHMODE_H) $(EXPR_H) \
|
|
|
|
|
langhooks.h $(FLAGS_H) $(DIAGNOSTIC_H) gt-tree-vect-generic.h $(GGC_H) \
|
|
|
|
|
coretypes.h insn-codes.h
|
|
|
|
|
df-core.o : df-core.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
insn-config.h $(RECOG_H) $(FUNCTION_H) $(REGS_H) alloc-pool.h \
|
|
|
|
|
hard-reg-set.h $(BASIC_BLOCK_H) $(DF_H) bitmap.h sbitmap.h \
|
|
|
|
|
$(TM_P_H) $(FLAGS_H) output.h tree-pass.h
|
|
|
|
|
df-problems.o : df-problems.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) insn-config.h $(RECOG_H) $(FUNCTION_H) $(REGS_H) alloc-pool.h \
|
|
|
|
|
hard-reg-set.h $(BASIC_BLOCK_H) $(DF_H) bitmap.h sbitmap.h $(TM_P_H) \
|
|
|
|
|
$(FLAGS_H) output.h except.h dce.h vecprim.h
|
|
|
|
|
df-scan.o : df-scan.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
insn-config.h $(RECOG_H) $(FUNCTION_H) $(REGS_H) alloc-pool.h \
|
|
|
|
|
hard-reg-set.h $(BASIC_BLOCK_H) $(DF_H) bitmap.h sbitmap.h $(TM_P_H) \
|
|
|
|
|
$(FLAGS_H) $(TARGET_H) $(TARGET_DEF_H) $(TREE_H) output.h tree-pass.h
|
|
|
|
|
regstat.o : regstat.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TM_P_H) $(FLAGS_H) $(REGS_H) output.h except.h hard-reg-set.h \
|
|
|
|
|
$(BASIC_BLOCK_H) $(TIMEVAR_H) $(DF_H)
|
|
|
|
|
var-tracking.o : var-tracking.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) hard-reg-set.h insn-config.h reload.h $(FLAGS_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) output.h sbitmap.h alloc-pool.h $(FIBHEAP_H) $(HASHTAB_H) \
|
|
|
|
|
$(REGS_H) $(EXPR_H) $(TIMEVAR_H) tree-pass.h
|
|
|
|
|
profile.o : profile.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(FLAGS_H) output.h $(REGS_H) $(EXPR_H) $(FUNCTION_H) \
|
|
|
|
|
toplev.h $(COVERAGE_H) $(TREE_FLOW_H) value-prof.h cfghooks.h \
|
|
|
|
|
$(CFGLOOP_H) $(TIMEVAR_H) tree-pass.h
|
|
|
|
|
tree-profile.o : tree-profile.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(RTL_H) $(TREE_H) $(FLAGS_H) output.h $(REGS_H) $(EXPR_H) \
|
|
|
|
|
$(FUNCTION_H) toplev.h $(COVERAGE_H) $(TREE_H) value-prof.h $(TREE_DUMP_H) \
|
|
|
|
|
tree-pass.h $(TREE_FLOW_H) $(TIMEVAR_H) $(GGC_H) gt-tree-profile.h $(CGRAPH_H)
|
|
|
|
|
value-prof.o : value-prof.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) hard-reg-set.h value-prof.h $(EXPR_H) output.h $(FLAGS_H) \
|
|
|
|
|
$(RECOG_H) insn-config.h $(OPTABS_H) $(REGS_H) $(GGC_H) $(DIAGNOSTIC_H) \
|
|
|
|
|
$(TREE_H) $(COVERAGE_H) $(RTL_H) $(GCOV_IO_H) $(TREE_FLOW_H) \
|
|
|
|
|
tree-flow-inline.h $(TIMEVAR_H) tree-pass.h
|
|
|
|
|
loop-doloop.o : loop-doloop.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(FLAGS_H) $(EXPR_H) hard-reg-set.h $(BASIC_BLOCK_H) $(TM_P_H) \
|
|
|
|
|
toplev.h $(CFGLOOP_H) output.h $(PARAMS_H) $(TARGET_H)
|
|
|
|
|
alloc-pool.o : alloc-pool.c $(CONFIG_H) $(SYSTEM_H) alloc-pool.h $(HASHTAB_H)
|
|
|
|
|
auto-inc-dec.o : auto-inc-dec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TREE_H) $(RTL_H) $(TM_P_H) hard-reg-set.h $(BASIC_BLOCK_H) insn-config.h \
|
|
|
|
|
$(REGS_H) $(FLAGS_H) output.h $(FUNCTION_H) except.h toplev.h $(RECOG_H) \
|
|
|
|
|
$(EXPR_H) $(TIMEVAR_H) tree-pass.h $(DF_H) $(DBGCNT_H)
|
|
|
|
|
cfg.o : cfg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(FLAGS_H) \
|
|
|
|
|
$(REGS_H) hard-reg-set.h output.h toplev.h $(FUNCTION_H) except.h $(GGC_H) \
|
|
|
|
|
$(TM_P_H) $(TIMEVAR_H) $(OBSTACK_H) $(TREE_H) alloc-pool.h \
|
|
|
|
|
$(HASHTAB_H) $(DF_H) $(CFGLOOP_H) $(TREE_FLOW_H)
|
|
|
|
|
cfghooks.o: cfghooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(BASIC_BLOCK_H) $(TREE_FLOW_H) $(TIMEVAR_H) toplev.h $(CFGLOOP_H)
|
|
|
|
|
cfgexpand.o : cfgexpand.c $(TREE_FLOW_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) $(TM_P_H) $(EXPR_H) $(FUNCTION_H) $(TIMEVAR_H) $(TM_H) \
|
|
|
|
|
coretypes.h $(TREE_DUMP_H) except.h langhooks.h tree-pass.h $(RTL_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) toplev.h $(BASIC_BLOCK_H) $(FLAGS_H) debug.h $(PARAMS_H) \
|
|
|
|
|
value-prof.h
|
|
|
|
|
cfgrtl.o : cfgrtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(FLAGS_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h \
|
|
|
|
|
output.h toplev.h $(FUNCTION_H) except.h $(TM_P_H) insn-config.h $(EXPR_H) \
|
|
|
|
|
$(CFGLAYOUT_H) $(CFGLOOP_H) $(OBSTACK_H) $(TARGET_H) $(TREE_H) \
|
|
|
|
|
tree-pass.h $(DF_H)
|
|
|
|
|
cfganal.o : cfganal.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) hard-reg-set.h insn-config.h $(RECOG_H) $(TM_P_H) \
|
|
|
|
|
$(TIMEVAR_H) $(OBSTACK_H) toplev.h
|
|
|
|
|
cfgbuild.o : cfgbuild.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(FLAGS_H) $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h output.h toplev.h \
|
|
|
|
|
$(FUNCTION_H) except.h $(TIMEVAR_H) $(TREE_H)
|
|
|
|
|
cfgcleanup.o : cfgcleanup.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(TIMEVAR_H) hard-reg-set.h output.h $(FLAGS_H) $(RECOG_H) \
|
|
|
|
|
toplev.h insn-config.h cselib.h $(TARGET_H) $(TM_P_H) $(PARAMS_H) \
|
|
|
|
|
$(REGS_H) $(EMIT_RTL_H) $(CFGLAYOUT_H) tree-pass.h $(CFGLOOP_H) $(EXPR_H) \
|
|
|
|
|
$(DF_H) $(DBGCNT_H)
|
|
|
|
|
cfgloop.o : cfgloop.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(FLAGS_H) $(FUNCTION_H) \
|
|
|
|
|
$(OBSTACK_H) toplev.h $(TREE_FLOW_H) $(TREE_H) pointer-set.h output.h \
|
|
|
|
|
$(GGC_H)
|
|
|
|
|
cfgloopanal.o : cfgloopanal.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(EXPR_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(OBSTACK_H) output.h graphds.h
|
|
|
|
|
graphds.o : graphds.c graphds.h $(CONFIG_H) $(SYSTEM_H) bitmap.h $(OBSTACK_H) \
|
|
|
|
|
coretypes.h vec.h vecprim.h
|
|
|
|
|
loop-iv.o : loop-iv.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
hard-reg-set.h $(CFGLOOP_H) $(EXPR_H) coretypes.h $(TM_H) $(OBSTACK_H) \
|
|
|
|
|
output.h intl.h $(DF_H) $(HASHTAB_H)
|
|
|
|
|
loop-invariant.o : loop-invariant.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(EXPR_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(TM_P_H) $(FUNCTION_H) $(FLAGS_H) $(DF_H) $(OBSTACK_H) output.h \
|
|
|
|
|
$(HASHTAB_H) except.h
|
|
|
|
|
cfgloopmanip.o : cfgloopmanip.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(CFGLAYOUT_H) output.h \
|
|
|
|
|
coretypes.h $(TM_H) cfghooks.h $(OBSTACK_H)
|
|
|
|
|
loop-init.o : loop-init.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(GGC_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(CFGLAYOUT_H) \
|
|
|
|
|
coretypes.h $(TM_H) $(OBSTACK_H) tree-pass.h $(TIMEVAR_H) $(FLAGS_H) $(DF_H)
|
|
|
|
|
loop-unswitch.o : loop-unswitch.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TM_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(CFGLAYOUT_H) $(PARAMS_H) \
|
|
|
|
|
output.h $(EXPR_H) coretypes.h $(TM_H) $(OBSTACK_H)
|
|
|
|
|
loop-unroll.o: loop-unroll.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) $(TM_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) hard-reg-set.h $(CFGLOOP_H) $(CFGLAYOUT_H) $(PARAMS_H) \
|
|
|
|
|
output.h $(EXPR_H) coretypes.h $(TM_H) $(HASHTAB_H) $(RECOG_H) \
|
|
|
|
|
$(OBSTACK_H)
|
|
|
|
|
dominance.o : dominance.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
hard-reg-set.h $(BASIC_BLOCK_H) et-forest.h $(OBSTACK_H) toplev.h \
|
|
|
|
|
$(TIMEVAR_H) graphds.h vecprim.h pointer-set.h
|
|
|
|
|
et-forest.o : et-forest.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
et-forest.h alloc-pool.h $(BASIC_BLOCK_H)
|
|
|
|
|
combine.o : combine.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(FLAGS_H) $(FUNCTION_H) insn-config.h $(INSN_ATTR_H) $(REGS_H) $(EXPR_H) \
|
|
|
|
|
rtlhooks-def.h $(BASIC_BLOCK_H) $(RECOG_H) $(REAL_H) hard-reg-set.h \
|
|
|
|
|
toplev.h $(TM_P_H) $(TREE_H) $(TARGET_H) output.h $(PARAMS_H) $(OPTABS_H) \
|
|
|
|
|
insn-codes.h $(TIMEVAR_H) tree-pass.h $(DF_H)
|
|
|
|
|
regclass.o : regclass.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
hard-reg-set.h $(FLAGS_H) $(BASIC_BLOCK_H) $(REGS_H) insn-config.h \
|
|
|
|
|
$(RECOG_H) reload.h $(REAL_H) toplev.h $(FUNCTION_H) output.h $(GGC_H) \
|
|
|
|
|
$(TM_P_H) $(EXPR_H) $(TIMEVAR_H) gt-regclass.h $(HASHTAB_H) \
|
|
|
|
|
$(TARGET_H) tree-pass.h $(DF_H)
|
|
|
|
|
local-alloc.o : local-alloc.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(FLAGS_H) $(REGS_H) hard-reg-set.h insn-config.h $(RECOG_H) \
|
|
|
|
|
output.h $(FUNCTION_H) $(INSN_ATTR_H) toplev.h except.h reload.h $(TM_P_H) \
|
|
|
|
|
$(GGC_H) $(INTEGRATE_H) $(TIMEVAR_H) tree-pass.h $(DF_H) $(DBGCNT_H)
|
|
|
|
|
bitmap.o : bitmap.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(FLAGS_H) $(GGC_H) gt-bitmap.h bitmap.h $(OBSTACK_H)
|
|
|
|
|
global.o : global.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(FLAGS_H) reload.h $(FUNCTION_H) $(RECOG_H) $(REGS_H) hard-reg-set.h \
|
|
|
|
|
insn-config.h output.h toplev.h $(TM_P_H) $(MACHMODE_H) tree-pass.h \
|
|
|
|
|
$(TIMEVAR_H) vecprim.h $(DF_H) $(DBGCNT_H) $(RA_H)
|
|
|
|
|
ra-conflict.o : ra-conflict.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(FLAGS_H) reload.h $(FUNCTION_H) $(RECOG_H) $(REGS_H) hard-reg-set.h \
|
|
|
|
|
insn-config.h output.h toplev.h $(TM_P_H) $(MACHMODE_H) tree-pass.h \
|
|
|
|
|
$(TIMEVAR_H) vecprim.h $(DF_H) $(RA_H) sbitmap.h
|
|
|
|
|
varray.o : varray.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(GGC_H) \
|
|
|
|
|
$(HASHTAB_H) $(BCONFIG_H) $(VARRAY_H) toplev.h
|
|
|
|
|
vec.o : vec.c $(CONFIG_H) $(SYSTEM_H) coretypes.h vec.h $(GGC_H) \
|
|
|
|
|
toplev.h
|
|
|
|
|
reload.o : reload.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(FLAGS_H) output.h $(EXPR_H) $(OPTABS_H) reload.h $(RECOG_H) \
|
|
|
|
|
hard-reg-set.h insn-config.h $(REGS_H) $(FUNCTION_H) real.h toplev.h \
|
|
|
|
|
addresses.h $(TM_P_H) $(PARAMS_H) $(TARGET_H) $(REAL_H) $(DF_H)
|
|
|
|
|
reload1.o : reload1.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(EXPR_H) $(OPTABS_H) reload.h $(REGS_H) hard-reg-set.h insn-config.h \
|
|
|
|
|
$(BASIC_BLOCK_H) $(RECOG_H) output.h $(FUNCTION_H) toplev.h $(TM_P_H) \
|
|
|
|
|
addresses.h except.h $(TREE_H) $(REAL_H) $(FLAGS_H) $(MACHMODE_H) \
|
|
|
|
|
$(OBSTACK_H) $(DF_H) $(TARGET_H) dse.h
|
|
|
|
|
rtlhooks.o : rtlhooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
rtlhooks-def.h $(EXPR_H) $(RECOG_H)
|
|
|
|
|
postreload.o : postreload.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(REAL_H) $(FLAGS_H) $(EXPR_H) $(OPTABS_H) reload.h $(REGS_H) \
|
|
|
|
|
hard-reg-set.h insn-config.h $(BASIC_BLOCK_H) $(RECOG_H) output.h \
|
|
|
|
|
$(FUNCTION_H) toplev.h cselib.h $(TM_P_H) except.h $(TREE_H) $(MACHMODE_H) \
|
|
|
|
|
$(OBSTACK_H) $(TIMEVAR_H) tree-pass.h $(DF_H)
|
|
|
|
|
postreload-gcse.o : postreload-gcse.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(RTL_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
|
|
|
|
|
$(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) $(FUNCTION_H) output.h toplev.h \
|
|
|
|
|
$(TM_P_H) except.h $(TREE_H) $(TARGET_H) $(HASHTAB_H) intl.h $(OBSTACK_H) \
|
|
|
|
|
$(PARAMS_H) $(TIMEVAR_H) tree-pass.h $(REAL_H) $(DBGCNT_H)
|
|
|
|
|
caller-save.o : caller-save.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(FLAGS_H) $(REGS_H) hard-reg-set.h insn-config.h $(BASIC_BLOCK_H) $(FUNCTION_H) \
|
|
|
|
|
addresses.h $(RECOG_H) reload.h $(EXPR_H) toplev.h $(TM_P_H) $(DF_H) \
|
|
|
|
|
gt-caller-save.h
|
|
|
|
|
bt-load.o : bt-load.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) except.h \
|
|
|
|
|
$(RTL_H) hard-reg-set.h $(REGS_H) $(TM_P_H) $(FIBHEAP_H) output.h $(EXPR_H) \
|
|
|
|
|
$(TARGET_H) $(FLAGS_H) $(INSN_ATTR_H) $(FUNCTION_H) tree-pass.h toplev.h \
|
|
|
|
|
$(DF_H) $(GGC_H)
|
|
|
|
|
reorg.o : reorg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
conditions.h hard-reg-set.h $(BASIC_BLOCK_H) $(REGS_H) insn-config.h \
|
|
|
|
|
$(INSN_ATTR_H) except.h $(RECOG_H) $(FUNCTION_H) $(FLAGS_H) output.h \
|
|
|
|
|
$(EXPR_H) toplev.h $(PARAMS_H) $(TM_P_H) $(OBSTACK_H) $(RESOURCE_H) \
|
|
|
|
|
$(TIMEVAR_H) $(TARGET_H) tree-pass.h
|
|
|
|
|
alias.o : alias.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(FLAGS_H) hard-reg-set.h $(BASIC_BLOCK_H) $(REGS_H) toplev.h output.h \
|
|
|
|
|
$(ALIAS_H) $(EMIT_RTL_H) $(GGC_H) $(FUNCTION_H) cselib.h $(TREE_H) $(TM_P_H) \
|
|
|
|
|
langhooks.h $(TARGET_H) gt-alias.h $(TIMEVAR_H) $(CGRAPH_H) \
|
|
|
|
|
$(SPLAY_TREE_H) $(VARRAY_H) $(IPA_TYPE_ESCAPE_H) $(DF_H) tree-pass.h
|
|
|
|
|
stack-ptr-mod.o : stack-ptr-mod.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(TREE_H) $(RTL_H) $(REGS_H) $(EXPR_H) tree-pass.h \
|
|
|
|
|
$(BASIC_BLOCK_H) $(FLAGS_H) output.h $(DF_H)
|
|
|
|
|
init-regs.o : init-regs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(TREE_H) $(RTL_H) $(REGS_H) $(EXPR_H) tree-pass.h \
|
|
|
|
|
$(BASIC_BLOCK_H) $(FLAGS_H) $(DF_H)
|
|
|
|
|
regmove.o : regmove.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
insn-config.h $(TIMEVAR_H) tree-pass.h $(DF_H)\
|
|
|
|
|
$(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \
|
|
|
|
|
$(EXPR_H) $(BASIC_BLOCK_H) toplev.h $(TM_P_H) except.h reload.h
|
|
|
|
|
combine-stack-adj.o : combine-stack-adj.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(RTL_H) insn-config.h $(TIMEVAR_H) tree-pass.h \
|
|
|
|
|
$(RECOG_H) output.h $(REGS_H) hard-reg-set.h $(FLAGS_H) $(FUNCTION_H) \
|
|
|
|
|
$(EXPR_H) $(BASIC_BLOCK_H) toplev.h $(TM_P_H) except.h reload.h
|
|
|
|
|
ddg.o : ddg.c $(DDG_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TARGET_H) \
|
|
|
|
|
toplev.h $(RTL_H) $(TM_P_H) $(REGS_H) $(FUNCTION_H) \
|
|
|
|
|
$(FLAGS_H) insn-config.h $(INSN_ATTR_H) except.h $(RECOG_H) \
|
|
|
|
|
$(SCHED_INT_H) $(CFGLAYOUT_H) $(CFGLOOP_H) $(EXPR_H) bitmap.h \
|
|
|
|
|
hard-reg-set.h sbitmap.h $(TM_H)
|
|
|
|
|
modulo-sched.o : modulo-sched.c $(DDG_H) $(CONFIG_H) $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(TARGET_H) toplev.h $(RTL_H) $(TM_P_H) $(REGS_H) $(FUNCTION_H) \
|
|
|
|
|
$(FLAGS_H) insn-config.h $(INSN_ATTR_H) except.h $(RECOG_H) \
|
|
|
|
|
$(SCHED_INT_H) $(CFGLAYOUT_H) $(CFGLOOP_H) $(EXPR_H) $(PARAMS_H) \
|
|
|
|
|
cfghooks.h $(GCOV_IO_H) hard-reg-set.h $(TM_H) timevar.h tree-pass.h \
|
|
|
|
|
$(DF_H) $(DBGCNT_H)
|
|
|
|
|
haifa-sched.o : haifa-sched.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h $(FUNCTION_H) \
|
|
|
|
|
$(INSN_ATTR_H) toplev.h $(RECOG_H) except.h $(TM_P_H) $(TARGET_H) output.h \
|
|
|
|
|
$(PARAMS_H) $(DBGCNT_H)
|
|
|
|
|
sched-deps.o : sched-deps.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
|
|
|
|
|
$(FUNCTION_H) $(INSN_ATTR_H) toplev.h $(RECOG_H) except.h cselib.h \
|
|
|
|
|
$(PARAMS_H) $(TM_P_H)
|
|
|
|
|
sched-rgn.o : sched-rgn.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
|
|
|
|
|
$(FUNCTION_H) $(INSN_ATTR_H) toplev.h $(RECOG_H) except.h $(PARAMS_H) \
|
|
|
|
|
$(TM_P_H) $(TARGET_H) $(CFGLAYOUT_H) $(TIMEVAR_H) tree-pass.h $(DBGCNT_H)
|
|
|
|
|
sched-ebb.o : sched-ebb.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(SCHED_INT_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) insn-config.h \
|
|
|
|
|
$(FUNCTION_H) $(INSN_ATTR_H) toplev.h $(RECOG_H) except.h $(TM_P_H) \
|
|
|
|
|
$(PARAMS_H) $(CFGLAYOUT_H) $(TARGET_H) output.h
|
|
|
|
|
sched-vis.o : sched-vis.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(SCHED_INT_H) hard-reg-set.h $(BASIC_BLOCK_H) $(OBSTACK_H) \
|
|
|
|
|
$(TM_P_H) $(REAL_H) toplev.h tree-pass.h
|
|
|
|
|
final.o : final.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(FLAGS_H) intl.h $(REGS_H) $(RECOG_H) conditions.h \
|
|
|
|
|
insn-config.h $(INSN_ATTR_H) $(FUNCTION_H) output.h hard-reg-set.h \
|
|
|
|
|
except.h debug.h xcoffout.h toplev.h reload.h dwarf2out.h tree-pass.h \
|
|
|
|
|
$(BASIC_BLOCK_H) $(TM_P_H) $(TARGET_H) $(EXPR_H) $(CFGLAYOUT_H) dbxout.h \
|
|
|
|
|
$(TIMEVAR_H) $(CGRAPH_H) $(COVERAGE_H) $(REAL_H) $(DF_H) vecprim.h $(GGC_H) \
|
|
|
|
|
$(CFGLOOP_H) $(PARAMS_H)
|
|
|
|
|
recog.o : recog.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(FUNCTION_H) $(BASIC_BLOCK_H) $(REGS_H) $(RECOG_H) $(EXPR_H) \
|
|
|
|
|
$(FLAGS_H) insn-config.h $(INSN_ATTR_H) toplev.h output.h reload.h \
|
|
|
|
|
addresses.h $(TM_P_H) $(TIMEVAR_H) tree-pass.h hard-reg-set.h $(REAL_H) \
|
|
|
|
|
$(DF_H) $(DBGCNT_H)
|
|
|
|
|
reg-stack.o : reg-stack.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) $(RECOG_H) $(REGS_H) hard-reg-set.h $(FLAGS_H) \
|
|
|
|
|
insn-config.h toplev.h reload.h $(FUNCTION_H) $(TM_P_H) $(GGC_H) \
|
|
|
|
|
$(BASIC_BLOCK_H) output.h $(VARRAY_H) $(TIMEVAR_H) tree-pass.h \
|
|
|
|
|
$(TARGET_H) vecprim.h $(DF_H)
|
|
|
|
|
sreal.o: sreal.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) sreal.h
|
|
|
|
|
predict.o: predict.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(FLAGS_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) \
|
|
|
|
|
hard-reg-set.h output.h toplev.h $(RECOG_H) $(FUNCTION_H) except.h \
|
|
|
|
|
$(TM_P_H) $(PREDICT_H) sreal.h $(PARAMS_H) $(TARGET_H) $(CFGLOOP_H) \
|
|
|
|
|
$(COVERAGE_H) $(SCEV_H) $(GGC_H) predict.def $(TIMEVAR_H) $(TREE_DUMP_H) \
|
|
|
|
|
$(TREE_FLOW_H) tree-pass.h $(EXPR_H) pointer-set.h
|
|
|
|
|
lists.o: lists.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) toplev.h \
|
|
|
|
|
$(RTL_H) $(GGC_H) gt-lists.h
|
|
|
|
|
bb-reorder.o : bb-reorder.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(FLAGS_H) $(TIMEVAR_H) output.h $(CFGLAYOUT_H) $(FIBHEAP_H) \
|
|
|
|
|
$(TARGET_H) $(FUNCTION_H) $(TM_P_H) $(OBSTACK_H) $(EXPR_H) $(REGS_H) \
|
|
|
|
|
$(PARAMS_H) toplev.h tree-pass.h
|
|
|
|
|
tracer.o : tracer.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(TREE_H) $(BASIC_BLOCK_H) hard-reg-set.h output.h $(CFGLAYOUT_H) \
|
|
|
|
|
$(FLAGS_H) $(TIMEVAR_H) $(PARAMS_H) $(COVERAGE_H) $(FIBHEAP_H) \
|
|
|
|
|
tree-pass.h
|
|
|
|
|
cfglayout.o : cfglayout.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(TREE_H) insn-config.h $(BASIC_BLOCK_H) hard-reg-set.h output.h \
|
|
|
|
|
$(FUNCTION_H) $(CFGLAYOUT_H) $(CFGLOOP_H) $(TARGET_H) gt-cfglayout.h \
|
|
|
|
|
$(GGC_H) alloc-pool.h $(FLAGS_H) $(OBSTACK_H) tree-pass.h vecprim.h \
|
|
|
|
|
$(DF_H)
|
|
|
|
|
timevar.o : timevar.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(TIMEVAR_H) $(FLAGS_H) intl.h toplev.h $(RTL_H) timevar.def
|
|
|
|
|
regrename.o : regrename.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) insn-config.h $(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h \
|
|
|
|
|
output.h $(RECOG_H) $(FUNCTION_H) $(OBSTACK_H) $(FLAGS_H) $(TM_P_H) \
|
|
|
|
|
addresses.h reload.h toplev.h $(TIMEVAR_H) tree-pass.h $(DF_H)
|
|
|
|
|
ifcvt.o : ifcvt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) \
|
|
|
|
|
$(REGS_H) toplev.h $(FLAGS_H) insn-config.h $(FUNCTION_H) $(RECOG_H) \
|
|
|
|
|
$(TARGET_H) $(BASIC_BLOCK_H) $(EXPR_H) output.h except.h $(TM_P_H) \
|
|
|
|
|
$(REAL_H) $(OPTABS_H) $(CFGLOOP_H) hard-reg-set.h $(TIMEVAR_H) tree-pass.h \
|
|
|
|
|
$(DF_H) $(DBGCNT_H)
|
|
|
|
|
lambda-mat.o : lambda-mat.c $(LAMBDA_H) $(GGC_H) $(SYSTEM_H) $(CONFIG_H) \
|
|
|
|
|
$(TM_H) coretypes.h $(TREE_H)
|
|
|
|
|
lambda-trans.o: lambda-trans.c $(LAMBDA_H) $(GGC_H) $(SYSTEM_H) $(CONFIG_H) \
|
|
|
|
|
$(TM_H) coretypes.h $(TARGET_H) $(TREE_H)
|
|
|
|
|
lambda-code.o: lambda-code.c $(LAMBDA_H) $(GGC_H) $(SYSTEM_H) $(CONFIG_H) \
|
|
|
|
|
$(TM_H) $(OPTABS_H) $(TREE_H) $(RTL_H) $(BASIC_BLOCK_H) \
|
|
|
|
|
$(DIAGNOSTIC_H) $(TREE_FLOW_H) $(TREE_DUMP_H) $(TIMEVAR_H) $(CFGLOOP_H) \
|
|
|
|
|
$(TREE_DATA_REF_H) $(SCEV_H) $(EXPR_H) coretypes.h $(TARGET_H) \
|
|
|
|
|
tree-chrec.h tree-pass.h vec.h vecprim.h $(OBSTACK_H)
|
|
|
|
|
params.o : params.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(PARAMS_H) toplev.h
|
|
|
|
|
pointer-set.o: pointer-set.c pointer-set.h $(CONFIG_H) $(SYSTEM_H)
|
|
|
|
|
hooks.o: hooks.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(HOOKS_H)
|
|
|
|
|
pretty-print.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h intl.h $(PRETTY_PRINT_H) \
|
|
|
|
|
$(TREE_H)
|
|
|
|
|
errors.o : errors.c $(CONFIG_H) $(SYSTEM_H) errors.h $(BCONFIG_H)
|
|
|
|
|
dbgcnt.o: dbgcnt.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DBGCNT_H)
|
|
|
|
|
lower-subreg.o : lower-subreg.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(MACHMODE_H) $(TM_H) $(RTL_H) $(TM_P_H) $(TIMEVAR_H) $(FLAGS_H) \
|
|
|
|
|
insn-config.h $(BASIC_BLOCK_H) $(RECOG_H) $(OBSTACK_H) bitmap.h \
|
|
|
|
|
$(EXPR_H) $(REGS_H) tree-pass.h $(DF_H)
|
|
|
|
|
|
|
|
|
|
$(out_object_file): $(out_file) $(CONFIG_H) coretypes.h $(TM_H) $(TREE_H) \
|
|
|
|
|
$(RTL_H) $(REGS_H) hard-reg-set.h insn-config.h conditions.h \
|
|
|
|
|
output.h $(INSN_ATTR_H) $(SYSTEM_H) toplev.h $(TARGET_H) libfuncs.h \
|
|
|
|
|
$(TARGET_DEF_H) $(FUNCTION_H) $(SCHED_INT_H) $(TM_P_H) $(EXPR_H) \
|
|
|
|
|
langhooks.h $(GGC_H) $(OPTABS_H) $(REAL_H) tm-constrs.h
|
|
|
|
|
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
|
|
|
|
|
$(out_file) $(OUTPUT_OPTION)
|
|
|
|
|
|
1993-10-08 12:44:01 +01:00
|
|
|
|
# Build auxiliary files that support ecoff format.
|
|
|
|
|
mips-tfile: mips-tfile.o version.o $(LIBDEPS)
|
(SYMLINK): Deleted; unused.
(oldobjext): Deleted; no longer used.
(FLAGS_TO_PASS): Include objext and exeext.
(STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o.
(test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise.
(STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext).
(libgcc1.null, libgcc[12].a, stage[1-4]): Likewise.
(xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value.
(collect2, mips-tfile, mips-tdump, gen*): Likewise.
(bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise.
(protoize, unprotoize, gen-protos, fix-header): Likewise.
(crtbegin.o, crtend.o): Don't use -o; move output to proper
filename (using objext) instead.
(BI_ALL, BC_ALL, bytecode): Deleted; unused.
(bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir).
(getopt{,1}.o, SYSCALLS.c.X): Likewise.
(install-driver): New target.
(install-normal): Depend on it.
(install-common): Don't depend on xgcc.
(maketest): Deleted; no longer used.
(stage[1-4]): Use name collect-ld, not real-ld.
(risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy.
From-SVN: r9770
1995-05-23 00:55:23 +02:00
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ mips-tfile.o version.o $(LIBS)
|
1993-10-08 12:44:01 +01:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
mips-tfile.o : mips-tfile.c $(CONFIG_H) $(RTL_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) version.h $(srcdir)/../include/getopt.h gstab.h intl.h
|
|
|
|
|
|
1993-10-08 12:44:01 +01:00
|
|
|
|
mips-tdump: mips-tdump.o version.o $(LIBDEPS)
|
(SYMLINK): Deleted; unused.
(oldobjext): Deleted; no longer used.
(FLAGS_TO_PASS): Include objext and exeext.
(STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o.
(test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise.
(STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext).
(libgcc1.null, libgcc[12].a, stage[1-4]): Likewise.
(xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value.
(collect2, mips-tfile, mips-tdump, gen*): Likewise.
(bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise.
(protoize, unprotoize, gen-protos, fix-header): Likewise.
(crtbegin.o, crtend.o): Don't use -o; move output to proper
filename (using objext) instead.
(BI_ALL, BC_ALL, bytecode): Deleted; unused.
(bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir).
(getopt{,1}.o, SYSCALLS.c.X): Likewise.
(install-driver): New target.
(install-normal): Depend on it.
(install-common): Don't depend on xgcc.
(maketest): Deleted; no longer used.
(stage[1-4]): Use name collect-ld, not real-ld.
(risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy.
From-SVN: r9770
1995-05-23 00:55:23 +02:00
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ mips-tdump.o version.o $(LIBS)
|
1993-10-08 12:44:01 +01:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
mips-tdump.o : mips-tdump.c $(CONFIG_H) $(RTL_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) version.h $(srcdir)/../include/getopt.h stab.def
|
|
|
|
|
|
|
|
|
|
# FIXME: writing proper dependencies for this is a *LOT* of work.
|
|
|
|
|
libbackend.o : $(OBJS-common:.o=.c) $(out_file) \
|
|
|
|
|
insn-config.h insn-flags.h insn-codes.h insn-constants.h \
|
|
|
|
|
insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) gcov-iov.h
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
|
|
|
|
|
-DTARGET_NAME=\"$(target_noncanonical)\" \
|
|
|
|
|
-DLOCALEDIR=\"$(localedir)\" \
|
|
|
|
|
-c $(filter %.c,$^) -o $@ \
|
|
|
|
|
-DBASEVER=$(BASEVER_s) -DDATESTAMP=$(DATESTAMP_s) \
|
|
|
|
|
-DREVISION=$(REVISION_s) \
|
|
|
|
|
-DDEVPHASE=$(DEVPHASE_s) -DPKGVERSION=$(PKGVERSION_s) \
|
|
|
|
|
-DBUGURL=$(BUGURL_s) -combine
|
|
|
|
|
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
1999-09-18 20:05:59 +02:00
|
|
|
|
# Generate header and source files from the machine description,
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# and compile them.
|
|
|
|
|
|
Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
* Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
(CONFIG_H, TCONFIG_H, TM_P_H): Update.
(GEN, STAGESTUFF): Add new files.
(insn-constants.h, s-constants, tm-preds.h, s-preds,
genconstants, genpreds, genconstants.o, genpreds.o): New rules.
(hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
* mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
as well as insn-codes.h and insn-flags.h in config.h; and no
extra headers in tconfig.h and hconfig.h.
* gencodes.c: Eliminate code to generate predicate declarations
or #defines for md-file constants.
* genconstants.c, genpreds.c: New files.
* i386.md: Re-order guard expressions such that TARGET_64BIT
comes first, when this permits better optimization. Add
TARGET_64BIT to more x86-64 patterns. Add comment explaining
why this is desirable.
From-SVN: r44743
2001-08-09 19:11:00 +02:00
|
|
|
|
.PRECIOUS: insn-config.h insn-flags.h insn-codes.h insn-constants.h \
|
1992-02-03 23:08:59 +01:00
|
|
|
|
insn-emit.c insn-recog.c insn-extract.c insn-output.c insn-peep.c \
|
genpreds.c: Add capability to generate predicate bodies as well as function prototypes.
* genpreds.c: Add capability to generate predicate bodies as
well as function prototypes. Write function prototypes for
the generic predicates too.
(process_define_predicate, write_tm_preds_h, write_insn_preds_c)
(write_predicate_subfunction, mark_mode_tests, add_mode_tests)
(write_match_code, write_predicate_expr, write_one_predicate_function)
(parse_option): New functions.
(output_predicate_decls): Delete.
(main): Read the machine description, process DEFINE_PREDICATE or
DEFINE_SPECIAL_PREDICATE patterns, write tm-preds.h or insn-preds.c
as appropriate.
* genrecog.c (struct decision_test): Replace index with
struct pred_data pointer.
(next_index): Remove, unused.
(pred_table, preds, special_mode_pred_table): Delete.
(compute_predicate_codes, process_define_predicate): New functions.
(validate_pattern, add_to_sequence, write_switch): Update for
new data structures.
(main): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE.
Check both error_count and have_error.
* gensupport.c (in_fname, first_predicate): New globals.
(define_pred_queue, define_pred_tail): New RTL-pattern queue.
(predicate_table, last_predicate, old_pred_table)
(old_special_pred_table): New statics.
(hash_struct_pred_data, eq_struct_pred_data, lookup_predicate)
(add_predicate, init_predicate_table): New functions.
(process_rtx): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE.
(init_md_reader_args_cb): Use the global in_fname. No need to zero
it or max_include_len. Call init_predicate_table.
(read_rtx): Run the predicate queue after the attribute queue
but before all the others.
* gensupport.h (in_fname, struct pred_data, first_predicate)
(lookup_predicate, add_predicate, FOR_ALL_PREDICATES): Declare.
* rtl.def (MATCH_CODE, MATCH_TEST, DEFINE_PREDICATE)
(DEFINE_SPECIAL_PREDICATE): New RTL codes.
* dummy-conditions.c: Don't include bconfig.h, system.h,
coretypes.h, tm.h, or system.h. Do include stddef.h.
Duplicate declaration of struct c_test from gensupport.h.
* Makefile.in (OBJS-common): Add insn-preds.o.
(STAGESTUFF, .PRECIOUS): Add insn-preds.c.
(insn-preds.c, insn-preds.o): New rules.
(s-preds): Also generate insn-preds.c.
(dummy-conditions.o, genpreds$(build_exeext), genpreds.o):
Update dependencies.
(print-rtl.o, print-rtl1.o): Correct dependencies.
* recog.h: Delete prototypes of predicate functions.
* doc/md.texi (Predicates): New section with complete
documentation of operand/operator predicates. Remove some
incomplete documentation of predicates from other places.
* doc/tm.texi (Misc): Move SPECIAL_MODE_PREDICATES next to
PREDICATE_CODES; indicate that both are deprecated in favor
of define_predicate/define_special_predicate.
* config/ia64/ia64.c: All predicate function definitions moved
to ia64.md, except
(small_addr_symbolic_operand, tls_symbolic_operand): Delete.
(ia64_expand_load_address, ia64_expand_move):
Check SYMBOL_REF_TLS_MODEL directly, don't use tls_symbolic_operand.
* config/ia64/ia64.md: All predicates now defined here.
(symbolic_operand): Is now a special predicate.
* config/ia64/ia64.h: Declare ia64_section_threshold.
(PREDICATE_CODES): Delete.
From-SVN: r85855
2004-08-12 09:49:00 +02:00
|
|
|
|
insn-attr.h insn-attrtab.c insn-preds.c
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
Makefile.in (MD_DEPS, s-mddeps): New.
* Makefile.in (MD_DEPS, s-mddeps): New.
(s-config, s-conditions, s-flags, s-codes, s-constants, s-emit,
s-recog, s-opinit, s-extract, s-peep, s-attr, s-attrtab, s-output,
s-preds): Depend on MD_DEPS instead of md_file.
(genobjnames): Add genmddeps.o
(build/genmddeps, build/genmddeps.o): New.
(mostlyclean): Remove mddeps.mk.
* genmddeps.c: New file.
* gensupport.c (include_callback): New.
(process_include): Call it.
* gensupport.h (include_callback): Declare.
From-SVN: r92269
2004-12-16 18:31:58 +01:00
|
|
|
|
# Dependencies for the md file. The first time through, we just assume
|
|
|
|
|
# the md file itself and the generated dependency file (in order to get
|
|
|
|
|
# it built). The second time through we have the dependency file.
|
|
|
|
|
-include mddeps.mk
|
|
|
|
|
MD_DEPS = s-mddeps $(md_file) $(MD_INCLUDES)
|
|
|
|
|
|
|
|
|
|
s-mddeps: $(md_file) $(MD_INCLUDES) build/genmddeps$(build_exeext)
|
|
|
|
|
$(RUN_GEN) build/genmddeps$(build_exeext) $(md_file) > tmp-mddeps
|
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-mddeps mddeps.mk
|
|
|
|
|
$(STAMP) s-mddeps
|
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
# Header dependencies for generated source files.
|
|
|
|
|
genrtl.o : genrtl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H)\
|
|
|
|
|
$(GGC_H)
|
|
|
|
|
insn-attrtab.o : insn-attrtab.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(RTL_H) $(REGS_H) $(REAL_H) output.h $(INSN_ATTR_H) \
|
|
|
|
|
insn-config.h toplev.h $(RECOG_H) $(TM_P_H) $(FLAGS_H)
|
|
|
|
|
insn-automata.o : insn-automata.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(RTL_H) $(REGS_H) $(REAL_H) output.h $(INSN_ATTR_H) \
|
|
|
|
|
insn-config.h toplev.h $(RECOG_H) $(TM_P_H) $(FLAGS_H)
|
|
|
|
|
insn-emit.o : insn-emit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(EXPR_H) $(REAL_H) output.h insn-config.h $(OPTABS_H) \
|
|
|
|
|
reload.h $(RECOG_H) toplev.h $(FUNCTION_H) $(FLAGS_H) hard-reg-set.h \
|
|
|
|
|
$(RESOURCE_H) $(TM_P_H) $(BASIC_BLOCK_H) $(INTEGRATE_H) tm-constrs.h
|
|
|
|
|
insn-extract.o : insn-extract.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(RTL_H) toplev.h insn-config.h $(RECOG_H)
|
|
|
|
|
insn-modes.o : insn-modes.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(MACHMODE_H) $(REAL_H)
|
|
|
|
|
insn-opinit.o : insn-opinit.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(RTL_H) insn-config.h $(FLAGS_H) $(RECOG_H) $(EXPR_H) \
|
|
|
|
|
$(OPTABS_H) reload.h
|
|
|
|
|
insn-output.o : insn-output.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(RTL_H) $(GGC_H) $(REGS_H) $(REAL_H) conditions.h \
|
|
|
|
|
hard-reg-set.h insn-config.h $(INSN_ATTR_H) $(EXPR_H) output.h \
|
|
|
|
|
$(RECOG_H) $(FUNCTION_H) toplev.h $(FLAGS_H) insn-codes.h $(TM_P_H) \
|
|
|
|
|
$(TARGET_H) tm-constrs.h
|
|
|
|
|
insn-peep.o : insn-peep.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(RTL_H) $(REGS_H) output.h insn-config.h $(RECOG_H) except.h \
|
|
|
|
|
$(FUNCTION_H) $(TM_P_H) $(REAL_H) tm-constrs.h
|
|
|
|
|
insn-preds.o : insn-preds.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(RTL_H) $(TREE_H) insn-config.h $(RECOG_H) output.h \
|
|
|
|
|
$(FLAGS_H) $(FUNCTION_H) hard-reg-set.h $(RESOURCE_H) $(TM_P_H) \
|
|
|
|
|
toplev.h reload.h $(REGS_H) $(REAL_H) tm-constrs.h
|
|
|
|
|
insn-recog.o : insn-recog.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(RTL_H) insn-config.h $(RECOG_H) output.h $(FLAGS_H) \
|
|
|
|
|
$(FUNCTION_H) hard-reg-set.h $(RESOURCE_H) $(TM_P_H) toplev.h \
|
|
|
|
|
reload.h $(REAL_H) tm-constrs.h
|
|
|
|
|
|
2006-01-23 16:14:53 +01:00
|
|
|
|
# For each of the files generated by running a generator program over
|
|
|
|
|
# the machine description, the following pair of static pattern rules
|
|
|
|
|
# runs the generator program only if the machine description has changed,
|
|
|
|
|
# but touches the target file only when its contents actually change.
|
|
|
|
|
# The "; @true" construct forces Make to recheck the timestamp on the
|
|
|
|
|
# target file.
|
|
|
|
|
|
2007-02-28 23:46:01 +01:00
|
|
|
|
simple_generated_h = insn-attr.h insn-codes.h insn-config.h insn-flags.h
|
2006-01-23 16:14:53 +01:00
|
|
|
|
|
r110127@banpei: zack | 2006-01-22 14:49:27 -0800
r110127@banpei: zack | 2006-01-22 14:49:27 -0800
* genattrtab.c: Don't include genattrtab.h. Define ATTR_NONE
and ATTR_SPECIAL (from genattrtab.h). Don't define num_dfa_decls
nor any of the random handful of variables that used to be necessary
when this program was linked with rtlanal.o. Prune set of forward
function declarations.
(struct attr_desc): Remove static_p field.
(hash_obstack, temp_obstack, attr_hash_table, attr_printf)
(check_attr_test, make_internal_attr, make_numeric_value): Make static.
(attr_string): Do not read the character one past the length of
the string.
(write_attr_get, find_attr, make_internal_attr): Don't touch static_p.
(struct insn_reserv, all_insn_reservs, last_insn_reserv_p)
(n_insn_reservs, gen_insn_reserv, struct bypass_list, all_bypasses)
(n_bypasses, gen_bypass_1, gen_bypass, process_bypasses)
(make_automaton_attrs): New.
(main): Do not call into genautomata. Call local gen_bypass
and gen_insn_reserv as appropriate. Call make_automaton_attrs.
Remove special case for insn_alts.
* genautomata.c: Include gensupport.h; not genattrtab.h nor
varray.h (leftover from previous change). Prune set of forward
function declarations. Remove state_alts fields from all
structures. Remove state_alts_table from struct automaton.
Make everything except main static. Do not maintain num_dfa_decls.
Do not maintain state_alts fields of various structures.
(process_decls): Don't validate condexp for dm_insn_reserv decls.
(add_arc): Remove state_alts argument. All callers updated.
(output_reserved_units_table): Emit #ifdef here...
(output_tables): ...not here. Don't generate state_alts tables.
(expand_automata): Don't generate attributes.
(write_automata): Don't generate state_alts functions.
(main): New function.
(it_is_empty_reserv_sets, output_state_alts_full_vect_name)
(output_state_alts_comb_vect_name, output_state_alts_check_vect_name)
(AUTOMATON_STATE_ALTS_MACRO_NAME, INTERNAL_STATE_ALTS_FUNC_NAME)
(STATE_ALTS_FUNC_NAME, INSN_DEFAULT_LATENCY_FUNC_NAME)
(BYPASS_P_FUNC_NAME, output_state_alts_table)
(output_automata_list_state_alts_code, output_internal_state_alts_func)
(output_state_alts_func, make_insn_alts_attr, make_bypass_attr)
(make_internal_dfa_insn_code_attr, make_default_insn_latency_attr):
Delete.
* genattr.c: Declare internal_dfa_insn_code in insn-attr.h.
* genattrtab.h: Delete file.
* Makefile.in (OBJS-common): Add insn-automata.o.
(insn-automata.o): New rule.
(simple_generated_c): Add insn-automata.c.
(build/genattrtab.o, build/genautomata.o): Update dependencies.
(genprogmd): Add automata.
(build/genattrtab): Needs no extra objects nor libraries.
(build/genautomata): Needs build/vec.o and -lm.
From-SVN: r110123
2006-01-23 16:15:52 +01:00
|
|
|
|
simple_generated_c = insn-attrtab.c insn-automata.c insn-emit.c \
|
|
|
|
|
insn-extract.c insn-opinit.c insn-output.c \
|
|
|
|
|
insn-peep.c insn-recog.c
|
2006-01-23 16:14:53 +01:00
|
|
|
|
|
|
|
|
|
$(simple_generated_h): insn-%.h: s-%; @true
|
|
|
|
|
|
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
* genconditions.c (condition_table, add_condition): Delete.
(write_conditions): Don't emit n_insn_conditions nor
insn_elision_unavailable. Issue the gcc version #ifdef here,
inside the table, with no #else clause ...
(write_header): ...not here.
(write_writer): New function.
(main): Don't initialize condition_table. Use add_c_test.
Call write_writer.
* gensupport.c (init_md_reader_args_cb): Handle multiple input
files on the command line.
(maybe_eval_c_test): Don't check insn_elision_unavailable.
Return -1 if there is no entry in the table, don't abort.
(add_c_test, traverse_c_tests): New functions.
* gensupport.h (insn_elision_unavailable, insn_conditions)
(n_insn_conditions): Delete declarations.
(add_c_test, traverse_c_tests): Declare.
* read-rtl.c: Include gensupport.h.
(read_conditions): New function.
(read_rtx): If read_rtx_1 returns 0, treat as EOF.
(read_rtx_1): If we get EOF when we were looking for an initial
open paren, return 0. Call read_conditions when appropriate.
* Makefile.in: Kill BUILD_EARLY_SUPPORT and all references to
dummy-conditions.o. Eliminate references to insn-conditions.o,
or change them to build/gencondmd.o, as appropriate. Remove
insn-constants.h from $(simple_generated_h) and insn-conditions.c
from $(simple_generated_c). For all files remaining in those
two lists, add insn-conditions.md to the generator command line.
Give insn-constants.h/s-constants their own rules. Add rules
for build/gencondmd.c, s-conditions, insn-conditions.md, s-condmd.
(build/read-rtl.o): Depend on gensupport.h.
(genprognormal): Include preds.
(genprogearly): Rename genprognoprint; only difference is now that
they don't link with $(BUILD_PRINT).
* dummy-conditions.c: Delete.
From-SVN: r110119
2006-01-23 16:15:05 +01:00
|
|
|
|
$(simple_generated_h:insn-%.h=s-%): s-%: build/gen%$(build_exeext) \
|
|
|
|
|
$(MD_DEPS) insn-conditions.md
|
|
|
|
|
$(RUN_GEN) build/gen$*$(build_exeext) $(md_file) \
|
|
|
|
|
insn-conditions.md > tmp-$*.h
|
2006-01-23 16:14:53 +01:00
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-$*.h insn-$*.h
|
|
|
|
|
$(STAMP) s-$*
|
|
|
|
|
|
|
|
|
|
$(simple_generated_c): insn-%.c: s-%; @true
|
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
* genconditions.c (condition_table, add_condition): Delete.
(write_conditions): Don't emit n_insn_conditions nor
insn_elision_unavailable. Issue the gcc version #ifdef here,
inside the table, with no #else clause ...
(write_header): ...not here.
(write_writer): New function.
(main): Don't initialize condition_table. Use add_c_test.
Call write_writer.
* gensupport.c (init_md_reader_args_cb): Handle multiple input
files on the command line.
(maybe_eval_c_test): Don't check insn_elision_unavailable.
Return -1 if there is no entry in the table, don't abort.
(add_c_test, traverse_c_tests): New functions.
* gensupport.h (insn_elision_unavailable, insn_conditions)
(n_insn_conditions): Delete declarations.
(add_c_test, traverse_c_tests): Declare.
* read-rtl.c: Include gensupport.h.
(read_conditions): New function.
(read_rtx): If read_rtx_1 returns 0, treat as EOF.
(read_rtx_1): If we get EOF when we were looking for an initial
open paren, return 0. Call read_conditions when appropriate.
* Makefile.in: Kill BUILD_EARLY_SUPPORT and all references to
dummy-conditions.o. Eliminate references to insn-conditions.o,
or change them to build/gencondmd.o, as appropriate. Remove
insn-constants.h from $(simple_generated_h) and insn-conditions.c
from $(simple_generated_c). For all files remaining in those
two lists, add insn-conditions.md to the generator command line.
Give insn-constants.h/s-constants their own rules. Add rules
for build/gencondmd.c, s-conditions, insn-conditions.md, s-condmd.
(build/read-rtl.o): Depend on gensupport.h.
(genprognormal): Include preds.
(genprogearly): Rename genprognoprint; only difference is now that
they don't link with $(BUILD_PRINT).
* dummy-conditions.c: Delete.
From-SVN: r110119
2006-01-23 16:15:05 +01:00
|
|
|
|
$(simple_generated_c:insn-%.c=s-%): s-%: build/gen%$(build_exeext) \
|
|
|
|
|
$(MD_DEPS) insn-conditions.md
|
|
|
|
|
$(RUN_GEN) build/gen$*$(build_exeext) $(md_file) \
|
|
|
|
|
insn-conditions.md > tmp-$*.c
|
2006-01-23 16:14:53 +01:00
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-$*.c insn-$*.c
|
|
|
|
|
$(STAMP) s-$*
|
|
|
|
|
|
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
* genconditions.c (condition_table, add_condition): Delete.
(write_conditions): Don't emit n_insn_conditions nor
insn_elision_unavailable. Issue the gcc version #ifdef here,
inside the table, with no #else clause ...
(write_header): ...not here.
(write_writer): New function.
(main): Don't initialize condition_table. Use add_c_test.
Call write_writer.
* gensupport.c (init_md_reader_args_cb): Handle multiple input
files on the command line.
(maybe_eval_c_test): Don't check insn_elision_unavailable.
Return -1 if there is no entry in the table, don't abort.
(add_c_test, traverse_c_tests): New functions.
* gensupport.h (insn_elision_unavailable, insn_conditions)
(n_insn_conditions): Delete declarations.
(add_c_test, traverse_c_tests): Declare.
* read-rtl.c: Include gensupport.h.
(read_conditions): New function.
(read_rtx): If read_rtx_1 returns 0, treat as EOF.
(read_rtx_1): If we get EOF when we were looking for an initial
open paren, return 0. Call read_conditions when appropriate.
* Makefile.in: Kill BUILD_EARLY_SUPPORT and all references to
dummy-conditions.o. Eliminate references to insn-conditions.o,
or change them to build/gencondmd.o, as appropriate. Remove
insn-constants.h from $(simple_generated_h) and insn-conditions.c
from $(simple_generated_c). For all files remaining in those
two lists, add insn-conditions.md to the generator command line.
Give insn-constants.h/s-constants their own rules. Add rules
for build/gencondmd.c, s-conditions, insn-conditions.md, s-condmd.
(build/read-rtl.o): Depend on gensupport.h.
(genprognormal): Include preds.
(genprogearly): Rename genprognoprint; only difference is now that
they don't link with $(BUILD_PRINT).
* dummy-conditions.c: Delete.
From-SVN: r110119
2006-01-23 16:15:05 +01:00
|
|
|
|
# genconstants needs to run before insn-conditions.md is available
|
|
|
|
|
# (because the constants may be used in the conditions).
|
|
|
|
|
insn-constants.h: s-constants; @true
|
|
|
|
|
s-constants: build/genconstants$(build_exeext) $(MD_DEPS)
|
|
|
|
|
$(RUN_GEN) build/genconstants$(build_exeext) $(md_file) \
|
|
|
|
|
> tmp-constants.h
|
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-constants.h insn-constants.h
|
|
|
|
|
$(STAMP) s-constants
|
|
|
|
|
|
2006-01-23 16:14:53 +01:00
|
|
|
|
# gencheck doesn't read the machine description, and the file produced
|
|
|
|
|
# doesn't use the insn-* convention.
|
|
|
|
|
tree-check.h: s-check ; @true
|
|
|
|
|
s-check : build/gencheck$(build_exeext)
|
|
|
|
|
$(RUN_GEN) build/gencheck$(build_exeext) > tmp-check.h
|
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-check.h tree-check.h
|
|
|
|
|
$(STAMP) s-check
|
2002-07-29 20:02:47 +02:00
|
|
|
|
|
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
* genconditions.c (condition_table, add_condition): Delete.
(write_conditions): Don't emit n_insn_conditions nor
insn_elision_unavailable. Issue the gcc version #ifdef here,
inside the table, with no #else clause ...
(write_header): ...not here.
(write_writer): New function.
(main): Don't initialize condition_table. Use add_c_test.
Call write_writer.
* gensupport.c (init_md_reader_args_cb): Handle multiple input
files on the command line.
(maybe_eval_c_test): Don't check insn_elision_unavailable.
Return -1 if there is no entry in the table, don't abort.
(add_c_test, traverse_c_tests): New functions.
* gensupport.h (insn_elision_unavailable, insn_conditions)
(n_insn_conditions): Delete declarations.
(add_c_test, traverse_c_tests): Declare.
* read-rtl.c: Include gensupport.h.
(read_conditions): New function.
(read_rtx): If read_rtx_1 returns 0, treat as EOF.
(read_rtx_1): If we get EOF when we were looking for an initial
open paren, return 0. Call read_conditions when appropriate.
* Makefile.in: Kill BUILD_EARLY_SUPPORT and all references to
dummy-conditions.o. Eliminate references to insn-conditions.o,
or change them to build/gencondmd.o, as appropriate. Remove
insn-constants.h from $(simple_generated_h) and insn-conditions.c
from $(simple_generated_c). For all files remaining in those
two lists, add insn-conditions.md to the generator command line.
Give insn-constants.h/s-constants their own rules. Add rules
for build/gencondmd.c, s-conditions, insn-conditions.md, s-condmd.
(build/read-rtl.o): Depend on gensupport.h.
(genprognormal): Include preds.
(genprogearly): Rename genprognoprint; only difference is now that
they don't link with $(BUILD_PRINT).
* dummy-conditions.c: Delete.
From-SVN: r110119
2006-01-23 16:15:05 +01:00
|
|
|
|
# gencondmd doesn't use the standard naming convention.
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
build/gencondmd.c: s-conditions; @true
|
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
* genconditions.c (condition_table, add_condition): Delete.
(write_conditions): Don't emit n_insn_conditions nor
insn_elision_unavailable. Issue the gcc version #ifdef here,
inside the table, with no #else clause ...
(write_header): ...not here.
(write_writer): New function.
(main): Don't initialize condition_table. Use add_c_test.
Call write_writer.
* gensupport.c (init_md_reader_args_cb): Handle multiple input
files on the command line.
(maybe_eval_c_test): Don't check insn_elision_unavailable.
Return -1 if there is no entry in the table, don't abort.
(add_c_test, traverse_c_tests): New functions.
* gensupport.h (insn_elision_unavailable, insn_conditions)
(n_insn_conditions): Delete declarations.
(add_c_test, traverse_c_tests): Declare.
* read-rtl.c: Include gensupport.h.
(read_conditions): New function.
(read_rtx): If read_rtx_1 returns 0, treat as EOF.
(read_rtx_1): If we get EOF when we were looking for an initial
open paren, return 0. Call read_conditions when appropriate.
* Makefile.in: Kill BUILD_EARLY_SUPPORT and all references to
dummy-conditions.o. Eliminate references to insn-conditions.o,
or change them to build/gencondmd.o, as appropriate. Remove
insn-constants.h from $(simple_generated_h) and insn-conditions.c
from $(simple_generated_c). For all files remaining in those
two lists, add insn-conditions.md to the generator command line.
Give insn-constants.h/s-constants their own rules. Add rules
for build/gencondmd.c, s-conditions, insn-conditions.md, s-condmd.
(build/read-rtl.o): Depend on gensupport.h.
(genprognormal): Include preds.
(genprogearly): Rename genprognoprint; only difference is now that
they don't link with $(BUILD_PRINT).
* dummy-conditions.c: Delete.
From-SVN: r110119
2006-01-23 16:15:05 +01:00
|
|
|
|
s-conditions: $(MD_DEPS) build/genconditions$(build_exeext)
|
|
|
|
|
$(RUN_GEN) build/genconditions$(build_exeext) $(md_file) > tmp-condmd.c
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-condmd.c build/gencondmd.c
|
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
* genconditions.c (condition_table, add_condition): Delete.
(write_conditions): Don't emit n_insn_conditions nor
insn_elision_unavailable. Issue the gcc version #ifdef here,
inside the table, with no #else clause ...
(write_header): ...not here.
(write_writer): New function.
(main): Don't initialize condition_table. Use add_c_test.
Call write_writer.
* gensupport.c (init_md_reader_args_cb): Handle multiple input
files on the command line.
(maybe_eval_c_test): Don't check insn_elision_unavailable.
Return -1 if there is no entry in the table, don't abort.
(add_c_test, traverse_c_tests): New functions.
* gensupport.h (insn_elision_unavailable, insn_conditions)
(n_insn_conditions): Delete declarations.
(add_c_test, traverse_c_tests): Declare.
* read-rtl.c: Include gensupport.h.
(read_conditions): New function.
(read_rtx): If read_rtx_1 returns 0, treat as EOF.
(read_rtx_1): If we get EOF when we were looking for an initial
open paren, return 0. Call read_conditions when appropriate.
* Makefile.in: Kill BUILD_EARLY_SUPPORT and all references to
dummy-conditions.o. Eliminate references to insn-conditions.o,
or change them to build/gencondmd.o, as appropriate. Remove
insn-constants.h from $(simple_generated_h) and insn-conditions.c
from $(simple_generated_c). For all files remaining in those
two lists, add insn-conditions.md to the generator command line.
Give insn-constants.h/s-constants their own rules. Add rules
for build/gencondmd.c, s-conditions, insn-conditions.md, s-condmd.
(build/read-rtl.o): Depend on gensupport.h.
(genprognormal): Include preds.
(genprogearly): Rename genprognoprint; only difference is now that
they don't link with $(BUILD_PRINT).
* dummy-conditions.c: Delete.
From-SVN: r110119
2006-01-23 16:15:05 +01:00
|
|
|
|
$(STAMP) s-conditions
|
|
|
|
|
|
|
|
|
|
insn-conditions.md: s-condmd; @true
|
|
|
|
|
s-condmd: build/gencondmd$(build_exeext)
|
|
|
|
|
$(RUN_GEN) build/gencondmd$(build_exeext) > tmp-cond.md
|
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-cond.md insn-conditions.md
|
|
|
|
|
$(STAMP) s-condmd
|
|
|
|
|
|
|
|
|
|
|
2006-01-23 16:14:53 +01:00
|
|
|
|
# These files are generated by running the same generator more than
|
|
|
|
|
# once with different options, so they have custom rules. The
|
|
|
|
|
# stampfile idiom is the same.
|
|
|
|
|
genrtl.c: s-genrtl; @true
|
|
|
|
|
genrtl.h: s-genrtl-h; @true
|
2002-07-29 20:02:47 +02:00
|
|
|
|
|
2004-09-22 13:21:21 +02:00
|
|
|
|
s-genrtl: build/gengenrtl$(build_exeext)
|
|
|
|
|
$(RUN_GEN) build/gengenrtl$(build_exeext) > tmp-genrtl.c
|
move-if-change: Remove.
* move-if-change: Remove.
* Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck)
(s-specs, s-options, s-config, s-conditions, s-flags, s-codes)
(s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep)
(s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds)
(s-gtyp-gen, s-iov): Use the top level move-if-change.
* objc/Make-lang.in (objc/objc-parse.y): Likewise.
(gcc/ada/ChangeLog)
* Make-lang.in (ada/stamp-sdefault): Use the top level
move-if-change.
(gcc/f/ChangeLog)
* Make-lang.in (f/stamp-1t, f/stamp-2t, f/stamp-fo)
(f/stamp-io, f/stamp-nq, f/stamp-op, f/stamp-ot): Use the top
level move-if-change.
From-SVN: r78146
2004-02-20 05:19:33 +01:00
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-genrtl.c genrtl.c
|
2001-05-13 21:37:13 +02:00
|
|
|
|
$(STAMP) s-genrtl
|
Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
* Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
(CONFIG_H, TCONFIG_H, TM_P_H): Update.
(GEN, STAGESTUFF): Add new files.
(insn-constants.h, s-constants, tm-preds.h, s-preds,
genconstants, genpreds, genconstants.o, genpreds.o): New rules.
(hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
* mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
as well as insn-codes.h and insn-flags.h in config.h; and no
extra headers in tconfig.h and hconfig.h.
* gencodes.c: Eliminate code to generate predicate declarations
or #defines for md-file constants.
* genconstants.c, genpreds.c: New files.
* i386.md: Re-order guard expressions such that TARGET_64BIT
comes first, when this permits better optimization. Add
TARGET_64BIT to more x86-64 patterns. Add comment explaining
why this is desirable.
From-SVN: r44743
2001-08-09 19:11:00 +02:00
|
|
|
|
|
2006-01-23 16:14:53 +01:00
|
|
|
|
s-genrtl-h: build/gengenrtl$(build_exeext)
|
|
|
|
|
$(RUN_GEN) build/gengenrtl$(build_exeext) -h > tmp-genrtl.h
|
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-genrtl.h genrtl.h
|
|
|
|
|
$(STAMP) s-genrtl-h
|
|
|
|
|
|
|
|
|
|
insn-modes.c: s-modes; @true
|
|
|
|
|
insn-modes.h: s-modes-h; @true
|
|
|
|
|
min-insn-modes.c: s-modes-m; @true
|
genmodes.c, [...]: New files.
* genmodes.c, mode-classes.def: New files.
* machmode.def: Rewritten to genmodes.c interface.
* Makefile.in (extra_modes_file): New substitution variable.
(MACHMODE_H): No longer includes machmode.def or
@extra_modes_file@; instead, mode-classes.def and insn-modes.h.
(BUILD_RTL): Add $(BUILD_PREFIX)insn-modes.o.
(OBJS-common): Add insn-modes.o.
(STAGESTUFF): Add insn-modes.c, insn-modes.h, s-modes, and
genmodes$(build_exeext).
(insn-modes.o, insn-modes.c, insn-modes.h, s-modes, genmodes.o,
genmodes$(build_exeext), $(BUILD_PREFIX_1)insn-modes.o): New targets.
(s-genrtl): Don't depend on $(RTL_BASE_H).
(gengenrtl.o): Don't depend on coretypes.h, $(GTM_H), real.h,
or $(RTL_BASE_H); just rtl.def.
* gengenrtl.c: Don't include coretypes.h, tm.h, rtl.h, or
real.h. Give fake definition of CONST_DOUBLE_FORMAT and
substitute definition of NUM_RTX_CODE. Add casts to avoid
warnings.
* machmode.h: Include insn-modes.h, not machmode.def. Include
mode-classes.def to define enum mode_class. Tweak definitions
of GET_MODE_CLASS, GET_MODE_SIZE, GET_MODE_BITSIZE, GET_MODE_MASK,
GET_MODE_INNER, GET_MODE_WIDER_MODE, GET_CLASS_NARROWEST_MODE.
(inner_mode_array): Renamed mode_inner.
(mode_base_align): New.
* rtl.c (mode_name, mode_class, mode_bitsize, mode_size,
mode_unit_size, mode_wider_mode, mode_mask_array,
inner_mode_array, class_narrowest_mode): Delete definitions.
* stor-layout.c (get_mode_alignment): Use mode_base_align.
* real.h: Use MIN_MODE_FLOAT and MAX_MODE_FLOAT, not QFmode
and TFmode, in real_format_for_mode and REAL_MODE_FORMAT.
* config/ip2k/ip2k.h, config/iq2000/iq2000.h:
No need to define BITS_PER_UNIT.
From-SVN: r72313
2003-10-10 22:33:07 +02:00
|
|
|
|
|
2004-09-22 13:21:21 +02:00
|
|
|
|
s-modes: build/genmodes$(build_exeext)
|
2006-01-23 16:14:53 +01:00
|
|
|
|
$(RUN_GEN) build/genmodes$(build_exeext) > tmp-modes.c
|
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-modes.c insn-modes.c
|
|
|
|
|
$(STAMP) s-modes
|
|
|
|
|
|
|
|
|
|
s-modes-h: build/genmodes$(build_exeext)
|
2004-09-22 13:21:21 +02:00
|
|
|
|
$(RUN_GEN) build/genmodes$(build_exeext) -h > tmp-modes.h
|
move-if-change: Remove.
* move-if-change: Remove.
* Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck)
(s-specs, s-options, s-config, s-conditions, s-flags, s-codes)
(s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep)
(s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds)
(s-gtyp-gen, s-iov): Use the top level move-if-change.
* objc/Make-lang.in (objc/objc-parse.y): Likewise.
(gcc/ada/ChangeLog)
* Make-lang.in (ada/stamp-sdefault): Use the top level
move-if-change.
(gcc/f/ChangeLog)
* Make-lang.in (f/stamp-1t, f/stamp-2t, f/stamp-fo)
(f/stamp-io, f/stamp-nq, f/stamp-op, f/stamp-ot): Use the top
level move-if-change.
From-SVN: r78146
2004-02-20 05:19:33 +01:00
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-modes.h insn-modes.h
|
2006-01-23 16:14:53 +01:00
|
|
|
|
$(STAMP) s-modes-h
|
|
|
|
|
|
|
|
|
|
s-modes-m: build/genmodes$(build_exeext)
|
2004-09-22 13:21:21 +02:00
|
|
|
|
$(RUN_GEN) build/genmodes$(build_exeext) -m > tmp-min-modes.c
|
move-if-change: Remove.
* move-if-change: Remove.
* Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck)
(s-specs, s-options, s-config, s-conditions, s-flags, s-codes)
(s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep)
(s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds)
(s-gtyp-gen, s-iov): Use the top level move-if-change.
* objc/Make-lang.in (objc/objc-parse.y): Likewise.
(gcc/ada/ChangeLog)
* Make-lang.in (ada/stamp-sdefault): Use the top level
move-if-change.
(gcc/f/ChangeLog)
* Make-lang.in (f/stamp-1t, f/stamp-2t, f/stamp-fo)
(f/stamp-io, f/stamp-nq, f/stamp-op, f/stamp-ot): Use the top
level move-if-change.
From-SVN: r78146
2004-02-20 05:19:33 +01:00
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-min-modes.c min-insn-modes.c
|
2006-01-23 16:14:53 +01:00
|
|
|
|
$(STAMP) s-modes-m
|
genmodes.c, [...]: New files.
* genmodes.c, mode-classes.def: New files.
* machmode.def: Rewritten to genmodes.c interface.
* Makefile.in (extra_modes_file): New substitution variable.
(MACHMODE_H): No longer includes machmode.def or
@extra_modes_file@; instead, mode-classes.def and insn-modes.h.
(BUILD_RTL): Add $(BUILD_PREFIX)insn-modes.o.
(OBJS-common): Add insn-modes.o.
(STAGESTUFF): Add insn-modes.c, insn-modes.h, s-modes, and
genmodes$(build_exeext).
(insn-modes.o, insn-modes.c, insn-modes.h, s-modes, genmodes.o,
genmodes$(build_exeext), $(BUILD_PREFIX_1)insn-modes.o): New targets.
(s-genrtl): Don't depend on $(RTL_BASE_H).
(gengenrtl.o): Don't depend on coretypes.h, $(GTM_H), real.h,
or $(RTL_BASE_H); just rtl.def.
* gengenrtl.c: Don't include coretypes.h, tm.h, rtl.h, or
real.h. Give fake definition of CONST_DOUBLE_FORMAT and
substitute definition of NUM_RTX_CODE. Add casts to avoid
warnings.
* machmode.h: Include insn-modes.h, not machmode.def. Include
mode-classes.def to define enum mode_class. Tweak definitions
of GET_MODE_CLASS, GET_MODE_SIZE, GET_MODE_BITSIZE, GET_MODE_MASK,
GET_MODE_INNER, GET_MODE_WIDER_MODE, GET_CLASS_NARROWEST_MODE.
(inner_mode_array): Renamed mode_inner.
(mode_base_align): New.
* rtl.c (mode_name, mode_class, mode_bitsize, mode_size,
mode_unit_size, mode_wider_mode, mode_mask_array,
inner_mode_array, class_narrowest_mode): Delete definitions.
* stor-layout.c (get_mode_alignment): Use mode_base_align.
* real.h: Use MIN_MODE_FLOAT and MAX_MODE_FLOAT, not QFmode
and TFmode, in real_format_for_mode and REAL_MODE_FORMAT.
* config/ip2k/ip2k.h, config/iq2000/iq2000.h:
No need to define BITS_PER_UNIT.
From-SVN: r72313
2003-10-10 22:33:07 +02:00
|
|
|
|
|
2006-01-23 16:14:53 +01:00
|
|
|
|
insn-preds.c: s-preds; @true
|
|
|
|
|
tm-preds.h: s-preds-h; @true
|
2006-03-29 23:07:12 +02:00
|
|
|
|
tm-constrs.h: s-constrs-h; @true
|
Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
* Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
(CONFIG_H, TCONFIG_H, TM_P_H): Update.
(GEN, STAGESTUFF): Add new files.
(insn-constants.h, s-constants, tm-preds.h, s-preds,
genconstants, genpreds, genconstants.o, genpreds.o): New rules.
(hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
* mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
as well as insn-codes.h and insn-flags.h in config.h; and no
extra headers in tconfig.h and hconfig.h.
* gencodes.c: Eliminate code to generate predicate declarations
or #defines for md-file constants.
* genconstants.c, genpreds.c: New files.
* i386.md: Re-order guard expressions such that TARGET_64BIT
comes first, when this permits better optimization. Add
TARGET_64BIT to more x86-64 patterns. Add comment explaining
why this is desirable.
From-SVN: r44743
2001-08-09 19:11:00 +02:00
|
|
|
|
|
Makefile.in (MD_DEPS, s-mddeps): New.
* Makefile.in (MD_DEPS, s-mddeps): New.
(s-config, s-conditions, s-flags, s-codes, s-constants, s-emit,
s-recog, s-opinit, s-extract, s-peep, s-attr, s-attrtab, s-output,
s-preds): Depend on MD_DEPS instead of md_file.
(genobjnames): Add genmddeps.o
(build/genmddeps, build/genmddeps.o): New.
(mostlyclean): Remove mddeps.mk.
* genmddeps.c: New file.
* gensupport.c (include_callback): New.
(process_include): Call it.
* gensupport.h (include_callback): Declare.
From-SVN: r92269
2004-12-16 18:31:58 +01:00
|
|
|
|
s-preds: $(MD_DEPS) build/genpreds$(build_exeext)
|
2004-09-22 13:21:21 +02:00
|
|
|
|
$(RUN_GEN) build/genpreds$(build_exeext) $(md_file) > tmp-preds.c
|
genpreds.c: Add capability to generate predicate bodies as well as function prototypes.
* genpreds.c: Add capability to generate predicate bodies as
well as function prototypes. Write function prototypes for
the generic predicates too.
(process_define_predicate, write_tm_preds_h, write_insn_preds_c)
(write_predicate_subfunction, mark_mode_tests, add_mode_tests)
(write_match_code, write_predicate_expr, write_one_predicate_function)
(parse_option): New functions.
(output_predicate_decls): Delete.
(main): Read the machine description, process DEFINE_PREDICATE or
DEFINE_SPECIAL_PREDICATE patterns, write tm-preds.h or insn-preds.c
as appropriate.
* genrecog.c (struct decision_test): Replace index with
struct pred_data pointer.
(next_index): Remove, unused.
(pred_table, preds, special_mode_pred_table): Delete.
(compute_predicate_codes, process_define_predicate): New functions.
(validate_pattern, add_to_sequence, write_switch): Update for
new data structures.
(main): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE.
Check both error_count and have_error.
* gensupport.c (in_fname, first_predicate): New globals.
(define_pred_queue, define_pred_tail): New RTL-pattern queue.
(predicate_table, last_predicate, old_pred_table)
(old_special_pred_table): New statics.
(hash_struct_pred_data, eq_struct_pred_data, lookup_predicate)
(add_predicate, init_predicate_table): New functions.
(process_rtx): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE.
(init_md_reader_args_cb): Use the global in_fname. No need to zero
it or max_include_len. Call init_predicate_table.
(read_rtx): Run the predicate queue after the attribute queue
but before all the others.
* gensupport.h (in_fname, struct pred_data, first_predicate)
(lookup_predicate, add_predicate, FOR_ALL_PREDICATES): Declare.
* rtl.def (MATCH_CODE, MATCH_TEST, DEFINE_PREDICATE)
(DEFINE_SPECIAL_PREDICATE): New RTL codes.
* dummy-conditions.c: Don't include bconfig.h, system.h,
coretypes.h, tm.h, or system.h. Do include stddef.h.
Duplicate declaration of struct c_test from gensupport.h.
* Makefile.in (OBJS-common): Add insn-preds.o.
(STAGESTUFF, .PRECIOUS): Add insn-preds.c.
(insn-preds.c, insn-preds.o): New rules.
(s-preds): Also generate insn-preds.c.
(dummy-conditions.o, genpreds$(build_exeext), genpreds.o):
Update dependencies.
(print-rtl.o, print-rtl1.o): Correct dependencies.
* recog.h: Delete prototypes of predicate functions.
* doc/md.texi (Predicates): New section with complete
documentation of operand/operator predicates. Remove some
incomplete documentation of predicates from other places.
* doc/tm.texi (Misc): Move SPECIAL_MODE_PREDICATES next to
PREDICATE_CODES; indicate that both are deprecated in favor
of define_predicate/define_special_predicate.
* config/ia64/ia64.c: All predicate function definitions moved
to ia64.md, except
(small_addr_symbolic_operand, tls_symbolic_operand): Delete.
(ia64_expand_load_address, ia64_expand_move):
Check SYMBOL_REF_TLS_MODEL directly, don't use tls_symbolic_operand.
* config/ia64/ia64.md: All predicates now defined here.
(symbolic_operand): Is now a special predicate.
* config/ia64/ia64.h: Declare ia64_section_threshold.
(PREDICATE_CODES): Delete.
From-SVN: r85855
2004-08-12 09:49:00 +02:00
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-preds.c insn-preds.c
|
Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
* Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
(CONFIG_H, TCONFIG_H, TM_P_H): Update.
(GEN, STAGESTUFF): Add new files.
(insn-constants.h, s-constants, tm-preds.h, s-preds,
genconstants, genpreds, genconstants.o, genpreds.o): New rules.
(hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
* mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
as well as insn-codes.h and insn-flags.h in config.h; and no
extra headers in tconfig.h and hconfig.h.
* gencodes.c: Eliminate code to generate predicate declarations
or #defines for md-file constants.
* genconstants.c, genpreds.c: New files.
* i386.md: Re-order guard expressions such that TARGET_64BIT
comes first, when this permits better optimization. Add
TARGET_64BIT to more x86-64 patterns. Add comment explaining
why this is desirable.
From-SVN: r44743
2001-08-09 19:11:00 +02:00
|
|
|
|
$(STAMP) s-preds
|
|
|
|
|
|
2006-01-23 16:14:53 +01:00
|
|
|
|
s-preds-h: $(MD_DEPS) build/genpreds$(build_exeext)
|
|
|
|
|
$(RUN_GEN) build/genpreds$(build_exeext) -h $(md_file) > tmp-preds.h
|
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-preds.h tm-preds.h
|
|
|
|
|
$(STAMP) s-preds-h
|
genpreds.c: Add capability to generate predicate bodies as well as function prototypes.
* genpreds.c: Add capability to generate predicate bodies as
well as function prototypes. Write function prototypes for
the generic predicates too.
(process_define_predicate, write_tm_preds_h, write_insn_preds_c)
(write_predicate_subfunction, mark_mode_tests, add_mode_tests)
(write_match_code, write_predicate_expr, write_one_predicate_function)
(parse_option): New functions.
(output_predicate_decls): Delete.
(main): Read the machine description, process DEFINE_PREDICATE or
DEFINE_SPECIAL_PREDICATE patterns, write tm-preds.h or insn-preds.c
as appropriate.
* genrecog.c (struct decision_test): Replace index with
struct pred_data pointer.
(next_index): Remove, unused.
(pred_table, preds, special_mode_pred_table): Delete.
(compute_predicate_codes, process_define_predicate): New functions.
(validate_pattern, add_to_sequence, write_switch): Update for
new data structures.
(main): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE.
Check both error_count and have_error.
* gensupport.c (in_fname, first_predicate): New globals.
(define_pred_queue, define_pred_tail): New RTL-pattern queue.
(predicate_table, last_predicate, old_pred_table)
(old_special_pred_table): New statics.
(hash_struct_pred_data, eq_struct_pred_data, lookup_predicate)
(add_predicate, init_predicate_table): New functions.
(process_rtx): Handle DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE.
(init_md_reader_args_cb): Use the global in_fname. No need to zero
it or max_include_len. Call init_predicate_table.
(read_rtx): Run the predicate queue after the attribute queue
but before all the others.
* gensupport.h (in_fname, struct pred_data, first_predicate)
(lookup_predicate, add_predicate, FOR_ALL_PREDICATES): Declare.
* rtl.def (MATCH_CODE, MATCH_TEST, DEFINE_PREDICATE)
(DEFINE_SPECIAL_PREDICATE): New RTL codes.
* dummy-conditions.c: Don't include bconfig.h, system.h,
coretypes.h, tm.h, or system.h. Do include stddef.h.
Duplicate declaration of struct c_test from gensupport.h.
* Makefile.in (OBJS-common): Add insn-preds.o.
(STAGESTUFF, .PRECIOUS): Add insn-preds.c.
(insn-preds.c, insn-preds.o): New rules.
(s-preds): Also generate insn-preds.c.
(dummy-conditions.o, genpreds$(build_exeext), genpreds.o):
Update dependencies.
(print-rtl.o, print-rtl1.o): Correct dependencies.
* recog.h: Delete prototypes of predicate functions.
* doc/md.texi (Predicates): New section with complete
documentation of operand/operator predicates. Remove some
incomplete documentation of predicates from other places.
* doc/tm.texi (Misc): Move SPECIAL_MODE_PREDICATES next to
PREDICATE_CODES; indicate that both are deprecated in favor
of define_predicate/define_special_predicate.
* config/ia64/ia64.c: All predicate function definitions moved
to ia64.md, except
(small_addr_symbolic_operand, tls_symbolic_operand): Delete.
(ia64_expand_load_address, ia64_expand_move):
Check SYMBOL_REF_TLS_MODEL directly, don't use tls_symbolic_operand.
* config/ia64/ia64.md: All predicates now defined here.
(symbolic_operand): Is now a special predicate.
* config/ia64/ia64.h: Declare ia64_section_threshold.
(PREDICATE_CODES): Delete.
From-SVN: r85855
2004-08-12 09:49:00 +02:00
|
|
|
|
|
2006-03-29 23:07:12 +02:00
|
|
|
|
s-constrs-h: $(MD_DEPS) build/genpreds$(build_exeext)
|
|
|
|
|
$(RUN_GEN) build/genpreds$(build_exeext) -c $(md_file) > tmp-constrs.h
|
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-constrs.h tm-constrs.h
|
|
|
|
|
$(STAMP) s-constrs-h
|
|
|
|
|
|
2008-02-26 17:05:24 +01:00
|
|
|
|
GTFILES = $(CPP_ID_DATA_H) $(srcdir)/input.h $(srcdir)/coretypes.h \
|
|
|
|
|
$(host_xm_file_list) \
|
2004-05-24 12:50:45 +02:00
|
|
|
|
$(tm_file_list) $(HASHTAB_H) $(SPLAY_TREE_H) $(srcdir)/bitmap.h \
|
alias.h (alias_set_type): Define new type.
./: * alias.h (alias_set_type): Define new type.
(ALIAS_SET_MEMORY_BARRIER): Use it.
* rtl.h: Include alias.h.
(struct mem_attrs): Use alias_set_type.
* tree.h: Include alias.h
(struct tree_type): Use alias_set_type.
(struct tree_struct_field_tag): Likewise.
(struct tree_decl_common): Likewise.
* alias.c (struct alias_set_entry): Use alias_set_type.
(get_alias_set_entry, alias_set_subset_of): Likewise.
(alias_sets_conflict_p): Likewise.
(alias_sets_must_conflict_p): Likewise.
(objects_must_conflict_p): Likewise.
(get_alias_set, new_alias_set): Likewise.
(record_alias_subset, record_component_aliases): Likewise.
(varargs_set, frame_set): Change to alias_set_type.
(get_varargs_alias_set): Use alias_set_type.
(get_frame_alias_set): Likewise.
* builtins.c (setjmp_alias_set): Change to alias_set_type.
* dse.c (struct store_info): Use alias_set_type.
(struct read_info, struct clear_alias_mode_holder): Likewise.
(clear_alias_set_lookup, canon_address): Likewise.
(record_store, check_mem_read_rtx): Likewise.
(dse_record_singleton_alias_set): Likewise.
(dse_invalidate_singleton_alias_set): Likewise.
* emit-rtl.c (get_mem_attrs): Likewise.
(set_mem_attributes_minus_bitpos): Likewise.
(set_mem_alias_set): Likewise.
* expr.c (store_constructor_field, store_field): Likewise.
* gimplify.c (struct gimplify_init_ctor_preeval_data): Likewise.
* langhooks.c (lhd_get_alias_set): Likewise.
* langhooks-def.h (lhd_get_alias_set): Likewise.
* reload1.c (alter_reg): Likewise.
* tree-flow.h (struct fieldoff): Likewise.
* tree-ssa-alias.c (struct alias_map_d): Likewise.
(may_alias_p, get_smt_for, create_sft): Likewise.
* tree-ssa-alias-warnings.c (nonstandard_alias_types_p): Likewise.
* tree-ssa-structalias.c (set_uids_in_ptset): Likewise.
(merge_smts_into): Likewise.
* varasm.c (const_alias_set): Likewise.
* c-common.c (strict_aliasing_warning): Likewise.
(c_common_get_alias_set): Likewise.
* dse.h (dse_record_singleton_alias_set): Update declaration.
(dse_invalidate_singleton_alias_set): Likewise.
* emit-rtl.h (set_mem_alias_set): Likewise.
* c-common.h (c_common_get_alias_set): Likewise.
* print-rtl.c (print_rtx): Cast MEM_ALIAS_SET when printing it.
* print-tree.c (print_node): Likewise.
* config/alpha/alpha.c (alpha_sr_alias_set): Change to
alias_set_type.
(alpha_setup_incoming_varargs): Use alias_set_type.
* config/i386/i386.c (setup_incoming_varargs_64): Use
alias_set_type.
(setup_incoming_varargs_ms_64): Likewise.
(ix86_GOT_alias_set): Likewise.
* config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise.
* config/rs6000/rs6000.c (setup_incoming_varargs): Likewise.
(set): Change to alias_set_type.
(get_TOC_alias_set): Use alias_set_type.
* config/rs6000/rs6000-protos.h (get_TOC_alias_set): Update
declaration.
* config/sh/sh.c (sh_builtin_saveregs): Use alias_set_type.
* config/sparc/sparc.c (sparc_sr_alias_set): Change to
alias_set_type.
(struct_value_alias_set): Likewise.
* Makefile.in (GTFILES): Add $(srcdir)/alias.h.
ada/:
* misc.c (gnat_get_alias_set): Change return type to
alias_set_type.
cp/:
* cp-objcp-common.c (cxx_get_alias_set): Change return type to
alias_set_type.
* cp/cp-tree.h (cxx_get_alias_set): Update declaration.
fortran:/
* f95-lang.c (gfc_get_alias_set): Change return type to
alias_set_type.
From-SVN: r127362
2007-08-11 19:21:56 +02:00
|
|
|
|
$(srcdir)/alias.h $(srcdir)/coverage.c $(srcdir)/rtl.h \
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
$(srcdir)/optabs.h $(srcdir)/tree.h $(srcdir)/function.h $(srcdir)/libfuncs.h $(SYMTAB_H) \
|
2004-05-13 08:41:07 +02:00
|
|
|
|
$(srcdir)/real.h $(srcdir)/varray.h $(srcdir)/insn-addr.h $(srcdir)/hwint.h \
|
2007-08-07 01:18:57 +02:00
|
|
|
|
$(srcdir)/fixed-value.h \
|
tree-ssa-loop-niter.c (record_estimate): Use GGC_NEW to allocate struct nb_iter_bound.
* tree-ssa-loop-niter.c (record_estimate): Use GGC_NEW to allocate
struct nb_iter_bound.
(free_numbers_of_iterations_estimates_loop): Use ggc_free.
* gengtype.c (open_base_files): Add cfhloop.h to the list of includes.
* cfgloopmanip.c (place_new_loop): Vector larray is gc-allocated.
* tree-scalar-evolution.c: Include gt-tree-scalar-evolution.h.
(struct scev_info_str, scalar_evolution_info): Add GTY markers.
(new_scev_info_str): Use GGC_NEW to allocate struct scev_info_str.
(del_scev_info): Use ggc_free.
(scev_initialize): Allocate scalar_evolution_info in gc memory.
* loop-init.c: Include ggc.h.
(loop_optimizer_init): Use GGC_CNEW to allocate struct loops.
(loop_optimizer_finalize): Use ggc_free.
* tree-ssa-loop.c (pass_tree_unswitch, pass_vectorize,
pass_linear_transfom, pass_empty_loop, pass_complete_unroll,
pass_iv_optimize): Add TODO_ggc_collect.
* function.h (struct function): Remove skip marker from x_current_loops.
* cfgloop.c: Include ggc.h.
(flow_loops_free, flow_loop_free): Free the loop descriptions in gc
memory.
(establish_preds): Vector superloops is gc allocated.
(alloc_loop): Allocate loop using GGC_CNEW. Allocate head of
loop->exits list.
(flow_loops_find): Vector larray is gc allocated.
(loop_exit_free): Use ggc_free.
(rescan_loop_exit): Use GGC_NEW to allocate struct loop_exit. Reflect
that head of exits list is now not a part of struct loop.
(record_loop_exits): Allocate exits table in gc memory.
(get_loop_exit_edges, verify_loop_structure, single_exit): Reflect that
head of exits list is now not a part of struct loop.
* cfgloop.h (struct lpt_decision, struct nb_iter_bound,
struct loop_exit): Add GTY marker.
(struct loop): Add GTY marker. Make superloops vector gc allocated.
Add skip marker to aux field. Make head of exits list a separate
object.
(struct loops): Add GTY marker. Make larray vector gc allocated.
Add param marker to exits table.
(get_loops): Type changed.
* Makefile.in (tree-scalar-evolution.o): Add gt-tree-scalar-evolution.h
dependency.
(cfgloop.o, loop-init.o): Add ggc.h dependency.
(GTFILES): Add cfgloop.h and tree-scalar-evolution.c.
* basic-block.h (struct basic_block_def): Remove skip marker from
loop_father field.
From-SVN: r124727
2007-05-14 23:58:42 +02:00
|
|
|
|
$(srcdir)/ipa-reference.h $(srcdir)/output.h $(srcdir)/cfgloop.h \
|
Makefile.in (GTFILES): Add cgraph.h.
* Makefile.in (GTFILES): Add cgraph.h.
* cgraph.c (known_decls): Remove.
(cgraph_hash, cgraph_nodes, cgraph_nodes_queue,
cgraph_varpool_hash, cgraph_varpool_nodes_queue): GTYize.
(cgraph_node): Do not allocate known_decls; use polutate hashtable.
(cgraph_varpool_node): Likewise; add next pointer.
(cgraph_varpool_nodes): New static variable.
* cgraph.h (cgraph_local_info, cgraph_global_info, cgraph_rtl_info,
cgraph_node, cgraph_edge, cgraph_varpool_node, cgraph_nodes, cgraph_n_nodes,
cgraph_varpool_n_nodes, cgraph_varpool_nodes_queue): GTYize.
* gengtype.c (open_base_files): Include cgraph.h
From-SVN: r68742
2003-06-30 23:56:46 +02:00
|
|
|
|
$(srcdir)/cselib.h $(srcdir)/basic-block.h $(srcdir)/cgraph.h \
|
caller-save.c: Include ggc.h, gt-caller-save.h
* caller-save.c: Include ggc.h, gt-caller-save.h
(reg_save_code, reg_restore_code): Rename to ...
(cached_reg_save_code, cached_reg_restore_code): ... those.
(savepat, restpat, test_reg, test_mem, saveinsn, restinsn): New.
(reg_save_code, reg_restore_code): New functions.
(init_caller_save): Do not intialize
reg_save_code/reg_restore_code tables.
* Makeifle.in: (gt-caller-save.h): New.
From-SVN: r126879
2007-07-24 16:56:37 +02:00
|
|
|
|
$(srcdir)/reload.h $(srcdir)/caller-save.c \
|
2003-03-08 19:24:22 +01:00
|
|
|
|
$(srcdir)/alias.c $(srcdir)/bitmap.c $(srcdir)/cselib.c $(srcdir)/cgraph.c \
|
2007-05-28 13:10:27 +02:00
|
|
|
|
$(srcdir)/ipa-prop.c $(srcdir)/ipa-cp.c $(srcdir)/ipa-inline.c $(srcdir)/matrix-reorg.c \
|
2007-10-24 12:36:30 +02:00
|
|
|
|
$(srcdir)/dbxout.c $(srcdir)/ipa-struct-reorg.c $(srcdir)/dwarf2out.c $(srcdir)/dwarf2asm.c \
|
gengtype.c: Don't include gtyp-gen.h.
* gengtype.c: Don't include gtyp-gen.h.
(srcdir): Declare here.
(base_files, lang_dir_names): Allocate dynamically.
(gt_files, num_gt_files, num_lang_dirs): New globals.
(measure_input_list, read_input_line, read_input_list)
(set_lang_bitmap): New functions.
(get_base_file_bitmap): Rename get_lang_bitmap and drastically
simplify, relying on read_input_list to set up the bitmaps.
(main): Arguments are no longer unused. Check for correct number
of command line arguments, set srcdir and srcdir_len, then call
read_input_list, before doing anything else. No need to worry
about duplicates in main loop.
* configure.ac: Simplify the calculation of all_gtfiles.
Put language tags in there. Don't set or substitute
all_gtfiles_files_langs or all_gtfiles_files_frags.
* Makefile.in: Revamp the way gengtype is invoked, now that it
takes a file on its command line with a much simpler format.
Remove or replace with gtyp-input.list all references to gtyp-gen.h.
(GTFILES): Remove duplicates and C source files.
* c-config-lang.in, cp/config-lang.in, objc/config-lang.in
* objcp/config-lang.in: Add c-pragma.h to gtfiles.
* configure: Regenerate.
From-SVN: r123234
2007-03-26 23:07:27 +02:00
|
|
|
|
$(srcdir)/dojump.c \
|
2003-01-10 03:22:34 +01:00
|
|
|
|
$(srcdir)/emit-rtl.c $(srcdir)/except.c $(srcdir)/explow.c $(srcdir)/expr.c \
|
2005-05-11 18:25:30 +02:00
|
|
|
|
$(srcdir)/function.c $(srcdir)/except.h \
|
2002-06-04 09:11:05 +02:00
|
|
|
|
$(srcdir)/gcse.c $(srcdir)/integrate.c $(srcdir)/lists.c $(srcdir)/optabs.c \
|
2005-01-17 10:38:01 +01:00
|
|
|
|
$(srcdir)/profile.c $(srcdir)/regclass.c \
|
2007-01-18 09:17:06 +01:00
|
|
|
|
$(srcdir)/reg-stack.c $(srcdir)/cfglayout.c $(srcdir)/cfglayout.h \
|
Makefile.in (GTFILES): Remove stmt.c
2004-08-09 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in (GTFILES): Remove stmt.c
(stmt.o): Do not depend on gt-stmt.h.
* emit-rtl.c (emit_line_note): Do not call
set_file_and_line_for_stmt.
* expr.c (expand_expr_real_1) <SWITCH_EXPR>: Let expand_case
do everything.
* function.c (free_after_parsing): Do not free STMT field.
(allocate_struct_function): Do not call init_stmt_for_function.
(assign_stack_temp_for_type): Do not accept values of keep
other than 0 or 1.
(init_temp_slots): Do not initialize removed variables.
* function.h (struct function): Remove STMT, X_TARGET_TEMP_SLOT_LEVEL
and X_VAR_TEMP_SLOT_LEVEL fields.
* rtl.h (set_file_and_line_for_stmt): Remove.
* stmt.c (struct nesting, ALLOC_NESTING, POPSTACK,
struct stmt_status, cond_stack, case_stack, nesting_stack,
nesting_depth, emit_locus, set_file_and_line_for_stmt,
same_case_target_p, init_stmt_for_function, emit_nop,
expand_start_cond, expand_start_elseif, expand_start_else,
expand_elseif, expand_end_cond): Remove.
(preserve_subexpressions_p): Remove references to CFUN->STMT.
(expand_start_case, expand_end_case_type): Remove, merge into...
(expand_case): ... this one, including other bits from
expand_expr_real_1. Inline same_case_target_p. Turn members
of CASE_STACK into local variables.
(emit_case_bit_tests): Inline same_case_target_p.
(add_case_node): Add HEAD argument, return new head of the list,
do not handle default label here.
* tree.h (expand_start_cond, expand_end_cond, expand_start_else,
expand_start_elseif, current_nesting_level, expand_start_case,
expand_end_case_type, expand_end_case, add_case_node,
init_stmt_for_function, expand_elseif): Remove prototypes.
(expand_case): Add prototype.
From-SVN: r85712
2004-08-09 09:14:17 +02:00
|
|
|
|
$(srcdir)/sdbout.c $(srcdir)/stor-layout.c \
|
2003-12-04 10:11:19 +01:00
|
|
|
|
$(srcdir)/stringpool.c $(srcdir)/tree.c $(srcdir)/varasm.c \
|
tree-ssa-loop-niter.c (record_estimate): Use GGC_NEW to allocate struct nb_iter_bound.
* tree-ssa-loop-niter.c (record_estimate): Use GGC_NEW to allocate
struct nb_iter_bound.
(free_numbers_of_iterations_estimates_loop): Use ggc_free.
* gengtype.c (open_base_files): Add cfhloop.h to the list of includes.
* cfgloopmanip.c (place_new_loop): Vector larray is gc-allocated.
* tree-scalar-evolution.c: Include gt-tree-scalar-evolution.h.
(struct scev_info_str, scalar_evolution_info): Add GTY markers.
(new_scev_info_str): Use GGC_NEW to allocate struct scev_info_str.
(del_scev_info): Use ggc_free.
(scev_initialize): Allocate scalar_evolution_info in gc memory.
* loop-init.c: Include ggc.h.
(loop_optimizer_init): Use GGC_CNEW to allocate struct loops.
(loop_optimizer_finalize): Use ggc_free.
* tree-ssa-loop.c (pass_tree_unswitch, pass_vectorize,
pass_linear_transfom, pass_empty_loop, pass_complete_unroll,
pass_iv_optimize): Add TODO_ggc_collect.
* function.h (struct function): Remove skip marker from x_current_loops.
* cfgloop.c: Include ggc.h.
(flow_loops_free, flow_loop_free): Free the loop descriptions in gc
memory.
(establish_preds): Vector superloops is gc allocated.
(alloc_loop): Allocate loop using GGC_CNEW. Allocate head of
loop->exits list.
(flow_loops_find): Vector larray is gc allocated.
(loop_exit_free): Use ggc_free.
(rescan_loop_exit): Use GGC_NEW to allocate struct loop_exit. Reflect
that head of exits list is now not a part of struct loop.
(record_loop_exits): Allocate exits table in gc memory.
(get_loop_exit_edges, verify_loop_structure, single_exit): Reflect that
head of exits list is now not a part of struct loop.
* cfgloop.h (struct lpt_decision, struct nb_iter_bound,
struct loop_exit): Add GTY marker.
(struct loop): Add GTY marker. Make superloops vector gc allocated.
Add skip marker to aux field. Make head of exits list a separate
object.
(struct loops): Add GTY marker. Make larray vector gc allocated.
Add param marker to exits table.
(get_loops): Type changed.
* Makefile.in (tree-scalar-evolution.o): Add gt-tree-scalar-evolution.h
dependency.
(cfgloop.o, loop-init.o): Add ggc.h dependency.
(GTFILES): Add cfgloop.h and tree-scalar-evolution.c.
* basic-block.h (struct basic_block_def): Remove skip marker from
loop_father field.
From-SVN: r124727
2007-05-14 23:58:42 +02:00
|
|
|
|
$(srcdir)/tree-mudflap.c $(srcdir)/tree-flow.h $(srcdir)/tree-scalar-evolution.c \
|
tree-ssa-address.c: New file.
* tree-ssa-address.c: New file.
* Makefile.in (tree-ssa-address.o): Add.
* expr.c (expand_expr_real_1): Do not handle REF_ORIGINAL on
INDIRECT_REFs. Handle TARGET_MEM_REFs.
* tree-eh.c (tree_could_trap_p): Handle TARGET_MEM_REFs.
* tree-flow.h (struct mem_address): New.
(struct affine_tree_combination): Moved from tree-ssa-loop-ivopts.c.
(create_mem_ref, addr_for_mem_ref, get_address_description,
maybe_fold_tmr, multiplier_allowed_in_address_p,
multiply_by_cost): Declare.
* tree-mudflap.c (mf_xform_derefs_1): Handle TARGET_MEM_REFs.
* tree-pretty-print.c (dump_generic_node): Ditto.
* tree-ssa-loop-im.c (for_each_index): Ditto.
* tree-ssa-loop-ivopts.c (may_be_unaligned_p,
find_interesting_uses_address): Ditto.
(rewrite_address_base, build_addr_strip_iref): Removed.
(struct affine_tree_combination): Moved to tree-flow.h.
(get_ref_tag, copy_ref_info): New functions.
(rewrite_use_address): Produce TARGET_MEM_REFs.
(tree_ssa_iv_optimize): Do not call update_ssa
and rewrite_into_loop_closed_ssa.
(tree_to_aff_combination): Use build_fold_addr_expr instead of
build_addr_strip_iref.
(unshare_aff_combination): New function.
(fold_affine_sum): Removed.
(get_computation_at): Use get_computation_aff. Unshare the result.
(get_computation_aff, multiplier_allowed_in_address_p): New function.
(multiply_by_cost): Exported.
(get_address_cost): Use multiplier_allowed_in_address_p.
* tree-ssa-operands.c (get_tmr_operands): New function.
(get_expr_operands): Handle TARGET_MEM_REFs.
* tree.c (copy_node_stat): Copy annotations for TARGET_MEM_REFs.
(build): Handle 7 arguments.
(build7_stat): New function.
* tree.def (TARGET_MEM_DEF): New.
* tree.h (REF_ORIGINAL): Removed.
(TMR_SYMBOL, TMR_BASE, TMR_INDEX, TMR_STEP, TMR_OFFSET, TMR_ORIGINAL,
TMR_TAG, build7): New macros.
(build7_stat, tree_mem_ref_addr, copy_mem_ref_info): Declare.
* tree-ssa-ccp.c (fold_stmt_r): Call maybe_fold_tmr.
* doc/c-tree.texi: Document TARGET_MEM_REF.
* doc/tree-ssa.texi: Add TARGET_MEM_REF to gimple grammar.
* gcc.dg/tree-ssa/loop-2.c: Update outcome.
* gcc.dg/tree-ssa/loop-3.c: Update outcome.
* gcc.dg/tree-ssa/loop-4.c: Update outcome.
* gcc.dg/tree-ssa/loop-9.c: New test.
From-SVN: r100708
2005-06-07 14:01:47 +02:00
|
|
|
|
$(srcdir)/tree-ssanames.c $(srcdir)/tree-eh.c $(srcdir)/tree-ssa-address.c \
|
2004-05-13 08:41:07 +02:00
|
|
|
|
$(srcdir)/tree-phinodes.c $(srcdir)/tree-cfg.c \
|
2004-08-29 08:16:02 +02:00
|
|
|
|
$(srcdir)/tree-dfa.c $(srcdir)/tree-ssa-propagate.c \
|
2004-05-13 08:41:07 +02:00
|
|
|
|
$(srcdir)/tree-iterator.c $(srcdir)/gimplify.c \
|
Makefile.in (tree-vect-generic.o): New.
* Makefile.in (tree-vect-generic.o): New.
(OBJS-common, GTFILES, s-gtype): Add it.
* tree-complex.c (build_replicated_const, vector_inner_type,
vector_last_type, vector_last_nunits, build_word_mode_vector_type,
elem_op_func, tree_vec_extract, do_unop, do_binop, do_plus_minus,
do_negate, expand_vector_piecewise, expand_vector_parallel,
expand_vector_addition, expand_vector_operation,
type_for_widest_vector_mode, expand_vector_operations_1,
gate_expand_vector_operations, expand_vector_operations,
pass_lower_vector_ssa): Move to tree-vect-generic.c.
(tree_lower_complex): Rename from tree_lower_operations.
(pass_lower_complex): Rename from pass_pre_expand.
* tree-vect-generic.c: New file.
* tree-pass.h (pass_lower_complex): Rename from pass_pre_expand.
(pass_lower_vector): New.
* tree-optimize.c (init_tree_optimization_passes): Update to match.
From-SVN: r100529
2005-06-03 04:11:05 +02:00
|
|
|
|
$(srcdir)/tree-chrec.h $(srcdir)/tree-vect-generic.c \
|
2006-11-30 16:30:01 +01:00
|
|
|
|
$(srcdir)/tree-ssa-operands.h \
|
Makefile.in (rtl-profile.o): Kill all traces of it.
* Makefile.in (rtl-profile.o): Kill all traces of it.
* common.opt (fspeculative-prefetching, ftree-based-profiling): Kill.
* coverage.h (rtl_coverage_counter_ref): Kill.
* opts.c (flag_speculative_prefetching_set): Kill.
(flag_loop_optimize_set): New.
(common_handle_option): Disable loop optimizer when profiling;
do not handle speculative prefetching.
* passes.c (init_optimization_passes): Replace pass_profiling combo
by branch_prob pass.
* profile.c (compute_value_histograms): Update for simplified value
profiles.
(rtl_register_profile_hooks): Kill.
(pass_profiling): Kill.
(rest_of_handle_branch_prob): Do not profile.
* toplev.c (process_options): Remove speculative prefetching.
* toplev.h (flag_tree_based_profiling): Kill.
* tree-profile.c (prepare_instrumented_value,
tree_gen_interval_profiler, tree_gen_pow2_profiler,
tree_gen_one_value_profiler, do_tree_profiling): Update for
simplified datastructures.
* value-prof.c: Add comment that speculative prefetching was dropped;
update rest of file for simplified datastructures.
(NOPREFETCH_RANGE_MIN, NOPREFETCH_RANGE_MAX,
rtl_divmod_values_to_profile, insn_prefetch_values_to_profile,
find_mem_reference_1, find_mem_reference_2, find_mem_reference,
rtl_values_to_profile, rtl_divmod_fixed_value, rtl_mod_pow2,
rtl_mod_subtract, gen_speculative_prefetch,
rtl_divmod_fixed_value_transform, rtl_mod_pow2_value_transform,
rtl_mod_subtract_transform, speculative_prefetching_transform): Kill.
(gate_handle_value_profile_transformations,
rest_of_handle_value_profile_transformations,
pass_value_profile_transformations): Kill.
* value-prof.h (histogram_value_t): Remove IL based unions.
(rtl_register_value_prof_hooks, rtl_register_profile_hooks,
rtl_profile_hooks): Remove hooks.
* invoke.texi (-ftree-based-profiling, -fspeculative-prefetching): Kill.
* inliner-1.c: Do not dump everything.
* tree-prof.exp: Do not pass -ftree-based-profiling.
* bprob.exp: Likewise.
From-SVN: r102522
2005-07-28 23:48:38 +02:00
|
|
|
|
$(srcdir)/tree-profile.c $(srcdir)/tree-nested.c \
|
2005-11-10 18:23:49 +01:00
|
|
|
|
$(srcdir)/ipa-reference.c $(srcdir)/tree-ssa-structalias.h \
|
2007-09-15 23:53:45 +02:00
|
|
|
|
$(srcdir)/tree-ssa-structalias.c $(srcdir)/tree-parloops.c \
|
gengtype.c: Don't include gtyp-gen.h.
* gengtype.c: Don't include gtyp-gen.h.
(srcdir): Declare here.
(base_files, lang_dir_names): Allocate dynamically.
(gt_files, num_gt_files, num_lang_dirs): New globals.
(measure_input_list, read_input_line, read_input_list)
(set_lang_bitmap): New functions.
(get_base_file_bitmap): Rename get_lang_bitmap and drastically
simplify, relying on read_input_list to set up the bitmaps.
(main): Arguments are no longer unused. Check for correct number
of command line arguments, set srcdir and srcdir_len, then call
read_input_list, before doing anything else. No need to worry
about duplicates in main loop.
* configure.ac: Simplify the calculation of all_gtfiles.
Put language tags in there. Don't set or substitute
all_gtfiles_files_langs or all_gtfiles_files_frags.
* Makefile.in: Revamp the way gengtype is invoked, now that it
takes a file on its command line with a much simpler format.
Remove or replace with gtyp-input.list all references to gtyp-gen.h.
(GTFILES): Remove duplicates and C source files.
* c-config-lang.in, cp/config-lang.in, objc/config-lang.in
* objcp/config-lang.in: Add c-pragma.h to gtfiles.
* configure: Regenerate.
From-SVN: r123234
2007-03-26 23:07:27 +02:00
|
|
|
|
$(srcdir)/omp-low.c $(srcdir)/varpool.c \
|
semantics.c (expand_or_defer_fn): Do not call c_record_cdtor_fn.
* semantics.c (expand_or_defer_fn): Do not call c_record_cdtor_fn.
* decl2.c (start_objects): ctors and dtors are no longer public.
(cp_write_global_declarations): Do not call c_build_cdtor_fns.
* cgraphunit.c: Include gt-cgraphunit.h
(static_ctors, static_dtors): New static vars.
(record_cdtor_fn, build_cdtor, cgraph_build_cdtor_fns): New functions,
based on implementation in c-common.c
(cgraph_finalize_function): Call record_cdtor_fn.
(cgraph_optimize): Call cgraph_build_cdtor_fns.
* decl.c (finish_function): Do not call c_record_cdtor_fn.
(c_write_global_declarations): Do not call c_build_cdtor_fns.
* c-common.c (static_ctors, static_dtors, c_record_cdtor_fn,
build_cdtor, c_build_cdtor_fns): Remove.
* c-common.h (static_ctors, static_dtors, c_record_cdtor_fn,
c_build_cdtor_fns): Remove prototype.
From-SVN: r124618
2007-05-11 14:18:17 +02:00
|
|
|
|
$(srcdir)/targhooks.c $(out_file) $(srcdir)/passes.c $(srcdir)/cgraphunit.c \
|
2002-06-04 09:11:05 +02:00
|
|
|
|
@all_gtfiles@
|
|
|
|
|
|
2007-08-24 18:30:45 +02:00
|
|
|
|
GTFILES_H = $(subst /,-, $(patsubst $(srcdir)/%,gt-%, $(patsubst %.c,%.h, \
|
gengtype.c: Don't include gtyp-gen.h.
* gengtype.c: Don't include gtyp-gen.h.
(srcdir): Declare here.
(base_files, lang_dir_names): Allocate dynamically.
(gt_files, num_gt_files, num_lang_dirs): New globals.
(measure_input_list, read_input_line, read_input_list)
(set_lang_bitmap): New functions.
(get_base_file_bitmap): Rename get_lang_bitmap and drastically
simplify, relying on read_input_list to set up the bitmaps.
(main): Arguments are no longer unused. Check for correct number
of command line arguments, set srcdir and srcdir_len, then call
read_input_list, before doing anything else. No need to worry
about duplicates in main loop.
* configure.ac: Simplify the calculation of all_gtfiles.
Put language tags in there. Don't set or substitute
all_gtfiles_files_langs or all_gtfiles_files_frags.
* Makefile.in: Revamp the way gengtype is invoked, now that it
takes a file on its command line with a much simpler format.
Remove or replace with gtyp-input.list all references to gtyp-gen.h.
(GTFILES): Remove duplicates and C source files.
* c-config-lang.in, cp/config-lang.in, objc/config-lang.in
* objcp/config-lang.in: Add c-pragma.h to gtfiles.
* configure: Regenerate.
From-SVN: r123234
2007-03-26 23:07:27 +02:00
|
|
|
|
$(filter %.c, $(GTFILES)))))
|
|
|
|
|
|
|
|
|
|
GTFILES_LANG_H = $(patsubst [%], gtype-%.h, $(filter [%], $(GTFILES)))
|
|
|
|
|
ALL_GTFILES_H := $(sort $(GTFILES_H) $(GTFILES_LANG_H))
|
|
|
|
|
|
|
|
|
|
# $(GTFILES) may be too long to put on a command line, so we have to
|
|
|
|
|
# write it out to a file (taking care not to do that in a way that
|
|
|
|
|
# overflows a command line!) and then have gengtype read the file in.
|
|
|
|
|
# The extra blank line in this definition is crucial: it makes the
|
|
|
|
|
# $(foreach ...) below expand to many lines instead of one.
|
|
|
|
|
|
|
|
|
|
define echo_to_gi.list
|
|
|
|
|
echo '$(gtyp)' >> tmp-gi.list
|
2005-07-07 14:37:16 +02:00
|
|
|
|
|
|
|
|
|
endef
|
|
|
|
|
|
gengtype.c: Don't include gtyp-gen.h.
* gengtype.c: Don't include gtyp-gen.h.
(srcdir): Declare here.
(base_files, lang_dir_names): Allocate dynamically.
(gt_files, num_gt_files, num_lang_dirs): New globals.
(measure_input_list, read_input_line, read_input_list)
(set_lang_bitmap): New functions.
(get_base_file_bitmap): Rename get_lang_bitmap and drastically
simplify, relying on read_input_list to set up the bitmaps.
(main): Arguments are no longer unused. Check for correct number
of command line arguments, set srcdir and srcdir_len, then call
read_input_list, before doing anything else. No need to worry
about duplicates in main loop.
* configure.ac: Simplify the calculation of all_gtfiles.
Put language tags in there. Don't set or substitute
all_gtfiles_files_langs or all_gtfiles_files_frags.
* Makefile.in: Revamp the way gengtype is invoked, now that it
takes a file on its command line with a much simpler format.
Remove or replace with gtyp-input.list all references to gtyp-gen.h.
(GTFILES): Remove duplicates and C source files.
* c-config-lang.in, cp/config-lang.in, objc/config-lang.in
* objcp/config-lang.in: Add c-pragma.h to gtfiles.
* configure: Regenerate.
From-SVN: r123234
2007-03-26 23:07:27 +02:00
|
|
|
|
$(ALL_GTFILES_H) gtype-desc.c gtype-desc.h : s-gtype ; @true
|
|
|
|
|
|
|
|
|
|
gtyp-input.list: s-gtyp-input ; @true
|
|
|
|
|
s-gtyp-input: Makefile
|
|
|
|
|
$(foreach gtyp, $(GTFILES), $(echo_to_gi.list))
|
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-gi.list gtyp-input.list
|
|
|
|
|
$(STAMP) s-gtyp-input
|
|
|
|
|
|
|
|
|
|
s-gtype: build/gengtype$(build_exeext) $(filter-out [%], $(GTFILES)) \
|
|
|
|
|
gtyp-input.list
|
|
|
|
|
$(RUN_GEN) build/gengtype$(build_exeext) $(srcdir) gtyp-input.list
|
2002-06-04 09:11:05 +02:00
|
|
|
|
$(STAMP) s-gtype
|
|
|
|
|
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
2006-01-23 16:14:53 +01:00
|
|
|
|
# How to compile object files to run on the build machine.
|
2003-09-01 20:56:28 +02:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
build/%.o : # dependencies provided by explicit rule later
|
|
|
|
|
$(CC_FOR_BUILD) -c $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) -o $@ $<
|
|
|
|
|
|
|
|
|
|
# Header dependencies for the programs that generate source code.
|
|
|
|
|
# These are library modules...
|
|
|
|
|
build/errors.o : errors.c $(BCONFIG_H) $(SYSTEM_H) errors.h
|
|
|
|
|
build/gensupport.o: gensupport.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(GTM_H) $(RTL_BASE_H) $(OBSTACK_H) errors.h $(HASHTAB_H) \
|
|
|
|
|
gensupport.h
|
|
|
|
|
build/ggc-none.o : ggc-none.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(GGC_H)
|
|
|
|
|
build/min-insn-modes.o : min-insn-modes.c $(BCONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
$(MACHMODE_H)
|
|
|
|
|
build/print-rtl.o: print-rtl.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(GTM_H) $(RTL_BASE_H)
|
|
|
|
|
build/read-rtl.o: read-rtl.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(GTM_H) $(RTL_BASE_H) $(OBSTACK_H) $(HASHTAB_H) gensupport.h
|
|
|
|
|
build/rtl.o: rtl.c $(BCONFIG_H) coretypes.h $(GTM_H) $(SYSTEM_H) \
|
|
|
|
|
$(RTL_H) $(REAL_H) $(GGC_H) errors.h
|
|
|
|
|
build/vec.o : vec.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h vec.h \
|
|
|
|
|
$(GGC_H) toplev.h
|
|
|
|
|
build/gencondmd.o : build/gencondmd.c $(BCONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(GTM_H) insn-constants.h $(RTL_H) $(TM_P_H) \
|
|
|
|
|
$(FUNCTION_H) $(REGS_H) $(RECOG_H) $(REAL_H) output.h $(FLAGS_H) \
|
|
|
|
|
$(RESOURCE_H) toplev.h reload.h except.h tm-constrs.h
|
2006-07-04 09:52:47 +02:00
|
|
|
|
# This pulls in tm-pred.h which contains inline functions wrapping up
|
|
|
|
|
# predicates from the back-end so those functions must be discarded.
|
|
|
|
|
# No big deal since gencondmd.c is a dummy file for non-GCC compilers.
|
|
|
|
|
build/gencondmd.o : \
|
|
|
|
|
BUILD_CFLAGS := $(filter-out -fkeep-inline-functions, $(BUILD_CFLAGS))
|
2002-12-16 19:23:00 +01:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
# ...these are the programs themselves.
|
|
|
|
|
build/genattr.o : genattr.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(GTM_H) errors.h gensupport.h
|
|
|
|
|
build/genattrtab.o : genattrtab.c $(RTL_BASE_H) $(OBSTACK_H) \
|
|
|
|
|
$(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GTM_H) errors.h $(GGC_H) \
|
|
|
|
|
gensupport.h
|
|
|
|
|
build/genautomata.o : genautomata.c $(RTL_BASE_H) $(OBSTACK_H) \
|
|
|
|
|
$(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GTM_H) errors.h vec.h \
|
|
|
|
|
$(HASHTAB_H) gensupport.h
|
|
|
|
|
build/gencheck.o : gencheck.c gencheck.h tree.def $(BCONFIG_H) $(GTM_H) \
|
|
|
|
|
$(SYSTEM_H) coretypes.h $(lang_tree_files)
|
|
|
|
|
build/genchecksum.o : genchecksum.c $(BCONFIG_H) $(SYSTEM_H) $(MD5_H)
|
|
|
|
|
build/gencodes.o : gencodes.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(GTM_H) errors.h gensupport.h
|
|
|
|
|
build/genconditions.o : genconditions.c $(RTL_BASE_H) $(BCONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) coretypes.h $(GTM_H) errors.h
|
|
|
|
|
build/genconfig.o : genconfig.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(GTM_H) errors.h gensupport.h
|
|
|
|
|
build/genconstants.o : genconstants.c $(RTL_BASE_H) $(BCONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) coretypes.h $(GTM_H) errors.h
|
|
|
|
|
build/genemit.o : genemit.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(GTM_H) errors.h gensupport.h
|
|
|
|
|
build/genextract.o : genextract.c $(RTL_BASE_H) $(BCONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) coretypes.h $(GTM_H) errors.h gensupport.h vecprim.h
|
|
|
|
|
build/genflags.o : genflags.c $(RTL_BASE_H) $(OBSTACK_H) $(BCONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) coretypes.h $(GTM_H) errors.h gensupport.h
|
|
|
|
|
build/gengenrtl.o : gengenrtl.c $(BCONFIG_H) $(SYSTEM_H) rtl.def
|
|
|
|
|
build/gengtype-lex.o : gengtype-lex.c gengtype.h $(BCONFIG_H) $(SYSTEM_H)
|
|
|
|
|
build/gengtype-parse.o : gengtype-parse.c gengtype.h $(BCONFIG_H) \
|
|
|
|
|
$(SYSTEM_H)
|
|
|
|
|
build/gengtype.o : gengtype.c $(BCONFIG_H) $(SYSTEM_H) gengtype.h \
|
|
|
|
|
rtl.def insn-notes.def errors.h double-int.h
|
|
|
|
|
build/genmddeps.o: genmddeps.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(GTM_H) $(RTL_BASE_H) errors.h gensupport.h
|
|
|
|
|
build/genmodes.o : genmodes.c $(BCONFIG_H) $(SYSTEM_H) errors.h \
|
|
|
|
|
$(HASHTAB_H) machmode.def $(extra_modes_file)
|
|
|
|
|
build/genopinit.o : genopinit.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(GTM_H) errors.h gensupport.h
|
|
|
|
|
build/genoutput.o : genoutput.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(GTM_H) errors.h gensupport.h
|
|
|
|
|
build/genpeep.o : genpeep.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(GTM_H) errors.h gensupport.h toplev.h
|
|
|
|
|
build/genpreds.o : genpreds.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(GTM_H) errors.h gensupport.h $(OBSTACK_H)
|
|
|
|
|
build/genrecog.o : genrecog.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(GTM_H) errors.h gensupport.h
|
|
|
|
|
|
2006-01-23 16:14:53 +01:00
|
|
|
|
# Compile the programs that generate insn-* from the machine description.
|
|
|
|
|
# They are compiled with $(CC_FOR_BUILD), and associated libraries,
|
|
|
|
|
# since they need to run on this machine
|
|
|
|
|
# even if GCC is being compiled to run on some other machine.
|
Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
* Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
(CONFIG_H, TCONFIG_H, TM_P_H): Update.
(GEN, STAGESTUFF): Add new files.
(insn-constants.h, s-constants, tm-preds.h, s-preds,
genconstants, genpreds, genconstants.o, genpreds.o): New rules.
(hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
* mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
as well as insn-codes.h and insn-flags.h in config.h; and no
extra headers in tconfig.h and hconfig.h.
* gencodes.c: Eliminate code to generate predicate declarations
or #defines for md-file constants.
* genconstants.c, genpreds.c: New files.
* i386.md: Re-order guard expressions such that TARGET_64BIT
comes first, when this permits better optimization. Add
TARGET_64BIT to more x86-64 patterns. Add comment explaining
why this is desirable.
From-SVN: r44743
2001-08-09 19:11:00 +02:00
|
|
|
|
|
2006-01-23 16:14:53 +01:00
|
|
|
|
# As a general rule...
|
|
|
|
|
build/gen%$(build_exeext): build/gen%.o $(BUILD_LIBDEPS)
|
2003-06-17 23:53:49 +02:00
|
|
|
|
$(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) -o $@ \
|
2006-01-23 16:14:53 +01:00
|
|
|
|
$(filter-out $(BUILD_LIBDEPS), $^) $(BUILD_LIBS)
|
Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
* Makefile.in (HOST_CFLAGS): Take out -DGENERATOR_FILE.
(CONFIG_H, TCONFIG_H, TM_P_H): Update.
(GEN, STAGESTUFF): Add new files.
(insn-constants.h, s-constants, tm-preds.h, s-preds,
genconstants, genpreds, genconstants.o, genpreds.o): New rules.
(hashtab.o, safe-ctype.o): Add -DGENERATOR_FILE.
* mkconfig.sh: Include tm-preds.h in tm_p.h; insn-constants.h
as well as insn-codes.h and insn-flags.h in config.h; and no
extra headers in tconfig.h and hconfig.h.
* gencodes.c: Eliminate code to generate predicate declarations
or #defines for md-file constants.
* genconstants.c, genpreds.c: New files.
* i386.md: Re-order guard expressions such that TARGET_64BIT
comes first, when this permits better optimization. Add
TARGET_64BIT to more x86-64 patterns. Add comment explaining
why this is desirable.
From-SVN: r44743
2001-08-09 19:11:00 +02:00
|
|
|
|
|
r110124@banpei: zack | 2006-01-22 14:45:55 -0800
r110124@banpei: zack | 2006-01-22 14:45:55 -0800
* gensupport.c: Define get_insn_name and record_insn_name here.
(read_md_rtx): Call record_insn_name as appropriate.
* genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c
* genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c
* genpreds.c, genrecog.c: Don't define get_insn_name nor
record_insn_name.
* Makefile.in (BUILD_SUPPORT, BUILD_PRINT): Fold into BUILD_RTL.
(BUILD_VARRAY): Delete.
(genprognormal): Rename genprogmd. Fold in all programs from
genprognoprint; also attrtab.
(build/genattrtab): Just mention genautomata.o and varray.o.
Reorganize a bit, add comments to make the categories clearer.
From-SVN: r110120
2006-01-23 16:15:12 +01:00
|
|
|
|
# All these programs use the MD reader ($(BUILD_RTL)).
|
r110127@banpei: zack | 2006-01-22 14:49:27 -0800
r110127@banpei: zack | 2006-01-22 14:49:27 -0800
* genattrtab.c: Don't include genattrtab.h. Define ATTR_NONE
and ATTR_SPECIAL (from genattrtab.h). Don't define num_dfa_decls
nor any of the random handful of variables that used to be necessary
when this program was linked with rtlanal.o. Prune set of forward
function declarations.
(struct attr_desc): Remove static_p field.
(hash_obstack, temp_obstack, attr_hash_table, attr_printf)
(check_attr_test, make_internal_attr, make_numeric_value): Make static.
(attr_string): Do not read the character one past the length of
the string.
(write_attr_get, find_attr, make_internal_attr): Don't touch static_p.
(struct insn_reserv, all_insn_reservs, last_insn_reserv_p)
(n_insn_reservs, gen_insn_reserv, struct bypass_list, all_bypasses)
(n_bypasses, gen_bypass_1, gen_bypass, process_bypasses)
(make_automaton_attrs): New.
(main): Do not call into genautomata. Call local gen_bypass
and gen_insn_reserv as appropriate. Call make_automaton_attrs.
Remove special case for insn_alts.
* genautomata.c: Include gensupport.h; not genattrtab.h nor
varray.h (leftover from previous change). Prune set of forward
function declarations. Remove state_alts fields from all
structures. Remove state_alts_table from struct automaton.
Make everything except main static. Do not maintain num_dfa_decls.
Do not maintain state_alts fields of various structures.
(process_decls): Don't validate condexp for dm_insn_reserv decls.
(add_arc): Remove state_alts argument. All callers updated.
(output_reserved_units_table): Emit #ifdef here...
(output_tables): ...not here. Don't generate state_alts tables.
(expand_automata): Don't generate attributes.
(write_automata): Don't generate state_alts functions.
(main): New function.
(it_is_empty_reserv_sets, output_state_alts_full_vect_name)
(output_state_alts_comb_vect_name, output_state_alts_check_vect_name)
(AUTOMATON_STATE_ALTS_MACRO_NAME, INTERNAL_STATE_ALTS_FUNC_NAME)
(STATE_ALTS_FUNC_NAME, INSN_DEFAULT_LATENCY_FUNC_NAME)
(BYPASS_P_FUNC_NAME, output_state_alts_table)
(output_automata_list_state_alts_code, output_internal_state_alts_func)
(output_state_alts_func, make_insn_alts_attr, make_bypass_attr)
(make_internal_dfa_insn_code_attr, make_default_insn_latency_attr):
Delete.
* genattr.c: Declare internal_dfa_insn_code in insn-attr.h.
* genattrtab.h: Delete file.
* Makefile.in (OBJS-common): Add insn-automata.o.
(insn-automata.o): New rule.
(simple_generated_c): Add insn-automata.c.
(build/genattrtab.o, build/genautomata.o): Update dependencies.
(genprogmd): Add automata.
(build/genattrtab): Needs no extra objects nor libraries.
(build/genautomata): Needs build/vec.o and -lm.
From-SVN: r110123
2006-01-23 16:15:52 +01:00
|
|
|
|
genprogmd = attr attrtab automata codes conditions config constants emit \
|
|
|
|
|
extract flags mddeps opinit output peep preds recog
|
r110124@banpei: zack | 2006-01-22 14:45:55 -0800
r110124@banpei: zack | 2006-01-22 14:45:55 -0800
* gensupport.c: Define get_insn_name and record_insn_name here.
(read_md_rtx): Call record_insn_name as appropriate.
* genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c
* genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c
* genpreds.c, genrecog.c: Don't define get_insn_name nor
record_insn_name.
* Makefile.in (BUILD_SUPPORT, BUILD_PRINT): Fold into BUILD_RTL.
(BUILD_VARRAY): Delete.
(genprognormal): Rename genprogmd. Fold in all programs from
genprognoprint; also attrtab.
(build/genattrtab): Just mention genautomata.o and varray.o.
Reorganize a bit, add comments to make the categories clearer.
From-SVN: r110120
2006-01-23 16:15:12 +01:00
|
|
|
|
$(genprogmd:%=build/gen%$(build_exeext)): $(BUILD_RTL) $(BUILD_ERRORS)
|
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
r110123@banpei: zack | 2006-01-22 14:44:34 -0800
* genconditions.c (condition_table, add_condition): Delete.
(write_conditions): Don't emit n_insn_conditions nor
insn_elision_unavailable. Issue the gcc version #ifdef here,
inside the table, with no #else clause ...
(write_header): ...not here.
(write_writer): New function.
(main): Don't initialize condition_table. Use add_c_test.
Call write_writer.
* gensupport.c (init_md_reader_args_cb): Handle multiple input
files on the command line.
(maybe_eval_c_test): Don't check insn_elision_unavailable.
Return -1 if there is no entry in the table, don't abort.
(add_c_test, traverse_c_tests): New functions.
* gensupport.h (insn_elision_unavailable, insn_conditions)
(n_insn_conditions): Delete declarations.
(add_c_test, traverse_c_tests): Declare.
* read-rtl.c: Include gensupport.h.
(read_conditions): New function.
(read_rtx): If read_rtx_1 returns 0, treat as EOF.
(read_rtx_1): If we get EOF when we were looking for an initial
open paren, return 0. Call read_conditions when appropriate.
* Makefile.in: Kill BUILD_EARLY_SUPPORT and all references to
dummy-conditions.o. Eliminate references to insn-conditions.o,
or change them to build/gencondmd.o, as appropriate. Remove
insn-constants.h from $(simple_generated_h) and insn-conditions.c
from $(simple_generated_c). For all files remaining in those
two lists, add insn-conditions.md to the generator command line.
Give insn-constants.h/s-constants their own rules. Add rules
for build/gencondmd.c, s-conditions, insn-conditions.md, s-condmd.
(build/read-rtl.o): Depend on gensupport.h.
(genprognormal): Include preds.
(genprogearly): Rename genprognoprint; only difference is now that
they don't link with $(BUILD_PRINT).
* dummy-conditions.c: Delete.
From-SVN: r110119
2006-01-23 16:15:05 +01:00
|
|
|
|
|
2006-07-04 09:52:47 +02:00
|
|
|
|
# These programs need libs over and above what they get from the above list.
|
r110127@banpei: zack | 2006-01-22 14:49:27 -0800
r110127@banpei: zack | 2006-01-22 14:49:27 -0800
* genattrtab.c: Don't include genattrtab.h. Define ATTR_NONE
and ATTR_SPECIAL (from genattrtab.h). Don't define num_dfa_decls
nor any of the random handful of variables that used to be necessary
when this program was linked with rtlanal.o. Prune set of forward
function declarations.
(struct attr_desc): Remove static_p field.
(hash_obstack, temp_obstack, attr_hash_table, attr_printf)
(check_attr_test, make_internal_attr, make_numeric_value): Make static.
(attr_string): Do not read the character one past the length of
the string.
(write_attr_get, find_attr, make_internal_attr): Don't touch static_p.
(struct insn_reserv, all_insn_reservs, last_insn_reserv_p)
(n_insn_reservs, gen_insn_reserv, struct bypass_list, all_bypasses)
(n_bypasses, gen_bypass_1, gen_bypass, process_bypasses)
(make_automaton_attrs): New.
(main): Do not call into genautomata. Call local gen_bypass
and gen_insn_reserv as appropriate. Call make_automaton_attrs.
Remove special case for insn_alts.
* genautomata.c: Include gensupport.h; not genattrtab.h nor
varray.h (leftover from previous change). Prune set of forward
function declarations. Remove state_alts fields from all
structures. Remove state_alts_table from struct automaton.
Make everything except main static. Do not maintain num_dfa_decls.
Do not maintain state_alts fields of various structures.
(process_decls): Don't validate condexp for dm_insn_reserv decls.
(add_arc): Remove state_alts argument. All callers updated.
(output_reserved_units_table): Emit #ifdef here...
(output_tables): ...not here. Don't generate state_alts tables.
(expand_automata): Don't generate attributes.
(write_automata): Don't generate state_alts functions.
(main): New function.
(it_is_empty_reserv_sets, output_state_alts_full_vect_name)
(output_state_alts_comb_vect_name, output_state_alts_check_vect_name)
(AUTOMATON_STATE_ALTS_MACRO_NAME, INTERNAL_STATE_ALTS_FUNC_NAME)
(STATE_ALTS_FUNC_NAME, INSN_DEFAULT_LATENCY_FUNC_NAME)
(BYPASS_P_FUNC_NAME, output_state_alts_table)
(output_automata_list_state_alts_code, output_internal_state_alts_func)
(output_state_alts_func, make_insn_alts_attr, make_bypass_attr)
(make_internal_dfa_insn_code_attr, make_default_insn_latency_attr):
Delete.
* genattr.c: Declare internal_dfa_insn_code in insn-attr.h.
* genattrtab.h: Delete file.
* Makefile.in (OBJS-common): Add insn-automata.o.
(insn-automata.o): New rule.
(simple_generated_c): Add insn-automata.c.
(build/genattrtab.o, build/genautomata.o): Update dependencies.
(genprogmd): Add automata.
(build/genattrtab): Needs no extra objects nor libraries.
(build/genautomata): Needs build/vec.o and -lm.
From-SVN: r110123
2006-01-23 16:15:52 +01:00
|
|
|
|
build/genautomata$(build_exeext) : BUILD_LIBS += -lm
|
2004-10-06 06:47:42 +02:00
|
|
|
|
|
r110124@banpei: zack | 2006-01-22 14:45:55 -0800
r110124@banpei: zack | 2006-01-22 14:45:55 -0800
* gensupport.c: Define get_insn_name and record_insn_name here.
(read_md_rtx): Call record_insn_name as appropriate.
* genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c
* genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c
* genpreds.c, genrecog.c: Don't define get_insn_name nor
record_insn_name.
* Makefile.in (BUILD_SUPPORT, BUILD_PRINT): Fold into BUILD_RTL.
(BUILD_VARRAY): Delete.
(genprognormal): Rename genprogmd. Fold in all programs from
genprognoprint; also attrtab.
(build/genattrtab): Just mention genautomata.o and varray.o.
Reorganize a bit, add comments to make the categories clearer.
From-SVN: r110120
2006-01-23 16:15:12 +01:00
|
|
|
|
# These programs are not linked with the MD reader.
|
2006-01-23 16:14:53 +01:00
|
|
|
|
build/gengenrtl$(build_exeext) : $(BUILD_ERRORS)
|
|
|
|
|
build/genmodes$(build_exeext) : $(BUILD_ERRORS)
|
2007-03-26 23:18:43 +02:00
|
|
|
|
build/gengtype$(build_exeext) : build/gengtype-lex.o build/gengtype-parse.o \
|
|
|
|
|
$(BUILD_ERRORS)
|
2002-06-04 09:11:05 +02:00
|
|
|
|
|
2006-01-23 16:14:53 +01:00
|
|
|
|
# Generated source files for gengtype.
|
re PR bootstrap/12744 (A GCC release tarball can no longer be built without bison/flex)
gcc/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12744
* configure.in: Revamp enable-generated-files-in-srcdir rule to define
GENINSRC and not parsedir. Define srcextra as a langhook.
* configure: Regenerate.
* Makefile.in: Suppress default .l.c rule. Don't substitute
parsedir and delete all references throughout. Conditionally define
rule for srcextra dependent on GENINSRC.
(stmp-docobjdir): Delete.
(c-parse.o, gengtype-lex.o, gengtype-yacc.o): Use implicit build rule.
(srcextra): Copy c-parse.y, c-parse.c, gengtype-lex.c, gengtype-yacc.c,
and gengtype-yacc.h back to source directory.
(maintainer-clean): Delete all parse files in source directory.
(distclean): Delete generated files.
* objc/Make-lang.in (objc-parse.o): Use implicit build rule.
(objc-parse.c, objc-parse.y): Don't use parsedir.
(objc.srcextra): Copy objc-parse.y and objc-parse.c back to source
directory if requested.
(po-generated): Don't use parsedir.
(objc.maintainer-clean): Delete above files from source directory.
gcc/ada/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (ada.srcextra): Dummy entry.
gcc/cp/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (c++.srcextra): Dummy entry.
gcc/f/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (f77.srcextra): Dummy entry.
gcc/java/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (parse.c, parse-scan.c): Always build in doc directory.
(java.srcextra): Copy above back to source directory if requested.
(po-generated): Delete reference to $(parsedir).
(java/parse.o, java/parse-scan.o): Delete reference to $(parsedir).
Use implicit rule.
gcc/treelang/
2004-01-15 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (TREE_GENERATED): Delete reference to $(parsedir).
(treelang/parse.o, treelang/lex.o): Look for sources in build
directory. Use implicit rule.
(treelang/parse.c, treelang/parse.h treelang/lex.c): Always build in
doc directory.
(treelang.srcextra): Copy above back to source directory if requested.
From-SVN: r75903
2004-01-15 05:02:24 +01:00
|
|
|
|
gengtype-lex.c : gengtype-lex.l
|
|
|
|
|
-$(FLEX) $(FLEXFLAGS) -o$@ $<
|
2002-04-30 00:34:36 +02:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
#
|
|
|
|
|
# Remake internationalization support.
|
|
|
|
|
intl.o: intl.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) intl.h Makefile
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
|
|
|
|
|
-DLOCALEDIR=\"$(localedir)\" \
|
|
|
|
|
-c $(srcdir)/intl.c $(OUTPUT_OPTION)
|
|
|
|
|
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Remake cpp and protoize.
|
|
|
|
|
|
1999-08-25 04:49:56 +02:00
|
|
|
|
PREPROCESSOR_DEFINES = \
|
|
|
|
|
-DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
|
2007-02-27 21:32:13 +01:00
|
|
|
|
-DFIXED_INCLUDE_DIR=\"$(libsubdir)/include-fixed\" \
|
1999-08-25 04:49:56 +02:00
|
|
|
|
-DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \
|
2003-10-14 05:41:42 +02:00
|
|
|
|
-DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/$(target_noncanonical)\" \
|
2001-04-06 08:13:27 +02:00
|
|
|
|
-DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/backward\" \
|
2001-09-29 20:22:05 +02:00
|
|
|
|
-DLOCAL_INCLUDE_DIR=\"$(local_includedir)\" \
|
2002-12-16 19:23:00 +01:00
|
|
|
|
-DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\" \
|
2003-02-13 18:23:56 +01:00
|
|
|
|
-DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\" \
|
2007-03-14 17:06:36 +01:00
|
|
|
|
-DPREFIX=\"$(prefix)/\" \
|
|
|
|
|
-DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
|
2003-02-13 18:23:56 +01:00
|
|
|
|
@TARGET_SYSTEM_ROOT_DEFINE@
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
cppdefault.o: cppdefault.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
cppdefault.h Makefile
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
|
|
|
|
|
$(PREPROCESSOR_DEFINES) \
|
|
|
|
|
-c $(srcdir)/cppdefault.c $(OUTPUT_OPTION)
|
|
|
|
|
|
1993-01-26 19:45:24 +01:00
|
|
|
|
# Note for the stamp targets, we run the program `true' instead of
|
|
|
|
|
# having an empty command (nothing following the semicolon).
|
|
|
|
|
|
1998-03-22 00:47:27 +01:00
|
|
|
|
proto: config.status protoize$(exeext) unprotoize$(exeext) SYSCALLS.c.X
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2004-08-24 10:52:38 +02:00
|
|
|
|
PROTO_OBJS = intl.o version.o cppdefault.o errors.o
|
1999-01-27 02:43:17 +01:00
|
|
|
|
|
|
|
|
|
protoize$(exeext): protoize.o $(PROTO_OBJS) $(LIBDEPS)
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ protoize.o $(PROTO_OBJS) $(LIBS)
|
1992-05-18 22:08:36 +02:00
|
|
|
|
|
1999-01-27 02:43:17 +01:00
|
|
|
|
unprotoize$(exeext): unprotoize.o $(PROTO_OBJS) $(LIBDEPS)
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ unprotoize.o $(PROTO_OBJS) $(LIBS)
|
1992-05-18 22:08:36 +02:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
protoize.o: protoize.c $(srcdir)/../include/getopt.h $(CONFIG_H) $(SYSTEM_H) \
|
|
|
|
|
coretypes.h $(TM_H) Makefile version.h cppdefault.h intl.h
|
|
|
|
|
(SHLIB_LINK='$(SHLIB_LINK)'; \
|
|
|
|
|
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
|
|
|
|
|
$(DRIVER_DEFINES) \
|
|
|
|
|
$(srcdir)/protoize.c $(OUTPUT_OPTION))
|
|
|
|
|
|
|
|
|
|
unprotoize.o: protoize.c $(srcdir)/../include/getopt.h $(CONFIG_H) \
|
|
|
|
|
$(SYSTEM_H) coretypes.h $(TM_H) Makefile version.h cppdefault.h intl.h
|
|
|
|
|
(SHLIB_LINK='$(SHLIB_LINK)'; \
|
|
|
|
|
$(CC) -c -DUNPROTOIZE $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
|
|
|
|
|
$(DRIVER_DEFINES) \
|
|
|
|
|
$(srcdir)/protoize.c $(OUTPUT_OPTION))
|
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# This info describes the target machine, so compile with GCC just built.
|
(SYMLINK): Deleted; unused.
(oldobjext): Deleted; no longer used.
(FLAGS_TO_PASS): Include objext and exeext.
(STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o.
(test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise.
(STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext).
(libgcc1.null, libgcc[12].a, stage[1-4]): Likewise.
(xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value.
(collect2, mips-tfile, mips-tdump, gen*): Likewise.
(bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise.
(protoize, unprotoize, gen-protos, fix-header): Likewise.
(crtbegin.o, crtend.o): Don't use -o; move output to proper
filename (using objext) instead.
(BI_ALL, BC_ALL, bytecode): Deleted; unused.
(bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir).
(getopt{,1}.o, SYSCALLS.c.X): Likewise.
(install-driver): New target.
(install-normal): Depend on it.
(install-common): Don't depend on xgcc.
(maketest): Deleted; no longer used.
(stage[1-4]): Use name collect-ld, not real-ld.
(risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy.
From-SVN: r9770
1995-05-23 00:55:23 +02:00
|
|
|
|
SYSCALLS.c.X: $(srcdir)/sys-types.h $(srcdir)/sys-protos.h $(GCC_PASSES) \
|
|
|
|
|
stmp-int-hdrs
|
1992-06-06 21:49:38 +02:00
|
|
|
|
-rm -f SYSCALLS.c tmp-SYSCALLS.s
|
2000-07-17 11:23:16 +02:00
|
|
|
|
sed -e s/TARGET_GETGROUPS_T/$(TARGET_GETGROUPS_T)/ \
|
|
|
|
|
$(srcdir)/sys-types.h $(srcdir)/sys-protos.h > SYSCALLS.c
|
2005-08-29 15:52:32 +02:00
|
|
|
|
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(ALL_CPPFLAGS) \
|
1992-06-06 21:49:38 +02:00
|
|
|
|
-aux-info $@ -S -o tmp-SYSCALLS.s SYSCALLS.c
|
|
|
|
|
-rm -f SYSCALLS.c tmp-SYSCALLS.s
|
1992-04-25 03:32:47 +02:00
|
|
|
|
|
1993-07-26 10:49:02 +02:00
|
|
|
|
|
1992-04-25 03:32:47 +02:00
|
|
|
|
test-protoize-simple: ./protoize ./unprotoize $(GCC_PASSES)
|
1992-05-22 23:22:42 +02:00
|
|
|
|
-rm -f tmp-proto.[cso]
|
1992-05-06 05:33:12 +02:00
|
|
|
|
cp $(srcdir)/protoize.c tmp-proto.c
|
|
|
|
|
chmod u+w tmp-proto.c
|
1992-05-22 23:22:42 +02:00
|
|
|
|
./protoize -N -B ./ -x getopt.h -c "-B./ -Wall -Wwrite-strings \
|
1999-08-25 04:49:56 +02:00
|
|
|
|
$(GCC_CFLAGS) $(INCLUDES) \
|
1992-04-25 03:32:47 +02:00
|
|
|
|
-DGCC_INCLUDE_DIR=0 \
|
2007-02-27 21:32:13 +01:00
|
|
|
|
-DFIXED_INCLUDE_DIR=0 \
|
1992-04-25 03:32:47 +02:00
|
|
|
|
-DGPLUSPLUS_INCLUDE_DIR=0 \
|
|
|
|
|
-DCROSS_INCLUDE_DIR=0 \
|
1993-01-02 10:05:01 +01:00
|
|
|
|
-DTOOL_INCLUDE_DIR=0 \
|
1999-08-25 04:49:56 +02:00
|
|
|
|
-DSTANDARD_EXEC_PREFIX=0 \
|
|
|
|
|
-DDEFAULT_TARGET_MACHINE=0 \
|
|
|
|
|
-DDEFAULT_TARGET_VERSION=0" tmp-proto.c
|
1992-06-26 05:41:06 +02:00
|
|
|
|
@echo '**********' Expect 400 lines of differences.
|
1992-05-22 23:22:42 +02:00
|
|
|
|
-diff $(srcdir)/protoize.c tmp-proto.c > tmp-proto.diff
|
|
|
|
|
-wc -l tmp-proto.diff
|
|
|
|
|
./unprotoize -N -x getopt.h -c "-B./ -Wall -Wwrite-strings \
|
1999-08-25 04:49:56 +02:00
|
|
|
|
$(GCC_CFLAGS) $(INCLUDES) \
|
1992-04-25 03:32:47 +02:00
|
|
|
|
-DGCC_INCLUDE_DIR=0 \
|
2007-02-27 21:32:13 +01:00
|
|
|
|
-DFIXED_INCLUDE_DIR=0 \
|
1992-04-25 03:32:47 +02:00
|
|
|
|
-DGPLUSPLUS_INCLUDE_DIR=0 \
|
|
|
|
|
-DCROSS_INCLUDE_DIR=0 \
|
1993-01-02 10:05:01 +01:00
|
|
|
|
-DTOOL_INCLUDE_DIR=0 \
|
1999-08-25 04:49:56 +02:00
|
|
|
|
-DSTANDARD_EXEC_PREFIX=0 \
|
|
|
|
|
-DDEFAULT_TARGET_MACHINE=0 \
|
|
|
|
|
-DDEFAULT_TARGET_VERSION=0" tmp-proto.c
|
1992-04-25 03:32:47 +02:00
|
|
|
|
@echo Expect zero differences.
|
1992-05-06 05:33:12 +02:00
|
|
|
|
diff $(srcdir)/protoize.c tmp-proto.c | cat
|
(SYMLINK): Deleted; unused.
(oldobjext): Deleted; no longer used.
(FLAGS_TO_PASS): Include objext and exeext.
(STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o.
(test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise.
(STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext).
(libgcc1.null, libgcc[12].a, stage[1-4]): Likewise.
(xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value.
(collect2, mips-tfile, mips-tdump, gen*): Likewise.
(bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise.
(protoize, unprotoize, gen-protos, fix-header): Likewise.
(crtbegin.o, crtend.o): Don't use -o; move output to proper
filename (using objext) instead.
(BI_ALL, BC_ALL, bytecode): Deleted; unused.
(bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir).
(getopt{,1}.o, SYSCALLS.c.X): Likewise.
(install-driver): New target.
(install-normal): Depend on it.
(install-common): Don't depend on xgcc.
(maketest): Deleted; no longer used.
(stage[1-4]): Use name collect-ld, not real-ld.
(risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy.
From-SVN: r9770
1995-05-23 00:55:23 +02:00
|
|
|
|
-rm -f tmp-proto.[cs] tmp-proto$(objext)
|
1997-03-28 23:34:21 +01:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
# gcov-iov.c is run on the build machine to generate gcov-iov.h from version.c
|
|
|
|
|
build/gcov-iov.o: gcov-iov.c $(BCONFIG_H) coretypes.h $(GTM_H) \
|
|
|
|
|
$(SYSTEM_H) coretypes.h $(TM_H)
|
|
|
|
|
|
2004-09-22 13:21:21 +02:00
|
|
|
|
build/gcov-iov$(build_exeext): build/gcov-iov.o
|
|
|
|
|
$(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) build/gcov-iov.o -o $@
|
|
|
|
|
|
2003-05-03 07:43:34 +02:00
|
|
|
|
gcov-iov.h: s-iov
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
s-iov: build/gcov-iov$(build_exeext) $(BASEVER) $(DEVPHASE)
|
|
|
|
|
build/gcov-iov$(build_exeext) '$(BASEVER_c)' '$(DEVPHASE_c)' \
|
|
|
|
|
> tmp-gcov-iov.h
|
move-if-change: Remove.
* move-if-change: Remove.
* Makefile.in (s-mlib, c-parse.y, s-check, s-gencheck)
(s-specs, s-options, s-config, s-conditions, s-flags, s-codes)
(s-constants, s-emit, s-recog, s-opinit, s-extract, s-peep)
(s-attr, s-attrtab, s-output, s-genrtl, s-modes, s-preds)
(s-gtyp-gen, s-iov): Use the top level move-if-change.
* objc/Make-lang.in (objc/objc-parse.y): Likewise.
(gcc/ada/ChangeLog)
* Make-lang.in (ada/stamp-sdefault): Use the top level
move-if-change.
(gcc/f/ChangeLog)
* Make-lang.in (f/stamp-1t, f/stamp-2t, f/stamp-fo)
(f/stamp-io, f/stamp-nq, f/stamp-op, f/stamp-ot): Use the top
level move-if-change.
From-SVN: r78146
2004-02-20 05:19:33 +01:00
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-gcov-iov.h gcov-iov.h
|
2003-05-03 07:43:34 +02:00
|
|
|
|
$(STAMP) s-iov
|
2002-12-16 19:23:00 +01:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
gcov.o: gcov.c gcov-io.c $(GCOV_IO_H) intl.h $(SYSTEM_H) coretypes.h $(TM_H) \
|
|
|
|
|
$(CONFIG_H) version.h
|
|
|
|
|
gcov-dump.o: gcov-dump.c gcov-io.c $(GCOV_IO_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(TM_H) $(CONFIG_H)
|
|
|
|
|
|
2004-08-23 13:57:02 +02:00
|
|
|
|
GCOV_OBJS = gcov.o intl.o version.o errors.o
|
1999-01-27 02:43:17 +01:00
|
|
|
|
gcov$(exeext): $(GCOV_OBJS) $(LIBDEPS)
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(LDFLAGS) $(GCOV_OBJS) $(LIBS) -o $@
|
2004-08-23 13:57:02 +02:00
|
|
|
|
GCOV_DUMP_OBJS = gcov-dump.o version.o errors.o
|
2002-12-16 19:23:00 +01:00
|
|
|
|
gcov-dump$(exeext): $(GCOV_DUMP_OBJS) $(LIBDEPS)
|
|
|
|
|
$(CC) $(ALL_CFLAGS) $(LDFLAGS) $(GCOV_DUMP_OBJS) $(LIBS) -o $@
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
2007-02-27 21:32:13 +01:00
|
|
|
|
# Build the include directories. The stamp files are stmp-* rather than
|
1998-04-04 15:32:39 +02:00
|
|
|
|
# s-* so that mostlyclean does not force the include directory to
|
1993-01-14 21:10:31 +01:00
|
|
|
|
# be rebuilt.
|
|
|
|
|
|
2007-02-27 21:32:13 +01:00
|
|
|
|
# Build the include directories.
|
2007-09-14 16:30:33 +02:00
|
|
|
|
stmp-int-hdrs: $(STMP_FIXINC) $(USER_H) $(UNWIND_H) fixinc_list
|
1993-01-14 21:10:31 +01:00
|
|
|
|
# Copy in the headers provided with gcc.
|
|
|
|
|
# The sed command gets just the last file name component;
|
|
|
|
|
# this is necessary because VPATH could add a dirname.
|
|
|
|
|
# Using basename would be simpler, but some systems don't have it.
|
1998-01-14 21:57:58 +01:00
|
|
|
|
# The touch command is here to workaround an AIX/Linux NFS bug.
|
2000-04-03 09:41:25 +02:00
|
|
|
|
-if [ -d include ] ; then true; else mkdir include; chmod a+rx include; fi
|
2007-02-27 21:32:13 +01:00
|
|
|
|
-if [ -d include-fixed ] ; then true; else mkdir include-fixed; chmod a+rx include-fixed; fi
|
1995-09-28 19:02:22 +01:00
|
|
|
|
for file in .. $(USER_H); do \
|
|
|
|
|
if [ X$$file != X.. ]; then \
|
|
|
|
|
realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
|
2001-05-13 21:37:13 +02:00
|
|
|
|
$(STAMP) include/$$realfile; \
|
1996-09-26 23:10:02 +02:00
|
|
|
|
rm -f include/$$realfile; \
|
|
|
|
|
cp $$file include; \
|
|
|
|
|
chmod a+r include/$$realfile; \
|
1995-09-28 19:02:22 +01:00
|
|
|
|
fi; \
|
1993-01-14 21:10:31 +01:00
|
|
|
|
done
|
2006-03-03 01:31:38 +01:00
|
|
|
|
rm -f include/unwind.h
|
Makefile.in: Set and use UNWIND_H.
2005-06-28 Paul Brook <paul@codesourcery.com>
gcc/
* Makefile.in: Set and use UNWIND_H. Install as unwind.h.
* c-decl.c (finish_decl): Call default_init_unwind_resume_libfunc.
* except.c (add_ehspec_entry): Generate arm eabi filter lists.
(assign_filter_values): Ditto.
(output_ttype): New function.
(output_function_exception_table): Use output_ttype. Generate arm
eabi filter lists.
(default_init_unwind_resume_libfunc): New function.
* except.h (default_init_unwind_resume_libfunc): Add prototype.
* optabs.c (init_optabs): Don't set unwind_resume_libfunc.
* opts.c (decode_options): Use targetm.unwind_tables_default.
* target-def.h (TARGET_ASM_TTYPE): Provide and use definition.
(TARGET_ARM_EABI_UNWINDER, TARGET_UNWIND_TABLES_DEFAULT): Ditto.
* target.h (struct gcc_target): Add asm.ttype, unwind_tables_default
and arm_eabi_unwinder.
* unwind-c.c: Support Arm EABI unwinder.
* unwind.h: Rename ...
* unwind-generic.h: ... To this.
* doc/tm.texi (TARGET_ASM_TTYPE, TARGET_ARM_EABI_UNWINDER): Document.
(TARGET_UNWID_TABLES_DEFAULT): Document.
* config/arm/arm-protos.h (arm_output_fn_unwind): Add prototype.
* config/arm/arm.c (arm_unwind_emit, arm_output_ttype): New functions.
(TARGET_UNWIND_EMIT, TARGET_ASM_TTYPE, TARGET_ARM_EABI_UNWINDER):
Define.
(thumb_pushpop, thumb_output_function_prologue): Output unwinding
directives.
(arm_unwind_emit_stm, arm_unwind_emit_set): New functions.
* config/arm/arm.h (MUST_USE_SJLJ_EXCEPTIONS): Only define when
!TARGET_UNWIND_INFO.
(ARM_OUTPUT_FN_UNWIND, ARM_EABI_UNWIND_TABLES): Define.
* config/arm/bpabi.h (TARGET_UNWIND_INFO): Define.
* config/arm/elf.h (ASM_DECLARE_FUNCTION_NAME,
ASM_DECLARE_FUNCTION_SIZE): Use ARM_OUTPUT_FN_UNWIND.
* config/arm/lib1funcs.asm: Include libunwind.S.
* config/arm/libgcc-bpabi.ver: Add unwinding routines.
* config/arm/libunwind.S: New file.
* config/arm/pr-support.c: New file.
* config/arm/t-bpabi (LIB1ASMFUNCS): Add _unwind.
(UNWIND_H, LIB2ADDEH, LIB2ADDEHDEP): Set.
* config/arm/t-symbian (UNWIND_H, LIB2ADDEH, LIB2ADDEHDEP): Set.
* config/arm/unwind-arm.c: New file.
* config/arm/unwind-arm.h: New file.
* config/i386/t-netware (USER_H): Remove unwind.h.
* config/ia64/ia64.h (TARGET_UNWIND_TABLES_DEFAULT): Define.
gcc/cp/
* Make-lang.in (cp/except.o): Depend on $(TARGET_H)
* except.c: Include target.h.
(init_exception_processing): Initialize unwind_resume_libfunc.
* doc/tm.texi: Document TARGET_ASM_TTYPE
gcc/ada/
* misc.c (gnat_init_gcc_eh): Call default_init_unwind_resume_libfunc.
gcc/java/
* decl.c (java_init_decl_processing): Call
default_init_unwind_resume_libfunc.
gcc/objc/
* objc-act.c (objc_init_exceptions): Call
default_init_unwind_resume_libfunc.
libstdc++/
* acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Check for
__cxa_end_cleanup.
* libsupc++/Makefile.am (sources): Add eh_call.c and eh_arm.c.
* libsupc++/eh_arm.cc: New file.
* libsupc++/eh_call.cc: New file.
* libsupc++/eh_catch.cc (__cxa_get_exception_ptr): Use
__gxx_caught_object.
(__cxa_begin_catch): Ditto. Use __is_gxx_exception_class. Call
_Unwind_Complete when using the ARM EABI.
(__cxa_end_catch): Use __is_gxx_exception_class.
* libsupc++/eh_personality.cc: Define NO_SIZE_OF_ENCODED_VALUE when
using the ARM EABI.
(save_caught_exception, restore_caught_exception): New functions.
(_throw_typet): New typedef.
(get_ttype_entry, get_adjusted_ptr, check_exception_spec): Add ARM
EABI implementations.
(PERSONALITY_FUNCTION): Use new functions. Addd support for ARM EABI
unwinding libary.
(__cxa_unexpected): Disable when using the ARM EABI.
* libsupc++/eh_throw.cc (__cxa_throw): Use __GXX_INIT_EXCEPTION_CLASS.
(__cxa_rethrow): Use __is_gxx_exception_class. Call
_Unwind_RaiseException when using the ARM EABI.
* libsupc++/unwind-cxx.h (struct __cxa_exception): Add fields for ARM
EABI semantics.
(struct __cxa_eh_globals): Ditto.
(__cxa_call_terminate): Add prototype.
(__cxa_type_match, __cxa_begin_cleanup, __cxa_end_cleanup): Add
prototypes.
(__get_exception_header_from_obj, __get_exception_header_from_ue):
Move earlier in file.
(__is_gxx_exception_class, __GXX_INIT_EXCEPTION_CLASS,
__gxx_caught_object): New functions.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libmath/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* src/Makefie.in: Regenerate.
* testsuite/makefile.in: Regenerate.
From-SVN: r101385
2005-06-28 21:52:27 +02:00
|
|
|
|
cp $(UNWIND_H) include/unwind.h
|
2007-03-06 16:50:28 +01:00
|
|
|
|
set -e; for ml in `cat fixinc_list`; do \
|
|
|
|
|
sysroot_headers_suffix=`echo $${ml} | sed -e 's/;.*$$//'`; \
|
|
|
|
|
multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \
|
|
|
|
|
fix_dir=include-fixed$${multi_dir}; \
|
|
|
|
|
if $(LIMITS_H_TEST) ; then \
|
|
|
|
|
cat $(srcdir)/limitx.h $(srcdir)/glimits.h $(srcdir)/limity.h > tmp-xlimits.h; \
|
|
|
|
|
else \
|
|
|
|
|
cat $(srcdir)/glimits.h > tmp-xlimits.h; \
|
|
|
|
|
fi; \
|
|
|
|
|
$(mkinstalldirs) $${fix_dir}; \
|
|
|
|
|
chmod a+rx $${fix_dir} || true; \
|
|
|
|
|
rm -f $${fix_dir}/limits.h; \
|
|
|
|
|
mv tmp-xlimits.h $${fix_dir}/limits.h; \
|
|
|
|
|
chmod a+r $${fix_dir}/limits.h; \
|
|
|
|
|
done
|
1998-05-24 02:44:00 +02:00
|
|
|
|
# Install the README
|
2007-02-27 21:32:13 +01:00
|
|
|
|
rm -f include-fixed/README
|
|
|
|
|
cp $(srcdir)/../fixincludes/README-fixinc include-fixed/README
|
|
|
|
|
chmod a+r include-fixed/README
|
2001-05-13 21:37:13 +02:00
|
|
|
|
$(STAMP) $@
|
1998-05-24 02:44:00 +02:00
|
|
|
|
|
2002-12-16 19:23:00 +01:00
|
|
|
|
.PHONY: install-gcc-tooldir
|
|
|
|
|
install-gcc-tooldir:
|
2004-02-08 00:45:23 +01:00
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(gcc_tooldir)
|
2002-12-16 19:23:00 +01:00
|
|
|
|
|
2004-11-18 13:55:57 +01:00
|
|
|
|
macro_list: s-macro_list; @true
|
2007-02-28 23:46:01 +01:00
|
|
|
|
s-macro_list : $(GCC_PASSES)
|
2004-11-05 05:49:19 +01:00
|
|
|
|
echo | $(GCC_FOR_TARGET) -E -dM - | \
|
2006-04-04 00:20:21 +02:00
|
|
|
|
sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
|
|
|
|
|
-e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
|
2004-11-18 13:55:57 +01:00
|
|
|
|
sort -u > tmp-macro_list
|
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-macro_list macro_list
|
|
|
|
|
$(STAMP) s-macro_list
|
2004-11-05 05:49:19 +01:00
|
|
|
|
|
2007-03-06 16:50:28 +01:00
|
|
|
|
fixinc_list: s-fixinc_list; @true
|
|
|
|
|
s-fixinc_list : $(GCC_PASSES)
|
|
|
|
|
# Build up a list of multilib directories and corresponding sysroot
|
|
|
|
|
# suffixes, in form sysroot;multilib.
|
|
|
|
|
if $(GCC_FOR_TARGET) -print-sysroot-headers-suffix > /dev/null 2>&1; then \
|
|
|
|
|
set -e; for ml in `$(GCC_FOR_TARGET) -print-multi-lib`; do \
|
|
|
|
|
multi_dir=`echo $${ml} | sed -e 's/;.*$$//'`; \
|
|
|
|
|
flags=`echo $${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
|
|
|
|
|
sfx=`$(GCC_FOR_TARGET) $${flags} -print-sysroot-headers-suffix`; \
|
|
|
|
|
if [ "$${multi_dir}" = "." ]; \
|
|
|
|
|
then multi_dir=""; \
|
|
|
|
|
else \
|
|
|
|
|
multi_dir=/$${multi_dir}; \
|
|
|
|
|
fi; \
|
|
|
|
|
echo "$${sfx};$${multi_dir}"; \
|
|
|
|
|
done; \
|
|
|
|
|
else \
|
|
|
|
|
echo ";"; \
|
|
|
|
|
fi > tmp-fixinc_list
|
|
|
|
|
$(SHELL) $(srcdir)/../move-if-change tmp-fixinc_list fixinc_list
|
|
|
|
|
$(STAMP) s-fixinc_list
|
|
|
|
|
|
2005-01-26 10:17:02 +01:00
|
|
|
|
# The line below is supposed to avoid accidentally matching the
|
|
|
|
|
# built-in suffix rule `.o:' to build fixincl out of fixincl.o. You'd
|
|
|
|
|
# expect fixincl to be newer than fixincl.o, such that this situation
|
|
|
|
|
# would never come up. As it turns out, if you use ccache with
|
|
|
|
|
# CCACHE_HARDLINK enabled, the compiler doesn't embed the current
|
|
|
|
|
# working directory in object files (-g absent, or -fno-working-dir
|
|
|
|
|
# present), and build and host are the same, fixincl for the host will
|
|
|
|
|
# build after fixincl for the build machine, getting a cache hit,
|
Makefile.in, [...]: Fix comment/doc typos.
* Makefile.in, cfgexpand.c, cfgloop.h, cfgloopmanip.c,
config.gcc, ipa-cp.c, ipa-prop.c, ipa-prop.h, reg-stack.c,
tree-ssa-structalias.c, tree-vrp.c, value-prof.c, vec.h,
config/linux.h, config/alpha/alpha.h, config/alpha/linux.h,
config/alpha/predicates.md, config/arc/arc.h,
config/arm/arm.h, config/arm/ieee754-df.S,
config/arm/ieee754-sf.S, config/bfin/bfin.c,
config/bfin/bfin.h, config/c4x/c4x.h, config/crx/crx.c,
config/fr30/fr30.h, config/frv/frv.h, config/h8300/h8300.h,
config/i386/i386.h, config/ia64/ia64.c, config/ia64/ia64.h,
config/m68hc11/m68hc11.h, config/mips/mips.c,
config/mips/mips.h, config/mips/openbsd.h,
config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.h,
config/pdp11/pdp11.h, config/rs6000/linux-unwind.h,
config/rs6000/rs6000.c, config/rs6000/rs6000.h,
config/s390/s390.c, config/sh/sh.c, config/sh/sh.h,
config/sparc/linux.h, config/sparc/linux64.h,
config/sparc/sparc.h, config/v850/v850.h, config/vax/vax.h,
doc/extend.texi, doc/gcov.texi, doc/install.texi,
doc/invoke.texi, doc/rtl.texi, doc/tm.texi: Fix comment/doc
typos. Follow spelling conventions.
From-SVN: r102809
2005-08-06 15:26:35 +02:00
|
|
|
|
# thereby updating the timestamp of fixincl.o in the host tree.
|
2005-01-26 10:17:02 +01:00
|
|
|
|
# Because of CCACHE_HARDLINK, this will also update the timestamp in
|
|
|
|
|
# the build tree, and so fixincl in the build tree will appear to be
|
|
|
|
|
# out of date. Yuck.
|
|
|
|
|
../$(build_subdir)/fixincludes/fixincl: ; @ :
|
|
|
|
|
|
1993-01-14 21:10:31 +01:00
|
|
|
|
# Build fixed copies of system files.
|
2006-05-17 15:54:38 +02:00
|
|
|
|
# Abort if no system headers available, unless building a crosscompiler.
|
|
|
|
|
# FIXME: abort unless building --without-headers would be more accurate and less ugly
|
2007-03-06 16:50:28 +01:00
|
|
|
|
stmp-fixinc: gsyslimits.h macro_list fixinc_list \
|
re PR bootstrap/17383 (Building in src dir fails)
2005-05-25 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.
config:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* config/acx.m4 (GCC_TOPLEV_SUBDIRS): Set HOST_SUBDIR if an in-src
gcc build is going.
gcc:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* gcc/Makefile.in (host_subdir): New.
(build_objdir): New. Replace ../$(build_subdir) with it throughout.
* gcc/configure: Regenerate.
libada:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* Makefile.in (GCC_DIR): Add $(HOST_SUBDIR) to the definition.
libjava:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* configure.ac: Call GCC_TOPLEV_SUBDIRS.
(COMPPATH): Removed.
(ZIP, GCJH): Replace it with ../$(host_subdir).
(built_gcc_dir): Add $(host_subdir).
* configure: Regenerate.
* Makefile.in, include/Makefile.in, testsuite/Makefile.in,
gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
external/w3c_dom/Makefile.in: Regenerate.
libobjc:
2005-05-25 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* configure.ac: Call GCC_TOPLEV_SUBDIRS.
(Determine CFLAGS for gthread): Use $host_subdir.
* configure: Regenerate.
* Makefile.in (host_subdir): New.
(INCLUDES): Use it.
From-SVN: r95680
2005-02-28 14:26:36 +01:00
|
|
|
|
$(build_objdir)/fixincludes/fixincl \
|
|
|
|
|
$(build_objdir)/fixincludes/fixinc.sh
|
2007-02-27 21:32:13 +01:00
|
|
|
|
rm -rf include-fixed; mkdir include-fixed
|
|
|
|
|
-chmod a+rx include-fixed
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
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.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
|
if [ -d ../prev-gcc ]; then \
|
|
|
|
|
cd ../prev-gcc && \
|
2006-02-22 21:21:14 +01:00
|
|
|
|
$(MAKE) real-$(INSTALL_HEADERS_DIR) DESTDIR=`pwd`/../gcc/ \
|
re PR bootstrap/25670 (build fail with 'make all-gcc')
2006-02-20 Paolo Bonzini <bonzini@gnu.org>
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.
From-SVN: r111295
2006-02-20 09:29:17 +01:00
|
|
|
|
libsubdir=. ; \
|
1993-04-28 01:16:40 +02:00
|
|
|
|
else \
|
2007-03-06 16:50:28 +01:00
|
|
|
|
set -e; for ml in `cat fixinc_list`; do \
|
|
|
|
|
sysroot_headers_suffix=`echo $${ml} | sed -e 's/;.*$$//'`; \
|
|
|
|
|
multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \
|
|
|
|
|
fix_dir=include-fixed$${multi_dir}; \
|
|
|
|
|
if ! $(inhibit_libc) && test ! -d ${SYSTEM_HEADER_DIR}; then \
|
|
|
|
|
echo The directory that should contain system headers does not exist: >&2 ; \
|
|
|
|
|
echo " ${SYSTEM_HEADER_DIR}" >&2 ; \
|
|
|
|
|
tooldir_sysinc=`echo "${gcc_tooldir}/sys-include" | sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`; \
|
|
|
|
|
if test "x${SYSTEM_HEADER_DIR}" = "x$${tooldir_sysinc}"; \
|
|
|
|
|
then sleep 1; else exit 1; fi; \
|
|
|
|
|
fi; \
|
|
|
|
|
$(mkinstalldirs) $${fix_dir}; \
|
|
|
|
|
chmod a+rx $${fix_dir} || true; \
|
|
|
|
|
(TARGET_MACHINE='$(target)'; srcdir=`cd $(srcdir); ${PWD_COMMAND}`; \
|
|
|
|
|
SHELL='$(SHELL)'; MACRO_LIST=`${PWD_COMMAND}`/macro_list ; \
|
|
|
|
|
export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
|
|
|
|
|
cd $(build_objdir)/fixincludes && \
|
|
|
|
|
$(SHELL) ./fixinc.sh ../../gcc/$${fix_dir} \
|
|
|
|
|
$(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS) ); \
|
|
|
|
|
rm -f $${fix_dir}/syslimits.h; \
|
|
|
|
|
if [ -f $${fix_dir}/limits.h ]; then \
|
|
|
|
|
mv $${fix_dir}/limits.h $${fix_dir}/syslimits.h; \
|
|
|
|
|
else \
|
|
|
|
|
cp $(srcdir)/gsyslimits.h $${fix_dir}/syslimits.h; \
|
|
|
|
|
fi; \
|
|
|
|
|
chmod a+r $${fix_dir}/syslimits.h; \
|
|
|
|
|
done; \
|
2004-11-05 05:49:19 +01:00
|
|
|
|
fi
|
2001-05-13 21:37:13 +02:00
|
|
|
|
$(STAMP) stmp-fixinc
|
1993-04-15 09:41:21 +02:00
|
|
|
|
|
1993-07-26 10:49:02 +02:00
|
|
|
|
# Files related to the fixproto script.
|
2003-06-17 23:53:49 +02:00
|
|
|
|
# gen-protos and fix-header are compiled with CC_FOR_BUILD, but they are only
|
2000-02-27 01:10:15 +01:00
|
|
|
|
# used in native and host-x-target builds, so it's safe to link them with
|
|
|
|
|
# libiberty.a.
|
1993-07-26 10:49:02 +02:00
|
|
|
|
|
1993-10-25 22:45:29 +01:00
|
|
|
|
deduced.h: $(GCC_PASSES) $(srcdir)/scan-types.sh stmp-int-hdrs
|
2002-12-16 19:23:00 +01:00
|
|
|
|
if [ -d "$(SYSTEM_HEADER_DIR)" ]; \
|
1998-05-19 23:41:03 +02:00
|
|
|
|
then \
|
2000-04-24 22:12:12 +02:00
|
|
|
|
CC="$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(ALL_CPPFLAGS) -I. -I$(srcdir) -isystem include -isystem ${SYSTEM_HEADER_DIR}"; \
|
1993-07-26 10:49:02 +02:00
|
|
|
|
export CC; \
|
1998-05-19 23:41:03 +02:00
|
|
|
|
$(SHELL) $(srcdir)/scan-types.sh "$(srcdir)" >tmp-deduced.h; \
|
|
|
|
|
mv tmp-deduced.h deduced.h; \
|
|
|
|
|
else \
|
2001-05-13 21:37:13 +02:00
|
|
|
|
$(STAMP) deduced.h; \
|
1998-05-19 23:41:03 +02:00
|
|
|
|
fi
|
1993-07-26 10:49:02 +02:00
|
|
|
|
|
2004-09-22 13:21:21 +02:00
|
|
|
|
GEN_PROTOS_OBJS = build/gen-protos.o build/scan.o $(BUILD_ERRORS)
|
|
|
|
|
build/gen-protos$(build_exeext): $(GEN_PROTOS_OBJS)
|
2003-06-17 23:53:49 +02:00
|
|
|
|
${CC_FOR_BUILD} $(BUILD_CFLAGS) $(BUILD_LDFLAGS) -o $@ \
|
2002-12-16 19:23:00 +01:00
|
|
|
|
$(GEN_PROTOS_OBJS) $(BUILD_LIBS)
|
1993-07-26 10:49:02 +02:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
build/gen-protos.o: gen-protos.c scan.h $(BCONFIG_H) $(SYSTEM_H) coretypes.h \
|
|
|
|
|
$(GTM_H) errors.h
|
|
|
|
|
|
|
|
|
|
build/scan.o: scan.c scan.h $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GTM_H)
|
|
|
|
|
|
2004-09-22 13:21:21 +02:00
|
|
|
|
xsys-protos.h: $(GCC_PASSES) $(srcdir)/sys-protos.h deduced.h \
|
|
|
|
|
build/gen-protos$(build_exeext) Makefile
|
2000-07-17 11:23:16 +02:00
|
|
|
|
sed -e s/TARGET_GETGROUPS_T/$(TARGET_GETGROUPS_T)/ \
|
|
|
|
|
deduced.h $(srcdir)/sys-protos.h > tmp-fixtmp.c
|
1994-11-16 01:17:27 +01:00
|
|
|
|
mv tmp-fixtmp.c fixtmp.c
|
1995-03-16 23:05:46 +01:00
|
|
|
|
$(GCC_FOR_TARGET) fixtmp.c -w -U__SIZE_TYPE__ -U__PTRDIFF_TYPE__ -U__WCHAR_TYPE__ -E \
|
1993-08-10 04:16:16 +02:00
|
|
|
|
| sed -e 's/ / /g' -e 's/ *(/ (/g' -e 's/ [ ]*/ /g' -e 's/( )/()/' \
|
2004-09-22 13:21:21 +02:00
|
|
|
|
| $(RUN_GEN) build/gen-protos >xsys-protos.hT
|
1994-11-16 01:17:27 +01:00
|
|
|
|
mv xsys-protos.hT xsys-protos.h
|
1993-08-31 22:38:04 +02:00
|
|
|
|
rm -rf fixtmp.c
|
1993-07-26 10:49:02 +02:00
|
|
|
|
|
2000-06-21 01:36:33 +02:00
|
|
|
|
# This is nominally a 'build' program, but it's run only when host==build,
|
|
|
|
|
# so we can (indeed, must) use $(LIBDEPS) and $(LIBS).
|
2004-09-22 13:21:21 +02:00
|
|
|
|
build/fix-header$(build_exeext): build/fix-header.o build/scan-decls.o \
|
|
|
|
|
build/scan.o xsys-protos.h c-incpath.o cppdefault.o prefix.o \
|
|
|
|
|
$(BUILD_ERRORS) $(LIBDEPS)
|
|
|
|
|
$(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) -o $@ \
|
|
|
|
|
build/fix-header.o c-incpath.o cppdefault.o build/scan-decls.o prefix.o \
|
|
|
|
|
build/scan.o $(BUILD_ERRORS) $(LIBS)
|
1993-07-26 10:49:02 +02:00
|
|
|
|
|
sourcebuild.texi, [...]: Revert automatic dependency patch.
gcc/
* doc/sourcebuild.texi, doc/install.texi, configure, aclocal.m4,
configure.ac, Makefile.in, config/t-darwin, config/m32c/t-m32c,
config/spu/t-spu-elf, config/i386/t-interix,
config/i386/t-cygming, config/i386/x-i386, config/i386/t-cygwin,
config/i386/x-darwin, config/i386/x-mingw32,
config/i386/t-netware, config/i386/x-cygwin, config/i386/t-nwld,
config/sh/t-sh, config/sh/t-symbian, config/x-linux,
config/t-sol2, config/x-hpux, config/x-darwin, config/ia64/t-ia64,
config/x-solaris, config/t-vxworks, config/m68k/t-uclinux,
config/rs6000/x-rs6000, config/rs6000/x-darwin64,
config/rs6000/x-darwin, config/rs6000/t-rs6000,
config/score/t-score-elf, config/arm/t-strongarm-pe,
config/arm/t-pe, config/arm/t-arm, config/arm/t-wince-pe,
config/v850/t-v850, config/v850/t-v850e, config/bfin/t-bfin-linux:
Revert automatic dependency patch.
gcc/java/
* Make-lang.in: Revert automatic dependency patch.
gcc/objc/
* Make-lang.in: Revert automatic dependency patch.
gcc/objcp/
* Make-lang.in: Revert automatic dependency patch.
gcc/cp/
* Make-lang.in: Revert automatic dependency patch.
gcc/fortran/
* Make-lang.in: Revert automatic dependency patch.
From-SVN: r133652
2008-03-27 20:20:18 +01:00
|
|
|
|
build/fix-header.o: fix-header.c $(OBSTACK_H) scan.h errors.h \
|
|
|
|
|
xsys-protos.h $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GTM_H) $(CPPLIB_H)
|
|
|
|
|
|
|
|
|
|
build/scan-decls.o: scan-decls.c scan.h $(CPPLIB_H) $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GTM_H)
|
|
|
|
|
|
1993-10-25 22:45:29 +01:00
|
|
|
|
# stmp-fixproto depends on this, not on fix-header directly.
|
|
|
|
|
# The idea is to make sure fix-header gets built,
|
|
|
|
|
# but not rerun fixproto after each stage
|
|
|
|
|
# just because fix-header's mtime has changed.
|
2004-09-22 13:21:21 +02:00
|
|
|
|
fixhdr.ready: build/fix-header$(build_exeext)
|
1993-10-25 22:45:29 +01:00
|
|
|
|
-if [ -f fixhdr.ready ] ; then \
|
|
|
|
|
true; \
|
|
|
|
|
else \
|
2001-05-13 21:37:13 +02:00
|
|
|
|
$(STAMP) fixhdr.ready; \
|
1993-10-25 22:45:29 +01:00
|
|
|
|
fi
|
|
|
|
|
|
2004-09-11 05:52:22 +02:00
|
|
|
|
# stmp-int-hdrs is to make sure fixincludes has already finished.
|
1993-11-21 07:01:04 +01:00
|
|
|
|
# The if statement is so that we don't run fixproto a second time
|
2007-03-06 16:50:28 +01:00
|
|
|
|
# if it has already been run on the files in `include-fixed'.
|
|
|
|
|
stmp-fixproto: fixhdr.ready fixproto fixinc_list stmp-int-hdrs
|
|
|
|
|
set -e; for ml in `cat fixinc_list`; do \
|
|
|
|
|
sysroot_headers_suffix=`echo $${ml} | sed -e 's/;.*$$//'`; \
|
|
|
|
|
multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \
|
|
|
|
|
fix_dir=include-fixed$${multi_dir}; \
|
|
|
|
|
if [ -f $${fix_dir}/fixed ] ; then true; \
|
|
|
|
|
else \
|
|
|
|
|
: This line works around a 'make' bug in BSDI 1.1.; \
|
|
|
|
|
FIXPROTO_DEFINES="$(FIXPROTO_DEFINES)"; export FIXPROTO_DEFINES; \
|
|
|
|
|
FIX_HEADER="build/fix-header$(build_exeext)"; export FIX_HEADER; \
|
|
|
|
|
mkinstalldirs="$(mkinstalldirs)"; \
|
|
|
|
|
export mkinstalldirs; \
|
|
|
|
|
if [ -d "$(SYSTEM_HEADER_DIR)" ]; then \
|
|
|
|
|
$(SHELL) ${srcdir}/fixproto $${fix_dir} $${fix_dir} $(SYSTEM_HEADER_DIR); \
|
|
|
|
|
if [ $$? -eq 0 ] ; then true ; else exit 1 ; fi ; \
|
|
|
|
|
else true; fi; \
|
|
|
|
|
$(STAMP) $${fix_dir}/fixed; \
|
|
|
|
|
fi; \
|
|
|
|
|
done
|
2001-05-13 21:37:13 +02:00
|
|
|
|
$(STAMP) stmp-fixproto
|
2004-11-02 22:16:51 +01:00
|
|
|
|
|
|
|
|
|
# We can't run fixproto (it's being built for a different host), but we still
|
|
|
|
|
# need to install it so that the user can run it when the compiler is
|
|
|
|
|
# installed.
|
|
|
|
|
stmp-install-fixproto: fixproto
|
|
|
|
|
$(STAMP) $@
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Remake the info files.
|
|
|
|
|
|
2001-07-02 20:35:32 +02:00
|
|
|
|
doc: $(BUILD_INFO) $(GENERATED_MANPAGES) gccbug
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
|
|
|
|
|
INFOFILES = doc/cpp.info doc/gcc.info doc/gccint.info \
|
|
|
|
|
doc/gccinstall.info doc/cppinternals.info
|
|
|
|
|
|
|
|
|
|
info: $(INFOFILES) lang.info @GENINSRC@ srcinfo lang.srcinfo
|
|
|
|
|
|
|
|
|
|
srcinfo: $(INFOFILES)
|
|
|
|
|
-cp -p $^ $(srcdir)/doc
|
2003-10-24 21:34:50 +02:00
|
|
|
|
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
TEXI_CPP_FILES = cpp.texi fdl.texi cppenv.texi cppopts.texi \
|
|
|
|
|
gcc-common.texi gcc-vers.texi
|
2003-10-24 21:34:50 +02:00
|
|
|
|
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
TEXI_GCC_FILES = gcc.texi gcc-common.texi gcc-vers.texi frontends.texi \
|
|
|
|
|
standards.texi invoke.texi extend.texi md.texi objc.texi \
|
|
|
|
|
gcov.texi trouble.texi bugreport.texi service.texi \
|
2008-04-01 18:38:56 +02:00
|
|
|
|
contribute.texi compat.texi funding.texi gnu.texi gpl_v3.texi \
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
fdl.texi contrib.texi cppenv.texi cppopts.texi \
|
Makefile.in (TEXI_GCC_FILES): Add arm-neon-intrinsics.texi.
gcc/
* Makefile.in (TEXI_GCC_FILES): Add arm-neon-intrinsics.texi.
* config.gcc (arm*-*-*): Add arm_neon.h to extra headers.
(with_fpu): Allow --with-fpu=neon.
* config/arm/aof.h (ADDITIONAL_REGISTER_NAMES): Add Q0-Q15.
* config/arm/aout.h (ADDITIONAL_REGISTER_NAMES): Add Q0-Q15.
* config/arm/arm-modes.def (EI, OI, CI, XI): New modes.
* config/arm/arm-protos.h (neon_immediate_valid_for_move)
(neon_immediate_valid_for_logic, neon_output_logic_immediate)
(neon_pairwise_reduce, neon_expand_vector_init, neon_reinterpret)
(neon_emit_pair_result_insn, neon_disambiguate_copy)
(neon_vector_mem_operand, neon_struct_mem_operand, output_move_quad)
(output_move_neon): Add prototypes.
* config/arm/arm.c (FL_NEON): New flag for NEON processor capability.
(all_fpus): Add FPUTYPE_NEON.
(fp_model_for_fpu): Add NEON field.
(arm_return_in_memory): Return vectors <= 16 bytes in ARM registers.
(arm_arg_partial_bytes): Allow NEON vectors to be passed partially
in registers.
(arm_legitimate_address_p): Don't support fancy addressing for NEON
structure moves.
(thumb2_legitimate_address_p): Likewise.
(neon_valid_immediate): Recognize and prepare constants suitable for
NEON instructions.
(neon_immediate_valid_for_move): New function. Recognize and prepare
immediates for NEON move instructions.
(neon_immediate_valid_for_logic): New function. Recognize and
prepare immediates for NEON logic instructions.
(neon_output_logic_immediate): New function. Create asm string
suitable for outputting immediate logic instructions.
(neon_pairwise_reduce): New function. Implement reduction using
pairwise operations.
(neon_expand_vector_init): New function. Expand a (possibly
non-constant) vector initialization.
(neon_vector_mem_operand): New function. Memory operands supported
for quad-word loads/stores to/from ARM or NEON registers. Don't
allow base+offset addressing for core regs.
(neon_struct_mem_operand): New function. Valid mems for NEON
structure moves.
(coproc_secondary_reload_class): Enable NEON registers to be loaded
from neon_vector_mem_operand addresses without a secondary register.
(add_minipool_forward_ref): Handle >8-byte minipool entries.
(add_minipool_backward_ref): Likewise.
(dump_minipool): Likewise.
(push_minipool_fix): Likewise.
(output_move_quad): New function. Output quad-word moves, loads and
stores using ARM registers.
(output_move_vfp): Add support for vectors in VFP (NEON) D
registers.
(output_move_neon): Output a NEON load/store to/from a quadword
register.
(arm_print_operand): Implement new codes:
- 'c' for unadorned integers (without a # sign).
- 'J', 'K' for reg+2/reg+3, reg+3/reg+2 in little/big-endian
mode.
- 'e', 'f' for the low and high D parts of a NEON Q register.
- 'q' outputs a NEON Q register.
- 'h' outputs ranges of D registers for VLDM/VSTM etc.
- 'T' prints NEON opcode features from a coded bitmask.
- 'F' is similar to T, but signed/unsigned codes both print as
'i'.
- 't' is similar to T, but 'u' is printed instead of 'p'.
- 'O' prints 'r' if NEON instruction should perform rounding (as
specified by bitmask), else prints nothing.
- '#' is a punctuation character to stop operand numbers from
running together with following digits in the assembler
strings for instructions (when using mode attributes).
(arm_assemble_integer): Handle extra NEON vector modes. Permute
constant vectors in big-endian mode, where necessary.
(arm_hard_regno_mode_ok): Allow vectors in VFP/NEON registers.
Handle EI, OI, CI, XI modes.
(ashlv4hi3, ashlv2si3, lshrv4hi3, lshrv2si3, ashrv4hi3)
(ashrv2si3): Rename IWMMXT2_BUILTINs to...
(ashlv4hi3_iwmmxt, ashlv2si3_iwmmxt, lshrv4hi3_iwmmxt)
(lshrv2si3_iwmmxt, ashrv4hi3_iwmmxt, ashrv2si3_iwmmxt): New names.
(neon_builtin_type_bits): Add enumeration, one bit for each vector
type.
(v8qi_UP, v4hi_UP, v2si_UP, v2sf_UP, di_UP, v16qi_UP, v8hi_UP)
(v4si_UP, v4sf_UP, v2di_UP, ti_UP, ei_UP, oi_UP, UP): Define macros
to turn v8qi, etc. into bits defined above.
(neon_itype): New enumeration. Classifications of NEON builtins.
(neon_builtin_datum): Define struct. Contains information about
a single builtin (with multiple modes).
(CF): Define helper macro for...
(VAR1...VAR10): Define builtins with a type, name and 1-10 different
modes.
(neon_builtin_data): New array. Define information about builtins
for use during initialization/expansion.
(arm_init_neon_builtins): New function.
(arm_init_builtins): Call arm_init_neon_builtins if TARGET_NEON is
true.
(neon_builtin_compare): New function.
(locate_neon_builtin_icode): New function. Find an insn code for a
builtin given a function code for that builtin. Also return type of
builtin (NEON_BINOP, NEON_UNOP etc.).
(builtin_arg): New enumeration. Types of arguments for builtins.
(arm_expand_neon_args): New function. Expand a generic NEON builtin.
Takes a variable argument list of builtin_arg types, terminated by
NEON_ARG_STOP.
(arm_expand_neon_builtin): New function. Expand a NEON builtin.
(neon_reinterpret): New function. Expand NEON reinterpret intrinsic.
(neon_emit_pair_result_insn): New function. Support returning pairs
of vectors via a pointer.
(neon_disambiguate_copy): New function. Set up operands for a
multi-word copy such that registers do not get clobbered.
(arm_expand_builtin): Call arm_expand_neon_builtin if fcode >=
ARM_BUILTIN_NEON_BASE.
(arm_file_start): Set float-abi attribute for NEON.
(arm_vector_mode_supported_p): Enable NEON vector modes.
(arm_mangle_map_entry): New.
(arm_mangle_map): New.
(arm_mangle_vector_type): New.
* config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_NEON__
when appropriate.
(TARGET_NEON): New macro. Target supports NEON.
(fputype): Add FPUTYPE_NEON.
(UNITS_PER_SIMD_WORD): Define. Allow quad-word registers to be used
for vectorization based on command-line arg.
(NEON_REGNO_OK_FOR_NREGS): Define.
(VALID_NEON_DREG_MODE, VALID_NEON_QREG_MODE)
(VALID_NEON_STRUCT_MODE): Define.
(PRINT_OPERAND_PUNCT_VALID_P): '#' is valid punctuation.
(arm_builtins): Add ARM_BUILTIN_NEON_BASE.
* config/arm/arm.md (VUNSPEC_POOL_16): Insert constant for unspec.
(consttable_16): Add pattern for outputting 16-byte minipool
entries.
(movv2si, movv4hi, movv8qi): Remove blank expanders (redefined in
vec-common.md).
(vec-common.md, neon.md): Include md files.
* config/arm/arm.opt (mvectorize-with-neon-quad): Add option.
* config/arm/constraints.md (constraint "Dn", "Dl", "DL"): Define.
(memory_constraint "Ut", "Un", "Us"): Define.
* config/arm/iwmmxt.md (VMMX, VSHFT): New mode macros.
(MMX_char): New mode attribute.
(addv8qi3, addv4hi3, addv2si3): Remove. Replace with...
(*add<mode>3_iwmmxt): New insn pattern.
(subv8qi3, subv4hi3, subv2si3): Remove. Replace with...
(*sub<mode>3_iwmmxt): New insn pattern.
(mulv4hi3): Rename to...
(*mulv4hi3_iwmmxt): This.
(smaxv8qi3, smaxv4hi3, smaxv2si3, umaxv8qi3, umaxv4hi3)
(umaxv2si3, sminv8qi3, sminv4hi3, sminv2si3, uminv8qi3)
(uminv4hi3, uminv2si3): Remove. Replace with...
(*smax<mode>3_iwmmxt, *umax<mode>3_iwmmxt, *smin<mode>3_iwmmxt)
(*umin<mode>3_iwmmxt): These.
(ashrv4hi3, ashrv2si3, ashrdi3_iwmmxt): Replace with...
(ashr<mode>3_iwmmxt): This new pattern.
(lshrv4hi3, lshrv2si3, lshrdi3_iwmmxt): Replace with...
(lshr<mode>3_iwmmxt): This new pattern.
(ashlv4hi3, ashlv2si3, ashldi3_iwmmxt): Replace with...
(ashl<mode>3_iwmmxt): This new pattern.
* config/arm/neon-docgen.ml: New file. Generate documentation for
intrinsics.
* config/arm/neon-gen.ml: New file. Generate arm_neon.h header.
* config/arm/arm_neon.h: New (autogenerated).
* config/arm/neon-testgen.ml: New file. Generate NEON tests
automatically.
* config/arm/neon.md: New file. Define NEON instructions.
* config/arm/neon.ml: New file. Abstract description of NEON
instructions, used to generate arm_neon.h header, documentation and tests.
* config/arm/t-arm (MD_INCLUDES): Add vec-common.md, neon.md.
* vec-common.md: New file. Shared parts for iWMMXt and NEON vector
support.
* doc/extend.texi (ARM Built-in Functions): Rename and remove
extraneous comma.
(ARM NEON Intrinsics): New subsection.
* doc/arm-neon-intrinsics.texi: New (autogenerated).
gcc/testsuite/
* gcc.dg/vect/vect.exp: Check is-effective-target arm_neon_hw.
* gcc.dg/vect/tree-vect.h: Check for NEON SIMD support.
* lib/gcc-dg.exp (cleanup-saved-temps): Fix comment.
* lib/target-supports.exp (check_effective_target_arm_neon_ok)
(check_effective_target_arm_neon_hw): New.
* gcc.target/arm/neon/neon.exp: New file.
* gcc.target/arm/neon/polytypes.c: New file.
* gcc.target/arm/neon/v*.c (1870 files): New (autogenerated).
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
Co-Authored-By: Mark Shinwell <shinwell@codesourcery.com>
Co-Authored-By: Paul Brook <paul@codesourcery.com>
From-SVN: r126911
2007-07-25 14:28:31 +02:00
|
|
|
|
implement-c.texi arm-neon-intrinsics.texi
|
2003-10-24 21:34:50 +02:00
|
|
|
|
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
TEXI_GCCINT_FILES = gccint.texi gcc-common.texi gcc-vers.texi \
|
|
|
|
|
contribute.texi makefile.texi configterms.texi options.texi \
|
|
|
|
|
portability.texi interface.texi passes.texi c-tree.texi \
|
|
|
|
|
rtl.texi md.texi tm.texi hostconfig.texi fragments.texi \
|
|
|
|
|
configfiles.texi collect2.texi headerdirs.texi funding.texi \
|
2008-04-01 18:38:56 +02:00
|
|
|
|
gnu.texi gpl_v3.texi fdl.texi contrib.texi languages.texi \
|
2006-09-28 14:02:11 +02:00
|
|
|
|
sourcebuild.texi gty.texi libgcc.texi cfg.texi tree-ssa.texi \
|
|
|
|
|
loop.texi
|
2003-10-24 21:34:50 +02:00
|
|
|
|
|
2007-02-27 11:19:59 +01:00
|
|
|
|
TEXI_GCCINSTALL_FILES = install.texi install-old.texi fdl.texi \
|
2007-02-27 11:45:58 +01:00
|
|
|
|
gcc-common.texi gcc-vers.texi
|
2003-10-24 21:34:50 +02:00
|
|
|
|
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
TEXI_CPPINT_FILES = cppinternals.texi gcc-common.texi gcc-vers.texi
|
|
|
|
|
|
|
|
|
|
# gcc-vers.texi is generated from the version files.
|
|
|
|
|
gcc-vers.texi: $(BASEVER) $(DEVPHASE)
|
|
|
|
|
(echo "@set version-GCC $(BASEVER_c)"; \
|
|
|
|
|
if [ "$(DEVPHASE_c)" = "experimental" ]; \
|
|
|
|
|
then echo "@set DEVELOPMENT"; \
|
|
|
|
|
else echo "@clear DEVELOPMENT"; \
|
|
|
|
|
fi) > $@T
|
2008-02-19 20:38:52 +01:00
|
|
|
|
$(build_file_translate) echo @set srcdir $(abs_srcdir) >> $@T
|
2007-08-21 17:35:30 +02:00
|
|
|
|
if [ -n "$(PKGVERSION)" ]; then \
|
|
|
|
|
echo "@set VERSION_PACKAGE $(PKGVERSION)" >> $@T; \
|
|
|
|
|
fi
|
|
|
|
|
echo "@set BUGURL $(BUGURL_TEXI)" >> $@T; \
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
mv -f $@T $@
|
|
|
|
|
|
2003-10-24 21:34:50 +02:00
|
|
|
|
|
2006-10-11 01:48:09 +02:00
|
|
|
|
# The *.1, *.7, *.info, *.dvi, and *.pdf files are being generated from implicit
|
2004-02-14 16:33:21 +01:00
|
|
|
|
# patterns. To use them, put each of the specific targets with its
|
2003-10-24 21:34:50 +02:00
|
|
|
|
# specific dependencies but no build commands.
|
2002-06-04 09:11:05 +02:00
|
|
|
|
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
doc/cpp.info: $(TEXI_CPP_FILES)
|
|
|
|
|
doc/gcc.info: $(TEXI_GCC_FILES)
|
|
|
|
|
doc/gccint.info: $(TEXI_GCCINT_FILES)
|
|
|
|
|
doc/cppinternals.info: $(TEXI_CPPINT_FILES)
|
2002-06-06 22:03:04 +02:00
|
|
|
|
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
doc/%.info: %.texi
|
2003-10-21 19:36:17 +02:00
|
|
|
|
if [ x$(BUILD_INFO) = xinfo ]; then \
|
2006-03-30 22:20:10 +02:00
|
|
|
|
$(MAKEINFO) $(MAKEINFOFLAGS) -I . -I $(gcc_docdir) \
|
|
|
|
|
-I $(gcc_docdir)/include -o $@ $<; \
|
2003-10-21 19:36:17 +02:00
|
|
|
|
fi
|
2001-01-13 01:24:39 +01:00
|
|
|
|
|
2003-11-04 01:25:49 +01:00
|
|
|
|
# Duplicate entry to handle renaming of gccinstall.info
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
doc/gccinstall.info: $(TEXI_GCCINSTALL_FILES)
|
2003-11-04 01:25:49 +01:00
|
|
|
|
if [ x$(BUILD_INFO) = xinfo ]; then \
|
2006-03-30 22:20:10 +02:00
|
|
|
|
$(MAKEINFO) $(MAKEINFOFLAGS) -I $(gcc_docdir) \
|
|
|
|
|
-I $(gcc_docdir)/include -o $@ $<; \
|
2003-11-04 01:25:49 +01:00
|
|
|
|
fi
|
|
|
|
|
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
doc/cpp.dvi: $(TEXI_CPP_FILES)
|
|
|
|
|
doc/gcc.dvi: $(TEXI_GCC_FILES)
|
|
|
|
|
doc/gccint.dvi: $(TEXI_GCCINT_FILES)
|
|
|
|
|
doc/cppinternals.dvi: $(TEXI_CPPINT_FILES)
|
2003-11-04 01:25:49 +01:00
|
|
|
|
|
2006-10-11 01:48:09 +02:00
|
|
|
|
doc/cpp.pdf: $(TEXI_CPP_FILES)
|
|
|
|
|
doc/gcc.pdf: $(TEXI_GCC_FILES)
|
|
|
|
|
doc/gccint.pdf: $(TEXI_GCCINT_FILES)
|
|
|
|
|
doc/cppinternals.pdf: $(TEXI_CPPINT_FILES)
|
|
|
|
|
|
2006-06-06 12:15:12 +02:00
|
|
|
|
$(build_htmldir)/cpp/index.html: $(TEXI_CPP_FILES)
|
|
|
|
|
$(build_htmldir)/gcc/index.html: $(TEXI_GCC_FILES)
|
|
|
|
|
$(build_htmldir)/gccint/index.html: $(TEXI_GCCINT_FILES)
|
|
|
|
|
$(build_htmldir)/cppinternals/index.html: $(TEXI_CPPINT_FILES)
|
2004-11-13 08:35:55 +01:00
|
|
|
|
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
dvi:: doc/gcc.dvi doc/gccint.dvi doc/gccinstall.dvi doc/cpp.dvi \
|
2006-03-08 17:10:44 +01:00
|
|
|
|
doc/cppinternals.dvi lang.dvi
|
1993-05-21 20:27:59 +02:00
|
|
|
|
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
doc/%.dvi: %.texi
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
$(TEXI2DVI) -I . -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
|
c-tree.texi, [...]: Move to doc subdirectory.
* c-tree.texi, contrib.texi, cpp.texi, cppinternals.texi,
extend.texi, fdl.texi, gcov.texi, invoke.texi, md.texi, objc.texi,
rtl.texi, tm.texi, texinfo.tex: Move to doc subdirectory.
* install.texi: Move to doc/install-old.texi.
* gcc.texi: Move to doc, refer to install-old.texi.
* Makefile.in: Reflect move of docs to doc/.
* f/Make-lang.in: Ditto.
* java/Make-lang.in: Ditto.
* doc/.cvsignore: New.
From-SVN: r42779
2001-06-01 18:51:18 +02:00
|
|
|
|
|
2003-11-04 01:25:49 +01:00
|
|
|
|
# Duplicate entry to handle renaming of gccinstall.dvi
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
doc/gccinstall.dvi: $(TEXI_GCCINSTALL_FILES)
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
$(TEXI2DVI) -I . -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
|
2002-06-06 22:03:04 +02:00
|
|
|
|
|
2007-03-02 01:23:20 +01:00
|
|
|
|
PDFFILES = doc/gcc.pdf doc/gccint.pdf doc/gccinstall.pdf doc/cpp.pdf \
|
|
|
|
|
doc/cppinternals.pdf
|
|
|
|
|
|
|
|
|
|
pdf:: $(PDFFILES) lang.pdf
|
2006-10-11 01:48:09 +02:00
|
|
|
|
|
|
|
|
|
doc/%.pdf: %.texi
|
|
|
|
|
$(TEXI2PDF) -I . -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
|
|
|
|
|
|
|
|
|
|
# Duplicate entry to handle renaming of gccinstall.pdf
|
|
|
|
|
doc/gccinstall.pdf: $(TEXI_GCCINSTALL_FILES)
|
|
|
|
|
$(TEXI2PDF) -I . -I $(abs_docdir) -I $(abs_docdir)/include -o $@ $<
|
|
|
|
|
|
2006-06-13 21:13:47 +02:00
|
|
|
|
# List the directories or single hmtl files which are installed by
|
|
|
|
|
# install-html. The lang.html file triggers language fragments to build
|
|
|
|
|
# html documentation. Installing language fragment documentation is not
|
|
|
|
|
# yet supported.
|
|
|
|
|
HTMLS_INSTALL=$(build_htmldir)/cpp $(build_htmldir)/gcc \
|
|
|
|
|
$(build_htmldir)/gccinstall $(build_htmldir)/gccint \
|
|
|
|
|
$(build_htmldir)/cppinternals
|
|
|
|
|
|
|
|
|
|
# List the html file targets.
|
|
|
|
|
HTMLS_BUILD=$(build_htmldir)/cpp/index.html $(build_htmldir)/gcc/index.html \
|
2006-06-06 12:15:12 +02:00
|
|
|
|
$(build_htmldir)/gccinstall/index.html $(build_htmldir)/gccint/index.html \
|
|
|
|
|
$(build_htmldir)/cppinternals/index.html lang.html
|
2004-11-13 08:35:55 +01:00
|
|
|
|
|
2006-06-13 21:13:47 +02:00
|
|
|
|
html:: $(HTMLS_BUILD)
|
2006-06-06 12:15:12 +02:00
|
|
|
|
|
|
|
|
|
$(build_htmldir)/%/index.html: %.texi
|
2004-11-13 08:35:55 +01:00
|
|
|
|
$(mkinstalldirs) $(@D)
|
|
|
|
|
rm -f $(@D)/*
|
|
|
|
|
$(TEXI2HTML) -I $(abs_docdir) -I $(abs_docdir)/include -o $(@D) $<
|
|
|
|
|
|
|
|
|
|
# Duplicate entry to handle renaming of gccinstall
|
2006-06-06 12:15:12 +02:00
|
|
|
|
$(build_htmldir)/gccinstall/index.html: $(TEXI_GCCINSTALL_FILES)
|
2004-11-13 08:35:55 +01:00
|
|
|
|
$(mkinstalldirs) $(@D)
|
|
|
|
|
echo rm -f $(@D)/*
|
2007-10-01 04:38:31 +02:00
|
|
|
|
SOURCEDIR=$(abs_docdir) \
|
|
|
|
|
DESTDIR=$(@D) \
|
|
|
|
|
$(SHELL) $(srcdir)/doc/install.texi2html
|
2004-11-13 08:35:55 +01:00
|
|
|
|
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
MANFILES = doc/gcov.1 doc/cpp.1 doc/gcc.1 doc/gfdl.7 doc/gpl.7 doc/fsf-funding.7
|
|
|
|
|
|
2004-03-09 02:53:28 +01:00
|
|
|
|
generated-manpages: man
|
2004-02-06 02:14:32 +01:00
|
|
|
|
|
|
|
|
|
man: $(MANFILES) lang.man @GENINSRC@ srcman lang.srcman
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
|
|
|
|
|
srcman: $(MANFILES)
|
|
|
|
|
-cp -p $^ $(srcdir)/doc
|
2000-11-22 09:29:32 +01:00
|
|
|
|
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
doc/%.1: %.pod
|
2003-08-29 20:16:59 +02:00
|
|
|
|
$(STAMP) $@
|
2003-10-24 21:34:50 +02:00
|
|
|
|
-($(POD2MAN) --section=1 $< > $(@).T$$$$ && \
|
2003-08-29 20:16:59 +02:00
|
|
|
|
mv -f $(@).T$$$$ $@) || \
|
|
|
|
|
(rm -f $(@).T$$$$ && exit 1)
|
|
|
|
|
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
doc/%.7: %.pod
|
2003-08-29 20:16:59 +02:00
|
|
|
|
$(STAMP) $@
|
2003-10-24 21:34:50 +02:00
|
|
|
|
-($(POD2MAN) --section=7 $< > $(@).T$$$$ && \
|
2003-08-29 20:16:59 +02:00
|
|
|
|
mv -f $(@).T$$$$ $@) || \
|
|
|
|
|
(rm -f $(@).T$$$$ && exit 1)
|
2003-10-24 21:34:50 +02:00
|
|
|
|
|
|
|
|
|
%.pod: %.texi
|
|
|
|
|
$(STAMP) $@
|
2007-08-21 17:35:30 +02:00
|
|
|
|
-$(TEXI2POD) -DBUGURL="$(BUGURL_TEXI)" $< > $@
|
2003-10-24 21:34:50 +02:00
|
|
|
|
|
|
|
|
|
.INTERMEDIATE: cpp.pod gcc.pod gfdl.pod fsf-funding.pod
|
|
|
|
|
cpp.pod: cpp.texi cppenv.texi cppopts.texi
|
|
|
|
|
|
|
|
|
|
# These next rules exist because the output name is not the same as
|
2004-02-14 16:33:21 +01:00
|
|
|
|
# the input name, so our implicit %.pod rule will not work.
|
2003-10-24 21:34:50 +02:00
|
|
|
|
|
|
|
|
|
gcc.pod: invoke.texi cppenv.texi cppopts.texi
|
|
|
|
|
$(STAMP) $@
|
|
|
|
|
-$(TEXI2POD) $< > $@
|
|
|
|
|
gfdl.pod: fdl.texi
|
|
|
|
|
$(STAMP) $@
|
|
|
|
|
-$(TEXI2POD) $< > $@
|
|
|
|
|
fsf-funding.pod: funding.texi
|
|
|
|
|
$(STAMP) $@
|
|
|
|
|
-$(TEXI2POD) $< > $@
|
2008-04-01 18:38:56 +02:00
|
|
|
|
gpl.pod: gpl_v3.texi
|
|
|
|
|
$(STAMP) $@
|
|
|
|
|
-$(TEXI2POD) $< > $@
|
texi2pod.pl: Handle @ifnottex, @iftex and @display.
contrib:
* texi2pod.pl: Handle @ifnottex, @iftex and @display. Handle @var
in verbatim blocks specially. Handle @unnumbered, @unnumberedsec
and @center. Allow [a-z] after @enumerate. Handle 0 and numbers
greater than 9 in enumerations.
gcc:
* Makefile.in (POD2MAN): Don't include --section=1.
(manext): Rename to man1ext. All users changed.
(man7ext): New.
(man7dir): New.
(generated-manpages): Also depend on $(docdir)/gfdl.7,
$(docdir)/gpl.7, and $(docdir)/fsf-funding.7.
($(docdir)/gcov.1, $(docdir)/cpp.1, $(docdir)/gcc.1): Include
--section=1 in calls to $(POD2MAN).
($(docdir)/gfdl.7, $(docdir)/gpl.7, $(docdir)/fsf-funding.7): New.
(maintainer-clean, install, uninstall): Handle the new man pages.
($(docdir)/cpp.info, cpp.dvi): Depend on fdl.texi.
(installdirs): Create man7dir.
* doc/cpp.texi: Include GFDL in this manual. In the man page,
refer to gfdl(7) for the GFDL. Apply Front Cover and Back Cover
texts to man page. Include gpl(7), gfdl(7) and fsf-funding(7) in
the SEE ALSO man page section.
* doc/gcov.texi: Apply GFDL to man page. Include gpl(7), gfdl(7)
and fsf-funding(7) in the SEE ALSO man page section.
* doc/invoke.texi: Apply GFDL to man page. Include gpl(7),
gfdl(7) and fsf-funding(7) in the SEE ALSO man page section.
* doc/include/fdl.texi, doc/include/funding.texi,
doc/include/gpl.texi: Adjust for conversion by texi2pod.pl.
* doc/.cvsignore: Add gfdl.7, gpl.7 and fsf-funding.7.
gcc/cp:
* Make-lang.in: Change all uses of $(manext) to $(man1ext).
gcc/f:
* Make-lang.in: Change all uses of $(manext) to $(man1ext).
From-SVN: r46998
2001-11-14 01:47:47 +01:00
|
|
|
|
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Deletion of files made during compilation.
|
|
|
|
|
# There are four levels of this:
|
1995-04-26 00:07:11 +02:00
|
|
|
|
# `mostlyclean', `clean', `distclean' and `maintainer-clean'.
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# `mostlyclean' is useful while working on a particular type of machine.
|
1992-03-20 23:22:14 +01:00
|
|
|
|
# It deletes most, but not all, of the files made by compilation.
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# It does not delete libgcc.a or its parts, so it won't have to be recompiled.
|
1992-03-20 23:22:14 +01:00
|
|
|
|
# `clean' deletes everything made by running `make all'.
|
1992-04-04 23:34:42 +02:00
|
|
|
|
# `distclean' also deletes the files made by config.
|
1995-04-26 00:07:11 +02:00
|
|
|
|
# `maintainer-clean' also deletes everything that could be regenerated
|
1997-06-09 20:47:19 +02:00
|
|
|
|
# automatically, except for `configure'.
|
|
|
|
|
# We remove as much from the language subdirectories as we can
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
# (less duplicated code).
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
intl: New directory; see intl/ChangeLog for details.
top:
* intl: New directory; see intl/ChangeLog for details.
* ABOUT-NLS, config.rpath: Import from gettext 0.12.1.
* Makefile.tpl: all-gcc depends on maybe-all-intl.
* Makefile.in: Regenerate.
config:
* gettext.m4: New file - copy of gettext.m4 from binutils
CVS, with added AC_ISC_POSIX macro from gcc/aclocal.m4.
gcc:
* ABOUT-NLS: Delete.
* intl: Delete entire directory.
* aclocal.m4: Include ../config/gettext.m4. Delete
AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
* configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
Remove intl/Makefile from all_outputs.
* configure, config.in: Regenerate.
* Makefile.in: Expunge all references to intl subdirectory.
Add -I../intl to INCLUDES.
* intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
intl:
* Makefile.in: Remove unnecessary capabilities for
installation, build of shared libraries, generation of
distribution tarballs, etc. Fix all the places that rely on
the parent directory. Don't generate libgnuintl.h from
anything; do generate $(objdir)/libintl.h from libgnuintl.h if
necessary. Adjust DEFS for use of config.h.
* libgnuintl.h.in: Rename libgnuintl.h.
* README: New file.
* config.charset, ref-add.sin, ref-del.sin: Delete (unused).
* COPYING.LIB-2.0, COPYING.LIB-2.1: Delete (redundant).
* aclocal.m4: New; generated per instructions in gettext manual.
* configure.in: New; written from scratch for this configuration.
* configure, config.h.in: Generated.
contrib:
* gcc_update: Remove gcc/intl/plural.c from list.
Add new generated files intl/plural.c, intl/configure,
intl/config.h.in.
From-SVN: r68928
2003-07-04 20:18:54 +02:00
|
|
|
|
mostlyclean: lang.mostlyclean
|
configure.ac (strict1_warn): Rename to strict_warn.
2007-01-11 Paolo Bonzini <bonzini@gnu.org>
* configure.ac (strict1_warn): Rename to strict_warn.
(WERROR, --enable-werror, symlink hacks, stage1_cflags,
cc_set_by_configure, quoted_cc_set_by_configure,
stage_prefix_set_by_configure, quoted_stage_prefix_set_by_configure,
all_boot_languages, all_stagestuff): Remove.
(target_list): Remove bootstrap targets.
* Makefile.in (quickstrap): Unconditionally make a synonym of all.
(BOOT_LANGUAGES, STAGE1_CFLAGS, STAGE1_CHECKING,
REMAKEFLAGS, FLAGS_TO_PASS, PREPEND_DOTDOT_TO_RELATIVE_PATHS,
SUBDIR_FLAGS_TO_PASS, WERROR_FLAGS, STRICT2_WARN, LANG_STAGESTUFF,
VOL_FILES, POSTSTAGE1_FLAGS_TO_PASS, STAGE2_FLAGS_TO_PASS,
STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS, stage1_build,
stage1_copy, stage2_build, stage2_copy, stageprofile_build,
stageprofile_copy, stage3_build, stage3_copy, stagefeedback_build,
stagefeedback_copy, stage4_build, clean_s1, clean_sw, bootstrap,
bootstrap-lean, bootstrap2, bootstrap2-lean, bootstrap3,
bootstrap3-lean, bootstrap4, bootstrap4-lean, unstage1, unstage2,
unstage3, unstage4, unstageprofile, unstagefeedback, restage, restage2,
restage3, restage4, restageprofile, restagefeedback, bubbleestrap,
cleanstrap, unstrap, restrap, *compare, *compare3, *compare4,
*compare-lean, *compare3-lean, *compare4-lean, stage1-start, stage1,
stage2-start, stage2, stage3-start, stage3, stage4-start, stage4,
stageprofile-start, stageprofile, stagefeedback-start, stagefeedback,
risky-stage1, risky-stage2, risky-stage3, risky-stage4): Remove.
(ORDINARY_FLAGS_TO_PASS): Rename to FLAGS_TO_PASS.
(STAGECOPYSTUFF, STAGEMOVESTUFF): Consolidate into MOSTLYCLEANFILES.
(mostlyclean): Adjust.
(clean, distclean): Don't mention bootstrap stuff.
* configure: Regenerate.
* ada/config-lang.in, cp/config-lang.in, forttran/config-lang.in,
java/config-lang.in, objc/config-lang.in, objcp/config-lang.in,
treelang/config-lang.in (stagestuff): Remove.
* doc/sourcebuild.texi (stage1, stage2, stage3, stage4,
stageprofile, stagefeedback, stagestuff): Remove mention.
From-SVN: r120670
2007-01-11 11:49:30 +01:00
|
|
|
|
-rm -f $(MOSTLYCLEANFILES)
|
2007-07-12 03:10:51 +02:00
|
|
|
|
-rm -f *$(objext)
|
2002-08-08 11:10:39 +02:00
|
|
|
|
-rm -f *$(coverageexts)
|
2004-09-22 13:21:21 +02:00
|
|
|
|
# Delete build programs
|
|
|
|
|
-rm -f build/*
|
Makefile.in (MD_DEPS, s-mddeps): New.
* Makefile.in (MD_DEPS, s-mddeps): New.
(s-config, s-conditions, s-flags, s-codes, s-constants, s-emit,
s-recog, s-opinit, s-extract, s-peep, s-attr, s-attrtab, s-output,
s-preds): Depend on MD_DEPS instead of md_file.
(genobjnames): Add genmddeps.o
(build/genmddeps, build/genmddeps.o): New.
(mostlyclean): Remove mddeps.mk.
* genmddeps.c: New file.
* gensupport.c (include_callback): New.
(process_include): Call it.
* gensupport.h (include_callback): Declare.
From-SVN: r92269
2004-12-16 18:31:58 +01:00
|
|
|
|
-rm -f mddeps.mk
|
1998-04-04 15:32:39 +02:00
|
|
|
|
# Delete other built files.
|
Makefile.in (USER_H): Add ginclude/float.h.
* Makefile.in (USER_H): Add ginclude/float.h.
(FLOAT_H): Remove.
(stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H.
(mostlyclean): Don't remove float.h intermediate files.
(distclean): Don't remove float.h.
* config.gcc: Remove all float_format references.
* configure.in (float_format, float_h_file): Remove.
* c-common.c: Include tree-inline.h.
(builtin_define_with_int_value): New.
(builtin_define_type_precision): Use it.
(builtin_define_float_constants): New.
(cb_register_builtins): Use it. Define __FLT_RADIX__ and
__FLT_EVAL_METHOD__.
* defaults.h (TARGET_FLT_EVAL_METHOD): New.
* config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New.
* config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New.
* doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format.
(TARGET_FLT_EVAL_METHOD): New.
* config/float-c4x.h, config/float-i128.h, config/float-i32.h,
config/float-i386.h, config/float-i64.h, config/float-m68k.h,
config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove.
* ginclude/float.h: New.
From-SVN: r56769
2002-09-03 22:21:35 +02:00
|
|
|
|
-rm -f xsys-protos.hT
|
2003-07-26 09:37:55 +02:00
|
|
|
|
-rm -f specs.h gencheck.h options.c options.h
|
1998-04-04 15:32:39 +02:00
|
|
|
|
# Delete the stamp and temporary files.
|
|
|
|
|
-rm -f s-* tmp-* stamp-* stmp-*
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
-rm -f */stamp-* */tmp-*
|
1992-03-20 23:22:14 +01:00
|
|
|
|
# Delete debugging dump files.
|
2000-04-01 21:07:05 +02:00
|
|
|
|
-rm -f *.[0-9][0-9].* */*.[0-9][0-9].*
|
1992-03-20 23:22:14 +01:00
|
|
|
|
# Delete some files made during installation.
|
2003-01-19 14:04:24 +01:00
|
|
|
|
-rm -f specs $(SPECS) SYSCALLS.c.X SYSCALLS.c
|
aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
libiberty:
* aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
* configure.in: Replace all alloca logic with a simple use of
the above new macro.
* config.table: Kill *-*-beos* entry.
* config/mh-beos: Delete.
* configure, config.in: Regenerate.
* Makefile.in (ALLOCA, HFILES): Kill.
(REQUIRED_OFILES): Add alloca.o.
(alloca.o): Depend on libiberty.h.
(argv.o): Don't depend on alloca-conf.h.
* alloca-conf.h: Delete.
* alloca.c: Include libiberty.h. Kill all #ifdef emacs
blocks. Provide the C alloca unconditionally. Use PTR where
appropriate. Make i00afunc static.
* argv.c: Don't include alloca-conf.h.
include:
* libiberty.h: Prototype C_alloca; define alloca to either
__builtin_alloca or C_alloca as appropriate.
gcc:
* aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
AC_FUNC_ALLOCA.
* configure, config.in: Regenerate.
* config.gcc: Remove references to deleted files.
* genattr.c, genattrtab.c, genextract.c, genoutput.c,
genrecog.c, rtl.c: Do not use alloca anywhere.
* Makefile.in, build-make, system.h, config/x-interix,
config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
config/arc/xm-arc.h, config/arm/xm-arm.h,
config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
config/h8300/xm-h8300.h, config/i370/x-oe,
config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
config/i386/x-ncr3000, config/i386/x-sco5,
config/i386/xm-dgux.h, config/i860/x-sysv4,
config/i960/xm-i960.h, config/m32r/xm-m32r.h,
config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
config/m68k/x-hp320g, config/m69k/x-mot3300,
config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
config/m68k/xm-mot3300.h, config/m88k/x-dolph,
config/m88k/x-sysv4, config/m88k/x-tekXD88,
config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
config/mips/x-iris, config/mips/x-iris3,
config/mips/x-sni-svr4, config/mips/x-sysv,
config/mips/xm-iris6.h, config/mips/xm-mips.h,
config/mips/xm-nws3250v4.h, config/pa/x-hpux,
config/pa/x-pa-mpeix, config/pa/xm-pa.h,
config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
config/pa/xm-papro.h, config/romp/xm-romp.h,
config/rs6000/x-aix31, config/rs6000/x-aix41,
config/rs6000/x-beos, config/rs6000/x-lynx,
config/rs6000/x-mach, config/rs6000/x-rs6000,
config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/x-sysv4, config/sparc/xm-linux.h,
config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
config/vax/xm-vms.h: Eradicate all references to alloca and
related stuff.
* config/xm-alloca.h, config/clipper/x-clix,
config/i386/xm-sysv4.h, config/i860/x-fx2800,
config/i860/x-sysv3, config/m88k/x-sysv3,
config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
(contained only alloca related hacks).
* config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
USE_C_ALLOCA.
From-SVN: r40259
2001-03-06 10:52:35 +01:00
|
|
|
|
-rm -f collect collect2 mips-tfile mips-tdump
|
1993-07-26 10:49:02 +02:00
|
|
|
|
# Delete files generated for fixproto
|
2004-11-05 05:49:19 +01:00
|
|
|
|
-rm -rf $(build_exeext) xsys-protos.h deduced.h tmp-deduced.h \
|
2000-12-09 17:27:51 +01:00
|
|
|
|
gen-protos$(build_exeext) fixproto.list fixtmp.* fixhdr.ready
|
1992-03-20 23:22:14 +01:00
|
|
|
|
# Delete unwanted output files from TeX.
|
|
|
|
|
-rm -f *.toc *.log *.vr *.fn *.cp *.tp *.ky *.pg
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
-rm -f */*.toc */*.log */*.vr */*.fn */*.cp */*.tp */*.ky */*.pg
|
1992-04-04 23:34:42 +02:00
|
|
|
|
# Delete sorted indices we don't actually use.
|
|
|
|
|
-rm -f gcc.vrs gcc.kys gcc.tps gcc.pgs gcc.fns
|
1992-03-20 23:22:14 +01:00
|
|
|
|
# Delete core dumps.
|
Makefile.in (LANGUAGES): Remove c++.
* Makefile.in (LANGUAGES): Remove c++.
(SUBDIRS): New variable.
(LEX, LEXFLAGS): Ditto.
(MAKEOVERRIDES): Ditto.
(COMPILERS): Remove cc1plus.
(LANG_MAKEFILES, LANG_STAGESTUFF, LANG_DIFF_EXCLUDES, FLAGS_TO_PASS):
New variables.
(CPLUS_OBJS, CPLUS_TREE_H, C++, c++, g++, g++-cross, cc1plus,
cp-*.o, g++.o, gplus.info): Deleted.
(STAGESTUFF): Remove g++, g++-cross, cc1plus. Add $(LANG_STAGESTUFF).
(Makefile): Depend on $(LANG_MAKEFILES).
(####language hooks, ####language fragments): New spots for sed
to insert things.
(all.cross, all.build, start.encap, rest.encap, info, dvi,
install-normal, install-common, install-info, install-man,
uninstall, distdir, mostlyclean, clean, distclean, extraclean,
realclean, stage1, stage2, stage3, stage4): Depend on lang.foo.
(mostlyclean, clean, distclean, extraclean, realclean): Clean as
much of the language subdirectories as we can.
(install-common): Remove g++ installation.
(install-man): Remove g++.1 installation.
(uninstall): Remove g++ reference.
(TAGS): Remove cp-parse.? reference.
(distdir): Ditto.
(distdir-start, distdir-finish): New targets.
(diff): Remove cp-parse.? reference. Add $(LANG_DIFF_EXCLUDES).
(compare, compare3, gnucompare, gnucompare3): Compare language
subdirectories too.
(stage1-start, stage2-start, stage3-start, stage4-start): New targets.
Ensure stage subdirectory exists before processing language
dependent part.
From-SVN: r7136
1994-04-22 10:25:33 +02:00
|
|
|
|
-rm -f core */core
|
gengtype.c: Don't include gtyp-gen.h.
* gengtype.c: Don't include gtyp-gen.h.
(srcdir): Declare here.
(base_files, lang_dir_names): Allocate dynamically.
(gt_files, num_gt_files, num_lang_dirs): New globals.
(measure_input_list, read_input_line, read_input_list)
(set_lang_bitmap): New functions.
(get_base_file_bitmap): Rename get_lang_bitmap and drastically
simplify, relying on read_input_list to set up the bitmaps.
(main): Arguments are no longer unused. Check for correct number
of command line arguments, set srcdir and srcdir_len, then call
read_input_list, before doing anything else. No need to worry
about duplicates in main loop.
* configure.ac: Simplify the calculation of all_gtfiles.
Put language tags in there. Don't set or substitute
all_gtfiles_files_langs or all_gtfiles_files_frags.
* Makefile.in: Revamp the way gengtype is invoked, now that it
takes a file on its command line with a much simpler format.
Remove or replace with gtyp-input.list all references to gtyp-gen.h.
(GTFILES): Remove duplicates and C source files.
* c-config-lang.in, cp/config-lang.in, objc/config-lang.in
* objcp/config-lang.in: Add c-pragma.h to gtfiles.
* configure: Regenerate.
From-SVN: r123234
2007-03-26 23:07:27 +02:00
|
|
|
|
# Delete file generated for gengtype
|
|
|
|
|
-rm -f gtyp-input.list
|
2002-07-14 03:59:15 +02:00
|
|
|
|
# Delete files generated by gengtype.c
|
|
|
|
|
-rm -f gtype-*
|
|
|
|
|
-rm -f gt-*
|
2005-05-18 22:45:26 +02:00
|
|
|
|
# Delete genchecksum outputs
|
|
|
|
|
-rm -f *-checksum.c
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1992-04-04 23:34:42 +02:00
|
|
|
|
# Delete all files made by compilation
|
|
|
|
|
# that don't exist in the distribution.
|
intl: New directory; see intl/ChangeLog for details.
top:
* intl: New directory; see intl/ChangeLog for details.
* ABOUT-NLS, config.rpath: Import from gettext 0.12.1.
* Makefile.tpl: all-gcc depends on maybe-all-intl.
* Makefile.in: Regenerate.
config:
* gettext.m4: New file - copy of gettext.m4 from binutils
CVS, with added AC_ISC_POSIX macro from gcc/aclocal.m4.
gcc:
* ABOUT-NLS: Delete.
* intl: Delete entire directory.
* aclocal.m4: Include ../config/gettext.m4. Delete
AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
* configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
Remove intl/Makefile from all_outputs.
* configure, config.in: Regenerate.
* Makefile.in: Expunge all references to intl subdirectory.
Add -I../intl to INCLUDES.
* intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
intl:
* Makefile.in: Remove unnecessary capabilities for
installation, build of shared libraries, generation of
distribution tarballs, etc. Fix all the places that rely on
the parent directory. Don't generate libgnuintl.h from
anything; do generate $(objdir)/libintl.h from libgnuintl.h if
necessary. Adjust DEFS for use of config.h.
* libgnuintl.h.in: Rename libgnuintl.h.
* README: New file.
* config.charset, ref-add.sin, ref-del.sin: Delete (unused).
* COPYING.LIB-2.0, COPYING.LIB-2.1: Delete (redundant).
* aclocal.m4: New; generated per instructions in gettext manual.
* configure.in: New; written from scratch for this configuration.
* configure, config.h.in: Generated.
contrib:
* gcc_update: Remove gcc/intl/plural.c from list.
Add new generated files intl/plural.c, intl/configure,
intl/config.h.in.
From-SVN: r68928
2003-07-04 20:18:54 +02:00
|
|
|
|
clean: mostlyclean lang.clean
|
2003-01-28 00:22:17 +01:00
|
|
|
|
-rm -f libgcc.a libgcc_eh.a libgcov.a
|
2004-10-18 17:52:51 +02:00
|
|
|
|
-rm -f libgcc_s*
|
2004-09-04 02:15:42 +02:00
|
|
|
|
-rm -f libunwind*
|
2002-12-16 19:23:00 +01:00
|
|
|
|
-rm -f config.h tconfig.h bconfig.h tm_p.h tm.h
|
2004-06-18 03:59:45 +02:00
|
|
|
|
-rm -f options.c options.h optionlist
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
-rm -f cs-*
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
-rm -f doc/*.dvi
|
2006-10-11 01:48:09 +02:00
|
|
|
|
-rm -f doc/*.pdf
|
2007-03-06 16:50:28 +01:00
|
|
|
|
# Delete the include directories.
|
|
|
|
|
-rm -rf include include-fixed
|
1994-07-20 04:17:55 +02:00
|
|
|
|
# Delete files used by the "multilib" facility (including libgcc subdirs).
|
1994-06-15 10:03:05 +02:00
|
|
|
|
-rm -f multilib.h tmpmultilib*
|
1994-07-20 04:17:55 +02:00
|
|
|
|
-if [ "x$(MULTILIB_DIRNAMES)" != x ] ; then \
|
|
|
|
|
rm -rf $(MULTILIB_DIRNAMES); \
|
|
|
|
|
else if [ "x$(MULTILIB_OPTIONS)" != x ] ; then \
|
|
|
|
|
rm -rf `echo $(MULTILIB_OPTIONS) | sed -e 's/\// /g'`; \
|
|
|
|
|
fi ; fi
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1992-04-04 23:34:42 +02:00
|
|
|
|
# Delete all files that users would normally create
|
|
|
|
|
# while building and installing GCC.
|
intl: New directory; see intl/ChangeLog for details.
top:
* intl: New directory; see intl/ChangeLog for details.
* ABOUT-NLS, config.rpath: Import from gettext 0.12.1.
* Makefile.tpl: all-gcc depends on maybe-all-intl.
* Makefile.in: Regenerate.
config:
* gettext.m4: New file - copy of gettext.m4 from binutils
CVS, with added AC_ISC_POSIX macro from gcc/aclocal.m4.
gcc:
* ABOUT-NLS: Delete.
* intl: Delete entire directory.
* aclocal.m4: Include ../config/gettext.m4. Delete
AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
* configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
Remove intl/Makefile from all_outputs.
* configure, config.in: Regenerate.
* Makefile.in: Expunge all references to intl subdirectory.
Add -I../intl to INCLUDES.
* intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
intl:
* Makefile.in: Remove unnecessary capabilities for
installation, build of shared libraries, generation of
distribution tarballs, etc. Fix all the places that rely on
the parent directory. Don't generate libgnuintl.h from
anything; do generate $(objdir)/libintl.h from libgnuintl.h if
necessary. Adjust DEFS for use of config.h.
* libgnuintl.h.in: Rename libgnuintl.h.
* README: New file.
* config.charset, ref-add.sin, ref-del.sin: Delete (unused).
* COPYING.LIB-2.0, COPYING.LIB-2.1: Delete (redundant).
* aclocal.m4: New; generated per instructions in gettext manual.
* configure.in: New; written from scratch for this configuration.
* configure, config.h.in: Generated.
contrib:
* gcc_update: Remove gcc/intl/plural.c from list.
Add new generated files intl/plural.c, intl/configure,
intl/config.h.in.
From-SVN: r68928
2003-07-04 20:18:54 +02:00
|
|
|
|
distclean: clean lang.distclean
|
configure.in: Prune nonexistent files from build_xm_file, xm_file, and host_xm_file lists.
* configure.in: Prune nonexistent files from build_xm_file,
xm_file, and host_xm_file lists. Warn unless they're
$cpu/xm-$cpu.h.
Don't generate *config.h here.
AC_SUBST all variables needed to generate *config.h.
* configure: Regenerate.
* mkconfig.sh: New helper script, from code removed from
configure.in.
* Makefile.in: Zap all MALLOC variables - no longer used
anywhere, and malloc.c doesn't exist.
Substitute in variables needed to generate *config.h.
Stop lying about the dependencies contained in CONFIG_H and
GCONFIG_H.
(HCONFIG_H, TCONFIG_H, TM_P_H): New variables.
(config.h, hconfig.h, tconfig.h, tm_p.h, cs-config.h,
cs-hconfig.h, cs-tconfig.h, cs-tm_p.h): New rules.
(all .o): Add dependencies on $(HCONFIG_H), $(TCONFIG_H),
$(TM_P_H), etc. as appropriate.
* config.gcc: Zap references to deleted files.
* ggc-none.c: Don't include rtl.h or tm_p.h.
* config/i386/xm-beos.h, config/i386/xm-dgux.h,
config/i386/xm-djgpp.h, config/i386/xm-dos.h,
config/i386/xm-gnu.h, config/i386/xm-i386-interix.h,
config/i386/xm-linux.h, config/i386/xm-linux.h,
config/i386/xm-next.h, config/i386/xm-openbsd.h,
config/i386/xm-sun.h, config/i386/xm-sysv3.h:
Don't include i386/xm-i386.h.
* config/elxsi/xm-elxsi.h, config/i386/xm-bsd386.h,
config/i386/xm-i386.h, config/i860/xm-i860.h,
config/i960/xm-i960.h, config/mcore/xm-mcore.h,
config/mn10300/xm-mn10300.h, config/ns32k/xm-ns32k.h,
config/pj/xm-pj.h, config/sh/xm-sh.h, config/v850/xm-v850.h:
Delete (empty except comments, #includes of other deleted
files, and macros used nowhere).
cp:
* Make-lang.in: Add dependencies on $(TM_P_H) as appropriate.
From-SVN: r40350
2001-03-09 21:53:56 +01:00
|
|
|
|
-rm -f auto-host.h auto-build.h
|
2000-11-22 09:32:26 +01:00
|
|
|
|
-rm -f cstamp-h
|
1997-06-09 20:47:19 +02:00
|
|
|
|
-rm -f config.status config.run config.cache config.bak
|
1997-07-22 18:25:19 +02:00
|
|
|
|
-rm -f Make-lang Make-hooks Make-host Make-target
|
2002-06-10 18:58:36 +02:00
|
|
|
|
-rm -f Makefile *.oaux
|
1997-12-25 00:56:08 +01:00
|
|
|
|
-rm -f gthr-default.h
|
c-parser.c: New file.
* c-parser.c: New file.
* c-parse.in: Remove.
* Makefile.in (c-parse.o-warn, c-parse.o, c-parse.c, c-parse.y):
Remove.
(c-parser.o): Add dependencies.
(C_AND_OBJC_OBJC, C_OBJS, gcc.srcextra, GTFILES, distclean,
maintainer-clean, TAGS): Update.
* c-config-lang.in (gtfiles): Update.
* gengtype-lex.l: Don't handle "@@".
* stub-objc.c (objc_get_class_ivars, objc_build_throw_stmt,
objc_build_synchronized, objc_begin_try_stmt,
objc_begin_catch_clause, objc_finish_catch_clause,
objc_build_finally_clause, objc_finish_try_stmt): New.
* c-tree.h (struct c_declspecs): Add declspecs_seen_p and
type_seen_p.
(c_parse_init): Update comment.
* c-decl.c (c_init_decl_processing): Update comment.
(build_null_declspecs, declspecs_add_qual, declspecs_add_type,
declspecs_add_scspec, declspecs_add_attrs): Initialize and update
new c_declspecs members.
objc:
* Make-lang.in (objc/objc-parse.o-warn, objc/objc-parse.o,
objc/objc-parse.c, objc/objc-parse.y): Remove
(OBJC_OBJS, objc.srcextra, objc.tags, objc.mostlyclean,
objc.distclean, objc.maintainer-clean): Update for new parser.
* config-lang.in (gtfiles): Update for new parser.
testsuite:
* gcc.dg/cpp/separate-1.c, gcc.dg/noncompile/971104-1.c,
gcc.dg/noncompile/990416-1.c: Adjust expected messages for new
parser.
From-SVN: r95558
2005-02-26 00:20:48 +01:00
|
|
|
|
-rm -f TAGS */TAGS
|
1994-11-17 22:03:59 +01:00
|
|
|
|
-rm -f *.asm
|
1997-09-07 21:45:33 +02:00
|
|
|
|
-rm -f site.exp site.bak testsuite/site.exp testsuite/site.bak
|
2002-06-10 18:58:36 +02:00
|
|
|
|
-rm -f testsuite/*.log testsuite/*.sum
|
2002-06-11 18:42:36 +02:00
|
|
|
|
-cd testsuite && rm -f x *.x *.x? *.exe *.rpo *.o *.s *.S *.c
|
2002-12-16 19:23:00 +01:00
|
|
|
|
-cd testsuite && rm -f *.out *.gcov *$(coverageexts)
|
2002-05-20 09:22:30 +02:00
|
|
|
|
-rm -rf ${QMTEST_DIR} stamp-qmtest
|
Purge cruft now we have build libiberty.
* Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
USE_HOST_STRSTR): Delete variables.
(vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
$(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
$(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
(LIBIBERTY, BUILD_LIBIBERTY): New variables.
(LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
(LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
(HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
(HOST_LIBS): Ditto.
(HOST_RTL): Remove hashtab.o safe-ctype.o.
(OBJS): Remove splay-tree.o.
(gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
(distclean): No need to delete splay-tree.c obstack.c
hashtab.c safe-ctype.c.
(mostlyclean): Delete build copies of print-rtl.c bitmap.c
errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
* aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
Delete.
* configure.in: Don't use them.
Set and substitute @FORBUILD@.
* config.in, configure: Regenerate.
* doprint.c: Move to libiberty/_doprnt.c.
* doc/configterms.texi: Document that libiberty is now built
up to three times. Fix typo.
* f/Make-lang.in (f/fini, f/intdoc): Depend on $(HOST_LIBDEPS)
and link with $(HOST_LIBS), not safe-ctype.o.
From-SVN: r47475
2001-11-30 05:43:05 +01:00
|
|
|
|
-rm -f cxxmain.c
|
Makefile.def (target_modules): Add libgcc.
./ * 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.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
-rm -f gccbug .gdbinit configargs.h
|
2000-11-22 09:29:32 +01:00
|
|
|
|
-rm -f gcov.pod
|
2002-06-10 18:58:36 +02:00
|
|
|
|
# Delete po/*.gmo only if we are not building in the source directory.
|
|
|
|
|
-if [ ! -f po/exgettext ]; then rm -f po/*.gmo; fi
|
2004-11-05 05:49:19 +01:00
|
|
|
|
-rmdir ada cp f java objc intl po testsuite 2>/dev/null
|
1992-03-20 23:22:14 +01:00
|
|
|
|
|
1997-06-09 20:47:19 +02:00
|
|
|
|
# Get rid of every file that's generated from some other file, except for `configure'.
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Most of these files ARE PRESENT in the GCC distribution.
|
1997-06-09 20:47:19 +02:00
|
|
|
|
maintainer-clean:
|
|
|
|
|
@echo 'This command is intended for maintainers to use; it'
|
|
|
|
|
@echo 'deletes files that may need special tools to rebuild.'
|
intl: New directory; see intl/ChangeLog for details.
top:
* intl: New directory; see intl/ChangeLog for details.
* ABOUT-NLS, config.rpath: Import from gettext 0.12.1.
* Makefile.tpl: all-gcc depends on maybe-all-intl.
* Makefile.in: Regenerate.
config:
* gettext.m4: New file - copy of gettext.m4 from binutils
CVS, with added AC_ISC_POSIX macro from gcc/aclocal.m4.
gcc:
* ABOUT-NLS: Delete.
* intl: Delete entire directory.
* aclocal.m4: Include ../config/gettext.m4. Delete
AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
* configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
Remove intl/Makefile from all_outputs.
* configure, config.in: Regenerate.
* Makefile.in: Expunge all references to intl subdirectory.
Add -I../intl to INCLUDES.
* intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
intl:
* Makefile.in: Remove unnecessary capabilities for
installation, build of shared libraries, generation of
distribution tarballs, etc. Fix all the places that rely on
the parent directory. Don't generate libgnuintl.h from
anything; do generate $(objdir)/libintl.h from libgnuintl.h if
necessary. Adjust DEFS for use of config.h.
* libgnuintl.h.in: Rename libgnuintl.h.
* README: New file.
* config.charset, ref-add.sin, ref-del.sin: Delete (unused).
* COPYING.LIB-2.0, COPYING.LIB-2.1: Delete (redundant).
* aclocal.m4: New; generated per instructions in gettext manual.
* configure.in: New; written from scratch for this configuration.
* configure, config.h.in: Generated.
contrib:
* gcc_update: Remove gcc/intl/plural.c from list.
Add new generated files intl/plural.c, intl/configure,
intl/config.h.in.
From-SVN: r68928
2003-07-04 20:18:54 +02:00
|
|
|
|
$(MAKE) lang.maintainer-clean distclean
|
2000-12-08 23:54:06 +01:00
|
|
|
|
-rm -f cpp.??s cpp.*aux
|
|
|
|
|
-rm -f gcc.??s gcc.*aux
|
2006-10-11 01:48:09 +02:00
|
|
|
|
-rm -f $(gcc_docdir)/*.info $(gcc_docdir)/*.1 $(gcc_docdir)/*.7 $(gcc_docdir)/*.dvi $(gcc_docdir)/*.pdf
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Entry points `install' and `uninstall'.
|
1992-03-20 23:22:14 +01:00
|
|
|
|
# Also use `install-collect2' to install collect2 when the config files don't.
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1993-01-14 21:10:31 +01:00
|
|
|
|
# Copy the compiler files into directories where they will be run.
|
(SYMLINK): Deleted; unused.
(oldobjext): Deleted; no longer used.
(FLAGS_TO_PASS): Include objext and exeext.
(STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o.
(test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise.
(STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext).
(libgcc1.null, libgcc[12].a, stage[1-4]): Likewise.
(xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value.
(collect2, mips-tfile, mips-tdump, gen*): Likewise.
(bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise.
(protoize, unprotoize, gen-protos, fix-header): Likewise.
(crtbegin.o, crtend.o): Don't use -o; move output to proper
filename (using objext) instead.
(BI_ALL, BC_ALL, bytecode): Deleted; unused.
(bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir).
(getopt{,1}.o, SYSCALLS.c.X): Likewise.
(install-driver): New target.
(install-normal): Depend on it.
(install-common): Don't depend on xgcc.
(maketest): Deleted; no longer used.
(stage[1-4]): Use name collect-ld, not real-ld.
(risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy.
From-SVN: r9770
1995-05-23 00:55:23 +02:00
|
|
|
|
# Install the driver last so that the window when things are
|
|
|
|
|
# broken is small.
|
Makefile.def (target_modules): Add libgcc.
./ * 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.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
install: install-common $(INSTALL_HEADERS) \
|
intl: New directory; see intl/ChangeLog for details.
top:
* intl: New directory; see intl/ChangeLog for details.
* ABOUT-NLS, config.rpath: Import from gettext 0.12.1.
* Makefile.tpl: all-gcc depends on maybe-all-intl.
* Makefile.in: Regenerate.
config:
* gettext.m4: New file - copy of gettext.m4 from binutils
CVS, with added AC_ISC_POSIX macro from gcc/aclocal.m4.
gcc:
* ABOUT-NLS: Delete.
* intl: Delete entire directory.
* aclocal.m4: Include ../config/gettext.m4. Delete
AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
* configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
Remove intl/Makefile from all_outputs.
* configure, config.in: Regenerate.
* Makefile.in: Expunge all references to intl subdirectory.
Add -I../intl to INCLUDES.
* intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
intl:
* Makefile.in: Remove unnecessary capabilities for
installation, build of shared libraries, generation of
distribution tarballs, etc. Fix all the places that rely on
the parent directory. Don't generate libgnuintl.h from
anything; do generate $(objdir)/libintl.h from libgnuintl.h if
necessary. Adjust DEFS for use of config.h.
* libgnuintl.h.in: Rename libgnuintl.h.
* README: New file.
* config.charset, ref-add.sin, ref-del.sin: Delete (unused).
* COPYING.LIB-2.0, COPYING.LIB-2.1: Delete (redundant).
* aclocal.m4: New; generated per instructions in gettext manual.
* configure.in: New; written from scratch for this configuration.
* configure, config.h.in: Generated.
contrib:
* gcc_update: Remove gcc/intl/plural.c from list.
Add new generated files intl/plural.c, intl/configure,
intl/config.h.in.
From-SVN: r68928
2003-07-04 20:18:54 +02:00
|
|
|
|
install-cpp install-man install-info install-@POSUB@ \
|
2005-12-07 12:40:30 +01:00
|
|
|
|
install-driver
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1999-03-02 01:59:28 +01:00
|
|
|
|
# Handle cpp installation.
|
2005-05-30 07:53:21 +02:00
|
|
|
|
install-cpp: installdirs cpp$(exeext)
|
Makefile.in (program_transform_cross_name): Delete.
gcc/
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (program_transform_cross_name): Delete.
(GCC_CROSS_NAME, CPP_CROSS_NAME): Delete.
(PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Delete.
(AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET): Adjust for above.
(install_cpp, install_driver, install-man, uninstall): Likewise.
gcc/cp
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (GXX_CROSS_NAME, CXX_CROSS_NAME): Delete.
(c++.install_common, cp/g++.1, c++.install-man): Adjust for above.
(c++.uninstall): Likewise.
gcc/f
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (G77_CROSS_NAME): Delete.
(g77.install_common, g77.install-man, g77.uninstall): Adjust for above.
gcc/java
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (GCJ_CROSS_NAME): Delete.
(java.install_common, java.install-man): Adjust for above.
(java.uninstall): Likewise.
From-SVN: r74365
2003-12-06 14:13:20 +01:00
|
|
|
|
-rm -f $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext)
|
|
|
|
|
-$(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext)
|
|
|
|
|
-if [ x$(cpp_install_dir) != x ]; then \
|
|
|
|
|
rm -f $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \
|
|
|
|
|
$(INSTALL_PROGRAM) -m 755 cpp$(exeext) $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \
|
|
|
|
|
else true; fi
|
1999-03-02 01:59:28 +01:00
|
|
|
|
|
1996-09-30 00:11:33 +02:00
|
|
|
|
# Create the installation directories.
|
2003-08-01 01:36:43 +02:00
|
|
|
|
# $(libdir)/gcc/include isn't currently searched by cpp.
|
1996-09-30 00:11:33 +02:00
|
|
|
|
installdirs:
|
2004-02-08 00:45:23 +01:00
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(libsubdir)
|
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(libexecsubdir)
|
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(includedir)
|
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(infodir)
|
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(slibdir)
|
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(man1dir)
|
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(man7dir)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
|
|
|
|
# Install the compiler executables built during cross compilation.
|
Makefile.def (target_modules): Add libgcc.
./ * 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.
Co-Authored-By: Paolo Bonzini <bonzini@gnu.org>
From-SVN: r120429
2007-01-04 05:22:37 +01:00
|
|
|
|
install-common: native lang.install-common installdirs
|
1992-02-03 23:08:59 +01:00
|
|
|
|
for file in $(COMPILERS); do \
|
|
|
|
|
if [ -f $$file ] ; then \
|
2003-08-01 01:36:43 +02:00
|
|
|
|
rm -f $(DESTDIR)$(libexecsubdir)/$$file; \
|
|
|
|
|
$(INSTALL_PROGRAM) $$file $(DESTDIR)$(libexecsubdir)/$$file; \
|
1992-02-03 23:08:59 +01:00
|
|
|
|
else true; \
|
|
|
|
|
fi; \
|
|
|
|
|
done
|
2004-04-05 05:58:46 +02:00
|
|
|
|
for file in $(EXTRA_PASSES) $(EXTRA_PROGRAMS) $(COLLECT2) ..; do \
|
1992-02-03 23:08:59 +01:00
|
|
|
|
if [ x"$$file" != x.. ]; then \
|
2003-08-01 01:36:43 +02:00
|
|
|
|
rm -f $(DESTDIR)$(libexecsubdir)/$$file; \
|
|
|
|
|
$(INSTALL_PROGRAM) $$file $(DESTDIR)$(libexecsubdir)/$$file; \
|
1992-02-03 23:08:59 +01:00
|
|
|
|
else true; fi; \
|
|
|
|
|
done
|
2004-12-22 18:22:59 +01:00
|
|
|
|
# We no longer install the specs file because its presence makes the
|
|
|
|
|
# driver slower, and because people who need it can recreate it by
|
|
|
|
|
# using -dumpspecs. We remove any old version because it would
|
|
|
|
|
# otherwise override the specs built into the driver.
|
2004-12-20 22:10:44 +01:00
|
|
|
|
rm -f $(DESTDIR)$(libsubdir)/specs
|
(SYMLINK): Deleted; unused.
(oldobjext): Deleted; no longer used.
(FLAGS_TO_PASS): Include objext and exeext.
(STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o.
(test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise.
(STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext).
(libgcc1.null, libgcc[12].a, stage[1-4]): Likewise.
(xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value.
(collect2, mips-tfile, mips-tdump, gen*): Likewise.
(bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise.
(protoize, unprotoize, gen-protos, fix-header): Likewise.
(crtbegin.o, crtend.o): Don't use -o; move output to proper
filename (using objext) instead.
(BI_ALL, BC_ALL, bytecode): Deleted; unused.
(bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir).
(getopt{,1}.o, SYSCALLS.c.X): Likewise.
(install-driver): New target.
(install-normal): Depend on it.
(install-common): Don't depend on xgcc.
(maketest): Deleted; no longer used.
(stage[1-4]): Use name collect-ld, not real-ld.
(risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy.
From-SVN: r9770
1995-05-23 00:55:23 +02:00
|
|
|
|
# Install protoize if it was compiled.
|
Makefile.in (program_transform_cross_name): Delete.
gcc/
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (program_transform_cross_name): Delete.
(GCC_CROSS_NAME, CPP_CROSS_NAME): Delete.
(PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Delete.
(AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET): Adjust for above.
(install_cpp, install_driver, install-man, uninstall): Likewise.
gcc/cp
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (GXX_CROSS_NAME, CXX_CROSS_NAME): Delete.
(c++.install_common, cp/g++.1, c++.install-man): Adjust for above.
(c++.uninstall): Likewise.
gcc/f
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (G77_CROSS_NAME): Delete.
(g77.install_common, g77.install-man, g77.uninstall): Adjust for above.
gcc/java
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (GCJ_CROSS_NAME): Delete.
(java.install_common, java.install-man): Adjust for above.
(java.uninstall): Likewise.
From-SVN: r74365
2003-12-06 14:13:20 +01:00
|
|
|
|
-if [ -f protoize$(exeext) ]; then \
|
|
|
|
|
rm -f $(DESTDIR)$(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext); \
|
|
|
|
|
$(INSTALL_PROGRAM) protoize$(exeext) $(DESTDIR)$(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext); \
|
|
|
|
|
rm -f $(DESTDIR)$(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext); \
|
|
|
|
|
$(INSTALL_PROGRAM) unprotoize$(exeext) $(DESTDIR)$(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext); \
|
|
|
|
|
rm -f $(DESTDIR)$(libsubdir)/SYSCALLS.c.X; \
|
|
|
|
|
$(INSTALL_DATA) SYSCALLS.c.X $(DESTDIR)$(libsubdir)/SYSCALLS.c.X; \
|
|
|
|
|
chmod a-x $(DESTDIR)$(libsubdir)/SYSCALLS.c.X; \
|
(SYMLINK): Deleted; unused.
(oldobjext): Deleted; no longer used.
(FLAGS_TO_PASS): Include objext and exeext.
(STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o.
(test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise.
(STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext).
(libgcc1.null, libgcc[12].a, stage[1-4]): Likewise.
(xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value.
(collect2, mips-tfile, mips-tdump, gen*): Likewise.
(bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise.
(protoize, unprotoize, gen-protos, fix-header): Likewise.
(crtbegin.o, crtend.o): Don't use -o; move output to proper
filename (using objext) instead.
(BI_ALL, BC_ALL, bytecode): Deleted; unused.
(bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir).
(getopt{,1}.o, SYSCALLS.c.X): Likewise.
(install-driver): New target.
(install-normal): Depend on it.
(install-common): Don't depend on xgcc.
(maketest): Deleted; no longer used.
(stage[1-4]): Use name collect-ld, not real-ld.
(risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy.
From-SVN: r9770
1995-05-23 00:55:23 +02:00
|
|
|
|
fi
|
1997-08-21 18:23:22 +02:00
|
|
|
|
# Install gcov if it was compiled.
|
1997-03-28 23:34:21 +01:00
|
|
|
|
-if [ -f gcov$(exeext) ]; \
|
|
|
|
|
then \
|
2003-06-07 09:38:32 +02:00
|
|
|
|
rm -f $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext); \
|
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.
From-SVN: r61076
2003-01-09 09:00:41 +01:00
|
|
|
|
$(INSTALL_PROGRAM) gcov$(exeext) $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext); \
|
1997-03-28 23:34:21 +01:00
|
|
|
|
fi
|
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.
From-SVN: r61076
2003-01-09 09:00:41 +01:00
|
|
|
|
$(INSTALL_SCRIPT) gccbug $(DESTDIR)$(bindir)/$(GCCBUG_INSTALL_NAME)
|
(SYMLINK): Deleted; unused.
(oldobjext): Deleted; no longer used.
(FLAGS_TO_PASS): Include objext and exeext.
(STAGESTUFF, protoize.o, unprotoize.o): Use $(objext), not .o.
(test_protoize_simple, compare{,3}, gnucompare{,3}): Likewise.
(STAGESTUFF, specs, gcc-cross, collect2): Add missing $(exeext).
(libgcc1.null, libgcc[12].a, stage[1-4]): Likewise.
(xgcc, cc1, cc1obj, enquire): Use $@ instead of filename for -o value.
(collect2, mips-tfile, mips-tdump, gen*): Likewise.
(bi-arity, bi-opcode, bi-opname, cccp, cppmain): Likewise.
(protoize, unprotoize, gen-protos, fix-header): Likewise.
(crtbegin.o, crtend.o): Don't use -o; move output to proper
filename (using objext) instead.
(BI_ALL, BC_ALL, bytecode): Deleted; unused.
(bi-*.o, cexp.o, stamp-{proto,fixinc}): Remove unneeded $(srcdir).
(getopt{,1}.o, SYSCALLS.c.X): Likewise.
(install-driver): New target.
(install-normal): Depend on it.
(install-common): Don't depend on xgcc.
(maketest): Deleted; no longer used.
(stage[1-4]): Use name collect-ld, not real-ld.
(risky-stage[1-4]): Use stage[1-4] as dependencies; don't copy.
From-SVN: r9770
1995-05-23 00:55:23 +02:00
|
|
|
|
|
2004-03-09 02:53:28 +01:00
|
|
|
|
# Install the driver program as $(target_noncanonical)-gcc,
|
2003-10-14 05:41:42 +02:00
|
|
|
|
# $(target_noncanonical)-gcc-$(version)
|
1999-01-22 07:46:43 +01:00
|
|
|
|
# and also as either gcc (if native) or $(gcc_tooldir)/bin/gcc.
|
2001-02-16 04:54:02 +01:00
|
|
|
|
install-driver: installdirs xgcc$(exeext)
|
Makefile.in (program_transform_cross_name): Delete.
gcc/
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (program_transform_cross_name): Delete.
(GCC_CROSS_NAME, CPP_CROSS_NAME): Delete.
(PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Delete.
(AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET): Adjust for above.
(install_cpp, install_driver, install-man, uninstall): Likewise.
gcc/cp
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (GXX_CROSS_NAME, CXX_CROSS_NAME): Delete.
(c++.install_common, cp/g++.1, c++.install-man): Adjust for above.
(c++.uninstall): Likewise.
gcc/f
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (G77_CROSS_NAME): Delete.
(g77.install_common, g77.install-man, g77.uninstall): Adjust for above.
gcc/java
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (GCJ_CROSS_NAME): Delete.
(java.install_common, java.install-man): Adjust for above.
(java.uninstall): Likewise.
From-SVN: r74365
2003-12-06 14:13:20 +01:00
|
|
|
|
-rm -f $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
|
|
|
|
|
-$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
|
2006-11-01 20:01:36 +01:00
|
|
|
|
-rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version)$(exeext)
|
Makefile.in (program_transform_cross_name): Delete.
gcc/
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in (program_transform_cross_name): Delete.
(GCC_CROSS_NAME, CPP_CROSS_NAME): Delete.
(PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Delete.
(AR_FOR_TARGET, RANLIB_FOR_TARGET, NM_FOR_TARGET): Adjust for above.
(install_cpp, install_driver, install-man, uninstall): Likewise.
gcc/cp
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (GXX_CROSS_NAME, CXX_CROSS_NAME): Delete.
(c++.install_common, cp/g++.1, c++.install-man): Adjust for above.
(c++.uninstall): Likewise.
gcc/f
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (G77_CROSS_NAME): Delete.
(g77.install_common, g77.install-man, g77.uninstall): Adjust for above.
gcc/java
2003-12-05 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in (GCJ_CROSS_NAME): Delete.
(java.install_common, java.install-man): Adjust for above.
(java.uninstall): Likewise.
From-SVN: r74365
2003-12-06 14:13:20 +01:00
|
|
|
|
-( cd $(DESTDIR)$(bindir) && \
|
2006-11-01 20:01:36 +01:00
|
|
|
|
$(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version)$(exeext) )
|
1995-02-21 23:54:50 +01:00
|
|
|
|
-if [ -f gcc-cross$(exeext) ] ; then \
|
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.
From-SVN: r61076
2003-01-09 09:00:41 +01:00
|
|
|
|
if [ -d $(DESTDIR)$(gcc_tooldir)/bin/. ] ; then \
|
|
|
|
|
rm -f $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \
|
|
|
|
|
$(INSTALL_PROGRAM) gcc-cross$(exeext) $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \
|
1992-02-03 23:08:59 +01:00
|
|
|
|
else true; fi; \
|
|
|
|
|
else \
|
2003-10-14 05:41:42 +02:00
|
|
|
|
rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-tmp$(exeext); \
|
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.
From-SVN: r61076
2003-01-09 09:00:41 +01:00
|
|
|
|
( cd $(DESTDIR)$(bindir) && \
|
2003-10-14 05:41:42 +02:00
|
|
|
|
$(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-tmp$(exeext) && \
|
|
|
|
|
mv -f $(target_noncanonical)-gcc-tmp$(exeext) $(GCC_TARGET_INSTALL_NAME)$(exeext) ); \
|
1992-02-03 23:08:59 +01:00
|
|
|
|
fi
|
|
|
|
|
|
1993-05-18 22:48:27 +02:00
|
|
|
|
# Install the info files.
|
1997-08-25 02:25:22 +02:00
|
|
|
|
# $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
|
1998-07-02 08:19:07 +02:00
|
|
|
|
# to do the install.
|
2003-10-20 22:58:26 +02:00
|
|
|
|
install-info:: doc installdirs \
|
|
|
|
|
$(DESTDIR)$(infodir)/cpp.info \
|
|
|
|
|
$(DESTDIR)$(infodir)/gcc.info \
|
|
|
|
|
$(DESTDIR)$(infodir)/cppinternals.info \
|
2003-11-30 02:07:51 +01:00
|
|
|
|
$(DESTDIR)$(infodir)/gccinstall.info \
|
2006-03-08 17:10:44 +01:00
|
|
|
|
$(DESTDIR)$(infodir)/gccint.info \
|
|
|
|
|
lang.install-info
|
2003-10-20 22:58:26 +02:00
|
|
|
|
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
$(DESTDIR)$(infodir)/%.info: doc/%.info installdirs
|
2003-10-20 22:58:26 +02:00
|
|
|
|
rm -f $@
|
|
|
|
|
if [ -f $< ]; then \
|
|
|
|
|
for f in $(<)*; do \
|
2000-12-08 23:54:06 +01:00
|
|
|
|
realfile=`echo $$f | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
|
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.
From-SVN: r61076
2003-01-09 09:00:41 +01:00
|
|
|
|
$(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$realfile; \
|
2003-10-21 17:18:25 +02:00
|
|
|
|
chmod a-x $(DESTDIR)$(infodir)/$$realfile; \
|
2000-12-08 23:54:06 +01:00
|
|
|
|
done; \
|
|
|
|
|
else true; fi
|
1998-07-02 08:19:07 +02:00
|
|
|
|
-if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
|
2004-04-28 20:00:05 +02:00
|
|
|
|
if [ -f $@ ]; then \
|
|
|
|
|
install-info --dir-file=$(DESTDIR)$(infodir)/dir $@; \
|
1998-07-26 00:30:26 +02:00
|
|
|
|
else true; fi; \
|
1998-06-26 18:38:36 +02:00
|
|
|
|
else true; fi;
|
1993-05-18 22:48:27 +02:00
|
|
|
|
|
2007-03-02 01:23:20 +01:00
|
|
|
|
pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
|
|
|
|
|
|
|
|
|
install-pdf: $(PDFFILES) lang.install-pdf
|
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
|
test -z "$(pdfdir)/gcc" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)/gcc"
|
|
|
|
|
@list='$(PDFFILES)'; for p in $$list; do \
|
|
|
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
|
|
|
f=$(pdf__strip_dir) \
|
|
|
|
|
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/gcc/$$f'"; \
|
|
|
|
|
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/gcc/$$f"; \
|
|
|
|
|
done
|
|
|
|
|
|
2006-06-13 21:13:47 +02:00
|
|
|
|
html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
2007-02-28 23:46:01 +01:00
|
|
|
|
|
2006-06-13 21:13:47 +02:00
|
|
|
|
install-html: $(HTMLS_BUILD)
|
|
|
|
|
@$(NORMAL_INSTALL)
|
2006-07-28 00:02:18 +02:00
|
|
|
|
test -z "$(htmldir)" || $(mkinstalldirs) "$(DESTDIR)$(htmldir)"
|
2006-06-13 21:13:47 +02:00
|
|
|
|
@list='$(HTMLS_INSTALL)'; for p in $$list; do \
|
|
|
|
|
if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
|
|
|
|
|
f=$(html__strip_dir) \
|
|
|
|
|
if test -d "$$d$$p"; then \
|
2006-07-28 00:02:18 +02:00
|
|
|
|
echo " $(mkinstalldirs) '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
|
|
|
$(mkinstalldirs) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
|
2006-06-13 21:13:47 +02:00
|
|
|
|
echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
|
|
|
$(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
|
|
|
|
|
else \
|
|
|
|
|
echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
|
|
|
|
|
$(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
|
|
|
|
|
fi; \
|
|
|
|
|
done
|
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Install the man pages.
|
2005-06-14 11:03:46 +02:00
|
|
|
|
install-man: lang.install-man \
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
$(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext) \
|
2004-02-13 02:55:55 +01:00
|
|
|
|
$(DESTDIR)$(man1dir)/$(CPP_INSTALL_NAME)$(man1ext) \
|
|
|
|
|
$(DESTDIR)$(man1dir)/$(GCOV_INSTALL_NAME)$(man1ext) \
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
$(DESTDIR)$(man7dir)/fsf-funding$(man7ext) \
|
|
|
|
|
$(DESTDIR)$(man7dir)/gfdl$(man7ext) \
|
|
|
|
|
$(DESTDIR)$(man7dir)/gpl$(man7ext)
|
|
|
|
|
|
2005-06-14 11:03:46 +02:00
|
|
|
|
$(DESTDIR)$(man7dir)/%$(man7ext): doc/%.7 installdirs
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
-rm -f $@
|
|
|
|
|
-$(INSTALL_DATA) $< $@
|
|
|
|
|
-chmod a-x $@
|
|
|
|
|
|
2005-06-14 11:03:46 +02:00
|
|
|
|
$(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext): doc/gcc.1 installdirs
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
-rm -f $@
|
2004-03-09 02:53:28 +01:00
|
|
|
|
-$(INSTALL_DATA) $< $@
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
-chmod a-x $@
|
|
|
|
|
|
2005-06-14 11:03:46 +02:00
|
|
|
|
$(DESTDIR)$(man1dir)/$(CPP_INSTALL_NAME)$(man1ext): doc/cpp.1 installdirs
|
2004-02-13 02:55:55 +01:00
|
|
|
|
-rm -f $@
|
2004-03-09 02:53:28 +01:00
|
|
|
|
-$(INSTALL_DATA) $< $@
|
2004-02-13 02:55:55 +01:00
|
|
|
|
-chmod a-x $@
|
|
|
|
|
|
2005-06-14 11:03:46 +02:00
|
|
|
|
$(DESTDIR)$(man1dir)/$(GCOV_INSTALL_NAME)$(man1ext): doc/gcov.1 installdirs
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
-rm -f $@
|
2004-03-09 02:53:28 +01:00
|
|
|
|
-$(INSTALL_DATA) $< $@
|
re PR other/12730 (manual page install broken with old Pod::man)
gcc/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
PR bootstrap/12730
* configure.ac: Delete definition and subsitution of docdir.
Add info, man, srcman and srcinfo to target hooks. Create doc/
directory.
* configure: Regenerate.
* Makefile.in: Don't substitute docdir and delete all references
throughout.
(MAKEINFOFLAGS): Define.
(stmp-docobjdir): Delete.
(INFOFILES, MANFILES): Define.
(info): Call lang.info, srcinfo and lang.srcinfo.
(generated-manpages): Call lang.man, srcman and lang.srcman.
(srcinfo, srcman): New rules to copy back files to source directory.
(doc/%.info, doc/%.dvi, doc/%.1, doc/%.7): New implict rule.
(install-man): Revamp rule.
(clean): Update dvi directory.
(distclean): Delete TAGS from front end directorys.
(maintainer-clean): Delete all document files in source directory.
objc/Make-lang.in (objc.man, objc.info): Dummy entries.
(objc.srcman, objc.srcinfo): Likewise.
gcc/ada/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info
doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update
to use consistent MAKEINFO rule.
(ada.man, ada.srcman): Dummy entry.
(ADA_INFOFILES): Define.
(ada.info, ada.srcinfo): New rules.
gcc/cp/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(c++.info, c++.srcinfo): Dummy entry.
(c++.man, c++.srcman): New rules.
(c++.install-man): Revamp rule.
gcc/f/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(TEXI_G77_FILES): Define.
(f77.rebuilt): Delete.
(f77.srcextra): Add dependencies on f/BUGS and f/NEWS.
(f77.srcman, f77.srcinfo, f77.man, f77.info): New rules.
(doc/g77.info, doc/g77.dvi): Depend on TEXI_G77_FILES. Always build in
doc directory. Use $(MAKEINFOFLAGS).
(info, dvi, generated_manpages): Update to look in doc directory.
(f/BUGS, f/NEWS): Generate in build directory.
(f77.mostlyclean): Delete BUGS and NEWS from build directory.
(f77.maintainer-clean): Adjust to delete from source directory.
(f77.install-man): Revamp rule.
gcc/java/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(java.info, java.srcinfo, java.man, java.srcman): New rules.
(java.install-man): Revamp rule.
gcc/treelang/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* Make-lang.in: Replace $(docdir) with doc.
(treelang.info, treelang.srcinfo): New rules.
(treelang.man, treelang.man): Dummy entries.
maintainer-scripts/
2004-01-20 Kelley Cook <kcook@gcc.gnu.org>
* gcc_release (build_sources): Delete call to make f77.rebuilt.
From-SVN: r76249
2004-01-21 03:01:55 +01:00
|
|
|
|
-chmod a-x $@
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1993-01-14 21:10:31 +01:00
|
|
|
|
# Install all the header files built in the include subdirectory.
|
Makefile.in: Exterminate all references to assert.h.
* Makefile.in: Exterminate all references to assert.h.
* cross-make: Likewise.
* assert.h: Delete.
* configure.in: Correct commentary.
* configure: Regenerate.
* po/POTFILES.in: Remove assert.h.
* libgcc-std.ver, libgcc2.c, libgcc2.h, sys-protos.h:
Remove __eprintf.
* config/t-freebsd, config/t-linux, config/t-linux-aout,
config/t-netbsd, config/t-rtems, config/x-linux,
config/i386/t-beos, config/mcore/t-mcore, config/mcore/t-mcore-pe:
No need to override INSTALL_ASSERT_H.
* fixinc/fixinc.dgux, fixinc/fixinc.interix, fixinc/fixinc.ptx,
fixinc/fixinc.svr4, fixinc/fixinc.winnt, fixinc/fixinc.wrap,
fixinc/fixincl.sh: Don't install assert.h into objdir/include.
From-SVN: r41972
2001-05-11 19:03:02 +02:00
|
|
|
|
install-headers: $(INSTALL_HEADERS_DIR)
|
1993-01-14 21:10:31 +01:00
|
|
|
|
# Fix symlinks to absolute paths in the installed include directory to
|
|
|
|
|
# point to the installed directory, not the build directory.
|
1997-09-11 22:39:08 +02:00
|
|
|
|
# Don't need to use LN_S here since we really do need ln -s and no substitutes.
|
2007-02-27 21:32:13 +01:00
|
|
|
|
-files=`cd $(DESTDIR)$(libsubdir)/include-fixed; find . -type l -print 2>/dev/null`; \
|
1993-01-14 21:10:31 +01:00
|
|
|
|
if [ $$? -eq 0 ]; then \
|
2007-02-27 21:32:13 +01:00
|
|
|
|
dir=`cd include-fixed; ${PWD_COMMAND}`; \
|
1993-01-14 21:10:31 +01:00
|
|
|
|
for i in $$files; do \
|
2007-02-27 21:32:13 +01:00
|
|
|
|
dest=`ls -ld $(DESTDIR)$(libsubdir)/include-fixed/$$i | sed -n 's/.*-> //p'`; \
|
1993-01-14 21:10:31 +01:00
|
|
|
|
if expr "$$dest" : "$$dir.*" > /dev/null; then \
|
2007-02-27 21:32:13 +01:00
|
|
|
|
rm -f $(DESTDIR)$(libsubdir)/include-fixed/$$i; \
|
|
|
|
|
ln -s `echo $$i | sed "s|/[^/]*|/..|g" | sed 's|/..$$||'``echo "$$dest" | sed "s|$$dir||"` $(DESTDIR)$(libsubdir)/include-fixed/$$i; \
|
1993-01-14 21:10:31 +01:00
|
|
|
|
fi; \
|
|
|
|
|
done; \
|
|
|
|
|
fi
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
1993-01-14 21:10:31 +01:00
|
|
|
|
# Create or recreate the gcc private include file directory.
|
1996-09-30 00:11:33 +02:00
|
|
|
|
install-include-dir: installdirs
|
2007-02-28 23:46:01 +01:00
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(libsubdir)/include
|
2007-02-27 21:32:13 +01:00
|
|
|
|
-rm -rf $(DESTDIR)$(libsubdir)/include-fixed
|
|
|
|
|
mkdir $(DESTDIR)$(libsubdir)/include-fixed
|
|
|
|
|
-chmod a+rx $(DESTDIR)$(libsubdir)/include-fixed
|
1993-01-14 21:10:31 +01:00
|
|
|
|
|
2005-03-21 18:58:06 +01:00
|
|
|
|
# Create or recreate the install-tools include file directory.
|
|
|
|
|
itoolsdir = $(libexecsubdir)/install-tools
|
|
|
|
|
itoolsdatadir = $(libsubdir)/install-tools
|
|
|
|
|
install-itoolsdirs: installdirs
|
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(itoolsdatadir)/include
|
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(itoolsdir)
|
|
|
|
|
|
1993-01-14 21:10:31 +01:00
|
|
|
|
# Install the include directory using tar.
|
2000-02-27 01:10:15 +01:00
|
|
|
|
install-headers-tar: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
|
1999-04-03 15:01:48 +02:00
|
|
|
|
# We use `pwd`/include instead of just include to problems with CDPATH
|
|
|
|
|
# Unless a full pathname is provided, some shells would print the new CWD,
|
|
|
|
|
# found in CDPATH, corrupting the output. We could just redirect the
|
|
|
|
|
# output of `cd', but some shells lose on redirection within `()'s
|
2003-07-04 21:45:55 +02:00
|
|
|
|
(cd `${PWD_COMMAND}`/include ; \
|
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.
From-SVN: r61076
2003-01-09 09:00:41 +01:00
|
|
|
|
tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include; tar xpf - )
|
2007-02-27 21:32:13 +01:00
|
|
|
|
(cd `${PWD_COMMAND}`/include-fixed ; \
|
|
|
|
|
tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include-fixed; tar xpf - )
|
1993-07-02 07:12:45 +02:00
|
|
|
|
# /bin/sh on some systems returns the status of the first tar,
|
|
|
|
|
# and that can lose with GNU tar which always writes a full block.
|
|
|
|
|
# So use `exit 0' to ignore its exit status.
|
1993-01-14 21:10:31 +01:00
|
|
|
|
|
|
|
|
|
# Install the include directory using cpio.
|
2000-02-27 01:10:15 +01:00
|
|
|
|
install-headers-cpio: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
|
1999-04-03 15:01:48 +02:00
|
|
|
|
# See discussion about the use of `pwd` above
|
2003-07-04 21:45:55 +02:00
|
|
|
|
cd `${PWD_COMMAND}`/include ; \
|
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.
From-SVN: r61076
2003-01-09 09:00:41 +01:00
|
|
|
|
find . -print | cpio -pdum $(DESTDIR)$(libsubdir)/include
|
2007-02-27 21:32:13 +01:00
|
|
|
|
cd `${PWD_COMMAND}`/include-fixed ; \
|
|
|
|
|
find . -print | cpio -pdum $(DESTDIR)$(libsubdir)/include-fixed
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2002-01-26 00:46:14 +01:00
|
|
|
|
# Install the include directory using cp.
|
|
|
|
|
install-headers-cp: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
|
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.
From-SVN: r61076
2003-01-09 09:00:41 +01:00
|
|
|
|
cp -p -r include $(DESTDIR)$(libsubdir)
|
2007-02-27 21:32:13 +01:00
|
|
|
|
cp -p -r include-fixed $(DESTDIR)$(libsubdir)
|
2002-01-26 00:46:14 +01:00
|
|
|
|
|
2006-02-22 21:21:14 +01:00
|
|
|
|
# Targets without dependencies, for use in prev-gcc during bootstrap.
|
|
|
|
|
real-install-headers-tar:
|
2007-02-27 21:32:13 +01:00
|
|
|
|
(cd `${PWD_COMMAND}`/include-fixed ; \
|
|
|
|
|
tar -cf - .; exit 0) | (cd $(DESTDIR)$(libsubdir)/include-fixed; tar xpf - )
|
2006-02-22 21:21:14 +01:00
|
|
|
|
|
|
|
|
|
real-install-headers-cpio:
|
2007-02-27 21:32:13 +01:00
|
|
|
|
cd `${PWD_COMMAND}`/include-fixed ; \
|
|
|
|
|
find . -print | cpio -pdum $(DESTDIR)$(libsubdir)/include-fixed
|
2006-02-22 21:21:14 +01:00
|
|
|
|
|
|
|
|
|
real-install-headers-cp:
|
2007-02-27 21:32:13 +01:00
|
|
|
|
cp -p -r include-fixed $(DESTDIR)$(libsubdir)
|
2006-02-22 21:21:14 +01:00
|
|
|
|
|
2004-11-05 05:49:19 +01:00
|
|
|
|
# Install supporting files for fixincludes to be run later.
|
2005-03-21 18:58:06 +01:00
|
|
|
|
install-mkheaders: stmp-int-hdrs $(STMP_FIXPROTO) install-itoolsdirs \
|
2007-03-06 16:50:28 +01:00
|
|
|
|
macro_list fixinc_list
|
2004-11-05 05:49:19 +01:00
|
|
|
|
$(INSTALL_DATA) $(srcdir)/gsyslimits.h \
|
|
|
|
|
$(DESTDIR)$(itoolsdatadir)/gsyslimits.h
|
|
|
|
|
$(INSTALL_DATA) macro_list $(DESTDIR)$(itoolsdatadir)/macro_list
|
2007-03-06 16:50:28 +01:00
|
|
|
|
$(INSTALL_DATA) fixinc_list $(DESTDIR)$(itoolsdatadir)/fixinc_list
|
|
|
|
|
set -e; for ml in `cat fixinc_list`; do \
|
|
|
|
|
multi_dir=`echo $${ml} | sed -e 's/^[^;]*;//'`; \
|
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(itoolsdatadir)/include$${multi_dir}; \
|
|
|
|
|
$(INSTALL_DATA) include-fixed$${multidir}/limits.h $(DESTDIR)$(itoolsdatadir)/include$${multi_dir}/limits.h; \
|
|
|
|
|
done
|
|
|
|
|
$(INSTALL_SCRIPT) $(srcdir)/../mkinstalldirs \
|
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.
From-SVN: r61076
2003-01-09 09:00:41 +01:00
|
|
|
|
$(DESTDIR)$(itoolsdir)/mkinstalldirs ; \
|
2007-03-06 16:50:28 +01:00
|
|
|
|
if [ x$(STMP_FIXPROTO) != x ] ; then \
|
2003-06-16 21:00:37 +02:00
|
|
|
|
$(INSTALL_SCRIPT) $(srcdir)/fixproto $(DESTDIR)$(itoolsdir)/fixproto ; \
|
2004-09-22 13:21:21 +02:00
|
|
|
|
$(INSTALL_PROGRAM) build/fix-header$(build_exeext) \
|
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.
From-SVN: r61076
2003-01-09 09:00:41 +01:00
|
|
|
|
$(DESTDIR)$(itoolsdir)/fix-header$(build_exeext) ; \
|
Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
2002-05-26 Geoffrey Keating <geoffk@redhat.com>
* Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
(mkheaders): New rule.
(install-mkheaders): New rule.
* configure.in (all_outputs): Add mkheaders.
* configure: Regenerate.
* mkheaders.in: New file.
Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.880
diff -p -u -p -r1.880 Makefile.in
--- gcc/Makefile.in 25 May 2002 22:01:40 -0000 1.880
+++ gcc/Makefile.in 27 May 2002 04:14:19 -0000
@@ -434,7 +434,7 @@ FLOAT_H=@float_h_file@
LIBCONVERT =
# Control whether header files are installed.
-INSTALL_HEADERS=install-headers
+INSTALL_HEADERS=install-headers install-mkheaders
# Control whether Info documentation is built and installed.
BUILD_INFO = @BUILD_INFO@
@@ -878,6 +878,9 @@ gccbug: $(srcdir)/gccbug.in
mklibgcc: $(srcdir)/mklibgcc.in
CONFIG_FILES=mklibgcc CONFIG_HEADERS= ./config.status
+mkheaders: $(srcdir)/mkheaders.in
+ CONFIG_FILES=mkheaders CONFIG_HEADERS= ./config.status
+
# cstamp-h.in controls rebuilding of config.in.
# It is named cstamp-h.in and not stamp-h.in so the mostlyclean rule doesn't
# delete it. A stamp file is needed as autoheader won't update the file if
@@ -2839,6 +2842,47 @@ install-headers-cpio: stmp-int-hdrs $(ST
# Install the include directory using cp.
install-headers-cp: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
cp -p -r include $(libsubdir)
+
+itoolsdir = $(libsubdir)/install-tools
+# Don't install the headers. Instead, install appropriate scripts
+# and supporting files for fixincludes to be run later.
+install-mkheaders: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir \
+ mkheaders xlimits.h
+ -rm -rf $(itoolsdir)
+ $(SHELL) $(srcdir)/mkinstalldirs $(itoolsdir)/include
+ for file in $(USER_H); do \
+ realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
+ $(INSTALL_DATA) $$file \
+ $(itoolsdir)/include/$$realfile ; \
+ done
+ if [ x$(FLOAT_H) != xMakefile.in ]; then \
+ $(INSTALL_DATA) $(srcdir)/config/$(FLOAT_H) \
+ $(itoolsdir)/include/float.h ; \
+ else :; fi
+ $(INSTALL_DATA) xlimits.h $(itoolsdir)/include/limits.h
+ if [ x$(STMP_FIXINC) != x ] ; then \
+ $(INSTALL_DATA) $(srcdir)/README-fixinc \
+ $(itoolsdir)/include/README ; \
+ $(INSTALL_PROGRAM) fixinc.sh $(itoolsdir)/fixinc.sh ; \
+ $(INSTALL_PROGRAM) fixinc/fixincl $(itoolsdir)/fixincl ; \
+ $(INSTALL_DATA) $(srcdir)/gsyslimits.h $(itoolsdir)/gsyslimits.h ; \
+ else :; fi
+ if [ x$(STMP_FIXPROTO) != x ] ; then \
+ $(INSTALL_PROGRAM) $(srcdir)/mkinstalldirs \
+ $(itoolsdir)/mkinstalldirs ; \
+ $(INSTALL_PROGRAM) $(srcdir)/fixproto $(itoolsdir)/fixproto ; \
+ $(INSTALL_PROGRAM) fix-header$(build_exeext) \
+ $(itoolsdir)/fix-header$(build_exeext) ; \
+ else :; fi
+ $(INSTALL_PROGRAM) mkheaders $(itoolsdir)/mkheaders
+ echo 'SYSTEM_HEADER_DIR="$(SYSTEM_HEADER_DIR)"' \
+ > $(itoolsdir)/mkheaders.conf
+ echo 'OTHER_FIXINCLUDES_DIRS="$(OTHER_FIXINCLUDES_DIRS)"' \
+ >> $(itoolsdir)/mkheaders.conf
+ echo 'FIXPROTO_DEFINES="$(FIXPROTO_DEFINES)"' \
+ >> $(itoolsdir)/mkheaders.conf
+ echo 'STMP_FIXPROTO="$(STMP_FIXPROTO)"' >> $(itoolsdir)/mkheaders.conf
+ echo 'STMP_FIXINC="$(STMP_FIXINC)"' >> $(itoolsdir)/mkheaders.conf
# Use this target to install the program `collect2' under the name `collect2'.
install-collect2: collect2 installdirs
Index: gcc/configure
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure,v
retrieving revision 1.606
diff -p -u -p -r1.606 configure
--- gcc/configure 25 May 2002 19:51:40 -0000 1.606
+++ gcc/configure 27 May 2002 04:14:21 -0000
@@ -8065,7 +8065,7 @@ all_languages=
all_boot_languages=
all_compilers=
all_stagestuff=
-all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc'
+all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders'
# List of language makefile fragments.
all_lang_makefiles=
Index: gcc/configure.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.in,v
retrieving revision 1.593
diff -p -u -p -r1.593 configure.in
--- gcc/configure.in 25 May 2002 19:51:41 -0000 1.593
+++ gcc/configure.in 27 May 2002 04:14:21 -0000
@@ -2312,7 +2312,7 @@ all_languages=
all_boot_languages=
all_compilers=
all_stagestuff=
-all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc'
+all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders'
# List of language makefile fragments.
all_lang_makefiles=
Index: gcc/mkheaders.in
===================================================================
RCS file: gcc/mkheaders.in
diff -N gcc/mkheaders.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ gcc/mkheaders.in 27 May 2002 04:14:21 -0000
@@ -0,0 +1,101 @@
+#!/bin/sh
+
+# Copyright (C) 2002 Free Software Foundation, Inc.
+
+#This file is part of GCC.
+
+#GCC is free software; you can redistribute it and/or modify it under
+#the terms of the GNU General Public License as published by the Free
+#Software Foundation; either version 2, or (at your option) any later
+#version.
+
+#GCC is distributed in the hope that it will be useful, but WITHOUT
+#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+#FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+#for more details.
+
+#You should have received a copy of the GNU General Public License
+#along with GCC; see the file COPYING. If not, write to the Free
+#Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+#02111-1307, USA.
+
+# Basic information
+target=@target@
+target_alias=@target_alias@
+version=@gcc_version@
+
+VERBOSE=0
+while [ x$1 = x-v ] ; do
+ shift
+ VERBOSE=`expr $VERBOSE + 1`
+done
+export VERBOSE
+
+if [ x$1 = x--help ] ; then
+ echo "Usage: mkheaders [options] [prefix]"
+ echo "Options:"
+ echo " -v Print more output (may be repeated for even more output)"
+ echo " --help This help"
+ echo " --version Print version information"
+ exit 0
+fi
+
+if [ x$1 = x--version ] ; then
+ echo "mkheaders (GCC) version $version"
+ echo "Copyright 2002 Free Software Foundation, Inc."
+ echo "This program is free software; you may redistribute it under the"
+ echo "terms of the GNU General Public License. This program has"
+ echo "absolutely no warranty."
+ exit 0
+fi
+
+# Common prefix for installation directories.
+if [ x$1 != x ] ; then
+ prefix=$1
+else
+ prefix=@prefix@
+fi
+# Directory in which to put localized header files. On the systems with
+# gcc as the native cc, `local_prefix' may not be `prefix' which is
+# `/usr'.
+# NOTE: local_prefix *should not* default from prefix.
+local_prefix=@local_prefix@
+# Directory in which to put host dependent programs and libraries
+exec_prefix=@exec_prefix@
+# Directory in which to put the directories used by the compiler.
+libdir=@libdir@
+# Directory in which the compiler finds executables, libraries, etc.
+libsubdir=${libdir}/gcc-lib/${target_alias}/${version}
+# Since gcc_tooldir does not exist at build-time, use -B${build_tooldir}/bin/
+build_tooldir=${exec_prefix}/${target_alias}
+# Directory to search for site-specific includes.
+local_includedir=${local_prefix}/include
+includedir=${prefix}/include
+
+itoolsdir=${libsubdir}/install-tools
+incdir=${libsubdir}/include
+
+. ${itoolsdir}/mkheaders.conf
+
+cd ${itoolsdir}
+rm -rf ${incdir}/*
+
+if [ x${STMP_FIXINC} != x ] ; then
+ TARGET_MACHINE="${target}" target_canonical="${target}" \
+ ${SHELL} ./fixinc.sh ${incdir} \
+ ${SYSTEM_HEADER_DIR} ${OTHER_FIXINCLUDES_DIRS}
+ rm -f ${incdir}/syslimits.h
+ if [ -f ${incdir}/limits.h ]; then
+ mv ${incdir}/limits.h ${incdir}/syslimits.h
+ else
+ cp gsyslimits.h ${incdir}/syslimits.h
+ fi
+fi
+
+cp include/* ${incdir}
+
+if [ x${STMP_FIXPROTO} != x ] ; then
+ mkinstalldirs="${SHELL} ${itoolsdir}/mkinstalldirs"
+ export FIXPROTO_DEFINES mkinstalldirs
+ ${SHELL} fixproto ${incdir} ${incdir} ${SYSTEM_HEADER_DIR} || exit 1
+fi
From-SVN: r53907
2002-05-27 06:24:54 +02:00
|
|
|
|
else :; fi
|
2007-03-06 16:50:28 +01:00
|
|
|
|
sysroot_headers_suffix='$${sysroot_headers_suffix}'; \
|
|
|
|
|
echo 'SYSTEM_HEADER_DIR="'"$(SYSTEM_HEADER_DIR)"'"' \
|
2003-08-01 01:36:43 +02:00
|
|
|
|
> $(DESTDIR)$(itoolsdatadir)/mkheaders.conf
|
Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
2002-05-26 Geoffrey Keating <geoffk@redhat.com>
* Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
(mkheaders): New rule.
(install-mkheaders): New rule.
* configure.in (all_outputs): Add mkheaders.
* configure: Regenerate.
* mkheaders.in: New file.
Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.880
diff -p -u -p -r1.880 Makefile.in
--- gcc/Makefile.in 25 May 2002 22:01:40 -0000 1.880
+++ gcc/Makefile.in 27 May 2002 04:14:19 -0000
@@ -434,7 +434,7 @@ FLOAT_H=@float_h_file@
LIBCONVERT =
# Control whether header files are installed.
-INSTALL_HEADERS=install-headers
+INSTALL_HEADERS=install-headers install-mkheaders
# Control whether Info documentation is built and installed.
BUILD_INFO = @BUILD_INFO@
@@ -878,6 +878,9 @@ gccbug: $(srcdir)/gccbug.in
mklibgcc: $(srcdir)/mklibgcc.in
CONFIG_FILES=mklibgcc CONFIG_HEADERS= ./config.status
+mkheaders: $(srcdir)/mkheaders.in
+ CONFIG_FILES=mkheaders CONFIG_HEADERS= ./config.status
+
# cstamp-h.in controls rebuilding of config.in.
# It is named cstamp-h.in and not stamp-h.in so the mostlyclean rule doesn't
# delete it. A stamp file is needed as autoheader won't update the file if
@@ -2839,6 +2842,47 @@ install-headers-cpio: stmp-int-hdrs $(ST
# Install the include directory using cp.
install-headers-cp: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
cp -p -r include $(libsubdir)
+
+itoolsdir = $(libsubdir)/install-tools
+# Don't install the headers. Instead, install appropriate scripts
+# and supporting files for fixincludes to be run later.
+install-mkheaders: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir \
+ mkheaders xlimits.h
+ -rm -rf $(itoolsdir)
+ $(SHELL) $(srcdir)/mkinstalldirs $(itoolsdir)/include
+ for file in $(USER_H); do \
+ realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
+ $(INSTALL_DATA) $$file \
+ $(itoolsdir)/include/$$realfile ; \
+ done
+ if [ x$(FLOAT_H) != xMakefile.in ]; then \
+ $(INSTALL_DATA) $(srcdir)/config/$(FLOAT_H) \
+ $(itoolsdir)/include/float.h ; \
+ else :; fi
+ $(INSTALL_DATA) xlimits.h $(itoolsdir)/include/limits.h
+ if [ x$(STMP_FIXINC) != x ] ; then \
+ $(INSTALL_DATA) $(srcdir)/README-fixinc \
+ $(itoolsdir)/include/README ; \
+ $(INSTALL_PROGRAM) fixinc.sh $(itoolsdir)/fixinc.sh ; \
+ $(INSTALL_PROGRAM) fixinc/fixincl $(itoolsdir)/fixincl ; \
+ $(INSTALL_DATA) $(srcdir)/gsyslimits.h $(itoolsdir)/gsyslimits.h ; \
+ else :; fi
+ if [ x$(STMP_FIXPROTO) != x ] ; then \
+ $(INSTALL_PROGRAM) $(srcdir)/mkinstalldirs \
+ $(itoolsdir)/mkinstalldirs ; \
+ $(INSTALL_PROGRAM) $(srcdir)/fixproto $(itoolsdir)/fixproto ; \
+ $(INSTALL_PROGRAM) fix-header$(build_exeext) \
+ $(itoolsdir)/fix-header$(build_exeext) ; \
+ else :; fi
+ $(INSTALL_PROGRAM) mkheaders $(itoolsdir)/mkheaders
+ echo 'SYSTEM_HEADER_DIR="$(SYSTEM_HEADER_DIR)"' \
+ > $(itoolsdir)/mkheaders.conf
+ echo 'OTHER_FIXINCLUDES_DIRS="$(OTHER_FIXINCLUDES_DIRS)"' \
+ >> $(itoolsdir)/mkheaders.conf
+ echo 'FIXPROTO_DEFINES="$(FIXPROTO_DEFINES)"' \
+ >> $(itoolsdir)/mkheaders.conf
+ echo 'STMP_FIXPROTO="$(STMP_FIXPROTO)"' >> $(itoolsdir)/mkheaders.conf
+ echo 'STMP_FIXINC="$(STMP_FIXINC)"' >> $(itoolsdir)/mkheaders.conf
# Use this target to install the program `collect2' under the name `collect2'.
install-collect2: collect2 installdirs
Index: gcc/configure
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure,v
retrieving revision 1.606
diff -p -u -p -r1.606 configure
--- gcc/configure 25 May 2002 19:51:40 -0000 1.606
+++ gcc/configure 27 May 2002 04:14:21 -0000
@@ -8065,7 +8065,7 @@ all_languages=
all_boot_languages=
all_compilers=
all_stagestuff=
-all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc'
+all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders'
# List of language makefile fragments.
all_lang_makefiles=
Index: gcc/configure.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.in,v
retrieving revision 1.593
diff -p -u -p -r1.593 configure.in
--- gcc/configure.in 25 May 2002 19:51:41 -0000 1.593
+++ gcc/configure.in 27 May 2002 04:14:21 -0000
@@ -2312,7 +2312,7 @@ all_languages=
all_boot_languages=
all_compilers=
all_stagestuff=
-all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc'
+all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders'
# List of language makefile fragments.
all_lang_makefiles=
Index: gcc/mkheaders.in
===================================================================
RCS file: gcc/mkheaders.in
diff -N gcc/mkheaders.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ gcc/mkheaders.in 27 May 2002 04:14:21 -0000
@@ -0,0 +1,101 @@
+#!/bin/sh
+
+# Copyright (C) 2002 Free Software Foundation, Inc.
+
+#This file is part of GCC.
+
+#GCC is free software; you can redistribute it and/or modify it under
+#the terms of the GNU General Public License as published by the Free
+#Software Foundation; either version 2, or (at your option) any later
+#version.
+
+#GCC is distributed in the hope that it will be useful, but WITHOUT
+#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+#FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+#for more details.
+
+#You should have received a copy of the GNU General Public License
+#along with GCC; see the file COPYING. If not, write to the Free
+#Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+#02111-1307, USA.
+
+# Basic information
+target=@target@
+target_alias=@target_alias@
+version=@gcc_version@
+
+VERBOSE=0
+while [ x$1 = x-v ] ; do
+ shift
+ VERBOSE=`expr $VERBOSE + 1`
+done
+export VERBOSE
+
+if [ x$1 = x--help ] ; then
+ echo "Usage: mkheaders [options] [prefix]"
+ echo "Options:"
+ echo " -v Print more output (may be repeated for even more output)"
+ echo " --help This help"
+ echo " --version Print version information"
+ exit 0
+fi
+
+if [ x$1 = x--version ] ; then
+ echo "mkheaders (GCC) version $version"
+ echo "Copyright 2002 Free Software Foundation, Inc."
+ echo "This program is free software; you may redistribute it under the"
+ echo "terms of the GNU General Public License. This program has"
+ echo "absolutely no warranty."
+ exit 0
+fi
+
+# Common prefix for installation directories.
+if [ x$1 != x ] ; then
+ prefix=$1
+else
+ prefix=@prefix@
+fi
+# Directory in which to put localized header files. On the systems with
+# gcc as the native cc, `local_prefix' may not be `prefix' which is
+# `/usr'.
+# NOTE: local_prefix *should not* default from prefix.
+local_prefix=@local_prefix@
+# Directory in which to put host dependent programs and libraries
+exec_prefix=@exec_prefix@
+# Directory in which to put the directories used by the compiler.
+libdir=@libdir@
+# Directory in which the compiler finds executables, libraries, etc.
+libsubdir=${libdir}/gcc-lib/${target_alias}/${version}
+# Since gcc_tooldir does not exist at build-time, use -B${build_tooldir}/bin/
+build_tooldir=${exec_prefix}/${target_alias}
+# Directory to search for site-specific includes.
+local_includedir=${local_prefix}/include
+includedir=${prefix}/include
+
+itoolsdir=${libsubdir}/install-tools
+incdir=${libsubdir}/include
+
+. ${itoolsdir}/mkheaders.conf
+
+cd ${itoolsdir}
+rm -rf ${incdir}/*
+
+if [ x${STMP_FIXINC} != x ] ; then
+ TARGET_MACHINE="${target}" target_canonical="${target}" \
+ ${SHELL} ./fixinc.sh ${incdir} \
+ ${SYSTEM_HEADER_DIR} ${OTHER_FIXINCLUDES_DIRS}
+ rm -f ${incdir}/syslimits.h
+ if [ -f ${incdir}/limits.h ]; then
+ mv ${incdir}/limits.h ${incdir}/syslimits.h
+ else
+ cp gsyslimits.h ${incdir}/syslimits.h
+ fi
+fi
+
+cp include/* ${incdir}
+
+if [ x${STMP_FIXPROTO} != x ] ; then
+ mkinstalldirs="${SHELL} ${itoolsdir}/mkinstalldirs"
+ export FIXPROTO_DEFINES mkinstalldirs
+ ${SHELL} fixproto ${incdir} ${incdir} ${SYSTEM_HEADER_DIR} || exit 1
+fi
From-SVN: r53907
2002-05-27 06:24:54 +02:00
|
|
|
|
echo 'OTHER_FIXINCLUDES_DIRS="$(OTHER_FIXINCLUDES_DIRS)"' \
|
2003-08-01 01:36:43 +02:00
|
|
|
|
>> $(DESTDIR)$(itoolsdatadir)/mkheaders.conf
|
Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
2002-05-26 Geoffrey Keating <geoffk@redhat.com>
* Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
(mkheaders): New rule.
(install-mkheaders): New rule.
* configure.in (all_outputs): Add mkheaders.
* configure: Regenerate.
* mkheaders.in: New file.
Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.880
diff -p -u -p -r1.880 Makefile.in
--- gcc/Makefile.in 25 May 2002 22:01:40 -0000 1.880
+++ gcc/Makefile.in 27 May 2002 04:14:19 -0000
@@ -434,7 +434,7 @@ FLOAT_H=@float_h_file@
LIBCONVERT =
# Control whether header files are installed.
-INSTALL_HEADERS=install-headers
+INSTALL_HEADERS=install-headers install-mkheaders
# Control whether Info documentation is built and installed.
BUILD_INFO = @BUILD_INFO@
@@ -878,6 +878,9 @@ gccbug: $(srcdir)/gccbug.in
mklibgcc: $(srcdir)/mklibgcc.in
CONFIG_FILES=mklibgcc CONFIG_HEADERS= ./config.status
+mkheaders: $(srcdir)/mkheaders.in
+ CONFIG_FILES=mkheaders CONFIG_HEADERS= ./config.status
+
# cstamp-h.in controls rebuilding of config.in.
# It is named cstamp-h.in and not stamp-h.in so the mostlyclean rule doesn't
# delete it. A stamp file is needed as autoheader won't update the file if
@@ -2839,6 +2842,47 @@ install-headers-cpio: stmp-int-hdrs $(ST
# Install the include directory using cp.
install-headers-cp: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
cp -p -r include $(libsubdir)
+
+itoolsdir = $(libsubdir)/install-tools
+# Don't install the headers. Instead, install appropriate scripts
+# and supporting files for fixincludes to be run later.
+install-mkheaders: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir \
+ mkheaders xlimits.h
+ -rm -rf $(itoolsdir)
+ $(SHELL) $(srcdir)/mkinstalldirs $(itoolsdir)/include
+ for file in $(USER_H); do \
+ realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
+ $(INSTALL_DATA) $$file \
+ $(itoolsdir)/include/$$realfile ; \
+ done
+ if [ x$(FLOAT_H) != xMakefile.in ]; then \
+ $(INSTALL_DATA) $(srcdir)/config/$(FLOAT_H) \
+ $(itoolsdir)/include/float.h ; \
+ else :; fi
+ $(INSTALL_DATA) xlimits.h $(itoolsdir)/include/limits.h
+ if [ x$(STMP_FIXINC) != x ] ; then \
+ $(INSTALL_DATA) $(srcdir)/README-fixinc \
+ $(itoolsdir)/include/README ; \
+ $(INSTALL_PROGRAM) fixinc.sh $(itoolsdir)/fixinc.sh ; \
+ $(INSTALL_PROGRAM) fixinc/fixincl $(itoolsdir)/fixincl ; \
+ $(INSTALL_DATA) $(srcdir)/gsyslimits.h $(itoolsdir)/gsyslimits.h ; \
+ else :; fi
+ if [ x$(STMP_FIXPROTO) != x ] ; then \
+ $(INSTALL_PROGRAM) $(srcdir)/mkinstalldirs \
+ $(itoolsdir)/mkinstalldirs ; \
+ $(INSTALL_PROGRAM) $(srcdir)/fixproto $(itoolsdir)/fixproto ; \
+ $(INSTALL_PROGRAM) fix-header$(build_exeext) \
+ $(itoolsdir)/fix-header$(build_exeext) ; \
+ else :; fi
+ $(INSTALL_PROGRAM) mkheaders $(itoolsdir)/mkheaders
+ echo 'SYSTEM_HEADER_DIR="$(SYSTEM_HEADER_DIR)"' \
+ > $(itoolsdir)/mkheaders.conf
+ echo 'OTHER_FIXINCLUDES_DIRS="$(OTHER_FIXINCLUDES_DIRS)"' \
+ >> $(itoolsdir)/mkheaders.conf
+ echo 'FIXPROTO_DEFINES="$(FIXPROTO_DEFINES)"' \
+ >> $(itoolsdir)/mkheaders.conf
+ echo 'STMP_FIXPROTO="$(STMP_FIXPROTO)"' >> $(itoolsdir)/mkheaders.conf
+ echo 'STMP_FIXINC="$(STMP_FIXINC)"' >> $(itoolsdir)/mkheaders.conf
# Use this target to install the program `collect2' under the name `collect2'.
install-collect2: collect2 installdirs
Index: gcc/configure
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure,v
retrieving revision 1.606
diff -p -u -p -r1.606 configure
--- gcc/configure 25 May 2002 19:51:40 -0000 1.606
+++ gcc/configure 27 May 2002 04:14:21 -0000
@@ -8065,7 +8065,7 @@ all_languages=
all_boot_languages=
all_compilers=
all_stagestuff=
-all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc'
+all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders'
# List of language makefile fragments.
all_lang_makefiles=
Index: gcc/configure.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.in,v
retrieving revision 1.593
diff -p -u -p -r1.593 configure.in
--- gcc/configure.in 25 May 2002 19:51:41 -0000 1.593
+++ gcc/configure.in 27 May 2002 04:14:21 -0000
@@ -2312,7 +2312,7 @@ all_languages=
all_boot_languages=
all_compilers=
all_stagestuff=
-all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc'
+all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders'
# List of language makefile fragments.
all_lang_makefiles=
Index: gcc/mkheaders.in
===================================================================
RCS file: gcc/mkheaders.in
diff -N gcc/mkheaders.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ gcc/mkheaders.in 27 May 2002 04:14:21 -0000
@@ -0,0 +1,101 @@
+#!/bin/sh
+
+# Copyright (C) 2002 Free Software Foundation, Inc.
+
+#This file is part of GCC.
+
+#GCC is free software; you can redistribute it and/or modify it under
+#the terms of the GNU General Public License as published by the Free
+#Software Foundation; either version 2, or (at your option) any later
+#version.
+
+#GCC is distributed in the hope that it will be useful, but WITHOUT
+#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+#FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+#for more details.
+
+#You should have received a copy of the GNU General Public License
+#along with GCC; see the file COPYING. If not, write to the Free
+#Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+#02111-1307, USA.
+
+# Basic information
+target=@target@
+target_alias=@target_alias@
+version=@gcc_version@
+
+VERBOSE=0
+while [ x$1 = x-v ] ; do
+ shift
+ VERBOSE=`expr $VERBOSE + 1`
+done
+export VERBOSE
+
+if [ x$1 = x--help ] ; then
+ echo "Usage: mkheaders [options] [prefix]"
+ echo "Options:"
+ echo " -v Print more output (may be repeated for even more output)"
+ echo " --help This help"
+ echo " --version Print version information"
+ exit 0
+fi
+
+if [ x$1 = x--version ] ; then
+ echo "mkheaders (GCC) version $version"
+ echo "Copyright 2002 Free Software Foundation, Inc."
+ echo "This program is free software; you may redistribute it under the"
+ echo "terms of the GNU General Public License. This program has"
+ echo "absolutely no warranty."
+ exit 0
+fi
+
+# Common prefix for installation directories.
+if [ x$1 != x ] ; then
+ prefix=$1
+else
+ prefix=@prefix@
+fi
+# Directory in which to put localized header files. On the systems with
+# gcc as the native cc, `local_prefix' may not be `prefix' which is
+# `/usr'.
+# NOTE: local_prefix *should not* default from prefix.
+local_prefix=@local_prefix@
+# Directory in which to put host dependent programs and libraries
+exec_prefix=@exec_prefix@
+# Directory in which to put the directories used by the compiler.
+libdir=@libdir@
+# Directory in which the compiler finds executables, libraries, etc.
+libsubdir=${libdir}/gcc-lib/${target_alias}/${version}
+# Since gcc_tooldir does not exist at build-time, use -B${build_tooldir}/bin/
+build_tooldir=${exec_prefix}/${target_alias}
+# Directory to search for site-specific includes.
+local_includedir=${local_prefix}/include
+includedir=${prefix}/include
+
+itoolsdir=${libsubdir}/install-tools
+incdir=${libsubdir}/include
+
+. ${itoolsdir}/mkheaders.conf
+
+cd ${itoolsdir}
+rm -rf ${incdir}/*
+
+if [ x${STMP_FIXINC} != x ] ; then
+ TARGET_MACHINE="${target}" target_canonical="${target}" \
+ ${SHELL} ./fixinc.sh ${incdir} \
+ ${SYSTEM_HEADER_DIR} ${OTHER_FIXINCLUDES_DIRS}
+ rm -f ${incdir}/syslimits.h
+ if [ -f ${incdir}/limits.h ]; then
+ mv ${incdir}/limits.h ${incdir}/syslimits.h
+ else
+ cp gsyslimits.h ${incdir}/syslimits.h
+ fi
+fi
+
+cp include/* ${incdir}
+
+if [ x${STMP_FIXPROTO} != x ] ; then
+ mkinstalldirs="${SHELL} ${itoolsdir}/mkinstalldirs"
+ export FIXPROTO_DEFINES mkinstalldirs
+ ${SHELL} fixproto ${incdir} ${incdir} ${SYSTEM_HEADER_DIR} || exit 1
+fi
From-SVN: r53907
2002-05-27 06:24:54 +02:00
|
|
|
|
echo 'FIXPROTO_DEFINES="$(FIXPROTO_DEFINES)"' \
|
2003-08-01 01:36:43 +02:00
|
|
|
|
>> $(DESTDIR)$(itoolsdatadir)/mkheaders.conf
|
|
|
|
|
echo 'STMP_FIXPROTO="$(STMP_FIXPROTO)"' \
|
|
|
|
|
>> $(DESTDIR)$(itoolsdatadir)/mkheaders.conf
|
|
|
|
|
echo 'STMP_FIXINC="$(STMP_FIXINC)"' \
|
|
|
|
|
>> $(DESTDIR)$(itoolsdatadir)/mkheaders.conf
|
Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
2002-05-26 Geoffrey Keating <geoffk@redhat.com>
* Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'.
(mkheaders): New rule.
(install-mkheaders): New rule.
* configure.in (all_outputs): Add mkheaders.
* configure: Regenerate.
* mkheaders.in: New file.
Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.880
diff -p -u -p -r1.880 Makefile.in
--- gcc/Makefile.in 25 May 2002 22:01:40 -0000 1.880
+++ gcc/Makefile.in 27 May 2002 04:14:19 -0000
@@ -434,7 +434,7 @@ FLOAT_H=@float_h_file@
LIBCONVERT =
# Control whether header files are installed.
-INSTALL_HEADERS=install-headers
+INSTALL_HEADERS=install-headers install-mkheaders
# Control whether Info documentation is built and installed.
BUILD_INFO = @BUILD_INFO@
@@ -878,6 +878,9 @@ gccbug: $(srcdir)/gccbug.in
mklibgcc: $(srcdir)/mklibgcc.in
CONFIG_FILES=mklibgcc CONFIG_HEADERS= ./config.status
+mkheaders: $(srcdir)/mkheaders.in
+ CONFIG_FILES=mkheaders CONFIG_HEADERS= ./config.status
+
# cstamp-h.in controls rebuilding of config.in.
# It is named cstamp-h.in and not stamp-h.in so the mostlyclean rule doesn't
# delete it. A stamp file is needed as autoheader won't update the file if
@@ -2839,6 +2842,47 @@ install-headers-cpio: stmp-int-hdrs $(ST
# Install the include directory using cp.
install-headers-cp: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir
cp -p -r include $(libsubdir)
+
+itoolsdir = $(libsubdir)/install-tools
+# Don't install the headers. Instead, install appropriate scripts
+# and supporting files for fixincludes to be run later.
+install-mkheaders: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir \
+ mkheaders xlimits.h
+ -rm -rf $(itoolsdir)
+ $(SHELL) $(srcdir)/mkinstalldirs $(itoolsdir)/include
+ for file in $(USER_H); do \
+ realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \
+ $(INSTALL_DATA) $$file \
+ $(itoolsdir)/include/$$realfile ; \
+ done
+ if [ x$(FLOAT_H) != xMakefile.in ]; then \
+ $(INSTALL_DATA) $(srcdir)/config/$(FLOAT_H) \
+ $(itoolsdir)/include/float.h ; \
+ else :; fi
+ $(INSTALL_DATA) xlimits.h $(itoolsdir)/include/limits.h
+ if [ x$(STMP_FIXINC) != x ] ; then \
+ $(INSTALL_DATA) $(srcdir)/README-fixinc \
+ $(itoolsdir)/include/README ; \
+ $(INSTALL_PROGRAM) fixinc.sh $(itoolsdir)/fixinc.sh ; \
+ $(INSTALL_PROGRAM) fixinc/fixincl $(itoolsdir)/fixincl ; \
+ $(INSTALL_DATA) $(srcdir)/gsyslimits.h $(itoolsdir)/gsyslimits.h ; \
+ else :; fi
+ if [ x$(STMP_FIXPROTO) != x ] ; then \
+ $(INSTALL_PROGRAM) $(srcdir)/mkinstalldirs \
+ $(itoolsdir)/mkinstalldirs ; \
+ $(INSTALL_PROGRAM) $(srcdir)/fixproto $(itoolsdir)/fixproto ; \
+ $(INSTALL_PROGRAM) fix-header$(build_exeext) \
+ $(itoolsdir)/fix-header$(build_exeext) ; \
+ else :; fi
+ $(INSTALL_PROGRAM) mkheaders $(itoolsdir)/mkheaders
+ echo 'SYSTEM_HEADER_DIR="$(SYSTEM_HEADER_DIR)"' \
+ > $(itoolsdir)/mkheaders.conf
+ echo 'OTHER_FIXINCLUDES_DIRS="$(OTHER_FIXINCLUDES_DIRS)"' \
+ >> $(itoolsdir)/mkheaders.conf
+ echo 'FIXPROTO_DEFINES="$(FIXPROTO_DEFINES)"' \
+ >> $(itoolsdir)/mkheaders.conf
+ echo 'STMP_FIXPROTO="$(STMP_FIXPROTO)"' >> $(itoolsdir)/mkheaders.conf
+ echo 'STMP_FIXINC="$(STMP_FIXINC)"' >> $(itoolsdir)/mkheaders.conf
# Use this target to install the program `collect2' under the name `collect2'.
install-collect2: collect2 installdirs
Index: gcc/configure
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure,v
retrieving revision 1.606
diff -p -u -p -r1.606 configure
--- gcc/configure 25 May 2002 19:51:40 -0000 1.606
+++ gcc/configure 27 May 2002 04:14:21 -0000
@@ -8065,7 +8065,7 @@ all_languages=
all_boot_languages=
all_compilers=
all_stagestuff=
-all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc'
+all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders'
# List of language makefile fragments.
all_lang_makefiles=
Index: gcc/configure.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.in,v
retrieving revision 1.593
diff -p -u -p -r1.593 configure.in
--- gcc/configure.in 25 May 2002 19:51:41 -0000 1.593
+++ gcc/configure.in 27 May 2002 04:14:21 -0000
@@ -2312,7 +2312,7 @@ all_languages=
all_boot_languages=
all_compilers=
all_stagestuff=
-all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc'
+all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders'
# List of language makefile fragments.
all_lang_makefiles=
Index: gcc/mkheaders.in
===================================================================
RCS file: gcc/mkheaders.in
diff -N gcc/mkheaders.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ gcc/mkheaders.in 27 May 2002 04:14:21 -0000
@@ -0,0 +1,101 @@
+#!/bin/sh
+
+# Copyright (C) 2002 Free Software Foundation, Inc.
+
+#This file is part of GCC.
+
+#GCC is free software; you can redistribute it and/or modify it under
+#the terms of the GNU General Public License as published by the Free
+#Software Foundation; either version 2, or (at your option) any later
+#version.
+
+#GCC is distributed in the hope that it will be useful, but WITHOUT
+#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+#FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+#for more details.
+
+#You should have received a copy of the GNU General Public License
+#along with GCC; see the file COPYING. If not, write to the Free
+#Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+#02111-1307, USA.
+
+# Basic information
+target=@target@
+target_alias=@target_alias@
+version=@gcc_version@
+
+VERBOSE=0
+while [ x$1 = x-v ] ; do
+ shift
+ VERBOSE=`expr $VERBOSE + 1`
+done
+export VERBOSE
+
+if [ x$1 = x--help ] ; then
+ echo "Usage: mkheaders [options] [prefix]"
+ echo "Options:"
+ echo " -v Print more output (may be repeated for even more output)"
+ echo " --help This help"
+ echo " --version Print version information"
+ exit 0
+fi
+
+if [ x$1 = x--version ] ; then
+ echo "mkheaders (GCC) version $version"
+ echo "Copyright 2002 Free Software Foundation, Inc."
+ echo "This program is free software; you may redistribute it under the"
+ echo "terms of the GNU General Public License. This program has"
+ echo "absolutely no warranty."
+ exit 0
+fi
+
+# Common prefix for installation directories.
+if [ x$1 != x ] ; then
+ prefix=$1
+else
+ prefix=@prefix@
+fi
+# Directory in which to put localized header files. On the systems with
+# gcc as the native cc, `local_prefix' may not be `prefix' which is
+# `/usr'.
+# NOTE: local_prefix *should not* default from prefix.
+local_prefix=@local_prefix@
+# Directory in which to put host dependent programs and libraries
+exec_prefix=@exec_prefix@
+# Directory in which to put the directories used by the compiler.
+libdir=@libdir@
+# Directory in which the compiler finds executables, libraries, etc.
+libsubdir=${libdir}/gcc-lib/${target_alias}/${version}
+# Since gcc_tooldir does not exist at build-time, use -B${build_tooldir}/bin/
+build_tooldir=${exec_prefix}/${target_alias}
+# Directory to search for site-specific includes.
+local_includedir=${local_prefix}/include
+includedir=${prefix}/include
+
+itoolsdir=${libsubdir}/install-tools
+incdir=${libsubdir}/include
+
+. ${itoolsdir}/mkheaders.conf
+
+cd ${itoolsdir}
+rm -rf ${incdir}/*
+
+if [ x${STMP_FIXINC} != x ] ; then
+ TARGET_MACHINE="${target}" target_canonical="${target}" \
+ ${SHELL} ./fixinc.sh ${incdir} \
+ ${SYSTEM_HEADER_DIR} ${OTHER_FIXINCLUDES_DIRS}
+ rm -f ${incdir}/syslimits.h
+ if [ -f ${incdir}/limits.h ]; then
+ mv ${incdir}/limits.h ${incdir}/syslimits.h
+ else
+ cp gsyslimits.h ${incdir}/syslimits.h
+ fi
+fi
+
+cp include/* ${incdir}
+
+if [ x${STMP_FIXPROTO} != x ] ; then
+ mkinstalldirs="${SHELL} ${itoolsdir}/mkinstalldirs"
+ export FIXPROTO_DEFINES mkinstalldirs
+ ${SHELL} fixproto ${incdir} ${incdir} ${SYSTEM_HEADER_DIR} || exit 1
+fi
From-SVN: r53907
2002-05-27 06:24:54 +02:00
|
|
|
|
|
1998-04-06 22:51:28 +02:00
|
|
|
|
# Use this target to install the program `collect2' under the name `collect2'.
|
1996-09-30 00:11:33 +02:00
|
|
|
|
install-collect2: collect2 installdirs
|
2003-08-01 01:36:43 +02:00
|
|
|
|
$(INSTALL_PROGRAM) collect2$(exeext) $(DESTDIR)$(libexecsubdir)/collect2$(exeext)
|
1992-03-20 23:22:14 +01:00
|
|
|
|
# Install the driver program as $(libsubdir)/gcc for collect2.
|
2003-08-01 01:36:43 +02:00
|
|
|
|
$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(libexecsubdir)/gcc$(exeext)
|
1992-03-20 23:22:14 +01:00
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# Cancel installation by deleting the installed files.
|
intl: New directory; see intl/ChangeLog for details.
top:
* intl: New directory; see intl/ChangeLog for details.
* ABOUT-NLS, config.rpath: Import from gettext 0.12.1.
* Makefile.tpl: all-gcc depends on maybe-all-intl.
* Makefile.in: Regenerate.
config:
* gettext.m4: New file - copy of gettext.m4 from binutils
CVS, with added AC_ISC_POSIX macro from gcc/aclocal.m4.
gcc:
* ABOUT-NLS: Delete.
* intl: Delete entire directory.
* aclocal.m4: Include ../config/gettext.m4. Delete
AC_ISC_POSIX, AM_LANGINFO_CODESET, jm_GLIBC21, AM_LC_MESSAGES,
AM_PATH_PROG_WITH_TEST, AM_WITH_NLS, and AM_GNU_GETTEXT.
* configure.in: Use CY_GNU_GETTEXT, not AM_GNU_GETTEXT.
Remove intl/Makefile from all_outputs.
* configure, config.in: Regenerate.
* Makefile.in: Expunge all references to intl subdirectory.
Add -I../intl to INCLUDES.
* intl.h: Include libintl.h if and only if ENABLE_NLS is defined.
intl:
* Makefile.in: Remove unnecessary capabilities for
installation, build of shared libraries, generation of
distribution tarballs, etc. Fix all the places that rely on
the parent directory. Don't generate libgnuintl.h from
anything; do generate $(objdir)/libintl.h from libgnuintl.h if
necessary. Adjust DEFS for use of config.h.
* libgnuintl.h.in: Rename libgnuintl.h.
* README: New file.
* config.charset, ref-add.sin, ref-del.sin: Delete (unused).
* COPYING.LIB-2.0, COPYING.LIB-2.1: Delete (redundant).
* aclocal.m4: New; generated per instructions in gettext manual.
* configure.in: New; written from scratch for this configuration.
* configure, config.h.in: Generated.
contrib:
* gcc_update: Remove gcc/intl/plural.c from list.
Add new generated files intl/plural.c, intl/configure,
intl/config.h.in.
From-SVN: r68928
2003-07-04 20:18:54 +02:00
|
|
|
|
uninstall: lang.uninstall
|
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.
From-SVN: r61076
2003-01-09 09:00:41 +01:00
|
|
|
|
-rm -rf $(DESTDIR)$(libsubdir)
|
2003-08-01 01:36:43 +02:00
|
|
|
|
-rm -rf $(DESTDIR)$(libexecsubdir)
|
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.
From-SVN: r61076
2003-01-09 09:00:41 +01:00
|
|
|
|
-rm -rf $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
|
|
|
|
|
-rm -f $(DESTDIR)$(bindir)/$(CPP_INSTALL_NAME)$(exeext)
|
2002-06-01 03:53:28 +02:00
|
|
|
|
-if [ x$(cpp_install_dir) != x ]; then \
|
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.
From-SVN: r61076
2003-01-09 09:00:41 +01:00
|
|
|
|
rm -f $(DESTDIR)$(prefix)/$(cpp_install_dir)/$(CPP_INSTALL_NAME)$(exeext); \
|
2002-06-01 03:53:28 +02:00
|
|
|
|
else true; fi
|
Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
(install-gcc-tooldir, install-cpp, installdirs,
install-common, install-driver, install-info, install-man,
install-headers, install-include-dir, install-headers-tar,
install-headers-cpio, install-headers-cp, install-mkheaders,
install-collect2, uninstall): Prepend $(DESTDIR) to
destination paths in all (un)installation commands.
(install-driver): Rewrite $(LN) commands to support DESTDIR
with "ln" as well as with "ln -s".
(installdirs): Simply use mkinstalldirs.
(install-libgcc, install-multilib): Also pass DESTDIR.
* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
installation destination variable ldir.
* config/alpha/t-osf4, config/arm/t-netbsd,
config/ia64/t-hpux, config/mips/t-iris5-6,
config/pa/t-hpux-shlib, config/rs6000/t-aix43,
config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
in the definition of SHLIB_INSTALL.
* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
$(libsubdir) in the installation commands.
From-SVN: r61076
2003-01-09 09:00:41 +01:00
|
|
|
|
-rm -rf $(DESTDIR)$(bindir)/$(PROTOIZE_INSTALL_NAME)$(exeext)
|
|
|
|
|
-rm -rf $(DESTDIR)$(bindir)/$(UNPROTOIZE_INSTALL_NAME)$(exeext)
|
|
|
|
|
-rm -rf $(DESTDIR)$(bindir)/$(GCOV_INSTALL_NAME)$(exeext)
|
|
|
|
|
-rm -rf $(DESTDIR)$(man1dir)/$(GCC_INSTALL_NAME)$(man1ext)
|
|
|
|
|
-rm -rf $(DESTDIR)$(man1dir)/cpp$(man1ext)
|
|
|
|
|
-rm -rf $(DESTDIR)$(man1dir)/protoize$(man1ext)
|
|
|
|
|
-rm -rf $(DESTDIR)$(man1dir)/unprotoize$(man1ext)
|
|
|
|
|
-rm -f $(DESTDIR)$(infodir)/cpp.info* $(DESTDIR)$(infodir)/gcc.info*
|
|
|
|
|
-rm -f $(DESTDIR)$(infodir)/cppinternals.info* $(DESTDIR)$(infodir)/gccint.info*
|
1997-06-09 21:19:18 +02:00
|
|
|
|
#
|
1999-09-18 20:05:59 +02:00
|
|
|
|
# These targets are for the dejagnu testsuites. The file site.exp
|
1997-08-19 17:36:20 +02:00
|
|
|
|
# contains global variables that all the testsuites will use.
|
|
|
|
|
|
|
|
|
|
target_subdir = @target_subdir@
|
|
|
|
|
|
|
|
|
|
site.exp: ./config.status Makefile
|
|
|
|
|
@echo "Making a new config file..."
|
|
|
|
|
-@rm -f ./tmp?
|
2001-05-13 21:37:13 +02:00
|
|
|
|
@$(STAMP) site.exp
|
1997-08-19 17:36:20 +02:00
|
|
|
|
-@mv site.exp site.bak
|
|
|
|
|
@echo "## these variables are automatically generated by make ##" > ./tmp0
|
|
|
|
|
@echo "# Do not edit here. If you wish to override these values" >> ./tmp0
|
|
|
|
|
@echo "# add them to the last section" >> ./tmp0
|
2003-07-04 21:45:55 +02:00
|
|
|
|
@echo "set rootme \"`${PWD_COMMAND}`\"" >> ./tmp0
|
|
|
|
|
@echo "set srcdir \"`cd ${srcdir}; ${PWD_COMMAND}`\"" >> ./tmp0
|
2003-06-10 02:52:18 +02:00
|
|
|
|
@echo "set host_triplet $(host)" >> ./tmp0
|
|
|
|
|
@echo "set build_triplet $(build)" >> ./tmp0
|
1997-08-19 17:36:20 +02:00
|
|
|
|
@echo "set target_triplet $(target)" >> ./tmp0
|
2003-10-14 05:41:42 +02:00
|
|
|
|
@echo "set target_alias $(target_noncanonical)" >> ./tmp0
|
2004-03-09 02:53:28 +01:00
|
|
|
|
@echo "set libiconv \"$(LIBICONV)\"" >> ./tmp0
|
1997-08-19 17:36:20 +02:00
|
|
|
|
# CFLAGS is set even though it's empty to show we reserve the right to set it.
|
|
|
|
|
@echo "set CFLAGS \"\"" >> ./tmp0
|
2003-02-11 23:24:40 +01:00
|
|
|
|
@echo "set CXXFLAGS \"\"" >> ./tmp0
|
2004-07-24 00:36:47 +02:00
|
|
|
|
@echo "set HOSTCC \"$(CC)\"" >> ./tmp0
|
|
|
|
|
@echo "set HOSTCFLAGS \"$(CFLAGS)\"" >> ./tmp0
|
2001-05-04 04:58:46 +02:00
|
|
|
|
@echo "set TESTING_IN_BUILD_TREE 1" >> ./tmp0
|
2001-02-05 02:38:47 +01:00
|
|
|
|
@echo "set HAVE_LIBSTDCXX_V3 1" >> ./tmp0
|
2006-11-13 18:25:59 +01:00
|
|
|
|
@echo "set GCC_EXEC_PREFIX \"$(libdir)/gcc/\"" >> ./tmp0
|
1997-08-19 17:36:20 +02:00
|
|
|
|
# If newlib has been configured, we need to pass -B to gcc so it can find
|
|
|
|
|
# newlib's crt0.o if it exists. This will cause a "path prefix not used"
|
|
|
|
|
# message if it doesn't, but the testsuite is supposed to ignore the message -
|
|
|
|
|
# it's too difficult to tell when to and when not to pass -B (not all targets
|
|
|
|
|
# have crt0's). We could only add the -B if ../newlib/crt0.o exists, but that
|
|
|
|
|
# seems like too selective a test.
|
|
|
|
|
# ??? Another way to solve this might be to rely on linker scripts. Then
|
|
|
|
|
# theoretically the -B won't be needed.
|
|
|
|
|
# We also need to pass -L ../ld so that the linker can find ldscripts.
|
2003-06-07 04:51:06 +02:00
|
|
|
|
@if [ -d $(objdir)/../$(target_subdir)/newlib ] \
|
2003-06-10 02:52:18 +02:00
|
|
|
|
&& [ "${host}" != "${target}" ]; then \
|
2003-06-07 04:51:06 +02:00
|
|
|
|
echo "set newlib_cflags \"-I$(objdir)/../$(target_subdir)/newlib/targ-include -I\$$srcdir/../newlib/libc/include\"" >> ./tmp0; \
|
|
|
|
|
echo "set newlib_ldflags \"-B$(objdir)/../$(target_subdir)/newlib/\"" >> ./tmp0; \
|
1997-08-19 17:36:20 +02:00
|
|
|
|
echo "append CFLAGS \" \$$newlib_cflags\"" >> ./tmp0; \
|
|
|
|
|
echo "append CXXFLAGS \" \$$newlib_cflags\"" >> ./tmp0; \
|
|
|
|
|
echo "append LDFLAGS \" \$$newlib_ldflags\"" >> ./tmp0; \
|
|
|
|
|
else true; \
|
|
|
|
|
fi
|
|
|
|
|
@if [ -d $(objdir)/../ld ] ; then \
|
|
|
|
|
echo "append LDFLAGS \" -L$(objdir)/../ld\"" >> ./tmp0; \
|
|
|
|
|
else true; \
|
|
|
|
|
fi
|
1998-06-02 23:48:43 +02:00
|
|
|
|
echo "set tmpdir $(objdir)/testsuite" >> ./tmp0
|
1997-08-19 17:36:20 +02:00
|
|
|
|
@echo "set srcdir \"\$${srcdir}/testsuite\"" >> ./tmp0
|
2003-05-05 23:59:35 +02:00
|
|
|
|
@if [ "X$(ALT_CC_UNDER_TEST)" != "X" ] ; then \
|
|
|
|
|
echo "set ALT_CC_UNDER_TEST \"$(ALT_CC_UNDER_TEST)\"" >> ./tmp0; \
|
|
|
|
|
else true; \
|
|
|
|
|
fi
|
2002-10-18 02:15:26 +02:00
|
|
|
|
@if [ "X$(ALT_CXX_UNDER_TEST)" != "X" ] ; then \
|
2003-05-05 23:59:35 +02:00
|
|
|
|
echo "set ALT_CXX_UNDER_TEST \"$(ALT_CXX_UNDER_TEST)\"" >> ./tmp0; \
|
2002-10-18 02:15:26 +02:00
|
|
|
|
else true; \
|
|
|
|
|
fi
|
|
|
|
|
@if [ "X$(COMPAT_OPTIONS)" != "X" ] ; then \
|
2003-05-05 23:59:35 +02:00
|
|
|
|
echo "set COMPAT_OPTIONS \"$(COMPAT_OPTIONS)\"" >> ./tmp0; \
|
2002-10-18 02:15:26 +02:00
|
|
|
|
else true; \
|
|
|
|
|
fi
|
1997-08-19 17:36:20 +02:00
|
|
|
|
@echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0
|
|
|
|
|
@cat ./tmp0 > site.exp
|
|
|
|
|
@cat site.bak | sed \
|
|
|
|
|
-e '1,/^## All variables above are.*##/ d' >> site.exp
|
|
|
|
|
-@rm -f ./tmp?
|
|
|
|
|
|
ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
top:
* ABOUT-NLS, aclocal.m4: Update i18n framework from gettext 0.10.40.
* configure.in, Makefile.in: Take out obsolete check-po logic.
* configure, config.in: Regenerate.
intl:
* Update entire directory from gettext 0.10.40.
* cat-compat.c, linux-msg.sed, po2tbl.sed.in, xopen-msg.sed:
Removed.
* config.charset, dcigettext.c, dcngettext.c, libgnuintl.h,
localcharset.c, locale.alias, ngettext.c, plural.c, plural.y,
ref-add.sin, ref-del.sin: New.
po:
* Makefile.in.in: Upgrade to gettext-0.10.40.
* cat-id-tbl.c: Remove file.
* stamp-cat-id: Remove file.
From-SVN: r46233
2001-10-12 19:24:30 +02:00
|
|
|
|
CHECK_TARGETS = check-gcc @check_languages@
|
2001-02-14 02:13:42 +01:00
|
|
|
|
|
1997-08-19 17:36:20 +02:00
|
|
|
|
check: $(CHECK_TARGETS)
|
|
|
|
|
|
2001-01-11 18:11:28 +01:00
|
|
|
|
# The idea is to parallelize testing of multilibs, for example:
|
2001-01-12 22:56:35 +01:00
|
|
|
|
# make -j3 check-gcc//sh-hms-sim/{-m1,-m2,-m3,-m3e,-m4}/{,-nofpu}
|
2001-01-11 18:11:28 +01:00
|
|
|
|
# will run 3 concurrent sessions of check-gcc, eventually testing
|
|
|
|
|
# all 10 combinations. GNU make is required, as is a shell that expands
|
|
|
|
|
# alternations within braces.
|
2003-11-20 10:59:59 +01:00
|
|
|
|
lang_checks_parallel = $(lang_checks:=//%)
|
|
|
|
|
$(lang_checks_parallel): site.exp
|
2001-01-12 22:56:35 +01:00
|
|
|
|
target=`echo "$@" | sed 's,//.*,,'`; \
|
|
|
|
|
variant=`echo "$@" | sed 's,^[^/]*//,,'`; \
|
2001-01-11 18:11:28 +01:00
|
|
|
|
vardots=`echo "$$variant" | sed 's,/,.,g'`; \
|
|
|
|
|
$(MAKE) TESTSUITEDIR="testsuite.$$vardots" \
|
|
|
|
|
RUNTESTFLAGS="--target_board=$$variant $(RUNTESTFLAGS)" \
|
|
|
|
|
"$$target"
|
|
|
|
|
|
|
|
|
|
TESTSUITEDIR = testsuite
|
|
|
|
|
|
|
|
|
|
$(TESTSUITEDIR)/site.exp: site.exp
|
2006-01-20 03:41:21 +01:00
|
|
|
|
-test -d $(TESTSUITEDIR) || mkdir $(TESTSUITEDIR)
|
2001-01-11 18:11:28 +01:00
|
|
|
|
-rm -f $@
|
|
|
|
|
sed '/set tmpdir/ s|testsuite|$(TESTSUITEDIR)|' < site.exp > $@
|
|
|
|
|
|
2006-01-16 22:43:05 +01:00
|
|
|
|
$(lang_checks): check-% : site.exp
|
2006-01-20 03:41:21 +01:00
|
|
|
|
-test -d $(TESTSUITEDIR) || mkdir $(TESTSUITEDIR)
|
2006-01-16 22:43:05 +01:00
|
|
|
|
test -d $(TESTSUITEDIR)/$* || mkdir $(TESTSUITEDIR)/$*
|
2003-07-04 21:45:55 +02:00
|
|
|
|
-(rootme=`${PWD_COMMAND}`; export rootme; \
|
|
|
|
|
srcdir=`cd ${srcdir}; ${PWD_COMMAND}` ; export srcdir ; \
|
2006-01-16 22:43:05 +01:00
|
|
|
|
cd $(TESTSUITEDIR)/$*; \
|
|
|
|
|
rm -f tmp-site.exp; \
|
|
|
|
|
sed '/set tmpdir/ s|testsuite|$(TESTSUITEDIR)/$*|' \
|
|
|
|
|
< ../../site.exp > tmp-site.exp; \
|
2006-01-17 21:49:17 +01:00
|
|
|
|
$(SHELL) $${srcdir}/../move-if-change tmp-site.exp site.exp; \
|
1998-09-03 01:48:01 +02:00
|
|
|
|
EXPECT=${EXPECT} ; export EXPECT ; \
|
|
|
|
|
if [ -f $${rootme}/../expect/expect ] ; then \
|
2006-01-17 21:49:17 +01:00
|
|
|
|
TCL_LIBRARY=`cd .. ; cd $${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
|
1998-09-03 01:48:01 +02:00
|
|
|
|
export TCL_LIBRARY ; fi ; \
|
2007-01-02 23:13:19 +01:00
|
|
|
|
GCC_EXEC_PREFIX="$(libdir)/gcc/" ; export GCC_EXEC_PREFIX ; \
|
2003-09-01 20:56:28 +02:00
|
|
|
|
$(RUNTEST) --tool $* $(RUNTESTFLAGS))
|
1998-09-03 01:48:01 +02:00
|
|
|
|
|
2001-02-12 20:40:17 +01:00
|
|
|
|
check-consistency: testsuite/site.exp
|
2003-07-04 21:45:55 +02:00
|
|
|
|
-rootme=`${PWD_COMMAND}`; export rootme; \
|
|
|
|
|
srcdir=`cd ${srcdir}; ${PWD_COMMAND}` ; export srcdir ; \
|
2001-02-12 20:40:17 +01:00
|
|
|
|
cd testsuite; \
|
|
|
|
|
EXPECT=${EXPECT} ; export EXPECT ; \
|
|
|
|
|
if [ -f $${rootme}/../expect/expect ] ; then \
|
2006-01-17 21:49:17 +01:00
|
|
|
|
TCL_LIBRARY=`cd .. ; cd $${srcdir}/../tcl/library ; ${PWD_COMMAND}` ; \
|
2001-02-12 20:40:17 +01:00
|
|
|
|
export TCL_LIBRARY ; fi ; \
|
2007-01-02 23:13:19 +01:00
|
|
|
|
GCC_EXEC_PREFIX="$(libdir)/gcc/" ; export GCC_EXEC_PREFIX ; \
|
2001-02-12 20:40:17 +01:00
|
|
|
|
$(RUNTEST) --tool consistency $(RUNTESTFLAGS)
|
|
|
|
|
|
2002-05-20 09:22:30 +02:00
|
|
|
|
# QMTest targets
|
|
|
|
|
|
|
|
|
|
# The path to qmtest.
|
|
|
|
|
QMTEST_PATH=qmtest
|
|
|
|
|
|
|
|
|
|
# The flags to pass to qmtest.
|
|
|
|
|
QMTESTFLAGS=
|
|
|
|
|
|
|
|
|
|
# The flags to pass to "qmtest run".
|
2003-06-05 02:17:16 +02:00
|
|
|
|
QMTESTRUNFLAGS=-f none --result-stream dejagnu_stream.DejaGNUStream
|
2002-05-20 09:22:30 +02:00
|
|
|
|
|
|
|
|
|
# The command to use to invoke qmtest.
|
|
|
|
|
QMTEST=${QMTEST_PATH} ${QMTESTFLAGS}
|
|
|
|
|
|
|
|
|
|
# The tests (or suites) to run.
|
2003-06-05 02:17:16 +02:00
|
|
|
|
QMTEST_GPP_TESTS=g++
|
2002-05-20 09:22:30 +02:00
|
|
|
|
|
|
|
|
|
# The subdirectory of the OBJDIR that will be used to store the QMTest
|
|
|
|
|
# test database configuration and that will be used for temporary
|
|
|
|
|
# scratch space during QMTest's execution.
|
2002-06-19 18:09:21 +02:00
|
|
|
|
QMTEST_DIR=qmtestsuite
|
2002-05-20 09:22:30 +02:00
|
|
|
|
|
|
|
|
|
# Create the QMTest database configuration.
|
|
|
|
|
${QMTEST_DIR} stamp-qmtest:
|
2003-06-05 02:17:16 +02:00
|
|
|
|
${QMTEST} -D ${QMTEST_DIR} create-tdb \
|
|
|
|
|
-c gcc_database.GCCDatabase \
|
2003-07-24 16:32:10 +02:00
|
|
|
|
-a srcdir=`cd ${srcdir}/testsuite && ${PWD_COMMAND}` && \
|
2003-06-05 02:17:16 +02:00
|
|
|
|
$(STAMP) stamp-qmtest
|
2002-05-20 09:22:30 +02:00
|
|
|
|
|
|
|
|
|
# Create the QMTest context file.
|
|
|
|
|
${QMTEST_DIR}/context: stamp-qmtest
|
2003-06-05 02:17:16 +02:00
|
|
|
|
rm -f $@
|
|
|
|
|
echo "CompilerTable.languages=c cplusplus" >> $@
|
|
|
|
|
echo "CompilerTable.c_kind=GCC" >> $@
|
|
|
|
|
echo "CompilerTable.c_path=${objdir}/xgcc" >> $@
|
|
|
|
|
echo "CompilerTable.c_options=-B${objdir}/" >> $@
|
|
|
|
|
echo "CompilerTable.cplusplus_kind=GCC" >> $@
|
|
|
|
|
echo "CompilerTable.cplusplus_path=${objdir}/g++" >> $@
|
|
|
|
|
echo "CompilerTable.cplusplus_options=-B${objdir}/" >> $@
|
2003-10-14 05:41:42 +02:00
|
|
|
|
echo "DejaGNUTest.target=${target_noncanonical}" >> $@
|
2002-05-20 09:22:30 +02:00
|
|
|
|
|
|
|
|
|
# Run the G++ testsuite using QMTest.
|
2003-06-05 02:17:16 +02:00
|
|
|
|
qmtest-g++: ${QMTEST_DIR}/context
|
2002-05-20 09:22:30 +02:00
|
|
|
|
cd ${QMTEST_DIR} && ${QMTEST} run ${QMTESTRUNFLAGS} -C context \
|
2003-06-05 02:17:16 +02:00
|
|
|
|
-o g++.qmr ${QMTEST_GPP_TESTS}
|
2002-05-20 09:22:30 +02:00
|
|
|
|
|
|
|
|
|
# Use the QMTest GUI.
|
|
|
|
|
qmtest-gui: ${QMTEST_DIR}/context
|
|
|
|
|
cd ${QMTEST_DIR} && ${QMTEST} gui -C context
|
|
|
|
|
|
|
|
|
|
.PHONY: qmtest-g++
|
|
|
|
|
|
real.c, real.h: Rewrite from scratch.
gcc/
* real.c, real.h: Rewrite from scratch.
* Makefile.in (simplify-rtx.o): Depend on TREE_H.
(paranoia): New target.
* builtins.c (fold_builtin_inf): Use new real.h interface.
* c-common.c (builtin_define_with_hex_fp_value): Likewise.
* c-lex.c (interpret_float): Likewise.
* emit-rtl.c (gen_lowpart_common): Likewise.
* optabs.c (expand_float): Use real_2expN.
* config/ia64/ia64.md (divsi3, udivsi3): Likewise.
* defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
(FLOAT_WORDS_BIG_ENDIAN): New.
* cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
directly to REAL_VALUE_NEGATIVE.
* loop.c (canonicalize_condition): Likewise.
* simplify-rtx.c: Include tree.h.
(simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
with floating-point result modes.
* toplev.c (backend_init): Call init_real_once.
* fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
* tree.c (build_real): Likewise.
* config/alpha/alpha.c, config/vax/vax.c (float_strings,
float_values, inited_float_values, check_float_value): Remove.
* config/alpha/alpha.h, config/m68hc11/m68hc11.h,
config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
* doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
gcc/f/
* target.c (ffetarget_real1): Don't pass FFETARGET_ATOF_
directly to ffetarget_make_real1.
(ffetarget_real2): Similarly.
* target.h (ffetarget_cvt_r1_to_rv_, ffetarget_cvt_rv_to_r2_,
ffetarget_cvt_r2_to_rv_): Use new real.h interface and simplify.
gcc/java/
* jcf-parse.c (get_constant): Runtime check for IEEE format;
use new real.h interface.
* jcf-write.c (find_constant_index): Use new real.h interface.
* lex.c (IS_ZERO): Use REAL_VALUES_EQUAL.
contrib/
* paranoia.cc: New file.
From-SVN: r57198
2002-09-16 18:36:39 +02:00
|
|
|
|
# Run Paranoia on real.c.
|
|
|
|
|
|
|
|
|
|
paranoia.o: $(srcdir)/../contrib/paranoia.cc $(CONFIG_H) $(SYSTEM_H) \
|
2006-03-16 20:47:19 +01:00
|
|
|
|
$(REAL_H) $(TREE_H)
|
2005-08-29 15:52:32 +02:00
|
|
|
|
g++ -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $< $(OUTPUT_OPTION)
|
real.c, real.h: Rewrite from scratch.
gcc/
* real.c, real.h: Rewrite from scratch.
* Makefile.in (simplify-rtx.o): Depend on TREE_H.
(paranoia): New target.
* builtins.c (fold_builtin_inf): Use new real.h interface.
* c-common.c (builtin_define_with_hex_fp_value): Likewise.
* c-lex.c (interpret_float): Likewise.
* emit-rtl.c (gen_lowpart_common): Likewise.
* optabs.c (expand_float): Use real_2expN.
* config/ia64/ia64.md (divsi3, udivsi3): Likewise.
* defaults.h (INTEL_EXTENDED_IEEE_FORMAT): New.
(FLOAT_WORDS_BIG_ENDIAN): New.
* cse.c (find_comparison_args): Don't pass FLOAT_STORE_FLAG_VALUE
directly to REAL_VALUE_NEGATIVE.
* loop.c (canonicalize_condition): Likewise.
* simplify-rtx.c: Include tree.h.
(simplify_unary_operation): Don't handle FIX and UNSIGNED_FIX
with floating-point result modes.
* toplev.c (backend_init): Call init_real_once.
* fold-const.c (force_fit_type): Don't call CHECK_FLOAT_VALUE.
* tree.c (build_real): Likewise.
* config/alpha/alpha.c, config/vax/vax.c (float_strings,
float_values, inited_float_values, check_float_value): Remove.
* config/alpha/alpha.h, config/m68hc11/m68hc11.h,
config/m88k/m88k.h, config/vax/vax.h (CHECK_FLOAT_VALUE): Remove.
* doc/tm.texi (CHECK_FLOAT_VALUE): Remove.
gcc/f/
* target.c (ffetarget_real1): Don't pass FFETARGET_ATOF_
directly to ffetarget_make_real1.
(ffetarget_real2): Similarly.
* target.h (ffetarget_cvt_r1_to_rv_, ffetarget_cvt_rv_to_r2_,
ffetarget_cvt_r2_to_rv_): Use new real.h interface and simplify.
gcc/java/
* jcf-parse.c (get_constant): Runtime check for IEEE format;
use new real.h interface.
* jcf-write.c (find_constant_index): Use new real.h interface.
* lex.c (IS_ZERO): Use REAL_VALUES_EQUAL.
contrib/
* paranoia.cc: New file.
From-SVN: r57198
2002-09-16 18:36:39 +02:00
|
|
|
|
|
|
|
|
|
paranoia: paranoia.o real.o $(LIBIBERTY)
|
|
|
|
|
g++ -o $@ paranoia.o real.o $(LIBIBERTY)
|
|
|
|
|
|
1992-02-03 23:08:59 +01:00
|
|
|
|
# These exist for maintenance purposes.
|
|
|
|
|
|
|
|
|
|
# Update the tags table.
|
2003-03-04 22:48:53 +01:00
|
|
|
|
TAGS: lang.tags
|
2003-11-16 07:17:21 +01:00
|
|
|
|
(cd $(srcdir); \
|
|
|
|
|
incs= ; \
|
|
|
|
|
list='$(SUBDIRS)'; for dir in $$list; do \
|
|
|
|
|
if test -f $$dir/TAGS; then \
|
|
|
|
|
incs="$$incs --include $$dir/TAGS.sub"; \
|
|
|
|
|
fi; \
|
|
|
|
|
done; \
|
c-parser.c: New file.
* c-parser.c: New file.
* c-parse.in: Remove.
* Makefile.in (c-parse.o-warn, c-parse.o, c-parse.c, c-parse.y):
Remove.
(c-parser.o): Add dependencies.
(C_AND_OBJC_OBJC, C_OBJS, gcc.srcextra, GTFILES, distclean,
maintainer-clean, TAGS): Update.
* c-config-lang.in (gtfiles): Update.
* gengtype-lex.l: Don't handle "@@".
* stub-objc.c (objc_get_class_ivars, objc_build_throw_stmt,
objc_build_synchronized, objc_begin_try_stmt,
objc_begin_catch_clause, objc_finish_catch_clause,
objc_build_finally_clause, objc_finish_try_stmt): New.
* c-tree.h (struct c_declspecs): Add declspecs_seen_p and
type_seen_p.
(c_parse_init): Update comment.
* c-decl.c (c_init_decl_processing): Update comment.
(build_null_declspecs, declspecs_add_qual, declspecs_add_type,
declspecs_add_scspec, declspecs_add_attrs): Initialize and update
new c_declspecs members.
objc:
* Make-lang.in (objc/objc-parse.o-warn, objc/objc-parse.o,
objc/objc-parse.c, objc/objc-parse.y): Remove
(OBJC_OBJS, objc.srcextra, objc.tags, objc.mostlyclean,
objc.distclean, objc.maintainer-clean): Update for new parser.
* config-lang.in (gtfiles): Update for new parser.
testsuite:
* gcc.dg/cpp/separate-1.c, gcc.dg/noncompile/971104-1.c,
gcc.dg/noncompile/990416-1.c: Adjust expected messages for new
parser.
From-SVN: r95558
2005-02-26 00:20:48 +01:00
|
|
|
|
etags -o TAGS.sub *.y *.h *.c; \
|
2003-11-16 07:17:21 +01:00
|
|
|
|
etags --include TAGS.sub $$incs)
|
1992-02-03 23:08:59 +01:00
|
|
|
|
|
2003-10-07 15:30:00 +02:00
|
|
|
|
# -----------------------------------------------------
|
Makefile.in (INTL_TARGETS, POSUB): Delete all references.
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
(INTL_SUBDIRS): Just intl.
(.SUFFIXES): Add .gmo .po .pox.
(native): Also depend on build-@POSUB@.
(intl.all, intl.install): Depend on config.h and things it includes.
(po-generated): New target; depend on c-parse.c and tradcif.c.
(install-normal): Also depend on install-@POSUB@.
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
(build-, install-, build-po, update-po, install-po,
.po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
* aclocal.m4: Prefix each entry in CATALOGS with "po/"
* configure.in: Don't munge XGETTEXT. Don't generate
po/Makefile.in.
* configure: Regenerate.
* exgettext: Delete.
* config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
* cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace
$(INTL_TARGETS) with po-generated.
po:
* EXCLUDES: New file.
* exgettext: New helper script; completely rewritten.
* Makefile.in.in, POTFILES.in: Delete.
From-SVN: r46680
2001-10-31 18:40:07 +01:00
|
|
|
|
# Rules for generating translated message descriptions.
|
|
|
|
|
# Disabled by autoconf if the tools are not available.
|
2003-10-07 15:30:00 +02:00
|
|
|
|
# -----------------------------------------------------
|
Makefile.in (INTL_TARGETS, POSUB): Delete all references.
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
(INTL_SUBDIRS): Just intl.
(.SUFFIXES): Add .gmo .po .pox.
(native): Also depend on build-@POSUB@.
(intl.all, intl.install): Depend on config.h and things it includes.
(po-generated): New target; depend on c-parse.c and tradcif.c.
(install-normal): Also depend on install-@POSUB@.
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
(build-, install-, build-po, update-po, install-po,
.po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
* aclocal.m4: Prefix each entry in CATALOGS with "po/"
* configure.in: Don't munge XGETTEXT. Don't generate
po/Makefile.in.
* configure: Regenerate.
* exgettext: Delete.
* config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
* cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace
$(INTL_TARGETS) with po-generated.
po:
* EXCLUDES: New file.
* exgettext: New helper script; completely rewritten.
* Makefile.in.in, POTFILES.in: Delete.
From-SVN: r46680
2001-10-31 18:40:07 +01:00
|
|
|
|
|
|
|
|
|
XGETTEXT = @XGETTEXT@
|
|
|
|
|
GMSGFMT = @GMSGFMT@
|
|
|
|
|
MSGMERGE = msgmerge
|
2006-05-31 17:34:37 +02:00
|
|
|
|
CATALOGS = $(patsubst %,po/%,@CATALOGS@)
|
Makefile.in (INTL_TARGETS, POSUB): Delete all references.
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
(INTL_SUBDIRS): Just intl.
(.SUFFIXES): Add .gmo .po .pox.
(native): Also depend on build-@POSUB@.
(intl.all, intl.install): Depend on config.h and things it includes.
(po-generated): New target; depend on c-parse.c and tradcif.c.
(install-normal): Also depend on install-@POSUB@.
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
(build-, install-, build-po, update-po, install-po,
.po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
* aclocal.m4: Prefix each entry in CATALOGS with "po/"
* configure.in: Don't munge XGETTEXT. Don't generate
po/Makefile.in.
* configure: Regenerate.
* exgettext: Delete.
* config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
* cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace
$(INTL_TARGETS) with po-generated.
po:
* EXCLUDES: New file.
* exgettext: New helper script; completely rewritten.
* Makefile.in.in, POTFILES.in: Delete.
From-SVN: r46680
2001-10-31 18:40:07 +01:00
|
|
|
|
|
2002-06-06 03:51:15 +02:00
|
|
|
|
.PHONY: build- install- build-po install-po update-po
|
Makefile.in (INTL_TARGETS, POSUB): Delete all references.
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
(INTL_SUBDIRS): Just intl.
(.SUFFIXES): Add .gmo .po .pox.
(native): Also depend on build-@POSUB@.
(intl.all, intl.install): Depend on config.h and things it includes.
(po-generated): New target; depend on c-parse.c and tradcif.c.
(install-normal): Also depend on install-@POSUB@.
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
(build-, install-, build-po, update-po, install-po,
.po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
* aclocal.m4: Prefix each entry in CATALOGS with "po/"
* configure.in: Don't munge XGETTEXT. Don't generate
po/Makefile.in.
* configure: Regenerate.
* exgettext: Delete.
* config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
* cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace
$(INTL_TARGETS) with po-generated.
po:
* EXCLUDES: New file.
* exgettext: New helper script; completely rewritten.
* Makefile.in.in, POTFILES.in: Delete.
From-SVN: r46680
2001-10-31 18:40:07 +01:00
|
|
|
|
|
|
|
|
|
# Dummy rules to deal with dependencies produced by use of
|
|
|
|
|
# "build-@POSUB@" and "install-@POSUB@" above, when NLS is disabled.
|
|
|
|
|
build-: ; @true
|
|
|
|
|
install-: ; @true
|
|
|
|
|
|
|
|
|
|
build-po: $(CATALOGS)
|
|
|
|
|
|
|
|
|
|
# This notation should be acceptable to all Make implementations used
|
|
|
|
|
# by people who are interested in updating .po files.
|
|
|
|
|
update-po: $(CATALOGS:.gmo=.pox)
|
|
|
|
|
|
2001-11-06 03:39:47 +01:00
|
|
|
|
# N.B. We do not attempt to copy these into $(srcdir). The snapshot
|
|
|
|
|
# script does that.
|
Makefile.in (INTL_TARGETS, POSUB): Delete all references.
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
(INTL_SUBDIRS): Just intl.
(.SUFFIXES): Add .gmo .po .pox.
(native): Also depend on build-@POSUB@.
(intl.all, intl.install): Depend on config.h and things it includes.
(po-generated): New target; depend on c-parse.c and tradcif.c.
(install-normal): Also depend on install-@POSUB@.
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
(build-, install-, build-po, update-po, install-po,
.po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
* aclocal.m4: Prefix each entry in CATALOGS with "po/"
* configure.in: Don't munge XGETTEXT. Don't generate
po/Makefile.in.
* configure: Regenerate.
* exgettext: Delete.
* config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
* cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace
$(INTL_TARGETS) with po-generated.
po:
* EXCLUDES: New file.
* exgettext: New helper script; completely rewritten.
* Makefile.in.in, POTFILES.in: Delete.
From-SVN: r46680
2001-10-31 18:40:07 +01:00
|
|
|
|
.po.gmo:
|
2001-12-06 19:13:17 +01:00
|
|
|
|
-test -d po || mkdir po
|
2001-12-10 10:37:11 +01:00
|
|
|
|
$(GMSGFMT) --statistics -o $@ $<
|
Makefile.in (INTL_TARGETS, POSUB): Delete all references.
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
(INTL_SUBDIRS): Just intl.
(.SUFFIXES): Add .gmo .po .pox.
(native): Also depend on build-@POSUB@.
(intl.all, intl.install): Depend on config.h and things it includes.
(po-generated): New target; depend on c-parse.c and tradcif.c.
(install-normal): Also depend on install-@POSUB@.
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
(build-, install-, build-po, update-po, install-po,
.po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
* aclocal.m4: Prefix each entry in CATALOGS with "po/"
* configure.in: Don't munge XGETTEXT. Don't generate
po/Makefile.in.
* configure: Regenerate.
* exgettext: Delete.
* config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
* cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace
$(INTL_TARGETS) with po-generated.
po:
* EXCLUDES: New file.
* exgettext: New helper script; completely rewritten.
* Makefile.in.in, POTFILES.in: Delete.
From-SVN: r46680
2001-10-31 18:40:07 +01:00
|
|
|
|
|
2001-11-06 03:39:47 +01:00
|
|
|
|
# The new .po has to be gone over by hand, so we deposit it into
|
|
|
|
|
# build/po with a different extension.
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
# If build/po/gcc.pot exists, use it (it was just created),
|
2001-11-09 18:51:56 +01:00
|
|
|
|
# else use the one in srcdir.
|
Makefile.in (INTL_TARGETS, POSUB): Delete all references.
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
(INTL_SUBDIRS): Just intl.
(.SUFFIXES): Add .gmo .po .pox.
(native): Also depend on build-@POSUB@.
(intl.all, intl.install): Depend on config.h and things it includes.
(po-generated): New target; depend on c-parse.c and tradcif.c.
(install-normal): Also depend on install-@POSUB@.
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
(build-, install-, build-po, update-po, install-po,
.po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
* aclocal.m4: Prefix each entry in CATALOGS with "po/"
* configure.in: Don't munge XGETTEXT. Don't generate
po/Makefile.in.
* configure: Regenerate.
* exgettext: Delete.
* config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
* cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace
$(INTL_TARGETS) with po-generated.
po:
* EXCLUDES: New file.
* exgettext: New helper script; completely rewritten.
* Makefile.in.in, POTFILES.in: Delete.
From-SVN: r46680
2001-10-31 18:40:07 +01:00
|
|
|
|
.po.pox:
|
2001-12-06 19:13:17 +01:00
|
|
|
|
-test -d po || mkdir po
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
$(MSGMERGE) $< `if test -f po/gcc.pot; \
|
|
|
|
|
then echo po/gcc.pot; \
|
|
|
|
|
else echo $(srcdir)/po/gcc.pot; fi` -o $@
|
Makefile.in (INTL_TARGETS, POSUB): Delete all references.
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
(INTL_SUBDIRS): Just intl.
(.SUFFIXES): Add .gmo .po .pox.
(native): Also depend on build-@POSUB@.
(intl.all, intl.install): Depend on config.h and things it includes.
(po-generated): New target; depend on c-parse.c and tradcif.c.
(install-normal): Also depend on install-@POSUB@.
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
(build-, install-, build-po, update-po, install-po,
.po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
* aclocal.m4: Prefix each entry in CATALOGS with "po/"
* configure.in: Don't munge XGETTEXT. Don't generate
po/Makefile.in.
* configure: Regenerate.
* exgettext: Delete.
* config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
* cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace
$(INTL_TARGETS) with po-generated.
po:
* EXCLUDES: New file.
* exgettext: New helper script; completely rewritten.
* Makefile.in.in, POTFILES.in: Delete.
From-SVN: r46680
2001-10-31 18:40:07 +01:00
|
|
|
|
|
2001-11-06 03:39:47 +01:00
|
|
|
|
# This rule has to look for .gmo modules in both srcdir and
|
|
|
|
|
# the cwd, and has to check that we actually have a catalog
|
|
|
|
|
# for each language, in case they weren't built or included
|
|
|
|
|
# with the distribution.
|
Makefile.in (INTL_TARGETS, POSUB): Delete all references.
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
(INTL_SUBDIRS): Just intl.
(.SUFFIXES): Add .gmo .po .pox.
(native): Also depend on build-@POSUB@.
(intl.all, intl.install): Depend on config.h and things it includes.
(po-generated): New target; depend on c-parse.c and tradcif.c.
(install-normal): Also depend on install-@POSUB@.
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
(build-, install-, build-po, update-po, install-po,
.po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
* aclocal.m4: Prefix each entry in CATALOGS with "po/"
* configure.in: Don't munge XGETTEXT. Don't generate
po/Makefile.in.
* configure: Regenerate.
* exgettext: Delete.
* config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
* cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace
$(INTL_TARGETS) with po-generated.
po:
* EXCLUDES: New file.
* exgettext: New helper script; completely rewritten.
* Makefile.in.in, POTFILES.in: Delete.
From-SVN: r46680
2001-10-31 18:40:07 +01:00
|
|
|
|
install-po:
|
2004-02-08 00:45:23 +01:00
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(datadir)
|
2003-07-08 19:47:16 +02:00
|
|
|
|
cats="$(CATALOGS)"; for cat in $$cats; do \
|
2001-11-06 03:39:47 +01:00
|
|
|
|
lang=`basename $$cat | sed 's/\.gmo$$//'`; \
|
|
|
|
|
if [ -f $$cat ]; then :; \
|
|
|
|
|
elif [ -f $(srcdir)/$$cat ]; then cat=$(srcdir)/$$cat; \
|
|
|
|
|
else continue; \
|
|
|
|
|
fi; \
|
Makefile.in (INTL_TARGETS, POSUB): Delete all references.
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
(INTL_SUBDIRS): Just intl.
(.SUFFIXES): Add .gmo .po .pox.
(native): Also depend on build-@POSUB@.
(intl.all, intl.install): Depend on config.h and things it includes.
(po-generated): New target; depend on c-parse.c and tradcif.c.
(install-normal): Also depend on install-@POSUB@.
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
(build-, install-, build-po, update-po, install-po,
.po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
* aclocal.m4: Prefix each entry in CATALOGS with "po/"
* configure.in: Don't munge XGETTEXT. Don't generate
po/Makefile.in.
* configure: Regenerate.
* exgettext: Delete.
* config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
* cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace
$(INTL_TARGETS) with po-generated.
po:
* EXCLUDES: New file.
* exgettext: New helper script; completely rewritten.
* Makefile.in.in, POTFILES.in: Delete.
From-SVN: r46680
2001-10-31 18:40:07 +01:00
|
|
|
|
dir=$(localedir)/$$lang/LC_MESSAGES; \
|
2004-02-08 00:45:23 +01:00
|
|
|
|
echo $(mkinstalldirs) $(DESTDIR)$$dir; \
|
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$$dir || exit 1; \
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
echo $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/gcc.mo; \
|
|
|
|
|
$(INSTALL_DATA) $$cat $(DESTDIR)$$dir/gcc.mo; \
|
Makefile.in (INTL_TARGETS, POSUB): Delete all references.
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
(INTL_SUBDIRS): Just intl.
(.SUFFIXES): Add .gmo .po .pox.
(native): Also depend on build-@POSUB@.
(intl.all, intl.install): Depend on config.h and things it includes.
(po-generated): New target; depend on c-parse.c and tradcif.c.
(install-normal): Also depend on install-@POSUB@.
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
(build-, install-, build-po, update-po, install-po,
.po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
* aclocal.m4: Prefix each entry in CATALOGS with "po/"
* configure.in: Don't munge XGETTEXT. Don't generate
po/Makefile.in.
* configure: Regenerate.
* exgettext: Delete.
* config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
* cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace
$(INTL_TARGETS) with po-generated.
po:
* EXCLUDES: New file.
* exgettext: New helper script; completely rewritten.
* Makefile.in.in, POTFILES.in: Delete.
From-SVN: r46680
2001-10-31 18:40:07 +01:00
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
# Rule for regenerating the message template (gcc.pot).
|
|
|
|
|
# Instead of forcing everyone to edit POTFILES.in, which proved impractical,
|
|
|
|
|
# this rule has no dependencies and always regenerates gcc.pot. This is
|
|
|
|
|
# relatively harmless since the .po files do not directly depend on it.
|
|
|
|
|
# Note that exgettext has an awk script embedded in it which requires a
|
|
|
|
|
# fairly modern (POSIX-compliant) awk.
|
2001-11-09 18:51:56 +01:00
|
|
|
|
# The .pot file is left in the build directory.
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
gcc.pot: po/gcc.pot
|
2005-04-07 00:42:28 +02:00
|
|
|
|
po/gcc.pot: force
|
2001-12-06 19:13:17 +01:00
|
|
|
|
-test -d po || mkdir po
|
2004-02-06 02:02:31 +01:00
|
|
|
|
$(MAKE) srcextra
|
Makefile.in (INTL_TARGETS, POSUB): Delete all references.
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
(INTL_SUBDIRS): Just intl.
(.SUFFIXES): Add .gmo .po .pox.
(native): Also depend on build-@POSUB@.
(intl.all, intl.install): Depend on config.h and things it includes.
(po-generated): New target; depend on c-parse.c and tradcif.c.
(install-normal): Also depend on install-@POSUB@.
(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
(build-, install-, build-po, update-po, install-po,
.po.gmo, .po.pox, $(PACKAGE).pot, po/$(PACKAGE).pot): New rules.
* aclocal.m4: Prefix each entry in CATALOGS with "po/"
* configure.in: Don't munge XGETTEXT. Don't generate
po/Makefile.in.
* configure: Regenerate.
* exgettext: Delete.
* config/m68k/m68k.h: Add doc strings for -msky and -mnosky.
* cp/Make-lang.in, java/Make-lang.in, objc/Make-lang.in: Replace
$(INTL_TARGETS) with po-generated.
po:
* EXCLUDES: New file.
* exgettext: New helper script; completely rewritten.
* Makefile.in.in, POTFILES.in: Delete.
From-SVN: r46680
2001-10-31 18:40:07 +01:00
|
|
|
|
AWK=$(AWK) $(SHELL) $(srcdir)/po/exgettext \
|
gcc-version.m4: Delete.
config:
* gcc-version.m4: Delete.
fastjar:
* Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
(BASEVER, DEVPHASE): New variables.
(POD2MAN): Adjust setting of --release option.
(fastjar.1, grepjar.1, gcc-vers.texi): New rules.
* Makefile.in: Regenerate.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
* aclocal.m4, configure: Regenerate.
gcc:
* BASE-VER, DATESTAMP, DEV-PHASE: New files.
* Makefile.in (gcc_version, gcc_version_trigger, ): Delete.
(BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c)
(BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables.
(version): Define using $(BASEVER_c).
(Makefile, config.status, build/gcov-iov.o): No longer depends on
version.c.
(version.o): Depend on version files; add custom generation command.
(prefix.o): Define BASEVER on command line.
(s-iov): Depend on version files; adjust command.
(TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES):
Add gcc-vers.texi.
(gcc-vers.texi): New rule.
(doc/%.info, doc/%.dvi): Add -I . to command line.
(doc/gccinstall.dvi): Likewise.
(PACKAGE): Delete. All uses replaced with "gcc".
* aclocal.m4: Do not include gcc-version.m4.
* configure.ac: Do not invoke TL_AC_GCC_VERSION.
Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION.
Set is_release based on contents of DEV-PHASE.
Set gcc_version based on contents of BASE-VER.
Define WIN32_REGISTRY_KEY only if the user overrode the default.
* config.in, configure: Regenerate.
* gccbug.in: Determine version of GCC in use at runtime.
* gcov-iov.c: Get version number and development phase from
command line, not by including version.c.
* intl.c: Replace all uses of PACKAGE with "gcc".
* libada-mk.in: Delete unused "gcc_version" variable.
* prefix.c: Default WIN32_REGISTRY_KEY to BASEVER.
* version.c: (VERSUFFIX): New hook for redistributors; adjust
commentary to match.
(version_string): Put together from pieces.
* config/alpha/x-vms: Do not use $(gcc_version).
* config/i386/t-nwld: Likewise.
* doc/include/gcc-common.texi: Include gcc-vers.texi for
version-GCC and DEVELOPMENT.
gcc/ada:
* Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info)
(doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi
to dependencies.
gcc/fortran:
* Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi.
gcc/java:
* Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
gcc/treelang:
* Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi.
libstdc++-v3:
* include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc
subdirectory. Generate #define of __GLIBCXX__ from contents of
that file.
* include/Makefile.in: Regenerate.
* include/bits/c++config: Do not define __GLIBCXX__.
maintainer-scripts:
* README: Update.
* gcc_release: Update gcc/DEV-PHASE if that file exists, instead
of gcc/version.c.
* update_version: Handle updating gcc/DATESTAMP.
* update_web_docs: Generate gcc-vers.texi first.
From-SVN: r96549
2005-03-16 07:04:10 +01:00
|
|
|
|
$(XGETTEXT) gcc $(srcdir)
|