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_C = @CCODECVT_C@
73 CCODECVT_CC = @CCODECVT_CC@
74 CCODECVT_H = @CCODECVT_H@
75 CCOLLATE_CC = @CCOLLATE_CC@
76 CCTYPE_CC = @CCTYPE_CC@
77 CLOCALE_CC = @CLOCALE_CC@
78 CLOCALE_H = @CLOCALE_H@
79 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
80 CMESSAGES_CC = @CMESSAGES_CC@
81 CMESSAGES_H = @CMESSAGES_H@
82 CMONEY_CC = @CMONEY_CC@
83 CNUMERIC_CC = @CNUMERIC_CC@
89 C_INCLUDE_DIR = @C_INCLUDE_DIR@
90 DEBUG_FLAGS = @DEBUG_FLAGS@
93 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
96 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
97 LIBMATHOBJS = @LIBMATHOBJS@
98 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
100 LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
103 MAKEINFO = @MAKEINFO@
106 OPT_LDFLAGS = @OPT_LDFLAGS@
107 OS_INC_SRCDIR = @OS_INC_SRCDIR@
110 SECTION_FLAGS = @SECTION_FLAGS@
111 SECTION_LDFLAGS = @SECTION_LDFLAGS@
113 SYMVER_MAP = @SYMVER_MAP@
116 WARN_FLAGS = @WARN_FLAGS@
118 baseline_file = @baseline_file@
119 check_msgfmt = @check_msgfmt@
120 enable_shared = @enable_shared@
121 enable_static = @enable_static@
122 glibcpp_CXX = @glibcpp_CXX@
123 glibcpp_MOFILES = @glibcpp_MOFILES@
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 libio_la = @libio_la@
134 libtool_VERSION = @libtool_VERSION@
135 toplevel_srcdir = @toplevel_srcdir@
137 AUTOMAKE_OPTIONS = 1.3 cygnus
138 MAINT_CHARSET = latin1
140 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
142 # Cross compiler support.
144 glibcpp_srcdir = @glibcpp_srcdir@
145 glibcpp_builddir = @glibcpp_builddir@
146 toolexecdir = @glibcpp_toolexecdir@
147 toolexeclibdir = @glibcpp_toolexeclibdir@
148 toolexeclib_LTLIBRARIES = libstdc++.la
149 @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@version_arg = -Wl,--version-script=libstdc++-symbol.ver
150 @GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@version_arg =
152 # Compile flags that should be constant throughout the build, both for
153 # SUBDIRS and for libstdc++-v3 in general.
154 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
156 # These bits are all figured out from configure. Look in acinclude.m4
157 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
158 CONFIG_CXXFLAGS = @SECTION_FLAGS@ @EXTRA_CXX_FLAGS@
161 # Warning flags to use.
162 WARN_CXXFLAGS = @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
165 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
166 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
167 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
168 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
169 LIBIO_INCLUDES = @LIBIO_INCLUDES@
170 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
172 INCLUDES = -nostdinc++ $(GLIBCPP_INCLUDES) $(LIBSUPCXX_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) $(TOPLEVEL_INCLUDES)
175 # Source files linked in via configuration/make substitution for a
177 target_sources = codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc
180 # Source files linked in via configuration/make substitution for a
181 # particular target, but with ad hoc naming rules.
182 target_sources_extra = basic_file.cc c++locale.cc
185 # Sources present in the src directory.
186 sources = codecvt.cc complex_io.cc concept-inst.cc ctype.cc ext-inst.cc fstream.cc fstream-inst.cc functexcept.cc globals.cc io-inst.cc ios.cc istream-inst.cc limits.cc locale.cc locale-inst.cc localename.cc misc-inst.cc ostream-inst.cc sstream-inst.cc stdexcept.cc stl-inst.cc streambuf-inst.cc string-inst.cc strstream.cc valarray-inst.cc wstring-inst.cc ${target_sources} ${target_sources_extra}
189 VPATH = $(top_srcdir)/src:$(top_srcdir)
191 libstdc___la_SOURCES = $(sources)
193 libstdc___la_LIBADD = $(top_builddir)/libmath/libmath.la @libio_la@ $(top_builddir)/libsupc++/libsupc++convenience.la
196 libstdc___la_DEPENDENCIES = libstdc++-symbol.ver $(libstdc___la_LIBADD)
198 libstdc___la_LDFLAGS = -version-info @libtool_VERSION@ ${version_arg} -lm @LIBUNWIND_FLAG@
201 # Use special rules for the deprecated source files so that they find
202 # deprecated include files.
203 GLIBCPP_INCLUDE_DIR = @glibcpp_builddir@/include
205 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
206 # modified in a per-library or per-sub-library way. Need to manually
207 # set this option because CONFIG_CXXFLAGS has to be after
208 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
209 # as the occasion call for it.
210 AM_CXXFLAGS = -fno-implicit-templates $(LIBSUPCXX_CXXFLAGS) $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
213 # libstdc++ libtool notes
215 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
216 # last. (That way, things like -O2 passed down from the toplevel can
217 # be overridden by --enable-debug.)
219 # 2) In general, libtool expects an argument such as `--tag=CXX' when
220 # using the C++ compiler, because that will enable the settings
221 # detected when C++ support was being configured. However, when no
222 # such flag is given in the command line, libtool attempts to figure
223 # it out by matching the compiler name in each configuration section
224 # against a prefix of the command line. The problem is that, if the
225 # compiler name and its initial flags stored in the libtool
226 # configuration file don't match those in the command line, libtool
227 # can't decide which configuration to use, and it gives up. The
228 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
229 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
230 # attempt to infer which configuration to use
231 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
234 # 3) We'd have a problem when building the shared libstdc++ object if
235 # the rules automake generates would be used. We cannot allow g++ to
236 # be used since this would add -lstdc++ to the link line which of
237 # course is problematic at this point. So, we get the top-level
238 # directory to configure libstdc++-v3 to use gcc as the C++
239 # compilation driver.
240 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
244 CONFIG_HEADER = ../config.h
246 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
249 DEFS = @DEFS@ -I. -I$(srcdir) -I..
250 CPPFLAGS = @CPPFLAGS@
253 libstdc___la_OBJECTS = codecvt.lo complex_io.lo concept-inst.lo \
254 ctype.lo ext-inst.lo fstream.lo fstream-inst.lo functexcept.lo \
255 globals.lo io-inst.lo ios.lo istream-inst.lo limits.lo locale.lo \
256 locale-inst.lo localename.lo misc-inst.lo ostream-inst.lo \
257 sstream-inst.lo stdexcept.lo stl-inst.lo streambuf-inst.lo \
258 string-inst.lo strstream.lo valarray-inst.lo wstring-inst.lo \
259 codecvt_members.lo collate_members.lo ctype_members.lo \
260 messages_members.lo monetary_members.lo numeric_members.lo \
261 time_members.lo basic_file.lo c++locale.lo
262 CXXFLAGS = @CXXFLAGS@
263 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
265 DIST_COMMON = Makefile.am Makefile.in
268 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
272 SOURCES = $(libstdc___la_SOURCES)
273 OBJECTS = $(libstdc___la_OBJECTS)
277 .SUFFIXES: .S .c .cc .lo .o .obj .s
278 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
279 cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
281 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
283 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
286 mostlyclean-toolexeclibLTLIBRARIES:
288 clean-toolexeclibLTLIBRARIES:
289 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
291 distclean-toolexeclibLTLIBRARIES:
293 maintainer-clean-toolexeclibLTLIBRARIES:
295 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
297 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
298 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
299 if test -f $$p; then \
300 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
301 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
305 uninstall-toolexeclibLTLIBRARIES:
307 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
308 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
314 # FIXME: We should only use cygpath when building on Windows,
315 # and only if it is available.
317 $(COMPILE) -c `cygpath -w $<`
326 -rm -f *.o core *.core
334 maintainer-clean-compile:
337 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
340 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
343 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
353 maintainer-clean-libtool:
355 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
356 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
360 $(CXXCOMPILE) -c `cygpath -w $<`
362 $(LTCXXCOMPILE) -c $<
366 ID: $(HEADERS) $(SOURCES) $(LISP)
367 list='$(SOURCES) $(HEADERS)'; \
368 unique=`for i in $$list; do echo $$i; done | \
369 awk ' { files[$$0] = 1; } \
370 END { for (i in files) print i; }'`; \
371 here=`pwd` && cd $(srcdir) \
372 && mkid -f$$here/ID $$unique $(LISP)
374 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
377 list='$(SOURCES) $(HEADERS)'; \
378 unique=`for i in $$list; do echo $$i; done | \
379 awk ' { files[$$0] = 1; } \
380 END { for (i in files) print i; }'`; \
381 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
382 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
391 maintainer-clean-tags:
393 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
397 distdir: $(DISTFILES)
398 @for file in $(DISTFILES); do \
399 if test -f $$file; then d=.; else d=$(srcdir); fi; \
400 if test -d $$d/$$file; then \
401 cp -pr $$d/$$file $(distdir)/$$file; \
403 test -f $(distdir)/$$file \
404 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
405 || cp -p $$d/$$file $(distdir)/$$file || :; \
415 installcheck: installcheck-am
417 install-info: install-info-am
418 install-exec-am: install-toolexeclibLTLIBRARIES
419 install-exec: install-exec-am
421 install-data-am: install-data-local
422 install-data: install-data-am
425 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
427 uninstall-am: uninstall-toolexeclibLTLIBRARIES
428 uninstall: uninstall-am
429 all-am: Makefile $(LTLIBRARIES) all-local
432 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
434 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
442 -rm -f Makefile $(CONFIG_CLEAN_FILES)
443 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
445 maintainer-clean-generic:
446 mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
447 mostlyclean-libtool mostlyclean-tags \
450 mostlyclean: mostlyclean-am
452 clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
453 clean-tags clean-generic mostlyclean-am
457 distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
458 distclean-libtool distclean-tags distclean-generic \
462 distclean: distclean-am
464 maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
465 maintainer-clean-compile maintainer-clean-libtool \
466 maintainer-clean-tags maintainer-clean-generic \
468 @echo "This command is intended for maintainers to use;"
469 @echo "it deletes files that may require special tools to rebuild."
471 maintainer-clean: maintainer-clean-am
473 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
474 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
475 maintainer-clean-toolexeclibLTLIBRARIES \
476 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
477 mostlyclean-compile distclean-compile clean-compile \
478 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
479 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
480 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
481 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
482 install-info install-exec-am install-exec install-data-local \
483 install-data-am install-data install-am install uninstall-am uninstall \
484 all-local all-redirect all-am all installdirs mostlyclean-generic \
485 distclean-generic clean-generic maintainer-clean-generic clean \
486 mostlyclean distclean maintainer-clean
488 @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@libstdc++-symbol.ver: ${glibcpp_srcdir}/@SYMVER_MAP@
489 @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@ @LN_S@ ${glibcpp_srcdir}/@SYMVER_MAP@ ./libstdc++-symbol.ver || true
490 @GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@libstdc++-symbol.ver:
492 codecvt_members.cc: ${glibcpp_srcdir}/@CCODECVT_CC@
493 @LN_S@ ${glibcpp_srcdir}/@CCODECVT_CC@ . || true
495 collate_members.cc: ${glibcpp_srcdir}/@CCOLLATE_CC@
496 @LN_S@ ${glibcpp_srcdir}/@CCOLLATE_CC@ . || true
498 ctype_members.cc: ${glibcpp_srcdir}/@CCTYPE_CC@
499 @LN_S@ ${glibcpp_srcdir}/@CCTYPE_CC@ . || true
501 messages_members.cc: ${glibcpp_srcdir}/@CMESSAGES_CC@
502 @LN_S@ ${glibcpp_srcdir}/@CMESSAGES_CC@ . || true
504 monetary_members.cc: ${glibcpp_srcdir}/@CMONEY_CC@
505 @LN_S@ ${glibcpp_srcdir}/@CMONEY_CC@ . || true
507 numeric_members.cc: ${glibcpp_srcdir}/@CNUMERIC_CC@
508 @LN_S@ ${glibcpp_srcdir}/@CNUMERIC_CC@ . || true
510 time_members.cc: ${glibcpp_srcdir}/@CTIME_CC@
511 @LN_S@ ${glibcpp_srcdir}/@CTIME_CC@ . || true
513 c++locale.cc: ${glibcpp_srcdir}/@CLOCALE_CC@
514 @LN_S@ ${glibcpp_srcdir}/@CLOCALE_CC@ ./$@ || true
516 basic_file.cc: ${glibcpp_srcdir}/@BASIC_FILE_CC@
517 @LN_S@ ${glibcpp_srcdir}/@BASIC_FILE_CC@ ./$@ || true
518 strstream.lo: strstream.cc
519 $(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
520 strstream.o: strstream.cc
521 $(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
523 # Use special rules for the concept-checking instantiations so that all
524 # the generated template functions are also instantiated. Force the checks
525 # to be on so that the instantiations are actually seen.
526 concept-inst.lo: concept-inst.cc
527 $(LTCXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
528 concept-inst.o: concept-inst.cc
529 $(CXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
531 # Added bits to build debug library.
532 @GLIBCPP_BUILD_DEBUG_TRUE@all-local: build_debug
533 @GLIBCPP_BUILD_DEBUG_TRUE@install-data-local: install_debug
534 @GLIBCPP_BUILD_DEBUG_FALSE@all-local:
535 @GLIBCPP_BUILD_DEBUG_FALSE@install-data-local:
537 # Build parallel set of debug objects here.
539 if test ! -d ${debugdir}; then \
540 mkdir -p ${debugdir}; \
542 sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
543 -e 's/srcdir = \.\./srcdir = ..\/../' \
544 -e 's/glibcpp_basedir = \.\./glibcpp_basedir = ..\/../' \
545 -e 's/all-local: build_debug/all-local:/' \
546 -e 's/install-data-local: install_debug/install-data-local:/' \
547 < ../Makefile > Makefile) ; \
549 echo `date` > stamp-debug;
551 build_debug: stamp-debug
552 (cd ${debugdir} && $(MAKE) CXXFLAGS='@DEBUG_FLAGS@' all)
554 # Install debug library here.
556 (cd ${debugdir} && $(MAKE) \
557 toolexeclibdir=@glibcpp_toolexeclibdir@/debug install)
559 # Tell versions [3.59,3.63) of GNU make to not export all variables.
560 # Otherwise a system limit (for SysV at least) may be exceeded.