OSDN Git Service

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