]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - Makefile.def
* resolve.cc (Symbol_table::resolve): Don't complain about defined
[thirdparty/binutils-gdb.git] / Makefile.def
CommitLineData
405ea7a0
NN
1#! /usr/bin/autogen
2AutoGen 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//
66775d67
AM
7// Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
8// Free Software Foundation
2a4cbe27
NN
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
12// the Free Software Foundation; either version 2 of the License, or
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
21// along with this program; if not, write to the Free Software
6e4d0bcb 22// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2a4cbe27
NN
23
24
25// "missing" indicates that that module doesn't supply
26// that recursive target in its Makefile.
27
e393202e 28build_modules= { module= libiberty; };
6a9cf61e
PB
29build_modules= { module= bison; };
30build_modules= { module= byacc; };
31build_modules= { module= flex; };
32build_modules= { module= m4; };
33build_modules= { module= texinfo; };
4b900473 34build_modules= { module= fixincludes; };
e393202e 35
405ea7a0
NN
36host_modules= { module= ash; };
37host_modules= { module= autoconf; };
38host_modules= { module= automake; };
39host_modules= { module= bash; };
c380fdd8
PB
40host_modules= { module= bfd; lib_path=.libs; bootstrap=true; };
41host_modules= { module= opcodes; lib_path=.libs; bootstrap=true; };
b8908782 42host_modules= { module= binutils; bootstrap=true; };
9e6ce191
PB
43host_modules= { module= bison; no_check_cross= true; };
44host_modules= { module= byacc; no_check_cross= true; };
405ea7a0 45host_modules= { module= bzip2; };
f9806fa5 46host_modules= { module= cgen; };
405ea7a0
NN
47host_modules= { module= dejagnu; };
48host_modules= { module= diff; };
49host_modules= { module= dosutils; no_check= true; };
50host_modules= { module= etc; };
51host_modules= { module= fastjar; no_check_cross= true; };
52host_modules= { module= fileutils; };
53host_modules= { module= findutils; };
54host_modules= { module= find; };
1eefd493 55host_modules= { module= fixincludes;
a4fd3374 56 missing= TAGS; };
9e6ce191 57host_modules= { module= flex; no_check_cross= true; };
b8908782 58host_modules= { module= gas; bootstrap=true; };
9e6ce191
PB
59host_modules= { module= gcc; bootstrap=true;
60 extra_make_flags="$(EXTRA_GCC_FLAGS)"; };
405ea7a0
NN
61host_modules= { module= gawk; };
62host_modules= { module= gettext; };
4b900473
PB
63host_modules= { module= gmp; lib_path=.libs; bootstrap=true;
64 extra_configure_flags='--disable-shared';
65 no_install= true;
66 host="none-${host_vendor}-${host_os}";
67 target="none-${host_vendor}-${host_os}"; };
68host_modules= { module= mpfr; lib_path=.libs; bootstrap=true;
69 extra_configure_flags='--disable-shared --with-gmp-build=$$r/$(HOST_SUBDIR)/gmp';
70 no_install= true;
71 host="none-${host_vendor}-${host_os}";
72 target="none-${host_vendor}-${host_os}"; };
e28c595f
JM
73host_modules= { module= ppl; lib_path=.libs; bootstrap=true;
74 extra_configure_flags='--disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/';
75 no_install= true;
76 host="none-${host_vendor}-${host_os}";
77 target="none-${host_vendor}-${host_os}"; };
78host_modules= { module= cloog; lib_path=.libs; bootstrap=true;
79 extra_configure_flags='--disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp';
80 no_install= true;
81 host="none-${host_vendor}-${host_os}";
82 target="none-${host_vendor}-${host_os}"; };
405ea7a0 83host_modules= { module= gnuserv; };
93f9b408 84host_modules= { module= gold; bootstrap=true; };
405ea7a0 85host_modules= { module= gprof; };
405ea7a0
NN
86host_modules= { module= gzip; };
87host_modules= { module= hello; };
88host_modules= { module= indent; };
b8908782 89host_modules= { module= intl; bootstrap=true; };
2a4cbe27
NN
90host_modules= { module= tcl;
91 missing=mostlyclean; };
405ea7a0 92host_modules= { module= itcl; };
b8908782 93host_modules= { module= ld; bootstrap=true; };
04cf1b77 94host_modules= { module= libcpp; bootstrap=true; };
be01d343 95host_modules= { module= libdecnumber; bootstrap=true; };
405ea7a0 96host_modules= { module= libgui; };
b8908782 97host_modules= { module= libiberty; bootstrap=true; };
dc448a7b
TT
98// We abuse missing to avoid installing anything for libiconv.
99host_modules= { module= libiconv;
100 extra_configure_flags='--disable-shared';
101 no_install= true;
102 missing= install-info;
103 missing= install-pdf;
104 missing= install-html;
105 missing= install-info; };
405ea7a0
NN
106host_modules= { module= libtool; };
107host_modules= { module= m4; };
108host_modules= { module= make; };
109host_modules= { module= mmalloc; no_check=true; };
110host_modules= { module= patch; };
111host_modules= { module= perl; };
112host_modules= { module= prms; };
113host_modules= { module= rcs; };
114host_modules= { module= readline; };
115host_modules= { module= release; no_install= true; no_check= true; };
116host_modules= { module= recode; };
117host_modules= { module= sed; };
118host_modules= { module= send-pr; };
119host_modules= { module= shellutils; };
120host_modules= { module= sid; };
121host_modules= { module= sim; };
405ea7a0 122host_modules= { module= tar; };
9e6ce191 123host_modules= { module= texinfo; no_install= true; };
405ea7a0
NN
124host_modules= { module= textutils; };
125host_modules= { module= time; };
126host_modules= { module= uudecode; };
127host_modules= { module= wdiff; };
128host_modules= { module= zip; no_check_cross=true; };
b8908782 129host_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; };
72b2455a
PB
130host_modules= { module= gdb; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
131host_modules= { module= expect; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
132host_modules= { module= guile; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
133host_modules= { module= tk; extra_make_flags="$(X11_FLAGS_TO_PASS)"; };
2a4cbe27
NN
134host_modules= { module= libtermcap; no_check=true;
135 missing=mostlyclean;
136 missing=clean;
137 missing=distclean;
138 missing=maintainer-clean; };
3866be5d 139host_modules= { module= utils; no_check=true; };
b00612cc 140host_modules= { module= gnattools; };
907a7241 141
e90269c8
PB
142target_modules = { module= libstdc++-v3; lib_path=.libs; raw_cxx=true; };
143target_modules = { module= libmudflap; lib_path=.libs; };
064d0a7c 144target_modules = { module= libssp; lib_path=.libs; };
907a7241 145target_modules = { module= newlib; };
6aa8ef82 146target_modules = { module= libgcc; bootstrap=true; no_check=true; };
4b1cb4fe 147target_modules = { module= libgfortran; };
907a7241 148target_modules = { module= libobjc; };
b00612cc 149target_modules = { module= libtermcap; no_check=true;
2a4cbe27
NN
150 missing=mostlyclean;
151 missing=clean;
152 missing=distclean;
153 missing=maintainer-clean; };
907a7241
NN
154target_modules = { module= winsup; };
155target_modules = { module= libgloss; no_check=true; };
fc434214 156target_modules = { module= libiberty; };
907a7241
NN
157target_modules = { module= gperf; };
158target_modules = { module= examples; no_check=true; no_install=true; };
50ceb20c 159target_modules = { module= libffi; };
930314a4 160target_modules = { module= libjava; raw_cxx=true; };
b00612cc 161target_modules = { module= zlib; };
907a7241
NN
162target_modules = { module= boehm-gc; };
163target_modules = { module= qthreads; };
dd2768ff 164target_modules = { module= rda; };
a2592b1b 165target_modules = { module= libada; };
b3ded179 166target_modules = { module= libgomp; lib_path=.libs; };
e393202e 167
27b1cc72 168// These are (some of) the make targets to be done in each subdirectory.
e393202e 169// Not all; these are the ones which don't have special options.
2a4cbe27
NN
170// "depend" indicates that a target depends on another target uniformly
171// for each subdirectory. There can be several such lines per target.
172recursive_targets = { make_target= info;
173 depend=configure; };
174recursive_targets = { make_target= dvi;
175 depend=configure; };
56a8fe78
DD
176recursive_targets = { make_target= pdf;
177 depend=configure; };
6d389afc
MS
178recursive_targets = { make_target= html;
179 depend=configure; };
2a4cbe27
NN
180recursive_targets = { make_target= TAGS;
181 depend=configure; };
182recursive_targets = { make_target= install-info;
183 depend=configure;
184 depend=info; };
a3ca38d2
DD
185recursive_targets = { make_target= install-pdf;
186 depend=configure;
187 depend=pdf; };
108a6f8e
CD
188recursive_targets = { make_target= install-html;
189 depend=configure;
190 depend=html; };
2a4cbe27
NN
191recursive_targets = { make_target= installcheck;
192 depend=configure; };
193recursive_targets = { make_target= mostlyclean; };
27b1cc72
NN
194recursive_targets = { make_target= clean; };
195recursive_targets = { make_target= distclean; };
27b1cc72 196recursive_targets = { make_target= maintainer-clean; };
12f0bd74
NN
197
198// Flags which need to be passed down.
199
200// Directories etc.
201flags_to_pass = { flag= DESTDIR ; };
202flags_to_pass = { flag= RPATH_ENVVAR ; };
203flags_to_pass = { flag= TARGET_SUBDIR ; };
204flags_to_pass = { flag= bindir ; };
205flags_to_pass = { flag= datadir ; };
206flags_to_pass = { flag= exec_prefix ; };
207flags_to_pass = { flag= includedir ; };
108a6f8e
CD
208flags_to_pass = { flag= datarootdir ; };
209flags_to_pass = { flag= docdir ; };
12f0bd74 210flags_to_pass = { flag= infodir ; };
a3ca38d2 211flags_to_pass = { flag= pdfdir ; };
108a6f8e 212flags_to_pass = { flag= htmldir ; };
12f0bd74
NN
213flags_to_pass = { flag= libdir ; };
214flags_to_pass = { flag= libexecdir ; };
215flags_to_pass = { flag= lispdir ; };
12f0bd74
NN
216flags_to_pass = { flag= localstatedir ; };
217flags_to_pass = { flag= mandir ; };
218flags_to_pass = { flag= oldincludedir ; };
219flags_to_pass = { flag= prefix ; };
220flags_to_pass = { flag= sbindir ; };
221flags_to_pass = { flag= sharedstatedir ; };
222flags_to_pass = { flag= sysconfdir ; };
223flags_to_pass = { flag= tooldir ; };
224flags_to_pass = { flag= build_tooldir ; };
12f0bd74
NN
225flags_to_pass = { flag= target_alias ; };
226
227// Build tools
228flags_to_pass = { flag= BISON ; };
229flags_to_pass = { flag= CC_FOR_BUILD ; };
b2edd3b5 230flags_to_pass = { flag= CFLAGS_FOR_BUILD ; };
12f0bd74
NN
231flags_to_pass = { flag= CXX_FOR_BUILD ; };
232flags_to_pass = { flag= EXPECT ; };
6a9cf61e 233flags_to_pass = { flag= FLEX ; };
12f0bd74
NN
234flags_to_pass = { flag= INSTALL ; };
235flags_to_pass = { flag= INSTALL_DATA ; };
236flags_to_pass = { flag= INSTALL_PROGRAM ; };
237flags_to_pass = { flag= INSTALL_SCRIPT ; };
6641ce42 238flags_to_pass = { flag= LDFLAGS_FOR_BUILD ; };
12f0bd74
NN
239flags_to_pass = { flag= LEX ; };
240flags_to_pass = { flag= M4 ; };
241flags_to_pass = { flag= MAKE ; };
242flags_to_pass = { flag= RUNTEST ; };
243flags_to_pass = { flag= RUNTESTFLAGS ; };
244flags_to_pass = { flag= SHELL ; };
245flags_to_pass = { flag= YACC ; };
246
247// Host tools
c52c6897 248flags_to_pass = { flag= ADAFLAGS ; optional=true ; };
da888c87 249flags_to_pass = { flag= ADA_CFLAGS ; };
12f0bd74 250flags_to_pass = { flag= AR_FLAGS ; };
c52c6897 251flags_to_pass = { flag= BOOT_ADAFLAGS ; optional=true ; };
f6d183c0
PB
252flags_to_pass = { flag= BOOT_CFLAGS ; };
253flags_to_pass = { flag= BOOT_LDFLAGS ; };
12f0bd74
NN
254flags_to_pass = { flag= CFLAGS ; };
255flags_to_pass = { flag= CXXFLAGS ; };
256flags_to_pass = { flag= LDFLAGS ; };
257flags_to_pass = { flag= LIBCFLAGS ; };
258flags_to_pass = { flag= LIBCXXFLAGS ; };
8a0d8a5c 259flags_to_pass = { flag= STAGE1_CHECKING ; };
80911fe1 260flags_to_pass = { flag= STAGE1_LANGUAGES ; };
a0323144
PB
261flags_to_pass = { flag= GNATBIND ; };
262flags_to_pass = { flag= GNATMAKE ; };
12f0bd74
NN
263
264// Target tools
265flags_to_pass = { flag= AR_FOR_TARGET ; };
266flags_to_pass = { flag= AS_FOR_TARGET ; };
267flags_to_pass = { flag= CC_FOR_TARGET ; };
268flags_to_pass = { flag= CFLAGS_FOR_TARGET ; };
06bcb89d 269flags_to_pass = { flag= CPPFLAGS_FOR_TARGET ; };
12f0bd74
NN
270flags_to_pass = { flag= CXX_FOR_TARGET ; };
271flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; };
272flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; };
1b05fbbd 273flags_to_pass = { flag= FLAGS_FOR_TARGET ; };
12f0bd74 274flags_to_pass = { flag= GCJ_FOR_TARGET ; };
4b1cb4fe 275flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; };
12f0bd74 276flags_to_pass = { flag= LD_FOR_TARGET ; };
7e0f7140 277flags_to_pass = { flag= LIPO_FOR_TARGET ; };
414e5532 278flags_to_pass = { flag= LDFLAGS_FOR_TARGET ; };
12f0bd74
NN
279flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; };
280flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; };
281flags_to_pass = { flag= NM_FOR_TARGET ; };
5ae72758 282flags_to_pass = { flag= OBJDUMP_FOR_TARGET ; };
12f0bd74 283flags_to_pass = { flag= RANLIB_FOR_TARGET ; };
7e0f7140 284flags_to_pass = { flag= STRIP_FOR_TARGET ; };
12f0bd74 285flags_to_pass = { flag= WINDRES_FOR_TARGET ; };
0c24b341 286flags_to_pass = { flag= WINDMC_FOR_TARGET ; };
dfdffa2c 287
80911fe1 288// Miscellaneous
1b05fbbd 289flags_to_pass = { flag= BUILD_CONFIG ; };
c52c6897 290flags_to_pass = { flag= LANGUAGES ; optional=true ; };
80911fe1
PB
291flags_to_pass = { flag= LEAN ; };
292
9e6ce191
PB
293// Inter-module dependencies
294
295// Build modules
296dependencies = { module=all-build-bison; on=all-build-texinfo; };
297dependencies = { module=all-build-byacc; on=all-build-texinfo; };
298dependencies = { module=all-build-flex; on=all-build-texinfo; };
299dependencies = { module=all-build-flex; on=all-build-bison; };
300dependencies = { module=all-build-flex; on=all-build-byacc; };
301dependencies = { module=all-build-flex; on=all-build-m4; };
302dependencies = { module=all-build-libiberty; on=all-build-texinfo; };
303dependencies = { module=all-build-m4; on=all-build-texinfo; };
ee025550 304dependencies = { module=all-build-fixincludes; on=all-build-libiberty; };
9e6ce191
PB
305
306// Host modules specific to gcc.
307dependencies = { module=configure-gcc; on=configure-intl; };
c60fe18b
PB
308dependencies = { module=configure-gcc; on=all-binutils; };
309dependencies = { module=configure-gcc; on=all-gas; };
310dependencies = { module=configure-gcc; on=all-ld; };
93f9b408 311dependencies = { module=configure-gcc; on=all-gold; };
9e6ce191 312dependencies = { module=all-gcc; on=all-libiberty; hard=true; };
4b900473 313dependencies = { module=all-gcc; on=all-gmp; };
9e6ce191 314dependencies = { module=all-gcc; on=all-intl; };
4b900473 315dependencies = { module=all-gcc; on=all-mpfr; };
e28c595f
JM
316dependencies = { module=all-gcc; on=all-ppl; };
317dependencies = { module=all-gcc; on=all-cloog; };
72b2455a
PB
318dependencies = { module=all-gcc; on=all-build-texinfo; };
319dependencies = { module=all-gcc; on=all-build-bison; };
320dependencies = { module=all-gcc; on=all-build-byacc; };
321dependencies = { module=all-gcc; on=all-build-flex; };
ee025550
PB
322dependencies = { module=all-gcc; on=all-build-libiberty; };
323dependencies = { module=all-gcc; on=all-build-fixincludes; };
9e6ce191 324dependencies = { module=all-gcc; on=all-zlib; };
9e6ce191 325dependencies = { module=all-gcc; on=all-libcpp; hard=true; };
be01d343 326dependencies = { module=all-gcc; on=all-libdecnumber; hard=true; };
d3ed111c
GK
327dependencies = { module=all-gcc; on=all-libiberty; };
328dependencies = { module=all-gcc; on=all-fixincludes; };
69e57115 329dependencies = { module=install-gcc ; on=install-fixincludes; };
9e6ce191
PB
330
331dependencies = { module=configure-libcpp; on=configure-libiberty; hard=true; };
332dependencies = { module=configure-libcpp; on=configure-intl; };
333dependencies = { module=all-libcpp; on=all-libiberty; hard=true; };
334dependencies = { module=all-libcpp; on=all-intl; };
335
d3ed111c
GK
336dependencies = { module=all-fixincludes; on=all-libiberty; };
337
b00612cc
PB
338dependencies = { module=all-gnattools; on=all-target-libada; };
339
4b900473 340dependencies = { module=configure-mpfr; on=all-gmp; };
e28c595f
JM
341dependencies = { module=configure-ppl; on=all-gmp; };
342dependencies = { module=configure-ppl; on=all-mpfr; };
343dependencies = { module=configure-cloog; on=all-ppl; };
4b900473 344
9e6ce191 345// Host modules specific to gdb.
7b3200f9 346dependencies = { module=configure-gdb; on=all-intl; };
9e6ce191 347dependencies = { module=configure-gdb; on=configure-sim; };
31d99776 348dependencies = { module=configure-gdb; on=all-bfd; };
dc448a7b
TT
349// Depend on all-libiconv so that configure checks for iconv
350// functions will work.
351dependencies = { module=configure-gdb; on=all-libiconv; };
9e6ce191 352dependencies = { module=all-gdb; on=all-libiberty; };
dc448a7b 353dependencies = { module=all-gdb; on=all-libiconv; };
9e6ce191 354dependencies = { module=all-gdb; on=all-opcodes; };
9e6ce191 355dependencies = { module=all-gdb; on=all-readline; };
72b2455a
PB
356dependencies = { module=all-gdb; on=all-build-bison; };
357dependencies = { module=all-gdb; on=all-build-byacc; };
9e6ce191 358dependencies = { module=all-gdb; on=all-sim; };
5074315a 359dependencies = { module=all-gdb; on=all-libdecnumber; };
9e6ce191
PB
360
361dependencies = { module=configure-libgui; on=configure-tcl; };
362dependencies = { module=configure-libgui; on=configure-tk; };
363dependencies = { module=all-libgui; on=all-tcl; };
364dependencies = { module=all-libgui; on=all-tk; };
365dependencies = { module=all-libgui; on=all-itcl; };
366
367// Host modules specific to binutils.
368dependencies = { module=configure-bfd; on=configure-libiberty; hard=true; };
20e95c23 369dependencies = { module=configure-bfd; on=configure-intl; };
9e6ce191
PB
370dependencies = { module=all-bfd; on=all-libiberty; };
371dependencies = { module=all-bfd; on=all-intl; };
66775d67
AM
372dependencies = { module=configure-opcodes; on=configure-libiberty; hard=true; };
373dependencies = { module=all-opcodes; on=all-libiberty; };
9e6ce191 374
20e95c23 375dependencies = { module=configure-binutils; on=configure-intl; };
9e6ce191
PB
376dependencies = { module=all-binutils; on=all-libiberty; };
377dependencies = { module=all-binutils; on=all-opcodes; };
378dependencies = { module=all-binutils; on=all-bfd; };
72b2455a
PB
379dependencies = { module=all-binutils; on=all-build-flex; };
380dependencies = { module=all-binutils; on=all-build-bison; };
381dependencies = { module=all-binutils; on=all-build-byacc; };
9e6ce191
PB
382dependencies = { module=all-binutils; on=all-intl; };
383
384// We put install-opcodes before install-binutils because the installed
385// binutils might be on PATH, and they might need the shared opcodes
386// library.
387dependencies = { module=install-binutils; on=install-opcodes; };
388
389// libopcodes depends on libbfd
390dependencies = { module=install-opcodes; on=install-bfd; };
391
20e95c23 392dependencies = { module=configure-gas; on=configure-intl; };
9e6ce191
PB
393dependencies = { module=all-gas; on=all-libiberty; };
394dependencies = { module=all-gas; on=all-opcodes; };
395dependencies = { module=all-gas; on=all-bfd; };
396dependencies = { module=all-gas; on=all-intl; };
20e95c23 397dependencies = { module=configure-gprof; on=configure-intl; };
9e6ce191
PB
398dependencies = { module=all-gprof; on=all-libiberty; };
399dependencies = { module=all-gprof; on=all-bfd; };
400dependencies = { module=all-gprof; on=all-opcodes; };
401dependencies = { module=all-gprof; on=all-intl; };
20e95c23 402dependencies = { module=configure-ld; on=configure-intl; };
9e6ce191
PB
403dependencies = { module=all-ld; on=all-libiberty; };
404dependencies = { module=all-ld; on=all-bfd; };
405dependencies = { module=all-ld; on=all-opcodes; };
72b2455a
PB
406dependencies = { module=all-ld; on=all-build-bison; };
407dependencies = { module=all-ld; on=all-build-byacc; };
408dependencies = { module=all-ld; on=all-build-flex; };
9e6ce191 409dependencies = { module=all-ld; on=all-intl; };
93f9b408
ILT
410dependencies = { module=configure-gold; on=configure-intl; };
411dependencies = { module=all-gold; on=all-libiberty; };
412dependencies = { module=all-gold; on=all-intl; };
413dependencies = { module=all-gold; on=all-bfd; };
414dependencies = { module=all-gold; on=all-build-bison; };
415dependencies = { module=all-gold; on=all-build-byacc; };
e5164e97 416dependencies = { module=check-gold; on=all-binutils; };
9e6ce191 417
7206a0ee 418dependencies = { module=configure-opcodes; on=configure-intl; };
9e6ce191
PB
419dependencies = { module=all-opcodes; on=all-bfd; };
420dependencies = { module=all-opcodes; on=all-libiberty; };
7206a0ee 421dependencies = { module=all-opcodes; on=all-intl; };
9e6ce191
PB
422
423// Other host modules in the 'src' repository.
424dependencies = { module=all-dejagnu; on=all-tcl; };
425dependencies = { module=all-dejagnu; on=all-expect; };
426dependencies = { module=all-dejagnu; on=all-tk; };
427dependencies = { module=configure-expect; on=configure-tcl; };
428dependencies = { module=configure-expect; on=configure-tk; };
429dependencies = { module=all-expect; on=all-tcl; };
430dependencies = { module=all-expect; on=all-tk; };
431
432// We put install-tcl before install-itcl because itcl wants to run a
433// program on installation which uses the Tcl libraries.
434dependencies = { module=configure-itcl; on=configure-tcl; };
435dependencies = { module=configure-itcl; on=configure-tk; };
436dependencies = { module=all-itcl; on=all-tcl; };
437dependencies = { module=all-itcl; on=all-tk; };
438dependencies = { module=install-itcl; on=install-tcl; };
439
440dependencies = { module=configure-tk; on=configure-tcl; };
441dependencies = { module=all-tk; on=all-tcl; };
9e6ce191
PB
442
443dependencies = { module=all-sid; on=all-libiberty; };
444dependencies = { module=all-sid; on=all-bfd; };
445dependencies = { module=all-sid; on=all-opcodes; };
446dependencies = { module=all-sid; on=all-tcl; };
447dependencies = { module=all-sid; on=all-tk; };
448dependencies = { module=install-sid; on=install-tcl; };
449dependencies = { module=install-sid; on=install-tk; };
450
20e95c23
DJ
451dependencies = { module=configure-sim; on=configure-intl; };
452dependencies = { module=all-sim; on=all-intl; };
9e6ce191
PB
453dependencies = { module=all-sim; on=all-libiberty; };
454dependencies = { module=all-sim; on=all-bfd; };
455dependencies = { module=all-sim; on=all-opcodes; };
456dependencies = { module=all-sim; on=all-readline; };
457dependencies = { module=all-sim; on=configure-gdb; };
458
459// Other host modules.
460dependencies = { module=all-fastjar; on=all-zlib; };
72b2455a 461dependencies = { module=all-fastjar; on=all-build-texinfo; };
9e6ce191
PB
462dependencies = { module=all-fastjar; on=all-libiberty; };
463
464// Warning, these are not well tested.
465dependencies = { module=all-autoconf; on=all-m4; };
72b2455a 466dependencies = { module=all-autoconf; on=all-build-texinfo; };
9e6ce191 467dependencies = { module=all-automake; on=all-m4; };
72b2455a 468dependencies = { module=all-automake; on=all-build-texinfo; };
9e6ce191
PB
469dependencies = { module=all-automake; on=all-autoconf; };
470dependencies = { module=all-bison; on=all-intl; };
72b2455a 471dependencies = { module=all-bison; on=all-build-texinfo; };
9e6ce191 472dependencies = { module=all-diff; on=all-intl; };
72b2455a 473dependencies = { module=all-diff; on=all-build-texinfo; };
9e6ce191 474dependencies = { module=all-fileutils; on=all-intl; };
72b2455a
PB
475dependencies = { module=all-fileutils; on=all-build-texinfo; };
476dependencies = { module=all-flex; on=all-build-bison; };
477dependencies = { module=all-flex; on=all-build-byacc; };
9e6ce191
PB
478dependencies = { module=all-flex; on=all-intl; };
479dependencies = { module=all-flex; on=all-m4; };
72b2455a 480dependencies = { module=all-flex; on=all-build-texinfo; };
9e6ce191
PB
481dependencies = { module=all-gzip; on=all-intl; };
482dependencies = { module=all-gzip; on=all-zlib; };
72b2455a 483dependencies = { module=all-gzip; on=all-build-texinfo; };
9e6ce191 484dependencies = { module=all-hello; on=all-intl; };
72b2455a 485dependencies = { module=all-hello; on=all-build-texinfo; };
9e6ce191 486dependencies = { module=all-m4; on=all-intl; };
72b2455a 487dependencies = { module=all-m4; on=all-build-texinfo; };
9e6ce191 488dependencies = { module=all-make; on=all-intl; };
72b2455a
PB
489dependencies = { module=all-make; on=all-build-texinfo; };
490dependencies = { module=all-patch; on=all-build-texinfo; };
491dependencies = { module=all-make; on=all-build-texinfo; };
9e6ce191 492dependencies = { module=all-prms; on=all-libiberty; };
72b2455a
PB
493dependencies = { module=all-recode; on=all-build-texinfo; };
494dependencies = { module=all-sed; on=all-build-texinfo; };
9e6ce191 495dependencies = { module=all-send-pr; on=all-prms; };
72b2455a
PB
496dependencies = { module=all-tar; on=all-build-texinfo; };
497dependencies = { module=all-uudecode; on=all-build-texinfo; };
9e6ce191
PB
498
499// Target modules. These can also have dependencies on the language
6aa8ef82
DJ
500// environment (e.g. on libstdc++). By default target modules depend
501// on libgcc and newlib/libgloss.
9e6ce191 502lang_env_dependencies = { module=gperf; cxx=true; };
9e6ce191 503lang_env_dependencies = { module=libjava; cxx=true; };
6aa8ef82
DJ
504lang_env_dependencies = { module=newlib; no_c=true; };
505lang_env_dependencies = { module=libgloss; no_c=true; };
506lang_env_dependencies = { module=libgcc; no_gcc=true; no_c=true; };
507// libiberty does not depend on newlib or libgloss because it must be
508// built newlib on some targets (e.g. Cygwin). It still needs
509// a dependency on libgcc for native targets to configure.
510lang_env_dependencies = { module=libiberty; no_c=true; };
9e6ce191
PB
511
512dependencies = { module=configure-target-boehm-gc; on=configure-target-qthreads; };
f7c83eac 513dependencies = { module=configure-target-boehm-gc; on=all-target-libstdc++-v3; };
9e6ce191
PB
514dependencies = { module=configure-target-fastjar; on=configure-target-zlib; };
515dependencies = { module=all-target-fastjar; on=all-target-zlib; };
516dependencies = { module=all-target-fastjar; on=all-target-libiberty; };
517dependencies = { module=configure-target-libjava; on=configure-target-zlib; };
518dependencies = { module=configure-target-libjava; on=configure-target-boehm-gc; };
519dependencies = { module=configure-target-libjava; on=configure-target-qthreads; };
520dependencies = { module=configure-target-libjava; on=configure-target-libffi; };
521dependencies = { module=all-target-libjava; on=all-fastjar; };
522dependencies = { module=all-target-libjava; on=all-target-zlib; };
523dependencies = { module=all-target-libjava; on=all-target-boehm-gc; };
524dependencies = { module=all-target-libjava; on=all-target-qthreads; };
525dependencies = { module=all-target-libjava; on=all-target-libffi; };
4f0ef2d8 526dependencies = { module=configure-target-libobjc; on=configure-target-boehm-gc; };
9e6ce191 527dependencies = { module=all-target-libobjc; on=all-target-libiberty; };
4f0ef2d8 528dependencies = { module=all-target-libobjc; on=all-target-boehm-gc; };
9e6ce191 529dependencies = { module=all-target-libstdc++-v3; on=all-target-libiberty; };
cff87f51 530dependencies = { module=configure-target-libstdc++-v3; on=configure-target-libgomp; };
9e6ce191
PB
531
532// Target modules in the 'src' repository.
533lang_env_dependencies = { module=examples; };
534lang_env_dependencies = { module=libtermcap; };
535lang_env_dependencies = { module=rda; };
536lang_env_dependencies = { module=winsup; };
537lang_env_dependencies = { module=qthreads; };
538
2c133ff9 539dependencies = { module=all-target-libgloss; on=all-target-newlib; };
9e6ce191
PB
540dependencies = { module=all-target-winsup; on=all-target-libiberty; };
541dependencies = { module=all-target-winsup; on=all-target-libtermcap; };
542
c50523ce
L
543languages = { language=c; gcc-check-target=check-gcc; };
544languages = { language=c++; gcc-check-target=check-c++;
545 lib-check-target=check-target-libstdc++-v3; };
546languages = { language=fortran; gcc-check-target=check-fortran;
547 lib-check-target=check-target-libgfortran; };
548languages = { language=java; gcc-check-target=check-java;
549 lib-check-target=check-target-libjava; };
550languages = { language=ada; gcc-check-target=check-ada;
551 lib-check-target=check-target-libada; };
552languages = { language=objc; gcc-check-target=check-objc;
553 lib-check-target=check-target-libobjc; };
554languages = { language=obj-c++; gcc-check-target=check-obj-c++; };
555
dfdffa2c 556// Toplevel bootstrap
1b05fbbd 557bootstrap_stage = { id=1 ; };
dfdffa2c 558bootstrap_stage = {
656fdd47 559 id=2 ; prev=1 ;
1b05fbbd 560 bootstrap_target=bootstrap2 ; };
dfdffa2c 561bootstrap_stage = {
9cb3fa6f 562 id=3 ; prev=2 ; lean=1 ;
dfdffa2c 563 compare_target=compare ;
319cab08 564 bootstrap_target=bootstrap ;
1b05fbbd 565 cleanstrap_target=cleanstrap ; };
319cab08 566bootstrap_stage = {
9cb3fa6f 567 id=4 ; prev=3 ; lean=2 ;
319cab08 568 compare_target=compare3 ;
1b05fbbd 569 bootstrap_target=bootstrap4 ; };
656fdd47 570bootstrap_stage = {
1b05fbbd 571 id=profile ; prev=1 ; };
656fdd47 572bootstrap_stage = {
7d329e61 573 id=feedback ; prev=profile ;
1b05fbbd 574 bootstrap_target=profiledbootstrap ; };