OSDN Git Service

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