OSDN Git Service

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