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