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