]> git.ipfire.org Git - thirdparty/gcc.git/blame - Makefile.def
PR tree-optimization/46077
[thirdparty/gcc.git] / Makefile.def
CommitLineData
2a1ac811 1#! /usr/bin/autogen
2AutoGen definitions Makefile.tpl;
3
ff2e99a4 4// Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
5// This file was originally written by Nathanael Nerode.
6//
6e6a9ced 7// Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
8// Free Software Foundation
ff2e99a4 9//
10// This file is free software; you can redistribute it and/or modify
11// it under the terms of the GNU General Public License as published by
4b072aaf 12// the Free Software Foundation; either version 3 of the License, or
ff2e99a4 13// (at your option) any later version.
14//
15// This program is distributed in the hope that it will be useful,
16// but WITHOUT ANY WARRANTY; without even the implied warranty of
17// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18// GNU General Public License for more details.
19//
20// You should have received a copy of the GNU General Public License
4b072aaf 21// along with this program; see the file COPYING3. If not see
22// <http://www.gnu.org/licenses/>.
ff2e99a4 23
24
25// "missing" indicates that that module doesn't supply
26// that recursive target in its Makefile.
27
805e22b2 28build_modules= { module= libiberty; };
2f8725b0 29build_modules= { module= bison; };
30build_modules= { module= byacc; };
31build_modules= { module= flex; };
32build_modules= { module= m4; };
33build_modules= { module= texinfo; };
d45318b3 34build_modules= { module= fixincludes; };
805e22b2 35
2a1ac811 36host_modules= { module= ash; };
37host_modules= { module= autoconf; };
38host_modules= { module= automake; };
39host_modules= { module= bash; };
6c21862c 40host_modules= { module= bfd; lib_path=.libs; bootstrap=true; };
41host_modules= { module= opcodes; lib_path=.libs; bootstrap=true; };
be2c9eb1 42host_modules= { module= binutils; bootstrap=true; };
ea8d3d75 43host_modules= { module= bison; no_check_cross= true; };
44host_modules= { module= byacc; no_check_cross= true; };
2a1ac811 45host_modules= { module= bzip2; };
dd80c828 46host_modules= { module= cgen; };
2a1ac811 47host_modules= { module= dejagnu; };
48host_modules= { module= diff; };
49host_modules= { module= dosutils; no_check= true; };
50host_modules= { module= etc; };
51host_modules= { module= fastjar; no_check_cross= true; };
52host_modules= { module= fileutils; };
53host_modules= { module= findutils; };
54host_modules= { module= find; };
bdcc5e0f 55host_modules= { module= fixincludes;
d6eaff55 56 missing= TAGS; };
ea8d3d75 57host_modules= { module= flex; no_check_cross= true; };
be2c9eb1 58host_modules= { module= gas; bootstrap=true; };
ea8d3d75 59host_modules= { module= gcc; bootstrap=true;
60 extra_make_flags="$(EXTRA_GCC_FLAGS)"; };
2a1ac811 61host_modules= { module= gawk; };
62host_modules= { module= gettext; };
d45318b3 63host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
64 extra_configure_flags='--disable-shared';
e01b36b0 65 no_install= true;
66 // none-*-* disables asm optimizations, bootstrap-testing
67 // the compiler more thoroughly.
68 host="none-${host_vendor}-${host_os}";
69 // gmp's configure will complain if given anything
70 // different from host for target.
71 target="none-${host_vendor}-${host_os}"; };
d45318b3 72host_modules= { module= mpfr; lib_path=.libs; bootstrap=true;
bff7ea4a 73 extra_configure_flags='--disable-shared @extra_mpfr_configure_flags@';
eea1ae23 74 no_install= true; };
7601a55c 75host_modules= { module= mpc; lib_path=.libs; bootstrap=true;
76 extra_configure_flags='--disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@';
77 no_install= true; };
eea1ae23 78host_modules= { module= ppl; lib_path=src/.libs; bootstrap=true;
255b6be7 79 extra_configure_flags='--disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/';
eea1ae23 80 no_install= true; };
255b6be7 81host_modules= { module= cloog; lib_path=.libs; bootstrap=true;
eea1ae23 82 extra_configure_flags='--disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl';
83 extra_exports='CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; ';
84 extra_make_flags='CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"';
85 no_install= true; };
86host_modules= { module= libelf; lib_path=.libs; bootstrap=true;
87 extra_configure_flags='--disable-shared';
88 no_install= true; };
2a1ac811 89host_modules= { module= gnuserv; };
3d47fcf5 90host_modules= { module= gold; bootstrap=true; };
2a1ac811 91host_modules= { module= gprof; };
2a1ac811 92host_modules= { module= gzip; };
93host_modules= { module= hello; };
94host_modules= { module= indent; };
be2c9eb1 95host_modules= { module= intl; bootstrap=true; };
ff2e99a4 96host_modules= { module= tcl;
97 missing=mostlyclean; };
2a1ac811 98host_modules= { module= itcl; };
be2c9eb1 99host_modules= { module= ld; bootstrap=true; };
d856c8a6 100host_modules= { module= libcpp; bootstrap=true; };
e21c3597 101host_modules= { module= libdecnumber; bootstrap=true; };
2a1ac811 102host_modules= { module= libgui; };
7bfefa9d 103host_modules= { module= libiberty; bootstrap=true;
104 extra_configure_flags='@extra_host_libiberty_configure_flags@';};
63d6abe9 105// We abuse missing to avoid installing anything for libiconv.
106host_modules= { module= libiconv;
107 extra_configure_flags='--disable-shared';
108 no_install= true;
109 missing= install-info;
110 missing= install-pdf;
111 missing= install-html;
112 missing= install-info; };
2a1ac811 113host_modules= { module= libtool; };
114host_modules= { module= m4; };
115host_modules= { module= make; };
116host_modules= { module= mmalloc; no_check=true; };
117host_modules= { module= patch; };
118host_modules= { module= perl; };
119host_modules= { module= prms; };
120host_modules= { module= rcs; };
121host_modules= { module= readline; };
122host_modules= { module= release; no_install= true; no_check= true; };
123host_modules= { module= recode; };
124host_modules= { module= sed; };
125host_modules= { module= send-pr; };
126host_modules= { module= shellutils; };
127host_modules= { module= sid; };
128host_modules= { module= sim; };
2a1ac811 129host_modules= { module= tar; };
ea8d3d75 130host_modules= { module= texinfo; no_install= true; };
2a1ac811 131host_modules= { module= textutils; };
132host_modules= { module= time; };
133host_modules= { module= uudecode; };
134host_modules= { module= wdiff; };
135host_modules= { module= zip; no_check_cross=true; };
be2c9eb1 136host_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; };
a1ad7483 137host_modules= { module= gdb; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
138host_modules= { module= expect; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
139host_modules= { module= guile; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
140host_modules= { module= tk; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
ff2e99a4 141host_modules= { module= libtermcap; no_check=true;
142 missing=mostlyclean;
143 missing=clean;
144 missing=distclean;
145 missing=maintainer-clean; };
805e22b2 146host_modules= { module= utils; no_check=true; };
a136b23d 147host_modules= { module= gnattools; };
7bfefa9d 148host_modules= { module= lto-plugin; bootstrap=true; };
cc46b37d 149
7ab76cec 150target_modules = { module= libstdc++-v3;
151 bootstrap=true;
1235ba90 152 lib_path=src/.libs;
7ab76cec 153 raw_cxx=true; };
85115a11 154target_modules = { module= libmudflap; lib_path=.libs; };
0d55f4d0 155target_modules = { module= libssp; lib_path=.libs; };
cc46b37d 156target_modules = { module= newlib; };
894a47b4 157target_modules = { module= libgcc; bootstrap=true; no_check=true; };
87969c8c 158target_modules = { module= libquadmath; };
4ee9c684 159target_modules = { module= libgfortran; };
cc46b37d 160target_modules = { module= libobjc; };
c1eb9e31 161target_modules = { module= libtermcap; no_check=true;
ff2e99a4 162 missing=mostlyclean;
163 missing=clean;
164 missing=distclean;
165 missing=maintainer-clean; };
cc46b37d 166target_modules = { module= winsup; };
167target_modules = { module= libgloss; no_check=true; };
24b4656e 168target_modules = { module= libiberty; };
cc46b37d 169target_modules = { module= gperf; };
170target_modules = { module= examples; no_check=true; no_install=true; };
f53265fe 171target_modules = { module= libffi; };
805e22b2 172target_modules = { module= libjava; raw_cxx=true; };
c1eb9e31 173target_modules = { module= zlib; };
cc46b37d 174target_modules = { module= boehm-gc; };
175target_modules = { module= qthreads; };
062b02db 176target_modules = { module= rda; };
93341878 177target_modules = { module= libada; };
1fda3360 178target_modules = { module= libgomp; bootstrap= true; lib_path=.libs; };
805e22b2 179
ffe98fac 180// These are (some of) the make targets to be done in each subdirectory.
805e22b2 181// Not all; these are the ones which don't have special options.
ff2e99a4 182// "depend" indicates that a target depends on another target uniformly
183// for each subdirectory. There can be several such lines per target.
184recursive_targets = { make_target= info;
185 depend=configure; };
186recursive_targets = { make_target= dvi;
187 depend=configure; };
51f93521 188recursive_targets = { make_target= pdf;
189 depend=configure; };
956942fa 190recursive_targets = { make_target= html;
191 depend=configure; };
ff2e99a4 192recursive_targets = { make_target= TAGS;
193 depend=configure; };
194recursive_targets = { make_target= install-info;
195 depend=configure;
196 depend=info; };
130effca 197recursive_targets = { make_target= install-pdf;
198 depend=configure;
199 depend=pdf; };
e0dbdbbf 200recursive_targets = { make_target= install-html;
201 depend=configure;
202 depend=html; };
ff2e99a4 203recursive_targets = { make_target= installcheck;
204 depend=configure; };
205recursive_targets = { make_target= mostlyclean; };
ffe98fac 206recursive_targets = { make_target= clean; };
207recursive_targets = { make_target= distclean; };
ffe98fac 208recursive_targets = { make_target= maintainer-clean; };
36bbd884 209
210// Flags which need to be passed down.
211
212// Directories etc.
213flags_to_pass = { flag= DESTDIR ; };
214flags_to_pass = { flag= RPATH_ENVVAR ; };
215flags_to_pass = { flag= TARGET_SUBDIR ; };
839c6a20 216flags_to_pass = { flag= bindir ; };
217flags_to_pass = { flag= datadir ; };
218flags_to_pass = { flag= exec_prefix ; };
219flags_to_pass = { flag= includedir ; };
e0dbdbbf 220flags_to_pass = { flag= datarootdir ; };
221flags_to_pass = { flag= docdir ; };
839c6a20 222flags_to_pass = { flag= infodir ; };
130effca 223flags_to_pass = { flag= pdfdir ; };
e0dbdbbf 224flags_to_pass = { flag= htmldir ; };
839c6a20 225flags_to_pass = { flag= libdir ; };
226flags_to_pass = { flag= libexecdir ; };
227flags_to_pass = { flag= lispdir ; };
839c6a20 228flags_to_pass = { flag= localstatedir ; };
229flags_to_pass = { flag= mandir ; };
36bbd884 230flags_to_pass = { flag= oldincludedir ; };
839c6a20 231flags_to_pass = { flag= prefix ; };
232flags_to_pass = { flag= sbindir ; };
233flags_to_pass = { flag= sharedstatedir ; };
234flags_to_pass = { flag= sysconfdir ; };
36bbd884 235flags_to_pass = { flag= tooldir ; };
236flags_to_pass = { flag= build_tooldir ; };
36bbd884 237flags_to_pass = { flag= target_alias ; };
238
239// Build tools
b181f265 240flags_to_pass = { flag= AWK ; };
36bbd884 241flags_to_pass = { flag= BISON ; };
b321577c 242flags_to_pass = { flag= CC_FOR_BUILD ; };
3c7c61db 243flags_to_pass = { flag= CFLAGS_FOR_BUILD ; };
36bbd884 244flags_to_pass = { flag= CXX_FOR_BUILD ; };
245flags_to_pass = { flag= EXPECT ; };
2f8725b0 246flags_to_pass = { flag= FLEX ; };
36bbd884 247flags_to_pass = { flag= INSTALL ; };
248flags_to_pass = { flag= INSTALL_DATA ; };
249flags_to_pass = { flag= INSTALL_PROGRAM ; };
250flags_to_pass = { flag= INSTALL_SCRIPT ; };
9841cd80 251flags_to_pass = { flag= LDFLAGS_FOR_BUILD ; };
36bbd884 252flags_to_pass = { flag= LEX ; };
253flags_to_pass = { flag= M4 ; };
254flags_to_pass = { flag= MAKE ; };
255flags_to_pass = { flag= RUNTEST ; };
256flags_to_pass = { flag= RUNTESTFLAGS ; };
b181f265 257flags_to_pass = { flag= SED ; };
36bbd884 258flags_to_pass = { flag= SHELL ; };
259flags_to_pass = { flag= YACC ; };
260
261// Host tools
26526d23 262flags_to_pass = { flag= ADAFLAGS ; optional=true ; };
3bed0958 263flags_to_pass = { flag= ADA_CFLAGS ; };
36bbd884 264flags_to_pass = { flag= AR_FLAGS ; };
26526d23 265flags_to_pass = { flag= BOOT_ADAFLAGS ; optional=true ; };
9d44a802 266flags_to_pass = { flag= BOOT_CFLAGS ; };
267flags_to_pass = { flag= BOOT_LDFLAGS ; };
36bbd884 268flags_to_pass = { flag= CFLAGS ; };
269flags_to_pass = { flag= CXXFLAGS ; };
270flags_to_pass = { flag= LDFLAGS ; };
271flags_to_pass = { flag= LIBCFLAGS ; };
272flags_to_pass = { flag= LIBCXXFLAGS ; };
39f34cfc 273flags_to_pass = { flag= STAGE1_CHECKING ; };
0c8a85c6 274flags_to_pass = { flag= STAGE1_LANGUAGES ; };
a18b2c54 275flags_to_pass = { flag= GNATBIND ; };
276flags_to_pass = { flag= GNATMAKE ; };
36bbd884 277
278// Target tools
279flags_to_pass = { flag= AR_FOR_TARGET ; };
280flags_to_pass = { flag= AS_FOR_TARGET ; };
281flags_to_pass = { flag= CC_FOR_TARGET ; };
282flags_to_pass = { flag= CFLAGS_FOR_TARGET ; };
cac4ee55 283flags_to_pass = { flag= CPPFLAGS_FOR_TARGET ; };
36bbd884 284flags_to_pass = { flag= CXX_FOR_TARGET ; };
285flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; };
286flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; };
bd1f9655 287flags_to_pass = { flag= FLAGS_FOR_TARGET ; };
36bbd884 288flags_to_pass = { flag= GCJ_FOR_TARGET ; };
4ee9c684 289flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; };
36bbd884 290flags_to_pass = { flag= LD_FOR_TARGET ; };
9fec3fa8 291flags_to_pass = { flag= LIPO_FOR_TARGET ; };
29327bb4 292flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; };
36bbd884 293flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; };
294flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; };
295flags_to_pass = { flag= NM_FOR_TARGET ; };
ae74ffb7 296flags_to_pass = { flag= OBJDUMP_FOR_TARGET ; };
36bbd884 297flags_to_pass = { flag= RANLIB_FOR_TARGET ; };
9fec3fa8 298flags_to_pass = { flag= STRIP_FOR_TARGET ; };
36bbd884 299flags_to_pass = { flag= WINDRES_FOR_TARGET ; };
75d6a0a9 300flags_to_pass = { flag= WINDMC_FOR_TARGET ; };
5965d276 301
0c8a85c6 302// Miscellaneous
bd1f9655 303flags_to_pass = { flag= BUILD_CONFIG ; };
26526d23 304flags_to_pass = { flag= LANGUAGES ; optional=true ; };
0c8a85c6 305flags_to_pass = { flag= LEAN ; };
306
ea8d3d75 307// Inter-module dependencies
308
309// Build modules
310dependencies = { module=all-build-bison; on=all-build-texinfo; };
311dependencies = { module=all-build-byacc; on=all-build-texinfo; };
312dependencies = { module=all-build-flex; on=all-build-texinfo; };
313dependencies = { module=all-build-flex; on=all-build-bison; };
314dependencies = { module=all-build-flex; on=all-build-byacc; };
315dependencies = { module=all-build-flex; on=all-build-m4; };
316dependencies = { module=all-build-libiberty; on=all-build-texinfo; };
317dependencies = { module=all-build-m4; on=all-build-texinfo; };
2b59cb05 318dependencies = { module=all-build-fixincludes; on=all-build-libiberty; };
ea8d3d75 319
320// Host modules specific to gcc.
321dependencies = { module=configure-gcc; on=configure-intl; };
aa73b18f 322dependencies = { module=configure-gcc; on=all-binutils; };
323dependencies = { module=configure-gcc; on=all-gas; };
324dependencies = { module=configure-gcc; on=all-ld; };
3d47fcf5 325dependencies = { module=configure-gcc; on=all-gold; };
753a7a07 326dependencies = { module=configure-gcc; on=all-libelf; };
ea8d3d75 327dependencies = { module=all-gcc; on=all-libiberty; hard=true; };
d45318b3 328dependencies = { module=all-gcc; on=all-gmp; };
ea8d3d75 329dependencies = { module=all-gcc; on=all-intl; };
d45318b3 330dependencies = { module=all-gcc; on=all-mpfr; };
7601a55c 331dependencies = { module=all-gcc; on=all-mpc; };
255b6be7 332dependencies = { module=all-gcc; on=all-ppl; };
333dependencies = { module=all-gcc; on=all-cloog; };
a1ad7483 334dependencies = { module=all-gcc; on=all-build-texinfo; };
335dependencies = { module=all-gcc; on=all-build-bison; };
336dependencies = { module=all-gcc; on=all-build-byacc; };
337dependencies = { module=all-gcc; on=all-build-flex; };
2b59cb05 338dependencies = { module=all-gcc; on=all-build-libiberty; };
339dependencies = { module=all-gcc; on=all-build-fixincludes; };
ea8d3d75 340dependencies = { module=all-gcc; on=all-zlib; };
ea8d3d75 341dependencies = { module=all-gcc; on=all-libcpp; hard=true; };
e21c3597 342dependencies = { module=all-gcc; on=all-libdecnumber; hard=true; };
50e7e370 343dependencies = { module=all-gcc; on=all-libiberty; };
344dependencies = { module=all-gcc; on=all-fixincludes; };
445b7c96 345dependencies = { module=info-gcc; on=all-build-libiberty; };
346dependencies = { module=dvi-gcc; on=all-build-libiberty; };
347dependencies = { module=pdf-gcc; on=all-build-libiberty; };
348dependencies = { module=html-gcc; on=all-build-libiberty; };
ec2a8310 349dependencies = { module=install-gcc ; on=install-fixincludes; };
ea8d3d75 350
351dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; };
352dependencies = { module=configure-libcpp; on=configure-intl; };
353dependencies = { module=all-libcpp; on=all-libiberty; hard=true; };
354dependencies = { module=all-libcpp; on=all-intl; };
355
50e7e370 356dependencies = { module=all-fixincludes; on=all-libiberty; };
357
a136b23d 358dependencies = { module=all-gnattools; on=all-target-libada; };
359
a82c8807 360dependencies = { module=all-lto-plugin; on=all-gcc; };
7bfefa9d 361
d45318b3 362dependencies = { module=configure-mpfr; on=all-gmp; };
7601a55c 363dependencies = { module=configure-mpc; on=all-mpfr; };
255b6be7 364dependencies = { module=configure-ppl; on=all-gmp; };
365dependencies = { module=configure-ppl; on=all-mpfr; };
366dependencies = { module=configure-cloog; on=all-ppl; };
d45318b3 367
ea8d3d75 368// Host modules specific to gdb.
119eb9ed 369dependencies = { module=configure-gdb; on=all-intl; };
ea8d3d75 370dependencies = { module=configure-gdb; on=configure-sim; };
86d469a7 371dependencies = { module=configure-gdb; on=all-bfd; };
63d6abe9 372// Depend on all-libiconv so that configure checks for iconv
373// functions will work.
374dependencies = { module=configure-gdb; on=all-libiconv; };
ea8d3d75 375dependencies = { module=all-gdb; on=all-libiberty; };
63d6abe9 376dependencies = { module=all-gdb; on=all-libiconv; };
ea8d3d75 377dependencies = { module=all-gdb; on=all-opcodes; };
ea8d3d75 378dependencies = { module=all-gdb; on=all-readline; };
a1ad7483 379dependencies = { module=all-gdb; on=all-build-bison; };
380dependencies = { module=all-gdb; on=all-build-byacc; };
ea8d3d75 381dependencies = { module=all-gdb; on=all-sim; };
2711b222 382dependencies = { module=all-gdb; on=all-libdecnumber; };
ea8d3d75 383
384dependencies = { module=configure-libgui; on=configure-tcl; };
385dependencies = { module=configure-libgui; on=configure-tk; };
386dependencies = { module=all-libgui; on=all-tcl; };
387dependencies = { module=all-libgui; on=all-tk; };
388dependencies = { module=all-libgui; on=all-itcl; };
389
390// Host modules specific to binutils.
391dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; };
d06227a7 392dependencies = { module=configure-bfd; on=configure-intl; };
ea8d3d75 393dependencies = { module=all-bfd; on=all-libiberty; };
394dependencies = { module=all-bfd; on=all-intl; };
6e6a9ced 395dependencies = { module=configure-opcodes; on=configure-libiberty; hard=true; };
396dependencies = { module=all-opcodes; on=all-libiberty; };
ea8d3d75 397
d06227a7 398dependencies = { module=configure-binutils; on=configure-intl; };
ea8d3d75 399dependencies = { module=all-binutils; on=all-libiberty; };
400dependencies = { module=all-binutils; on=all-opcodes; };
401dependencies = { module=all-binutils; on=all-bfd; };
a1ad7483 402dependencies = { module=all-binutils; on=all-build-flex; };
403dependencies = { module=all-binutils; on=all-build-bison; };
404dependencies = { module=all-binutils; on=all-build-byacc; };
ea8d3d75 405dependencies = { module=all-binutils; on=all-intl; };
406
407// We put install-opcodes before install-binutils because the installed
408// binutils might be on PATH, and they might need the shared opcodes
409// library.
410dependencies = { module=install-binutils; on=install-opcodes; };
411
412// libopcodes depends on libbfd
413dependencies = { module=install-opcodes; on=install-bfd; };
414
d06227a7 415dependencies = { module=configure-gas; on=configure-intl; };
ea8d3d75 416dependencies = { module=all-gas; on=all-libiberty; };
417dependencies = { module=all-gas; on=all-opcodes; };
418dependencies = { module=all-gas; on=all-bfd; };
419dependencies = { module=all-gas; on=all-intl; };
d06227a7 420dependencies = { module=configure-gprof; on=configure-intl; };
ea8d3d75 421dependencies = { module=all-gprof; on=all-libiberty; };
422dependencies = { module=all-gprof; on=all-bfd; };
423dependencies = { module=all-gprof; on=all-opcodes; };
424dependencies = { module=all-gprof; on=all-intl; };
d06227a7 425dependencies = { module=configure-ld; on=configure-intl; };
ea8d3d75 426dependencies = { module=all-ld; on=all-libiberty; };
427dependencies = { module=all-ld; on=all-bfd; };
428dependencies = { module=all-ld; on=all-opcodes; };
a1ad7483 429dependencies = { module=all-ld; on=all-build-bison; };
430dependencies = { module=all-ld; on=all-build-byacc; };
431dependencies = { module=all-ld; on=all-build-flex; };
ea8d3d75 432dependencies = { module=all-ld; on=all-intl; };
af7c5662 433dependencies = { module=install-ld; on=install-gold; };
3d47fcf5 434dependencies = { module=configure-gold; on=configure-intl; };
435dependencies = { module=all-gold; on=all-libiberty; };
436dependencies = { module=all-gold; on=all-intl; };
437dependencies = { module=all-gold; on=all-bfd; };
438dependencies = { module=all-gold; on=all-build-bison; };
439dependencies = { module=all-gold; on=all-build-byacc; };
29ab6ecd 440dependencies = { module=check-gold; on=all-binutils; };
85627a28 441dependencies = { module=check-gold; on=all-gas; };
ea8d3d75 442
1bef46b4 443dependencies = { module=configure-opcodes; on=configure-intl; };
ea8d3d75 444dependencies = { module=all-opcodes; on=all-bfd; };
445dependencies = { module=all-opcodes; on=all-libiberty; };
1bef46b4 446dependencies = { module=all-opcodes; on=all-intl; };
ea8d3d75 447
448// Other host modules in the 'src' repository.
449dependencies = { module=all-dejagnu; on=all-tcl; };
450dependencies = { module=all-dejagnu; on=all-expect; };
451dependencies = { module=all-dejagnu; on=all-tk; };
452dependencies = { module=configure-expect; on=configure-tcl; };
453dependencies = { module=configure-expect; on=configure-tk; };
454dependencies = { module=all-expect; on=all-tcl; };
455dependencies = { module=all-expect; on=all-tk; };
456
457// We put install-tcl before install-itcl because itcl wants to run a
458// program on installation which uses the Tcl libraries.
459dependencies = { module=configure-itcl; on=configure-tcl; };
460dependencies = { module=configure-itcl; on=configure-tk; };
461dependencies = { module=all-itcl; on=all-tcl; };
462dependencies = { module=all-itcl; on=all-tk; };
463dependencies = { module=install-itcl; on=install-tcl; };
464
465dependencies = { module=configure-tk; on=configure-tcl; };
466dependencies = { module=all-tk; on=all-tcl; };
ea8d3d75 467
468dependencies = { module=all-sid; on=all-libiberty; };
469dependencies = { module=all-sid; on=all-bfd; };
470dependencies = { module=all-sid; on=all-opcodes; };
471dependencies = { module=all-sid; on=all-tcl; };
472dependencies = { module=all-sid; on=all-tk; };
473dependencies = { module=install-sid; on=install-tcl; };
474dependencies = { module=install-sid; on=install-tk; };
475
d06227a7 476dependencies = { module=configure-sim; on=configure-intl; };
477dependencies = { module=all-sim; on=all-intl; };
ea8d3d75 478dependencies = { module=all-sim; on=all-libiberty; };
479dependencies = { module=all-sim; on=all-bfd; };
480dependencies = { module=all-sim; on=all-opcodes; };
481dependencies = { module=all-sim; on=all-readline; };
482dependencies = { module=all-sim; on=configure-gdb; };
483
484// Other host modules.
485dependencies = { module=all-fastjar; on=all-zlib; };
a1ad7483 486dependencies = { module=all-fastjar; on=all-build-texinfo; };
ea8d3d75 487dependencies = { module=all-fastjar; on=all-libiberty; };
488
489// Warning, these are not well tested.
490dependencies = { module=all-autoconf; on=all-m4; };
a1ad7483 491dependencies = { module=all-autoconf; on=all-build-texinfo; };
ea8d3d75 492dependencies = { module=all-automake; on=all-m4; };
a1ad7483 493dependencies = { module=all-automake; on=all-build-texinfo; };
ea8d3d75 494dependencies = { module=all-automake; on=all-autoconf; };
495dependencies = { module=all-bison; on=all-intl; };
a1ad7483 496dependencies = { module=all-bison; on=all-build-texinfo; };
ea8d3d75 497dependencies = { module=all-diff; on=all-intl; };
a1ad7483 498dependencies = { module=all-diff; on=all-build-texinfo; };
ea8d3d75 499dependencies = { module=all-fileutils; on=all-intl; };
a1ad7483 500dependencies = { module=all-fileutils; on=all-build-texinfo; };
501dependencies = { module=all-flex; on=all-build-bison; };
502dependencies = { module=all-flex; on=all-build-byacc; };
ea8d3d75 503dependencies = { module=all-flex; on=all-intl; };
504dependencies = { module=all-flex; on=all-m4; };
a1ad7483 505dependencies = { module=all-flex; on=all-build-texinfo; };
ea8d3d75 506dependencies = { module=all-gzip; on=all-intl; };
507dependencies = { module=all-gzip; on=all-zlib; };
a1ad7483 508dependencies = { module=all-gzip; on=all-build-texinfo; };
ea8d3d75 509dependencies = { module=all-hello; on=all-intl; };
a1ad7483 510dependencies = { module=all-hello; on=all-build-texinfo; };
ea8d3d75 511dependencies = { module=all-m4; on=all-intl; };
a1ad7483 512dependencies = { module=all-m4; on=all-build-texinfo; };
ea8d3d75 513dependencies = { module=all-make; on=all-intl; };
a1ad7483 514dependencies = { module=all-make; on=all-build-texinfo; };
515dependencies = { module=all-patch; on=all-build-texinfo; };
516dependencies = { module=all-make; on=all-build-texinfo; };
ea8d3d75 517dependencies = { module=all-prms; on=all-libiberty; };
a1ad7483 518dependencies = { module=all-recode; on=all-build-texinfo; };
519dependencies = { module=all-sed; on=all-build-texinfo; };
ea8d3d75 520dependencies = { module=all-send-pr; on=all-prms; };
a1ad7483 521dependencies = { module=all-tar; on=all-build-texinfo; };
522dependencies = { module=all-uudecode; on=all-build-texinfo; };
ea8d3d75 523
524// Target modules. These can also have dependencies on the language
894a47b4 525// environment (e.g. on libstdc++). By default target modules depend
526// on libgcc and newlib/libgloss.
ea8d3d75 527lang_env_dependencies = { module=gperf; cxx=true; };
ea8d3d75 528lang_env_dependencies = { module=libjava; cxx=true; };
894a47b4 529lang_env_dependencies = { module=newlib; no_c=true; };
530lang_env_dependencies = { module=libgloss; no_c=true; };
531lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; };
532// libiberty does not depend on newlib or libgloss because it must be
533// built newlib on some targets (e.g. Cygwin). It still needs
534// a dependency on libgcc for native targets to configure.
535lang_env_dependencies = { module=libiberty; no_c=true; };
ea8d3d75 536
537dependencies = { module=configure-target-boehm-gc; on=configure-target-qthreads; };
0ecf7a65 538dependencies = { module=configure-target-boehm-gc; on=all-target-libstdc++-v3; };
ea8d3d75 539dependencies = { module=configure-target-fastjar; on=configure-target-zlib; };
540dependencies = { module=all-target-fastjar; on=all-target-zlib; };
541dependencies = { module=all-target-fastjar; on=all-target-libiberty; };
542dependencies = { module=configure-target-libjava; on=configure-target-zlib; };
543dependencies = { module=configure-target-libjava; on=configure-target-boehm-gc; };
544dependencies = { module=configure-target-libjava; on=configure-target-qthreads; };
545dependencies = { module=configure-target-libjava; on=configure-target-libffi; };
546dependencies = { module=all-target-libjava; on=all-fastjar; };
547dependencies = { module=all-target-libjava; on=all-target-zlib; };
548dependencies = { module=all-target-libjava; on=all-target-boehm-gc; };
549dependencies = { module=all-target-libjava; on=all-target-qthreads; };
550dependencies = { module=all-target-libjava; on=all-target-libffi; };
dd6d3a67 551dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; };
ea8d3d75 552dependencies = { module=all-target-libobjc; on=all-target-libiberty; };
dd6d3a67 553dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; };
ea8d3d75 554dependencies = { module=all-target-libstdc++-v3; on=all-target-libiberty; };
a0191bfe 555dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; };
1fda3360 556// parallel_list.o and parallel_settings.o depend on omp.h, which is
557// generated by the libgomp configure. Unfortunately, due to the use of
558// recursive make, we can't be that specific.
559dependencies = { module=all-target-libstdc++-v3; on=configure-target-libgomp; };
ea8d3d75 560
561// Target modules in the 'src' repository.
562lang_env_dependencies = { module=examples; };
563lang_env_dependencies = { module=libtermcap; };
564lang_env_dependencies = { module=rda; };
565lang_env_dependencies = { module=winsup; };
566lang_env_dependencies = { module=qthreads; };
567
1ad797ec 568dependencies = { module=all-target-libgloss; on=all-target-newlib; };
ea8d3d75 569dependencies = { module=all-target-winsup; on=all-target-libiberty; };
570dependencies = { module=all-target-winsup; on=all-target-libtermcap; };
1a48098b 571dependencies = { module=configure-target-libiberty; on=all-binutils; };
572dependencies = { module=configure-target-libiberty; on=all-ld; };
573dependencies = { module=configure-target-newlib; on=all-binutils; };
574dependencies = { module=configure-target-newlib; on=all-ld; };
87969c8c 575dependencies = { module=configure-target-libgfortran; on=all-target-libquadmath; };
ea8d3d75 576
21a0251d 577languages = { language=c; gcc-check-target=check-gcc; };
578languages = { language=c++; gcc-check-target=check-c++;
579 lib-check-target=check-target-libstdc++-v3; };
580languages = { language=fortran; gcc-check-target=check-fortran;
87969c8c 581 lib-check-target=check-target-libquadmath;
21a0251d 582 lib-check-target=check-target-libgfortran; };
583languages = { language=java; gcc-check-target=check-java;
584 lib-check-target=check-target-libjava; };
585languages = { language=ada; gcc-check-target=check-ada;
586 lib-check-target=check-target-libada; };
587languages = { language=objc; gcc-check-target=check-objc;
588 lib-check-target=check-target-libobjc; };
589languages = { language=obj-c++; gcc-check-target=check-obj-c++; };
590
5965d276 591// Toplevel bootstrap
bd1f9655 592bootstrap_stage = { id=1 ; };
5965d276 593bootstrap_stage = {
599a3eac 594 id=2 ; prev=1 ;
bd1f9655 595 bootstrap_target=bootstrap2 ; };
5965d276 596bootstrap_stage = {
3c782584 597 id=3 ; prev=2 ; lean=1 ;
5965d276 598 compare_target=compare ;
54f0538b 599 bootstrap_target=bootstrap ;
bd1f9655 600 cleanstrap_target=cleanstrap ; };
54f0538b 601bootstrap_stage = {
3c782584 602 id=4 ; prev=3 ; lean=2 ;
54f0538b 603 compare_target=compare3 ;
bd1f9655 604 bootstrap_target=bootstrap4 ; };
599a3eac 605bootstrap_stage = {
bd1f9655 606 id=profile ; prev=1 ; };
599a3eac 607bootstrap_stage = {
919a60fa 608 id=feedback ; prev=profile ;
bd1f9655 609 bootstrap_target=profiledbootstrap ; };