merge from gcc
[binutils.git] / Makefile.def
blob5a68098157b2a225f7dc6fa31ca201d66595fe0d
1 #! /usr/bin/autogen
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.
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.
24 // "missing" indicates that that module doesn't supply
25 // that recursive target in its Makefile.
27 build_modules= { module= libiberty; };
29 host_modules= { module= ash; };
30 host_modules= { module= autoconf; };
31 host_modules= { module= automake; };
32 host_modules= { module= bash; };
33 host_modules= { module= bfd; };
34 host_modules= { module= opcodes; };
35 host_modules= { module= binutils; };
36 host_modules= { module= bison; no_check_cross= true; };
37 host_modules= { module= byacc; no_check_cross= true; };
38 host_modules= { module= bzip2; };
39 host_modules= { module= dejagnu; };
40 host_modules= { module= diff; };
41 host_modules= { module= dosutils; no_check= true; };
42 host_modules= { module= etc; };
43 host_modules= { module= fastjar; no_check_cross= true; };
44 host_modules= { module= fileutils; };
45 host_modules= { module= findutils; };
46 host_modules= { module= find; };
47 host_modules= { module= flex; no_check_cross= true; };
48 host_modules= { module= gas; };
49 host_modules= { module= gawk; };
50 host_modules= { module= gettext; };
51 host_modules= { module= gnuserv; };
52 host_modules= { module= gprof; };
53 host_modules= { module= gzip; };
54 host_modules= { module= hello; };
55 host_modules= { module= indent; };
56 host_modules= { module= intl; };
57 host_modules= { module= tcl;
58 missing=mostlyclean; };
59 host_modules= { module= itcl; };
60 host_modules= { module= ld; };
61 host_modules= { module= libgui; };
62 host_modules= { module= libiberty; };
63 host_modules= { module= libtool; };
64 host_modules= { module= m4; };
65 host_modules= { module= make; };
66 host_modules= { module= mmalloc; no_check=true; };
67 host_modules= { module= patch; };
68 host_modules= { module= perl; };
69 host_modules= { module= prms; };
70 host_modules= { module= rcs; };
71 host_modules= { module= readline; };
72 host_modules= { module= release; no_install= true; no_check= true; };
73 host_modules= { module= recode; };
74 host_modules= { module= sed; };
75 host_modules= { module= send-pr; };
76 host_modules= { module= shellutils; };
77 host_modules= { module= sid; };
78 host_modules= { module= sim; };
79 host_modules= { module= tar; };
80 host_modules= { module= texinfo; no_install= true; };
81 host_modules= { module= textutils; };
82 host_modules= { module= time; };
83 host_modules= { module= uudecode; };
84 host_modules= { module= wdiff; };
85 host_modules= { module= zip; no_check_cross=true; };
86 host_modules= { module= zlib; no_install=true; no_check=true; };
87 host_modules= { module= gdb; with_x=true; };
88 host_modules= { module= expect; with_x=true; };
89 host_modules= { module= guile; with_x=true; };
90 host_modules= { module= tk; with_x=true; };
91 host_modules= { module= tix; with_x=true; };
92 host_modules= { module= libtermcap; no_check=true;
93 missing=mostlyclean;
94 missing=clean;
95 missing=distclean;
96 missing=maintainer-clean; };
97 host_modules= { module= utils; no_check=true; };
99 target_modules = { module= libstdc++-v3; raw_cxx=true; };
100 target_modules = { module= newlib; };
101 target_modules = { module= libf2c; };
102 target_modules = { module= libobjc; };
103 target_modules = { module= libtermcap; no_check=true; stage=true;
104 missing=mostlyclean;
105 missing=clean;
106 missing=distclean;
107 missing=maintainer-clean; };
108 target_modules = { module= winsup; };
109 target_modules = { module= libgloss; no_check=true; };
110 target_modules = { module= libiberty; };
111 target_modules = { module= gperf; };
112 target_modules = { module= examples; no_check=true; no_install=true; };
113 target_modules = { module= libffi; };
114 target_modules = { module= libjava; raw_cxx=true; };
115 target_modules = { module= zlib; stage=true; };
116 target_modules = { module= boehm-gc; };
117 target_modules = { module= qthreads; };
118 target_modules = { module= rda; };
119 target_modules = { module= libada; };
121 // These are (some of) the make targets to be done in each subdirectory.
122 // Not all; these are the ones which don't have special options.
123 // "depend" indicates that a target depends on another target uniformly
124 // for each subdirectory. There can be several such lines per target.
125 recursive_targets = { make_target= info;
126 depend=configure; };
127 recursive_targets = { make_target= dvi;
128 depend=configure; };
129 recursive_targets = { make_target= TAGS;
130 depend=configure; };
131 recursive_targets = { make_target= install-info;
132 depend=configure;
133 depend=info; };
134 recursive_targets = { make_target= installcheck;
135 depend=configure; };
136 recursive_targets = { make_target= mostlyclean; };
137 recursive_targets = { make_target= clean; };
138 recursive_targets = { make_target= distclean; };
139 recursive_targets = { make_target= maintainer-clean; };
141 // Flags which need to be passed down.
143 // Directories etc.
144 flags_to_pass = { flag= DESTDIR ; };
145 flags_to_pass = { flag= RPATH_ENVVAR ; };
146 flags_to_pass = { flag= TARGET_SUBDIR ; };
147 flags_to_pass = { flag= bindir ; };
148 flags_to_pass = { flag= datadir ; };
149 flags_to_pass = { flag= exec_prefix ; };
150 flags_to_pass = { flag= includedir ; };
151 flags_to_pass = { flag= infodir ; };
152 flags_to_pass = { flag= libdir ; };
153 flags_to_pass = { flag= libexecdir ; };
154 flags_to_pass = { flag= lispdir ; };
155 flags_to_pass = { flag= libstdcxx_incdir ; };
156 flags_to_pass = { flag= libsubdir ; };
157 flags_to_pass = { flag= localstatedir ; };
158 flags_to_pass = { flag= mandir ; };
159 flags_to_pass = { flag= oldincludedir ; };
160 flags_to_pass = { flag= prefix ; };
161 flags_to_pass = { flag= sbindir ; };
162 flags_to_pass = { flag= sharedstatedir ; };
163 flags_to_pass = { flag= sysconfdir ; };
164 flags_to_pass = { flag= tooldir ; };
165 flags_to_pass = { flag= build_tooldir ; };
166 flags_to_pass = { flag= gxx_include_dir ; };
167 flags_to_pass = { flag= gcc_version ; };
168 flags_to_pass = { flag= gcc_version_trigger ; };
169 flags_to_pass = { flag= target_alias ; };
171 // Build tools
172 flags_to_pass = { flag= BISON ; };
173 flags_to_pass = { flag= CC_FOR_BUILD ; };
174 flags_to_pass = { flag= CXX_FOR_BUILD ; };
175 flags_to_pass = { flag= EXPECT ; };
176 flags_to_pass = { flag= INSTALL ; };
177 flags_to_pass = { flag= INSTALL_DATA ; };
178 flags_to_pass = { flag= INSTALL_PROGRAM ; };
179 flags_to_pass = { flag= INSTALL_SCRIPT ; };
180 flags_to_pass = { flag= LEX ; };
181 flags_to_pass = { flag= M4 ; };
182 flags_to_pass = { flag= MAKE ; };
183 flags_to_pass = { flag= RUNTEST ; };
184 flags_to_pass = { flag= RUNTESTFLAGS ; };
185 flags_to_pass = { flag= SHELL ; };
186 flags_to_pass = { flag= YACC ; };
188 // Host tools
189 flags_to_pass = { flag= AR_FLAGS ; };
190 flags_to_pass = { flag= CFLAGS ; };
191 flags_to_pass = { flag= CXXFLAGS ; };
192 flags_to_pass = { flag= LDFLAGS ; };
193 flags_to_pass = { flag= LIBCFLAGS ; };
194 flags_to_pass = { flag= LIBCXXFLAGS ; };
196 // Target tools
197 flags_to_pass = { flag= AR_FOR_TARGET ; };
198 flags_to_pass = { flag= AS_FOR_TARGET ; };
199 flags_to_pass = { flag= CC_FOR_TARGET ; };
200 flags_to_pass = { flag= CFLAGS_FOR_TARGET ; };
201 flags_to_pass = { flag= CXX_FOR_TARGET ; };
202 flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; };
203 flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; };
204 flags_to_pass = { flag= GCJ_FOR_TARGET ; };
205 flags_to_pass = { flag= LD_FOR_TARGET ; };
206 flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; };
207 flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; };
208 flags_to_pass = { flag= NM_FOR_TARGET ; };
209 flags_to_pass = { flag= RANLIB_FOR_TARGET ; };
210 flags_to_pass = { flag= WINDRES_FOR_TARGET ; };