Commit | Line | Data |
---|---|---|
405ea7a0 NN |
1 | #! /usr/bin/autogen |
2 | AutoGen definitions Makefile.tpl; | |
3 | ||
2a4cbe27 NN |
4 | // Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'. |
5 | // This file was originally written by Nathanael Nerode. | |
6 | // | |
7 | // Copyright 2002, 2003 Free Software Foundation | |
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 | |
21 | // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
22 | ||
23 | ||
24 | // "missing" indicates that that module doesn't supply | |
25 | // that recursive target in its Makefile. | |
26 | ||
e393202e | 27 | build_modules= { module= libiberty; }; |
4b1cb4fe | 28 | build_modules= { module= libbanshee; }; |
6a9cf61e PB |
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; }; | |
e393202e | 34 | |
405ea7a0 NN |
35 | host_modules= { module= ash; }; |
36 | host_modules= { module= autoconf; }; | |
37 | host_modules= { module= automake; }; | |
38 | host_modules= { module= bash; }; | |
9e6ce191 PB |
39 | host_modules= { module= bfd; bootstrap=true; }; |
40 | host_modules= { module= opcodes; bootstrap=true; }; | |
b8908782 | 41 | host_modules= { module= binutils; bootstrap=true; }; |
9e6ce191 PB |
42 | host_modules= { module= bison; no_check_cross= true; }; |
43 | host_modules= { module= byacc; no_check_cross= true; }; | |
405ea7a0 | 44 | host_modules= { module= bzip2; }; |
405ea7a0 NN |
45 | host_modules= { module= dejagnu; }; |
46 | host_modules= { module= diff; }; | |
47 | host_modules= { module= dosutils; no_check= true; }; | |
48 | host_modules= { module= etc; }; | |
49 | host_modules= { module= fastjar; no_check_cross= true; }; | |
50 | host_modules= { module= fileutils; }; | |
51 | host_modules= { module= findutils; }; | |
52 | host_modules= { module= find; }; | |
9e6ce191 | 53 | host_modules= { module= flex; no_check_cross= true; }; |
b8908782 | 54 | host_modules= { module= gas; bootstrap=true; }; |
9e6ce191 PB |
55 | host_modules= { module= gcc; bootstrap=true; |
56 | extra_make_flags="$(EXTRA_GCC_FLAGS)"; }; | |
405ea7a0 NN |
57 | host_modules= { module= gawk; }; |
58 | host_modules= { module= gettext; }; | |
59 | host_modules= { module= gnuserv; }; | |
60 | host_modules= { module= gprof; }; | |
405ea7a0 NN |
61 | host_modules= { module= gzip; }; |
62 | host_modules= { module= hello; }; | |
63 | host_modules= { module= indent; }; | |
b8908782 | 64 | host_modules= { module= intl; bootstrap=true; }; |
2a4cbe27 NN |
65 | host_modules= { module= tcl; |
66 | missing=mostlyclean; }; | |
405ea7a0 | 67 | host_modules= { module= itcl; }; |
b8908782 | 68 | host_modules= { module= ld; bootstrap=true; }; |
04cf1b77 | 69 | host_modules= { module= libcpp; bootstrap=true; }; |
405ea7a0 | 70 | host_modules= { module= libgui; }; |
4b1cb4fe | 71 | host_modules= { module= libbanshee; bootstrap=true; no_install=true; }; |
b8908782 | 72 | host_modules= { module= libiberty; bootstrap=true; }; |
405ea7a0 NN |
73 | host_modules= { module= libtool; }; |
74 | host_modules= { module= m4; }; | |
75 | host_modules= { module= make; }; | |
76 | host_modules= { module= mmalloc; no_check=true; }; | |
77 | host_modules= { module= patch; }; | |
78 | host_modules= { module= perl; }; | |
79 | host_modules= { module= prms; }; | |
80 | host_modules= { module= rcs; }; | |
81 | host_modules= { module= readline; }; | |
82 | host_modules= { module= release; no_install= true; no_check= true; }; | |
83 | host_modules= { module= recode; }; | |
84 | host_modules= { module= sed; }; | |
85 | host_modules= { module= send-pr; }; | |
86 | host_modules= { module= shellutils; }; | |
87 | host_modules= { module= sid; }; | |
88 | host_modules= { module= sim; }; | |
405ea7a0 | 89 | host_modules= { module= tar; }; |
9e6ce191 | 90 | host_modules= { module= texinfo; no_install= true; }; |
405ea7a0 NN |
91 | host_modules= { module= textutils; }; |
92 | host_modules= { module= time; }; | |
93 | host_modules= { module= uudecode; }; | |
94 | host_modules= { module= wdiff; }; | |
95 | host_modules= { module= zip; no_check_cross=true; }; | |
b8908782 | 96 | host_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; }; |
852e5f18 NN |
97 | host_modules= { module= gdb; with_x=true; }; |
98 | host_modules= { module= expect; with_x=true; }; | |
99 | host_modules= { module= guile; with_x=true; }; | |
852e5f18 NN |
100 | host_modules= { module= tk; with_x=true; }; |
101 | host_modules= { module= tix; with_x=true; }; | |
2a4cbe27 NN |
102 | host_modules= { module= libtermcap; no_check=true; |
103 | missing=mostlyclean; | |
104 | missing=clean; | |
105 | missing=distclean; | |
106 | missing=maintainer-clean; }; | |
3866be5d | 107 | host_modules= { module= utils; no_check=true; }; |
907a7241 | 108 | |
930314a4 | 109 | target_modules = { module= libstdc++-v3; raw_cxx=true; }; |
4b1cb4fe | 110 | target_modules = { module= libmudflap; }; |
907a7241 | 111 | target_modules = { module= newlib; }; |
4b1cb4fe | 112 | target_modules = { module= libgfortran; }; |
907a7241 | 113 | target_modules = { module= libobjc; }; |
a6d6062d | 114 | target_modules = { module= libtermcap; no_check=true; stage=true; |
2a4cbe27 NN |
115 | missing=mostlyclean; |
116 | missing=clean; | |
117 | missing=distclean; | |
118 | missing=maintainer-clean; }; | |
907a7241 NN |
119 | target_modules = { module= winsup; }; |
120 | target_modules = { module= libgloss; no_check=true; }; | |
fc434214 | 121 | target_modules = { module= libiberty; }; |
907a7241 NN |
122 | target_modules = { module= gperf; }; |
123 | target_modules = { module= examples; no_check=true; no_install=true; }; | |
50ceb20c | 124 | target_modules = { module= libffi; }; |
930314a4 | 125 | target_modules = { module= libjava; raw_cxx=true; }; |
a6d6062d | 126 | target_modules = { module= zlib; stage=true; }; |
907a7241 NN |
127 | target_modules = { module= boehm-gc; }; |
128 | target_modules = { module= qthreads; }; | |
dd2768ff | 129 | target_modules = { module= rda; }; |
a2592b1b | 130 | target_modules = { module= libada; }; |
e393202e | 131 | |
27b1cc72 | 132 | // These are (some of) the make targets to be done in each subdirectory. |
e393202e | 133 | // Not all; these are the ones which don't have special options. |
2a4cbe27 NN |
134 | // "depend" indicates that a target depends on another target uniformly |
135 | // for each subdirectory. There can be several such lines per target. | |
136 | recursive_targets = { make_target= info; | |
137 | depend=configure; }; | |
138 | recursive_targets = { make_target= dvi; | |
139 | depend=configure; }; | |
140 | recursive_targets = { make_target= TAGS; | |
141 | depend=configure; }; | |
142 | recursive_targets = { make_target= install-info; | |
143 | depend=configure; | |
144 | depend=info; }; | |
145 | recursive_targets = { make_target= installcheck; | |
146 | depend=configure; }; | |
147 | recursive_targets = { make_target= mostlyclean; }; | |
27b1cc72 NN |
148 | recursive_targets = { make_target= clean; }; |
149 | recursive_targets = { make_target= distclean; }; | |
27b1cc72 | 150 | recursive_targets = { make_target= maintainer-clean; }; |
12f0bd74 NN |
151 | |
152 | // Flags which need to be passed down. | |
153 | ||
154 | // Directories etc. | |
155 | flags_to_pass = { flag= DESTDIR ; }; | |
156 | flags_to_pass = { flag= RPATH_ENVVAR ; }; | |
157 | flags_to_pass = { flag= TARGET_SUBDIR ; }; | |
158 | flags_to_pass = { flag= bindir ; }; | |
159 | flags_to_pass = { flag= datadir ; }; | |
160 | flags_to_pass = { flag= exec_prefix ; }; | |
161 | flags_to_pass = { flag= includedir ; }; | |
162 | flags_to_pass = { flag= infodir ; }; | |
163 | flags_to_pass = { flag= libdir ; }; | |
164 | flags_to_pass = { flag= libexecdir ; }; | |
165 | flags_to_pass = { flag= lispdir ; }; | |
166 | flags_to_pass = { flag= libstdcxx_incdir ; }; | |
167 | flags_to_pass = { flag= libsubdir ; }; | |
168 | flags_to_pass = { flag= localstatedir ; }; | |
169 | flags_to_pass = { flag= mandir ; }; | |
170 | flags_to_pass = { flag= oldincludedir ; }; | |
171 | flags_to_pass = { flag= prefix ; }; | |
172 | flags_to_pass = { flag= sbindir ; }; | |
173 | flags_to_pass = { flag= sharedstatedir ; }; | |
174 | flags_to_pass = { flag= sysconfdir ; }; | |
175 | flags_to_pass = { flag= tooldir ; }; | |
176 | flags_to_pass = { flag= build_tooldir ; }; | |
177 | flags_to_pass = { flag= gxx_include_dir ; }; | |
178 | flags_to_pass = { flag= gcc_version ; }; | |
179 | flags_to_pass = { flag= gcc_version_trigger ; }; | |
180 | flags_to_pass = { flag= target_alias ; }; | |
181 | ||
182 | // Build tools | |
183 | flags_to_pass = { flag= BISON ; }; | |
184 | flags_to_pass = { flag= CC_FOR_BUILD ; }; | |
185 | flags_to_pass = { flag= CXX_FOR_BUILD ; }; | |
186 | flags_to_pass = { flag= EXPECT ; }; | |
6a9cf61e | 187 | flags_to_pass = { flag= FLEX ; }; |
12f0bd74 NN |
188 | flags_to_pass = { flag= INSTALL ; }; |
189 | flags_to_pass = { flag= INSTALL_DATA ; }; | |
190 | flags_to_pass = { flag= INSTALL_PROGRAM ; }; | |
191 | flags_to_pass = { flag= INSTALL_SCRIPT ; }; | |
192 | flags_to_pass = { flag= LEX ; }; | |
193 | flags_to_pass = { flag= M4 ; }; | |
194 | flags_to_pass = { flag= MAKE ; }; | |
195 | flags_to_pass = { flag= RUNTEST ; }; | |
196 | flags_to_pass = { flag= RUNTESTFLAGS ; }; | |
197 | flags_to_pass = { flag= SHELL ; }; | |
198 | flags_to_pass = { flag= YACC ; }; | |
199 | ||
200 | // Host tools | |
201 | flags_to_pass = { flag= AR_FLAGS ; }; | |
202 | flags_to_pass = { flag= CFLAGS ; }; | |
203 | flags_to_pass = { flag= CXXFLAGS ; }; | |
204 | flags_to_pass = { flag= LDFLAGS ; }; | |
205 | flags_to_pass = { flag= LIBCFLAGS ; }; | |
206 | flags_to_pass = { flag= LIBCXXFLAGS ; }; | |
207 | ||
208 | // Target tools | |
209 | flags_to_pass = { flag= AR_FOR_TARGET ; }; | |
210 | flags_to_pass = { flag= AS_FOR_TARGET ; }; | |
211 | flags_to_pass = { flag= CC_FOR_TARGET ; }; | |
212 | flags_to_pass = { flag= CFLAGS_FOR_TARGET ; }; | |
213 | flags_to_pass = { flag= CXX_FOR_TARGET ; }; | |
214 | flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; }; | |
215 | flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; }; | |
216 | flags_to_pass = { flag= GCJ_FOR_TARGET ; }; | |
4b1cb4fe | 217 | flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; }; |
12f0bd74 NN |
218 | flags_to_pass = { flag= LD_FOR_TARGET ; }; |
219 | flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; }; | |
220 | flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; }; | |
221 | flags_to_pass = { flag= NM_FOR_TARGET ; }; | |
222 | flags_to_pass = { flag= RANLIB_FOR_TARGET ; }; | |
223 | flags_to_pass = { flag= WINDRES_FOR_TARGET ; }; | |
dfdffa2c | 224 | |
9e6ce191 PB |
225 | // Inter-module dependencies |
226 | ||
227 | // Build modules | |
228 | dependencies = { module=all-build-bison; on=all-build-texinfo; }; | |
229 | dependencies = { module=all-build-byacc; on=all-build-texinfo; }; | |
230 | dependencies = { module=all-build-flex; on=all-build-texinfo; }; | |
231 | dependencies = { module=all-build-flex; on=all-build-bison; }; | |
232 | dependencies = { module=all-build-flex; on=all-build-byacc; }; | |
233 | dependencies = { module=all-build-flex; on=all-build-m4; }; | |
234 | dependencies = { module=all-build-libiberty; on=all-build-texinfo; }; | |
235 | dependencies = { module=all-build-m4; on=all-build-texinfo; }; | |
236 | ||
237 | // Host modules specific to gcc. | |
238 | dependencies = { module=configure-gcc; on=configure-intl; }; | |
239 | dependencies = { module=configure-gcc; on=configure-binutils; }; | |
240 | dependencies = { module=configure-gcc; on=configure-gas; }; | |
241 | dependencies = { module=configure-gcc; on=configure-ld; }; | |
242 | dependencies = { module=configure-gcc; on=configure-bison; }; | |
243 | dependencies = { module=configure-gcc; on=configure-flex; }; | |
244 | dependencies = { module=all-gcc; on=all-libiberty; hard=true; }; | |
245 | dependencies = { module=all-gcc; on=all-intl; }; | |
246 | dependencies = { module=all-gcc; on=all-texinfo; }; | |
247 | dependencies = { module=all-gcc; on=all-bison; }; | |
248 | dependencies = { module=all-gcc; on=all-byacc; }; | |
249 | dependencies = { module=all-gcc; on=all-flex; }; | |
250 | dependencies = { module=all-gcc; on=all-binutils; }; | |
251 | dependencies = { module=all-gcc; on=all-gas; }; | |
252 | dependencies = { module=all-gcc; on=all-ld; }; | |
253 | dependencies = { module=all-gcc; on=all-zlib; }; | |
254 | dependencies = { module=all-gcc; on=all-libbanshee; }; | |
255 | dependencies = { module=all-gcc; on=all-libcpp; hard=true; }; | |
256 | dependencies = { module=all-gcc; on=all-build-libiberty; }; | |
257 | ||
258 | dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; }; | |
259 | dependencies = { module=configure-libcpp; on=configure-intl; }; | |
260 | dependencies = { module=all-libcpp; on=all-libiberty; hard=true; }; | |
261 | dependencies = { module=all-libcpp; on=all-intl; }; | |
262 | ||
263 | // Host modules specific to gdb. | |
264 | dependencies = { module=configure-gdb; on=configure-itcl; }; | |
265 | dependencies = { module=configure-gdb; on=configure-tcl; }; | |
266 | dependencies = { module=configure-gdb; on=configure-tk; }; | |
267 | dependencies = { module=configure-gdb; on=configure-sim; }; | |
268 | dependencies = { module=all-gdb; on=all-libiberty; }; | |
269 | dependencies = { module=all-gdb; on=all-opcodes; }; | |
270 | dependencies = { module=all-gdb; on=all-bfd; }; | |
271 | dependencies = { module=all-gdb; on=all-mmalloc; }; | |
272 | dependencies = { module=all-gdb; on=all-readline; }; | |
273 | dependencies = { module=all-gdb; on=all-bison; }; | |
274 | dependencies = { module=all-gdb; on=all-byacc; }; | |
275 | dependencies = { module=all-gdb; on=all-sim; }; | |
276 | dependencies = { module=install-gdb; on=install-tcl; }; | |
277 | dependencies = { module=install-gdb; on=install-tk; }; | |
278 | dependencies = { module=install-gdb; on=install-itcl; }; | |
279 | dependencies = { module=install-gdb; on=install-tix; }; | |
280 | dependencies = { module=install-gdb; on=install-libgui; }; | |
281 | ||
282 | dependencies = { module=configure-libgui; on=configure-tcl; }; | |
283 | dependencies = { module=configure-libgui; on=configure-tk; }; | |
284 | dependencies = { module=all-libgui; on=all-tcl; }; | |
285 | dependencies = { module=all-libgui; on=all-tk; }; | |
286 | dependencies = { module=all-libgui; on=all-itcl; }; | |
287 | ||
288 | // Host modules specific to binutils. | |
289 | dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; }; | |
290 | dependencies = { module=all-bfd; on=all-libiberty; }; | |
291 | dependencies = { module=all-bfd; on=all-intl; }; | |
292 | ||
293 | dependencies = { module=all-binutils; on=all-libiberty; }; | |
294 | dependencies = { module=all-binutils; on=all-opcodes; }; | |
295 | dependencies = { module=all-binutils; on=all-bfd; }; | |
296 | dependencies = { module=all-binutils; on=all-flex; }; | |
297 | dependencies = { module=all-binutils; on=all-bison; }; | |
298 | dependencies = { module=all-binutils; on=all-byacc; }; | |
299 | dependencies = { module=all-binutils; on=all-intl; }; | |
300 | ||
301 | // We put install-opcodes before install-binutils because the installed | |
302 | // binutils might be on PATH, and they might need the shared opcodes | |
303 | // library. | |
304 | dependencies = { module=install-binutils; on=install-opcodes; }; | |
305 | ||
306 | // libopcodes depends on libbfd | |
307 | dependencies = { module=install-opcodes; on=install-bfd; }; | |
308 | ||
309 | dependencies = { module=all-gas; on=all-libiberty; }; | |
310 | dependencies = { module=all-gas; on=all-opcodes; }; | |
311 | dependencies = { module=all-gas; on=all-bfd; }; | |
312 | dependencies = { module=all-gas; on=all-intl; }; | |
313 | dependencies = { module=all-gprof; on=all-libiberty; }; | |
314 | dependencies = { module=all-gprof; on=all-bfd; }; | |
315 | dependencies = { module=all-gprof; on=all-opcodes; }; | |
316 | dependencies = { module=all-gprof; on=all-intl; }; | |
317 | dependencies = { module=all-ld; on=all-libiberty; }; | |
318 | dependencies = { module=all-ld; on=all-bfd; }; | |
319 | dependencies = { module=all-ld; on=all-opcodes; }; | |
320 | dependencies = { module=all-ld; on=all-bison; }; | |
321 | dependencies = { module=all-ld; on=all-byacc; }; | |
322 | dependencies = { module=all-ld; on=all-flex; }; | |
323 | dependencies = { module=all-ld; on=all-intl; }; | |
324 | ||
325 | dependencies = { module=all-opcodes; on=all-bfd; }; | |
326 | dependencies = { module=all-opcodes; on=all-libiberty; }; | |
327 | ||
328 | // Other host modules in the 'src' repository. | |
329 | dependencies = { module=all-dejagnu; on=all-tcl; }; | |
330 | dependencies = { module=all-dejagnu; on=all-expect; }; | |
331 | dependencies = { module=all-dejagnu; on=all-tk; }; | |
332 | dependencies = { module=configure-expect; on=configure-tcl; }; | |
333 | dependencies = { module=configure-expect; on=configure-tk; }; | |
334 | dependencies = { module=all-expect; on=all-tcl; }; | |
335 | dependencies = { module=all-expect; on=all-tk; }; | |
336 | ||
337 | // We put install-tcl before install-itcl because itcl wants to run a | |
338 | // program on installation which uses the Tcl libraries. | |
339 | dependencies = { module=configure-itcl; on=configure-tcl; }; | |
340 | dependencies = { module=configure-itcl; on=configure-tk; }; | |
341 | dependencies = { module=all-itcl; on=all-tcl; }; | |
342 | dependencies = { module=all-itcl; on=all-tk; }; | |
343 | dependencies = { module=install-itcl; on=install-tcl; }; | |
344 | ||
345 | dependencies = { module=configure-tk; on=configure-tcl; }; | |
346 | dependencies = { module=all-tk; on=all-tcl; }; | |
347 | dependencies = { module=configure-tix; on=configure-tcl; }; | |
348 | dependencies = { module=configure-tix; on=configure-tk; }; | |
349 | dependencies = { module=all-tix; on=all-tcl; }; | |
350 | dependencies = { module=all-tix; on=all-tk; }; | |
351 | ||
352 | dependencies = { module=all-sid; on=all-libiberty; }; | |
353 | dependencies = { module=all-sid; on=all-bfd; }; | |
354 | dependencies = { module=all-sid; on=all-opcodes; }; | |
355 | dependencies = { module=all-sid; on=all-tcl; }; | |
356 | dependencies = { module=all-sid; on=all-tk; }; | |
357 | dependencies = { module=install-sid; on=install-tcl; }; | |
358 | dependencies = { module=install-sid; on=install-tk; }; | |
359 | ||
360 | dependencies = { module=all-sim; on=all-libiberty; }; | |
361 | dependencies = { module=all-sim; on=all-bfd; }; | |
362 | dependencies = { module=all-sim; on=all-opcodes; }; | |
363 | dependencies = { module=all-sim; on=all-readline; }; | |
364 | dependencies = { module=all-sim; on=configure-gdb; }; | |
365 | ||
366 | // Other host modules. | |
367 | dependencies = { module=all-fastjar; on=all-zlib; }; | |
368 | dependencies = { module=all-fastjar; on=all-texinfo; }; | |
369 | dependencies = { module=all-fastjar; on=all-libiberty; }; | |
370 | ||
371 | // Warning, these are not well tested. | |
372 | dependencies = { module=all-autoconf; on=all-m4; }; | |
373 | dependencies = { module=all-autoconf; on=all-texinfo; }; | |
374 | dependencies = { module=all-automake; on=all-m4; }; | |
375 | dependencies = { module=all-automake; on=all-texinfo; }; | |
376 | dependencies = { module=all-automake; on=all-autoconf; }; | |
377 | dependencies = { module=all-bison; on=all-intl; }; | |
378 | dependencies = { module=all-bison; on=all-texinfo; }; | |
379 | dependencies = { module=all-diff; on=all-intl; }; | |
380 | dependencies = { module=all-diff; on=all-texinfo; }; | |
381 | dependencies = { module=all-fileutils; on=all-intl; }; | |
382 | dependencies = { module=all-fileutils; on=all-texinfo; }; | |
383 | dependencies = { module=all-flex; on=all-bison; }; | |
384 | dependencies = { module=all-flex; on=all-byacc; }; | |
385 | dependencies = { module=all-flex; on=all-intl; }; | |
386 | dependencies = { module=all-flex; on=all-m4; }; | |
387 | dependencies = { module=all-flex; on=all-texinfo; }; | |
388 | dependencies = { module=all-gzip; on=all-intl; }; | |
389 | dependencies = { module=all-gzip; on=all-zlib; }; | |
390 | dependencies = { module=all-gzip; on=all-texinfo; }; | |
391 | dependencies = { module=all-hello; on=all-intl; }; | |
392 | dependencies = { module=all-hello; on=all-texinfo; }; | |
393 | dependencies = { module=all-m4; on=all-intl; }; | |
394 | dependencies = { module=all-m4; on=all-texinfo; }; | |
395 | dependencies = { module=all-make; on=all-intl; }; | |
396 | dependencies = { module=all-make; on=all-texinfo; }; | |
397 | dependencies = { module=all-patch; on=all-texinfo; }; | |
398 | dependencies = { module=all-make; on=all-texinfo; }; | |
399 | dependencies = { module=all-prms; on=all-libiberty; }; | |
400 | dependencies = { module=all-recode; on=all-texinfo; }; | |
401 | dependencies = { module=all-sed; on=all-texinfo; }; | |
402 | dependencies = { module=all-send-pr; on=all-prms; }; | |
403 | dependencies = { module=all-tar; on=all-texinfo; }; | |
404 | dependencies = { module=all-uudecode; on=all-texinfo; }; | |
405 | ||
406 | // Target modules. These can also have dependencies on the language | |
407 | // environment (e.g. on libstdc++). | |
408 | lang_env_dependencies = { module=boehm-gc; }; | |
409 | lang_env_dependencies = { module=gperf; cxx=true; }; | |
410 | lang_env_dependencies = { module=libada; }; | |
411 | lang_env_dependencies = { module=libgfortran; }; | |
412 | lang_env_dependencies = { module=libffi; }; | |
413 | lang_env_dependencies = { module=libjava; cxx=true; }; | |
414 | lang_env_dependencies = { module=libobjc; }; | |
415 | lang_env_dependencies = { module=libstdc++-v3; }; | |
416 | lang_env_dependencies = { module=zlib; }; | |
417 | ||
418 | dependencies = { module=configure-target-boehm-gc; on=configure-target-qthreads; }; | |
419 | dependencies = { module=configure-target-fastjar; on=configure-target-zlib; }; | |
420 | dependencies = { module=all-target-fastjar; on=all-target-zlib; }; | |
421 | dependencies = { module=all-target-fastjar; on=all-target-libiberty; }; | |
422 | dependencies = { module=configure-target-libjava; on=configure-target-zlib; }; | |
423 | dependencies = { module=configure-target-libjava; on=configure-target-boehm-gc; }; | |
424 | dependencies = { module=configure-target-libjava; on=configure-target-qthreads; }; | |
425 | dependencies = { module=configure-target-libjava; on=configure-target-libffi; }; | |
426 | dependencies = { module=all-target-libjava; on=all-fastjar; }; | |
427 | dependencies = { module=all-target-libjava; on=all-target-zlib; }; | |
428 | dependencies = { module=all-target-libjava; on=all-target-boehm-gc; }; | |
429 | dependencies = { module=all-target-libjava; on=all-target-qthreads; }; | |
430 | dependencies = { module=all-target-libjava; on=all-target-libffi; }; | |
431 | dependencies = { module=all-target-libobjc; on=all-target-libiberty; }; | |
432 | dependencies = { module=all-target-libstdc++-v3; on=all-target-libiberty; }; | |
433 | ||
434 | // Target modules in the 'src' repository. | |
435 | lang_env_dependencies = { module=examples; }; | |
436 | lang_env_dependencies = { module=libtermcap; }; | |
437 | lang_env_dependencies = { module=rda; }; | |
438 | lang_env_dependencies = { module=winsup; }; | |
439 | lang_env_dependencies = { module=qthreads; }; | |
440 | ||
441 | dependencies = { module=all-target-libgloss; on=configure-target-newlib; }; | |
442 | dependencies = { module=all-target-winsup; on=all-target-libiberty; }; | |
443 | dependencies = { module=all-target-winsup; on=all-target-libtermcap; }; | |
444 | ||
dfdffa2c PB |
445 | // Toplevel bootstrap |
446 | bootstrap_stage = { | |
656fdd47 | 447 | id=1 ; |
dfdffa2c PB |
448 | extra_configure_flags='--disable-intermodule \ |
449 | --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"' ; | |
450 | extra_make_flags='CFLAGS="$(STAGE1_CFLAGS)"' ; }; | |
451 | bootstrap_stage = { | |
656fdd47 | 452 | id=2 ; prev=1 ; |
377d8c42 | 453 | bootstrap_target=bootstrap2 ; |
dfdffa2c | 454 | extra_configure_flags="@stage2_werror_flag@" ; |
656fdd47 | 455 | extra_make_flags="" ; }; |
dfdffa2c | 456 | bootstrap_stage = { |
656fdd47 | 457 | id=3 ; prev=2 ; |
dfdffa2c | 458 | compare_target=compare ; |
319cab08 PB |
459 | bootstrap_target=bootstrap ; |
460 | cleanstrap_target=cleanstrap ; | |
461 | extra_configure_flags="@stage2_werror_flag@" ; | |
656fdd47 | 462 | extra_make_flags="" ; }; |
319cab08 PB |
463 | bootstrap_stage = { |
464 | id=4 ; prev=3 ; | |
465 | compare_target=compare3 ; | |
466 | bootstrap_target=bootstrap4 ; | |
dfdffa2c | 467 | extra_configure_flags="@stage2_werror_flag@" ; |
656fdd47 PB |
468 | extra_make_flags="" ; }; |
469 | bootstrap_stage = { | |
470 | id=profile ; prev=1 ; | |
471 | extra_configure_flags="@stage2_werror_flag@" ; | |
472 | extra_make_flags='CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"' ; }; | |
473 | bootstrap_stage = { | |
474 | id=feedback ; prev=1 ; | |
475 | extra_configure_flags="@stage2_werror_flag@" ; | |
476 | extra_make_flags='CFLAGS="$(BOOT_CFLAGS) -fprofile-use"' ; }; |