]> git.ipfire.org Git - thirdparty/gcc.git/blame - Makefile.def
Makefile.tpl (check-target-libgomp-c++): New.
[thirdparty/gcc.git] / Makefile.def
CommitLineData
95ddd785
NN
1#! /usr/bin/autogen
2AutoGen definitions Makefile.tpl;
3
1358ccea
NN
4// Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
5// This file was originally written by Nathanael Nerode.
6//
85bfb75e 7// Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
36fbb0ec 8// Free Software Foundation
1358ccea
NN
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
309c24a9 12// the Free Software Foundation; either version 3 of the License, or
1358ccea
NN
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
309c24a9
JJ
21// along with this program; see the file COPYING3. If not see
22// <http://www.gnu.org/licenses/>.
1358ccea
NN
23
24
25// "missing" indicates that that module doesn't supply
26// that recursive target in its Makefile.
27
4977bab6 28build_modules= { module= libiberty; };
23f6b2f9 29build_modules= { module= bison; };
23f6b2f9
PB
30build_modules= { module= flex; };
31build_modules= { module= m4; };
32build_modules= { module= texinfo; };
e69bf64b 33build_modules= { module= fixincludes; };
4977bab6 34
e9a54b07
PB
35host_modules= { module= bfd; lib_path=.libs; bootstrap=true; };
36host_modules= { module= opcodes; lib_path=.libs; bootstrap=true; };
e11283f1 37host_modules= { module= binutils; bootstrap=true; };
3589b69e 38host_modules= { module= bison; no_check_cross= true; };
8c32c9f0 39host_modules= { module= cgen; };
95ddd785 40host_modules= { module= dejagnu; };
95ddd785
NN
41host_modules= { module= etc; };
42host_modules= { module= fastjar; no_check_cross= true; };
54f88091 43host_modules= { module= fixincludes;
07f1ac6d 44 missing= TAGS; };
3589b69e 45host_modules= { module= flex; no_check_cross= true; };
e11283f1 46host_modules= { module= gas; bootstrap=true; };
3589b69e
PB
47host_modules= { module= gcc; bootstrap=true;
48 extra_make_flags="$(EXTRA_GCC_FLAGS)"; };
e69bf64b
PB
49host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
50 extra_configure_flags='--disable-shared';
87213cd4
AO
51 no_install= true;
52 // none-*-* disables asm optimizations, bootstrap-testing
53 // the compiler more thoroughly.
54 host="none-${host_vendor}-${host_os}";
55 // gmp's configure will complain if given anything
56 // different from host for target.
57 target="none-${host_vendor}-${host_os}"; };
e69bf64b 58host_modules= { module= mpfr; lib_path=.libs; bootstrap=true;
9e3eba15 59 extra_configure_flags='--disable-shared @extra_mpfr_configure_flags@';
f61428ed 60 no_install= true; };
acd26225
KG
61host_modules= { module= mpc; lib_path=.libs; bootstrap=true;
62 extra_configure_flags='--disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@';
63 no_install= true; };
f61428ed 64host_modules= { module= ppl; lib_path=src/.libs; bootstrap=true;
f8bf9252 65 extra_configure_flags='--disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/';
f61428ed 66 no_install= true; };
f8bf9252 67host_modules= { module= cloog; lib_path=.libs; bootstrap=true;
f61428ed
AO
68 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';
69 extra_exports='CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; ';
70 extra_make_flags='CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"';
71 no_install= true; };
72host_modules= { module= libelf; lib_path=.libs; bootstrap=true;
73 extra_configure_flags='--disable-shared';
74 no_install= true; };
5afab7ad 75host_modules= { module= gold; bootstrap=true; };
95ddd785 76host_modules= { module= gprof; };
e11283f1 77host_modules= { module= intl; bootstrap=true; };
1358ccea
NN
78host_modules= { module= tcl;
79 missing=mostlyclean; };
95ddd785 80host_modules= { module= itcl; };
e11283f1 81host_modules= { module= ld; bootstrap=true; };
4f4e53dd 82host_modules= { module= libcpp; bootstrap=true; };
a4b6c45a 83host_modules= { module= libdecnumber; bootstrap=true; };
95ddd785 84host_modules= { module= libgui; };
d7f09764
DN
85host_modules= { module= libiberty; bootstrap=true;
86 extra_configure_flags='@extra_host_libiberty_configure_flags@';};
cfb1f59f
TT
87// We abuse missing to avoid installing anything for libiconv.
88host_modules= { module= libiconv;
89 extra_configure_flags='--disable-shared';
90 no_install= true;
91 missing= install-info;
92 missing= install-pdf;
93 missing= install-html;
94 missing= install-info; };
95ddd785 95host_modules= { module= m4; };
95ddd785 96host_modules= { module= readline; };
95ddd785
NN
97host_modules= { module= sid; };
98host_modules= { module= sim; };
3589b69e 99host_modules= { module= texinfo; no_install= true; };
e11283f1 100host_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; };
73a817c4
PB
101host_modules= { module= gdb; };
102host_modules= { module= expect; };
103host_modules= { module= guile; };
104host_modules= { module= tk; };
1358ccea
NN
105host_modules= { module= libtermcap; no_check=true;
106 missing=mostlyclean;
107 missing=clean;
108 missing=distclean;
109 missing=maintainer-clean; };
4977bab6 110host_modules= { module= utils; no_check=true; };
5395b47b 111host_modules= { module= gnattools; };
03ebe6c3 112host_modules= { module= lto-plugin; bootstrap=true;
f3d533d3 113 extra_configure_flags=--enable-shared; };
1db75a86 114
00020c16
ILT
115target_modules = { module= libstdc++-v3;
116 bootstrap=true;
66c92425 117 lib_path=src/.libs;
00020c16 118 raw_cxx=true; };
0bff65e7 119target_modules = { module= libmudflap; lib_path=.libs; };
77008252 120target_modules = { module= libssp; lib_path=.libs; };
1db75a86 121target_modules = { module= newlib; };
fa958513 122target_modules = { module= libgcc; bootstrap=true; no_check=true; };
1ec601bf 123target_modules = { module= libquadmath; };
6de9cd9a 124target_modules = { module= libgfortran; };
1db75a86 125target_modules = { module= libobjc; };
632e2a07 126target_modules = { module= libgo; };
215c351a 127target_modules = { module= libtermcap; no_check=true;
1358ccea
NN
128 missing=mostlyclean;
129 missing=clean;
130 missing=distclean;
131 missing=maintainer-clean; };
1db75a86
NN
132target_modules = { module= winsup; };
133target_modules = { module= libgloss; no_check=true; };
89a7012a 134target_modules = { module= libffi; };
a4a2c37d
MK
135target_modules = { module= libjava; raw_cxx=true;
136 extra_configure_flags="$(EXTRA_CONFIGARGS_LIBJAVA)"; };
215c351a 137target_modules = { module= zlib; };
1db75a86 138target_modules = { module= boehm-gc; };
40673d2b 139target_modules = { module= rda; };
d9cdb878 140target_modules = { module= libada; };
aae29963 141target_modules = { module= libgomp; bootstrap= true; lib_path=.libs; };
0a35513e 142target_modules = { module= libitm; lib_path=.libs; };
48310492 143target_modules = { module= libatomic; lib_path=.libs; };
4977bab6 144
1a1e6b96 145// These are (some of) the make targets to be done in each subdirectory.
4977bab6 146// Not all; these are the ones which don't have special options.
1358ccea
NN
147// "depend" indicates that a target depends on another target uniformly
148// for each subdirectory. There can be several such lines per target.
149recursive_targets = { make_target= info;
150 depend=configure; };
151recursive_targets = { make_target= dvi;
152 depend=configure; };
b5422ad7
BM
153recursive_targets = { make_target= pdf;
154 depend=configure; };
f87a2b2e
MS
155recursive_targets = { make_target= html;
156 depend=configure; };
1358ccea
NN
157recursive_targets = { make_target= TAGS;
158 depend=configure; };
159recursive_targets = { make_target= install-info;
160 depend=configure;
161 depend=info; };
9c4d2493
BM
162recursive_targets = { make_target= install-pdf;
163 depend=configure;
164 depend=pdf; };
65d6e994
CD
165recursive_targets = { make_target= install-html;
166 depend=configure;
167 depend=html; };
1358ccea
NN
168recursive_targets = { make_target= installcheck;
169 depend=configure; };
170recursive_targets = { make_target= mostlyclean; };
1a1e6b96
NN
171recursive_targets = { make_target= clean; };
172recursive_targets = { make_target= distclean; };
1a1e6b96 173recursive_targets = { make_target= maintainer-clean; };
11405c93
NN
174
175// Flags which need to be passed down.
176
177// Directories etc.
178flags_to_pass = { flag= DESTDIR ; };
179flags_to_pass = { flag= RPATH_ENVVAR ; };
180flags_to_pass = { flag= TARGET_SUBDIR ; };
632933d5
PB
181flags_to_pass = { flag= bindir ; };
182flags_to_pass = { flag= datadir ; };
183flags_to_pass = { flag= exec_prefix ; };
184flags_to_pass = { flag= includedir ; };
65d6e994
CD
185flags_to_pass = { flag= datarootdir ; };
186flags_to_pass = { flag= docdir ; };
632933d5 187flags_to_pass = { flag= infodir ; };
9c4d2493 188flags_to_pass = { flag= pdfdir ; };
65d6e994 189flags_to_pass = { flag= htmldir ; };
632933d5
PB
190flags_to_pass = { flag= libdir ; };
191flags_to_pass = { flag= libexecdir ; };
192flags_to_pass = { flag= lispdir ; };
632933d5
PB
193flags_to_pass = { flag= localstatedir ; };
194flags_to_pass = { flag= mandir ; };
11405c93 195flags_to_pass = { flag= oldincludedir ; };
632933d5
PB
196flags_to_pass = { flag= prefix ; };
197flags_to_pass = { flag= sbindir ; };
198flags_to_pass = { flag= sharedstatedir ; };
199flags_to_pass = { flag= sysconfdir ; };
11405c93
NN
200flags_to_pass = { flag= tooldir ; };
201flags_to_pass = { flag= build_tooldir ; };
11405c93
NN
202flags_to_pass = { flag= target_alias ; };
203
204// Build tools
87264276 205flags_to_pass = { flag= AWK ; };
11405c93 206flags_to_pass = { flag= BISON ; };
72c19c0b 207flags_to_pass = { flag= CC_FOR_BUILD ; };
452190fb 208flags_to_pass = { flag= CFLAGS_FOR_BUILD ; };
11405c93
NN
209flags_to_pass = { flag= CXX_FOR_BUILD ; };
210flags_to_pass = { flag= EXPECT ; };
23f6b2f9 211flags_to_pass = { flag= FLEX ; };
11405c93
NN
212flags_to_pass = { flag= INSTALL ; };
213flags_to_pass = { flag= INSTALL_DATA ; };
214flags_to_pass = { flag= INSTALL_PROGRAM ; };
215flags_to_pass = { flag= INSTALL_SCRIPT ; };
f8c33439 216flags_to_pass = { flag= LDFLAGS_FOR_BUILD ; };
11405c93
NN
217flags_to_pass = { flag= LEX ; };
218flags_to_pass = { flag= M4 ; };
219flags_to_pass = { flag= MAKE ; };
220flags_to_pass = { flag= RUNTEST ; };
221flags_to_pass = { flag= RUNTESTFLAGS ; };
87264276 222flags_to_pass = { flag= SED ; };
11405c93
NN
223flags_to_pass = { flag= SHELL ; };
224flags_to_pass = { flag= YACC ; };
225
226// Host tools
cc11cc9b 227flags_to_pass = { flag= ADAFLAGS ; optional=true ; };
00afcaa0 228flags_to_pass = { flag= ADA_CFLAGS ; };
11405c93 229flags_to_pass = { flag= AR_FLAGS ; };
cc11cc9b 230flags_to_pass = { flag= BOOT_ADAFLAGS ; optional=true ; };
d19bca38
PB
231flags_to_pass = { flag= BOOT_CFLAGS ; };
232flags_to_pass = { flag= BOOT_LDFLAGS ; };
11405c93
NN
233flags_to_pass = { flag= CFLAGS ; };
234flags_to_pass = { flag= CXXFLAGS ; };
235flags_to_pass = { flag= LDFLAGS ; };
236flags_to_pass = { flag= LIBCFLAGS ; };
237flags_to_pass = { flag= LIBCXXFLAGS ; };
8efea775 238flags_to_pass = { flag= STAGE1_CHECKING ; };
2d309510 239flags_to_pass = { flag= STAGE1_LANGUAGES ; };
5305be7e
RG
240flags_to_pass = { flag= GNATBIND ; };
241flags_to_pass = { flag= GNATMAKE ; };
11405c93
NN
242
243// Target tools
244flags_to_pass = { flag= AR_FOR_TARGET ; };
245flags_to_pass = { flag= AS_FOR_TARGET ; };
246flags_to_pass = { flag= CC_FOR_TARGET ; };
247flags_to_pass = { flag= CFLAGS_FOR_TARGET ; };
e7daab31 248flags_to_pass = { flag= CPPFLAGS_FOR_TARGET ; };
11405c93
NN
249flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; };
250flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; };
4a4a4e99 251flags_to_pass = { flag= FLAGS_FOR_TARGET ; };
11405c93 252flags_to_pass = { flag= GCJ_FOR_TARGET ; };
6de9cd9a 253flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; };
632e2a07
ILT
254flags_to_pass = { flag= GOC_FOR_TARGET ; };
255flags_to_pass = { flag= GOCFLAGS_FOR_TARGET ; };
11405c93 256flags_to_pass = { flag= LD_FOR_TARGET ; };
040b1c5a 257flags_to_pass = { flag= LIPO_FOR_TARGET ; };
e3791243 258flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; };
11405c93
NN
259flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; };
260flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; };
261flags_to_pass = { flag= NM_FOR_TARGET ; };
d739199a 262flags_to_pass = { flag= OBJDUMP_FOR_TARGET ; };
11405c93 263flags_to_pass = { flag= RANLIB_FOR_TARGET ; };
e7a82751 264flags_to_pass = { flag= READELF_FOR_TARGET ; };
040b1c5a 265flags_to_pass = { flag= STRIP_FOR_TARGET ; };
11405c93 266flags_to_pass = { flag= WINDRES_FOR_TARGET ; };
901119ae 267flags_to_pass = { flag= WINDMC_FOR_TARGET ; };
148907ea 268
2d309510 269// Miscellaneous
4a4a4e99 270flags_to_pass = { flag= BUILD_CONFIG ; };
cc11cc9b 271flags_to_pass = { flag= LANGUAGES ; optional=true ; };
2d309510
PB
272flags_to_pass = { flag= LEAN ; };
273
3589b69e
PB
274// Inter-module dependencies
275
276// Build modules
277dependencies = { module=all-build-bison; on=all-build-texinfo; };
3589b69e
PB
278dependencies = { module=all-build-flex; on=all-build-texinfo; };
279dependencies = { module=all-build-flex; on=all-build-bison; };
3589b69e
PB
280dependencies = { module=all-build-flex; on=all-build-m4; };
281dependencies = { module=all-build-libiberty; on=all-build-texinfo; };
282dependencies = { module=all-build-m4; on=all-build-texinfo; };
71b5d516 283dependencies = { module=all-build-fixincludes; on=all-build-libiberty; };
3589b69e
PB
284
285// Host modules specific to gcc.
286dependencies = { module=configure-gcc; on=configure-intl; };
f3d533d3 287dependencies = { module=configure-gcc; on=all-lto-plugin; };
bcb28cf5
PB
288dependencies = { module=configure-gcc; on=all-binutils; };
289dependencies = { module=configure-gcc; on=all-gas; };
290dependencies = { module=configure-gcc; on=all-ld; };
5afab7ad 291dependencies = { module=configure-gcc; on=all-gold; };
c63a4676 292dependencies = { module=configure-gcc; on=all-libelf; };
3589b69e 293dependencies = { module=all-gcc; on=all-libiberty; hard=true; };
e69bf64b 294dependencies = { module=all-gcc; on=all-gmp; };
3589b69e 295dependencies = { module=all-gcc; on=all-intl; };
e69bf64b 296dependencies = { module=all-gcc; on=all-mpfr; };
acd26225 297dependencies = { module=all-gcc; on=all-mpc; };
f8bf9252
SP
298dependencies = { module=all-gcc; on=all-ppl; };
299dependencies = { module=all-gcc; on=all-cloog; };
7c27e184
PB
300dependencies = { module=all-gcc; on=all-build-texinfo; };
301dependencies = { module=all-gcc; on=all-build-bison; };
7c27e184 302dependencies = { module=all-gcc; on=all-build-flex; };
71b5d516
PB
303dependencies = { module=all-gcc; on=all-build-libiberty; };
304dependencies = { module=all-gcc; on=all-build-fixincludes; };
3589b69e 305dependencies = { module=all-gcc; on=all-zlib; };
3589b69e 306dependencies = { module=all-gcc; on=all-libcpp; hard=true; };
a4b6c45a 307dependencies = { module=all-gcc; on=all-libdecnumber; hard=true; };
53c7ffe7
GK
308dependencies = { module=all-gcc; on=all-libiberty; };
309dependencies = { module=all-gcc; on=all-fixincludes; };
96bdf9b4 310dependencies = { module=all-gcc; on=all-lto-plugin; };
e1826acc
RW
311dependencies = { module=info-gcc; on=all-build-libiberty; };
312dependencies = { module=dvi-gcc; on=all-build-libiberty; };
313dependencies = { module=pdf-gcc; on=all-build-libiberty; };
314dependencies = { module=html-gcc; on=all-build-libiberty; };
848556c2 315dependencies = { module=install-gcc ; on=install-fixincludes; };
b1b0c7e6 316dependencies = { module=install-gcc ; on=install-lto-plugin; };
455c8f48 317dependencies = { module=install-strip-gcc ; on=install-strip-fixincludes; };
d18ede37 318dependencies = { module=install-strip-gcc ; on=install-strip-lto-plugin; };
3589b69e
PB
319
320dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; };
321dependencies = { module=configure-libcpp; on=configure-intl; };
322dependencies = { module=all-libcpp; on=all-libiberty; hard=true; };
323dependencies = { module=all-libcpp; on=all-intl; };
324
53c7ffe7
GK
325dependencies = { module=all-fixincludes; on=all-libiberty; };
326
5395b47b
NN
327dependencies = { module=all-gnattools; on=all-target-libada; };
328
96bdf9b4 329dependencies = { module=all-lto-plugin; on=all-libiberty; };
d7f09764 330
50e37333
PB
331dependencies = { module=all-utils; on=all-libiberty; };
332
e69bf64b 333dependencies = { module=configure-mpfr; on=all-gmp; };
acd26225 334dependencies = { module=configure-mpc; on=all-mpfr; };
f8bf9252
SP
335dependencies = { module=configure-ppl; on=all-gmp; };
336dependencies = { module=configure-ppl; on=all-mpfr; };
337dependencies = { module=configure-cloog; on=all-ppl; };
e69bf64b 338
3589b69e 339// Host modules specific to gdb.
e00e9858 340dependencies = { module=configure-gdb; on=all-intl; };
3589b69e 341dependencies = { module=configure-gdb; on=configure-sim; };
b8afffc1 342dependencies = { module=configure-gdb; on=all-bfd; };
cfb1f59f
TT
343// Depend on all-libiconv so that configure checks for iconv
344// functions will work.
345dependencies = { module=configure-gdb; on=all-libiconv; };
3589b69e 346dependencies = { module=all-gdb; on=all-libiberty; };
cfb1f59f 347dependencies = { module=all-gdb; on=all-libiconv; };
3589b69e 348dependencies = { module=all-gdb; on=all-opcodes; };
3589b69e 349dependencies = { module=all-gdb; on=all-readline; };
7c27e184 350dependencies = { module=all-gdb; on=all-build-bison; };
3589b69e 351dependencies = { module=all-gdb; on=all-sim; };
bbfbfafc 352dependencies = { module=all-gdb; on=all-libdecnumber; };
1e2c3ec4 353dependencies = { module=all-gdb; on=all-libtermcap; };
3589b69e
PB
354
355dependencies = { module=configure-libgui; on=configure-tcl; };
356dependencies = { module=configure-libgui; on=configure-tk; };
357dependencies = { module=all-libgui; on=all-tcl; };
358dependencies = { module=all-libgui; on=all-tk; };
359dependencies = { module=all-libgui; on=all-itcl; };
360
361// Host modules specific to binutils.
362dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; };
32845532 363dependencies = { module=configure-bfd; on=configure-intl; };
3589b69e
PB
364dependencies = { module=all-bfd; on=all-libiberty; };
365dependencies = { module=all-bfd; on=all-intl; };
36fbb0ec
AM
366dependencies = { module=configure-opcodes; on=configure-libiberty; hard=true; };
367dependencies = { module=all-opcodes; on=all-libiberty; };
3589b69e 368
32845532 369dependencies = { module=configure-binutils; on=configure-intl; };
3589b69e
PB
370dependencies = { module=all-binutils; on=all-libiberty; };
371dependencies = { module=all-binutils; on=all-opcodes; };
372dependencies = { module=all-binutils; on=all-bfd; };
7c27e184
PB
373dependencies = { module=all-binutils; on=all-build-flex; };
374dependencies = { module=all-binutils; on=all-build-bison; };
3589b69e
PB
375dependencies = { module=all-binutils; on=all-intl; };
376
377// We put install-opcodes before install-binutils because the installed
378// binutils might be on PATH, and they might need the shared opcodes
379// library.
380dependencies = { module=install-binutils; on=install-opcodes; };
455c8f48 381dependencies = { module=install-strip-binutils; on=install-strip-opcodes; };
3589b69e
PB
382
383// libopcodes depends on libbfd
384dependencies = { module=install-opcodes; on=install-bfd; };
455c8f48 385dependencies = { module=install-strip-opcodes; on=install-strip-bfd; };
3589b69e 386
32845532 387dependencies = { module=configure-gas; on=configure-intl; };
3589b69e
PB
388dependencies = { module=all-gas; on=all-libiberty; };
389dependencies = { module=all-gas; on=all-opcodes; };
390dependencies = { module=all-gas; on=all-bfd; };
391dependencies = { module=all-gas; on=all-intl; };
32845532 392dependencies = { module=configure-gprof; on=configure-intl; };
3589b69e
PB
393dependencies = { module=all-gprof; on=all-libiberty; };
394dependencies = { module=all-gprof; on=all-bfd; };
395dependencies = { module=all-gprof; on=all-opcodes; };
396dependencies = { module=all-gprof; on=all-intl; };
32845532 397dependencies = { module=configure-ld; on=configure-intl; };
3589b69e
PB
398dependencies = { module=all-ld; on=all-libiberty; };
399dependencies = { module=all-ld; on=all-bfd; };
400dependencies = { module=all-ld; on=all-opcodes; };
7c27e184 401dependencies = { module=all-ld; on=all-build-bison; };
7c27e184 402dependencies = { module=all-ld; on=all-build-flex; };
3589b69e 403dependencies = { module=all-ld; on=all-intl; };
38e3d868 404dependencies = { module=install-ld; on=install-gold; };
455c8f48 405dependencies = { module=install-strip-ld; on=install-strip-gold; };
5afab7ad
ILT
406dependencies = { module=configure-gold; on=configure-intl; };
407dependencies = { module=all-gold; on=all-libiberty; };
408dependencies = { module=all-gold; on=all-intl; };
409dependencies = { module=all-gold; on=all-bfd; };
410dependencies = { module=all-gold; on=all-build-bison; };
06407e30 411dependencies = { module=check-gold; on=all-binutils; };
aeb94799 412dependencies = { module=check-gold; on=all-gas; };
3589b69e 413
9fbe6585 414dependencies = { module=configure-opcodes; on=configure-intl; };
3589b69e
PB
415dependencies = { module=all-opcodes; on=all-bfd; };
416dependencies = { module=all-opcodes; on=all-libiberty; };
9fbe6585 417dependencies = { module=all-opcodes; on=all-intl; };
3589b69e
PB
418
419// Other host modules in the 'src' repository.
420dependencies = { module=all-dejagnu; on=all-tcl; };
421dependencies = { module=all-dejagnu; on=all-expect; };
422dependencies = { module=all-dejagnu; on=all-tk; };
423dependencies = { module=configure-expect; on=configure-tcl; };
424dependencies = { module=configure-expect; on=configure-tk; };
425dependencies = { module=all-expect; on=all-tcl; };
426dependencies = { module=all-expect; on=all-tk; };
427
428// We put install-tcl before install-itcl because itcl wants to run a
429// program on installation which uses the Tcl libraries.
430dependencies = { module=configure-itcl; on=configure-tcl; };
431dependencies = { module=configure-itcl; on=configure-tk; };
432dependencies = { module=all-itcl; on=all-tcl; };
433dependencies = { module=all-itcl; on=all-tk; };
434dependencies = { module=install-itcl; on=install-tcl; };
455c8f48 435dependencies = { module=install-strip-itcl; on=install-strip-tcl; };
3589b69e
PB
436
437dependencies = { module=configure-tk; on=configure-tcl; };
438dependencies = { module=all-tk; on=all-tcl; };
3589b69e
PB
439
440dependencies = { module=all-sid; on=all-libiberty; };
441dependencies = { module=all-sid; on=all-bfd; };
442dependencies = { module=all-sid; on=all-opcodes; };
443dependencies = { module=all-sid; on=all-tcl; };
444dependencies = { module=all-sid; on=all-tk; };
445dependencies = { module=install-sid; on=install-tcl; };
455c8f48 446dependencies = { module=install-strip-sid; on=install-strip-tcl; };
3589b69e 447dependencies = { module=install-sid; on=install-tk; };
455c8f48 448dependencies = { module=install-strip-sid; on=install-strip-tk; };
3589b69e 449
32845532
CD
450dependencies = { module=configure-sim; on=configure-intl; };
451dependencies = { module=all-sim; on=all-intl; };
3589b69e
PB
452dependencies = { module=all-sim; on=all-libiberty; };
453dependencies = { module=all-sim; on=all-bfd; };
454dependencies = { module=all-sim; on=all-opcodes; };
455dependencies = { module=all-sim; on=all-readline; };
456dependencies = { module=all-sim; on=configure-gdb; };
457
458// Other host modules.
459dependencies = { module=all-fastjar; on=all-zlib; };
7c27e184 460dependencies = { module=all-fastjar; on=all-build-texinfo; };
3589b69e
PB
461dependencies = { module=all-fastjar; on=all-libiberty; };
462
463// Warning, these are not well tested.
3589b69e 464dependencies = { module=all-bison; on=all-intl; };
7c27e184 465dependencies = { module=all-bison; on=all-build-texinfo; };
7c27e184 466dependencies = { module=all-flex; on=all-build-bison; };
3589b69e
PB
467dependencies = { module=all-flex; on=all-intl; };
468dependencies = { module=all-flex; on=all-m4; };
7c27e184 469dependencies = { module=all-flex; on=all-build-texinfo; };
3589b69e 470dependencies = { module=all-m4; on=all-intl; };
7c27e184 471dependencies = { module=all-m4; on=all-build-texinfo; };
3589b69e
PB
472
473// Target modules. These can also have dependencies on the language
fa958513
DJ
474// environment (e.g. on libstdc++). By default target modules depend
475// on libgcc and newlib/libgloss.
3589b69e 476lang_env_dependencies = { module=libjava; cxx=true; };
0a35513e 477lang_env_dependencies = { module=libitm; cxx=true; };
fa958513
DJ
478lang_env_dependencies = { module=newlib; no_c=true; };
479lang_env_dependencies = { module=libgloss; no_c=true; };
480lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; };
481// libiberty does not depend on newlib or libgloss because it must be
482// built newlib on some targets (e.g. Cygwin). It still needs
483// a dependency on libgcc for native targets to configure.
484lang_env_dependencies = { module=libiberty; no_c=true; };
3589b69e 485
09ce620e 486dependencies = { module=configure-target-boehm-gc; on=all-target-libstdc++-v3; };
3589b69e
PB
487dependencies = { module=configure-target-fastjar; on=configure-target-zlib; };
488dependencies = { module=all-target-fastjar; on=all-target-zlib; };
632e2a07
ILT
489dependencies = { module=configure-target-libgo; on=configure-target-libffi; };
490dependencies = { module=configure-target-libgo; on=all-target-libstdc++-v3; };
491dependencies = { module=all-target-libgo; on=all-target-libffi; };
3589b69e
PB
492dependencies = { module=configure-target-libjava; on=configure-target-zlib; };
493dependencies = { module=configure-target-libjava; on=configure-target-boehm-gc; };
3589b69e
PB
494dependencies = { module=configure-target-libjava; on=configure-target-libffi; };
495dependencies = { module=all-target-libjava; on=all-fastjar; };
496dependencies = { module=all-target-libjava; on=all-target-zlib; };
497dependencies = { module=all-target-libjava; on=all-target-boehm-gc; };
3589b69e 498dependencies = { module=all-target-libjava; on=all-target-libffi; };
7cd0cf9c 499dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; };
7cd0cf9c 500dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; };
6d3b5aea 501dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; };
aae29963
JR
502// parallel_list.o and parallel_settings.o depend on omp.h, which is
503// generated by the libgomp configure. Unfortunately, due to the use of
504// recursive make, we can't be that specific.
505dependencies = { module=all-target-libstdc++-v3; on=configure-target-libgomp; };
3589b69e
PB
506
507// Target modules in the 'src' repository.
3589b69e
PB
508lang_env_dependencies = { module=libtermcap; };
509lang_env_dependencies = { module=rda; };
510lang_env_dependencies = { module=winsup; };
3589b69e 511
0e5e9f76 512dependencies = { module=all-target-libgloss; on=all-target-newlib; };
3589b69e 513dependencies = { module=all-target-winsup; on=all-target-libtermcap; };
58af276a
RW
514dependencies = { module=configure-target-newlib; on=all-binutils; };
515dependencies = { module=configure-target-newlib; on=all-ld; };
1ec601bf 516dependencies = { module=configure-target-libgfortran; on=all-target-libquadmath; };
3589b69e 517
60911f14 518languages = { language=c; gcc-check-target=check-gcc; };
e399136a 519languages = { language=c++; gcc-check-target=check-c++;
32c87d63 520 lib-check-target=check-target-libstdc++-v3;
056d8580
JM
521 lib-check-target=check-target-libmudflap-c++;
522 lib-check-target=check-target-libitm-c++;
523 lib-check-target=check-target-libgomp-c++; };
60911f14 524languages = { language=fortran; gcc-check-target=check-fortran;
1ec601bf 525 lib-check-target=check-target-libquadmath;
60911f14
SE
526 lib-check-target=check-target-libgfortran; };
527languages = { language=java; gcc-check-target=check-java;
528 lib-check-target=check-target-libjava; };
529languages = { language=ada; gcc-check-target=check-ada;
530 lib-check-target=check-target-libada; };
531languages = { language=objc; gcc-check-target=check-objc;
532 lib-check-target=check-target-libobjc; };
533languages = { language=obj-c++; gcc-check-target=check-obj-c++; };
632e2a07
ILT
534languages = { language=go; gcc-check-target=check-go;
535 lib-check-target=check-target-libgo; };
60911f14 536
148907ea 537// Toplevel bootstrap
4a4a4e99 538bootstrap_stage = { id=1 ; };
148907ea 539bootstrap_stage = {
ad6717df 540 id=2 ; prev=1 ;
4a4a4e99 541 bootstrap_target=bootstrap2 ; };
148907ea 542bootstrap_stage = {
ce521a9c 543 id=3 ; prev=2 ; lean=1 ;
148907ea 544 compare_target=compare ;
f516a7da 545 bootstrap_target=bootstrap ;
4a4a4e99 546 cleanstrap_target=cleanstrap ; };
f516a7da 547bootstrap_stage = {
ce521a9c 548 id=4 ; prev=3 ; lean=2 ;
f516a7da 549 compare_target=compare3 ;
4a4a4e99 550 bootstrap_target=bootstrap4 ; };
ad6717df 551bootstrap_stage = {
4a4a4e99 552 id=profile ; prev=1 ; };
ad6717df 553bootstrap_stage = {
c7870f5d 554 id=feedback ; prev=profile ;
4a4a4e99 555 bootstrap_target=profiledbootstrap ; };