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@
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_POFILES = @glibcpp_POFILES@
124 glibcpp_basedir = @glibcpp_basedir@
125 glibcpp_localedir = @glibcpp_localedir@
126 glibcpp_prefixdir = @glibcpp_prefixdir@
127 glibcpp_thread_h = @glibcpp_thread_h@
128 glibcpp_toolexecdir = @glibcpp_toolexecdir@
129 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
130 gxx_include_dir = @gxx_include_dir@
131 ifGNUmake = @ifGNUmake@
132 libio_la = @libio_la@
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 = -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
157 CONFIG_CXXFLAGS = @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@
160 # Warning flags to use.
161 WARN_CXXFLAGS = @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
164 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
165 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
166 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
167 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
168 LIBIO_INCLUDES = @LIBIO_INCLUDES@
169 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
171 INCLUDES = -nostdinc++ $(GLIBCPP_INCLUDES) $(LIBSUPCXX_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) $(TOPLEVEL_INCLUDES)
174 # Source files linked in via configuration/make substitution for a
176 target_sources = codecvt_members.cc collate_members.cc ctype_members.cc messages_members.cc monetary_members.cc numeric_members.cc time_members.cc
179 # Source files linked in via configuration/make substitution for a
180 # particular target, but with ad hoc naming rules.
181 target_sources_extra = basic_file.cc c++locale.cc
184 # Sources present in the src directory.
185 sources = bitset.cc 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}
188 VPATH = $(top_srcdir)/src:$(top_srcdir)
190 libstdc___la_SOURCES = $(sources)
192 libstdc___la_LIBADD = $(top_builddir)/libmath/libmath.la @libio_la@ $(top_builddir)/libsupc++/libsupc++convenience.la
195 libstdc___la_DEPENDENCIES = libstdc++-symbol.ver $(libstdc___la_LIBADD)
197 libstdc___la_LDFLAGS = -version-info @libtool_VERSION@ ${version_arg} -lm @LIBUNWIND_FLAG@
200 # Use special rules for the deprecated source files so that they find
201 # deprecated include files.
202 GLIBCPP_INCLUDE_DIR = @glibcpp_builddir@/include
204 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
205 # modified in a per-library or per-sub-library way. Need to manually
206 # set this option because CONFIG_CXXFLAGS has to be after
207 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
208 # as the occasion call for it.
209 AM_CXXFLAGS = -fno-implicit-templates $(LIBSUPCXX_CXXFLAGS) $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)
212 # libstdc++ libtool notes
214 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
215 # last. (That way, things like -O2 passed down from the toplevel can
216 # be overridden by --enable-debug.)
218 # 2) In general, libtool expects an argument such as `--tag=CXX' when
219 # using the C++ compiler, because that will enable the settings
220 # detected when C++ support was being configured. However, when no
221 # such flag is given in the command line, libtool attempts to figure
222 # it out by matching the compiler name in each configuration section
223 # against a prefix of the command line. The problem is that, if the
224 # compiler name and its initial flags stored in the libtool
225 # configuration file don't match those in the command line, libtool
226 # can't decide which configuration to use, and it gives up. The
227 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
228 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
229 # attempt to infer which configuration to use
230 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
233 # 3) We'd have a problem when building the shared libstdc++ object if
234 # the rules automake generates would be used. We cannot allow g++ to
235 # be used since this would add -lstdc++ to the link line which of
236 # course is problematic at this point. So, we get the top-level
237 # directory to configure libstdc++-v3 to use gcc as the C++
238 # compilation driver.
239 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
243 CONFIG_HEADER = ../config.h
245 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
248 DEFS = @DEFS@ -I. -I$(srcdir) -I..
249 CPPFLAGS = @CPPFLAGS@
252 libstdc___la_OBJECTS = bitset.lo codecvt.lo complex_io.lo \
253 concept-inst.lo ctype.lo ext-inst.lo fstream.lo fstream-inst.lo \
254 functexcept.lo globals.lo io-inst.lo ios.lo istream-inst.lo limits.lo \
255 locale.lo locale-inst.lo localename.lo misc-inst.lo ostream-inst.lo \
256 sstream-inst.lo stdexcept.lo stl-inst.lo streambuf-inst.lo \
257 string-inst.lo strstream.lo valarray-inst.lo wstring-inst.lo \
258 codecvt_members.lo collate_members.lo ctype_members.lo \
259 messages_members.lo monetary_members.lo numeric_members.lo \
260 time_members.lo basic_file.lo c++locale.lo
261 CXXFLAGS = @CXXFLAGS@
262 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
264 DIST_COMMON = Makefile.am Makefile.in
267 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
271 SOURCES = $(libstdc___la_SOURCES)
272 OBJECTS = $(libstdc___la_OBJECTS)
276 .SUFFIXES: .S .c .cc .lo .o .obj .s
277 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
278 cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
280 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
282 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
285 mostlyclean-toolexeclibLTLIBRARIES:
287 clean-toolexeclibLTLIBRARIES:
288 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
290 distclean-toolexeclibLTLIBRARIES:
292 maintainer-clean-toolexeclibLTLIBRARIES:
294 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
296 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
297 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
298 if test -f $$p; then \
299 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
300 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
304 uninstall-toolexeclibLTLIBRARIES:
306 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
307 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
313 # FIXME: We should only use cygpath when building on Windows,
314 # and only if it is available.
316 $(COMPILE) -c `cygpath -w $<`
325 -rm -f *.o core *.core
333 maintainer-clean-compile:
336 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
339 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
342 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
352 maintainer-clean-libtool:
354 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
355 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
359 $(CXXCOMPILE) -c `cygpath -w $<`
361 $(LTCXXCOMPILE) -c $<
365 ID: $(HEADERS) $(SOURCES) $(LISP)
366 list='$(SOURCES) $(HEADERS)'; \
367 unique=`for i in $$list; do echo $$i; done | \
368 awk ' { files[$$0] = 1; } \
369 END { for (i in files) print i; }'`; \
370 here=`pwd` && cd $(srcdir) \
371 && mkid -f$$here/ID $$unique $(LISP)
373 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
376 list='$(SOURCES) $(HEADERS)'; \
377 unique=`for i in $$list; do echo $$i; done | \
378 awk ' { files[$$0] = 1; } \
379 END { for (i in files) print i; }'`; \
380 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
381 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP))
390 maintainer-clean-tags:
392 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
396 distdir: $(DISTFILES)
397 @for file in $(DISTFILES); do \
398 if test -f $$file; then d=.; else d=$(srcdir); fi; \
399 if test -d $$d/$$file; then \
400 cp -pr $$d/$$file $(distdir)/$$file; \
402 test -f $(distdir)/$$file \
403 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
404 || cp -p $$d/$$file $(distdir)/$$file || :; \
414 installcheck: installcheck-am
416 install-info: install-info-am
417 install-exec-am: install-toolexeclibLTLIBRARIES
418 install-exec: install-exec-am
420 install-data-am: install-data-local
421 install-data: install-data-am
424 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
426 uninstall-am: uninstall-toolexeclibLTLIBRARIES
427 uninstall: uninstall-am
428 all-am: Makefile $(LTLIBRARIES) all-local
431 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
433 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
441 -rm -f Makefile $(CONFIG_CLEAN_FILES)
442 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
444 maintainer-clean-generic:
445 mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
446 mostlyclean-libtool mostlyclean-tags \
449 mostlyclean: mostlyclean-am
451 clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
452 clean-tags clean-generic mostlyclean-am
456 distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
457 distclean-libtool distclean-tags distclean-generic \
461 distclean: distclean-am
463 maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
464 maintainer-clean-compile maintainer-clean-libtool \
465 maintainer-clean-tags maintainer-clean-generic \
467 @echo "This command is intended for maintainers to use;"
468 @echo "it deletes files that may require special tools to rebuild."
470 maintainer-clean: maintainer-clean-am
472 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
473 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
474 maintainer-clean-toolexeclibLTLIBRARIES \
475 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
476 mostlyclean-compile distclean-compile clean-compile \
477 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
478 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
479 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
480 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
481 install-info install-exec-am install-exec install-data-local \
482 install-data-am install-data install-am install uninstall-am uninstall \
483 all-local all-redirect all-am all installdirs mostlyclean-generic \
484 distclean-generic clean-generic maintainer-clean-generic clean \
485 mostlyclean distclean maintainer-clean
487 @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@libstdc++-symbol.ver: ${glibcpp_srcdir}/@SYMVER_MAP@
488 @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@ @LN_S@ $< ./libstdc++-symbol.ver || true
489 @GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@libstdc++-symbol.ver:
491 codecvt_members.cc: ${glibcpp_srcdir}/@CCODECVT_CC@
494 collate_members.cc: ${glibcpp_srcdir}/@CCOLLATE_CC@
497 ctype_members.cc: ${glibcpp_srcdir}/@CCTYPE_CC@
500 messages_members.cc: ${glibcpp_srcdir}/@CMESSAGES_CC@
503 monetary_members.cc: ${glibcpp_srcdir}/@CMONEY_CC@
506 numeric_members.cc: ${glibcpp_srcdir}/@CNUMERIC_CC@
509 time_members.cc: ${glibcpp_srcdir}/@CTIME_CC@
512 c++locale.cc: ${glibcpp_srcdir}/@CLOCALE_CC@
513 @LN_S@ $< ./$@ || true
515 basic_file.cc: ${glibcpp_srcdir}/@BASIC_FILE_CC@
516 @LN_S@ $< ./$@ || true
517 strstream.lo: strstream.cc
518 $(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
519 strstream.o: strstream.cc
520 $(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
522 # Use special rules for the concept-checking instantiations so that all
523 # the generated template functions are also instantiated. Force the checks
524 # to be on so that the instantiations are actually seen.
525 concept-inst.lo: concept-inst.cc
526 $(LTCXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
527 concept-inst.o: concept-inst.cc
528 $(CXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
530 # Added bits to build debug library.
531 @GLIBCPP_BUILD_DEBUG_TRUE@all-local: build_debug
532 @GLIBCPP_BUILD_DEBUG_TRUE@install-data-local: install_debug
533 @GLIBCPP_BUILD_DEBUG_FALSE@all-local:
534 @GLIBCPP_BUILD_DEBUG_FALSE@install-data-local:
536 # Build parallel set of debug objects here.
538 if test ! -d ${debugdir}; then \
539 mkdir -p ${debugdir}; \
542 sed 's/top_builddir = ../top_builddir = ..\/../g' \
543 < Makefile > temp.1; \
544 sed 's/all-local: build_debug/all-local:/g' < temp.1 > temp.2; \
545 sed 's/install-data-local: install_debug/install-data-local:/g' \
547 mv temp.3 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.