138889Sjdp#! /usr/bin/autogen
260484SobrienAutoGen definitions Makefile.tpl;
338889Sjdp
438889Sjdp// Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
538889Sjdp// This file was originally written by Nathanael Nerode.
638889Sjdp//
738889Sjdp//   Copyright 2002, 2003 Free Software Foundation
838889Sjdp//
938889Sjdp// This file is free software; you can redistribute it and/or modify
1038889Sjdp// it under the terms of the GNU General Public License as published by
1138889Sjdp// the Free Software Foundation; either version 2 of the License, or
1238889Sjdp// (at your option) any later version.
1338889Sjdp// 
1438889Sjdp// This program is distributed in the hope that it will be useful,
1538889Sjdp// but WITHOUT ANY WARRANTY; without even the implied warranty of
1638889Sjdp// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1738889Sjdp// GNU General Public License for more details.
1838889Sjdp// 
1938889Sjdp// You should have received a copy of the GNU General Public License
2038889Sjdp// along with this program; if not, write to the Free Software
2138889Sjdp// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2238889Sjdp
2338889Sjdp
2438889Sjdp// "missing" indicates that that module doesn't supply
2538889Sjdp// that recursive target in its Makefile.
2638889Sjdp
2738889Sjdpbuild_modules= { module= libiberty; };
2838889Sjdpbuild_modules= { module= bison; };
2938889Sjdpbuild_modules= { module= byacc; };
3038889Sjdpbuild_modules= { module= flex; };
3138889Sjdpbuild_modules= { module= m4; };
3260484Sobrienbuild_modules= { module= texinfo; };
3338889Sjdpbuild_modules= { module= fixincludes;
3460484Sobrien		 extra_configure_args='--target=$(target)'; };
3560484Sobrien
3660484Sobrienhost_modules= { module= ash; };
3738889Sjdphost_modules= { module= autoconf; };
3860484Sobrienhost_modules= { module= automake; };
3960484Sobrienhost_modules= { module= bash; };
4060484Sobrienhost_modules= { module= bfd; bootstrap=true; };
4160484Sobrienhost_modules= { module= opcodes; bootstrap=true; };
4260484Sobrienhost_modules= { module= binutils; bootstrap=true; };
4360484Sobrienhost_modules= { module= bison; no_check_cross= true; };
4460484Sobrienhost_modules= { module= byacc; no_check_cross= true; };
4560484Sobrienhost_modules= { module= bzip2; };
4660484Sobrienhost_modules= { module= dejagnu; };
4760484Sobrienhost_modules= { module= diff; };
4860484Sobrienhost_modules= { module= dosutils; no_check= true; };
4960484Sobrienhost_modules= { module= etc; };
5060484Sobrienhost_modules= { module= fastjar; no_check_cross= true; };
5160484Sobrienhost_modules= { module= fileutils; };
5260484Sobrienhost_modules= { module= findutils; };
5360484Sobrienhost_modules= { module= find; };
5460484Sobrienhost_modules= { module= flex; no_check_cross= true; };
5560484Sobrienhost_modules= { module= gas; bootstrap=true; };
5660484Sobrienhost_modules= { module= gcc; bootstrap=true; 
5760484Sobrien		target="`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`";
5860484Sobrien		extra_make_flags="$(EXTRA_GCC_FLAGS)"; };
5960484Sobrienhost_modules= { module= gawk; };
6060484Sobrienhost_modules= { module= gettext; };
6160484Sobrienhost_modules= { module= gnuserv; };
6260484Sobrienhost_modules= { module= gprof; };
6360484Sobrienhost_modules= { module= gzip; };
6460484Sobrienhost_modules= { module= hello; };
6560484Sobrienhost_modules= { module= indent; };
6660484Sobrienhost_modules= { module= intl; bootstrap=true; };
6760484Sobrienhost_modules= { module= tcl;
6860484Sobrien                missing=mostlyclean; };
6960484Sobrienhost_modules= { module= itcl; };
7060484Sobrienhost_modules= { module= ld; bootstrap=true; };
7160484Sobrienhost_modules= { module= libcpp; bootstrap=true; };
7260484Sobrienhost_modules= { module= libgui; };
7360484Sobrienhost_modules= { module= libiberty; bootstrap=true; };
7460484Sobrienhost_modules= { module= libtool; };
7538889Sjdphost_modules= { module= m4; };
7638889Sjdphost_modules= { module= make; };
7738889Sjdphost_modules= { module= mmalloc; no_check=true; };
7838889Sjdphost_modules= { module= patch; };
7938889Sjdphost_modules= { module= perl; };
8038889Sjdphost_modules= { module= prms; };
8138889Sjdphost_modules= { module= rcs; };
8238889Sjdphost_modules= { module= readline; };
8338889Sjdphost_modules= { module= release; no_install= true; no_check= true; };
8438889Sjdphost_modules= { module= recode; };
8538889Sjdphost_modules= { module= sed; };
8638889Sjdphost_modules= { module= send-pr; };
8738889Sjdphost_modules= { module= shellutils; };
8838889Sjdphost_modules= { module= sid; };
8938889Sjdphost_modules= { module= sim; };
9038889Sjdphost_modules= { module= tar; };
9138889Sjdphost_modules= { module= texinfo; no_install= true; };
9238889Sjdphost_modules= { module= textutils; };
9338889Sjdphost_modules= { module= time; };
9438889Sjdphost_modules= { module= uudecode; };
9538889Sjdphost_modules= { module= wdiff; };
9638889Sjdphost_modules= { module= zip; no_check_cross=true; };
9738889Sjdphost_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; };
9838889Sjdphost_modules= { module= gdb; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
9938889Sjdphost_modules= { module= expect; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
10038889Sjdphost_modules= { module= guile; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
10138889Sjdphost_modules= { module= tk; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
10238889Sjdphost_modules= { module= libtermcap; no_check=true; 
10338889Sjdp                missing=mostlyclean;
10438889Sjdp                missing=clean;
10538889Sjdp                missing=distclean;
10638889Sjdp                missing=maintainer-clean; };
10738889Sjdphost_modules= { module= utils; no_check=true; };
10838889Sjdp
10938889Sjdptarget_modules = { module= libstdc++-v3; raw_cxx=true; };
11038889Sjdptarget_modules = { module= libmudflap; };
11138889Sjdptarget_modules = { module= newlib; };
11238889Sjdptarget_modules = { module= libgfortran; };
11338889Sjdptarget_modules = { module= libobjc; };
11438889Sjdptarget_modules = { module= libtermcap; no_check=true; stage=true;
11538889Sjdp                   missing=mostlyclean;
11638889Sjdp                   missing=clean;
11738889Sjdp                   missing=distclean;
11838889Sjdp                   missing=maintainer-clean; };
11938889Sjdptarget_modules = { module= winsup; };
12038889Sjdptarget_modules = { module= libgloss; no_check=true; };
12138889Sjdptarget_modules = { module= libiberty; };
12238889Sjdptarget_modules = { module= gperf; };
12338889Sjdptarget_modules = { module= examples; no_check=true; no_install=true; };
12438889Sjdptarget_modules = { module= libffi; };
12538889Sjdptarget_modules = { module= libjava; raw_cxx=true; };
12638889Sjdptarget_modules = { module= zlib; stage=true; };
12738889Sjdptarget_modules = { module= boehm-gc; };
12838889Sjdptarget_modules = { module= qthreads; };
12960484Sobrientarget_modules = { module= rda; };
13060484Sobrientarget_modules = { module= libada; };
13160484Sobrien
13260484Sobrien// These are (some of) the make targets to be done in each subdirectory.
13360484Sobrien// Not all; these are the ones which don't have special options.
13460484Sobrien// "depend" indicates that a target depends on another target uniformly
13560484Sobrien// for each subdirectory.  There can be several such lines per target.
13660484Sobrienrecursive_targets = { make_target= info; 
13760484Sobrien                      depend=configure; };
13838889Sjdprecursive_targets = { make_target= dvi; 
13938889Sjdp                      depend=configure; };
14038889Sjdprecursive_targets = { make_target= TAGS; 
14138889Sjdp                      depend=configure; };
14238889Sjdprecursive_targets = { make_target= install-info; 
14338889Sjdp                      depend=configure;
14438889Sjdp                      depend=info; };
14538889Sjdprecursive_targets = { make_target= installcheck; 
14638889Sjdp                      depend=configure; };
14738889Sjdprecursive_targets = { make_target= mostlyclean; };
14838889Sjdprecursive_targets = { make_target= clean; };
14938889Sjdprecursive_targets = { make_target= distclean; };
15038889Sjdprecursive_targets = { make_target= maintainer-clean; };
15138889Sjdp
15238889Sjdp// Flags which need to be passed down.
15338889Sjdp
15438889Sjdp// Directories etc.
15538889Sjdpflags_to_pass = { flag= DESTDIR ; };
15638889Sjdpflags_to_pass = { flag= RPATH_ENVVAR ; };
15738889Sjdpflags_to_pass = { flag= TARGET_SUBDIR ; };
15838889Sjdpflags_to_pass = { flag= bindir ; };
15938889Sjdpflags_to_pass = { flag= datadir ; };
16038889Sjdpflags_to_pass = { flag= exec_prefix ; };
16138889Sjdpflags_to_pass = { flag= includedir ; };
16238889Sjdpflags_to_pass = { flag= infodir ; };
16338889Sjdpflags_to_pass = { flag= libdir ; };
16460484Sobrienflags_to_pass = { flag= libexecdir ; };
16560484Sobrienflags_to_pass = { flag= lispdir ; };
16660484Sobrienflags_to_pass = { flag= libstdcxx_incdir ; };
16760484Sobrienflags_to_pass = { flag= libsubdir ; };
16860484Sobrienflags_to_pass = { flag= localstatedir ; };
16938889Sjdpflags_to_pass = { flag= mandir ; };
17038889Sjdpflags_to_pass = { flag= oldincludedir ; };
17138889Sjdpflags_to_pass = { flag= prefix ; };
17238889Sjdpflags_to_pass = { flag= sbindir ; };
17338889Sjdpflags_to_pass = { flag= sharedstatedir ; };
17438889Sjdpflags_to_pass = { flag= sysconfdir ; };
17538889Sjdpflags_to_pass = { flag= tooldir ; };
17660484Sobrienflags_to_pass = { flag= build_tooldir ; };
17760484Sobrienflags_to_pass = { flag= gxx_include_dir ; };
17860484Sobrienflags_to_pass = { flag= gcc_version ; };
17960484Sobrienflags_to_pass = { flag= gcc_version_trigger ; };
18060484Sobrienflags_to_pass = { flag= target_alias ; };
18160484Sobrien
18260484Sobrien// Build tools
18360484Sobrienflags_to_pass = { flag= BISON ; };
18460484Sobrienflags_to_pass = { flag= CC_FOR_BUILD ; };
18560484Sobrienflags_to_pass = { flag= CXX_FOR_BUILD ; };
18660484Sobrienflags_to_pass = { flag= EXPECT ; };
18760484Sobrienflags_to_pass = { flag= FLEX ; };
18860484Sobrienflags_to_pass = { flag= INSTALL ; };
18960484Sobrienflags_to_pass = { flag= INSTALL_DATA ; };
19060484Sobrienflags_to_pass = { flag= INSTALL_PROGRAM ; };
19160484Sobrienflags_to_pass = { flag= INSTALL_SCRIPT ; };
19260484Sobrienflags_to_pass = { flag= LEX ; };
19360484Sobrienflags_to_pass = { flag= M4 ; };
19460484Sobrienflags_to_pass = { flag= MAKE ; };
19560484Sobrienflags_to_pass = { flag= RUNTEST ; };
19660484Sobrienflags_to_pass = { flag= RUNTESTFLAGS ; };
19760484Sobrienflags_to_pass = { flag= SHELL ; };
19860484Sobrienflags_to_pass = { flag= YACC ; };
19960484Sobrien
20060484Sobrien// Host tools
20160484Sobrienflags_to_pass = { flag= AR_FLAGS ; };
20260484Sobrienflags_to_pass = { flag= CFLAGS ; };
20360484Sobrienflags_to_pass = { flag= CXXFLAGS ; };
20460484Sobrienflags_to_pass = { flag= LDFLAGS ; };
20560484Sobrienflags_to_pass = { flag= LIBCFLAGS ; };
20660484Sobrienflags_to_pass = { flag= LIBCXXFLAGS ; };
20760484Sobrien
20860484Sobrien// Target tools
20960484Sobrienflags_to_pass = { flag= AR_FOR_TARGET ; };
21060484Sobrienflags_to_pass = { flag= AS_FOR_TARGET ; };
21160484Sobrienflags_to_pass = { flag= CC_FOR_TARGET ; };
21260484Sobrienflags_to_pass = { flag= CFLAGS_FOR_TARGET ; };
21360484Sobrienflags_to_pass = { flag= CXX_FOR_TARGET ; };
21460484Sobrienflags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; };
21560484Sobrienflags_to_pass = { flag= DLLTOOL_FOR_TARGET ; };
21660484Sobrienflags_to_pass = { flag= GCJ_FOR_TARGET ; };
21760484Sobrienflags_to_pass = { flag= GFORTRAN_FOR_TARGET ; };
21860484Sobrienflags_to_pass = { flag= LD_FOR_TARGET ; };
21960484Sobrienflags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; };
22060484Sobrienflags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; };
22160484Sobrienflags_to_pass = { flag= NM_FOR_TARGET ; };
22260484Sobrienflags_to_pass = { flag= RANLIB_FOR_TARGET ; };
22360484Sobrienflags_to_pass = { flag= WINDRES_FOR_TARGET ; };
22460484Sobrien
22560484Sobrien// Inter-module dependencies
22660484Sobrien
22760484Sobrien// Build modules
22860484Sobriendependencies = { module=all-build-bison; on=all-build-texinfo; };
22960484Sobriendependencies = { module=all-build-byacc; on=all-build-texinfo; };
23060484Sobriendependencies = { module=all-build-flex; on=all-build-texinfo; };
23160484Sobriendependencies = { module=all-build-flex; on=all-build-bison; };
23260484Sobriendependencies = { module=all-build-flex; on=all-build-byacc; };
23360484Sobriendependencies = { module=all-build-flex; on=all-build-m4; };
23460484Sobriendependencies = { module=all-build-libiberty; on=all-build-texinfo; };
23560484Sobriendependencies = { module=all-build-m4; on=all-build-texinfo; };
23660484Sobriendependencies = { module=all-build-fixincludes; on=all-build-libiberty; };
23760484Sobrien
23860484Sobrien// Host modules specific to gcc.
23960484Sobriendependencies = { module=configure-gcc; on=configure-intl; };
24060484Sobriendependencies = { module=configure-gcc; on=configure-binutils; };
24160484Sobriendependencies = { module=configure-gcc; on=configure-gas; };
24260484Sobriendependencies = { module=configure-gcc; on=configure-ld; };
24360484Sobriendependencies = { module=all-gcc; on=all-libiberty; hard=true; };
24460484Sobriendependencies = { module=all-gcc; on=all-intl; };
24560484Sobriendependencies = { module=all-gcc; on=all-build-texinfo; };
24660484Sobriendependencies = { module=all-gcc; on=all-build-bison; };
24760484Sobriendependencies = { module=all-gcc; on=all-build-byacc; };
24860484Sobriendependencies = { module=all-gcc; on=all-build-flex; };
24960484Sobriendependencies = { module=all-gcc; on=all-build-libiberty; };
25060484Sobriendependencies = { module=all-gcc; on=all-build-fixincludes; };
25160484Sobriendependencies = { module=all-gcc; on=all-binutils; };
25260484Sobriendependencies = { module=all-gcc; on=all-gas; };
25360484Sobriendependencies = { module=all-gcc; on=all-ld; };
25460484Sobriendependencies = { module=all-gcc; on=all-zlib; };
25560484Sobriendependencies = { module=all-gcc; on=all-libcpp; hard=true; };
25660484Sobriendependencies = { module=all-gcc; on=all-build-libiberty; };
25760484Sobrien
25860484Sobriendependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; };
25960484Sobriendependencies = { module=configure-libcpp; on=configure-intl; };
26060484Sobriendependencies = { module=all-libcpp; on=all-libiberty; hard=true; };
26160484Sobriendependencies = { module=all-libcpp; on=all-intl; };
26260484Sobrien
26360484Sobrien// Host modules specific to gdb.
26460484Sobriendependencies = { module=configure-gdb; on=configure-itcl; };
26560484Sobriendependencies = { module=configure-gdb; on=configure-tcl; };
26660484Sobriendependencies = { module=configure-gdb; on=configure-tk; };
26760484Sobriendependencies = { module=configure-gdb; on=configure-sim; };
26860484Sobriendependencies = { module=all-gdb; on=all-libiberty; };
26960484Sobriendependencies = { module=all-gdb; on=all-opcodes; };
27060484Sobriendependencies = { module=all-gdb; on=all-bfd; };
27160484Sobriendependencies = { module=all-gdb; on=all-readline; };
27260484Sobriendependencies = { module=all-gdb; on=all-build-bison; };
27360484Sobriendependencies = { module=all-gdb; on=all-build-byacc; };
27460484Sobriendependencies = { module=all-gdb; on=all-sim; };
27560484Sobriendependencies = { module=install-gdb; on=install-tcl; };
27660484Sobriendependencies = { module=install-gdb; on=install-tk; };
27760484Sobriendependencies = { module=install-gdb; on=install-itcl; };
27860484Sobriendependencies = { module=install-gdb; on=install-libgui; };
27960484Sobrien
28060484Sobriendependencies = { module=configure-libgui; on=configure-tcl; };
28160484Sobriendependencies = { module=configure-libgui; on=configure-tk; };
28260484Sobriendependencies = { module=all-libgui; on=all-tcl; };
28360484Sobriendependencies = { module=all-libgui; on=all-tk; };
28460484Sobriendependencies = { module=all-libgui; on=all-itcl; };
28560484Sobrien
28660484Sobrien// Host modules specific to binutils.
28760484Sobriendependencies = { module=configure-bfd; on=configure-libiberty; hard=true; };
28860484Sobriendependencies = { module=all-bfd; on=all-libiberty; };
28960484Sobriendependencies = { module=all-bfd; on=all-intl; };
29060484Sobrien
29160484Sobriendependencies = { module=all-binutils; on=all-libiberty; };
29260484Sobriendependencies = { module=all-binutils; on=all-opcodes; };
29360484Sobriendependencies = { module=all-binutils; on=all-bfd; };
29460484Sobriendependencies = { module=all-binutils; on=all-build-flex; };
29560484Sobriendependencies = { module=all-binutils; on=all-build-bison; };
29660484Sobriendependencies = { module=all-binutils; on=all-build-byacc; };
29760484Sobriendependencies = { module=all-binutils; on=all-intl; };
29860484Sobrien
29960484Sobrien// We put install-opcodes before install-binutils because the installed
30060484Sobrien// binutils might be on PATH, and they might need the shared opcodes
30160484Sobrien// library.
30260484Sobriendependencies = { module=install-binutils; on=install-opcodes; };
30360484Sobrien
30460484Sobrien// libopcodes depends on libbfd
30560484Sobriendependencies = { module=install-opcodes; on=install-bfd; };
30660484Sobrien
30760484Sobriendependencies = { module=all-gas; on=all-libiberty; };
30860484Sobriendependencies = { module=all-gas; on=all-opcodes; };
30960484Sobriendependencies = { module=all-gas; on=all-bfd; };
31060484Sobriendependencies = { module=all-gas; on=all-intl; };
31160484Sobriendependencies = { module=all-gprof; on=all-libiberty; };
31260484Sobriendependencies = { module=all-gprof; on=all-bfd; };
31360484Sobriendependencies = { module=all-gprof; on=all-opcodes; };
31460484Sobriendependencies = { module=all-gprof; on=all-intl; };
31560484Sobriendependencies = { module=all-ld; on=all-libiberty; };
31660484Sobriendependencies = { module=all-ld; on=all-bfd; };
31760484Sobriendependencies = { module=all-ld; on=all-opcodes; };
31860484Sobriendependencies = { module=all-ld; on=all-build-bison; };
31960484Sobriendependencies = { module=all-ld; on=all-build-byacc; };
32060484Sobriendependencies = { module=all-ld; on=all-build-flex; };
32160484Sobriendependencies = { module=all-ld; on=all-intl; };
32260484Sobrien
32360484Sobriendependencies = { module=all-opcodes; on=all-bfd; };
32460484Sobriendependencies = { module=all-opcodes; on=all-libiberty; };
32560484Sobrien
32660484Sobrien// Other host modules in the 'src' repository.
32760484Sobriendependencies = { module=all-dejagnu; on=all-tcl; };
32860484Sobriendependencies = { module=all-dejagnu; on=all-expect; };
32960484Sobriendependencies = { module=all-dejagnu; on=all-tk; };
33060484Sobriendependencies = { module=configure-expect; on=configure-tcl; };
33160484Sobriendependencies = { module=configure-expect; on=configure-tk; };
33260484Sobriendependencies = { module=all-expect; on=all-tcl; };
33360484Sobriendependencies = { module=all-expect; on=all-tk; };
33460484Sobrien
33560484Sobrien// We put install-tcl before install-itcl because itcl wants to run a
33660484Sobrien// program on installation which uses the Tcl libraries.
33760484Sobriendependencies = { module=configure-itcl; on=configure-tcl; };
33860484Sobriendependencies = { module=configure-itcl; on=configure-tk; };
33960484Sobriendependencies = { module=all-itcl; on=all-tcl; };
34060484Sobriendependencies = { module=all-itcl; on=all-tk; };
34160484Sobriendependencies = { module=install-itcl; on=install-tcl; };
34260484Sobrien
34360484Sobriendependencies = { module=configure-tk; on=configure-tcl; };
34460484Sobriendependencies = { module=all-tk; on=all-tcl; };
34560484Sobrien
34660484Sobriendependencies = { module=all-sid; on=all-libiberty; };
34760484Sobriendependencies = { module=all-sid; on=all-bfd; };
34860484Sobriendependencies = { module=all-sid; on=all-opcodes; };
34960484Sobriendependencies = { module=all-sid; on=all-tcl; };
35060484Sobriendependencies = { module=all-sid; on=all-tk; };
35160484Sobriendependencies = { module=install-sid; on=install-tcl; };
35260484Sobriendependencies = { module=install-sid; on=install-tk; };
35360484Sobrien
35460484Sobriendependencies = { module=all-sim; on=all-libiberty; };
35560484Sobriendependencies = { module=all-sim; on=all-bfd; };
35660484Sobriendependencies = { module=all-sim; on=all-opcodes; };
35760484Sobriendependencies = { module=all-sim; on=all-readline; };
35860484Sobriendependencies = { module=all-sim; on=configure-gdb; };
35960484Sobrien
36060484Sobrien// Other host modules.
36160484Sobriendependencies = { module=all-fastjar; on=all-zlib; };
36260484Sobriendependencies = { module=all-fastjar; on=all-build-texinfo; };
36360484Sobriendependencies = { module=all-fastjar; on=all-libiberty; };
36460484Sobrien
36560484Sobrien// Warning, these are not well tested.
36660484Sobriendependencies = { module=all-autoconf; on=all-m4; };
36760484Sobriendependencies = { module=all-autoconf; on=all-build-texinfo; };
36860484Sobriendependencies = { module=all-automake; on=all-m4; };
36960484Sobriendependencies = { module=all-automake; on=all-build-texinfo; };
37060484Sobriendependencies = { module=all-automake; on=all-autoconf; };
37160484Sobriendependencies = { module=all-bison; on=all-intl; };
37260484Sobriendependencies = { module=all-bison; on=all-build-texinfo; };
37360484Sobriendependencies = { module=all-diff; on=all-intl; };
37460484Sobriendependencies = { module=all-diff; on=all-build-texinfo; };
37560484Sobriendependencies = { module=all-fileutils; on=all-intl; };
37660484Sobriendependencies = { module=all-fileutils; on=all-build-texinfo; };
37760484Sobriendependencies = { module=all-flex; on=all-build-bison; };
37860484Sobriendependencies = { module=all-flex; on=all-build-byacc; };
37960484Sobriendependencies = { module=all-flex; on=all-intl; };
38060484Sobriendependencies = { module=all-flex; on=all-m4; };
38160484Sobriendependencies = { module=all-flex; on=all-build-texinfo; };
38260484Sobriendependencies = { module=all-gzip; on=all-intl; };
38360484Sobriendependencies = { module=all-gzip; on=all-zlib; };
38460484Sobriendependencies = { module=all-gzip; on=all-build-texinfo; };
38560484Sobriendependencies = { module=all-hello; on=all-intl; };
38638889Sjdpdependencies = { module=all-hello; on=all-build-texinfo; };
38738889Sjdpdependencies = { module=all-m4; on=all-intl; };
38838889Sjdpdependencies = { module=all-m4; on=all-build-texinfo; };
38960484Sobriendependencies = { module=all-make; on=all-intl; };
39038889Sjdpdependencies = { module=all-make; on=all-build-texinfo; };
39138889Sjdpdependencies = { module=all-patch; on=all-build-texinfo; };
39238889Sjdpdependencies = { module=all-make; on=all-build-texinfo; };
39338889Sjdpdependencies = { module=all-prms; on=all-libiberty; };
39460484Sobriendependencies = { module=all-recode; on=all-build-texinfo; };
39538889Sjdpdependencies = { module=all-sed; on=all-build-texinfo; };
39638889Sjdpdependencies = { module=all-send-pr; on=all-prms; };
39738889Sjdpdependencies = { module=all-tar; on=all-build-texinfo; };
39860484Sobriendependencies = { module=all-uudecode; on=all-build-texinfo; };
39938889Sjdp
40038889Sjdp// Target modules.  These can also have dependencies on the language
40138889Sjdp// environment (e.g. on libstdc++).
40238889Sjdplang_env_dependencies = { module=boehm-gc; };
40338889Sjdplang_env_dependencies = { module=gperf; cxx=true; };
40438889Sjdplang_env_dependencies = { module=libada; };
40560484Sobrienlang_env_dependencies = { module=libgfortran; };
40660484Sobrienlang_env_dependencies = { module=libffi; };
40760484Sobrienlang_env_dependencies = { module=libjava; cxx=true; };
40860484Sobrienlang_env_dependencies = { module=libobjc; };
40960484Sobrienlang_env_dependencies = { module=libstdc++-v3; };
41060484Sobrienlang_env_dependencies = { module=zlib; };
41160484Sobrien
41238889Sjdpdependencies = { module=configure-target-boehm-gc; on=configure-target-qthreads; };
41360484Sobriendependencies = { module=configure-target-fastjar; on=configure-target-zlib; };
41460484Sobriendependencies = { module=all-target-fastjar; on=all-target-zlib; };
41560484Sobriendependencies = { module=all-target-fastjar; on=all-target-libiberty; };
41660484Sobriendependencies = { module=configure-target-libjava; on=configure-target-zlib; };
41760484Sobriendependencies = { module=configure-target-libjava; on=configure-target-boehm-gc; };
41860484Sobriendependencies = { module=configure-target-libjava; on=configure-target-qthreads; };
41960484Sobriendependencies = { module=configure-target-libjava; on=configure-target-libffi; };
42060484Sobriendependencies = { module=all-target-libjava; on=all-fastjar; };
42160484Sobriendependencies = { module=all-target-libjava; on=all-target-zlib; };
42260484Sobriendependencies = { module=all-target-libjava; on=all-target-boehm-gc; };
42360484Sobriendependencies = { module=all-target-libjava; on=all-target-qthreads; };
42460484Sobriendependencies = { module=all-target-libjava; on=all-target-libffi; };
42560484Sobriendependencies = { module=all-target-libobjc; on=all-target-libiberty; };
42660484Sobriendependencies = { module=all-target-libstdc++-v3; on=all-target-libiberty; };
42760484Sobrien
42860484Sobrien// Target modules in the 'src' repository.
42960484Sobrienlang_env_dependencies = { module=examples; };
43060484Sobrienlang_env_dependencies = { module=libtermcap; };
43160484Sobrienlang_env_dependencies = { module=rda; };
43260484Sobrienlang_env_dependencies = { module=winsup; };
43360484Sobrienlang_env_dependencies = { module=qthreads; };
43460484Sobrien
43560484Sobriendependencies = { module=all-target-libgloss; on=configure-target-newlib; };
43660484Sobriendependencies = { module=all-target-winsup; on=all-target-libiberty; };
43760484Sobriendependencies = { module=all-target-winsup; on=all-target-libtermcap; };
43860484Sobrien
43960484Sobrien// Toplevel bootstrap
44060484Sobrienbootstrap_stage = {
44160484Sobrien	id=1 ;
44260484Sobrien	stage_configure_flags='--disable-intermodule \
44360484Sobrien	  --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"' ;
44460484Sobrien	stage_make_flags='CFLAGS="$(STAGE1_CFLAGS)"' ; };
44560484Sobrienbootstrap_stage = {
44660484Sobrien	id=2 ; prev=1 ;
44760484Sobrien	bootstrap_target=bootstrap2 ;
44860484Sobrien	stage_configure_flags="@stage2_werror_flag@" ;
44960484Sobrien	stage_make_flags="" ; };
45060484Sobrienbootstrap_stage = {
45160484Sobrien	id=3 ; prev=2 ; lean=1 ;
45260484Sobrien	compare_target=compare ;
45360484Sobrien	bootstrap_target=bootstrap ;
45460484Sobrien	cleanstrap_target=cleanstrap ;
45560484Sobrien	stage_configure_flags="@stage2_werror_flag@" ;
45660484Sobrien	stage_make_flags="" ; };
45760484Sobrienbootstrap_stage = {
45860484Sobrien	id=4 ; prev=3 ; lean=2 ;
45960484Sobrien	compare_target=compare3 ;
46060484Sobrien	bootstrap_target=bootstrap4 ;
46160484Sobrien	stage_configure_flags="@stage2_werror_flag@" ;
46260484Sobrien	stage_make_flags="" ; };
46360484Sobrienbootstrap_stage = {
46460484Sobrien	id=profile ; prev=1 ;
46560484Sobrien	stage_configure_flags="@stage2_werror_flag@" ;
46660484Sobrien	stage_make_flags='CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"' ; };
46760484Sobrienbootstrap_stage = {
46860484Sobrien	id=feedback ; prev=1 ;
46960484Sobrien	stage_configure_flags="@stage2_werror_flag@" ;
47060484Sobrien	stage_make_flags='CFLAGS="$(BOOT_CFLAGS) -fprofile-use"' ; };
47160484Sobrien