]>
Commit | Line | Data |
---|---|---|
95ddd785 NN |
1 | #! /usr/bin/autogen |
2 | AutoGen 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 | // | |
2077db1b | 7 | // Copyright 2002-2013 Free Software Foundation |
1358ccea NN |
8 | // |
9 | // This file is free software; you can redistribute it and/or modify | |
10 | // it under the terms of the GNU General Public License as published by | |
309c24a9 | 11 | // the Free Software Foundation; either version 3 of the License, or |
1358ccea NN |
12 | // (at your option) any later version. |
13 | // | |
14 | // This program is distributed in the hope that it will be useful, | |
15 | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | // GNU General Public License for more details. | |
18 | // | |
19 | // You should have received a copy of the GNU General Public License | |
309c24a9 JJ |
20 | // along with this program; see the file COPYING3. If not see |
21 | // <http://www.gnu.org/licenses/>. | |
1358ccea NN |
22 | |
23 | ||
24 | // "missing" indicates that that module doesn't supply | |
25 | // that recursive target in its Makefile. | |
26 | ||
4977bab6 | 27 | build_modules= { module= libiberty; }; |
23f6b2f9 | 28 | build_modules= { module= bison; }; |
23f6b2f9 PB |
29 | build_modules= { module= flex; }; |
30 | build_modules= { module= m4; }; | |
31 | build_modules= { module= texinfo; }; | |
e69bf64b | 32 | build_modules= { module= fixincludes; }; |
929315a9 RB |
33 | build_modules= { module= libcpp; |
34 | extra_configure_flags='--disable-nls am_cv_func_iconv=no';}; | |
4977bab6 | 35 | |
61171996 L |
36 | host_modules= { module= bfd; bootstrap=true; }; |
37 | host_modules= { module= opcodes; bootstrap=true; }; | |
e11283f1 | 38 | host_modules= { module= binutils; bootstrap=true; }; |
3589b69e | 39 | host_modules= { module= bison; no_check_cross= true; }; |
8c32c9f0 | 40 | host_modules= { module= cgen; }; |
95ddd785 | 41 | host_modules= { module= dejagnu; }; |
95ddd785 NN |
42 | host_modules= { module= etc; }; |
43 | host_modules= { module= fastjar; no_check_cross= true; }; | |
9e1c8fc1 | 44 | host_modules= { module= fixincludes; bootstrap=true; |
07f1ac6d | 45 | missing= TAGS; }; |
3589b69e | 46 | host_modules= { module= flex; no_check_cross= true; }; |
e11283f1 | 47 | host_modules= { module= gas; bootstrap=true; }; |
3589b69e PB |
48 | host_modules= { module= gcc; bootstrap=true; |
49 | extra_make_flags="$(EXTRA_GCC_FLAGS)"; }; | |
e69bf64b | 50 | host_modules= { module= gmp; lib_path=.libs; bootstrap=true; |
ea903c37 BE |
51 | // Work around in-tree gmp configure bug with missing flex. |
52 | extra_configure_flags='--disable-shared LEX="touch lex.yy.c"'; | |
00f35794 | 53 | extra_make_flags='AM_CFLAGS="-DNO_ASM"'; |
87213cd4 AO |
54 | no_install= true; |
55 | // none-*-* disables asm optimizations, bootstrap-testing | |
56 | // the compiler more thoroughly. | |
57 | host="none-${host_vendor}-${host_os}"; | |
58 | // gmp's configure will complain if given anything | |
59 | // different from host for target. | |
60 | target="none-${host_vendor}-${host_os}"; }; | |
00f35794 | 61 | host_modules= { module= mpfr; lib_path=src/.libs; bootstrap=true; |
9e3eba15 | 62 | extra_configure_flags='--disable-shared @extra_mpfr_configure_flags@'; |
9eaaa830 | 63 | extra_make_flags='AM_CFLAGS="-DNO_ASM"'; |
f61428ed | 64 | no_install= true; }; |
00f35794 | 65 | host_modules= { module= mpc; lib_path=src/.libs; bootstrap=true; |
acd26225 KG |
66 | extra_configure_flags='--disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@'; |
67 | no_install= true; }; | |
33ad93b9 | 68 | host_modules= { module= isl; lib_path=.libs; bootstrap=true; |
0ff2d841 RG |
69 | extra_configure_flags='--disable-shared @extra_isl_gmp_configure_flags@'; |
70 | extra_make_flags='V=1'; | |
f61428ed | 71 | no_install= true; }; |
f61428ed AO |
72 | host_modules= { module= libelf; lib_path=.libs; bootstrap=true; |
73 | extra_configure_flags='--disable-shared'; | |
74 | no_install= true; }; | |
5afab7ad | 75 | host_modules= { module= gold; bootstrap=true; }; |
95ddd785 | 76 | host_modules= { module= gprof; }; |
e11283f1 | 77 | host_modules= { module= intl; bootstrap=true; }; |
1358ccea NN |
78 | host_modules= { module= tcl; |
79 | missing=mostlyclean; }; | |
95ddd785 | 80 | host_modules= { module= itcl; }; |
e11283f1 | 81 | host_modules= { module= ld; bootstrap=true; }; |
eff02e4f | 82 | host_modules= { module= libbacktrace; bootstrap=true; }; |
4f4e53dd | 83 | host_modules= { module= libcpp; bootstrap=true; }; |
a4b6c45a | 84 | host_modules= { module= libdecnumber; bootstrap=true; }; |
95ddd785 | 85 | host_modules= { module= libgui; }; |
d7f09764 DN |
86 | host_modules= { module= libiberty; bootstrap=true; |
87 | extra_configure_flags='@extra_host_libiberty_configure_flags@';}; | |
45b3824d TS |
88 | // Linker plugins may need their own build of libiberty; see |
89 | // gcc/doc/install.texi. We take care that this build of libiberty doesn't get | |
90 | // installed. It's a helper library for linker plugins, so we pay attention to | |
91 | // @extra_linker_plugin_flags@ and @extra_linker_plugin_configure_flags@. | |
92 | host_modules= { module= libiberty-linker-plugin; bootstrap=true; | |
93 | module_srcdir=libiberty; | |
94 | extra_configure_flags='@extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@'; | |
95 | extra_make_flags='@extra_linker_plugin_flags@'; }; | |
cfb1f59f TT |
96 | // We abuse missing to avoid installing anything for libiconv. |
97 | host_modules= { module= libiconv; | |
bf5372e7 | 98 | bootstrap=true; |
cfb1f59f TT |
99 | extra_configure_flags='--disable-shared'; |
100 | no_install= true; | |
bf5372e7 YS |
101 | missing= pdf; |
102 | missing= html; | |
103 | missing= info; | |
cfb1f59f TT |
104 | missing= install-pdf; |
105 | missing= install-html; | |
106 | missing= install-info; }; | |
95ddd785 | 107 | host_modules= { module= m4; }; |
95ddd785 | 108 | host_modules= { module= readline; }; |
95ddd785 NN |
109 | host_modules= { module= sid; }; |
110 | host_modules= { module= sim; }; | |
3589b69e | 111 | host_modules= { module= texinfo; no_install= true; }; |
1c01ebf6 L |
112 | host_modules= { module= zlib; no_install=true; no_check=true; |
113 | bootstrap=true; | |
114 | extra_configure_flags='@extra_host_zlib_configure_flags@';}; | |
73a817c4 PB |
115 | host_modules= { module= gdb; }; |
116 | host_modules= { module= expect; }; | |
117 | host_modules= { module= guile; }; | |
118 | host_modules= { module= tk; }; | |
1358ccea NN |
119 | host_modules= { module= libtermcap; no_check=true; |
120 | missing=mostlyclean; | |
121 | missing=clean; | |
122 | missing=distclean; | |
123 | missing=maintainer-clean; }; | |
4977bab6 | 124 | host_modules= { module= utils; no_check=true; }; |
5395b47b | 125 | host_modules= { module= gnattools; }; |
03ebe6c3 | 126 | host_modules= { module= lto-plugin; bootstrap=true; |
45b3824d TS |
127 | extra_configure_flags='--enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@'; |
128 | extra_make_flags='@extra_linker_plugin_flags@'; }; | |
14258928 | 129 | host_modules= { module= libcc1; extra_configure_flags=--enable-shared; }; |
bf1de3f0 | 130 | host_modules= { module= gotools; }; |
1db75a86 | 131 | |
00020c16 ILT |
132 | target_modules = { module= libstdc++-v3; |
133 | bootstrap=true; | |
66c92425 | 134 | lib_path=src/.libs; |
00020c16 | 135 | raw_cxx=true; }; |
ac8701fe L |
136 | target_modules = { module= libsanitizer; |
137 | bootstrap=true; | |
138 | lib_path=.libs; | |
139 | raw_cxx=true; }; | |
5373cd33 IE |
140 | target_modules = { module= libmpx; |
141 | bootstrap=true; | |
142 | lib_path=.libs; }; | |
2077db1b CT |
143 | target_modules = { module= libvtv; |
144 | bootstrap=true; | |
145 | lib_path=.libs; | |
146 | raw_cxx=true; }; | |
3038054c BI |
147 | target_modules = { module= libcilkrts; |
148 | lib_path=.libs; }; | |
5f520819 KY |
149 | target_modules = { module= liboffloadmic; |
150 | lib_path=.libs; | |
151 | extra_configure_flags='@extra_liboffloadmic_configure_flags@'; }; | |
77008252 | 152 | target_modules = { module= libssp; lib_path=.libs; }; |
1db75a86 | 153 | target_modules = { module= newlib; }; |
fa958513 | 154 | target_modules = { module= libgcc; bootstrap=true; no_check=true; }; |
eff02e4f | 155 | target_modules = { module= libbacktrace; }; |
1ec601bf | 156 | target_modules = { module= libquadmath; }; |
6de9cd9a | 157 | target_modules = { module= libgfortran; }; |
1db75a86 | 158 | target_modules = { module= libobjc; }; |
632e2a07 | 159 | target_modules = { module= libgo; }; |
215c351a | 160 | target_modules = { module= libtermcap; no_check=true; |
1358ccea NN |
161 | missing=mostlyclean; |
162 | missing=clean; | |
163 | missing=distclean; | |
164 | missing=maintainer-clean; }; | |
1db75a86 NN |
165 | target_modules = { module= winsup; }; |
166 | target_modules = { module= libgloss; no_check=true; }; | |
6ab7e76a | 167 | target_modules = { module= libffi; no_install=true; }; |
215c351a | 168 | target_modules = { module= zlib; }; |
1db75a86 | 169 | target_modules = { module= boehm-gc; }; |
40673d2b | 170 | target_modules = { module= rda; }; |
d9cdb878 | 171 | target_modules = { module= libada; }; |
aae29963 | 172 | target_modules = { module= libgomp; bootstrap= true; lib_path=.libs; }; |
0a35513e | 173 | target_modules = { module= libitm; lib_path=.libs; }; |
48310492 | 174 | target_modules = { module= libatomic; lib_path=.libs; }; |
4977bab6 | 175 | |
1a1e6b96 | 176 | // These are (some of) the make targets to be done in each subdirectory. |
4977bab6 | 177 | // Not all; these are the ones which don't have special options. |
1358ccea NN |
178 | // "depend" indicates that a target depends on another target uniformly |
179 | // for each subdirectory. There can be several such lines per target. | |
180 | recursive_targets = { make_target= info; | |
181 | depend=configure; }; | |
182 | recursive_targets = { make_target= dvi; | |
183 | depend=configure; }; | |
b5422ad7 BM |
184 | recursive_targets = { make_target= pdf; |
185 | depend=configure; }; | |
f87a2b2e MS |
186 | recursive_targets = { make_target= html; |
187 | depend=configure; }; | |
1358ccea NN |
188 | recursive_targets = { make_target= TAGS; |
189 | depend=configure; }; | |
190 | recursive_targets = { make_target= install-info; | |
191 | depend=configure; | |
192 | depend=info; }; | |
9c4d2493 BM |
193 | recursive_targets = { make_target= install-pdf; |
194 | depend=configure; | |
195 | depend=pdf; }; | |
65d6e994 CD |
196 | recursive_targets = { make_target= install-html; |
197 | depend=configure; | |
198 | depend=html; }; | |
1358ccea NN |
199 | recursive_targets = { make_target= installcheck; |
200 | depend=configure; }; | |
201 | recursive_targets = { make_target= mostlyclean; }; | |
1a1e6b96 NN |
202 | recursive_targets = { make_target= clean; }; |
203 | recursive_targets = { make_target= distclean; }; | |
1a1e6b96 | 204 | recursive_targets = { make_target= maintainer-clean; }; |
11405c93 NN |
205 | |
206 | // Flags which need to be passed down. | |
207 | ||
208 | // Directories etc. | |
209 | flags_to_pass = { flag= DESTDIR ; }; | |
210 | flags_to_pass = { flag= RPATH_ENVVAR ; }; | |
211 | flags_to_pass = { flag= TARGET_SUBDIR ; }; | |
632933d5 PB |
212 | flags_to_pass = { flag= bindir ; }; |
213 | flags_to_pass = { flag= datadir ; }; | |
214 | flags_to_pass = { flag= exec_prefix ; }; | |
215 | flags_to_pass = { flag= includedir ; }; | |
65d6e994 CD |
216 | flags_to_pass = { flag= datarootdir ; }; |
217 | flags_to_pass = { flag= docdir ; }; | |
632933d5 | 218 | flags_to_pass = { flag= infodir ; }; |
9c4d2493 | 219 | flags_to_pass = { flag= pdfdir ; }; |
65d6e994 | 220 | flags_to_pass = { flag= htmldir ; }; |
632933d5 PB |
221 | flags_to_pass = { flag= libdir ; }; |
222 | flags_to_pass = { flag= libexecdir ; }; | |
223 | flags_to_pass = { flag= lispdir ; }; | |
632933d5 PB |
224 | flags_to_pass = { flag= localstatedir ; }; |
225 | flags_to_pass = { flag= mandir ; }; | |
11405c93 | 226 | flags_to_pass = { flag= oldincludedir ; }; |
632933d5 PB |
227 | flags_to_pass = { flag= prefix ; }; |
228 | flags_to_pass = { flag= sbindir ; }; | |
229 | flags_to_pass = { flag= sharedstatedir ; }; | |
230 | flags_to_pass = { flag= sysconfdir ; }; | |
11405c93 NN |
231 | flags_to_pass = { flag= tooldir ; }; |
232 | flags_to_pass = { flag= build_tooldir ; }; | |
11405c93 NN |
233 | flags_to_pass = { flag= target_alias ; }; |
234 | ||
235 | // Build tools | |
87264276 | 236 | flags_to_pass = { flag= AWK ; }; |
11405c93 | 237 | flags_to_pass = { flag= BISON ; }; |
72c19c0b | 238 | flags_to_pass = { flag= CC_FOR_BUILD ; }; |
452190fb | 239 | flags_to_pass = { flag= CFLAGS_FOR_BUILD ; }; |
11405c93 NN |
240 | flags_to_pass = { flag= CXX_FOR_BUILD ; }; |
241 | flags_to_pass = { flag= EXPECT ; }; | |
23f6b2f9 | 242 | flags_to_pass = { flag= FLEX ; }; |
11405c93 NN |
243 | flags_to_pass = { flag= INSTALL ; }; |
244 | flags_to_pass = { flag= INSTALL_DATA ; }; | |
245 | flags_to_pass = { flag= INSTALL_PROGRAM ; }; | |
246 | flags_to_pass = { flag= INSTALL_SCRIPT ; }; | |
f8c33439 | 247 | flags_to_pass = { flag= LDFLAGS_FOR_BUILD ; }; |
11405c93 NN |
248 | flags_to_pass = { flag= LEX ; }; |
249 | flags_to_pass = { flag= M4 ; }; | |
250 | flags_to_pass = { flag= MAKE ; }; | |
251 | flags_to_pass = { flag= RUNTEST ; }; | |
252 | flags_to_pass = { flag= RUNTESTFLAGS ; }; | |
87264276 | 253 | flags_to_pass = { flag= SED ; }; |
11405c93 NN |
254 | flags_to_pass = { flag= SHELL ; }; |
255 | flags_to_pass = { flag= YACC ; }; | |
256 | ||
257 | // Host tools | |
cc11cc9b | 258 | flags_to_pass = { flag= ADAFLAGS ; optional=true ; }; |
00afcaa0 | 259 | flags_to_pass = { flag= ADA_CFLAGS ; }; |
11405c93 | 260 | flags_to_pass = { flag= AR_FLAGS ; }; |
cc11cc9b | 261 | flags_to_pass = { flag= BOOT_ADAFLAGS ; optional=true ; }; |
d19bca38 PB |
262 | flags_to_pass = { flag= BOOT_CFLAGS ; }; |
263 | flags_to_pass = { flag= BOOT_LDFLAGS ; }; | |
11405c93 NN |
264 | flags_to_pass = { flag= CFLAGS ; }; |
265 | flags_to_pass = { flag= CXXFLAGS ; }; | |
266 | flags_to_pass = { flag= LDFLAGS ; }; | |
267 | flags_to_pass = { flag= LIBCFLAGS ; }; | |
268 | flags_to_pass = { flag= LIBCXXFLAGS ; }; | |
8efea775 | 269 | flags_to_pass = { flag= STAGE1_CHECKING ; }; |
2d309510 | 270 | flags_to_pass = { flag= STAGE1_LANGUAGES ; }; |
5305be7e RG |
271 | flags_to_pass = { flag= GNATBIND ; }; |
272 | flags_to_pass = { flag= GNATMAKE ; }; | |
11405c93 NN |
273 | |
274 | // Target tools | |
275 | flags_to_pass = { flag= AR_FOR_TARGET ; }; | |
276 | flags_to_pass = { flag= AS_FOR_TARGET ; }; | |
277 | flags_to_pass = { flag= CC_FOR_TARGET ; }; | |
278 | flags_to_pass = { flag= CFLAGS_FOR_TARGET ; }; | |
e7daab31 | 279 | flags_to_pass = { flag= CPPFLAGS_FOR_TARGET ; }; |
11405c93 NN |
280 | flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; }; |
281 | flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; }; | |
4a4a4e99 | 282 | flags_to_pass = { flag= FLAGS_FOR_TARGET ; }; |
11405c93 | 283 | flags_to_pass = { flag= GCJ_FOR_TARGET ; }; |
6de9cd9a | 284 | flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; }; |
632e2a07 ILT |
285 | flags_to_pass = { flag= GOC_FOR_TARGET ; }; |
286 | flags_to_pass = { flag= GOCFLAGS_FOR_TARGET ; }; | |
11405c93 | 287 | flags_to_pass = { flag= LD_FOR_TARGET ; }; |
040b1c5a | 288 | flags_to_pass = { flag= LIPO_FOR_TARGET ; }; |
e3791243 | 289 | flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; }; |
11405c93 NN |
290 | flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; }; |
291 | flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; }; | |
292 | flags_to_pass = { flag= NM_FOR_TARGET ; }; | |
d739199a | 293 | flags_to_pass = { flag= OBJDUMP_FOR_TARGET ; }; |
9bccfdf5 | 294 | flags_to_pass = { flag= OBJCOPY_FOR_TARGET ; }; |
11405c93 | 295 | flags_to_pass = { flag= RANLIB_FOR_TARGET ; }; |
e7a82751 | 296 | flags_to_pass = { flag= READELF_FOR_TARGET ; }; |
040b1c5a | 297 | flags_to_pass = { flag= STRIP_FOR_TARGET ; }; |
11405c93 | 298 | flags_to_pass = { flag= WINDRES_FOR_TARGET ; }; |
901119ae | 299 | flags_to_pass = { flag= WINDMC_FOR_TARGET ; }; |
148907ea | 300 | |
2d309510 | 301 | // Miscellaneous |
4a4a4e99 | 302 | flags_to_pass = { flag= BUILD_CONFIG ; }; |
cc11cc9b | 303 | flags_to_pass = { flag= LANGUAGES ; optional=true ; }; |
2d309510 PB |
304 | flags_to_pass = { flag= LEAN ; }; |
305 | ||
3589b69e PB |
306 | // Inter-module dependencies |
307 | ||
308 | // Build modules | |
309 | dependencies = { module=all-build-bison; on=all-build-texinfo; }; | |
3589b69e PB |
310 | dependencies = { module=all-build-flex; on=all-build-texinfo; }; |
311 | dependencies = { module=all-build-flex; on=all-build-bison; }; | |
3589b69e PB |
312 | dependencies = { module=all-build-flex; on=all-build-m4; }; |
313 | dependencies = { module=all-build-libiberty; on=all-build-texinfo; }; | |
314 | dependencies = { module=all-build-m4; on=all-build-texinfo; }; | |
71b5d516 | 315 | dependencies = { module=all-build-fixincludes; on=all-build-libiberty; }; |
929315a9 | 316 | dependencies = { module=all-build-libcpp; on=all-build-libiberty; }; |
3589b69e PB |
317 | |
318 | // Host modules specific to gcc. | |
319 | dependencies = { module=configure-gcc; on=configure-intl; }; | |
458752de | 320 | dependencies = { module=configure-gcc; on=all-gmp; }; |
45c89690 TB |
321 | dependencies = { module=configure-gcc; on=all-mpfr; }; |
322 | dependencies = { module=configure-gcc; on=all-mpc; }; | |
323 | dependencies = { module=configure-gcc; on=all-isl; }; | |
f3d533d3 | 324 | dependencies = { module=configure-gcc; on=all-lto-plugin; }; |
bcb28cf5 PB |
325 | dependencies = { module=configure-gcc; on=all-binutils; }; |
326 | dependencies = { module=configure-gcc; on=all-gas; }; | |
327 | dependencies = { module=configure-gcc; on=all-ld; }; | |
5afab7ad | 328 | dependencies = { module=configure-gcc; on=all-gold; }; |
c63a4676 | 329 | dependencies = { module=configure-gcc; on=all-libelf; }; |
bf5372e7 | 330 | dependencies = { module=configure-gcc; on=all-libiconv; }; |
3589b69e PB |
331 | dependencies = { module=all-gcc; on=all-libiberty; hard=true; }; |
332 | dependencies = { module=all-gcc; on=all-intl; }; | |
e69bf64b | 333 | dependencies = { module=all-gcc; on=all-mpfr; }; |
acd26225 | 334 | dependencies = { module=all-gcc; on=all-mpc; }; |
7d35a59e | 335 | dependencies = { module=all-gcc; on=all-isl; }; |
7c27e184 PB |
336 | dependencies = { module=all-gcc; on=all-build-texinfo; }; |
337 | dependencies = { module=all-gcc; on=all-build-bison; }; | |
7c27e184 | 338 | dependencies = { module=all-gcc; on=all-build-flex; }; |
71b5d516 PB |
339 | dependencies = { module=all-gcc; on=all-build-libiberty; }; |
340 | dependencies = { module=all-gcc; on=all-build-fixincludes; }; | |
929315a9 | 341 | dependencies = { module=all-gcc; on=all-build-libcpp; }; |
3589b69e | 342 | dependencies = { module=all-gcc; on=all-zlib; }; |
d83697f4 | 343 | dependencies = { module=all-gcc; on=all-libbacktrace; hard=true; }; |
3589b69e | 344 | dependencies = { module=all-gcc; on=all-libcpp; hard=true; }; |
a4b6c45a | 345 | dependencies = { module=all-gcc; on=all-libdecnumber; hard=true; }; |
53c7ffe7 GK |
346 | dependencies = { module=all-gcc; on=all-libiberty; }; |
347 | dependencies = { module=all-gcc; on=all-fixincludes; }; | |
96bdf9b4 | 348 | dependencies = { module=all-gcc; on=all-lto-plugin; }; |
bf5372e7 | 349 | dependencies = { module=all-gcc; on=all-libiconv; }; |
e1826acc RW |
350 | dependencies = { module=info-gcc; on=all-build-libiberty; }; |
351 | dependencies = { module=dvi-gcc; on=all-build-libiberty; }; | |
352 | dependencies = { module=pdf-gcc; on=all-build-libiberty; }; | |
353 | dependencies = { module=html-gcc; on=all-build-libiberty; }; | |
848556c2 | 354 | dependencies = { module=install-gcc ; on=install-fixincludes; }; |
b1b0c7e6 | 355 | dependencies = { module=install-gcc ; on=install-lto-plugin; }; |
455c8f48 | 356 | dependencies = { module=install-strip-gcc ; on=install-strip-fixincludes; }; |
d18ede37 | 357 | dependencies = { module=install-strip-gcc ; on=install-strip-lto-plugin; }; |
3589b69e PB |
358 | |
359 | dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; }; | |
360 | dependencies = { module=configure-libcpp; on=configure-intl; }; | |
bf5372e7 | 361 | dependencies = { module=configure-libcpp; on=all-libiconv; }; |
3589b69e PB |
362 | dependencies = { module=all-libcpp; on=all-libiberty; hard=true; }; |
363 | dependencies = { module=all-libcpp; on=all-intl; }; | |
bf5372e7 | 364 | dependencies = { module=all-libcpp; on=all-libiconv; }; |
3589b69e | 365 | |
53c7ffe7 GK |
366 | dependencies = { module=all-fixincludes; on=all-libiberty; }; |
367 | ||
5395b47b | 368 | dependencies = { module=all-gnattools; on=all-target-libada; }; |
147d38a5 | 369 | dependencies = { module=all-gnattools; on=all-target-libstdc++-v3; }; |
5395b47b | 370 | |
45b3824d TS |
371 | // Depending on the specific configuration, the LTO plugin will either use the |
372 | // generic libiberty build or the specific build for linker plugins. | |
96bdf9b4 | 373 | dependencies = { module=all-lto-plugin; on=all-libiberty; }; |
45b3824d | 374 | dependencies = { module=all-lto-plugin; on=all-libiberty-linker-plugin; }; |
d7f09764 | 375 | |
ddc8de03 PM |
376 | dependencies = { module=configure-libcc1; on=configure-gcc; }; |
377 | dependencies = { module=all-libcc1; on=all-gcc; }; | |
378 | ||
bf1de3f0 ILT |
379 | dependencies = { module=all-gotools; on=all-target-libgo; }; |
380 | ||
50e37333 PB |
381 | dependencies = { module=all-utils; on=all-libiberty; }; |
382 | ||
bf5372e7 | 383 | dependencies = { module=configure-intl; on=all-libiconv; }; |
e69bf64b | 384 | dependencies = { module=configure-mpfr; on=all-gmp; }; |
acd26225 | 385 | dependencies = { module=configure-mpc; on=all-mpfr; }; |
33ad93b9 | 386 | dependencies = { module=configure-isl; on=all-gmp; }; |
bf5372e7 | 387 | dependencies = { module=all-intl; on=all-libiconv; }; |
e69bf64b | 388 | |
3589b69e | 389 | // Host modules specific to gdb. |
e00e9858 | 390 | dependencies = { module=configure-gdb; on=all-intl; }; |
3589b69e | 391 | dependencies = { module=configure-gdb; on=configure-sim; }; |
b8afffc1 | 392 | dependencies = { module=configure-gdb; on=all-bfd; }; |
cfb1f59f TT |
393 | // Depend on all-libiconv so that configure checks for iconv |
394 | // functions will work. | |
395 | dependencies = { module=configure-gdb; on=all-libiconv; }; | |
3589b69e | 396 | dependencies = { module=all-gdb; on=all-libiberty; }; |
cfb1f59f | 397 | dependencies = { module=all-gdb; on=all-libiconv; }; |
3589b69e | 398 | dependencies = { module=all-gdb; on=all-opcodes; }; |
3589b69e | 399 | dependencies = { module=all-gdb; on=all-readline; }; |
7c27e184 | 400 | dependencies = { module=all-gdb; on=all-build-bison; }; |
3589b69e | 401 | dependencies = { module=all-gdb; on=all-sim; }; |
bbfbfafc | 402 | dependencies = { module=all-gdb; on=all-libdecnumber; }; |
1e2c3ec4 | 403 | dependencies = { module=all-gdb; on=all-libtermcap; }; |
3589b69e PB |
404 | |
405 | dependencies = { module=configure-libgui; on=configure-tcl; }; | |
406 | dependencies = { module=configure-libgui; on=configure-tk; }; | |
407 | dependencies = { module=all-libgui; on=all-tcl; }; | |
408 | dependencies = { module=all-libgui; on=all-tk; }; | |
409 | dependencies = { module=all-libgui; on=all-itcl; }; | |
410 | ||
411 | // Host modules specific to binutils. | |
412 | dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; }; | |
32845532 | 413 | dependencies = { module=configure-bfd; on=configure-intl; }; |
3589b69e PB |
414 | dependencies = { module=all-bfd; on=all-libiberty; }; |
415 | dependencies = { module=all-bfd; on=all-intl; }; | |
e59969a1 | 416 | dependencies = { module=all-bfd; on=all-zlib; }; |
36fbb0ec AM |
417 | dependencies = { module=configure-opcodes; on=configure-libiberty; hard=true; }; |
418 | dependencies = { module=all-opcodes; on=all-libiberty; }; | |
3589b69e | 419 | |
51c1ff0c JBG |
420 | // We must build gas before binutils, gprof, ld and gold to avoid race |
421 | // condition in the prev-gcc/as script during bootstrap of combined tree | |
422 | // with GCC and binutils. See PR gas/14899 for details. | |
32845532 | 423 | dependencies = { module=configure-binutils; on=configure-intl; }; |
3589b69e PB |
424 | dependencies = { module=all-binutils; on=all-libiberty; }; |
425 | dependencies = { module=all-binutils; on=all-opcodes; }; | |
426 | dependencies = { module=all-binutils; on=all-bfd; }; | |
7c27e184 PB |
427 | dependencies = { module=all-binutils; on=all-build-flex; }; |
428 | dependencies = { module=all-binutils; on=all-build-bison; }; | |
3589b69e | 429 | dependencies = { module=all-binutils; on=all-intl; }; |
51c1ff0c | 430 | dependencies = { module=all-binutils; on=all-gas; }; |
3589b69e PB |
431 | |
432 | // We put install-opcodes before install-binutils because the installed | |
433 | // binutils might be on PATH, and they might need the shared opcodes | |
434 | // library. | |
435 | dependencies = { module=install-binutils; on=install-opcodes; }; | |
455c8f48 | 436 | dependencies = { module=install-strip-binutils; on=install-strip-opcodes; }; |
3589b69e PB |
437 | |
438 | // libopcodes depends on libbfd | |
439 | dependencies = { module=install-opcodes; on=install-bfd; }; | |
455c8f48 | 440 | dependencies = { module=install-strip-opcodes; on=install-strip-bfd; }; |
3589b69e | 441 | |
32845532 | 442 | dependencies = { module=configure-gas; on=configure-intl; }; |
3589b69e PB |
443 | dependencies = { module=all-gas; on=all-libiberty; }; |
444 | dependencies = { module=all-gas; on=all-opcodes; }; | |
445 | dependencies = { module=all-gas; on=all-bfd; }; | |
446 | dependencies = { module=all-gas; on=all-intl; }; | |
32845532 | 447 | dependencies = { module=configure-gprof; on=configure-intl; }; |
3589b69e PB |
448 | dependencies = { module=all-gprof; on=all-libiberty; }; |
449 | dependencies = { module=all-gprof; on=all-bfd; }; | |
450 | dependencies = { module=all-gprof; on=all-opcodes; }; | |
451 | dependencies = { module=all-gprof; on=all-intl; }; | |
51c1ff0c | 452 | dependencies = { module=all-gprof; on=all-gas; }; |
32845532 | 453 | dependencies = { module=configure-ld; on=configure-intl; }; |
3589b69e PB |
454 | dependencies = { module=all-ld; on=all-libiberty; }; |
455 | dependencies = { module=all-ld; on=all-bfd; }; | |
456 | dependencies = { module=all-ld; on=all-opcodes; }; | |
7c27e184 | 457 | dependencies = { module=all-ld; on=all-build-bison; }; |
7c27e184 | 458 | dependencies = { module=all-ld; on=all-build-flex; }; |
3589b69e | 459 | dependencies = { module=all-ld; on=all-intl; }; |
51c1ff0c | 460 | dependencies = { module=all-ld; on=all-gas; }; |
ba1925c3 | 461 | dependencies = { module=all-ld; on=all-binutils; }; |
38e3d868 | 462 | dependencies = { module=install-ld; on=install-gold; }; |
455c8f48 | 463 | dependencies = { module=install-strip-ld; on=install-strip-gold; }; |
5afab7ad ILT |
464 | dependencies = { module=configure-gold; on=configure-intl; }; |
465 | dependencies = { module=all-gold; on=all-libiberty; }; | |
466 | dependencies = { module=all-gold; on=all-intl; }; | |
467 | dependencies = { module=all-gold; on=all-bfd; }; | |
468 | dependencies = { module=all-gold; on=all-build-bison; }; | |
51c1ff0c | 469 | dependencies = { module=all-gold; on=all-gas; }; |
06407e30 | 470 | dependencies = { module=check-gold; on=all-binutils; }; |
aeb94799 | 471 | dependencies = { module=check-gold; on=all-gas; }; |
3589b69e | 472 | |
9fbe6585 | 473 | dependencies = { module=configure-opcodes; on=configure-intl; }; |
3589b69e PB |
474 | dependencies = { module=all-opcodes; on=all-bfd; }; |
475 | dependencies = { module=all-opcodes; on=all-libiberty; }; | |
9fbe6585 | 476 | dependencies = { module=all-opcodes; on=all-intl; }; |
3589b69e PB |
477 | |
478 | // Other host modules in the 'src' repository. | |
479 | dependencies = { module=all-dejagnu; on=all-tcl; }; | |
480 | dependencies = { module=all-dejagnu; on=all-expect; }; | |
481 | dependencies = { module=all-dejagnu; on=all-tk; }; | |
482 | dependencies = { module=configure-expect; on=configure-tcl; }; | |
483 | dependencies = { module=configure-expect; on=configure-tk; }; | |
484 | dependencies = { module=all-expect; on=all-tcl; }; | |
485 | dependencies = { module=all-expect; on=all-tk; }; | |
486 | ||
487 | // We put install-tcl before install-itcl because itcl wants to run a | |
488 | // program on installation which uses the Tcl libraries. | |
489 | dependencies = { module=configure-itcl; on=configure-tcl; }; | |
490 | dependencies = { module=configure-itcl; on=configure-tk; }; | |
491 | dependencies = { module=all-itcl; on=all-tcl; }; | |
492 | dependencies = { module=all-itcl; on=all-tk; }; | |
493 | dependencies = { module=install-itcl; on=install-tcl; }; | |
455c8f48 | 494 | dependencies = { module=install-strip-itcl; on=install-strip-tcl; }; |
3589b69e PB |
495 | |
496 | dependencies = { module=configure-tk; on=configure-tcl; }; | |
497 | dependencies = { module=all-tk; on=all-tcl; }; | |
3589b69e PB |
498 | |
499 | dependencies = { module=all-sid; on=all-libiberty; }; | |
500 | dependencies = { module=all-sid; on=all-bfd; }; | |
501 | dependencies = { module=all-sid; on=all-opcodes; }; | |
502 | dependencies = { module=all-sid; on=all-tcl; }; | |
503 | dependencies = { module=all-sid; on=all-tk; }; | |
504 | dependencies = { module=install-sid; on=install-tcl; }; | |
455c8f48 | 505 | dependencies = { module=install-strip-sid; on=install-strip-tcl; }; |
3589b69e | 506 | dependencies = { module=install-sid; on=install-tk; }; |
455c8f48 | 507 | dependencies = { module=install-strip-sid; on=install-strip-tk; }; |
3589b69e | 508 | |
32845532 CD |
509 | dependencies = { module=configure-sim; on=configure-intl; }; |
510 | dependencies = { module=all-sim; on=all-intl; }; | |
3589b69e PB |
511 | dependencies = { module=all-sim; on=all-libiberty; }; |
512 | dependencies = { module=all-sim; on=all-bfd; }; | |
513 | dependencies = { module=all-sim; on=all-opcodes; }; | |
514 | dependencies = { module=all-sim; on=all-readline; }; | |
515 | dependencies = { module=all-sim; on=configure-gdb; }; | |
516 | ||
517 | // Other host modules. | |
518 | dependencies = { module=all-fastjar; on=all-zlib; }; | |
7c27e184 | 519 | dependencies = { module=all-fastjar; on=all-build-texinfo; }; |
3589b69e PB |
520 | dependencies = { module=all-fastjar; on=all-libiberty; }; |
521 | ||
522 | // Warning, these are not well tested. | |
3589b69e | 523 | dependencies = { module=all-bison; on=all-intl; }; |
7c27e184 | 524 | dependencies = { module=all-bison; on=all-build-texinfo; }; |
7c27e184 | 525 | dependencies = { module=all-flex; on=all-build-bison; }; |
3589b69e PB |
526 | dependencies = { module=all-flex; on=all-intl; }; |
527 | dependencies = { module=all-flex; on=all-m4; }; | |
7c27e184 | 528 | dependencies = { module=all-flex; on=all-build-texinfo; }; |
3589b69e | 529 | dependencies = { module=all-m4; on=all-intl; }; |
7c27e184 | 530 | dependencies = { module=all-m4; on=all-build-texinfo; }; |
3589b69e PB |
531 | |
532 | // Target modules. These can also have dependencies on the language | |
fa958513 DJ |
533 | // environment (e.g. on libstdc++). By default target modules depend |
534 | // on libgcc and newlib/libgloss. | |
0a35513e | 535 | lang_env_dependencies = { module=libitm; cxx=true; }; |
7eb46bec | 536 | lang_env_dependencies = { module=libffi; cxx=true; }; |
3038054c | 537 | lang_env_dependencies = { module=libcilkrts; cxx=true; }; |
5f520819 | 538 | lang_env_dependencies = { module=liboffloadmic; cxx=true; }; |
fa958513 DJ |
539 | lang_env_dependencies = { module=newlib; no_c=true; }; |
540 | lang_env_dependencies = { module=libgloss; no_c=true; }; | |
541 | lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; }; | |
542 | // libiberty does not depend on newlib or libgloss because it must be | |
543 | // built newlib on some targets (e.g. Cygwin). It still needs | |
544 | // a dependency on libgcc for native targets to configure. | |
545 | lang_env_dependencies = { module=libiberty; no_c=true; }; | |
3589b69e | 546 | |
09ce620e | 547 | dependencies = { module=configure-target-boehm-gc; on=all-target-libstdc++-v3; }; |
3589b69e PB |
548 | dependencies = { module=configure-target-fastjar; on=configure-target-zlib; }; |
549 | dependencies = { module=all-target-fastjar; on=all-target-zlib; }; | |
632e2a07 ILT |
550 | dependencies = { module=configure-target-libgo; on=configure-target-libffi; }; |
551 | dependencies = { module=configure-target-libgo; on=all-target-libstdc++-v3; }; | |
0e56e590 | 552 | dependencies = { module=all-target-libgo; on=all-target-libbacktrace; }; |
632e2a07 | 553 | dependencies = { module=all-target-libgo; on=all-target-libffi; }; |
0b8ca8fe | 554 | dependencies = { module=all-target-libgo; on=all-target-libatomic; }; |
7cd0cf9c | 555 | dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; }; |
7cd0cf9c | 556 | dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; }; |
6d3b5aea | 557 | dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; }; |
5f520819 | 558 | dependencies = { module=configure-target-liboffloadmic; on=configure-target-libgomp; }; |
f35db108 | 559 | dependencies = { module=configure-target-libsanitizer; on=all-target-libstdc++-v3; }; |
2077db1b | 560 | dependencies = { module=configure-target-libvtv; on=all-target-libstdc++-v3; }; |
aae29963 JR |
561 | // parallel_list.o and parallel_settings.o depend on omp.h, which is |
562 | // generated by the libgomp configure. Unfortunately, due to the use of | |
563 | // recursive make, we can't be that specific. | |
564 | dependencies = { module=all-target-libstdc++-v3; on=configure-target-libgomp; }; | |
53dd59bf | 565 | dependencies = { module=all-target-liboffloadmic; on=all-target-libgomp; }; |
3589b69e | 566 | |
6ce8fd9d | 567 | dependencies = { module=install-target-libgo; on=install-target-libatomic; }; |
d89da9db MK |
568 | dependencies = { module=install-target-libgfortran; on=install-target-libquadmath; }; |
569 | dependencies = { module=install-target-libgfortran; on=install-target-libgcc; }; | |
197fa28c | 570 | dependencies = { module=install-target-libsanitizer; on=install-target-libstdc++-v3; }; |
d89da9db | 571 | dependencies = { module=install-target-libsanitizer; on=install-target-libgcc; }; |
2077db1b CT |
572 | dependencies = { module=install-target-libvtv; on=install-target-libstdc++-v3; }; |
573 | dependencies = { module=install-target-libvtv; on=install-target-libgcc; }; | |
3038054c BI |
574 | dependencies = { module=install-target-libcilkrts; on=install-target-libstdc++-v3; }; |
575 | dependencies = { module=install-target-libcilkrts; on=install-target-libgcc; }; | |
5f520819 KY |
576 | dependencies = { module=install-target-liboffloadmic; on=install-target-libstdc++-v3; }; |
577 | dependencies = { module=install-target-liboffloadmic; on=install-target-libgcc; }; | |
d89da9db MK |
578 | dependencies = { module=install-target-libitm; on=install-target-libgcc; }; |
579 | dependencies = { module=install-target-libobjc; on=install-target-libgcc; }; | |
580 | dependencies = { module=install-target-libstdc++-v3; on=install-target-libgcc; }; | |
6ce8fd9d | 581 | |
3589b69e | 582 | // Target modules in the 'src' repository. |
3589b69e PB |
583 | lang_env_dependencies = { module=libtermcap; }; |
584 | lang_env_dependencies = { module=rda; }; | |
585 | lang_env_dependencies = { module=winsup; }; | |
3589b69e | 586 | |
0e5e9f76 | 587 | dependencies = { module=all-target-libgloss; on=all-target-newlib; }; |
3589b69e | 588 | dependencies = { module=all-target-winsup; on=all-target-libtermcap; }; |
58af276a RW |
589 | dependencies = { module=configure-target-newlib; on=all-binutils; }; |
590 | dependencies = { module=configure-target-newlib; on=all-ld; }; | |
1ec601bf | 591 | dependencies = { module=configure-target-libgfortran; on=all-target-libquadmath; }; |
ad4f95e3 | 592 | dependencies = { module=configure-target-libgfortran; on=all-target-libbacktrace; }; |
3589b69e | 593 | |
60911f14 | 594 | languages = { language=c; gcc-check-target=check-gcc; }; |
e399136a | 595 | languages = { language=c++; gcc-check-target=check-c++; |
32c87d63 | 596 | lib-check-target=check-target-libstdc++-v3; |
056d8580 JM |
597 | lib-check-target=check-target-libitm-c++; |
598 | lib-check-target=check-target-libgomp-c++; }; | |
60911f14 | 599 | languages = { language=fortran; gcc-check-target=check-fortran; |
1ec601bf | 600 | lib-check-target=check-target-libquadmath; |
60911f14 | 601 | lib-check-target=check-target-libgfortran; }; |
60911f14 SE |
602 | languages = { language=ada; gcc-check-target=check-ada; |
603 | lib-check-target=check-target-libada; }; | |
604 | languages = { language=objc; gcc-check-target=check-objc; | |
605 | lib-check-target=check-target-libobjc; }; | |
606 | languages = { language=obj-c++; gcc-check-target=check-obj-c++; }; | |
632e2a07 ILT |
607 | languages = { language=go; gcc-check-target=check-go; |
608 | lib-check-target=check-target-libgo; }; | |
60911f14 | 609 | |
148907ea | 610 | // Toplevel bootstrap |
4a4a4e99 | 611 | bootstrap_stage = { id=1 ; }; |
148907ea | 612 | bootstrap_stage = { |
ad6717df | 613 | id=2 ; prev=1 ; |
4a4a4e99 | 614 | bootstrap_target=bootstrap2 ; }; |
148907ea | 615 | bootstrap_stage = { |
ce521a9c | 616 | id=3 ; prev=2 ; lean=1 ; |
148907ea | 617 | compare_target=compare ; |
f516a7da | 618 | bootstrap_target=bootstrap ; |
4a4a4e99 | 619 | cleanstrap_target=cleanstrap ; }; |
f516a7da | 620 | bootstrap_stage = { |
ce521a9c | 621 | id=4 ; prev=3 ; lean=2 ; |
f516a7da | 622 | compare_target=compare3 ; |
4a4a4e99 | 623 | bootstrap_target=bootstrap4 ; }; |
ad6717df | 624 | bootstrap_stage = { |
4a4a4e99 | 625 | id=profile ; prev=1 ; }; |
ad6717df | 626 | bootstrap_stage = { |
c7870f5d | 627 | id=feedback ; prev=profile ; |
4a4a4e99 | 628 | bootstrap_target=profiledbootstrap ; }; |
277d7ee0 AK |
629 | bootstrap_stage = { |
630 | id=autoprofile ; prev=1 ; | |
631 | autoprofile="$$s/gcc/config/i386/$(AUTO_PROFILE)" ; }; | |
632 | bootstrap_stage = { | |
633 | id=autofeedback ; prev=autoprofile ; | |
634 | bootstrap_target=autoprofiledbootstrap ; | |
635 | profile_data="PERF_DATA=perf.data" ; }; |