OSDN Git Service

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