Merge with gcc-4_3-branch up to revision 175516.
[official-gcc.git] / libstdc++-v3 / src / Makefile.in
blobe64265cc9cb9d241a3a4b666ff83fee7dab27eeb
1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
2 # @configure_input@
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 Free Software Foundation, Inc.
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.
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.
15 @SET_MAKE@
17 srcdir = @srcdir@
18 top_srcdir = @top_srcdir@
19 VPATH = @srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
23 top_builddir = ..
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25 INSTALL = @INSTALL@
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
31 NORMAL_INSTALL = :
32 PRE_INSTALL = :
33 POST_INSTALL = :
34 NORMAL_UNINSTALL = :
35 PRE_UNINSTALL = :
36 POST_UNINSTALL = :
37 build_triplet = @build@
38 host_triplet = @host@
39 target_triplet = @target@
40 DIST_COMMON = $(top_srcdir)/fragment.am $(srcdir)/Makefile.in \
41 $(srcdir)/Makefile.am
42 subdir = src
43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44 am__aclocal_m4_deps = $(top_srcdir)/../config/enable.m4 \
45 $(top_srcdir)/../config/futex.m4 \
46 $(top_srcdir)/../config/iconv.m4 \
47 $(top_srcdir)/../config/lead-dot.m4 \
48 $(top_srcdir)/../config/lib-ld.m4 \
49 $(top_srcdir)/../config/lib-link.m4 \
50 $(top_srcdir)/../config/lib-prefix.m4 \
51 $(top_srcdir)/../config/multi.m4 \
52 $(top_srcdir)/../config/no-executables.m4 \
53 $(top_srcdir)/../config/unwind_ipinfo.m4 \
54 $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
55 $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
56 $(top_srcdir)/crossconfig.m4 $(top_srcdir)/linkage.m4 \
57 $(top_srcdir)/acinclude.m4 $(top_srcdir)/../config/tls.m4 \
58 $(top_srcdir)/configure.ac
59 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
60 $(ACLOCAL_M4)
61 CONFIG_HEADER = $(top_builddir)/config.h
62 CONFIG_CLEAN_FILES =
63 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
64 am__vpath_adj = case $$p in \
65 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
66 *) f=$$p;; \
67 esac;
68 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
69 am__installdirs = "$(DESTDIR)$(toolexeclibdir)"
70 toolexeclibLTLIBRARIES_INSTALL = $(INSTALL)
71 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
72 am__objects_1 = atomicity.lo codecvt_members.lo collate_members.lo \
73 ctype_members.lo messages_members.lo monetary_members.lo \
74 numeric_members.lo time_members.lo
75 @GLIBCXX_LDBL_COMPAT_TRUE@am__objects_2 = compatibility-ldbl.lo
76 @ENABLE_PARALLEL_TRUE@am__objects_3 = parallel_list.lo \
77 @ENABLE_PARALLEL_TRUE@ parallel_settings.lo
78 am__objects_4 = basic_file.lo c++locale.lo $(am__objects_2) \
79 $(am__objects_3)
80 am__objects_5 = bitmap_allocator.lo pool_allocator.lo mt_allocator.lo \
81 codecvt.lo compatibility.lo complex_io.lo ctype.lo debug.lo \
82 functexcept.lo hash.lo hash_c++0x.lo globals_io.lo \
83 hashtable.lo hashtable_c++0x.lo ios.lo ios_failure.lo \
84 ios_init.lo ios_locale.lo limits.lo list.lo debug_list.lo \
85 locale.lo locale_init.lo locale_facets.lo localename.lo \
86 stdexcept.lo strstream.lo tree.lo allocator-inst.lo \
87 concept-inst.lo fstream-inst.lo ext-inst.lo ios-inst.lo \
88 iostream-inst.lo istream-inst.lo istream.lo locale-inst.lo \
89 misc-inst.lo ostream-inst.lo sstream-inst.lo streambuf-inst.lo \
90 streambuf.lo string-inst.lo valarray-inst.lo wlocale-inst.lo \
91 wstring-inst.lo $(am__objects_1) $(am__objects_4)
92 am_libstdc___la_OBJECTS = $(am__objects_5)
93 libstdc___la_OBJECTS = $(am_libstdc___la_OBJECTS)
94 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
95 depcomp =
96 am__depfiles_maybe =
97 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
98 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
99 CXXLD = $(CXX)
100 SOURCES = $(libstdc___la_SOURCES)
101 ETAGS = etags
102 CTAGS = ctags
103 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
104 ACLOCAL = @ACLOCAL@
105 ALLOCATOR_H = @ALLOCATOR_H@
106 ALLOCATOR_NAME = @ALLOCATOR_NAME@
107 AMTAR = @AMTAR@
108 AR = @AR@
109 AS = @AS@
110 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
111 ATOMIC_FLAGS = @ATOMIC_FLAGS@
112 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
113 AUTOCONF = @AUTOCONF@
114 AUTOHEADER = @AUTOHEADER@
115 AUTOMAKE = @AUTOMAKE@
116 AWK = @AWK@
117 BASIC_FILE_CC = @BASIC_FILE_CC@
118 BASIC_FILE_H = @BASIC_FILE_H@
119 CC = @CC@
120 CCODECVT_CC = @CCODECVT_CC@
121 CCOLLATE_CC = @CCOLLATE_CC@
122 CCTYPE_CC = @CCTYPE_CC@
123 CFLAGS = @CFLAGS@
124 CLOCALE_CC = @CLOCALE_CC@
125 CLOCALE_H = @CLOCALE_H@
126 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
127 CMESSAGES_CC = @CMESSAGES_CC@
128 CMESSAGES_H = @CMESSAGES_H@
129 CMONEY_CC = @CMONEY_CC@
130 CNUMERIC_CC = @CNUMERIC_CC@
131 CPP = @CPP@
132 CPPFLAGS = @CPPFLAGS@
133 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
134 CSTDIO_H = @CSTDIO_H@
135 CTIME_CC = @CTIME_CC@
136 CTIME_H = @CTIME_H@
137 CXX = @CXX@
138 CXXCPP = @CXXCPP@
139 CXXFLAGS = @CXXFLAGS@
140 CYGPATH_W = @CYGPATH_W@
141 C_INCLUDE_DIR = @C_INCLUDE_DIR@
142 DEBUG_FLAGS = @DEBUG_FLAGS@
143 DEFS = @DEFS@
144 DUMPBIN = @DUMPBIN@
145 ECHO_C = @ECHO_C@
146 ECHO_N = @ECHO_N@
147 ECHO_T = @ECHO_T@
148 EGREP = @EGREP@
149 ENABLE_PARALLEL_FALSE = @ENABLE_PARALLEL_FALSE@
150 ENABLE_PARALLEL_TRUE = @ENABLE_PARALLEL_TRUE@
151 ENABLE_SYMVERS_DARWIN_FALSE = @ENABLE_SYMVERS_DARWIN_FALSE@
152 ENABLE_SYMVERS_DARWIN_TRUE = @ENABLE_SYMVERS_DARWIN_TRUE@
153 ENABLE_SYMVERS_FALSE = @ENABLE_SYMVERS_FALSE@
154 ENABLE_SYMVERS_GNU_FALSE = @ENABLE_SYMVERS_GNU_FALSE@
155 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE = @ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@
156 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE = @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@
157 ENABLE_SYMVERS_GNU_TRUE = @ENABLE_SYMVERS_GNU_TRUE@
158 ENABLE_SYMVERS_TRUE = @ENABLE_SYMVERS_TRUE@
159 ENABLE_VISIBILITY_FALSE = @ENABLE_VISIBILITY_FALSE@
160 ENABLE_VISIBILITY_TRUE = @ENABLE_VISIBILITY_TRUE@
161 ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
162 EXEEXT = @EXEEXT@
163 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
164 FGREP = @FGREP@
165 GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
166 GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
167 GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
168 GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
169 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
170 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
171 GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
172 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE = @GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@
173 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE = @GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@
174 GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
175 GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
176 GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
177 GLIBCXX_C_HEADERS_EXTRA_FALSE = @GLIBCXX_C_HEADERS_EXTRA_FALSE@
178 GLIBCXX_C_HEADERS_EXTRA_TRUE = @GLIBCXX_C_HEADERS_EXTRA_TRUE@
179 GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
180 GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
181 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
182 GLIBCXX_LDBL_COMPAT_FALSE = @GLIBCXX_LDBL_COMPAT_FALSE@
183 GLIBCXX_LDBL_COMPAT_TRUE = @GLIBCXX_LDBL_COMPAT_TRUE@
184 GREP = @GREP@
185 INSTALL_DATA = @INSTALL_DATA@
186 INSTALL_PROGRAM = @INSTALL_PROGRAM@
187 INSTALL_SCRIPT = @INSTALL_SCRIPT@
188 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
189 LD = @LD@
190 LDFLAGS = @LDFLAGS@
191 LIBICONV = @LIBICONV@
192 LIBMATHOBJS = @LIBMATHOBJS@
193 LIBOBJS = @LIBOBJS@
194 LIBS = @LIBS@
195 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
196 LIBTOOL = @LIBTOOL@
197 LN_S = @LN_S@
198 LTLIBICONV = @LTLIBICONV@
199 LTLIBOBJS = @LTLIBOBJS@
200 MAINT = @MAINT@
201 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
202 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
203 MAKEINFO = @MAKEINFO@
204 NM = @NM@
205 OBJEXT = @OBJEXT@
206 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
207 OPT_LDFLAGS = @OPT_LDFLAGS@
208 OS_INC_SRCDIR = @OS_INC_SRCDIR@
209 PACKAGE = @PACKAGE@
210 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
211 PACKAGE_NAME = @PACKAGE_NAME@
212 PACKAGE_STRING = @PACKAGE_STRING@
213 PACKAGE_TARNAME = @PACKAGE_TARNAME@
214 PACKAGE_VERSION = @PACKAGE_VERSION@
215 PATH_SEPARATOR = @PATH_SEPARATOR@
216 RANLIB = @RANLIB@
217 SECTION_FLAGS = @SECTION_FLAGS@
218 SECTION_LDFLAGS = @SECTION_LDFLAGS@
219 SED = @SED@
220 SET_MAKE = @SET_MAKE@
221 SHELL = @SHELL@
222 STRIP = @STRIP@
223 SYMVER_FILE = @SYMVER_FILE@
224 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
225 USE_NLS = @USE_NLS@
226 VERSION = @VERSION@
227 WARN_FLAGS = @WARN_FLAGS@
228 WERROR = @WERROR@
229 ac_ct_AR = @ac_ct_AR@
230 ac_ct_AS = @ac_ct_AS@
231 ac_ct_CC = @ac_ct_CC@
232 ac_ct_CXX = @ac_ct_CXX@
233 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
234 ac_ct_RANLIB = @ac_ct_RANLIB@
235 ac_ct_STRIP = @ac_ct_STRIP@
236 am__leading_dot = @am__leading_dot@
237 am__tar = @am__tar@
238 am__untar = @am__untar@
239 baseline_dir = @baseline_dir@
240 bindir = @bindir@
241 build = @build@
242 build_alias = @build_alias@
243 build_cpu = @build_cpu@
244 build_os = @build_os@
245 build_vendor = @build_vendor@
246 check_msgfmt = @check_msgfmt@
247 datadir = @datadir@
248 enable_shared = @enable_shared@
249 enable_static = @enable_static@
250 exec_prefix = @exec_prefix@
251 glibcxx_MOFILES = @glibcxx_MOFILES@
252 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
253 glibcxx_POFILES = @glibcxx_POFILES@
254 glibcxx_builddir = @glibcxx_builddir@
255 glibcxx_localedir = @glibcxx_localedir@
256 glibcxx_prefixdir = @glibcxx_prefixdir@
257 glibcxx_srcdir = @glibcxx_srcdir@
258 glibcxx_thread_h = @glibcxx_thread_h@
259 glibcxx_toolexecdir = @glibcxx_toolexecdir@
260 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
261 gxx_include_dir = @gxx_include_dir@
262 host = @host@
263 host_alias = @host_alias@
264 host_cpu = @host_cpu@
265 host_os = @host_os@
266 host_vendor = @host_vendor@
267 includedir = @includedir@
268 infodir = @infodir@
269 install_sh = @install_sh@
270 libdir = @libdir@
271 libexecdir = @libexecdir@
272 libtool_VERSION = @libtool_VERSION@
273 localstatedir = @localstatedir@
274 lt_ECHO = @lt_ECHO@
275 mandir = @mandir@
276 mkdir_p = @mkdir_p@
277 multi_basedir = @multi_basedir@
278 oldincludedir = @oldincludedir@
279 port_specific_symbol_files = @port_specific_symbol_files@
280 prefix = @prefix@
281 program_transform_name = @program_transform_name@
282 sbindir = @sbindir@
283 sharedstatedir = @sharedstatedir@
284 sysconfdir = @sysconfdir@
285 target = @target@
286 target_alias = @target_alias@
287 target_cpu = @target_cpu@
288 target_os = @target_os@
289 target_vendor = @target_vendor@
290 toplevel_srcdir = @toplevel_srcdir@
292 # May be used by various substitution variables.
293 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
294 MAINT_CHARSET = latin1
295 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
296 PWD_COMMAND = $${PWDCMD-pwd}
297 STAMP = echo timestamp >
298 toolexecdir = $(glibcxx_toolexecdir)
299 toolexeclibdir = $(glibcxx_toolexeclibdir)
301 # These bits are all figured out from configure. Look in acinclude.m4
302 # or configure.ac to see how they are set. See GLIBCXX_EXPORT_FLAGS.
303 CONFIG_CXXFLAGS = \
304 $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
306 WARN_CXXFLAGS = \
307 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
310 # -I/-D flags to pass when compiling.
311 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
313 # Cross compiler support.
314 toolexeclib_LTLIBRARIES = libstdc++.la
315 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-exported_symbols_list,libstdc++-symbols.explist
316 @ENABLE_SYMVERS_FALSE@version_arg =
317 @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
318 @ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
319 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.explist
320 @ENABLE_SYMVERS_FALSE@version_dep =
321 @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
322 @ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
324 # Source files linked in via configuration/make substitution for a
325 # particular host.
326 host_sources = \
327 atomicity.cc \
328 codecvt_members.cc \
329 collate_members.cc \
330 ctype_members.cc \
331 messages_members.cc \
332 monetary_members.cc \
333 numeric_members.cc \
334 time_members.cc
336 atomicity_file = ${glibcxx_srcdir}/$(ATOMICITY_SRCDIR)/atomicity.h
338 # Source files linked in via configuration/make substitution for a
339 # particular host, but with ad hoc naming rules.
340 host_sources_extra = \
341 basic_file.cc c++locale.cc ${ldbl_compat_sources} ${parallel_sources}
343 @ENABLE_PARALLEL_FALSE@parallel_sources =
344 @ENABLE_PARALLEL_TRUE@parallel_sources = parallel_list.cc parallel_settings.cc
345 @GLIBCXX_LDBL_COMPAT_FALSE@ldbl_compat_sources =
346 @GLIBCXX_LDBL_COMPAT_TRUE@ldbl_compat_sources = compatibility-ldbl.cc
348 # Sources present in the src directory.
349 sources = \
350 bitmap_allocator.cc \
351 pool_allocator.cc \
352 mt_allocator.cc \
353 codecvt.cc \
354 compatibility.cc \
355 complex_io.cc \
356 ctype.cc \
357 debug.cc \
358 functexcept.cc \
359 hash.cc \
360 hash_c++0x.cc \
361 globals_io.cc \
362 hashtable.cc \
363 hashtable_c++0x.cc \
364 ios.cc \
365 ios_failure.cc \
366 ios_init.cc \
367 ios_locale.cc \
368 limits.cc \
369 list.cc \
370 debug_list.cc \
371 locale.cc \
372 locale_init.cc \
373 locale_facets.cc \
374 localename.cc \
375 stdexcept.cc \
376 strstream.cc \
377 tree.cc \
378 allocator-inst.cc \
379 concept-inst.cc \
380 fstream-inst.cc \
381 ext-inst.cc \
382 ios-inst.cc \
383 iostream-inst.cc \
384 istream-inst.cc \
385 istream.cc \
386 locale-inst.cc \
387 misc-inst.cc \
388 ostream-inst.cc \
389 sstream-inst.cc \
390 streambuf-inst.cc \
391 streambuf.cc \
392 string-inst.cc \
393 valarray-inst.cc \
394 wlocale-inst.cc \
395 wstring-inst.cc \
396 ${host_sources} \
397 ${host_sources_extra}
399 libstdc___la_SOURCES = $(sources)
400 libstdc___la_LIBADD = \
401 $(top_builddir)/libmath/libmath.la \
402 $(top_builddir)/libsupc++/libsupc++convenience.la
404 libstdc___la_DEPENDENCIES = ${version_dep} $(libstdc___la_LIBADD)
405 libstdc___la_LDFLAGS = \
406 -version-info $(libtool_VERSION) ${version_arg} -lm
409 # Use special rules for the deprecated source files so that they find
410 # deprecated include files.
411 GLIBCXX_INCLUDE_DIR = $(glibcxx_builddir)/include
413 # Use special rules for parallel mode compilation.
414 PARALLEL_FLAGS = -fopenmp -D_GLIBCXX_PARALLEL -I$(glibcxx_builddir)/../libgomp
416 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
417 # modified in a per-library or per-sub-library way. Need to manually
418 # set this option because CONFIG_CXXFLAGS has to be after
419 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
420 # as the occasion calls for it.
421 AM_CXXFLAGS = \
422 -fno-implicit-templates \
423 $(WARN_CXXFLAGS) \
424 $(OPTIMIZE_CXXFLAGS) \
425 $(CONFIG_CXXFLAGS)
428 # libstdc++ libtool notes
430 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
431 # last. (That way, things like -O2 passed down from the toplevel can
432 # be overridden by --enable-debug.)
434 # 2) In general, libtool expects an argument such as `--tag=CXX' when
435 # using the C++ compiler, because that will enable the settings
436 # detected when C++ support was being configured. However, when no
437 # such flag is given in the command line, libtool attempts to figure
438 # it out by matching the compiler name in each configuration section
439 # against a prefix of the command line. The problem is that, if the
440 # compiler name and its initial flags stored in the libtool
441 # configuration file don't match those in the command line, libtool
442 # can't decide which configuration to use, and it gives up. The
443 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
444 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
445 # attempt to infer which configuration to use
446 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
447 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
449 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
451 # 3) We'd have a problem when building the shared libstdc++ object if
452 # the rules automake generates would be used. We cannot allow g++ to
453 # be used since this would add -lstdc++ to the link line which of
454 # course is problematic at this point. So, we get the top-level
455 # directory to configure libstdc++-v3 to use gcc as the C++
456 # compilation driver.
457 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
458 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
460 debugdir = debug
461 all: all-am
463 .SUFFIXES:
464 .SUFFIXES: .cc .lo .o .obj
465 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
466 @for dep in $?; do \
467 case '$(am__configure_deps)' in \
468 *$$dep*) \
469 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
470 && exit 0; \
471 exit 1;; \
472 esac; \
473 done; \
474 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/Makefile'; \
475 cd $(top_srcdir) && \
476 $(AUTOMAKE) --foreign --ignore-deps src/Makefile
477 .PRECIOUS: Makefile
478 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
479 @case '$?' in \
480 *config.status*) \
481 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
482 *) \
483 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
484 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
485 esac;
487 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
488 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
490 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
491 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
492 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
493 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
494 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
495 @$(NORMAL_INSTALL)
496 test -z "$(toolexeclibdir)" || $(mkdir_p) "$(DESTDIR)$(toolexeclibdir)"
497 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
498 if test -f $$p; then \
499 f=$(am__strip_dir) \
500 echo " $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
501 $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(toolexeclibdir)/$$f"; \
502 else :; fi; \
503 done
505 uninstall-toolexeclibLTLIBRARIES:
506 @$(NORMAL_UNINSTALL)
507 @set -x; list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
508 p=$(am__strip_dir) \
509 echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$p'"; \
510 $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$p"; \
511 done
513 clean-toolexeclibLTLIBRARIES:
514 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
515 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
516 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
517 test "$$dir" != "$$p" || dir=.; \
518 echo "rm -f \"$${dir}/so_locations\""; \
519 rm -f "$${dir}/so_locations"; \
520 done
521 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
522 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
524 mostlyclean-compile:
525 -rm -f *.$(OBJEXT)
527 distclean-compile:
528 -rm -f *.tab.c
530 .cc.o:
531 $(CXXCOMPILE) -c -o $@ $<
533 .cc.obj:
534 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
536 .cc.lo:
537 $(LTCXXCOMPILE) -c -o $@ $<
539 mostlyclean-libtool:
540 -rm -f *.lo
542 clean-libtool:
543 -rm -rf .libs _libs
545 distclean-libtool:
546 -rm -f libtool
547 uninstall-info-am:
549 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
550 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
551 unique=`for i in $$list; do \
552 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
553 done | \
554 $(AWK) ' { files[$$0] = 1; } \
555 END { for (i in files) print i; }'`; \
556 mkid -fID $$unique
557 tags: TAGS
559 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
560 $(TAGS_FILES) $(LISP)
561 tags=; \
562 here=`pwd`; \
563 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
564 unique=`for i in $$list; do \
565 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
566 done | \
567 $(AWK) ' { files[$$0] = 1; } \
568 END { for (i in files) print i; }'`; \
569 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
570 test -n "$$unique" || unique=$$empty_fix; \
571 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
572 $$tags $$unique; \
574 ctags: CTAGS
575 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
576 $(TAGS_FILES) $(LISP)
577 tags=; \
578 here=`pwd`; \
579 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
580 unique=`for i in $$list; do \
581 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
582 done | \
583 $(AWK) ' { files[$$0] = 1; } \
584 END { for (i in files) print i; }'`; \
585 test -z "$(CTAGS_ARGS)$$tags$$unique" \
586 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
587 $$tags $$unique
589 GTAGS:
590 here=`$(am__cd) $(top_builddir) && pwd` \
591 && cd $(top_srcdir) \
592 && gtags -i $(GTAGS_ARGS) $$here
594 distclean-tags:
595 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
596 check-am: all-am
597 check: check-am
598 all-am: Makefile $(LTLIBRARIES) all-local
599 installdirs:
600 for dir in "$(DESTDIR)$(toolexeclibdir)"; do \
601 test -z "$$dir" || $(mkdir_p) "$$dir"; \
602 done
603 install: install-am
604 install-exec: install-exec-am
605 install-data: install-data-am
606 uninstall: uninstall-am
608 install-am: all-am
609 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
611 installcheck: installcheck-am
612 install-strip:
613 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
614 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
615 `test -z '$(STRIP)' || \
616 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
617 mostlyclean-generic:
619 clean-generic:
621 distclean-generic:
622 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
624 maintainer-clean-generic:
625 @echo "This command is intended for maintainers to use"
626 @echo "it deletes files that may require special tools to rebuild."
627 clean: clean-am
629 clean-am: clean-generic clean-libtool clean-toolexeclibLTLIBRARIES \
630 mostlyclean-am
632 distclean: distclean-am
633 -rm -f Makefile
634 distclean-am: clean-am distclean-compile distclean-generic \
635 distclean-libtool distclean-tags
637 dvi: dvi-am
639 dvi-am:
641 html: html-am
643 info: info-am
645 info-am:
647 install-data-am: install-data-local
649 install-exec-am: install-toolexeclibLTLIBRARIES
651 install-info: install-info-am
653 install-man:
655 installcheck-am:
657 maintainer-clean: maintainer-clean-am
658 -rm -f Makefile
659 maintainer-clean-am: distclean-am maintainer-clean-generic
661 mostlyclean: mostlyclean-am
663 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
664 mostlyclean-libtool
666 pdf: pdf-am
668 pdf-am:
670 ps: ps-am
672 ps-am:
674 uninstall-am: uninstall-info-am uninstall-toolexeclibLTLIBRARIES
676 .PHONY: CTAGS GTAGS all all-am all-local check check-am clean \
677 clean-generic clean-libtool clean-toolexeclibLTLIBRARIES ctags \
678 distclean distclean-compile distclean-generic \
679 distclean-libtool distclean-tags dvi dvi-am html html-am info \
680 info-am install install-am install-data install-data-am \
681 install-data-local install-exec install-exec-am install-info \
682 install-info-am install-man install-strip \
683 install-toolexeclibLTLIBRARIES installcheck installcheck-am \
684 installdirs maintainer-clean maintainer-clean-generic \
685 mostlyclean mostlyclean-compile mostlyclean-generic \
686 mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
687 uninstall-am uninstall-info-am \
688 uninstall-toolexeclibLTLIBRARIES
691 # Symbol versioning for shared libraries.
692 @ENABLE_SYMVERS_TRUE@libstdc++-symbols.ver: ${glibcxx_srcdir}/$(SYMVER_FILE) \
693 @ENABLE_SYMVERS_TRUE@ $(port_specific_symbol_files)
694 @ENABLE_SYMVERS_TRUE@ cp ${glibcxx_srcdir}/$(SYMVER_FILE) ./libstdc++-symbols.ver
695 @ENABLE_SYMVERS_TRUE@ chmod +w ./libstdc++-symbols.ver
696 @ENABLE_SYMVERS_TRUE@ if test "x$(port_specific_symbol_files)" != x; then \
697 @ENABLE_SYMVERS_TRUE@ if grep '^# Appended to version file.' \
698 @ENABLE_SYMVERS_TRUE@ $(port_specific_symbol_files) /dev/null > /dev/null 2>&1; then \
699 @ENABLE_SYMVERS_TRUE@ cat $(port_specific_symbol_files) >> $@; \
700 @ENABLE_SYMVERS_TRUE@ else \
701 @ENABLE_SYMVERS_TRUE@ sed -n '1,/DO NOT DELETE/p' $@ > tmp.top; \
702 @ENABLE_SYMVERS_TRUE@ sed -n '/DO NOT DELETE/,$$p' $@ > tmp.bottom; \
703 @ENABLE_SYMVERS_TRUE@ cat tmp.top $(port_specific_symbol_files) tmp.bottom > $@; \
704 @ENABLE_SYMVERS_TRUE@ rm tmp.top tmp.bottom; \
705 @ENABLE_SYMVERS_TRUE@ fi; \
706 @ENABLE_SYMVERS_TRUE@ fi
707 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@libstdc++-symbols.explist : libstdc++-symbols.ver \
708 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ ${glibcxx_srcdir}/scripts/make_exports.pl \
709 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
710 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ perl ${glibcxx_srcdir}/scripts/make_exports.pl \
711 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ libstdc++-symbols.ver \
712 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
713 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ `echo $(libstdc___la_LIBADD) | \
714 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
715 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@ > $@ || (rm -f $@ ; exit 1)
717 codecvt_members.cc: ${glibcxx_srcdir}/$(CCODECVT_CC)
718 $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_CC) . || true
720 collate_members.cc: ${glibcxx_srcdir}/$(CCOLLATE_CC)
721 $(LN_S) ${glibcxx_srcdir}/$(CCOLLATE_CC) . || true
723 ctype_members.cc: ${glibcxx_srcdir}/$(CCTYPE_CC)
724 $(LN_S) ${glibcxx_srcdir}/$(CCTYPE_CC) . || true
726 messages_members.cc: ${glibcxx_srcdir}/$(CMESSAGES_CC)
727 $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_CC) . || true
729 monetary_members.cc: ${glibcxx_srcdir}/$(CMONEY_CC)
730 $(LN_S) ${glibcxx_srcdir}/$(CMONEY_CC) . || true
732 numeric_members.cc: ${glibcxx_srcdir}/$(CNUMERIC_CC)
733 $(LN_S) ${glibcxx_srcdir}/$(CNUMERIC_CC) . || true
735 time_members.cc: ${glibcxx_srcdir}/$(CTIME_CC)
736 $(LN_S) ${glibcxx_srcdir}/$(CTIME_CC) . || true
737 atomicity.cc: ${atomicity_file}
738 $(LN_S) ${atomicity_file} ./atomicity.cc || true
740 c++locale.cc: ${glibcxx_srcdir}/$(CLOCALE_CC)
741 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_CC) ./$@ || true
743 basic_file.cc: ${glibcxx_srcdir}/$(BASIC_FILE_CC)
744 $(LN_S) ${glibcxx_srcdir}/$(BASIC_FILE_CC) ./$@ || true
746 vpath % $(top_srcdir)/src
747 vpath % $(top_srcdir)
748 strstream.lo: strstream.cc
749 $(LTCXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $<
750 strstream.o: strstream.cc
751 $(CXXCOMPILE) -I$(GLIBCXX_INCLUDE_DIR)/backward -Wno-deprecated -c $<
753 # Use special rules for the concept-checking instantiations so that all
754 # the generated template functions are also instantiated. Force the checks
755 # to be on so that the instantiations are actually seen.
756 concept-inst.lo: concept-inst.cc
757 $(LTCXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $<
758 concept-inst.o: concept-inst.cc
759 $(CXXCOMPILE) -D_GLIBCXX_CONCEPT_CHECKS -fimplicit-templates -c $<
760 parallel_list.lo: parallel_list.cc
761 $(LTCXXCOMPILE) $(PARALLEL_FLAGS) -c $<
762 parallel_list.o: parallel_list.cc
763 $(CXXCOMPILE) $(PARALLEL_FLAGS) -c $<
765 parallel_settings.lo: parallel_settings.cc
766 $(LTCXXCOMPILE) $(PARALLEL_FLAGS) -c $<
767 parallel_settings.o: parallel_settings.cc
768 $(CXXCOMPILE) $(PARALLEL_FLAGS) -c $<
770 hash_c++0x.lo: hash_c++0x.cc
771 $(LTCXXCOMPILE) -std=gnu++0x -c $<
772 hash_c++0x.o: hash_c++0x.cc
773 $(CXXCOMPILE) -std=gnu++0x -c $<
775 hashtable_c++0x.lo: hashtable_c++0x.cc
776 $(LTCXXCOMPILE) -std=gnu++0x -c $<
777 hashtable_c++0x.o: hashtable_c++0x.cc
778 $(CXXCOMPILE) -std=gnu++0x -c $<
780 # Use special rules for compatibility-ldbl.cc compilation, as we need to
781 # pass -mlong-double-64.
782 @GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.lo: compatibility-ldbl.cc
783 @GLIBCXX_LDBL_COMPAT_TRUE@ $(LTCXXCOMPILE) -mlong-double-64 -c $<
784 @GLIBCXX_LDBL_COMPAT_TRUE@compatibility-ldbl.o: compatibility-ldbl.cc
785 @GLIBCXX_LDBL_COMPAT_TRUE@ $(CXXCOMPILE) -mlong-double-64 -c $<
787 # Added bits to build debug library.
788 @GLIBCXX_BUILD_DEBUG_TRUE@all-local: build_debug
789 @GLIBCXX_BUILD_DEBUG_TRUE@install-data-local: install_debug
790 @GLIBCXX_BUILD_DEBUG_FALSE@all-local:
791 @GLIBCXX_BUILD_DEBUG_FALSE@install-data-local:
793 # Build a set of debug objects here.
794 stamp-debug:
795 if test ! -d ${debugdir}; then \
796 mkdir -p ${debugdir}; \
797 (cd ${debugdir}; \
798 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
799 -e 's/srcdir = \.\./srcdir = ..\/../' \
800 -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
801 -e 's/all-local: build_debug/all-local:/' \
802 -e 's/install-data-local: install_debug/install-data-local:/' \
803 < ../Makefile > Makefile) ; \
804 fi; \
805 echo `date` > stamp-debug;
807 build_debug: stamp-debug
808 (cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' all)
810 # Install debug library here.
811 install_debug:
812 (cd ${debugdir} && $(MAKE) \
813 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install)
814 # Tell versions [3.59,3.63) of GNU make to not export all variables.
815 # Otherwise a system limit (for SysV at least) may be exceeded.
816 .NOEXPORT: