]>
Commit | Line | Data |
---|---|---|
4c4809c1 | 1 | # Makefile.in generated by automake 1.7.8 from Makefile.am. |
ff66d28f | 2 | # @configure_input@ |
4a9d5109 | 3 | |
ff66d28f PE |
4 | # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 |
5 | # Free Software Foundation, Inc. | |
4a9d5109 SW |
6 | # This Makefile.in is free software; the Free Software Foundation |
7 | # gives unlimited permission to copy and/or distribute it, | |
8 | # with or without modifications, as long as this notice is preserved. | |
9 | ||
10 | # This program is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | |
12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | |
13 | # PARTICULAR PURPOSE. | |
14 | ||
ff66d28f | 15 | @SET_MAKE@ |
4a9d5109 SW |
16 | |
17 | srcdir = @srcdir@ | |
18 | top_srcdir = @top_srcdir@ | |
19 | VPATH = @srcdir@ | |
4a9d5109 SW |
20 | pkgdatadir = $(datadir)/@PACKAGE@ |
21 | pkglibdir = $(libdir)/@PACKAGE@ | |
22 | pkgincludedir = $(includedir)/@PACKAGE@ | |
4a9d5109 SW |
23 | top_builddir = .. |
24 | ||
ff66d28f | 25 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
4a9d5109 | 26 | INSTALL = @INSTALL@ |
ff66d28f PE |
27 | install_sh_DATA = $(install_sh) -c -m 644 |
28 | install_sh_PROGRAM = $(install_sh) -c | |
29 | install_sh_SCRIPT = $(install_sh) -c | |
30 | INSTALL_HEADER = $(INSTALL_DATA) | |
31 | transform = $(program_transform_name) | |
4a9d5109 SW |
32 | NORMAL_INSTALL = : |
33 | PRE_INSTALL = : | |
34 | POST_INSTALL = : | |
35 | NORMAL_UNINSTALL = : | |
36 | PRE_UNINSTALL = : | |
37 | POST_UNINSTALL = : | |
4a9d5109 | 38 | build_triplet = @build@ |
4a9d5109 | 39 | host_triplet = @host@ |
4a9d5109 | 40 | target_triplet = @target@ |
ff66d28f PE |
41 | ACLOCAL = @ACLOCAL@ |
42 | AMTAR = @AMTAR@ | |
4a9d5109 SW |
43 | AR = @AR@ |
44 | AS = @AS@ | |
45 | ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@ | |
ff66d28f PE |
46 | AUTOCONF = @AUTOCONF@ |
47 | AUTOHEADER = @AUTOHEADER@ | |
48 | AUTOMAKE = @AUTOMAKE@ | |
ab3bc736 | 49 | AWK = @AWK@ |
6aa43d99 | 50 | BASIC_FILE_CC = @BASIC_FILE_CC@ |
4a9d5109 SW |
51 | BASIC_FILE_H = @BASIC_FILE_H@ |
52 | CC = @CC@ | |
6aa43d99 | 53 | CCODECVT_CC = @CCODECVT_CC@ |
33590f13 | 54 | CCODECVT_H = @CCODECVT_H@ |
6aa43d99 BK |
55 | CCOLLATE_CC = @CCOLLATE_CC@ |
56 | CCTYPE_CC = @CCTYPE_CC@ | |
ff66d28f | 57 | CFLAGS = @CFLAGS@ |
6aa43d99 | 58 | CLOCALE_CC = @CLOCALE_CC@ |
4a9d5109 | 59 | CLOCALE_H = @CLOCALE_H@ |
6aa43d99 BK |
60 | CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@ |
61 | CMESSAGES_CC = @CMESSAGES_CC@ | |
33590f13 | 62 | CMESSAGES_H = @CMESSAGES_H@ |
6aa43d99 BK |
63 | CMONEY_CC = @CMONEY_CC@ |
64 | CNUMERIC_CC = @CNUMERIC_CC@ | |
4a9d5109 | 65 | CPP = @CPP@ |
ff66d28f | 66 | CPPFLAGS = @CPPFLAGS@ |
4a9d5109 | 67 | CSTDIO_H = @CSTDIO_H@ |
6aa43d99 | 68 | CTIME_CC = @CTIME_CC@ |
1c26d8fd | 69 | CTIME_H = @CTIME_H@ |
ff66d28f | 70 | CXX = @CXX@ |
4a9d5109 | 71 | CXXCPP = @CXXCPP@ |
ff66d28f PE |
72 | CXXFLAGS = @CXXFLAGS@ |
73 | CYGPATH_W = @CYGPATH_W@ | |
4a9d5109 SW |
74 | C_INCLUDE_DIR = @C_INCLUDE_DIR@ |
75 | DEBUG_FLAGS = @DEBUG_FLAGS@ | |
ff66d28f PE |
76 | DEFS = @DEFS@ |
77 | ECHO_C = @ECHO_C@ | |
78 | ECHO_N = @ECHO_N@ | |
79 | ECHO_T = @ECHO_T@ | |
80 | EGREP = @EGREP@ | |
54c1bf78 | 81 | EXEEXT = @EXEEXT@ |
4a9d5109 | 82 | EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@ |
ff66d28f PE |
83 | GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@ |
84 | GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@ | |
ff66d28f PE |
85 | GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@ |
86 | GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@ | |
87 | GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE = @GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@ | |
88 | GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE = @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ | |
89 | GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@ | |
90 | GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@ | |
91 | GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@ | |
92 | GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@ | |
93 | GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@ | |
94 | GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@ | |
92eabea2 PE |
95 | GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@ |
96 | GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@ | |
ff66d28f PE |
97 | GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@ |
98 | GLIBCXX_TEST_ABI_FALSE = @GLIBCXX_TEST_ABI_FALSE@ | |
99 | GLIBCXX_TEST_ABI_TRUE = @GLIBCXX_TEST_ABI_TRUE@ | |
100 | GLIBCXX_TEST_WCHAR_T_FALSE = @GLIBCXX_TEST_WCHAR_T_FALSE@ | |
101 | GLIBCXX_TEST_WCHAR_T_TRUE = @GLIBCXX_TEST_WCHAR_T_TRUE@ | |
102 | INSTALL_DATA = @INSTALL_DATA@ | |
103 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ | |
104 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ | |
105 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ | |
4a9d5109 | 106 | LIBMATHOBJS = @LIBMATHOBJS@ |
ff66d28f PE |
107 | LIBOBJS = @LIBOBJS@ |
108 | LIBS = @LIBS@ | |
4a9d5109 SW |
109 | LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@ |
110 | LIBTOOL = @LIBTOOL@ | |
263c6fa8 | 111 | LIBUNWIND_FLAG = @LIBUNWIND_FLAG@ |
4a9d5109 | 112 | LN_S = @LN_S@ |
ff66d28f | 113 | LTLIBOBJS = @LTLIBOBJS@ |
4a9d5109 | 114 | MAINT = @MAINT@ |
ff66d28f PE |
115 | MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ |
116 | MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ | |
54c1bf78 | 117 | MAKEINFO = @MAKEINFO@ |
4a9d5109 SW |
118 | OBJEXT = @OBJEXT@ |
119 | OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@ | |
120 | OPT_LDFLAGS = @OPT_LDFLAGS@ | |
121 | OS_INC_SRCDIR = @OS_INC_SRCDIR@ | |
122 | PACKAGE = @PACKAGE@ | |
ff66d28f PE |
123 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
124 | PACKAGE_NAME = @PACKAGE_NAME@ | |
125 | PACKAGE_STRING = @PACKAGE_STRING@ | |
126 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ | |
127 | PACKAGE_VERSION = @PACKAGE_VERSION@ | |
128 | PATH_SEPARATOR = @PATH_SEPARATOR@ | |
4a9d5109 SW |
129 | RANLIB = @RANLIB@ |
130 | SECTION_FLAGS = @SECTION_FLAGS@ | |
131 | SECTION_LDFLAGS = @SECTION_LDFLAGS@ | |
ff66d28f PE |
132 | SET_MAKE = @SET_MAKE@ |
133 | SHELL = @SHELL@ | |
4a9d5109 | 134 | STRIP = @STRIP@ |
6aa43d99 | 135 | SYMVER_MAP = @SYMVER_MAP@ |
4a9d5109 | 136 | TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@ |
33590f13 | 137 | USE_NLS = @USE_NLS@ |
4a9d5109 SW |
138 | VERSION = @VERSION@ |
139 | WARN_FLAGS = @WARN_FLAGS@ | |
140 | WERROR = @WERROR@ | |
ff66d28f PE |
141 | ac_ct_AR = @ac_ct_AR@ |
142 | ac_ct_AS = @ac_ct_AS@ | |
143 | ac_ct_CC = @ac_ct_CC@ | |
144 | ac_ct_CXX = @ac_ct_CXX@ | |
145 | ac_ct_RANLIB = @ac_ct_RANLIB@ | |
146 | ac_ct_STRIP = @ac_ct_STRIP@ | |
147 | am__leading_dot = @am__leading_dot@ | |
44f0760e | 148 | baseline_dir = @baseline_dir@ |
ff66d28f PE |
149 | bindir = @bindir@ |
150 | build = @build@ | |
151 | build_alias = @build_alias@ | |
152 | build_cpu = @build_cpu@ | |
153 | build_os = @build_os@ | |
154 | build_vendor = @build_vendor@ | |
501e321e | 155 | check_msgfmt = @check_msgfmt@ |
ff66d28f | 156 | datadir = @datadir@ |
4a9d5109 SW |
157 | enable_shared = @enable_shared@ |
158 | enable_static = @enable_static@ | |
ff66d28f | 159 | exec_prefix = @exec_prefix@ |
3d7c150e BK |
160 | glibcxx_MOFILES = @glibcxx_MOFILES@ |
161 | glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@ | |
162 | glibcxx_POFILES = @glibcxx_POFILES@ | |
ff66d28f | 163 | glibcxx_builddir = @glibcxx_builddir@ |
3d7c150e BK |
164 | glibcxx_localedir = @glibcxx_localedir@ |
165 | glibcxx_prefixdir = @glibcxx_prefixdir@ | |
ff66d28f | 166 | glibcxx_srcdir = @glibcxx_srcdir@ |
ff66d28f | 167 | glibcxx_thread_h = @glibcxx_thread_h@ |
3d7c150e BK |
168 | glibcxx_toolexecdir = @glibcxx_toolexecdir@ |
169 | glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@ | |
ff66d28f PE |
170 | gxx_include_dir = @gxx_include_dir@ |
171 | host = @host@ | |
172 | host_alias = @host_alias@ | |
173 | host_cpu = @host_cpu@ | |
174 | host_os = @host_os@ | |
175 | host_vendor = @host_vendor@ | |
176 | includedir = @includedir@ | |
177 | infodir = @infodir@ | |
178 | install_sh = @install_sh@ | |
179 | libdir = @libdir@ | |
180 | libexecdir = @libexecdir@ | |
4e10943d | 181 | libtool_VERSION = @libtool_VERSION@ |
ff66d28f PE |
182 | localstatedir = @localstatedir@ |
183 | mandir = @mandir@ | |
184 | multi_basedir = @multi_basedir@ | |
185 | oldincludedir = @oldincludedir@ | |
186 | port_specific_symbol_files = @port_specific_symbol_files@ | |
187 | prefix = @prefix@ | |
188 | program_transform_name = @program_transform_name@ | |
189 | sbindir = @sbindir@ | |
190 | sharedstatedir = @sharedstatedir@ | |
191 | sysconfdir = @sysconfdir@ | |
192 | target = @target@ | |
193 | target_alias = @target_alias@ | |
194 | target_cpu = @target_cpu@ | |
195 | target_os = @target_os@ | |
196 | target_vendor = @target_vendor@ | |
4a9d5109 SW |
197 | toplevel_srcdir = @toplevel_srcdir@ |
198 | ||
4a9d5109 SW |
199 | MAINT_CHARSET = latin1 |
200 | ||
201 | mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs | |
0df3f383 | 202 | PWD_COMMAND = $${PWDCMD-pwd} |
82ba99d5 | 203 | STAMP = echo timestamp > |
0df3f383 PE |
204 | |
205 | toolexecdir = $(glibcxx_toolexecdir) | |
206 | toolexeclibdir = $(glibcxx_toolexeclibdir) | |
207 | ||
208 | # These bits are all figured out from configure. Look in acinclude.m4 | |
209 | # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS. | |
210 | CONFIG_CXXFLAGS = \ | |
211 | $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS) | |
212 | ||
213 | WARN_CXXFLAGS = \ | |
214 | $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once | |
215 | ||
216 | ||
217 | # -I/-D flags to pass when compiling. | |
218 | AM_CPPFLAGS = $(GLIBCXX_INCLUDES) | |
ab77073f BK |
219 | |
220 | # Standard C++ includes. | |
3d7c150e | 221 | std_srcdir = ${glibcxx_srcdir}/include/std |
ab77073f | 222 | std_builddir = . |
53c2acdf BK |
223 | std_headers = \ |
224 | ${std_srcdir}/std_algorithm.h \ | |
225 | ${std_srcdir}/std_bitset.h \ | |
226 | ${std_srcdir}/std_complex.h \ | |
227 | ${std_srcdir}/std_deque.h \ | |
228 | ${std_srcdir}/std_fstream.h \ | |
229 | ${std_srcdir}/std_functional.h \ | |
230 | ${std_srcdir}/std_iomanip.h \ | |
231 | ${std_srcdir}/std_ios.h \ | |
232 | ${std_srcdir}/std_iosfwd.h \ | |
233 | ${std_srcdir}/std_iostream.h \ | |
234 | ${std_srcdir}/std_istream.h \ | |
235 | ${std_srcdir}/std_iterator.h \ | |
236 | ${std_srcdir}/std_limits.h \ | |
237 | ${std_srcdir}/std_list.h \ | |
238 | ${std_srcdir}/std_locale.h \ | |
239 | ${std_srcdir}/std_map.h \ | |
240 | ${std_srcdir}/std_memory.h \ | |
241 | ${std_srcdir}/std_numeric.h \ | |
242 | ${std_srcdir}/std_ostream.h \ | |
243 | ${std_srcdir}/std_queue.h \ | |
244 | ${std_srcdir}/std_set.h \ | |
245 | ${std_srcdir}/std_sstream.h \ | |
246 | ${std_srcdir}/std_stack.h \ | |
247 | ${std_srcdir}/std_stdexcept.h \ | |
248 | ${std_srcdir}/std_streambuf.h \ | |
249 | ${std_srcdir}/std_string.h \ | |
250 | ${std_srcdir}/std_utility.h \ | |
251 | ${std_srcdir}/std_valarray.h \ | |
252 | ${std_srcdir}/std_vector.h | |
ab77073f | 253 | |
82ba99d5 | 254 | # Renamed at build time. |
53c2acdf BK |
255 | std_headers_rename = \ |
256 | algorithm \ | |
257 | bitset \ | |
258 | complex \ | |
259 | deque \ | |
260 | fstream \ | |
261 | functional \ | |
262 | iomanip \ | |
263 | ios \ | |
264 | iosfwd \ | |
265 | iostream \ | |
266 | istream \ | |
267 | iterator \ | |
268 | limits \ | |
269 | list \ | |
270 | locale \ | |
271 | map \ | |
272 | memory \ | |
273 | numeric \ | |
274 | ostream \ | |
275 | queue \ | |
276 | set \ | |
277 | sstream \ | |
278 | stack \ | |
279 | stdexcept \ | |
280 | streambuf \ | |
281 | string \ | |
282 | utility \ | |
283 | valarray \ | |
284 | vector | |
ab77073f BK |
285 | |
286 | ||
3d7c150e | 287 | bits_srcdir = ${glibcxx_srcdir}/include/bits |
4a9d5109 | 288 | bits_builddir = ./bits |
53c2acdf | 289 | bits_headers = \ |
1ff9402d BK |
290 | ${bits_srcdir}/allocator.h \ |
291 | ${bits_srcdir}/allocator_traits.h \ | |
53c2acdf BK |
292 | ${bits_srcdir}/basic_ios.h \ |
293 | ${bits_srcdir}/basic_ios.tcc \ | |
294 | ${bits_srcdir}/basic_string.h \ | |
295 | ${bits_srcdir}/basic_string.tcc \ | |
296 | ${bits_srcdir}/boost_concept_check.h \ | |
297 | ${bits_srcdir}/char_traits.h \ | |
298 | ${bits_srcdir}/codecvt.h \ | |
299 | ${bits_srcdir}/concept_check.h \ | |
300 | ${bits_srcdir}/cpp_type_traits.h \ | |
301 | ${bits_srcdir}/demangle.h \ | |
302 | ${bits_srcdir}/deque.tcc \ | |
53c2acdf BK |
303 | ${bits_srcdir}/fstream.tcc \ |
304 | ${bits_srcdir}/functexcept.h \ | |
305 | ${bits_srcdir}/gslice.h \ | |
306 | ${bits_srcdir}/gslice_array.h \ | |
307 | ${bits_srcdir}/indirect_array.h \ | |
308 | ${bits_srcdir}/ios_base.h \ | |
309 | ${bits_srcdir}/istream.tcc \ | |
310 | ${bits_srcdir}/list.tcc \ | |
311 | ${bits_srcdir}/locale_classes.h \ | |
312 | ${bits_srcdir}/locale_facets.h \ | |
313 | ${bits_srcdir}/locale_facets.tcc \ | |
314 | ${bits_srcdir}/localefwd.h \ | |
315 | ${bits_srcdir}/mask_array.h \ | |
316 | ${bits_srcdir}/ostream.tcc \ | |
4c4809c1 | 317 | ${bits_srcdir}/postypes.h \ |
53c2acdf BK |
318 | ${bits_srcdir}/stream_iterator.h \ |
319 | ${bits_srcdir}/streambuf_iterator.h \ | |
320 | ${bits_srcdir}/slice_array.h \ | |
321 | ${bits_srcdir}/sstream.tcc \ | |
322 | ${bits_srcdir}/stl_algo.h \ | |
323 | ${bits_srcdir}/stl_algobase.h \ | |
53c2acdf BK |
324 | ${bits_srcdir}/stl_bvector.h \ |
325 | ${bits_srcdir}/stl_construct.h \ | |
326 | ${bits_srcdir}/stl_deque.h \ | |
327 | ${bits_srcdir}/stl_function.h \ | |
328 | ${bits_srcdir}/stl_heap.h \ | |
329 | ${bits_srcdir}/stl_iterator.h \ | |
330 | ${bits_srcdir}/stl_iterator_base_funcs.h \ | |
331 | ${bits_srcdir}/stl_iterator_base_types.h \ | |
332 | ${bits_srcdir}/stl_list.h \ | |
333 | ${bits_srcdir}/stl_map.h \ | |
334 | ${bits_srcdir}/stl_multimap.h \ | |
335 | ${bits_srcdir}/stl_multiset.h \ | |
336 | ${bits_srcdir}/stl_numeric.h \ | |
337 | ${bits_srcdir}/stl_pair.h \ | |
53c2acdf BK |
338 | ${bits_srcdir}/stl_queue.h \ |
339 | ${bits_srcdir}/stl_raw_storage_iter.h \ | |
340 | ${bits_srcdir}/stl_relops.h \ | |
341 | ${bits_srcdir}/stl_set.h \ | |
342 | ${bits_srcdir}/stl_stack.h \ | |
343 | ${bits_srcdir}/stl_tempbuf.h \ | |
344 | ${bits_srcdir}/stl_threads.h \ | |
345 | ${bits_srcdir}/stl_tree.h \ | |
346 | ${bits_srcdir}/stl_uninitialized.h \ | |
347 | ${bits_srcdir}/stl_vector.h \ | |
348 | ${bits_srcdir}/streambuf.tcc \ | |
349 | ${bits_srcdir}/stringfwd.h \ | |
350 | ${bits_srcdir}/type_traits.h \ | |
351 | ${bits_srcdir}/valarray_array.h \ | |
352 | ${bits_srcdir}/valarray_array.tcc \ | |
353 | ${bits_srcdir}/valarray_before.h \ | |
354 | ${bits_srcdir}/valarray_after.h \ | |
355 | ${bits_srcdir}/vector.tcc | |
4a9d5109 SW |
356 | |
357 | ||
3d7c150e | 358 | backward_srcdir = ${glibcxx_srcdir}/include/backward |
4a9d5109 | 359 | backward_builddir = ./backward |
53c2acdf BK |
360 | backward_headers = \ |
361 | ${backward_srcdir}/complex.h \ | |
362 | ${backward_srcdir}/iomanip.h \ | |
363 | ${backward_srcdir}/istream.h \ | |
364 | ${backward_srcdir}/ostream.h \ | |
365 | ${backward_srcdir}/stream.h \ | |
366 | ${backward_srcdir}/streambuf.h \ | |
367 | ${backward_srcdir}/algo.h \ | |
368 | ${backward_srcdir}/algobase.h \ | |
369 | ${backward_srcdir}/alloc.h \ | |
370 | ${backward_srcdir}/bvector.h \ | |
371 | ${backward_srcdir}/defalloc.h \ | |
372 | ${backward_srcdir}/deque.h \ | |
373 | ${backward_srcdir}/function.h \ | |
374 | ${backward_srcdir}/hash_map.h \ | |
375 | ${backward_srcdir}/hash_set.h \ | |
376 | ${backward_srcdir}/hashtable.h \ | |
377 | ${backward_srcdir}/heap.h \ | |
378 | ${backward_srcdir}/iostream.h \ | |
379 | ${backward_srcdir}/iterator.h \ | |
380 | ${backward_srcdir}/list.h \ | |
381 | ${backward_srcdir}/map.h \ | |
382 | ${backward_srcdir}/multimap.h \ | |
383 | ${backward_srcdir}/new.h \ | |
384 | ${backward_srcdir}/multiset.h \ | |
385 | ${backward_srcdir}/pair.h \ | |
386 | ${backward_srcdir}/queue.h \ | |
387 | ${backward_srcdir}/rope.h \ | |
388 | ${backward_srcdir}/set.h \ | |
389 | ${backward_srcdir}/slist.h \ | |
390 | ${backward_srcdir}/stack.h \ | |
391 | ${backward_srcdir}/tempbuf.h \ | |
392 | ${backward_srcdir}/tree.h \ | |
393 | ${backward_srcdir}/vector.h \ | |
394 | ${backward_srcdir}/fstream.h \ | |
395 | ${backward_srcdir}/strstream \ | |
396 | ${backward_srcdir}/backward_warning.h | |
4a9d5109 SW |
397 | |
398 | ||
3d7c150e | 399 | ext_srcdir = ${glibcxx_srcdir}/include/ext |
4a9d5109 | 400 | ext_builddir = ./ext |
53c2acdf BK |
401 | ext_headers = \ |
402 | ${ext_srcdir}/algorithm \ | |
1ff9402d | 403 | ${ext_srcdir}/debug_allocator.h \ |
53c2acdf BK |
404 | ${ext_srcdir}/enc_filebuf.h \ |
405 | ${ext_srcdir}/stdio_filebuf.h \ | |
51ff8149 | 406 | ${ext_srcdir}/stdio_sync_filebuf.h \ |
53c2acdf BK |
407 | ${ext_srcdir}/functional \ |
408 | ${ext_srcdir}/hash_map \ | |
409 | ${ext_srcdir}/hash_set \ | |
410 | ${ext_srcdir}/iterator \ | |
1ff9402d | 411 | ${ext_srcdir}/malloc_allocator.h \ |
53c2acdf | 412 | ${ext_srcdir}/memory \ |
1ff9402d BK |
413 | ${ext_srcdir}/mt_allocator.h \ |
414 | ${ext_srcdir}/new_allocator.h \ | |
53c2acdf | 415 | ${ext_srcdir}/numeric \ |
9e7facfd | 416 | ${ext_srcdir}/pod_char_traits.h \ |
1ff9402d | 417 | ${ext_srcdir}/pool_allocator.h \ |
53c2acdf BK |
418 | ${ext_srcdir}/rb_tree \ |
419 | ${ext_srcdir}/rope \ | |
420 | ${ext_srcdir}/ropeimpl.h \ | |
421 | ${ext_srcdir}/slist \ | |
b2acb86f | 422 | ${ext_srcdir}/hash_fun.h \ |
82ba99d5 | 423 | ${ext_srcdir}/hashtable.h |
4a9d5109 SW |
424 | |
425 | ||
426 | # This is the common subset of files that all three "C" header models use. | |
ca618b60 | 427 | c_base_srcdir = $(C_INCLUDE_DIR) |
73249e33 | 428 | c_base_builddir = . |
53c2acdf BK |
429 | c_base_headers = \ |
430 | ${c_base_srcdir}/std_cassert.h \ | |
431 | ${c_base_srcdir}/std_cctype.h \ | |
432 | ${c_base_srcdir}/std_cerrno.h \ | |
433 | ${c_base_srcdir}/std_cfloat.h \ | |
434 | ${c_base_srcdir}/std_ciso646.h \ | |
435 | ${c_base_srcdir}/std_climits.h \ | |
436 | ${c_base_srcdir}/std_clocale.h \ | |
437 | ${c_base_srcdir}/std_cmath.h \ | |
438 | ${c_base_srcdir}/std_csetjmp.h \ | |
439 | ${c_base_srcdir}/std_csignal.h \ | |
440 | ${c_base_srcdir}/std_cstdarg.h \ | |
441 | ${c_base_srcdir}/std_cstddef.h \ | |
442 | ${c_base_srcdir}/std_cstdio.h \ | |
443 | ${c_base_srcdir}/std_cstdlib.h \ | |
444 | ${c_base_srcdir}/std_cstring.h \ | |
445 | ${c_base_srcdir}/std_ctime.h \ | |
446 | ${c_base_srcdir}/std_cwchar.h \ | |
82ba99d5 | 447 | ${c_base_srcdir}/std_cwctype.h |
53c2acdf BK |
448 | |
449 | c_base_headers_rename = \ | |
450 | cassert \ | |
451 | cctype \ | |
452 | cerrno \ | |
453 | cfloat \ | |
454 | ciso646 \ | |
455 | climits \ | |
456 | clocale \ | |
457 | cmath \ | |
458 | csetjmp \ | |
459 | csignal \ | |
460 | cstdarg \ | |
461 | cstddef \ | |
462 | cstdio \ | |
463 | cstdlib \ | |
464 | cstring \ | |
465 | ctime \ | |
466 | cwchar \ | |
82ba99d5 | 467 | cwctype |
83144cfc | 468 | |
e01c9849 BK |
469 | |
470 | # "C" compatibility headers. | |
3d7c150e | 471 | c_compatibility_srcdir = ${glibcxx_srcdir}/include/c_compatibility |
e01c9849 | 472 | c_compatibility_builddir = . |
53c2acdf BK |
473 | c_compatibility_headers = \ |
474 | ${c_compatibility_srcdir}/assert.h \ | |
475 | ${c_compatibility_srcdir}/ctype.h \ | |
476 | ${c_compatibility_srcdir}/errno.h \ | |
477 | ${c_compatibility_srcdir}/float.h \ | |
478 | ${c_compatibility_srcdir}/iso646.h \ | |
479 | ${c_compatibility_srcdir}/limits.h \ | |
480 | ${c_compatibility_srcdir}/locale.h \ | |
481 | ${c_compatibility_srcdir}/math.h \ | |
482 | ${c_compatibility_srcdir}/setjmp.h \ | |
483 | ${c_compatibility_srcdir}/signal.h \ | |
484 | ${c_compatibility_srcdir}/stdarg.h \ | |
485 | ${c_compatibility_srcdir}/stddef.h \ | |
486 | ${c_compatibility_srcdir}/stdio.h \ | |
487 | ${c_compatibility_srcdir}/stdlib.h \ | |
488 | ${c_compatibility_srcdir}/string.h \ | |
489 | ${c_compatibility_srcdir}/time.h \ | |
490 | ${c_compatibility_srcdir}/wchar.h \ | |
82ba99d5 | 491 | ${c_compatibility_srcdir}/wctype.h |
53c2acdf | 492 | |
ff66d28f PE |
493 | |
494 | # Some of the different "C" header models need extra files. | |
495 | # Some "C" header schemes require the "C" compatibility headers. | |
496 | # For --enable-cheaders=c_std | |
82ba99d5 | 497 | @GLIBCXX_C_HEADERS_C_STD_TRUE@c_base_headers_extra = ${c_base_srcdir}/cmath.tcc |
4c4809c1 | 498 | @GLIBCXX_C_HEADERS_C_STD_FALSE@c_base_headers_extra = |
3d7c150e | 499 | @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@c_compatibility_headers_extra = |
4a9d5109 | 500 | |
ff66d28f PE |
501 | @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@c_compatibility_headers_extra = ${c_compatibility_headers} |
502 | ||
ca618b60 | 503 | host_srcdir = ${glibcxx_srcdir}/$(OS_INC_SRCDIR) |
a30335e9 BK |
504 | host_builddir = ./${host_alias}/bits |
505 | host_headers = \ | |
506 | ${host_srcdir}/ctype_base.h \ | |
507 | ${host_srcdir}/ctype_inline.h \ | |
508 | ${host_srcdir}/ctype_noninline.h \ | |
509 | ${host_srcdir}/os_defines.h \ | |
4c4809c1 | 510 | ${glibcxx_srcdir}/$(ATOMICITY_INC_SRCDIR)/atomicity.h |
7bfea936 | 511 | |
6aa43d99 | 512 | |
a30335e9 BK |
513 | # Non-installed host_header files. |
514 | host_headers_noinst = \ | |
ca618b60 | 515 | ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H) |
6aa43d99 BK |
516 | |
517 | ||
a30335e9 BK |
518 | # These host_headers_extra files are all built with ad hoc naming rules. |
519 | host_headers_extra = \ | |
520 | ${host_builddir}/basic_file.h \ | |
521 | ${host_builddir}/c++config.h \ | |
522 | ${host_builddir}/c++io.h \ | |
523 | ${host_builddir}/c++locale.h \ | |
524 | ${host_builddir}/messages_members.h \ | |
525 | ${host_builddir}/time_members.h \ | |
526 | ${host_builddir}/codecvt_specializations.h | |
8520f704 LR |
527 | |
528 | ||
a30335e9 BK |
529 | thread_host_headers = \ |
530 | ${host_builddir}/gthr.h \ | |
531 | ${host_builddir}/gthr-single.h \ | |
532 | ${host_builddir}/gthr-posix.h \ | |
533 | ${host_builddir}/gthr-default.h | |
8520f704 LR |
534 | |
535 | ||
a30335e9 BK |
536 | pch_input = ${host_builddir}/stdc++.h |
537 | pch_output_builddir = ${host_builddir}/stdc++.h.gch | |
3d7c150e | 538 | pch_source = ${glibcxx_srcdir}/include/stdc++.h |
9e57d5ca | 539 | PCHFLAGS = -Winvalid-pch -Wno-deprecated -x c++-header $(CXXFLAGS) |
3d7c150e | 540 | @GLIBCXX_BUILD_PCH_FALSE@pch_build = |
4c4809c1 | 541 | @GLIBCXX_BUILD_PCH_TRUE@pch_build = ${pch_input} |
3d7c150e | 542 | @GLIBCXX_BUILD_PCH_FALSE@pch_install = |
4c4809c1 | 543 | @GLIBCXX_BUILD_PCH_TRUE@pch_install = install-pch |
628c731a | 544 | |
4a9d5109 SW |
545 | # List of all timestamp files. By keeping only one copy of this list, both |
546 | # CLEANFILES and all-local are kept up-to-date. | |
53c2acdf BK |
547 | allstamped = \ |
548 | stamp-std stamp-bits stamp-c_base stamp-c_compatibility \ | |
82ba99d5 | 549 | stamp-backward stamp-ext stamp-host |
628c731a | 550 | |
4a9d5109 | 551 | |
9e57d5ca BK |
552 | # List of all files that are created by explicit building, editing, or |
553 | # catenation. | |
53c2acdf | 554 | allcreated = \ |
a30335e9 BK |
555 | ${host_builddir}/c++config.h \ |
556 | ${thread_host_headers} \ | |
53c2acdf | 557 | ${pch_build} |
9e57d5ca | 558 | |
ca618b60 PE |
559 | |
560 | # Host includes for threads | |
4a9d5109 SW |
561 | uppercase = [ABCDEFGHIJKLMNOPQRSTUVWXYZ_] |
562 | ||
ab77073f | 563 | # By adding these files here, automake will remove them for 'make clean' |
53c2acdf | 564 | CLEANFILES = ${pch_input} ${pch_output_builddir}/* |
ff66d28f PE |
565 | subdir = include |
566 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 | |
567 | CONFIG_HEADER = $(top_builddir)/config.h | |
568 | CONFIG_CLEAN_FILES = | |
569 | depcomp = | |
570 | am__depfiles_maybe = | |
571 | DIST_SOURCES = | |
4c4809c1 BK |
572 | DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/fragment.am \ |
573 | Makefile.am | |
ff66d28f | 574 | all: all-am |
54c1bf78 | 575 | |
54c1bf78 | 576 | .SUFFIXES: |
0df3f383 | 577 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/fragment.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) |
ff66d28f PE |
578 | cd $(top_srcdir) && \ |
579 | $(AUTOMAKE) --foreign include/Makefile | |
580 | Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status | |
581 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) | |
582 | ||
583 | mostlyclean-libtool: | |
584 | -rm -f *.lo | |
54c1bf78 | 585 | |
ff66d28f PE |
586 | clean-libtool: |
587 | -rm -rf .libs _libs | |
f53d0ff1 | 588 | |
ff66d28f PE |
589 | distclean-libtool: |
590 | -rm -f libtool | |
591 | uninstall-info-am: | |
4a9d5109 SW |
592 | tags: TAGS |
593 | TAGS: | |
594 | ||
ff66d28f PE |
595 | ctags: CTAGS |
596 | CTAGS: | |
4a9d5109 | 597 | |
ff66d28f | 598 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
3d90ff93 | 599 | |
ff66d28f PE |
600 | top_distdir = .. |
601 | distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) | |
54c1bf78 BK |
602 | |
603 | distdir: $(DISTFILES) | |
0df3f383 | 604 | $(mkinstalldirs) $(distdir)/.. |
ff66d28f PE |
605 | @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ |
606 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ | |
607 | list='$(DISTFILES)'; for file in $$list; do \ | |
608 | case $$file in \ | |
609 | $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ | |
610 | $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ | |
611 | esac; \ | |
612 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ | |
613 | dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ | |
614 | if test "$$dir" != "$$file" && test "$$dir" != "."; then \ | |
615 | dir="/$$dir"; \ | |
616 | $(mkinstalldirs) "$(distdir)$$dir"; \ | |
617 | else \ | |
618 | dir=''; \ | |
619 | fi; \ | |
54c1bf78 | 620 | if test -d $$d/$$file; then \ |
ff66d28f PE |
621 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
622 | cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ | |
623 | fi; \ | |
624 | cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ | |
54c1bf78 BK |
625 | else \ |
626 | test -f $(distdir)/$$file \ | |
ff66d28f PE |
627 | || cp -p $$d/$$file $(distdir)/$$file \ |
628 | || exit 1; \ | |
54c1bf78 BK |
629 | fi; \ |
630 | done | |
ff66d28f | 631 | check-am: all-am |
54c1bf78 | 632 | check: check-am |
ff66d28f | 633 | all-am: Makefile all-local |
54c1bf78 | 634 | |
ff66d28f PE |
635 | installdirs: |
636 | install: install-am | |
637 | install-exec: install-exec-am | |
2c1bc4eb | 638 | install-data: install-data-am |
ff66d28f | 639 | uninstall: uninstall-am |
4a9d5109 | 640 | |
2c1bc4eb PC |
641 | install-am: all-am |
642 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
54c1bf78 | 643 | |
ff66d28f PE |
644 | installcheck: installcheck-am |
645 | install-strip: | |
646 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ | |
647 | INSTALL_STRIP_FLAG=-s \ | |
648 | `test -z '$(STRIP)' || \ | |
649 | echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install | |
4a9d5109 SW |
650 | mostlyclean-generic: |
651 | ||
652 | clean-generic: | |
ab77073f | 653 | -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
4a9d5109 SW |
654 | |
655 | distclean-generic: | |
4c4809c1 | 656 | -rm -f $(CONFIG_CLEAN_FILES) |
4a9d5109 SW |
657 | |
658 | maintainer-clean-generic: | |
ff66d28f PE |
659 | @echo "This command is intended for maintainers to use" |
660 | @echo "it deletes files that may require special tools to rebuild." | |
661 | clean: clean-am | |
2c1bc4eb | 662 | |
ff66d28f | 663 | clean-am: clean-generic clean-libtool mostlyclean-am |
f53d0ff1 | 664 | |
ff66d28f | 665 | distclean: distclean-am |
4c4809c1 | 666 | -rm -f Makefile |
ff66d28f | 667 | distclean-am: clean-am distclean-generic distclean-libtool |
f53d0ff1 | 668 | |
ff66d28f | 669 | dvi: dvi-am |
f53d0ff1 | 670 | |
ff66d28f | 671 | dvi-am: |
f53d0ff1 | 672 | |
ff66d28f PE |
673 | info: info-am |
674 | ||
675 | info-am: | |
676 | ||
677 | install-data-am: install-data-local | |
678 | ||
679 | install-exec-am: | |
680 | ||
681 | install-info: install-info-am | |
682 | ||
683 | install-man: | |
684 | ||
685 | installcheck-am: | |
4a9d5109 SW |
686 | |
687 | maintainer-clean: maintainer-clean-am | |
4c4809c1 | 688 | -rm -f Makefile |
ff66d28f PE |
689 | maintainer-clean-am: distclean-am maintainer-clean-generic |
690 | ||
691 | mostlyclean: mostlyclean-am | |
692 | ||
693 | mostlyclean-am: mostlyclean-generic mostlyclean-libtool | |
694 | ||
695 | pdf: pdf-am | |
696 | ||
697 | pdf-am: | |
698 | ||
699 | ps: ps-am | |
700 | ||
701 | ps-am: | |
702 | ||
703 | uninstall-am: uninstall-info-am | |
704 | ||
705 | .PHONY: all all-am all-local check check-am clean clean-generic \ | |
706 | clean-libtool distclean distclean-generic distclean-libtool \ | |
707 | distdir dvi dvi-am info info-am install install-am install-data \ | |
708 | install-data-am install-data-local install-exec install-exec-am \ | |
709 | install-info install-info-am install-man install-strip \ | |
710 | installcheck installcheck-am installdirs maintainer-clean \ | |
711 | maintainer-clean-generic mostlyclean mostlyclean-generic \ | |
712 | mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ | |
713 | uninstall-info-am | |
4a9d5109 SW |
714 | |
715 | ||
716 | # Here are the rules for building the headers | |
82ba99d5 | 717 | all-local: ${allstamped} ${allcreated} |
4a9d5109 | 718 | |
066930bb PE |
719 | # This rule is slightly different, in that we must change the name of the |
720 | # local file from std_foo.h to foo. | |
4a9d5109 SW |
721 | stamp-std: ${std_headers} |
722 | @if [ ! -d "${std_builddir}" ]; then \ | |
723 | mkdir -p ${std_builddir} ;\ | |
724 | fi ;\ | |
7ec3af37 BK |
725 | if [ ! -f stamp-std ]; then \ |
726 | (cd ${std_builddir} && for h in $?; do \ | |
727 | official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\ | |
82ba99d5 | 728 | $(LN_S) $$h ./$${official_name} || true ;\ |
7ec3af37 | 729 | done) ;\ |
82ba99d5 PE |
730 | fi ;\ |
731 | $(STAMP) stamp-std | |
ab77073f | 732 | |
4a9d5109 SW |
733 | stamp-bits: ${bits_headers} |
734 | @if [ ! -d "${bits_builddir}" ]; then \ | |
735 | mkdir -p ${bits_builddir} ;\ | |
736 | fi ;\ | |
7ec3af37 | 737 | if [ ! -f stamp-bits ]; then \ |
82ba99d5 PE |
738 | (cd ${bits_builddir} && $(LN_S) $? . || true) ;\ |
739 | fi ;\ | |
740 | $(STAMP) stamp-bits | |
4a9d5109 | 741 | |
82ba99d5 | 742 | stamp-c_base: stamp-bits ${c_base_headers} ${c_base_headers_extra} |
4a9d5109 SW |
743 | @if [ ! -d "${c_base_builddir}" ]; then \ |
744 | mkdir -p ${c_base_builddir} ;\ | |
745 | fi ;\ | |
7ec3af37 | 746 | if [ ! -f stamp-c_base ]; then \ |
9e57d5ca BK |
747 | (cd ${c_base_builddir} && for h in ${c_base_headers}; do \ |
748 | official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\ | |
82ba99d5 | 749 | $(LN_S) $$h ./$${official_name} || true ;\ |
9e57d5ca | 750 | done) ;\ |
7ec3af37 | 751 | if [ ! -z "${c_base_headers_extra}" ]; then \ |
82ba99d5 | 752 | (cd ${bits_builddir} && $(LN_S) ${c_base_headers_extra} . || true) ;\ |
7ec3af37 | 753 | fi ;\ |
82ba99d5 PE |
754 | fi ;\ |
755 | $(STAMP) stamp-c_base | |
4a9d5109 | 756 | |
e01c9849 BK |
757 | stamp-c_compatibility: ${c_compatibility_headers_extra} |
758 | @if [ ! -d "${c_compatibility_builddir}" ]; then \ | |
759 | mkdir -p ${c_compatibility_builddir} ;\ | |
760 | fi ;\ | |
7ec3af37 BK |
761 | if [ ! -f stamp-c_compatibility ]; then \ |
762 | if [ ! -z "${c_compatibility_headers_extra}" ]; then \ | |
82ba99d5 | 763 | (cd ${c_compatibility_builddir} && $(LN_S) $? . || true) ;\ |
7ec3af37 | 764 | fi ;\ |
82ba99d5 PE |
765 | fi ;\ |
766 | $(STAMP) stamp-c_compatibility | |
e01c9849 | 767 | |
4a9d5109 SW |
768 | stamp-backward: ${backward_headers} |
769 | @if [ ! -d "${backward_builddir}" ]; then \ | |
770 | mkdir -p ${backward_builddir} ;\ | |
771 | fi ;\ | |
7ec3af37 | 772 | if [ ! -f stamp-backward ]; then \ |
82ba99d5 PE |
773 | (cd ${backward_builddir} && $(LN_S) $? . || true) ;\ |
774 | fi ;\ | |
775 | $(STAMP) stamp-backward | |
4a9d5109 SW |
776 | |
777 | stamp-ext: ${ext_headers} | |
778 | @if [ ! -d "${ext_builddir}" ]; then \ | |
7ec3af37 | 779 | mkdir -p ${ext_builddir} ;\ |
4a9d5109 | 780 | fi ;\ |
7ec3af37 | 781 | if [ ! -f stamp-ext ]; then \ |
82ba99d5 PE |
782 | (cd ${ext_builddir} && $(LN_S) $? . || true) ;\ |
783 | fi ;\ | |
784 | $(STAMP) stamp-ext | |
4a9d5109 | 785 | |
a30335e9 BK |
786 | stamp-${host_alias}: |
787 | @if [ ! -d ${host_builddir} ]; then \ | |
788 | mkdir -p ${host_builddir} ;\ | |
82ba99d5 PE |
789 | fi ;\ |
790 | $(STAMP) stamp-${host_alias} | |
843312be | 791 | |
a30335e9 BK |
792 | # Host includes static. |
793 | # XXX Missing dependency info for {host_headers_extra} | |
794 | stamp-host: ${host_headers} ${host_headers_noinst} stamp-${host_alias} | |
795 | @if [ ! -f stamp-host ]; then \ | |
796 | (cd ${host_builddir} ;\ | |
82ba99d5 | 797 | $(LN_S) ${host_headers} . || true ;\ |
ca618b60 PE |
798 | $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_H) basic_file.h || true ;\ |
799 | $(LN_S) ${glibcxx_srcdir}/$(CSTDIO_H) c++io.h || true ;\ | |
800 | $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_H) c++locale.h || true ;\ | |
801 | $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_INTERNAL_H) . || true ;\ | |
802 | $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_H) messages_members.h || true ;\ | |
803 | $(LN_S) ${glibcxx_srcdir}/$(CTIME_H) time_members.h || true ;\ | |
804 | $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_H) codecvt_specializations.h || true);\ | |
82ba99d5 PE |
805 | fi ;\ |
806 | $(STAMP) stamp-host | |
4a9d5109 | 807 | |
a30335e9 | 808 | # Host includes dynamic. |
82ba99d5 | 809 | ${host_builddir}/c++config.h: ${top_builddir}/config.h \ |
3d7c150e | 810 | ${glibcxx_srcdir}/include/bits/c++config \ |
a30335e9 | 811 | stamp-${host_alias} |
3d7c150e BK |
812 | @cat ${glibcxx_srcdir}/include/bits/c++config > $@ ;\ |
813 | sed -e 's/HAVE_/_GLIBCXX_HAVE_/g' \ | |
814 | -e 's/PACKAGE/_GLIBCXX_PACKAGE/g' \ | |
815 | -e 's/VERSION/_GLIBCXX_VERSION/g' \ | |
816 | -e 's/WORDS_/_GLIBCXX_WORDS_/g' \ | |
42ebb17f | 817 | < ${CONFIG_HEADER} >> $@ ;\ |
3d7c150e | 818 | echo "#endif // _CXXCONFIG_" >>$@ |
4a9d5109 | 819 | |
a30335e9 | 820 | ${host_builddir}/gthr.h: ${toplevel_srcdir}/gcc/gthr.h stamp-${host_alias} |
3d7c150e | 821 | sed -e '/^#/s/\(${uppercase}${uppercase}*\)/_GLIBCXX_\1/g' \ |
4a9d5109 | 822 | -e 's,^#include "\(.*\)",#include <bits/\1>,g' \ |
533ab4d1 | 823 | < ${toplevel_srcdir}/gcc/gthr.h > $@ |
4a9d5109 | 824 | |
a30335e9 BK |
825 | ${host_builddir}/gthr-single.h: ${toplevel_srcdir}/gcc/gthr-single.h \ |
826 | stamp-${host_alias} | |
3d7c150e BK |
827 | sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \ |
828 | -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \ | |
533ab4d1 | 829 | < ${toplevel_srcdir}/gcc/gthr-single.h > $@ |
4a9d5109 | 830 | |
a30335e9 BK |
831 | ${host_builddir}/gthr-posix.h: ${toplevel_srcdir}/gcc/gthr-posix.h \ |
832 | stamp-${host_alias} | |
3d7c150e BK |
833 | sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \ |
834 | -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \ | |
835 | -e 's/\(${uppercase}*WEAK\)/_GLIBCXX_\1/g' \ | |
79d6ba0b LR |
836 | < ${toplevel_srcdir}/gcc/gthr-posix.h > $@ |
837 | ||
3d7c150e | 838 | ${host_builddir}/gthr-default.h: ${toplevel_srcdir}/gcc/${glibcxx_thread_h} \ |
a30335e9 | 839 | stamp-${host_alias} |
3d7c150e BK |
840 | sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \ |
841 | -e 's/\(GCC${uppercase}*_H\)/_GLIBCXX_\1/g' \ | |
842 | -e 's/\(${uppercase}*WEAK\)/_GLIBCXX_\1/g' \ | |
79d6ba0b | 843 | -e 's,^#include "\(.*\)",#include <bits/\1>,g' \ |
3d7c150e | 844 | < ${toplevel_srcdir}/gcc/${glibcxx_thread_h} > $@ |
9e57d5ca BK |
845 | |
846 | # Build a precompiled C++ include, stdc++.h.gch. | |
a30335e9 | 847 | ${pch_input}: ${allstamped} ${host_builddir}/c++config.h ${pch_source} |
9e57d5ca | 848 | touch ${pch_input}; \ |
8520f704 LR |
849 | if [ ! -d "${pch_output_builddir}" ]; then \ |
850 | mkdir -p ${pch_output_builddir}; \ | |
851 | fi; \ | |
0df3f383 PE |
852 | $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) ${pch_source} -O0 -g -o ${pch_output_builddir}/O0g; \ |
853 | $(CXX) $(PCHFLAGS) $(AM_CPPFLAGS) ${pch_source} -O2 -g -o ${pch_output_builddir}/O2g; | |
9e57d5ca | 854 | |
92eabea2 PE |
855 | # For robustness sake (in light of junk files or in-source |
856 | # configuration), copy from the build or source tree to the install | |
857 | # tree using only the human-maintained file lists and directory | |
858 | # components. Yes, with minor differences, this is sheer duplication | |
859 | # of the staging rules above using $(INSTALL_DATA) instead of LN_S and | |
860 | # `$(mkinstalldirs)' instead of `mkdir -p'. In particular, | |
861 | # host_headers_extra are taken out of the build tree staging area; | |
862 | # the rest are taken from the original source tree. | |
9e57d5ca | 863 | |
92eabea2 PE |
864 | @GLIBCXX_HOSTED_TRUE@install-data-local: install-headers ${pch_install} |
865 | @GLIBCXX_HOSTED_FALSE@install-data-local: install-freestanding-headers | |
866 | ||
867 | # This is a subset of the full install-headers rule. We only need <cstddef>, | |
868 | # <limits>, <cstdlib>, <cstdarg>, <new>, <typeinfo>, <exception>, and any | |
869 | # files which they include (and which we provide). The last three headers | |
870 | # are installed by libsupc++, so only the first four and the sub-includes | |
871 | # are copied here. | |
872 | install-freestanding-headers: | |
873 | $(mkinstalldirs) $(DESTDIR)${gxx_include_dir} | |
874 | $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir} | |
875 | for file in ${host_srcdir}/os_defines.h ${host_builddir}/c++config.h; do \ | |
876 | $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done | |
877 | $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir} | |
878 | $(INSTALL_DATA) ${std_builddir}/limits $(DESTDIR)${gxx_include_dir}/${std_builddir} | |
879 | $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir} | |
880 | for file in cstddef cstdlib cstdarg; do \ | |
881 | $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done | |
882 | ||
883 | # The real deal. | |
9e57d5ca | 884 | install-headers: |
90e5b39f CC |
885 | $(mkinstalldirs) $(DESTDIR)${gxx_include_dir} |
886 | $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${bits_builddir} | |
7bfea936 | 887 | for file in ${bits_headers}; do \ |
90e5b39f CC |
888 | $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done |
889 | $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${backward_builddir} | |
7bfea936 | 890 | for file in ${backward_headers}; do \ |
90e5b39f CC |
891 | $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${backward_builddir}; done |
892 | $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${ext_builddir} | |
7bfea936 | 893 | for file in ${ext_headers}; do \ |
90e5b39f CC |
894 | $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${ext_builddir}; done |
895 | $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${c_base_builddir} | |
73249e33 | 896 | for file in ${c_base_headers_rename}; do \ |
90e5b39f | 897 | $(INSTALL_DATA) ${c_base_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${c_base_builddir}; done |
e01c9849 | 898 | c_base_headers_extra_install='$(c_base_headers_extra)';\ |
3eb35fcf | 899 | for file in $$c_base_headers_extra_install; do \ |
90e5b39f | 900 | $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${bits_builddir}; done |
e01c9849 BK |
901 | c_compatibility_headers_install='$(c_compatibility_headers_extra)';\ |
902 | for file in $$c_compatibility_headers_install; do \ | |
90e5b39f CC |
903 | $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}; done |
904 | $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${std_builddir} | |
73249e33 | 905 | for file in ${std_headers_rename}; do \ |
90e5b39f | 906 | $(INSTALL_DATA) ${std_builddir}/$${file} $(DESTDIR)${gxx_include_dir}/${std_builddir}; done |
a30335e9 BK |
907 | $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${host_builddir} |
908 | for file in ${host_headers} ${host_headers_extra} \ | |
909 | ${thread_host_headers}; do \ | |
910 | $(INSTALL_DATA) $${file} $(DESTDIR)${gxx_include_dir}/${host_builddir}; done | |
4a9d5109 | 911 | |
9e57d5ca | 912 | install-pch: |
8520f704 LR |
913 | $(mkinstalldirs) $(DESTDIR)${gxx_include_dir}/${pch_output_builddir} |
914 | for file in ${pch_output_builddir}/*; do \ | |
915 | $(INSTALL_DATA) $$file $(DESTDIR)${gxx_include_dir}/${pch_output_builddir}; done | |
9e57d5ca | 916 | |
c5535768 BK |
917 | # Stop implicit '.o' make rules from ever stomping on extensionless |
918 | # headers, in the improbable case where some foolish, crack-addled | |
919 | # developer tries to create them via make in the include build | |
654421eb DE |
920 | # directory. (This is more of an example of how this kind of rule can |
921 | # be made.) | |
c5535768 BK |
922 | .PRECIOUS: $(std_headers_rename) $(c_base_headers_rename) |
923 | $(std_headers_rename): ; @: | |
924 | $(c_base_headers_rename): ; @: | |
4a9d5109 SW |
925 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
926 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
927 | .NOEXPORT: |