OSDN Git Service

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