OSDN Git Service

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