2011-05-18 Tristan Gingold <gingold@adacore.com>
[binutils.git] / Makefile.def
blobf499180de0d6024d69c8dff08545a336e5a24f33
1 #! /usr/bin/autogen
2 AutoGen definitions Makefile.tpl;
4 // Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
5 // This file was originally written by Nathanael Nerode.
6 //
7 // Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
8 // Free Software Foundation
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
12 // the Free Software Foundation; either version 3 of the License, or
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
21 // along with this program; see the file COPYING3. If not see
22 // <http://www.gnu.org/licenses/>.
25 // "missing" indicates that that module doesn't supply
26 // that recursive target in its Makefile.
28 build_modules= { module= libiberty; };
29 build_modules= { module= bison; };
30 build_modules= { module= flex; };
31 build_modules= { module= m4; };
32 build_modules= { module= texinfo; };
33 build_modules= { module= fixincludes; };
35 host_modules= { module= bfd; lib_path=.libs; bootstrap=true; };
36 host_modules= { module= opcodes; lib_path=.libs; bootstrap=true; };
37 host_modules= { module= binutils; bootstrap=true; };
38 host_modules= { module= bison; no_check_cross= true; };
39 host_modules= { module= cgen; };
40 host_modules= { module= dejagnu; };
41 host_modules= { module= etc; };
42 host_modules= { module= fastjar; no_check_cross= true; };
43 host_modules= { module= fixincludes;
44 missing= TAGS; };
45 host_modules= { module= flex; no_check_cross= true; };
46 host_modules= { module= gas; bootstrap=true; };
47 host_modules= { module= gcc; bootstrap=true;
48 extra_make_flags="$(EXTRA_GCC_FLAGS)"; };
49 host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
50 extra_configure_flags='--disable-shared';
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}"; };
58 host_modules= { module= mpfr; lib_path=.libs; bootstrap=true;
59 extra_configure_flags='--disable-shared @extra_mpfr_configure_flags@';
60 no_install= true; };
61 host_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; };
64 host_modules= { module= ppl; lib_path=src/.libs; bootstrap=true;
65 extra_configure_flags='--disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/';
66 no_install= true; };
67 host_modules= { module= cloog; lib_path=.libs; bootstrap=true;
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; };
72 host_modules= { module= libelf; lib_path=.libs; bootstrap=true;
73 extra_configure_flags='--disable-shared';
74 no_install= true; };
75 host_modules= { module= gold; bootstrap=true; };
76 host_modules= { module= gprof; };
77 host_modules= { module= intl; bootstrap=true; };
78 host_modules= { module= tcl;
79 missing=mostlyclean; };
80 host_modules= { module= itcl; };
81 host_modules= { module= ld; bootstrap=true; };
82 host_modules= { module= libcpp; bootstrap=true; };
83 host_modules= { module= libdecnumber; bootstrap=true; };
84 host_modules= { module= libgui; };
85 host_modules= { module= libiberty; bootstrap=true;
86 extra_configure_flags='@extra_host_libiberty_configure_flags@';};
87 // We abuse missing to avoid installing anything for libiconv.
88 host_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; };
95 host_modules= { module= m4; };
96 host_modules= { module= readline; };
97 host_modules= { module= sid; };
98 host_modules= { module= sim; };
99 host_modules= { module= texinfo; no_install= true; };
100 host_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; };
101 host_modules= { module= gdb; };
102 host_modules= { module= expect; };
103 host_modules= { module= guile; };
104 host_modules= { module= tk; };
105 host_modules= { module= libtermcap; no_check=true;
106 missing=mostlyclean;
107 missing=clean;
108 missing=distclean;
109 missing=maintainer-clean; };
110 host_modules= { module= utils; no_check=true; };
111 host_modules= { module= gnattools; };
112 host_modules= { module= lto-plugin; bootstrap=true;
113 extra_configure_flags=--enable-shared; };
115 target_modules = { module= libstdc++-v3;
116 bootstrap=true;
117 lib_path=src/.libs;
118 raw_cxx=true; };
119 target_modules = { module= libmudflap; lib_path=.libs; };
120 target_modules = { module= libssp; lib_path=.libs; };
121 target_modules = { module= newlib; };
122 target_modules = { module= libgcc; bootstrap=true; no_check=true; };
123 target_modules = { module= libquadmath; };
124 target_modules = { module= libgfortran; };
125 target_modules = { module= libobjc; };
126 target_modules = { module= libgo; };
127 target_modules = { module= libtermcap; no_check=true;
128 missing=mostlyclean;
129 missing=clean;
130 missing=distclean;
131 missing=maintainer-clean; };
132 target_modules = { module= winsup; };
133 target_modules = { module= libgloss; no_check=true; };
134 target_modules = { module= libiberty; };
135 target_modules = { module= libffi; };
136 target_modules = { module= libjava; raw_cxx=true; };
137 target_modules = { module= zlib; };
138 target_modules = { module= boehm-gc; };
139 target_modules = { module= rda; };
140 target_modules = { module= libada; };
141 target_modules = { module= libgomp; bootstrap= true; lib_path=.libs; };
143 // These are (some of) the make targets to be done in each subdirectory.
144 // Not all; these are the ones which don't have special options.
145 // "depend" indicates that a target depends on another target uniformly
146 // for each subdirectory. There can be several such lines per target.
147 recursive_targets = { make_target= info;
148 depend=configure; };
149 recursive_targets = { make_target= dvi;
150 depend=configure; };
151 recursive_targets = { make_target= pdf;
152 depend=configure; };
153 recursive_targets = { make_target= html;
154 depend=configure; };
155 recursive_targets = { make_target= TAGS;
156 depend=configure; };
157 recursive_targets = { make_target= install-info;
158 depend=configure;
159 depend=info; };
160 recursive_targets = { make_target= install-pdf;
161 depend=configure;
162 depend=pdf; };
163 recursive_targets = { make_target= install-html;
164 depend=configure;
165 depend=html; };
166 recursive_targets = { make_target= installcheck;
167 depend=configure; };
168 recursive_targets = { make_target= mostlyclean; };
169 recursive_targets = { make_target= clean; };
170 recursive_targets = { make_target= distclean; };
171 recursive_targets = { make_target= maintainer-clean; };
173 // Flags which need to be passed down.
175 // Directories etc.
176 flags_to_pass = { flag= DESTDIR ; };
177 flags_to_pass = { flag= RPATH_ENVVAR ; };
178 flags_to_pass = { flag= TARGET_SUBDIR ; };
179 flags_to_pass = { flag= bindir ; };
180 flags_to_pass = { flag= datadir ; };
181 flags_to_pass = { flag= exec_prefix ; };
182 flags_to_pass = { flag= includedir ; };
183 flags_to_pass = { flag= datarootdir ; };
184 flags_to_pass = { flag= docdir ; };
185 flags_to_pass = { flag= infodir ; };
186 flags_to_pass = { flag= pdfdir ; };
187 flags_to_pass = { flag= htmldir ; };
188 flags_to_pass = { flag= libdir ; };
189 flags_to_pass = { flag= libexecdir ; };
190 flags_to_pass = { flag= lispdir ; };
191 flags_to_pass = { flag= localstatedir ; };
192 flags_to_pass = { flag= mandir ; };
193 flags_to_pass = { flag= oldincludedir ; };
194 flags_to_pass = { flag= prefix ; };
195 flags_to_pass = { flag= sbindir ; };
196 flags_to_pass = { flag= sharedstatedir ; };
197 flags_to_pass = { flag= sysconfdir ; };
198 flags_to_pass = { flag= tooldir ; };
199 flags_to_pass = { flag= build_tooldir ; };
200 flags_to_pass = { flag= target_alias ; };
202 // Build tools
203 flags_to_pass = { flag= AWK ; };
204 flags_to_pass = { flag= BISON ; };
205 flags_to_pass = { flag= CC_FOR_BUILD ; };
206 flags_to_pass = { flag= CFLAGS_FOR_BUILD ; };
207 flags_to_pass = { flag= CXX_FOR_BUILD ; };
208 flags_to_pass = { flag= EXPECT ; };
209 flags_to_pass = { flag= FLEX ; };
210 flags_to_pass = { flag= INSTALL ; };
211 flags_to_pass = { flag= INSTALL_DATA ; };
212 flags_to_pass = { flag= INSTALL_PROGRAM ; };
213 flags_to_pass = { flag= INSTALL_SCRIPT ; };
214 flags_to_pass = { flag= LDFLAGS_FOR_BUILD ; };
215 flags_to_pass = { flag= LEX ; };
216 flags_to_pass = { flag= M4 ; };
217 flags_to_pass = { flag= MAKE ; };
218 flags_to_pass = { flag= RUNTEST ; };
219 flags_to_pass = { flag= RUNTESTFLAGS ; };
220 flags_to_pass = { flag= SED ; };
221 flags_to_pass = { flag= SHELL ; };
222 flags_to_pass = { flag= YACC ; };
224 // Host tools
225 flags_to_pass = { flag= ADAFLAGS ; optional=true ; };
226 flags_to_pass = { flag= ADA_CFLAGS ; };
227 flags_to_pass = { flag= AR_FLAGS ; };
228 flags_to_pass = { flag= BOOT_ADAFLAGS ; optional=true ; };
229 flags_to_pass = { flag= BOOT_CFLAGS ; };
230 flags_to_pass = { flag= BOOT_LDFLAGS ; };
231 flags_to_pass = { flag= CFLAGS ; };
232 flags_to_pass = { flag= CXXFLAGS ; };
233 flags_to_pass = { flag= LDFLAGS ; };
234 flags_to_pass = { flag= LIBCFLAGS ; };
235 flags_to_pass = { flag= LIBCXXFLAGS ; };
236 flags_to_pass = { flag= STAGE1_CHECKING ; };
237 flags_to_pass = { flag= STAGE1_LANGUAGES ; };
238 flags_to_pass = { flag= GNATBIND ; };
239 flags_to_pass = { flag= GNATMAKE ; };
241 // Target tools
242 flags_to_pass = { flag= AR_FOR_TARGET ; };
243 flags_to_pass = { flag= AS_FOR_TARGET ; };
244 flags_to_pass = { flag= CC_FOR_TARGET ; };
245 flags_to_pass = { flag= CFLAGS_FOR_TARGET ; };
246 flags_to_pass = { flag= CPPFLAGS_FOR_TARGET ; };
247 flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; };
248 flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; };
249 flags_to_pass = { flag= FLAGS_FOR_TARGET ; };
250 flags_to_pass = { flag= GCJ_FOR_TARGET ; };
251 flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; };
252 flags_to_pass = { flag= GOC_FOR_TARGET ; };
253 flags_to_pass = { flag= GOCFLAGS_FOR_TARGET ; };
254 flags_to_pass = { flag= LD_FOR_TARGET ; };
255 flags_to_pass = { flag= LIPO_FOR_TARGET ; };
256 flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; };
257 flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; };
258 flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; };
259 flags_to_pass = { flag= NM_FOR_TARGET ; };
260 flags_to_pass = { flag= OBJDUMP_FOR_TARGET ; };
261 flags_to_pass = { flag= RANLIB_FOR_TARGET ; };
262 flags_to_pass = { flag= STRIP_FOR_TARGET ; };
263 flags_to_pass = { flag= WINDRES_FOR_TARGET ; };
264 flags_to_pass = { flag= WINDMC_FOR_TARGET ; };
266 // Miscellaneous
267 flags_to_pass = { flag= BUILD_CONFIG ; };
268 flags_to_pass = { flag= LANGUAGES ; optional=true ; };
269 flags_to_pass = { flag= LEAN ; };
271 // Inter-module dependencies
273 // Build modules
274 dependencies = { module=all-build-bison; on=all-build-texinfo; };
275 dependencies = { module=all-build-flex; on=all-build-texinfo; };
276 dependencies = { module=all-build-flex; on=all-build-bison; };
277 dependencies = { module=all-build-flex; on=all-build-m4; };
278 dependencies = { module=all-build-libiberty; on=all-build-texinfo; };
279 dependencies = { module=all-build-m4; on=all-build-texinfo; };
280 dependencies = { module=all-build-fixincludes; on=all-build-libiberty; };
282 // Host modules specific to gcc.
283 dependencies = { module=configure-gcc; on=configure-intl; };
284 dependencies = { module=configure-gcc; on=all-lto-plugin; };
285 dependencies = { module=configure-gcc; on=all-binutils; };
286 dependencies = { module=configure-gcc; on=all-gas; };
287 dependencies = { module=configure-gcc; on=all-ld; };
288 dependencies = { module=configure-gcc; on=all-gold; };
289 dependencies = { module=configure-gcc; on=all-libelf; };
290 dependencies = { module=all-gcc; on=all-libiberty; hard=true; };
291 dependencies = { module=all-gcc; on=all-gmp; };
292 dependencies = { module=all-gcc; on=all-intl; };
293 dependencies = { module=all-gcc; on=all-mpfr; };
294 dependencies = { module=all-gcc; on=all-mpc; };
295 dependencies = { module=all-gcc; on=all-ppl; };
296 dependencies = { module=all-gcc; on=all-cloog; };
297 dependencies = { module=all-gcc; on=all-build-texinfo; };
298 dependencies = { module=all-gcc; on=all-build-bison; };
299 dependencies = { module=all-gcc; on=all-build-flex; };
300 dependencies = { module=all-gcc; on=all-build-libiberty; };
301 dependencies = { module=all-gcc; on=all-build-fixincludes; };
302 dependencies = { module=all-gcc; on=all-zlib; };
303 dependencies = { module=all-gcc; on=all-libcpp; hard=true; };
304 dependencies = { module=all-gcc; on=all-libdecnumber; hard=true; };
305 dependencies = { module=all-gcc; on=all-libiberty; };
306 dependencies = { module=all-gcc; on=all-fixincludes; };
307 dependencies = { module=all-gcc; on=all-lto-plugin; };
308 dependencies = { module=info-gcc; on=all-build-libiberty; };
309 dependencies = { module=dvi-gcc; on=all-build-libiberty; };
310 dependencies = { module=pdf-gcc; on=all-build-libiberty; };
311 dependencies = { module=html-gcc; on=all-build-libiberty; };
312 dependencies = { module=install-gcc ; on=install-fixincludes; };
313 dependencies = { module=install-gcc ; on=install-lto-plugin; };
314 dependencies = { module=install-strip-gcc ; on=install-strip-fixincludes; };
316 dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; };
317 dependencies = { module=configure-libcpp; on=configure-intl; };
318 dependencies = { module=all-libcpp; on=all-libiberty; hard=true; };
319 dependencies = { module=all-libcpp; on=all-intl; };
321 dependencies = { module=all-fixincludes; on=all-libiberty; };
323 dependencies = { module=all-gnattools; on=all-target-libada; };
325 dependencies = { module=all-lto-plugin; on=all-libiberty; };
327 dependencies = { module=all-utils; on=all-libiberty; };
329 dependencies = { module=configure-mpfr; on=all-gmp; };
330 dependencies = { module=configure-mpc; on=all-mpfr; };
331 dependencies = { module=configure-ppl; on=all-gmp; };
332 dependencies = { module=configure-ppl; on=all-mpfr; };
333 dependencies = { module=configure-cloog; on=all-ppl; };
335 // Host modules specific to gdb.
336 dependencies = { module=configure-gdb; on=all-intl; };
337 dependencies = { module=configure-gdb; on=configure-sim; };
338 dependencies = { module=configure-gdb; on=all-bfd; };
339 // Depend on all-libiconv so that configure checks for iconv
340 // functions will work.
341 dependencies = { module=configure-gdb; on=all-libiconv; };
342 dependencies = { module=all-gdb; on=all-libiberty; };
343 dependencies = { module=all-gdb; on=all-libiconv; };
344 dependencies = { module=all-gdb; on=all-opcodes; };
345 dependencies = { module=all-gdb; on=all-readline; };
346 dependencies = { module=all-gdb; on=all-build-bison; };
347 dependencies = { module=all-gdb; on=all-sim; };
348 dependencies = { module=all-gdb; on=all-libdecnumber; };
349 dependencies = { module=all-gdb; on=all-libtermcap; };
351 dependencies = { module=configure-libgui; on=configure-tcl; };
352 dependencies = { module=configure-libgui; on=configure-tk; };
353 dependencies = { module=all-libgui; on=all-tcl; };
354 dependencies = { module=all-libgui; on=all-tk; };
355 dependencies = { module=all-libgui; on=all-itcl; };
357 // Host modules specific to binutils.
358 dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; };
359 dependencies = { module=configure-bfd; on=configure-intl; };
360 dependencies = { module=all-bfd; on=all-libiberty; };
361 dependencies = { module=all-bfd; on=all-intl; };
362 dependencies = { module=configure-opcodes; on=configure-libiberty; hard=true; };
363 dependencies = { module=all-opcodes; on=all-libiberty; };
365 dependencies = { module=configure-binutils; on=configure-intl; };
366 dependencies = { module=all-binutils; on=all-libiberty; };
367 dependencies = { module=all-binutils; on=all-opcodes; };
368 dependencies = { module=all-binutils; on=all-bfd; };
369 dependencies = { module=all-binutils; on=all-build-flex; };
370 dependencies = { module=all-binutils; on=all-build-bison; };
371 dependencies = { module=all-binutils; on=all-intl; };
373 // We put install-opcodes before install-binutils because the installed
374 // binutils might be on PATH, and they might need the shared opcodes
375 // library.
376 dependencies = { module=install-binutils; on=install-opcodes; };
377 dependencies = { module=install-strip-binutils; on=install-strip-opcodes; };
379 // libopcodes depends on libbfd
380 dependencies = { module=install-opcodes; on=install-bfd; };
381 dependencies = { module=install-strip-opcodes; on=install-strip-bfd; };
383 dependencies = { module=configure-gas; on=configure-intl; };
384 dependencies = { module=all-gas; on=all-libiberty; };
385 dependencies = { module=all-gas; on=all-opcodes; };
386 dependencies = { module=all-gas; on=all-bfd; };
387 dependencies = { module=all-gas; on=all-intl; };
388 dependencies = { module=configure-gprof; on=configure-intl; };
389 dependencies = { module=all-gprof; on=all-libiberty; };
390 dependencies = { module=all-gprof; on=all-bfd; };
391 dependencies = { module=all-gprof; on=all-opcodes; };
392 dependencies = { module=all-gprof; on=all-intl; };
393 dependencies = { module=configure-ld; on=configure-intl; };
394 dependencies = { module=all-ld; on=all-libiberty; };
395 dependencies = { module=all-ld; on=all-bfd; };
396 dependencies = { module=all-ld; on=all-opcodes; };
397 dependencies = { module=all-ld; on=all-build-bison; };
398 dependencies = { module=all-ld; on=all-build-flex; };
399 dependencies = { module=all-ld; on=all-intl; };
400 dependencies = { module=install-ld; on=install-gold; };
401 dependencies = { module=install-strip-ld; on=install-strip-gold; };
402 dependencies = { module=configure-gold; on=configure-intl; };
403 dependencies = { module=all-gold; on=all-libiberty; };
404 dependencies = { module=all-gold; on=all-intl; };
405 dependencies = { module=all-gold; on=all-bfd; };
406 dependencies = { module=all-gold; on=all-build-bison; };
407 dependencies = { module=check-gold; on=all-binutils; };
408 dependencies = { module=check-gold; on=all-gas; };
410 dependencies = { module=configure-opcodes; on=configure-intl; };
411 dependencies = { module=all-opcodes; on=all-bfd; };
412 dependencies = { module=all-opcodes; on=all-libiberty; };
413 dependencies = { module=all-opcodes; on=all-intl; };
415 // Other host modules in the 'src' repository.
416 dependencies = { module=all-dejagnu; on=all-tcl; };
417 dependencies = { module=all-dejagnu; on=all-expect; };
418 dependencies = { module=all-dejagnu; on=all-tk; };
419 dependencies = { module=configure-expect; on=configure-tcl; };
420 dependencies = { module=configure-expect; on=configure-tk; };
421 dependencies = { module=all-expect; on=all-tcl; };
422 dependencies = { module=all-expect; on=all-tk; };
424 // We put install-tcl before install-itcl because itcl wants to run a
425 // program on installation which uses the Tcl libraries.
426 dependencies = { module=configure-itcl; on=configure-tcl; };
427 dependencies = { module=configure-itcl; on=configure-tk; };
428 dependencies = { module=all-itcl; on=all-tcl; };
429 dependencies = { module=all-itcl; on=all-tk; };
430 dependencies = { module=install-itcl; on=install-tcl; };
431 dependencies = { module=install-strip-itcl; on=install-strip-tcl; };
433 dependencies = { module=configure-tk; on=configure-tcl; };
434 dependencies = { module=all-tk; on=all-tcl; };
436 dependencies = { module=all-sid; on=all-libiberty; };
437 dependencies = { module=all-sid; on=all-bfd; };
438 dependencies = { module=all-sid; on=all-opcodes; };
439 dependencies = { module=all-sid; on=all-tcl; };
440 dependencies = { module=all-sid; on=all-tk; };
441 dependencies = { module=install-sid; on=install-tcl; };
442 dependencies = { module=install-strip-sid; on=install-strip-tcl; };
443 dependencies = { module=install-sid; on=install-tk; };
444 dependencies = { module=install-strip-sid; on=install-strip-tk; };
446 dependencies = { module=configure-sim; on=configure-intl; };
447 dependencies = { module=all-sim; on=all-intl; };
448 dependencies = { module=all-sim; on=all-libiberty; };
449 dependencies = { module=all-sim; on=all-bfd; };
450 dependencies = { module=all-sim; on=all-opcodes; };
451 dependencies = { module=all-sim; on=all-readline; };
452 dependencies = { module=all-sim; on=configure-gdb; };
454 // Other host modules.
455 dependencies = { module=all-fastjar; on=all-zlib; };
456 dependencies = { module=all-fastjar; on=all-build-texinfo; };
457 dependencies = { module=all-fastjar; on=all-libiberty; };
459 // Warning, these are not well tested.
460 dependencies = { module=all-bison; on=all-intl; };
461 dependencies = { module=all-bison; on=all-build-texinfo; };
462 dependencies = { module=all-flex; on=all-build-bison; };
463 dependencies = { module=all-flex; on=all-intl; };
464 dependencies = { module=all-flex; on=all-m4; };
465 dependencies = { module=all-flex; on=all-build-texinfo; };
466 dependencies = { module=all-m4; on=all-intl; };
467 dependencies = { module=all-m4; on=all-build-texinfo; };
469 // Target modules. These can also have dependencies on the language
470 // environment (e.g. on libstdc++). By default target modules depend
471 // on libgcc and newlib/libgloss.
472 lang_env_dependencies = { module=libjava; cxx=true; };
473 lang_env_dependencies = { module=newlib; no_c=true; };
474 lang_env_dependencies = { module=libgloss; no_c=true; };
475 lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; };
476 // libiberty does not depend on newlib or libgloss because it must be
477 // built newlib on some targets (e.g. Cygwin). It still needs
478 // a dependency on libgcc for native targets to configure.
479 lang_env_dependencies = { module=libiberty; no_c=true; };
481 dependencies = { module=configure-target-boehm-gc; on=all-target-libstdc++-v3; };
482 dependencies = { module=configure-target-fastjar; on=configure-target-zlib; };
483 dependencies = { module=all-target-fastjar; on=all-target-zlib; };
484 dependencies = { module=all-target-fastjar; on=all-target-libiberty; };
485 dependencies = { module=configure-target-libgo; on=configure-target-libffi; };
486 dependencies = { module=configure-target-libgo; on=all-target-libstdc++-v3; };
487 dependencies = { module=all-target-libgo; on=all-target-libffi; };
488 dependencies = { module=configure-target-libjava; on=configure-target-zlib; };
489 dependencies = { module=configure-target-libjava; on=configure-target-boehm-gc; };
490 dependencies = { module=configure-target-libjava; on=configure-target-libffi; };
491 dependencies = { module=all-target-libjava; on=all-fastjar; };
492 dependencies = { module=all-target-libjava; on=all-target-zlib; };
493 dependencies = { module=all-target-libjava; on=all-target-boehm-gc; };
494 dependencies = { module=all-target-libjava; on=all-target-libffi; };
495 dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; };
496 dependencies = { module=all-target-libobjc; on=all-target-libiberty; };
497 dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; };
498 dependencies = { module=all-target-libstdc++-v3; on=all-target-libiberty; };
499 dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; };
500 // parallel_list.o and parallel_settings.o depend on omp.h, which is
501 // generated by the libgomp configure. Unfortunately, due to the use of
502 // recursive make, we can't be that specific.
503 dependencies = { module=all-target-libstdc++-v3; on=configure-target-libgomp; };
505 // Target modules in the 'src' repository.
506 lang_env_dependencies = { module=libtermcap; };
507 lang_env_dependencies = { module=rda; };
508 lang_env_dependencies = { module=winsup; };
510 dependencies = { module=all-target-libgloss; on=all-target-newlib; };
511 dependencies = { module=all-target-winsup; on=all-target-libiberty; };
512 dependencies = { module=all-target-winsup; on=all-target-libtermcap; };
513 dependencies = { module=configure-target-libiberty; on=all-binutils; };
514 dependencies = { module=configure-target-libiberty; on=all-ld; };
515 dependencies = { module=configure-target-newlib; on=all-binutils; };
516 dependencies = { module=configure-target-newlib; on=all-ld; };
517 dependencies = { module=configure-target-libgfortran; on=all-target-libquadmath; };
519 languages = { language=c; gcc-check-target=check-gcc; };
520 languages = { language=c++; gcc-check-target=check-c++;
521 lib-check-target=check-target-libstdc++-v3; };
522 languages = { language=fortran; gcc-check-target=check-fortran;
523 lib-check-target=check-target-libquadmath;
524 lib-check-target=check-target-libgfortran; };
525 languages = { language=java; gcc-check-target=check-java;
526 lib-check-target=check-target-libjava; };
527 languages = { language=ada; gcc-check-target=check-ada;
528 lib-check-target=check-target-libada; };
529 languages = { language=objc; gcc-check-target=check-objc;
530 lib-check-target=check-target-libobjc; };
531 languages = { language=obj-c++; gcc-check-target=check-obj-c++; };
532 languages = { language=go; gcc-check-target=check-go;
533 lib-check-target=check-target-libgo; };
535 // Toplevel bootstrap
536 bootstrap_stage = { id=1 ; };
537 bootstrap_stage = {
538 id=2 ; prev=1 ;
539 bootstrap_target=bootstrap2 ; };
540 bootstrap_stage = {
541 id=3 ; prev=2 ; lean=1 ;
542 compare_target=compare ;
543 bootstrap_target=bootstrap ;
544 cleanstrap_target=cleanstrap ; };
545 bootstrap_stage = {
546 id=4 ; prev=3 ; lean=2 ;
547 compare_target=compare3 ;
548 bootstrap_target=bootstrap4 ; };
549 bootstrap_stage = {
550 id=profile ; prev=1 ; };
551 bootstrap_stage = {
552 id=feedback ; prev=profile ;
553 bootstrap_target=profiledbootstrap ; };