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