2 AutoGen definitions Makefile.tpl
;
4 // Makefile.in is generated from Makefile.tpl by
'autogen Makefile.def'.
5 // This file was originally written by Nathanael Nerode.
7 // Copyright
2002, 2003 Free Software Foundation
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.
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.
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.
24 // "missing" indicates that that module doesn
't supply
25 // that recursive target in its Makefile.
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; };
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= gcc; extra_make_flags="$(EXTRA_GCC_FLAGS)"; };
56 host_modules= { module= gawk; };
57 host_modules= { module= gettext; };
58 host_modules= { module= gnuserv; };
59 host_modules= { module= gprof; };
60 host_modules= { module= gzip; };
61 host_modules= { module= hello; };
62 host_modules= { module= indent; };
63 host_modules= { module= intl; bootstrap=true; };
64 host_modules= { module= tcl;
65 missing=mostlyclean; };
66 host_modules= { module= itcl; };
67 host_modules= { module= ld; bootstrap=true; };
68 host_modules= { module= libcpp; bootstrap=true; };
69 host_modules= { module= libgui; };
70 host_modules= { module= libbanshee; bootstrap=true; no_install=true; };
71 host_modules= { module= libiberty; bootstrap=true; };
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; };
88 host_modules= { module= tar; };
89 host_modules= { module= texinfo; no_install= true; bootstrap=true; };
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; };
95 host_modules= { module= zlib; no_install=true; no_check=true; bootstrap=true; };
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; };
101 host_modules= { module= libtermcap; no_check=true;
105 missing=maintainer-clean; };
106 host_modules= { module= utils; no_check=true; };
108 target_modules = { module= libstdc++-v3; raw_cxx=true; };
109 target_modules = { module= libmudflap; };
110 target_modules = { module= newlib; };
111 target_modules = { module= libgfortran; };
112 target_modules = { module= libobjc; };
113 target_modules = { module= libtermcap; no_check=true; stage=true;
117 missing=maintainer-clean; };
118 target_modules = { module= winsup; };
119 target_modules = { module= libgloss; no_check=true; };
120 target_modules = { module= libiberty; };
121 target_modules = { module= gperf; };
122 target_modules = { module= examples; no_check=true; no_install=true; };
123 target_modules = { module= libffi; };
124 target_modules = { module= libjava; raw_cxx=true; };
125 target_modules = { module= zlib; stage=true; };
126 target_modules = { module= boehm-gc; };
127 target_modules = { module= qthreads; };
128 target_modules = { module= rda; };
129 target_modules = { module= libada; };
131 // These are (some of) the make targets to be done in each subdirectory.
132 // Not all; these are the ones which don't have special options.
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
;
137 recursive_targets
= { make_target
= dvi
;
139 recursive_targets
= { make_target
= TAGS
;
141 recursive_targets
= { make_target
= install
-info
;
144 recursive_targets
= { make_target
= installcheck
;
146 recursive_targets
= { make_target
= mostlyclean
; };
147 recursive_targets
= { make_target
= clean
; };
148 recursive_targets
= { make_target
= distclean
; };
149 recursive_targets
= { make_target
= maintainer
-clean
; };
151 // Flags which need to be passed down.
154 flags_to_pass
= { flag
= DESTDIR
; };
155 flags_to_pass
= { flag
= RPATH_ENVVAR
; };
156 flags_to_pass
= { flag
= TARGET_SUBDIR
; };
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
; };
165 flags_to_pass
= { flag
= libstdcxx_incdir
; };
166 flags_to_pass
= { flag
= libsubdir
; };
167 flags_to_pass
= { flag
= localstatedir
; };
168 flags_to_pass
= { flag
= mandir
; };
169 flags_to_pass
= { flag
= oldincludedir
; };
170 flags_to_pass
= { flag
= prefix
; };
171 flags_to_pass
= { flag
= sbindir
; };
172 flags_to_pass
= { flag
= sharedstatedir
; };
173 flags_to_pass
= { flag
= sysconfdir
; };
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
; };
182 flags_to_pass
= { flag
= BISON
; };
183 flags_to_pass
= { flag
= CC_FOR_BUILD
; };
184 flags_to_pass
= { flag
= CXX_FOR_BUILD
; };
185 flags_to_pass
= { flag
= EXPECT
; };
186 flags_to_pass
= { flag
= FLEX
; };
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
; };
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
; };
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
; };
216 flags_to_pass
= { flag
= GFORTRAN_FOR_TARGET
; };
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
; };
224 // Toplevel bootstrap
227 extra_configure_flags
='--disable-intermodule \
228 --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"' ;
229 extra_make_flags
='CFLAGS="$(STAGE1_CFLAGS)"' ; };
232 bootstrap_target
=bootstrap2
;
233 extra_configure_flags
="@stage2_werror_flag@" ;
234 extra_make_flags
="" ; };
237 compare_target
=compare
;
238 bootstrap_target
=bootstrap
;
239 cleanstrap_target
=cleanstrap
;
240 extra_configure_flags
="@stage2_werror_flag@" ;
241 extra_make_flags
="" ; };
244 compare_target
=compare3
;
245 bootstrap_target
=bootstrap4
;
246 extra_configure_flags
="@stage2_werror_flag@" ;
247 extra_make_flags
="" ; };
249 id
=profile
; prev
=1 ;
250 extra_configure_flags
="@stage2_werror_flag@" ;
251 extra_make_flags
='CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"' ; };
253 id
=feedback
; prev
=1 ;
254 extra_configure_flags
="@stage2_werror_flag@" ;
255 extra_make_flags
='CFLAGS="$(BOOT_CFLAGS) -fprofile-use"' ; };