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.
7 // Copyright
2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
8 // Free Software Foundation
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.
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.
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; bootstrap=true; };
36 host_modules= { module= opcodes; 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;
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
';
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@';
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@';
64 host_modules
= { module
= isl
; lib_path
=.libs
; bootstrap
=true
;
65 extra_configure_flags
='--disable-shared @extra_isl_gmp_configure_flags@';
66 extra_make_flags
='V=1';
68 host_modules
= { module
= cloog
; lib_path
=.libs
; bootstrap
=true
;
69 extra_configure_flags
='--disable-shared --with-gmp=system --with-bits=gmp --with-isl=system';
70 extra_exports
='CPPFLAGS="$(HOST_GMPINC) $(HOST_ISLINC) $$CPPFLAGS"; export CPPFLAGS; LDFLAGS="-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/isl/.libs $$LDFLAGS"; export LDFLAGS; ';
71 extra_make_flags
='CPPFLAGS="$$CPPFLAGS" LDFLAGS="$$LDFLAGS" V=1';
73 host_modules
= { module
= libelf
; lib_path
=.libs
; bootstrap
=true
;
74 extra_configure_flags
='--disable-shared';
76 host_modules
= { module
= gold
; bootstrap
=true
; };
77 host_modules
= { module
= gprof
; };
78 host_modules
= { module
= intl
; bootstrap
=true
; };
79 host_modules
= { module
= tcl
;
80 missing
=mostlyclean
; };
81 host_modules
= { module
= itcl
; };
82 host_modules
= { module
= ld
; bootstrap
=true
; };
83 host_modules
= { module
= libbacktrace
; bootstrap
=true
; };
84 host_modules
= { module
= libcpp
; bootstrap
=true
; };
85 host_modules
= { module
= libdecnumber
; bootstrap
=true
; };
86 host_modules
= { module
= libgui
; };
87 host_modules
= { module
= libiberty
; bootstrap
=true
;
88 extra_configure_flags
='@extra_host_libiberty_configure_flags@';};
89 // We abuse missing to avoid installing anything for libiconv.
90 host_modules
= { module
= libiconv
;
91 extra_configure_flags
='--disable-shared';
93 missing
= install
-info
;
95 missing
= install
-html
;
96 missing
= install
-info
; };
97 host_modules
= { module
= m4
; };
98 host_modules
= { module
= readline
; };
99 host_modules
= { module
= sid
; };
100 host_modules
= { module
= sim
; };
101 host_modules
= { module
= texinfo
; no_install
= true
; };
102 host_modules
= { module
= zlib
; no_install
=true
; no_check
=true
; bootstrap
=true
; };
103 host_modules
= { module
= gdb
; };
104 host_modules
= { module
= expect
; };
105 host_modules
= { module
= guile
; };
106 host_modules
= { module
= tk
; };
107 host_modules
= { module
= libtermcap
; no_check
=true
;
111 missing
=maintainer
-clean
; };
112 host_modules
= { module
= utils
; no_check
=true
; };
113 host_modules
= { module
= gnattools
; };
114 host_modules
= { module
= lto
-plugin
; bootstrap
=true
;
115 extra_configure_flags
=--enable
-shared
; };
117 target_modules
= { module
= libstdc
++-v3
;
121 target_modules
= { module
= libmudflap
; lib_path
=.libs
; };
122 target_modules
= { module
= libsanitizer
;
126 target_modules
= { module
= libssp
; lib_path
=.libs
; };
127 target_modules
= { module
= newlib
; };
128 target_modules
= { module
= libgcc
; bootstrap
=true
; no_check
=true
; };
129 target_modules
= { module
= libbacktrace
; };
130 target_modules
= { module
= libquadmath
; };
131 target_modules
= { module
= libgfortran
; };
132 target_modules
= { module
= libobjc
; };
133 target_modules
= { module
= libgo
; };
134 target_modules
= { module
= libtermcap
; no_check
=true
;
138 missing
=maintainer
-clean
; };
139 target_modules
= { module
= winsup
; };
140 target_modules
= { module
= libgloss
; no_check
=true
; };
141 target_modules
= { module
= libffi
; };
142 target_modules
= { module
= libjava
; raw_cxx
=true
;
143 extra_configure_flags
="$(EXTRA_CONFIGARGS_LIBJAVA)"; };
144 target_modules
= { module
= zlib
; };
145 target_modules
= { module
= boehm
-gc
; };
146 target_modules
= { module
= rda
; };
147 target_modules
= { module
= libada
; };
148 target_modules
= { module
= libgomp
; bootstrap
= true
; lib_path
=.libs
; };
149 target_modules
= { module
= libitm
; lib_path
=.libs
; };
150 target_modules
= { module
= libatomic
; lib_path
=.libs
; };
152 // These
are (some of
) the make targets to be done in each subdirectory.
153 // Not all
; these are the ones which don
't have special options.
154 // "depend" indicates that a target depends on another target uniformly
155 // for each subdirectory. There can be several such lines per target.
156 recursive_targets = { make_target= info;
158 recursive_targets = { make_target= dvi;
160 recursive_targets = { make_target= pdf;
162 recursive_targets = { make_target= html;
164 recursive_targets = { make_target= TAGS;
166 recursive_targets = { make_target= install-info;
169 recursive_targets = { make_target= install-pdf;
172 recursive_targets = { make_target= install-html;
175 recursive_targets = { make_target= installcheck;
177 recursive_targets = { make_target= mostlyclean; };
178 recursive_targets = { make_target= clean; };
179 recursive_targets = { make_target= distclean; };
180 recursive_targets = { make_target= maintainer-clean; };
182 // Flags which need to be passed down.
185 flags_to_pass = { flag= DESTDIR ; };
186 flags_to_pass = { flag= RPATH_ENVVAR ; };
187 flags_to_pass = { flag= TARGET_SUBDIR ; };
188 flags_to_pass = { flag= bindir ; };
189 flags_to_pass = { flag= datadir ; };
190 flags_to_pass = { flag= exec_prefix ; };
191 flags_to_pass = { flag= includedir ; };
192 flags_to_pass = { flag= datarootdir ; };
193 flags_to_pass = { flag= docdir ; };
194 flags_to_pass = { flag= infodir ; };
195 flags_to_pass = { flag= pdfdir ; };
196 flags_to_pass = { flag= htmldir ; };
197 flags_to_pass = { flag= libdir ; };
198 flags_to_pass = { flag= libexecdir ; };
199 flags_to_pass = { flag= lispdir ; };
200 flags_to_pass = { flag= localstatedir ; };
201 flags_to_pass = { flag= mandir ; };
202 flags_to_pass = { flag= oldincludedir ; };
203 flags_to_pass = { flag= prefix ; };
204 flags_to_pass = { flag= sbindir ; };
205 flags_to_pass = { flag= sharedstatedir ; };
206 flags_to_pass = { flag= sysconfdir ; };
207 flags_to_pass = { flag= tooldir ; };
208 flags_to_pass = { flag= build_tooldir ; };
209 flags_to_pass = { flag= target_alias ; };
212 flags_to_pass = { flag= AWK ; };
213 flags_to_pass = { flag= BISON ; };
214 flags_to_pass = { flag= CC_FOR_BUILD ; };
215 flags_to_pass = { flag= CFLAGS_FOR_BUILD ; };
216 flags_to_pass = { flag= CXX_FOR_BUILD ; };
217 flags_to_pass = { flag= EXPECT ; };
218 flags_to_pass = { flag= FLEX ; };
219 flags_to_pass = { flag= INSTALL ; };
220 flags_to_pass = { flag= INSTALL_DATA ; };
221 flags_to_pass = { flag= INSTALL_PROGRAM ; };
222 flags_to_pass = { flag= INSTALL_SCRIPT ; };
223 flags_to_pass = { flag= LDFLAGS_FOR_BUILD ; };
224 flags_to_pass = { flag= LEX ; };
225 flags_to_pass = { flag= M4 ; };
226 flags_to_pass = { flag= MAKE ; };
227 flags_to_pass = { flag= RUNTEST ; };
228 flags_to_pass = { flag= RUNTESTFLAGS ; };
229 flags_to_pass = { flag= SED ; };
230 flags_to_pass = { flag= SHELL ; };
231 flags_to_pass = { flag= YACC ; };
234 flags_to_pass = { flag= ADAFLAGS ; optional=true ; };
235 flags_to_pass = { flag= ADA_CFLAGS ; };
236 flags_to_pass = { flag= AR_FLAGS ; };
237 flags_to_pass = { flag= BOOT_ADAFLAGS ; optional=true ; };
238 flags_to_pass = { flag= BOOT_CFLAGS ; };
239 flags_to_pass = { flag= BOOT_LDFLAGS ; };
240 flags_to_pass = { flag= CFLAGS ; };
241 flags_to_pass = { flag= CXXFLAGS ; };
242 flags_to_pass = { flag= LDFLAGS ; };
243 flags_to_pass = { flag= LIBCFLAGS ; };
244 flags_to_pass = { flag= LIBCXXFLAGS ; };
245 flags_to_pass = { flag= STAGE1_CHECKING ; };
246 flags_to_pass = { flag= STAGE1_LANGUAGES ; };
247 flags_to_pass = { flag= GNATBIND ; };
248 flags_to_pass = { flag= GNATMAKE ; };
251 flags_to_pass = { flag= AR_FOR_TARGET ; };
252 flags_to_pass = { flag= AS_FOR_TARGET ; };
253 flags_to_pass = { flag= CC_FOR_TARGET ; };
254 flags_to_pass = { flag= CFLAGS_FOR_TARGET ; };
255 flags_to_pass = { flag= CPPFLAGS_FOR_TARGET ; };
256 flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; };
257 flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; };
258 flags_to_pass = { flag= FLAGS_FOR_TARGET ; };
259 flags_to_pass = { flag= GCJ_FOR_TARGET ; };
260 flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; };
261 flags_to_pass = { flag= GOC_FOR_TARGET ; };
262 flags_to_pass = { flag= GOCFLAGS_FOR_TARGET ; };
263 flags_to_pass = { flag= LD_FOR_TARGET ; };
264 flags_to_pass = { flag= LIPO_FOR_TARGET ; };
265 flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; };
266 flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; };
267 flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; };
268 flags_to_pass = { flag= NM_FOR_TARGET ; };
269 flags_to_pass = { flag= OBJDUMP_FOR_TARGET ; };
270 flags_to_pass = { flag= RANLIB_FOR_TARGET ; };
271 flags_to_pass = { flag= READELF_FOR_TARGET ; };
272 flags_to_pass = { flag= STRIP_FOR_TARGET ; };
273 flags_to_pass = { flag= WINDRES_FOR_TARGET ; };
274 flags_to_pass = { flag= WINDMC_FOR_TARGET ; };
277 flags_to_pass = { flag= BUILD_CONFIG ; };
278 flags_to_pass = { flag= LANGUAGES ; optional=true ; };
279 flags_to_pass = { flag= LEAN ; };
281 // Inter-module dependencies
284 dependencies = { module=all-build-bison; on=all-build-texinfo; };
285 dependencies = { module=all-build-flex; on=all-build-texinfo; };
286 dependencies = { module=all-build-flex; on=all-build-bison; };
287 dependencies = { module=all-build-flex; on=all-build-m4; };
288 dependencies = { module=all-build-libiberty; on=all-build-texinfo; };
289 dependencies = { module=all-build-m4; on=all-build-texinfo; };
290 dependencies = { module=all-build-fixincludes; on=all-build-libiberty; };
292 // Host modules specific to gcc.
293 dependencies = { module=configure-gcc; on=configure-intl; };
294 dependencies = { module=configure-gcc; on=all-lto-plugin; };
295 dependencies = { module=configure-gcc; on=all-binutils; };
296 dependencies = { module=configure-gcc; on=all-gas; };
297 dependencies = { module=configure-gcc; on=all-ld; };
298 dependencies = { module=configure-gcc; on=all-gold; };
299 dependencies = { module=configure-gcc; on=all-libelf; };
300 dependencies = { module=all-gcc; on=all-libiberty; hard=true; };
301 dependencies = { module=all-gcc; on=all-gmp; };
302 dependencies = { module=all-gcc; on=all-intl; };
303 dependencies = { module=all-gcc; on=all-mpfr; };
304 dependencies = { module=all-gcc; on=all-mpc; };
305 dependencies = { module=all-gcc; on=all-cloog; };
306 dependencies = { module=all-gcc; on=all-build-texinfo; };
307 dependencies = { module=all-gcc; on=all-build-bison; };
308 dependencies = { module=all-gcc; on=all-build-flex; };
309 dependencies = { module=all-gcc; on=all-build-libiberty; };
310 dependencies = { module=all-gcc; on=all-build-fixincludes; };
311 dependencies = { module=all-gcc; on=all-zlib; };
312 dependencies = { module=all-gcc; on=all-libbacktrace; hard=true; };
313 dependencies = { module=all-gcc; on=all-libcpp; hard=true; };
314 dependencies = { module=all-gcc; on=all-libdecnumber; hard=true; };
315 dependencies = { module=all-gcc; on=all-libiberty; };
316 dependencies = { module=all-gcc; on=all-fixincludes; };
317 dependencies = { module=all-gcc; on=all-lto-plugin; };
318 dependencies = { module=info-gcc; on=all-build-libiberty; };
319 dependencies = { module=dvi-gcc; on=all-build-libiberty; };
320 dependencies = { module=pdf-gcc; on=all-build-libiberty; };
321 dependencies = { module=html-gcc; on=all-build-libiberty; };
322 dependencies = { module=install-gcc ; on=install-fixincludes; };
323 dependencies = { module=install-gcc ; on=install-lto-plugin; };
324 dependencies = { module=install-strip-gcc ; on=install-strip-fixincludes; };
325 dependencies = { module=install-strip-gcc ; on=install-strip-lto-plugin; };
327 dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; };
328 dependencies = { module=configure-libcpp; on=configure-intl; };
329 dependencies = { module=all-libcpp; on=all-libiberty; hard=true; };
330 dependencies = { module=all-libcpp; on=all-intl; };
332 dependencies = { module=all-fixincludes; on=all-libiberty; };
334 dependencies = { module=all-gnattools; on=all-target-libada; };
336 dependencies = { module=all-lto-plugin; on=all-libiberty; };
338 dependencies = { module=all-utils; on=all-libiberty; };
340 dependencies = { module=configure-mpfr; on=all-gmp; };
341 dependencies = { module=configure-mpc; on=all-mpfr; };
342 dependencies = { module=configure-isl; on=all-gmp; };
343 dependencies = { module=configure-cloog; on=all-isl; };
344 dependencies = { module=configure-cloog; on=all-gmp; };
346 // Host modules specific to gdb.
347 dependencies = { module=configure-gdb; on=all-intl; };
348 dependencies = { module=configure-gdb; on=configure-sim; };
349 dependencies = { module=configure-gdb; on=all-bfd; };
350 // Depend on all-libiconv so that configure checks for iconv
351 // functions will work.
352 dependencies = { module=configure-gdb; on=all-libiconv; };
353 dependencies = { module=all-gdb; on=all-libiberty; };
354 dependencies = { module=all-gdb; on=all-libiconv; };
355 dependencies = { module=all-gdb; on=all-opcodes; };
356 dependencies = { module=all-gdb; on=all-readline; };
357 dependencies = { module=all-gdb; on=all-build-bison; };
358 dependencies = { module=all-gdb; on=all-sim; };
359 dependencies = { module=all-gdb; on=all-libdecnumber; };
360 dependencies = { module=all-gdb; on=all-libtermcap; };
362 dependencies = { module=configure-libgui; on=configure-tcl; };
363 dependencies = { module=configure-libgui; on=configure-tk; };
364 dependencies = { module=all-libgui; on=all-tcl; };
365 dependencies = { module=all-libgui; on=all-tk; };
366 dependencies = { module=all-libgui; on=all-itcl; };
368 // Host modules specific to binutils.
369 dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; };
370 dependencies = { module=configure-bfd; on=configure-intl; };
371 dependencies = { module=all-bfd; on=all-libiberty; };
372 dependencies = { module=all-bfd; on=all-intl; };
373 dependencies = { module=configure-opcodes; on=configure-libiberty; hard=true; };
374 dependencies = { module=all-opcodes; on=all-libiberty; };
376 dependencies = { module=configure-binutils; on=configure-intl; };
377 dependencies = { module=all-binutils; on=all-libiberty; };
378 dependencies = { module=all-binutils; on=all-opcodes; };
379 dependencies = { module=all-binutils; on=all-bfd; };
380 dependencies = { module=all-binutils; on=all-build-flex; };
381 dependencies = { module=all-binutils; on=all-build-bison; };
382 dependencies = { module=all-binutils; on=all-intl; };
384 // We put install-opcodes before install-binutils because the installed
385 // binutils might be on PATH, and they might need the shared opcodes
387 dependencies = { module=install-binutils; on=install-opcodes; };
388 dependencies = { module=install-strip-binutils; on=install-strip-opcodes; };
390 // libopcodes depends on libbfd
391 dependencies = { module=install-opcodes; on=install-bfd; };
392 dependencies = { module=install-strip-opcodes; on=install-strip-bfd; };
394 dependencies = { module=configure-gas; on=configure-intl; };
395 dependencies = { module=all-gas; on=all-libiberty; };
396 dependencies = { module=all-gas; on=all-opcodes; };
397 dependencies = { module=all-gas; on=all-bfd; };
398 dependencies = { module=all-gas; on=all-intl; };
399 dependencies = { module=configure-gprof; on=configure-intl; };
400 dependencies = { module=all-gprof; on=all-libiberty; };
401 dependencies = { module=all-gprof; on=all-bfd; };
402 dependencies = { module=all-gprof; on=all-opcodes; };
403 dependencies = { module=all-gprof; on=all-intl; };
404 dependencies = { module=configure-ld; on=configure-intl; };
405 dependencies = { module=all-ld; on=all-libiberty; };
406 dependencies = { module=all-ld; on=all-bfd; };
407 dependencies = { module=all-ld; on=all-opcodes; };
408 dependencies = { module=all-ld; on=all-build-bison; };
409 dependencies = { module=all-ld; on=all-build-flex; };
410 dependencies = { module=all-ld; on=all-intl; };
411 dependencies = { module=install-ld; on=install-gold; };
412 dependencies = { module=install-strip-ld; on=install-strip-gold; };
413 dependencies = { module=configure-gold; on=configure-intl; };
414 dependencies = { module=all-gold; on=all-libiberty; };
415 dependencies = { module=all-gold; on=all-intl; };
416 dependencies = { module=all-gold; on=all-bfd; };
417 dependencies = { module=all-gold; on=all-build-bison; };
418 dependencies = { module=check-gold; on=all-binutils; };
419 dependencies = { module=check-gold; on=all-gas; };
421 dependencies = { module=configure-opcodes; on=configure-intl; };
422 dependencies = { module=all-opcodes; on=all-bfd; };
423 dependencies = { module=all-opcodes; on=all-libiberty; };
424 dependencies = { module=all-opcodes; on=all-intl; };
426 // Other host modules in the 'src
' repository.
427 dependencies = { module=all-dejagnu; on=all-tcl; };
428 dependencies = { module=all-dejagnu; on=all-expect; };
429 dependencies = { module=all-dejagnu; on=all-tk; };
430 dependencies = { module=configure-expect; on=configure-tcl; };
431 dependencies = { module=configure-expect; on=configure-tk; };
432 dependencies = { module=all-expect; on=all-tcl; };
433 dependencies = { module=all-expect; on=all-tk; };
435 // We put install-tcl before install-itcl because itcl wants to run a
436 // program on installation which uses the Tcl libraries.
437 dependencies = { module=configure-itcl; on=configure-tcl; };
438 dependencies = { module=configure-itcl; on=configure-tk; };
439 dependencies = { module=all-itcl; on=all-tcl; };
440 dependencies = { module=all-itcl; on=all-tk; };
441 dependencies = { module=install-itcl; on=install-tcl; };
442 dependencies = { module=install-strip-itcl; on=install-strip-tcl; };
444 dependencies = { module=configure-tk; on=configure-tcl; };
445 dependencies = { module=all-tk; on=all-tcl; };
447 dependencies = { module=all-sid; on=all-libiberty; };
448 dependencies = { module=all-sid; on=all-bfd; };
449 dependencies = { module=all-sid; on=all-opcodes; };
450 dependencies = { module=all-sid; on=all-tcl; };
451 dependencies = { module=all-sid; on=all-tk; };
452 dependencies = { module=install-sid; on=install-tcl; };
453 dependencies = { module=install-strip-sid; on=install-strip-tcl; };
454 dependencies = { module=install-sid; on=install-tk; };
455 dependencies = { module=install-strip-sid; on=install-strip-tk; };
457 dependencies = { module=configure-sim; on=configure-intl; };
458 dependencies = { module=all-sim; on=all-intl; };
459 dependencies = { module=all-sim; on=all-libiberty; };
460 dependencies = { module=all-sim; on=all-bfd; };
461 dependencies = { module=all-sim; on=all-opcodes; };
462 dependencies = { module=all-sim; on=all-readline; };
463 dependencies = { module=all-sim; on=configure-gdb; };
465 // Other host modules.
466 dependencies = { module=all-fastjar; on=all-zlib; };
467 dependencies = { module=all-fastjar; on=all-build-texinfo; };
468 dependencies = { module=all-fastjar; on=all-libiberty; };
470 // Warning, these are not well tested.
471 dependencies = { module=all-bison; on=all-intl; };
472 dependencies = { module=all-bison; on=all-build-texinfo; };
473 dependencies = { module=all-flex; on=all-build-bison; };
474 dependencies = { module=all-flex; on=all-intl; };
475 dependencies = { module=all-flex; on=all-m4; };
476 dependencies = { module=all-flex; on=all-build-texinfo; };
477 dependencies = { module=all-m4; on=all-intl; };
478 dependencies = { module=all-m4; on=all-build-texinfo; };
480 // Target modules. These can also have dependencies on the language
481 // environment (e.g. on libstdc++). By default target modules depend
482 // on libgcc and newlib/libgloss.
483 lang_env_dependencies = { module=libjava; cxx=true; };
484 lang_env_dependencies = { module=libitm; cxx=true; };
485 lang_env_dependencies = { module=newlib; no_c=true; };
486 lang_env_dependencies = { module=libgloss; no_c=true; };
487 lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; };
488 // libiberty does not depend on newlib or libgloss because it must be
489 // built newlib on some targets (e.g. Cygwin). It still needs
490 // a dependency on libgcc for native targets to configure.
491 lang_env_dependencies = { module=libiberty; no_c=true; };
493 dependencies = { module=configure-target-boehm-gc; on=all-target-libstdc++-v3; };
494 dependencies = { module=configure-target-fastjar; on=configure-target-zlib; };
495 dependencies = { module=all-target-fastjar; on=all-target-zlib; };
496 dependencies = { module=configure-target-libgo; on=configure-target-libffi; };
497 dependencies = { module=configure-target-libgo; on=all-target-libstdc++-v3; };
498 dependencies = { module=all-target-libgo; on=all-target-libbacktrace; };
499 dependencies = { module=all-target-libgo; on=all-target-libffi; };
500 dependencies = { module=all-target-libgo; on=all-target-libatomic; };
501 dependencies = { module=configure-target-libjava; on=configure-target-zlib; };
502 dependencies = { module=configure-target-libjava; on=configure-target-boehm-gc; };
503 dependencies = { module=configure-target-libjava; on=configure-target-libffi; };
504 dependencies = { module=all-target-libjava; on=all-fastjar; };
505 dependencies = { module=all-target-libjava; on=all-target-zlib; };
506 dependencies = { module=all-target-libjava; on=all-target-boehm-gc; };
507 dependencies = { module=all-target-libjava; on=all-target-libffi; };
508 dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; };
509 dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; };
510 dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; };
511 dependencies = { module=configure-target-libsanitizer; on=all-target-libstdc++-v3; };
512 // parallel_list.o and parallel_settings.o depend on omp.h, which is
513 // generated by the libgomp configure. Unfortunately, due to the use of
514 // recursive make, we can't be that specific.
515 dependencies
= { module
=all
-target
-libstdc
++-v3
; on
=configure
-target
-libgomp
; };
517 dependencies
= { module
=install
-target
-libgo
; on
=install
-target
-libatomic
; };
519 // Target modules in the
'src' repository.
520 lang_env_dependencies
= { module
=libtermcap
; };
521 lang_env_dependencies
= { module
=rda
; };
522 lang_env_dependencies
= { module
=winsup
; };
524 dependencies
= { module
=all
-target
-libgloss
; on
=all
-target
-newlib
; };
525 dependencies
= { module
=all
-target
-winsup
; on
=all
-target
-libtermcap
; };
526 dependencies
= { module
=configure
-target
-newlib
; on
=all
-binutils
; };
527 dependencies
= { module
=configure
-target
-newlib
; on
=all
-ld
; };
528 dependencies
= { module
=configure
-target
-libgfortran
; on
=all
-target
-libquadmath
; };
530 languages
= { language
=c
; gcc
-check
-target
=check
-gcc
; };
531 languages
= { language
=c
++; gcc
-check
-target
=check
-c
++;
532 lib
-check
-target
=check
-target
-libstdc
++-v3
;
533 lib
-check
-target
=check
-target
-libmudflap
-c
++;
534 lib
-check
-target
=check
-target
-libitm
-c
++;
535 lib
-check
-target
=check
-target
-libgomp
-c
++; };
536 languages
= { language
=fortran
; gcc
-check
-target
=check
-fortran
;
537 lib
-check
-target
=check
-target
-libquadmath
;
538 lib
-check
-target
=check
-target
-libgfortran
; };
539 languages
= { language
=java
; gcc
-check
-target
=check
-java
;
540 lib
-check
-target
=check
-target
-libjava
; };
541 languages
= { language
=ada
; gcc
-check
-target
=check
-ada
;
542 lib
-check
-target
=check
-target
-libada
; };
543 languages
= { language
=objc
; gcc
-check
-target
=check
-objc
;
544 lib
-check
-target
=check
-target
-libobjc
; };
545 languages
= { language
=obj
-c
++; gcc
-check
-target
=check
-obj
-c
++; };
546 languages
= { language
=go
; gcc
-check
-target
=check
-go
;
547 lib
-check
-target
=check
-target
-libgo
; };
549 // Toplevel bootstrap
550 bootstrap_stage
= { id
=1 ; };
553 bootstrap_target
=bootstrap2
; };
555 id
=3 ; prev
=2 ; lean
=1 ;
556 compare_target
=compare
;
557 bootstrap_target
=bootstrap
;
558 cleanstrap_target
=cleanstrap
; };
560 id
=4 ; prev
=3 ; lean
=2 ;
561 compare_target
=compare3
;
562 bootstrap_target
=bootstrap4
; };
564 id
=profile
; prev
=1 ; };
566 id
=feedback
; prev
=profile
;
567 bootstrap_target
=profiledbootstrap
; };