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