]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/libstdc++/src/Makefile.in
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / libstdc++ / 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/multi.m4 \
46         $(top_srcdir)/../config/no-executables.m4 \
47         $(top_srcdir)/../config/unwind_ipinfo.m4 \
48         $(top_srcdir)/../libtool.m4 $(top_srcdir)/crossconfig.m4 \
49         $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
50         $(top_srcdir)/../config/tls.m4 $(top_srcdir)/configure.ac
51 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
52         $(ACLOCAL_M4)
53 CONFIG_HEADER = $(top_builddir)/config.h
54 CONFIG_CLEAN_FILES =
55 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
56 am__vpath_adj = case $$p in \
57     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
58     *) f=$$p;; \
59   esac;
60 am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
61 am__installdirs = "$(DESTDIR)$(toolexeclibdir)"
62 toolexeclibLTLIBRARIES_INSTALL = $(INSTALL)
63 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
64 am__libstdc___la_SOURCES_DIST = bitmap_allocator.cc pool_allocator.cc \
65         mt_allocator.cc codecvt.cc compatibility.cc complex_io.cc \
66         ctype.cc debug.cc debug_list.cc functexcept.cc globals_io.cc \
67         ios.cc ios_failure.cc ios_init.cc ios_locale.cc limits.cc \
68         list.cc locale.cc locale_init.cc locale_facets.cc \
69         localename.cc stdexcept.cc strstream.cc tree.cc \
70         allocator-inst.cc concept-inst.cc fstream-inst.cc ext-inst.cc \
71         ios-inst.cc iostream-inst.cc istream-inst.cc istream.cc \
72         locale-inst.cc misc-inst.cc ostream-inst.cc sstream-inst.cc \
73         streambuf-inst.cc streambuf.cc string-inst.cc valarray-inst.cc \
74         wlocale-inst.cc wstring-inst.cc atomicity.cc \
75         codecvt_members.cc collate_members.cc ctype_members.cc \
76         messages_members.cc monetary_members.cc numeric_members.cc \
77         time_members.cc basic_file.cc c++locale.cc \
78         compatibility-ldbl.cc
79 am__objects_1 = atomicity.lo codecvt_members.lo collate_members.lo \
80         ctype_members.lo messages_members.lo monetary_members.lo \
81         numeric_members.lo time_members.lo
82 am__objects_2 = basic_file.lo c++locale.lo
83 @GLIBCXX_LDBL_COMPAT_TRUE@am__objects_3 = compatibility-ldbl.lo
84 am__objects_4 = bitmap_allocator.lo pool_allocator.lo mt_allocator.lo \
85         codecvt.lo compatibility.lo complex_io.lo ctype.lo debug.lo \
86         debug_list.lo functexcept.lo globals_io.lo ios.lo \
87         ios_failure.lo ios_init.lo ios_locale.lo limits.lo list.lo \
88         locale.lo locale_init.lo locale_facets.lo localename.lo \
89         stdexcept.lo strstream.lo tree.lo allocator-inst.lo \
90         concept-inst.lo fstream-inst.lo ext-inst.lo ios-inst.lo \
91         iostream-inst.lo istream-inst.lo istream.lo locale-inst.lo \
92         misc-inst.lo ostream-inst.lo sstream-inst.lo streambuf-inst.lo \
93         streambuf.lo string-inst.lo valarray-inst.lo wlocale-inst.lo \
94         wstring-inst.lo $(am__objects_1) $(am__objects_2) \
95         $(am__objects_3)
96 am_libstdc___la_OBJECTS = $(am__objects_4)
97 libstdc___la_OBJECTS = $(am_libstdc___la_OBJECTS)
98 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
99 depcomp =
100 am__depfiles_maybe =
101 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
102         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
103 CXXLD = $(CXX)
104 SOURCES = $(libstdc___la_SOURCES)
105 DIST_SOURCES = $(am__libstdc___la_SOURCES_DIST)
106 ETAGS = etags
107 CTAGS = ctags
108 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
109 VPATH = $(top_srcdir)/src:$(top_srcdir)
110 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
111 ACLOCAL = @ACLOCAL@
112 ALLOCATOR_H = @ALLOCATOR_H@
113 ALLOCATOR_NAME = @ALLOCATOR_NAME@
114 AMTAR = @AMTAR@
115 AR = @AR@
116 AS = @AS@
117 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
118 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
119 AUTOCONF = @AUTOCONF@
120 AUTOHEADER = @AUTOHEADER@
121 AUTOMAKE = @AUTOMAKE@
122 AWK = @AWK@
123 BASIC_FILE_CC = @BASIC_FILE_CC@
124 BASIC_FILE_H = @BASIC_FILE_H@
125 CC = @CC@
126 CCODECVT_CC = @CCODECVT_CC@
127 CCOLLATE_CC = @CCOLLATE_CC@
128 CCTYPE_CC = @CCTYPE_CC@
129 CFLAGS = @CFLAGS@
130 CLOCALE_CC = @CLOCALE_CC@
131 CLOCALE_H = @CLOCALE_H@
132 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
133 CMESSAGES_CC = @CMESSAGES_CC@
134 CMESSAGES_H = @CMESSAGES_H@
135 CMONEY_CC = @CMONEY_CC@
136 CNUMERIC_CC = @CNUMERIC_CC@
137 CPP = @CPP@
138 CPPFLAGS = @CPPFLAGS@
139 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
140 CSTDIO_H = @CSTDIO_H@
141 CTIME_CC = @CTIME_CC@
142 CTIME_H = @CTIME_H@
143 CXX = @CXX@
144 CXXCPP = @CXXCPP@
145 CXXFLAGS = @CXXFLAGS@
146 CYGPATH_W = @CYGPATH_W@
147 C_INCLUDE_DIR = @C_INCLUDE_DIR@
148 DEBUG_FLAGS = @DEBUG_FLAGS@
149 DEFS = @DEFS@
150 ECHO_C = @ECHO_C@
151 ECHO_N = @ECHO_N@
152 ECHO_T = @ECHO_T@
153 EGREP = @EGREP@
154 ENABLE_SYMVERS_DARWIN_FALSE = @ENABLE_SYMVERS_DARWIN_FALSE@
155 ENABLE_SYMVERS_DARWIN_TRUE = @ENABLE_SYMVERS_DARWIN_TRUE@
156 ENABLE_SYMVERS_FALSE = @ENABLE_SYMVERS_FALSE@
157 ENABLE_SYMVERS_GNU_FALSE = @ENABLE_SYMVERS_GNU_FALSE@
158 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE = @ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@
159 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE = @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@
160 ENABLE_SYMVERS_GNU_TRUE = @ENABLE_SYMVERS_GNU_TRUE@
161 ENABLE_SYMVERS_TRUE = @ENABLE_SYMVERS_TRUE@
162 ENABLE_VISIBILITY_FALSE = @ENABLE_VISIBILITY_FALSE@
163 ENABLE_VISIBILITY_TRUE = @ENABLE_VISIBILITY_TRUE@
164 EXEEXT = @EXEEXT@
165 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
166 GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
167 GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
168 GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
169 GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
170 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
171 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
172 GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
173 GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
174 GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
175 GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
176 GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
177 GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
178 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
179 GLIBCXX_LDBL_COMPAT_FALSE = @GLIBCXX_LDBL_COMPAT_FALSE@
180 GLIBCXX_LDBL_COMPAT_TRUE = @GLIBCXX_LDBL_COMPAT_TRUE@
181 INSTALL_DATA = @INSTALL_DATA@
182 INSTALL_PROGRAM = @INSTALL_PROGRAM@
183 INSTALL_SCRIPT = @INSTALL_SCRIPT@
184 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
185 LIBICONV = @LIBICONV@
186 LIBMATHOBJS = @LIBMATHOBJS@
187 LIBOBJS = @LIBOBJS@
188 LIBS = @LIBS@
189 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
190 LIBTOOL = @LIBTOOL@
191 LN_S = @LN_S@
192 LTLIBOBJS = @LTLIBOBJS@
193 MAINT = @MAINT@
194 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
195 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
196 MAKEINFO = @MAKEINFO@
197 OBJEXT = @OBJEXT@
198 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
199 OPT_LDFLAGS = @OPT_LDFLAGS@
200 OS_INC_SRCDIR = @OS_INC_SRCDIR@
201 PACKAGE = @PACKAGE@
202 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
203 PACKAGE_NAME = @PACKAGE_NAME@
204 PACKAGE_STRING = @PACKAGE_STRING@
205 PACKAGE_TARNAME = @PACKAGE_TARNAME@
206 PACKAGE_VERSION = @PACKAGE_VERSION@
207 PATH_SEPARATOR = @PATH_SEPARATOR@
208 RANLIB = @RANLIB@
209 SECTION_FLAGS = @SECTION_FLAGS@
210 SECTION_LDFLAGS = @SECTION_LDFLAGS@
211 SET_MAKE = @SET_MAKE@
212 SHELL = @SHELL@
213 STRIP = @STRIP@
214 SYMVER_FILE = @SYMVER_FILE@
215 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
216 USE_NLS = @USE_NLS@
217 VERSION = @VERSION@
218 WARN_FLAGS = @WARN_FLAGS@
219 WERROR = @WERROR@
220 ac_ct_AR = @ac_ct_AR@
221 ac_ct_AS = @ac_ct_AS@
222 ac_ct_CC = @ac_ct_CC@
223 ac_ct_CXX = @ac_ct_CXX@
224 ac_ct_RANLIB = @ac_ct_RANLIB@
225 ac_ct_STRIP = @ac_ct_STRIP@
226 am__leading_dot = @am__leading_dot@
227 am__tar = @am__tar@
228 am__untar = @am__untar@
229 baseline_dir = @baseline_dir@
230 bindir = @bindir@
231 build = @build@
232 build_alias = @build_alias@
233 build_cpu = @build_cpu@
234 build_os = @build_os@
235 build_vendor = @build_vendor@
236 check_msgfmt = @check_msgfmt@
237 datadir = @datadir@
238 enable_shared = @enable_shared@
239 enable_static = @enable_static@
240 exec_prefix = @exec_prefix@
241 glibcxx_MOFILES = @glibcxx_MOFILES@
242 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
243 glibcxx_POFILES = @glibcxx_POFILES@
244 glibcxx_builddir = @glibcxx_builddir@
245 glibcxx_localedir = @glibcxx_localedir@
246 glibcxx_prefixdir = @glibcxx_prefixdir@
247 glibcxx_srcdir = @glibcxx_srcdir@
248 glibcxx_thread_h = @glibcxx_thread_h@
249 glibcxx_toolexecdir = @glibcxx_toolexecdir@
250 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
251 gxx_include_dir = @gxx_include_dir@
252 host = @host@
253 host_alias = @host_alias@
254 host_cpu = @host_cpu@
255 host_os = @host_os@
256 host_vendor = @host_vendor@
257 includedir = @includedir@
258 infodir = @infodir@
259 install_sh = @install_sh@
260 libdir = @libdir@
261 libexecdir = @libexecdir@
262 libtool_VERSION = @libtool_VERSION@
263 localstatedir = @localstatedir@
264 mandir = @mandir@
265 mkdir_p = @mkdir_p@
266 multi_basedir = @multi_basedir@
267 oldincludedir = @oldincludedir@
268 port_specific_symbol_files = @port_specific_symbol_files@
269 prefix = @prefix@
270 program_transform_name = @program_transform_name@
271 sbindir = @sbindir@
272 sharedstatedir = @sharedstatedir@
273 sysconfdir = @sysconfdir@
274 target = @target@
275 target_alias = @target_alias@
276 target_cpu = @target_cpu@
277 target_os = @target_os@
278 target_vendor = @target_vendor@
279 toplevel_srcdir = @toplevel_srcdir@
280
281 # May be used by various substitution variables.
282 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
283 MAINT_CHARSET = latin1
284 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
285 PWD_COMMAND = $${PWDCMD-pwd}
286 STAMP = echo timestamp >
287 toolexecdir = $(glibcxx_toolexecdir)
288 toolexeclibdir = $(glibcxx_toolexeclibdir)
289
290 # These bits are all figured out from configure.  Look in acinclude.m4
291 # or configure.ac to see how they are set.  See GLIBCXX_EXPORT_FLAGS.
292 CONFIG_CXXFLAGS = \
293         $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS)
294
295 WARN_CXXFLAGS = \
296         $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
297
298
299 # -I/-D flags to pass when compiling.
300 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
301
302 # Cross compiler support.
303 toolexeclib_LTLIBRARIES = libstdc++.la
304 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-exported_symbols_list,libstdc++-symbols.explist
305 @ENABLE_SYMVERS_FALSE@version_arg = 
306 @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
307 @ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,--version-script=libstdc++-symbols.ver
308 @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.explist
309 @ENABLE_SYMVERS_FALSE@version_dep = 
310 @ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
311 @ENABLE_SYMVERS_GNU_TRUE@@ENABLE_SYMVERS_TRUE@version_dep = libstdc++-symbols.ver
312
313 # Source files linked in via configuration/make substitution for a
314 # particular host.
315 host_sources = \
316         atomicity.cc \
317         codecvt_members.cc \
318         collate_members.cc \
319         ctype_members.cc \
320         messages_members.cc \
321         monetary_members.cc \
322         numeric_members.cc \
323         time_members.cc 
324
325 atomicity_file = ${glibcxx_srcdir}/$(ATOMICITY_SRCDIR)/atomicity.h
326
327 # Source files linked in via configuration/make substitution for a
328 # particular host, but with ad hoc naming rules.
329 host_sources_extra = \
330         basic_file.cc \
331         c++locale.cc
332
333 @GLIBCXX_LDBL_COMPAT_FALSE@ldbl_compat_sources = 
334 @GLIBCXX_LDBL_COMPAT_TRUE@ldbl_compat_sources = compatibility-ldbl.cc
335
336 # Sources present in the src directory.
337 sources = \
338         bitmap_allocator.cc \
339         pool_allocator.cc \
340         mt_allocator.cc \
341         codecvt.cc \
342         compatibility.cc \
343         complex_io.cc \
344         ctype.cc \
345         debug.cc \
346         debug_list.cc \
347         functexcept.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: