Commit | Line | Data |
---|---|---|
405ea7a0 NN |
1 | #! /usr/bin/autogen |
2 | AutoGen 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 | // | |
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 | ||
e393202e | 27 | build_modules= { module= libiberty; }; |
4b1cb4fe | 28 | build_modules= { module= libbanshee; }; |
6a9cf61e PB |
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; }; | |
e393202e | 34 | |
405ea7a0 NN |
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; }; | |
405ea7a0 | 40 | host_modules= { module= opcodes; }; |
b8908782 DD |
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; }; | |
405ea7a0 | 44 | host_modules= { module= bzip2; }; |
405ea7a0 NN |
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; }; | |
b8908782 | 54 | host_modules= { module= gas; bootstrap=true; }; |
405ea7a0 NN |
55 | host_modules= { module= gawk; }; |
56 | host_modules= { module= gettext; }; | |
57 | host_modules= { module= gnuserv; }; | |
58 | host_modules= { module= gprof; }; | |
405ea7a0 NN |
59 | host_modules= { module= gzip; }; |
60 | host_modules= { module= hello; }; | |
61 | host_modules= { module= indent; }; | |
b8908782 | 62 | host_modules= { module= intl; bootstrap=true; }; |
2a4cbe27 NN |
63 | host_modules= { module= tcl; |
64 | missing=mostlyclean; }; | |
405ea7a0 | 65 | host_modules= { module= itcl; }; |
b8908782 | 66 | host_modules= { module= ld; bootstrap=true; }; |
04cf1b77 | 67 | host_modules= { module= libcpp; bootstrap=true; }; |
405ea7a0 | 68 | host_modules= { module= libgui; }; |
4b1cb4fe | 69 | host_modules= { module= libbanshee; bootstrap=true; no_install=true; }; |
b8908782 | 70 | host_modules= { module= libiberty; bootstrap=true; }; |
405ea7a0 NN |
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; }; | |
405ea7a0 | 87 | host_modules= { module= tar; }; |
b8908782 | 88 | host_modules= { module= texinfo; no_install= true; bootstrap=true; }; |
405ea7a0 NN |
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; }; | |
b8908782 | 94 | host_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; }; |
852e5f18 NN |
95 | host_modules= { module= gdb; with_x=true; }; |
96 | host_modules= { module= expect; with_x=true; }; | |
97 | host_modules= { module= guile; with_x=true; }; | |
852e5f18 NN |
98 | host_modules= { module= tk; with_x=true; }; |
99 | host_modules= { module= tix; with_x=true; }; | |
2a4cbe27 NN |
100 | host_modules= { module= libtermcap; no_check=true; |
101 | missing=mostlyclean; | |
102 | missing=clean; | |
103 | missing=distclean; | |
104 | missing=maintainer-clean; }; | |
3866be5d | 105 | host_modules= { module= utils; no_check=true; }; |
907a7241 | 106 | |
930314a4 | 107 | target_modules = { module= libstdc++-v3; raw_cxx=true; }; |
4b1cb4fe | 108 | target_modules = { module= libmudflap; }; |
907a7241 | 109 | target_modules = { module= newlib; }; |
4b1cb4fe | 110 | target_modules = { module= libgfortran; }; |
907a7241 | 111 | target_modules = { module= libobjc; }; |
a6d6062d | 112 | target_modules = { module= libtermcap; no_check=true; stage=true; |
2a4cbe27 NN |
113 | missing=mostlyclean; |
114 | missing=clean; | |
115 | missing=distclean; | |
116 | missing=maintainer-clean; }; | |
907a7241 NN |
117 | target_modules = { module= winsup; }; |
118 | target_modules = { module= libgloss; no_check=true; }; | |
fc434214 | 119 | target_modules = { module= libiberty; }; |
907a7241 NN |
120 | target_modules = { module= gperf; }; |
121 | target_modules = { module= examples; no_check=true; no_install=true; }; | |
50ceb20c | 122 | target_modules = { module= libffi; }; |
930314a4 | 123 | target_modules = { module= libjava; raw_cxx=true; }; |
a6d6062d | 124 | target_modules = { module= zlib; stage=true; }; |
907a7241 NN |
125 | target_modules = { module= boehm-gc; }; |
126 | target_modules = { module= qthreads; }; | |
dd2768ff | 127 | target_modules = { module= rda; }; |
a2592b1b | 128 | target_modules = { module= libada; }; |
e393202e | 129 | |
27b1cc72 | 130 | // These are (some of) the make targets to be done in each subdirectory. |
e393202e | 131 | // Not all; these are the ones which don't have special options. |
2a4cbe27 NN |
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; }; | |
27b1cc72 NN |
146 | recursive_targets = { make_target= clean; }; |
147 | recursive_targets = { make_target= distclean; }; | |
27b1cc72 | 148 | recursive_targets = { make_target= maintainer-clean; }; |
12f0bd74 NN |
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 ; }; | |
6a9cf61e | 185 | flags_to_pass = { flag= FLEX ; }; |
12f0bd74 NN |
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 ; }; | |
4b1cb4fe | 215 | flags_to_pass = { flag= GFORTRAN_FOR_TARGET ; }; |
12f0bd74 NN |
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 ; }; | |
dfdffa2c PB |
222 | |
223 | // Toplevel bootstrap | |
224 | bootstrap_stage = { | |
656fdd47 | 225 | id=1 ; |
dfdffa2c PB |
226 | extra_configure_flags='--disable-intermodule \ |
227 | --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"' ; | |
228 | extra_make_flags='CFLAGS="$(STAGE1_CFLAGS)"' ; }; | |
229 | bootstrap_stage = { | |
656fdd47 | 230 | id=2 ; prev=1 ; |
377d8c42 | 231 | bootstrap_target=bootstrap2 ; |
dfdffa2c | 232 | extra_configure_flags="@stage2_werror_flag@" ; |
656fdd47 | 233 | extra_make_flags="" ; }; |
dfdffa2c | 234 | bootstrap_stage = { |
656fdd47 | 235 | id=3 ; prev=2 ; |
dfdffa2c | 236 | compare_target=compare ; |
319cab08 PB |
237 | bootstrap_target=bootstrap ; |
238 | cleanstrap_target=cleanstrap ; | |
239 | extra_configure_flags="@stage2_werror_flag@" ; | |
656fdd47 | 240 | extra_make_flags="" ; }; |
319cab08 PB |
241 | bootstrap_stage = { |
242 | id=4 ; prev=3 ; | |
243 | compare_target=compare3 ; | |
244 | bootstrap_target=bootstrap4 ; | |
dfdffa2c | 245 | extra_configure_flags="@stage2_werror_flag@" ; |
656fdd47 PB |
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"' ; }; |