Tidy up code. Switch to ISO C
[binutils.git] / Makefile.def
blob1fd09abe677b0292aea056b30cda0ce1d6c84de9
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;
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; };
116 target_modules = { module= boehm-gc; };
117 target_modules = { module= qthreads; };
118 target_modules = { module= rda; };
120 // These are (some of) the make targets to be done in each subdirectory.
121 // Not all; these are the ones which don't have special options.
122 // "depend" indicates that a target depends on another target uniformly
123 // for each subdirectory. There can be several such lines per target.
124 recursive_targets = { make_target= info;
125 depend=configure; };
126 recursive_targets = { make_target= dvi;
127 depend=configure; };
128 recursive_targets = { make_target= TAGS;
129 depend=configure; };
130 recursive_targets = { make_target= install-info;
131 depend=configure;
132 depend=info; };
133 recursive_targets = { make_target= installcheck;
134 depend=configure; };
135 recursive_targets = { make_target= mostlyclean; };
136 recursive_targets = { make_target= clean; };
137 recursive_targets = { make_target= distclean; };
138 recursive_targets = { make_target= maintainer-clean; };
140 // Flags which need to be passed down.
142 // Directories etc.
143 flags_to_pass = { flag= DESTDIR ; };
144 flags_to_pass = { flag= RPATH_ENVVAR ; };
145 flags_to_pass = { flag= TARGET_SUBDIR ; };
146 flags_to_pass = { flag= bindir ; };
147 flags_to_pass = { flag= datadir ; };
148 flags_to_pass = { flag= exec_prefix ; };
149 flags_to_pass = { flag= includedir ; };
150 flags_to_pass = { flag= infodir ; };
151 flags_to_pass = { flag= libdir ; };
152 flags_to_pass = { flag= libexecdir ; };
153 flags_to_pass = { flag= lispdir ; };
154 flags_to_pass = { flag= libstdcxx_incdir ; };
155 flags_to_pass = { flag= libsubdir ; };
156 flags_to_pass = { flag= localstatedir ; };
157 flags_to_pass = { flag= mandir ; };
158 flags_to_pass = { flag= oldincludedir ; };
159 flags_to_pass = { flag= prefix ; };
160 flags_to_pass = { flag= sbindir ; };
161 flags_to_pass = { flag= sharedstatedir ; };
162 flags_to_pass = { flag= sysconfdir ; };
163 flags_to_pass = { flag= tooldir ; };
164 flags_to_pass = { flag= build_tooldir ; };
165 flags_to_pass = { flag= gxx_include_dir ; };
166 flags_to_pass = { flag= gcc_version ; };
167 flags_to_pass = { flag= gcc_version_trigger ; };
168 flags_to_pass = { flag= target_alias ; };
170 // Build tools
171 flags_to_pass = { flag= BISON ; };
172 flags_to_pass = { flag= CC_FOR_BUILD ; };
173 flags_to_pass = { flag= CXX_FOR_BUILD ; };
174 flags_to_pass = { flag= EXPECT ; };
175 flags_to_pass = { flag= INSTALL ; };
176 flags_to_pass = { flag= INSTALL_DATA ; };
177 flags_to_pass = { flag= INSTALL_PROGRAM ; };
178 flags_to_pass = { flag= INSTALL_SCRIPT ; };
179 flags_to_pass = { flag= LEX ; };
180 flags_to_pass = { flag= M4 ; };
181 flags_to_pass = { flag= MAKE ; };
182 flags_to_pass = { flag= RUNTEST ; };
183 flags_to_pass = { flag= RUNTESTFLAGS ; };
184 flags_to_pass = { flag= SHELL ; };
185 flags_to_pass = { flag= YACC ; };
187 // Host tools
188 flags_to_pass = { flag= AR_FLAGS ; };
189 flags_to_pass = { flag= CFLAGS ; };
190 flags_to_pass = { flag= CXXFLAGS ; };
191 flags_to_pass = { flag= LDFLAGS ; };
192 flags_to_pass = { flag= LIBCFLAGS ; };
193 flags_to_pass = { flag= LIBCXXFLAGS ; };
195 // Target tools
196 flags_to_pass = { flag= AR_FOR_TARGET ; };
197 flags_to_pass = { flag= AS_FOR_TARGET ; };
198 flags_to_pass = { flag= CC_FOR_TARGET ; };
199 flags_to_pass = { flag= CFLAGS_FOR_TARGET ; };
200 flags_to_pass = { flag= CXX_FOR_TARGET ; };
201 flags_to_pass = { flag= CXXFLAGS_FOR_TARGET ; };
202 flags_to_pass = { flag= DLLTOOL_FOR_TARGET ; };
203 flags_to_pass = { flag= GCJ_FOR_TARGET ; };
204 flags_to_pass = { flag= LD_FOR_TARGET ; };
205 flags_to_pass = { flag= LIBCFLAGS_FOR_TARGET ; };
206 flags_to_pass = { flag= LIBCXXFLAGS_FOR_TARGET ; };
207 flags_to_pass = { flag= NM_FOR_TARGET ; };
208 flags_to_pass = { flag= RANLIB_FOR_TARGET ; };
209 flags_to_pass = { flag= WINDRES_FOR_TARGET ; };