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