1 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 top_srcdir = @top_srcdir@
19 exec_prefix = @exec_prefix@
23 libexecdir = @libexecdir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
45 AUTOHEADER = @AUTOHEADER@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
59 build_alias = @build_alias@
60 build_triplet = @build@
61 host_alias = @host_alias@
63 target_alias = @target_alias@
64 target_triplet = @target@
67 ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
69 BASIC_FILE_CC = @BASIC_FILE_CC@
70 BASIC_FILE_H = @BASIC_FILE_H@
72 CCODECVT_CC = @CCODECVT_CC@
73 CCODECVT_H = @CCODECVT_H@
74 CCOLLATE_CC = @CCOLLATE_CC@
75 CCTYPE_CC = @CCTYPE_CC@
76 CLOCALE_CC = @CLOCALE_CC@
77 CLOCALE_H = @CLOCALE_H@
78 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
79 CMESSAGES_CC = @CMESSAGES_CC@
80 CMESSAGES_H = @CMESSAGES_H@
81 CMONEY_CC = @CMONEY_CC@
82 CNUMERIC_CC = @CNUMERIC_CC@
88 C_INCLUDE_DIR = @C_INCLUDE_DIR@
89 DEBUG_FLAGS = @DEBUG_FLAGS@
92 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
95 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
96 LIBMATHOBJS = @LIBMATHOBJS@
97 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
99 LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
102 MAKEINFO = @MAKEINFO@
105 OPT_LDFLAGS = @OPT_LDFLAGS@
106 OS_INC_SRCDIR = @OS_INC_SRCDIR@
109 SECTION_FLAGS = @SECTION_FLAGS@
110 SECTION_LDFLAGS = @SECTION_LDFLAGS@
112 SYMVER_MAP = @SYMVER_MAP@
115 WARN_FLAGS = @WARN_FLAGS@
117 baseline_file = @baseline_file@
118 check_msgfmt = @check_msgfmt@
119 enable_shared = @enable_shared@
120 enable_static = @enable_static@
121 glibcpp_CXX = @glibcpp_CXX@
122 glibcpp_MOFILES = @glibcpp_MOFILES@
123 glibcpp_PCHFLAGS = @glibcpp_PCHFLAGS@
124 glibcpp_POFILES = @glibcpp_POFILES@
125 glibcpp_basedir = @glibcpp_basedir@
126 glibcpp_localedir = @glibcpp_localedir@
127 glibcpp_prefixdir = @glibcpp_prefixdir@
128 glibcpp_thread_h = @glibcpp_thread_h@
129 glibcpp_toolexecdir = @glibcpp_toolexecdir@
130 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
131 gxx_include_dir = @gxx_include_dir@
132 ifGNUmake = @ifGNUmake@
133 libtool_VERSION = @libtool_VERSION@
134 toplevel_srcdir = @toplevel_srcdir@
136 AUTOMAKE_OPTIONS = 1.3 cygnus
137 MAINT_CHARSET = latin1
139 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
141 # Cross compiler support.
143 glibcpp_srcdir = @glibcpp_srcdir@
144 glibcpp_builddir = @glibcpp_builddir@
145 toolexecdir = @glibcpp_toolexecdir@
146 toolexeclibdir = @glibcpp_toolexeclibdir@
147 toolexeclib_LTLIBRARIES = libstdc++.la
148 @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@version_arg = @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@-Wl,--version-script=libstdc++-symbol.ver
149 @GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@version_arg =
151 # Compile flags that should be constant throughout the build, both for
152 # SUBDIRS and for libstdc++-v3 in general.
153 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
155 # These bits are all figured out from configure. Look in acinclude.m4
156 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
158 @SECTION_FLAGS@ @EXTRA_CXX_FLAGS@
161 # Warning flags to use.
163 @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
166 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
167 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
168 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
169 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
170 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
174 $(GLIBCPP_INCLUDES) \
175 $(LIBSUPCXX_INCLUDES) $(LIBMATH_INCLUDES) \
179 # Source files linked in via configuration/make substitution for a
185 messages_members.cc \
186 monetary_members.cc \
191 # Source files linked in via configuration/make substitution for a
192 # particular target, but with ad hoc naming rules.
193 target_sources_extra = \
198 # Sources present in the src directory.
227 ${target_sources_extra}
230 VPATH = $(top_srcdir)/src:$(top_srcdir)
232 libstdc___la_SOURCES = $(sources)
234 libstdc___la_LIBADD = \
235 $(top_builddir)/libmath/libmath.la \
236 $(top_builddir)/libsupc++/libsupc++convenience.la
239 libstdc___la_DEPENDENCIES = libstdc++-symbol.ver $(libstdc___la_LIBADD)
241 libstdc___la_LDFLAGS = \
242 -version-info @libtool_VERSION@ ${version_arg} \
246 # Use special rules for the deprecated source files so that they find
247 # deprecated include files.
248 GLIBCPP_INCLUDE_DIR = @glibcpp_builddir@/include
250 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
251 # modified in a per-library or per-sub-library way. Need to manually
252 # set this option because CONFIG_CXXFLAGS has to be after
253 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
254 # as the occasion call for it.
256 -fno-implicit-templates \
257 $(LIBSUPCXX_CXXFLAGS) \
259 $(OPTIMIZE_CXXFLAGS) \
263 # libstdc++ libtool notes
265 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
266 # last. (That way, things like -O2 passed down from the toplevel can
267 # be overridden by --enable-debug.)
269 # 2) In general, libtool expects an argument such as `--tag=CXX' when
270 # using the C++ compiler, because that will enable the settings
271 # detected when C++ support was being configured. However, when no
272 # such flag is given in the command line, libtool attempts to figure
273 # it out by matching the compiler name in each configuration section
274 # against a prefix of the command line. The problem is that, if the
275 # compiler name and its initial flags stored in the libtool
276 # configuration file don't match those in the command line, libtool
277 # can't decide which configuration to use, and it gives up. The
278 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
279 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
280 # attempt to infer which configuration to use
281 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
282 $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
285 # 3) We'd have a problem when building the shared libstdc++ object if
286 # the rules automake generates would be used. We cannot allow g++ to
287 # be used since this would add -lstdc++ to the link line which of
288 # course is problematic at this point. So, we get the top-level
289 # directory to configure libstdc++-v3 to use gcc as the C++
290 # compilation driver.
291 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
292 @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
296 CONFIG_HEADER = ../config.h
298 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
301 DEFS = @DEFS@ -I. -I$(srcdir) -I..
302 CPPFLAGS = @CPPFLAGS@
305 libstdc___la_OBJECTS = allocator-inst.lo codecvt.lo complex_io.lo \
306 concept-inst.lo ctype.lo demangle.lo ext-inst.lo fstream-inst.lo \
307 functexcept.lo globals.lo io-inst.lo ios.lo istream-inst.lo limits.lo \
308 locale.lo locale-inst.lo localename.lo misc-inst.lo ostream-inst.lo \
309 sstream-inst.lo stdexcept.lo streambuf-inst.lo string-inst.lo \
310 strstream.lo valarray-inst.lo wstring-inst.lo codecvt_members.lo \
311 collate_members.lo ctype_members.lo messages_members.lo \
312 monetary_members.lo numeric_members.lo time_members.lo basic_file.lo \
314 CXXFLAGS = @CXXFLAGS@
315 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
317 DIST_COMMON = Makefile.am Makefile.in
320 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
324 SOURCES = $(libstdc___la_SOURCES)
325 OBJECTS = $(libstdc___la_OBJECTS)
329 .SUFFIXES: .S .c .cc .lo .o .obj .s
330 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
331 cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
333 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
335 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
338 mostlyclean-toolexeclibLTLIBRARIES:
340 clean-toolexeclibLTLIBRARIES:
341 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
343 distclean-toolexeclibLTLIBRARIES:
345 maintainer-clean-toolexeclibLTLIBRARIES:
347 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
349 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
350 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
351 if test -f $$p; then \
352 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
353 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
357 uninstall-toolexeclibLTLIBRARIES:
359 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
360 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
366 # FIXME: We should only use cygpath when building on Windows,
367 # and only if it is available.
369 $(COMPILE) -c `cygpath -w $<`
378 -rm -f *.o core *.core
386 maintainer-clean-compile:
389 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
392 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
395 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
405 maintainer-clean-libtool:
407 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
408 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
412 $(CXXCOMPILE) -c `cygpath -w $<`
414 $(LTCXXCOMPILE) -c $<
418 ID: $(HEADERS) $(SOURCES) $(LISP)
419 list='$(SOURCES) $(HEADERS)'; \
420 unique=`for i in $$list; do echo $$i; done | \
421 awk ' { files[$$0] = 1; } \
422 END { for (i in files) print i; }'`; \
423 here=`pwd` && cd $(srcdir) \
424 && mkid -f$$here/ID $$unique $(LISP)
426 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
429 list='$(SOURCES) $(HEADERS)'; \
430 unique=`for i in $$list; do echo $$i; done | \
431 awk ' { files[$$0] = 1; } \
432 END { for (i in files) print i; }'`; \
433 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
434 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
443 maintainer-clean-tags:
445 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
449 distdir: $(DISTFILES)
450 @for file in $(DISTFILES); do \
451 if test -f $$file; then d=.; else d=$(srcdir); fi; \
452 if test -d $$d/$$file; then \
453 cp -pr $$d/$$file $(distdir)/$$file; \
455 test -f $(distdir)/$$file \
456 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
457 || cp -p $$d/$$file $(distdir)/$$file || :; \
467 installcheck: installcheck-am
469 install-info: install-info-am
470 install-exec-am: install-toolexeclibLTLIBRARIES
471 install-exec: install-exec-am
473 install-data-am: install-data-local
474 install-data: install-data-am
477 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
479 uninstall-am: uninstall-toolexeclibLTLIBRARIES
480 uninstall: uninstall-am
481 all-am: Makefile $(LTLIBRARIES) all-local
484 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
486 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
494 -rm -f Makefile $(CONFIG_CLEAN_FILES)
495 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
497 maintainer-clean-generic:
498 mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
499 mostlyclean-libtool mostlyclean-tags \
502 mostlyclean: mostlyclean-am
504 clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
505 clean-tags clean-generic mostlyclean-am
509 distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
510 distclean-libtool distclean-tags distclean-generic \
514 distclean: distclean-am
516 maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
517 maintainer-clean-compile maintainer-clean-libtool \
518 maintainer-clean-tags maintainer-clean-generic \
520 @echo "This command is intended for maintainers to use;"
521 @echo "it deletes files that may require special tools to rebuild."
523 maintainer-clean: maintainer-clean-am
525 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
526 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
527 maintainer-clean-toolexeclibLTLIBRARIES \
528 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
529 mostlyclean-compile distclean-compile clean-compile \
530 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
531 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
532 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
533 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
534 install-info install-exec-am install-exec install-data-local \
535 install-data-am install-data install-am install uninstall-am uninstall \
536 all-local all-redirect all-am all installdirs mostlyclean-generic \
537 distclean-generic clean-generic maintainer-clean-generic clean \
538 mostlyclean distclean maintainer-clean
540 @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@libstdc++-symbol.ver: ${glibcpp_srcdir}/@SYMVER_MAP@
541 @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@ @LN_S@ ${glibcpp_srcdir}/@SYMVER_MAP@ ./libstdc++-symbol.ver || true
542 @GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@libstdc++-symbol.ver:
544 codecvt_members.cc: ${glibcpp_srcdir}/@CCODECVT_CC@
545 @LN_S@ ${glibcpp_srcdir}/@CCODECVT_CC@ . || true
547 collate_members.cc: ${glibcpp_srcdir}/@CCOLLATE_CC@
548 @LN_S@ ${glibcpp_srcdir}/@CCOLLATE_CC@ . || true
550 ctype_members.cc: ${glibcpp_srcdir}/@CCTYPE_CC@
551 @LN_S@ ${glibcpp_srcdir}/@CCTYPE_CC@ . || true
553 messages_members.cc: ${glibcpp_srcdir}/@CMESSAGES_CC@
554 @LN_S@ ${glibcpp_srcdir}/@CMESSAGES_CC@ . || true
556 monetary_members.cc: ${glibcpp_srcdir}/@CMONEY_CC@
557 @LN_S@ ${glibcpp_srcdir}/@CMONEY_CC@ . || true
559 numeric_members.cc: ${glibcpp_srcdir}/@CNUMERIC_CC@
560 @LN_S@ ${glibcpp_srcdir}/@CNUMERIC_CC@ . || true
562 time_members.cc: ${glibcpp_srcdir}/@CTIME_CC@
563 @LN_S@ ${glibcpp_srcdir}/@CTIME_CC@ . || true
565 c++locale.cc: ${glibcpp_srcdir}/@CLOCALE_CC@
566 @LN_S@ ${glibcpp_srcdir}/@CLOCALE_CC@ ./$@ || true
568 basic_file.cc: ${glibcpp_srcdir}/@BASIC_FILE_CC@
569 @LN_S@ ${glibcpp_srcdir}/@BASIC_FILE_CC@ ./$@ || true
570 strstream.lo: strstream.cc
571 $(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
572 strstream.o: strstream.cc
573 $(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
575 # Use special rules for the concept-checking instantiations so that all
576 # the generated template functions are also instantiated. Force the checks
577 # to be on so that the instantiations are actually seen.
578 concept-inst.lo: concept-inst.cc
579 $(LTCXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
580 concept-inst.o: concept-inst.cc
581 $(CXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
583 # Use special rules for the demangler, so that an additional implicit
584 # instantiation file is not necessary.
585 demangle.lo: demangle.cc
586 $(LTCXXCOMPILE) -fimplicit-templates -c $<
587 demangle.o: demangle.cc
588 $(CXXCOMPILE) -fimplicit-templates -c $<
590 # Added bits to build debug library.
591 @GLIBCPP_BUILD_DEBUG_TRUE@all-local: build_debug
592 @GLIBCPP_BUILD_DEBUG_TRUE@install-data-local: install_debug
593 @GLIBCPP_BUILD_DEBUG_FALSE@all-local:
594 @GLIBCPP_BUILD_DEBUG_FALSE@install-data-local:
596 # Build parallel set of debug objects here.
598 if test ! -d ${debugdir}; then \
599 mkdir -p ${debugdir}; \
601 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
602 -e 's/srcdir = \.\./srcdir = ..\/../' \
603 -e 's/glibcpp_basedir = \.\./glibcpp_basedir = ..\/../' \
604 -e 's/all-local: build_debug/all-local:/' \
605 -e 's/install-data-local: install_debug/install-data-local:/' \
606 < ../Makefile > Makefile) ; \
608 echo `date` > stamp-debug;
610 build_debug: stamp-debug
611 (cd ${debugdir} && $(MAKE) CXXFLAGS='@DEBUG_FLAGS@' all)
613 # Install debug library here.
615 (cd ${debugdir} && $(MAKE) \
616 toolexeclibdir=@glibcpp_toolexeclibdir@/debug install)
618 # Tell versions [3.59,3.63) of GNU make to not export all variables.
619 # Otherwise a system limit (for SysV at least) may be exceeded.