]> git.ipfire.org Git - thirdparty/gcc.git/blame - Makefile.def
Makefile.def (build_modules): Add bison, byacc, flex, m4, texinfo.
[thirdparty/gcc.git] / Makefile.def
CommitLineData
95ddd785
NN
1#! /usr/bin/autogen
2AutoGen definitions Makefile.tpl;
3
1358ccea
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
4977bab6 27build_modules= { module= libiberty; };
6de9cd9a 28build_modules= { module= libbanshee; };
23f6b2f9
PB
29build_modules= { module= bison; };
30build_modules= { module= byacc; };
31build_modules= { module= flex; };
32build_modules= { module= m4; };
33build_modules= { module= texinfo; };
4977bab6 34
95ddd785
NN
35host_modules= { module= ash; };
36host_modules= { module= autoconf; };
37host_modules= { module= automake; };
38host_modules= { module= bash; };
39host_modules= { module= bfd; };
95ddd785 40host_modules= { module= opcodes; };
e11283f1
PB
41host_modules= { module= binutils; bootstrap=true; };
42host_modules= { module= bison; no_check_cross= true; bootstrap=true; };
43host_modules= { module= byacc; no_check_cross= true; bootstrap=true; };
95ddd785 44host_modules= { module= bzip2; };
95ddd785
NN
45host_modules= { module= dejagnu; };
46host_modules= { module= diff; };
47host_modules= { module= dosutils; no_check= true; };
48host_modules= { module= etc; };
49host_modules= { module= fastjar; no_check_cross= true; };
50host_modules= { module= fileutils; };
51host_modules= { module= findutils; };
52host_modules= { module= find; };
53host_modules= { module= flex; no_check_cross= true; };
e11283f1 54host_modules= { module= gas; bootstrap=true; };
95ddd785
NN
55host_modules= { module= gawk; };
56host_modules= { module= gettext; };
57host_modules= { module= gnuserv; };
58host_modules= { module= gprof; };
95ddd785
NN
59host_modules= { module= gzip; };
60host_modules= { module= hello; };
61host_modules= { module= indent; };
e11283f1 62host_modules= { module= intl; bootstrap=true; };
1358ccea
NN
63host_modules= { module= tcl;
64 missing=mostlyclean; };
95ddd785 65host_modules= { module= itcl; };
e11283f1 66host_modules= { module= ld; bootstrap=true; };
4f4e53dd 67host_modules= { module= libcpp; bootstrap=true; };
95ddd785 68host_modules= { module= libgui; };
6de9cd9a 69host_modules= { module= libbanshee; bootstrap=true; no_install=true; };
e11283f1 70host_modules= { module= libiberty; bootstrap=true; };
95ddd785
NN
71host_modules= { module= libtool; };
72host_modules= { module= m4; };
73host_modules= { module= make; };
74host_modules= { module= mmalloc; no_check=true; };
75host_modules= { module= patch; };
76host_modules= { module= perl; };
77host_modules= { module= prms; };
78host_modules= { module= rcs; };
79host_modules= { module= readline; };
80host_modules= { module= release; no_install= true; no_check= true; };
81host_modules= { module= recode; };
82host_modules= { module= sed; };
83host_modules= { module= send-pr; };
84host_modules= { module= shellutils; };
85host_modules= { module= sid; };
86host_modules= { module= sim; };
95ddd785 87host_modules= { module= tar; };
e11283f1 88host_modules= { module= texinfo; no_install= true; bootstrap=true; };
95ddd785
NN
89host_modules= { module= textutils; };
90host_modules= { module= time; };
91host_modules= { module= uudecode; };
92host_modules= { module= wdiff; };
93host_modules= { module= zip; no_check_cross=true; };
e11283f1 94host_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; };
4977bab6
ZW
95host_modules= { module= gdb; with_x=true; };
96host_modules= { module= expect; with_x=true; };
97host_modules= { module= guile; with_x=true; };
98host_modules= { module= tk; with_x=true; };
99host_modules= { module= tix; with_x=true; };
1358ccea
NN
100host_modules= { module= libtermcap; no_check=true;
101 missing=mostlyclean;
102 missing=clean;
103 missing=distclean;
104 missing=maintainer-clean; };
4977bab6 105host_modules= { module= utils; no_check=true; };
1db75a86 106
4977bab6 107target_modules = { module= libstdc++-v3; raw_cxx=true; };
6de9cd9a 108target_modules = { module= libmudflap; };
1db75a86 109target_modules = { module= newlib; };
6de9cd9a 110target_modules = { module= libgfortran; };
1db75a86 111target_modules = { module= libobjc; };
2c4de30b 112target_modules = { module= libtermcap; no_check=true; stage=true;
1358ccea
NN
113 missing=mostlyclean;
114 missing=clean;
115 missing=distclean;
116 missing=maintainer-clean; };
1db75a86
NN
117target_modules = { module= winsup; };
118target_modules = { module= libgloss; no_check=true; };
fa2f0306 119target_modules = { module= libiberty; };
1db75a86
NN
120target_modules = { module= gperf; };
121target_modules = { module= examples; no_check=true; no_install=true; };
89a7012a 122target_modules = { module= libffi; };
4977bab6 123target_modules = { module= libjava; raw_cxx=true; };
2c4de30b 124target_modules = { module= zlib; stage=true; };
1db75a86
NN
125target_modules = { module= boehm-gc; };
126target_modules = { module= qthreads; };
40673d2b 127target_modules = { module= rda; };
d9cdb878 128target_modules = { module= libada; };
4977bab6 129
1a1e6b96 130// These are (some of) the make targets to be done in each subdirectory.
4977bab6 131// Not all; these are the ones which don't have special options.
1358ccea
NN
132// "depend" indicates that a target depends on another target uniformly
133// for each subdirectory. There can be several such lines per target.
134recursive_targets = { make_target= info;
135 depend=configure; };
136recursive_targets = { make_target= dvi;
137 depend=configure; };
138recursive_targets = { make_target= TAGS;
139 depend=configure; };
140recursive_targets = { make_target= install-info;
141 depend=configure;
142 depend=info; };
143recursive_targets = { make_target= installcheck;
144 depend=configure; };
145recursive_targets = { make_target= mostlyclean; };
1a1e6b96
NN
146recursive_targets = { make_target= clean; };
147recursive_targets = { make_target= distclean; };
1a1e6b96 148recursive_targets = { make_target= maintainer-clean; };
11405c93
NN
149
150// Flags which need to be passed down.
151
152// Directories etc.
153flags_to_pass = { flag= DESTDIR ; };
154flags_to_pass = { flag= RPATH_ENVVAR ; };
155flags_to_pass = { flag= TARGET_SUBDIR ; };
632933d5
PB
156flags_to_pass = { flag= bindir ; };
157flags_to_pass = { flag= datadir ; };
158flags_to_pass = { flag= exec_prefix ; };
159flags_to_pass = { flag= includedir ; };
160flags_to_pass = { flag= infodir ; };
161flags_to_pass = { flag= libdir ; };
162flags_to_pass = { flag= libexecdir ; };
163flags_to_pass = { flag= lispdir ; };
11405c93 164flags_to_pass = { flag= libstdcxx_incdir ; };
632933d5
PB
165flags_to_pass = { flag= libsubdir ; };
166flags_to_pass = { flag= localstatedir ; };
167flags_to_pass = { flag= mandir ; };
11405c93 168flags_to_pass = { flag= oldincludedir ; };
632933d5
PB
169flags_to_pass = { flag= prefix ; };
170flags_to_pass = { flag= sbindir ; };
171flags_to_pass = { flag= sharedstatedir ; };
172flags_to_pass = { flag= sysconfdir ; };
11405c93
NN
173flags_to_pass = { flag= tooldir ; };
174flags_to_pass = { flag= build_tooldir ; };
175flags_to_pass = { flag= gxx_include_dir ; };
176flags_to_pass = { flag= gcc_version ; };
177flags_to_pass = { flag= gcc_version_trigger ; };
178flags_to_pass = { flag= target_alias ; };
179
180// Build tools
181flags_to_pass = { flag= BISON ; };
72c19c0b 182flags_to_pass = { flag= CC_FOR_BUILD ; };
11405c93
NN
183flags_to_pass = { flag= CXX_FOR_BUILD ; };
184flags_to_pass = { flag= EXPECT ; };
23f6b2f9 185flags_to_pass = { flag= FLEX ; };
11405c93
NN
186flags_to_pass = { flag= INSTALL ; };
187flags_to_pass = { flag= INSTALL_DATA ; };
188flags_to_pass = { flag= INSTALL_PROGRAM ; };
189flags_to_pass = { flag= INSTALL_SCRIPT ; };
190flags_to_pass = { flag= LEX ; };
191flags_to_pass = { flag= M4 ; };
192flags_to_pass = { flag= MAKE ; };
193flags_to_pass = { flag= RUNTEST ; };
194flags_to_pass = { flag= RUNTESTFLAGS ; };
195flags_to_pass = { flag= SHELL ; };
196flags_to_pass = { flag= YACC ; };
197
198// Host tools
199flags_to_pass = { flag= AR_FLAGS ; };
200flags_to_pass = { flag= CFLAGS ; };
201flags_to_pass = { flag= CXXFLAGS ; };
202flags_to_pass = { flag= LDFLAGS ; };
203flags_to_pass = { flag= LIBCFLAGS ; };
204flags_to_pass = { flag= LIBCXXFLAGS ; };
205
206// Target tools
207flags_to_pass = { flag= AR_FOR_TARGET ; };
208flags_to_pass = { flag= AS_FOR_TARGET ; };
209flags_to_pass = { flag= CC_FOR_TARGET ; };
210flags_to_pass = { flag= CFLAGS_FOR_TARGET ; };
211flags_to_pass = { flag= CXX_FOR_TARGET ; };
212flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; };
213flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; };
214flags_to_pass = { flag= GCJ_FOR_TARGET ; };
6de9cd9a 215flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; };
11405c93
NN
216flags_to_pass = { flag= LD_FOR_TARGET ; };
217flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; };
218flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; };
219flags_to_pass = { flag= NM_FOR_TARGET ; };
220flags_to_pass = { flag= RANLIB_FOR_TARGET ; };
221flags_to_pass = { flag= WINDRES_FOR_TARGET ; };
148907ea
PB
222
223// Toplevel bootstrap
224bootstrap_stage = {
ad6717df 225 id=1 ;
148907ea
PB
226 extra_configure_flags='--disable-intermodule \
227 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"' ;
228 extra_make_flags='CFLAGS="$(STAGE1_CFLAGS)"' ; };
229bootstrap_stage = {
ad6717df 230 id=2 ; prev=1 ;
1ec4e9c3 231 bootstrap_target=bootstrap2 ;
148907ea 232 extra_configure_flags="@stage2_werror_flag@" ;
ad6717df 233 extra_make_flags="" ; };
148907ea 234bootstrap_stage = {
ad6717df 235 id=3 ; prev=2 ;
148907ea 236 compare_target=compare ;
f516a7da
PB
237 bootstrap_target=bootstrap ;
238 cleanstrap_target=cleanstrap ;
239 extra_configure_flags="@stage2_werror_flag@" ;
ad6717df 240 extra_make_flags="" ; };
f516a7da
PB
241bootstrap_stage = {
242 id=4 ; prev=3 ;
243 compare_target=compare3 ;
244 bootstrap_target=bootstrap4 ;
148907ea 245 extra_configure_flags="@stage2_werror_flag@" ;
ad6717df
PB
246 extra_make_flags="" ; };
247bootstrap_stage = {
248 id=profile ; prev=1 ;
249 extra_configure_flags="@stage2_werror_flag@" ;
250 extra_make_flags='CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"' ; };
251bootstrap_stage = {
252 id=feedback ; prev=1 ;
253 extra_configure_flags="@stage2_werror_flag@" ;
254 extra_make_flags='CFLAGS="$(BOOT_CFLAGS) -fprofile-use"' ; };