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