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