OSDN Git Service

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