OSDN Git Service

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