]>
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 | // | |
0c8a85c6 | 7 | // Copyright 2002, 2003, 2004, 2005, 2006 Free Software Foundation |
ff2e99a4 | 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 | |
11 | // the Free Software Foundation; either version 2 of the License, or | |
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 | |
20 | // along with this program; if not, write to the Free Software | |
06b8a6e6 | 21 | // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
ff2e99a4 | 22 | |
23 | ||
24 | // "missing" indicates that that module doesn't supply | |
25 | // that recursive target in its Makefile. | |
26 | ||
805e22b2 | 27 | build_modules= { module= libiberty; }; |
2f8725b0 | 28 | build_modules= { module= bison; }; |
29 | build_modules= { module= byacc; }; | |
30 | build_modules= { module= flex; }; | |
31 | build_modules= { module= m4; }; | |
32 | build_modules= { module= texinfo; }; | |
2b59cb05 | 33 | build_modules= { module= fixincludes; |
34 | extra_configure_args='--target=$(target)'; }; | |
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; }; |
2a1ac811 | 46 | host_modules= { module= dejagnu; }; |
47 | host_modules= { module= diff; }; | |
48 | host_modules= { module= dosutils; no_check= true; }; | |
49 | host_modules= { module= etc; }; | |
50 | host_modules= { module= fastjar; no_check_cross= true; }; | |
51 | host_modules= { module= fileutils; }; | |
52 | host_modules= { module= findutils; }; | |
53 | host_modules= { module= find; }; | |
bdcc5e0f | 54 | host_modules= { module= fixincludes; |
55 | missing= info; | |
56 | missing= dvi; | |
57 | missing= TAGS; | |
58 | missing= install-info; | |
59 | missing= installcheck; }; | |
ea8d3d75 | 60 | host_modules= { module= flex; no_check_cross= true; }; |
be2c9eb1 | 61 | host_modules= { module= gas; bootstrap=true; }; |
ea8d3d75 | 62 | host_modules= { module= gcc; bootstrap=true; |
bde48217 | 63 | target="`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`"; |
ea8d3d75 | 64 | extra_make_flags="$(EXTRA_GCC_FLAGS)"; }; |
2a1ac811 | 65 | host_modules= { module= gawk; }; |
66 | host_modules= { module= gettext; }; | |
67 | host_modules= { module= gnuserv; }; | |
68 | host_modules= { module= gprof; }; | |
2a1ac811 | 69 | host_modules= { module= gzip; }; |
70 | host_modules= { module= hello; }; | |
71 | host_modules= { module= indent; }; | |
be2c9eb1 | 72 | host_modules= { module= intl; bootstrap=true; }; |
ff2e99a4 | 73 | host_modules= { module= tcl; |
74 | missing=mostlyclean; }; | |
2a1ac811 | 75 | host_modules= { module= itcl; }; |
be2c9eb1 | 76 | host_modules= { module= ld; bootstrap=true; }; |
d856c8a6 | 77 | host_modules= { module= libcpp; bootstrap=true; }; |
e21c3597 | 78 | host_modules= { module= libdecnumber; bootstrap=true; }; |
2a1ac811 | 79 | host_modules= { module= libgui; }; |
be2c9eb1 | 80 | host_modules= { module= libiberty; bootstrap=true; }; |
2a1ac811 | 81 | host_modules= { module= libtool; }; |
82 | host_modules= { module= m4; }; | |
83 | host_modules= { module= make; }; | |
84 | host_modules= { module= mmalloc; no_check=true; }; | |
85 | host_modules= { module= patch; }; | |
86 | host_modules= { module= perl; }; | |
87 | host_modules= { module= prms; }; | |
88 | host_modules= { module= rcs; }; | |
89 | host_modules= { module= readline; }; | |
90 | host_modules= { module= release; no_install= true; no_check= true; }; | |
91 | host_modules= { module= recode; }; | |
92 | host_modules= { module= sed; }; | |
93 | host_modules= { module= send-pr; }; | |
94 | host_modules= { module= shellutils; }; | |
95 | host_modules= { module= sid; }; | |
96 | host_modules= { module= sim; }; | |
2a1ac811 | 97 | host_modules= { module= tar; }; |
ea8d3d75 | 98 | host_modules= { module= texinfo; no_install= true; }; |
2a1ac811 | 99 | host_modules= { module= textutils; }; |
100 | host_modules= { module= time; }; | |
101 | host_modules= { module= uudecode; }; | |
102 | host_modules= { module= wdiff; }; | |
103 | host_modules= { module= zip; no_check_cross=true; }; | |
be2c9eb1 | 104 | host_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; }; |
a1ad7483 | 105 | host_modules= { module= gdb; extra_make_flags="$(X11_FLAGS_TO_PASS)"; }; |
106 | host_modules= { module= expect; extra_make_flags="$(X11_FLAGS_TO_PASS)"; }; | |
107 | host_modules= { module= guile; extra_make_flags="$(X11_FLAGS_TO_PASS)"; }; | |
108 | host_modules= { module= tk; extra_make_flags="$(X11_FLAGS_TO_PASS)"; }; | |
ff2e99a4 | 109 | host_modules= { module= libtermcap; no_check=true; |
110 | missing=mostlyclean; | |
111 | missing=clean; | |
112 | missing=distclean; | |
113 | missing=maintainer-clean; }; | |
805e22b2 | 114 | host_modules= { module= utils; no_check=true; }; |
a136b23d | 115 | host_modules= { module= gnattools; }; |
cc46b37d | 116 | |
85115a11 | 117 | target_modules = { module= libstdc++-v3; lib_path=.libs; raw_cxx=true; }; |
118 | target_modules = { module= libmudflap; lib_path=.libs; }; | |
0d55f4d0 | 119 | target_modules = { module= libssp; lib_path=.libs; }; |
cc46b37d | 120 | target_modules = { module= newlib; }; |
4ee9c684 | 121 | target_modules = { module= libgfortran; }; |
cc46b37d | 122 | target_modules = { module= libobjc; }; |
c1eb9e31 | 123 | target_modules = { module= libtermcap; no_check=true; |
ff2e99a4 | 124 | missing=mostlyclean; |
125 | missing=clean; | |
126 | missing=distclean; | |
127 | missing=maintainer-clean; }; | |
cc46b37d | 128 | target_modules = { module= winsup; }; |
129 | target_modules = { module= libgloss; no_check=true; }; | |
24b4656e | 130 | target_modules = { module= libiberty; }; |
cc46b37d | 131 | target_modules = { module= gperf; }; |
132 | target_modules = { module= examples; no_check=true; no_install=true; }; | |
f53265fe | 133 | target_modules = { module= libffi; }; |
805e22b2 | 134 | target_modules = { module= libjava; raw_cxx=true; }; |
c1eb9e31 | 135 | target_modules = { module= zlib; }; |
cc46b37d | 136 | target_modules = { module= boehm-gc; }; |
137 | target_modules = { module= qthreads; }; | |
062b02db | 138 | target_modules = { module= rda; }; |
93341878 | 139 | target_modules = { module= libada; }; |
1e8e9920 | 140 | target_modules = { module= libgomp; lib_path=.libs; }; |
805e22b2 | 141 | |
ffe98fac | 142 | // These are (some of) the make targets to be done in each subdirectory. |
805e22b2 | 143 | // Not all; these are the ones which don't have special options. |
ff2e99a4 | 144 | // "depend" indicates that a target depends on another target uniformly |
145 | // for each subdirectory. There can be several such lines per target. | |
146 | recursive_targets = { make_target= info; | |
147 | depend=configure; }; | |
148 | recursive_targets = { make_target= dvi; | |
149 | depend=configure; }; | |
956942fa | 150 | recursive_targets = { make_target= html; |
151 | depend=configure; }; | |
ff2e99a4 | 152 | recursive_targets = { make_target= TAGS; |
153 | depend=configure; }; | |
154 | recursive_targets = { make_target= install-info; | |
155 | depend=configure; | |
156 | depend=info; }; | |
e0dbdbbf | 157 | recursive_targets = { make_target= install-html; |
158 | depend=configure; | |
159 | depend=html; }; | |
ff2e99a4 | 160 | recursive_targets = { make_target= installcheck; |
161 | depend=configure; }; | |
162 | recursive_targets = { make_target= mostlyclean; }; | |
ffe98fac | 163 | recursive_targets = { make_target= clean; }; |
164 | recursive_targets = { make_target= distclean; }; | |
ffe98fac | 165 | recursive_targets = { make_target= maintainer-clean; }; |
36bbd884 | 166 | |
167 | // Flags which need to be passed down. | |
168 | ||
169 | // Directories etc. | |
170 | flags_to_pass = { flag= DESTDIR ; }; | |
171 | flags_to_pass = { flag= RPATH_ENVVAR ; }; | |
172 | flags_to_pass = { flag= TARGET_SUBDIR ; }; | |
839c6a20 | 173 | flags_to_pass = { flag= bindir ; }; |
174 | flags_to_pass = { flag= datadir ; }; | |
175 | flags_to_pass = { flag= exec_prefix ; }; | |
176 | flags_to_pass = { flag= includedir ; }; | |
e0dbdbbf | 177 | flags_to_pass = { flag= datarootdir ; }; |
178 | flags_to_pass = { flag= docdir ; }; | |
839c6a20 | 179 | flags_to_pass = { flag= infodir ; }; |
e0dbdbbf | 180 | flags_to_pass = { flag= htmldir ; }; |
839c6a20 | 181 | flags_to_pass = { flag= libdir ; }; |
182 | flags_to_pass = { flag= libexecdir ; }; | |
183 | flags_to_pass = { flag= lispdir ; }; | |
839c6a20 | 184 | flags_to_pass = { flag= localstatedir ; }; |
185 | flags_to_pass = { flag= mandir ; }; | |
36bbd884 | 186 | flags_to_pass = { flag= oldincludedir ; }; |
839c6a20 | 187 | flags_to_pass = { flag= prefix ; }; |
188 | flags_to_pass = { flag= sbindir ; }; | |
189 | flags_to_pass = { flag= sharedstatedir ; }; | |
190 | flags_to_pass = { flag= sysconfdir ; }; | |
36bbd884 | 191 | flags_to_pass = { flag= tooldir ; }; |
192 | flags_to_pass = { flag= build_tooldir ; }; | |
36bbd884 | 193 | flags_to_pass = { flag= target_alias ; }; |
194 | ||
195 | // Build tools | |
196 | flags_to_pass = { flag= BISON ; }; | |
b321577c | 197 | flags_to_pass = { flag= CC_FOR_BUILD ; }; |
3c7c61db | 198 | flags_to_pass = { flag= CFLAGS_FOR_BUILD ; }; |
36bbd884 | 199 | flags_to_pass = { flag= CXX_FOR_BUILD ; }; |
200 | flags_to_pass = { flag= EXPECT ; }; | |
2f8725b0 | 201 | flags_to_pass = { flag= FLEX ; }; |
36bbd884 | 202 | flags_to_pass = { flag= INSTALL ; }; |
203 | flags_to_pass = { flag= INSTALL_DATA ; }; | |
204 | flags_to_pass = { flag= INSTALL_PROGRAM ; }; | |
205 | flags_to_pass = { flag= INSTALL_SCRIPT ; }; | |
206 | flags_to_pass = { flag= LEX ; }; | |
207 | flags_to_pass = { flag= M4 ; }; | |
208 | flags_to_pass = { flag= MAKE ; }; | |
209 | flags_to_pass = { flag= RUNTEST ; }; | |
210 | flags_to_pass = { flag= RUNTESTFLAGS ; }; | |
211 | flags_to_pass = { flag= SHELL ; }; | |
212 | flags_to_pass = { flag= YACC ; }; | |
213 | ||
214 | // Host tools | |
26526d23 | 215 | flags_to_pass = { flag= ADAFLAGS ; optional=true ; }; |
36bbd884 | 216 | flags_to_pass = { flag= AR_FLAGS ; }; |
26526d23 | 217 | flags_to_pass = { flag= BOOT_ADAFLAGS ; optional=true ; }; |
9d44a802 | 218 | flags_to_pass = { flag= BOOT_CFLAGS ; }; |
219 | flags_to_pass = { flag= BOOT_LDFLAGS ; }; | |
36bbd884 | 220 | flags_to_pass = { flag= CFLAGS ; }; |
221 | flags_to_pass = { flag= CXXFLAGS ; }; | |
222 | flags_to_pass = { flag= LDFLAGS ; }; | |
223 | flags_to_pass = { flag= LIBCFLAGS ; }; | |
224 | flags_to_pass = { flag= LIBCXXFLAGS ; }; | |
0c8a85c6 | 225 | flags_to_pass = { flag= STAGE1_CFLAGS ; }; |
226 | flags_to_pass = { flag= STAGE1_LANGUAGES ; }; | |
36bbd884 | 227 | |
228 | // Target tools | |
229 | flags_to_pass = { flag= AR_FOR_TARGET ; }; | |
230 | flags_to_pass = { flag= AS_FOR_TARGET ; }; | |
231 | flags_to_pass = { flag= CC_FOR_TARGET ; }; | |
232 | flags_to_pass = { flag= CFLAGS_FOR_TARGET ; }; | |
cac4ee55 | 233 | flags_to_pass = { flag= CPPFLAGS_FOR_TARGET ; }; |
36bbd884 | 234 | flags_to_pass = { flag= CXX_FOR_TARGET ; }; |
235 | flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; }; | |
236 | flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; }; | |
237 | flags_to_pass = { flag= GCJ_FOR_TARGET ; }; | |
4ee9c684 | 238 | flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; }; |
36bbd884 | 239 | flags_to_pass = { flag= LD_FOR_TARGET ; }; |
9fec3fa8 | 240 | flags_to_pass = { flag= LIPO_FOR_TARGET ; }; |
29327bb4 | 241 | flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; }; |
36bbd884 | 242 | flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; }; |
243 | flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; }; | |
244 | flags_to_pass = { flag= NM_FOR_TARGET ; }; | |
ae74ffb7 | 245 | flags_to_pass = { flag= OBJDUMP_FOR_TARGET ; }; |
36bbd884 | 246 | flags_to_pass = { flag= RANLIB_FOR_TARGET ; }; |
9fec3fa8 | 247 | flags_to_pass = { flag= STRIP_FOR_TARGET ; }; |
36bbd884 | 248 | flags_to_pass = { flag= WINDRES_FOR_TARGET ; }; |
5965d276 | 249 | |
0c8a85c6 | 250 | // Miscellaneous |
26526d23 | 251 | flags_to_pass = { flag= LANGUAGES ; optional=true ; }; |
0c8a85c6 | 252 | flags_to_pass = { flag= LEAN ; }; |
253 | ||
ea8d3d75 | 254 | // Inter-module dependencies |
255 | ||
256 | // Build modules | |
257 | dependencies = { module=all-build-bison; on=all-build-texinfo; }; | |
258 | dependencies = { module=all-build-byacc; on=all-build-texinfo; }; | |
259 | dependencies = { module=all-build-flex; on=all-build-texinfo; }; | |
260 | dependencies = { module=all-build-flex; on=all-build-bison; }; | |
261 | dependencies = { module=all-build-flex; on=all-build-byacc; }; | |
262 | dependencies = { module=all-build-flex; on=all-build-m4; }; | |
263 | dependencies = { module=all-build-libiberty; on=all-build-texinfo; }; | |
264 | dependencies = { module=all-build-m4; on=all-build-texinfo; }; | |
2b59cb05 | 265 | dependencies = { module=all-build-fixincludes; on=all-build-libiberty; }; |
ea8d3d75 | 266 | |
267 | // Host modules specific to gcc. | |
268 | dependencies = { module=configure-gcc; on=configure-intl; }; | |
aa73b18f | 269 | dependencies = { module=configure-gcc; on=all-binutils; }; |
270 | dependencies = { module=configure-gcc; on=all-gas; }; | |
271 | dependencies = { module=configure-gcc; on=all-ld; }; | |
ea8d3d75 | 272 | dependencies = { module=all-gcc; on=all-libiberty; hard=true; }; |
273 | dependencies = { module=all-gcc; on=all-intl; }; | |
a1ad7483 | 274 | dependencies = { module=all-gcc; on=all-build-texinfo; }; |
275 | dependencies = { module=all-gcc; on=all-build-bison; }; | |
276 | dependencies = { module=all-gcc; on=all-build-byacc; }; | |
277 | dependencies = { module=all-gcc; on=all-build-flex; }; | |
2b59cb05 | 278 | dependencies = { module=all-gcc; on=all-build-libiberty; }; |
279 | dependencies = { module=all-gcc; on=all-build-fixincludes; }; | |
ea8d3d75 | 280 | dependencies = { module=all-gcc; on=all-zlib; }; |
ea8d3d75 | 281 | dependencies = { module=all-gcc; on=all-libcpp; hard=true; }; |
e21c3597 | 282 | dependencies = { module=all-gcc; on=all-libdecnumber; hard=true; }; |
50e7e370 | 283 | dependencies = { module=all-gcc; on=all-libiberty; }; |
284 | dependencies = { module=all-gcc; on=all-fixincludes; }; | |
ec2a8310 | 285 | dependencies = { module=install-gcc ; on=install-fixincludes; }; |
ea8d3d75 | 286 | |
287 | dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; }; | |
288 | dependencies = { module=configure-libcpp; on=configure-intl; }; | |
289 | dependencies = { module=all-libcpp; on=all-libiberty; hard=true; }; | |
290 | dependencies = { module=all-libcpp; on=all-intl; }; | |
291 | ||
50e7e370 | 292 | dependencies = { module=all-fixincludes; on=all-libiberty; }; |
293 | ||
a136b23d | 294 | dependencies = { module=all-gnattools; on=all-target-libada; }; |
295 | ||
ea8d3d75 | 296 | // Host modules specific to gdb. |
d06227a7 | 297 | dependencies = { module=configure-gdb; on=configure-intl; }; |
ea8d3d75 | 298 | dependencies = { module=configure-gdb; on=configure-sim; }; |
d06227a7 | 299 | dependencies = { module=all-gdb; on=all-intl; }; |
ea8d3d75 | 300 | dependencies = { module=all-gdb; on=all-libiberty; }; |
301 | dependencies = { module=all-gdb; on=all-opcodes; }; | |
302 | dependencies = { module=all-gdb; on=all-bfd; }; | |
ea8d3d75 | 303 | dependencies = { module=all-gdb; on=all-readline; }; |
a1ad7483 | 304 | dependencies = { module=all-gdb; on=all-build-bison; }; |
305 | dependencies = { module=all-gdb; on=all-build-byacc; }; | |
ea8d3d75 | 306 | dependencies = { module=all-gdb; on=all-sim; }; |
ea8d3d75 | 307 | |
308 | dependencies = { module=configure-libgui; on=configure-tcl; }; | |
309 | dependencies = { module=configure-libgui; on=configure-tk; }; | |
310 | dependencies = { module=all-libgui; on=all-tcl; }; | |
311 | dependencies = { module=all-libgui; on=all-tk; }; | |
312 | dependencies = { module=all-libgui; on=all-itcl; }; | |
313 | ||
314 | // Host modules specific to binutils. | |
315 | dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; }; | |
d06227a7 | 316 | dependencies = { module=configure-bfd; on=configure-intl; }; |
ea8d3d75 | 317 | dependencies = { module=all-bfd; on=all-libiberty; }; |
318 | dependencies = { module=all-bfd; on=all-intl; }; | |
319 | ||
d06227a7 | 320 | dependencies = { module=configure-binutils; on=configure-intl; }; |
ea8d3d75 | 321 | dependencies = { module=all-binutils; on=all-libiberty; }; |
322 | dependencies = { module=all-binutils; on=all-opcodes; }; | |
323 | dependencies = { module=all-binutils; on=all-bfd; }; | |
a1ad7483 | 324 | dependencies = { module=all-binutils; on=all-build-flex; }; |
325 | dependencies = { module=all-binutils; on=all-build-bison; }; | |
326 | dependencies = { module=all-binutils; on=all-build-byacc; }; | |
ea8d3d75 | 327 | dependencies = { module=all-binutils; on=all-intl; }; |
328 | ||
329 | // We put install-opcodes before install-binutils because the installed | |
330 | // binutils might be on PATH, and they might need the shared opcodes | |
331 | // library. | |
332 | dependencies = { module=install-binutils; on=install-opcodes; }; | |
333 | ||
334 | // libopcodes depends on libbfd | |
335 | dependencies = { module=install-opcodes; on=install-bfd; }; | |
336 | ||
d06227a7 | 337 | dependencies = { module=configure-gas; on=configure-intl; }; |
ea8d3d75 | 338 | dependencies = { module=all-gas; on=all-libiberty; }; |
339 | dependencies = { module=all-gas; on=all-opcodes; }; | |
340 | dependencies = { module=all-gas; on=all-bfd; }; | |
341 | dependencies = { module=all-gas; on=all-intl; }; | |
d06227a7 | 342 | dependencies = { module=configure-gprof; on=configure-intl; }; |
ea8d3d75 | 343 | dependencies = { module=all-gprof; on=all-libiberty; }; |
344 | dependencies = { module=all-gprof; on=all-bfd; }; | |
345 | dependencies = { module=all-gprof; on=all-opcodes; }; | |
346 | dependencies = { module=all-gprof; on=all-intl; }; | |
d06227a7 | 347 | dependencies = { module=configure-ld; on=configure-intl; }; |
ea8d3d75 | 348 | dependencies = { module=all-ld; on=all-libiberty; }; |
349 | dependencies = { module=all-ld; on=all-bfd; }; | |
350 | dependencies = { module=all-ld; on=all-opcodes; }; | |
a1ad7483 | 351 | dependencies = { module=all-ld; on=all-build-bison; }; |
352 | dependencies = { module=all-ld; on=all-build-byacc; }; | |
353 | dependencies = { module=all-ld; on=all-build-flex; }; | |
ea8d3d75 | 354 | dependencies = { module=all-ld; on=all-intl; }; |
355 | ||
356 | dependencies = { module=all-opcodes; on=all-bfd; }; | |
357 | dependencies = { module=all-opcodes; on=all-libiberty; }; | |
358 | ||
359 | // Other host modules in the 'src' repository. | |
360 | dependencies = { module=all-dejagnu; on=all-tcl; }; | |
361 | dependencies = { module=all-dejagnu; on=all-expect; }; | |
362 | dependencies = { module=all-dejagnu; on=all-tk; }; | |
363 | dependencies = { module=configure-expect; on=configure-tcl; }; | |
364 | dependencies = { module=configure-expect; on=configure-tk; }; | |
365 | dependencies = { module=all-expect; on=all-tcl; }; | |
366 | dependencies = { module=all-expect; on=all-tk; }; | |
367 | ||
368 | // We put install-tcl before install-itcl because itcl wants to run a | |
369 | // program on installation which uses the Tcl libraries. | |
370 | dependencies = { module=configure-itcl; on=configure-tcl; }; | |
371 | dependencies = { module=configure-itcl; on=configure-tk; }; | |
372 | dependencies = { module=all-itcl; on=all-tcl; }; | |
373 | dependencies = { module=all-itcl; on=all-tk; }; | |
374 | dependencies = { module=install-itcl; on=install-tcl; }; | |
375 | ||
376 | dependencies = { module=configure-tk; on=configure-tcl; }; | |
377 | dependencies = { module=all-tk; on=all-tcl; }; | |
ea8d3d75 | 378 | |
379 | dependencies = { module=all-sid; on=all-libiberty; }; | |
380 | dependencies = { module=all-sid; on=all-bfd; }; | |
381 | dependencies = { module=all-sid; on=all-opcodes; }; | |
382 | dependencies = { module=all-sid; on=all-tcl; }; | |
383 | dependencies = { module=all-sid; on=all-tk; }; | |
384 | dependencies = { module=install-sid; on=install-tcl; }; | |
385 | dependencies = { module=install-sid; on=install-tk; }; | |
386 | ||
d06227a7 | 387 | dependencies = { module=configure-sim; on=configure-intl; }; |
388 | dependencies = { module=all-sim; on=all-intl; }; | |
ea8d3d75 | 389 | dependencies = { module=all-sim; on=all-libiberty; }; |
390 | dependencies = { module=all-sim; on=all-bfd; }; | |
391 | dependencies = { module=all-sim; on=all-opcodes; }; | |
392 | dependencies = { module=all-sim; on=all-readline; }; | |
393 | dependencies = { module=all-sim; on=configure-gdb; }; | |
394 | ||
395 | // Other host modules. | |
396 | dependencies = { module=all-fastjar; on=all-zlib; }; | |
a1ad7483 | 397 | dependencies = { module=all-fastjar; on=all-build-texinfo; }; |
ea8d3d75 | 398 | dependencies = { module=all-fastjar; on=all-libiberty; }; |
399 | ||
400 | // Warning, these are not well tested. | |
401 | dependencies = { module=all-autoconf; on=all-m4; }; | |
a1ad7483 | 402 | dependencies = { module=all-autoconf; on=all-build-texinfo; }; |
ea8d3d75 | 403 | dependencies = { module=all-automake; on=all-m4; }; |
a1ad7483 | 404 | dependencies = { module=all-automake; on=all-build-texinfo; }; |
ea8d3d75 | 405 | dependencies = { module=all-automake; on=all-autoconf; }; |
406 | dependencies = { module=all-bison; on=all-intl; }; | |
a1ad7483 | 407 | dependencies = { module=all-bison; on=all-build-texinfo; }; |
ea8d3d75 | 408 | dependencies = { module=all-diff; on=all-intl; }; |
a1ad7483 | 409 | dependencies = { module=all-diff; on=all-build-texinfo; }; |
ea8d3d75 | 410 | dependencies = { module=all-fileutils; on=all-intl; }; |
a1ad7483 | 411 | dependencies = { module=all-fileutils; on=all-build-texinfo; }; |
412 | dependencies = { module=all-flex; on=all-build-bison; }; | |
413 | dependencies = { module=all-flex; on=all-build-byacc; }; | |
ea8d3d75 | 414 | dependencies = { module=all-flex; on=all-intl; }; |
415 | dependencies = { module=all-flex; on=all-m4; }; | |
a1ad7483 | 416 | dependencies = { module=all-flex; on=all-build-texinfo; }; |
ea8d3d75 | 417 | dependencies = { module=all-gzip; on=all-intl; }; |
418 | dependencies = { module=all-gzip; on=all-zlib; }; | |
a1ad7483 | 419 | dependencies = { module=all-gzip; on=all-build-texinfo; }; |
ea8d3d75 | 420 | dependencies = { module=all-hello; on=all-intl; }; |
a1ad7483 | 421 | dependencies = { module=all-hello; on=all-build-texinfo; }; |
ea8d3d75 | 422 | dependencies = { module=all-m4; on=all-intl; }; |
a1ad7483 | 423 | dependencies = { module=all-m4; on=all-build-texinfo; }; |
ea8d3d75 | 424 | dependencies = { module=all-make; on=all-intl; }; |
a1ad7483 | 425 | dependencies = { module=all-make; on=all-build-texinfo; }; |
426 | dependencies = { module=all-patch; on=all-build-texinfo; }; | |
427 | dependencies = { module=all-make; on=all-build-texinfo; }; | |
ea8d3d75 | 428 | dependencies = { module=all-prms; on=all-libiberty; }; |
a1ad7483 | 429 | dependencies = { module=all-recode; on=all-build-texinfo; }; |
430 | dependencies = { module=all-sed; on=all-build-texinfo; }; | |
ea8d3d75 | 431 | dependencies = { module=all-send-pr; on=all-prms; }; |
a1ad7483 | 432 | dependencies = { module=all-tar; on=all-build-texinfo; }; |
433 | dependencies = { module=all-uudecode; on=all-build-texinfo; }; | |
ea8d3d75 | 434 | |
435 | // Target modules. These can also have dependencies on the language | |
436 | // environment (e.g. on libstdc++). | |
437 | lang_env_dependencies = { module=boehm-gc; }; | |
438 | lang_env_dependencies = { module=gperf; cxx=true; }; | |
439 | lang_env_dependencies = { module=libada; }; | |
440 | lang_env_dependencies = { module=libgfortran; }; | |
441 | lang_env_dependencies = { module=libffi; }; | |
442 | lang_env_dependencies = { module=libjava; cxx=true; }; | |
8011a2db | 443 | lang_env_dependencies = { module=libmudflap; }; |
ea8d3d75 | 444 | lang_env_dependencies = { module=libobjc; }; |
e85b7f3c | 445 | lang_env_dependencies = { module=libssp; }; |
ea8d3d75 | 446 | lang_env_dependencies = { module=libstdc++-v3; }; |
447 | lang_env_dependencies = { module=zlib; }; | |
448 | ||
449 | dependencies = { module=configure-target-boehm-gc; on=configure-target-qthreads; }; | |
450 | dependencies = { module=configure-target-fastjar; on=configure-target-zlib; }; | |
451 | dependencies = { module=all-target-fastjar; on=all-target-zlib; }; | |
452 | dependencies = { module=all-target-fastjar; on=all-target-libiberty; }; | |
453 | dependencies = { module=configure-target-libjava; on=configure-target-zlib; }; | |
454 | dependencies = { module=configure-target-libjava; on=configure-target-boehm-gc; }; | |
455 | dependencies = { module=configure-target-libjava; on=configure-target-qthreads; }; | |
456 | dependencies = { module=configure-target-libjava; on=configure-target-libffi; }; | |
457 | dependencies = { module=all-target-libjava; on=all-fastjar; }; | |
458 | dependencies = { module=all-target-libjava; on=all-target-zlib; }; | |
459 | dependencies = { module=all-target-libjava; on=all-target-boehm-gc; }; | |
460 | dependencies = { module=all-target-libjava; on=all-target-qthreads; }; | |
461 | dependencies = { module=all-target-libjava; on=all-target-libffi; }; | |
dd6d3a67 | 462 | dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; }; |
ea8d3d75 | 463 | dependencies = { module=all-target-libobjc; on=all-target-libiberty; }; |
dd6d3a67 | 464 | dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; }; |
ea8d3d75 | 465 | dependencies = { module=all-target-libstdc++-v3; on=all-target-libiberty; }; |
466 | ||
467 | // Target modules in the 'src' repository. | |
468 | lang_env_dependencies = { module=examples; }; | |
469 | lang_env_dependencies = { module=libtermcap; }; | |
470 | lang_env_dependencies = { module=rda; }; | |
471 | lang_env_dependencies = { module=winsup; }; | |
472 | lang_env_dependencies = { module=qthreads; }; | |
473 | ||
474 | dependencies = { module=all-target-libgloss; on=configure-target-newlib; }; | |
475 | dependencies = { module=all-target-winsup; on=all-target-libiberty; }; | |
476 | dependencies = { module=all-target-winsup; on=all-target-libtermcap; }; | |
477 | ||
5965d276 | 478 | // Toplevel bootstrap |
479 | bootstrap_stage = { | |
599a3eac | 480 | id=1 ; |
a1ad7483 | 481 | stage_configure_flags='--disable-intermodule \ |
5965d276 | 482 | --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"' ; |
26526d23 | 483 | stage_make_flags='CFLAGS="$(STAGE1_CFLAGS)" LIBCFLAGS="$(STAGE1_CFLAGS)"' ; }; |
5965d276 | 484 | bootstrap_stage = { |
599a3eac | 485 | id=2 ; prev=1 ; |
d8b05159 | 486 | bootstrap_target=bootstrap2 ; |
a1ad7483 | 487 | stage_configure_flags="@stage2_werror_flag@" ; |
488 | stage_make_flags="" ; }; | |
5965d276 | 489 | bootstrap_stage = { |
3c782584 | 490 | id=3 ; prev=2 ; lean=1 ; |
5965d276 | 491 | compare_target=compare ; |
54f0538b | 492 | bootstrap_target=bootstrap ; |
493 | cleanstrap_target=cleanstrap ; | |
a1ad7483 | 494 | stage_configure_flags="@stage2_werror_flag@" ; |
495 | stage_make_flags="" ; }; | |
54f0538b | 496 | bootstrap_stage = { |
3c782584 | 497 | id=4 ; prev=3 ; lean=2 ; |
54f0538b | 498 | compare_target=compare3 ; |
499 | bootstrap_target=bootstrap4 ; | |
a1ad7483 | 500 | stage_configure_flags="@stage2_werror_flag@" ; |
501 | stage_make_flags="" ; }; | |
599a3eac | 502 | bootstrap_stage = { |
503 | id=profile ; prev=1 ; | |
a1ad7483 | 504 | stage_configure_flags="@stage2_werror_flag@" ; |
505 | stage_make_flags='CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"' ; }; | |
599a3eac | 506 | bootstrap_stage = { |
919a60fa | 507 | id=feedback ; prev=profile ; |
508 | bootstrap_target=profiledbootstrap ; | |
a1ad7483 | 509 | stage_configure_flags="@stage2_werror_flag@" ; |
510 | stage_make_flags='CFLAGS="$(BOOT_CFLAGS) -fprofile-use"' ; }; |