PR gcov/profile/26570
[official-gcc.git] / libstdc++-v3 / src / Makefile.in
blob34b86e33285871bed5f4213d0655607f504e196e
1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
2 # @configure_input@
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.
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.
15 @SET_MAKE@
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 globals_io.cc \
66 ios.cc ios_failure.cc ios_init.cc ios_locale.cc limits.cc \
67 list.cc locale.cc locale_init.cc locale_facets.cc \
68 localename.cc stdexcept.cc strstream.cc tree.cc \
69 allocator-inst.cc concept-inst.cc fstream-inst.cc ext-inst.cc \
70 ios-inst.cc iostream-inst.cc istream-inst.cc istream.cc \
71 locale-inst.cc misc-inst.cc ostream-inst.cc sstream-inst.cc \
72 streambuf-inst.cc streambuf.cc string-inst.cc valarray-inst.cc \
73 wlocale-inst.cc wstring-inst.cc atomicity.cc \
74 codecvt_members.cc collate_members.cc ctype_members.cc \
75 messages_members.cc monetary_members.cc numeric_members.cc \
76 time_members.cc basic_file.cc c++locale.cc \
77 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_io.lo ios.lo \
86 ios_failure.lo ios_init.lo ios_locale.lo limits.lo list.lo \
87 locale.lo locale_init.lo locale_facets.lo localename.lo \
88 stdexcept.lo strstream.lo tree.lo allocator-inst.lo \
89 concept-inst.lo fstream-inst.lo ext-inst.lo ios-inst.lo \
90 iostream-inst.lo istream-inst.lo istream.lo locale-inst.lo \
91 misc-inst.lo ostream-inst.lo sstream-inst.lo streambuf-inst.lo \
92 streambuf.lo string-inst.lo valarray-inst.lo wlocale-inst.lo \
93 wstring-inst.lo $(am__objects_1) $(am__objects_2) \
94 $(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@
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)
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)
294 WARN_CXXFLAGS = \
295 $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
298 # -I/-D flags to pass when compiling.
299 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
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
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
324 atomicity_file = ${glibcxx_srcdir}/$(ATOMICITY_SRCDIR)/atomicity.h
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
332 @GLIBCXX_LDBL_COMPAT_FALSE@ldbl_compat_sources =
333 @GLIBCXX_LDBL_COMPAT_TRUE@ldbl_compat_sources = compatibility-ldbl.cc
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_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}
383 libstdc___la_SOURCES = $(sources)
384 libstdc___la_LIBADD = \
385 $(top_builddir)/libmath/libmath.la \
386 $(top_builddir)/libsupc++/libsupc++convenience.la
388 libstdc___la_DEPENDENCIES = ${version_dep} $(libstdc___la_LIBADD)
389 libstdc___la_LDFLAGS = \
390 -version-info $(libtool_VERSION) ${version_arg} -lm
393 # Use special rules for the deprecated source files so that they find
394 # deprecated include files.
395 GLIBCXX_INCLUDE_DIR = $(glibcxx_builddir)/include
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)
409 # libstdc++ libtool notes
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.)
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)
430 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
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 $@
441 debugdir = debug
442 all: all-am
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;
468 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
469 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
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
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
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)
505 mostlyclean-compile:
506 -rm -f *.$(OBJEXT)
508 distclean-compile:
509 -rm -f *.tab.c
511 .cc.o:
512 $(CXXCOMPILE) -c -o $@ $<
514 .cc.obj:
515 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
517 .cc.lo:
518 $(LTCXXCOMPILE) -c -o $@ $<
520 mostlyclean-libtool:
521 -rm -f *.lo
523 clean-libtool:
524 -rm -rf .libs _libs
526 distclean-libtool:
527 -rm -f libtool
528 uninstall-info-am:
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
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; \
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
570 GTAGS:
571 here=`$(am__cd) $(top_builddir) && pwd` \
572 && cd $(top_srcdir) \
573 && gtags -i $(GTAGS_ARGS) $$here
575 distclean-tags:
576 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
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
618 install-am: all-am
619 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
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:
629 clean-generic:
631 distclean-generic:
632 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
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
639 clean-am: clean-generic clean-libtool clean-toolexeclibLTLIBRARIES \
640 mostlyclean-am
642 distclean: distclean-am
643 -rm -f Makefile
644 distclean-am: clean-am distclean-compile distclean-generic \
645 distclean-libtool distclean-tags
647 dvi: dvi-am
649 dvi-am:
651 html: html-am
653 info: info-am
655 info-am:
657 install-data-am: install-data-local
659 install-exec-am: install-toolexeclibLTLIBRARIES
661 install-info: install-info-am
663 install-man:
665 installcheck-am:
667 maintainer-clean: maintainer-clean-am
668 -rm -f Makefile
669 maintainer-clean-am: distclean-am maintainer-clean-generic
671 mostlyclean: mostlyclean-am
673 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
674 mostlyclean-libtool
676 pdf: pdf-am
678 pdf-am:
680 ps: ps-am
682 ps-am:
684 uninstall-am: uninstall-info-am uninstall-toolexeclibLTLIBRARIES
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
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)
726 codecvt_members.cc: ${glibcxx_srcdir}/$(CCODECVT_CC)
727 $(LN_S) ${glibcxx_srcdir}/$(CCODECVT_CC) . || true
729 collate_members.cc: ${glibcxx_srcdir}/$(CCOLLATE_CC)
730 $(LN_S) ${glibcxx_srcdir}/$(CCOLLATE_CC) . || true
732 ctype_members.cc: ${glibcxx_srcdir}/$(CCTYPE_CC)
733 $(LN_S) ${glibcxx_srcdir}/$(CCTYPE_CC) . || true
735 messages_members.cc: ${glibcxx_srcdir}/$(CMESSAGES_CC)
736 $(LN_S) ${glibcxx_srcdir}/$(CMESSAGES_CC) . || true
738 monetary_members.cc: ${glibcxx_srcdir}/$(CMONEY_CC)
739 $(LN_S) ${glibcxx_srcdir}/$(CMONEY_CC) . || true
741 numeric_members.cc: ${glibcxx_srcdir}/$(CNUMERIC_CC)
742 $(LN_S) ${glibcxx_srcdir}/$(CNUMERIC_CC) . || true
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
749 c++locale.cc: ${glibcxx_srcdir}/$(CLOCALE_CC)
750 $(LN_S) ${glibcxx_srcdir}/$(CLOCALE_CC) ./$@ || true
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 $<
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 $<
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 $<
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:
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;
794 build_debug: stamp-debug
795 (cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' all)
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: